body{height:100dvh;overflow:hidden}.top .bar{gap:10px}.circ{flex:1;display:grid;grid-template-columns:var(--cA,220px) 1fr;min-height:0}.parts{background:#fff;border-inline-end:1.5px solid var(--line);padding:12px;overflow:auto;display:flex;flex-direction:column;gap:8px}.parts h2{font-size:16px;margin:4px 0 0}.pgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.part{all:unset;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 4px;border-radius:14px;border:1.5px solid var(--line);background:#fff;font-size:12.5px;font-weight:700;text-align:center}.part:hover,.part:focus-visible{border-color:var(--brand);background:#f7f4ff}.part svg{width:56px;height:40px}.part small{font-weight:500;color:var(--muted);direction:ltr}.parts .seg{display:flex;background:#f4f7ff;border-radius:12px;padding:3px}.parts .seg button{all:unset;cursor:pointer;flex:1;text-align:center;padding:7px;border-radius:9px;font-weight:700;font-size:14px}.parts .seg button.on{background:#fff;box-shadow:0 1px 3px #0000001f}.howto{background:#f4f7ff;border-radius:14px;padding:10px 12px;font-size:13px;line-height:1.7}.howto p{margin:0 0 6px;color:var(--muted)}.work{display:flex;flex-direction:column;min-width:0;min-height:0}.tbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding:8px 10px;background:#fff;border-bottom:1.5px solid var(--line)}.tg{display:flex;gap:4px;align-items:center;background:#f4f7ff;border-radius:12px;padding:3px}.tb{all:unset;cursor:pointer;min-width:36px;height:36px;padding:0 10px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-weight:700;font-size:14px}.tb:hover{background:#fff}.tb:disabled{opacity:.35;cursor:default}.tb.danger:hover{background:#ffe5e6}.wc{all:unset;cursor:pointer;width:24px;height:24px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1.5px var(--line)}.wc.on{box-shadow:0 0 0 3px var(--brand)}.status{font-weight:700;font-size:14px}.status.bad{color:#c9252b}.status.ok{color:var(--mint-ink)}.board{position:relative;flex:1;min-height:0;background:#e9eef7;overflow:hidden}#sv{display:block;width:100%;height:100%;touch-action:none;user-select:none;-webkit-user-select:none}#sv text{font-family:Arial,Tahoma,sans-serif}.props{position:absolute;top:10px;inset-inline-start:10px;background:#fff;border:1.5px solid var(--line);border-radius:16px;padding:10px 12px;box-shadow:0 10px 24px #121a3324;display:flex;flex-direction:column;gap:8px;min-width:200px;font-size:14px}.props b{font-size:15px}.props select{height:36px;border-radius:10px;border:1.5px solid var(--line);padding:0 8px;font:600 14px var(--f-body)}.props .row{display:flex;gap:8px;align-items:center;justify-content:space-between}.props .note{color:var(--muted);font-size:12.5px;max-width:240px;line-height:1.6}.hole{fill:#3a3f4b}.hole.hl{fill:#18b37e}.hole.tgt{fill:#ff8a1f}.cmp{cursor:grab}.cmp.sel .body{filter:drop-shadow(0 0 4px #FF8A1F)}.wire{fill:none;stroke-linecap:round;cursor:pointer}.wire.sel{filter:drop-shadow(0 0 3px #FF8A1F)}.probe{cursor:grab}.dial{cursor:pointer}@keyframes buzz{0%,to{transform:translate(0)}50%{transform:translate(1px,-1px)}}.buzzing{animation:buzz .08s linear infinite}@media (max-width:760px){body{height:100dvh;overflow:hidden}.circ{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.part{touch-action:pan-x}.props{top:auto;bottom:8px;inset-inline:8px;min-width:0;max-height:45%;overflow:auto}.tbar{gap:6px;padding:6px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.tbar::-webkit-scrollbar{display:none}.tb{min-width:40px;height:40px}.tg{flex:none}.status{position:absolute;bottom:6px;inset-inline-start:8px;inset-inline-end:8px;flex-basis:auto;pointer-events:none;background:#ffffffd9;border-radius:10px;padding:3px 8px;z-index:2;width:auto}.status:empty{display:none}.work{position:relative}.top .pname{display:none}.props{max-height:38%}.props .note{display:none}.tbar .tg:has(#fixBtn){display:none}.parts{border:0;border-bottom:1.5px solid var(--line);flex-direction:row;flex-wrap:nowrap;overflow-x:auto;align-items:center}.parts h2,.parts .sub,.howto{display:none}.pgrid{display:flex;gap:6px}.part{flex:none;min-width:64px}.tb span,.top .crumbs{display:none}.pname{width:110px;flex:1;min-width:0}.top .bar{flex-wrap:wrap;gap:8px;padding-block:6px}.logo img{height:32px}.work,.circ{min-width:0;max-width:100vw}.status{font-size:13px}.exLab select{max-width:120px}}.taskBar{display:grid;grid-template-columns:1fr auto;gap:4px 10px;align-items:center;background:#fff8e1;border-bottom:2px solid #FFC93C;padding:8px 12px}.taskBar .tbTop{display:flex;align-items:center;gap:6px;min-width:0}.taskBar b{font-size:16px;line-height:1.35}.taskBar .tbMore{all:unset;cursor:pointer;font-size:14px;color:#8a6d00;padding:2px 8px;border-radius:8px;background:#ffedb0}.taskBar span{grid-column:1/-1;grid-row:2;font-weight:600;font-size:14px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;cursor:pointer}.taskBar.open span{display:block;-webkit-line-clamp:unset}.taskBar em{grid-column:1/-1;font-style:normal;font-weight:800;color:var(--mint-ink)}.taskBar em:empty{display:none}.taskBar .tbBtns{grid-column:2;grid-row:1;display:flex;gap:6px}.taskBar .tbHelp{background:#ffc93c;color:#3a2a00;font-weight:800}.taskBar .tbHelp.on{background:#ff8a1f;color:#fff}.ghostW{animation:ghostRun 1s linear infinite}@keyframes ghostRun{to{stroke-dashoffset:-36}}.ghostP{animation:ghostPulse 1.2s ease-in-out infinite}@keyframes ghostPulse{50%{stroke-width:6}}@media (prefers-reduced-motion:reduce){.ghostW,.ghostP{animation:none}}@media (max-width:640px){.taskBar{padding:6px 10px;grid-template-columns:1fr}.taskBar .tbTop{grid-column:1;grid-row:1}.taskBar b{font-size:15px}.taskBar span{grid-row:auto;font-size:14px;-webkit-line-clamp:2}.taskBar .tbBtns{grid-column:1;grid-row:auto;flex-wrap:wrap}.taskBar .tbBtns .btn{padding:6px 10px;font-size:13px}}.taskBar.done{background:#e7f8f1;border-color:var(--mint)}body.embed .top,body.embed #myBtn,body.embed .howto,body.embed .parts h2:first-child,body.embed .parts .sub{display:none}.tb.runb{background:#18b37e;color:#fff;padding:0 16px;height:40px;border-radius:12px;font-size:16px;box-shadow:0 3px #0e8a5f}.tb.runb:hover{background:#14a271}.tb.runb.on{background:#e5484d;box-shadow:0 3px #9e1e23}.tb.runb.on:hover{background:#d63d42}.tb[hidden]{display:none!important}.board.live{box-shadow:inset 0 0 0 3px #18b37e}.pin{cursor:crosshair;transition:r .1s}.pin:hover,.pin.tgt{fill:#ff8a1f}.pinhit{cursor:crosshair}body.dragging,body.dragging *{cursor:grabbing!important}.part{touch-action:pan-y}@media (max-width:760px){.tb.runb span{display:inline}.part{touch-action:pan-x}}#sv .wend{fill:#fff;stroke:#2563eb;stroke-width:3;cursor:grab;opacity:.95}#sv .bend{fill:#fff;stroke:#ff8a1f;stroke-width:2.5;cursor:move}@keyframes popfx{0%{transform:scale(.2);opacity:1}25%{transform:scale(1.25);opacity:1}to{transform:scale(1.6);opacity:0}}#sv .popfx{animation:popfx 1.2s ease-out forwards;transform-box:fill-box;transform-origin:center}@keyframes hot{0%,to{transform:translate(0)}25%{transform:translate(-1.5px,1px)}75%{transform:translate(1.5px,-1px)}}#sv .hot{animation:hot .12s linear infinite;filter:drop-shadow(0 0 10px #FF3B3B)}#sv .qd{stroke:#fff;stroke-width:1}.tb.on{background:#fff;box-shadow:0 1px 3px #0000001f}.parts .seg{margin-bottom:2px}.props .rin{display:flex;gap:4px}.props .rin input{width:84px;height:36px;border-radius:10px;border:1.5px solid var(--line);padding:0 8px;font:600 14px var(--f-body)}@media (max-width:760px){.parts .seg{flex:none;flex-direction:column;padding:2px}.parts .seg button{padding:6px 8px;font-size:12.5px}}.part,.part *{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.props .phead{display:flex;justify-content:space-between;align-items:flex-start;gap:6px}.props .phead small{font-weight:500;color:var(--muted)}.props .x{all:unset;cursor:pointer;color:var(--muted);padding:0 4px}.props .pins{display:flex;flex-direction:column;gap:3px;font-size:12px;background:#f6f8fd;border-radius:10px;padding:6px 8px}.props .pins span{color:#9aa3b8}.props .pins span.ok{color:var(--mint-ink)}.props .pins b{color:var(--ink);font-family:var(--f-mono)}.props .pins .pinsHead{color:var(--ink);font-size:11.5px;border-bottom:1px dashed #D5DBE8;padding-bottom:3px;margin-bottom:2px}.props .pins .pinsHead b{font-family:inherit;color:var(--brand)}body.embed .tbar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:6px;padding:6px 8px}body.embed .tbar::-webkit-scrollbar{display:none}body.embed .tbar .tg{flex:none}body.embed #wireColors,body.embed .tbar .tg:has(#zOut){display:none}body.embed .tbar .status{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.helpCard{display:flex;flex-direction:column;gap:6px;margin-top:6px;max-height:150px;overflow:auto;padding:8px 10px;border-radius:12px;background:#fff8e1;border:1.5px solid #FFC93C;color:#3b2f00;font-size:13.5px;line-height:1.6}.helpCard[hidden]{display:none}.helpCard p{margin:0;display:flex;gap:8px;align-items:flex-start}.helpCard p>span:first-child{flex:none;font-size:17px}html[data-theme=dark] .helpCard{background:#2b2614;border-color:#8a6d10;color:#fbefc8}.tb.runb.pulse{animation:runPulse 1s ease-in-out infinite}@keyframes runPulse{50%{transform:scale(1.08);box-shadow:0 0 0 6px #18b37e59}}@media (prefers-reduced-motion:reduce){.tb.runb.pulse{animation:none;box-shadow:0 0 0 4px #18b37e73}}body.pic .lzoom,body.pic .wsUndo,body.pic .labNav,body.pic .parts,body.pic .tbar,body.pic #taskBar,body.pic .top,body.pic .zoomer,body.pic .zm,body.pic #props,body.pic #toast,body.pic .labUndo,body.pic [class*=undo]{display:none!important}body.pic{overflow:hidden}body.pic main,body.pic .work,body.pic .board{height:100vh!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important}body.pic #sv{pointer-events:none}body.pic .picRun{position:fixed;inset-block-start:8px;inset-inline-start:8px;z-index:9;border:0;border-radius:999px;padding:6px 14px;font:800 14px var(--f-body,system-ui);background:#18b37e;color:#fff;box-shadow:0 3px #0e7a55;cursor:pointer}body.pic .picRun.on{background:#e5484d;box-shadow:0 3px #a3262a}.circ{position:relative}.pFoldBtn{all:unset;cursor:pointer;position:absolute;top:50%;inset-inline-start:calc(var(--cA,220px) - 13px);transform:translateY(-50%);width:24px;height:48px;border-radius:12px;background:#fff;border:1.5px solid var(--line);display:grid;place-items:center;font-size:12px;color:var(--brand,#5B3DF5);z-index:9;box-shadow:0 3px 10px #1b23501f}.pFoldBtn:hover{background:#f1ecff}.circ.pFold{grid-template-columns:0 1fr!important}.circ.pFold>.parts{visibility:hidden;padding:0;border:0;overflow:hidden}.circ.pFold>.gutter{display:none}.circ.pFold .pFoldBtn{inset-inline-start:4px}html.labDark .pFoldBtn{background:#1a2238;border-color:#2c3655}@media (max-width:760px){.pFoldBtn{display:none}.circ.pFold{grid-template-columns:1fr!important}.circ.pFold>.parts{visibility:visible;padding:revert;border:revert;overflow:auto}}.taskQ{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap;margin:6px 0}.taskQ[hidden]{display:none}.taskQ .tqOpt{border:2px solid #5B3DF5;background:#fff;color:#2a1e7a;font-weight:800;border-radius:12px;padding:6px 14px}.taskQ .tqOpt.on{background:#5b3df5;color:#fff}.taskQ .tqOpt:disabled:not(.on){opacity:.5}html[data-theme=dark] .taskQ .tqOpt{background:#1f1a4a;color:#e5deff}.goalDlg{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:#121a338c;display:grid;place-items:center;padding:14px}.goalDlg[hidden]{display:none}.goalDlg .gcard{background:#fff;border-radius:22px;padding:16px;width:min(560px,100%);display:flex;flex-direction:column;gap:10px;text-align:center;box-shadow:0 20px 50px #121a334d}.goalDlg .gcard b{font-size:20px}.goalDlg iframe{width:100%;aspect-ratio:16/10;border:2px solid #E1E7F7;border-radius:16px;background:#eef2fb}.goalDlg p{margin:0;color:#56607e}.tbGoal{border-color:#ff8a1f!important;color:#b45309!important;font-weight:800}body.goal g.buzzing{filter:drop-shadow(0 0 8px #FFC93C) drop-shadow(0 0 14px #FF8A1F);transform-box:fill-box;transform-origin:center;animation:goalRing .35s ease-in-out infinite alternate}@keyframes goalRing{0%{transform:scale(1) rotate(-6deg)}to{transform:scale(1.18) rotate(6deg)}}@media (max-width:760px){html body.embed .taskBar{margin:4px 6px!important;padding:6px 10px!important;border-width:3px!important;border-radius:16px!important;box-shadow:none!important;gap:4px 6px!important;grid-template-columns:minmax(0,1fr) auto!important}html body.embed .taskBar .tbTop{grid-column:1!important;grid-row:1!important;min-width:0}html body.embed .taskBar b{font-size:14px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}html body.embed .taskBar .tbBtns{grid-column:1/-1!important;grid-row:2!important;flex-wrap:nowrap!important;gap:4px!important;justify-content:flex-start}html body.embed .taskBar .tbBtns .btn{padding:0 9px!important;min-height:34px!important;height:34px;font-size:13px!important;border-radius:999px}html body.embed .taskBar span{font-size:15px!important;grid-column:1/-1!important;grid-row:3!important}html body.embed .taskBar .taskQ .tqT{font-size:15px}html body.embed .helpCard{max-height:32vh;font-size:14px;line-height:1.55}html body.embed .helpCard p>span:first-child{font-size:15px}body.embed .status:not(.bad):not(.ok){display:none!important}body.embed .tbar{padding:4px 6px;gap:4px}body.embed .tb{height:38px;min-width:38px}body.embed .part{min-width:58px;padding:4px}body.embed .part img,body.embed .part svg{max-height:34px}body.embed.hasLabNav{padding-bottom:46px}body.embed .labNav{height:46px}body.embed .labNav button{font-size:13px}body.embed .wsUndo button{width:40px;height:30px;font-size:18px}}@media (max-width:960px) and (max-height:520px){body.embed .circ{grid-template-columns:80px minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important}body.embed .circ>.parts{grid-column:1!important;grid-row:1!important;order:0!important;max-height:none!important;height:auto!important}body.embed .circ>.work{grid-column:2!important;grid-row:1!important;order:0!important}body.embed .parts{flex-direction:column!important;flex-wrap:nowrap!important;overflow-y:auto!important;overflow-x:hidden!important;border-bottom:0!important;border-inline-end:1.5px solid var(--line);padding:4px!important;gap:4px}body.embed .parts .seg{flex-direction:column!important}body.embed .pgrid{display:flex!important;flex-direction:column!important;gap:4px}body.embed .part{min-width:0!important;width:100%}body.embed .part small,body.embed .part .en{display:none}body.embed .labNav{display:none!important}body.embed.hasLabNav{padding-bottom:0!important}html body.embed .taskBar:not(.qOn) span{display:-webkit-box!important;-webkit-line-clamp:1!important;-webkit-box-orient:vertical;overflow:hidden}html body.embed .helpCard{max-height:38vh}html body.embed .taskBar .tbBtns{grid-column:2!important;grid-row:1!important}html body.embed .taskBar span{grid-row:2!important;font-size:14px!important}html body.embed .taskBar .tbBtns .btn{min-height:30px!important;height:30px}}#sv path.whit{fill:none;stroke:transparent;pointer-events:none}@media (pointer:coarse){#sv path.whit{pointer-events:stroke}}.taskQ.ask{background:#f1ecff;border:3px solid #5B3DF5;border-radius:16px;padding:8px 10px;animation:tqAsk 1.6s ease-in-out infinite}.taskQ.ask .tqT{color:#2a1e7a}.taskQ.ask .tqOpt{font-size:15px;padding:8px 16px;box-shadow:0 3px #c9bcff}.taskQ.ask .tqOpt:hover{background:#5b3df5;color:#fff}@keyframes tqAsk{0%,to{box-shadow:0 0 #5b3df573}50%{box-shadow:0 0 0 9px #5b3df500}}@media (prefers-reduced-motion:reduce){.taskQ.ask{animation:none}}html[data-theme=dark] .taskQ.ask{background:#1f1a4a}html[data-theme=dark] .taskQ.ask .tqT{color:#e5deff}.taskBar:has(.taskQ.ask)>span{display:none}@keyframes askShake{0%,to{transform:none}20%{transform:translate(-7px)}40%{transform:translate(7px)}60%{transform:translate(-5px)}80%{transform:translate(5px)}}.taskQ.askShake{animation:askShake .45s ease}@media (prefers-reduced-motion:reduce){.taskQ.askShake{animation:none;outline:3px solid #FF8A1F}}.helpCard .hOne{font-size:16px;line-height:1.6}.helpCard .hOne>span:first-child{font-size:22px!important}.helpCard .hNav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:2px}.helpCard .hNav b{font-size:13px;opacity:.8}.helpCard .hNav button{all:unset;cursor:pointer;padding:4px 12px;border-radius:999px;background:#fff;border:1.5px solid #FFC93C;font-weight:800;font-size:13px;color:#7a5b00}.helpCard .hNav button.nx{background:#ffc93c;color:#1b2350}.helpCard .hNav button:disabled{opacity:.35;cursor:default}.hlp{filter:drop-shadow(0 0 6px #FFC93C) drop-shadow(0 0 12px #FF9F1C);animation:hlpP 1.1s ease-in-out infinite}#runBtn.hlp{box-shadow:0 0 0 4px #ffc93c;filter:none}@keyframes hlpP{50%{filter:drop-shadow(0 0 2px #FFC93C) drop-shadow(0 0 4px #FF9F1C)}}
