/* The trading cockpit has its own semantic spectrum. Site theme updates must
   not recolor its market candles, signal states, or animated system lights. */
html body.evrfr-rebuilt .dwqa-slot.dwqa-slot {
  border-color: rgba(109, 193, 255, .28) !important;
  background: radial-gradient(circle at 83% 12%, rgba(114, 72, 210, .22), transparent 29%),
    radial-gradient(circle at 12% 75%, rgba(18, 193, 211, .17), transparent 32%),
    linear-gradient(150deg, #071428, #111a37 55%, #071720) !important;
  box-shadow: 0 22px 48px rgba(6, 13, 31, .3), inset 0 1px 0 rgba(255, 255, 255, .09) !important;
  color: #eaf1ff !important;
}

html body.evrfr-rebuilt .dwqa-slot .dwqa-logo.dwqa-logo {
  background: linear-gradient(135deg, #1de0d2, #496fe6 53%, #a259f1) !important;
  box-shadow: 0 12px 32px rgba(73, 111, 230, .34), 0 0 23px rgba(29, 224, 210, .2) !important;
}

html body.evrfr-rebuilt .dwqa-slot :where(.dwqa-pulse, .dwqa-kpi, .dwqa-chart, .dwqa-log) {
  border-color: rgba(134, 164, 255, .2) !important;
  background: linear-gradient(145deg, rgba(9, 22, 42, .76), rgba(7, 18, 34, .66)) !important;
}

/* The page-wide white-text rule would otherwise erase blue, violet, amber,
   and red signal labels inside the cockpit, especially on WebKit mobile. */
html body.evrfr-rebuilt .dwqa-slot .dwqa-engine :where(span, strong, small, b, em, label) {
  -webkit-text-fill-color: currentColor !important;
}
html body.evrfr-rebuilt .dwqa-slot .evraf-scan-head em,
html body.evrfr-rebuilt .dwqa-slot .evraf-scan-groups span.is-active {
  color: #e2bdff !important;
}
html body.evrfr-rebuilt .dwqa-slot .evraf-scan-groups span:not(.is-active) {
  color: #a4b4cf !important;
}
html body.evrfr-rebuilt .dwqa-slot .evraf-scan-main > span,
html body.evrfr-rebuilt .dwqa-slot .evraf-engine-feed-track b {
  color: #7de6cf !important;
}
html body.evrfr-rebuilt .dwqa-slot .evraf-scan-main small,
html body.evrfr-rebuilt .dwqa-slot .evraf-scan-metrics > span,
html body.evrfr-rebuilt .dwqa-slot .evraf-heatmap-wrap small {
  color: #9fb1c8 !important;
}
html body.evrfr-rebuilt .dwqa-slot .evraf-scan-metrics b,
html body.evrfr-rebuilt .dwqa-slot .evraf-scan-main strong {
  color: #edf5ff !important;
}
html body.evrfr-rebuilt .dwqa-slot .evraf-aurora-head em,
html body.evrfr-rebuilt .dwqa-slot .evraf-sentiment span,
html body.evrfr-rebuilt .dwqa-slot .evraf-aurora-leds span {
  color: #a6c9ee !important;
}
html body.evrfr-rebuilt .dwqa-slot .evraf-sentiment b.is-bull { color: #8bffd2 !important; }
html body.evrfr-rebuilt .dwqa-slot .evraf-sentiment b.is-neutral { color: #b9d7f2 !important; }
html body.evrfr-rebuilt .dwqa-slot .evraf-sentiment b.is-caution { color: #ffe39a !important; }
html body.evrfr-rebuilt .dwqa-slot .evraf-sentiment b.is-bear { color: #ff9eb5 !important; }
html body.evrfr-rebuilt .dwqa-slot .evraf-engine-feed-track span:nth-child(2) { color: #d9b7ff !important; }
html body.evrfr-rebuilt .dwqa-slot .evraf-engine-feed-track span:nth-child(3) { color: #ffdc87 !important; }
html body.evrfr-rebuilt .dwqa-slot .evraf-engine-feed-track span:nth-child(4) { color: #8ee9ff !important; }
html body.evrfr-rebuilt .dwqa-slot .evraf-chart-hud-body small { color: #9ec0d9 !important; }
html body.evrfr-rebuilt .dwqa-slot .evraf-chart-hud-body span { color: #73efc0 !important; }
html body.evrfr-rebuilt .dwqa-slot .evraf-chart-hud.is-reading .evraf-chart-hud-body span { color: #8fddff !important; }
html body.evrfr-rebuilt .dwqa-slot .evraf-chart-hud.is-fail .evraf-chart-hud-body span { color: #ff8d8d !important; }
html body.evrfr-rebuilt .dwqa-slot .evraf-chart-hud.is-lock .evraf-chart-hud-body span { color: #ffe29a !important; }
html body.evrfr-rebuilt .dwqa-slot .evrfr-entry-lock.evraf-existing-scheduled-lock :where(small, strong) {
  color: #fff0b5 !important;
  -webkit-text-fill-color: currentColor !important;
}

/* Separate running indicators by function, while standby keeps its amber
   state and error/entry signals retain red/gold semantics. */
.evraf-ai-console.is-running .evraf-console-chip:nth-child(2) i {
  background: #66caff;
  box-shadow: 0 0 11px rgba(102, 202, 255, .76);
}
.evraf-ai-console.is-running .evraf-console-chip:nth-child(3) i {
  background: #ca82ff;
  box-shadow: 0 0 11px rgba(202, 130, 255, .76);
}
.evraf-ai-console.is-running .evraf-wave i:nth-child(3n + 2) {
  background: linear-gradient(180deg, #8ce0ff, #7775ff);
}
.evraf-ai-console.is-running .evraf-wave i:nth-child(4n) {
  background: linear-gradient(180deg, #ffd680, #f86dcf);
}
.dwqa-engine .evraf-neural-bars i:nth-child(3n + 2) {
  background: linear-gradient(180deg, #8de4ff, #5275ff);
}
.dwqa-engine .evraf-neural-bars i:nth-child(4n) {
  background: linear-gradient(180deg, #ffd47e, #fa73d3);
}

html body.evrfr-rebuilt .dw-card.evraf-ai-panel-shell .evraf-ai-console :where(span, strong, small, b) {
  -webkit-text-fill-color: currentColor !important;
}
html body.evrfr-rebuilt .dw-card.evraf-ai-panel-shell .evraf-ai-console.is-running .evraf-ai-status-main {
  -webkit-text-fill-color: transparent !important;
}
