/* Clearer hierarchy and touch-friendly progressive disclosure. */
:root{font-family:'Segoe UI',-apple-system,BlinkMacSystemFont,Arial,sans-serif;--ink:#203345;--muted:#586b7c;--navy:#102d3c;--blue:#285ec8;--mint:#87dec6;--green:#147d67;--line:#dfe7eb;--page:#f5f7f9}
body{line-height:1.6}.header-inner{height:70px}.brand{letter-spacing:-.6px}.workspace-intro{margin-bottom:22px}.workspace-intro h1{font-size:32px;letter-spacing:-.9px}.workspace-intro .eyebrow{display:none}.workspace-intro>div>p:last-child{font-size:15px}.workspace-toolbar>span{font-size:14px}.workbench{gap:26px}.summary-hero{background:linear-gradient(115deg,#102d3c,#194a50);padding:26px}.summary-hero strong{font-size:42px;font-weight:650}.summary-hero #heroCashUnit{font-size:13px;line-height:1.5}.card{box-shadow:0 2px 3px #17344703}.field-label,.field-label-row label{font-size:14px}.field-label-row{display:flex;align-items:center;gap:6px;position:relative;min-height:28px}.field-label-row label{flex:1}.input-desk{overflow:visible}.input-end{border-radius:0 0 16px 16px}.field-error{font-size:13px}.field input{font-size:16px}.input-box{max-width:100%}.section-content{position:relative}.input-section>summary{border-radius:10px}.input-section>summary small{font-size:13px}.input-section[open]>summary{background:#f6f9fb;margin-bottom:12px}.input-end p{font-size:13px}.insight-item>p,.flow-row,.card-subtitle,.context-note,.field small,.section-intro p{font-size:14px}.insight-item>b{font-size:15px}.analysis-footnote{font-size:13px}.view-tabs{gap:18px}.view-tabs button{font-size:14px}.section-value{font-size:13px}.help-wrap{position:relative;display:inline-flex;flex-shrink:0;line-height:1.45}.help-button{border:1px solid #c3d0d9;width:23px;height:23px;border-radius:50%;background:#f7fafc;color:#596e7f;padding:0;font-size:13px;font-weight:650;display:grid;place-items:center;cursor:help}.help-text{display:none;position:absolute;z-index:50;top:31px;right:-2px;width:min(290px,78vw);padding:13px 15px;background:#173849;color:#fff;border:1px solid #2b4e60;box-shadow:0 6px 22px #0f243e26;border-radius:9px;font-size:14px;font-weight:400;line-height:1.6;white-space:normal}.help-wrap:hover .help-text,.help-wrap:focus-within .help-text,.help-wrap.is-open .help-text{display:block}.help-wrap:hover .help-button,.help-button:focus-visible{background:#e4eef8;color:#244e88}.storage-notice{border:1px solid #e3c985;background:#fff8e6;padding:14px 17px;display:flex;gap:20px;align-items:center;justify-content:space-between;border-radius:10px;font-size:14px;margin-bottom:18px}.storage-notice .text-button{white-space:nowrap}.journey{margin:20px 0;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.journey-steps{display:flex;align-items:center;background:#f6f9fa;padding:12px 18px;gap:22px;flex-wrap:wrap}.journey-step{font-size:13px;display:flex;align-items:center;gap:7px;color:#687e8d}.journey-step>span:first-child{border:1px solid #ccd9df;border-radius:50%;width:22px;height:22px;display:grid;place-items:center;font-size:12px}.journey-step.done{color:#14664f;font-weight:650}.journey-step.done>span:first-child{border-color:#acd8c9;background:#e1f3ec}.journey-prompt{padding:17px 18px;display:flex;align-items:center;justify-content:space-between;gap:20px}.journey-prompt b{font-size:15px}.journey-prompt p{font-size:14px;color:var(--muted);margin-top:3px;max-width:390px}.journey-prompt .button{white-space:nowrap}.journey-complete{font-size:13px;color:var(--green);white-space:nowrap}.optional-explore{margin-top:20px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:0 19px}.explore-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;padding:17px 0;gap:15px;border:0;background:none;color:var(--ink);text-align:left}.explore-toggle b{font-size:16px;display:block}.explore-toggle small{font-size:14px;font-weight:400;color:var(--muted)}.explore-symbol{font-size:24px;color:var(--blue)}.explore-toggle[aria-expanded=true] .explore-symbol{transform:rotate(45deg)}.optional-tool-list{display:grid;grid-template-columns:1fr 1fr;gap:9px;border-top:1px solid var(--line);padding:15px 0 18px}.optional-tool{display:flex;align-items:flex-start;gap:12px;border:1px solid transparent;border-radius:9px;background:#f6f9fb;padding:15px 13px;text-align:left;color:var(--ink)}.optional-tool:hover{border-color:#a9bed8;background:#edf3fa}.optional-tool b{display:block;font-size:14px}.optional-tool small{display:block;font-size:13px;color:var(--muted);font-weight:400;margin-top:3px;line-height:1.5}.tool-icon{color:#46767d;font-size:21px;width:25px;flex-shrink:0;text-align:center}.optional-back{align-items:center;justify-content:space-between;margin:2px 0 18px;font-size:14px;gap:20px}.optional-back:not([hidden]){display:flex}.optional-back>span{color:var(--muted)}
body[data-mode=essentials] .view-tabs,body[data-mode=essentials] .next-action,body[data-mode=essentials] .assumption-strip,body[data-mode=essentials] .analysis-title .eyebrow{display:none}body:not([data-mode=essentials]) .journey,body:not([data-mode=essentials]) .optional-explore{display:none!important}body[data-mode=essentials][data-finance=false] .kpi-row{display:none}body[data-mode=essentials][data-finance=false] .yield-pair{display:none}body[data-mode=essentials][data-finance=false] .summary-hero>div:first-child{max-width:100%}body[data-mode=essentials] .analysis-title h2{font-size:22px}body[data-mode=essentials][data-ready=false] .two-cards{display:none}body[data-mode=essentials][data-ready=false] .journey{margin-bottom:0}
.refi-subhead{font-size:17px;margin:0 0 16px}.soft-rule{border:0;border-top:1px solid var(--line);margin:23px 0}.refi-settings{display:grid;gap:19px}.refi-empty{padding:25px;margin:18px 0;background:#eef4f6;border-radius:12px}.refi-empty p{font-size:14px;color:var(--muted);margin-top:8px}.refi-kpis{display:grid;grid-template-columns:1fr 1.1fr .9fr;gap:12px;margin:18px 0}.refi-kpis>div{background:white;border:1px solid var(--line);padding:18px;border-radius:12px;min-width:0;display:flex;flex-direction:column;gap:8px}.refi-kpis span{font-size:14px}.refi-kpis b{font-size:26px;line-height:1.2;letter-spacing:-.5px;overflow-wrap:anywhere}.refi-kpis small{font-size:12px;color:var(--muted)}.refi-kpis .saving-positive{background:#e7f4ee;border-color:#c3e2d5}.refi-kpis .saving-negative{background:#fff2ed;border-color:#efcfc0}.refi-kpis .saving-positive b{color:#12654e}.refi-kpis .saving-negative b{color:#ad4b36}.refi-explainer{font-size:15px;color:var(--muted);margin:12px 0 20px}.term-warning{padding:15px;background:#fff6e5;color:#71542a;border-radius:9px;font-size:14px;margin:16px 0}.refi-chart-heading{margin-top:25px}.refi-lifetime{display:flex;justify-content:space-between;gap:20px;padding:17px;border-radius:9px;background:#eff4f7;font-size:14px}.refi-lifetime b{white-space:nowrap}#refiErrors{color:var(--red);font-size:14px;margin:10px 0}.drawer-dialog p{margin-bottom:14px}.drawer-dialog .dialog-actions{flex-wrap:wrap}#restoreDialog .dialog-actions{margin-top:22px}.refi-settings .field .input-box input{width:100%}
/* Editorial pages use diagrams and worked calculations, not stock decoration. */
.article-layout{max-width:1160px}.article-layout h1,.guides-page h1{font-family:Georgia,'Times New Roman',serif;font-size:46px;line-height:1.12;font-weight:500;letter-spacing:-1px}.article-lead{font-size:19px;line-height:1.65;max-width:720px}.article-body{font-size:17px;line-height:1.85}.article-body p{margin:16px 0}.article-body h2{font-size:26px;letter-spacing:-.4px;margin:38px 0 14px;line-height:1.3}.article-body h3{font-size:20px;line-height:1.4;margin:27px 0 12px}.article-body li{margin:9px 0}.article-body a{overflow-wrap:anywhere}.article-meta{font-size:13px}.article-sidebar a{font-size:14px}.article-layout article{min-width:0}.formula-card{background:#eff6f6;border:1px solid #cde1df;border-left:4px solid #268774;border-radius:0 12px 12px 0;padding:21px 23px;margin:25px 0}.formula-card figcaption{font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:#33675f;font-weight:700;margin-bottom:16px}.equation{display:flex;gap:13px;align-items:center;flex-wrap:wrap;font-size:19px;line-height:1.5;color:#173e3a;font-weight:600}.fraction{display:inline-flex;flex-direction:column;text-align:center;line-height:1.55;min-width:135px}.fraction>span:first-child{border-bottom:1.5px solid #659b90;padding:0 5px 7px}.fraction>span:last-child{padding-top:7px}.formula-card>p{font-size:15px;color:#44645f;margin:17px 0 0}.article-callout{background:#f0f5fb;border-left:3px solid #5e82b5;border-radius:0 9px 9px 0;padding:18px 22px;margin:26px 0;font-size:16px}.article-callout p:last-child{margin-bottom:0}.guide-visual{background:#fff;border:1px solid var(--line);border-radius:14px;padding:23px;margin:28px 0;box-shadow:0 4px 18px #123c5204}.guide-visual figcaption{font-size:16px;font-weight:700;margin-bottom:20px}.guide-visual>p{font-size:14px;color:var(--muted);line-height:1.6;margin:14px 0 0}.guide-bars{display:grid;gap:18px}.guide-bar{display:grid;grid-template-columns:150px minmax(0,1fr) 95px;align-items:center;gap:14px;font-size:14px}.guide-bar i{display:block;height:12px;background:#edf2f4;border-radius:3px;overflow:hidden}.guide-bar i>span{display:block;height:100%;background:#34798a;border-radius:3px}.guide-bar:last-child i>span{background:#26977a}.guide-bar b{text-align:right}.flow-graphic{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.flow-graphic>div{padding:19px 15px;background:#edf4f5;border-radius:9px;display:flex;flex-direction:column;gap:9px}.flow-graphic strong{font-size:24px;letter-spacing:-.6px}.flow-graphic span{font-size:13px;color:#536e77}.flow-graphic small{font-size:14px}.flow-graphic>div:last-child{background:#e5f3eb}.guide-svg{width:100%;display:block}.guide-visual .chart-legend{margin:10px 0}.guide-table{margin:24px 0;overflow:auto}.guide-table th,.guide-table td{font-size:14px;white-space:normal;vertical-align:top;line-height:1.65;min-width:115px}.guide-table th:first-child,.guide-table td:first-child{min-width:155px}.guide-table td{text-align:left}.guide-table th{text-align:left}.article-cta{padding:25px}.article-cta h2{font-family:inherit;font-size:23px}.article-cta p{font-size:15px}.guide-card h2,.guide-card h3{line-height:1.35}.footer{margin-top:65px}.footer .brand{font-size:23px}.footer-bottom{font-size:13px}.footer-bottom a{color:inherit}.footer-grid p{font-size:14px}.guides-page .guide-grid{margin-top:35px}.home-explainer{font-size:16px}.refi-lifetime span{line-height:1.55}
@media(max-width:1100px){.refi-kpis{grid-template-columns:1fr}.refi-kpis>div{display:grid;grid-template-columns:1fr auto;gap:6px 15px}.refi-kpis small{grid-column:1/-1}.refi-kpis b{font-size:23px}.journey-prompt{flex-wrap:wrap}.journey-steps{gap:13px}.optional-tool-list{grid-template-columns:1fr}.article-layout h1,.guides-page h1{font-size:39px}}
@media(max-width:760px){.workspace-intro h1{font-size:28px}.workspace-intro>div>p:last-child{font-size:14px}.workspace-toolbar>span{display:none}.header-inner{padding:0 18px}.brand{font-size:21px}.app-main{padding-top:22px}.journey-prompt{padding:16px}.journey-steps{padding:12px 15px;gap:12px}.journey-step{font-size:12px}.journey-complete{white-space:normal}.optional-tool-list{grid-template-columns:1fr 1fr}.optional-tool{padding:13px 10px}.optional-tool .tool-icon{display:none}.summary-hero strong{font-size:38px}.refi-kpis{grid-template-columns:1fr}.refi-lifetime{flex-direction:column;gap:8px}.storage-notice{align-items:flex-start;flex-direction:column;gap:6px}.article-layout h1,.guides-page h1{font-size:35px;letter-spacing:-.7px}.article-body{font-size:16px;line-height:1.85}.article-lead{font-size:18px}.article-body h2{font-size:24px}.formula-card,.guide-visual{margin:24px 0;padding:18px 16px}.equation{font-size:17px;gap:10px}.flow-graphic{grid-template-columns:1fr}.flow-graphic>div{display:grid;grid-template-columns:1fr auto;padding:16px}.flow-graphic small{grid-column:1/-1}.guide-bar{grid-template-columns:110px minmax(0,1fr) 70px;gap:9px;font-size:13px}.guide-bar b{font-size:13px}.help-button{width:27px;height:27px}.help-text{top:33px}.view-tabs{gap:20px}.optional-back{padding:10px 0}.journey{margin-top:15px}.refi-settings .three-fields{grid-template-columns:1fr}}
@media(max-width:430px){.journey-steps{gap:8px}.journey-step{font-size:12px;gap:5px}.journey-step>span:first-child{width:18px;height:18px;font-size:11px}.optional-tool-list{grid-template-columns:1fr}.workspace-intro h1{font-size:25px}.guide-bar{grid-template-columns:1fr 75px}.guide-bar i{grid-column:1/-1;grid-row:2}.guide-bar b{grid-column:2;grid-row:1}.guide-bars{gap:21px}.equation{font-size:16px}.three-fields{grid-template-columns:1fr}.refi-kpis>div{grid-template-columns:1fr}.refi-kpis small{grid-column:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
body[data-mode=essentials][data-costs=false][data-finance=false] .two-cards{display:none}.extra-settings>summary{cursor:pointer;padding:17px 23px;font-size:14px;font-weight:650;border-top:1px solid var(--line);color:var(--muted)}.extra-settings>summary>span{font-weight:400;font-size:12px;margin-left:7px}.extra-settings .input-section:first-of-type{border-top:0}body:not([data-mode=essentials]) .extra-settings>summary{display:none}.insights:empty{display:none}.journey-step .sr-only{position:absolute}
.help-wrap.is-dismissed .help-text{display:none}
