/* Dark console colours: navy canvas, cyan telemetry, teal evidence and amber review. */
html[data-theme=dark]{--bg:#0b192c;--panel:#112940;--panel2:#17344e;--ink:#e8f1fc;--muted:#afc4db;--line:#365571;--input:#0d2137;--accent:#38bdf8;--soft:#123a52;--amber:#f8c568;color-scheme:dark}
html[data-theme=dark] .bar,html[data-theme=dark] .sidebar{background:#0c192c;border-color:#365571}
.brand{background:transparent;padding:0;border:0;border-radius:0}.brand img{width:242px;height:48px}.metric{border-top-color:#38bdf8;background:var(--panel);box-shadow:0 8px 20px #020a1515}.metric:nth-child(2){border-top-color:#f59e0b}.metric:nth-child(3){border-top-color:#34d399}.metric:nth-child(4){border-top-color:#a78bfa}
html[data-theme=dark] .metric:nth-child(1) b{color:#5dccfb}html[data-theme=dark] .metric:nth-child(2) b{color:#f8c568}html[data-theme=dark] .metric:nth-child(3) b{color:#59e2b9}html[data-theme=dark] .metric:nth-child(4) b{color:#c2acfa}
.panel{border-color:var(--line)}.panel-head{padding-bottom:12px;border-bottom:1px solid var(--line)}.panel-head h2{font-size:17px}.tag{color:var(--muted)}.track{background:var(--bg);height:8px}.track span{background:#38bdf8}.bar-row:nth-child(3n) .track span{background:#34d399}.bar-row:nth-child(3n + 1) .track span{background:#a78bfa}
.nav-item[aria-current=page]{background:#153b54;border-left-color:#38bdf8;color:#eafbff}.nav-item[aria-current=page] svg{color:#66d8ff}.nav-group{color:#a9c1dc}.button.primary{background:#38bdf8;border-color:#38bdf8;color:#082035}.badge.review,.tag.amber{background:#4a351b;color:#ffd78c;border-color:#986d31}.number{color:#5ee2c6;border-color:#2e7f78;background:#103c43}.asset-link{color:var(--ink)}html[data-theme=dark] td code{color:#5ed4ff}html[data-theme=dark] .badge:not(.review){color:#84d9fa;background:#15384f;border-color:#366887}
.network .zone-band{fill:#10263e;stroke:#375a7a}.network .edge{stroke:#56b8cb;stroke-width:1.7;opacity:.6}.network .node circle{fill:#0b1b2d;stroke:#38bdf8;stroke-width:2}.network .node:nth-of-type(3n) circle{stroke:#34d399}.network .node:nth-of-type(3n + 1) circle{stroke:#a78bfa}.network text{fill:#c3d5e8}.network .node:hover circle,.network .node:focus circle{stroke:#f8c568;stroke-width:3}.cell[data-risk=high]{background:#5a2b2f;color:#ffb7b9;border-color:#a44b55}.cell.selected{outline:3px solid #38bdf8}.step.active{border-color:#38bdf8;background:#153e57}.detail-brand{background:transparent;padding:0}.dialog-top{border-bottom-color:#38bdf8}
html[data-theme=light] .network .zone-band{fill:#edf3f9;stroke:#94a8bd}html[data-theme=light] .network text{fill:#243b53}
@media(max-width:660px){.brand img{width:205px;height:40px}.bar{grid-template-columns:0 1fr 44px}}
.cell[data-score="1"],.cell[data-score="2"],.cell[data-score="3"]{background:#124a43;border-color:#288977;color:#94efd6}.cell[data-score="4"],.cell[data-score="6"]{background:#59451d;border-color:#aa8036;color:#ffe0a1}.cell[data-score="8"],.cell[data-score="9"]{background:#633e24;border-color:#ba713f;color:#ffd0a6}.cell[data-score="12"],.cell[data-score="16"]{background:#662c3a;border-color:#c05b6b;color:#ffd0d7}
