.audio-level-meter{position:relative;width:10px;min-height:16px;align-self:stretch;background:#0d1414;border:1px solid #485454;border-radius:2px;overflow:hidden;pointer-events:none}.audio-level-meter>span{position:absolute;inset:0;background:linear-gradient(to top,#41db7c 0%,#41db7c 77%,#f6df50 89%,#ff655e 97%);clip-path:inset(calc((1 - var(--level,0))*100%) 0 0);transition:clip-path 70ms linear}

.audio-volume-control[type=range]{appearance:none;height:18px;border:0;margin:0;background:linear-gradient(to right,transparent var(--volume-fill),#243133 var(--volume-fill)),linear-gradient(to right,#41db7c 0%,#41db7c 66.6%,#f6df50 66.6%,#f6df50 83.3%,#ff655e 83.3%);background-size:100% 7px;background-position:center;background-repeat:no-repeat;cursor:ew-resize}.audio-volume-control[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border-radius:50%;background:#e4edf3;border:1px solid #38464c}.audio-volume-control[type=range]::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:#e4edf3;border:1px solid #38464c}
.audio-volume-control[type=range]::-webkit-slider-runnable-track{height:7px;background:transparent;border:0}.audio-volume-control[type=range]::-moz-range-track{height:7px;background:transparent;border:0}

.audio-volume-control.audio-volume-vertical[type=range]{writing-mode:vertical-lr;direction:rtl;width:18px;min-width:18px;height:100%!important;min-height:0;margin:0!important;padding:0!important;box-sizing:border-box;cursor:ns-resize;background:linear-gradient(to top,transparent var(--volume-fill),#243133 var(--volume-fill)),linear-gradient(to top,#41db7c 0%,#41db7c 66.6%,#f6df50 66.6%,#f6df50 83.3%,#ff655e 83.3%);background-size:7px 100%;background-position:center;background-repeat:no-repeat}
.audio-volume-control.audio-volume-vertical[type=range]::-webkit-slider-runnable-track{width:7px;height:100%}
.audio-volume-control.audio-volume-vertical[type=range]::-moz-range-track{width:7px;height:100%}

.audio-volume-control.audio-volume-vertical[type=range]::-webkit-slider-thumb{margin-left:-2.5px}

.audio-volume-control.audio-volume-vertical.audio-range-bipolar[type=range]{background:linear-gradient(to top,transparent calc(50% - 1px),var(--text) calc(50% - 1px),var(--text) calc(50% + 1px),transparent calc(50% + 1px)),linear-gradient(var(--line),var(--line));background-size:12px 100%,7px 100%;background-position:center;background-repeat:no-repeat}

:root{--audio-mixer-min-height:110px}
.audio-mixer-strip[role=group]{margin:0;display:grid;grid-template-columns:84px 10px;grid-template-rows:auto minmax(var(--audio-mixer-min-height),1fr);min-height:var(--audio-mixer-min-height);align-self:stretch;align-items:stretch;gap:6px;width:100px;min-width:100px;color:var(--text);font-size:12px;letter-spacing:normal}
.audio-mix-faders{display:flex;align-self:stretch;gap:4px;flex:1;min-height:0}
.audio-mix-fader{display:flex;flex-direction:column;align-items:center;width:18px;min-height:0;gap:3px}
.audio-mix-fader>span{font-size:8px;line-height:10px;color:var(--muted)}
.audio-mix-fader>input{flex:1;min-height:0}

.audio-mixer-strip>strong{grid-column:1/-1;text-align:center}

.audio-mixer-strip.audio-mixer-strip-untitled{grid-template-rows:minmax(var(--audio-mixer-min-height),1fr)}

.audio-eq-controls{contain:size;display:grid!important;grid-template-columns:repeat(4,18px);grid-template-rows:minmax(0,1fr) 20px;gap:4px;min-height:0}
.audio-mixer-strip[role=group] .audio-eq-controls>.audio-eq-switch{grid-column:1/-1;grid-row:2;align-self:stretch;width:100%;height:20px;min-height:20px;margin:0;padding:1px 4px;border:1px solid var(--line);border-radius:4px;background:var(--control-bg);color:var(--muted);font-size:10px;line-height:16px;font-weight:700;letter-spacing:.03em;box-shadow:none;cursor:pointer}
.audio-mixer-strip[role=group] .audio-eq-controls>.audio-eq-switch[aria-pressed=true]{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,var(--surface));color:var(--accent)}
.audio-mixer-strip[role=group] .audio-eq-controls>.audio-eq-switch:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

.audio-mixer-strip[role=group]{display:grid;box-shadow:none}

/* Mixer presentation is shared by editor tracks and both master hosts. */
.audio-mixer-strip>strong{font-size:11px;font-weight:700;line-height:16px;letter-spacing:.06em}
.audio-mixer-strip .audio-mix-fader>span{font-size:9px;line-height:12px;color:var(--muted)}
:is(.audio-mixer-strip,.shared-mix-channel-vertical) .audio-volume-control.audio-volume-vertical[type=range]{background-size:5px 100%;border-radius:3px;outline-offset:2px}
:is(.audio-mixer-strip,.shared-mix-channel-vertical) .audio-volume-control.audio-volume-vertical.audio-range-bipolar[type=range]{background-size:12px 100%,5px 100%}
:is(.audio-mixer-strip,.shared-mix-channel-vertical) .audio-volume-control[type=range]::-webkit-slider-thumb{width:16px;height:8px;margin-left:-4.5px;border-radius:2px;border:1px solid #8197a3;background:linear-gradient(#f0f6fa,#afc2ce);box-shadow:0 1px 3px #0008}
:is(.audio-mixer-strip,.shared-mix-channel-vertical) .audio-volume-control[type=range]::-moz-range-thumb{width:16px;height:8px;border-radius:2px;border:1px solid #8197a3;background:linear-gradient(#f0f6fa,#afc2ce);box-shadow:0 1px 3px #0008}
:is(.audio-mixer-strip,.shared-mix-channel-vertical) .audio-volume-control[type=range]:focus-visible{outline:1px solid var(--accent)}
:is(.audio-mixer-strip,.shared-mix-channel-vertical) .audio-level-meter{border-color:color-mix(in srgb,var(--muted) 50%,var(--line));border-radius:3px;background:#0b1516;box-shadow:inset 0 0 3px #0008}
:is(.audio-mixer-strip,.shared-mix-channel-vertical) .audio-level-meter::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(to top,transparent 0,transparent calc(10% - 1px),#879a9c55 calc(10% - 1px),#879a9c55 10%);pointer-events:none}

:is(.audio-mixer-strip,.shared-mix-channel-vertical) .audio-volume-control:not(.audio-range-bipolar)[type=range]::-webkit-slider-thumb{border-color:#94b53b;background:linear-gradient(#e8ffac,#b6d95b)}
:is(.audio-mixer-strip,.shared-mix-channel-vertical) .audio-volume-control:not(.audio-range-bipolar)[type=range]::-moz-range-thumb{border-color:#94b53b;background:linear-gradient(#e8ffac,#b6d95b)}

/* Shared channel gain and mute: horizontal fader above the named toggle. */
.shared-mix-channel{display:flex;flex-direction:column;gap:9px;flex:0 1 170px;min-width:130px;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.shared-mix-channel.shared-mix-channel>label{display:grid;flex:0 0 auto;grid-template-columns:1fr 5ch;align-items:center;gap:7px;font-size:.65rem;margin:0}.shared-mix-channel output{font:inherit;white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums;color:var(--text);padding:0;margin:0}.shared-mix-channel>button{width:100%}.shared-mix-channel input.audio-volume-control[type=range]{grid-column:1/-1;width:100%;height:18px!important;min-height:18px;padding:0!important;margin:0!important}.shared-mix-channel>label>span{text-align:left}

/* Shared command card matches the vertical channel structure. */
.shared-mix-card{display:flex;flex-direction:column;gap:9px;flex:1 1 130px;min-width:110px;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.shared-mix-card.shared-mix-card>label{display:flex;flex-direction:column;flex:0 0 auto;min-width:0;gap:7px;margin:0;font-size:.65rem}.shared-mix-card select{width:100%;min-width:0;margin:0}.shared-mix-card>button{width:100%;margin:0;margin-top:auto}:is(.shared-mix-channel,.shared-mix-card)>button{margin-top:auto!important}

/* One shared wrapping row: channel wrappers do not reserve a separate column. */
.shared-mix-grid{display:flex;align-items:stretch;flex-wrap:wrap;gap:8px}.shared-mix-channels{display:contents}.shared-mix-grid .shared-mix-channel{flex:1 1 130px;min-width:110px}.shared-mix-grid .shared-mix-card{flex:1 1 130px}

/* Documented shared channel options: vertical fader with an optional real meter. */
.shared-mix-channel.shared-mix-channel-vertical{flex:0 0 120px;width:120px;min-width:120px;gap:8px}
.shared-mix-channel.shared-mix-channel-vertical>label{grid-template-columns:1fr 1fr;grid-template-rows:auto minmax(0,1fr);height:210px;gap:8px;align-items:stretch}
.shared-mix-channel.shared-mix-channel-vertical input.audio-volume-control[type=range]{grid-column:2;grid-row:2;width:24px;height:100%!important;min-height:0;justify-self:center}
.shared-mix-channel.shared-mix-channel-vertical .audio-level-meter{grid-column:1;grid-row:2;justify-self:center;width:12px;min-height:0}

/* fit: stretch lets the canonical vertical channel fill a bounded grid cell. */
.shared-mix-channel.shared-mix-channel-vertical.shared-mix-channel-stretch{width:100%;min-width:110px;min-height:0;height:100%;flex:1 1 0}
.shared-mix-channel.shared-mix-channel-vertical.shared-mix-channel-stretch>label{height:auto;min-height:0;flex:1 1 0}
.shared-mix-channel.shared-mix-channel-vertical.shared-mix-channel-stretch>button{flex-shrink:0}

/* Optional shared channel description stays inside the same strip. */
.shared-mix-description{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:5px;min-height:24px;flex-shrink:0}
.shared-mix-description small{min-width:0;max-height:2.6em;overflow:hidden;font-size:10px;line-height:1.3;color:var(--muted)}
.shared-mix-description img{width:20px;height:20px;object-fit:contain}
/* Equal vertical strips: long participant names never shorten a neighbouring fader. */
.shared-mix-channel.shared-mix-channel-vertical>button{box-sizing:border-box;height:48px!important;min-height:48px!important;max-height:48px;display:block;white-space:normal!important;overflow:hidden;overflow-wrap:anywhere;line-height:1.2;text-overflow:clip}
.shared-mix-channel.shared-mix-channel-vertical>.shared-mix-description{box-sizing:border-box;height:28px;min-height:28px;max-height:28px}
