:root{--bg: #0f1827;--panel: #0a1019;--editor: #1e1e1e;--editor-2: #252526;--editor-hl: #373737;--line: #787a7b;--teal: #008080;--teal-hi: #009b9b;--teal-lo: #006666;--red: #db133c;--red-hi: #f0284f;--text: #ffffff;--text-2: #c6c6c6;--muted: #8a93a0;--green: #7abc78;--blue: #569cd6;--orange: #ce9178;--w0: #3f7a52;--w1: #5df06a;--wx: #4aa3ff;--wz: #8a8a8a;--werr: #ff4d4d;--sel: #f5d547;--sans: "Helvetica Neue", Helvetica, Arial, sans-serif;--mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;--radius: 18px}*{box-sizing:border-box}html,body{margin:0;height:100%;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:15px}body{display:flex;flex-direction:column;overflow:hidden}.mono{font-family:var(--mono)}button,input,select,textarea{font:inherit;color:inherit}button:focus-visible,select:focus-visible{outline:2px solid var(--teal-hi);outline-offset:2px}.topbar{position:relative;display:flex;justify-content:center;align-items:center;min-height:72px;padding:6px 16px;flex:0 0 auto}.title{margin:0;font-size:46px;font-weight:700;letter-spacing:-.5px;line-height:1}.title a{color:inherit;text-decoration:none}.t-red{color:var(--red);font-weight:800}.t-teal{color:var(--teal);font-weight:500}.topbar-right{position:absolute;right:22px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:14px}.logo-slot img{display:block;height:55px;background:#fff;border-radius:20px}.lang-switch{display:flex;gap:2px}.lang-switch button{background:#121a26;border:1px solid #243246;color:var(--text-2);padding:2px 10px;font-size:12.5px;cursor:pointer}.lang-switch button:first-child{border-radius:999px 2px 2px 999px;padding-left:12px}.lang-switch button:last-child{border-radius:2px 999px 999px 2px;padding-right:12px}.lang-switch button:hover{border-color:var(--teal);color:#fff}.lang-switch button.on{background:var(--teal);border-color:var(--teal);color:#fff}.layout{flex:1 1 auto;display:flex;gap:14px;padding:0 16px 14px;min-height:0}.panel{background:var(--panel);border-radius:var(--radius);min-height:0}.left-panel{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;padding:16px 18px}.right-panel{flex:0 0 clamp(240px,var(--right-width, 380px),60vw);display:flex;flex-direction:column;padding:12px 18px 16px;overflow:hidden}.toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-bottom:14px}.spacer{flex:1 1 auto}.pill{background:var(--teal);color:#fff;border:none;border-radius:999px;padding:6px 20px 7px;font-size:17px;cursor:pointer;white-space:nowrap;transition:background .12s}.pill:hover:not(:disabled){background:var(--teal-hi)}.pill:active:not(:disabled){background:var(--teal-lo)}.pill.red{background:var(--red)}.pill.red:hover:not(:disabled){background:var(--red-hi)}.pill.active{box-shadow:inset 0 0 0 2px #fff}.pill:disabled{opacity:.45;cursor:default}.pill.small{font-size:14px;padding:4px 14px 5px}.pill-select{background:var(--editor);border:1px solid var(--editor-hl);border-radius:999px;padding:6px 12px;font-size:14px;cursor:pointer}.speed{display:flex;align-items:center;gap:6px;font-size:14px;color:var(--text-2)}.speed input{width:110px;accent-color:var(--teal)}.speed-value{min-width:78px;font-size:13px;color:var(--text)}.simtime{margin-left:auto;background:#0e1520;color:#fff;padding:2px 10px;border-radius:999px;font-size:12.5px;white-space:nowrap}.workspace{flex:1 1 auto;display:flex;gap:12px;min-height:0}.palette{flex:0 0 196px;background:var(--editor);border-radius:4px;overflow-y:auto;padding:8px 0 12px;user-select:none}.palette-search{margin:0 8px 6px;width:calc(100% - 16px);background:var(--editor-2);border:1px solid var(--editor-hl);border-radius:999px;padding:5px 12px;font-size:13px;outline:none}.palette-search:focus{border-color:var(--teal)}.pal-cat{font-family:var(--mono);font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.5px;padding:10px 12px 4px;cursor:pointer;display:flex;justify-content:space-between}.pal-cat:after{content:"▾"}.pal-cat.collapsed:after{content:"▸"}.pal-items.collapsed{display:none}.pal-item{display:flex;align-items:center;gap:8px;padding:3px 10px;cursor:grab;font-size:13.5px;color:var(--text-2);border-left:3px solid transparent}.pal-item:hover{background:var(--editor-hl);color:#fff}.pal-item.armed{border-left-color:var(--teal-hi);background:var(--editor-hl);color:#fff}.pal-item svg{flex:0 0 38px;height:26px}.pal-item .pal-actions{margin-left:auto;display:none;gap:2px}.pal-item:hover .pal-actions{display:flex}.pal-actions button{background:none;border:none;color:var(--muted);cursor:pointer;padding:0 3px;font-size:13px}.pal-actions button:hover{color:#fff}.pal-new{margin:6px 10px 0}.canvas-wrap{position:relative;flex:1 1 auto;min-width:0;display:flex;flex-direction:column;background:var(--editor);border-radius:4px;overflow:hidden}.doc-tabs{display:flex;gap:2px;background:#181818;padding:4px 4px 0;overflow-x:auto;flex:0 0 auto}.doc-tab{padding:5px 12px;background:#2a2a2a;color:var(--text-2);border-radius:6px 6px 0 0;font-size:13px;cursor:pointer;white-space:nowrap;border:none}.doc-tab.active{background:var(--editor);color:#fff;box-shadow:inset 0 2px 0 var(--teal-hi)}.doc-tab .close{margin-left:8px;color:var(--muted)}.doc-tab .close:hover{color:#fff}.canvas{position:relative;flex:1 1 auto;min-height:0;outline:none;overflow:hidden;cursor:default}.canvas.panning{cursor:grabbing}.canvas svg{display:block;width:100%;height:100%;touch-action:none}.canvas-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none;color:#6c6c6c;text-align:center;font-size:15px;line-height:1.7}.canvas-empty b{color:#9a9a9a}.canvas-tools{position:absolute;top:38px;right:8px;display:flex;gap:4px;background:#181818eb;border:1px solid var(--editor-hl);border-radius:8px;padding:3px}.tool{width:30px;height:28px;border:none;border-radius:5px;background:none;color:var(--text-2);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:15px}.tool:hover{background:var(--editor-hl);color:#fff}.tool:disabled{opacity:.35;cursor:default;background:none}.tool.on{color:var(--teal-hi)}.tool svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.tool-sep{width:1px;background:var(--editor-hl);margin:3px 2px}.statusbar{flex:0 0 auto;font-size:12px;color:var(--muted);background:#181818;padding:4px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:23px}.issues{position:absolute;left:8px;bottom:30px;max-width:60%;background:#3c0a12f2;border:1px solid var(--red);color:#ffd6dd;border-radius:8px;padding:6px 10px;font-size:13px}.issues div+div{margin-top:3px}.grid-dot{fill:#3b3b3b}.comp .body{fill:var(--editor-2);stroke:#d4d4d4;stroke-width:1.6}.comp .body.nofill{fill:none}.comp .stub,.comp .ovl{stroke:#d4d4d4;stroke-width:1.6}.comp .ovl{stroke-width:1}.comp .bubble{fill:var(--editor-2);stroke:#d4d4d4;stroke-width:1.6}.comp .clk{fill:none;stroke:#d4d4d4;stroke-width:1.3}.comp text{font-family:var(--mono);fill:#d4d4d4;user-select:none;pointer-events:none}.comp .txt,.comp .plabel{font-size:11px}.comp .plabel{fill:#bdbdbd}.comp .clabel{font-size:12px;fill:var(--green)}.comp .btitle{font-size:13px;font-weight:700;fill:#e0e0e0}.comp .bsub{font-size:10px;fill:var(--muted)}.comp .gsym{font-size:13px;font-weight:700}.comp .note{font-family:var(--sans);fill:#d7ba7d}.comp .knob{fill:#6c6c6c;stroke:#d4d4d4;stroke-width:1.2}.comp .knobtxt{font-size:10px;font-weight:700;fill:#fff}.comp.on .knob{fill:var(--teal-hi)}.comp.on>rect.body{stroke:var(--teal-hi)}.comp .cap{fill:#7a2030;stroke:#d4d4d4;stroke-width:1.4}.comp.on .cap{fill:var(--red-hi);stroke:#fff}.comp .wave{fill:none;stroke:var(--w0);stroke-width:2}.comp.on .wave{stroke:var(--w1)}.comp .led{stroke:#d4d4d4;stroke-width:1.4;transition:fill .05s}.comp .led-shine{fill:#ffffff26}.led-red{--led-on: #ff3b3b;--led-off: #4a1616}.led-green{--led-on: #4cff5a;--led-off: #173d1b}.led-yellow{--led-on: #ffe44d;--led-off: #474017}.led-blue{--led-on: #4fb3ff;--led-off: #16304a}.led-white{--led-on: #ffffff;--led-off: #3a3a3a}.comp .led{fill:var(--led-off)}.comp.on .led{fill:var(--led-on);filter:drop-shadow(0 0 6px var(--led-on))}.comp.undef .led{animation:undef .8s steps(2) infinite}@keyframes undef{50%{fill:var(--wx)}}.comp .segwin{fill:#050607;stroke:#3a3a3a;stroke-width:1}.comp .seg{fill:var(--led-on);opacity:.09}.comp .seg.on{opacity:1;filter:drop-shadow(0 0 1.5px var(--led-on))}.comp .seg.undef{fill:var(--wx);opacity:.35}.comp .hexval{font-size:12px;font-weight:700;fill:#e0e0e0}.comp .spk{fill:#444}.comp .waves{fill:none;stroke:#555;stroke-width:1.6}.comp.on .spk{fill:var(--red-hi);animation:pulse .35s ease-in-out infinite alternate}.comp.on .waves{stroke:var(--red-hi)}@keyframes pulse{to{opacity:.55}}.comp .probe{stroke:#111;stroke-width:1}.comp .probetxt{font-size:9px;font-weight:700;fill:#111}.comp.selected .selbox{display:block}.selbox{display:none;fill:#f5d5470f;stroke:var(--sel);stroke-width:1.2;stroke-dasharray:4 3;pointer-events:none}.comp.problem .selbox{display:block;stroke:var(--werr);stroke-dasharray:none}.comp.ghost{opacity:.55;pointer-events:none}.wire{fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;stroke:var(--wz)}.wire.v0{stroke:var(--w0)}.wire.v1{stroke:var(--w1)}.wire.vx{stroke:var(--wx)}.wire.verr{stroke:var(--werr)}.wire.selected{stroke-width:4;filter:drop-shadow(0 0 3px var(--sel))}.wire.preview{stroke:var(--sel);stroke-dasharray:5 4;stroke-width:2}.junction{fill:var(--wz)}.junction.v0{fill:var(--w0)}.junction.v1{fill:var(--w1)}.junction.vx{fill:var(--wx)}.junction.verr{fill:var(--werr)}.pin-hover{fill:none;stroke:var(--sel);stroke-width:2;pointer-events:none}.box-select{fill:#009b9b1f;stroke:var(--teal-hi);stroke-width:1;stroke-dasharray:4 3}.resizer{flex:0 0 12px;cursor:ns-resize;position:relative}.resizer:after{content:"";position:absolute;left:50%;top:4px;width:44px;margin-left:-22px;height:4px;border-radius:2px;background:#253245}.resizer:hover:after{background:var(--teal)}.side-resizer{flex:0 0 14px;margin:0 -14px;cursor:ew-resize;position:relative;touch-action:none;outline:none}.side-resizer:after{content:"";position:absolute;top:50%;left:5px;width:4px;height:44px;margin-top:-22px;border-radius:2px;background:#253245}.side-resizer:hover:after,.side-resizer:focus-visible:after,.side-resizer.dragging:after{background:var(--teal)}.scope{flex:0 0 auto;height:min(230px,26vh);min-height:80px;background:#000;border-radius:4px;display:flex;flex-direction:column;overflow:hidden}.scope-head{display:flex;align-items:center;gap:8px;padding:5px 10px;border-bottom:1px solid #1c1c1c;font-size:13px;color:var(--text-2);flex-wrap:wrap}.scope-head .scope-title{font-family:var(--mono);font-weight:700;color:#fff;margin-right:6px}.scope-head .readout{font-family:var(--mono);font-size:12px;color:var(--text-2)}.scope-head .readout b{color:#fff;font-weight:600}.scope-btn{background:#121a26;border:1px solid #243246;color:var(--text-2);border-radius:999px;padding:2px 10px;font-size:12px;cursor:pointer}.scope-btn:hover{border-color:var(--teal);color:#fff}.scope-btn.on{background:var(--teal);border-color:var(--teal);color:#fff}.scope-body{position:relative;flex:1 1 auto;min-height:0}.scope-body canvas{position:absolute;inset:0;width:100%;height:100%;cursor:crosshair}.scope-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#5a5a5a;font-size:14px;pointer-events:none;text-align:center;padding:10px}.rtabs{display:flex;justify-content:center;gap:18px;margin:10px 0 14px}.rtab{background:none;border:none;font-family:var(--mono);font-size:22px;font-weight:700;color:#5f6b7a;cursor:pointer;padding:2px 4px 6px;border-bottom:2px solid transparent}.rtab.active{color:#fff;border-bottom-color:var(--line)}.rpane{flex:1 1 auto;overflow-y:auto;min-height:0;padding-right:4px;font-size:14px}.rpane h3{font-family:var(--mono);font-size:15px;margin:18px 0 8px;padding-bottom:5px;border-bottom:1px solid var(--line);color:#fff}.rpane h3:first-child{margin-top:0}.rpane p{color:var(--text-2);line-height:1.45;margin:6px 0}.rpane .hint{color:var(--muted);font-size:13px}.field{display:grid;grid-template-columns:1fr 150px;align-items:center;gap:8px;margin:7px 0}.field label{color:var(--text-2);font-size:13.5px}.field input[type=text],.field input[type=number],.field select,.field textarea{background:var(--editor);border:1px solid #333;border-radius:4px;padding:4px 8px;font-family:var(--mono);font-size:13.5px;width:100%;outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--teal)}.field input[type=checkbox]{justify-self:start;width:18px;height:18px;accent-color:var(--teal)}.field input[type=checkbox].switch{appearance:none;position:relative;width:38px;height:20px;margin:0;border-radius:10px;background:#253245;cursor:pointer;transition:background .15s}.field input[type=checkbox].switch:before{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#c8d2de;transition:transform .15s}.field input[type=checkbox].switch:checked{background:var(--teal)}.field input[type=checkbox].switch:checked:before{transform:translate(18px);background:#fff}.field input[type=checkbox].switch:focus-visible{outline:2px solid var(--teal-hi);outline-offset:2px}.field.wide{grid-template-columns:1fr}.btn-row{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.kv{display:grid;grid-template-columns:auto 1fr;gap:3px 12px;font-size:13px;color:var(--text-2)}.kv b{color:#fff;font-weight:500;font-family:var(--mono)}.desc{background:var(--editor);border-left:3px solid var(--teal);padding:8px 10px;border-radius:3px;color:var(--text-2);font-size:13px;line-height:1.45}.ttable-wrap{overflow:auto;max-height:420px;background:var(--editor);border-radius:4px}table.tt{border-collapse:collapse;font-family:var(--mono);font-size:13px;width:100%}table.tt th,table.tt td{padding:3px 8px;text-align:center;border-bottom:1px solid #2c2c2c}table.tt th{position:sticky;top:0;background:#262626;color:#fff;font-weight:600;z-index:1}table.tt td.sep,table.tt th.sep{border-left:2px solid var(--line)}table.tt td.v1{color:var(--w1)}table.tt td.v0{color:#8f8f8f}table.tt td.vx{color:var(--wx)}table.tt td.osc{color:var(--orange)}table.tt tr:hover td{background:var(--editor-hl)}table.tt tr.hl td{background:#2d3a2d}.formula{font-family:var(--mono);font-size:13.5px;background:var(--editor);padding:6px 10px;border-radius:4px;margin:4px 0 8px;line-height:1.9;word-break:break-word}.formula .term{border-radius:3px;padding:1px 2px;cursor:default}.formula .term:hover,.formula .term.hl{background:#264f78}.ov{text-decoration:overline}.formula-label{font-size:12px;color:var(--muted);margin-top:8px}table.kvmap{border-collapse:collapse;font-family:var(--mono);font-size:13px;margin:6px 0 12px}table.kvmap td,table.kvmap th{width:34px;height:30px;text-align:center;border:1px solid #3a3a3a}table.kvmap th{border:none;color:var(--muted);font-weight:400;font-size:11px}table.kvmap td{background:var(--editor)}table.kvmap td.v1{color:var(--w1)}table.kvmap td.v0{color:#777}table.kvmap td.vd{color:var(--wx)}table.kvmap td.hl{background:#264f78;color:#fff}.chips{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0 8px}.chip{display:inline-flex;align-items:center;gap:4px;background:var(--editor);border:1px solid #333;border-radius:999px;padding:2px 9px;font-family:var(--mono);font-size:12.5px;cursor:pointer;user-select:none}.chip input{accent-color:var(--teal);margin:0}.chip.off{opacity:.5}.warn{background:#3a2a0c;border-left:3px solid #e0a030;color:#f3d9a4;padding:7px 10px;border-radius:3px;font-size:13px;line-height:1.45;margin:8px 0}.state-diagram{background:var(--editor);border-radius:4px;margin:6px 0}.state-diagram text{font-family:var(--mono);fill:#ddd}.modal-backdrop{position:fixed;inset:0;background:#03070eb8;display:flex;align-items:center;justify-content:center;z-index:50;padding:16px}.modal{background:var(--panel);border:1px solid #1f2b3d;border-radius:var(--radius);width:min(980px,100%);max-height:min(88vh,900px);display:flex;flex-direction:column;box-shadow:0 20px 60px #00000080}.modal.small{width:min(520px,100%)}.modal-head{display:flex;align-items:center;gap:12px;padding:16px 20px 12px}.modal-head h2{margin:0;font-family:var(--mono);font-size:22px;flex:1 1 auto}.modal-close{background:none;border:none;color:var(--muted);font-size:26px;cursor:pointer;line-height:1}.modal-close:hover{color:#fff}.modal-body{padding:0 20px 20px;overflow:auto;min-height:0}.example-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}.example{background:var(--editor);border:1px solid #2c2c2c;border-radius:10px;padding:12px 14px;cursor:pointer;text-align:left}.example:hover{border-color:var(--teal)}.example h4{margin:0 0 4px;font-size:15px}.example p{margin:0;color:var(--muted);font-size:13px;line-height:1.4}.example .tag{display:inline-block;font-family:var(--mono);font-size:11px;color:var(--teal-hi);margin-bottom:4px}.help{display:grid;grid-template-columns:250px 1fr;gap:18px;min-height:0;height:min(72vh,760px)}.help-nav{overflow-y:auto;border-right:1px solid #1f2b3d;padding-right:10px}.help-search{width:100%;background:var(--editor);border:1px solid #333;border-radius:999px;padding:7px 14px;outline:none;margin-bottom:10px}.help-search:focus{border-color:var(--teal)}.help-nav a{display:block;color:var(--text-2);text-decoration:none;padding:4px 8px;border-radius:5px;font-size:14px;cursor:pointer}.help-nav a.sub{padding-left:22px;font-size:13px;color:var(--muted)}.help-nav a:hover{background:var(--editor);color:#fff}.help-nav a.active{background:var(--teal);color:#fff}.help-nav .nohit{color:var(--muted);font-size:13px;padding:6px 8px}.help-content{overflow-y:auto;line-height:1.6;color:var(--text-2);padding-right:8px}.help-content h2{color:#fff;font-size:22px;margin:0 0 8px;font-family:var(--mono)}.help-content h3{color:#fff;font-size:17px;margin:22px 0 6px;scroll-margin-top:8px}.help-content code,.help-content kbd{font-family:var(--mono);background:var(--editor);border-radius:4px;padding:1px 5px;font-size:13px;color:#fff}.help-content kbd{border:1px solid #444;border-bottom-width:2px}.help-content table{border-collapse:collapse;font-size:13.5px;margin:8px 0}.help-content td,.help-content th{border:1px solid #2c2c2c;padding:4px 10px;text-align:left}.help-content th{background:var(--editor);color:#fff}.help-content mark{background:#7a5d00;color:#fff;border-radius:2px}.help-content .help-fig{background:var(--editor);border-radius:6px;padding:8px;margin:8px 0;display:inline-block}.help-content ul{padding-left:22px}.ctxmenu{position:fixed;z-index:60;background:#252526;border:1px solid #3c3c3c;border-radius:8px;padding:4px;min-width:190px;box-shadow:0 8px 26px #00000080;font-size:13.5px}.ctxmenu button{display:flex;justify-content:space-between;gap:20px;width:100%;background:none;border:none;text-align:left;padding:5px 10px;border-radius:5px;cursor:pointer;color:var(--text-2)}.ctxmenu button:hover{background:var(--teal);color:#fff}.ctxmenu button span{color:var(--muted);font-family:var(--mono);font-size:12px}.ctxmenu hr{border:none;border-top:1px solid #3c3c3c;margin:4px 0}.toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%);background:#1d2a3d;border:1px solid var(--teal);color:#fff;padding:9px 18px;border-radius:999px;z-index:70;font-size:14px;box-shadow:0 8px 26px #0006;transition:opacity .3s;pointer-events:none}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:#2d3a4c;border-radius:5px}::-webkit-scrollbar-track{background:transparent}@media(max-width:1280px){.right-panel{flex-basis:clamp(240px,var(--right-width, 310px),60vw);padding:10px 14px 14px}.left-panel{padding:12px 14px}.pill{font-size:15px;padding:5px 14px 6px}.toolbar{gap:6px 8px;margin-bottom:10px}.speed input{width:80px}.speed-label{display:none}.rtab{font-size:18px}.field{grid-template-columns:1fr 130px}.palette{flex-basis:170px}}@media(max-height:820px){.topbar{min-height:50px;padding:4px 16px}.title{font-size:34px}.logo-slot img{height:40px;border-radius:15px}.layout{gap:10px;padding-bottom:10px}}@media(max-width:920px){body{overflow:auto}.layout{flex-direction:column;padding:0 10px 10px}.side-resizer{display:none}.left-panel{min-height:88vh;padding:12px}.right-panel{flex-basis:auto;max-height:none}.palette{flex-basis:150px}.logo-slot{display:none}.help{grid-template-columns:1fr;height:auto}.help-nav{border-right:none;max-height:200px}}@media(max-width:560px){.workspace{flex-direction:column}.palette{flex-basis:150px}.canvas-wrap{min-height:420px}.topbar{justify-content:flex-start}.title{font-size:27px}.topbar-right{right:16px}.pill{font-size:15px;padding:5px 14px}}.comp .dip-slot{fill:#151515;stroke:#8a8a8a;stroke-width:1}.comp .dip-knob{fill:#6c6c6c;stroke:#d4d4d4;stroke-width:1}.comp .dip-knob.on{fill:var(--teal-hi)}details.asec{margin:0 0 6px}details.asec>summary{list-style:none;cursor:pointer;user-select:none;display:flex;align-items:center;gap:8px;font-family:var(--mono);font-size:15px;font-weight:700;color:#fff;padding:8px 0 6px;border-bottom:1px solid var(--line)}details.asec>summary::-webkit-details-marker{display:none}details.asec>summary:before{content:"▸";color:var(--teal-hi);width:12px;transition:transform .12s}details.asec[open]>summary:before{transform:rotate(90deg)}details.asec>summary:hover{color:var(--teal-hi)}details.asec>summary:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.asec-body{padding:4px 0 10px}.open-end{fill:var(--editor);stroke:#e0a030;stroke-width:1.5;pointer-events:none}.snap-target{fill:#f5d54740;stroke:var(--sel);stroke-width:1.5;pointer-events:none}
