:root { font-family: Arial,Helvetica,sans-serif; color:var(--ink); background:var(--page-bg,#000000); --line:#222222; --muted:#a0a0a0; --ink:#eeeeee; --ops-warning-bg:#352c1d; --ops-warning-border:#78643e; --ops-warning-text:#e8c483; --ops-danger-bg:#36232b; --ops-danger-border:#ad6670; --ops-danger-text:#ff9c9f; }
* { box-sizing:border-box; } body { margin:0; min-width:320px; height:100dvh; overflow:hidden; } h1,h2,h3,p { margin:0; } button,input,select { font:inherit; color:inherit; } button,select { cursor:pointer; } button { background:var(--surface); border:1px solid var(--line); border-radius:2px; } button:hover { background:var(--surface-hover); } button:disabled { opacity:.45; cursor:default; } a { color:inherit; text-decoration:none; } a:hover { text-decoration:underline; } :focus-visible { outline:2px solid var(--accent); outline-offset:3px; } [hidden] { display:none !important; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; } .skip { position:fixed; top:-60px; left:10px; z-index:100; padding:10px; background:var(--surface); } .skip:focus { top:5px; }
.app-header { height:40px; display:flex; align-items:center; gap:28px; padding:0 14px; border-bottom:1px solid var(--line); background:var(--surface); }
.brand { font-size:24px; font-weight:700; letter-spacing:-1.5px; display:flex; gap:7px; } .brand span { font-size:14px; font-weight:400; padding-top:3px; } nav { align-self:stretch; display:flex; gap:24px; } nav a { display:flex; align-items:center; font-size:11px; color:var(--muted); border-bottom:2px solid transparent; } nav [aria-current] { color:var(--ink); border-color:var(--ink); } .data-status { margin-left:auto; font:9px/1.5 monospace; color:var(--muted); }
.text-button { border:0; padding:3px 0; background:transparent; font:10px/1.5 monospace; white-space:nowrap; } .text-button:hover { background:none; text-decoration:underline; text-underline-offset:3px; }
main { height:calc(100dvh - 40px); padding:5px 10px 8px; display:flex; flex-direction:column; gap:5px; min-height:0; }
.control-bar { display:flex; gap:12px; align-items:center; min-height:35px; flex-shrink:0; }
.control-bar label { display:flex; gap:6px; align-items:center; font-size:10px; color:var(--muted); white-space:nowrap; } select { border:1px solid var(--line); border-radius:2px; background:var(--surface); padding:6px 7px; font-size:11px; min-width:0; }
#scenario { width:245px; } .segmented { display:flex; border:1px solid var(--line); background:var(--surface); padding:2px; }
.segmented button { border:0; font-size:10px; padding:5px 7px; white-space:nowrap; } .segmented [aria-pressed=true] { background:var(--surface-hover); color:var(--ink); }
#scenario-description { flex:1; font:10px/1.5 Arial,sans-serif; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.incident-trigger { padding:6px 9px; font-size:10px; white-space:nowrap; border-color:var(--control-border); }
.kpi-strip { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); border:1px solid var(--line); background:var(--surface); flex-shrink:0; }
.kpi-strip article { display:flex; justify-content:space-between; gap:8px; align-items:baseline; padding:6px 11px; border-right:1px solid var(--line); min-width:0; }
.kpi-strip article:last-child { border-right:0; } .kpi-strip span { font-size:10px; color:var(--muted); } .kpi-strip strong { font-size:17px; line-height:1.2; font-weight:500; white-space:nowrap; font-variant-numeric:tabular-nums; }
.snapshot-bar { display:flex; gap:12px; align-items:center; font:9px/1.5 monospace; color:var(--muted); min-height:17px; flex-shrink:0; } #model-status { margin-left:auto; color:#78582e; } #loading-state { color:var(--accent); }
.error-banner { display:flex; gap:12px; align-items:center; padding:8px 12px; background:#fff1e8; border:1px solid #d0a489; font-size:11px; } .error-banner p { flex:1; } .error-banner button { padding:5px 8px; }
.data-error .operations-workspace { opacity:.55; }
.operations-workspace { flex:1; min-height:0; display:grid; grid-template-columns:minmax(0,1fr) 310px; border:1px solid var(--line); background:var(--surface); }
.network-column { display:flex; flex-direction:column; min-height:0; min-width:0; }
.transfer-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:5px 12px; padding:7px 10px; min-height:32px; flex-shrink:0; border-bottom:1px solid var(--line); background:var(--surface-raised); font:9px/1.4 Arial,sans-serif; color:var(--muted); }
.transfer-toolbar strong { font-weight:500; color:var(--ink); margin-right:8px; } .transfer-toolbar > div { display:flex; align-items:center; gap:12px; } .transfer-toolbar label { display:flex; align-items:center; gap:4px; cursor:pointer; white-space:nowrap; } .transfer-toolbar input { margin:0; accent-color:var(--accent); width:12px; height:12px; } .transfer-toolbar a { color:var(--accent); text-decoration:underline; text-underline-offset:2px; }
.maps { display:grid; grid-template-columns:1fr 1fr; flex:1; min-height:0; min-width:0; }
.maps.single-view { grid-template-columns:1fr; } .maps.single-view .baseline-panel { display:none; }
.map-panel { display:flex; flex-direction:column; min-width:0; min-height:0; } .baseline-panel { border-right:1px solid var(--line); }
.map-heading { min-height:31px; display:flex; align-items:center; justify-content:space-between; gap:8px; padding:7px 11px; border-bottom:1px solid var(--line); }
.map-heading h2 { font-size:12px; font-weight:500; } .map-heading > span { font:9px/1.5 monospace; color:var(--muted); white-space:nowrap; }
.map-stage { flex:1; position:relative; min-height:0; background:var(--map-sea); overflow:hidden; isolation:isolate; } .map-stage > svg { width:100%; height:100%; display:block; position:absolute; inset:0; touch-action:none; }
.map-chip { position:absolute; top:11px; left:11px; padding:4px 6px; font:9px/1.4 monospace; color:var(--muted); background:var(--surface-raised); border:1px solid var(--line); pointer-events:none; }
.map-navigation { position:absolute; right:9px; top:10px; display:flex; flex-direction:column; } .map-navigation button { width:28px; height:29px; border-bottom:0; font-size:18px; line-height:1; border-radius:0; } .map-navigation button:last-child { border-bottom:1px solid var(--line); font-size:17px; }
.placeholder-banner { position:absolute; bottom:7px; left:7px; right:7px; padding:6px 8px; border:1px solid #dfccb0; background:#fffcf2ed; font:9px/1.5 Arial,sans-serif; color:#775d30; pointer-events:none; }
.network-legend { display:flex; flex-wrap:wrap; gap:8px 22px; padding:7px 10px; border-top:1px solid var(--line); font:9px/1.5 monospace; flex-shrink:0; }
.network-legend > div { display:flex; align-items:center; gap:6px; } .network-legend strong { font:10px Arial,sans-serif; margin-right:4px; }
.flow-width-key svg { flex:none; } .network-footer #placeholder-banner { color:#846a44; }
.legend-swatch { width:9px; height:9px; border-radius:50%; background:#d4eae1; border:1px solid #90a49a; } .unserved-ramp { display:block; width:45px; height:8px; border-radius:8px; background:linear-gradient(90deg,#fad5c9,#ae282f); }
.legend-swatch.unknown { background:#d8ddda; border-color:#8c9796; }
.line-key { width:17px; height:0; border-top:3px solid; } .healthy-line { border-color:#17816b; } .amber-line { border-color:#b47b13; } .red-line { border-color:#ba3437; } .trip-line { border-top-style:dashed; border-color:#8c9796; }
.timeline { display:flex; align-items:center; gap:7px; padding:7px 10px; border-top:1px solid var(--line); flex-shrink:0; }
.timeline button { height:28px; padding:4px 9px; font-size:11px; } .timeline > input { min-width:50px; flex:1; accent-color:var(--accent); height:15px; } .timeline output { font:11px/1.5 monospace; white-space:nowrap; min-width:143px; } #frame-count { font:9px monospace; color:var(--muted); white-space:nowrap; }
.network-footer { display:flex; justify-content:space-between; gap:12px; padding:4px 10px; border-top:1px solid var(--line); font:8px/1.5 monospace; color:var(--muted); flex-shrink:0; }
.analysis-panel { display:flex; flex-direction:column; min-height:0; min-width:0; border-left:1px solid var(--line); }
.analysis-tabs { display:flex; gap:3px; padding:6px 8px; border-bottom:1px solid var(--line); flex-shrink:0; } .analysis-tabs button { font-size:11px; flex:1; padding:7px; border:0; } .analysis-tabs [aria-pressed=true] { background:var(--surface-hover); color:var(--ink); }
.analysis-tabs button { padding:7px 4px; font-size:10px; }
#zone-selector { padding:9px 11px; border-bottom:1px solid var(--line); flex-shrink:0; } #zone-selector label { display:block; font-size:10px; color:var(--muted); margin-bottom:5px; } #zone { width:100%; font-size:11px; } #zone-data-note { font:9px/1.5 monospace; color:var(--muted); margin-top:5px; }
.analysis-body { overflow-y:auto; min-height:0; flex:1; padding:12px; overscroll-behavior:contain; } .analysis-body h3 { font-weight:500; font-size:12px; } .section-label { display:flex; justify-content:space-between; align-items:baseline; gap:5px; } .section-label > span { font:8px/1.5 monospace; color:var(--muted); } .subheading { margin:15px 0 8px; }
.muted { font:10px/1.7 Arial,sans-serif; color:var(--muted); margin:6px 0; } .method-note { font:10px/1.7 Arial,sans-serif; color:var(--muted); padding:9px; background:var(--surface-raised); margin:10px 0; }
.facts { margin:9px 0 16px; } .facts > div { display:flex; align-items:baseline; justify-content:space-between; gap:8px; border-bottom:1px solid var(--line); padding:7px 0; font-size:10px; } .facts dt { color:var(--muted); } .facts dd { margin:0; font:11px/1.5 monospace; text-align:right; }
.corridor-list { margin-top:6px; } .corridor-row { display:grid; grid-template-columns:1fr auto; width:100%; padding:7px 4px; border:0; border-bottom:1px solid var(--line); text-align:left; border-radius:0; font:10px/1.5 monospace; } .corridor-row small { grid-column:1/-1; font-size:8px; color:var(--muted); } .corridor-row[data-status=overloaded] { color:#9d2e2e; } .corridor-row[data-status=tripped], .corridor-row[data-status=out] { color:#736a5d; } .corridor-row[aria-pressed=true] { background:var(--surface-hover); }
.transfer-totals { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:12px 0 5px; background:var(--surface-raised); border:1px solid var(--line); }
.transfer-totals > div { display:flex; flex-direction:column; gap:5px; padding:8px 7px; border-right:1px solid var(--line); min-width:0; } .transfer-totals > div:last-child { border-right:0; } .transfer-totals dt { color:var(--muted); font-size:9px; } .transfer-totals dd { margin:0; font:11px/1.4 monospace; white-space:nowrap; }
.transfer-list { margin:6px 0 12px; } .transfer-row { width:100%; display:grid; grid-template-columns:minmax(0,1fr) 44px 54px; gap:5px; align-items:baseline; padding:8px 4px 8px 7px; border:0; border-left:2px solid transparent; border-bottom:1px solid var(--line); border-radius:0; text-align:left; background:transparent; }
.transfer-route { font:9px/1.5 monospace; white-space:nowrap; } .transfer-mw { font:500 10px/1.5 monospace; font-variant-numeric:tabular-nums; white-space:nowrap; text-align:right; } .transfer-loading { text-align:right; color:var(--muted); font:9px/1.5 monospace; }
.transfer-row[aria-pressed=true] { background:var(--surface-hover); border-left-color:var(--accent); } .transfer-row[data-status=warning] { border-left-color:#c29436; } .transfer-row[data-status=overloaded] { border-left-color:#ba3437; color:#9d2e2e; } .transfer-row[data-status=tripped],.transfer-row[data-status=out] { border-left-color:#8c9796; } .transfer-row[data-status=unknown] { border-left:2px dashed #8c9796; }
.method-note a { text-decoration:underline; text-underline-offset:2px; } #transfer-edge-detail { padding:0 8px; border:1px solid var(--line); background:var(--surface-raised); margin-bottom:12px; } #transfer-edge-detail .facts { margin-bottom:8px; }
.network-state-summary { display:grid; grid-template-columns:1fr 1fr; margin:12px 0 18px; border-bottom:1px solid var(--line); padding-bottom:12px; }
.network-state-summary > div { display:flex; flex-direction:column; gap:6px; } .network-state-summary dt { font-size:9px; color:var(--muted); } .network-state-summary dd { margin:0; font:500 17px/1.3 Arial,sans-serif; font-variant-numeric:tabular-nums; } .network-state-summary[data-shortage=true] > div:first-child dd { color:#a13c35; }
.transfer-column-head { display:grid; grid-template-columns:minmax(0,1fr) 44px 54px; gap:5px; padding:8px 4px 5px 9px; font:8px monospace; color:var(--muted); border-bottom:1px solid var(--line); } .transfer-column-head > span:not(:first-child) { text-align:right; }
.corridor-heading { margin-top:16px; } .focus-heading { padding-top:10px; display:flex; align-items:baseline; justify-content:space-between; gap:8px; } .focus-heading > span { font:8px monospace; color:var(--muted); }
.compact-facts { margin:7px 0 8px; } .compact-facts > div { padding:5px 0; } .connected-routes { margin:12px 0; font-size:10px; } .connected-routes summary { cursor:pointer; color:var(--muted); padding:7px 0; } .connected-routes summary > span { float:right; font:9px monospace; }
.transfer-reading-note { font:9px/1.7 Arial,sans-serif; color:var(--muted); padding:8px 0; border-top:1px solid var(--line); }
.incident-row { padding:8px 0; border-bottom:1px solid var(--line); font:10px/1.7 Arial,sans-serif; } .incident-row small { display:block; color:var(--muted); }
#forecast-chart { width:100%; display:block; min-height:170px; margin-top:5px; } .chart-key { display:flex; align-items:center; gap:6px; font:9px monospace; color:var(--muted); margin-top:6px; }
.forecast-line-key { width:18px; border-top:2px solid var(--accent); } .forecast-band-key { width:15px; height:9px; background:#333333; margin-left:10px; } #forecast-explanation { padding:0 0 0 16px; margin:0; font:11px/1.8 Arial,sans-serif; color:var(--muted); }
.eyebrow { font:9px/1.5 monospace; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; } .result-headline { font:500 37px/1.12 Arial,sans-serif; letter-spacing:-.05em; margin:12px 0 9px; color:var(--accent); overflow-wrap:anywhere; }
.results-scroll { overflow-x:auto; margin-top:16px; } table { border-collapse:collapse; width:100%; } th { font:9px/1.6 monospace; color:var(--muted); font-weight:400; text-align:right; padding:8px 4px; border-bottom:1px solid var(--line); } td { font:10px/1.7 monospace; padding:12px 4px; border-bottom:1px solid var(--line); text-align:right; } th:first-child,td:first-child { text-align:left; } td:first-child { font-family:Arial,sans-serif; } td small { display:block; font-size:9px; color:#886b39; } tr[data-winner=true] { background:var(--surface-hover); }
.result-detail td { padding:2px 4px 9px; color:var(--muted); font:8px/1.6 Arial,sans-serif; } .result-detail td > div { display:flex; gap:5px 12px; justify-content:space-between; flex-wrap:wrap; } .result-detail strong { font:8px/1.6 monospace; color:var(--ink); white-space:nowrap; }
dialog { width:min(590px,calc(100vw - 28px)); max-height:90dvh; padding:20px; border:1px solid var(--line); color:var(--ink); overflow-y:auto; } dialog::backdrop { background:#00000099; } .dialog-heading { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:15px; } .dialog-heading h2 { font-size:22px; font-weight:400; letter-spacing:-.025em; } .close-button { border:0; font-size:24px; line-height:1; padding:3px; } dialog p { font:12px/1.9 Arial,sans-serif; margin:12px 0; color:var(--muted); } dialog a { text-decoration:underline; } dialog code { font-size:11px; }
.incident-presets { display:grid; gap:8px; margin:17px 0; } .incident-presets button { text-align:left; padding:11px; } .incident-presets strong { display:block; font:500 12px/1.5 Arial,sans-serif; } .incident-presets span { display:block; font:10px/1.7 monospace; color:var(--muted); margin-top:3px; }
.incident-settings { display:grid; grid-template-columns:1fr 1fr; gap:16px; } .incident-settings label { font-size:11px; color:var(--muted); } .incident-settings input { width:100%; display:block; margin-top:7px; padding:8px; border:1px solid var(--line); }
@media(max-width:1150px) { .operations-workspace { grid-template-columns:minmax(0,1fr) 280px; } #scenario-description { display:none; } #scenario { width:200px; } .control-bar { gap:9px; } .network-legend { gap:5px 12px; font-size:8px; } .network-legend strong { font-size:9px; } .map-heading { flex-wrap:wrap; gap:2px; } .map-heading h2 { font-size:11px; } .map-heading > span { font-size:8px; } }
@media(max-width:850px) { body { height:auto; overflow:auto; } main { height:auto; min-height:calc(100dvh - 40px); } .app-header { gap:16px; padding:0 10px; } nav { gap:16px; } .data-status { display:none; } .app-header > .text-button { margin-left:auto; font-size:9px; } .control-bar { flex-wrap:wrap; gap:7px 10px; padding:4px 0; } .control-bar label { flex:1; min-width:140px; } #scenario { width:100%; max-width:none; } .segmented { margin-right:auto; } .kpi-strip { grid-template-columns:1fr 1fr; } .kpi-strip article { padding:6px 8px; } .kpi-strip article:nth-child(2) { border-right:0; } .kpi-strip article:nth-child(-n+2) { border-bottom:1px solid var(--line); } .kpi-strip strong { font-size:15px; } .kpi-strip span { font-size:9px; } .snapshot-bar { flex-wrap:wrap; gap:2px 8px; font-size:8px; } #model-status { margin-left:0; width:100%; } .operations-workspace { grid-template-columns:1fr; } .network-column { min-height:0; } .maps { flex:none; height:58dvh; min-height:380px; } .map-heading { padding:7px; } .map-heading > span { white-space:normal; } .map-chip { font-size:8px; top:7px; left:7px; } .map-navigation { right:5px; top:32px; } .placeholder-banner { font-size:8px; left:4px; right:4px; bottom:4px; padding:5px; } .network-legend { padding:7px; gap:7px; } .network-legend > div { flex-wrap:wrap; gap:5px; } .timeline { flex-wrap:wrap; padding:7px; gap:6px; } .timeline > input { width:calc(100% - 110px); } .timeline output { margin-left:auto; font-size:10px; min-width:0; } .network-footer { font-size:7px; flex-wrap:wrap; gap:2px; } .analysis-panel { border-left:0; border-top:1px solid var(--line); min-height:500px; } .analysis-body { min-height:300px; max-height:640px; } .result-headline { font-size:37px; } }
@media(prefers-reduced-motion:reduce) { * { scroll-behavior:auto !important; } }
@media(max-width:600px) { .maps:not(.single-view) { grid-template-columns:1fr; height:auto; min-height:0; } .maps:not(.single-view) .map-panel { height:50dvh; min-height:360px; } .maps:not(.single-view) .baseline-panel { border-right:0; border-bottom:1px solid var(--line); } .transfer-toolbar { font-size:8px; padding:7px; } .transfer-toolbar > span > span { display:none; } .transfer-toolbar > div { gap:8px; } .app-header { gap:9px; padding:0 8px; } .brand { font-size:20px; gap:3px; } .brand span { font-size:12px; } nav { gap:10px; } nav a { font-size:10px; } .app-header > .text-button { font-size:8px; } }

/* Operations colours only: shared dark-theme tokens leave the layout intact. */
.app-header,.kpi-strip,.operations-workspace,.analysis-panel { background:var(--surface,#0a0a0a); }
button,select,.skip { background:var(--surface-raised,#121212); }
button:hover { background:var(--surface-hover,#1a1a1a); }
:focus-visible { outline-color:var(--accent,#dedede); }
.segmented,.analysis-tabs { background:var(--surface,#0a0a0a); }
.segmented [aria-pressed=true],.analysis-tabs [aria-pressed=true] { background:var(--surface-hover,#1a1a1a); color:var(--accent,#dedede); }
.incident-trigger { border-color:var(--control-border); }
#model-status,.network-footer #placeholder-banner,td small { color:var(--ops-warning-text); }
#loading-state { color:var(--accent,#dedede); }
.error-banner { color:var(--ops-danger-text); background:var(--ops-danger-bg); border-color:var(--ops-danger-border); }
.transfer-toolbar { background:var(--surface-raised,#121212); }
.transfer-toolbar input,.timeline > input { accent-color:var(--accent,#dedede); }
.transfer-toolbar a,.method-note a { color:var(--accent,#dedede); }
.map-stage { background:var(--map-sea,#080808); }
.map-chip { color:var(--muted); background:var(--surface-raised,#121212); border-color:var(--line); }
.placeholder-banner { color:var(--ops-warning-text); background:var(--ops-warning-bg); border-color:var(--ops-warning-border); }
.healthy-line { border-color:#83cdb7; }
.amber-line { border-color:var(--ops-warning-text); }
.red-line { border-color:var(--ops-danger-text); }
.trip-line { border-color:var(--muted); }
.flow-width-key svg line,.flow-width-key svg path { stroke:var(--muted); }
.method-note { color:var(--muted); background:var(--surface-raised,#121212); }
.facts > div,.corridor-row,.transfer-row { border-bottom-color:var(--line); }
.facts dt { color:var(--muted); }
.corridor-row[data-status=overloaded],.transfer-row[data-status=overloaded],.network-state-summary[data-shortage=true] > div:first-child dd { color:var(--ops-danger-text); }
.corridor-row[data-status=tripped],.corridor-row[data-status=out] { color:var(--ops-warning-text); }
.corridor-row[aria-pressed=true],.transfer-row[aria-pressed=true] { background:var(--surface-hover,#1a1a1a); }
.transfer-totals { background:var(--surface-raised,#121212); }
.transfer-row[aria-pressed=true] { border-left-color:var(--accent,#dedede); }
.transfer-row[data-status=warning] { border-left-color:var(--ops-warning-text); }
.transfer-row[data-status=overloaded] { border-left-color:var(--ops-danger-text); }
.transfer-row[data-status=tripped],.transfer-row[data-status=out],.transfer-row[data-status=unknown] { border-left-color:var(--muted); }
#transfer-edge-detail { color:var(--ink); background:var(--surface-raised,#121212); border-color:var(--line); }
#forecast-chart text { fill:var(--muted); }
#forecast-chart line { stroke:var(--line); }
#forecast-chart .forecast-median { stroke:var(--accent,#dedede); }
#forecast-chart .forecast-band { fill:var(--accent,#dedede); fill-opacity:.2; }
.forecast-line-key { border-color:var(--accent,#dedede); }
.forecast-band-key { background:#333333; }
#forecast-explanation { color:var(--muted); }
.result-headline { color:var(--accent,#dedede); }
tr[data-winner=true] { background:var(--surface-hover); }
dialog p { color:var(--muted); }

/* Healthy corridor colour represents loading, independent of UI selection. */
.simulation-edge[data-band="healthy"] > path:nth-of-type(2) { stroke:#83cdb7; }
.simulation-edge[data-band="healthy"] > path:nth-of-type(3) { fill:#83cdb7; }
.simulation-edge[data-band="healthy"] > .simulation-flow-particle { stroke:#83cdb7; }
#zone-selector { position:relative; }
#zone-selector > #clear-map-selection { position:absolute; right:10px; top:6px; font-size:9px; }
.map-display-settings { border:1px solid var(--line); margin:14px 0; padding:10px 12px; }
.map-display-settings legend { padding:0 5px; color:var(--muted); font-size:11px; }
.map-display-settings label { display:inline-flex; align-items:center; gap:6px; margin:4px 16px 4px 0; font-size:11px; }
.map-display-settings input { accent-color:var(--accent); }
#notes-dialog #model-status { margin-left:0; }
/* SVG selections use corner brackets while ordinary controls retain focus outlines. */
.simulation-edge:focus-visible,.simulation-zone-label:focus-visible,.simulation-zone:focus-visible { outline:none; }

@media(max-width:850px) {
  .kpi-strip {grid-template-columns:repeat(6,minmax(0,1fr));}
  .kpi-strip article {grid-column:span 2;display:block;padding:5px 8px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);}
  .kpi-strip article:nth-child(3) {border-right:0;}
  .kpi-strip article:nth-child(n+4) {grid-column:span 3;border-bottom:0;}
  .kpi-strip article:nth-child(2) {border-right:1px solid var(--line);}
  .kpi-strip span,.kpi-strip strong {display:block;}
  .kpi-strip strong {margin-top:2px;font-size:14px;}
}

.outcome-summary {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;padding:3px 1px 5px;}
.outcome-summary .result-headline {margin:1px 0 0;font-size:clamp(30px,3.5vw,44px);line-height:1.1;}
.outcome-summary > .eyebrow {text-align:right;max-width:180px;}
@media(max-width:600px) {.outcome-summary {gap:8px;align-items:flex-end;}.outcome-summary .result-headline {font-size:30px;}.outcome-summary > .eyebrow {max-width:105px;font-size:8px;}}
