:root{--sw-ink:#172033;--sw-muted:#526078;--sw-panel:#fff;--sw-soft:#f3f6fb;--sw-border:#697386;--sw-focus:#7b3ff2}*{box-sizing:border-box}body{margin:0;background:#f7f9fc;color:var(--sw-ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.55}.container{width:min(1120px,calc(100% - 2rem));margin-inline:auto}.skip-link{position:fixed;left:1rem;top:-6rem;z-index:9999;background:#fff!important;color:#111!important;padding:.8rem 1rem;border:3px solid #111}.skip-link:focus{top:1rem}.tool-hero{background:#123d2b;color:#fff;padding:2.4rem 0}.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,360px);gap:2rem;align-items:center}.tool-hero h1{font-size:clamp(2rem,6vw,3.3rem);line-height:1.08;margin:.5rem 0}.tool-hero p,.breadcrumb,.breadcrumb a{color:#fff}.hero-art{display:block;width:100%;height:auto;max-height:260px;object-fit:contain}.badges{display:flex;gap:.5rem;flex-wrap:wrap}.badge{border:1px solid #fff;background:#244f3d;color:#fff;border-radius:999px;padding:.25rem .65rem;font-size:.85rem}main{padding:1.2rem 0 3rem}.card{background:var(--sw-panel);border:1px solid #c1c8d2;border-radius:14px;padding:clamp(1rem,3vw,1.5rem);margin:1rem 0;box-shadow:0 4px 18px rgba(20,32,50,.06)}.form-grid,.metrics,.scenario-grid,.summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.form-group{display:grid;gap:.35rem}label{font-weight:700}input,select,button{font:inherit}input,select{width:100%;min-height:46px;border:2px solid var(--sw-border);border-radius:8px;padding:.65rem;background:var(--sw-panel);color:var(--sw-ink)}button{min-height:46px;border:2px solid #0b4a2b;border-radius:8px;padding:.65rem 1rem;font-weight:800;cursor:pointer}.btn-calc{width:100%;margin-top:1rem;background:#0b4a2b;color:#fff}.btn-add-row{margin:.7rem 0;background:#fff;color:#123d2b}.btn-del-row{min-width:46px;background:#fff;color:#7b1d1d;border-color:#8f3a3a}.item-row{display:grid;grid-template-columns:minmax(140px,1fr) minmax(120px,1fr) 50px;gap:.5rem;margin:.5rem 0}.section-title{font-weight:800;font-size:1.1rem;margin-top:1rem}.form-error{min-height:1.5rem;color:#8a1010;font-weight:700}.results{display:none;margin-top:1rem}.results.on{display:block}.res-hero,.nw-hero,.metric,.scenario,.summary-box,.debt-ratio,.info-box,.source-box,.privacy-box{border:1px solid #b8c1cc;border-radius:10px;padding:1rem;margin:.65rem 0;background:var(--sw-soft);color:var(--sw-ink)}.res-val,.nw-val,.metric-val,.scenario-val,.summary-val{font-size:1.18rem;font-weight:800;overflow-wrap:anywhere}.res-sub,.nw-sub,.field-help{color:var(--sw-muted)}.dr-bar{height:14px;background:#d6dde7;border:1px solid #697386;border-radius:999px;overflow:hidden}.dr-fill{height:100%;background:#17603a}.source-box,.privacy-box{margin-top:1rem}.info-box p{color:var(--sw-ink)}.ai-handoff{display:inline-block;margin-top:.5rem;border:2px solid #17603a;border-radius:8px;padding:.65rem .9rem;color:#0b4a2b;background:#fff;font-weight:800;text-decoration:none}.related-links a{color:#064b2c;font-weight:700}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--sw-focus)!important;outline-offset:3px!important}#afro-analytics-consent-accept{border-color:#fff!important}@media(max-width:700px){.hero-grid,.form-grid,.metrics,.scenario-grid,.summary-grid{grid-template-columns:1fr}.hero-art{max-height:210px}.item-row{grid-template-columns:minmax(0,1fr) minmax(95px,.75fr) 50px}}@media(max-width:360px){.item-row{grid-template-columns:1fr 1fr}.item-row button{grid-column:1/-1}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}html[data-theme="dark"]{--sw-ink:#f4f7fb;--sw-muted:#d7deea;--sw-panel:#172133;--sw-soft:#202d43;--sw-border:#aab7ca;background:#0c1422;color-scheme:dark}html[data-theme="dark"] body{background:#0c1422}html[data-theme="dark"] .card{border-color:#8290a5}html[data-theme="dark"] input,html[data-theme="dark"] select{background:#101a2a}html[data-theme="dark"] .btn-add-row,html[data-theme="dark"] .btn-del-row,html[data-theme="dark"] .ai-handoff{background:#172133;color:#fff}html[data-theme="dark"] .related-links a{color:#9ee8bc}html[data-theme="dark"] body a.skip-link{background:#fff!important;color:#111!important}html[data-theme="dark"] body main :is(input,select,button,.ai-handoff){border-color:#aab7ca!important}@media(prefers-color-scheme:dark){html:not([data-theme]){--sw-ink:#f4f7fb;--sw-muted:#d7deea;--sw-panel:#172133;--sw-soft:#202d43;--sw-border:#aab7ca;background:#0c1422;color-scheme:dark}html:not([data-theme]) body{background:#0c1422}html:not([data-theme]) input,html:not([data-theme]) select{background:#101a2a}html:not([data-theme]) .btn-add-row,html:not([data-theme]) .btn-del-row,html:not([data-theme]) .ai-handoff{background:#172133;color:#fff}html:not([data-theme]) .related-links a{color:#9ee8bc}html:not([data-theme]) body a.skip-link{background:#fff!important;color:#111!important}html:not([data-theme]) body main :is(input,select,button,.ai-handoff){border-color:#aab7ca!important}}