.band-console {
  --bc-surface: light-dark(#e9eef4, #101216);
  --bc-channel: light-dark(#f9fafc, #121419);
  --bc-edge: light-dark(#dce2e9, #23252c);
  --bc-text: var(--ink, light-dark(#192539, #f2f3f7));
  --bc-secondary: light-dark(#55667e, #96a2b4);
  --bc-readout: light-dark(#f0f3f7, #0b0c10);
  --bc-orange: light-dark(#a94100, #ff9e4d);
  --bc-led: light-dark(#14874c, #25c873);
  --bc-led-off: light-dark(#d5e5df, #23382e);
  box-sizing: border-box;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(44px, 1fr);
  gap: clamp(3px, .4vw, 7px);
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  align-self: stretch;
  padding: clamp(5px, .6vw, 10px);
  overflow-x: auto;
  background: var(--bc-surface);
  border: 1px solid var(--bc-edge);
  border-radius: 7px;
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
  color: var(--bc-text);
  font: inherit;
}
.band-console:empty { display: none; }
.band-console .band-console__strip {
  display: grid;
  grid-template-rows: auto minmax(66px, 1fr) auto auto;
  justify-items: center;
  align-items: center;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  padding: clamp(5px, .6vw, 10px) 3px 5px;
  background: var(--bc-channel);
  border-radius: 4px;
  border: 1px solid var(--bc-edge);
  container-type: inline-size;
}
.band-console .band-console__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  line-height: 1.15;
  font-size: clamp(10px, .78vw, 13px);
  font-weight: 700;
}
.band-console .band-console__icon {
  display: block;
  width: clamp(16px, 1.45vw, 25px);
  height: clamp(16px, 1.45vw, 25px);
  object-fit: contain;
}
.band-console .band-console__well {
  position: relative;
  justify-self: stretch;
  align-self: stretch;
  min-height: 42px;
  margin-block: 15px;
  --bc-rail-x: 50%;
}
.band-console .band-console__ticks {
  position: absolute;
  inset: 0 calc(100% - var(--bc-rail-x) + 8px) 0 0;
  color: var(--bc-secondary);
  pointer-events: none;
}
.band-console .band-console__tick {
  position: absolute;
  right: 0;
  transform: translateY(50%);
  font: 500 clamp(7px, .64vw, 10px)/1 ui-monospace, Consolas, monospace;
  white-space: nowrap;
}
.band-console .band-console__rail {
  position: absolute;
  left: var(--bc-rail-x);
  top: 0;
  bottom: 0;
  width: 5px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: light-dark(#242831, #050609);
  box-shadow: inset 1px 1px 2px #0008, 1px 0 0 light-dark(#fff, #30323a);
}
.band-console .band-console__cap {
  position: absolute;
  z-index: 1;
  bottom: var(--bc-pos, 78%);
  left: 50%;
  width: clamp(15px, 1.55vw, 25px);
  height: clamp(21px, 2.15vw, 33px);
  transform: translate(-50%, 50%);
  box-sizing: border-box;
  border: 1px solid light-dark(#ced3db, #3c3f46);
  border-radius: 3px;
  background: linear-gradient(to bottom,
    light-dark(#fff, #393b41),
    light-dark(#eeeef2, #2a2c32) 43%,
    light-dark(#c6cad2, #15161a) 50%,
    light-dark(#f5f6f8, #2c2e33) 58%,
    light-dark(#d9dfe5, #1f2024));
  box-shadow: 0 2px 4px #0004;
}
.band-console .band-console__cap::after {
  content: '';
  position: absolute;
  top: calc(50% - 1px);
  inset-inline: 2px;
  height: 2px;
  border-radius: 2px;
  background: #ff760e;
}
.band-console [data-silent=true] .band-console__cap::after { background: var(--bc-secondary); }
.band-console input.band-console__fader {
  position: absolute;
  z-index: 2;
  top: -10px;
  left: 0;
  width: 100%;
  height: calc(100% + 20px);
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  border: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  appearance: none;
  writing-mode: vertical-lr;
  direction: rtl;
  cursor: ns-resize;
  touch-action: none;
}
.band-console input.band-console__fader::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 20px;
}
.band-console input.band-console__fader::-moz-range-thumb { width: 100%; height: 20px; border: 0; }
.band-console .band-console__well:has(.band-console__fader:focus-visible) .band-console__cap,
.band-console .band-console__switch:focus-visible {
  outline: 2px solid var(--bc-orange);
  outline-offset: 2px;
}
.band-console .band-console__meters {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--bc-rail-x) + clamp(9px, 1vw, 16px));
  display: flex;
  gap: 2px;
  pointer-events: none;
}
.band-console .band-console__meter {
  display: block;
  position: relative;
  width: clamp(2px, .25vw, 4px);
  background: var(--bc-led-off);
  mask-image: repeating-linear-gradient(to top, #000 0 4px, transparent 4px 7px);
}
.band-console .band-console__light {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bc-led) 0 70%, #ddb327 70% 85%, #fa9525 85% 92%, #e6493e 92%);
  clip-path: inset(var(--bc-cut, 100%) 0 0);
  transition: clip-path var(--bc-meter-time, 240ms) ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .band-console .band-console__light { transition: none; }
}
.band-console .band-console__value {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 5px 1px;
  color: var(--bc-orange);
  background: var(--bc-readout);
  border: 1px solid var(--bc-edge);
  border-radius: 3px;
  font: 650 clamp(8px, .67vw, 11px)/1.2 ui-monospace, Consolas, monospace;
  text-align: center;
  white-space: nowrap;
}
.band-console [data-silent=true] .band-console__value { color: var(--bc-secondary); }
.band-console .band-console__switches {
  display: flex;
  gap: 3px;
  margin-top: 4px;
  align-items: center;
  justify-content: center;
}
.band-console button.band-console__switch {
  display: inline-grid;
  place-content: center;
  box-sizing: border-box;
  width: clamp(17px, 1.5vw, 24px);
  height: clamp(20px, 1.5vw, 24px);
  padding: 0;
  min-height: 0;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--bc-edge);
  border-radius: 4px;
  background: var(--bc-readout);
  color: var(--bc-secondary);
  font: 700 clamp(9px, .7vw, 11px)/1 ui-monospace, Consolas, monospace;
  cursor: pointer;
}
.band-console .band-console__switch:hover { border-color: var(--bc-secondary); }
.band-console .band-console__switch[data-role=solo][aria-pressed=true] {
  color: light-dark(#843700, #ffd99b);
  border-color: light-dark(#e0ad5d, #9a661d);
  background: light-dark(#ffedcb, #503914);
}
.band-console .band-console__switch[data-role=mute][aria-pressed=true] {
  color: light-dark(#fff, #ffbbb5);
  border-color: light-dark(#bd302d, #8a3637);
  background: light-dark(#c63937, #4c2023);
}
@container (max-width: 40px) {
  .band-console .band-console__well { --bc-rail-x: 54%; }
  .band-console .band-console__tick { font-size: 7px; }
  .band-console .band-console__meters { gap: 1px; left: calc(var(--bc-rail-x) + 8px); }
  .band-console .band-console__meter { width: 2px; }
}
@media (pointer: coarse) {
  .band-console { grid-auto-columns: minmax(55px, 1fr); }
  .band-console button.band-console__switch { width: 23px; height: 27px; }
}
@media (forced-colors: active) {
  .band-console .band-console__rail, .band-console .band-console__cap::after { background: CanvasText; }
  .band-console .band-console__cap { border: 2px solid ButtonText; }
  .band-console .band-console__switch[aria-pressed=true] { outline: 2px solid Highlight; }
}
