.premium-valuation {
    --pv-gold: #f1c16e;
    --pv-ink: #f5f1e8;
    --pv-muted: #c0c6cc;
    --pv-panel: #141b22;
    --pv-line: #41484f;
    width: min(1180px, calc(100% - 32px));
    margin: clamp(65px, 8vw, 108px) auto 70px;
    color: var(--pv-ink);
}
.pv-heading { margin-bottom: 32px; border-left: 3px solid var(--pv-gold); padding-left: 22px; }
.pv-heading h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.06; margin: 8px 0 14px; }
.pv-heading p, .pv-note { color: var(--pv-muted); max-width: 70ch; }
.pv-heading a, .pv-back { color: var(--pv-gold); }
.pv-section {
    min-width: 0;
    margin: 0 0 24px;
    padding: clamp(14px, 2.8vw, 27px);
    border: 1px solid var(--pv-line);
    border-radius: 12px;
    background: var(--pv-panel);
}
.pv-section legend { float: none; width: auto; padding: 0 9px; color: var(--pv-gold); font-weight: 700; font-size: 1.15rem; }
.pv-section h2 { font-size: 1.3rem; margin: 0 0 15px; }
.pv-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr)); }
.pv-full { grid-column: 1 / -1; }
.pv-section label { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 5px; color: var(--pv-ink); }
.pv-grid { row-gap: 5px; column-gap: 16px; }
.pv-grid > label { margin-bottom: 14px; }
.pv-section > h2 { color: var(--pv-gold); }
.pv-section label small { color: var(--pv-muted); font-weight: 400; }
.pv-section input:not([type=checkbox]), .pv-section select, .pv-section textarea {
    min-width: 0;
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #626970;
    border-radius: 6px;
    color: var(--pv-ink);
    background: #0c1218;
    color-scheme: dark;
}
.pv-section textarea { min-height: 72px; }
.pv-feature { border-top: 1px solid var(--pv-line); padding: 12px 0; }
.pv-feature summary { cursor: pointer; font-weight: 600; }
.pv-feature[open] summary { margin-bottom: 14px; }
.pv-section .pv-check { display: flex; align-items: start; gap: 10px; margin-top: 16px; }
.pv-section .pv-check input { margin-top: 5px; }
.pv-notice { padding: 15px 24px; background: #312419; border-left: 3px solid var(--pv-gold); color: #ffe4bc; }
.pv-notice ul { margin: 0; }
.pv-action {
    display: inline-block;
    padding: 11px 18px;
    border-radius: 7px;
    border: 1px solid #ffdc95;
    background: var(--pv-gold);
    color: #17140e;
    font-weight: 700;
}
.pv-action:hover { background: #ffda91; color: #17140e; }
.pv-back { display: inline-block; margin: 12px; }
.premium-valuation :focus-visible { outline: 2px solid var(--pv-gold); outline-offset: 3px; }
.pv-result strong { color: var(--pv-gold); font-size: clamp(2rem, 5vw, 3.7rem); font-variant-numeric: tabular-nums; }
.pv-table { overflow-x: auto; margin-bottom: 18px; }
.pv-table table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.pv-table td, .pv-table th { border-bottom: 1px solid var(--pv-line); padding: 9px 12px; vertical-align: top; }
.pv-table thead { color: var(--pv-gold); }
.premium-valuation [hidden] { display: none !important; }
.pv-section > summary { cursor: pointer; color: var(--pv-gold); font-weight: 600; }
.pv-section[open] > summary { margin-bottom: 22px; }
.pv-action:disabled { opacity: .65; cursor: wait; }
.pv-progress { display: grid; place-items: center; min-height: min(340px, 50vh); }
.pv-progress-overlay { position: fixed; inset: 0; z-index: 1100; background: #0b1420e8; }
.pv-progress-card { display: grid; justify-items: center; gap: 18px; padding: 24px; text-align: center; }
.pv-progress-card p { margin: 0; color: var(--pv-ink); }
.pv-progress-mark { position: relative; display: grid; place-items: center; width: 84px; aspect-ratio: 1; }
.pv-progress-mark img { width: 42px; height: 42px; object-fit: contain; }
.pv-progress-mark::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid #f1c16e38;
    border-top-color: var(--pv-gold);
    border-radius: 50%;
    animation: pv-progress-spin 1s linear infinite;
}
.pv-progress-error .pv-progress-mark::after { animation: none; border-color: #f1c16e38; }
@keyframes pv-progress-spin { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) {
    .pv-progress-mark::after { animation: none; }
}
.pv-report-image { display: block; width: 100%; height: auto; border-radius: 6px; margin: 12px 0 18px; background: #fff; }

.premium-valuation a.pv-action:is(:link, :visited, :hover, :focus-visible) { color: #17140e !important; }
