/* V7.09 — editorial restraint, deliberate type hierarchy, consistent financial report. */
:root{--v709-ink:#111716;--v709-dark:#17243A;--v709-muted:#5B6A64;--v709-green:#218762;--v709-mint:#C5F4DC;--v709-surface:#F8FAF8;--v709-border:#D5E4DA;--v709-type:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
/* Homepage: concise section headers and one consistent content anchor. */
#home .tmf7-heading-row,#home .v5-split-heading{align-items:flex-end!important;justify-content:space-between!important;gap:24px!important}
#home .tmf7-heading-row>div:first-child,#home .v5-split-heading>div:first-child{min-width:0;max-width:100%}
#home .v5-reading-heading>div:last-child{display:flex;align-items:flex-end;justify-content:flex-end;min-width:0}
#home .v5-reading-heading .text-link{margin:0 0 6px!important;white-space:nowrap!important;font-size:14px!important;font-weight:800!important}
#home .tmf7-bottomnote{display:none!important}
#home .tmf7-tool-section .tmf7-heading-row{margin-bottom:clamp(25px,3vw,42px)!important}
#home .v5-topics-section .v5-split-heading{margin-bottom:clamp(18px,3vw,32px)!important}
#home .v5-story-section .v5-reading-heading{margin-bottom:clamp(24px,3vw,38px)!important}
@media(max-width:760px){#home .v5-reading-heading{flex-direction:row!important;align-items:flex-end!important;gap:12px!important}#home .v5-reading-heading>div:last-child{align-self:flex-end!important}#home .v5-reading-heading .text-link{white-space:normal!important;text-align:right!important;line-height:1.25!important}}
@media(max-width:480px){#home .v5-reading-heading{flex-direction:column!important;align-items:flex-start!important}#home .v5-reading-heading>div:last-child{align-self:flex-start!important}}
/* All results use the same modern typographic scale, including nested <strong> and old numeric elements. */
body:has(.tmf-site-header) #results,body:has(.tmf-site-header) #resultGate{font-family:var(--v709-type)!important;color:var(--v709-ink)!important;--navy:var(--v709-dark);--deep:var(--v709-dark);--accent:var(--v709-green);--line:var(--v709-border)}
#results h2,#results h3,#results h4,#results .stat strong,#results .wealth-headline strong,#results .scenario-metric strong,#results .scenario-progress-val,#results .sens strong,#results .edu-summary strong,#results .costrow b,#results .ledger-category b,#results .category-details summary span:last-child,#results .upfront-value,#results #adjustedTarget{font-family:var(--v709-type)!important;letter-spacing:-.052em!important;font-style:normal!important;font-weight:850!important;font-variant-numeric:tabular-nums;line-height:1.13!important}
#results .result-head{margin:0 0 clamp(20px,3vw,36px)!important}
#results .result-head h2{font-size:clamp(40px,5.4vw,78px)!important;letter-spacing:-.065em!important;line-height:1.02!important;margin:12px 0 16px!important;max-width:900px}
#results .result-head .small{font-size:clamp(14px,1.15vw,17px)!important;line-height:1.55!important;max-width:660px}
#results .metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:clamp(12px,1.5vw,22px)!important;align-items:stretch!important}
#results .stat{display:flex!important;flex-direction:column!important;justify-content:space-between!important;gap:8px!important;min-width:0!important;padding:clamp(20px,2.4vw,37px)!important;border-radius:20px!important;border-color:var(--v709-border)!important;background:#fff!important}
#results .stat.featured{background:var(--v709-mint)!important;color:var(--v709-dark)!important;border-color:#A7DFBF!important}
#results .stat small{font-weight:720!important;font-size:clamp(12px,1vw,15px)!important;line-height:1.45!important;opacity:1!important;color:var(--v709-muted)!important}
#results .stat strong{font-size:clamp(29px,3.5vw,57px)!important;margin:16px 0!important;color:var(--v709-ink)!important;white-space:normal!important;overflow-wrap:anywhere!important}
#results .stat.featured strong{color:#116A49!important}
#results .wealth-primary{margin-top:clamp(17px,2vw,28px)!important;background:var(--v709-surface)!important;border:1px solid var(--v709-border)!important;padding:clamp(22px,3.2vw,46px)!important;border-radius:20px!important;overflow:hidden!important}
#results .wealth-primary h3{font-size:clamp(28px,3.35vw,48px)!important;line-height:1.06!important;letter-spacing:-.06em!important;margin:13px 0 28px!important}
#results .wealth-headline-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:clamp(12px,1.5vw,20px)!important}
#results .wealth-headline{border:1px solid var(--v709-border)!important;background:white!important;border-radius:16px!important;padding:clamp(20px,2.3vw,32px)!important;min-width:0}
#results .wealth-headline.is-shortfall{background:#EDF7F1!important;border-color:#A9DCC2!important}
#results .wealth-headline.is-surplus{background:var(--v709-mint)!important;border-color:#8BD2B0!important}
#results .wealth-headline span{font-weight:760!important;color:#53675D!important;font-size:clamp(12px,1.05vw,16px)!important;line-height:1.4!important}
#results .wealth-headline strong{font-size:clamp(32px,3.8vw,60px)!important;line-height:1.06!important;margin-top:16px!important;overflow-wrap:anywhere!important;color:var(--v709-dark)!important}
#results .wealth-headline.is-shortfall strong{color:#116A49!important}
#results .wealth-gap-insight{padding:16px 0 19px!important;font-size:clamp(14px,1.3vw,18px)!important;font-weight:470!important;line-height:1.6!important;max-width:960px!important;margin:6px 0 3px!important;color:#4C5B55!important}
#results .wealth-gap-insight strong,#results #wealthComment strong{font-family:var(--v709-type)!important;font-weight:830!important;color:#116A49!important;letter-spacing:-.02em!important}
#results .chart{border-radius:15px!important;background:#fff!important;border:1px solid var(--v709-border)!important;padding:clamp(9px,2vw,19px)!important;width:100%!important;min-height:150px!important}
#results .projection-assumptions{margin:15px 0 23px!important;border:1px solid var(--v709-border)!important;border-radius:13px!important;background:white!important;padding:0!important;overflow:hidden!important}
#results .projection-assumptions>summary{padding:17px 20px!important;color:#244D3C!important;font-size:14px!important;font-weight:800!important;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px}
#results .projection-assumptions>summary:after{content:'+';font-size:19px;color:#218762}
#results .projection-assumptions[open]>summary:after{content:'−'}
#results .projection-assumptions[open]>summary{border-bottom:1px solid var(--v709-border)!important}
#results .projection-assumptions p{margin:14px 19px!important;max-width:900px!important;line-height:1.65!important;font-size:13px!important}
#results .projection-assumptions .return-equation{border-radius:8px!important}
#results .wealth-primary>.result-controls{background:white!important;border-radius:15px!important;border:1px solid var(--v709-border)!important;padding:clamp(15px,2vw,24px)!important;gap:14px!important;align-items:flex-end!important;margin-top:20px!important}
#results .wealth-primary>.result-controls label{display:flex!important;flex-direction:column!important;gap:8px!important;color:#40534A!important}
#results .wealth-primary>.result-controls input{min-height:44px!important;max-width:none!important;width:100%!important;min-width:130px!important;border-color:var(--v709-border)!important}
#results .actions{margin:24px 0 clamp(30px,4vw,46px)!important;gap:11px!important;align-items:stretch!important}
#results .actions .btn{border-radius:10px!important;min-height:47px!important;padding:12px 16px!important;font-weight:790!important}
#results #printPlan{background:#111716!important;color:#fff!important;border-color:#111716!important;order:-1!important}
#results .section-card{border-radius:19px!important;border-color:var(--v709-border)!important;padding:clamp(20px,2.6vw,34px)!important}
#results .section-card h3{font-size:clamp(25px,2.8vw,39px)!important;line-height:1.13!important}
#results .sens{background:var(--v709-surface)!important;border-color:var(--v709-border)!important}
#results .sens strong{font-size:clamp(22px,2.2vw,31px)!important;white-space:normal!important;overflow-wrap:anywhere!important;margin:10px 0 1px!important}
#results .scenario-metric strong{white-space:normal!important;overflow-wrap:anywhere!important}
#results .scenario-progress-val{white-space:normal!important;overflow-wrap:anywhere!important}
#results .edu-summary strong{font-size:clamp(25px,3vw,40px)!important}
#results .result-controls input,#results .result-controls select{font-family:var(--v709-type)!important}
@media(max-width:1050px){#results .metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}#results .metrics .stat.featured{grid-column:1/-1;grid-row:1}}
@media(max-width:750px){#results .metrics,#results .wealth-headline-grid{grid-template-columns:1fr!important}#results .metrics .stat.featured{grid-column:auto!important;grid-row:auto!important}#results .metrics .stat{min-height:160px!important}#results .stat strong,#results .wealth-headline strong{font-size:clamp(32px,7.8vw,52px)!important}#results .wealth-primary>.result-controls{display:grid!important;grid-template-columns:1fr!important}#results .wealth-primary>.result-controls input{width:100%!important}#results .actions{display:grid!important;grid-template-columns:1fr 1fr!important}#results .actions .btn{white-space:normal!important}#results #printPlan{grid-column:1/-1}}
@media(max-width:420px){#results .actions{grid-template-columns:1fr!important}#results #printPlan{grid-column:auto}}
