:root{color-scheme:dark;--bg:#10151d;--panel:#1b2634;--line:#34475b;--muted:#9baec2;--text:#edf3fb;--accent:#ed648a;--accent2:#e63a69;--blue:#7bb2da;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}html,body{min-width:320px;margin:0;background:var(--bg);color:var(--text)}body{overflow-x:hidden}button,select,input{font:inherit}button{cursor:pointer;touch-action:manipulation}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #f6b6c8;outline-offset:2px}button:disabled{opacity:.38;cursor:default}[hidden]{display:none!important}
.app-header{height:65px;padding:0 max(16px,env(safe-area-inset-left));display:flex;align-items:center;justify-content:space-between;background:#1d2633;border-bottom:1px solid #364657;gap:12px}.brand{display:flex;align-items:center;gap:11px;min-width:0}.brand strong{font-size:17px;line-height:1.2}.brand small{font-size:10px;letter-spacing:.14em;display:block;color:#adbbcd;margin-top:3px}.mark{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#9b2547;color:white;font-size:18px;font-weight:850}.file-toggle{border:1px solid #63748a;border-radius:10px;color:var(--text);background:#2a3545;padding:10px 14px;font-size:14px}.page{max-width:1250px;margin:0 auto;padding:16px max(12px,env(safe-area-inset-left)) calc(172px + env(safe-area-inset-bottom))}.status{color:#a9b9cc;min-height:27px;font-size:12px;line-height:1.5;padding:0 2px 8px}.status.error{color:#ff93ac}.empty{max-width:460px;margin:9vh auto 0;text-align:center}.empty h1{font-size:clamp(26px,6vw,38px);line-height:1.12;letter-spacing:-.04em;margin:22px 0 13px}.empty p{color:var(--muted);line-height:1.6;font-size:14px}.primary{background:#c2345c;border:1px solid #ee6d8f;border-radius:12px;padding:13px 22px;font-weight:700;color:#fff;margin-top:12px}.empty-graphic{margin:0 auto;width:180px;height:150px;border:1px solid #354a61;background:#1b2b3c;border-radius:18px;display:flex;align-items:center;gap:5px;justify-content:center}.empty-graphic i{display:block;width:12px;background:#65b2e6;border-radius:3px;height:31px}.empty-graphic i:nth-child(2),.empty-graphic i:nth-child(6){height:88px;background:#ed829e}.empty-graphic i:nth-child(3),.empty-graphic i:nth-child(7){height:61px}.empty-graphic i:nth-child(4){height:106px}.empty-graphic i:nth-child(5){height:42px}.empty-graphic i:nth-child(8){height:24px}
.file-panel{background:#202d3c;border:1px solid #516277;border-radius:14px;padding:16px;margin-bottom:18px;box-shadow:0 14px 30px #0004}.file-panel .section-head{margin:0}.file-panel p{font-size:13px;color:var(--muted);line-height:1.5}.file-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.file-actions label{flex:1;min-width:135px;cursor:pointer;text-align:center;background:#c8ddfa;color:#192942;padding:12px;border-radius:9px;font-weight:700;font-size:13px}.file-actions.secondary label{background:#33465b;color:#e8f2fd}.quiet{background:transparent;color:#c1cede;border:none;font-size:23px}.project-strip{padding:12px 14px;border:1px solid #3b526c;border-radius:12px;background:#17212d;display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px}.project-strip strong{display:block;font-size:15px;overflow-wrap:anywhere}.project-strip small{font-size:10px;letter-spacing:.1em;color:#8fa6bf}.project-count{font-size:12px;color:var(--muted);white-space:nowrap}
.section{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:14px;margin-bottom:14px;min-width:0}.section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 12px}.section-head h2{margin:0;font-size:13px;letter-spacing:.055em;text-transform:uppercase;color:#d5e1ee}.quiet-label{font-size:12px;color:var(--muted);text-align:right}.sequence-row{display:flex;gap:9px}.sequence-row select{flex:1;min-width:0;min-height:44px;background:#283a4e;color:var(--text);border:1px solid #5d758e;border-radius:9px;padding:0 12px;font-size:15px}.sequence-row .arrow{width:44px;border:1px solid #536a83;color:#e7f0fb;font-size:25px;border-radius:9px;background:#304458}.metadata{color:var(--muted);font-size:12px;margin:12px 2px 0}.explorer-grid{display:grid;grid-template-columns:minmax(220px,310px) minmax(0,1fr);gap:14px}.tracks-list{display:flex;flex-direction:column;gap:5px}.track-row{display:flex;width:100%;align-items:center;text-align:left;gap:11px;padding:10px 11px;min-height:51px;border-radius:9px;border:1px solid transparent;color:#dce9f6;background:#273547}.track-row.selected{background:#4c2a41;border-color:#d85981}.track-index{display:grid;place-items:center;flex:0 0 29px;height:29px;border-radius:7px;background:#364c64;color:#c7e3f7;font-size:12px;font-weight:800}.track-row.selected .track-index{background:#ac3b60;color:white}.track-name{font-size:13px;font-weight:700;overflow-wrap:anywhere}.track-detail{font-size:11px;color:#a8bbd0;margin-top:4px}.track-text{min-width:0;flex:1}.roll-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 0 10px;font-size:12px;color:#aabed1}.roll-controls label{display:flex;align-items:center;gap:8px;white-space:nowrap}.roll-controls input{width:87px;accent-color:var(--accent)}.roll-scroller{max-height:575px;overflow:auto;background:#131b28;border:1px solid #445b76;border-radius:9px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.roll-surface{position:relative;width:max-content;height:max-content}.roll-surface canvas{display:block;touch-action:pan-x pan-y}.roll-playhead{position:absolute;top:32px;bottom:0;width:2px;background:#f1d58c;box-shadow:0 0 9px #f1d58cbb;pointer-events:none}.roll-legend{display:flex;gap:16px;flex-wrap:wrap;margin:10px 0;color:#afc0d4;font-size:11px}.roll-legend span{display:flex;align-items:center;gap:5px}.legend-note{display:inline-block;width:13px;height:8px;border-radius:2px;background:#63b8ee}.legend-loop{display:inline-block;height:12px;border-left:2px dashed #f3a0b5}.note-detail{border:1px solid #394e65;border-radius:8px;padding:11px;font-size:12px;color:#cad8e9;line-height:1.5}.help{font-size:11px;color:var(--muted);line-height:1.55;margin:10px 1px 0}.exports-actions{display:flex;gap:9px;flex-wrap:wrap}.export-btn{border:1px solid #6883a1;background:#2d4660;color:#eaf4ff;padding:11px 13px;font-size:13px;font-weight:700;border-radius:9px}.export-btn:nth-child(2){background:#354154}.export-btn:nth-child(3){background:#2b394b}
.transport{position:fixed;bottom:0;left:0;right:0;z-index:10;background:#1b2431;border-top:1px solid #506279;box-shadow:0 -8px 28px #0007;padding:10px max(14px,env(safe-area-inset-left)) calc(11px + env(safe-area-inset-bottom))}.transport-top{max-width:1250px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:10px}.now-playing{min-width:0}.now-playing strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:54vw}.now-playing small{display:block;font-size:11px;color:#a2b2c4;margin-top:4px}.transport-buttons{display:flex;align-items:center;gap:9px}.transport-buttons button{height:43px;width:42px;border:0;background:transparent;border-radius:9px;color:#d2ddec;font-size:21px;line-height:1}.transport-buttons button.play{background:#c63964;border:1px solid #ed7497;color:#fff;width:50px;height:47px;font-size:23px}.transport-buttons button.loop.active{color:#ed779c}.transport-bottom{max-width:1250px;margin:9px auto 0;display:flex;align-items:center;gap:9px;color:#bac8d8;font-size:11px}.transport-bottom span{font-variant-numeric:tabular-nums}.transport-bottom input{flex:1;min-width:0;accent-color:#ed7497;height:20px}
@media(max-width:740px){.explorer-grid{grid-template-columns:1fr;gap:0}.tracks-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.track-row{min-width:0}.section{padding:12px}.project-strip{padding:10px}.now-playing strong{max-width:45vw}}@media(max-width:375px){.tracks-list{grid-template-columns:1fr}.transport-buttons{gap:1px}.page{padding-left:9px;padding-right:9px}}
