.lesson-circuit{box-sizing:border-box;color:#dfe3f2;background:linear-gradient(#1f2438,#171b2c 78%);border-radius:26px;width:100%;max-width:1080px;margin:auto;padding:20px 24px 17px;font-family:inherit;font-size:16px;line-height:1.55}.lesson-circuit *{box-sizing:border-box;min-width:0}.circuit-strip{color:#aeb6d8;flex-wrap:wrap;justify-content:space-between;gap:4px 14px;margin-bottom:8px;display:flex}.circuit-strip>span:last-child{color:#8f97c2}.circuit-row{align-items:stretch;gap:14px;display:flex}.circuit-row[data-water=false]{display:block}.circuit-stage{background:#1c2233;border-radius:18px;flex:1 1 0;width:100%;min-width:0;height:auto;display:block}.circuit-wire{stroke:#d8a35f;stroke-width:3.5px;stroke-linecap:round}.circuit-plate-long{stroke:#dfe3f2;stroke-width:5px;stroke-linecap:round}.circuit-plate-short{stroke:#9aa3c2;stroke-width:5px;stroke-linecap:round}.circuit-terminal{fill:#dfe3f2;text-anchor:middle;font-size:16px;font-weight:600}.circuit-readout{fill:#8f97c2;font-size:12.5px}.circuit-bulb{fill:#222842;stroke:#4d5573;stroke-width:2.5px;transition:stroke .4s}.circuit-bulb[data-lit=true]{stroke:#ffd98a}.circuit-filament{stroke:#5b6480;stroke-width:2.5px;stroke-linecap:round;transition:stroke .4s}.circuit-filament[data-lit=true]{stroke:#ffd27a}.circuit-ghost{fill:none;stroke:#9aa5e6;stroke-width:1.6px;stroke-dasharray:4 6;opacity:.8}.circuit-node{fill:#d8a35f}.circuit-lever{stroke:#e8e0c6;stroke-width:3.5px;stroke-linecap:round;transition:stroke .3s}.circuit-lever[data-closed=false]{stroke:#f0a35e}.circuit-switch[data-focus=true] .circuit-lever{stroke:#c9b6ff}.circuit-particle{transition:opacity .35s}.circuit-chevron{fill:none;stroke:#8be9fd;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round}.circuit-frozen .circuit-chevron{stroke:#4c6a80}.circuit-particle,.circuit-frozen{opacity:.95}.circuit-frozen{opacity:.4}.circuit-marker{fill:#a78bfa2e;stroke:#b9a7f2;stroke-width:2px}.circuit-nick-dot{fill:#f2b26b}.circuit-spark-lines line{stroke:#ffd97a;stroke-width:2.4px;stroke-linecap:round}.circuit-spark .circuit-spark-lines{animation:.9s ease-out infinite circuit-spark-pop}@keyframes circuit-spark-pop{0%{opacity:1;transform:scale(.6)}70%{opacity:.35;transform:scale(1.15)}to{opacity:.9;transform:scale(.8)}}.circuit-flash{fill:#ffb1a6;font-size:13.5px}.circuit-formula-chip rect{fill:#232a45;opacity:.92}.circuit-formula-main{fill:#ffe3a3;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:15px}.circuit-formula-values{fill:#c6cdea;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:12.5px}.circuit-drain-chip rect{fill:#3a2b1e}.circuit-drain-chip text{fill:#ffd0a1;font-size:13px}.circuit-socket-plate{fill:#262c4a;stroke:#6b7192;stroke-width:1.5px}.circuit-socket-slot{fill:#141826}.circuit-socket-slash{stroke:#ff7a6f;stroke-width:4px;stroke-linecap:round}.circuit-socket-text{fill:#ff9d8f;font-size:12.5px}.circuit-water{background:#1c2233a6;border-radius:18px;flex-direction:column;flex:0 0 232px;gap:6px;padding:10px 8px;display:flex}.circuit-water svg{width:100%;height:auto;display:block}.circuit-water p{color:#9fb4cf;margin:0;font-size:13.5px;line-height:1.5}.circuit-pipe{fill:none;stroke:#3f5f78;stroke-width:9px}.circuit-water-dot{fill:#9fdcff}.circuit-water-dot.circuit-frozen{fill:#46647c}.circuit-level line{stroke:#7dd3fc;stroke-width:2px}.circuit-level path{fill:#7dd3fc}.circuit-water-label{fill:#bfd9ec;font-size:12px}.circuit-water-sub{fill:#7ba6c9;font-size:11px}.circuit-pump circle{fill:#223048;stroke:#d8845f;stroke-width:2.5px}.circuit-pump line{stroke:#d8845f;stroke-width:2.2px;stroke-linecap:round}.circuit-wheel circle{fill:#1d2436;stroke:#c9a06a;stroke-width:3px}.circuit-wheel line{stroke:#c9a06a;stroke-width:2px}.circuit-wheel-hub{fill:#c9a06a;stroke:none}.circuit-metrics{margin-top:10px}.circuit-explore{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));align-items:start;gap:12px 18px;margin-top:14px;display:grid}.circuit-explore .segmented,.circuit-explore .control{grid-column:1/-1}.circuit-switches,.circuit-lamp-buttons{flex-wrap:wrap;grid-column:1/-1;gap:10px;display:flex}.circuit-toggle,.circuit-reset{color:#ecd9b8;min-height:44px;font:inherit;cursor:pointer;background:#d8a35f1a;border:1px solid #d8a35f66;border-radius:13px;padding:8px 16px;font-size:15px;transition:background .25s,border-color .25s,transform .15s}.circuit-toggle:hover,.circuit-reset:hover{background:#d8a35f38;border-color:#d8a35fb3}.circuit-toggle:active,.circuit-reset:active{transform:translateY(1px)}.circuit-toggle[aria-pressed=true]{color:#c7ecf7;background:#8be9fd24;border-color:#8be9fd8c}.circuit-toggle:disabled{opacity:.45;cursor:not-allowed}.circuit-toggle:focus-visible,.circuit-reset:focus-visible{outline-offset:2px;outline:2px solid #b9a7f2}.circuit-add{color:#cfc4f3;background:#a78bfa1f;border-color:#a78bfa73}.circuit-reset{color:#c3cade;background:#9aa3c21a;border-color:#9aa3c266}@media (max-width:760px){.lesson-circuit{padding:14px 12px 12px}.circuit-row[data-water=true]{flex-direction:column}.circuit-water{flex-basis:auto}.circuit-explore{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.circuit-spark .circuit-spark-lines{opacity:.7;animation:none}.circuit-lever,.circuit-bulb,.circuit-filament,.circuit-particle{transition:none}}
