:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--ground:#d5d9dc;--header:#f5f6f7;--panel:#f2f3f4;--surface:#fff;--display:#0b0c0d;--ink:#17191b;--text:#17191b;--text-2:#3e444a;--muted:#5a6067;--line:#c3c8cd;--line-strong:#b4bac1;--hover:#e4e7ea;--accent:#1f5fc4;--accent-dark:#174a99;--accent-soft:#dce6f7;--led:#2f7bf0;--warn:#c2410c;--error:#b3261e;--background:var(--hover);--sans:"Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;--condensed:"Barlow Condensed", "Barlow", sans-serif;--mono:"IBM Plex Mono", ui-monospace, Menlo, monospace;font-family:var(--sans)}*{box-sizing:border-box}body{background:var(--ground);color:var(--text);margin:0}a{color:var(--accent)}a:hover{color:var(--accent-dark)}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.shell{flex-direction:column;min-height:100vh;display:flex}.site-header{background:var(--header);border-bottom:1px solid #bfc5ca;flex-direction:column;gap:10px;padding:12px max(24px,50% - 696px) 0;display:flex}.header-top{flex-wrap:wrap;align-items:center;gap:12px 20px;display:flex}.brand{align-items:center;gap:12px;min-height:44px;display:flex}.logo{width:auto;height:26.8px;color:var(--ink);flex:none;display:block;transform:translateY(1.25px)}.logo-wings{fill:var(--accent)}.brand-text{flex-direction:column;gap:4px;display:flex}.brand-name{letter-spacing:.18em;font-size:20px;font-weight:700;line-height:1}.brand-tagline{font-family:var(--condensed);color:var(--accent);letter-spacing:.06em;font-size:13px;font-weight:500;line-height:1}.header-spacer{flex:1 1 0}.header-bottom{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 20px;display:flex}.tabs{gap:4px;margin-bottom:-1px;display:flex}.tab{min-height:44px;color:var(--muted);white-space:nowrap;background:0 0;border:0;border-bottom:3px solid #0000;border-radius:0;padding:0 16px;font-size:15px;font-weight:600}.tab:hover{color:var(--ink)}.tab.on{color:var(--ink);border-bottom-color:var(--accent)}.site-header .btn{gap:6px;min-height:30px;padding:0 10px;font-size:13px}.btn.midi-status{background:0 0;border-color:#0000;min-height:0;padding:0;display:inline-block}.btn.midi-status .led{vertical-align:1px;margin-right:6px;display:inline-block}.btn.midi-status:not(:disabled):hover{border-color:#0000;text-decoration:underline}.site-header .btn svg{width:14px;height:14px}.btn{border:1px solid var(--line-strong);background:var(--surface);min-height:40px;color:var(--ink);white-space:nowrap;border-radius:6px;align-items:center;gap:8px;padding:0 14px;font-size:14px;font-weight:600;display:inline-flex}.btn:not(:disabled):hover{border-color:var(--muted)}.btn.dark{background:var(--ink);color:#fff;border-color:var(--ink)}.btn.on{background:var(--accent);color:#fff;border-color:var(--accent)}.led{background:var(--line-strong);border-radius:50%;flex:none;width:8px;height:8px}.led.on{background:var(--led);box-shadow:0 0 0 3px #2f7bf038}.led.warn{background:var(--warn)}.drawer{background:var(--header);border-bottom:1px solid #bfc5ca;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));align-items:start;gap:16px;padding:16px 24px;display:grid}.drawer .panel{margin-top:0}.content{flex:auto;width:100%;max-width:1440px;margin:0 auto;padding:16px 24px 24px}.content>.panel:first-child{margin-top:0}.status-bar{background:var(--ink);color:#e6edf5;flex-wrap:wrap;align-items:center;gap:8px 24px;padding:10px 24px;font-size:13px;display:flex}.credit{text-align:center;color:#c3ccd6;flex:360px;margin:0;font-size:12px}.credit a{color:inherit}@media (width<=640px){.site-header,.drawer,.content,.status-bar{padding-left:16px;padding-right:16px}}h1{margin:0 0 8px;font-size:28px}p{margin:0 0 8px}.status{color:var(--muted);font-size:14px}h2{margin:0 0 12px;font-size:18px}h3{margin:0;font-size:15px}button,select,input{border:1px solid var(--line-strong);background:var(--surface);min-height:36px;color:var(--text);font:inherit;border-radius:6px;padding:6px 12px}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%235a6067' stroke-width='1.6'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:32px}button:not(:disabled){cursor:pointer}button:disabled{opacity:.5}.panel{border:1px solid var(--line);background:var(--panel);border-radius:10px;margin-top:16px;padding:16px}.panel>h2{border-bottom:2px solid var(--ink);letter-spacing:.04em;text-transform:uppercase;width:fit-content;padding-bottom:3px;font-size:13px;font-weight:600}.error{color:var(--error);margin-top:12px}.ports{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;display:grid}.field{gap:4px;font-size:14px;display:grid}.field select,.field input{width:100%;min-width:0}.read-controls{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));align-items:end;gap:12px;margin-top:12px;display:grid}.setup summary{cursor:pointer;font-size:18px;font-weight:600}.setup h3{margin-top:16px}.setup ul,.setup ol{margin:8px 0;padding-left:20px;font-size:14px}.notice{border:1px solid var(--error);border-radius:6px;margin-top:12px;padding:12px}.save-heading{margin-top:16px}.save-undo,.file-picker{margin-top:12px}.control input[type=number]{width:100%;min-width:0}.actions.wrap{flex-wrap:wrap;margin:12px 0}.check{align-items:center;gap:6px;font-size:13px;display:inline-flex}.check input{min-height:0}.problems{margin:8px 0;padding-left:20px;font-size:13px}.library-filters{flex-wrap:wrap;align-items:flex-end;gap:12px 20px;margin:12px 0;display:flex}.library-filters .field:first-child{flex:220px}.library-filters .field{flex:0 220px}.library-filters .check{min-height:36px}.comparison{margin:12px 0}.pager-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;display:flex}.pager-row>.status{margin:0}.pager-bottom{justify-content:flex-end}.pager{align-items:center;gap:12px;display:flex}.pager-count{text-align:center;min-width:96px;color:var(--muted);font-variant-numeric:tabular-nums;font-size:13px}.library-list{border-bottom:1px solid var(--line);margin:8px 0;padding:0;list-style:none;overflow-y:auto}.library-row{border-top:1px solid var(--line);grid-template-columns:auto minmax(130px,1fr) minmax(100px,180px) auto;align-items:center;gap:8px 12px;padding:8px 0;display:grid}.library-row .actions{flex-wrap:nowrap;justify-content:flex-end;align-items:center}.row-actions-stack{display:grid}.row-actions-stack>.row-actions{grid-area:1/1}.row-actions-stack>.row-actions[hidden]{visibility:hidden;display:flex}.row-actions button{white-space:nowrap}.row-question{font-size:13px;font-weight:600}.row-note{grid-column:1/-1;margin:0}.library-row input:not([type=checkbox]){width:100%;min-width:0}.library-name{min-width:0;display:grid}.library-name strong{overflow-wrap:anywhere}.star{padding:4px 8px}.bank-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:4px;max-height:480px;margin:12px 0 0;padding:0;list-style:none;display:grid;overflow:auto}.bank-slot{border:1px dashed var(--line);border-radius:6px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-height:36px;padding:4px 8px;font-size:13px;display:grid}.bank-slot.filled{background:var(--background);cursor:grab;border-style:solid}.slot-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.slot-clear{min-height:24px;padding:0 6px}@media (width<=640px){.library-row{grid-template-columns:auto minmax(0,1fr)}.library-row input:not([type=checkbox]),.library-row .actions{grid-column:1/-1}}.confirm{border:1px solid var(--error);border-radius:6px;margin-top:12px;padding:12px}button.danger{border-color:var(--error);color:var(--error)}.name-field{margin:12px 0}.editor-group{border-top:1px solid var(--line);padding:8px 0}.editor-group summary{cursor:pointer;padding:4px 0;font-weight:600}.controls{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px 20px;margin-top:8px;display:grid}.control{align-content:start;gap:4px;min-width:0;font-size:13px;display:grid}.control span{justify-content:space-between;gap:8px;display:flex}.control output{color:var(--muted);font-variant-numeric:tabular-nums}.control input[type=range]{background:0 0;border:0;width:100%;min-height:24px;padding:0}.control select{width:100%;min-width:0}.wave-picker{display:contents}.progress{margin-top:16px}.progress progress{width:100%}.backup-result{margin-top:8px}.patch{margin-top:20px}.patch h3{font-size:20px}.table-wrap{border:1px solid var(--line);border-radius:6px;max-height:480px;margin-top:12px;overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{border-bottom:1px solid var(--line);text-align:left;padding:6px 10px}th{background:var(--surface);position:sticky;top:0}.parameter-list summary{cursor:pointer;margin:8px 0;font-weight:600}.port-section summary{cursor:pointer}.port-section .ports{margin-top:8px}.log-section{margin-top:20px}.log-section summary{cursor:pointer;font-size:1.17em;font-weight:600}.log-actions{margin:8px 0}.actions{gap:8px;display:flex}.log{border:1px solid var(--line);background:var(--background);border-radius:6px;height:420px;padding:8px;overflow-y:auto}.log-entry{border-bottom:1px solid var(--line);grid-template-columns:100px minmax(0,1fr);gap:2px 12px;padding:6px 4px;font-size:13px;display:grid}.log-entry time{color:var(--muted);font-variant-numeric:tabular-nums}.log-entry code{overflow-wrap:anywhere;color:var(--muted);font-family:var(--mono);grid-column:2;font-size:12px}.library-view{flex-wrap:wrap;align-items:stretch;gap:16px;display:flex}.card{border:1px solid var(--line);background:var(--panel);border-radius:10px;flex-direction:column;gap:12px;min-width:0;padding:16px;display:flex}.multi-column{flex:300px}.bank-column{flex:999 520px}.side-column{flex:240px;gap:18px}.label-heading,.big-heading{border-bottom:2px solid var(--ink);white-space:nowrap;align-self:flex-start;margin:0;padding-bottom:3px;font-weight:600}.label-heading{letter-spacing:.04em;text-transform:uppercase;font-size:13px}.big-heading{font-size:18px}.bank-heading{justify-content:space-between;align-items:baseline;gap:16px;display:flex}.screen{background:var(--display);color:#c3ccd6;font-family:var(--mono);border-radius:6px;flex-direction:column;gap:4px;padding:12px 14px;font-size:12px;display:flex}.screen-title{color:#fff;font:600 24px/1.2 var(--sans);overflow-wrap:anywhere}.screen-note{color:#7fb0ff}.screen-note.warn{color:#f0b76a}.part-list{flex-direction:column;gap:2px;display:flex}.prow{width:100%;min-height:40px;color:var(--ink);text-align:left;background:0 0;border:1px solid #0000;border-radius:6px;align-items:center;gap:10px;padding:0 10px;font-size:14px;font-weight:500;display:flex}.prow:not(:disabled):hover{background:var(--hover)}.prow.on{background:var(--surface);border-color:var(--line-strong)}.prow:disabled{opacity:1;color:var(--text-2)}.num{width:30px;font-family:var(--mono);color:var(--muted);flex:none;font-size:12px}.num.bank-letter{width:12px}.nm{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.nm.unknown{color:var(--muted);font-style:italic}.cat{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;flex:none;font-size:11px;font-weight:600}.btn.wide{justify-content:center}.divider{background:#d3d7db;height:1px;margin:4px 0}.summary{grid-template-columns:auto minmax(0,1fr);gap:8px 14px;margin:0;padding-left:11px;font-size:14px;display:grid}.summary div{display:contents}.summary dt{color:var(--muted);font-weight:600}.summary dd{margin:0}.button-row{flex-wrap:wrap;gap:8px;display:flex}.btn.grow{flex:auto;justify-content:center}.hint{color:var(--muted);margin:0;font-size:14px}.hint.small{font-size:12px}.bank-tools{flex-wrap:wrap;align-items:center;gap:10px 14px;display:flex}.search{border:1px solid var(--line-strong);background:var(--surface);min-height:40px;color:var(--muted);border-radius:6px;flex:0 320px;align-items:center;gap:8px;padding:0 10px;display:flex}.search input{min-width:0;min-height:38px;color:var(--ink);font:500 14px var(--sans);background:0 0;border:0;outline:none;flex:1;padding:0}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.count{font-family:var(--mono);color:var(--muted);font-size:12px}.push-right{margin-left:auto}.list-head{color:var(--muted);letter-spacing:.1em;align-items:center;gap:10px;padding:0 10px;font-size:11px;font-weight:600;display:flex}.list-head-slot{white-space:nowrap;width:62px}.list-head-name{flex:1}.list-head-star{width:40px}.patch-rows{flex-direction:column;gap:2px;max-height:760px;margin:0 -6px;padding:0 6px;display:flex;overflow-y:auto}.row{color:var(--ink);border-radius:6px;align-items:center;display:flex}.row:hover{background:var(--hover)}.row.on{background:var(--accent);color:#fff}.row.on .num,.row.on .cat,.row.on .nm.unknown{color:var(--accent-soft)}.rowpick{min-width:0;min-height:40px;color:inherit;text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:10px;padding:0 10px;font-size:14px;font-weight:500;display:flex}.rowpick .num:nth-child(2){margin-right:6px}.pbadge{background:var(--accent-soft);color:var(--accent-dark);font-family:var(--mono);border-radius:3px;flex:none;padding:2px 6px;font-size:11px}.row.on .pbadge{background:var(--accent-dark);color:#fff}.row .star{width:40px;height:40px;color:inherit;background:0 0;border:0;flex:none;place-items:center;padding:0;display:grid}.row .star:disabled{opacity:.25}.side-block{flex-direction:column;gap:4px;display:flex}.side-block .label-heading{margin-bottom:6px}.bank-buttons{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;display:grid}.bank{border:1px solid var(--line);background:var(--surface);min-height:36px;color:var(--ink);font-family:var(--mono);border-radius:5px;padding:0;font-size:13px;font-weight:500}.bank.on{background:var(--accent);color:#fff;border-color:var(--accent)}.vcat{width:100%;min-height:28px;max-height:40px;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:6px;flex:1 0 auto;justify-content:space-between;align-items:center;gap:8px;padding:0 12px;font-size:14px;font-weight:600;display:flex}.side-column>.side-block:last-child{flex:auto;gap:2px}.vcat:hover{background:var(--hover)}.vcat.on{background:var(--ink);color:#fff}.vcount{font-family:var(--mono);color:var(--muted);font-size:12px;font-weight:500}.vcat.on .vcount{color:#c3ccd6}.with-icon{align-items:center;gap:8px;display:inline-flex}.tools-heading{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin:28px 0 8px;font-size:13px;font-weight:600}.tool{border:1px solid var(--line);background:var(--panel);border-radius:10px;margin-top:8px}.tool>summary{cursor:pointer;min-height:44px;padding:12px 16px;font-weight:600}.tool>.panel{border:0;border-top:1px solid var(--line);border-radius:0 0 10px 10px;margin:0}.editor-view{flex-direction:column;gap:8px;display:flex}.editor-view .card{margin:0}.seg{border:1px solid var(--line-strong);background:var(--surface);min-height:40px;color:var(--ink);white-space:nowrap;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:13px;font-weight:600;display:inline-flex}.seg:not(:disabled):hover{border-color:var(--muted)}.seg.on{background:var(--ink);color:#fff;border-color:var(--ink)}.seg.sel{background:var(--accent);color:#fff;border-color:var(--accent)}.seg.act{border-color:var(--accent);color:var(--accent)}.seg.small{min-height:32px;padding:0 8px;font-size:12px}.seg.narrow{min-width:40px;padding:0}.seg.shift{border:2px solid var(--accent)}.shift-hold{width:124px;display:flex;position:relative}.shift-hold>.seg{flex:1}@media (width<=1399px){.shift-hold{margin-bottom:14px}}.shift-hint{color:var(--muted);letter-spacing:.04em;text-align:center;margin-top:1px;font-size:11px;font-weight:600;position:absolute;top:100%;left:0;right:0}.seg.shift.on{background:var(--ink);border-color:var(--accent);box-shadow:0 0 0 3px #1f5fc440}.seg:disabled,.btn:disabled{opacity:.55}.choice{flex-wrap:wrap;gap:6px;display:flex}.row-label{color:var(--muted);letter-spacing:.1em;flex:none;font-size:11px;font-weight:600}.labelled-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.labelled-row .row-label{width:52px}.panel-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;display:flex}.mono{font-family:var(--mono);font-size:12px}.knob{text-align:center;flex-direction:column;flex:none;align-items:center;gap:3px;padding:4px 0;display:flex}.knob-dial{position:relative}.knob-dial svg{display:block;overflow:visible}.knob-dial input{opacity:0;cursor:ew-resize;width:100%;height:100%;min-height:0;margin:0;padding:0;position:absolute;inset:0}.knob-dial input:focus-visible+*{outline:none}.knob-dial:focus-within{outline:2px solid var(--accent);outline-offset:3px;border-radius:50%}.knob.disabled .knob-dial input{cursor:not-allowed}.knob.disabled svg{opacity:.6}.knob-end{color:var(--accent);pointer-events:none;font-size:15px;font-weight:700;line-height:1;position:absolute;bottom:-6px}.knob-end.minus{left:-6px}.knob-end.plus{right:-6px}.knob-label{font-family:var(--condensed);font-size:14px;font-weight:600;line-height:1.1}.knob-sub{color:var(--accent);font-family:var(--condensed);font-size:12px;font-weight:500;line-height:1.1}.knob-value{background:var(--hover);color:var(--text-2);font-family:var(--mono);white-space:nowrap;border-radius:3px;padding:1px 5px;font-size:11px;line-height:1.2}.knob-row{flex-wrap:wrap;align-items:flex-start;gap:4px 8px;display:flex}.knob-row.wrap{flex-wrap:wrap}.store-panel{border:2px solid var(--ink);background:var(--surface);border-radius:10px;flex-wrap:wrap;align-items:center;gap:10px 12px;padding:12px 14px;display:flex}.modal{width:fit-content;max-width:calc(100vw - 32px);color:inherit;background:0 0;border:0;padding:0}.modal .store-note{width:0;min-width:100%}.modal::backdrop{background:#0b0c0d73}.modal .store-panel{border:4px solid var(--accent);flex-direction:column;align-items:stretch;gap:14px;padding:18px 20px;box-shadow:0 18px 50px #0000004d}.store-title{font-size:14px;font-weight:600}.store-field{align-items:center;gap:6px;display:inline-flex}.store-target{min-width:0;color:var(--muted);flex:200px;font-size:13px}.store-stack{flex-wrap:nowrap;width:280px;max-width:100%}.store-stack .store-target{flex:none;min-height:2.4em;line-height:1.2}.store-stack .store-note.invisible{visibility:hidden}.store-field-v{flex-direction:column;align-items:stretch;gap:4px;display:flex}.store-field-v .stepper-input{flex:1;width:auto;min-width:0;font-size:15px}.store-field-v .row-label{text-align:center}.confirm-panel{width:380px;max-width:100%}.confirm-message{margin:0;font-size:13px;line-height:1.45}.confirm-buttons{justify-content:flex-end}.store-stack.store-wide{width:380px}.store-name{align-items:center;gap:8px;display:flex}.store-name .name-input{min-height:36px;font-family:var(--mono);font-size:15px}.store-name .name-input[aria-invalid=true]{outline:2px solid var(--error);outline-offset:-2px}.name-count{white-space:nowrap;width:52px;color:var(--muted);font-family:var(--mono);text-align:right;flex:none;font-size:11px}.store-name-field .row-label{text-align:left}.store-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.store-choice{border:1px solid var(--line-strong);cursor:pointer;border-radius:6px;align-items:flex-start;gap:8px;padding:8px 10px;display:flex}.store-choice.on{border-color:var(--accent);background:var(--accent-soft)}.store-choice.off{cursor:default;opacity:.5}.store-choice input{accent-color:var(--accent);margin:2px 0 0}.store-choice b{font-size:13px;display:block}.store-choice small{color:var(--muted);font-size:12px;display:block}.store-pickers{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.store-target.error{color:var(--error)}.store-stack .store-buttons{gap:8px;display:flex}.store-stack .store-buttons .btn{flex:1;justify-content:center}.store-note{flex:100%;margin:0}.stepper{border:1px solid var(--line-strong);background:var(--surface);border-radius:6px;align-items:center;min-width:0;display:flex;overflow:hidden}.stepper.small{display:inline-flex}.stepper-value{min-width:40px;font-family:var(--mono);text-align:center;font-size:13px;font-weight:500}.stepper select{text-align:center;text-overflow:ellipsis;background-color:#0000;background-position:right 8px center;border:0;border-radius:0;flex:1;min-width:0;min-height:36px;padding:0 26px 0 8px;font-size:13px;font-weight:600}.step{width:32px;height:36px;min-height:0;color:var(--ink);background:0 0;border:0;border-radius:0;flex:none;place-items:center;padding:0;display:grid}.step:not(:disabled):hover{background:var(--hover)}.empty-editor{align-items:flex-start}.empty-editor .tool{align-self:stretch}.undo-count{font-family:var(--mono);opacity:.7;font-size:11px}.kept-multi{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;padding:8px 0;display:flex}.patch-rows .row[draggable=true]{cursor:grab}.prow.drop{background:var(--accent-soft);border-color:var(--accent);border-style:dashed}.multi-column .store-panel{padding:10px 12px}.multi-store{border:4px solid var(--accent);gap:10px}.multi-store .store-buttons{flex:100%;justify-content:flex-end}.store-field.grow{flex:100%}.name-input{flex:1;min-width:0;font-weight:600}.store-buttons{flex-wrap:wrap;gap:8px;display:flex}.stepper-input{width:48px;min-height:34px;font-family:var(--mono);text-align:center;background:0 0;border:0;border-radius:0;padding:0;font-size:13px;font-weight:500}.stepper-input:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.stepper-input[aria-invalid=true]{outline:2px solid var(--error);outline-offset:-2px}.editor-view .card{padding:14px 16px}.panel-head.tall{min-height:40px}.editor-top{flex-wrap:wrap;align-items:stretch;gap:8px;display:flex}.editor-left{flex-direction:column;flex:560px;gap:8px;min-width:0;max-width:100%;display:flex}.display-card{flex-direction:row;flex:auto;align-items:stretch;gap:10px}.editor-view .display-card{padding:12px}.display{background:var(--display);color:#e6edf5;min-width:0;font-family:var(--mono);border-radius:6px;flex-direction:column;flex:1;justify-content:flex-start;gap:6px;padding:14px 18px;display:flex}.display-line{color:#c3ccd6;flex-wrap:wrap;align-items:center;gap:4px 16px;font-size:13px;display:flex}.display-multi{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.display-line b{color:#fff;font-weight:500}.display>.display-line:first-child{min-height:32px}.display-patch{color:#c3ccd6;font:400 14px/1 var(--condensed);white-space:nowrap;flex:none;align-items:center;gap:10px;display:flex}.display-patch:before{content:"";background:var(--line-strong);border-radius:50%;flex:none;width:8px;height:8px}.display-patch.ok:before{background:var(--led);box-shadow:0 0 0 3px #2f7bf038}.display-patch.warn{color:#f0b76a}.display-patch.warn:before{background:currentColor;box-shadow:0 0 0 3px #f0b76a38}.display-corner{color:#c3ccd6;min-width:0;font:400 14px/1 var(--condensed);flex:1;justify-content:flex-end;align-items:center;gap:10px;display:flex}.display-midi{color:#c3ccd6;min-height:0;font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:0;display:flex}.display-midi:hover{color:#fff}.display-corner [role=status]{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.display-spacer{flex:1}.display-name input{color:#fff;width:100%;font:600 30px/1.2 var(--sans);background:0 0;border:0;border-bottom:1px dashed #0000;border-radius:0;outline:none;padding:2px 0}.display-status{justify-content:flex-start;align-items:center;gap:14px;height:19px;display:flex}.display-rule{flex:none;align-items:center;height:3px;margin:auto 0;display:flex}.display-rule:before{content:"";border-top:1px dashed #3a4047;flex:1}.display-name input:disabled{opacity:1}.display-name input:focus-visible{border-bottom-color:var(--accent)}.display-steps{flex-direction:column;justify-content:center;gap:6px;display:flex}.panel-title{align-self:flex-start;align-items:center;gap:8px;display:flex}.more-btn{width:26px;height:26px;min-height:0;color:var(--accent);background:0 0;border:0;border-radius:6px;place-items:center;margin:-5px 0;padding:0;display:grid}.more-btn:hover,.more-btn.on{color:var(--accent-dark)}.more-btn.hidden{visibility:hidden}.more-pop{z-index:50;border:4px solid var(--accent);background:var(--surface);border-radius:10px;flex-direction:column;gap:12px;width:360px;max-width:calc(100vw - 32px);padding:14px 16px;display:flex;position:absolute;box-shadow:0 18px 50px #00000040}.more-title{font-size:14px;font-weight:600}.more-rows{grid-template-columns:112px minmax(0,1fr);align-items:center;gap:8px 10px;display:grid}.more-label{color:var(--ink);font-size:13px}.more-rows .stepper select{background-image:none;min-height:32px;padding:0 4px;font-size:13px;font-weight:500}.more-rows .step{height:32px}.more-section{color:var(--muted);letter-spacing:.1em;grid-column:1/-1;margin-top:4px;font-size:11px;font-weight:600}.more-buttons{justify-content:flex-end;display:flex}.btn.square{justify-content:center;width:44px;height:44px;padding:0}.editor-view .part-picker{flex-direction:row;align-items:center;gap:6px;padding:10px 12px}.part-picker .row-label{margin-right:6px;font-size:12px}.part-picker .seg{flex:1 1 0;min-width:0;padding:0}.edit-area{flex-wrap:wrap;flex:100%;align-items:center;gap:16px;display:flex}.edit-functions,.patch-actions{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.edit-functions>.seg,.patch-actions>.btn,.store-frame{width:124px}.patch-actions>.btn{justify-content:center}.store-frame{background:#a5a8ab;border:1px solid #a5a8ab;border-radius:8px;padding:5px}.store-frame .seg{width:100%}.editor-view .arp-panel{flex:360px;gap:10px}.arp-knobs{flex-wrap:wrap;align-items:flex-start;gap:4px;display:flex}.arp-panel .labelled-row{flex-direction:column;align-items:flex-start}.arp-panel .choice .seg{min-height:32px}.arp-panel .choice .seg.narrow{min-width:32px}.arp-knobs>.seg{align-self:flex-start;min-height:32px;margin-top:11px;padding:0 10px;font-size:12px}.editor-note{margin:-4px 0 0}@media (width>=1400px){.editor-top{grid-template-columns:674px auto minmax(0,1fr);gap:8px;display:grid}.editor-left{display:contents}.editor-left>*{grid-column:1}.edit-area{flex-wrap:nowrap;grid-area:1/2;align-items:stretch;padding:0 8px}.edit-functions,.patch-actions{grid-template-rows:34px 34px 46px 34px;align-content:space-between;align-items:center;display:grid}.edit-area .seg,.edit-area .btn{height:34px;min-height:34px}.editor-view .arp-panel{grid-area:1/3/span 2}}.editor-grid{grid-template-columns:minmax(0,1fr);gap:8px;display:grid}@media (width>=1200px){.editor-grid{grid-template-columns:minmax(0,760fr) minmax(0,616fr)}.editor-grid>.osc-panel{grid-area:1/1}.editor-grid>.filter-panel{grid-area:1/2}.editor-grid>.lfo-row{grid-area:2/1}.editor-grid>.eg-panel{grid-area:2/2}.editor-grid>.mod-panel{grid-area:3/1}.editor-grid>.fx-panel{grid-area:3/2}}@media (width>=1400px){.editor-grid{grid-template-columns:760px minmax(0,1fr)}}.editor-view .osc-panel{gap:0;padding:0;overflow:hidden}.osc-group{flex:auto;grid-template-columns:124px minmax(0,1fr) 232px;display:grid}.osc-title{flex-direction:column;gap:14px;padding:14px 16px;display:flex}.osc-title.bottom{justify-content:flex-end}.osc-knobs{grid-template-columns:repeat(3,minmax(0,1fr));place-items:start center;gap:6px 4px;padding:10px 4px;display:grid}.osc-sync{margin-top:12px}.knob-with-tag{flex-direction:column;align-items:center;gap:4px;display:flex}.hstag{border:1px solid var(--accent);background:var(--surface);height:22px;color:var(--accent);white-space:nowrap;border-radius:3px;padding:0 8px;font-size:11px;font-weight:600;line-height:20px}.hstag.on{background:var(--accent);color:#fff}.hstag.spacer{visibility:hidden}.sub-section{border-left:1px solid var(--line);flex-direction:column;gap:10px;padding:14px 16px;display:flex}.sub-section .label-heading{align-self:center;margin-left:78px}.sub-grid{flex:auto;grid-template-rows:repeat(4,minmax(40px,1fr));grid-template-columns:64px auto;justify-content:center;gap:16px 14px;display:grid}.sub-grid.inactive{opacity:.45}.sub-shapes{grid-area:1/1/5;grid-template-rows:subgrid;display:grid}.sub-shapes .seg{align-self:center;width:64px;padding:0}.sub-knob{grid-area:1/2/4;place-self:center}.sub-octave{grid-area:4/2;place-self:center;padding:0 16px}.osc-mode-rule{background:var(--line);height:1px;position:relative}.osc-mode{z-index:1;background:var(--surface);border-radius:8px;width:92px;padding:8px;position:absolute;top:50%;left:16px;transform:translateY(-50%)}.osc-mode .choice{flex-direction:column}.osc-mode .seg{width:100%;padding:0 6px}@media (width<=760px){.osc-group{grid-template-columns:minmax(0,1fr)}.osc-title{padding-bottom:0}.osc-knobs{grid-template-columns:repeat(auto-fill,minmax(84px,1fr))}.sub-section{border-left:0;border-top:1px solid var(--line)}.sub-section .label-heading{margin-left:0}.osc-mode-rule{height:auto;padding:10px 16px}.osc-mode{background:0 0;border:0;width:auto;padding:0;position:static;transform:none}.osc-mode .choice{flex-direction:row}.osc-mode .seg{width:auto;padding:0 12px}}.lfo-row{flex-wrap:wrap;align-items:stretch;gap:8px;min-width:0;display:flex}.editor-view .lfo-panel{flex:380px}.lfo-pick{min-width:56px}.lfo-body{align-items:flex-start;gap:12px;display:flex}.lfo-graph{border:1px solid var(--line);background:var(--surface);border-radius:8px;flex:1 1 0;align-self:center;min-width:0;height:100px}.editor-view .voice-panel{flex:0 0 236px;justify-content:center;align-items:center;gap:10px}.voice-panel .choice{justify-content:center}.voice-top,.voice-dual{grid-template-columns:98px auto;place-items:start;gap:12px;display:grid}.voice-top>.choice{margin-top:11px}.dual-mode{flex-direction:column;align-items:center;gap:8px;padding-top:7px;display:flex}.dual-state{color:var(--muted);white-space:nowrap;font-size:11px}.editor-view .mod-panel{gap:10px}.mod-scroll{overflow-x:auto}.mod-table{flex-direction:column;gap:6px;min-width:480px;display:flex}.mod-row{grid-template-columns:56px minmax(0,1fr) 14px minmax(0,1fr) minmax(90px,1fr) 40px;align-items:center;gap:8px;display:grid}.mod-head{color:var(--muted);letter-spacing:.1em;font-size:11px;font-weight:600}.mod-dest-head{align-items:center;gap:8px;display:flex}.dest-switch{border:1px solid var(--line-strong);border-radius:4px;display:inline-flex;overflow:hidden}.dest-switch button{background:var(--surface);min-width:20px;height:13px;min-height:0;color:var(--text-2);line-height:13px;font-family:var(--mono);border:0;border-radius:0;padding:0 4px;font-size:11px}.dest-switch button+button{border-left:1px solid var(--line-strong)}.dest-switch button.on{background:var(--accent);color:#fff}.mod-slot{border:1px solid var(--line-strong);background:var(--surface);border-radius:6px;place-items:center;min-height:36px;font-size:13px;font-weight:600;display:grid}.mod-slot.act{border-color:var(--accent);color:var(--accent)}.mod-amount{width:100%;min-height:24px;accent-color:var(--accent);background:0 0;border:0;margin:0;padding:0}.mod-value{text-align:right}.editor-view .filter-panel{gap:12px}.filter-top{align-items:flex-start;gap:20px;margin-bottom:18px;display:flex}.filter-knobs{flex-direction:column;flex:none;align-items:center;gap:30px;display:flex}.filter-knobs .knob-row{flex-wrap:nowrap;gap:4px}.filter-right{flex-direction:column;flex:auto;gap:30px;min-width:0;display:flex}.filter-graph{margin:0}.filter-graph svg{border:1px solid var(--line);background:var(--surface);border-radius:8px;width:100%;height:130px;display:block}.graph-scale{color:var(--muted);font-family:var(--mono);justify-content:space-between;margin-top:6px;font-size:11px;display:flex}.filter-buttons{flex-direction:column;gap:6px;width:290px;max-width:100%;display:flex}.filter-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.filter-tabs .seg,.filter-buttons>.choice .seg{min-height:32px;padding:0 6px;font-size:12px}.filter-buttons>.choice{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px;width:calc(66.6667% - 3.33333px);display:grid}.filter-env{flex-wrap:nowrap;align-items:stretch;gap:16px}.filter-env .knob-row{gap:8px}.vrule{background:var(--line);align-self:stretch;width:1px;margin:0}@media (width<=640px){.filter-top,.filter-env{flex-wrap:wrap}}.eg-body{flex-wrap:wrap;align-items:flex-start;gap:20px;display:flex}.eg-body .knob-row{gap:8px}.eg-tabs{flex-direction:column;flex:none;align-self:center;gap:6px;display:flex}.eg-tabs .seg{width:60px;min-height:32px}.fx-body{flex-direction:column;flex:auto;gap:12px;display:flex}.fx-current{border:1px solid var(--line);background:var(--surface);border-radius:8px;flex-direction:column;gap:10px;padding:12px 14px;display:flex}.fx-current .knob-row{gap:4px}.fx-name{font-size:18px;font-weight:600}.fx-pill{border:1px solid var(--line-strong);background:var(--surface);min-height:28px;color:var(--ink);border-radius:6px;align-items:center;gap:6px;padding:0 10px;font-size:12px;font-weight:600;display:inline-flex}.fx-pill.on{background:var(--accent);border-color:var(--accent);color:#fff}.fx-pill.on .led.on{box-shadow:none;background:#fff}.fx-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 14px;margin-top:auto;display:grid}.fx-tabs .seg{white-space:normal;width:100%;min-height:32px;padding:0 6px;font-size:12px;line-height:1.15}@media (width<=640px){.editor-view .display-card{flex-direction:column}.display-steps{flex-direction:row}.arp-knobs{margin-left:0}.fx-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.lfo-body{flex-wrap:wrap}}.tools-view{flex-direction:column;display:flex}.subtabs-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;display:flex}.tool-pane>.panel:first-child{margin-top:16px}.multi-split{flex-wrap:wrap;align-items:stretch;gap:16px;margin-top:16px;display:flex}.multi-split>.panel{min-width:0;margin-top:0}.multi-list-panel{flex:340px}.multi-list-panel .kept-multi{flex-direction:column;align-items:flex-start}.multi-list-panel .kept-multi .actions{flex-wrap:nowrap}.multi-edit-panel{flex:999 360px}.load-groups{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-top:12px;display:grid}.load-group{border:1px solid var(--line);border-radius:8px;flex-direction:column;gap:8px;min-width:0;padding:12px;display:flex}.load-group h3{margin:0}.load-group select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%235a6067' stroke-width='1.6'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;width:100%;min-width:0;padding-right:32px}.load-group select:disabled{color:var(--muted)}.load-group>button{align-self:flex-start;padding:6px 16px}.load-row{gap:8px;display:flex}.load-row .stepper{flex:none}.load-row .step{height:34px}.load-row .grow{flex:auto;min-width:0}.hint.invalid{color:var(--error)}.multi-source{margin:12px 0 0;font-size:14px;font-weight:600}.multi-source.warn{color:var(--warn)}.multi-message{min-height:1.4em;margin:12px 0 0}.multi-mode-row{align-items:center;min-height:36px;margin-bottom:12px;display:flex}.multi-mode-row>p{margin:0}.stepper.idle{opacity:.5}.stepper.idle:focus-within,.stepper.idle:hover{opacity:1}.panel-message{min-height:1.4em;margin:12px 0 0}.library-name .status{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.under-field{color:var(--muted);flex-direction:column;gap:4px;font-size:13px;display:flex}.read-row{align-items:flex-start}.read-groups button{white-space:nowrap}.read-row>button{flex:none;padding:6px 16px}.bank-field{flex:0 0 72px}.id-field{align-self:flex-start}.id-field input{width:80px}.id-field input[aria-invalid=true]{outline:2px solid var(--error);outline-offset:-2px}.read-groups{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.bank-filters{flex-wrap:wrap;gap:8px 12px;margin-top:12px;display:flex}.bank-filters .under-field{flex:140px;min-width:0}.bank-filters .grow{flex:3 220px}.bank-filters select{width:100%}.bank-source-list{border-top:1px solid var(--line);max-height:480px;margin:12px 0 0;padding:0;list-style:none;overflow:auto}.bank-source{border-bottom:1px solid var(--line);cursor:grab;align-items:center;gap:8px;padding:6px 4px;display:flex}.bank-source .library-name{flex:auto}.bank-source button{flex:none;min-height:30px;padding:4px 12px}.bank-status{align-items:center;gap:12px;min-height:36px;margin:12px 0 0;font-size:14px;display:flex}.bank-status progress{flex:0 200px}.bank-status button{white-space:nowrap;flex:none}.bank-slot{padding:0 4px 0 0}.slot-pick{min-width:0;min-height:34px;color:inherit;font:inherit;text-align:left;background:0 0;border:0;flex:auto;grid-column:1/3;align-items:center;gap:8px;padding:0 8px;display:flex}.bank-slot.picked{outline:2px solid var(--accent);outline-offset:-1px}.bank-confirm{width:460px;max-width:100%}.bank-confirm .problems{margin:0}.bank-confirm-buttons{justify-content:flex-end}.bank-split>.multi-list-panel{flex:300px}.bank-split>.multi-edit-panel{flex:999 700px}.bank-source-count{margin-top:8px}@media (width<=1100px){.bank-source-list{max-height:280px}}.archive-groups{gap:12px;margin-top:12px;display:grid}.archive-row{flex-wrap:wrap;align-items:flex-start;gap:8px 12px;display:flex}.archive-bank{width:88px}.archive-to{color:var(--muted);font-size:14px;line-height:36px}.archive-row .archive-actions{margin-left:12px}.archive-actions{flex-wrap:wrap;gap:8px}.archive-actions button{white-space:nowrap}.archive-status{align-items:center;gap:12px;min-height:2.8em;margin:0;font-size:14px;display:flex}.archive-status progress{flex:0 240px}.archive-status button{white-space:nowrap;flex:none}
