.model-instrument { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(16rem,1fr); background:var(--paper); border:1px solid var(--line); }
.model-plot { min-width:0; }
#graph { display:block; width:100%; height:auto; background:radial-gradient(ellipse at 50% 50%,#102329,#061014 74%); }
#graph line.native-bond {stroke:#365459;stroke-width:1.9;}
#graph line.native-bond.active {stroke:#64dfd6;stroke-width:4;}
#graph circle.native-station {fill:#33555b;stroke:#526d73;stroke-width:.6;}
#graph circle.native-station.inside {fill:#615077;stroke:#d2b5ef;stroke-width:1.25;}
#graph circle.native-station.odd {fill:#ffc779;stroke:#fff0cd;stroke-width:2;}
#graph .cross-mark {stroke:#ceaaef;stroke-width:2.5;stroke-linecap:round;}
#graph .cross-mark.on {stroke:#efd5ff;stroke-width:3.3;}
#graph circle.target {fill:none;stroke:#e1c1fe;stroke-width:1.35;stroke-dasharray:4 3;}
.model-readout { min-width:0; padding:1rem 1.25rem; border-left:1px solid var(--line); background:#0c1a1f; }
.model-readout h3 { margin:.25rem 0 .5rem; font:600 1rem/1.4 var(--mono); }
.model-readout dl { margin:.5rem 0; }
.model-readout dl div {display:flex;justify-content:space-between;gap:.75rem;border-bottom:1px solid var(--line);padding:.38rem 0;}
.model-readout dt { color:var(--muted); font-size:.9rem; }
.model-readout dd {text-align:right; margin:0; font:500 .92rem/1.45 var(--mono);overflow-wrap:anywhere;}
.model-readout a {font-size:.9rem;}
.comparison,.crossings-table table {width:100%;border-collapse:collapse; font-size:.9rem;}
.comparison {margin:.65rem 0 1.45rem;}
.comparison :is(th,td),.crossings-table :is(th,td) {padding:.48rem .35rem;border-bottom:1px solid var(--line);}
.comparison th:first-child,.crossings-table th {text-align:left;}
.comparison tbody th {font-weight:400;}
.comparison td {text-align:center;font:600 1.04rem/1.2 var(--mono);color:var(--muted);}
.comparison td[data-odd=true] {color:var(--amber);}
.crossings-table {overflow:auto;}
.crossings-table td {font-family:var(--mono);}
#phase {width:100%; accent-color:var(--accent); margin:.6rem 0;}
#phase-name {color:var(--amber);}
.cut {width:.7rem;height:.16rem;background:var(--violet);transform:rotate(-50deg);}
#sim-status {display:block;color:var(--warning);font-size:.9rem;margin:.3rem 0;}
@media(max-width:51rem){ .model-instrument { grid-template-columns:1fr; } .model-readout {border-left:0;border-top:1px solid var(--line);} }
#graph {background:#030704;}
#graph line.native-bond {stroke:#2d5436;}
#graph line.native-bond.active {stroke:#69e280;}
#graph circle.native-station {fill:#45734e;stroke:#658e6c;}
.model-readout {background:#070d08;}
