:root{--bg:#f3f4f6;--surface:#fff;--text:#1c1f24;--muted:#646b75;--border:#dde1e6;--accent:#2563eb;--accent-soft:#dbe6fd;--danger:#c2332b;--danger-soft:#fde5e3;--warning:#b86e00;--warning-soft:#fff1d6;--board:#f6f3ec;--board-edge:#e4ded1;--hole:#3d3a35;--label:#9c958a;--rail-plus:#d6453d;--rail-minus:#2f6bd6;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text);background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,sans-serif}@media (prefers-color-scheme:dark){:root{--bg:#15171b;--surface:#1f2228;--text:#e8eaed;--muted:#9aa1ab;--border:#2f343c;--accent:#6b9bff;--accent-soft:#233150;--danger:#ff7b72;--danger-soft:#3d1f1d;--warning:#f2b552;--warning-soft:#3a2c12;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}body{background:var(--bg);margin:0}button,select{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);cursor:pointer;border-radius:8px;padding:6px 12px}button:hover:not(:disabled){border-color:var(--accent)}button:disabled{opacity:.45;cursor:default}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}input[type=email]{font:inherit;color:var(--text);background:var(--bg);border:1px solid var(--border);border-radius:8px;padding:7px 10px}button.primary{background:var(--accent);border-color:var(--accent);color:#fff}.account{align-items:center;gap:10px;font-size:14px;display:flex;position:relative}.save-status{color:var(--muted);font-size:13px}.save-status-error{color:var(--danger);max-width:260px}.account-email{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}.signin-screen{background:var(--bg);place-items:center;min-height:100vh;padding:24px 16px;display:grid}.signin-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;flex-direction:column;gap:16px;width:min(400px,100%);padding:28px 24px;display:flex;box-shadow:0 12px 32px #00000014}.signin-card h1{margin:0;font-size:24px}.signin-card h2{margin:0 0 6px;font-size:17px}.signin-tagline{color:var(--muted);margin:-8px 0 4px;line-height:1.5}.github-button{color:#fff;background:#24292f;border-color:#24292f;justify-content:center;align-items:center;gap:10px;padding:9px 12px;font-weight:600;display:flex}.github-button:hover:not(:disabled){background:#32383f;border-color:#32383f}.signin-divider{color:var(--muted);align-items:center;gap:10px;margin:0;font-size:13px;display:flex}.signin-divider:before,.signin-divider:after{content:"";background:var(--border);flex:1;height:1px}.signin-form,.signin-sent{flex-direction:column;gap:12px;display:flex}.signin-form .field{margin-bottom:0}.signin-sent .button-row{align-items:center}.board-loading{min-height:300px;color:var(--muted);place-items:center;margin:0;display:grid}.signin-message{color:var(--muted);margin:0;font-size:13px;line-height:1.45}.signin-message.error{color:var(--danger)}.app{flex-direction:column;min-height:100vh;display:flex}.topbar{background:var(--surface);border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:12px 20px;padding:12px 16px;display:flex}.topbar h1{margin:0;font-size:18px}.tools{flex-wrap:wrap;gap:6px;display:flex}.tool{align-items:center;gap:8px;display:inline-flex}.tool.active{background:var(--accent);border-color:var(--accent);color:#fff}.tool kbd{opacity:.6;font:11px ui-monospace,monospace}.tool-group{position:relative}.tool-caret{opacity:.7;font-size:11px}.tool-menu{z-index:20;background:var(--surface);border:1px solid var(--border);border-radius:8px;flex-direction:column;min-width:100%;padding:4px;display:flex;position:absolute;top:calc(100% + 4px);left:0;box-shadow:0 6px 20px #00000026}.tool-menu-item{text-align:left;white-space:nowrap;background:0 0;border:none;justify-content:space-between;align-items:center;gap:16px;display:flex}.tool-menu-item:hover{background:var(--accent-soft)}.tool-menu-item.active{background:var(--accent);color:#fff}.tool-menu-item kbd{opacity:.6;font:11px ui-monospace,monospace}.toggles{flex-wrap:wrap;align-items:center;gap:12px;margin-left:auto;font-size:14px;display:flex}.workspace{flex:1;grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:16px;padding:16px;display:grid}@media (width<=900px){.workspace{grid-template-columns:minmax(0,1fr)}}.board-column{min-width:0}.board-frame{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:8px;overflow-x:auto}.board{-webkit-user-select:none;user-select:none;width:100%;min-width:640px;height:auto;display:block}.status{min-height:1.4em;color:var(--muted);font-variant-numeric:tabular-nums;margin:8px 2px 0;font-size:14px}.status-notice{color:var(--warning)}.legend{color:var(--muted);align-items:center;gap:8px;margin-top:6px;font-size:12px;display:flex}.legend-bar{border-radius:4px;width:160px;height:8px}.environment{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-wrap:wrap;gap:8px 24px;margin-top:10px;padding:10px 14px;display:flex}.environment h2{flex-basis:100%;margin:0;font-size:14px}.environment-slider{color:var(--muted);flex:240px;grid-template-columns:auto 1fr;align-items:center;gap:2px 10px;font-size:13px;display:grid}.environment-slider input{grid-column:1/-1;width:100%}.environment-slider output{color:var(--text);font-variant-numeric:tabular-nums;justify-self:end}.side-column,.inspector{flex-direction:column;gap:12px;display:flex}.panel{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px 16px}.panel h2{margin:0 0 8px;font-size:16px}.panel-header{justify-content:space-between;align-items:center;display:flex}.muted{color:var(--muted);font-weight:400}.icon-button{border:none;padding:2px 8px;font-size:20px;line-height:1}.hint{color:var(--muted);margin:0;font-size:14px;line-height:1.5}.field{color:var(--muted);flex-direction:column;gap:4px;margin-bottom:12px;font-size:13px;display:flex}.readings{gap:6px;margin:0 0 12px;display:grid}.readings div{justify-content:space-between;gap:12px;font-size:14px;display:flex}.readings dt{color:var(--muted)}.readings dd{font-variant-numeric:tabular-nums;margin:0;font-weight:600}.callout{background:var(--warning-soft);border-radius:8px;margin:0 0 12px;padding:8px 10px;font-size:13px;line-height:1.5}.callout-danger{background:var(--danger-soft)}.button-row{gap:8px;display:flex}button.danger{color:var(--danger)}.problems{gap:8px;margin:0;padding:0;font-size:13px;line-height:1.45;list-style:none;display:grid}.problem{background:var(--warning-soft);border-radius:8px;padding:8px 10px}.problem-error{background:var(--danger-soft)}button.link{text-align:left;color:inherit;background:0 0;border:none;padding:0}button.link:hover{text-decoration:underline}.board-base{fill:var(--board);stroke:var(--board-edge);stroke-width:2px}.board-gap{fill:var(--board-edge)}.rail-line-plus,.rail-line-minus{stroke-width:2px}.rail-line-plus{stroke:var(--rail-plus)}.rail-line-minus{stroke:var(--rail-minus)}.rail-sign text{fill:var(--label);text-anchor:middle;font-size:13px;font-weight:700}.board-label text{fill:var(--label);text-anchor:middle;font-size:9px}.hole{fill:var(--hole)}.hole-target{fill:#0000;cursor:default}.placing .hole-target{cursor:crosshair}.strip-tint{opacity:.35;pointer-events:none}.strip-hover{fill:none;stroke:#2563eb;stroke-width:2px;pointer-events:none}.pending-ring{fill:none;stroke:#2563eb;stroke-width:2.5px;pointer-events:none}.ghost-line{stroke:#2563eb;stroke-width:2px;stroke-dasharray:4 4;pointer-events:none}.leg{stroke:#9da3aa;stroke-width:2px;stroke-linecap:round;fill:none}.lead-end{fill:#9da3aa}.jumper{fill:none;stroke-width:4px;stroke-linecap:round}.halo{fill:none;stroke-width:12px;stroke-linecap:round;opacity:.45}.halo-box{fill:none;stroke-width:3px}.halo-selected{stroke:#2563eb}.halo-hover{stroke:#2563eb;opacity:.2}.halo-box.halo-hover{opacity:.5}.item{cursor:grab;touch-action:none}.leg-handle{fill:#0000;stroke:none;cursor:move}.item:hover .leg-handle,.item-selected .leg-handle{fill:#ffffffb3;stroke:#2563eb;stroke-width:1.5px;r:5px}.item .leg-handle:hover{fill:#2563eb;r:6px}.board.dragging,.board.dragging *{cursor:grabbing!important}.halo-flagged{stroke:#f59e0b}.resistor-body{fill:#d9c49c;stroke:#b39d73;stroke-width:1px}.diode-body{fill:#2a2a2a}.diode-stripe{fill:#d0d0d0}.diode-1n5819 .diode-stripe{fill:#b9bec5}.inductor-body{fill:#b8692e;stroke:#7a3f14}.inductor-turn{stroke:#e2a065;stroke-width:1.1px}.zener .diode-body{fill:#e0703a;fill-opacity:.85}.zener .diode-stripe{fill:#1a1a1a}.ldr-body{fill:#e8d7b0}.ldr-track{fill:none;stroke:#b5452b;stroke-width:1.6px;stroke-linecap:round}.ldr-rim{fill:none;stroke:#9c8a63;stroke-width:1px}.thermistor-body{fill:#2c3e66;stroke:#1b2744;stroke-width:1px}.thermistor-shine{fill:#fff;opacity:.35}.fsr-pad{fill:#2b2b2b;stroke:#111;stroke-width:1px}.fsr-active{fill:#6f6f6f;stroke:#9a9a9a;stroke-width:.8px}.flex-strip{fill:#d9d4c7;stroke:#8f887a;stroke-width:1px}.flex-track{stroke:#5a5a5a;stroke-width:1.4px;stroke-dasharray:3 1.5}.generic-body{fill:#ccc;stroke:#888}.led-dome{stroke:#00000040;stroke-width:1px}.led-burnt{fill:#5b5650;stroke:#2b2825}.led-burnt-mark{stroke:#e9e4dc;stroke-width:1.6px}.led-burnt-label{fill:var(--danger);text-anchor:middle;paint-order:stroke;stroke:var(--board);stroke-width:3px;font-size:10px;font-weight:700}.battery-body{fill:#2b2d31}.battery-cap{fill:#c9a227}.battery-snap{fill:#8f949b}.battery-label{fill:#fff;text-anchor:middle;font-size:15px;font-weight:700}.battery-sign{fill:#2b2d31;text-anchor:middle;font-size:14px;font-weight:700}.battery-sign-minus{fill:#fff}.battery-lead{fill:none;stroke-width:3px;stroke-linecap:round}.battery-lead-plus{stroke:#d6312b}.battery-lead-minus{stroke:#1f2329}.flow{fill:none;stroke:#ffe066;stroke-width:4px;stroke-linecap:round;pointer-events:none;filter:drop-shadow(0 0 1px #0009);animation-name:flow;animation-timing-function:linear;animation-iteration-count:infinite}@keyframes flow{to{stroke-dashoffset:-14px}}@media (prefers-reduced-motion:reduce){.flow{animation:none}}.view-switch{background:var(--bg);border:1px solid var(--border);border-radius:10px;padding:3px;display:inline-flex}.view-switch button{color:var(--muted);background:0 0;border:none;border-radius:7px;padding:5px 14px;font-weight:600}.view-switch button.active{background:var(--surface);color:var(--text);box-shadow:0 1px 3px #0000001f}.learn-page{padding:24px 16px 48px}.learn{flex-direction:column;gap:20px;max-width:760px;margin:0 auto;display:flex}.learn-header h2{margin:0 0 4px;font-size:24px}.up-next{background:var(--accent-soft);border-radius:14px;flex-direction:column;align-items:flex-start;gap:8px;padding:20px;display:flex}.up-next h3{margin:0;font-size:20px}.up-next .hint{color:var(--text);opacity:.8}.module-title{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin:0 0 8px;font-size:13px;font-weight:600}.lesson-rows{border:1px solid var(--border);background:var(--surface);border-radius:12px;margin:0;padding:0;list-style:none;overflow:hidden}.lesson-row{align-items:center;gap:14px;padding:14px 16px;display:flex}.lesson-row+.lesson-row{border-top:1px solid var(--border)}.lesson-status{border:2px solid var(--border);width:34px;height:34px;color:var(--muted);border-radius:50%;flex:none;place-items:center;font-size:11px;font-weight:700;display:grid}.lesson-status.done{color:#fff;background:#30a46c;border-color:#30a46c;font-size:15px}.lesson-status.partial{border-color:var(--accent);color:var(--accent)}.lesson-row-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.lesson-row-title{font-weight:600}.lesson-row-builds{color:var(--muted);font-size:12px}.lesson-row-actions{flex-direction:column;flex:none;align-items:flex-end;gap:4px;display:flex}.lesson-row-actions .link{font-size:13px}button.subtle{color:var(--muted)}@media (width<=560px){.lesson-row{flex-wrap:wrap}.lesson-row-actions{flex-direction:row;align-items:center;margin-left:48px}}.badge{background:var(--warning-soft);color:var(--warning);border-radius:999px;margin-left:8px;padding:1px 6px;font-size:11px;font-weight:600}.badge-draft{background:var(--danger-soft);color:var(--danger)}.mode-banner{background:var(--accent-soft);border-radius:999px;align-items:center;gap:10px;padding:4px 4px 4px 12px;font-size:14px;display:flex}.mode-banner button{border-radius:999px;padding:4px 12px}.lesson h2{margin-top:4px}.lesson-module{color:var(--muted);margin:0;font-size:12px}.lesson-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.lesson-progress{gap:4px;margin:0;padding:0;list-style:none;display:flex}.lesson-progress li{background:var(--border);border-radius:3px;width:18px;height:5px}.lesson-progress li.done{background:#30a46c}.lesson-progress li.current{background:var(--accent)}.lesson-text{margin:0 0 10px;font-size:15px;line-height:1.55}.goals{background:var(--bg);border-radius:8px;gap:6px;margin:12px 0;padding:10px 12px;font-size:14px;list-style:none;display:grid}.goal{align-items:baseline;gap:8px;display:flex}.goal-mark{border:1.5px solid var(--border);border-radius:50%;flex:none;place-items:center;width:16px;height:16px;font-size:11px;font-weight:700;display:inline-grid;transform:translateY(3px)}.goal.met .goal-mark{color:#fff;background:#30a46c;border-color:#30a46c}.lesson-success{color:#2b8a5a;margin:0 0 10px;font-weight:600}.lesson-nav{margin-bottom:12px}.hints{justify-items:start;gap:8px;margin-bottom:12px;display:grid}.hints .callout{justify-self:stretch;margin:0}button.link{color:var(--accent)}.deeper{border-top:1px solid var(--border);margin-top:10px;padding:10px 0 0;font-size:14px;line-height:1.55}.deeper summary{cursor:pointer;color:var(--accent);font-weight:600}.deeper p{margin:8px 0 0}.recap{margin:0 0 14px;padding-left:20px;line-height:1.55}.lesson-footer{border-top:1px solid var(--border);margin-top:14px;padding-top:10px;font-size:13px}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.probe-metal{stroke:#9da3aa;stroke-width:2px;stroke-linecap:round}.probe-body{stroke-width:7px;stroke-linecap:round}.probe-cable{stroke-width:3px;stroke-linecap:round;opacity:.8}.probe-red .probe-body,.probe-red .probe-cable{stroke:#d6312b}.probe-black .probe-body,.probe-black .probe-cable{stroke:#1f2329}.probe-point{fill:#d8dce0;stroke:#6b7178;stroke-width:1px}.probe-label{text-anchor:middle;paint-order:stroke;stroke:var(--board);stroke-width:3px;font-size:9px;font-weight:700}.probe-red .probe-label{fill:#d6312b}.probe-black .probe-label{fill:#1f2329}.meter{color:#1c1f24;background:#f4c430;border-radius:12px;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:10px;padding:10px 12px;display:flex}.meter-screen{background:#c9d5b9;border-radius:6px;align-items:baseline;gap:10px;min-width:150px;padding:6px 12px;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;display:flex;box-shadow:inset 0 1px 3px #00000059}.meter-mode{opacity:.7;font-size:11px}.meter-value{font-variant-numeric:tabular-nums;font-size:22px;font-weight:700}.meter-info{flex-direction:column;gap:2px;font-size:13px;display:flex}.meter-info .hint{color:#3d3a35;font-size:12px}.meter button.link{color:#1c1f24;margin-left:auto;text-decoration:underline}.probe-dot{vertical-align:baseline;border-radius:50%;width:9px;height:9px;display:inline-block}.probe-red{background:#d6312b}.probe-black{background:#1f2329}.heat-glow{opacity:.7;pointer-events:none}.heat-hot{fill:#ff6a2b}.heat-burning{fill:#ff3b1f}.heat-label{fill:var(--danger);text-anchor:middle;paint-order:stroke;stroke:var(--board);stroke-width:3px;pointer-events:none;font-size:10px;font-weight:700}.question{gap:8px;margin:12px 0;display:grid}.choice{text-align:left;padding:9px 12px;line-height:1.4}.choice.right{color:#1b5e3b;background:#e3f5ea;border-color:#30a46c}.choice.wrong{border-color:var(--danger);background:var(--danger-soft)}.question-explanation{color:#1b5e3b;background:#e3f5ea}@media (prefers-color-scheme:dark){.choice.right,.question-explanation{color:#b6e9cb;background:#183a28}}.aside-eyebrow{letter-spacing:.05em;text-transform:uppercase;margin:0 0 2px;font-size:11px;font-weight:700;display:block}.key-idea{border-left:3px solid var(--accent);background:var(--accent-soft);border-radius:0 8px 8px 0;margin:4px 0 12px;padding:10px 12px;font-size:14px;line-height:1.5}.key-idea .aside-eyebrow{color:var(--accent)}.key-idea p{margin:0}.key-idea .key-idea-title{margin-bottom:2px;font-weight:600}.key-idea details{margin-top:6px}.key-idea summary{cursor:pointer;color:var(--accent);font-size:13px}.key-idea details p{margin-top:6px}.mixup{background:var(--warning-soft);border-radius:8px;margin-top:10px;padding:8px 12px;font-size:14px;line-height:1.5}.mixup summary{cursor:pointer;font-weight:600}.mixup .aside-eyebrow{color:var(--warning)}.mixup p{margin:8px 0 0}.mixup summary{padding-right:22px;list-style:none;position:relative}.mixup summary::-webkit-details-marker{display:none}.mixup summary:after{content:"+";color:var(--warning);font-size:18px;font-weight:400;position:absolute;top:50%;right:0;transform:translateY(-50%)}.mixup[open] summary:after{content:"−"}.hint-ring{fill:#30a46c2e;stroke:#30a46c;stroke-width:2.5px;pointer-events:none;transform-box:fill-box;transform-origin:50%;animation:1.4s ease-in-out infinite hint-pulse}@keyframes hint-pulse{0%,to{opacity:1;transform:scale(.85)}50%{opacity:.55;transform:scale(1.25)}}.halo-hint{stroke:#30a46c;opacity:.6;animation:1.4s ease-in-out infinite hint-glow}@keyframes hint-glow{50%{opacity:.25}}.hint-pointer{color:#2b8a5a;font-size:13px}.goal.met .goal-mark{animation:.3s ease-out tick-pop}@keyframes tick-pop{0%{transform:translateY(3px)scale(.4)}70%{transform:translateY(3px)scale(1.25)}to{transform:translateY(3px)scale(1)}}.lesson-finished{position:relative;overflow:hidden}.confetti{pointer-events:none;position:absolute;inset:0}.confetti span{opacity:0;border-radius:2px;width:7px;height:11px;animation-name:confetti-fall;animation-timing-function:ease-in;animation-fill-mode:forwards;position:absolute;top:-12px}@keyframes confetti-fall{0%{opacity:1;translate:0}to{opacity:0;translate:12px 340px;rotate:540deg}}@media (prefers-reduced-motion:reduce){.hint-ring,.halo-hint,.goal.met .goal-mark{animation:none}.confetti{display:none}}.switch-base{fill:#3a3f46}.switch-contact{fill:#c9ced4}.switch-lever{stroke:#e9edf1;stroke-width:2.5px;stroke-linecap:round;fill:none}.switch.on .switch-lever{stroke:#7be0a6}.button-body{fill:#2f3338}.button-cap{fill:#8a8f96;stroke:#1d2024;stroke-width:1px}.button-part.pressed .button-cap{fill:#5d6268}.switch-state{color:var(--muted);align-self:center;font-weight:600}.switch-state.on{color:#2b8a5a}.transistor-body{fill:#23262b;stroke:#0f1113;stroke-width:1px}.transistor-tab{fill:#b9bec5;stroke:#80868e;stroke-width:1px}.transistor-tab-hole{fill:#6d737b}.transistor-marking{fill:#f2c94c;text-anchor:middle;pointer-events:none;font-size:5.5px;font-weight:800}.transistor-pin{fill:#e8eaed;text-anchor:middle;pointer-events:none;font-size:7px;font-weight:700}.transistor-floating{fill:var(--danger);text-anchor:middle;font-size:12px;font-weight:700}.lamp-glass{fill:#f4f1e6;stroke:#a8a294;stroke-width:1px;fill-opacity:.9}.lamp-light{fill:#ffd27a}.lamp-glow{fill:#ffcf66;filter:blur(3px);pointer-events:none}.lamp-filament{fill:none;stroke:#6b5a3a;stroke-width:1.2px}.lamp-burnt .lamp-glass{fill:#8a8378}.pot-body{fill:#2f6fc4;stroke:#1f4f8f;stroke-width:1px}.pot-knob{fill:#f2f2f2;stroke:#9aa1a8;stroke-width:1px}.pot-pointer{stroke:#1c1f24;stroke-width:2px;stroke-linecap:round}.logic-body{fill:#1f2329}.logic-tag{fill:#c9ced4;text-anchor:middle;font-size:7px;font-weight:700}.logic-light{fill:#4a5058}.logic-symbol{fill:#fff;text-anchor:middle;font-size:9px;font-weight:800}.logic-high .logic-light{fill:#30a46c}.logic-low .logic-light{fill:#5d6670}.logic-between .logic-light{fill:#2f80ed}.logic-over .logic-light{fill:#e5484d}.logic-floating .logic-light{fill:#f5a524;animation:.6s steps(2,end) infinite logic-flicker}@keyframes logic-flicker{50%{fill:#6b5a2a}}@media (prefers-reduced-motion:reduce){.logic-floating .logic-light{animation:none}}.photo-dome{fill:#e9eef4;stroke:#9aa3ad}.photo-chip{fill:#3a3f47}.photo-light{fill:none;stroke:#f5a524;stroke-width:1.2px}.reed-glass{fill:#a8cee873;stroke:#7fa7c4}.reed-contact{stroke:#9b7a2f;stroke-width:1.4px}.module-board{fill:#2c6e49;stroke:#1b4a30}.module-hall .module-board{fill:#a8322d;stroke:#6d1f1b}.module-hbridge.module-l298n .module-board{fill:#b3262d;stroke:#741519}.module-hbridge.module-drv8833 .module-board{fill:#5b3f9a;stroke:#3a2766}.hbridge-heatsink{fill:#2b2f36;stroke:#15171b}.hbridge-fins{stroke:#4a505a;stroke-width:1px}.hbridge-label{fill:#f3f4f6;text-anchor:middle;pointer-events:none;font-size:6px;font-weight:800}.module-joystick .module-board{fill:#23262b;stroke:#0e1013}.module-chip{fill:#1c1f24}.module-led{fill:#5d2a2a}.module-led.on{fill:#ff4d4d}.pir-dome{fill:#f4f4f1;stroke:#c9c9c2}.pir-dome.triggered{fill:#ffe3b0}.pir-facets{stroke:#d8d8d0;stroke-width:.8px}.joystick-base{fill:#3a3f47}.joystick-knob{fill:#121417;stroke:#5d6670;cursor:grab}.joystick-knob.pressed{fill:#2f80ed}.module-pin{fill:#e6eefb;text-anchor:middle;font-size:5.5px;font-weight:700}.wave-button{justify-self:start}.module-relay .module-board{fill:#2b2f36;stroke:#15171b}.relay-case{fill:#2d6cdf;stroke:#1b4a96}.relay-label{fill:#e6eefb;pointer-events:none;font-size:5px;font-weight:700}.relay-contact{fill:#e8c46a;stroke:#9a7a2a;stroke-width:.6px}.relay-arm{stroke:#e8c46a;stroke-width:2px;stroke-linecap:round}.module-servo .module-board{fill:#23262b;stroke:#0e1013}.servo-case{fill:#2f6fd6;stroke:#1b4a96}.servo-arm{fill:#f6f6f2;stroke:#a9aaa3;stroke-width:.6px}.servo-shaft{fill:#d8d9d4;stroke:#8b8d86}.servo-finger{fill:#e7b38e;stroke:#b67e57;opacity:.9}.motor-can{fill:#c3c8ce;stroke:#7d848c}.motor-plus{fill:#e5383b}.motor-disc{fill:#f2c94c;stroke:#b8902a}.motor-stripe{fill:#2b2f36}.motor-shaft{fill:#7d848c}.motor-label{fill:var(--text);text-anchor:middle;paint-order:stroke;stroke:var(--board);stroke-width:3px;pointer-events:none;font-size:9px;font-weight:700}.buzzer-body{fill:#1c1f24;stroke:#0b0d10}.buzzer-passive{fill:#23452f}.buzzer-hole{fill:#050607}.buzzer-plus{fill:#c9ced4;text-anchor:middle;font-size:7px;font-weight:800}.buzzer-waves path{fill:none;stroke:#2f80ed;stroke-width:1.4px;stroke-linecap:round;animation:.5s ease-in-out infinite alternate buzzer-pulse}@keyframes buzzer-pulse{0%{opacity:.35}to{opacity:1}}@media (prefers-reduced-motion:reduce){.buzzer-waves path{animation:none}}.converter-board{fill:#1f5fae;stroke:#123d73}.converter-inductor{fill:#2b2f36}.converter-trimpot{fill:#2f6fd0;stroke:#e6e9ee;stroke-width:.8px}.converter-screw{fill:#d8b25a}.converter-title{fill:#e6eefb;text-anchor:middle;font-size:6.5px;font-weight:800}.converter-volts{fill:#fff;text-anchor:middle;font-size:8px;font-weight:700}.converter-pin{fill:#cfdcf2;text-anchor:middle;font-size:5.5px;font-weight:700}.supply-body{fill:#e4e7eb;stroke:#9aa3ad}.supply-title{letter-spacing:.06em;fill:#4a5058;text-anchor:middle;font-size:6.5px;font-weight:700}.supply-screen{fill:#12261a}.supply-digits{fill:#7ef0a4;text-anchor:end;font-family:ui-monospace,Cascadia Mono,Menlo,monospace;font-size:11px;font-weight:700}.supply-off .supply-digits{fill:#3d5a46}.supply-tag{fill:#4a5058;font-size:6.5px;font-weight:700}.supply-post-label{text-anchor:middle}.supply-light{fill:#b9c0c8}.supply-light-cv{fill:#30a46c}.supply-light-cc{fill:#f76b15}.supply-button{fill:#c9ced4;stroke:#8a939d;cursor:pointer}.supply-output.on .supply-button{fill:#30a46c;stroke:#1e7a4e}.supply-button-label{fill:#2b2f36;text-anchor:middle;pointer-events:none;font-size:7px;font-weight:800}.supply-output.on .supply-button-label{fill:#fff}.supply-post-minus{fill:#1f2329}.supply-post-plus{fill:#d93a3a}.pin-leg{fill:#b8bec6}.pin-chip{fill:#8f98a3;text-anchor:middle;font-size:6px}.adc-body{fill:#1f2329}.adc-screen{fill:#0f2a1c}.adc-code{font-variant-numeric:tabular-nums;fill:#6ee7a8;text-anchor:middle;font-size:9px;font-weight:700}.adc-floating .adc-code{fill:#f5a524}.adc-over .adc-screen{fill:#3d1214}.adc-over .adc-code{fill:#ff8a8e}.ceramic-body{fill:#e0913a;stroke:#a85f1c;stroke-width:.8px}.electrolytic-body{fill:#1f3f8f;stroke:#142a61;stroke-width:.8px}.electrolytic-stripe{fill:#c9d3ea}.electrolytic-minus{fill:#1f3f8f;text-anchor:middle;pointer-events:none;font-size:8px;font-weight:700}.capacitor.bulging .ceramic-body,.capacitor.bulging .electrolytic-body{stroke:var(--danger);stroke-width:1.6px}.charge-track{fill:#fff;stroke:#8a8378;stroke-width:.8px}.charge-fill{fill:#f5a524}.time-bar{background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:8px;padding:6px 8px;display:flex}.time-play{min-width:40px}.time-readout{font-variant-numeric:tabular-nums;min-width:7.5em}.time-speed{color:var(--muted);align-items:center;gap:6px;display:flex}.time-suggest{font-size:.9em}.probe-scope.scope-ch1 .probe-body,.probe-scope.scope-ch1 .probe-cable{stroke:#d9a400}.probe-scope.scope-ch2 .probe-body,.probe-scope.scope-ch2 .probe-cable{stroke:#0e9aa7}.probe-scope.scope-ch1 .probe-label{fill:#b38600}.probe-scope.scope-ch2 .probe-label{fill:#0b7f8a}.scope{background:var(--surface);border:1px solid var(--border);border-radius:12px;margin-top:10px;padding:10px}.scope-header{flex-wrap:wrap;align-items:baseline;gap:4px 16px;margin-bottom:8px;display:flex}.scope-header h3{margin:0;font-size:1rem}.scope-channel .probe-dot{border:1px solid #00000040}.scope-ch1 .probe-dot{background:#ffd60a}.scope-ch2 .probe-dot{background:#3ee0ef}.scope-screen{cursor:crosshair;touch-action:none;border-radius:8px;width:100%;max-width:640px;height:auto;display:block}.scope-bg{fill:#0c1a14}.scope-grid{stroke:#24443a;stroke-width:1px}.scope-ground{stroke:#4f8a77;stroke-width:1px;stroke-dasharray:4 3}.scope-axis-label{fill:#6fae98;font-size:11px}.scope-trace{fill:none;stroke-width:2px;stroke-linejoin:round}.scope-trace.scope-ch1{stroke:#ffd60a}.scope-trace.scope-ch2{stroke:#3ee0ef}.scope-cursor{stroke:#ffffff80;stroke-width:1px}.scope-controls{flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:8px;display:flex}.scope-controls label{color:var(--muted);align-items:center;gap:6px;display:flex}.scope-readout{font-variant-numeric:tabular-nums;color:var(--muted)}.pwm-body{fill:#2b2f36;stroke:#15181c}.pwm-wave{fill:none;stroke:#9fe0b8;stroke-width:1.4px;stroke-linejoin:round}.pwm-light{fill:#3a3f47}.pwm.high .pwm-light{fill:#4ade80}.checkbox-field{align-items:flex-start;gap:8px;display:flex}.checkbox-field input{margin-top:3px}.dip-pin{fill:#b9bec6;stroke:#7d838c;stroke-width:.6px}.dip-body{fill:#23262b;stroke:#0e1013}.dip-notch{fill:#3a3f47}.dip-dot{fill:#7d838c}.dip-label{fill:#d7dbe0;text-anchor:middle;pointer-events:none;font-size:7px;font-weight:700}.pinout{width:100%;max-width:280px;margin:4px 0 8px;display:block}.pinout-body{fill:#23262b;stroke:#0e1013}.pinout-notch{fill:var(--surface)}.pinout-pin{fill:#b9bec6}.pinout-amp{fill:none;stroke:#d7dbe0;stroke-width:1.5px}.pinout-name{fill:var(--text);text-anchor:middle;font-size:10px}.pinout-number,.pinout-letter{fill:#d7dbe0;text-anchor:middle;font-size:10px}.readings-heading{margin:12px 0 4px;font-size:14px}.schematic{margin:8px 0 12px}.schematic svg{width:100%;height:auto;display:block}.schematic-wire,.schematic-symbol line,.schematic-symbol path,.schematic-symbol rect,.schematic-symbol circle{fill:none;stroke:var(--text);stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round}.schematic-symbol .thick{stroke-width:3.5px}.schematic-symbol circle.open{fill:var(--surface)}.schematic-dot{fill:var(--text)}.schematic-symbol .schematic-target{stroke:none;fill:#0000}.schematic-label,.schematic-sign{fill:var(--text);font-size:11px}.schematic-sign{text-anchor:middle;font-weight:700}.schematic-symbol.linkable{cursor:pointer}.schematic-symbol.linked line,.schematic-symbol.linked path,.schematic-symbol.linked rect,.schematic-symbol.linked circle:not(.schematic-target){stroke:var(--accent);stroke-width:2.5px}.schematic-symbol.linked .schematic-label,.schematic-symbol.linked .schematic-sign{fill:var(--accent);font-weight:700}.capacitor.supercap .electrolytic-body{fill:#23262b;stroke:#0e1013}.capacitor.supercap .electrolytic-stripe{fill:#c9a227}.capacitor.supercap .electrolytic-minus{fill:#23262b}.capacitor.supercap.bulging .electrolytic-body{stroke:var(--danger);stroke-width:1.6px}
