:root{font-family:Inter,system-ui,sans-serif;color:#e7ecef;background:#15191f;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,.button{cursor:pointer;border:1px solid #3b4651;background:#242d37;color:#e7ecef;border-radius:6px;padding:10px 14px;font-size:.85rem}button:hover,.button:hover{border-color:#7fe0be;background:#2d3b43}button:disabled{opacity:.4;cursor:default}:focus-visible{outline:2px solid #7fe0be;outline-offset:3px}input,select{display:block;width:100%;background:#151b23;color:#e7ecef;border:1px solid #3b4651;border-radius:5px;padding:10px;margin-top:8px}[hidden],audio:not([controls]){display:none!important}input[type=checkbox]{width:auto;margin:0;accent-color:#7fe0be}input[type=range]{accent-color:#7fe0be;padding:0}header{padding:24px 32px;display:flex;align-items:center;gap:15px;border-bottom:1px solid #323b46}header img{width:42px;height:42px;object-fit:contain}h1{font-size:24px;letter-spacing:-1px;margin:0 0 4px}header span,.muted{color:#98a6b5;font-size:12px}.badge{margin-left:auto;border:1px solid #445349;padding:8px;color:#7fe0be}.layout{display:grid;grid-template-columns:340px minmax(0,1fr);min-height:85vh}aside{padding:26px 20px;border-right:1px solid #323b46;min-width:0}main{padding:28px;max-width:1200px;width:100%;min-width:0}h2{font-size:17px;font-weight:600;margin:0}.row{display:flex;gap:10px;align-items:center;justify-content:space-between}nav{display:flex;gap:6px;margin:22px 0 12px}.active,button[aria-pressed=true]{color:#7fe0be;border-color:#527f70;background:#213931}.files{max-height:65vh;overflow:auto;margin-bottom:14px;scrollbar-width:none}.files::-webkit-scrollbar{display:none}article{padding:12px 0;border-bottom:1px solid #303a45}.filename{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}section{background:#1b222b;border:1px solid #323c48;border-radius:10px;padding:24px;margin-bottom:22px}.controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px;margin:25px 0 16px}label{font-size:13px;color:#b9c5d1}.check{display:inline-flex;gap:8px;align-items:center;margin:8px 18px 8px 0}.mixers{margin:8px 0 18px}.tempo{border-top:1px solid #303a45;margin:18px 0;padding-top:20px}.mixer-control{display:flex;align-items:flex-end;gap:8px;min-width:0}.mixer-control label{flex:1;min-width:0}.mixer-control>.icon-button{height:39px}.tempo-main{display:flex;align-items:flex-end;gap:12px}.tempo-main>label{display:block;flex:1;min-width:0;max-width:500px}.tempo-main input[type=range]{height:34px;margin:2px 0 0}.tempo-actions{flex-shrink:0;flex-wrap:nowrap}.tempo>.row{margin-top:10px}.status{font-size:13px;color:#a9cbbb;overflow-wrap:anywhere;min-height:20px;margin:18px 0 0}.actions,.transport-buttons{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.icon-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:34px;height:34px;padding:0}.icon-button svg{flex-shrink:0}article .icon-button{width:28px;height:28px;border-color:transparent;background:transparent}article .icon-button:hover{background:#2d3b43;border-color:#3b4651}article .favorite{color:#edd291}article .favorite svg{fill:#edd29125}.icon-button.primary{background:#242d37;color:#d7e3e9;border-color:#465360;width:44px;height:40px}.primary:hover:not(:disabled){background:#303c48;border-color:#8bada7;color:#c0f0dd}.processing svg{animation:processing 1.4s ease-in-out infinite}@keyframes processing{50%{opacity:.3;transform:rotate(12deg)}}.empty{color:#80909f;font-size:14px;padding:22px 0;line-height:1.7}main>p{line-height:1.8}.compact-player{--progress: 0%;display:flex;align-items:center;gap:8px;margin-top:8px;min-width:0}.compact-player .play-button{color:#7fe0be;background:#24332f;border:1px solid #3c574d}.play-button svg path{fill:currentColor}.play-button[aria-label^=Pause] svg path{fill:none;stroke-width:3}.playback-time{color:#d3dfdf;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}.playback-time span{color:#84949f}input.audio-seek{flex:1;min-width:30px;height:4px;margin:0;border:0;border-radius:10px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:linear-gradient(to right,#7fe0be var(--progress),#35414b var(--progress));cursor:pointer}.audio-seek::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:9px;height:9px;border-radius:50%;background:#a4eed2}.audio-seek::-moz-range-thumb{width:9px;height:9px;border:0;border-radius:50%;background:#a4eed2}.waveform-player{--progress: 0%;position:relative;margin-top:22px;overflow:hidden;border:1px solid #2e3f44;border-radius:8px;background:#121c21}.waveform-seek{position:relative;height:172px;cursor:crosshair;touch-action:none;background-image:repeating-linear-gradient(90deg,transparent 0,transparent calc(12.5% - 1px),#ffffff05 calc(12.5% - 1px),#ffffff05 12.5%)}.waveform-seek canvas{display:block;width:100%;height:100%;padding:16px 0;opacity:.7}.waveform-seek:focus-visible{outline-offset:-3px}.played-region{position:absolute;inset:0 auto 0 0;width:var(--progress);background:#7fe0be13;pointer-events:none}.playhead{position:absolute;top:0;bottom:0;left:var(--progress);width:2px;background:#d5ffed;box-shadow:0 0 10px #7fe0be90;pointer-events:none;transform:translate(-1px)}.playhead:before{content:"";position:absolute;top:0;left:-3px;width:8px;height:8px;background:#d5ffed;clip-path:polygon(0 0,100% 0,50% 100%)}.waveform-transport{display:flex;align-items:center;gap:14px;padding:9px 12px;background:#17232a;border-top:1px solid #293b40}.waveform-transport>.icon-button:last-child{margin-left:auto}.waveform-transport .icon-button{width:30px;height:30px;border-color:transparent;background:transparent}.waveform-transport .play-button{background:#7fe0be;color:#142b23}.waveform-transport .active:not(.play-button){color:#7fe0be;background:#213931}.output-footer{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-top:14px}.output-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0}.output-footer .actions{flex-wrap:nowrap;flex-shrink:0}@media(max-width:850px){.layout{grid-template-columns:1fr}aside{border-right:0;border-bottom:1px solid #323b46}.files{max-height:300px}.controls{grid-template-columns:1fr}header{padding:20px}.badge{display:none}main{padding:18px}section{padding:18px}}@media(max-width:420px){.output-footer{flex-wrap:wrap;gap:12px}.output-name{width:100%}.waveform-transport{gap:10px;padding:8px}.waveform-seek{height:140px}}@media(prefers-reduced-motion:reduce){.processing svg{animation:none}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.icon-button.loop-generator{width:54px;height:40px;background:#242d37;box-shadow:0 2px 4px #00000020}.loop-generator svg{width:30px;height:24px;stroke-width:1.8}.output-footer .favorite{color:#edd291;border-color:#8e7743;background:#393323}.output-footer .favorite svg{fill:#edd29130}.generator-section .controls,.output-section .waveform-player{margin-top:0}.selector-group{min-width:0}.choice-options{min-width:0;border:0;padding:6px 0 0;margin:6px 0 0}.controls{align-items:start}.header-links{display:flex;align-items:center;gap:18px;margin-left:auto}.header-links>a{color:#a9b9c8;font-size:13px;text-decoration:none}.header-links>a:hover{color:#9de8ce}
