:root{--navy:#163d45;--blue:#235963;--border:#dce3e2;--text:#233c43;--muted:#617479;--bg:#f3f5f3}
body{font-family:Inter,"Segoe UI",Arial,sans-serif;line-height:1.5;background:var(--bg)}
.skip{position:absolute;top:-60px;left:20px;background:white;padding:12px;z-index:20}.skip:focus{top:12px}
header{position:relative;background:#122f36;padding:30px 24px 35px;box-shadow:none;border-bottom:4px solid #c5a56b}
.brand-eyebrow{font-size:11px;letter-spacing:.21em;color:#c5d6d6;font-weight:600;margin-bottom:20px}.brand-eyebrow span{padding:0 10px;color:#c5a56b}
header img{width:80px!important;height:80px!important;object-fit:contain;background:white;border-radius:50%;padding:6px;margin-bottom:17px!important}
header h1{font-family:Georgia,serif;font-size:clamp(28px,4vw,44px);font-weight:400;letter-spacing:-.025em}header p{font-size:14px;color:#c4d4d5;margin-top:8px}
.header-meta{display:flex;justify-content:center;gap:18px;color:#d3c09b;font-size:10px;letter-spacing:.13em;margin-top:21px}
.container{max-width:1392px;padding:30px 32px}.panel{padding:28px;margin-bottom:24px;border-radius:12px;box-shadow:0 3px 12px #18383d04}.section-kicker{font-size:10px;font-weight:750;letter-spacing:.17em;color:#758885;margin-bottom:9px}.panel h2{font-size:22px;letter-spacing:-.025em;margin-bottom:6px}.intro{color:var(--muted);font-size:14px;margin:0 0 23px}
.inputs{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 20px}.field label{font-size:13px;font-weight:600;min-height:39px;display:flex;align-items:flex-end}.field input,.field select{padding:12px 11px;font-family:inherit;font-size:14px;min-height:48px;border-color:#cbd6d5;border-radius:7px;color:#243e45;background:#fcfdfc}.field input:focus,.field select:focus{outline:3px solid #bfd5d7;border-color:#235963}.help{font-size:11px;line-height:1.6;margin-top:8px}.note{border-left:3px solid #b29864;background:#f7f5ed;color:#5e573f;font-size:12px;padding:13px 16px}.actions{margin-top:22px;gap:12px}button{font-family:inherit;font-size:13px;padding:13px 20px;border-radius:7px;min-height:46px}.primary{background:#20545f}.primary span{padding-left:24px}.primary:hover{background:#123c46}.secondary{background:white;border:1px solid #ccd8d8}.secondary:hover{background:#edf3f2}button:focus-visible{outline:3px solid #b9985d;outline-offset:3px}.privacy{font-size:11px;color:#6f8286;margin:13px 0 0}
.common-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:20px;gap:12px}.kpi{border-radius:8px;background:#f7f9f8;padding:17px;border:0}.kpi .label{font-size:11px;font-weight:600}.kpi .value{font-size:24px;letter-spacing:-.035em;margin-top:8px;overflow-wrap:anywhere}.kpi:nth-child(n+6){background:#eaf1ef}.stages{gap:14px;grid-template-columns:repeat(4,minmax(0,1fr))}.stage{border-radius:9px}.stage .head{background:#244b55;font-size:11px;letter-spacing:.15em;text-align:left;padding:13px 16px}.stage2 .head{background:#38636a}.stage3 .head{background:#42756f}.stage4 .head{background:#215b50}.stage .period{background:#f0f4f2;text-align:left;font-size:11px;padding:10px 16px;color:#4f696d}.stage4 .period{background:#e5efea}td{font-size:11px;padding:10px 13px;vertical-align:top}td:last-child{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:600}tr.total td{background:#f2f5f4;font-size:11px}tr.grand td{background:#e8f1eb;color:#1c5243;font-size:13px;padding-top:15px;padding-bottom:15px}.small{font-size:12px;margin-bottom:0}.stale::before{content:"Update the invalid or empty input to refresh these results.";display:block;color:#9c411e;margin-bottom:12px}#summary{scroll-margin-top:20px}footer{font-size:11px;padding:8px 20px 30px;color:#647a7c}
@media(max-width:1150px){.inputs,.common-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stages{grid-template-columns:repeat(2,minmax(0,1fr))}td{font-size:13px}}
@media(max-width:600px){header{padding:24px 16px 28px}.container{padding:16px 12px}.panel{padding:20px 16px;margin-bottom:16px}.inputs{grid-template-columns:1fr;gap:15px}.field label{min-height:0;margin-bottom:7px}.field input,.field select{font-size:16px}.panel h2{font-size:20px}.intro{font-size:13px}.common-grid{gap:8px}.kpi{padding:13px 11px}.kpi .value{font-size:20px}.stages{grid-template-columns:1fr}.stage .head{font-size:12px}.stage .period{font-size:12px}.actions button{flex:1;padding:12px 10px}td{font-size:13px;padding:10px 14px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
@media print{header{padding:12px;color:#163d45;background:white;border-bottom:2px solid #163d45}header h1{font-size:25px}header p,.brand-eyebrow,.header-meta{color:#163d45}header img{width:55px!important;height:55px!important}.container{padding:0}.panel{padding:12px;margin:10px 0}.privacy,.skip,.actions{display:none}.inputs{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.field label{font-size:10px;min-height:0}.field input,.field select{font-size:10px;padding:5px;min-height:0}.common-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.stages{grid-template-columns:repeat(2,minmax(0,1fr))}td{font-size:10px;padding:5px}.stage{break-inside:avoid}.kpi .value{font-size:16px}.stage .head{color:#163d45;background:#eee}.panel:has(.stages){break-inside:auto}footer{padding:10px}}
