:where(#stemRoom){color-scheme:dark;--bg:#101617;--panel:#182022;--line:#303d3d;--text:#f0f3ef;--muted:#a5b3ae;--mint:#bceeb4;--teal:#73c8b7}:where(#stemRoom) *{box-sizing:border-box}:where(#stemRoom)>div{margin:0;background:var(--bg);color:var(--text);font:15px/1.45 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}:where(#stemRoom) button,:where(#stemRoom) input,:where(#stemRoom) select{font:inherit}:where(#stemRoom) button,:where(#stemRoom) select{min-height:44px;border:1px solid var(--line);background:#202b2d;color:var(--text);border-radius:9px;padding:9px 14px;cursor:pointer}:where(#stemRoom) :where(button:hover:not(:disabled)){background:#31433d;border-color:#769d8b}:where(#stemRoom) button:disabled{opacity:.4;cursor:default}:where(#stemRoom) button:focus-visible,:where(#stemRoom) input:focus-visible,:where(#stemRoom) select:focus-visible,:where(#stemRoom) a:focus-visible{outline:3px solid var(--mint);outline-offset:4px}:where(#stemRoom) input{accent-color:var(--mint)}:where(#stemRoom) input[type=range]{width:100%;height:44px;margin:0;cursor:pointer}:where(#stemRoom) button[aria-pressed=true],:where(#stemRoom) .primary{background:var(--mint);border-color:var(--mint);color:#14251c}:where(#stemRoom) .quiet,:where(#stemRoom) .text-btn{background:transparent}:where(#stemRoom) .text-btn{border:0;color:var(--mint);font-size:13px;padding:8px}:where(#stemRoom) .topbar{max-width:1320px;margin:auto;height:84px;display:flex;align-items:center;gap:18px;padding:0 40px;border-bottom:1px solid var(--line)}:where(#stemRoom) .brand{display:flex;align-items:center;color:var(--text);text-decoration:none;letter-spacing:1px;font-weight:700;font-size:17px}:where(#stemRoom) .brand>span:last-child{font-weight:400;color:var(--teal)}:where(#stemRoom) .brandmark{color:var(--mint);font-size:32px;line-height:1;margin-right:10px}:where(#stemRoom) .concept{color:var(--muted);font:10px monospace;letter-spacing:1.2px;margin-left:auto}:where(#stemRoom) .quiet{font-size:12px}:where(#stemRoom) main{max-width:1240px;margin:auto;padding:32px 32px 130px}:where(#stemRoom) .breadcrumb{font:10px monospace;letter-spacing:1.6px;color:var(--muted);margin-bottom:24px}:where(#stemRoom) .breadcrumb span{margin:0 12px;color:#5c776a}:where(#stemRoom) .song-heading{display:flex;align-items:center;gap:20px;margin-bottom:28px}:where(#stemRoom) .cover{position:relative;width:74px;height:74px;flex-shrink:0;overflow:hidden;background:#aec0a1;color:#1c3226;border-radius:12px;padding:10px;font:700 9px monospace;letter-spacing:2px}:where(#stemRoom) .cover i{display:block;width:66px;height:66px;border:1px solid #355849;border-radius:50%;position:absolute;left:33px;top:20px;box-shadow:0 0 0 8px #839a7e,0 0 0 9px #365b4d,0 0 0 17px #8da587}:where(#stemRoom) h1,:where(#stemRoom) div.room-h1{margin:0 0 4px;font-size:32px;line-height:1.2;font-weight:700;letter-spacing:-1px}:where(#stemRoom) .song-copy p{margin:0;color:var(--muted);font-size:13px}:where(#stemRoom) .song-copy p span{margin:0 6px}:where(#stemRoom) .export{margin-left:auto}:where(#stemRoom) .workspace{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:20px;align-items:start}:where(#stemRoom) .panel{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:24px;min-width:0}:where(#stemRoom) .panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}:where(#stemRoom) .eyebrow{font:10px monospace;color:var(--muted);letter-spacing:1.8px}:where(#stemRoom) .save-state{font-size:11px;color:var(--teal)}:where(#stemRoom) .player{grid-column:1;grid-row:1}:where(#stemRoom) .wave{height:128px;position:relative;margin:28px 0 0}:where(#stemRoom) .wave svg{width:100%;height:100%;display:block}:where(#stemRoom) .wave>input{position:absolute;inset:0;opacity:0;height:100%;z-index:3;touch-action:pan-y}:where(#stemRoom) .wave:focus-within{outline:2px solid var(--mint);outline-offset:5px}:where(#stemRoom) .region{position:absolute;top:0;height:100%;background:#bceeb416;border-inline:2px solid var(--mint);pointer-events:none}:where(#stemRoom) .region span{position:absolute;top:-23px;left:-2px;color:var(--mint);font:11px monospace;white-space:nowrap;max-width:160px;overflow:hidden;text-overflow:ellipsis}:where(#stemRoom) .playhead{position:absolute;top:0;bottom:0;width:2px;background:#fff;pointer-events:none}:where(#stemRoom) .time-ruler{display:flex;justify-content:space-between;color:var(--muted);font:10px monospace;margin:10px 0 16px}:where(#stemRoom) .timeline-footer{display:flex;justify-content:space-between;align-items:center;font:13px monospace}:where(#stemRoom) .dim{color:var(--muted)}:where(#stemRoom) .pill{font:12px system-ui;border-radius:24px;min-height:44px}:where(#stemRoom) h2{font-size:19px;letter-spacing:-.4px;margin:0;font-weight:600}:where(#stemRoom) h3{font-size:15px;margin:0}:where(#stemRoom) .pro{font:9px monospace;color:#daca98;background:#daca9810;border:1px solid #daca9835;border-radius:5px;padding:5px 7px;white-space:nowrap}:where(#stemRoom) .practice{grid-column:1;grid-row:2}:where(#stemRoom) .adjustments{display:grid;grid-template-columns:1fr 1fr;gap:16px}:where(#stemRoom) .adjust-card{background:#11191a;border:1px solid var(--line);border-radius:12px;padding:12px 16px}:where(#stemRoom) .control-title{display:flex;align-items:center;justify-content:space-between;font-size:13px}:where(#stemRoom) .control-title .text-btn{font-size:11px}:where(#stemRoom) .number-control{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:8px 0 0}:where(#stemRoom) .number-control button{width:44px;padding:0;font-size:24px;background:transparent}:where(#stemRoom) .number-control output{font-size:38px;font-weight:600;letter-spacing:-2px}:where(#stemRoom) .number-control output span{font-size:16px;font-weight:500;color:var(--muted);letter-spacing:0;margin-left:4px}:where(#stemRoom) .adjust-card p{font-size:11px;color:var(--muted);text-align:center;margin:0 0 4px}:where(#stemRoom) .pitch-note{height:44px;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--teal)}:where(#stemRoom) .section-heading{display:flex;align-items:center;justify-content:space-between;margin:16px 0 8px}:where(#stemRoom) .sections{display:flex;flex-direction:column;gap:8px}:where(#stemRoom) .section-row{display:flex;align-items:center;gap:4px;border:1px solid var(--line);border-radius:10px;background:#11191a;padding:3px}:where(#stemRoom) .section-row.selected{border-color:#739875;background:#bceeb40a}:where(#stemRoom) .section-jump{display:flex;align-items:center;gap:12px;text-align:left;flex:1;min-width:0;border:0;background:transparent;padding:8px 12px}:where(#stemRoom) .section-jump .section-index{font:11px monospace;color:var(--muted)}:where(#stemRoom) .section-jump strong{font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:where(#stemRoom) .section-jump small{margin-left:auto;color:var(--muted);font:11px monospace;white-space:nowrap}:where(#stemRoom) .section-row.selected .section-jump{color:var(--mint)}:where(#stemRoom) .edit-section{border:0;background:transparent;font-size:12px;color:var(--muted)}:where(#stemRoom) .count-row{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);gap:12px;margin-top:24px;padding-top:18px;font-size:13px}:where(#stemRoom) .count-row p{font-size:11px;color:var(--muted);margin:3px 0}:where(#stemRoom) .preview-note{font-size:11px;color:var(--muted);margin:20px 0 0;line-height:1.6}:where(#stemRoom) .mix{grid-column:2;grid-row:1 / span 2}:where(#stemRoom) .instrument-picker{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin:24px 0 12px;gap:12px}:where(#stemRoom) .instrument-picker select{min-width:130px}:where(#stemRoom) .mode-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}:where(#stemRoom) .mode-buttons button{font-size:12px;padding:10px 6px}:where(#stemRoom) .mix-explanation{font-size:12px;color:var(--mint);margin:12px 0 22px;min-height:18px}:where(#stemRoom) .stem{padding:15px 0;border-top:1px solid var(--line)}:where(#stemRoom) .stem-top{display:flex;align-items:center;gap:8px}:where(#stemRoom) .stem-dot{width:8px;height:8px;border-radius:50%;background:var(--stem)}:where(#stemRoom) .stem-name{font-size:13px;font-weight:600;margin-right:auto}:where(#stemRoom) .stem-top button{font-size:11px;min-width:48px;padding:8px;background:transparent}:where(#stemRoom) .stem-top button[aria-pressed=true]{background:var(--mint);color:#14251c}:where(#stemRoom) .stem.muted .stem-name{color:var(--muted)}:where(#stemRoom) .fader{display:flex;align-items:center;gap:12px}:where(#stemRoom) .fader input{accent-color:var(--stem)}:where(#stemRoom) .fader output{font:11px monospace;color:var(--muted);width:36px;text-align:right}:where(#stemRoom) .mix-footnote{color:var(--muted);font-size:11px;margin:20px 0 0}:where(#stemRoom) .local-note{color:var(--muted);font-size:11px;margin-top:24px}:where(#stemRoom) .mobile-tabs{display:none}:where(#stemRoom) .transport{position:fixed;bottom:0;left:0;right:0;background:#1c2728ee;backdrop-filter:blur(18px);border-top:1px solid #45604f;z-index:5;padding:16px 32px calc(16px + env(safe-area-inset-bottom))}:where(#stemRoom) .transport-inner{max-width:1176px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px}:where(#stemRoom) .now-playing{display:flex;align-items:center;gap:12px;flex:1}:where(#stemRoom) .tiny-cover{background:#8ba480;color:#1c3226;display:grid;place-items:center;width:44px;height:44px;border-radius:7px;font-size:26px}:where(#stemRoom) .now-playing strong{display:block;font-size:13px;font-weight:600}:where(#stemRoom) .now-playing span:not(.tiny-cover){display:block;font-size:11px;color:var(--muted);max-width:230px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:where(#stemRoom) .play-controls{display:flex;gap:18px;align-items:center}:where(#stemRoom) .play-controls button{position:relative;border:0;background:transparent;width:48px;height:48px;font-size:28px;padding:0}:where(#stemRoom) .play-controls small{font:9px monospace;position:absolute;left:21px;top:21px}:where(#stemRoom) .play-controls .play{width:60px;height:60px;background:var(--mint);color:#1c3226;font-size:24px;border-radius:50%}:where(#stemRoom) .transport-meta{flex:1;text-align:right}:where(#stemRoom) .transport-meta strong{display:block;font-size:12px;font-weight:500}:where(#stemRoom) .transport-meta span{font:8px monospace;letter-spacing:1px;color:var(--muted)}:where(#stemRoom) .section-editor{margin-top:12px;padding:14px;background:#101819;border:1px solid var(--teal);border-radius:10px}:where(#stemRoom) .section-editor label{font-size:12px;display:block}:where(#stemRoom) .section-editor input{display:block;width:100%;min-height:44px;padding:10px;background:#1c2829;color:var(--text);border:1px solid var(--line);border-radius:6px;margin:6px 0 12px}:where(#stemRoom) .time-inputs{display:grid;grid-template-columns:1fr 1fr;gap:12px}:where(#stemRoom) .button-row{display:flex;gap:8px;flex-wrap:wrap}:where(#stemRoom) .button-row button{font-size:12px}:where(#stemRoom) .form-error{color:#ffbdb3;font-size:12px}:where(#stemRoom) .danger{color:#ffbdb3}:where(#stemRoom) dialog{max-width:480px;width:calc(100% - 32px);background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:18px;padding:24px}:where(#stemRoom) dialog::backdrop{background:#000a}:where(#stemRoom) dialog p{font-size:14px;color:var(--muted)}:where(#stemRoom) dialog .primary{margin-top:24px}:where(#stemRoom) dialog .panel-heading button{width:44px;padding:0}:where(#stemRoom) .export-summary{border:1px solid var(--line);border-radius:10px;padding:16px;color:var(--mint);font-size:14px}
@media(max-width:760px){:where(#stemRoom) .topbar{height:68px;padding:0 20px;gap:8px}:where(#stemRoom) .brand{font-size:14px}:where(#stemRoom) .concept{display:none}:where(#stemRoom) .quiet{margin-left:auto}:where(#stemRoom) main{padding:24px 16px 150px}:where(#stemRoom) .breadcrumb{font-size:9px;letter-spacing:1px;margin-bottom:20px}:where(#stemRoom) .song-heading{gap:12px;flex-wrap:wrap;margin-bottom:20px}:where(#stemRoom) .cover{width:56px;height:56px;border-radius:9px;font-size:7px;padding:8px}:where(#stemRoom) h1,:where(#stemRoom) div.room-h1{font-size:25px}:where(#stemRoom) .song-copy p{font-size:11px}:where(#stemRoom) .export{min-height:44px;width:100%;margin-top:4px;background:transparent;font-size:12px}:where(#stemRoom) .workspace{display:flex;flex-direction:column;gap:16px}:where(#stemRoom) .panel{width:100%;padding:18px;border-radius:13px}:where(#stemRoom) .player{padding-bottom:12px}:where(#stemRoom) .wave{height:84px;margin-top:26px}:where(#stemRoom) .panel-heading{margin-bottom:12px}:where(#stemRoom) .eyebrow{font-size:9px;letter-spacing:1px}:where(#stemRoom) .save-state{font-size:10px}:where(#stemRoom) .time-ruler{font-size:9px;margin-bottom:8px}:where(#stemRoom) .mobile-tabs{display:flex;width:100%;padding:4px;background:#1d292a;border:1px solid var(--line);border-radius:12px;position:sticky;top:8px;z-index:4}:where(#stemRoom) .mobile-tabs button{flex:1;border:0;background:transparent;color:var(--muted)}:where(#stemRoom) .mobile-tabs button[aria-selected=true]{background:#34463f;color:var(--text)}:where(#stemRoom) .mix{display:none}:where(#stemRoom)>div.mix-active .practice{display:none}:where(#stemRoom)>div.mix-active .mix{display:block}:where(#stemRoom) h2{font-size:18px}:where(#stemRoom) .adjustments{gap:10px}:where(#stemRoom) .adjust-card{padding:8px}:where(#stemRoom) .number-control{gap:2px}:where(#stemRoom) .number-control button{width:44px;flex-shrink:0}:where(#stemRoom) .number-control output{font-size:30px;letter-spacing:-1px}:where(#stemRoom) .number-control output span{font-size:12px;margin-left:2px}:where(#stemRoom) .adjust-card p{font-size:10px}:where(#stemRoom) .control-title{padding:0 4px}:where(#stemRoom) .section-jump{gap:8px;padding:8px 6px}:where(#stemRoom) .section-jump small{font-size:10px}:where(#stemRoom) .edit-section{padding:8px}:where(#stemRoom) .count-row p{max-width:170px}:where(#stemRoom) .transport{padding:10px 16px calc(12px + env(safe-area-inset-bottom))}:where(#stemRoom) .transport-inner{gap:12px;flex-wrap:wrap}:where(#stemRoom) .now-playing{flex:1;min-width:0}:where(#stemRoom) .tiny-cover{display:none}:where(#stemRoom) .now-playing strong{font-size:12px}:where(#stemRoom) .now-playing span:not(.tiny-cover){max-width:145px;font-size:10px}:where(#stemRoom) .play-controls{gap:2px}:where(#stemRoom) .play-controls .play{width:54px;height:54px}:where(#stemRoom) .play-controls button{width:44px}:where(#stemRoom) .play-controls small{left:19px}:where(#stemRoom) .transport-meta{flex-basis:100%;display:flex;justify-content:space-between;align-items:center;text-align:left}:where(#stemRoom) .transport-meta strong{font-size:10px}:where(#stemRoom) .transport-meta span{font-size:7px;letter-spacing:.5px}:where(#stemRoom) .section-index{display:none}:where(#stemRoom) .local-note{font-size:10px}}
@media(max-width:360px){:where(#stemRoom) .panel{padding:14px}:where(#stemRoom) .adjustments{grid-template-columns:1fr}:where(#stemRoom) .adjust-card{padding:10px 16px}:where(#stemRoom) .number-control output{font-size:34px}:where(#stemRoom) .song-copy p span{margin:0 3px}:where(#stemRoom) .brand{font-size:12px}:where(#stemRoom) .topbar{padding:0 16px}:where(#stemRoom) .section-jump small{font-size:9px}:where(#stemRoom) .now-playing span:not(.tiny-cover){max-width:120px}:where(#stemRoom) .transport-meta span{font-size:6px}}

/* Keep the first practice controls within easy reach on a phone. */
@media(max-width:760px){:where(#stemRoom) .topbar{height:56px}:where(#stemRoom) main{padding-top:18px}:where(#stemRoom) .breadcrumb{display:none}:where(#stemRoom) .song-heading{flex-wrap:nowrap;gap:10px;margin-bottom:18px}:where(#stemRoom) .cover{width:44px;height:48px}:where(#stemRoom) .song-copy{min-width:0;flex:1}:where(#stemRoom) h1,:where(#stemRoom) div.room-h1{font-size:23px}:where(#stemRoom) .song-copy p{font-size:10px}:where(#stemRoom) .export{width:44px;margin:0;padding:8px;flex-shrink:0}:where(#stemRoom) .export-label{display:none}:where(#stemRoom) .wave{height:72px}:where(#stemRoom) .panel-heading{margin-bottom:10px}}
