/* T8C: original Core .distance-avl / .corridor-* geometry and colours are authoritative.
 * This only scopes the accepted Live AVL board to the Training Centre and sets viewport.
 */
.tc6-page .t8c-board-host{min-width:0;margin:11px 0 13px;font-family:inherit;color:#15212b}
.tc6-page .t8c-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid #dbe2e8;border-left:4px solid #d72631;border-radius:8px;padding:9px 14px}
.tc6-page .t8c-banner .eyebrow{color:#aa2330;font-weight:900;letter-spacing:.7px;font-size:9px}
.tc6-page .t8c-banner h3{font-size:15px;margin:2px 0}
.tc6-page .t8c-banner p{margin:0;color:#53697c;font-size:10px}
.tc6-page .t8c-label{white-space:nowrap;background:#fff0f0;color:#b21c29;font-size:10px;border:1px solid #e1b9bc;border-radius:6px;padding:7px 10px;font-weight:900}
.tc6-page .t8c-controls{background:#fff;display:flex;align-items:center;gap:9px;padding:8px 12px;border:1px solid #dfe6ed;border-top:0;border-radius:0 0 7px 7px;min-width:0}
.tc6-page .t8c-controls .t8c-context{font-size:10px;font-weight:850;color:#31536f;margin-right:auto;white-space:nowrap}
.tc6-page .t8c-controls button{font-size:9px;padding:5px 8px;min-height:27px;white-space:nowrap}
.tc6-page .t8c-controls input[type=range]{width:120px;accent-color:#d72631;cursor:pointer}
.tc6-page .t8c-clock{font-size:10px;font-weight:850;color:#173653;white-space:nowrap}
.tc6-page .t8c-withheld{border:1px dashed #c3d1dc;background:#fafcfd;color:#506579;padding:20px 14px;font-size:11px;border-radius:6px;text-align:center}
.tc6-page .t8c-frame{border:1px solid #d6e0e8;border-radius:8px;background:#fff;overflow:hidden;min-width:0}
.tc6-page .t8c-frame .t8c-kpis{margin:0;border-radius:0!important;display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;overflow:hidden!important}
.tc6-page .t8c-frame .t8c-kpis article{padding:8px 9px!important;min-width:0}
.tc6-page .t8c-frame .t8c-kpis span{font-size:8px!important}
.tc6-page .t8c-frame .t8c-kpis strong{font-size:15px!important}
.tc6-page .t8c-frame .t8c-kpis small{font-size:8px!important}
.tc6-page .t8c-evidence-watch{margin:0!important;padding:6px 10px!important;border-top:1px solid #d7e2eb!important;display:flex!important;gap:12px;justify-content:space-between;align-items:center;min-height:37px!important}
.tc6-page .t8c-evidence-watch b{font-size:9px}
.tc6-page .t8c-evidence-watch span{font-size:8px}
.tc6-page .t8c-evidence-watch .service-delivery-counts{display:flex;flex-wrap:wrap;gap:6px}
.tc6-page .t8c-live-board{--avl-board-height:295px;--avl-inbound-rail-pct:52%;--avl-outbound-rail-pct:40%;--avl-bus-scale:.94;--avl-bus-card-width-px:72px;--avl-bus-card-height-px:46px;--avl-stop-label-px:8px;--avl-rail-touch-overlap-px:1px;height:295px!important;min-height:295px!important;max-height:295px!important;border:0!important;border-radius:0!important}
.tc6-page .t8c-live-board .distance-avl{display:grid!important;grid-template-rows:34px minmax(0,1fr)!important;height:100%!important}
.tc6-page .t8c-live-board .distance-avl-head{height:34px!important;padding:4px 12px!important;display:flex;gap:14px;align-items:center;min-width:0}
.tc6-page .t8c-live-board .gtfs-alignment-note{font-size:9px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.tc6-page .t8c-method{display:inline-block;padding:4px 7px;font-size:9px;font-weight:850;color:#fff;background:#16314f;border-radius:5px;white-space:nowrap}
.tc6-page .t8c-status-legend{display:flex;gap:10px;align-items:center;flex-shrink:0;font-size:8px;color:#637488}
.tc6-page .t8c-status-legend span{display:flex;align-items:center;gap:4px}
.tc6-page .t8c-status-legend i{width:10px;height:6px;border-radius:2px}
.tc6-page .t8c-live-board .distance-avl-body{grid-template-rows:1fr 1fr!important;position:relative!important;min-height:0!important;padding:0 12px 4px 0!important}
.tc6-page .t8c-live-board .corridor-guide-layer{left:122px!important;right:22px!important;position:absolute!important}
.tc6-page .t8c-live-board .corridor-lane{grid-template-columns:122px minmax(0,1fr)!important;min-height:0!important}
.tc6-page .t8c-live-board .corridor-stop-copy b{font-size:8px!important;max-height:30px!important;line-height:1.05}
.tc6-page .t8c-live-board .corridor-stop-copy small{font-size:7px!important}
.tc6-page .t8c-live-board .corridor-stop-copy{width:78px!important}
.tc6-page .t8c-live-board .corridor-stop-copy b{text-shadow:0 1px #fff,0 -1px #fff}
.tc6-page .t8c-live-board .corridor-bus.t8c-training-bus{--bus-status-color:#f3c900;--bus-status-text:#0f2d55;background:var(--bus-status-color)!important;color:var(--bus-status-text)!important;cursor:help;pointer-events:auto;overflow:hidden}
.tc6-page .t8c-live-board .corridor-bus.t8c-training-bus.stale{--bus-status-color:#aeb8c4;--bus-status-text:#1b2732}
.tc6-page .t8c-live-board .corridor-bus.t8c-training-bus.close{--bus-status-color:#ea2d32;--bus-status-text:#fff}
.tc6-page .t8c-live-board .corridor-bus.t8c-training-bus b{font-size:10px!important}
.tc6-page .t8c-live-board .corridor-bus.t8c-training-bus span{font-size:7px!important}
.tc6-page .t8c-live-board .corridor-bus.t8c-training-bus small{font-size:7px!important}
.tc6-page .t8c-live-board .corridor-empty{font-size:8px!important}
.tc6-page .t8c-bottom-dock{display:flex;align-items:center;gap:7px;border-top:1px solid #d7e2ea;padding:7px;background:#f8fafb;min-width:0}
.tc6-page .t8c-dock-tab{display:flex;flex-direction:column;gap:1px;background:#eef3f7;border:1px solid #e1e8ee;border-radius:6px;padding:5px 13px;min-width:120px}
.tc6-page .t8c-dock-tab:first-child{background:#183d65;color:#fff}
.tc6-page .t8c-dock-tab b{font-size:9px}
.tc6-page .t8c-dock-tab small{font-size:7px}
.tc6-page .t8c-truth-footer{margin-left:auto;font-size:8px;color:#ae2531;font-weight:900;white-space:nowrap}
@media(max-width:1240px){.tc6-page .t8c-frame .t8c-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important}.tc6-page .t8c-evidence-watch{flex-wrap:wrap}.tc6-page .t8c-status-legend{display:none}}
@media(max-width:760px){.tc6-page .t8c-controls{flex-wrap:wrap}.tc6-page .t8c-controls .t8c-clock{width:100%}.tc6-page .t8c-live-board{height:310px!important;min-height:310px!important;max-height:310px!important}.tc6-page .t8c-live-board .corridor-lane{grid-template-columns:70px minmax(0,1fr)!important}.tc6-page .t8c-live-board .corridor-guide-layer{left:70px!important}.tc6-page .t8c-live-board .corridor-dir{margin-left:3px;margin-right:3px;padding:5px 3px}.tc6-page .t8c-frame .t8c-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tc6-page .t8c-dock-tab{min-width:0;padding:5px}.tc6-page .t8c-truth-footer{display:none}}
@media print{.tc6-page .t8c-live-board{break-inside:avoid}.tc6-page .t8c-controls{display:none!important}}

/* Live-AVL-style route picker remains above the diagram, not buried below the command desk. */
.tc6-page .t8c-route-selector{margin:9px 0 0}.tc6-page .t8c-route-selector .t8b-card{display:grid;grid-template-columns:240px minmax(320px,1fr);gap:8px 14px;align-items:center;padding:9px 12px}.tc6-page .t8c-route-selector .t8b-card-head{margin:0}.tc6-page .t8c-route-selector .t8b-selectors{grid-template-columns:minmax(200px,1.25fr) minmax(200px,1fr)}.tc6-page .t8c-route-selector .t8b-muted{grid-column:1/-1;margin:0;font-size:9px}@media(max-width:950px){.tc6-page .t8c-route-selector .t8b-card{grid-template-columns:1fr}}
