/* MB Radio 165: sola interfaccia del mixer. Non modifica il motore audio. */
.studio-shell .mixer-admin,.studio-shell .mixer-admin *{box-sizing:border-box}
.studio-shell .mixer-admin{padding-top:clamp(28px,4vw,64px);min-width:0}
.studio-shell .mixer-admin .mixer-head{margin-bottom:20px}
.studio-shell .mixer-admin .mixer-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;border:0;min-width:0}
.studio-shell .mixer-admin .mixer-card,.studio-shell .mixer-admin .media-card{min-width:0;width:100%;padding:clamp(16px,2.3vw,28px);border:1px solid #d6dcd8;border-radius:12px;background:#fff;color:#172c29;overflow:visible}
.studio-shell .mixer-admin .mixer-card>.card-head{margin-bottom:14px;border-bottom:1px solid #e1e7e3;padding-bottom:12px}
.studio-shell .mb165-intro{margin:10px 0 20px;padding:clamp(16px,2vw,22px);background:#f2f7f5;border:1px solid #d6e6df;border-radius:10px}
.studio-shell .mb165-eyebrow{font-weight:800;font-size:11px;letter-spacing:.09em;color:#235e4b}
.studio-shell .mb165-intro h3{font-size:clamp(20px,2vw,27px);line-height:1.2;margin:8px 0 6px;color:#18372f}
.studio-shell .mb165-intro p{margin:0;max-width:70ch;font-size:14px;line-height:1.5;color:#344c45}
.studio-shell .mixer-admin .legacy-mixer-label{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;margin:0 0 8px;padding:0;border:0}
.studio-shell .mixer-admin .legacy-mixer-label span{color:#245848;font-size:11px}
.studio-shell .mixer-admin .legacy-mixer-label small{color:#4d625a;font-size:12px}
.studio-shell .mixer-admin .channel-strip{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(135px,.7fr);gap:16px;align-items:center;padding:16px 0;border-top:1px solid #e2e7e4;min-width:0}
.studio-shell .mixer-admin .channel-copy strong{color:#18332b;font-size:16px}
.studio-shell .mixer-admin .channel-copy span{color:#25644d}
.studio-shell .mixer-admin .channel-copy small,.studio-shell .mixer-admin .monitor-toggle small{color:#506359;font-size:12px;line-height:1.5}
.studio-shell .mixer-admin .fader-label{min-width:0;color:#233e33;font-size:13px}
.studio-shell .mixer-admin .fader-label input{max-width:100%;accent-color:#1a654b}
.studio-shell .mixer-admin button:focus-visible,.studio-shell .mixer-admin summary:focus-visible,.studio-shell .mixer-admin input:focus-visible,.studio-shell .mixer-admin select:focus-visible{outline:3px solid #b54719;outline-offset:3px}
.studio-shell .mixer-admin .channel-button{min-height:44px;border-color:#2a6852;color:#1e4939;border-radius:7px;font-size:13px}
.studio-shell .mixer-admin .deck-panel{min-width:0;overflow-wrap:anywhere}
.studio-shell .mb165-hotcart-title{margin:24px 0 8px}
.studio-shell .mb165-hotcart-title h4,.studio-shell .mb165-library-intro h4{margin:0 0 5px;font-size:18px;line-height:1.25;color:#18372f}
.studio-shell .mb165-hotcart-title p,.studio-shell .mb165-library-intro p{margin:0;font-size:13px;line-height:1.5;color:#495f54}
.studio-shell .mixer-admin .hotcart-panel{background:#182b28;color:#fff;border:0;border-radius:10px;padding:18px;grid-template-columns:minmax(0,180px) minmax(0,1fr);gap:14px;margin:0 0 22px;min-width:0}
.studio-shell .mixer-admin .hotcart-panel strong{color:#fff}
.studio-shell .mixer-admin .hotcart-panel small{color:#d3ded9;font-size:12px}
.studio-shell .mixer-admin .hotcart-panel span{color:#b9e2d1}
.studio-shell .mixer-admin .hotcart-grid{grid-template-columns:repeat(3,minmax(0,1fr));min-width:0}
.studio-shell .mixer-admin .hotcart-grid button{min-height:54px;overflow-wrap:anywhere;color:#fff;font-size:13px}
.studio-shell .mb165-advanced,.studio-shell .mb165-upload{margin-top:16px;border:1px solid #c5d4ce;border-radius:10px;background:#fbfdfc;min-width:0}
.studio-shell .mb165-advanced>summary,.studio-shell .mb165-upload>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:14px;cursor:pointer;padding:16px;min-height:58px;color:#15392d}
.studio-shell .mb165-advanced>summary::-webkit-details-marker,.studio-shell .mb165-upload>summary::-webkit-details-marker{display:none}
.studio-shell .mb165-advanced>summary>span:first-child,.studio-shell .mb165-upload>summary{min-width:0}
.studio-shell .mb165-advanced>summary strong,.studio-shell .mb165-upload>summary strong{display:block;font-size:16px}
.studio-shell .mb165-advanced>summary small,.studio-shell .mb165-upload>summary span:not(.mb165-chevron){display:block;font-size:12px;line-height:1.5;color:#51645b;font-weight:400}
.studio-shell .mb165-chevron{flex:0 0 auto;width:10px;height:10px;border-right:2px solid #285e4d;border-bottom:2px solid #285e4d;transform:rotate(45deg);margin-right:5px;transition:transform .15s ease}
.studio-shell details[open]>summary .mb165-chevron{transform:rotate(225deg)}
.studio-shell .mb165-advanced-body,.studio-shell .mb165-upload-body{border-top:1px solid #d9e3de;padding:16px;min-width:0}
.studio-shell .mb165-advanced-body{background:#152320;color:#f6f8f7;border-radius:0 0 10px 10px}
.studio-shell .mb165-advanced-body .pro-mixer-console{margin:0;min-width:0}
.studio-shell .mb165-advanced-body .pro-deck-head strong,.studio-shell .mb165-advanced-body .pro-master strong{color:#f5f8f6}
.studio-shell .mb165-advanced-body .pro-deck-head small{color:#c1cfc7}
.studio-shell .mb165-advanced-body .pro-fader,.studio-shell .mb165-advanced-body .pro-master small{color:#cbd7d0}
.studio-shell .mb165-library-intro{margin:20px 0 12px}
.studio-shell .mb165-upload{margin:16px 0}
.studio-shell .mb165-upload>summary{display:grid;grid-template-columns:1fr auto;column-gap:12px}
.studio-shell .mb165-upload>summary>strong{grid-column:1;grid-row:1}
.studio-shell .mb165-upload>summary>span:not(.mb165-chevron){grid-column:1;grid-row:2}
.studio-shell .mb165-upload>summary .mb165-chevron{grid-column:2;grid-row:1 / span 2}
.studio-shell .mb165-upload-body .media-rights-note{margin:0 0 16px}
.studio-shell .mixer-admin .mixer-note{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:950px){.studio-shell .mixer-admin .channel-strip{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.studio-shell .mixer-admin .channel-copy{grid-column:1/-1}.studio-shell .mixer-admin .hotcart-panel{grid-template-columns:minmax(0,1fr)}.studio-shell .mb165-advanced-body .pro-mixer-console{grid-template-columns:minmax(0,1fr)}.studio-shell .mb165-advanced-body .pro-master{min-width:0}}
@media(max-width:540px){.studio-shell .mixer-admin .mixer-card,.studio-shell .mixer-admin .media-card{padding:12px}.studio-shell .mixer-admin .channel-strip{grid-template-columns:minmax(0,1fr);gap:10px}.studio-shell .mixer-admin .channel-copy{grid-column:1}.studio-shell .mixer-admin .channel-button{width:100%}.studio-shell .mixer-admin .hotcart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-shell .mb165-advanced>summary,.studio-shell .mb165-upload>summary{padding:13px}.studio-shell .mb165-advanced-body,.studio-shell .mb165-upload-body{padding:10px}.studio-shell .mixer-admin .deck-panel{display:grid;grid-template-columns:minmax(0,1fr)}.studio-shell .mixer-admin .deck-actions{flex-wrap:wrap}}
@media(max-width:370px){.studio-shell .mixer-admin .hotcart-grid{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.studio-shell .mb165-chevron{transition:none}}
