/* Decorative shell light only. Never filters a chart, text, label or control. */
body[data-aurora-glow="on"] :is(.app-header, .topbar) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: radial-gradient(ellipse at 24% -80%, rgb(92 224 189 / .34), transparent 65%), radial-gradient(ellipse at 75% 180%, rgb(150 125 245 / .24), transparent 65%), linear-gradient(110deg, #113e3d, #142a41 65%, #27273e);
  border-bottom-color: #568893;
}
body[data-aurora-glow="on"] :is(.app-header, .topbar)::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: -110px -12%;
  background: radial-gradient(ellipse at 22% 42%, rgb(64 239 185 / .25), transparent 38%), radial-gradient(ellipse at 70% 61%, rgb(150 119 245 / .23), transparent 36%), radial-gradient(ellipse at 88% 18%, rgb(70 176 225 / .16), transparent 35%);
  animation: aurora-wave 28s ease-in-out -7s infinite alternate;
  animation-play-state: var(--aurora-play-state, paused);
}
body[data-aurora-motion="running"] [data-aurora-visible="true"] { --aurora-play-state: running; }
@keyframes aurora-wave {
  0% { transform: translate3d(-10%, -3%, 0) rotate(-7deg) scale(1.03, .86); opacity: .66; }
  50% { transform: translate3d(2%, 3%, 0) rotate(1deg) scale(.96, 1.12); opacity: 1; }
  100% { transform: translate3d(10%, -1%, 0) rotate(6deg) scale(1.06, .94); opacity: .76; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-aurora-glow="on"] :is(.app-header, .topbar)::before { animation: none; }
}
body[data-aurora-glow="on"] :is(.workspace > main, .main-panel) {
  background-image: radial-gradient(ellipse 580px 280px at 3% 0%, rgb(67 199 169 / .08), transparent 75%), radial-gradient(ellipse 540px 320px at 98% 14%, rgb(135 119 231 / .065), transparent 75%);
}
body[data-aurora-glow="on"] .chart-panel {
  box-shadow: -12px -8px 38px -27px rgb(92 224 189 / .45), 12px 14px 42px -28px rgb(130 119 238 / .38);
}
[data-aurora-toggle] { white-space: nowrap; }
[data-aurora-toggle][aria-pressed="true"] { border-color: #4a7d7a; color: #a9efda; }
