/* The mixer's Cues row (P116b, mixer/cue-row.ts): the lane of section cue
   pills (hQo5G, i9IBev), its empty, off, loading and signed-out states
   (qYUXD, nlt7A), the section cue popover (ixxHZ), the row's "…" menu
   (qYUXD) and the header's In-ears (M38ba). The row itself is a mixer
   track (mixer.css), coloured by --st-stem-guide. The toast is shared, in
   controls.css. */

/* ---- The row ------------------------------------------------------------------- */

.mixer-track[data-channel='cues'] .mixer-track__top { position: relative; }
.mixer-track[data-channel='cues'] .mixer-track__lane { background: color-mix(in srgb, var(--track-color) 5%, transparent); }

/* The header's ◆+ and options: design-system icon buttons (sm) at 24 px, the WCAG 2.2 target size, which the
   112 px column holds beside the name. They overhang the 14–16 px name line by 5 px above and below, into the
   card's padding and the gap, so every row keeps the same height. */
.mixer-track__top .cue-head-btn { width: 24px; height: 24px; margin: -5px 0; border-radius: 6px; }
.mixer-track__top .cue-head-btn .st-icon { width: 16px; height: 16px; }
.mixer-track__top .cue-add-head { margin-left: auto; }
.mixer-track__top .cue-head-btn + .cue-head-btn { margin-left: -2px; }
.cue-more[aria-expanded='true'] { background: var(--st-surface-2); color: var(--st-text); }
.cue-add-head[data-pending='true'] { visibility: hidden; }
/* ⚠ n: a badge on the options button, whose menu leads with "n cues silent · Show". */
.cue-warn {
  position: absolute;
  top: -6px;
  right: -7px;
  display: inline-flex;
  align-items: center;
  gap: 1px;
  height: 14px;
  padding: 0 3px;
  border-radius: 7px;
  outline: 1px solid var(--st-panel);
  background: var(--st-warn);
  color: var(--st-on-accent, #fff);
  font: 700 9px/1 var(--st-font-mono);
  pointer-events: none;
}
.cue-warn[hidden] { display: none; }
.mixer-track__top .cue-warn .st-icon { width: 8px; height: 8px; }

/* Split L/R is on: every pan knob is off, and its box says why (title). */
.mixer-track__pan[data-locked='true'] .st-knob { opacity: 0.4; pointer-events: none; }
.mixer-track__pan[data-locked='true'] { cursor: not-allowed; }
/* The in-ear prefs aren't known until the session answers (D120): hold In-ears and the pan knobs unpainted. */
.mixer-track__pan[data-pending='true'],
.in-ears[data-pending='true'] { visibility: hidden; }

/* ---- The lane ------------------------------------------------------------------ */

.cue-lane {
  position: absolute;
  inset: 0 var(--mixer-pad);
  container: cue-lane / inline-size;
  display: flex;
  align-items: center;
  cursor: default;
}
.cue-lane[data-state='cues'],
.cue-lane[data-state='off'] { align-items: stretch; }

/* The listbox (aria-activedescendant) draws no ring of its own: its active pill or ◆ shows the focus
   (below), as the Sections row's blocks do. Opted out of the Studio's global ring (controls.css). */
.cue-lane__pills { position: relative; flex: 1; min-width: 0; outline: none; --st-focus-ring-style: none; }

.cue-pill {
  --cue-color: var(--st-sect-other);
  position: absolute;
  top: 6px;
  display: inline-flex;
  height: 18px;
  cursor: pointer;
}
.cue-pill__chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0 5px 0 6px;
  border: 1px solid color-mix(in srgb, var(--cue-color) 50%, transparent);
  border-radius: 9px 3px 3px 9px;
  background: color-mix(in srgb, var(--cue-color) 18%, transparent);
  color: var(--cue-color);
}
.cue-pill__icon { width: 8px; height: 8px; }
.cue-pill__name { font: 700 9px/1 var(--st-font-mono); white-space: nowrap; }
.cue-pill__counts {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 0 2px;
  min-width: 14px;
  border-radius: 0 3px 3px 0;
  background: var(--cue-color);
}
.cue-pill__tick { width: 1px; height: 6px; background: color-mix(in srgb, var(--st-bg) 80%, transparent); }
.cue-pill[data-preroll] {
  left: 0;
  align-items: center;
  justify-content: center;
  width: 18px;
  border-radius: 4px;
  background: var(--cue-color);
  color: var(--st-bg);
}
.cue-pill[data-preroll] .cue-pill__icon { width: 10px; height: 10px; }
.cue-pill[aria-selected='true'] .cue-pill__chip,
.cue-pill[data-preroll][aria-selected='true'] { outline: 1px solid var(--cue-color); outline-offset: 1px; }
.cue-lane__pills:not(:focus-visible) .cue-pill[aria-selected='true'] .cue-pill__chip,
.cue-lane__pills:not(:focus-visible) .cue-pill[data-preroll][aria-selected='true'] { outline: 0; }
/* A silent cue is hatched and dimmed (umrvc); one whose counts another cue took is dimmed. */
.cue-pill[data-flag='silent'] { opacity: 0.55; }
.cue-pill[data-flag='silent'] .cue-pill__chip {
  background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--cue-color) 22%, transparent) 0 3px, transparent 3px 6px);
}
/* A cue that doesn't speak (D167): outlined, dashed, no fill, and a crossed-out speaker. Its label stays at the
   dim text colour (4.5:1 on the lane in both themes), so only the outline carries the section's colour. */
.cue-pill[data-off] .cue-pill__chip,
.cue-pill[data-off][data-preroll] {
  border: 1px dashed color-mix(in srgb, var(--cue-color) 60%, transparent);
  background: none;
  color: var(--st-text-dim);
}
.cue-pill[data-off][data-preroll] { box-sizing: border-box; }
.cue-pill[data-off]:hover .cue-pill__chip,
.cue-pill[data-off][data-preroll]:hover { background: color-mix(in srgb, var(--cue-color) 10%, transparent); color: var(--st-text); }
.cue-pill[data-flag='taken'] .cue-pill__counts {
  background: repeating-linear-gradient(135deg, var(--cue-color) 0 3px, color-mix(in srgb, var(--cue-color) 45%, transparent) 3px 6px);
}

.cue-lane__note { display: flex; flex: 1; align-items: center; gap: 10px; min-width: 0; padding: 0 4px; color: var(--st-text-dim); font: 400 13px/16px var(--st-font); }
.cue-lane__note-icon { flex: none; width: 16px; height: 16px; color: var(--st-text-faint); }
.cue-lane__note-icon--warn { color: var(--st-warn); }
.cue-lane__note-icon--loader { color: var(--track-color); }
.cue-lane__note-text { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cue-lane__spacer { flex: 1; }
.cue-lane__note .st-btn { flex: none; }

@media (prefers-reduced-motion: no-preference) {
  .cue-lane__note-icon--loader { animation: cue-spin 0.9s linear infinite; }
}
@keyframes cue-spin { to { transform: rotate(360deg); } }

.cue-lane__signin {
  position: absolute;
  top: 50%;
  right: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 2px 2px 10px;
  border-radius: 10px;
  outline: 1px solid var(--st-line-strong);
  outline-offset: -0.5px;
  background: var(--st-surface);
  color: var(--st-text);
  font: 400 12px/16px var(--st-font);
  transform: translateY(-50%);
}
.cue-lane__lock { width: 14px; height: 14px; color: var(--st-text-dim); }

/* ---- Panels: popover, menu, In-ears ------------------------------------------ */

/* Open, a panel is a manual popover in the top layer (cue-panel.ts): inset,
   margin, padding, border and overflow reset the browser's popover defaults. */
.cue-panel {
  position: fixed;
  inset: auto;
  z-index: 40;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: visible;
  border-radius: 14px;
  outline: 1px solid var(--st-line-strong);
  outline-offset: -0.5px;
  background: var(--st-popover-bg);
  box-shadow: 0 24px 60px color-mix(in srgb, var(--st-shadow) 80%, transparent), 0 2px 8px color-mix(in srgb, var(--st-shadow) 50%, transparent);
  color: var(--st-text);
}
.cue-panel[hidden] { display: none; }

.cue-help {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: -3px 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--st-text-dim);
  cursor: help;
}
.cue-help .st-icon { width: 14px; height: 14px; }
.cue-help:hover { color: var(--st-text); }

.cue-pop { --cue-color: var(--st-sect-other); display: flex; flex-direction: column; gap: 10px; width: 390px; max-width: calc(100vw - 16px); padding: 14px 12px 12px; }
.cue-pop[data-kind='intro'] { --cue-color: var(--st-sect-intro); }
.cue-pop[data-kind='verse'] { --cue-color: var(--st-sect-verse); }
.cue-pop[data-kind='chorus'] { --cue-color: var(--st-sect-chorus); }
.cue-pop[data-kind='bridge'] { --cue-color: var(--st-sect-bridge); }
.cue-pop[data-kind='outro'] { --cue-color: var(--st-sect-outro); }
.cue-pop__head { display: flex; align-items: flex-start; justify-content: space-between; padding: 0 2px; }
.cue-pop__title { margin: 0; font: 600 13.5px/17px var(--st-font); }
.cue-pop__where { margin: 2px 0 0; color: var(--st-text-faint); font: 400 11px/14px var(--st-font-mono); }
.cue-pop__close { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; border: 0; border-radius: 6px; background: none; color: var(--st-text-dim); cursor: pointer; }
.cue-pop__close:hover { background: var(--st-surface-2); color: var(--st-text); }
.cue-pop__close .st-icon { width: 14px; height: 14px; }
.cue-pop__voice { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 10px; outline: 1px solid var(--st-line); outline-offset: -0.5px; background: var(--st-surface); }
.cue-pop__play { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--cue-color); color: var(--st-bg); cursor: pointer; }
.cue-pop__play .st-icon { width: 14px; height: 14px; }
.cue-pop__voice-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cue-pop__voice-name { font: 600 13px/16px var(--st-font); }
.cue-pop__voice-len { color: var(--st-text-faint); font: 400 11px/14px var(--st-font-mono); }
.cue-pop__follows {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--cue-color) 40%, transparent);
  border-radius: 13px;
  background: color-mix(in srgb, var(--cue-color) 12%, transparent);
  color: var(--cue-color);
  font: 600 12px/1 var(--st-font);
}
.cue-pop__follows .st-icon { width: 12px; height: 12px; }
.cue-pop__follows-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.cue-pop__follows-hint { color: var(--st-text-dim); font: 400 11.5px/14px var(--st-font); }
.cue-pop__add-dyn.st-btn { margin-left: -6px; color: var(--st-stem-guide); }
.cue-pop__rule { width: 100%; height: 1px; margin: 0; border: 0; background: var(--st-line); }
.cue-pop__row { display: flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 2px; font: 400 13px/16px var(--st-font); }
.cue-pop__spacer { flex: 1; }
.cue-pop__meter { color: var(--st-text-faint); font: 400 11px/14px var(--st-font-mono); }
.cue-pop__foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }

.cue-menu { display: flex; flex-direction: column; width: 280px; padding: 6px; }
.cue-menu__item {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--st-text);
  font: 400 13px/16px var(--st-font);
  text-align: left;
  cursor: pointer;
}
.cue-menu__item:hover:not(:disabled),
.cue-menu__item:focus-visible { background: var(--st-surface-2); outline: none; }
.cue-menu__item:disabled { opacity: 0.45; cursor: default; }
.cue-menu__icon { flex: none; width: 14px; height: 14px; color: var(--st-text-dim); }
.cue-menu__label { flex: 1; }
.cue-menu__check { width: 14px; height: 14px; color: var(--st-accent); visibility: hidden; }
.cue-menu__item[aria-checked='true'] .cue-menu__check,
.cue-menu__item[aria-checked='mixed'] .cue-menu__check { visibility: visible; }
.cue-menu__group { display: flex; flex-direction: column; }
.cue-menu__heading { padding: 6px 10px 4px; color: var(--st-text-dim); font: 700 9.5px/1 var(--st-font-mono); letter-spacing: 0.8px; text-transform: uppercase; }
.cue-menu__item--warn,
.cue-menu__item--warn .cue-menu__icon { color: var(--st-warn); }

/* ---- In-ears (M38ba) ---------------------------------------------------------- */

.in-ears { position: relative; }
.in-ears__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  outline: 1px solid var(--st-line);
  outline-offset: -0.5px;
  background: none;
  color: var(--st-text-dim);
  font: 400 12px/1 var(--st-font);
  white-space: nowrap;
  cursor: pointer;
}
.in-ears__button .st-icon { width: 13px; height: 13px; }
.in-ears__button[data-split='true'] { outline-color: color-mix(in srgb, var(--st-stem-guide) 45%, transparent); background: color-mix(in srgb, var(--st-stem-guide) 10%, transparent); color: var(--st-stem-guide); }
.in-ears__button:disabled { opacity: 0.45; cursor: not-allowed; }
.in-ears__panel { display: flex; flex-direction: column; gap: 8px; width: 440px; max-width: calc(100vw - 16px); padding: 14px; }
.in-ears__head { display: flex; align-items: center; gap: 6px; }
.in-ears__title { margin: 0; font: 600 13.5px/17px var(--st-font); }
.in-ears__options { display: flex; flex-direction: column; gap: 8px; }
.in-ears__option {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 6px;
  padding: 12px;
  border: 1px solid var(--st-line);
  border-radius: 12px;
  background: var(--st-surface);
  color: var(--st-text);
  font: 600 13px/16px var(--st-font);
  text-align: left;
  cursor: pointer;
}
.in-ears__option[aria-checked='true'] { border-color: var(--st-accent); background: color-mix(in srgb, var(--st-accent) 10%, var(--st-surface)); }
.in-ears__option[aria-disabled='true'] { opacity: 0.5; cursor: default; }
.in-ears__radio { width: 16px; height: 16px; border: 1.5px solid var(--st-text-faint); border-radius: 50%; }
.in-ears__option[aria-checked='true'] .in-ears__radio { border-color: var(--st-accent); background: radial-gradient(var(--st-accent) 0 4px, transparent 4.5px); }
.in-ears__hint,
.in-ears__devices { grid-column: 2 / -1; color: var(--st-text-dim); font-weight: 400; }
.in-ears__devices { display: flex; flex-direction: column; gap: 6px; }
.in-ears__device { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border-radius: 8px; outline: 1px solid var(--st-line); background: var(--st-bg); color: var(--st-text); font-weight: 400; }
.in-ears__side { display: inline-flex; width: 18px; height: 18px; align-items: center; justify-content: center; border-radius: 4px; background: var(--st-surface-2); font: 700 10px/1 var(--st-font-mono); }
.in-ears__device[data-side='L'] .in-ears__side,
.in-ears__device[data-side='L'] .in-ears__device-icon { color: var(--st-stem-guide); }
.in-ears__device-icon { width: 14px; height: 14px; color: var(--st-text-dim); }
.in-ears__device-name { flex: 1; }
.in-ears__to { color: var(--st-text-faint); font: 400 11px/1 var(--st-font-mono); }
.in-ears__later { padding: 2px 6px; border-radius: 5px; outline: 1px solid var(--st-line); color: var(--st-text-faint); font: 500 10px/1 var(--st-font-mono); letter-spacing: 0.8px; text-transform: uppercase; }

/* ---- Dynamics (P116c: QfrvQ, OK1uO, k4XkMh, umrvc, M9WtHQ) ---------------------- */
/* The row is exactly as tall as every other track (--track-h). Inside it two sub-rows (hQo5G), centred: the
   section pills (18 px) on top and the dynamics (14 px) under them, --cue-gap apart (user: dynamics sit lower, clear of the pills). The ◆ line is always kept,
   so the first dynamic added moves nothing. Compact (40 px) leaves 3 px above and below. */
.mixer-track[data-channel='cues'] { --cue-gap: 12px; }
.mixer-timeline[data-track-height='compact'] .mixer-track[data-channel='cues'],
.mixer-timeline:not([data-track-height]) .mixer-track[data-channel='cues'] { --cue-gap: 2px; }
.mixer-timeline[data-track-height='tall'] .mixer-track[data-channel='cues'] { --cue-gap: 28px; }
.mixer-track[data-channel='cues'] .mixer-track__top { gap: 6px; }
/* The listbox lies over the whole lane; only its options take a press (a note's buttons stay reachable under it). */
.cue-lane__pills { position: absolute; inset: 0; pointer-events: none; }
.cue-pill,
.cue-dyn { pointer-events: auto; }
.cue-lane[data-state='cues'] .cue-pill,
.cue-lane[data-state='off'] .cue-pill { top: calc(50% - 16px - var(--cue-gap) / 2); }
/* All cues off, no dynamics: the note takes the ◆ line, under the muted pills (D167). */
.cue-lane[data-state='off'] .cue-lane__note { align-self: flex-end; height: calc(50% - 2px + var(--cue-gap) / 2); font-size: 12px; }
.cue-lane[data-state='off'] .cue-lane__note .st-btn { height: 18px; padding: 0 8px; font-size: 11.5px; }
/* A note's line is the pills' line when there are dynamics under it. */
.cue-lane[data-dyns='true'] .cue-lane__note { align-self: flex-start; height: calc(50% + 2px - var(--cue-gap) / 2); }
.cue-lane[data-dyns='true'] .cue-lane__note .st-btn { height: 20px; padding: 0 8px; font-size: 11.5px; }
.cue-lane[data-dyns='true'] .cue-lane__note { font-size: 12px; }
/* A narrow lane (1280 in Mixing: 216px) can't hold a note's text buttons: those with an icon go icon-only, square,
   named by their aria-label and tooltip (cue-lane.ts note()); the text ellipsises before anything overflows.
   [data-state] outranks the data-dyns padding above. */
@container cue-lane (max-width: 460px) {
  .cue-lane[data-state] .cue-lane__note .st-btn:has(> svg) { aspect-ratio: 1; padding: 0; justify-content: center; }
  .cue-lane__note .st-btn:has(> svg) .st-btn__label { display: none; }
}

.cue-dyn {
  position: absolute;
  top: calc(50% + 2px + var(--cue-gap) / 2);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 14px;
  padding: 0 3px 0 0;
  border-radius: 3px;
  color: var(--st-stem-guide);
  font: 700 9px/1 var(--st-font-mono);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  transform: translateX(-4px);
  /* Up to the next dynamic, so labels never overlap (cue-lane.ts sets --room). */
  max-width: calc(var(--room, 100%) - 2px);
}
/* A label with no room is cut with an ellipsis ("S…"); with no room even for that, it wraps onto a clipped
   second line and the ◆ shows alone. Its tooltip carries the name either way. */
.cue-dyn { flex-wrap: wrap; overflow: hidden; }
.cue-dyn__name { flex: 1 1 0; min-width: 2.4ch; overflow: hidden; text-overflow: ellipsis; line-height: 14px; }
.cue-dyn__icon,
.cue-chip__icon,
.cue-ghost__icon { width: 8px; height: 8px; flex: none; fill: currentColor; }
.cue-dyn[aria-selected='true'] { outline: 1px solid var(--st-stem-guide); outline-offset: 1px; }
.cue-lane__pills:not(:focus-visible) .cue-dyn[aria-selected='true'] { outline: 0; }
.cue-dyn[data-dragging] { opacity: 0.35; }
/* A silent dynamic is hatched and dimmed (umrvc). */
/* The label keeps its full contrast (CT1, 4.5:1); only the ◆ and the hatch are dimmed. */
.cue-dyn[data-flag='silent'] { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--st-stem-guide) 18%, transparent) 0 3px, transparent 3px 6px); }
.cue-dyn[data-flag='silent'] .cue-dyn__icon { fill: none; opacity: 0.55; }
.cue-lane__hidden { position: absolute; bottom: 0; left: 0; display: flex; align-items: center; gap: 6px; height: 18px; color: var(--st-text-faint); font: 400 11px/1 var(--st-font); }
.cue-lane__hidden .st-btn { height: 18px; padding: 0 6px; font-size: 11px; }
.cue-lane__hidden-icon { width: 12px; height: 12px; }
/* While a section is dragged on the Sections row (C28). */
.cue-lane__drag-hint { position: absolute; top: 2px; right: 0; z-index: 1; display: flex; align-items: center; gap: 4px; height: 18px; padding: 0 8px; border-radius: 9px; background: var(--st-popover-bg); outline: 1px solid var(--st-line); color: var(--st-text-dim); font: 500 11px/1 var(--st-font); pointer-events: none; }
.cue-lane__drag-hint .st-icon { width: 11px; height: 11px; }
/* The palette. */
.cue-palette { display: flex; flex-direction: column; gap: 10px; width: 440px; max-width: calc(100vw - 16px); padding: 14px 12px 12px; }
.cue-palette .cue-pop__title { display: flex; align-items: center; gap: 4px; }
.cue-palette__hint { margin: 2px 0 0; color: var(--st-text-faint); font: 400 11px/14px var(--st-font); }
.cue-palette[data-live] .cue-palette__hint { color: var(--st-stem-guide); font-weight: 600; }
.cue-palette__groups { display: flex; flex-direction: column; gap: 8px; }
.cue-palette__group { display: grid; grid-template-columns: 44px 1fr; align-items: start; gap: 8px; }
.cue-palette__title { padding-top: 7px; color: var(--st-text-faint); font: 700 9.5px/1 var(--st-font-mono); letter-spacing: 0.8px; text-transform: uppercase; }
.cue-palette__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cue-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 9px;
  border: 1px solid color-mix(in srgb, var(--st-stem-guide) 35%, transparent);
  border-radius: 13px;
  background: color-mix(in srgb, var(--st-stem-guide) 8%, transparent);
  color: var(--st-text);
  font: 500 12px/1 var(--st-font);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.cue-chip .cue-chip__icon { color: var(--st-stem-guide); }
.cue-chip:hover { background: color-mix(in srgb, var(--st-stem-guide) 16%, transparent); }
.cue-chip:focus-visible { outline: var(--st-focus-width) solid var(--st-focus-ring); outline-offset: 1px; }
.cue-chip[aria-pressed='true'] { border-color: var(--st-stem-guide); background: color-mix(in srgb, var(--st-stem-guide) 22%, transparent); }
.cue-chip[data-dragging] { opacity: 0.5; }
.cue-chip__count { min-width: 14px; padding: 2px 4px; border-radius: 7px; background: var(--st-surface-2); color: var(--st-text-dim); font: 600 10px/1 var(--st-font-mono); text-align: center; }
/* The drag ghost: where it lands after the snap, or that letting go deletes it. */
.cue-ghost {
  position: fixed;
  inset: auto;
  z-index: 60;
  margin: 0;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 8px;
  outline: 1px solid var(--st-stem-guide);
  background: var(--st-popover-bg);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--st-shadow) 60%, transparent);
  color: var(--st-text);
  font: 600 11px/1 var(--st-font-mono);
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, -100%);
}
.cue-ghost__icon { color: var(--st-stem-guide); }
.cue-ghost__voice { color: var(--st-stem-guide); text-transform: uppercase; }
.cue-ghost[data-over='false'],
.cue-ghost[data-free='false'] { outline-color: var(--st-error); }
.cue-ghost[data-over='false'] .cue-ghost__text,
.cue-ghost[data-free='false'] .cue-ghost__text { color: var(--st-error); }
/* A dynamic's popover. */
.cue-dyn-pop { --cue-color: var(--st-stem-guide); }
.cue-dyn-pop__nudge { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border: 0; border-radius: 7px; outline: 1px solid var(--st-line); outline-offset: -0.5px; background: none; color: var(--st-text-dim); cursor: pointer; }
.cue-dyn-pop__nudge:hover { background: var(--st-surface-2); color: var(--st-text); }
.cue-dyn-pop__nudge .st-icon { width: 14px; height: 14px; }
.cue-dyn-pop__clash { display: grid; grid-template-columns: 16px 1fr; gap: 6px 8px; align-items: start; padding: 10px; border-radius: 10px; outline: 1px solid color-mix(in srgb, var(--st-warn) 35%, transparent); outline-offset: -0.5px; background: color-mix(in srgb, var(--st-warn) 10%, transparent); font: 400 12px/16px var(--st-font); }
.cue-dyn-pop__clash .st-btn { grid-column: 2; justify-self: start; }
.cue-dyn-pop__clash-text { display: flex; flex-direction: column; gap: 2px; }
.cue-dyn-pop__clash-text span { color: var(--st-text-dim); }
.cue-dyn-pop__warn { width: 16px; height: 16px; color: var(--st-warn); }
.cue-dyn-pop__label { color: var(--st-text-faint); font: 700 9.5px/1 var(--st-font-mono); letter-spacing: 0.8px; text-transform: uppercase; }
.cue-dyn-pop .cue-pop__foot { align-items: center; }
.cue-dyn-pop__delete.st-btn { color: var(--st-error); }
/* The "…" menu's dynamics items. */
.cue-menu__rule { height: 1px; margin: 4px 0; border: 0; background: var(--st-line); }
.cue-menu__item--danger { color: var(--st-error); }
.cue-menu__item--danger .cue-menu__icon { color: var(--st-error); }
.cue-menu__confirm { display: flex; align-items: center; gap: 8px; padding: 6px 4px 6px 8px; font: 400 13px/16px var(--st-font); }
.cue-menu__confirm-text { flex: 1; }

/* Cues never print (D154). */
@media print {
  .mixer-track[data-channel='cues'],
  .cue-panel,
  .cue-ghost,
  .cue-toast { display: none !important; }
}
