/* RetireBetter layout; colour tokens live in wealth-theme.css. */
:root{--radius:14px;font-size:16px}
.premium-body{background:var(--bg);font-size:1rem}.premium-body h1,.premium-body h2,.premium-body .royal-brand{font-family:Georgia,'Times New Roman',serif}.premium-body button,.premium-body input,.premium-body select{font-size:1rem;min-height:44px}.premium-body button{border-radius:7px}.premium-body a{text-decoration:none}.premium-body a:hover{text-decoration:underline}.premium-body .royal-brand:hover,.premium-body .nav-item:hover{text-decoration:none}.premium-body .eyebrow{font:600 0.875rem/1.6 ui-sans-serif,system-ui,sans-serif;letter-spacing:.16em;color:var(--gold-dark)}
.royal-sidebar{position:fixed;inset:0 auto 0 0;width:232px;background:var(--nav-bg);color:var(--nav-text);padding:34px 20px;z-index:10;display:flex;flex-direction:column;border-right:1px solid var(--nav-line)}.royal-brand{display:flex;align-items:center;gap:10px;color:var(--nav-text);font-size:1.28rem;letter-spacing:-.035em;padding:0 4px 34px}.royal-brand small{font-family:ui-sans-serif,system-ui,sans-serif;font-size:0.875rem;letter-spacing:.18em;color:var(--nav-muted);margin-top:7px}.royal-monogram{display:grid;place-items:center;position:relative;border:1px solid var(--nav-accent);width:36px;height:42px;flex-shrink:0;color:var(--nav-accent);font:1.8rem Georgia,serif}.royal-monogram>span{position:absolute;right:1px;bottom:0;font-size:1.1rem}.royal-sidebar nav{flex:1}.nav-item{display:block;padding:10px 13px;border-radius:7px;color:var(--nav-text);font-size:0.875rem;line-height:1.5;margin-bottom:3px}.nav-item:hover{background:var(--nav-hover);color:var(--nav-text);text-decoration:none}.nav-item[aria-current=page]{background:var(--nav-active);color:var(--nav-accent);text-decoration:none}.nav-item[aria-current=page]{border-left:2px solid var(--nav-accent);padding-left:11px}.nav-caption{color:var(--nav-muted);font-size:0.875rem;letter-spacing:.16em;padding:24px 13px 6px;margin:0}.nav-bottom{border-top:1px solid var(--nav-line);margin:30px 12px 0;padding-top:18px;display:grid;gap:14px}.nav-bottom a,.nav-bottom button{font-size:0.875rem;color:var(--nav-muted)}.nav-bottom button{background:none;border:0;text-align:left;padding:0;min-height:30px}.sidebar-note{font-family:Georgia,serif;font-size:1.12rem;font-style:italic;color:var(--nav-muted);padding:20px 13px 0;line-height:1.6;margin:0}.mobile-menu{display:none}.royal-shell{margin-left:232px}.royal-topbar{height:70px;border-bottom:1px solid var(--line);padding:0 46px;display:flex;align-items:center;justify-content:space-between;gap:16px}.royal-topbar>p{font-size:0.875rem;letter-spacing:.16em;color:var(--muted);margin:0}.royal-topbar>div{display:flex;gap:26px;align-items:center;font-size:0.875rem}.royal-topbar a{color:var(--muted)}.private-indicator{color:var(--muted)}.private-indicator:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:#5e8b5a;margin:0 7px 1px 0}.royal-main{max-width:1420px;margin:auto;padding:36px 46px 0}.premium-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin:0 0 30px}.premium-heading h1{font-size:clamp(2.15rem,3.2vw,3.45rem);line-height:1.1;letter-spacing:-.055em;font-weight:400;margin:8px 0 13px}.premium-heading h1 em{font-weight:400;color:var(--heading-accent)}.premium-subtitle{font-size:.88rem;color:var(--muted);margin:0}.heading-aside{max-width:230px;text-align:right;font-size:0.875rem}.heading-aside>p{color:var(--muted);line-height:1.6;margin-bottom:12px}.heading-aside button{font-size:0.875rem;padding:10px 16px;background:transparent}.overview-lead{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:22px}.gap-card{background:var(--soft);color:var(--text);border:1px solid var(--line);border-radius:14px;padding:27px 30px 24px;position:relative;overflow:hidden}.gap-card:after{content:'';position:absolute;width:210px;height:210px;border:1px solid var(--line);border-radius:50%;right:-94px;top:-81px;pointer-events:none}.card-eyebrow{font-size:0.875rem;letter-spacing:.15em;font-weight:600;line-height:1.6}.gap-card .card-eyebrow{color:var(--gold-dark);display:flex;justify-content:space-between}.gap-card .card-eyebrow>span{font-size:1rem}.gap-intro{font-size:0.875rem;color:var(--muted);margin:15px 0 10px}.gap-amount{font-size:clamp(2.15rem,4vw,3.6rem);font-weight:400;letter-spacing:-.05em;font-variant-numeric:tabular-nums;line-height:1.35;overflow-wrap:anywhere}.gap-unit{font-size:0.875rem;color:var(--muted);margin:2px 0 23px;max-width:470px}.gap-equation{display:flex;align-items:center;gap:30px;border-top:1px solid var(--line);padding-top:19px}.gap-equation>div{display:grid;gap:6px}.gap-equation span:not(.equation-sign){font-size:0.875rem;color:var(--muted)}.gap-equation strong{font-size:1.25rem;font-weight:500;letter-spacing:-.035em}.equation-sign{font-size:1.1rem;color:var(--muted)}.target-card{border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:27px 25px}.target-card .card-eyebrow{color:var(--gold-dark);margin-bottom:12px}.retire-age{font:3.5rem/1.1 Georgia,serif;margin:0;color:var(--text)}.retire-age span{display:inline-block;font: 0.875rem/1.5 ui-sans-serif,system-ui,sans-serif;color:var(--muted);margin-left:13px;max-width:90px}.target-rule{height:1px;background:var(--line);margin:16px 0}.target-days{font-size:1.05rem;letter-spacing:-.025em;margin-bottom:4px}.target-card .muted{font-size:0.875rem;line-height:1.6;margin-bottom:15px}.target-card button{padding:0;border:0;background:none;min-height:34px;font-size:0.875rem;color:var(--gold-dark)}.muted{color:var(--muted);font-size:0.875rem;line-height:1.65}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:31px 0 16px}.section-heading h2{font-size:1.6rem;font-weight:400;letter-spacing:-.04em;margin:0}.section-heading .eyebrow{margin-bottom:3px}.section-heading>.muted{font-size:0.875rem;margin:0;max-width:220px}.quiet-button{border:0;background:none;font-size:0.875rem!important;color:var(--muted);padding:0}.wealth-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.wealth-grid article{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:20px 22px;min-width:0}.tiny-label{font-size:0.875rem;letter-spacing:.1em;color:var(--muted)}.wealth-grid strong{display:block;font-size:1.75rem;letter-spacing:-.05em;font-weight:500;margin:11px 0 5px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.wealth-grid small{font-size:0.875rem;color:var(--muted)}.overview-lower{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:22px;margin-top:24px}.premium-panel{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:25px;min-width:0}.premium-panel>.section-heading{margin-top:0}.premium-panel h2{font-size:1.6rem;letter-spacing:-.04em;font-weight:400}.asset-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.asset-row:last-child{border-bottom:0}.asset-row .asset-symbol{height:34px;width:34px;font-size:1rem}.asset-row .asset-description{flex:1;min-width:0}.asset-description strong{font-size:0.875rem;font-weight:500}.asset-description small{font-size:0.875rem;line-height:1.5;color:var(--muted);margin-top:2px}.asset-row .asset-value{text-align:right;font-size:.94rem;font-variant-numeric:tabular-nums}.asset-value small{font-size:0.875rem;color:var(--muted)}.income-panel{background:var(--soft)}.income-panel h2{margin-bottom:18px}.income-component{display:flex;justify-content:space-between;align-items:start;gap:14px;padding:12px 0;border-bottom:1px solid var(--line);font-size:0.875rem}.income-component strong{font-weight:500;white-space:nowrap}.income-component small{font-size:0.875rem;margin-top:3px;color:var(--muted)}.text-link{display:inline-block;color:var(--gold-dark);font-size:0.875rem;margin-top:23px}.asset-entry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.asset-entry{display:flex;align-items:center;gap:13px;min-height:101px;padding:19px 17px;background:var(--surface);border:1px solid var(--line);border-radius:10px;color:var(--text);transition:border-color .15s,transform .15s}.asset-entry:hover{border-color:var(--gold-dark);transform:translateY(-2px);text-decoration:none!important}.asset-symbol{height:40px;width:40px;border:1px solid var(--line);background:var(--soft);display:grid;place-items:center;color:var(--gold-dark);border-radius:9px;flex-shrink:0;font-family:Georgia,serif;font-size:1.25rem}.asset-entry>div{flex:1;min-width:0}.asset-entry strong{display:block;font-weight:600;font-size:0.875rem;line-height:1.5}.asset-entry small{font-size:0.875rem;line-height:1.6;color:var(--muted);margin-top:4px}.entry-arrow{font-size:1rem;color:var(--gold-dark)}.data-footnote{font-size:0.875rem;line-height:1.75;color:var(--muted);margin:22px 0}.royal-footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:24px 0;margin:45px 0 0;font-size:0.875rem;color:var(--muted)}.footer-dot{color:var(--gold-dark);margin:0 5px}.royal-footer a{color:var(--muted)}.calculator-context{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:21px 0 20px;border-top:1px solid var(--line)}.calculator-context h2{font-size:1.9rem;font-weight:400;margin:0 0 7px}.calculator-context .eyebrow{font-size:0.875rem;margin-bottom:5px}.calculator-context p.muted{font-size:0.875rem;margin:0}.calculator-context>label{font-size:0.875rem;min-width:210px;max-width:280px}.focused-calculator-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:24px;align-items:start}.calculator-outcomes{display:grid;gap:22px;position:sticky;top:24px}.calculator-value strong{display:block;font-size:2.8rem;letter-spacing:-.055em;font-weight:400;margin:15px 0}.gold-button{display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;border-radius:6px;background:var(--accent);color:var(--on-accent);font-size:0.875rem;font-weight:600;min-height:46px}.gold-button:hover{background:var(--accent-hover);text-decoration:none!important}.history-panel h3{font-size:1rem;font-weight:500}.history-panel .section-heading{margin:0;align-items:start}.source-pill{font-size:0.875rem;color:var(--gold-dark);background:var(--soft);padding:4px 7px;border-radius:4px;white-space:nowrap}.history-empty{border:1px dashed var(--line);border-radius:8px;padding:28px 20px;margin:22px 0;text-align:center}.history-empty>span{display:block;color:var(--gold-dark);font-size:1.8rem;margin-bottom:10px}.history-empty strong{display:block;font:1.25rem Georgia,serif;margin-bottom:12px}.history-empty p{font-size:0.875rem;line-height:1.7;color:var(--muted);margin:0}.history-panel .data-footnote{font-size:0.875rem;margin-bottom:0}.premium-body .editor{border-radius:12px}.premium-body .tabs{background:var(--soft);border-bottom:1px solid var(--line);padding:12px}.premium-body .tabs button{font-size:0.875rem}.premium-body #editor-panel{padding:24px}.premium-body .field{font-size:0.875rem;line-height:1.6;margin-bottom:16px}.premium-body .field input,.premium-body .field select{font-size:1rem;background:var(--surface);border-color:var(--control-line);border-radius:6px;padding:11px 13px;margin-top:7px}.premium-body .hint{font-size:0.875rem;line-height:1.7;text-align:left}.premium-body .source-card{margin:16px 0 0;border:0;padding:0}.premium-body .source-card h3{font-family:Georgia,serif;font-size:1.4rem;font-weight:400;margin-bottom:20px}.premium-body .remove{font-size:0.875rem;background:transparent;color:#977057;border:0}.premium-body .source-card details{border-top:1px solid var(--line);padding-top:16px;margin-top:18px}.premium-body details>summary{font-size:0.875rem;cursor:pointer}.premium-body .add{background:var(--soft);border:1px solid var(--line);margin:18px 0 3px}.premium-body #new-account-type{font-size:0.875rem}.premium-body .notice{font-size:0.875rem;margin:0 0 20px}.premium-body .library{padding:26px}.premium-body .library h2{font-family:Georgia,serif}.premium-body .library .toolbar button{font-size:0.875rem}.premium-body [data-premium-screen=projection] .results{width:100%}.premium-body .burn-panel{max-width:760px}.burn-panel label{font-size:.88rem;margin:28px 0 15px}.burn-panel input{font-size:1.7rem;padding:14px 18px}.empty-note{font-size:0.875rem;color:var(--muted);line-height:1.8;margin:20px 0}.premium-body dialog{max-width:min(680px,calc(100vw - 30px));max-height:88vh;border-color:var(--line);background:var(--surface);color:var(--text);border-radius:14px}.premium-body dialog::backdrop{background:var(--scrim)}.premium-body .library-fields{max-width:none}.premium-body .daily-dashboard{border:0}.premium-body .nav-item:focus-visible,.premium-body .royal-brand:focus-visible{outline-color:var(--focus)}.premium-body [data-current-tool=true]{outline:0!important}
@media(min-width:1550px){.royal-main{padding-top:45px}.royal-sidebar{width:248px}.royal-shell{margin-left:248px}}
@media(max-width:1200px){.royal-sidebar{width:212px;padding:29px 13px}.royal-shell{margin-left:212px}.royal-main{padding:30px 28px 0}.royal-topbar{padding:0 28px}.royal-brand{font-size:1.18rem}.asset-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gap-card{padding:25px}.gap-equation{gap:20px}.heading-aside{max-width:180px}}
@media(max-width:1000px){.overview-lower,.focused-calculator-grid{grid-template-columns:minmax(0,1fr)}.calculator-outcomes{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.overview-lead{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}.wealth-grid{gap:11px}.wealth-grid article{padding:17px 15px}.wealth-grid strong{font-size:1.45rem}.premium-heading h1{font-size:2.5rem}.gap-amount{font-size:2.6rem}}
@media(max-width:800px){.royal-sidebar{position:relative;width:auto;padding:17px 22px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap}.royal-brand{padding:0;font-size:1.3rem}.royal-brand small{font-size:0.875rem}.royal-monogram{height:37px;width:32px}.mobile-menu{display:block;font-size:0.875rem!important;background:transparent;color:var(--nav-text);border:1px solid var(--nav-line);padding:7px 14px}.royal-sidebar nav{display:none;width:100%;margin-top:20px}.royal-sidebar[data-open=true] nav{display:block}.sidebar-note{display:none}.royal-shell{margin:0}.royal-topbar{padding:0 22px;height:51px}.royal-main{padding:27px 22px 0}.royal-topbar>p{font-size:0.875rem}.royal-topbar>div{font-size:0.875rem;gap:15px}.private-indicator{display:none}.premium-heading{gap:16px;margin-bottom:24px}.premium-heading h1{font-size:2.45rem}.premium-heading .eyebrow{font-size:0.875rem}.heading-aside{max-width:140px}.heading-aside>p{font-size:0.875rem}.heading-aside button{font-size:0.875rem}.overview-lead{gap:15px}.calculator-outcomes{grid-template-columns:minmax(0,1fr)}.source-pill{white-space:normal}.section-heading h2{font-size:1.5rem}}
@media(max-width:540px){.royal-main{padding:24px 18px 0}.premium-heading{display:block}.premium-heading h1{font-size:2.3rem}.heading-aside{display:flex;max-width:none;align-items:center;justify-content:space-between;margin-top:18px;text-align:left;gap:12px}.heading-aside>p{font-size:0.875rem;margin:0;max-width:210px}.heading-aside button{font-size:0.875rem;white-space:nowrap}.overview-lead{grid-template-columns:minmax(0,1fr)}.gap-card{padding:24px}.gap-amount{font-size:2.75rem}.gap-equation{gap:18px}.gap-equation strong{font-size:1.3rem}.target-card{padding:22px;display:grid;grid-template-columns:1fr 1fr;column-gap:16px}.target-card>.card-eyebrow{grid-column:1/-1}.target-card .retire-age{grid-column:1;grid-row:2/4;font-size:3.8rem}.retire-age span{display:block;margin:5px 0 0;font-size:0.875rem}.target-rule{display:none}.target-days{font-size:1rem;margin-top:5px}.target-card .muted{font-size:0.875rem;margin-bottom:0}.target-card button{grid-column:2;text-align:left;margin-top:10px}.wealth-grid{grid-template-columns:minmax(0,1fr)}.wealth-grid article{display:grid;grid-template-columns:1fr auto;align-items:center;gap:3px 12px;padding:16px 20px}.wealth-grid strong{font-size:1.6rem;margin:0;grid-column:2;grid-row:1/3}.wealth-grid small{font-size:0.875rem}.tiny-label{font-size:0.875rem}.section-heading{align-items:start}.section-heading>.muted{display:none}.quiet-button{font-size:0.875rem!important;max-width:125px;text-align:right}.overview-lower{gap:16px}.premium-panel{padding:22px}.asset-entry-grid{grid-template-columns:minmax(0,1fr)}.asset-entry{min-height:85px;padding:17px}.asset-entry strong{font-size:.9rem}.asset-entry small{font-size:0.875rem}.asset-symbol{height:41px;width:41px}.calculator-context{display:block}.calculator-context>label{max-width:none;margin-top:20px}.premium-body #editor-panel{padding:20px}.premium-body .pair{grid-template-columns:1fr}.premium-body .tabs button{font-size:0.875rem;padding:8px 9px}.royal-footer{display:block;line-height:1.8;margin-top:35px}.royal-footer>a{display:inline-block;margin-top:10px}.data-footnote{font-size:0.875rem}.source-pill{font-size:0.875rem}.gap-unit{font-size:0.875rem}.premium-body .library{padding:21px}.library-fields{grid-template-columns:1fr}.royal-topbar{padding:0 20px}}
.premium-arrow{display:inline-block;position:relative;width:.65em;height:.65em;margin-left:.25em;vertical-align:.02em;border-top:1px solid currentColor;border-right:1px solid currentColor}.premium-arrow:after{content:'';position:absolute;right:-.03em;top:-.03em;width:.85em;height:1px;background:currentColor;transform:rotate(-45deg);transform-origin:right center}.gap-card .card-eyebrow>span.premium-arrow{font-size:0.875rem}.why-reading{max-width:1140px}.why-reading h2#founder-title{font-size:clamp(2rem,4vw,3.2rem);line-height:1.18}.why-reading .founder-hero{padding:15px 0 35px}.why-reading .founder-copy{max-width:840px}.why-reading .founder-standard{padding:24px;background:var(--surface);border:1px solid var(--line);margin-top:25px}.why-reading .story-accountability{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:25px}.why-reading .story-figure{font-family:Georgia,serif;font-size:1.5rem}.why-reading .why-point p{line-height:1.8}.why-reading .story-signoff{color:var(--gold-dark)}
.premium-body .pair:has(>label:only-child){grid-template-columns:minmax(0,1fr)}.premium-body [data-premium-advanced] .field{margin-top:16px}.premium-body .source-card>[data-premium-advanced]{margin-top:20px}
.premium-body[data-screen=calculator] .calculator-context h2,.premium-body[data-screen=calculator] .calculator-context .eyebrow{display:none}.premium-body[data-screen=calculator] .calculator-context{margin-top:-6px;padding-top:16px}.premium-body[data-screen=calculator] .premium-heading{margin-bottom:22px}.premium-body .hint,.history-empty p{font-size:.875rem}.gap-unit{font-size:0.875rem}.target-card .muted{font-size:0.875rem}@media(max-width:540px){.premium-body[data-screen=calculator] .premium-heading h1{font-size:2.05rem;line-height:1.08}.premium-body[data-screen=calculator] .premium-heading{margin-bottom:12px}.premium-body[data-screen=calculator] .premium-heading .premium-subtitle{font-size:0.875rem}.premium-body[data-screen=calculator] .calculator-context{padding:14px 0}.premium-body[data-screen=calculator] .calculator-context>div{display:none}.premium-body[data-screen=calculator] .calculator-context>label{margin-top:0}.premium-body[data-screen=calculator] .heading-aside{margin-top:12px}.premium-body[data-screen=calculator] .heading-aside>p{font-size:0.875rem}.history-empty p,.premium-body .hint{font-size:.875rem}}
.history-empty .table-scroll{max-height:390px;overflow:auto}.history-empty table{font-size:.875rem}.history-empty th{font-size:0.875rem}.history-empty td button{font-size:0.875rem!important;min-height:36px;padding:7px 9px}.history-empty>section>p{font-size:0.875rem;line-height:1.7}
:root[data-size="125"]{font-size:20px}:root[data-size="150"]{font-size:24px}:root[data-size="175"]{font-size:28px}:root[data-size="200"]{font-size:32px}.royal-sidebar{overflow-y:auto}.royal-brand>span:last-child{min-width:0;overflow-wrap:anywhere}.history-panel .section-heading{flex-wrap:wrap}.premium-body .methodology{margin-top:28px;padding:25px;border:1px solid var(--line);background:var(--surface);border-radius:12px}.premium-body .methodology p{font-size:.9rem}
.income-component small{color:var(--muted)}.asset-description small,.asset-entry small,.wealth-grid small{font-size:0.875rem}.source-pill{font-size:0.875rem}.premium-validation{display:block;margin-top:7px;font-size:.875rem;font-weight:400;color:var(--warning)}.premium-body [aria-invalid=true]{border-color:var(--warning)!important}

.premium-calendar-label{max-width:200px;margin:20px 0;font-size:.875rem}.premium-body [data-premium-screen=dividends] table{font-size:.875rem}.premium-body [data-premium-screen=dividends] .table-scroll{margin:24px 0}
.source-pill{color:var(--gold-dark)}
.premium-onboarding{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:38px;background:var(--soft);color:var(--text);padding:34px;border-radius:14px;border:1px solid var(--line)}.premium-onboarding h2{font-size:2.1rem;font-weight:400;line-height:1.2;letter-spacing:-.04em;margin:8px 0 17px}.premium-onboarding .eyebrow{color:var(--gold-dark)}.premium-onboarding p{color:var(--muted);font-size:.9rem;line-height:1.8;max-width:480px}.premium-onboarding ol{list-style:none;padding:0;margin:0;display:grid;gap:18px}.premium-onboarding li{display:flex;gap:16px;align-items:start}.premium-onboarding li>span{font:1.6rem Georgia,serif;color:var(--gold-dark)}.premium-onboarding li strong{font-weight:500;font-size:.9rem}.premium-onboarding li p{font-size:0.875rem;margin:4px 0 0}.onboarding-link{font-size:0.875rem;color:var(--gold-dark);padding:10px 0}.premium-onboarding .toolbar{margin-top:22px;gap:20px;align-items:center}@media(max-width:1000px){.premium-onboarding{grid-template-columns:1fr;gap:26px}}@media(max-width:540px){.premium-onboarding{padding:25px}.premium-onboarding h2{font-size:1.8rem}.premium-onboarding .toolbar{gap:10px}.premium-onboarding li{gap:14px}}

*{box-sizing:border-box}.premium-body{margin:0;color:var(--text);font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.65}.premium-body [hidden]{display:none!important}.premium-body .skip{position:absolute;left:1rem;top:-100px;z-index:30;padding:1rem;background:var(--surface);color:var(--text)}.premium-body .skip:focus{top:1rem}.why-reading>article{max-width:790px;margin:0 auto}.why-reading .story-body{font-size:1rem}.why-reading .story-heading h1{font-size:clamp(2rem,4vw,3.2rem);line-height:1.15;letter-spacing:-.04em}.why-reading .reading-settings{font-size:0.875rem}.why-reading .reading-settings-panel{background:var(--surface);padding:15px;border:1px solid var(--line)}.why-reading .calculator-link{background:var(--accent);color:var(--on-accent)}

.royal-brand small{display:block}.royal-topbar>a{font-size:0.875rem;line-height:1.5}@media(max-width:800px){.royal-topbar>a{font-size:0.875rem}}@media(max-width:540px){.royal-footer{display:flex;flex-direction:column;gap:10px}.royal-footer>a{margin-top:0;align-self:flex-start}}

.epf-payroll{border-top:1px solid var(--line);margin-top:26px;padding-top:24px}.epf-payroll h3{font-family:Georgia,serif;font-size:1.4rem;font-weight:400;margin:0 0 20px}.epf-monthly-summary{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;background:var(--soft);padding:14px 16px;border-radius:7px;font-size:0.875rem}.epf-monthly-summary strong{font-variant-numeric:tabular-nums}.additional-accounts{margin-top:22px}.additional-accounts>summary{color:var(--muted)}
#premium-calc-value{overflow-wrap:anywhere}

.home-quick-start{padding:28px 30px;margin-bottom:26px;border-color:var(--line)}.home-start-heading{display:flex;justify-content:space-between;gap:24px;align-items:start}.home-start-heading h2{font-size:1.8rem;line-height:1.2;margin:5px 0 12px}.home-start-heading p:not(.eyebrow){font-size:.88rem;color:var(--muted);line-height:1.7;max-width:620px;margin:0}.quick-save-note{font-size:0.875rem;color:var(--muted);white-space:nowrap;padding-top:6px}.home-quick-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:24px}.home-quick-fields>label{display:block;font-size:.9rem;font-weight:600;min-width:0}.home-money-input{display:flex;align-items:center;border:1px solid var(--line);border-radius:7px;background:var(--bg);margin-top:9px;overflow:hidden}.home-money-input:focus-within{outline:2px solid var(--accent);outline-offset:2px}.home-money-input>span{padding:0 0 0 16px;font-size:1rem;color:var(--muted)}.premium-body .home-money-input input{min-width:0;width:100%;border:0;outline:0;background:transparent;box-shadow:none;font-size:1.65rem;padding:14px 16px;margin:0;color:var(--text);font-variant-numeric:tabular-nums}.home-quick-fields small{display:block;font-size:0.875rem;color:var(--muted);font-weight:400;line-height:1.6;margin-top:9px}.home-start-state{font-size:0.875rem;line-height:1.7;color:var(--muted);margin:16px 0}.home-assumptions{border-top:1px solid var(--line);padding-top:16px;margin-top:20px}.home-assumptions>summary{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 16px}.home-assumptions>summary>span:first-child:before{content:'▸';margin-right:8px}.home-assumptions[open]>summary>span:first-child:before{content:'▾'}.home-assumptions>summary>span:last-child{color:var(--muted);font-size:0.875rem}.home-assumption-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.home-assumption-fields label{font-size:0.875rem;min-width:0}.home-assumption-fields input{width:100%;min-width:0;margin-top:7px;padding:10px 12px}.home-start-links{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-top:18px}.home-start-links a,.home-start-links button{font-size:0.875rem!important;color:var(--gold-dark)}.return-assumption-note{display:block;font-size:0.875rem;font-weight:400;line-height:1.65;color:var(--muted);margin-top:7px}.premium-body [data-inline-projection]{margin:28px 0 34px}.premium-body [data-inline-projection] .results{width:100%}.premium-body [data-inline-projection] .result-heading{display:none}.premium-body [data-inline-projection] .daily-dashboard{display:none}.premium-body [data-inline-projection] .methodology>summary{font-size:1rem}.premium-body [data-inline-projection] details.result-card>summary{padding:4px 0}.premium-body .home-quick-start [aria-invalid=true]{outline:2px solid var(--warning);outline-offset:2px}
@media(max-width:800px){.home-quick-start{padding:24px}.quick-save-note{display:none}.home-start-heading h2{font-size:1.6rem}.home-assumption-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.home-quick-start{padding:22px}.home-quick-fields{grid-template-columns:minmax(0,1fr);gap:20px;margin-top:20px}.home-start-heading h2{font-size:1.5rem}.home-quick-fields>label{font-size:.88rem}.home-money-input input{font-size:1.5rem}.home-assumptions>summary{display:block}.home-assumptions>summary>span{display:block}.home-assumptions>summary>span:last-child{margin-top:6px}.home-start-links{align-items:start}.home-start-links .quiet-button{max-width:none;text-align:left}.home-assumption-fields{grid-template-columns:minmax(0,1fr)}}

.home-money-input>span{flex:0 0 auto;white-space:nowrap}.premium-body .home-money-input input{flex:1 1 0;width:0}
