/* V0.6 Sound Mixer & Publishing — scoped shared studio styling */
.sp6-shell {display:flex;flex-direction:column;gap:15px;min-width:0}
.sp6-shell .sp6-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:3px}
.sp6-shell .sp6-header-title h1{font-size:clamp(24px,2.4vw,32px);letter-spacing:-.7px;margin:5px 0}
.sp6-shell .sp6-header-title p{color:var(--muted);font-size:13px}
.sp6-shell .sp6-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.sp6-shell .sp6-notice{margin:0}
.sp6-shell .sp6-panel-head{padding:14px 15px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px}
.sp6-shell .sp6-panel-head h3{margin:0;color:#e5e9f1;letter-spacing:-.15px;font-size:15px}
.sp6-shell .sp6-panel-head small{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.sp6-shell .sp6-panel,.sp6-shell .sp6-console{overflow:hidden}
.sp6-shell .sp6-panel{margin-bottom:13px}
.sp6-shell .sp6-body{padding:14px;display:grid;gap:12px}
.sp6-shell .sp6-mix-overview{display:grid;grid-template-columns: minmax(160px,1fr) minmax(150px,1.3fr) repeat(2,minmax(70px,.4fr));gap:15px;align-items:center;padding:14px}
.sp6-shell .sp6-shot-title{display:flex;align-items:center;gap:11px;min-width:0}
.sp6-shell .sp6-shot-title img{width:64px;height:53px;object-fit:cover;border-radius:8px;border:1px solid var(--line);flex-shrink:0}
.sp6-shell .sp6-shot-title b{display:block;font-size:14px;line-height:1.2;margin:5px 0 3px;overflow-wrap:anywhere}
.sp6-shell .sp6-shot-title small{display:block;color:var(--muted);font-size:11px}
.sp6-shell .sp6-mix-stat{padding-left:12px;border-left:1px solid var(--line)}
.sp6-shell .sp6-mix-stat b{display:block;font-size:21px;line-height:1;color:#f1d0a6}
.sp6-shell .sp6-mix-stat span{display:block;color:var(--muted);font-size:10px;margin-top:7px}
.sp6-shell .sp6-mix-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,265px);gap:14px;align-items:start}
.sp6-shell .sp6-channels{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(82px,.83fr);padding:12px;gap:8px}
.sp6-shell .sp6-channel{min-width:0;background:#131721;border:1px solid #343946;border-top:3px solid var(--track,#f9ba6d);border-radius:11px;padding:12px 9px;display:flex;flex-direction:column;gap:11px}
.sp6-shell .sp6-channel-top{display:flex;align-items:center;gap:7px;min-height:44px}
.sp6-shell .sp6-channel-top b{font-size:11px;line-height:1.18}
.sp6-shell .sp6-channel-icon{background:color-mix(in srgb,var(--track,#f9ba6d) 15%,#20242d);color:var(--track,#f9ba6d);width:30px;height:30px;border-radius:7px;display:grid;place-items:center;flex-shrink:0;font-size:16px;font-weight:750}
.sp6-shell .sp6-faderbank{display:flex;align-items:stretch;justify-content:center;gap:9px;min-height:175px}
.sp6-shell .sp6-fader{display:flex;flex-direction:column;align-items:center;gap:9px;min-width:18px}
.sp6-shell .sp6-fader input[type=range]{appearance:none;writing-mode:vertical-lr;direction:rtl;width:10px;height:155px;border:0;border-radius:10px;background:linear-gradient(to top,#303742,#59616e);accent-color:var(--track,#f9ba6d);touch-action:none}
.sp6-shell .sp6-fader input[type=range]::-webkit-slider-thumb{appearance:none;width:24px;height:14px;border:1px solid #687386;background:#cbd2df;border-radius:4px;box-shadow:0 2px 6px #0006}
.sp6-shell .sp6-fader input[type=range]::-moz-range-thumb{width:24px;height:14px;border:1px solid #687386;background:#cbd2df;border-radius:4px}
.sp6-shell .sp6-fader b{font-size:11px;color:#cfd7e6;white-space:nowrap;letter-spacing:-.2px}
.sp6-shell .sp6-meter{height:155px;width:13px;overflow:hidden;border:1px solid #313d3b;border-radius:5px;align-self:flex-start;background:repeating-linear-gradient(to top,#242c30 0,#242c30 6px,#15191f 6px,#15191f 8px);position:relative}
.sp6-shell .sp6-meter i{position:absolute;bottom:0;left:2px;right:2px;height:0%;border-radius:2px;background:linear-gradient(to top,#61c99b 0%,#8fe2a5 63%,#efc985 87%,#f4867e 100%);transition:height .1s}
.sp6-shell .sp6-db{height:155px;display:flex;flex-direction:column;justify-content:space-between;font-size:8px;color:#727d8f;padding-top:1px;line-height:1}
.sp6-shell .sp6-ms{display:grid;grid-template-columns:1fr 1fr;gap:5px}
.sp6-shell .sp6-ms .btn{min-width:0;min-height:30px;padding:5px 2px}
.sp6-shell .sp6-ms .sp6-mute{background:#603a3c;border-color:#98585c;color:#ffd9d8}
.sp6-shell .sp6-ms .sp6-solo{background:#614d26;border-color:#a27e45;color:#ffe1a3}
.sp6-shell .sp6-mini-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.sp6-shell .sp6-mini-field span{font-size:10px;color:#aab3c3;display:flex;justify-content:space-between;gap:4px}
.sp6-shell .sp6-mini-field span b{font-weight:700;color:var(--track,#f9ba6d)}
.sp6-shell .sp6-mini-field input:not([type=range]),.sp6-shell .sp6-mini-field select{font-size:10px;padding:7px 5px;width:100%;min-width:0}
.sp6-shell .sp6-mini-field input[type=range]{height:18px;width:100%;border:0;accent-color:var(--track,#f9ba6d)}
.sp6-shell .sp6-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:start}
.sp6-shell .sp6-channel .sp6-pair{gap:4px}
.sp6-shell .sp6-file{display:flex;align-items:center;justify-content:center;padding:7px 5px;border:1px dashed #465164;border-radius:7px;color:#c8ceda;cursor:pointer;background:#202632;min-height:36px;max-width:100%;text-align:center}
.sp6-shell .sp6-file input{display:none}
.sp6-shell .sp6-file span{font-size:10px;line-height:1.25;overflow-wrap:anywhere}
.sp6-shell .sp6-file:hover{border-color:var(--track)}
.sp6-shell .sp6-file-note{font-size:9px;color:var(--muted);overflow-wrap:anywhere}
.sp6-shell .sp6-master{--track:#f9ba6d;background:linear-gradient(180deg,#2c2622,#161a23 62%)}
.sp6-shell .sp6-masterlabel{text-align:center;border-radius:7px;border:1px solid #514138;background:#332a24;color:#ffce96;padding:7px 5px;font-size:10px}
.sp6-shell .sp6-master .btn{margin-top:auto}
.sp6-shell .sp6-presets{display:grid;gap:7px}
.sp6-shell .sp6-preset{display:flex;align-items:center;gap:8px;width:100%;padding:11px 9px;background:#1f242f;border:1px solid #343c4a;border-radius:9px;text-align:left}
.sp6-shell .sp6-preset:hover{border-color:#ad8c63;background:#2c2828}
.sp6-shell .sp6-preset span{font-size:19px;color:#f9ba6d}
.sp6-shell .sp6-preset b{font-size:12px;flex:1}
.sp6-shell .sp6-preset small{color:var(--muted);font-size:10px;white-space:nowrap}
.sp6-shell .sp6-step{display:flex;align-items:center;gap:9px;font-size:12px;color:#c1c9d6}
.sp6-shell .sp6-step b{border-radius:8px;width:29px;height:29px;background:#332d27;border:1px solid #564731;display:grid;place-items:center;font-size:11px;color:#f7d097;flex-shrink:0}
.sp6-shell .sp6-cuelist{display:grid}
.sp6-shell .sp6-cue-row{display:flex;align-items:center;gap:11px;padding:10px 0;border-bottom:1px solid var(--line);min-width:0}
.sp6-shell .sp6-cue-row:last-child{border:0}
.sp6-shell .sp6-cue-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:color-mix(in srgb,var(--track,#f9ba6d) 12%,#242935);color:var(--track,#f9ba6d);flex-shrink:0;font-size:17px}
.sp6-shell .sp6-cue-row>div{flex:1;min-width:0}
.sp6-shell .sp6-cue-row b{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sp6-shell .sp6-cue-row small{color:var(--muted);font-size:10px}
.sp6-shell .sp6-cue-row>strong{font-variant-numeric:tabular-nums;font-size:11px;color:#c4cbd7;white-space:nowrap}
.sp6-shell .sp6-empty{padding:18px 10px;color:var(--muted);border:1px dashed #39404f;border-radius:9px;text-align:center;font-size:12px}
.sp6-shell .sp6-pub-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.sp6-shell .sp6-pub-kpis .panel{padding:15px;display:flex;flex-direction:column;gap:8px}
.sp6-shell .sp6-pub-kpis b{font-size:21px;overflow-wrap:anywhere;line-height:1.2}
.sp6-shell .sp6-pub-kpis small{font-size:11px;color:var(--muted)}
.sp6-shell .sp6-pub-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,335px);gap:14px;align-items:start}
.sp6-shell .sp6-divider{height:1px;background:var(--line)}
.sp6-shell .sp6-publishing .field,.sp6-shell .field{min-width:0}
.sp6-shell .sp6-source{display:grid}
.sp6-shell .sp6-source-item{display:flex;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid var(--line)}
.sp6-shell .sp6-source-item:last-child{border:0}
.sp6-shell .sp6-source-item>span:not(.badge){display:grid;place-items:center;width:64px;height:43px;background:#392f25;border-radius:7px;color:#ffd093;flex-shrink:0;font-size:10px;font-weight:700}
.sp6-shell .sp6-source-item img{width:64px;height:43px;object-fit:cover;border-radius:7px;flex-shrink:0}
.sp6-shell .sp6-source-item>div{flex:1;min-width:0}
.sp6-shell .sp6-source-item b{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sp6-shell .sp6-source-item small{display:block;color:var(--muted);font-size:10px;margin-top:2px}
.sp6-shell .sp6-source-item>b{font-variant-numeric:tabular-nums;color:#d4ddeb;font-size:12px;flex-shrink:0}
.sp6-shell .sp6-subtitles{display:grid;gap:10px;max-height:500px;overflow:auto;scrollbar-width:thin}
.sp6-shell .sp6-subtitle{border:1px solid #353d49;border-radius:9px;padding:10px;background:#151923;display:grid;gap:7px}
.sp6-shell .sp6-subtitle>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.sp6-shell .sp6-subtitle>div>b{font-size:12px}
.sp6-shell .sp6-subtitle p{color:#aab4c4;font-size:11px;white-space:pre-wrap}
.sp6-shell .sp6-subtitle textarea{width:100%;min-height:58px;font-size:12px;line-height:1.35}
.sp6-shell .sp6-thumbnail{position:relative;overflow:hidden;aspect-ratio:16/9;border-radius:9px;background-color:#272c35;background-size:cover;background-position:center;border:1px solid #454d5b;isolation:isolate;display:flex;align-items:flex-end;padding:13px}
.sp6-shell .sp6-thumbnail:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#080b12e8,#10141b4d 70%,transparent);z-index:-1}
.sp6-shell .sp6-thumbnail>div{width:100%;min-width:0}
.sp6-shell .sp6-thumbnail>div span{color:#f5c27e;font-weight:750;font-size:9px;letter-spacing:1.6px}
.sp6-shell .sp6-thumbnail>div b{display:block;font-size:clamp(18px,2vw,26px);font-weight:850;line-height:1.13;color:#fff4df;letter-spacing:-.6px;text-shadow:0 2px 12px #000b;overflow-wrap:anywhere}
.sp6-shell .sp6-thumbnail>span{position:absolute;right:8px;top:8px;border:1px solid #ffffff3d;background:#131822aa;backdrop-filter:blur(8px);color:#e4e6f0;font-weight:700;font-size:8px;letter-spacing:.8px;padding:4px 6px;border-radius:5px}
.sp6-shell .sp6-thumb-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.sp6-shell .sp6-thumb-choices button{padding:0;overflow:hidden;aspect-ratio:16/10;border:1px solid #444d5d;border-radius:6px;background:#20242f}
.sp6-shell .sp6-thumb-choices button.active{border:2px solid #f9ba6d;box-shadow:0 0 0 1px #f9ba6d}
.sp6-shell .sp6-thumb-choices img{display:block;width:100%;height:100%;object-fit:cover}
.sp6-shell .sp6-check{display:flex;align-items:flex-start;gap:9px;padding:8px 0;color:#c8d0dd;font-size:12px;cursor:pointer;line-height:1.35}
.sp6-shell .sp6-check input{flex-shrink:0;appearance:auto;width:17px;height:17px;accent-color:#eab56e;margin:0 0 0 1px;padding:0}
.sp6-shell .sp6-checks{display:grid;gap:1px}
.sp6-shell .sp6-checks .sp6-check{padding:9px 0;border-bottom:1px solid #303541}
.sp6-shell .sp6-checks .sp6-check:last-child{border:0}
.sp6-shell .sp6-review-progress{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#d0d5df;font-variant-numeric:tabular-nums}
.sp6-shell .sp6-actions .btn.full{width:100%}
@media(max-width:1350px){.sp6-shell .sp6-mix-grid{grid-template-columns:minmax(0,1fr)}.sp6-shell .sp6-mix-grid aside{display:grid;grid-template-columns:1fr 1fr;gap:13px}.sp6-shell .sp6-channels{gap:10px}.sp6-shell .sp6-channel .sp6-mini-field input:not([type=range]),.sp6-shell .sp6-channel .sp6-mini-field select{font-size:12px;padding:7px 9px}.sp6-shell .sp6-channel-top b{font-size:13px}.sp6-shell .sp6-channel .sp6-pair{gap:6px}}
@media(max-width:1180px){.sp6-shell .sp6-mix-overview{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.sp6-shell .sp6-mix-stat{padding:10px;border:1px solid var(--line);border-radius:8px}.sp6-shell .sp6-pub-grid{grid-template-columns:minmax(0,1fr) minmax(240px,285px)}.sp6-shell .sp6-pub-kpis b{font-size:17px}.sp6-shell .sp6-pub-kpis .panel{padding:12px}}
@media(max-width:950px){.sp6-shell .sp6-head{flex-wrap:wrap;align-items:flex-start}.sp6-shell .sp6-head .sp6-actions{width:100%}.sp6-shell .sp6-head .sp6-actions .btn{flex-grow:1}.sp6-shell .sp6-channels{grid-template-columns:repeat(3,minmax(0,1fr))}.sp6-shell .sp6-master{grid-column:span 2}.sp6-shell .sp6-pub-grid{grid-template-columns:1fr}.sp6-shell .sp6-pub-kpis{grid-template-columns:1fr 1fr}.sp6-shell .sp6-master .sp6-masterlabel{max-width:180px;align-self:center}.sp6-shell .sp6-master .btn{max-width:180px;align-self:center;margin-top:10px}}
@media(max-width:720px){.sp6-shell{gap:11px}.sp6-shell .sp6-header-title p{font-size:12px}.sp6-shell .sp6-head .sp6-actions{gap:6px}.sp6-shell .sp6-head .sp6-actions .btn{font-size:11px;padding:8px 9px}.sp6-shell .sp6-mix-overview{grid-template-columns:1fr 1fr;gap:9px;padding:11px}.sp6-shell .sp6-shot-title{grid-column:span 2}.sp6-shell .sp6-mix-overview>.field{grid-column:span 2}.sp6-shell .sp6-channels{grid-template-columns:1fr 1fr;padding:9px;gap:8px}.sp6-shell .sp6-channel{padding:10px 8px}.sp6-shell .sp6-master{grid-column:span 2}.sp6-shell .sp6-mix-grid aside{grid-template-columns:1fr;gap:0}.sp6-shell .sp6-channel-top b{font-size:12px}.sp6-shell .sp6-faderbank{gap:12px;min-height:150px}.sp6-shell .sp6-fader input[type=range],.sp6-shell .sp6-meter,.sp6-shell .sp6-db{height:130px}.sp6-shell .sp6-cue-row{gap:8px;flex-wrap:wrap}.sp6-shell .sp6-cue-row .badge{display:none}.sp6-shell .sp6-cue-icon{width:28px;height:28px}.sp6-shell .sp6-cue-row>strong{font-size:10px}.sp6-shell .sp6-pub-kpis{gap:8px}.sp6-shell .sp6-pub-kpis .panel{padding:11px;gap:5px}.sp6-shell .sp6-pub-kpis b{font-size:17px}.sp6-shell .sp6-pub-kpis small{font-size:10px}.sp6-shell .sp6-body{padding:11px}.sp6-shell .sp6-panel-head{padding:12px}.sp6-shell .sp6-source-item{gap:7px}.sp6-shell .sp6-source-item .badge{display:none}.sp6-shell .sp6-source-item img,.sp6-shell .sp6-source-item>span:not(.badge){width:50px;height:35px}.sp6-shell .sp6-thumbnail>div b{font-size:23px}.sp6-shell .sp6-subtitles{max-height:600px}}
