/* SoulOne LIVE · Normalización no destructiva y por instrumento */
#slNormalizeDialog{
  width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 32px);
  overflow:auto;box-sizing:border-box;border:1px solid #cbdce8;border-radius:15px;
  background:#f9fcff;color:#253f58;box-shadow:0 25px 90px #00162870;padding:0;
  font:500 13px/1.5 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
#slNormalizeDialog::backdrop{background:#0c2137b8}
.sl-norm-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;
 padding:18px 20px 13px;border-bottom:1px solid #d9e6f0;background:#fff}
.sl-norm-heading small{font-size:10px;font-weight:850;letter-spacing:.13em;color:#6d8ba1}
.sl-norm-heading h2{font-size:20px;letter-spacing:-.04em;margin:3px 0}
.sl-norm-heading p{color:#7191a8;font-size:12px;margin:2px 0}
#slNormClose{background:#eff5fa;color:#315c79;border:1px solid #d4e2ef;padding:0;
 width:32px;height:32px;border-radius:8px;font-size:23px;line-height:1}
.sl-norm-body{padding:14px 20px 18px;display:grid;gap:9px}
.sl-norm-body #slNormTrack{font-size:14px;font-weight:850;margin:0 0 2px}
.sl-norm-body label{font-size:11px;color:#4b6d86;font-weight:820}
.sl-norm-body select{width:100%;min-height:38px;background:#fff;color:#24435b;
 border:1px solid #c7dbe9;border-radius:9px;padding:8px 10px}
.sl-norm-body #slNormInfo{min-height:40px;padding:10px 12px;border:1px solid #dbe9f2;
 background:#edf5fb;border-radius:9px;font-size:12px;color:#45687e;margin:6px 0 0}
.sl-norm-secondary{border:1px solid #cddfec!important;background:#f1f7fc!important;
 color:#2b658b!important;box-shadow:none!important}
.sl-norm-body #slNormAnalyze{justify-self:start;font-size:12px;padding:8px 13px}
.sl-norm-trim{display:grid;grid-template-columns:1fr auto;gap:5px 10px;
 border-top:1px solid #e0eaf2;padding-top:13px;margin-top:5px}
.sl-norm-trim output{font-weight:850;color:#135c90;font-variant-numeric:tabular-nums}
.sl-norm-trim input[type=range]{grid-column:1/-1;width:100%;min-height:25px;accent-color:#1982c3}
.sl-norm-ticks{grid-column:1/-1;display:flex;justify-content:space-between;font-size:10px;color:#7790a3}
.sl-norm-body>small{font-size:11px;color:#6c8294}
.sl-norm-warning{background:#fff7e8;border:1px solid #f1daa7;color:#896325;
 border-radius:8px;padding:10px;font-size:11px;margin:0}
.sl-norm-warning[hidden]{display:none}
.sl-norm-actions{padding:12px 20px 18px;display:flex;gap:9px;justify-content:space-between;
 background:#fff;border-top:1px solid #e4edf5}
.sl-norm-actions button{font-size:12px;padding:10px 12px;min-height:38px}
#slNormApply{background:#136fae;color:white;border:1px solid #136fae}
#mixer .strip .sl-norm-slot{display:flex;align-items:center;justify-content:center;gap:5px;
 margin:6px 4px 0;min-height:24px;white-space:nowrap}
#mixer .strip .sl-norm-trigger{border:1px solid #bbd5e8!important;
 background:#e3f2fc!important;color:#185e8d!important;font-size:11px!important;
 font-weight:850!important;padding:0!important;width:26px!important;height:23px!important;
 min-height:23px!important;min-width:26px!important;border-radius:6px!important}
#mixer .strip .sl-norm-trigger:hover{background:#cfe6f8!important}
#mixer .strip .sl-norm-current{font-size:9px;font-weight:750;color:#647f91;min-width:0;
 max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}
.sl-seq-normal-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;
 border-top:1px solid #ffffff1f;padding:10px 0 1px}
.sl-seq-normal-controls label{font-size:10px;font-weight:750;color:#c2d8e8}
.sl-seq-normal-controls select{background:#24425d;color:#f0f8ff;border:1px solid #ffffff3a;
 border-radius:7px;padding:6px 8px;min-width:140px;font-size:11px;max-width:200px}
.meter-title .sl-seq-normal-controls{border-top:1px solid #d6e6f1}
.meter-title .sl-seq-normal-controls label{color:#466c87}
.meter-title .sl-seq-normal-controls select{background:#fff;color:#315873;border:1px solid #bfd4e4}
@media(max-width:640px){
 .sl-norm-heading{padding:14px 15px 10px}
 .sl-norm-body{padding:12px 15px}
 .sl-norm-actions{padding:11px 15px}
 .sl-seq-normal-controls{align-items:flex-start;flex-wrap:wrap;gap:6px}
 .sl-seq-normal-controls select{flex:1 0 165px;max-width:none}
}

/* N replaces the tiny role caption instead of adding a tall extra mixer row. */
#mixer .strip .sl-norm-slot{min-height:19px;margin:2px 3px 0;gap:3px}
#mixer .strip .sl-norm-trigger{width:21px!important;min-width:21px!important;height:19px!important;min-height:19px!important;font-size:10px!important}
#mixer .strip .sl-norm-current{font-size:9px;max-width:48px}
