:root{--bg: #ffffff;--fg: #1a1a1b;--muted: #6b6f72;--border: #d3d6da;--surface: #f6f7f8;--surface-2: #eceef0;--accent: #0a7ea4;--accent-fg: #ffffff;--focus: #2b6cb0;--wire: #1a1a1b;--m-correct: #6aaa64;--m-close: #c9b458;--m-dir: #6b7f93;--m-sign: #8e44ad;--m-wrong: #3a3a3c;--m-empty: transparent;--m-fg: #ffffff;--sel: #0a7ea4;--radius: 10px;--maxw: 980px;color-scheme:light;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif;font-size:16px;line-height:1.45}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){--bg: #121213;--fg: #e8e8e8;--muted: #9a9ca0;--border: #3a3a3c;--surface: #1c1c1e;--surface-2: #26262a;--focus: #7fb3ff;--wire: #e8e8e8;--m-correct: #538d4e;--m-close: #b59f3b;--m-dir: #5e6c7a;--m-sign: #7d3c98;--m-wrong: #3a3a3c;--sel: #3fb4d9;color-scheme:dark}}:root[data-theme=dark]{--bg: #121213;--fg: #e8e8e8;--muted: #9a9ca0;--border: #3a3a3c;--surface: #1c1c1e;--surface-2: #26262a;--focus: #7fb3ff;--wire: #e8e8e8;--m-correct: #538d4e;--m-close: #b59f3b;--m-dir: #5e6c7a;--m-sign: #7d3c98;--m-wrong: #3a3a3c;--sel: #3fb4d9;color-scheme:dark}:root[data-contrast=on]{--m-correct: #f5793a;--m-close: #85c0f9;--m-sign: #6a1b9a;--accent: #b3541e}*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--fg)}body{min-height:100vh;min-height:100dvh}#app{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}a{color:inherit}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}h1,h2,h3{line-height:1.2}.muted{color:var(--muted)}.small{font-size:.875rem}.topbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 14px;border-bottom:1px solid var(--border);position:sticky;top:0;background:var(--bg);z-index:5}.brand{text-decoration:none;font-weight:800;font-size:1.6rem;letter-spacing:.02em}.brand small{font-weight:400;font-size:.8rem;color:var(--muted);margin-left:6px;letter-spacing:0}.brand-group{display:flex;align-items:center;gap:2px;min-width:0}.home-link{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 8px;margin-left:-8px;border-radius:8px;color:var(--muted);font-size:.85rem;font-weight:700;letter-spacing:.02em;text-decoration:none;white-space:nowrap;flex-shrink:0}.home-link:hover{background:var(--surface-2);color:var(--fg)}.brand-sep{color:var(--muted);font-weight:400;margin-right:4px}.top-actions{display:flex;gap:4px}.icon-btn{min-width:44px;height:44px;border-radius:8px;border:1px solid transparent;background:transparent;color:var(--fg);font-size:1.15rem;font-weight:700;cursor:pointer}.icon-btn:hover{background:var(--surface-2)}#view{flex:1;width:100%;max-width:var(--maxw);margin:0 auto;padding:14px 14px 32px;outline:none}.footer{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;padding:16px;border-top:1px solid var(--border);color:var(--muted);font-size:.875rem}.footer a{display:inline-flex;align-items:center;min-height:44px;padding:0 6px}.footer .footer-links{display:inline-flex;flex-wrap:wrap;justify-content:center;gap:0 12px}.footer .privacy-note{max-width:52ch;text-align:center}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--fg);font:inherit;font-weight:600;text-decoration:none;cursor:pointer}.btn:hover{background:var(--surface-2)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--accent);border-color:var(--accent);color:var(--accent-fg)}.btn-primary:hover{background:var(--accent);filter:brightness(1.08)}.btn-ghost{background:transparent}.linklike{background:none;border:none;padding:0;color:inherit;font:inherit;text-decoration:underline;cursor:pointer}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--fg);font:inherit;font-size:.9rem;font-weight:600;text-decoration:none;cursor:pointer}.chip:disabled{opacity:.45;cursor:default}.chip.active{background:var(--fg);color:var(--bg);border-color:var(--fg)}.chip.status-won{border-color:var(--m-correct)}.chip.status-won .chip-status{color:var(--m-correct)}.chip.status-lost .chip-status{color:var(--m-wrong)}.chip-status{font-weight:800}.seg{display:inline-flex;border:1px solid var(--border);border-radius:999px;overflow:hidden}.seg-link,.seg label{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;text-decoration:none;font-size:.9rem;font-weight:600;cursor:pointer}.seg-link.active,.seg label:has(input:checked){background:var(--fg);color:var(--bg)}.seg input{position:absolute;opacity:0;pointer-events:none}.seg label:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:-3px}.lede{font-size:1.05rem;margin:4px 0 2px}.today{color:var(--muted);margin:0 0 16px}.countdown{font-variant-numeric:tabular-nums}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px}.card{border:1px solid var(--border);border-radius:var(--radius);padding:14px;background:var(--surface);display:flex;flex-direction:column;gap:10px}.card-head{display:flex;align-items:center;gap:10px}.card-head h2{margin:0;font-size:1.25rem;flex:1}.card-head h2 a{text-decoration:none}.card-icon{font-size:1.6rem}.card-tagline{margin:0;color:var(--muted)}.card-foot{display:flex;align-items:center;gap:16px;font-size:.9rem}.card-head h2 a,.linklike.tap,.card-foot a,.card-foot .linklike{display:inline-flex;align-items:center;min-height:44px}.streak{font-weight:700}.empty-state{padding:24px;text-align:center;border:1px dashed var(--border);border-radius:var(--radius)}.play-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px}.play-head h1{margin:0;font-size:1.5rem}.play-sub{margin:0;color:var(--muted)}.play-nav{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;margin:12px 0 16px}.game-root{min-height:120px}.result{margin-top:20px;padding:16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);scroll-margin-top:70px}.result-head{margin:0 0 12px}.result-head.won{color:var(--m-correct)}.result-actions{display:flex;flex-wrap:wrap;gap:10px}.explanation{overflow-x:auto}.error-box{padding:12px;border-radius:var(--radius);border:1px solid var(--m-wrong);color:var(--m-wrong)}.cell{position:relative;flex:none;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 4px;border-radius:6px;border:2px solid transparent;font-weight:700;font-variant-numeric:tabular-nums;color:var(--m-fg);user-select:none}.cell-sm{min-width:22px;height:22px;font-size:.75rem;border-radius:4px}.cell-lg{min-width:52px;height:52px;font-size:1.4rem}.m-correct{background:var(--m-correct)}.m-close{background:var(--m-close)}.m-low,.m-high{background:var(--m-dir)}.m-sign{background:var(--m-sign)}.m-wrong{background:var(--m-wrong)}.m-empty{background:transparent;border:2px solid var(--border);color:var(--fg)}.cell.show-sym:has(.sym){padding-right:11px}.cell .sym{display:none;position:absolute;top:-1px;right:1px;font-size:.6rem;line-height:1}:root[data-contrast=on] .cell .sym,.cell.show-sym .sym{display:block}:root[data-contrast=on] .m-close{color:#10324f}.guess-board{display:flex;flex-direction:column;gap:6px}.guess-row{display:flex;align-items:center;gap:8px}.row-label{min-width:1.5em;color:var(--muted);font-size:.85rem;text-align:right}.row-cells{display:flex;flex-wrap:wrap;gap:4px}.row-trailing{color:var(--muted);font-size:.85rem}.guess-row.reveal .cell{animation:flip .45s ease both;animation-delay:calc(var(--i, 0) * 70ms)}@keyframes flip{0%{transform:rotateX(90deg)}to{transform:rotateX(0)}}@media (prefers-reduced-motion: reduce){.guess-row.reveal .cell{animation:none}}.legend{list-style:none;display:flex;flex-wrap:wrap;gap:6px 14px;padding:0;margin:10px 0;font-size:.85rem}.legend li{display:inline-flex;align-items:center;gap:6px}.schematic{display:block;max-width:100%;height:auto;margin:0 auto;color:var(--wire);overflow:visible}.schematic .wire,.schematic .sym-line{stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}.schematic .sym-body{stroke:currentColor;stroke-width:2;fill:var(--bg)}.schematic .sym-plate{stroke:currentColor;stroke-width:3;stroke-linecap:round}.schematic .sym-pin{stroke:currentColor;stroke-width:1.5;fill:var(--bg)}.schematic .sym-thin{stroke:currentColor;stroke-width:1.3;fill:none}.schematic .sym-sign,.schematic .sch-pol{stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.schematic .sym-fill,.schematic .sch-arrow,.schematic .node-dot{fill:currentColor}.schematic .sch-term{stroke:currentColor;stroke-width:2;fill:var(--bg)}.schematic text{fill:currentColor;font-family:inherit;paint-order:stroke;stroke:var(--bg);stroke-width:4px;stroke-linejoin:round}.schematic .sch-name{font-size:15px;font-weight:700}.schematic .sch-value{font-size:14px;font-variant-numeric:tabular-nums}.schematic .sch-node{font-size:13px;font-weight:700;fill:var(--accent)}.schematic .sch-cur,.schematic .sch-pol-label{font-size:14px;font-style:italic}.schematic .sch-term-label{font-size:16px;font-weight:700}.schematic .sch-hit{fill:transparent;stroke:none}.schematic .interactive{cursor:pointer;outline:none}.schematic .interactive:hover .sch-hit{fill:var(--surface-2)}.schematic .interactive:focus-visible .sch-hit{stroke:var(--focus);stroke-width:3}.schematic .selected{color:var(--sel)}.schematic .selected .sym-line,.schematic .selected .sym-body{stroke-width:3}.schematic .dim{opacity:.35}.brand{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;min-height:44px}.brand-mark{width:1.15em;height:1.15em;flex:none}.brand-mark rect{fill:var(--accent)}.brand-mark path{fill:none;stroke:#fff;stroke-width:4.5;stroke-linejoin:round;stroke-linecap:round}.num-field{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:10px;row-gap:4px;min-width:0}.num-label{font-weight:700;font-size:1.05rem;white-space:nowrap}.num-row{display:flex;align-items:center;gap:6px;min-width:0}.num-input{flex:1;min-width:0;width:100%;min-height:44px;padding:6px 12px;border:2px solid var(--border);border-radius:10px;background:var(--bg);color:var(--fg);font:inherit;font-size:1.1rem;font-variant-numeric:tabular-nums}.num-input:focus{border-color:var(--accent);outline:none}.num-input:disabled{opacity:.6}.num-input.num-invalid,.num-input.num-invalid:focus{border-color:var(--m-wrong-text, #c0392b)}.num-unit{font-weight:700;color:var(--muted);min-width:1.2em}.num-echo{grid-column:2;min-height:1.3em;font-size:.875rem;color:var(--muted);font-variant-numeric:tabular-nums}.num-echo.ok{color:var(--fg)}.num-echo.err{color:var(--m-wrong-text, #c0392b)}:root[data-theme=dark] .num-echo.err{color:#ff8a80}@media (prefers-color-scheme: dark){:root:not([data-theme=light]) .num-echo.err{color:#ff8a80}}.num-keys{grid-column:1 / -1;display:none;gap:4px}.num-keys.always{display:flex}@media (pointer: coarse),(max-width: 600px){.num-keys{display:flex}}.num-key{flex:1;min-width:0;min-height:44px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--fg);font:inherit;font-weight:700;font-size:1.05rem;cursor:pointer;touch-action:manipulation}.num-key:active{background:var(--surface-2)}.num-field.disabled .num-key{opacity:.5}.num-keys-wrap{flex-wrap:wrap}.num-keys-wrap>.num-key{flex:1 1 min(calc(25% - 4px),max(0px,calc((380px - 100%)*999)));min-width:44px}.scope{margin:0;--tr-1: #f2d74e;--tr-2: #4fd1e8;--tr-3: #f07ac8;--tr-4: #7ee07a}.scope-screen{display:block;width:100%;height:auto;border-radius:10px;background:#0e1417}.scope-bg{fill:#0e1417}.scope-grid{stroke:#2b3a40;stroke-width:1}.scope-tick,.scope-axis{stroke:#4f6770;stroke-width:1}.scope-frame{fill:none;stroke:#4f6770;stroke-width:2}.scope-trace{fill:none;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.scope-trace.dashed{stroke-dasharray:8 6}:root[data-contrast=on] .scope-trace{stroke-width:3.5}.tr-1{stroke:var(--tr-1)}.tr-2{stroke:var(--tr-2)}.tr-3{stroke:var(--tr-3)}.tr-4{stroke:var(--tr-4)}.scope-cursor{stroke:#c8d3d8;stroke-width:1;stroke-dasharray:4 4}.scope-readout{display:flex;justify-content:space-between;gap:8px;font-size:.875rem;font-variant-numeric:tabular-nums;color:var(--muted);padding:4px 2px 0}.scope-legend{list-style:none;display:flex;flex-wrap:wrap;gap:4px 16px;margin:6px 0 0;padding:0;font-size:.875rem}.scope-legend li{display:inline-flex;align-items:center;gap:6px}.scope-swatch{display:inline-block;width:22px;height:0;border-top:3px solid;border-color:var(--tr-1)}.scope-swatch.tr-2{border-color:var(--tr-2)}.scope-swatch.tr-3{border-color:var(--tr-3)}.scope-swatch.tr-4{border-color:var(--tr-4)}.scope-swatch.dashed{border-top-style:dashed}.demo-q{margin:0 0 8px}.demo-circuit{margin:4px 0 12px;padding:10px 6px;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg)}.demo-answer{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px;margin-bottom:14px}.demo-answer .num-field{flex:1 1 220px;max-width:440px}.demo-answer .btn{min-height:44px}dialog.modal{border:none;padding:0;border-radius:14px;background:var(--bg);color:var(--fg);width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 32px);box-shadow:0 10px 40px #00000059}dialog.modal.modal-wide{width:min(720px,calc(100vw - 24px))}dialog.modal::backdrop{background:#00000080}.modal-inner{padding:16px 18px 20px}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.modal-head h2{margin:0;font-size:1.25rem}.toasts{position:fixed;top:64px;left:50%;transform:translate(-50%);display:flex;flex-direction:column;gap:6px;z-index:100;pointer-events:none}.toast{background:var(--fg);color:var(--bg);padding:10px 14px;border-radius:8px;font-weight:600;transition:opacity .3s}.toast.out{opacity:0}.setting{border:none;padding:0;margin:16px 0}.setting legend{font-weight:700;margin-bottom:6px}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}.switch-row small{display:block;color:var(--muted)}.switch-row input{width:22px;height:22px}.setting.danger{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--border);padding-top:14px}.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0 6px;text-align:center}.stat-num{font-size:1.8rem;font-weight:700}.stat-label{font-size:.75rem;color:var(--muted)}.dist{display:flex;flex-direction:column;gap:4px}.dist-row{display:flex;align-items:center;gap:6px}.dist-n{width:1em;text-align:right}.dist-bar{background:var(--m-dir);color:#fff;font-weight:700;text-align:right;padding:1px 8px;border-radius:3px}.dist-bar.hl{background:var(--m-correct)}table.overview{width:100%;border-collapse:collapse}table.overview th,table.overview td{padding:6px;border-bottom:1px solid var(--border);text-align:right}table.overview th:first-child,table.overview td:first-child{text-align:left}.share-text{width:100%;font:inherit}.prose{max-width:680px}.howto p,.howto li{max-width:64ch}.howto .concept{border-left:4px solid var(--m-correct);background:var(--surface);padding:8px 12px;border-radius:0 8px 8px 0}@media (max-width: 480px){.brand{font-size:1.25rem;letter-spacing:0}.topbar{padding-left:10px;padding-right:10px}.home-link{font-size:.75rem;letter-spacing:0;padding:0 4px;margin-left:-4px}.brand-sep{display:none}.brand small{font-size:.7rem;margin-left:4px}.stat-num{font-size:1.4rem}}table.overview{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}table.overview th,table.overview td{white-space:nowrap}.kit h2{font-size:1.1rem;margin:24px 0 8px}.kit-grid{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:10px}.kit-tile{margin:0;padding:8px;border:1px solid var(--border);border-radius:8px;display:flex;flex-direction:column;align-items:center;gap:4px}.kit-tile figcaption{font-size:.75rem;color:var(--muted)}.kit-grid.wide .kit-tile{flex:1 1 300px}.kit-marks{display:flex;gap:8px}.kit .num-field{max-width:420px;margin-bottom:12px}.kit .scope{max-width:640px}.pv,.bv{margin:0}.pv{max-width:320px}.pv-screen,.bv-panel,.lcr-box{display:block;width:100%;height:auto}.pv-grid{fill:none;stroke:var(--border);stroke-width:1}.pv-axis{stroke:var(--muted);stroke-width:1}.pv-axis-label,.bv-tick,.bv-unit{font-size:10px;fill:var(--muted)}.pv-arrow{stroke-width:2.5;stroke-linecap:round}.pv-head{stroke:none}line.pv-source{stroke:var(--fg)}line.pv-answer{stroke:var(--accent)}line.pv-guess{stroke:var(--muted)}line.pv-ghost{stroke:var(--accent);stroke-dasharray:6 4}.pv-head.pv-source{fill:var(--fg)}.pv-head.pv-answer,.pv-head.pv-ghost{fill:var(--accent)}.pv-head.pv-guess{fill:var(--muted)}.pv-label{font-size:12px;fill:var(--fg)}.pv-label-guess{fill:var(--muted)}.pv-label-ghost{fill:var(--accent)}.pv-legend,.bv-legend{list-style:none;display:flex;flex-wrap:wrap;gap:4px 14px;margin:6px 0 0;padding:0;font-size:.875rem;color:var(--muted)}.pv-legend li,.bv-legend li{display:inline-flex;align-items:center;gap:6px}.pv-swatch,.bv-swatch{display:inline-block;width:22px;height:0;border-top:3px solid var(--fg)}.pv-swatch.pv-answer,.pv-swatch.pv-ghost,.bv-swatch.bv-ghost{border-color:var(--accent)}.pv-swatch.pv-guess,.bv-swatch.bv-guess,.bv-swatch.bv-asymptote{border-color:var(--muted)}.pv-swatch.pv-ghost,.bv-swatch.bv-ghost{border-top-style:dashed}.bv-swatch.bv-asymptote{border-top-width:5px}.bv{max-width:560px}.bv-panel{touch-action:none;cursor:crosshair;user-select:none}.bv-panel+.bv-panel{margin-top:2px}.bv-bg{fill:var(--surface)}.bv-grid{stroke:var(--border);stroke-width:1}.bv-grid-minor{stroke:var(--border);stroke-width:.5;opacity:.6}.bv-axis{stroke:var(--muted);stroke-width:1}.bv-trace{fill:none;stroke-linejoin:round;stroke-linecap:round}.bv-exact{stroke:var(--fg);stroke-width:1.5}.bv-asymptote{stroke:var(--muted);stroke-width:4;opacity:.75}.bv-ghost{stroke:var(--accent);stroke-width:2;stroke-dasharray:6 4}.bv-guess{stroke:var(--muted);stroke-width:1}.bv-marker{stroke:var(--accent);stroke-width:1.5}:root[data-contrast=on] .bv-exact,:root[data-contrast=on] .bv-ghost{stroke-width:2.5}.bv-readout{display:flex;align-items:center;gap:8px;min-height:44px;margin-top:4px}.bv-readout-text{flex:1;text-align:center;font-variant-numeric:tabular-nums;font-size:.95rem}.bv-nudge{min-width:44px;min-height:44px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--fg);font:inherit;font-size:1.4rem;line-height:1}.oc-wrap{display:flex;flex-direction:column;gap:4px}.oc-label{font-size:.875rem;color:var(--muted)}.oc{display:flex;width:max-content;max-width:100%;border:1px solid var(--border);border-radius:10px;overflow:hidden}.oc-seg{width:64px;min-height:44px;border:0;border-right:1px solid var(--border);background:var(--surface);color:var(--fg);font:inherit;cursor:pointer}.oc-seg:last-child{border-right:0}.oc-seg.active{background:var(--accent);color:var(--accent-fg)}.oc-seg:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}.lcr{display:flex;flex-direction:column;gap:10px;max-width:560px;min-width:0}.lcr-box{max-width:343px}.lcr-meter-body{fill:var(--surface-2);stroke:var(--border);stroke-width:1.5}.lcr-meter-name{font-size:13px;font-weight:700;fill:var(--fg)}.lcr-jack{fill:var(--fg)}.lcr-jack-hi{fill:#c0392b}.lcr-lead{fill:none;stroke:var(--fg);stroke-width:2}.lcr-lead-hi{stroke:#c0392b}.lcr-sealed{fill:var(--surface-2);stroke:var(--fg);stroke-width:2}.lcr-q{font-size:34px;font-weight:700;fill:var(--muted)}.lcr-term{fill:var(--bg);stroke:var(--fg);stroke-width:2}.lcr-term-label,.lcr-caption{font-size:12px;fill:var(--muted)}.lcr-lcd{background:#16241a;color:#b9f6a8;border-radius:8px;padding:8px 12px;font-family:ui-monospace,DejaVu Sans Mono,monospace;font-variant-numeric:tabular-nums;max-width:343px}.lcr-lcd-main{font-size:1.35rem}.lcr-lcd-f,.lcr-lcd-sub{font-size:.9rem;opacity:.85;min-height:1.2em}.lcr-dial-wrap{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px}.lcr-dial-unit{font-size:.875rem;color:var(--muted)}.lcr-dial{display:flex;gap:6px;overflow-x:auto;scroll-snap-type:x proximity;padding:2px 0 6px;min-width:0}.lcr-chip{flex:0 0 44px;height:44px;padding:0;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--fg);font:inherit;font-size:.85rem;scroll-snap-align:start;cursor:pointer}.lcr-chip.used{background:var(--surface-2);color:var(--muted)}.lcr-chip.armed{background:var(--accent);border-color:var(--accent);color:var(--accent-fg)}.lcr-chip:disabled{cursor:default;opacity:.6}.lcr-measure{width:100%;min-height:48px}.lcr-log{border-collapse:collapse;font-size:.9rem;font-variant-numeric:tabular-nums}.lcr-log th,.lcr-log td{text-align:left;padding:4px 10px 4px 0;border-bottom:1px solid var(--border)}.lcr-log th{color:var(--muted);font-weight:600}.kit-ac .kit-tile{flex:1 1 340px;min-width:0;max-width:580px;align-items:stretch}.kit-stack{display:flex;flex-direction:column;gap:8px}.section-head{font-size:1.05rem;margin:20px 0 8px}.section-topics{color:var(--muted);font-weight:400}table.overview tr.overview-section th{text-align:left;padding-top:10px;color:var(--muted);font-weight:600}@media (max-width: 400px){.brand-group{flex:1 1 auto;min-width:0}.brand-mark{display:none}.brand{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:44px}.top-actions{flex:none}}.reqordle-game [hidden]{display:none!important}@media (min-width: 600px){.reqordle-actions .btn{white-space:nowrap}}.reqordle-game{display:flex;flex-direction:column;gap:.6rem;max-width:44rem;margin:0 auto}.reqordle-status{font-weight:600;text-align:center}.reqordle-goal{margin:0;text-align:center;color:var(--muted)}.reqordle-board{display:flex;justify-content:center;overflow-x:auto;padding:.25rem 0}.reqordle-board svg.schematic{max-width:100%;height:auto}.reqordle-sel{margin:0;min-height:1.4em;text-align:center;font-size:.95rem}.reqordle-actions{display:grid;grid-template-columns:1fr 1fr;gap:.4rem;width:100%;max-width:40rem;margin:0 auto}.reqordle-actions .btn{min-height:44px;min-width:44px;width:100%;margin:0}.reqordle-actions .reqordle-clear{grid-column:1 / -1}.reqordle-msg{margin:0;min-height:1.4em;text-align:center}.reqordle-msg.reqordle-ok{color:var(--fg)}.reqordle-msg.reqordle-bad{color:var(--fg);border-left:4px solid var(--m-wrong, currentColor);padding-left:.5rem;text-align:left}.reqordle-log{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.3rem}.reqordle-line{display:flex;align-items:flex-start;gap:.5rem;font-size:.92rem}.reqordle-line .cell{flex:none}.reqordle-line-op{font-weight:600}.reqordle-line-text{overflow-wrap:anywhere}.reqordle-refused .reqordle-line-text{color:var(--muted)}.reqordle-refused .reqordle-line-op{color:var(--fg)}.reqordle-follow{border:1px solid var(--border);border-radius:var(--radius, 8px);padding:.6rem .8rem;background:var(--surface)}.reqordle-follow-head{margin:0 0 .3rem;font-size:1.05rem}.reqordle-follow-q{margin:0 0 .3rem}.reqordle-answer{display:flex;gap:.5rem;align-items:flex-start;flex-wrap:wrap}.reqordle-answer .reqordle-check{min-height:44px}.reqordle-small{font-size:.92rem}.reqordle-howto ul,.reqordle-howto ol{padding-left:1.2rem}.reqordle-howto li{margin:.2rem 0}.reqordle-explain-board{display:flex;justify-content:center;overflow-x:auto}.reqordle-explain-board svg.schematic{max-width:100%;height:auto}.reqordle-plan li{margin:.25rem 0}.reqordle-plan-op{font-weight:600}.schematic .reqordle-fresh .sym-line,.schematic .reqordle-fresh .sym-body{stroke:var(--accent);stroke-width:3}@media (prefers-reduced-motion: no-preference){.schematic .reqordle-fresh{animation:reqordle-pop .6s ease-out;transform-box:fill-box;transform-origin:center}}@keyframes reqordle-pop{0%{opacity:.2}to{opacity:1}}.reqordle-board .schematic text{pointer-events:none}.reqordle-board .schematic .sch-node,.reqordle-follow-orig .schematic .sch-node,.reqordle-explain-board .schematic .sch-node{font-size:14px}.reqordle-follow-orig{margin:.25rem calc(-.8rem - 1px) .5rem;display:flex;flex-direction:column;align-items:center;overflow-x:auto}.reqordle-follow-orig svg.schematic{max-width:100%;height:auto}.reqordle-follow-orig figcaption{margin-top:.15rem}.kirchordle-q{margin:4px 0 8px}.kirchordle-circuit{margin:4px 0 12px;padding:8px 4px;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);overflow-x:auto}.kirchordle-circuit svg{display:block;margin:0 auto;width:100%;max-width:540px;height:auto}.kirchordle-circuit .schematic .sch-node{font-size:17px;font-weight:800}.kirchordle-board{margin:0 0 12px}.kirchordle-answer{display:flex;flex-direction:column;gap:10px;margin-bottom:14px}.kirchordle-fields{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px 12px}.kirchordle-fields .num-field{min-width:0}.kirchordle-keys{margin:0 0 12px;gap:6px}.kirchordle-keys .num-key{min-width:44px}.kirchordle-keys .num-key:disabled{opacity:.5;cursor:default}.kirchordle-check{min-height:44px;align-self:flex-start;min-width:120px}.kirchordle-checks{margin:0 0 14px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.kirchordle-checks-h{margin:0 0 6px;font-size:1rem}.kirchordle-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.kirchordle-item{display:flex;gap:8px;align-items:baseline;line-height:1.35}.kirchordle-badge{flex:none;width:1.4em;text-align:center;font-weight:700}.kirchordle-item.ok .kirchordle-badge{color:var(--m-correct)}.kirchordle-item.bad .kirchordle-badge{color:var(--m-dir)}:root[data-contrast=on] .kirchordle-item.bad .kirchordle-badge{color:var(--fg)}.kirchordle-note{color:var(--muted);font-size:.9rem;margin:6px 0 0}.kirchordle-picker{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 8px}.kirchordle-picker .kirchordle-note{margin:0 4px 0 0}.kirchordle-pick{min-width:44px;min-height:44px;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--fg);font:inherit;font-weight:700;cursor:pointer}.kirchordle-pick.on{border-color:var(--accent);box-shadow:inset 0 0 0 2px var(--accent)}.kirchordle-pick:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.kirchordle-eq{margin:2px 0 6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.kirchordle-steps li{margin-bottom:6px}.kirchordle-checks-final li{margin-bottom:4px;overflow-wrap:anywhere}.kirchordle-sample{padding:6px 10px;border-radius:8px;background:var(--surface)}.kirchordle-item.near .kirchordle-badge{color:var(--m-close)}:root[data-contrast=on] .kirchordle-item.near .kirchordle-badge{color:var(--fg)}@media (max-width: 480px){.kirchordle-circuit{margin-left:-14px;margin-right:-14px;padding:6px 0;border-left:0;border-right:0;border-radius:0}}.tv [hidden]{display:none!important}.tv{display:flex;flex-direction:column;gap:12px}.tv-intro{margin:0}.tv-grid{display:grid;grid-template-columns:1fr;gap:16px;align-items:start}@media (min-width: 900px){.tv-grid{grid-template-columns:1fr 1fr;gap:24px}}.tv-col{display:flex;flex-direction:column;gap:12px;min-width:0}.tv-h{margin:4px 0 0;font-size:1rem}.tv sub,.tv-howto sub,.tv-explain sub{font-size:.72em;line-height:0}.tv-bench-box{border:1px solid var(--border);border-radius:12px;background:var(--surface);padding:8px}.tv-bench{display:flex;flex-direction:column;align-items:center;overflow-x:auto}.tv-bench-svg{width:100%;max-width:380px;height:auto;display:block}.tv-bench .schematic{max-width:100%;height:auto}.tv-open{margin:0 0 4px;align-self:flex-start}.tv-box{fill:none;stroke:currentColor;stroke-width:2.5}.tv-box-q{font-size:46px;font-weight:700;fill:var(--accent)}.tv-box-cap{font-size:12px;fill:var(--muted)}.tv-wire{stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}.tv-term{fill:var(--bg);stroke:currentColor;stroke-width:2}.tv-tlabel{font-size:15px;font-weight:700;fill:currentColor}.tv-meter{fill:var(--bg);stroke:var(--accent);stroke-width:2.5}.tv-meter-l{font-size:20px;font-weight:700;fill:var(--accent)}.tv-sign{font-size:15px;font-weight:700;fill:currentColor}.tv-ilabel,.tv-rl{font-size:13px;fill:currentColor}.tv-fill{fill:currentColor}.tv-lcd{display:flex;flex-wrap:wrap;gap:4px 16px;justify-content:center;margin-top:6px;padding:8px 10px;border-radius:8px;background:var(--bg);border:1px solid var(--border);font-family:ui-monospace,DejaVu Sans Mono,Menlo,monospace;font-size:1rem}.tv-lcd-k{color:var(--muted)}.tv-lcd-v{font-weight:700}.tv-probes{display:flex;flex-direction:column;gap:8px}.tv-probe-info{margin:0}.tv-probe-btns{display:flex;flex-direction:column;gap:8px}.tv-probe{min-height:44px;width:100%;text-align:left;justify-content:flex-start}.tv-probe.armed{outline:3px solid var(--accent);outline-offset:1px;font-weight:700}.tv-load-box{display:flex;flex-direction:column;gap:6px;padding:8px;border:1px dashed var(--border);border-radius:10px}.tv-load{display:flex;align-items:center;gap:6px;flex-wrap:nowrap}.tv-load-l{font-weight:700;min-width:2.2em}.tv-step{min-width:44px;min-height:44px;padding:0 6px;flex:0 0 auto}.tv-load-val{flex:1 1 auto;text-align:center;font-weight:700;font-size:1.05rem;min-width:4.5em}.tv-cancel{min-height:44px;align-self:flex-start}.tv-table-wrap{overflow-x:auto}.tv-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.tv-table caption{text-align:left;padding-bottom:4px}.tv-table th,.tv-table td{padding:6px 8px;border-bottom:1px solid var(--border);text-align:right;white-space:nowrap}.tv-table th[scope=row],.tv-table thead th:nth-child(2){text-align:left;font-weight:600}.tv-table td:first-child,.tv-table thead th:first-child{text-align:left;color:var(--muted)}.tv-latest td,.tv-latest th{background:color-mix(in srgb,var(--accent) 12%,transparent)}.tv-empty{margin:0}.tv-answer{display:flex;flex-direction:column;gap:8px;border:1px solid var(--border);border-radius:12px;padding:10px;background:var(--surface)}.tv-form-msg{margin:0}.tv-seg{display:inline-flex;border:1px solid var(--border);border-radius:10px;overflow:hidden;align-self:flex-start}.tv-seg-b{min-height:44px;min-width:96px;padding:0 14px;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.tv-seg-b+.tv-seg-b{border-left:1px solid var(--border)}.tv-seg-b[aria-pressed=true]{background:var(--accent);color:var(--bg);font-weight:700}.tv-seg-b:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}.tv-fields{display:grid;grid-template-columns:1fr;gap:8px}@media (min-width: 520px){.tv-fields{grid-template-columns:1fr 1fr}}.tv-check{min-height:44px}.tv-hint{margin:0;min-height:1.2em}.tv-counter{margin:0}.tv-howto ol{padding-left:1.3em}.tv-ex{display:inline-block;margin-top:6px}.tv-explain .tv-step{margin:12px 0}.tv-explain h4{margin:0 0 4px}.tv-explain p{margin:4px 0}.tv-reveal{overflow-x:auto}.tv-reveal .schematic{max-width:100%;height:auto}.tv .num-keys{flex-wrap:wrap}.tv .num-key{min-width:44px}@media (max-width: 600px){.tv .num-keys{display:grid;grid-template-columns:repeat(4,minmax(44px,1fr))}}.scopordle-q{margin:0 0 8px}.scopordle-circuit{margin:4px 0 10px;padding:8px 4px;border:1px solid var(--border);border-radius:var(--radius, 10px);background:var(--surface);display:flex;justify-content:center}.scopordle-circuit svg{max-width:100%;height:auto}.scopordle-scope-box{margin:0 auto 12px;max-width:560px}.explanation .scopordle-scope-wrap{max-width:560px;margin:0 auto 10px}.scopordle-scope-wrap{--tr-5: #ff9f43;--tr-6: #b39dff;--tr-7: #f4f4f4}.scopordle-scope-wrap .scope-trace.tr-1{stroke-width:3.5}.scopordle-scope-wrap .scope-trace.scopordle-ghost{stroke-width:7;opacity:.38;stroke-linecap:round}.scopordle-scope-wrap .scope-swatch.scopordle-ghost{opacity:.5}.scopordle-scope-wrap .tr-5,.scopordle .tr-5{stroke:var(--tr-5)}.scopordle-scope-wrap .tr-6{stroke:var(--tr-6)}.scopordle-scope-wrap .tr-7{stroke:var(--tr-7)}.scopordle-scope-wrap .scope-swatch.tr-5{border-color:var(--tr-5)}.scopordle-scope-wrap .scope-swatch.tr-6{border-color:var(--tr-6)}.scopordle-scope-wrap .scope-swatch.tr-7{border-color:var(--tr-7)}.scopordle-scope-empty{margin:6px 0 0;font-size:.875rem;color:var(--muted)}.scopordle-swatch{display:inline-block;width:20px;height:0;border-top:4px solid #888;border-radius:2px;vertical-align:middle}.scopordle-swatch.tr-2{border-color:#1aa6c0}.scopordle-swatch.tr-3{border-color:#d64fa8}.scopordle-swatch.tr-4{border-color:#3fae3a}.scopordle-swatch.tr-5{border-color:#e8822a}.scopordle-swatch.tr-6{border-color:#8a6fe8}.scopordle-swatch.tr-7{border-color:#9aa3a8}.scopordle-controls{display:flex;flex-direction:column;gap:10px;margin:0 0 8px}.scopordle-pickers{flex-direction:row;flex-wrap:wrap;gap:10px 22px}.scopordle-picker{display:flex;flex-direction:column;gap:4px}.scopordle-picker-label{font-weight:600}.scopordle-stepper{display:flex;align-items:center;gap:4px}.scopordle-step{min-width:44px;min-height:44px;padding:0 6px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--fg);font:inherit;font-weight:700;cursor:pointer;touch-action:manipulation}.scopordle-step:hover:not(:disabled){border-color:var(--accent)}.scopordle-step:disabled{opacity:.4;cursor:default}.scopordle-val{display:inline-flex;align-items:center;justify-content:center;min-width:86px;min-height:44px;padding:0 6px;border:2px solid var(--accent);border-radius:8px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.scopordle-val[aria-disabled=true]{border-color:var(--border);color:var(--muted)}.scopordle-val:focus-visible,.scopordle-step:focus-visible,.scopordle-damp:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.scopordle-fields{display:grid;grid-template-columns:1fr 1fr;gap:4px 20px}.scopordle-fields .num-field{grid-template-columns:6.6em 1fr}.scopordle-fields .num-label{text-align:right}@media (max-width: 620px){.scopordle-fields{grid-template-columns:1fr}}.scopordle-keys .num-key{min-width:44px}.scopordle-damps-wrap{display:flex;flex-direction:column;gap:4px}.scopordle-damps-label{font-weight:700}.scopordle-damps{display:flex;gap:6px;max-width:420px}.scopordle-damp{flex:1;min-height:44px;min-width:0;padding:0 12px;border:2px solid var(--border);border-radius:22px;background:var(--surface);color:var(--fg);font:inherit;font-weight:600;cursor:pointer}.scopordle-damp[aria-checked=true]{border-color:var(--accent);background:var(--accent);color:var(--accent-fg)}.scopordle-damp:disabled{opacity:.6;cursor:default}.scopordle-actions{display:flex;gap:10px;margin:4px 0 6px}.scopordle-check{min-height:44px;min-width:120px}.scopordle-hint{margin:4px 0 10px;font-size:.875rem;min-height:1.2em}.scopordle-board{--scop-cell: 76px;margin:0 0 10px}.scopordle-board.scopordle-n4{--scop-cell: 64px}.scopordle-board .cell,.scopordle-hcell{box-sizing:border-box;width:var(--scop-cell);min-width:var(--scop-cell);font-size:.78rem}.scopordle-hcell{display:inline-block;text-align:center;font-size:.8rem;font-weight:600;color:var(--muted);border:2px solid transparent}.scopordle-head{margin-bottom:-2px}.scopordle-rowwrap{display:flex;flex-direction:column;gap:1px}.scopordle-picks{margin-left:calc(1.5em + 8px);font-size:.78rem;color:var(--muted)}.scopordle-formula{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.875rem;overflow-wrap:anywhere}p.scopordle-formula{padding:8px 10px;border-radius:8px;background:var(--surface);border:1px solid var(--border)}@media (max-width: 400px){.scopordle-board{--scop-cell: 70px}.scopordle-board.scopordle-n4{--scop-cell: 60px}.scopordle-step{min-width:44px;padding:0 4px}.scopordle-val{min-width:76px}}.phasordle-q{margin:4px 0 8px}.phasordle-given{margin:0 0 10px;padding:8px 10px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.phasordle-schem svg{display:block;max-width:100%;height:auto;margin:0 auto}.phasordle-srcs{display:flex;flex-wrap:wrap;gap:2px 16px;margin:6px 0 0;font-variant-numeric:tabular-nums}.phasordle-src:first-child{font-weight:700}.phasordle-muted{color:var(--muted)}@keyframes phasordle-pulse{0%,to{opacity:1}50%{opacity:.25}}.phasordle-pulse .sch-cur,.phasordle-pulse .sch-node{animation:phasordle-pulse .7s ease-in-out 2}@media (prefers-reduced-motion: reduce){.phasordle-pulse .sch-cur,.phasordle-pulse .sch-node{animation:none}}.phasordle-views{margin:0 0 12px;padding:6px 8px;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg)}.phasordle-seg{display:flex;gap:0;margin:0 0 6px}.phasordle-seg-btn{flex:1 1 0;min-height:44px;min-width:44px;border:2px solid var(--border);background:var(--surface);color:var(--fg);font:inherit;font-weight:600;cursor:pointer}.phasordle-seg-btn:first-child{border-radius:10px 0 0 10px}.phasordle-seg-btn:last-child{border-radius:0 10px 10px 0;border-left:none}.phasordle-seg-btn.on{border-color:var(--accent);background:var(--accent);color:var(--accent-fg)}.phasordle-seg-btn:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.phasordle-pv{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 16px}.phasordle-pv .pv{margin:0;width:240px;max-width:100%}.phasordle-pv .pv-legend{margin:0;max-width:300px}.phasordle-scope{max-width:560px;margin:0 auto}.phasordle-note{margin:2px 0;color:var(--muted);font-size:.875rem}.phasordle-board{margin:0 0 8px}.phasordle-board .cell-sm{width:64px;min-width:64px;height:32px;font-size:.75rem;padding:0 2px}.phasordle-head .row-cells{gap:4px}.phasordle-head-cell{display:inline-block;width:64px;text-align:center;font-size:.75rem;font-weight:700;color:var(--muted)}.phasordle-hint,.phasordle-kcl{margin:0 0 4px 2em;font-size:.875rem}.phasordle-kcl{color:var(--muted);font-variant-numeric:tabular-nums}.phasordle-answer{display:flex;flex-direction:column;gap:10px;margin-bottom:14px}.phasordle-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}.phasordle-fields .num-field{display:flex;flex-direction:column;align-items:stretch;gap:4px;min-width:0}.phasordle-fields .num-label{font-size:.95rem}.phasordle-fields .num-input{min-height:44px;min-width:0;padding:6px 8px}.phasordle-angle-pre{align-self:center;padding:0 4px 0 0;font-weight:700}.phasordle-keys{margin:0;gap:6px}.phasordle-keys .num-key{min-width:44px}.phasordle-keys .num-key:disabled{opacity:.5;cursor:default}.phasordle-check{min-height:44px;align-self:flex-start;min-width:120px}.phasordle-parts{margin:4px 0;padding-left:1.2em;font-variant-numeric:tabular-nums}.phasordle-explain-pv{max-width:420px;margin:4px 0 8px}.phasordle-explain-pv .pv{max-width:240px}.impedordle{display:flex;flex-direction:column;gap:12px;min-width:0}.impedordle-q{margin:0}.impedordle .lcr{margin:0 auto;width:100%}.impedordle .lcr-box{width:100%;margin:0 auto}.impedordle-plot{max-width:460px;width:100%;margin:0 auto}.imp-plot{display:block;width:100%;height:auto}.imp-plot-bg{fill:var(--surface);stroke:var(--border)}.imp-grid{stroke:var(--border);stroke-width:1}.imp-tick,.imp-unit{font-size:11px;fill:var(--muted)}.imp-curve{fill:none;stroke-linejoin:round}.imp-guess{stroke:var(--muted);stroke-width:2.5}.imp-guess-old{stroke:var(--muted);stroke-width:1.2;opacity:.45}.imp-true{stroke:var(--accent);stroke-width:2.5}.imp-dot{fill:var(--accent);stroke:var(--surface);stroke-width:1.5}.impedordle-plot-legend{display:flex;flex-wrap:wrap;gap:4px 14px;margin:4px 0 0;padding:0;list-style:none;font-size:.85rem;color:var(--muted)}.impedordle-plot-legend li{display:flex;align-items:center;gap:6px}.imp-sw{display:inline-block;width:18px;height:0;border-top:3px solid var(--muted)}.imp-sw-true{border-top-color:var(--accent)}.imp-sw-dot{width:9px;height:9px;border:0;border-radius:50%;background:var(--accent)}.impedordle-controls{display:flex;flex-direction:column;gap:8px;min-width:0}.impedordle-label{font-weight:600}.impedordle-picker{display:grid;grid-template-columns:repeat(3,minmax(0,96px));gap:8px}.impedordle-picker-4{grid-template-columns:repeat(2,minmax(0,96px))}.impedordle-topo{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:64px;min-width:44px;padding:4px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--fg);font:inherit;cursor:pointer}.impedordle-topo[aria-checked=true]{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent) inset;background:var(--sel, var(--surface-2))}.impedordle-topo:disabled{cursor:default;opacity:.6}.imp-icon{width:84px;height:34px;color:var(--fg)}.imp-icon-lg{width:120px;height:48px;flex:none}.imp-ic-line{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.imp-ic-term{fill:var(--surface);stroke:currentColor;stroke-width:1.2}.impedordle-topo-name{font-size:.8rem;white-space:nowrap}.impedordle-fields{display:flex;flex-direction:column;gap:8px}.impedordle-fields:empty{display:none}.impedordle-extras{display:flex;flex-direction:column;gap:8px}.impedordle-f0{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px}.impedordle-units{display:flex;gap:4px}.impedordle-unit{min-width:56px;min-height:44px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--fg);font:inherit;cursor:pointer}.impedordle-unit[aria-checked=true]{background:var(--accent);border-color:var(--accent);color:var(--accent-fg)}@media (max-width: 420px){.imp-keys{flex-wrap:wrap}.imp-keys .num-key{flex:1 0 calc(25% - 3px);min-width:44px}}.impedordle-note{margin:0}.impedordle-actions .btn{width:100%;min-height:48px}.impedordle{--imp-cell: 64px}.impedordle-hard{--imp-cell: 48px}.impedordle-board .cell,.impedordle-hcell{box-sizing:border-box;width:var(--imp-cell);min-width:0}.impedordle-board .cell{font-size:.8rem}.impedordle-hcell{display:inline-block;text-align:center;font-size:.8rem;font-weight:600;color:var(--muted);border:2px solid transparent}.impedordle-head{margin-bottom:-2px}.impedordle-rowwrap{display:flex;flex-direction:column;gap:2px}.impedordle-hint{margin:0 0 4px;font-size:.85rem;color:var(--muted)}.impedordle-explain-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.wattordle-q{margin:4px 0 8px}.wattordle-given{margin:0 0 12px;padding:8px 10px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.wattordle-given .pv{margin:4px auto 0;max-width:220px}.wattordle-givens{display:flex;flex-wrap:wrap;gap:2px 16px;margin:0 0 4px;font-variant-numeric:tabular-nums}.wattordle-givens span:first-child{font-weight:700}.wattordle-loads{margin:4px 0;padding-left:1.2em}.wattordle-loads li{margin:2px 0}.wattordle-scope-box{max-width:560px;margin:0 auto}.wattordle-track{position:relative;height:92px;margin-top:2px}.wattordle-lane{position:relative;height:46px}.wattordle-handle{position:absolute;top:1px;width:44px;height:44px;border-radius:10px;border:2px solid var(--border);background:var(--surface-2);color:var(--fg);font:inherit;font-weight:800;cursor:ew-resize;touch-action:none}.wattordle-handle:before{content:"";position:absolute;left:50%;top:-4px;width:0;height:6px;border-left:2px solid currentColor}.wattordle-handle-v{border-color:#b49a12}.wattordle-handle-i{border-color:#1592a8;border-style:dashed}.wattordle-handle:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.wattordle-chips{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0}.wattordle-chip{padding:4px 8px;border-radius:999px;border:1px solid var(--border);background:var(--bg);font-size:.875rem;font-variant-numeric:tabular-nums}.wattordle-chip-v{border-color:#b49a12}.wattordle-chip-i{border-color:#1592a8;border-style:dashed}.wattordle-note{margin:2px 0;color:var(--muted);font-size:.875rem}.wattordle-board{margin:0 0 8px}.wattordle-board .cell-sm{width:48px;min-width:48px;height:32px;font-size:.75rem;padding:0 2px}.wattordle-head .row-cells{gap:4px}.wattordle-head-cell{display:inline-block;width:48px;text-align:center;font-size:.75rem;font-weight:700;color:var(--muted)}.wattordle-hint{margin:0 0 4px 2em;font-size:.875rem}.wattordle-tri-box{margin:0 0 12px;padding:6px 8px;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg)}.wattordle-triangle{display:block;width:100%;max-width:420px;height:auto;margin:0 auto}.wattordle-axis{stroke:var(--border);stroke-width:1}.wattordle-tri{stroke:none}.wattordle-tri-guess{fill:var(--muted);fill-opacity:.18}.wattordle-tri-truth,.wattordle-tri-corrected{fill:none}.wattordle-side{fill:none;stroke-width:4;stroke-linecap:round}.wattordle-side-guess{stroke:var(--muted)}.wattordle-side-truth{stroke:var(--accent);stroke-width:2.5;stroke-dasharray:7 4}.wattordle-side-corrected{stroke:var(--fg);stroke-width:1.5;stroke-dasharray:2 4}.wattordle-k-correct{stroke:var(--m-correct)}.wattordle-k-close{stroke:var(--m-close);stroke-dasharray:10 4}.wattordle-k-low,.wattordle-k-high{stroke:var(--m-dir);stroke-dasharray:3 4}.wattordle-k-sign{stroke:var(--m-sign);stroke-dasharray:10 4 2 4}.wattordle-k-wrong{stroke:var(--fg);stroke-opacity:.55;stroke-dasharray:1 5}.wattordle-arc{fill:none;stroke:var(--muted);stroke-width:1.5}.wattordle-tri-label{font-size:12px;fill:var(--fg);font-variant-numeric:tabular-nums}.wattordle-theta{fill:var(--muted)}.wattordle-answer{display:flex;flex-direction:column;gap:10px;margin-bottom:14px}.wattordle-fields{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px 12px}.wattordle-fields .num-field{min-width:0}.wattordle-ll{display:flex;flex-direction:column;gap:4px;grid-column:1 / -1}.wattordle-ll-row{display:flex;gap:8px}.wattordle-ll-btn{flex:1 1 0;min-height:48px;min-width:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px solid var(--border);border-radius:10px;background:var(--surface);color:var(--fg);font:inherit;cursor:pointer}.wattordle-ll-btn span{font-size:.75rem;color:var(--muted)}.wattordle-ll-btn.on{border-color:var(--accent);background:var(--accent);color:var(--accent-fg)}.wattordle-ll-btn.on span{color:var(--accent-fg)}.wattordle-ll-btn:disabled{opacity:.6;cursor:default}.wattordle-ll-btn:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.wattordle-keys{margin:0;gap:6px}.wattordle-keys .num-key{min-width:44px}.wattordle-keys .num-key:disabled{opacity:.5;cursor:default}.wattordle-check{min-height:44px;align-self:flex-start;min-width:120px}.wattordle-explain-scope{max-width:480px;margin:4px 0 8px}.bodordle{display:flex;flex-direction:column;gap:12px}.bodordle-q{margin:0}.bodordle-formula{display:flex;align-items:center;justify-content:center;gap:8px;font-size:1.15rem;padding:8px 0;font-variant-numeric:tabular-nums;flex-wrap:wrap}.bodordle-frac{display:inline-flex;flex-direction:column;align-items:center}.bodordle-num{padding:0 4px 2px;border-bottom:2px solid currentColor}.bodordle-den{padding:2px 4px 0}.bodordle-circuit{display:flex;flex-direction:column;align-items:center}.bodordle-circuit svg{max-width:100%;height:auto}.bodordle-circuit p{margin:4px 0 0;align-self:stretch}.bodordle-plot{max-width:520px;width:100%;margin:0 auto}.bodordle-editor{width:100%;max-width:560px;margin:0 auto;box-sizing:border-box;display:flex;flex-direction:column;gap:10px;border:1px solid var(--border);border-radius:10px;padding:10px;background:var(--surface)}.bodordle-top,.bodordle-phaserow{display:flex;align-items:flex-start;gap:6px;flex-wrap:wrap}.bodordle-db{align-self:center;color:var(--muted);font-size:.9rem}.bodordle .num-field{margin:0}.bodordle-k .num-input,.bodordle-phase .num-input{width:7.5em}.bodordle-unitrow{display:flex;align-items:center;justify-content:space-between;gap:8px}.bodordle-sublabel{font-weight:600;font-size:.9rem}.bodordle-breaks{display:flex;flex-direction:column;gap:8px}.bodordle-brow{display:flex;flex-direction:column;gap:4px}.bodordle-bline{display:flex;align-items:flex-start;gap:6px;flex-wrap:wrap}.bodordle-w{flex:1 1 72px;min-width:72px;max-width:240px;position:relative}.bodordle-w .num-label{margin-right:2px}.bodordle-w .num-input{width:100%;min-width:0}.bodordle .num-field:not(:focus-within) .num-keys,.bodordle .num-field:not(:focus-within) .num-keys-wrap{display:none}.bodordle-w:focus-within{flex-basis:100%}.bodordle-w .num-echo:empty{display:none}.bodordle-qline{display:flex;align-items:center;gap:8px;padding-left:8px;flex-wrap:wrap}.bodordle-qline[hidden]{display:none}.bodordle-qf .num-input{width:5em}.bodordle-seg{display:inline-flex;border:1px solid var(--border);border-radius:8px;overflow:hidden;flex:none}.bodordle-seg-btn{min-width:44px;min-height:44px;padding:0 8px;border:0;background:var(--bg);color:var(--fg);font:inherit;font-size:.9rem;cursor:pointer}.bodordle-seg-btn+.bodordle-seg-btn{border-left:1px solid var(--border)}.bodordle-seg-btn.active{background:var(--accent);color:var(--bg);font-weight:700}.bodordle-seg-btn:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}.bodordle-seg-btn:disabled{opacity:.6;cursor:default}.bodordle-type .bodordle-seg-btn{min-width:48px}.bodordle-del{min-width:44px;min-height:44px;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--fg);font-size:1.2rem;cursor:pointer;flex:none}.bodordle-add{min-height:44px;align-self:flex-start}.bodordle-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.bodordle-check{min-height:44px;min-width:120px}.bodordle-status{margin:0}.bodordle-board{width:100%;max-width:560px;margin:0 auto;display:flex;flex-direction:column;gap:8px}.bodordle-row .row-cells{flex-wrap:wrap;gap:4px}.bodordle-row .cell{font-size:.8rem;min-width:40px}.bodordle-hints p{margin:2px 0 0 2em;font-size:.85rem;color:var(--muted)}.bodordle-explain .bodordle-formula{justify-content:flex-start}.bodordle-explain .bv{max-width:520px;margin:8px auto}@media (max-width: 420px){.bodordle-editor{padding:6px}.bodordle-seg-btn{padding:0 4px}.bodordle-type .bodordle-seg-btn{min-width:44px}.bodordle-bline{gap:4px}}.xfmrordle-mode{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin:4px 0 6px;padding:8px 10px;border:1px solid var(--border);border-left:4px solid var(--accent);border-radius:var(--radius);background:var(--surface)}.xfmrordle-mode-name{font-weight:800;font-size:1.1rem;letter-spacing:.02em}.xfmrordle-mode-what{color:var(--muted);font-size:.9rem}.xfmrordle-q{margin:4px 0 8px}.xfmrordle-given{margin:0 0 10px;padding:8px 10px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.xfmrordle-schem svg{display:block;width:100%;max-width:460px;height:auto;margin:0 auto}.xfmrordle-srcs{display:flex;flex-wrap:wrap;gap:2px 16px;margin:6px 0 0;font-variant-numeric:tabular-nums}.xfmrordle-ask{margin:6px 0 0;font-weight:600}.xfmrordle-board{margin:0 0 8px}.xfmrordle-board .row-cells{display:flex;flex:1 1 auto;min-width:0;gap:4px}.xfmrordle-board .cell-sm{flex:1 1 0;width:auto;min-width:0;height:32px;font-size:.75rem;padding:0 2px;overflow:hidden}.xfmrordle-n7 .cell-sm,.xfmrordle-n7 .xfmrordle-head-cell{font-size:.66rem}.xfmrordle-head .row-cells{display:flex;gap:4px;flex:1 1 auto;min-width:0}.xfmrordle-head-cell{flex:1 1 0;min-width:0;text-align:center;font-size:.75rem;font-weight:700;color:var(--muted);overflow:hidden;white-space:nowrap}.xfmrordle-hint{margin:0 0 8px;font-size:.9rem}.xfmrordle-answer{display:flex;flex-direction:column;gap:10px;margin-bottom:14px}.xfmrordle-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}.xfmrordle-fields .num-field{display:flex;flex-direction:column;align-items:stretch;gap:4px;min-width:0}.xfmrordle-fields .num-label{font-size:.95rem}.xfmrordle-fields .num-input{min-height:44px;min-width:0;width:100%;padding:6px 8px}.xfmrordle-angle-pre{align-self:center;padding:0 4px 0 0;font-weight:700}.xfmrordle-keys{margin:0;gap:6px}.xfmrordle-keys .num-key{min-height:44px;min-width:44px}.xfmrordle-keys .num-key:disabled{opacity:.5;cursor:default}.xfmrordle-check{min-height:44px;align-self:flex-start;min-width:120px}.xfmrordle-conv{margin:4px 0 8px;padding-left:1.2rem}.xfmrordle-explain .xfmrordle-mode-tag{margin:0 0 4px;font-weight:800}
