/* Offline vector laboratory instrumentation. */
.vbench{margin:12px 0 20px;border:1px solid #c4d2e2;border-radius:18px;overflow:hidden;background:#0b1829;color:#e1edf9;box-shadow:0 14px 32px #122b4d22;font-family:Inter,'Segoe UI',sans-serif}.vb-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:15px 19px;background:linear-gradient(120deg,#172f48,#102337);border-bottom:1px solid #37536c}.vb-head strong{font-size:16px;letter-spacing:-.01em;color:#f0f8ff}.vb-head small,.vb-foot{font-size:11px;color:#b5c9db}.vb-tag{font:700 10px/1.4 ui-monospace,monospace;letter-spacing:.12em;color:#a0efd4;border:1px solid #397c74;border-radius:6px;padding:6px 9px}.vb-scroll{overflow-x:auto;overscroll-behavior-x:contain}.vb-scene{display:block;width:100%;height:auto;min-width:650px;max-height:none!important;margin:0!important;border-radius:0!important}.vb-scene text{font-family:'Segoe UI',system-ui,sans-serif;fill:#d9e7f4}.vb-scene .mono{font-family:Consolas,monospace}.vb-scene .minor{fill:#9db4ca}.vb-scene .screen{fill:#08121e;stroke:#41607c}.vb-scene .pcb{stroke:#62a99b;stroke-width:1.4}.vb-scene .wire6{fill:none;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.vb-scene .signal6{stroke:#70f0c5;stroke-dasharray:5 14;opacity:.12}.vbench.vb-pulse .signal6{opacity:1;animation:vb-flow .65s linear 2}.vbench.vb-on .led6{fill:#faffb0;filter:drop-shadow(0 0 9px #f4fd7e)}.vbench .led6{fill:#5a4534}.vbench.vb-on .rotor6{animation:vb-spin .42s linear infinite}.rotor6{transform-box:fill-box;transform-origin:center}.vbench.vb-on .sound6{opacity:1;animation:vb-sound .65s ease-out infinite}.sound6{opacity:.15}.vbench.vb-on .button6{fill:#203b49;transform:translateY(2px)}.vb-scene .stage-ok{stroke:#60e5b5!important;fill:#163f3e!important}.vb-scene .stage-fail{stroke:#ff8c91!important;fill:#4c352d!important}.vb-scene .pin-selected{stroke:#fff3a2!important;stroke-width:3!important;fill:#f9c658!important}.vb-foot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#10263b;padding:11px 16px;border-top:1px solid #36506a}.vb-status{font:600 12px/1.5 Consolas,monospace;color:#a5f2d6;overflow-wrap:anywhere}.vb-instruments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:12px 15px;background:#0e2032}.vb-instruments>div{min-width:0;background:#142c42;border:1px solid #36516a;border-radius:9px;padding:10px 12px}.vb-instruments small{display:block;color:#a5bdd3;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.vb-instruments b{display:block;margin-top:4px;color:#f1fbff;font-size:15px;overflow-wrap:anywhere}.vb-trace{padding:0 15px 15px}.vb-trace h4{margin:4px 0 8px;color:#bfcee1;font-size:11px;text-transform:uppercase;letter-spacing:.1em}.vb-sequence{display:flex;gap:7px;flex-wrap:wrap}.vb-sequence span{padding:5px 8px;border:1px solid #3c526b;border-radius:5px;font:11px Consolas,monospace;color:#c4d7e8;background:#14293d}.vb-sequence span.good{border-color:#438675;color:#a5f2d6}.vb-sequence span.bad{border-color:#b95d42;color:#ffc0a5}.vb-data{margin:12px 0 0;overflow:auto;border:1px solid #c4d5e3;border-radius:12px;background:#fff;color:#17324b}.vb-data table{width:100%;font-size:12px;font-variant-numeric:tabular-nums}.vb-data th{background:#eaf1f7;white-space:nowrap}.vb-data td{white-space:nowrap}.vb-data h4{margin:12px 15px 6px;font-size:13px}.vb-chartgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin:12px 0}.vb-chart{background:#112337;border:1px solid #36516a;border-radius:11px;padding:9px;color:#dce9f5;min-width:0}.vb-chart small{font-size:11px}.vb-chart svg{display:block;width:100%;height:auto}.sim .stage.vb-legacy{display:none!important}.sim .route-strip{display:none!important}.sim .sim-metrics{display:none!important}.sim .model-meta{display:none!important}.sim .simcontrols{padding:12px;background:#f1f5f9;border:1px solid #d4e1eb;border-radius:12px;gap:10px}.sim .simcontrols label{min-width:0}.vb-scope-note{font-size:11px;color:#9db4ca}.vb-source{color:#9db4ca;font-size:11px}.vb-explain{border-left:3px solid #388c88;padding:10px 14px;margin:10px 0;background:#edf7f6;color:#244758;font-size:13px}.vb-meter{transition:width .2s}.vb-gauge{transition:stroke-dasharray .2s}.vb-mini{height:8px;border-radius:3px;background:#36516a}.vb-mini i{display:block;height:100%;background:#62cbaa}.vb-scene .flow-node{transition:fill .2s,stroke .2s}@keyframes vb-flow{to{stroke-dashoffset:-38}}@keyframes vb-spin{to{transform:rotate(360deg)}}@keyframes vb-sound{50%{opacity:.35}}@media(max-width:650px){.vb-instruments{grid-template-columns:1fr 1fr}.vb-head{padding:12px}.vb-scene{min-width:680px}.vb-foot:after{content:'Swipe the instrument view to explore';color:#9db4ca}.vb-chartgrid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.vbench *{animation:none!important;transition:none!important}}
/* Keep wide instrument and source tables inside their own scroll regions. */
.sim,.vbench,.vb-scroll,.vb-data,.wiring{min-width:0;max-width:100%}.wiring{overflow-x:auto}.vb-scroll{width:100%}.vbench.vb-pulse .publish6{fill:#e7ffac;filter:drop-shadow(0 0 6px #e1fa9b)}.vb-scene .flow-node.stage-fail~.signal6{opacity:.12}.vb-scene .minor{font-weight:400}.vb-inputstrip{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:9px;padding:0 15px 12px;background:#0e2032}.vb-inputstrip>div{border:1px solid #3e536b;border-radius:8px;padding:8px 10px;font-size:12px;color:#b6cde2}.vb-inputstrip b{display:block;margin:3px 0 7px;color:#f1f9ff;font-size:18px}.vb-inputstrip i{border-radius:3px}.vb-inputstrip .vb-mini{overflow:hidden}.vb-scroll:focus-visible{outline:2px solid #85e7c8;outline-offset:-3px}@media(max-width:650px){.wiring table{min-width:420px}.vb-inputstrip{grid-template-columns:repeat(2,minmax(0,1fr))}}
