:root{--ink:#173034;--ink-strong:#0d2429;--muted:#65716e;--soft-muted:#87918e;--accent:#246b73;--accent-strong:#174e58;--accent-soft:#e3f0ed;--sage:#d8e6df;--cream:#f4f6f3;--surface:#fff;--surface-muted:#f8faf8;--line:#dce3df;--line-strong:#c5d1cc;--amber:#a66a3f;--amber-soft:#fff4e8;--violet:#6e5a8a;--danger:#a44545;--shadow-sm:0 1px 2px #1430340d, 0 6px 18px #1430340b;--shadow-md:0 18px 50px #1430341a, 0 2px 8px #1430340a;--radius-sm:10px;--radius-md:16px;--radius-lg:24px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font:100%/1.55 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Hiragino Sans,Yu Gothic UI,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;background:var(--cream)}body{background:radial-gradient(circle at 8% 4%, #d4e7e0a6, transparent 28rem), radial-gradient(circle at 94% 8%, #eee2cf80, transparent 25rem), var(--cream);min-width:320px;color:var(--ink);font-optical-sizing:auto;-webkit-font-smoothing:antialiased;margin:0}button,input,select{font:inherit}button,a,summary,input,select{-webkit-tap-highlight-color:transparent}button,a{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #246b734d}.numeric{font-variant-numeric:tabular-nums;letter-spacing:-.025em}.app-root{min-height:100vh}.app-header{z-index:50;-webkit-backdrop-filter:blur(22px)saturate(150%);backdrop-filter:blur(22px)saturate(150%);background:#f8faf8c7;border-bottom:1px solid #ffffffb3;justify-content:space-between;align-items:center;gap:1rem;min-height:72px;padding:.75rem max(1rem,50vw - 620px);display:flex;position:sticky;top:0;box-shadow:0 5px 20px #1430340a}.brand{min-height:46px;color:var(--ink-strong);align-items:center;gap:.7rem;text-decoration:none;display:inline-flex}.brand img{border-radius:11px;box-shadow:0 4px 12px #143d492e}.brand span{flex-direction:column;line-height:1.15;display:flex}.brand strong{letter-spacing:-.02em;font-size:.95rem}.brand small{color:var(--muted);letter-spacing:.05em;margin-top:.18rem;font-size:.72rem;font-weight:650}.header-actions{align-items:center;gap:.8rem;display:flex}.save-state{color:var(--muted);align-items:center;gap:.35rem;font-size:.76rem;font-weight:700;display:inline-flex}.save-unavailable{color:var(--danger)}.button{cursor:pointer;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:.45rem;min-height:44px;padding:.68rem 1rem;font-size:.88rem;font-weight:750;line-height:1.1;transition:transform .12s ease-out,background-color .16s,border-color .16s,box-shadow .16s;display:inline-flex}.button:active:not(:disabled),.sample-buttons button:active,.step-nav button:active,.segmented-control button:active:not(:disabled),.help-button:active{transform:scale(.97)}.button:disabled{cursor:not-allowed;opacity:.42}.button-primary{border-color:var(--accent-strong);background:var(--accent-strong);color:#fff;box-shadow:0 5px 14px #174e582e}.button-primary:hover:not(:disabled){background:#103f48;box-shadow:0 7px 18px #174e583b}.button-secondary{border-color:var(--line-strong);background:var(--surface);color:var(--ink)}.button-secondary:hover:not(:disabled),.button-ghost:hover{border-color:var(--accent);background:var(--accent-soft)}.button-ghost{color:var(--accent-strong);background:0 0;border-color:#0000}.button-danger-subtle{color:var(--danger);background:snow;border-color:#e8c8c8}.button-full{width:100%}main{width:min(1240px,100% - 2rem);margin:0 auto}.intro-section{grid-template-columns:minmax(0,1.1fr) minmax(330px,.9fr);align-items:center;gap:clamp(2rem,6vw,5rem);padding:clamp(2.5rem,7vw,5.4rem) 0 2.5rem;display:grid}.eyebrow,.verified-chip{min-height:30px;color:var(--accent-strong);letter-spacing:.02em;background:#ffffffb8;border:1px solid #bfd8d3;border-radius:999px;align-items:center;gap:.4rem;padding:.35rem .65rem;font-size:.75rem;font-weight:750;display:inline-flex}.intro-copy h1{max-width:720px;color:var(--ink-strong);letter-spacing:-.045em;margin:1.1rem 0 1.2rem;font-size:clamp(2.35rem,5vw,4.6rem);font-weight:780;line-height:1.06}.intro-copy h1 span{color:var(--accent)}.intro-copy>p{color:#4f5e5b;max-width:650px;margin:0;font-size:clamp(1rem,1.8vw,1.13rem);line-height:1.85}.trust-points{flex-wrap:wrap;gap:.7rem 1.1rem;margin-top:1.5rem;display:flex}.trust-points span{color:var(--muted);align-items:center;gap:.35rem;font-size:.8rem;font-weight:680;display:inline-flex}.sample-panel{border-radius:var(--radius-lg);box-shadow:var(--shadow-md);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffc7;border:1px solid #fffc;padding:clamp(1.25rem,3vw,2rem);position:relative;overflow:hidden}.sample-panel:after{content:"";filter:blur(1px);pointer-events:none;background:#d4e7e08c;border-radius:50%;width:180px;height:180px;position:absolute;top:-90px;right:-80px}.sample-kicker{color:var(--accent);letter-spacing:.08em;text-transform:uppercase;font-size:.73rem;font-weight:800}.sample-panel h2{z-index:1;color:var(--ink-strong);letter-spacing:-.02em;margin:.35rem 0 1.2rem;font-size:1.25rem;line-height:1.35;position:relative}.sample-buttons{z-index:1;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;display:grid;position:relative}.sample-buttons button{border:1px solid var(--line);background:var(--surface-muted);cursor:pointer;text-align:left;border-radius:14px;flex-direction:column;justify-content:center;align-items:flex-start;min-height:68px;padding:.7rem .85rem;transition:transform .12s ease-out,border-color .16s,background-color .16s;display:flex}.sample-buttons button:hover{border-color:var(--accent);background:var(--accent-soft)}.sample-buttons span{color:var(--muted);font-size:.68rem;font-weight:700}.sample-buttons strong{color:var(--ink-strong);font-variant-numeric:tabular-nums;margin-top:.1rem;font-size:1.05rem}.sample-panel>small{color:var(--soft-muted);margin-top:.9rem;font-size:.7rem;display:block}.step-nav{z-index:30;box-shadow:var(--shadow-sm);-webkit-backdrop-filter:blur(18px)saturate(140%);backdrop-filter:blur(18px)saturate(140%);background:#f8faf8d1;border:1px solid #ffffffbf;border-radius:17px;margin-bottom:1rem;padding:.6rem;position:sticky;top:72px}.step-nav ol{grid-template-columns:repeat(6,minmax(0,1fr));margin:0;padding:0;list-style:none;display:grid}.step-nav li{position:relative}.step-nav li:not(:last-child):after{z-index:-1;background:var(--line);content:"";height:1px;position:absolute;top:22px;left:60%;right:-40%}.step-nav button{width:100%;min-height:48px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:11px;justify-content:center;align-items:center;gap:.45rem;padding:.4rem .25rem;font-size:.76rem;font-weight:700;transition:transform .12s ease-out,background-color .16s,color .16s;display:flex}.step-nav button>span{border:1px solid var(--line-strong);background:var(--surface);border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;font-size:.68rem;display:inline-flex}.step-nav button:hover{background:var(--surface);color:var(--ink)}.step-nav button.is-current{background:var(--accent-soft);color:var(--accent-strong)}.step-nav button.is-current>span{border-color:var(--accent);background:var(--accent);color:#fff}.step-nav button.is-complete>span{color:var(--accent-strong);background:#dceee9;border-color:#9cc2ba}.workspace{grid-template-columns:minmax(0,1fr) 350px;align-items:start;gap:1rem;padding-bottom:2rem;display:grid}.workspace.results-workspace{grid-template-columns:minmax(0,1fr)}.workspace-main,.live-summary{border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);background:#ffffffeb;border:1px solid #ffffffd1}.workspace-main{min-width:0;padding:clamp(1.15rem,3vw,2rem)}.workspace-main:focus,.results-page:focus{outline:none}.step-content{animation:.24s ease-out both materialize}@keyframes materialize{0%{opacity:0;transform:translateY(5px)scale(.998)}to{opacity:1;transform:translateY(0)scale(1)}}.section-heading{align-items:flex-start;gap:.9rem;margin-bottom:1.5rem;display:flex}.section-icon{background:var(--accent-soft);width:42px;height:42px;color:var(--accent-strong);border-radius:13px;flex:none;justify-content:center;align-items:center;display:inline-flex}.section-heading small,.results-heading small,.section-title-row small{color:var(--accent);letter-spacing:.07em;text-transform:uppercase;font-size:.7rem;font-weight:800}.section-heading h2,.results-heading h2{color:var(--ink-strong);letter-spacing:-.03em;margin:.12rem 0 .25rem;font-size:clamp(1.4rem,3vw,1.9rem);line-height:1.2}.section-heading p,.results-heading p,.section-title-row p{color:var(--muted);margin:0;font-size:.84rem;line-height:1.65}.notice{border:1px solid;border-radius:13px;align-items:flex-start;gap:.7rem;margin:0 0 1.2rem;padding:.85rem 1rem;display:flex}.notice>svg{flex:none;margin-top:.12rem}.notice p{flex-direction:column;margin:0;font-size:.78rem;display:flex}.notice p span{color:var(--muted);margin-top:.1rem}.notice-info{color:var(--accent-strong);background:#eef8f5;border-color:#bad8d2}.notice-neutral{background:var(--amber-soft);color:#75482c;border-color:#ead3b9;margin-top:1.2rem}.form-grid{gap:1rem;display:grid}.form-grid.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.field{flex-direction:column;gap:.38rem;min-width:0;display:flex;position:relative}.field-label-row,.segmented-field legend{color:#324744;justify-content:space-between;align-items:center;gap:.4rem;min-height:20px;font-size:.78rem;font-weight:750;display:flex}.field input,.field select,.money-input-wrap{border:1px solid var(--line-strong);background:var(--surface);width:100%;min-height:48px;color:var(--ink-strong);border-radius:12px;font-size:1rem;transition:border-color .16s,box-shadow .16s,background-color .16s}.field>input,.field>select{padding:.72rem .8rem}.field input:hover:not(:disabled),.field select:hover:not(:disabled),.money-input-wrap:hover{border-color:#93afa9}.field input:focus,.field select:focus,.money-input-wrap:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #246b731f}.field input:disabled,.field select:disabled{color:var(--muted);background:#f1f4f2}.money-input-wrap{align-items:center;display:flex;overflow:hidden}.money-input-wrap input.money-input{min-width:0;min-height:46px;box-shadow:none;font-variant-numeric:tabular-nums;background:0 0;border:0;border-radius:0;padding:.7rem .2rem .7rem .8rem;font-weight:650}.money-input-wrap>span{color:var(--muted);flex:none;padding:0 .8rem 0 .35rem;font-size:.8rem;font-weight:700}.field-meta{min-height:18px;color:var(--soft-muted);flex-wrap:wrap;justify-content:space-between;gap:.25rem .6rem;font-size:.66rem;display:flex}.field-meta .numeric{color:var(--muted)}.field-caption{color:var(--soft-muted);font-size:.68rem;line-height:1.45}.help-control{display:inline-flex;position:relative}.help-button{width:30px;height:30px;color:var(--accent);cursor:pointer;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;margin:-5px -5px -5px 0;padding:0;display:inline-flex}.help-button:hover{background:var(--accent-soft)}.help-popover{z-index:40;width:min(280px,75vw);box-shadow:var(--shadow-md);color:#fff;background:#173f49;border:1px solid #b9ccc7;border-radius:10px;padding:.7rem .8rem;font-size:.72rem;font-weight:500;line-height:1.55;position:absolute;top:34px;right:0}.segmented-field{border:0;min-width:0;margin:0 0 1.2rem;padding:0}.segmented-field legend{margin-bottom:.45rem}.segmented-control{border:1px solid var(--line);background:#f1f4f2;border-radius:14px;grid-auto-columns:1fr;grid-auto-flow:column;gap:.45rem;padding:.32rem;display:grid}.segmented-control button{min-width:0;min-height:48px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;padding:.45rem .65rem;font-size:.78rem;font-weight:750;transition:transform .12s ease-out,color .16s,background-color .16s,box-shadow .16s;display:flex}.segmented-control button small{max-width:100%;color:var(--soft-muted);text-overflow:ellipsis;white-space:nowrap;margin-top:.08rem;font-size:.61rem;font-weight:550;overflow:hidden}.segmented-control button.is-selected{background:var(--surface);color:var(--accent-strong);border-color:#d9e2de;box-shadow:0 2px 8px #14303414}.segmented-control button:disabled{cursor:not-allowed;opacity:.42}.toggle-row{border:1px solid var(--line);background:var(--surface-muted);cursor:pointer;border-radius:13px;justify-content:space-between;align-items:center;gap:1rem;min-height:72px;padding:.8rem .9rem;display:flex}.toggle-row>span:first-child{flex-direction:column;min-width:0;font-size:.78rem;display:flex}.toggle-row small{color:var(--muted);margin-top:.15rem;font-size:.65rem;font-weight:500;line-height:1.45}.switch{background:#b9c4c0;border-radius:999px;flex:none;width:48px;height:29px;transition:background-color .18s;display:inline-flex;position:relative}.switch input{opacity:0;width:1px;height:1px;position:absolute}.switch>span{background:#fff;border-radius:50%;width:23px;height:23px;transition:transform .2s cubic-bezier(.2,.8,.2,1);position:absolute;top:3px;left:3px;box-shadow:0 2px 5px #0f282c38}.switch.is-on{background:var(--accent)}.switch.is-on>span{transform:translate(19px)}.monthly-entry-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;margin-bottom:1.2rem;display:grid}.section-total{color:var(--accent-strong);background:#eef8f5;border:1px solid #bad8d2;border-radius:13px;justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:1rem;padding:.85rem 1rem;font-size:.78rem;font-weight:700;display:flex}.section-total strong{font-size:1.15rem}.switch-mode-hint,.field-warning{color:var(--muted);margin:.8rem 0 1.2rem;font-size:.72rem}.field-warning{background:var(--amber-soft);color:#784a2d;border-radius:10px;padding:.65rem .75rem}.advanced-panel,.basis-panel{border:1px solid var(--line);background:var(--surface-muted);border-radius:15px;margin-top:1rem;overflow:visible}.advanced-panel summary,.basis-panel summary{cursor:pointer;min-height:52px;color:var(--ink-strong);justify-content:space-between;align-items:center;padding:.75rem .95rem;font-size:.82rem;font-weight:780;list-style:none;display:flex}.advanced-panel summary::-webkit-details-marker{display:none}.basis-panel summary::-webkit-details-marker{display:none}.advanced-panel summary:after,.basis-panel summary:after{border-bottom:2px solid var(--accent);border-right:2px solid var(--accent);content:"";width:8px;height:8px;transition:transform .18s;transform:rotate(45deg)}.advanced-panel[open] summary:after,.basis-panel[open] summary:after{transform:rotate(225deg)}.advanced-panel[open] summary,.basis-panel[open] summary{border-bottom:1px solid var(--line)}.advanced-panel>p{color:var(--muted);margin:0;padding:.8rem .95rem 0;font-size:.7rem}.advanced-panel .form-grid,.advanced-panel>.field,.advanced-panel>.segmented-field{margin:0;padding:1rem}.advanced-panel>.form-grid+.segmented-field,.advanced-panel>.segmented-field+.field{padding-top:0}.privacy-panel{background:#fbfcfb;border:1px dashed #b9c9c4;border-radius:14px;justify-content:space-between;align-items:center;gap:1rem;margin-top:1rem;padding:1rem;display:flex}.privacy-panel p{color:var(--muted);margin:.15rem 0 0;font-size:.7rem}.step-actions{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:1rem;margin-top:1.6rem;padding-top:1.1rem;display:flex}.step-actions>span{color:var(--soft-muted);font-size:.7rem;font-weight:700}.live-summary{padding:1.2rem;position:sticky;top:145px;overflow:hidden}.live-summary>header{justify-content:space-between;align-items:center;display:flex}.live-summary>header>span:first-child{flex-direction:column;display:flex}.live-summary header small{color:var(--accent);letter-spacing:.12em;font-size:.61rem;font-weight:850}.live-summary header strong{font-size:.88rem}.live-dot{background:#3a9b83;border:2px solid #fff;border-radius:50%;width:9px;height:9px;box-shadow:0 0 0 3px #dceee9}.summary-primary{color:#fff;background:linear-gradient(145deg,#174e58,#123d49);border-radius:15px;margin:1rem 0;padding:1rem}.summary-primary small{color:#c5ded9;font-size:.7rem;font-weight:700}.summary-primary strong{margin-top:.2rem;font-size:clamp(1.65rem,3vw,2.15rem);line-height:1.1;display:block}.summary-primary p{color:#d8e7e4;margin:.7rem 0 0;font-size:.68rem}.live-summary dl{margin:0}.live-summary dl>div{border-bottom:1px solid #edf0ee;justify-content:space-between;align-items:baseline;gap:1rem;padding:.55rem 0;display:flex}.live-summary dt{color:var(--muted);font-size:.7rem}.live-summary dd{color:var(--ink-strong);font-variant-numeric:tabular-nums;margin:0;font-size:.82rem;font-weight:750}.live-summary .summary-takehome{border-bottom:0}.live-summary .summary-takehome dd{color:var(--accent-strong);font-size:1rem}.summary-reserve{background:var(--amber-soft);color:#75482c;border-radius:11px;justify-content:space-between;align-items:baseline;gap:.6rem;margin:.8rem 0;padding:.7rem .8rem;display:flex}.summary-reserve span{font-size:.68rem;font-weight:700}.summary-reserve strong{font-variant-numeric:tabular-nums;font-size:.98rem}.summary-note{color:var(--soft-muted);text-align:center;margin-top:.65rem;font-size:.62rem;display:block}.results-page{animation:.25s ease-out both materialize}.results-heading{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.3rem;display:flex}.verified-chip{background:#eef8f5;flex:none}.hero-result{color:#fff;background:linear-gradient(135deg,#123d49,#1a5660 58%,#246b73);border-radius:20px;grid-template-columns:1.18fr .82fr;margin:1.2rem 0 1rem;display:grid;overflow:hidden;box-shadow:0 18px 38px #123d4933}.hero-result>div{padding:clamp(1.2rem,4vw,2.2rem)}.hero-result-takehome{background:#ffffff0e;border-left:1px solid #ffffff2b}.metric-label{color:#c9dedb;font-size:.75rem;font-weight:740;display:block}.hero-result strong{letter-spacing:-.045em;margin-top:.3rem;font-size:clamp(2rem,5vw,3.35rem);line-height:1.08;display:block}.hero-result-takehome strong{font-size:clamp(1.7rem,4vw,2.55rem)}.hero-result p{color:#d8e7e4;margin:.75rem 0 0;font-size:.7rem;line-height:1.5}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;display:grid}.metric-card{border:1px solid var(--line);background:var(--surface);border-radius:15px;gap:.65rem;min-width:0;padding:1rem;display:flex}.metric-card>span{background:var(--accent-soft);width:34px;height:34px;color:var(--accent-strong);border-radius:10px;flex:none;justify-content:center;align-items:center;display:inline-flex}.metric-card svg{width:17px}.metric-card div{min-width:0}.metric-card small{color:var(--muted);font-size:.67rem;font-weight:700;display:block}.metric-card strong{color:var(--ink-strong);text-overflow:ellipsis;white-space:nowrap;margin-top:.15rem;font-size:clamp(.92rem,1.8vw,1.2rem);display:block;overflow:hidden}.metric-card p{color:var(--soft-muted);margin:.18rem 0 0;font-size:.61rem}.reserve-card{background:linear-gradient(110deg,#fff7ed,#fffaf5);border:1px solid #e5cab0;border-radius:18px;align-items:center;gap:1rem;margin:1rem 0 2rem;padding:clamp(1rem,3vw,1.5rem);display:flex}.reserve-icon{color:#7a4c2c;background:#f3dcc5;border-radius:16px;flex:none;justify-content:center;align-items:center;width:54px;height:54px;display:inline-flex}.reserve-card small{color:#8b5b37;font-size:.7rem;font-weight:800;display:block}.reserve-card strong{color:#633a21;margin-top:.1rem;font-size:clamp(1.7rem,4vw,2.5rem);line-height:1.12;display:block}.reserve-card p{color:#806047;margin:.45rem 0 0;font-size:.7rem}.section-title-row{justify-content:space-between;align-items:flex-start;gap:1rem;margin:2rem 0 .9rem;display:flex}.section-title-row>svg{color:var(--accent)}.section-title-row h3{color:var(--ink-strong);letter-spacing:-.02em;margin:.08rem 0 .12rem;font-size:1.18rem;line-height:1.3}.rate-section,.chart-section,.scenario-section,.timeline-section,.calculation-flow{margin-top:1rem}.rate-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;display:grid}.rate-card{border:1px solid var(--line);background:var(--surface-muted);border-radius:15px;align-items:center;gap:.7rem;padding:.9rem;display:flex}.rate-ring{border-radius:50%;flex:none;place-items:center;width:66px;height:66px;display:grid}.rate-ring:before{background:var(--surface);content:"";border-radius:50%;grid-area:1/1;width:49px;height:49px}.rate-ring span{z-index:1;color:var(--ink-strong);grid-area:1/1;font-size:.74rem;font-weight:800;position:relative}.rate-card>strong{font-size:.76rem}.rate-card>small{color:var(--soft-muted);margin-left:auto;font-size:.62rem}.tax-breakdown-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;display:grid}.breakdown-card{border:1px solid var(--line);background:var(--surface);border-radius:15px;overflow:hidden}.breakdown-card summary{cursor:pointer;justify-content:space-between;align-items:center;gap:1rem;min-height:78px;padding:.85rem 1rem;list-style:none;display:flex}.breakdown-card summary::-webkit-details-marker{display:none}.breakdown-card summary>span:first-child{min-width:0}.breakdown-card summary small{color:var(--muted);font-size:.67rem;font-weight:700;display:block}.breakdown-card summary strong{color:var(--ink-strong);margin-top:.08rem;font-size:1.16rem;display:block}.breakdown-status{background:var(--accent-soft);color:var(--accent-strong);border-radius:999px;flex:none;padding:.25rem .45rem;font-size:.61rem;font-weight:750}.tone-approximate .breakdown-status{background:var(--amber-soft);color:#7e4d2d}.tone-warning{border-color:#e4bdbd}.tone-warning .breakdown-status{color:var(--danger);background:#fff0f0}.breakdown-explanation{border-top:1px solid var(--line);background:var(--surface-muted);padding:.8rem 1rem 1rem;position:relative}.breakdown-explanation p{color:var(--muted);margin:0;font-size:.7rem;line-height:1.65}.breakdown-explanation span{color:var(--accent);margin-top:.45rem;font-size:.62rem;font-weight:800;display:block}.calculation-flow ol{border:1px solid var(--line);background:var(--surface-muted);border-radius:16px;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;margin:0;padding:0;list-style:none;display:grid}.calculation-flow li{border-right:1px solid var(--line);flex-direction:column;justify-content:center;min-width:0;min-height:94px;padding:.7rem;display:flex;position:relative}.calculation-flow li:last-child{border-right:0}.calculation-flow li span{min-height:30px;color:var(--muted);font-size:.6rem;font-weight:700;line-height:1.35}.calculation-flow li strong{color:var(--ink-strong);text-overflow:ellipsis;white-space:nowrap;margin-top:.28rem;font-size:.78rem;overflow:hidden}.calculation-flow li>svg{z-index:1;background:var(--surface);color:var(--soft-muted);border-radius:50%;position:absolute;top:40px;right:-8px;transform:rotate(-90deg)}.calculation-flow li:last-child>svg{display:none}.calculation-flow li.emphasis{background:var(--accent-soft)}.chart-section,.scenario-section,.timeline-section{padding-top:.2rem}.chart-wrap{border:1px solid var(--line);background:var(--surface);border-radius:16px;width:100%;height:360px;padding:.7rem .2rem 0}.monthly-table-scroll{border:1px solid var(--line);border-radius:13px;margin-top:.75rem;overflow-x:auto}.monthly-table{border-collapse:collapse;background:var(--surface);font-variant-numeric:tabular-nums;width:100%;min-width:690px;font-size:.7rem}.monthly-table th,.monthly-table td{text-align:right;white-space:nowrap;border-bottom:1px solid #edf0ee;padding:.62rem .7rem}.monthly-table thead th{background:var(--surface-muted);color:var(--muted);font-size:.62rem}.monthly-table th:first-child,.monthly-table td:nth-child(2){text-align:left}.monthly-table tbody tr:last-child th,.monthly-table tbody tr:last-child td{border-bottom:0}.status-dot{color:var(--muted);align-items:center;gap:.3rem;font-size:.64rem;font-weight:700;display:inline-flex}.status-dot:before{border:1px solid var(--accent);background:var(--accent);content:"";border-radius:50%;width:7px;height:7px}.status-dot.forecast:before{background:0 0}.scenario-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem;display:grid}.scenario-card{border:1px solid var(--line);background:var(--surface);border-radius:16px;min-width:0;padding:1rem;position:relative}.scenario-card.is-current{background:#f4faf8;border-color:#9bc0b8}.scenario-number{background:var(--accent-soft);min-height:24px;color:var(--accent-strong);border-radius:999px;align-items:center;padding:.2rem .45rem;font-size:.58rem;font-weight:800;display:inline-flex}.scenario-card h4{color:var(--ink-strong);margin:.6rem 0 .15rem;font-size:.88rem}.scenario-card>p{min-height:34px;color:var(--muted);margin:0;font-size:.63rem}.scenario-card dl{margin:.75rem 0 0}.scenario-card dl>div{border-bottom:1px solid #edf0ee;justify-content:space-between;align-items:baseline;gap:.5rem;padding:.35rem 0;display:flex}.scenario-card dt{color:var(--muted);font-size:.59rem}.scenario-card dd{color:var(--ink-strong);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.68rem;font-weight:750;overflow:hidden}.scenario-card .scenario-cash{border-bottom:0}.scenario-card .scenario-cash dd{color:var(--accent-strong)}.tax-difference{background:var(--accent-soft);color:var(--accent-strong);font-variant-numeric:tabular-nums;border-radius:9px;margin-top:.7rem;padding:.55rem .6rem;font-size:.68rem;font-weight:800}.tax-difference.negative{color:var(--danger);background:#fff0f0}.tax-difference small{margin-top:.1rem;font-size:.52rem;font-weight:600;display:block}.timeline{border:1px solid var(--line);background:var(--surface);border-radius:16px;margin:0;padding:0;list-style:none}.timeline li{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.8rem;padding:.9rem 1rem .9rem 2.3rem;display:grid;position:relative}.timeline li:last-child{border-bottom:0}.timeline-marker{background:var(--accent);border:3px solid #cbe0dc;border-radius:50%;width:11px;height:11px;position:absolute;left:.9rem}.timeline li:not(:last-child) .timeline-marker:after{content:"";background:#cbe0dc;width:1px;height:63px;position:absolute;top:8px;left:2px}.timeline small{color:var(--accent);font-size:.63rem;font-weight:800}.timeline h4{margin:.08rem 0;font-size:.8rem}.timeline p{color:var(--muted);margin:0;font-size:.63rem}.timeline>li>strong{color:var(--ink-strong);font-size:.82rem}.basis-panel{background:var(--surface);margin-top:2rem}.basis-panel summary>span{align-items:center;gap:.45rem;display:inline-flex}.basis-panel summary>small{color:var(--soft-muted);margin-left:auto;margin-right:1rem;font-size:.63rem;font-weight:600}.basis-content{padding:1rem}.basis-content dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem 1rem;margin:0;display:grid}.basis-content dl>div{border-bottom:1px solid #edf0ee;justify-content:space-between;align-items:baseline;gap:1rem;padding-bottom:.45rem;display:flex}.basis-content dt{color:var(--muted);font-size:.67rem}.basis-content dd{color:var(--ink-strong);text-align:right;margin:0;font-size:.7rem;font-weight:700}.basis-content h4{margin:1.2rem 0 .55rem;font-size:.8rem}.source-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem;margin:0;padding:0;list-style:none;display:grid}.source-list li{background:var(--surface-muted);border-radius:9px;flex-direction:column;min-width:0;padding:.6rem;font-size:.66rem;display:flex}.source-list a{color:var(--accent-strong);text-underline-offset:2px;font-weight:700}.source-list span{color:var(--soft-muted);margin-top:.2rem;font-size:.58rem}.disclaimer{color:#67462f;background:#fffaf3;border:1px solid #dfc8af;border-radius:14px;align-items:flex-start;gap:.7rem;margin-top:1rem;padding:1rem;display:flex}.disclaimer>svg{flex:none;margin-top:.1rem}.disclaimer strong{font-size:.78rem}.disclaimer p{margin:.2rem 0 0;font-size:.68rem;line-height:1.6}.return-edit{margin-top:1.3rem}.privacy-strip{border:1px solid var(--line);background:#ffffffb3;border-radius:17px;align-items:center;gap:.9rem;margin:0 0 2rem;padding:1rem 1.2rem;display:flex}.privacy-strip>svg{color:var(--accent);flex:none}.privacy-strip div{flex:1;min-width:0}.privacy-strip strong{font-size:.8rem}.privacy-strip p{color:var(--muted);margin:.12rem 0 0;font-size:.68rem}.mobile-result-bar{display:none}.app-footer{border-top:1px solid var(--line);background:#eef1ee;align-items:center;gap:.7rem;padding:1.5rem max(1rem,50vw - 620px);display:flex}.app-footer img{border-radius:8px}.app-footer p{flex-direction:column;flex:1;margin:0;font-size:.7rem;display:flex}.app-footer p span,.app-footer>span{color:var(--muted);font-size:.61rem}@media (max-width:980px){.intro-section{grid-template-columns:minmax(0,1fr) minmax(300px,.82fr);gap:2rem}.workspace{grid-template-columns:minmax(0,1fr) 300px}.metric-grid,.scenario-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.calculation-flow ol{grid-template-columns:repeat(4,minmax(0,1fr))}.calculation-flow li:nth-child(4){border-right:0}.calculation-flow li:nth-child(-n+4){border-bottom:1px solid var(--line)}.calculation-flow li:nth-child(4)>svg{display:none}}@media (max-width:820px){.app-header{min-height:64px}.brand strong{font-size:.82rem}.brand small,.save-state{display:none}main{width:min(100% - 1.2rem,720px)}.intro-section{grid-template-columns:minmax(0,1fr);padding-top:2.2rem}.intro-copy h1{font-size:clamp(2.35rem,10vw,4rem)}.sample-panel{max-width:580px}.step-nav{border-left:0;border-right:0;border-radius:0;margin-inline:-.6rem;top:64px;overflow-x:auto}.step-nav ol{grid-template-columns:repeat(6,minmax(100px,1fr));width:max-content;min-width:100%}.workspace{grid-template-columns:minmax(0,1fr)}.live-summary{display:none}.workspace-main{border-radius:20px}.mobile-result-bar{z-index:45;padding:.65rem max(.8rem, env(safe-area-inset-right)) calc(.65rem + env(safe-area-inset-bottom)) max(.8rem, env(safe-area-inset-left));-webkit-backdrop-filter:blur(22px)saturate(150%);backdrop-filter:blur(22px)saturate(150%);background:#f8faf8db;border-top:1px solid #fffc;justify-content:space-between;align-items:center;gap:.8rem;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 24px #14303417}.mobile-result-bar>span{flex-direction:column;min-width:0;display:flex}.mobile-result-bar small{color:var(--muted);font-size:.61rem;font-weight:700}.mobile-result-bar strong{color:var(--ink-strong);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;overflow:hidden}.app-footer{padding-bottom:5.6rem}}@media (max-width:640px){.app-header{padding-inline:.75rem}.brand img{width:38px;height:38px}.header-result-button{display:none}.intro-section{gap:1.5rem;padding:1.7rem 0 1.4rem}.intro-copy h1{margin-top:.85rem;font-size:clamp(2.1rem,12vw,3.1rem);line-height:1.08}.intro-copy>p{font-size:.94rem;line-height:1.75}.trust-points{gap:.5rem .8rem}.sample-panel{border-radius:18px;padding:1rem}.workspace-main{border-radius:17px;padding:1rem}.section-heading{gap:.7rem}.section-icon{width:38px;height:38px}.section-heading h2,.results-heading h2{font-size:1.35rem}.form-grid.two-columns,.monthly-entry-grid,.tax-breakdown-grid,.rate-grid,.basis-content dl,.source-list{grid-template-columns:minmax(0,1fr)}.monthly-entry-grid{gap:.65rem}.segmented-control{grid-auto-columns:minmax(120px,1fr);overflow-x:auto}.segmented-control button{min-height:52px}.privacy-panel,.privacy-strip{flex-direction:column;align-items:flex-start}.step-actions{gap:.4rem}.step-actions .button{padding-inline:.75rem}.results-heading{flex-direction:column}.hero-result{grid-template-columns:minmax(0,1fr)}.hero-result-takehome{border-top:1px solid #ffffff2b;border-left:0}.hero-result>div{padding:1.25rem}.hero-result strong{font-size:clamp(2rem,11vw,2.8rem)}.hero-result-takehome strong{font-size:1.8rem}.metric-grid,.scenario-grid{grid-template-columns:minmax(0,1fr)}.metric-card strong{font-size:1.06rem}.reserve-card{align-items:flex-start}.reserve-icon{width:44px;height:44px}.reserve-card strong{font-size:1.65rem}.rate-card>small{margin-left:auto}.calculation-flow ol{grid-template-columns:minmax(0,1fr)}.calculation-flow li,.calculation-flow li:nth-child(4){border-right:0;border-bottom:1px solid var(--line);min-height:70px}.calculation-flow li:last-child{border-bottom:0}.calculation-flow li span{min-height:0}.calculation-flow li>svg,.calculation-flow li:nth-child(4)>svg{display:block;inset:auto auto -7px calc(50% - 7px);transform:none}.calculation-flow li:last-child>svg{display:none}.chart-wrap{width:calc(100% + .8rem);height:310px;margin-inline:-.4rem}.timeline li{grid-template-columns:minmax(0,1fr);align-items:start}.timeline>li>strong{margin-top:.2rem}.basis-panel summary{flex-direction:column;align-items:flex-start}.basis-panel summary>small{margin:0}.basis-panel summary:after{position:absolute;top:1rem;right:1rem}.basis-content dl>div{flex-direction:column;align-items:flex-start;gap:.15rem}.basis-content dd{text-align:left}.app-footer{flex-wrap:wrap;align-items:flex-start}.app-footer>span{width:100%;padding-left:2.55rem}}@media (max-width:380px){main{width:calc(100% - .8rem)}.brand strong{font-size:.76rem}.sample-buttons{grid-template-columns:minmax(0,1fr)}.sample-buttons button{min-height:58px}.step-actions>span{display:none}.step-actions{justify-content:space-between}.mobile-result-bar .button{padding-inline:.7rem}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (prefers-reduced-transparency:reduce){.app-header,.step-nav,.mobile-result-bar,.sample-panel{-webkit-backdrop-filter:none;backdrop-filter:none;background:#f8faf8}}@media (prefers-contrast:more){:root{--line:#80908a;--line-strong:#61726c}.workspace-main,.live-summary,.metric-card,.breakdown-card{border-width:2px}}@media print{.app-header,.intro-section,.step-nav,.step-actions,.mobile-result-bar,.privacy-strip,.app-footer,.return-edit{display:none!important}body,.workspace-main{box-shadow:none;background:#fff}main,.workspace{width:100%;display:block}}
