/* ============================================================
   APEX MOTION ENGINE — VOICE COMMAND CENTER
   voice-center.css
   Cool-spectrum ONLY. No red. No green. No amber. No orange.
   No yellow. No magenta. No pink.
   Forbidden: filter:blur animation, backdrop-filter animation
   Required: autoAlpha, force3D, will-change:transform on animated els
   ============================================================ */

/* ============================================================
   MIC CHIP — floating bottom-right trigger
   ============================================================ */
.vc-chip {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0a0c1e;
  border: 1px solid rgba(122, 115, 255, .32);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  will-change: transform;
  -webkit-font-smoothing: antialiased;
  /* No box-shadow animation — GSAP handles hover glow */
  box-shadow:
    0 0 0 0 rgba(122, 115, 255, 0),
    0 4px 24px rgba(0, 0, 0, .55);
  transition: border-color .2s ease;
  /* Pulse ring driven by CSS animation (static, not animated blur) */
  overflow: visible;
}

.vc-chip:focus-visible {
  outline: 2px solid rgba(122, 115, 255, .6);
  outline-offset: 3px;
}

/* Pulse ring — separate element, not a box-shadow animation on chip */
.vc-chip-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px solid rgba(122, 115, 255, .28);
  animation: vc-pulse-idle 3s ease-in-out infinite;
  will-change: transform, opacity;
  pointer-events: none;
}

@keyframes vc-pulse-idle {
  0%, 100% { transform: scale(1);    opacity: .55; }
  50%       { transform: scale(1.18); opacity: .18; }
}

/* Recording-state: chip border brightens, ring is PURPLE */
.vc-chip.is-recording {
  border-color: rgba(122, 115, 255, .72);
}
.vc-chip.is-recording .vc-chip-ring {
  border-color: rgba(122, 115, 255, .6);
  animation: vc-pulse-rec 1.8s ease-in-out infinite;
}
@keyframes vc-pulse-rec {
  0%, 100% { transform: scale(1);    opacity: .8; }
  50%       { transform: scale(1.26); opacity: .3; }
}

/* Outer ring — only visible while recording */
.vc-chip-ring-outer {
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 1px solid rgba(122, 115, 255, .22);
  opacity: 0;
  will-change: transform, opacity;
  pointer-events: none;
  animation: none;
}
.vc-chip.is-recording .vc-chip-ring-outer {
  animation: vc-pulse-outer 2.4s ease-in-out infinite .4s;
}
@keyframes vc-pulse-outer {
  0%, 100% { transform: scale(1);    opacity: .4; }
  50%       { transform: scale(1.15); opacity: .1; }
}

/* Mic SVG icon */
.vc-chip-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  will-change: transform;
}
.vc-chip-icon svg {
  fill: #b8b3ff;
  transition: fill .2s ease;
  display: block;
}
.vc-chip.is-recording .vc-chip-icon svg {
  fill: #d4d0ff;
}

/* Waveform bars — tiny, around mic icon, only while recording */
.vc-chip-wave {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.vc-chip.is-recording .vc-chip-wave {
  opacity: 1;
}
.vc-chip-wave-bar {
  width: 2px;
  border-radius: 1px;
  background: rgba(122, 115, 255, .55);
  will-change: transform;
  transform-origin: center bottom;
}
.vc-chip-wave-bar:nth-child(1) { height: 5px; animation: vc-wave-bar 1.1s ease-in-out infinite 0.0s; }
.vc-chip-wave-bar:nth-child(2) { height: 8px; animation: vc-wave-bar 1.1s ease-in-out infinite 0.15s; }
.vc-chip-wave-bar:nth-child(3) { height: 12px; animation: vc-wave-bar 1.1s ease-in-out infinite 0.3s; }
.vc-chip-wave-bar:nth-child(4) { height: 8px; animation: vc-wave-bar 1.1s ease-in-out infinite 0.45s; }
.vc-chip-wave-bar:nth-child(5) { height: 5px; animation: vc-wave-bar 1.1s ease-in-out infinite 0.6s; }
@keyframes vc-wave-bar {
  0%, 100% { transform: scaleY(.45); }
  50%       { transform: scaleY(1); }
}

/* ============================================================
   RECORDING WINDOW — slides in from right
   ============================================================ */
.vc-window {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 199;
  width: 480px;
  height: 100vh;
  height: 100dvh;
  background: rgba(10, 12, 30, .94);
  /* backdrop-filter STATIC — never animate this */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(122, 115, 255, .18);
  display: flex;
  flex-direction: column;
  font-family: 'Inter Tight', sans-serif;
  -webkit-font-smoothing: antialiased;
  /* Starts off-screen; GSAP drives x */
  transform: translateX(100%);
  will-change: transform;
  overflow: hidden;
}

/* Window open state is handled by GSAP, not a CSS class */

/* ============================================================
   WINDOW HEADER
   ============================================================ */
.vc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 16px;
  border-bottom: 1px solid rgba(122, 115, 255, .12);
  flex-shrink: 0;
}

.vc-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vc-header-title {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #a4a9bd;
}

/* Live indicator dot */
.vc-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4f7dff;
  opacity: .4;
  flex-shrink: 0;
  transition: opacity .3s ease, background .3s ease;
}
.vc-live-dot.is-live {
  background: #7a73ff;
  opacity: 1;
  animation: vc-dot-blink 1.4s ease-in-out infinite;
}
@keyframes vc-dot-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .45; }
}

.vc-close-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid rgba(122, 115, 255, .18);
  color: #7a8094;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  font-family: 'Inter Tight', sans-serif;
  line-height: 1;
  will-change: transform;
}
.vc-close-btn:hover {
  background: rgba(122, 115, 255, .1);
  border-color: rgba(122, 115, 255, .32);
  color: #b8b3ff;
}

/* ============================================================
   LIVE TRANSCRIPT AREA (~25% height)
   ============================================================ */
.vc-transcript-section {
  flex: 0 0 auto;
  height: 22%;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(122, 115, 255, .1);
  overflow: hidden;
}

.vc-section-label {
  padding: 10px 20px 6px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(122, 115, 255, .55);
  flex-shrink: 0;
}

.vc-transcript-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 4px 20px 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(122, 115, 255, .2) transparent;
}
.vc-transcript-scroll::-webkit-scrollbar {
  width: 3px;
}
.vc-transcript-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.vc-transcript-scroll::-webkit-scrollbar-thumb {
  background: rgba(122, 115, 255, .2);
  border-radius: 2px;
}

.vc-transcript-text {
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  color: #c2c7d9;
  min-height: 1.65em;
}
.vc-transcript-text .interim {
  color: rgba(194, 199, 217, .5);
  font-style: italic;
}
.vc-transcript-text .boundary-marker {
  display: inline-block;
  width: 1px;
  height: 0.85em;
  background: rgba(122, 115, 255, .45);
  margin: 0 4px;
  vertical-align: middle;
  animation: vc-blink-cursor 1s step-end infinite;
}
@keyframes vc-blink-cursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* silence countdown indicator */
.vc-silence-bar {
  height: 2px;
  background: rgba(122, 115, 255, .12);
  margin: 0 20px 8px;
  border-radius: 1px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.vc-silence-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #7a73ff, #4f7dff);
  border-radius: 1px;
  width: 0%;
  transition: width .12s linear;
}

/* ============================================================
   THOUGHT STACK AREA (~50% height)
   ============================================================ */
.vc-stack-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-bottom: 1px solid rgba(122, 115, 255, .1);
  overflow: hidden;
}

.vc-stack-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 8px 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(122, 115, 255, .2) transparent;
}
.vc-stack-scroll::-webkit-scrollbar {
  width: 3px;
}
.vc-stack-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.vc-stack-scroll::-webkit-scrollbar-thumb {
  background: rgba(122, 115, 255, .2);
  border-radius: 2px;
}

/* Empty state */
.vc-stack-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 8px;
  opacity: .45;
  pointer-events: none;
}
.vc-stack-empty-icon {
  width: 28px;
  height: 28px;
  opacity: .4;
}
.vc-stack-empty-text {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7a8094;
}

/* Thought card */
.vc-thought-card {
  background: rgba(122, 115, 255, .04);
  border: 1px solid rgba(122, 115, 255, .14);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: default;
  will-change: transform, opacity;
  transition: border-color .2s ease;
  flex-shrink: 0;
}
.vc-thought-card:hover {
  border-color: rgba(122, 115, 255, .28);
}

.vc-thought-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.vc-thought-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  color: rgba(122, 115, 255, .6);
  flex-shrink: 0;
  padding-top: 1px;
}
.vc-thought-text {
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px;
  font-weight: 450;
  line-height: 1.5;
  color: #c2c7d9;
  flex: 1;
  word-break: break-word;
}
.vc-thought-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* Status pill */
.vc-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px 3px 6px;
  border-radius: 100px;
  border: 1px solid transparent;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  will-change: transform;
}
.vc-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* QUEUED — #7a73ff */
.vc-status-pill.queued {
  background: rgba(122, 115, 255, .1);
  border-color: rgba(122, 115, 255, .25);
  color: #7a73ff;
}
.vc-status-pill.queued .vc-status-dot {
  background: #7a73ff;
}

/* BUILDING — #4f7dff with animated ring */
.vc-status-pill.building {
  background: rgba(79, 125, 255, .1);
  border-color: rgba(79, 125, 255, .3);
  color: #4f7dff;
  animation: vc-building-pulse 1.6s ease-in-out infinite;
}
.vc-status-pill.building .vc-status-dot {
  background: #4f7dff;
  animation: vc-dot-spin 1s linear infinite;
}
@keyframes vc-building-pulse {
  0%, 100% { border-color: rgba(79, 125, 255, .3); }
  50%       { border-color: rgba(79, 125, 255, .6); }
}
@keyframes vc-dot-spin {
  0%   { box-shadow: 0 -3px 0 #4f7dff, 3px 0 0 transparent; }
  25%  { box-shadow: 3px 0 0 #4f7dff, 0 3px 0 transparent; }
  50%  { box-shadow: 0 3px 0 #4f7dff, -3px 0 0 transparent; }
  75%  { box-shadow: -3px 0 0 #4f7dff, 0 -3px 0 transparent; }
  100% { box-shadow: 0 -3px 0 #4f7dff, 3px 0 0 transparent; }
}

/* SHIPPED — #a8a3ff */
.vc-status-pill.shipped {
  background: rgba(168, 163, 255, .1);
  border-color: rgba(168, 163, 255, .3);
  color: #a8a3ff;
}
.vc-status-pill.shipped .vc-status-dot {
  background: #a8a3ff;
  box-shadow: 0 0 5px rgba(168, 163, 255, .55);
}

/* FAILED — #697386 muted obsidian, NOT a warm/bright color */
.vc-status-pill.failed {
  background: rgba(105, 115, 134, .1);
  border-color: rgba(105, 115, 134, .25);
  color: #697386;
}
.vc-status-pill.failed .vc-status-dot {
  background: #697386;
}

/* Worker progress text inside the card */
.vc-worker-progress {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8px;
  color: rgba(79, 125, 255, .7);
  letter-spacing: .06em;
}
.vc-shipped-link {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8px;
  color: rgba(168, 163, 255, .7);
  text-decoration: none;
  letter-spacing: .06em;
  cursor: pointer;
  transition: color .2s ease;
}
.vc-shipped-link:hover {
  color: #a8a3ff;
  text-decoration: underline;
}

/* Retry button for failed thoughts */
.vc-retry-btn {
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(105, 115, 134, .35);
  background: rgba(105, 115, 134, .08);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #697386;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.vc-retry-btn:hover {
  background: rgba(122, 115, 255, .1);
  border-color: rgba(122, 115, 255, .3);
  color: #b8b3ff;
}

/* Category guess tag */
.vc-cat-tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8px;
  letter-spacing: .08em;
  color: rgba(168, 163, 255, .45);
  text-transform: uppercase;
}

/* Thought card — command flash style (command fired, not queued) */
.vc-thought-card.is-command {
  background: rgba(79, 125, 255, .06);
  border-color: rgba(79, 125, 255, .2);
  opacity: .7;
}
.vc-thought-card.is-command .vc-thought-text {
  color: #7a9fff;
  font-style: italic;
}

/* Chain marker */
.vc-chain-badge {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(168, 163, 255, .12);
  border: 1px solid rgba(168, 163, 255, .22);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .08em;
  color: #a8a3ff;
  text-transform: uppercase;
}

/* ============================================================
   LIVE PREVIEW AREA (~25% height)
   ============================================================ */
.vc-preview-section {
  flex: 0 0 auto;
  height: 22%;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(122, 115, 255, .1);
  overflow: hidden;
}

.vc-preview-frame-wrap {
  flex: 1;
  position: relative;
  overflow: hidden;
  margin: 0 20px 12px;
  border-radius: 6px;
  border: 1px solid rgba(122, 115, 255, .12);
  background: rgba(6, 8, 26, .8);
}

.vc-preview-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  opacity: 0;
  transition: opacity .35s ease;
}
.vc-preview-iframe.is-loaded {
  opacity: 1;
}

/* Awaiting factory overlay */
.vc-preview-await {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(6, 8, 26, .85);
  transition: opacity .35s ease;
  pointer-events: none;
}
.vc-preview-await.is-hidden {
  opacity: 0;
}
.vc-preview-await-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(122, 115, 255, .45);
  animation: vc-preview-pulse 2.4s ease-in-out infinite;
}
@keyframes vc-preview-pulse {
  0%, 100% { opacity: .45; }
  50%       { opacity: .9; }
}
.vc-preview-await-ring {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(122, 115, 255, .3);
  border-top-color: rgba(122, 115, 255, .8);
  animation: vc-spin 1.4s linear infinite;
}
@keyframes vc-spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   FOOTER CONTROLS
   ============================================================ */
.vc-footer {
  flex-shrink: 0;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(122, 115, 255, .1);
}

.vc-btn {
  flex: 1;
  height: 36px;
  border-radius: 7px;
  border: 1px solid rgba(122, 115, 255, .22);
  background: rgba(122, 115, 255, .06);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #a4a9bd;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  will-change: transform;
}
.vc-btn:hover {
  background: rgba(122, 115, 255, .12);
  border-color: rgba(122, 115, 255, .38);
  color: #b8b3ff;
}
.vc-btn.stop-recording {
  background: rgba(79, 125, 255, .1);
  border-color: rgba(79, 125, 255, .3);
  color: #4f7dff;
}
.vc-btn.stop-recording:hover {
  background: rgba(79, 125, 255, .2);
  border-color: rgba(79, 125, 255, .5);
  color: #7aa3ff;
}
.vc-btn.start-recording {
  background: rgba(122, 115, 255, .12);
  border-color: rgba(122, 115, 255, .4);
  color: #b8b3ff;
}
.vc-btn.start-recording:hover {
  background: rgba(122, 115, 255, .22);
  border-color: rgba(122, 115, 255, .58);
  color: #d4d0ff;
}
.vc-btn-export {
  background: rgba(168, 163, 255, .06);
  border-color: rgba(168, 163, 255, .2);
  color: rgba(168, 163, 255, .65);
}
.vc-btn-export:hover {
  background: rgba(168, 163, 255, .14);
  border-color: rgba(168, 163, 255, .4);
  color: #a8a3ff;
}

/* ============================================================
   COMMAND TOAST — brief flash when voice command fires
   ============================================================ */
.vc-cmd-toast {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 201;
  padding: 7px 14px;
  border-radius: 8px;
  background: rgba(10, 12, 30, .92);
  border: 1px solid rgba(79, 125, 255, .35);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #4f7dff;
  backdrop-filter: blur(12px);
  will-change: transform, opacity;
  opacity: 0;
  transform: translateY(6px) scale(.97);
  pointer-events: none;
}

/* ============================================================
   COMMAND TOAST when window is open — moves above footer
   ============================================================ */
.vc-window-open .vc-cmd-toast {
  right: 500px;
}

/* ============================================================
   ACCESSIBILITY / REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .vc-chip-ring,
  .vc-chip-ring-outer,
  .vc-chip-wave-bar,
  .vc-live-dot.is-live,
  .vc-status-pill.building,
  .vc-preview-await-ring {
    animation: none !important;
  }
  .vc-chip,
  .vc-window,
  .vc-thought-card,
  .vc-btn {
    transition: none !important;
  }
}

/* ============================================================
   LEVEL 12 — OVERNIGHT BRIEF MODE
   Cool-spectrum only. No red, green, amber, orange, yellow.
   Toggle design: matte obsidian track, violet knob on active.
   ============================================================ */

/* Row container: full-width separator above the toggle row */
.vc-overnight-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 0 4px;
  border-top: 1px solid rgba(122, 115, 255, .12);
  margin-top: 4px;
}

/* Label group */
.vc-overnight-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.vc-overnight-label-text {
  font-family: var(--font-body, 'Inter Tight', sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #b8b3ff;
}

.vc-overnight-label-hint {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 9px;
  color: rgba(122, 115, 255, .45);
  letter-spacing: .04em;
  text-transform: none;
}

/* Toggle button — pill switch */
.vc-overnight-toggle {
  position: relative;
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background: #1a1f36;                   /* obsidian track — off state */
  border: 1px solid rgba(122, 115, 255, .22);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background .2s ease, border-color .2s ease;
  will-change: transform;
}

.vc-overnight-toggle:focus-visible {
  outline: 2px solid rgba(122, 115, 255, .6);
  outline-offset: 2px;
}

/* Knob */
.vc-overnight-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(122, 115, 255, .45);  /* muted violet — off state */
  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1),
              background .2s ease;
  will-change: transform;
}

/* Active (on) state */
.vc-overnight-toggle.is-active {
  background: rgba(99, 91, 255, .22);
  border-color: rgba(122, 115, 255, .55);
  box-shadow: 0 0 8px rgba(122, 115, 255, .18);
}

.vc-overnight-toggle.is-active .vc-overnight-toggle-knob {
  transform: translateX(18px);
  background: #7a73ff;                   /* vivid violet — on state */
  box-shadow: 0 0 6px rgba(122, 115, 255, .45);
}

/* Submit Brief button — appears only in overnight mode */
.vc-btn-overnight-submit {
  width: 100%;
  background: rgba(99, 91, 255, .18);
  border: 1px solid rgba(122, 115, 255, .35);
  color: #b8b3ff;
  font-weight: 600;
  letter-spacing: .06em;
}

.vc-btn-overnight-submit:hover {
  background: rgba(99, 91, 255, .32);
  border-color: rgba(122, 115, 255, .6);
  color: #cdd2ff;
}

.vc-btn-overnight-submit:active {
  transform: scale(.98);
}
