.calculator-page { background: var(--off); }
.calculator-page .header { background: rgba(255,255,255,.9); }
.calc-hero { padding: 74px 0 42px; background: #fff; border-bottom: 1px solid var(--line); }
.calc-hero h1 { font-size: clamp(38px, 4.3vw, 58px); }
.calc-hero > .container > p:not(.eyebrow) { max-width: 640px; margin: 16px 0 0; }
.pf-badge { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0 !important; padding: 8px 12px; border: 1px solid #cfd9e1; border-radius: 999px; background: #f6f9fb; color: #213a52; font-size: 12px; font-weight: 800; }
.pf-badge svg { width: 16px; color: var(--amber); }
.calc-section { padding: 48px 0 84px; }
.calc-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .8fr); gap: 28px; align-items: start; }
.calc-form, .calc-result { border: 1px solid #d8e0e7; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 55px rgba(32,55,76,.08); }
.calc-form { background: #fff; }
.calc-form-head { display: flex; gap: 13px; padding: 25px 28px; border-bottom: 1px solid #e3e8ed; }
.calc-form-head > svg { width: 22px; color: var(--amber); flex: 0 0 auto; margin-top: 3px; }
.calc-form h2, .calc-form h3 { font-family: var(--sans); font-size: 20px; font-weight: 800; }
.calc-form p { margin: 4px 0 0; font-size: 13px; line-height: 1.55; color: #73808c; }
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; padding: 28px; }
.calc-grid label { display: grid; gap: 8px; color: #324b61; font-size: 13px; font-weight: 800; }
.calc-grid small { color: #8794a0; font-size: 11px; font-weight: 500; }
.calc-grid select, .calc-grid input { width: 100%; height: 46px; border: 1px solid #d8e0e7; border-radius: 8px; background: #fff; color: #213a52; padding: 0 12px; font: inherit; font-size: 14px; }
.calc-grid input[type=number] { text-align: right; }
.date-validation { margin: -10px 28px 28px; padding: 10px 12px; border: 1px solid #e6c4a8; border-radius: 8px; background: #fff8f2; color: #8b4e21; font-size: 12px; font-weight: 700; line-height: 1.45; }
.vau-note { display: flex; gap: 12px; margin: 0 28px 28px; padding: 15px; border: 1px solid #e0e6eb; border-radius: 10px; background: #f7f9fa; color: #324b61; }
.vau-note svg { width: 19px; color: var(--amber); flex: 0 0 auto; }
.vau-note strong, .vau-note span { display: block; }
.vau-note strong { font-size: 13px; }.vau-note span { margin-top: 3px; color: #687887; font-size: 12px; }.vau-note small { display: none; margin-top: 5px; color: #995121; font-size: 11px; font-weight: 700; line-height: 1.45; }.vau-note.is-outdated { border-color: #e6c4a8; background: #fff8f2; }.vau-note.is-outdated small { display: block; }.vau-note.is-outdated svg { color: #9a5b2c; }
.area-block { border-top: 1px solid #e3e8ed; background: #fbfcfd; padding: 27px 28px 28px; }
.area-block p { margin-top: 5px; }.area-block .areas { padding: 22px 0 0; }
.area-field { display: grid; gap: 8px; color: #324b61; font-size: 13px; font-weight: 800; }.area-field small { color: #8794a0; font-size: 11px; font-weight: 500; }.area-label { display: inline-flex; align-items: center; }.area-label label { display: inline; }
.input-unit { position: relative; display: block; }.input-unit input { padding-right: 48px !important; }.input-unit > span { position: absolute; top: 50%; right: 13px; transform: translateY(-50%); color: #718292; font-size: 12px; font-weight: 700; pointer-events: none; }
.help-tooltip { position: relative; display: inline-grid; width: 18px; height: 18px; margin-left: 5px; place-items: center; border: 1px solid #8b9cab; border-radius: 50%; background: #fff; color: #526b80; font: inherit; font-size: 12px; font-weight: 800; line-height: 1; cursor: help; vertical-align: middle; }.help-tooltip:hover, .help-tooltip:focus-visible, .help-tooltip.is-open { border-color: var(--amber); color: var(--amber); outline: none; }.help-popover { position: absolute; z-index: 8; bottom: calc(100% + 10px); left: 50%; width: min(276px, calc(100vw - 70px)); padding: 12px 13px; transform: translateX(-50%) translateY(4px); border-radius: 9px; background: #213a52; box-shadow: 0 10px 28px rgba(32,55,76,.22); color: #fff; font-family: var(--sans); font-size: 12px; font-weight: 500; line-height: 1.5; text-align: left; opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; }.help-popover::after { position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; transform: translateX(-50%) rotate(45deg); background: #213a52; content: ""; }.help-tooltip:hover .help-popover, .help-tooltip:focus-visible .help-popover, .help-tooltip.is-open .help-popover { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.calc-submit { width: calc(100% - 56px); margin: 0 28px 28px; }
.adjustment-block { display:flex; gap:13px; margin:0 28px 26px; padding:16px 18px; border:1px solid #ead5b7; border-radius:12px; background:#fffaf2; color:#30475c; }.adjustment-block svg { width:21px; color:var(--amber); flex:0 0 auto; }.adjustment-block h3 { margin:0 0 4px; font-size:14px; }.adjustment-block p { margin:0; color:#627181; font-size:12px; line-height:1.5; }.adjustment-block small { display:block; margin-top:7px; color:#8a6038; font-size:11px; font-weight:700; line-height:1.45; }
.calc-result { position: sticky; top: 94px; background: #213a52; color: #fff; border-color: #213a52; }
.result-head { padding: 23px 26px; border-bottom: 1px solid rgba(255,255,255,.12); }.result-head span { color: #e8b78f; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }.result-head p { margin: 6px 0 0; color: rgba(255,255,255,.62); font-size: 12px; }
.result-content { padding: 26px; }.result-box { padding: 17px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: rgba(255,255,255,.06); }.result-box span { color: rgba(255,255,255,.65); font-size: 12px; }.result-box strong { display: block; margin-top: 3px; font-size: 29px; letter-spacing: -.04em; }.result-helper { margin: 7px 0 0; color: rgba(255,255,255,.64); font-size: 11px; line-height: 1.45; }.result-box.potential { border-color: #f7d989; background: linear-gradient(135deg, #f3c85f 0%, #d88d19 100%); box-shadow: 0 12px 24px rgba(18,39,58,.22); }.result-box.potential span { color: #4d3213; font-weight: 800; }.result-box.potential strong { display: flex; align-items: baseline; gap: 7px; color: #213a52; }.result-box.potential strong small { color: #4d3213; font-size: 11px; font-weight: 700; letter-spacing: 0; }.result-box.potential strong em { font: inherit; }.result-box.potential b { display: block; margin-top: 12px; padding: 9px 10px; border-radius: 7px; background: rgba(33,58,82,.9); color: #fff; font-size: 13px; font-weight: 800; line-height: 1.35; letter-spacing: -.01em; }.result-arrow { display: grid; place-items: center; height: 32px; color: rgba(255,255,255,.3); }.result-arrow svg { width: 18px; }
.result-placeholder { margin: 0; padding: 18px; border: 1px dashed rgba(255,255,255,.26); border-radius: 11px; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.6; }
#financial-results[hidden], #analysis-link[hidden] { display: none !important; }
.decadence-insight { margin: 13px 0 -3px; padding: 11px 12px; border: 1px solid rgba(247,217,137,.42); border-radius: 9px; background: rgba(247,217,137,.10); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.45; }
.adjustment-result { margin-top:15px; padding:13px 14px; border:1px solid rgba(247,217,137,.3); border-radius:10px; background:rgba(255,255,255,.05); }.adjustment-result > span { color:#f0c9aa; font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }.adjustment-result dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 14px; margin:12px 0 0; }.adjustment-result div { min-width:0; }.adjustment-result dt { color:rgba(255,255,255,.62); font-size:11px; line-height:1.35; }.adjustment-result dd { margin:3px 0 0; color:#fff; font-size:12px; font-weight:700; line-height:1.35; overflow-wrap:anywhere; }
.details-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }.details-heading span { color: #f0c9aa; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.details-heading small { color: rgba(255,255,255,.48); font-size: 10px; }
#result-details { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px 14px; margin: 16px 0 24px; }#result-details div { min-width: 0; font-size: 12px; }#result-details dt { color: rgba(255,255,255,.62); line-height: 1.35; }#result-details dd { margin: 3px 0 0; color: #fff; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.result-cta { width: 100%; background: var(--amber); border-color: var(--amber); color: #fff; }.result-cta:hover { box-shadow: none; background: #9a5b2c; border-color: #9a5b2c; }
.calc-submit:disabled { cursor: not-allowed; opacity: .52; filter: saturate(.4); }
.safety-note { display: flex; gap: 10px; padding: 18px 24px; background: #fff; color: #607080; font-size: 11px; line-height: 1.6; }.safety-note svg { width: 18px; color: var(--amber); flex: 0 0 auto; }.safety-note p { margin: 0; }.safety-note strong { display: inline-block; margin-right: 3px; color: #9a5b2c; font-size: 13px; font-weight: 900; letter-spacing: .01em; }
.calc-back { display: flex; justify-content: center; padding-top: 34px; }.calc-back .btn { background: var(--blue); border-color: var(--blue); }
@media(max-width:850px) { .calc-layout { grid-template-columns: 1fr; }.calc-result { position: static; }.calc-section { padding-top: 28px; } }
@media(max-width:560px) { .calc-hero { padding-top: 48px; }.calc-grid { grid-template-columns: 1fr; padding: 22px; }.calc-form-head, .area-block { padding-left: 22px; padding-right: 22px; }.vau-note, .adjustment-block, .date-validation { margin-left:22px; margin-right:22px; }.calc-submit { width: calc(100% - 44px); margin: 0 22px 22px; }.adjustment-result dl { grid-template-columns:1fr; }.calc-result { border-radius: 12px; }.result-box strong { font-size: 25px; letter-spacing: -.03em; }.result-box.potential strong { flex-wrap: wrap; gap: 3px 6px; }.result-box.potential strong small { font-size: 10px; } }
