
html,body{overflow-x:clip}.daw-page{height:100dvh;display:flex;flex-direction:column;overflow-y:hidden}.daw-page .masthead .top{display:none}.daw-page .masthead .wrap{max-width:none;padding:0 14px}.daw-page .masthead nav{padding:7px 0;gap:18px;justify-content:flex-start}.daw-page .masthead nav a{white-space:nowrap;font-size:10px}.daw-page .masthead .studio-link{margin-left:0;order:-1}.daw-shell{max-width:none;width:100%;padding:0 12px;flex:1;min-height:0;display:grid;grid-template-rows:34px minmax(38px,auto) 45px 84px 154px minmax(180px,1fr) 26px;gap:3px}.daw-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.daw-top h1{font:17px var(--font-body);margin:0;white-space:nowrap}.daw-top small{font:9px var(--font-mono);color:var(--muted);margin-left:12px}.device-quick{display:flex;gap:6px;align-items:center}.device-quick label{font:9px var(--font-mono);display:flex;align-items:center;gap:8px}.device-quick select{width:180px}.daw-shell button{min-height:27px;padding:4px 8px;font:10px var(--font-mono);white-space:nowrap}.daw-shell select,.daw-shell input[type=number]{height:27px;min-height:27px;padding:3px 5px;font:10px var(--font-mono)}.daw-shell .session-toolbar{padding:4px 0;gap:6px;margin:0;border-top:0}.daw-shell .session-toolbar label,.daw-shell .control-grid label,.daw-shell .step-values label{font-size:10px;gap:3px}.daw-shell [aria-label="Session transport"]{align-items:center;border-block:1px solid var(--rule)}.daw-shell .transport-time{font-size:20px;min-width:95px}.global-band{display:flex;align-items:end;gap:10px}.global-band #global-controls{flex:1;display:flex;gap:12px;flex-wrap:nowrap}.global-band label{flex:1;max-width:130px!important}.global-band input[type=number]{width:60px}.global-band .inline-check{font-size:10px;white-space:nowrap}.global-band input[type=range]{max-width:95px}.global-band #global-controls label:last-child{display:none}.mini-tape{border-block:1px solid var(--rule);position:relative;min-height:0}.tape-ruler{height:14px;padding-left:24px;display:flex;justify-content:space-between;font:8px var(--font-mono);color:var(--muted)}.mini-tape-row{height:8px;position:relative;display:flex;border-top:1px solid var(--rule);gap:3px}.mini-tape-row>button{font:7px var(--font-mono);width:21px;padding:0;min-height:0;border:0}.mini-tape-row .tape-strip{height:7px;flex:1;cursor:crosshair}.mini-tape-row .tape-strip .tape-label{display:none}.mini-tape-row.record-active .tape-strip{box-shadow:inset 0 0 5px var(--accent)}.mini-tape-row.record-active .recorded>i{background:var(--accent)}.mini-tape-row.armed>button{color:var(--accent)}.mini-tape-row .playhead{border-left-width:1px}.channel-strips{display:grid;grid-template-columns:repeat(8,minmax(0,1fr)) minmax(0,.8fr);gap:4px;min-width:0}.channel-strip{position:relative;display:grid;grid-template-rows:22px 26px 26px 23px 30px 5px;gap:3px;padding:4px;background:var(--paper2);border:1px solid var(--rule);min-width:0}.channel-strip.active{border-color:var(--ink)}.channel-strip.armed{border-top:2px solid var(--accent)}.channel-strip.record-active{box-shadow:inset 0 0 8px var(--accent)}.channel-strip .strip-title{border:0;background:none;text-align:left;padding:0 3px;font-size:10px;min-height:22px}.channel-strip .strip-title[aria-selected=true]{background:var(--dark);color:var(--light)}.channel-strip select{width:100%;padding:2px}.strip-buttons{display:flex;gap:3px;min-width:0}.strip-buttons button{flex:1;min-width:0;padding:2px;font-size:9px;min-height:23px}.strip-level{display:flex;align-items:center;gap:3px;font:8px var(--font-mono);min-width:0}.strip-level label{min-width:0;flex:1}.strip-level label span{display:flex;justify-content:space-between}.strip-level input{width:100%;height:14px}.strip-level .pan{width:30%}.channel-strip .track-meter{grid-column:auto;grid-row:auto;height:3px}.strip-seq{display:grid;grid-template-columns:repeat(16,minmax(0,1fr));gap:1px;height:23px}.strip-seq button{padding:0;min-width:0;min-height:0;border:0;background:var(--rule)}.strip-seq button.on{background:var(--teal)}.strip-seq button.playing{background:var(--accent)}.strip-seq button:nth-child(4n+1){border-left:1px solid var(--ink)}.strip-source{display:flex;gap:3px;min-width:0}.strip-source select{min-width:0}.strip-source .input-select{width:48%}.editor{display:flex;flex-direction:column;min-height:0;border-top:1px solid var(--ink)}.editor-head{display:flex;align-items:center;gap:12px;padding:5px 0;min-height:35px}.editor-head h2{font:13px var(--font-mono);margin:0;min-width:135px}.editor-tabs{display:flex;gap:3px;flex-wrap:wrap}.editor-tabs button{border:0;background:none}.editor-tabs button[aria-pressed=true]{background:var(--dark);color:var(--light)}.editor-body{flex:1;min-height:0;overflow-y:auto;overflow-x:clip;scrollbar-gutter:stable}.editor-body [data-editor]{min-height:100%;padding:5px 2px}.daw-shell .control-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px 16px;margin:8px 0;align-content:start}.daw-shell .play-surface{height:clamp(90px,16vh,180px)}.daw-shell .note-keys{margin:4px 0;gap:3px}.daw-shell .note-keys button{padding:3px}.daw-shell .note-keys button small{display:inline;margin-left:10px;font-size:8px}.daw-shell .performance-help{margin:3px 0;font-size:10px}.daw-shell .pitch-roll{height:clamp(90px,15vh,180px);margin:0 0 5px}.daw-shell .beat-ruler{margin:0}.daw-shell .beat-ruler span{padding:2px}.daw-shell .step-buttons{gap:3px}.daw-shell .step-buttons button{min-height:23px;padding:2px}.daw-shell .step-values{margin:6px 0;gap:8px;grid-template-columns:repeat(8,minmax(0,1fr))}.daw-shell .pattern-bank button{min-width:25px}.daw-shell .drum-grid{margin:4px 0;gap:3px}.daw-shell .drum-lane{gap:3px;grid-template-columns:50px repeat(16,minmax(0,1fr))}.daw-shell .drum-lane button{min-height:21px;padding:1px}.daw-shell .drum-lane button.playing{outline:1px solid var(--accent)}.daw-shell .session-toolbar h3{font:11px var(--font-mono);margin:0 8px 0 0}.daw-status{border-top:1px solid var(--rule);display:flex;align-items:center;gap:10px;font:9px var(--font-mono);min-width:0;overflow:hidden;white-space:nowrap}.daw-status #status{flex:1;overflow:hidden;text-overflow:ellipsis}.daw-status #clock-detail,.daw-status #cache-status{display:none}.daw-status #disk-status{max-width:210px;overflow:hidden;text-overflow:ellipsis}.daw-shell .session-status{font-size:10px;margin:3px 0;min-height:12px}.daw-drawer{position:fixed;right:0;top:0;bottom:0;width:min(480px,95vw);overflow:auto;background:var(--paper);border-left:2px solid var(--ink);padding:18px;z-index:30;box-shadow:-10px 0 30px color-mix(in srgb,var(--dark) 20%,transparent);animation:drawer-in 150ms ease-out}.daw-drawer header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.daw-drawer h2{font-size:22px;margin:0}.daw-drawer .session-toolbar{gap:10px;flex-wrap:wrap}.daw-drawer .control-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.daw-drawer label{font:11px var(--font-mono);display:grid;gap:4px}.daw-drawer .subtle{line-height:1.5}.daw-shell #drawer-backdrop{position:fixed;inset:0;background:color-mix(in srgb,var(--dark) 15%,transparent);z-index:29}.loop-visual{height:28px;position:relative;background:var(--paper2);margin-top:10px;overflow:hidden}.loop-visual i{position:absolute;inset:0 auto 0 0;background:var(--signal);width:0}.loop-visual span{position:relative;padding:7px;display:block;font:10px var(--font-mono)}.drum-slot{border:1px solid var(--rule);padding:8px;display:grid;gap:8px}.drum-slot h4{margin:0;font-size:11px}.drum-slot .control-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.note-tabs{display:flex;gap:3px;align-items:center}.note-tabs button[aria-pressed=true]{background:var(--dark);color:var(--light)}.daw-shell #drum-samples{grid-template-columns:repeat(4,minmax(0,1fr))}.daw-shell #voice-tools .subtle{display:none}.daw-shell #voice-tools .session-toolbar{gap:6px}.daw-shell .sound-pages{display:flex;gap:4px}.daw-shell .sound-pages button{font-size:10px}.daw-shell #sound-types:empty{display:none}.daw-shell #track-scale label{max-width:140px}.daw-shell .inline-check{font-size:10px}.daw-shell .mappable:hover{border-color:var(--ink)}.daw-shell button:disabled{opacity:.4;cursor:not-allowed}.daw-shell button:active{transform:translateY(1px)}.daw-shell [data-busy="1"]{opacity:.55;cursor:progress}@keyframes drawer-in{from{transform:translateX(20px);opacity:0}to{transform:translateX(0);opacity:1}}
@media(max-width:1050px){.daw-top small{display:none}.daw-page .masthead nav{gap:10px}.daw-shell{grid-template-rows:34px minmax(38px,auto) 45px 84px 154px minmax(180px,1fr) 26px}.editor-head{align-items:start;gap:8px}.editor-head h2{min-width:100px;font-size:11px}.editor-tabs{gap:1px}.editor-tabs button{font-size:9px;padding:4px}.daw-shell .control-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.strip-buttons button{font-size:8px}.channel-strip{padding:3px}.channel-strip .strip-title{font-size:9px}.daw-status #disk-status{display:none}}
@media(max-width:767px){.daw-page{height:auto;min-height:100dvh;overflow-y:auto}.daw-page .masthead nav{flex-wrap:wrap;gap:6px 12px}.daw-shell{display:flex;flex-direction:column;padding:0 8px;gap:5px}.daw-top{flex-wrap:wrap;min-height:35px}.device-quick{flex-wrap:wrap}.device-quick label{font-size:9px}.device-quick select{width:130px}.daw-top h1{font-size:15px}.daw-shell [aria-label="Session transport"]{flex-wrap:wrap;position:sticky;top:0;z-index:10;background:var(--paper)}.global-band{flex-wrap:wrap}.global-band #global-controls{flex-wrap:wrap;gap:8px}.global-band label{flex-basis:75px}.mini-tape{height:84px;flex:none}.channel-strips{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.channel-strip{min-height:148px}.channel-strip.master-strip{grid-column:1/-1;grid-template-columns:70px 100px minmax(0,1fr);grid-template-rows:30px;min-height:38px;align-items:center}.master-strip .strip-level{grid-column:3}.master-strip .track-meter{display:none}.editor{min-height:420px}.editor-head{flex-direction:column;gap:5px}.editor-tabs{gap:3px}.editor-tabs button{font-size:10px;padding:5px}.editor-body{overflow:visible}.daw-shell .control-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.daw-shell #drum-samples{grid-template-columns:repeat(2,minmax(0,1fr))}.daw-shell .step-values{grid-template-columns:repeat(2,minmax(0,1fr))}.daw-shell .step-buttons{grid-template-columns:repeat(16,minmax(0,1fr))}.daw-shell .step-buttons button{font-size:8px}.daw-shell .drum-lane{grid-template-columns:40px repeat(16,minmax(0,1fr));gap:1px}.daw-shell .drum-lane>span{grid-column:auto}.daw-shell .drum-lane button{font-size:7px}.daw-status{white-space:normal;min-height:30px}.daw-status #deck-state{display:none}.daw-shell .note-keys button small{display:none}.daw-shell .session-toolbar .transport-time{font-size:16px}.daw-shell .play-surface{height:160px}}
@media(prefers-reduced-motion:reduce){.daw-shell *{animation:none!important;transition:none!important}}
.play-options{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.play-options .session-toolbar{border:0}.daw-shell .play-options label{max-width:130px}.daw-shell .play-options input{max-width:130px}.daw-shell .play-surface{height:clamp(75px,14vh,160px)}.strip-sequence-level{min-width:0;display:grid;grid-template-rows:12px 14px;gap:2px}.strip-sequence-level>input{width:100%;height:12px}.strip-sequence-level .strip-seq{height:14px}.daw-shell #global-controls:has(select[data-bind=mode] option[value=custom]:checked) label:last-child{display:grid}.daw-shell .session-toolbar #save,.daw-shell .session-toolbar #open{font-size:12px}
/* Phrase controls and note editing share the top; the roll gets the full width. */
.daw-shell [data-editor=sequence]>section{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:0}
.daw-shell [data-editor=sequence] .session-toolbar{grid-column:1}
.daw-shell [data-editor=sequence] .session-toolbar:nth-child(1){grid-row:1}
.daw-shell [data-editor=sequence] .session-toolbar:nth-child(2){grid-row:2}
.daw-shell [data-editor=sequence] .session-toolbar:nth-child(3){grid-row:3}
.daw-shell [data-editor=sequence] #step-values{grid-column:1;grid-row:4;grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;align-self:start;gap:8px 16px;margin:8px 0 12px;padding:8px 0;border-block:1px solid var(--rule)}
.daw-shell [data-editor=sequence] #step-values label{font-size:10px;min-width:0}
.daw-shell [data-editor=sequence] #step-values .note-tabs{grid-column:1/-1;flex-wrap:wrap;gap:5px}
.daw-shell [data-editor=sequence] .beat-ruler,.daw-shell [data-editor=sequence] .pitch-roll,.daw-shell [data-editor=sequence] .step-buttons,.daw-shell [data-editor=sequence] .drum-grid{grid-column:1/-1}
@media(min-width:1100px){
 .daw-shell [data-editor=sequence]{height:100%;min-height:0}
 .daw-shell [data-editor=sequence]>section{height:100%;min-height:0;grid-template-columns:minmax(480px,.85fr) minmax(520px,1.15fr);grid-template-rows:auto auto auto auto auto minmax(70px,1fr) auto;column-gap:24px}
 .daw-shell [data-editor=sequence] .drum-grid{grid-row:4}
 .daw-shell [data-editor=sequence] .beat-ruler{grid-row:5}
 .daw-shell [data-editor=sequence] .pitch-roll{grid-row:6;height:100%;min-height:70px}
 .daw-shell [data-editor=sequence] .step-buttons{grid-row:7;padding-top:5px}
 .daw-shell [data-editor=sequence] #step-values .note-tabs{grid-column:1/3;grid-row:1;flex-wrap:nowrap}
 .daw-shell [data-editor=sequence] #step-values>label:nth-child(2){grid-column:3;grid-row:1;align-self:center}
 .daw-shell [data-editor=sequence] #step-values>label:nth-child(3){grid-row:2;grid-column:1}
 .daw-shell [data-editor=sequence] #step-values>label:nth-child(4){grid-row:2;grid-column:2}
 .daw-shell [data-editor=sequence] #step-values>label:nth-child(5){grid-row:2;grid-column:3}
 .daw-shell [data-editor=sequence] #step-values>label:nth-child(6){grid-row:2;grid-column:4}
 .daw-shell [data-editor=sequence] #step-values>label:nth-child(7){grid-row:3;grid-column:1}
 .daw-shell [data-editor=sequence] #step-values>label:nth-child(8){grid-row:3;grid-column:2}
 .daw-shell [data-editor=sequence] #step-values>label:nth-child(9){grid-row:3;grid-column:3}
 .daw-shell [data-editor=sequence] #step-values>label:has(input[data-bind$=".enabled"]){grid-column:4;grid-row:1;align-self:center}
 .daw-shell [data-editor=sequence] #step-values{grid-column:2;grid-row:1/4;margin:0 0 10px;padding:2px 0 6px 20px;border-block:0;border-left:1px solid var(--rule)}
}
@media(max-width:599px){.daw-shell [data-editor=sequence] #step-values{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* The tape is a position overview; the selected editor gets the working space. */
@media(min-width:768px){.daw-shell{grid-template-rows:34px minmax(38px,auto) 40px 64px 140px minmax(180px,1fr) 26px}.mini-tape-row{height:6px}.mini-tape-row .tape-strip{height:5px}.channel-strip{grid-template-rows:20px 23px 23px 22px 25px 3px;gap:3px;padding:3px}.channel-strip select{height:23px;min-height:23px}.channel-strip .strip-title{min-height:20px}.channel-strip button{min-height:22px}.daw-shell .step-values{margin:0;gap:5px 8px}.daw-shell .step-values label{font-size:9px}.daw-shell .step-values input[type=range]{height:16px}.daw-shell .step-values select{height:23px;min-height:23px}.daw-shell [data-editor=sequence] .session-toolbar{padding:2px 0}}
@media(min-width:1000px){.daw-shell #sample-trim{grid-template-columns:repeat(8,minmax(0,1fr));gap:10px}.daw-shell #voice-tools .session-status{display:inline-block;max-width:none;margin-right:14px;font-size:9px}.daw-shell .loop-visual{margin-top:4px;height:24px}.daw-shell .loop-visual span{padding:4px}}
.mini-tape-row .recorded>.automation-region{background:var(--accent);opacity:.45;top:0;height:2px}
@media(max-width:767px){.daw-shell #global-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:8px}.global-band label{max-width:none!important;min-width:0}.global-band select,.global-band input[type=number],.global-band input[type=range]{width:100%;max-width:100%}.global-band #global-controls .inline-check{white-space:normal}.channel-strips{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:4px;max-width:100%}.channel-strip,.channel-strip.master-strip{flex:0 0 145px;scroll-snap-align:start;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:20px 23px 23px 22px 25px 3px;min-height:140px;align-items:stretch}.channel-strip.master-strip .strip-level{grid-column:auto}.channel-strip.master-strip .track-meter{display:block}.daw-shell [aria-label="Session transport"]{gap:4px}.daw-shell [aria-label="Session transport"] button{font-size:9px;padding:4px 6px}.play-options{gap:5px}.daw-shell .play-options label{max-width:110px}.daw-shell .play-options input{max-width:110px}.daw-shell .daw-drawer{padding:12px}}
/* Session controls have their own breathing room below transport. */
@media(min-width:1100px){.daw-shell{grid-template-rows:34px minmax(38px,auto) 64px 60px 140px minmax(150px,1fr) 26px}.global-band{align-items:center;gap:16px}.global-band #global-controls{display:grid;grid-template-columns:65px minmax(90px,1fr) 145px 85px 130px 100px 105px minmax(90px,1fr);gap:14px;align-items:end;padding:7px 0}.global-band label{max-width:none!important;min-width:0}.global-band label>select,.global-band input[type=range]{width:100%;max-width:none}.global-band .inline-check{align-self:center}.global-band #global-controls:has(select[data-bind=mode] option[value=custom]:checked){grid-template-columns:60px 90px 115px 65px 100px 85px 90px 85px 100px}}
@media(min-width:768px) and (max-width:1099px){.daw-shell{grid-template-rows:34px minmax(38px,auto) 106px 60px 140px minmax(120px,1fr) 26px}.global-band #global-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 12px}.global-band #global-controls label{max-width:none!important}.global-band{align-items:center}.global-band #global-controls select{width:100%}.global-band .inline-check{align-self:center}}
.help-screen{inset:45px 24px 24px;width:auto;max-width:1150px;margin:auto;border:1px solid var(--ink);padding:22px;overflow:auto}.help-screen header{margin-bottom:10px}.help-screen h2{font:30px var(--font-display);letter-spacing:-.02em}.help-screen h3{font:18px var(--font-display);letter-spacing:0;margin:0 0 8px}.help-screen p,.help-screen li{font:14px/1.55 var(--font-body);max-width:none}.help-screen .help-intro{max-width:85ch;margin:8px 0 16px}.help-tabs{display:flex;gap:5px;flex-wrap:wrap;border-bottom:1px solid var(--rule);padding-bottom:12px;margin-bottom:20px}.help-tabs button{font-size:11px;padding:8px 12px;min-height:34px}.help-screen [data-help-content=map]{display:grid;grid-template-columns:minmax(300px,1fr) minmax(300px,1.2fr);gap:28px}.screen-map{display:flex;flex-direction:column;gap:8px;position:sticky;top:0;align-self:start}.screen-map button{display:flex;gap:12px;text-align:left;align-items:center;white-space:normal;min-height:64px;padding:12px;background:var(--paper2)}.screen-map button:hover{background:var(--signal)}.screen-map b{font:20px var(--font-display);color:var(--accent)}.screen-map span{font:11px var(--font-mono);flex:1}.screen-map small{display:block;font:11px/1.5 var(--font-body);margin-top:5px}.screen-map .map-mixer{display:grid;grid-template-columns:3fr 1fr;gap:8px}.screen-map .map-mixer button{flex-wrap:wrap;min-height:125px}.screen-map i{display:block;width:100%;font:25px var(--font-mono);letter-spacing:4px;color:var(--muted)}.screen-map>button:last-child{min-height:130px;background:var(--dark);color:var(--light)}.screen-map>button:last-child:hover{background:var(--dark2)}.map-notes p{margin:0 0 14px}.help-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 28px}.help-cards article{border-top:1px solid var(--rule);padding-top:12px}.help-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 35px;padding-left:25px}.help-steps li{padding-left:6px}.help-steps li::marker{color:var(--accent);font:22px var(--font-display)}
@media(max-width:767px){.help-screen{inset:10px;width:auto;max-width:none;margin:0;padding:15px}.help-screen [data-help-content=map],.help-cards,.help-steps{grid-template-columns:minmax(0,1fr)}.screen-map{position:static}.help-screen h2{font-size:25px}.help-screen p{font-size:14px}.help-tabs button{font-size:10px}.device-quick{gap:4px}.device-quick button{font-size:9px;padding:4px 6px}}
.daw-top h1{font-size:19px}.studio-descriptor{font:10px var(--font-mono);margin-left:10px;color:var(--muted)}.daw-top small{font:11px var(--font-body);letter-spacing:.02em}.daw-shell .help-screen header .eyebrow{font-size:10px}.daw-shell .help-screen button[data-close-drawer]{font-size:24px;min-width:36px;min-height:36px}
@media(max-width:767px){.daw-top h1{font-size:19px}.studio-descriptor{font-size:10px;margin-left:8px}}
@media(min-width:768px){.daw-shell .pitch-roll{height:clamp(90px,calc(100dvh - 630px),360px)}.daw-shell .play-surface{height:clamp(90px,calc(100dvh - 580px),450px)}}

/* Keep the playable surface alongside sound design, including while scrolling deep controls. */
.daw-shell [data-editor=sound].sound-layout{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);gap:20px;align-items:start}
.sound-performance{position:sticky;top:0;min-width:0}.sound-settings{min-width:0;padding-left:18px;border-left:1px solid var(--rule)}
.daw-shell .sound-performance .play-surface{height:clamp(100px,calc(100dvh - 650px),300px)}
.daw-shell .sound-settings .control-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.daw-shell .sound-settings #drum-samples{grid-template-columns:repeat(2,minmax(0,1fr))}.daw-shell .sound-settings .drum-slot .control-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.local-playing-options{margin-top:10px;border-top:1px solid var(--rule);padding-top:8px}.local-playing-options summary{font:10px var(--font-mono);cursor:pointer}.local-playing-options .play-options{margin-top:8px;gap:8px}
.daw-shell .note-keys button.playing-note{background:var(--signal);color:var(--dark);border-color:var(--ink)}
.daw-shell [data-editor=motion].motion-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.motion-group h3{font:12px var(--font-mono);margin:4px 0 14px}.daw-shell .motion-group .control-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-help{position:absolute;right:7px;bottom:3px;margin:0;pointer-events:none;font:9px var(--font-mono);color:var(--light);opacity:.65}.pitch-roll{position:relative}#sequence-canvas{touch-action:none}
@media(max-width:1099px){.daw-shell .sound-settings .control-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.daw-shell .motion-group .control-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.daw-shell [data-editor=sound].sound-layout,.daw-shell [data-editor=motion].motion-layout{grid-template-columns:minmax(0,1fr)}.sound-performance{position:static}.sound-settings{padding-left:0;border-left:0;border-top:1px solid var(--rule);padding-top:12px}.daw-shell .sound-performance .play-surface{height:140px}.grid-help{display:none}}

/* Recording method and MIDI destination stay beside the transport. */
.daw-shell .transport-bar{flex-wrap:wrap;gap:6px;align-items:center}
.daw-shell .transport-bar label{display:flex;align-items:center;gap:6px;white-space:nowrap;font:10px var(--font-mono);max-width:none}
.daw-shell .transport-bar select{height:27px;min-height:27px;padding:3px 6px;font-size:10px;max-width:190px}
.daw-shell .transport-midi{margin-left:auto}
@media(max-width:767px){.daw-shell .transport-bar{padding:5px 0}.daw-shell .transport-bar .transport-midi{flex-basis:100%;margin-left:0;justify-content:flex-end}.daw-shell .transport-bar .transport-record{font-size:9px}.daw-shell .transport-bar select{max-width:165px}}

.transport-clock{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}

#share-drawer p{line-height:1.6}#share-drawer audio{width:100%;margin:14px 0}#studio-share-form{display:grid;gap:14px;margin:18px 0}#studio-share-form input:not([type=checkbox]),#studio-share-form textarea{width:100%;min-width:0}#share-drawer .share-check{display:flex;align-items:start;gap:8px;line-height:1.5}#share-status{font:11px/1.6 var(--font-mono)}

#share-login{display:grid;gap:10px;margin:14px 0}#share-login input{width:100%}#share-login[hidden]{display:none}
