/* Live-style geometry; OPUS graphite/amber identity. Real controls only. */
.studio-shell{grid-template-rows:30px 34px minmax(0,1fr) 23px;font-size:11px;background:#35332f}
.studio-shell .topbar{min-height:0;padding:0 8px;gap:12px}.brand{font-size:12px;letter-spacing:0}.logo{font-size:17px}.beta,.project-title>span{display:none}.project-title input{width:220px;font-size:11px}.file-actions button{padding:3px 7px;font-size:10px}.studio-shell .transport{padding:0 8px;gap:9px;min-height:0;flex-wrap:nowrap}.transport-button{width:24px;height:23px;padding:3px!important}.position{font-size:12px;min-width:88px}.tempo input{font-size:12px;width:47px}.studio-shell .transport button{font-size:10px}.studio-shell .viewbar{height:28px;min-height:28px;padding:0 4px;gap:4px}.studio-shell .tabs button{padding:3px 10px;font-size:10px}.studio-shell .view-actions button{padding:3px 6px;font-size:10px}
.studio-shell .browser{width:210px;flex-basis:210px;padding:8px;background:#302e2a;border-right:4px solid #1d1c19}.browser-title{font-size:10px;letter-spacing:0}.browser-caption,.browser-bottom p{display:none}.library-search-label{font-size:9px}.library-search-row{margin-top:8px}.library-results{max-height:none;flex:1;border:0}.studio-shell .library-results button{padding:5px 6px;font-size:11px;gap:2px}.library-results small{font-size:8px}#studio-library{flex:1;min-height:160px;margin-bottom:8px}#library-destination{font-size:8px}.library-group{margin-bottom:10px}.studio-shell .library-group button{padding:4px}.browser-bottom{padding-top:8px!important}.section-label{letter-spacing:.5px}
.studio-stage{display:flex;flex-direction:column;gap:0;padding:0;min-height:100px;background:#262521;overflow:auto}#session-view{display:flex;flex-direction:column;flex:1;min-height:240px}.session-grid{flex:1;overflow:visible;gap:1px;border:0;width:100%;background:#1d1c19;align-content:stretch}.studio-shell .track-header{height:24px;padding:3px 5px;background:color-mix(in srgb,var(--track,#b6aa91) 48%,#39362f);border-top:0;color:#f2eee5;gap:4px}.track-header input{background:transparent!important;border:0!important;padding:0;font-size:10px!important;font-weight:600;min-width:0}.track-header>span{font-size:9px}.studio-shell .scene-header{background:#706044;font-size:10px}.studio-shell .slot{height:23px;padding:0;background:#37352f}.studio-shell .slot.selected{box-shadow:inset 0 0 0 1px #ffce7b;background:#55462e}.studio-shell .clip{height:100%;background:color-mix(in srgb,var(--track) 34%,#3a3832);border:0;border-radius:0}.studio-shell .clip-select{padding:2px 3px;min-width:0;gap:0}.clip-select span{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.clip-select small{display:none}.studio-shell .launch{width:18px;padding:2px;font-size:9px;border-right:1px solid #2c2a25}.empty-slot-controls{height:100%;display:flex!important;align-items:center}.empty-slot-controls>[data-slot-stop]{width:18px;padding:0!important;font-size:8px;border:0;background:transparent}.studio-shell .empty-slot{padding:0;flex:1;font-size:12px;opacity:0}.slot:hover .empty-slot,.empty-slot:focus-visible{opacity:1}.slot-stop-setting{width:15px!important;padding:0!important;font-size:0!important;border:0!important;background:transparent!important}.slot-stop-setting:after{content:'';display:inline-block;width:12px;height:4px;background:radial-gradient(circle at 2px 2px,currentColor 1px,transparent 1.2px),radial-gradient(circle at 6px 2px,currentColor 1px,transparent 1.2px),radial-gradient(circle at 10px 2px,currentColor 1px,transparent 1.2px);font-size:11px;color:#a69c8b}.scene-cell{grid-template-columns:minmax(0,1fr) 18px}.studio-shell .scene{padding:0 4px;font-size:10px;background:#484237;gap:4px}.scene .number{font-size:8px}.scene-play{font-size:9px}.scene-settings{font-size:10px!important;padding:0!important}.studio-shell .track-stop{height:24px;padding:3px;font-size:9px;white-space:nowrap}.session-space,.mixer-space{background:#292823}.track-well{background:#34322d;border-top:1px solid #403c34}.main-well{background:#3c372e}.drop-space{display:flex;align-items:center;justify-content:center;color:#716b5f;font-size:10px;text-align:center;padding:8px}.session-hint{display:none}.studio-mixer{flex:none}.studio-mixer>.mixer-heading{display:none}.mixer{gap:1px;overflow:visible;border:0;border-top:3px solid #1b1a17;width:100%;align-items:stretch}
.studio-shell #mixer>.channel{position:relative;min-height:272px;padding:6px 5px 174px;background:#413e37;border-bottom:3px solid var(--track);border-radius:0}.studio-shell .channel-name{height:18px;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0;margin:0 0 5px;border:0}.channel-name i{display:none}.studio-shell .channel label{font-size:8px;margin:0 0 5px;color:#d1c7b7}.channel select{margin:2px 0 0!important;padding:2px!important;font-size:9px!important;height:20px}.channel label:has([data-volume]),.channel label:has(#master){position:absolute;right:16px;bottom:28px;width:28px;height:135px;font-size:0}.channel [data-volume-label],#master-label{font-size:9px;display:block;float:none;text-align:center;margin-bottom:4px}.studio-shell .channel input[data-volume],.studio-shell #master{writing-mode:vertical-lr;direction:rtl;appearance:none;width:22px;height:112px;display:block;margin:0 auto;background:transparent;cursor:ns-resize}.channel input[data-volume]::-webkit-slider-runnable-track,#master::-webkit-slider-runnable-track{background:#23221e;border:1px solid #77705e;width:4px;border-radius:0}.channel input[data-volume]::-webkit-slider-thumb,#master::-webkit-slider-thumb{appearance:none;width:17px;height:7px;background:#e5d3b1;border:1px solid #211e18;border-radius:1px;box-shadow:0 1px 0 #0008;margin-left:-7px}.channel input[data-volume]::-moz-range-track,#master::-moz-range-track{background:#23221e;width:4px}.channel input[data-volume]::-moz-range-thumb,#master::-moz-range-thumb{width:17px;height:7px;background:#e5d3b1;border-radius:1px}.channel label:has([data-pan]){position:absolute;left:6px;bottom:57px;width:45px}.channel [data-pan]{width:43px;accent-color:#bdb09a}.channel [data-pan-label]{float:none;display:block;text-align:center}.channel .toggles{position:absolute;left:6px;bottom:15px;display:flex;gap:3px;margin:0}.studio-shell .channel .toggles button{padding:2px;width:23px;height:20px;font-size:10px;border-radius:0}.channel .meter{position:absolute;right:7px;bottom:28px;height:113px;width:6px;margin:0;background:repeating-linear-gradient(to top,#191a16 0 8px,#555044 8px 9px);overflow:hidden}.channel .meter i{position:absolute;bottom:0;left:0;width:100%!important;height:0;background:#bea358;transition:height .06s linear}.channel .send-control{padding:3px 0}.channel .send-control label{font-size:8px}.channel .pre-send{font-size:8px;gap:3px}.channel .pre-send input{margin:0}.master-channel>label:has(#crossfader){position:absolute;left:5px;bottom:47px;width:48px}.master-channel #crossfader{width:48px}.master-channel>p{display:none}.detail-content{padding:7px}.detail-tabs{min-height:27px;padding:2px 5px}.studio-shell .detail-tabs button{font-size:10px;padding:4px 10px}.detail-divider{height:5px;flex-basis:5px}.editor-heading,.device-rack-heading{margin-bottom:5px}.editor-heading h2,.device-rack-heading h2{font-size:11px}.clip-editor{gap:10px;grid-template-columns:minmax(0,1fr) 270px}.device-card{min-width:210px;flex-basis:230px;border-radius:0}.waveform{border-radius:0}.studio-shell footer{font-size:9px;padding:0 7px}.timeline{border-radius:0}.studio-shell .timeline-row{height:62px}.studio-shell .timeline-ruler{height:25px}.studio-shell .region{border-radius:0}
@media(max-width:720px){.studio-shell{grid-template-rows:auto auto minmax(0,1fr) 23px}.studio-shell .topbar{padding:6px;min-height:61px;gap:6px}.project-title input{width:150px}.file-actions{gap:3px}.file-actions button{padding:3px;font-size:9px}.studio-shell .transport{gap:5px;padding:5px;min-height:58px;flex-wrap:wrap}.studio-shell .viewbar{height:auto;min-height:51px;flex-wrap:wrap}.studio-shell .browser{top:120px;width:230px}.clip-editor{grid-template-columns:1fr}.detail-context{display:none}.studio-shell #mixer>.channel{min-height:266px}.detail-tabs{overflow:auto}#session-view{min-height:220px}.drop-space{font-size:9px}}

/* Shared channel geometry keeps Session and mixer aligned as tracks change. */
.session-grid,.mixer{grid-template-columns:repeat(var(--channel-count),112px) minmax(40px,1fr) 112px;min-width:calc(var(--channel-count)*113px + 154px)}
.session-grid{grid-template-rows:24px repeat(var(--scene-count),23px) minmax(54px,1fr) 24px}
@media(max-width:720px){
 /* Mobile scrolls through working channels, without desktop drop gutters or wells. */
 .studio-stage{overscroll-behavior:none}
 .studio-shell:not(.arrangement-active) .studio-stage{flex:0 1 auto;min-height:100px}
 .studio-shell:not(.arrangement-active) .detail-panel:not(.collapsed){flex-grow:1;max-height:none}
 .studio-shell #session-view{flex:none;min-height:0}
 .session-grid,.mixer{grid-template-columns:repeat(var(--channel-count),112px) 112px;width:max-content;min-width:0}
 .session-grid{flex:none;grid-template-rows:24px repeat(var(--scene-count),23px) 24px}
 .session-grid>.session-space,.session-grid>.track-well,.mixer>.mixer-space{display:none}
}
