:root{color-scheme:dark;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",system-ui,sans-serif;color:#f4f4f8;background:#0b0c12;font-size:14px}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0 auto;max-width:730px;padding:calc(22px + env(safe-area-inset-top)) 16px calc(38px + env(safe-area-inset-bottom))}header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:22px}h1,h2,p{margin:0}h1{font-size:27px;letter-spacing:-.7px;line-height:1.15}h2{font-size:16px;margin-bottom:10px}p{line-height:1.5;color:#b0b5c6;margin:9px 0}.label{display:inline-block;border:1px solid #454a5b;border-radius:99px;padding:5px 8px;font-size:10px;color:#bdc5d7;white-space:nowrap}.eyebrow{color:#939bae;font-size:10px;letter-spacing:1.7px;font-weight:750;margin-bottom:8px}stem-app-panel{background:#1b1d27;border:1px solid #313644;border-radius:16px;padding:15px;margin:13px 0}input[type=file]{display:block;width:100%;padding:13px 0;font:inherit;color:#cbd1dd}button{display:inline-flex;justify-content:center;align-items:center;font:inherit;min-height:43px;background:#363b4e;color:#f4f4f6;border:1px solid #626b80;border-radius:11px;padding:10px 13px;touch-action:manipulation;cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid #fff;outline-offset:3px}button:disabled{opacity:.43;cursor:default}.primary{background:#e9ebf1;color:#151720;border-color:#e9ebf1;font-weight:740}.secondary{background:transparent;border-color:#4b5062}.row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.between{justify-content:space-between}.muted{font-size:12px;color:#9aa3b7}.status{min-height:18px;margin-top:9px;color:#b5bfd3;font-size:13px}.error{color:#ffacb2}.heading{display:flex;align-items:center;gap:13px;margin-bottom:15px}.cover{width:89px;height:89px;border-radius:12px;object-fit:cover;background:#12141e;border:1px solid #414859;flex:0 0 89px}.cover[hidden],.track-art[hidden]{display:none}.heading-copy{min-width:0;flex:1}.song-title{font-size:19px;font-weight:730;overflow-wrap:anywhere}.song-byline{font-size:13px;color:#b0b7c6;margin-top:4px;overflow-wrap:anywhere}.song-meta{font-size:11px;color:#969db0;margin-top:6px}.track-list{display:flex;flex-direction:column;gap:8px}.track{position:relative;display:flex;align-items:center;gap:12px;min-height:70px;padding:12px 11px;background:#272a36;border:1px solid #414553;border-radius:13px;cursor:pointer;-webkit-tap-highlight-color:transparent}.track:has(input:checked){border-color:#8992a8;background:#2e3443}.track input{width:20px;height:20px;accent-color:#e8ecf4;flex:0 0 20px;margin:0}.swatch{height:34px;width:5px;border-radius:5px;background:var(--swatch,#777);flex:0 0 5px}.track-copy{flex:1;min-width:0}.track-name{font-size:14px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.track-data{font-size:11px;color:#aeb5c5;margin-top:5px}.track-art{width:44px;height:44px;object-fit:cover;flex:0 0 44px;border:1px solid #595f6a;border-radius:9px}.pill{font-size:10px;border:1px solid #555c6b;border-radius:99px;padding:3px 6px;color:#c8cfdd}.actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;margin-bottom:11px}.selection{font-size:12px;color:#bac4d5}#export-button{width:100%;min-height:48px;margin-top:14px}.progress-shell{height:7px;background:#363c4d;border-radius:15px;overflow:hidden;margin:12px 0 6px}.progress-fill{height:100%;width:0;background:#b7d9cc;transition:width .12s}#progress-section{margin-top:12px}.result-name{color:#f1f3f7;font-weight:700;overflow-wrap:anywhere}.save-hint{font-size:12px}#output-actions button{flex:1}footer{margin-top:22px;color:#9099aa;font-size:11px;line-height:1.55}details{margin-top:11px}summary{font-size:12px;color:#bfc7d8;cursor:pointer}dl{display:grid;grid-template-columns:minmax(85px,35%) minmax(0,1fr);gap:9px 12px;font-size:12px;margin:12px 0 0}dt{color:#939eaf}dd{margin:0;overflow-wrap:anywhere}[hidden]{display:none!important}@media(max-width:400px){.cover{width:70px;height:70px;flex-basis:70px}.track{gap:9px;padding:10px}.track-art{width:38px;height:38px;flex-basis:38px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

input[type=text]{display:block;width:100%;background:#10131b;border:1px solid #50596c;color:#f8f8fb;border-radius:10px;padding:12px 13px;min-height:44px;font:inherit;outline-offset:2px}
.fieldset{display:grid;gap:11px;margin:14px 0 10px}
.fieldset label{display:block;font-size:12px;font-weight:700;color:#ccd1df;margin-bottom:6px}
.track input:disabled{display:none}.track.master{cursor:default;border-style:dashed;opacity:.88}.master-note{margin:0 0 13px;font-size:12px}.note{padding:11px 12px;border-radius:10px;background:#232c34;border:1px solid #3d5a62;font-size:12px;color:#bdced5;margin-top:12px}.stage{font-variant-numeric:tabular-nums}.swatch{background:var(--swatch,#777)}#create-button{width:100%;min-height:48px;margin-top:14px}

/* Native panel hosts preserve original light-DOM form and responsive styles. */
stem-app-panel { display:block; min-width:0; }
stem-app-panel[hidden] { display:none!important; }
