.electrical-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:18px;align-items:start}.electrical-sheet{overflow:hidden;background:#0d1d28;border-color:#1e3842}.electrical-toolbar{display:flex;align-items:center;justify-content:space-between;padding:12px 15px;background:#132831;border-bottom:1px solid #29414a;gap:12px}.electrical-toolbar>span{font:8px var(--mono);color:#89b8a5;white-space:nowrap;letter-spacing:1px}.circuit-regions{display:flex;gap:5px;flex-wrap:wrap}.circuit-regions button{font-size:10px;color:#83a2a6;padding:8px 10px;border-radius:4px}.circuit-regions button.active{color:#c6f5e4;background:#29444a}.electrical-surface{height:min(78vh,810px);min-height:530px;position:relative;overflow:hidden}.electrical-surface svg{width:100%;height:100%;display:block;touch-action:none;cursor:grab;user-select:none}.electrical-surface svg:active{cursor:grabbing}.circuit-bottom-bar{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 17px;background:#142a32;border-top:1px solid #2b4248}.circuit-legend{display:flex;flex-wrap:wrap;gap:10px 15px;font-size:8px;color:#a7bdc1}.circuit-legend span{display:flex;align-items:center;gap:5px}.circuit-legend i{width:14px;height:2px;background:var(--wire-color)}.circuit-zoom{display:flex;align-items:center;gap:9px;font:9px var(--mono);color:#a6c6c3}.circuit-zoom button{border:1px solid #395359;border-radius:4px;width:26px;height:26px;color:#bcd6d3;font-size:15px}.electrical-help{padding:12px 18px;color:#7d9b9f;font-size:9px;line-height:1.7;border-top:1px solid #223e44}.electrical-inspector{padding:22px;position:sticky;top:20px}.electrical-inspector h2{font-size:20px;line-height:1.35;margin:10px 0 16px;font-weight:500}.electrical-inspector>p{font-size:11px;color:#7c8c76;line-height:1.9}.electrical-inspector .eyebrow{font-size:8px}.electrical-meter-readings{background:#edf4e7;border:1px solid #dbe8d0;border-radius:6px;padding:15px;margin:21px 0}.electrical-meter-readings span{font-size:9px;color:#92a383;display:block}.electrical-meter-readings strong{font:19px var(--mono);color:#347267;display:block;margin:6px 0 15px;overflow-wrap:anywhere}.electrical-meter-readings strong:last-child{margin-bottom:0}.electrical-measure-note{border-top:1px solid #e4ebdf;padding-top:18px;margin-top:18px}.electrical-measure-note h3{font-size:11px;margin-bottom:7px}.electrical-measure-note p{font-size:10px;color:#8b977f;line-height:1.8}.electrical-inspector-actions{display:grid;gap:8px;margin-top:22px}.electrical-inspector-actions button{font-size:10px;padding:10px}.electrical-inspector .text-button{display:block;margin-top:17px;font-size:10px}.electrical-parameter-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0 23px;padding:18px;background:#eff4e9;border:1px solid #dce6d5;border-radius:7px}.electrical-parameter-strip label{font-size:10px;color:#849675;display:flex;flex-direction:column;gap:7px}.electrical-parameter-strip .electric-input-wrap{display:flex;align-items:center;background:#fafcf7;border:1px solid #d7e4ce;border-radius:4px;padding-right:9px;gap:5px;font:10px var(--mono)}.electric-input-wrap input{width:100%;min-width:0;border:0;background:transparent;padding:8px 9px;color:#316d5f;font:12px var(--mono)}.electrical-parameter-strip small{font-size:8px;color:#9ca98f;line-height:1.6}.electrical-notes{display:flex;gap:25px;align-items:flex-start;margin-top:18px;font-size:10px;line-height:1.8;color:#8e9e80}.electrical-notes p{flex:1}.electrical-notes strong{font-weight:550;color:#627e56}.electrical-formulas{margin-top:32px}.electrical-formulas h2{font-size:20px;font-weight:500;margin-bottom:17px}.electrical-formulas .equation-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.field-scale-group.extended{max-width:330px}.field-scale-values.gun-scale{margin-top:5px;color:#b7b9d2}.layer-switches{gap:9px}.component-chips{flex-wrap:wrap}.viewport-toolbar .text-button{font-size:9px;color:#b4d4c8;padding:6px;margin-left:auto;margin-right:10px}
/* SVG vocabulary. Colours identify circuits; field magnitude is shown in the microscope. */
#electrical-svg{font-family:Inter,system-ui,sans-serif}.e-section{fill:#b3d4d2;font-size:12px;font-weight:550;letter-spacing:1.5px}.e-section-sub{fill:#577985;font-size:9px}.e-divider{stroke:#2b424e;stroke-width:1}.e-wire{stroke:#77bfb0;stroke-width:1.6;fill:none;stroke-linejoin:round;stroke-linecap:round;opacity:.6}.e-wire.highlight{stroke-width:2.3;opacity:1;filter:drop-shadow(0 0 2px #d1f3e322)}.e-wire.power{stroke:#9cbbaa}.e-wire.hv{stroke:#d8a6f8}.e-wire.heater{stroke:#ecc080}.e-wire.ground{stroke:#84a8b4}.e-wire.monitor{stroke:#9bb5fb}.e-wire.lens{stroke:#f1b274}.e-wire.digital{stroke:#6eafdf;stroke-dasharray:4 3}.e-wire.scan{stroke:#78d9c2}.e-wire.detector{stroke:#d9aeed}.e-wire.photon{stroke:#efdf9b;stroke-dasharray:2 4}.e-wire.signal{stroke:#85c3f9}.e-wire.beam{stroke:#65e1d3;stroke-dasharray:2 4}.e-wire.vacuum{stroke:#9fbca4;stroke-dasharray:5 3}.e-wire.reference{stroke-dasharray:3 3}.e-node,.e-meter{cursor:pointer;outline:none}.e-node rect{fill:#172d39;stroke:#345161;stroke-width:1.2;transition:fill .15s,stroke .15s}.e-node:hover rect,.e-node:focus rect,.e-node.selected rect{fill:#24434b;stroke:#8bcebf;stroke-width:1.8}.e-node.hv rect{fill:#2a293b;stroke:#554762}.e-node.heater rect{fill:#3b322a;stroke:#695242}.e-node-title{fill:#d1e2e7;font-size:13px;font-weight:500}.e-node-sub{fill:#819ca7;font-size:10px}.e-value{font:14px 'SFMono-Regular',Consolas,monospace;fill:#b3ebda}.e-small-value{font:12px 'SFMono-Regular',Consolas,monospace;fill:#b4cec9}.e-meter circle{fill:#102631;stroke:#91b8c5;stroke-width:1.6}.e-meter>text:first-of-type{fill:#d4edf1;font-size:15px}.e-meter .e-value{font-size:13px}.e-meter.heater circle,.e-meter.lens circle{stroke:#deac75}.e-meter.heater .e-value,.e-meter.lens .e-value{fill:#e7c49d}.e-meter.hv circle,.e-meter.detector circle{stroke:#c29bdd}.e-meter.hv .e-value,.e-meter.detector .e-value{fill:#d8baee}.e-meter:hover circle,.e-meter:focus circle,.e-meter.selected circle{stroke-width:3;fill:#31545a}.e-meter-name,.e-tiny{font-size:9px;fill:#7e9da8}.e-wire-label{font-size:9px;fill:#7fa08d}.e-wire-label.monitor{fill:#8c9fbf}.e-floating rect{fill:#24293344;stroke:#8a706966;stroke-dasharray:5 4}.e-floating>text{font-size:9px;fill:#bd9d8c;letter-spacing:.6px}.e-floating .e-floating-note{font:10px 'SFMono-Regular',Consolas,monospace;letter-spacing:0}.e-filament,.e-coil{fill:none;stroke:#efb77b;stroke-width:2}.e-plates{stroke:#92dbcd;stroke-width:3;fill:none}.e-bias-source circle{fill:#142b32;stroke:#91b0a4}.e-bias-source text{fill:#acc4b5;font:10px sans-serif}.e-scope-axis{stroke:#3a5765;stroke-width:.75;fill:none}#electrical-trace{stroke:#79d5b9;stroke-width:1.2;fill:none}.e-node.selected.hv rect{stroke:#d0b0e9}.e-node.selected.heater rect{stroke:#eac08f}
@media(max-width:1250px){.electrical-layout{grid-template-columns:minmax(0,1fr) 230px}.electrical-inspector{padding:18px}.electrical-toolbar{align-items:flex-start}.electrical-toolbar>span{display:none}.electrical-formulas .equation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.electrical-parameter-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.main-nav{gap:18px}.nav-button{font-size:11px}.field-console{flex-wrap:wrap}.field-scale-group.extended{width:100%;max-width:none}.layer-switches{margin-left:auto}.electrical-surface{min-height:480px}}
@media(max-width:960px){.electrical-layout{grid-template-columns:1fr}.electrical-inspector{position:static;display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.electrical-inspector>.eyebrow,.electrical-inspector>h2{grid-column:1/-1}.electrical-meter-readings{margin:0 0 15px}.electrical-measure-note{margin:0}.electrical-inspector-actions{margin-top:5px}.electrical-surface{height:680px;min-height:460px}.electrical-inspector>p{margin-bottom:18px}.circuit-regions button{font-size:11px}}
@media(max-width:760px){.main-nav{overflow-x:auto;gap:14px;scrollbar-width:thin}.nav-button{font-size:10px;white-space:nowrap;flex:0 0 auto;min-height:44px}.nav-key{display:none}.electrical-layout{gap:13px}.electrical-parameter-strip{grid-template-columns:1fr 1fr;gap:16px;padding:15px}.electrical-parameter-strip label{font-size:11px}.electric-input-wrap input{font-size:15px;min-height:40px}.electrical-parameter-strip small{font-size:9px}.electrical-surface{height:500px;min-height:390px}.electrical-toolbar{padding:10px}.circuit-regions{gap:2px}.circuit-regions button{font-size:10px;padding:9px 8px}.circuit-bottom-bar{flex-wrap:wrap;padding:12px;gap:13px}.circuit-legend{font-size:9px;gap:9px}.circuit-zoom{margin-left:auto;font-size:10px}.circuit-zoom button{width:32px;height:32px}.electrical-help{font-size:10px}.electrical-inspector{display:block;padding:22px}.electrical-inspector h2{font-size:22px}.electrical-inspector>p{font-size:13px}.electrical-meter-readings{margin:20px 0}.electrical-meter-readings strong{font-size:24px}.electrical-meter-readings span{font-size:11px}.electrical-measure-note{padding-top:18px}.electrical-measure-note p{font-size:12px}.electrical-inspector-actions{margin-top:22px}.electrical-inspector-actions button{font-size:12px;min-height:40px}.electrical-notes{display:block;font-size:11px}.electrical-notes p+p{margin-top:10px}.electrical-formulas .equation-grid{grid-template-columns:1fr}.viewport-toolbar .text-button{font-size:8px;padding:4px;margin-right:4px}.viewport-toolbar .segmented button{font-size:9px;padding:7px}.layer-switches{margin-left:0;gap:13px;flex-wrap:wrap}.field-scale-values{font-size:8px}}
@media(prefers-reduced-motion:reduce){.e-node rect{transition:none}}
.electrical-surface.circuit-focused{height:auto;min-height:0;aspect-ratio:var(--circuit-aspect);max-height:none}.e-node-sub+.e-value{font-size:13px}.e-hit{stroke:none}.circuit-legend span[hidden]{display:none}
#electrical-jump{background:#1c363f;color:#c2d9d7;border:1px solid #3a535a;border-radius:5px;padding:8px;font-size:10px;max-width:200px;min-width:0}.electrical-toolbar{flex-wrap:wrap}.electrical-surface.circuit-focused{max-height:680px}.e-section-sub{pointer-events:none}@media(max-width:760px){#electrical-jump{font-size:12px;min-height:38px;max-width:100%;width:100%}.electrical-surface.circuit-focused{max-height:540px}}
.detector-research-card{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 22px;background:#e8f0e1;border:1px solid #d0dfc8;border-radius:7px;margin-bottom:20px}.detector-research-card strong{font-size:13px;font-weight:550;color:#456b56}.detector-research-card p{font-size:11px;color:#7b8f70;line-height:1.8;margin-top:5px;max-width:690px}.detector-research-card a{white-space:nowrap;font-size:11px;text-decoration:none}.detector-research-link{display:block;margin-top:12px;font-size:10px;color:#377e6b}@media(max-width:760px){.detector-research-card{display:block;padding:17px}.detector-research-card a{display:inline-flex;margin-top:12px}.detector-research-card p{font-size:12px}}
.e-zone-label{fill:#7cbaad;font-size:10px;letter-spacing:1px}.e-vacuum-zone{fill:#18393333;stroke:#4b807655;stroke-dasharray:5 4}.e-boundary{fill:none;stroke:#68817f;stroke-width:3;stroke-dasharray:7 5}.e-terminal{font:12px var(--mono);fill:#e3c5fb}.e-terminal-dot{fill:#d9bced}.e-junction{fill:#a0cad8}.e-current-arrow{stroke:#9bd4fc;stroke-width:1.4;fill:none}.e-bse-arrow{stroke:#78e1d4;stroke-width:1.5;fill:none}.e-feedback{cursor:pointer;outline:none}.e-feedback rect{fill:#1c3640;stroke:#8ab9ce;stroke-width:1.5}.e-feedback path{fill:none;stroke:#8ab9ce;stroke-width:2}.e-feedback:hover rect,.e-feedback:focus rect,.e-feedback.selected rect{fill:#31545a;stroke:#c1f0db;stroke-width:2}.e-opamp{cursor:pointer;outline:none}.e-opamp-body{fill:#182f3c;stroke:#7db3c9;stroke-width:1.7}.e-opamp:hover .e-opamp-body,.e-opamp:focus .e-opamp-body,.e-opamp.selected .e-opamp-body{fill:#31545a;stroke:#c1f0db;stroke-width:2.4}.e-opamp>text{fill:#cde2ec;font-size:13px}.e-opamp .e-opamp-name{font-size:11px}.e-opamp .e-tiny{font-size:8px;fill:#91aeb9}.electrical-connection-sources{display:grid;gap:7px;margin-top:16px}.electrical-connection-sources:empty{display:none}.electrical-connection-sources>span{font-size:9px;color:#7a8c70}.electrical-connection-sources>a{font-size:10px;line-height:1.55;color:#367767;text-decoration:none;overflow-wrap:anywhere}.electrical-connection-sources>a:hover{text-decoration:underline}.electrical-surface[data-detector-mode="bse"].circuit-focused{max-height:860px}@media(max-width:760px){.electrical-connection-sources>a{font-size:12px}.electrical-surface[data-detector-mode="bse"].circuit-focused{max-height:670px}}
