:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg-0:#07090d;--bg-1:#0d1017;--bg-2:#151a24;--bg-3:#1e2532;--line:#2b3548;--text:#e9edf5;--text-dim:#a6b0c4;--text-faint:#7a859b;--gold:#ffd45c;--blue:#5b9cff;--focus:#9ccbff;--red:#ff4d4d;--ok:#4ade80;--c-line:#2f9bff;--c-lowac:#3fd6e6;--c-dc:#ffb21f;--c-ground:#2fc35a;--c-dead:#5d6678;--ink:#c9d1de;--font:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--mono:ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;--radius:14px;--ease:cubic-bezier(.2, .7, .2, 1)}*,:before,:after{box-sizing:border-box}[hidden]{display:none!important}html,body{height:100%;margin:0}body{background:var(--bg-0);color:var(--text);font:15px/1.45 var(--font);overflow:hidden}#app{grid-template-rows:minmax(0,1fr) auto;height:100vh;display:grid}.screen-host{min-height:0}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}h1,h2,h3{margin:0;line-height:1.2}.dim{color:var(--text-dim)}.error{color:#ff8a80;min-height:1.4em;margin:6px 0 0}.btn{font:inherit;color:var(--text);background:var(--bg-3);border:1px solid var(--line);cursor:pointer;transition:background .16s var(--ease), border-color .16s var(--ease);border-radius:10px;padding:7px 14px;font-weight:600}.btn:hover{background:#283246;border-color:#3a4760}.btn-primary{background:var(--gold);color:#17140a;border-color:var(--gold)}.btn-primary:hover{background:#ffe08a;border-color:#ffe08a}.btn-quiet{background:0 0}.btn-small{padding:4px 10px;font-size:13px}.card{background:var(--bg-1);border:1px solid var(--line);border-radius:var(--radius);padding:14px 16px}.card h2{letter-spacing:.08em;text-transform:uppercase;color:var(--text-dim);margin-bottom:10px;font-size:13px}.app-footer{color:var(--gold);background:var(--bg-1);border-top:1px solid var(--line);gap:6px;padding:5px 16px;font-size:12px;display:flex}.app-footer .dim{color:var(--text-faint)}.start{max-width:1280px;height:100%;margin:0 auto;padding:48px clamp(24px,6vw,96px);overflow:auto}.start-head{margin-bottom:28px}.eyebrow{color:var(--gold);letter-spacing:.08em;text-transform:uppercase;margin:0 0 6px;font-size:13px;font-weight:600}.start h1{font-size:40px}.lede{color:var(--text-dim);max-width:62ch;font-size:17px}.start-grid{grid-template-columns:1fr 1fr 1.25fr;align-items:start;gap:18px;display:grid}.start .card h2{text-transform:none;letter-spacing:0;color:var(--text);font-size:20px}.choice p{color:var(--text-dim);min-height:3em}.code-form label{color:var(--text-dim);margin-bottom:4px;font-size:13px;display:block}.code-row{gap:8px;display:flex}.code-input{font:600 20px/1 var(--mono);letter-spacing:.12em;text-transform:uppercase;width:10ch;color:var(--text);background:var(--bg-0);border:1px solid var(--line);border-radius:10px;padding:8px 10px}.safety ul{color:var(--text);margin:0 0 10px;padding-left:18px}.safety li{margin-bottom:4px}.safety{border-color:#4a3d14}.safety h2{color:var(--gold)!important}.start-foot{align-items:center;gap:12px;margin-top:24px;display:flex}.bench{grid-template-rows:auto minmax(0,1fr);height:100%;display:grid}.topbar{background:var(--bg-1);border-bottom:1px solid var(--line);flex-wrap:nowrap;align-items:center;gap:14px;min-width:0;padding:8px 14px;display:flex}.brand{white-space:nowrap;align-items:baseline;gap:8px;display:flex}.brand strong{color:var(--gold);font-size:17px}.chip{font:600 14px var(--mono);background:var(--bg-2);border:1px solid var(--line);white-space:nowrap;border-radius:999px;padding:3px 10px}.timer{font:14px var(--mono);color:var(--text-dim);white-space:nowrap}.timer.over{color:var(--gold)}.seg-group{border:1px solid var(--line);border-radius:10px;display:inline-flex;overflow:hidden}.seg{font:inherit;color:var(--text-dim);cursor:pointer;background:0 0;border:0;padding:6px 12px;font-size:13px}.seg[aria-checked=true]{background:var(--bg-3);color:var(--text)}.top-actions{white-space:nowrap;gap:8px;margin-left:auto;display:flex}#explain-toggle[aria-pressed=true]{border-color:var(--gold);color:var(--gold)}.bench-main{grid-template-columns:minmax(0,1fr) 372px;min-height:0;display:grid}.stage{min-width:0;min-height:0;padding:10px;display:flex}.view{flex:1;min-width:0;min-height:0;display:flex}.side{flex-direction:column;gap:10px;min-height:0;padding:10px 12px 10px 0;display:flex;overflow-y:auto}.sw-row{grid-template-columns:repeat(5,1fr);gap:6px;display:grid}.sw{font:inherit;color:var(--text);background:var(--bg-2);border:1px solid var(--line);cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:none;border-radius:10px;justify-items:center;gap:2px;padding:6px 4px;display:grid}.sw:hover{border-color:#3a4760}.sw-name{white-space:nowrap;font-size:12px;font-weight:600}.sw-state{color:var(--text-faint);font-size:11px}.sw-lever{width:8px;height:18px;transition:transform .15s var(--ease), background .15s;background:#4a556b;border-radius:4px;transform:rotate(-24deg)}.sw.is-on .sw-lever{background:var(--gold);transform:rotate(24deg)}.sw.is-on .sw-state{color:var(--gold)}.sw-cap{background:#c0392b;border-radius:50%;width:18px;height:18px;transition:transform 80ms,box-shadow 80ms;box-shadow:0 3px #6e1d16}.sw-push.is-on .sw-cap{transform:translateY(3px);box-shadow:0 0 #6e1d16}.ind-row{align-items:center;gap:6px;margin-top:10px;display:flex}.ind{background:var(--bg-2);color:var(--text-dim);border-radius:8px;align-items:center;gap:5px;padding:3px 7px;font-size:12px;font-weight:600;display:inline-flex}.ind-gap{flex:1}.ind-dot{background:#2a3140;border:1px solid #4a556b;border-radius:50%;width:12px;height:12px}.lamp.is-lit{color:var(--text)}.lamp.is-lit .ind-dot{background:var(--gold);border-color:var(--gold);box-shadow:0 0 10px 2px #ffd45c8c}.ind-flag{background:#2a3140;border:1px solid #4a556b;border-radius:2px;width:10px;height:12px}.relay.is-energised{color:var(--text)}.relay.is-energised .ind-flag{background:var(--gold);border-color:var(--gold)}.dial{grid-template-columns:repeat(5,1fr);gap:4px;margin-bottom:8px;display:grid}.dial-pos{font:600 15px var(--font);color:var(--text-dim);background:var(--bg-2);border:1px solid var(--line);cursor:pointer;border-radius:8px;padding:6px 0}.dial-pos[aria-checked=true]{color:#17140a;background:var(--gold);border-color:var(--gold)}.lcd{min-height:58px;font-family:var(--mono);background:#05070a;border:1px solid #2a3346;border-radius:10px;justify-content:flex-end;align-items:baseline;gap:8px;padding:8px 14px;display:flex}.lcd-value{color:var(--gold);letter-spacing:.04em;font-variant-numeric:tabular-nums;font-size:36px;font-weight:600}.lcd-unit{color:var(--text-dim);min-width:3.4em;font-size:16px}.lcd-beep{color:#3a4458;order:-1;margin-right:auto;font-size:14px}.lcd-beep.on{color:var(--gold)}.lcd[data-state=refused] .lcd-value{color:#ff8a80}.lcd-msg{min-height:1.3em;color:var(--text-dim);margin:5px 0 6px;font-size:13px}.lcd[data-state=refused]+.lcd-msg{color:#ff8a80;font-weight:600}.leads{gap:6px;display:grid}.lead{border:1px solid #0000;border-radius:10px;grid-template-columns:auto 82px minmax(0,1fr) auto;align-items:center;gap:6px;padding:3px;display:grid}.lead.active{background:var(--bg-2);border-color:#3a4760}.lead-name{color:var(--text-dim);font-size:12px}.lead-select,.pick{font:inherit;color:var(--text);background:var(--bg-0);border:1px solid var(--line);border-radius:8px;min-width:0;padding:4px 6px;font-size:13px}.token{cursor:grab;border:2px solid var(--text);touch-action:none;border-radius:50%;width:26px;height:26px}.token-red{background:var(--red)}.token-black{background:#111}.token[aria-pressed=true]{box-shadow:0 0 0 3px var(--gold)}.ghost.will-land{width:22px;height:22px;margin:-2px 0 0 -2px;box-shadow:0 0 0 4px #ffd24a8c}.ghost{pointer-events:none;z-index:50;border:2px solid #fff;border-radius:50%;width:18px;height:18px;position:fixed;top:0;left:0}.meter-foot{justify-content:space-between;align-items:center;margin-top:8px;font-size:13px;display:flex}.check{color:var(--text-dim);cursor:pointer;align-items:center;gap:6px;display:inline-flex}.tip-line{color:var(--text-dim);border-left:3px solid var(--gold);margin:0;padding:4px 10px;font-size:13px}.explain{border-color:var(--gold)}.explain h2{color:var(--gold);text-transform:none;letter-spacing:0;font-size:17px}.explain p{margin:0 0 8px;font-size:14px}.legend{gap:3px;margin:8px 0;padding:0;font-size:13px;list-style:none;display:grid}.legend li{align-items:center;gap:8px;display:flex}.sw-line{border-radius:2px;width:26px;height:4px;display:inline-block}.sw-line.feed-line{background:var(--c-line)}.sw-line.feed-lowac{background:var(--c-lowac)}.sw-line.feed-dc{background:var(--c-dc)}.sw-line.feed-ground{background:var(--c-ground)}.sw-line.feed-dead{background:var(--c-dead)}.facts{grid-template-columns:auto 1fr;gap:3px 12px;margin:6px 0;font-size:14px;display:grid}.facts dt{color:var(--text-dim)}.facts dd{margin:0}.num{font-family:var(--mono)}.dlg{background:var(--bg-1);color:var(--text);border:1px solid var(--line);border-radius:16px;width:min(620px,92vw);max-height:88vh;padding:0}.dlg::backdrop{background:#030509b3}.dlg-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:14px 18px;display:flex}.dlg-head h2{font-size:18px}.dlg-body{max-height:calc(88vh - 60px);padding:14px 18px 18px;overflow:auto}.dlg-actions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.how{border:0;gap:4px;margin:0 0 10px;padding:0;display:grid}.how legend{margin-bottom:4px;font-weight:600}.radio{cursor:pointer;align-items:center;gap:6px;display:flex}.bracket,.named{background:var(--bg-2);border-radius:12px;margin-bottom:10px;padding:10px 12px}.say{color:var(--gold);margin:0 0 6px;font-weight:600}.pick-row{align-items:center;gap:8px;margin-bottom:8px;display:flex}.pick-row label{color:var(--text-dim);font-size:13px}.named label{color:var(--text-dim);margin-bottom:4px;font-size:13px;display:block}#ans-named{width:100%;font:inherit;color:var(--text);background:var(--bg-0);border:1px solid var(--line);border-radius:8px;padding:6px 8px}.notes summary{cursor:pointer;color:var(--text-dim);margin-bottom:6px}.field{margin-bottom:8px}.field label{color:var(--text-dim);font-size:13px;display:block}.field textarea{width:100%;font:inherit;color:var(--text);background:var(--bg-0);border:1px solid var(--line);resize:vertical;border-radius:8px;padding:6px 8px;font-size:14px}.feedback{min-height:1.4em;margin:8px 0 0;font-weight:600}.feedback.wrong{color:#ff8a80}.feedback.invalid{color:var(--gold)}.big-ok{color:var(--ok);margin-top:0;font-size:20px;font-weight:700}.big-no{color:var(--gold);margin-top:0;font-size:18px;font-weight:700}.codes{gap:28px;margin:10px 0;display:flex}.codes p{margin:0}.code-big{font:700 34px var(--mono);color:var(--gold);letter-spacing:.08em}.code-mid{font:600 22px var(--mono);padding-top:8px}.log{border-collapse:collapse;width:100%;font-size:14px}.log th,.log td{text-align:left;border-bottom:1px solid var(--line);padding:4px 8px}.hints li{margin-bottom:8px}.schematic{background:var(--bg-1);border:1px solid var(--line);border-radius:var(--radius);width:100%;height:100%}.schematic text{font-family:var(--font);fill:var(--text)}.schematic .lbl-name{font-size:27px;font-weight:600}.schematic .lbl-small{fill:var(--text-dim);font-size:22px}.schematic .lbl-pin{fill:var(--text-dim);font-size:19px}.schematic .lbl-note{fill:var(--text-dim);font-size:24px}.schematic .lbl-tb{font-size:21px;font-weight:600}.schematic .lead,.schematic .wire,.schematic .winding,.schematic .blade,.schematic .fuse-link,.schematic .sine,.schematic .ground path,.schematic .pb-cap path,.schematic .lamp-rays,.schematic .lamp-x,.schematic .art-slot,.schematic .art-plug{fill:none;stroke:var(--ink);stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.schematic .winding{stroke-width:4px}.schematic .frame{fill:none;stroke:var(--line);stroke-width:2px}.schematic .enclosure{fill:none;stroke:#6b768c;stroke-width:2px;stroke-dasharray:2 9;stroke-linecap:round}.schematic .tb{fill:var(--bg-2);stroke:var(--ink);stroke-width:2.5px}.schematic .term,.schematic .junction{fill:var(--ink)}.schematic .clip,.schematic .source,.schematic .lamp-face{fill:var(--bg-1);stroke:var(--ink);stroke-width:3px}.schematic .diode{fill:var(--ink)}.schematic .diode-bar{stroke:var(--ink);stroke-width:3px}.schematic .art{fill:var(--bg-3);stroke:var(--ink);stroke-width:2.5px}.schematic .art-face{fill:var(--bg-2);stroke:var(--ink);stroke-width:2px}.schematic .art-hole{fill:var(--ink)}.schematic .art-plug{stroke-width:2.5px}.schematic .ground path{stroke-width:3px}.schematic .hit{fill:#0000;stroke:none}.schematic .control{cursor:pointer}.schematic .control:hover .blade,.schematic .control:hover .pb-cap path{stroke:var(--gold)}.schematic .control:focus{outline:none}.schematic .control:focus-visible .hit{stroke:var(--focus);stroke-width:3px;fill:#9ccbff14;rx:8px}.schematic .sym-toggle .blade-on{visibility:hidden}.schematic .sym-toggle.is-on .blade-on{visibility:visible}.schematic .sym-toggle.is-on .blade-off{visibility:hidden}.schematic .pb-cap{transition:transform 80ms}.schematic .sym-pushbutton.is-on .pb-cap{transform:translateY(9px)}.schematic .sym-pushbutton.is-on .pb-cap path{stroke:var(--gold)}.schematic .cdot{fill:var(--bg-1);stroke:var(--ink);stroke-width:2.5px}.schematic .contact.is-closed .blade{stroke:var(--gold);stroke-width:5px}.schematic .contact.is-closed .cdot{fill:var(--gold);stroke:var(--gold)}.schematic .lamp-glow{fill:var(--gold);opacity:0;transition:opacity .2s}.schematic .sym-lamp.is-lit .lamp-glow{opacity:.22}.schematic .sym-lamp.is-lit .lamp-face{fill:var(--gold);stroke:var(--gold)}.schematic .sym-lamp.is-lit .lamp-x{stroke:#6b4f00}.schematic .sym-lamp.is-lit .lamp-rays{stroke:var(--gold)}.schematic .relay-flag rect{fill:none;stroke:#4a556b;stroke-width:2px}.schematic .relay-flag text{fill:#17140a;visibility:hidden;font-size:16px;font-weight:700}.schematic .relay-flag.is-energised text{visibility:visible}.schematic .relay-flag.is-energised rect{fill:var(--gold);stroke:var(--gold)}.schematic .pt{cursor:crosshair}.schematic .pt-hit{fill:#0000}.schematic .pt-ring{fill:none;stroke:var(--gold);stroke-width:3px;opacity:0;transition:opacity .12s}.schematic .pt:hover .pt-ring{opacity:.8}.schematic .pt:focus{outline:none}.schematic .pt:focus-visible .pt-ring{opacity:1;stroke:var(--focus);stroke-width:4px}.schematic .pt-tp{fill:var(--bg-1);stroke:var(--ink);stroke-width:2.5px}.schematic .pt-dot{fill:var(--ink)}.schematic .tip rect{fill:#05070a;stroke:var(--gold);stroke-width:2px}.schematic .tip text{font:600 20px var(--mono);fill:var(--gold)}.schematic .pt.is-target .pt-ring{opacity:1;stroke-width:6px}.schematic[data-target-probe=red] .pt.is-target .pt-ring{stroke:var(--red);filter:drop-shadow(0 0 8px var(--red))}.schematic[data-target-probe=black] .pt.is-target .pt-ring{stroke:#fff;filter:drop-shadow(0 0 8px #fff)}.schematic .probe{cursor:grab}.schematic .probe.dragging{cursor:grabbing}.schematic .probe-red .probe-tip{fill:var(--red);stroke:#fff;stroke-width:3px}.schematic .probe-red .probe-body{fill:#b3262b;stroke:#ffb3b3;stroke-width:2px}.schematic .probe-black .probe-tip{fill:#111;stroke:#fff;stroke-width:3px}.schematic .probe-black .probe-body{fill:#1b1e25;stroke:#e9edf5;stroke-width:2px}.schematic .winding-feed{fill:none;stroke-width:5.5px;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.schematic .winding-feed.is-potential{stroke-dasharray:7 6}.schematic .no-current-tag rect{fill:var(--bg-1);stroke:var(--c-dead);stroke-width:1.5px}.schematic .no-current-tag text{font:600 14px var(--font);fill:var(--text-dim)}.sw-line.is-dashed{background:repeating-linear-gradient(90deg, var(--c-line) 0 6px, transparent 6px 10px)}.sw-line.is-gradient{background:linear-gradient(90deg, var(--c-line), var(--c-ground))}.schematic .wire.feed-line{stroke:var(--c-line);stroke-width:4.5px}.schematic .wire.feed-lowac{stroke:var(--c-lowac);stroke-width:4.5px}.schematic .wire.feed-dc{stroke:var(--c-dc);stroke-width:4.5px}.schematic .wire.feed-ground{stroke:var(--c-ground);stroke-width:4.5px}.schematic .wire.feed-dead{stroke:var(--c-dead)}.schematic .sym-fuse.is-open .fuse-link{stroke:#ff3b30;stroke-dasharray:6 8}.schematic .open-mark circle{fill:#ff3b30;stroke:#fff;stroke-width:2.5px}.schematic .open-mark path{stroke:#fff;stroke-width:3.5px;stroke-linecap:round}.schematic .open-mark rect{fill:#ff3b30}.schematic .open-mark text{font:700 20px var(--font);fill:#fff}.view-model{flex:1;grid-template-rows:minmax(0,1fr) auto;gap:8px;min-width:0;min-height:0;display:grid}.model-art{background:var(--bg-1);border:1px solid var(--line);border-radius:var(--radius);min-width:0;min-height:0;display:flex;overflow:hidden}.view-model-art{flex:1;min-width:0;min-height:0;display:flex}svg.model{width:100%;height:100%;display:block}.model .ptext{-webkit-user-select:none;user-select:none;font-family:Arial,Helvetica,Liberation Sans,sans-serif}.model .ptext.print{font-weight:400}.model .part-halo{fill:none;stroke:#0000;stroke-width:6px}.model .control{cursor:pointer}.model .control:focus{outline:none}.model .control:focus-visible .part-halo,.model .control:hover .part-halo{stroke:var(--gold)}.model .lever-down{visibility:visible}.model .lever-up{visibility:hidden}.model .part.is-on .lever-up{visibility:visible}.model .part.is-on .lever-down{visibility:hidden}.model .rk-glow{opacity:0;transition:opacity .16s}.model .part-rocker.is-on .rk-glow{opacity:1}.model .part-rocker.is-on .rk-face{fill:#f0291c}.model .lp-glow,.model .lp-on{opacity:0;transition:opacity .2s}.model .part.is-lit .lp-glow,.model .part.is-lit .lp-on{opacity:1}.model .coil-glow{opacity:0;transition:opacity .16s}.model .part.is-energised .coil-glow{opacity:.95}.model .relay-flag rect{fill:#080a0e99;stroke:#5a6579;stroke-width:2.5px}.model .relay-flag text{font:700 17px var(--font);fill:#17140a;visibility:hidden}.model .part.is-energised .relay-flag rect{fill:var(--gold);stroke:var(--gold)}.model .part.is-energised .relay-flag text{visibility:visible}.model .contact.is-closed .pad{fill:#ffd45c;stroke:#fff1b0}.model .contact.is-closed .ctip{fill:#fff5c0}.model .pin-no{pointer-events:none;font-family:Arial,Helvetica,sans-serif}.model .pt{cursor:crosshair}.model .pt-hit{fill:#0000}.model .pt-ring{fill:none;stroke:var(--gold);stroke-width:4px;opacity:0;transition:opacity .12s}.model .pt:hover .pt-ring{opacity:.85}.model .pt:focus{outline:none}.model .pt:focus-visible .pt-ring{opacity:1;stroke:var(--focus);stroke-width:6px}.model .pt.is-target .pt-ring{opacity:1;stroke-width:8px}.model[data-target-probe=red] .pt.is-target .pt-ring{stroke:var(--red);filter:drop-shadow(0 0 10px var(--red))}.model[data-target-probe=black] .pt.is-target .pt-ring{stroke:#fff;filter:drop-shadow(0 0 10px #fff)}.model .pt.is-linked .pt-ring{opacity:1;stroke:#19e3ff;stroke-width:8px;filter:drop-shadow(0 0 10px #19e3ff)}.model .part.is-linked .part-halo{stroke:#19e3ff;stroke-width:8px;filter:drop-shadow(0 0 10px #19e3ff)}.model .tip rect{fill:#05070a;stroke:var(--gold);stroke-width:3px}.model .tip text{font:600 28px var(--mono);fill:var(--gold)}.model .link-tip rect{stroke:#19e3ff}.model .link-tip text{fill:#19e3ff}.model .probe-pin{cursor:grab}.model .probe.dragging .probe-pin{cursor:grabbing}.model .probe-cable{filter:drop-shadow(0 2px 2px #00000080)}.model .probes.active-red .probe-red .probe-tip,.model .probes.active-black .probe-black .probe-tip{filter:drop-shadow(0 0 6px var(--gold))}.model .open-mark circle{fill:#ff3b30;stroke:#fff;stroke-width:4px}.model .open-mark path{stroke:#fff;stroke-width:5px;stroke-linecap:round}.model .open-mark .open-link{stroke:#ff3b30;stroke-width:7px;stroke-dasharray:14 10}.model .open-mark .open-tag{fill:#ff3b30;stroke:#fff;stroke-width:3px}.model .open-mark text{font:700 30px var(--font);fill:#fff}.model .part.is-open .part-halo{stroke:#ff3b30;stroke-width:7px}.model-ref{background:var(--bg-1);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;min-width:0;display:flex}.ref-bar{align-items:center;gap:10px;min-height:36px;padding:5px 10px;font-size:13px;display:flex}.ref-gap{flex:1}.ref-status{color:var(--text-dim);font-size:12px}.ref-status[data-open=true]{color:#19e3ff}.ref-note{color:#ff8a80;margin:0;padding:0 12px 4px;font-size:13px}.ref-note:empty{display:none}.ref-body{height:clamp(150px,36vh,420px);min-height:0;padding:0 8px 8px;display:flex}.ref-popped{color:var(--text-dim);margin:0;padding:4px 14px 12px;font-size:13px;display:none}.model-ref.is-popped .ref-body,.model-ref.is-folded .ref-body{display:none}.model-ref.is-popped .ref-popped{display:block}.model-ref.is-folded .ref-note{display:none}.view-schematic.is-reference{flex:1;min-width:0;min-height:0;display:flex}.schematic.is-reference{background:var(--bg-0)}.schematic.is-reference .pt-ring{opacity:0}.schematic .pt.is-linked .pt-ring{opacity:1;stroke:#19e3ff;stroke-width:6px;filter:drop-shadow(0 0 8px #19e3ff)}.schematic .sym.is-linked{filter:drop-shadow(0 0 7px #19e3ff)drop-shadow(0 0 3px #19e3ff)}body.popout{overflow:hidden}.popout-shell{grid-template-rows:auto minmax(0,1fr);gap:8px;height:100%;min-height:0;padding:10px;display:grid}.popout-bar{flex-wrap:wrap;align-items:baseline;gap:12px;display:flex}.popout-status{color:var(--text-dim);margin:0 0 0 auto;font-size:13px}.popout-body{min-height:0;display:flex;position:relative}.popout-stage{flex:1;min-width:0;min-height:0;display:flex}.popout-stage.is-waiting{opacity:.25}.popout-wait{text-align:center;color:var(--text);place-items:center;padding:24px;font-size:17px;display:grid;position:absolute;inset:0}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}@media (width>=2200px){body{font-size:18px}.bench-main{grid-template-columns:minmax(0,1fr) 470px}.sw-name{font-size:14px}.ind,.lead-name,.lead-select,.tip-line,.meter-foot{font-size:15px}.lcd-value{font-size:46px}.card h2{font-size:15px}}.zoom-surface{position:relative;overflow:hidden}.zoom-bar{z-index:3;background:#111c2eed;border-radius:8px;align-items:center;gap:7px;padding:4px;display:flex;position:absolute;top:8px;right:8px}.zoom-status{text-align:center;min-width:42px;font-size:12px}svg.model,svg.schematic{touch-action:none}.tour{z-index:20;background:#101a29;border:1px solid #52627a;border-radius:14px;flex-direction:column;display:flex;position:fixed;inset:12px;box-shadow:0 20px 80px #0009}.tour-head,.tour-foot{justify-content:space-between;align-items:center;gap:20px;padding:12px 20px;display:flex}.tour-head h2{margin:0;font-size:23px}.tour-foot{justify-content:flex-end}.tour-body{flex:1;min-height:0;padding:0 20px;overflow:auto}.tour-art{justify-content:center;gap:16px;height:min(53vh,520px);display:flex}.tour-art>.view{flex:1;min-width:0;height:100%}.tour-art svg{width:100%;height:100%}.tour-linked{height:min(64vh,620px)}.tour-safety{max-width:1000px;margin:30px auto;font-size:23px;line-height:2.2}.tour-meter{max-width:1100px;margin:auto;padding-bottom:8px}.tour-choices{gap:24px;padding:10px;display:flex}.tour-choices legend{font-size:20px;font-weight:650}.tour-lead{align-items:center;gap:8px;margin:8px 20px 8px 0;display:inline-flex}.tour-reading{color:#14221a;background:#cee4c6;border-radius:6px;padding:10px;font:22px monospace;display:inline-block}.tour[data-step="4"] .tour-art{height:35vh}@media (prefers-reduced-motion:reduce){.tour *,.zoom-surface *{transition:none!important;animation:none!important}}
