:root{--label-w:96px;--control-x:104px;--field-h:22px}body{color:#dde;background:#14161f;margin:0;font-family:monospace;overflow:hidden}#app{position:fixed;inset:0}[hidden]{display:none!important}#editor-bar{z-index:8;background:#10121cf5;border:1px solid #3a4055;border-radius:4px;flex-wrap:nowrap;align-items:center;gap:4px;padding:4px;display:flex;position:fixed;top:10px;left:50%;transform:translate(-50%)}#editor-bar .bar-spacer{flex:none;width:4px}#editor-bar .bar-more-wrap{position:relative}#editor-bar .bar-menu{z-index:20;background:#161a28;border:1px solid #3a4055;border-radius:4px;min-width:180px;padding:4px;display:none;position:absolute;top:calc(100% + 4px);right:0;box-shadow:0 10px 28px #00000080}#editor-bar .bar-menu.open{display:block}#editor-bar .bar-menu button{text-align:left;color:#dde;cursor:pointer;background:0 0;border:0;border-radius:2px;width:100%;margin:0 0 2px;padding:8px 10px;font:12px monospace;display:block}#editor-bar .bar-menu button:hover{background:#252a3c}#editor-bar .bar-menu button.danger{color:#f88}#editor-bar .bar-menu button.danger:hover{background:#3a1a1a}#editor-bar button.bar-icon,button.icon-btn{color:#c8d0e0;cursor:pointer;background:#1c2030;border:1px solid #3a4055;border-radius:3px;flex:none;justify-content:center;align-items:center;width:34px;height:34px;margin:0;padding:0;display:inline-flex}#editor-bar button.bar-icon svg,button.icon-btn svg{pointer-events:none;width:18px;height:18px;display:block}#editor-bar button.bar-icon:hover,button.icon-btn:hover{color:#fff;background:#252a3c}button.icon-btn.on{color:#14161f;background:#f2b41d;border-color:#f2b41d}button.icon-btn.danger{color:#f88;background:#552;border-color:#744}button.icon-btn.danger:hover{color:#fcc;background:#663}#editor-bar button.bar-icon.save-ok{color:#e8ffe8;background:#2a6b45;border-color:#3d8f5a}#editor-bar button.bar-icon.save-ok:hover{background:#348554}#editor-bar button.bar-icon.save-dirty{color:#fff4dc;background:#8a5a18;border-color:#c48a2a}#editor-bar button.bar-icon.save-dirty:hover{background:#a56c1e}#editor-bar button.bar-icon.save-err{color:#ffe8e8;background:#8a2a2a;border-color:#c04040}#editor-bar button.bar-icon.save-err:hover{background:#a33333}#editor-bar button.bar-icon.disk-stale{color:#fff;background:#a01818;border-color:#e04040;font-weight:700;animation:1.6s ease-in-out infinite disk-stale-pulse}#editor-bar button.bar-icon.disk-stale:hover{background:#c02020}#editor-bar .emitter-transport-btn{color:#c8d0e0;cursor:pointer;background:#1c2030;border:1px solid #3a4055;border-radius:2px;justify-content:center;align-items:center;width:30px;height:30px;margin:0;padding:0;display:inline-flex}#editor-bar .emitter-transport-btn svg{pointer-events:none;width:16px;height:16px;display:block}#editor-bar .emitter-transport-btn:hover{color:#fff;background:#252a3c}#editor-bar .emitter-transport-btn.on{color:#ffc844;background:#2a3548;border-color:#c9a227}details.acc{border:1px solid #2a3045;border-radius:2px;margin:6px 0}details.acc>summary{cursor:pointer;color:#9ab;letter-spacing:1px;text-transform:uppercase;background:#1a1e2c;align-items:center;gap:8px;padding:6px 8px;font-size:11px;list-style:none;display:flex}details.acc>summary::-webkit-details-marker{display:none}details.acc>summary::marker{content:""}details.acc>summary:hover{color:#dde}details.acc[open]>summary{color:#ffc844;border-bottom:1px solid #2a3045}details.acc>summary:after{content:"▸";color:#c9a227;flex-shrink:0;margin-left:auto;font-size:12px;line-height:1;transform:translateY(-1px)}details.acc[open]>summary:after{content:"▾"}details.acc .acc-body{padding:6px 8px 8px}.btn-row{flex-wrap:wrap;align-items:center;gap:4px;margin:4px 0;display:flex}.row{align-items:center;gap:6px;margin:4px 0;display:flex}.acc-body .row,.form-grid .row{grid-template-columns:var(--label-w) minmax(0, 1fr);align-items:center;gap:0 8px;margin:4px 0;display:grid}.acc-body .row>*,.form-grid .row>*{min-width:0}.acc-body .row>label,.form-grid .row>label{width:auto;max-width:var(--label-w);color:#8a93a8;overflow-wrap:anywhere;line-height:1.25}.acc-body .row>:not(label),.form-grid .row>:not(label){max-width:100%}.acc-body .row.check>label,.form-grid .row.check>label{cursor:pointer;grid-column:1}.acc-body .row.check>input[type=checkbox],.form-grid .row.check>input[type=checkbox]{grid-column:2;justify-self:start}.acc-body label.toggle,.form-grid label.toggle{margin:4px 0 4px var(--control-x);color:#c8d0e0;cursor:pointer;align-items:start;gap:6px;line-height:1.3;display:flex}.acc-body label:has(>input[type=checkbox]){margin:4px 0 4px var(--control-x);color:#c8d0e0;cursor:pointer;align-items:start;gap:6px;line-height:1.3;display:flex}.form-grid label:has(>input[type=checkbox]){margin:4px 0 4px var(--control-x);color:#c8d0e0;cursor:pointer;align-items:start;gap:6px;line-height:1.3;display:flex}:is(.acc-body .row label:has(>input[type=checkbox]),.form-grid .row label:has(>input[type=checkbox])){margin-left:0}.acc-body input[type=checkbox],.form-grid input[type=checkbox]{appearance:none;width:var(--field-h);height:var(--field-h);cursor:pointer;background:#0f1220;border:1px solid #3a4055;border-radius:3px;flex:none;place-content:center;margin:0;display:inline-grid}.acc-body input[type=checkbox]:before,.form-grid input[type=checkbox]:before{content:"";clip-path:polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0%,43% 62%);background:#f2b41d;width:12px;height:12px;transition:transform .1s ease-out;transform:scale(0)}.acc-body .row.check,.form-grid .row.check{min-height:var(--field-h)}.acc-body input[type=checkbox]:checked:before,.form-grid input[type=checkbox]:checked:before{transform:scale(1)}.acc-body input[type=checkbox]:hover,.form-grid input[type=checkbox]:hover{border-color:#6a7290}.acc-body input[type=checkbox]:checked,.form-grid input[type=checkbox]:checked{border-color:#c9a227}.acc-body input[type=checkbox]:focus-visible,.form-grid input[type=checkbox]:focus-visible{outline-offset:1px;outline:1px solid #f2b41d}.acc-body .field-group,.form-grid .field-group{background:#ffffff05;border-top:1px solid #2a3045;border-bottom:1px solid #2a3045;margin:4px 0 8px;padding:6px 0 8px}.acc-body .field-group>.field-group-head,.form-grid .field-group>.field-group-head{color:#9ab;letter-spacing:1px;text-transform:uppercase;margin:0 0 2px;font-size:10px}.entry-card{background:#ffffff05;border-top:1px solid #2a3045;border-bottom:1px solid #2a3045;margin:4px 0 8px;padding:6px 0 8px}.entry-card.on{background:#ffd27e0d;box-shadow:inset 2px 0 #ffd27e}.entry-card>.entry-head{align-items:center;gap:4px;margin:0 0 4px;display:flex}.entry-card>.entry-head>.entry-title{text-overflow:ellipsis;white-space:nowrap;color:#9ab;flex:1;min-width:0;font-size:11px;overflow:hidden}.entry-card>.entry-head>.entry-remove{margin-left:2px}.entry-add{color:#9ab;letter-spacing:.5px;cursor:pointer;background:0 0;border:1px dashed #3a4055;border-radius:3px;justify-content:center;align-items:center;gap:6px;width:100%;margin:6px 0 2px;padding:5px 8px;font:600 11px/1 inherit;display:flex}.entry-add:hover{color:#f2d489;border-style:solid;border-color:#c9a227}.entry-add:disabled{opacity:.45;cursor:not-allowed;color:#6a7290;border-color:#2a3045}.entry-add>svg{width:13px;height:13px}.entry-add>.entry-add-note{color:#6a7290;font-weight:400}details.acc>summary .acc-help-btn{color:#8a93a8;cursor:help;background:0 0;border:1px solid #3a4055;border-radius:50%;flex:none;justify-content:center;align-items:center;width:16px;height:16px;margin-left:auto;padding:0;font:700 10px/1 monospace;display:inline-flex}details.acc>summary .acc-help-btn:hover,details.acc>summary .acc-help-btn.on{color:#14161f;background:#f2b41d;border-color:#f2b41d}.acc-help{background:#f2b41d0f;border-left:2px solid #f2b41d;border-radius:0 2px 2px 0;margin:0 0 6px;padding:6px 8px}.acc-help>.note{margin:0 0 6px}.acc-help>.note:last-child{margin-bottom:0}#side-top.insp-collapsed{align-items:baseline;gap:8px;max-height:none;padding:4px 10px;display:flex;overflow:hidden}#side-top.insp-collapsed h2{flex:none;margin:0;font-size:10px}#side-top.insp-collapsed .insp-idle,#side-top.insp-collapsed .insp-empty{color:#6f7893;white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:11px;overflow:hidden}#side-top.insp-collapsed>:not(h2):not(.insp-idle):not(.insp-empty){display:none}#editor-bar .budget-chip{flex-direction:column;justify-content:center;align-items:stretch;gap:3px;min-width:92px;padding:0 8px}#editor-bar .budget-chip-text{text-align:left;line-height:1}#editor-bar .budget-chip-track{background:#0f1220;border-radius:2px;height:3px;display:block;overflow:hidden}#editor-bar .budget-chip-fill{background:currentColor;border-radius:2px;width:0;height:100%;transition:width .18s ease-out;display:block}.rail-scope{justify-content:flex-end;padding:6px 8px 0;display:flex}.panel-body{padding:var(--panel-pad,10px 12px 20px);flex:1;min-height:0;overflow-y:auto}h2{color:#9ab;font-size:var(--h2-size,11px);letter-spacing:1px;margin:var(--h2-margin,12px 0 4px);text-transform:uppercase}#icon-tip{z-index:30;pointer-events:none;opacity:0;color:#dde;background:#1c2030;border:1px solid #3a4055;border-radius:3px;max-width:260px;padding:5px 7px;font:11px/1.3 monospace;transition:opacity .12s;position:fixed;box-shadow:0 6px 18px #00000073}#icon-tip.show{opacity:1}
