:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#f5f6f7;--surface:#e8eaed;--text:#1e2124;--muted:#5c626a;--accent:#7d5e00;--wave:#757c84;--wave-played:#1e2124;--loop-fill:#fae6a0;--loop-edge:var(--accent);--playhead:var(--text);--focus:var(--text);--error:#b3261e;--s1:4px;--s2:8px;--s3:16px;--s4:24px;--s5:40px;--s6:64px;--radius:4px;--font:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#1b1d20;--surface:#2a2d31;--text:#e7e9eb;--muted:#9ca2a9;--accent:#e9c24b;--wave:#7d848c;--wave-played:#e7e9eb;--loop-fill:#37301a;--error:#f28b82}}*{box-sizing:border-box}html,body{height:100%;margin:0}body{background:var(--bg);color:var(--text);font:400 16px/1.4 var(--font);-webkit-font-smoothing:antialiased}button{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.app{gap:var(--s4);min-height:100%;padding:var(--s5);flex-direction:column;max-width:1600px;margin:0 auto;transition:background-color .12s ease-out;display:flex}.app.drag-over{background:var(--surface)}.top{justify-content:space-between;align-items:center;gap:var(--s3);min-height:44px;display:flex}.title{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:24px;font-weight:500;line-height:1.25;overflow:hidden}.top-actions{gap:var(--s2);flex:none;display:flex}.empty{align-items:center;gap:var(--s3);flex-wrap:wrap;display:flex}.empty p{margin:0}.wave-area{gap:var(--s3);flex-direction:column;display:flex}.main-wave .wave-canvas{--wave-h:clamp(160px, 40vh, 440px);height:var(--wave-h)}.wave-area.zoomed .main-wave .wave-canvas{height:calc(var(--wave-h) - 40px - var(--s3))}.overview .wave-canvas{height:40px}.ruler{height:20px;margin-top:var(--s2);color:var(--muted);font-variant-numeric:tabular-nums;font-size:13px;line-height:20px;position:relative}.tick{white-space:nowrap;position:absolute;top:0;transform:translate(-50%)}.tick.start{transform:none}.tick.end{transform:translate(-100%)}.tick.hover{color:var(--text);background:var(--bg);padding:0 var(--s1);box-shadow:0 0 0 4px var(--bg)}.drag-over .tick.hover{background:var(--surface)}.waveform{touch-action:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block}.controls{justify-content:space-between;align-items:center;gap:var(--s5);padding-top:var(--s3);flex-wrap:wrap;display:flex}.group{align-items:center;gap:var(--s3);display:flex}.readout{font-variant-numeric:tabular-nums;font-size:40px;font-weight:500;line-height:1}.time .total{color:var(--muted);font-variant-numeric:tabular-nums}.loop{flex:1;justify-content:center}.loop-times{align-items:baseline;gap:var(--s2);color:var(--muted);font-variant-numeric:tabular-nums;display:flex}.loop.on .loop-times .edge,.loop.on .loop-times .dash{color:var(--accent)}.loop-times .edge.active{text-underline-offset:4px;text-decoration:underline;text-decoration-thickness:2px}.loop-times .len{color:var(--muted)}.speed .readout{text-align:center;min-width:3.2ch;color:var(--muted)}.speed .readout.slowed{color:var(--text)}.presets{gap:var(--s1);margin-left:var(--s2);display:flex}button{cursor:pointer;border-radius:var(--radius);justify-content:center;align-items:center;gap:var(--s2);border:0;min-height:44px;transition:background-color .12s ease-out,color .12s ease-out;display:inline-flex}button:active:not(:disabled){transform:translateY(1px)}button:disabled{opacity:.4;cursor:default}.solid{background:var(--text);color:var(--bg);padding:0 var(--s3);font-weight:500}.solid:hover:not(:disabled){background:var(--muted)}.play{width:56px;height:56px;padding:0}.ghost{background:0 0;min-width:44px;padding:0 12px;font-weight:500}.ghost:hover:not(:disabled),.ghost:active:not(:disabled),.ghost[aria-pressed=true]{background:var(--surface)}.ghost.icon{padding:0}.loop-toggle[aria-pressed=true]{background:var(--loop-fill);color:var(--loop-edge)}.hint{color:var(--muted);margin:0;font-size:13px}.error{color:var(--error);margin:0}kbd{font:inherit;font-variant-numeric:tabular-nums;padding:0 var(--s1);border-radius:var(--radius);background:var(--surface);color:var(--text)}.shortcuts{padding-top:var(--s3);font-size:13px}.shortcuts dl{gap:var(--s2) var(--s4);grid-template-columns:repeat(auto-fill,minmax(280px,1fr));margin:0;display:grid}.shortcuts dl>div{gap:var(--s2);align-items:baseline;display:flex}.shortcuts dt{gap:var(--s1);flex:none;width:88px;display:flex}.shortcuts dd{color:var(--muted);margin:0}.top-actions .ghost:last-child,.presets .ghost:last-child{margin-right:-12px}@media (width<=1024px){.app{padding:var(--s4)}.loop{flex-basis:100%;order:3;justify-content:flex-start}.loop .loop-toggle{margin-left:-12px}}@media (prefers-reduced-motion:reduce){*{transition:none!important}}
