:root{--ink:#103437;--muted:#577174;--line:#cdd9d5;--paper:#f6f8f4;--card:#fff;--lime:#d9f95e;--teal:#17736e;--warm:#f7c55b;--danger:#e9795b;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0;min-width:320px}.shell{max-width:1160px;margin:auto;padding:25px 20px 52px}.topbar{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:.85rem}.brand{display:flex;align-items:center;gap:8px;color:var(--ink);font-size:1.2rem;font-weight:800;letter-spacing:-.05em;text-decoration:none}.brand b{display:grid;place-items:center;width:29px;height:29px;border-radius:8px;background:var(--ink);color:var(--lime)}.intro{max-width:720px;padding:42px 0 29px}.eyebrow{margin:0 0 9px;font-size:.72rem;letter-spacing:.12em;font-weight:800;color:var(--teal)}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2.25rem,5vw,4.2rem);letter-spacing:-.07em;line-height:.98;margin-bottom:17px}.intro>p:last-child{font-size:1.05rem;line-height:1.52;color:var(--muted)}h2{font-size:1.4rem;letter-spacing:-.045em}.workspace{display:grid;grid-template-columns:minmax(320px,.95fr) minmax(360px,1.05fr);gap:22px;align-items:start}form,.results{background:var(--card);border:1px solid var(--line);border-radius:17px;padding:25px}.form-heading,.section-line{display:flex;justify-content:space-between;align-items:start}.form-heading .eyebrow{margin-bottom:5px}.form-note,.privacy{color:var(--muted);font-size:.84rem;line-height:1.45}.quiet{min-height:44px;padding:0;border:0;background:transparent;color:var(--teal);font:inherit;text-decoration:underline;cursor:pointer}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.wide{grid-column:1/-1}label{position:relative;display:block;font-size:.84rem;font-weight:700;color:#385457}input,select{display:block;width:100%;height:45px;margin-top:7px;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font:600 1rem/1.1 inherit}input:focus,select:focus,button:focus,summary:focus{outline:3px solid #91d7d1;outline-offset:2px}.money,.percent{display:block;position:relative}.money input{padding-left:25px}.money>i,.percent>i{position:absolute;z-index:1;top:20px;color:var(--muted);font-style:normal;font-weight:600}.money>i{left:11px}.percent>i{right:11px}.percent input{padding-right:28px}.info{display:inline-grid;place-items:center;width:23px;height:23px;margin-left:3px;border:1px solid #8ba6a4;border-radius:50%;background:#fff;color:var(--teal);font:800 .75rem/1 serif;cursor:pointer;vertical-align:middle}details{margin-top:20px;border-top:1px solid var(--line);padding-top:17px}summary{display:flex;justify-content:space-between;align-items:center;min-height:29px;font-weight:800;cursor:pointer;list-style:none}summary::-webkit-details-marker{display:none}summary span{font-size:.76rem;font-weight:600;color:var(--muted)}.detail-grid{padding-top:17px}.primary{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:52px;margin-top:18px;border:0;border-radius:9px;padding:0 17px;background:var(--ink);color:#fff;font:800 1rem/1 inherit;cursor:pointer}.primary span:last-child{font-size:1.4rem;color:var(--lime)}.form-error{margin:15px 0 0;padding:12px;border-left:4px solid var(--danger);background:#fff4f0;color:#7f2b1d;font-size:.88rem}.results{position:sticky;top:16px;background:var(--ink);border-color:var(--ink);color:#f8faf5;box-shadow:0 18px 45px #1034371d}.results .eyebrow{color:var(--lime)}.results h2{margin-bottom:25px}.empty-state{padding:21px;border:1px solid #355356;border-radius:11px;color:#c4d4d2}.empty-state strong{color:#fff}.empty-state p{margin:7px 0 0;line-height:1.45;font-size:.9rem}.loading{display:flex;align-items:center;gap:10px;padding:25px 0;font-weight:700}.loading span{width:18px;height:18px;border:3px solid #466468;border-top-color:var(--lime);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.metric{padding:0 0 21px;border-bottom:1px solid #355356}.metric span,.result-grid span{font-size:.76rem;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:#b6c8c6}.metric strong{display:block;margin-top:8px;font-size:clamp(2.2rem,5vw,3.55rem);letter-spacing:-.065em;line-height:1;color:var(--lime)}.metric p{margin:8px 0 0;color:#c5d3d0;font-size:.88rem}.result-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:21px 0}.result-grid article{padding:13px;border-radius:9px;background:#183f42}.result-grid strong{display:block;margin:8px 0 3px;font-size:1.3rem;letter-spacing:-.04em}.result-grid small{color:#bacac8;line-height:1.35;font-size:.73rem}.finding{padding:14px;border-left:3px solid var(--lime);background:#183f42}.finding b{font-size:.86rem}.finding p{margin:5px 0 0;color:#c6d4d2;font-size:.86rem;line-height:1.43}.strategy-section,.limitations{margin-top:24px}.section-line{align-items:baseline}.section-line h3,.limitations h3{font-size:1rem;margin-bottom:10px}.section-line span{color:#b6c8c6;font-size:.76rem}.strategy{padding:14px 0;border-top:1px solid #355356}.strategy:first-of-type{border-top:0}.strategy-head{display:flex;gap:8px;justify-content:space-between}.strategy h4{margin:0;font-size:.94rem}.strategy .tag{flex:0 0 auto;padding:3px 7px;border-radius:20px;background:#2c585a;color:var(--lime);font-size:.68rem;font-weight:800}.strategy p{margin:7px 0 0;color:#c3d2d0;line-height:1.4;font-size:.83rem}.strategy ul,.limitations ul,.assumption-list ul{margin:9px 0 0;padding-left:19px;color:#c3d2d0;font-size:.8rem;line-height:1.45}.limitations{padding:14px;border-radius:9px;background:#173b3e}.limitations ul{margin-bottom:0}.limitations li+li{margin-top:5px}.assumption-list{border-color:#355356}.assumption-list summary{font-size:.86rem}.result-error{padding:15px;border-left:4px solid var(--warm);background:#523d19;color:#fff0c5;line-height:1.4}.status-missing{color:#fff0c5}.status-blocking{color:#ffd1c4}dialog{max-width:450px;padding:0;border:0;border-radius:14px;color:var(--ink);box-shadow:0 20px 70px #001b1e66}dialog::backdrop{background:#001b1e88}dialog>div{padding:28px}dialog h2{margin-bottom:10px}dialog p:last-child{margin:0;color:var(--muted);line-height:1.5}#close-help{position:absolute;right:12px;top:10px;display:grid;place-items:center;width:44px;height:44px;border:0;background:transparent;color:var(--ink);font-size:1.7rem;cursor:pointer}@media(max-width:760px){.shell{padding:19px 14px 36px}.topbar>span{display:none}.intro{padding:38px 0 23px}.workspace{grid-template-columns:1fr;gap:14px}form,.results{padding:20px 17px;border-radius:14px}.results{position:static}.field-grid{grid-template-columns:1fr}.wide{grid-column:auto}.intro>p:last-child{font-size:1rem}summary span{max-width:50%;text-align:right}.result-grid{gap:9px}}@media(prefers-reduced-motion:reduce){.loading span{animation:none}}
:root{--soft:#dfeae5}.example-note,.detail-note{font-size:.84rem;line-height:1.45;color:var(--muted)}.example-note{padding:11px 13px;border-left:3px solid var(--teal);background:#eaf4ef}.detail-note{margin:13px 0 0}.stale-state{margin-bottom:16px;padding:12px 14px;border-left:3px solid var(--warm);background:#423c27;color:#fff4ce;font-size:.86rem}.ledger-section,.diagnostics{margin-top:24px}.ledger-section h3,.diagnostics h3{margin-bottom:7px;font-size:1rem}.ledger-section>p{color:#c3d2d0;font-size:.8rem;line-height:1.4}.ledger-wrap{overflow:auto;border:1px solid #355356;border-radius:8px}.ledger-wrap table{width:100%;border-collapse:collapse;min-width:420px;font-size:.77rem}.ledger-wrap th,.ledger-wrap td{padding:10px;text-align:left;border-bottom:1px solid #355356;vertical-align:top}.ledger-wrap th{color:var(--lime);font-size:.7rem;text-transform:uppercase;letter-spacing:.06em}.ledger-wrap td{color:#c3d2d0}.diagnostics{padding:14px;border-radius:9px;background:#3e3322}.diagnostics ul{margin:8px 0 0;padding-left:18px;color:#fff0c5;font-size:.8rem;line-height:1.45}.info{min-width:23px;min-height:23px}.auto-info{margin-left:6px}.assumption-list summary{min-height:44px}
[hidden]{display:none!important}
input,select{font-family:inherit;font-size:16px;font-weight:600}
.primary{font-family:inherit;font-size:16px;font-weight:700}
label,.form-note,.privacy,.example-note,.detail-note{font-size:14px}
.intro{padding:28px 0 20px;max-width:760px}
h1{font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.08;letter-spacing:-.045em}
.results{position:static;min-width:0}
.privacy{margin-top:20px}
.workspace>form{min-width:0}
.info{width:44px;height:44px;min-width:44px;min-height:44px;border:0;background:transparent;color:inherit;position:relative;font-family:inherit;font-size:14px}
.info:before{content:"";position:absolute;inset:11px;border:1px solid currentColor;border-radius:50%;opacity:.65}
.result-grid article:last-child{grid-column:1/-1}
.primary:disabled{opacity:.6;cursor:wait}
.ledger-section summary{display:block}
.ledger-section h3{display:inline}
.ledger-wrap{max-height:480px;margin-top:14px}
.ledger-wrap th{position:sticky;top:0;background:var(--ink);font-size:12px}
.ledger-wrap table{font-size:14px;min-width:800px}
.strategy p,.strategy ul,.limitations ul,.diagnostics ul,.assumption-list ul,.finding p,.result-grid small{font-size:14px}
.sources{margin-top:20px;font-size:14px;line-height:1.5}
.sources a{color:var(--lime);overflow-wrap:anywhere}
.advice-note{font-size:14px;line-height:1.5;color:#c3d2d0;margin-top:20px}
.assumption-list li{overflow-wrap:anywhere}
@media(max-width:760px){.intro{padding:22px 0 12px}.field-grid{grid-template-columns:1fr 1fr}.wide{grid-column:1/-1}.field-grid label{min-width:0}.topbar{min-height:30px}.primary{position:sticky;bottom:12px;box-shadow:0 4px 22px #10343744;z-index:2}.form-heading{gap:8px}.ledger-wrap{max-height:420px}}
@media(max-width:370px){.field-grid{grid-template-columns:1fr}.wide{grid-column:auto}}
