/* The Comparator hero (comparator.js): a side elevation of the bench, drawn in board.css tokens.
   Arms differ by lane position, marker shape and name; --arm colour (board.css .arm-*) is extra. */
.cmp { padding-bottom: 12px; }
.cmp .sheet-head { margin-bottom: 4px; }
.cmp-box { position: relative; min-height: 120px; }
.cmp-svg { display: block; overflow: visible; font-family: var(--mono); }
.cmp-svg text { fill: var(--ink); }
.cmp-hl { stroke: var(--axis); stroke-width: 1; }
.cmp-hatch { fill: url(#cmp-hatch); }
.cmp-edge { stroke: var(--ink); stroke-width: 1.5; }
.cmp-cl { stroke: var(--axis); stroke-width: 1; stroke-dasharray: 14 3 2 3; }
.cmp-rail { stroke: var(--ink); stroke-width: 1.5; }
.cmp-loop { fill: none; stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 4 3; }
.cmp-arrow { fill: none; stroke: var(--ink-2); stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }
.cmp-housing { stroke: var(--ink); stroke-width: 1; }
.cmp-gate { fill: var(--ink); }
.cmp-coil { fill: none; stroke: var(--ink-2); stroke-width: 1.3; stroke-linejoin: round; }
.cmp-post { stroke: var(--ink); stroke-width: 1.5; }
.cmp-hub { fill: var(--ink); }
.cmp-lead { stroke: var(--muted); stroke-width: 0.8; }
.cmp-svg .t-small { fill: var(--muted); }
.cmp-svg .t-mech { fill: var(--ink-2); font-weight: 700; letter-spacing: 0.08em; }
.cmp-svg .t-name { font-weight: 700; }
.cmp-svg .t-desc { fill: var(--muted); font-weight: 400; }
.cmp-svg .t-count { fill: var(--ink-2); font-variant-numeric: tabular-nums; }
.cmp-svg .t-count .b { fill: var(--ink); font-weight: 700; }
.cmp-svg .t-wait { fill: var(--muted); font-style: italic; }
.cmp-glyph > *, .cmp-dot > * { fill: var(--arm); stroke: var(--sheet); stroke-width: 1.5; paint-order: stroke; }
.cmp-dot.back > * { fill: var(--sheet); stroke: var(--arm); stroke-width: 2.2; }
.cmp-stk rect { stroke-width: 1.5; }
.cmp-svg .cmp-stk text { font-weight: 800; letter-spacing: 0.1em; }
.stk-lab rect { fill: var(--warn-bg); stroke: #0b0b0b; }
.cmp-svg .stk-lab text { fill: #0b0b0b; }
.stk-live rect { fill: var(--sheet); stroke: var(--good); }
.cmp-svg .stk-live text { fill: var(--good); }
.stk-planted rect { fill: var(--sheet); stroke: var(--planted); stroke-dasharray: 3 2; }
.cmp-svg .stk-planted text { fill: var(--planted); }
.stk-unknown rect { fill: var(--sheet); stroke: var(--muted); }
.cmp-svg .stk-unknown text { fill: var(--muted); }
.cmp-cap { margin: 10px 0 0; max-width: 92ch; }
.film .cmp { padding: 22px 26px 18px; }
.film .cmp h2 { font-size: 26px; }
.film .cmp-cap { font-size: 16px; }
@media (forced-colors: active) {
  .cmp-glyph > *, .cmp-dot > * { fill: CanvasText; }
  .cmp-dot.back > * { fill: Canvas; stroke: CanvasText; }
}
@media print { .cmp-dots { display: none; } }
