/**
 * Workspace transport bar — page-player parity (zoom slider, scope icons, compact height).
 */

.workspace-transport-stack {
  position: relative;
  z-index: 48;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
}

.player-wrapper.video-viewport-host > .dashboard,
.workspace-left-stage-tail > .dashboard {
  position: relative;
  z-index: 1;
  overflow: visible !important;
}

.dashboard .control-console {
  /* Option D: compact islands */
  --ws-icon-size: 26px;
  --ws-icon-svg: 16px;
  --ws-console-pad-y: var(--console-pad-y, 6px);
  --ws-console-pad-x: var(--console-pad-x, 12px);
  --ws-cluster-gap: 5px;
  --ws-capsule-pad-y: 2px;
  --ws-capsule-pad-x: 3px;
  --ws-capsule-gap: 1px;
  --ws-timecode-font: 11px;
  --ws-timecode-pad-y: 3px;
  --ws-timecode-pad-x: 8px;
  --ws-zoom-track: 52px;
  --ws-zoom-btn-w: 16px;
  --ws-ai-font: 11px;
  --ws-ai-pad-y: 4px;
  --ws-ai-pad-x: 10px;
  --ws-ai-min-h: 26px;
  --ws-ai-slider: 80px;
  --ws-ai-cluster-gap: 6px;
  padding: var(--ws-console-pad-y) var(--ws-console-pad-x) !important;
  min-height: 0;
  overflow: visible !important;
  position: relative;
  z-index: 1;
  align-items: center;
}

.dashboard .console-left {
  display: flex;
  align-items: center;
  gap: var(--ws-cluster-gap);
  min-width: 0;
}

.dashboard .console-left .ws-focus-capsule {
  flex-shrink: 0;
}

.dashboard .icon-group-capsule.ws-timeline-zoom-wrap {
  gap: var(--ws-capsule-gap);
  padding: var(--ws-capsule-pad-y) 5px !important;
  height: auto;
  min-height: var(--ws-icon-size);
  position: relative;
  overflow: visible !important;
  flex-shrink: 0;
}

.dashboard .icon-group-capsule.ws-focus-capsule {
  padding: var(--ws-capsule-pad-y) !important;
  flex-shrink: 0;
}

#btn-focus-selection.active-blue {
  color: var(--cg-brand, #a3e635) !important;
  background: var(--cg-brand-dim, rgba(163, 230, 53, 0.12)) !important;
}

#btn-add-shot:hover,
#btn-add-photo:hover {
  background: rgba(182, 255, 56, 0.18) !important;
  color: var(--cg-brand, #a3e635) !important;
}

.dashboard .console-right {
  grid-column: 3;
  justify-self: end;
  display: flex !important;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  flex-shrink: 0;
  min-width: min-content;
  max-width: none;
  overflow: visible;
}

.dashboard .console-right .ai-config-area,
.dashboard .console-right #scoutBtn,
.dashboard .console-right #scoutResetBtn {
  flex-shrink: 0;
}

.dashboard .console-right .ai-config-area {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  flex-shrink: 0;
  min-width: min-content;
  overflow: visible;
}

.dashboard .premium-btn {
  position: relative;
  overflow: visible;
}

.dashboard .console-center {
  gap: var(--ws-cluster-gap) !important;
  min-width: 0;
}

.dashboard .icon-group-capsule {
  padding: var(--ws-capsule-pad-y) var(--ws-capsule-pad-x) !important;
  gap: var(--ws-capsule-gap) !important;
  overflow: visible !important;
  align-items: center;
}

.player-inspect-badge {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 12;
  padding: 4px 8px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
  font: 700 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.04em;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dashboard .icon-btn {
  width: var(--ws-icon-size) !important;
  height: var(--ws-icon-size) !important;
  border-radius: 4px !important;
  position: relative;
  overflow: visible !important;
  /* One idle color for fill + stroke icons (play / shot / photo included) */
  color: rgba(220, 225, 235, 0.84);
}

/* Browser focus ring reads as a harsh white stroke on dark chrome — kill it.
   Active (green) / hover already signal state; soft fill for keyboard :focus-visible. */
.dashboard .icon-btn:focus,
.dashboard .icon-btn:focus-visible,
.dashboard .ws-zoom-btn:focus,
.dashboard .ws-zoom-btn:focus-visible,
.dashboard .premium-btn:focus,
.dashboard .premium-btn:focus-visible,
.timeline-header .icon-btn:focus,
.timeline-header .icon-btn:focus-visible,
.timeline-header .ws-zoom-btn:focus,
.timeline-header .ws-zoom-btn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.dashboard .icon-btn:focus-visible:not(:hover):not(.active-blue),
.timeline-header .icon-btn:focus-visible:not(:hover):not(.active-blue) {
  background: rgba(255, 255, 255, 0.08);
}

.dashboard .icon-btn svg {
  width: var(--ws-icon-svg);
  height: var(--ws-icon-svg);
  display: block;
  fill: currentColor;
}

.dashboard .icon-btn.ws-stroke-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard .player-timecode {
  font-size: var(--ws-timecode-font) !important;
  padding: var(--ws-timecode-pad-y) var(--ws-timecode-pad-x) !important;
}

/* Timeline zoom — inside icon-group capsule */
.ws-timeline-zoom-wrap {
  display: inline-flex;
  align-items: center;
  gap: var(--ws-capsule-gap);
  height: var(--ws-icon-size);
  flex-shrink: 0;
}

.ws-zoom-btn {
  appearance: none;
  width: var(--ws-zoom-btn-w);
  height: var(--ws-icon-size);
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: rgba(245, 245, 247, 0.86);
  font: 800 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.ws-zoom-btn:hover {
  color: var(--cg-brand, #a3e635);
  background: var(--cg-brand-dim, rgba(163, 230, 53, 0.12));
}

.ws-zoom-slider {
  width: var(--ws-zoom-track);
  height: 12px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  accent-color: #fff;
}

.ws-zoom-slider::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 1.5px;
  background: rgba(255, 255, 255, 0.42);
}

.ws-zoom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  margin-top: -2.5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.ws-zoom-slider::-moz-range-track {
  height: 3px;
  border-radius: 1.5px;
  background: rgba(255, 255, 255, 0.42);
}

.ws-zoom-slider::-moz-range-thumb {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: #fff;
}

/* Scopes in transport */
.ws-scopes-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: visible;
  z-index: 5;
}

.dashboard .console-center .icon-group-capsule:has(.ws-scopes-wrap) {
  position: relative;
  z-index: 6;
}

.ws-timeline-zoom-wrap {
  position: relative;
  overflow: visible;
}

/* Tooltips — control bar opens upward (timeline sits below and clips downward copy) */
.dashboard .icon-btn[data-tooltip]::after,
.dashboard .premium-btn[data-tooltip]::after,
.dashboard .ws-timeline-zoom-wrap[data-tooltip]::after,
.dashboard .ws-focus-capsule [data-tooltip]::after,
.dashboard .ws-scopes-wrap [data-tooltip]::after {
  top: auto !important;
  bottom: calc(100% + 8px) !important;
  z-index: 8000 !important;
  transition: none !important;
  transition-delay: 0s !important;
}

.timeline-header .icon-btn[data-tooltip]::after,
.timeline-header .premium-btn[data-tooltip]::after,
.timeline-header .ws-timeline-zoom-wrap[data-tooltip]::after,
.timeline-header .ws-focus-btn[data-tooltip]::after,
.timeline-header #btn-timeline-marker[data-tooltip]::after,
.timeline-header #btn-timeline-snap[data-tooltip]::after {
  /* Below the control — paint over the ruler (chrome-row overflow must stay visible). */
  top: calc(100% + 6px) !important;
  bottom: auto !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  z-index: 9200 !important;
  transition: none !important;
  transition-delay: 0s !important;
}

.dashboard .icon-btn[data-tooltip]:hover::after,
.dashboard .premium-btn[data-tooltip]:hover::after,
.dashboard .ws-timeline-zoom-wrap[data-tooltip]:hover::after,
.dashboard .ws-focus-capsule [data-tooltip]:hover::after,
.dashboard .ws-scopes-wrap [data-tooltip]:hover::after,
.timeline-header .icon-btn[data-tooltip]:hover::after,
.timeline-header .premium-btn[data-tooltip]:hover::after,
.timeline-header .ws-timeline-zoom-wrap[data-tooltip]:hover::after,
.timeline-header .ws-focus-btn[data-tooltip]:hover::after,
.timeline-header #btn-timeline-marker[data-tooltip]:hover::after,
.timeline-header #btn-timeline-snap[data-tooltip]:hover::after {
  z-index: 9200 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Lift hovered header control above siblings so long tips aren't covered. */
.timeline-header-actions .timeline-header-tools:hover,
.timeline-header-actions .timeline-header-tools:focus-within,
.timeline-header-actions .icon-btn:hover,
.timeline-header-actions .ws-timeline-zoom-wrap:hover {
  z-index: 70;
}

/* Right-edge AI controls — anchor tooltip left so long copy isn't clipped */
.dashboard .console-right [data-tooltip]::after {
  left: auto !important;
  right: 0 !important;
  top: auto !important;
  bottom: calc(100% + 8px) !important;
  transform: none !important;
}

.ws-timeline-zoom-wrap[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(28, 28, 30, 0.96);
  color: #d1d1d6;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.ws-timeline-zoom-wrap[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
}

.ws-scopes-btn.is-active,
.ws-scopes-btn[aria-expanded='true'] {
  color: var(--cg-brand, #a3e635) !important;
  background: var(--cg-brand-dim, rgba(163, 230, 53, 0.12)) !important;
}

.ws-quick-export-wrap {
  position: relative;
  overflow: visible !important;
}

.ws-quick-export-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  top: auto;
  z-index: 9000;
  min-width: 132px;
  padding: 6px;
  border-radius: 10px;
  background: #2c2c2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.ws-quick-export-menu[hidden] {
  display: none !important;
}

.ws-quick-export-menu button {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: #f5f5f7;
  font-size: 12px;
  font-weight: 550;
  text-align: left;
  cursor: pointer;
}

.ws-quick-export-menu button:hover {
  background: rgba(163, 230, 53, 0.16);
}

.ws-quick-export-confirm {
  min-width: 168px;
  padding: 8px;
}

.ws-quick-export-confirm-msg {
  margin: 0 0 8px;
  padding: 2px 4px 6px;
  color: rgba(245, 245, 247, 0.78);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
}

.ws-quick-export-confirm-primary {
  background: rgba(163, 230, 53, 0.16) !important;
  color: var(--cg-brand, #a3e635) !important;
  font-weight: 650 !important;
}

.ws-quick-export-confirm-primary:hover {
  background: rgba(163, 230, 53, 0.24) !important;
}

#btn-quick-export[aria-expanded='true'] {
  color: var(--cg-brand, #a3e635) !important;
  background: var(--cg-brand-dim, rgba(163, 230, 53, 0.12)) !important;
}

#btn-quick-export[aria-expanded='true'][data-tooltip]::after {
  opacity: 0 !important;
  visibility: hidden !important;
}

.icon-btn.ws-quick-export-mark-hint {
  color: var(--cg-brand, #a3e635) !important;
  background: var(--cg-brand-dim, rgba(163, 230, 53, 0.12)) !important;
  box-shadow: 0 0 0 1px rgba(163, 230, 53, 0.35);
}

.color-scope-menu.ws-scopes-menu {
  position: absolute;
  right: 0;
  /*
   * Open downward: upward was clipped by the program surface (and covered by the
   * inpage parent video mirror). Shell/left overflow + z-index lift when open
   * keep the menu above the timeline stack (z-index 48).
   */
  top: calc(100% + 6px);
  bottom: auto;
  min-width: 108px;
  max-width: min(240px, calc(100vw - 16px));
  padding: 5px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 12, 0.42);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 8000;
}

/* Escape program-card clip and paint above .workspace-transport-stack while open */
.program-monitor-shell:has(#colorScopeMenu:not([hidden])) {
  overflow: visible !important;
  position: relative;
  z-index: 60;
}

.workspace-left:has(#colorScopeMenu:not([hidden])) {
  overflow: visible !important;
}

.color-scope-menu.ws-scopes-menu .color-scope-item {
  appearance: none;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.94);
  font: 500 11px/1.25 -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;
  padding: 7px 10px;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.12s ease, color 0.12s ease;
}

.color-scope-menu.ws-scopes-menu .color-scope-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.color-scope-menu.ws-scopes-menu .color-scope-item.active,
.color-scope-menu.ws-scopes-menu .color-scope-item.is-active {
  background: rgba(163, 230, 53, 0.28);
  color: #fff;
}

.color-scope-menu.ws-scopes-menu .color-scope-sep {
  height: 1px;
  margin: 3px 5px;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.color-scope-menu.ws-scopes-menu .color-scope-item-overlay {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 108px;
}

.color-scope-menu.ws-scopes-menu .color-scope-item-overlay .color-scope-item-label {
  flex: 1 1 auto;
  text-align: left;
}

.color-scope-menu.ws-scopes-menu .color-scope-item-overlay kbd {
  margin-left: auto;
  flex-shrink: 0;
  font: 600 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: rgba(235, 235, 245, 0.55);
  letter-spacing: 0.02em;
}

.color-scope-menu.ws-scopes-menu .color-scope-item-overlay.active,
.color-scope-menu.ws-scopes-menu .color-scope-item-overlay.is-active {
  background: rgba(10, 132, 255, 0.28);
  color: #fff;
}

.color-scope-menu.ws-scopes-menu .color-scope-item-overlay.active kbd,
.color-scope-menu.ws-scopes-menu .color-scope-item-overlay.is-active kbd {
  color: rgba(255, 255, 255, 0.78);
}

/* Workspace scopes float panel — page-player #cutgo-page-scopes parity */
#cutgo-workspace-scopes {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9200;
  width: 280px;
  height: 168px;
  box-sizing: border-box;
  padding: 5px 6px 6px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(16, 16, 20, 0.52);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.38);
  color: rgba(245, 245, 247, 0.92);
  font: 600 9px/1.2 -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;
  pointer-events: auto;
  user-select: none;
  backdrop-filter: blur(22px) saturate(1.45);
  -webkit-backdrop-filter: blur(22px) saturate(1.45);
}
#cutgo-workspace-scopes[hidden] {
  display: none !important;
}
#cutgo-workspace-scopes .cpscope-head {
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
  color: rgba(245, 245, 247, 0.9);
  cursor: grab;
  touch-action: none;
}
#cutgo-workspace-scopes.is-dragging .cpscope-head {
  cursor: grabbing;
}
#cutgo-workspace-scopes .cpscope-title-wrap {
  position: relative;
  flex-shrink: 0;
}
#cutgo-workspace-scopes .cpscope-title-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 245, 247, 0.96);
  font: inherit;
  font-size: 9px;
  font-weight: 750;
  line-height: 1;
  padding: 3px 6px 3px 7px;
  cursor: pointer;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
#cutgo-workspace-scopes .cpscope-title-label {
  pointer-events: none;
}
#cutgo-workspace-scopes .cpscope-title-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4.5px solid rgba(245, 245, 247, 0.82);
  margin-top: 1px;
  flex: 0 0 auto;
  pointer-events: none;
}
#cutgo-workspace-scopes .cpscope-title-btn:hover,
#cutgo-workspace-scopes .cpscope-title-btn.is-open {
  background: rgba(10, 132, 255, 0.22);
  border-color: rgba(10, 132, 255, 0.5);
  color: #fff;
}
#cutgo-workspace-scopes .cpscope-title-btn.is-open::after {
  border-top: none;
  border-bottom: 4.5px solid #fff;
  margin-top: 0;
  margin-bottom: 1px;
}
#cutgo-workspace-scopes .cpscope-mode-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  min-width: 88px;
  padding: 3px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(14, 14, 18, 0.88);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 1px;
  z-index: 4;
}
#cutgo-workspace-scopes .cpscope-mode-menu[hidden] {
  display: none !important;
}
#cutgo-workspace-scopes .cpscope-mode-opt {
  appearance: none;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: rgba(245, 245, 247, 0.86);
  font: inherit;
  font-size: 9px;
  font-weight: 650;
  padding: 5px 7px;
  text-align: left;
  cursor: pointer;
}
#cutgo-workspace-scopes .cpscope-mode-opt:hover {
  background: rgba(255, 255, 255, 0.08);
}
#cutgo-workspace-scopes .cpscope-mode-opt.is-active {
  background: rgba(10, 132, 255, 0.26);
  color: #fff;
}
#cutgo-workspace-scopes .cpscope-meta {
  margin-left: auto;
  color: rgba(235, 235, 245, 0.42);
  font-size: 8px;
  font-weight: 600;
  pointer-events: none;
}
#cutgo-workspace-scopes .cpscope-resize {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 22px;
  height: 22px;
  cursor: nwse-resize;
  touch-action: none;
  opacity: 0.7;
  z-index: 2;
}
#cutgo-workspace-scopes .cpscope-resize::before {
  content: '';
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(255, 255, 255, 0.72);
  border-bottom: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 0 0 2px 0;
}
#cutgo-workspace-scopes.is-dragging {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(16, 16, 20, 0.88);
}
#cutgo-workspace-scopes .cpscope-resize:hover {
  opacity: 0.92;
}
#cutgo-workspace-scopes .cpscope-close {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: rgba(235, 235, 245, 0.55);
  font: 700 12px/1 sans-serif;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
#cutgo-workspace-scopes .cpscope-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
#cutgo-workspace-scopes canvas {
  width: 100%;
  height: calc(100% - 20px);
  display: block;
  border-radius: 5px;
  background: rgba(4, 4, 6, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
#cutgo-workspace-scopes button:focus,
#cutgo-workspace-scopes button:focus-visible {
  outline: none;
}

/* Remove player-corner scope floating control */
.player-color-scope-ctrl {
  display: none !important;
}

#playerBox.is-inspect-active {
  cursor: grab;
}

#playerBox.is-inspect-active:active {
  cursor: grabbing;
}

/* AI sensitivity — solid rectangular filled track */
input.ws-ai-range {
  --sens-fill: 80%;
  width: var(--ws-ai-slider, 88px);
  height: 14px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  flex-shrink: 0;
}

.dashboard input.ws-ai-range {
  width: var(--ws-ai-slider);
}

input.ws-ai-range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 0;
  background: linear-gradient(
    to right,
    var(--cg-brand, #a3e635) 0%,
    var(--cg-brand, #a3e635) var(--sens-fill, 80%),
    rgba(255, 255, 255, 0.14) var(--sens-fill, 80%),
    rgba(255, 255, 255, 0.14) 100%
  );
}

input.ws-ai-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  margin-top: -3.5px;
  border: 0;
  border-radius: 50%;
  background: var(--cg-brand, #a3e635);
  box-shadow: 0 0 0 2px rgba(10, 10, 12, 0.88);
}

input.ws-ai-range::-moz-range-track {
  height: 4px;
  border-radius: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
}

input.ws-ai-range::-moz-range-progress {
  height: 4px;
  border-radius: 0;
  background: var(--cg-brand, #a3e635);
}

input.ws-ai-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: var(--cg-brand, #a3e635);
  box-shadow: 0 0 0 2px rgba(10, 10, 12, 0.88);
}

.dashboard #scoutBtn {
  padding: var(--ws-ai-pad-y) var(--ws-ai-pad-x) !important;
  font-size: var(--ws-ai-font) !important;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  overflow: visible;
  min-height: var(--ws-ai-min-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Quiet CTA: soft fill + outline, square radius — not solid green capsule */
  background: var(--cg-brand-dim, rgba(163, 230, 53, 0.14)) !important;
  border: 1px solid rgba(163, 230, 53, 0.45) !important;
  color: var(--cg-brand, #a3e635) !important;
  font-weight: 650 !important;
  border-radius: 5px !important;
  box-shadow: none !important;
}

.dashboard #scoutBtn:hover:not(:disabled) {
  background: rgba(163, 230, 53, 0.22) !important;
  border-color: rgba(163, 230, 53, 0.65) !important;
  color: var(--cg-brand-hover, #b8f04a) !important;
}

.dashboard #scoutBtn:disabled {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #555 !important;
}

.dashboard #scoutResultText {
  display: none !important;
}

.dashboard .ai-lab-bar {
  display: none !important;
}

/*
 * Responsive console — scale transport controls (timeline tools live in timeline header).
 * Base is already compact (26); steps only shrink further.
 */
@container ws-console (max-width: 980px) {
  .dashboard .control-console {
    --ws-icon-size: 25px;
    --ws-icon-svg: 15px;
    --ws-cluster-gap: 4px;
    --ws-zoom-track: 48px;
    --ws-ai-slider: 72px;
  }
}

@container ws-console (max-width: 880px) {
  .dashboard .control-console {
    --ws-icon-size: 24px;
    --ws-icon-svg: 15px;
    --ws-timecode-font: 10px;
    --ws-ai-font: 10px;
    --ws-ai-min-h: 24px;
    --ws-ai-slider: 60px;
    --ws-ai-pad-x: 9px;
  }
}

@container ws-console (max-width: 820px) {
  .dashboard .control-console {
    --ws-icon-size: 23px;
    --ws-icon-svg: 14px;
    --ws-cluster-gap: 4px;
    --ws-ai-slider: 56px;
  }

  .dashboard .console-center .icon-group-capsule:nth-child(4) {
    display: none;
  }
}

@container ws-console (max-width: 760px) {
  .dashboard .control-console {
    --ws-icon-size: 22px;
    --ws-icon-svg: 14px;
    --ws-ai-slider: 52px;
    --ws-ai-cluster-gap: 5px;
  }

  .dashboard .console-center .icon-group-capsule:nth-child(3) {
    display: none;
  }
}

@container ws-console (max-width: 700px) {
  .dashboard .control-console {
    --ws-icon-size: 22px;
    --ws-icon-svg: 14px;
    --ws-timecode-pad-x: 6px;
    --ws-ai-pad-x: 8px;
    --ws-ai-slider: 48px;
  }

  .dashboard .console-center .icon-group-capsule:nth-child(1) {
    display: none;
  }
}

@container ws-console (max-width: 620px) {
  .dashboard .control-console {
    --ws-icon-size: 22px;
    --ws-ai-slider: 44px;
    --ws-ai-pad-x: 7px;
  }

  .dashboard .console-center #btn-prev-frame,
  .dashboard .console-center #btn-next-frame {
    display: none;
  }
}

:root[data-density='compact'] .dashboard .control-console {
  --ws-console-pad-y: var(--console-pad-y, 6px);
  --ws-console-pad-x: var(--console-pad-x, 10px);
  --ws-cluster-gap: 5px;
  --ws-icon-size: 26px;
  --ws-icon-svg: 16px;
}

@container ws-console (max-width: 1040px) {
  :root[data-density='compact'] .dashboard .control-console {
    --ws-icon-size: 25px;
    --ws-icon-svg: 17px;
  }
}

@container ws-console (max-width: 920px) {
  :root[data-density='compact'] .dashboard .control-console {
    --ws-icon-size: 24px;
    --ws-icon-svg: 17px;
  }
}

@container ws-console (max-width: 820px) {
  :root[data-density='compact'] .dashboard .control-console {
    --ws-icon-size: 23px;
    --ws-icon-svg: 16px;
  }
}

@container ws-console (max-width: 700px) {
  :root[data-density='compact'] .dashboard .control-console {
    --ws-icon-size: 22px;
    --ws-icon-svg: 16px;
  }
}
