/* Reduced from the original dashboard: same palette, typography and cards. */
:root{--navy:#1b252f;--gold:#e6b43e;--ink:#263440;--muted:#5d6a74;--paper:#f4f5f6;--line:#dce1e4;--green:#12644d;--red:#a32f36;font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:15px;line-height:1.6}button,input{font:inherit}button{cursor:pointer}a{color:inherit}[hidden]{display:none!important}
button{min-height:44px;padding:11px 17px;border-radius:9px;border:1px solid transparent;font-weight:700;line-height:1.4;text-align:center;white-space:normal;max-width:100%}.primary{background:var(--gold);color:var(--navy)}.secondary{background:white;border-color:var(--line);color:var(--ink)}.dark{background:var(--navy);color:white}
button:hover{filter:brightness(.96)}:focus-visible{outline:3px solid #987018;outline-offset:3px}main:focus{outline:none}.skip{position:fixed;left:12px;top:-100px;background:white;padding:14px;z-index:10}.skip:focus{top:12px}
h1,h2,h3,p{margin-top:0}h1,h2,h3{overflow-wrap:anywhere}h1{font-size:32px;line-height:1.14;letter-spacing:-1px;margin-bottom:15px}h2{font-size:22px;line-height:1.3;letter-spacing:-.4px;margin-bottom:12px}p{margin-bottom:17px}small,.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:1.7px;text-transform:uppercase;font-weight:800;color:#806020;margin-bottom:12px}
.topbar{background:white;border-bottom:1px solid var(--line);padding:17px 16px;display:flex;flex-wrap:wrap;align-items:center;gap:18px}.brand{display:flex;gap:11px;align-items:center;font-size:12px;font-weight:800;letter-spacing:1.3px;line-height:1.5}.brand small{display:block;font-size:9px;letter-spacing:2px;font-weight:500}.brand-logo{width:43px;height:43px;display:block;object-fit:contain;flex-shrink:0}
.topbar nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:4px}.topbar nav button{background:transparent;color:var(--muted);font-size:12px;font-weight:500;padding:10px 4px}.topbar nav button[aria-current=page]{background:#f0f2f3;color:var(--navy);font-weight:700}.public-badge{display:none;font-size:12px;color:#41544b}.public-badge:before{content:'●';color:var(--green);margin-right:7px}
main{max-width:1380px;margin:auto;padding:26px 16px 48px;display:grid;gap:22px;min-width:0}footer{border-top:1px solid var(--line);margin:0 16px;padding:20px 0;display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;justify-content:space-between;color:var(--muted);font-size:11px}footer button{padding:10px 0;background:transparent;color:var(--muted);font-size:11px;text-decoration:underline;font-weight:500}
.hero{background:var(--navy);color:white;border-radius:17px;padding:29px 23px;display:grid;gap:28px}.hero>*{min-width:0}.hero h1{font-size:34px}.hero h1 em{font-style:normal;color:var(--gold)}.hero p{color:#c3cdd5;max-width:560px;font-size:14px}.hero .eyebrow{color:var(--gold)}.hero .primary{margin-top:7px}.hero-visual{border:1px solid #495660;background:#24303b;border-radius:15px;padding:21px}.hero-visual .label{color:#cad3db;font-size:11px;letter-spacing:1px;text-transform:uppercase}.hero-visual strong{font-size:28px;display:block;margin:8px 0}.hero-visual p,.hero-visual small{color:#cad3db;font-size:12px}.hero-visual svg{width:100%;height:auto;display:block;margin:15px 0}.hero-grid{stroke:#46515a;fill:none}.hero-line{stroke:var(--gold);stroke-width:3;fill:none}
.trust-line{display:flex;gap:8px 22px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.trust-line span:before{content:'✓';color:#806020;margin-right:7px}.section-title{display:flex;flex-wrap:wrap;gap:6px 20px;justify-content:space-between;align-items:end}.section-title h2,.section-title p{margin:0}.section-title p{font-size:13px;color:var(--muted)}
.tool-card{background:white;border:1px solid var(--line);border-radius:17px;padding:25px;display:flex;flex-direction:column;align-items:flex-start;min-width:0}.tool-card .number{align-self:flex-end;font:35px Georgia,serif;color:#d7dcdf}.tool-icon{width:44px;height:44px;border-radius:10px;background:#fcf4e1;display:grid;place-items:center;color:#785416;font-size:23px}.tool-card h2{font-size:24px;margin:17px 0 12px}.tool-card p,.tool-card ul{font-size:14px;color:var(--muted)}.tool-card ul{padding-left:18px;margin:0 0 24px}.tool-card button{margin-top:auto}
.page-head{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:18px}.page-head p{color:var(--muted);margin:0}.page-head .eyebrow{margin-bottom:9px}.page-head h1{margin-bottom:10px}
.panel{background:white;border:1px solid var(--line);border-radius:17px;padding:20px;min-width:0}.panel>p{font-size:13px;color:var(--muted)}.panel .field+.field{margin-top:16px}.next-step p{max-width:760px}
.notice{padding:15px 17px;background:#faf5e9;border:1px solid #e7d9b5;border-radius:10px;font-size:12px;color:#645229}.notice.neutral{background:#edf1f4;border-color:#dce3e7;color:#435866}.notice.error{background:#fff0f0;border-color:#d9a4a4;color:var(--red)}#form-error:empty{display:none}
.kpi{border:1px solid var(--line);background:white;border-radius:13px;padding:16px;min-width:0}.kpi span{display:block;font-size:12px;color:var(--muted)}.kpi strong{font-size:23px;line-height:1.25;display:block;margin:8px 0;font-variant-numeric:tabular-nums;letter-spacing:-.5px;overflow-wrap:anywhere}.kpi small{font-size:11px}.kpi.highlight{background:var(--navy);color:white}.kpi.highlight span,.kpi.highlight small{color:#c5ced6}.kpi.highlight strong{color:var(--gold)}
.field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:600;min-width:0}.field input{background:#fbfcfc;border:1px solid #c9d1d7;border-radius:7px;padding:11px;color:var(--ink);font-size:16px;font-weight:400;width:100%;min-height:46px}.field small{font-size:11px;font-weight:400}.field input[aria-invalid=true]{border-color:var(--red);background:#fff5f5}.field input[type=range]{padding:8px 0;accent-color:#956d14;background:transparent;border:none;cursor:pointer}.check-field{display:flex;gap:12px;align-items:start;cursor:pointer;font-size:14px;margin:5px 0 18px;padding:8px 0}.check-field input{width:22px;height:22px;min-width:22px;accent-color:#956d14}.totals{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;background:#f1f4f5;padding:12px 14px;border-radius:8px;font-size:13px;margin-top:18px}.totals strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.sim-layout button{margin-top:14px}
.rate-number{font-size:34px;line-height:1.25;overflow-wrap:anywhere}.bad{color:var(--red)}.fine{font-size:12px;color:var(--muted);line-height:1.55;margin:13px 0 0}.bars{display:grid;gap:15px;margin:18px 0}.bar-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;font-size:13px}.bar-row b{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.bar-track{grid-column:1/-1;width:100%;height:9px;display:block}.bar-background{fill:#edf0f2}.bar-navy{fill:#405c74}.bar-gold{fill:#a5740c}
.chart{min-width:0;margin:16px 0}.chart svg{width:100%;height:auto;display:block;touch-action:pan-y}.chart text{font-family:inherit;fill:var(--muted);font-size:11px}.gridline{stroke:#e1e6e9}.chart-line{fill:none;stroke-width:2.8;stroke-linejoin:round}.line-0{stroke:#405c74}.line-1{stroke:#26816b}.line-2{stroke:#a5740c}.chart-marker{stroke:#9ca8b1;stroke-dasharray:4 4;pointer-events:none}.legend{display:flex;flex-wrap:wrap;gap:9px 15px;margin-top:14px;font-size:12px}.legend i{display:inline-block;width:9px;height:9px;border-radius:2px;margin-right:5px}.swatch-0{background:#405c74}.swatch-1{background:#26816b}.swatch-2{background:#a5740c}
.table-wrap{overflow:auto;max-width:100%;border:1px solid var(--line);border-radius:9px;margin-top:17px}table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums;font-size:13px;white-space:nowrap}caption{text-align:left;padding:11px 13px;color:var(--muted)}th,td{padding:11px 13px;text-align:right;border-bottom:1px solid var(--line)}th{background:#f2f5f6;font-weight:600}th:first-child,td:first-child{text-align:left}tr:last-child td{border-bottom:0}.prose{max-width:850px}.prose h2:not(:first-child){margin-top:28px}.prose p{font-size:14px}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
select{font:inherit;min-height:46px;width:100%;min-width:0;background:#fbfcfc;border:1px solid #c9d1d7;border-radius:7px;padding:10px;color:var(--ink);font-size:16px}
.entry-list{display:grid;gap:18px;margin-bottom:18px}.entry-card{border:1px solid var(--line);border-radius:10px;padding:14px;min-width:0}.entry-title{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px;margin-bottom:12px;font-size:12px}.entry-title button{font-size:11px;padding:8px}.entry-card details{margin-top:12px}.entry-card summary{cursor:pointer;min-height:44px;padding:10px 0;font-size:12px}.actions{display:flex;flex-wrap:wrap;gap:12px}.milestone{font-weight:700;color:#785416;background:#fcf4e1;border-radius:8px;padding:10px;font-size:13px}.escape-marker{stroke:#a5740c;stroke-width:2;stroke-dasharray:6 3;pointer-events:none}
#sim-table .table-wrap,#escape-table .table-wrap{max-height:620px;overscroll-behavior:contain}thead th{position:sticky;top:0;z-index:1}caption{background:white}.kpi strong{word-break:normal}
@media(max-width:430px){.entry-card .fields{grid-template-columns:minmax(0,1fr)}}
.bar-row span{overflow-wrap:anywhere}
