:root{--bg:#fbfbfa;--card:#fff;--fg:#121417;--fg2:#4a515c;--muted:#687080;--dim:#9aa1ac;--line:#ebedf0;--line2:#e4e7ec;--soft:#f1f2f4;--tile:#f7f8f9;--hover:#f1f2f4;--row-hover:#f7f8f9;--row-on:#f1f5fe;--accent:#3b6cf6;--accent-h:#2a55d6;--ring:#eaf0fe;--on-accent:#fff;--sw-off:#d5d9e0;--track:#e2e4e8;--thumb:#fff;--seg-on:#fff;--seg-on-fg:#121417;--seg-off-fg:#687080;--seg-sh:0 1px 2px #1018281f;--chip-on:#121417;--chip-on-fg:#fff;--chip-on-bd:#121417;--chip-off:#fff;--chip-off-fg:#4a515c;--chip-off-bd:#e4e7ec;--btn-dark:#121417;--btn-dark-fg:#fff;--red:#e5484d;--red-soft:#fdecec;--red-fg:#c5303a;--file-soft:#eef0f3;--w-played:#3b6cf6;--w-un:#c3d0fb;--w-raw-p:#7d8592;--w-raw-u:#d3d7de;--w-rec:#e5484d;--w-head:#121417;--w-sel:#3b6cf61f;--w-sel-edge:#3b6cf6b3;--w-hover:#1214174d;--shadow-sm:0 1px 2px #1018280d;--shadow-lg:0 12px 40px #1018282e;--sans:"Geist Variable",Geist,system-ui,-apple-system,"Segoe UI",sans-serif;--mono:"Geist Mono Variable","Geist Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;--moon:block;--sun:none;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#0f1114;--card:#16181c;--fg:#e8eaed;--fg2:#c3c8d0;--muted:#8d94a0;--dim:#6b727d;--line:#22252b;--line2:#2a2e35;--soft:#1f2228;--tile:#1b1e23;--hover:#24272d;--row-hover:#1b1e23;--row-on:#1a2033;--accent:#7f9cff;--accent-h:#a3b8ff;--ring:#26304d;--on-accent:#0d1020;--sw-off:#3a3f47;--track:#2f333a;--thumb:#e8eaed;--seg-on:#2a2e36;--seg-on-fg:#e8eaed;--seg-off-fg:#8d94a0;--seg-sh:none;--chip-on:#1f2430;--chip-on-fg:#e8eaed;--chip-on-bd:#7f9cff;--chip-off:transparent;--chip-off-fg:#c3c8d0;--chip-off-bd:#2a2e35;--btn-dark:#e8eaed;--btn-dark-fg:#121417;--red:#ff5c62;--red-soft:#3a1d20;--red-fg:#ff8086;--file-soft:#24272d;--w-played:#7f9cff;--w-un:#323a57;--w-raw-p:#9aa1ac;--w-raw-u:#2f333a;--w-rec:#ff5c62;--w-head:#e8eaed;--w-sel:#7f9cff29;--w-sel-edge:#7f9cffbf;--w-hover:#e8eaed59;--shadow-sm:none;--shadow-lg:0 12px 40px #00000080;--moon:none;--sun:block;color-scheme:dark}}:root[data-theme=dark]{--bg:#0f1114;--card:#16181c;--fg:#e8eaed;--fg2:#c3c8d0;--muted:#8d94a0;--dim:#6b727d;--line:#22252b;--line2:#2a2e35;--soft:#1f2228;--tile:#1b1e23;--hover:#24272d;--row-hover:#1b1e23;--row-on:#1a2033;--accent:#7f9cff;--accent-h:#a3b8ff;--ring:#26304d;--on-accent:#0d1020;--sw-off:#3a3f47;--track:#2f333a;--thumb:#e8eaed;--seg-on:#2a2e36;--seg-on-fg:#e8eaed;--seg-off-fg:#8d94a0;--seg-sh:none;--chip-on:#1f2430;--chip-on-fg:#e8eaed;--chip-on-bd:#7f9cff;--chip-off:transparent;--chip-off-fg:#c3c8d0;--chip-off-bd:#2a2e35;--btn-dark:#e8eaed;--btn-dark-fg:#121417;--red:#ff5c62;--red-soft:#3a1d20;--red-fg:#ff8086;--file-soft:#24272d;--w-played:#7f9cff;--w-un:#323a57;--w-raw-p:#9aa1ac;--w-raw-u:#2f333a;--w-rec:#ff5c62;--w-head:#e8eaed;--w-sel:#7f9cff29;--w-sel-edge:#7f9cffbf;--w-hover:#e8eaed59;--shadow-sm:none;--shadow-lg:0 12px 40px #00000080;--moon:none;--sun:block;color-scheme:dark}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);min-height:100vh;color:var(--fg);font:13px/1.45 var(--sans);-webkit-font-smoothing:antialiased;flex-direction:column;margin:0;display:flex}a{color:var(--accent);text-decoration:none}a:hover{color:var(--accent-h)}button,select,input{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}h2{letter-spacing:-.005em;margin:0;font-size:17px;font-weight:600}.mono{font-family:var(--mono)}.dim{color:var(--dim)}[hidden]{display:none!important}.ic{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:18px 32px;display:flex}.brand{color:var(--fg);align-items:center;gap:9px;font-size:15px;font-weight:600;display:flex}.brand:hover{color:var(--fg)}.brand img{width:26px;height:26px}.tagline{color:var(--muted)}.top-actions{align-items:center;gap:8px;min-width:0;display:flex}.mic-pill{border:1px solid var(--line2);background:var(--card);white-space:nowrap;cursor:pointer;border-radius:999px;align-items:center;gap:8px;min-width:0;height:36px;padding:0 34px 0 14px;display:flex;position:relative}.mic-pill select{-webkit-appearance:none;appearance:none;cursor:pointer;text-overflow:ellipsis;background:0 0;border:0;outline:none;min-width:0;max-width:240px;font-weight:500}.mic-pill select option{color:#121417;background:#fff}.mic-pill:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--ring)}.mic-pill .caret{color:var(--dim);pointer-events:none;font-size:11px;position:absolute;right:14px}.pill{white-space:nowrap;border:1px solid var(--line2);background:var(--card);border-radius:999px;flex:none;justify-content:center;align-items:center;gap:8px;height:36px;padding:0 18px;font-weight:500;display:flex}.pill:not(:disabled):hover{background:var(--hover)}.pill.dark{background:var(--btn-dark);color:var(--btn-dark-fg);border-color:#0000;font-weight:600}.pill.dark:not(:disabled):hover{background:var(--btn-dark);opacity:.88}.studio{flex-direction:column;gap:16px;width:100%;max-width:920px;margin:8px auto 40px;padding:0 20px;display:flex}.actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.big-pill{white-space:nowrap;border:1px solid var(--line2);background:var(--card);height:44px;box-shadow:var(--shadow-sm);border-radius:999px;flex:none;align-items:center;gap:9px;padding:0 22px;font-size:14px;font-weight:500;display:flex}.big-pill:not(:disabled):hover{background:var(--hover)}.rec-dot{background:var(--red);border-radius:50%;width:11px;height:11px;transition:border-radius .15s}#recBtn.recording{border-color:var(--red);color:var(--red-fg);background:var(--red-soft)}#recBtn.recording .rec-dot{border-radius:2px;animation:1.2s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.35}}@media (prefers-reduced-motion:reduce){#recBtn.recording .rec-dot{animation:none}}.card{background:var(--card);border:1px solid var(--line);border-radius:20px;flex-direction:column;padding:22px 24px;display:flex}.foot-note{text-align:center;color:var(--muted);margin:0}.banner{background:var(--row-on);border:1px solid var(--line2);border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;font-size:13px;display:flex}.banner-actions{gap:8px;display:flex}.banner .pill{height:32px;padding:0 14px}.player{gap:16px}.clip-head{flex-direction:column;gap:2px;min-width:0;display:flex}.clip-name{white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:600;overflow:hidden}.clip-meta{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;min-height:17px;font-size:12px;overflow:hidden}.wave{touch-action:pan-y;-webkit-user-select:none;user-select:none;height:88px;margin:-4px 0;position:relative}.wave canvas{width:100%;height:100%;display:block;position:absolute;inset:0}.wave.has-clip{cursor:text}.wave-empty{text-align:center;color:var(--muted);border:1px dashed var(--line2);border-radius:12px;justify-content:center;align-items:center;padding:0 12px;display:flex;position:absolute;inset:4px 0}.wave-empty p{max-width:100%;margin:0}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.link{color:var(--accent);background:0 0;border:0;padding:0;font-weight:500}.link:hover{color:var(--accent-h);text-decoration:underline}.scroll{-webkit-appearance:none;appearance:none;background:0 0;width:100%;height:6px;margin:-8px 0 -4px}.scroll.hide{visibility:hidden;height:0;margin:-8px 0 0}.scroll::-webkit-slider-runnable-track{background:var(--soft);border-radius:4px;height:4px}.scroll::-webkit-slider-thumb{-webkit-appearance:none;background:var(--line2);border:0;border-radius:4px;width:60px;height:4px}.scroll::-moz-range-track{background:var(--soft);border-radius:4px;height:4px}.scroll::-moz-range-thumb{background:var(--line2);border:0;border-radius:4px;width:60px;height:4px}.player-row{grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;display:grid}.play-group{align-items:center;gap:14px;display:flex}.play{background:var(--accent);width:44px;height:44px;color:var(--on-accent);border:0;border-radius:50%;flex:none;place-items:center;display:grid}.play:not(:disabled):hover{filter:brightness(1.08)}.play svg{fill:currentColor;width:16px;height:16px}.play svg.tri{margin-left:2px}.time{white-space:nowrap;font-size:14px}.seg{background:var(--soft);border-radius:999px;padding:4px;display:flex}.seg button{white-space:nowrap;height:36px;color:var(--seg-off-fg);background:0 0;border:0;border-radius:999px;flex:none;padding:0 22px;font-size:14px;font-weight:500}.seg button:hover{color:var(--seg-on-fg)}.seg button.on{background:var(--seg-on);color:var(--seg-on-fg);box-shadow:var(--seg-sh)}.seg.sm button{height:32px;padding:0 18px}.ops{color:var(--fg2);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:2px;display:flex}.ops-sep{background:var(--line2);width:1px;height:18px;margin:0 4px}.icon-btn{width:32px;height:32px;color:inherit;background:0 0;border:0;border-radius:8px;flex:none;place-items:center;display:grid}.icon-btn:not(:disabled):hover{background:var(--hover);color:var(--fg)}.enhance{gap:18px}.enh-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 16px;display:flex}.enh-title{align-items:center;gap:16px;display:flex}.chips{flex-wrap:wrap;gap:6px;display:flex}.chip{white-space:nowrap;border:1px solid var(--chip-off-bd);background:var(--chip-off);height:32px;color:var(--chip-off-fg);border-radius:999px;flex:none;padding:0 14px;font-weight:500}.chip:hover{border-color:var(--dim)}.chip.on{border-color:var(--chip-on-bd);background:var(--chip-on);color:var(--chip-on-fg)}.tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.tile{background:var(--tile);border-radius:14px;flex-direction:column;gap:14px;padding:18px;display:flex}.tiles.adv .tile{border:1px solid var(--line);background:0 0;gap:12px;padding:16px}.tile-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.tile-title{flex-direction:column;gap:3px;min-width:0;display:flex}.tile-name{align-items:center;gap:8px;font-size:15px;font-weight:600;display:flex}.tile-hint{color:var(--muted)}.tiles.adv .tile-name{font-size:14px}.tiles.adv .tile-hint{font-size:12px}.badge{background:var(--ring);color:var(--accent);cursor:help;border-radius:999px;padding:0 7px;font-size:11px;font-weight:600;line-height:18px}.badge.lite{background:var(--file-soft);color:var(--fg2)}.ctls{flex-direction:column;gap:12px;transition:opacity .15s;display:flex}.tiles.adv .ctls{gap:10px}.tile.off .ctls{opacity:.4}.enhance.basic #coreTiles .ctl:not(:first-child){display:none}.ctl{flex-direction:column;gap:6px;display:flex}.ctl-top{justify-content:space-between;gap:8px;display:flex}.ctl-top span:first-child{color:var(--fg2)}.ctl-top output{font-family:var(--mono);white-space:nowrap}.tiles.adv .ctl-top{font-size:12px}.sw{background:var(--sw-off);border:0;border-radius:999px;flex:none;width:40px;height:22px;padding:0;transition:background .15s;position:relative}.sw:after{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:left .15s;position:absolute;top:2px;left:2px;box-shadow:0 1px 2px #00000040}.sw[aria-checked=true]{background:var(--accent)}.sw[aria-checked=true]:after{left:20px}.tiles.adv .sw{width:36px;height:20px}.tiles.adv .sw:after{width:16px;height:16px}.tiles.adv .sw[aria-checked=true]:after{left:18px}.rng{-webkit-appearance:none;appearance:none;cursor:pointer;--pct:50%;background:0 0;width:100%;height:18px;margin:0}.rng::-webkit-slider-runnable-track{background:linear-gradient(to right,var(--accent) 0 var(--pct),var(--track) var(--pct) 100%);border-radius:4px;height:4px}.rng::-webkit-slider-thumb{-webkit-appearance:none;background:var(--thumb);border:0;border-radius:50%;width:16px;height:16px;margin-top:-6px;box-shadow:0 1px 3px #1018284d}.rng::-moz-range-track{background:var(--track);border-radius:4px;height:4px}.rng::-moz-range-progress{background:var(--accent);border-radius:4px;height:4px}.rng::-moz-range-thumb{background:var(--thumb);border:0;border-radius:50%;width:16px;height:16px;box-shadow:0 1px 3px #1018284d}.tiles.adv .rng{height:16px}.tiles.adv .rng::-webkit-slider-thumb{width:14px;height:14px;margin-top:-5px}.tiles.adv .rng::-moz-range-thumb{width:14px;height:14px}.rng:focus-visible{outline:none}.rng:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px var(--ring),0 1px 3px #1018284d}.rng:focus-visible::-moz-range-thumb{box-shadow:0 0 0 3px var(--ring),0 1px 3px #1018284d}.library{padding:18px 24px 10px}.lib-head{justify-content:space-between;align-items:baseline;gap:12px;padding-bottom:10px;display:flex}.lib-note{color:var(--muted);font-size:12px}.lib-row{cursor:pointer;border-radius:12px;grid-template-columns:28px minmax(0,1fr) 90px 70px 72px;align-items:center;gap:14px;margin:0 -12px;padding:10px 12px;display:grid}.lib-row:hover{background:var(--row-hover)}.lib-row.on{background:var(--row-on)}.lib-ic{background:var(--file-soft);width:28px;height:28px;color:var(--fg2);border-radius:50%;place-items:center;display:grid}.lib-ic.rec{background:var(--red-soft);color:var(--red)}.lib-ic .dot{background:currentColor;border-radius:50%;width:8px;height:8px}.lib-ic svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:13px;height:13px}.lib-name{white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:500;overflow:hidden}.lib-input{border:1px solid var(--accent);height:32px;box-shadow:0 0 0 3px var(--ring);background:var(--card);border-radius:8px;outline:none;min-width:0;padding:0 10px;font-size:14px;font-weight:500}.lib-src{color:var(--muted);white-space:nowrap;font-size:12px}.lib-dur{font-family:var(--mono);color:var(--fg2);text-align:right;font-size:12px}.lib-acts{color:var(--muted);justify-content:flex-end;gap:2px;display:flex}.lib-acts .icon-btn svg{width:15px;height:15px}.lib-acts .icon-btn:hover{background:var(--hover);color:var(--fg)}.lib-acts .icon-btn.danger:hover{background:var(--red-soft);color:var(--red-fg)}.lib-empty{color:var(--muted);padding:18px 0 14px}.toast{color:#fff;max-width:min(560px,100vw - 32px);box-shadow:var(--shadow-lg);opacity:0;pointer-events:none;z-index:50;background:#121417;border-radius:12px;align-items:center;gap:14px;padding:11px 16px;transition:opacity .2s,transform .2s;display:flex;position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px)}.toast.show{opacity:1;pointer-events:auto;transform:translate(-50%)}.toast.error{background:#c5303a}.toast-act{color:#a3b8ff;background:0 0;border:0;flex:none;padding:0;font-weight:600}.toast.error .toast-act{color:#fff;text-decoration:underline}.drop-overlay{border:2px dashed var(--accent);background:color-mix(in srgb,var(--bg) 85%,transparent);color:var(--accent);z-index:60;pointer-events:none;border-radius:20px;place-items:center;font-size:18px;font-weight:600;display:none;position:fixed;inset:12px}.drop-overlay.show{display:grid}dialog{background:var(--card);color:var(--fg);box-shadow:var(--shadow-lg);border:0;border-radius:20px;width:min(520px,100vw - 32px);max-height:calc(100vh - 32px);padding:0}dialog::backdrop{background:#10141c59}.dlg{flex-direction:column;gap:8px;padding:22px 24px;display:flex}.dlg-sub{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin:-4px 0 4px;overflow:hidden}.dlg h3{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin:10px 0 0;font-size:12px;font-weight:600}.opts{gap:6px;display:grid}.opts.two{grid-template-columns:1fr 1fr}.opt{border:1px solid var(--line2);cursor:pointer;border-radius:12px;align-items:flex-start;gap:10px;padding:10px 12px;display:flex}.opt:hover{background:var(--row-hover)}.opt:has(input:checked){border-color:var(--accent);background:var(--row-on)}.opt:has(input:disabled){opacity:.45;cursor:default}.opt input{accent-color:var(--accent);margin:2px 0 0}.opt span{flex-direction:column;font-weight:500;display:flex}.opt small{color:var(--muted);font-size:12px;font-weight:400}.dlg-status{min-height:19px;color:var(--fg2);margin:6px 0 0}.dlg-actions{justify-content:flex-end;gap:8px;margin-top:4px;display:flex}.theme-btn{border:1px solid var(--line2);background:var(--card);width:36px;height:36px;color:var(--fg2);cursor:pointer;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}.theme-btn:hover{color:var(--fg);border-color:var(--dim)}.theme-btn svg{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:17px;height:17px}.theme-btn .moon{display:var(--moon)}.theme-btn .sun{display:var(--sun)}@media (width<=760px){.top{padding:14px 16px}.tagline{order:3;width:100%;font-size:12px}.studio{margin-top:4px;padding:0 12px}.card{border-radius:16px;padding:18px 16px}.library{padding:14px 16px 6px}.player-row{grid-template-columns:1fr auto;row-gap:14px}.ops{grid-column:1/-1;justify-content:center}.tiles{grid-template-columns:1fr}.lib-row{grid-template-columns:28px minmax(0,1fr) 56px 72px;gap:10px}.lib-src{display:none}}@media (width<=440px){.top-actions{width:100%}.mic-pill{flex:1}.mic-pill select{width:100%;max-width:none}.seg button{padding:0 14px}.player-row{grid-template-columns:1fr}.play-group{justify-content:space-between}.seg{justify-self:center}.enh-title{justify-content:space-between;width:100%}.opts.two{grid-template-columns:1fr}}
