/* Elev8+ marketing motion — premium, process-first, reduced-motion safe. */

:root {
  --e8m-navy: #061225;
  --e8m-cyan: #38bdf8;
  --e8m-teal: #34d399;
  --e8m-blue: #60a5fa;
}

.e8m-reveal {
  animation: e8m-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.e8m-reveal[data-delay="1"] { animation-delay: 0.08s; }
.e8m-reveal[data-delay="2"] { animation-delay: 0.16s; }
.e8m-reveal[data-delay="3"] { animation-delay: 0.24s; }
.e8m-reveal[data-delay="4"] { animation-delay: 0.32s; }

@keyframes e8m-rise {
  to { opacity: 1; transform: translateY(0); }
}

.e8m-aurora,
.e8m-grid-drift,
.e8m-scan,
.e8m-candle,
.e8m-pulse-dot,
.e8m-chip,
.e8m-decision,
.e8m-shine::after,
.e8m-ticker-track {
  will-change: transform, opacity;
}

.e8m-aurora {
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  pointer-events: none;
  background:
    radial-gradient(42% 55% at 18% 40%, rgba(56, 189, 248, 0.22), transparent 70%),
    radial-gradient(38% 50% at 82% 30%, rgba(52, 211, 153, 0.18), transparent 72%),
    radial-gradient(30% 40% at 50% 80%, rgba(96, 165, 250, 0.12), transparent 70%);
  filter: blur(8px);
  animation: e8m-aurora 14s ease-in-out infinite alternate;
}

/* Decorative motion must stay inside its hero, including narrow screens. */
[data-e8m-hero] { position: relative; overflow: hidden; overflow: clip; }
.e8g-frame--board .e8g-chrome { flex-wrap: wrap; }
.e8g-frame--board .e8g-live { white-space: normal; }

@keyframes e8m-aurora {
  from { transform: translate3d(-2%, -1%, 0) scale(1); opacity: 0.85; }
  to { transform: translate3d(3%, 3%, 0) scale(1.06); opacity: 1; }
}

.e8m-grid-drift {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 18%, transparent 72%);
  animation: e8m-grid 22s linear infinite;
}

@keyframes e8m-grid {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 28px, 28px 0; }
}

.e8m-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.e8m-hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

nav.e8m-nav {
  transition: background-color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
nav.e8m-nav.is-over-hero {
  background: rgba(2, 6, 23, 0.78) !important;
  border-bottom-color: rgba(148, 163, 184, 0.14) !important;
  box-shadow: none;
}
nav.e8m-nav.is-over-hero a.text-slate-600 {
  color: #cbd5e1 !important;
}
nav.e8m-nav.is-over-hero a.text-slate-600:hover {
  color: #6ee7b7 !important;
}
nav.e8m-nav.is-over-hero #mobile-menu-btn,
nav.e8m-nav.is-over-hero #mobile-menu-btn i {
  color: #e2e8f0 !important;
}
nav.e8m-nav .e8m-logo-white { display: none; }
nav.e8m-nav.is-over-hero .e8m-logo-color { display: none; }
nav.e8m-nav.is-over-hero .e8m-logo-white { display: block; }
nav.e8m-nav.is-over-hero .e8m-brand {
  background: none;
  -webkit-text-fill-color: #f8fafc;
  color: #f8fafc;
}

.e8m-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2rem;
}
.e8m-pills span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 600;
}
.e8m-pills i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
  background: #34d399;
}
.e8m-pills span:nth-child(even) i { background: #38bdf8; }

.e8m-stage img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center top;
}

.e8m-shine {
  position: relative;
  overflow: hidden;
}
.e8m-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.16) 50%, transparent 58%);
  transform: translateX(-120%);
  animation: e8m-shine 7.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes e8m-shine {
  0%, 55% { transform: translateX(-120%); }
  75% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

.e8m-scan {
  position: absolute;
  left: 6%;
  right: 6%;
  height: 2px;
  top: 18%;
  background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.85), transparent);
  box-shadow: 0 0 18px rgba(52, 211, 153, 0.45);
  animation: e8m-scan 5.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes e8m-scan {
  0%, 8% { top: 16%; opacity: 0; }
  18% { opacity: 1; }
  82% { top: 78%; opacity: 1; }
  100% { top: 82%; opacity: 0; }
}

.e8m-hud {
  position: absolute;
  inset: auto 4% 4% 4%;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  pointer-events: none;
}

.e8m-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(2, 6, 23, 0.72);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.e8m-chip.is-live {
  border-color: rgba(52, 211, 153, 0.38);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.12), 0 10px 24px rgba(2, 6, 23, 0.28);
}

.e8m-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  animation: e8m-pulse 1.8s ease-out infinite;
}

@keyframes e8m-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.e8m-decision-board {
  display: grid;
  gap: 8px;
  min-width: 168px;
}

.e8m-decision {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(2, 6, 23, 0.62);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.45;
}

.e8m-decision.is-on {
  opacity: 1;
  border-color: rgba(52, 211, 153, 0.4);
  color: #ecfdf5;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.18), rgba(2, 6, 23, 0.5));
}

.e8m-decision[data-kind="buy"].is-on {
  border-color: rgba(52, 211, 153, 0.45);
}
.e8m-decision[data-kind="sell"].is-on {
  border-color: rgba(248, 113, 113, 0.4);
  background: linear-gradient(90deg, rgba(244, 63, 94, 0.16), rgba(2, 6, 23, 0.5));
  color: #fff1f2;
}
.e8m-decision[data-kind="flat"].is-on {
  border-color: rgba(148, 163, 184, 0.4);
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.12), rgba(2, 6, 23, 0.5));
}

.e8m-candles {
  position: absolute;
  right: 5%;
  bottom: 18%;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 78px;
  pointer-events: none;
  opacity: 0.88;
}

.e8m-candle {
  width: 6px;
  border-radius: 2px;
  transform-origin: bottom;
  animation: e8m-candle 3.4s ease-in-out infinite;
}

.e8m-candle:nth-child(odd) { background: #34d399; }
.e8m-candle:nth-child(even) { background: #38bdf8; }
.e8m-candle:nth-child(1) { height: 34%; animation-delay: 0s; }
.e8m-candle:nth-child(2) { height: 52%; animation-delay: 0.15s; }
.e8m-candle:nth-child(3) { height: 28%; animation-delay: 0.3s; }
.e8m-candle:nth-child(4) { height: 70%; animation-delay: 0.45s; }
.e8m-candle:nth-child(5) { height: 44%; animation-delay: 0.6s; }
.e8m-candle:nth-child(6) { height: 82%; animation-delay: 0.75s; }
.e8m-candle:nth-child(7) { height: 38%; animation-delay: 0.9s; }
.e8m-candle:nth-child(8) { height: 60%; animation-delay: 1.05s; }

@keyframes e8m-candle {
  0%, 100% { transform: scaleY(0.72); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}

.e8m-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.e8m-flow-step {
  position: relative;
  padding: 12px 10px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
  overflow: hidden;
}
.e8m-flow-step strong {
  display: block;
  color: #0f172a;
  font-size: 12px;
  letter-spacing: -0.01em;
}
.e8m-flow-step span {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 10px;
  line-height: 1.35;
}
.e8m-flow-step::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #163b6b, #1b7a52);
  transform: scaleX(0);
  transform-origin: left;
  animation: e8m-flow 8s ease-in-out infinite;
}
.e8m-flow-step:nth-child(1)::before { animation-delay: 0s; }
.e8m-flow-step:nth-child(2)::before { animation-delay: 1.5s; }
.e8m-flow-step:nth-child(3)::before { animation-delay: 3s; }
.e8m-flow-step:nth-child(4)::before { animation-delay: 4.5s; }
.e8m-flow-step:nth-child(5)::before { animation-delay: 6s; }

@keyframes e8m-flow {
  0%, 12% { transform: scaleX(0); opacity: 0.3; }
  18%, 28% { transform: scaleX(1); opacity: 1; }
  40%, 100% { transform: scaleX(1); opacity: 0.25; }
}

.e8m-flow--dark .e8m-flow-step {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(148, 163, 184, 0.16);
}
.e8m-flow--dark .e8m-flow-step strong { color: #f8fafc; }
.e8m-flow--dark .e8m-flow-step span { color: #94a3b8; }

.e8m-sticky {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(16px);
}
.e8m-sticky.is-visible { display: flex; }
.e8m-sticky p {
  margin: 0;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}
.e8m-sticky small {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
}
.e8m-sticky a,
.e8m-sticky button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(115deg, #087c72, #15ad83);
  color: #fff;
  font: 800 13px/1 Inter, system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(8, 124, 114, 0.22);
}

.e8m-sticky--dark {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.92);
}
.e8m-sticky--dark p { color: #f8fafc; }
.e8m-sticky--dark small { color: #94a3b8; }

.e8m-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.e8m-path article {
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
}
.e8m-path b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 12px;
}
.e8m-path h3 {
  margin: 0;
  color: #0f172a;
  font-size: 14px;
}
.e8m-path p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.e8m-ticker {
  overflow: hidden;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(2, 6, 23, 0.55);
  container-type: inline-size;
  container-name: e8m-ticker;
}
.e8m-ticker-track {
  display: flex;
  width: max-content;
  padding: 10px 0;
  animation: e8m-ticker 42s linear infinite;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.e8m-ticker-seq {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-evenly;
  gap: 2.75rem;
  box-sizing: border-box;
  padding-inline: 1.4rem;
  min-width: 100vw;
  min-width: 100cqi;
}
.e8m-ticker-track span { white-space: nowrap; }
.e8m-ticker-track em {
  font-style: normal;
  color: #34d399;
}

@keyframes e8m-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.e8m-ticker--product {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3.5%, #000 96.5%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3.5%, #000 96.5%, transparent);
}
.e8m-ticker--product .e8m-ticker-track {
  padding: 12px 0;
  font-size: 13px;
  letter-spacing: 0.07em;
  animation-duration: 64s;
}
.e8m-ticker--product .e8m-ticker-seq {
  gap: 0;
  justify-content: flex-start;
  padding-inline: 0;
}
.e8m-ticker--product .e8m-ticker-seq span {
  position: relative;
  display: inline-block;
  padding-inline: 1.35rem 2.55rem;
}
.e8m-ticker--product .e8m-ticker-seq span::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.55);
  opacity: 0.85;
  transform: translateY(-50%);
}
.e8m-ticker--product:hover .e8m-ticker-track {
  animation-play-state: paused;
}
.e8m-ticker--hybrid .e8m-ticker-track em {
  color: #c4b5fd;
}
.e8m-ticker--hybrid .e8m-ticker-seq span::after {
  background: #a78bfa;
  box-shadow: 0 0 10px rgba(167, 139, 250, 0.55);
}

/* Original motion graphics — not overlays on product screenshots. */
.e8g-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(80% 70% at 80% 0%, rgba(56, 189, 248, 0.1), transparent 58%),
    linear-gradient(180deg, #07111f 0%, #050c16 100%);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.35);
}
.e8g-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.03);
}
.e8g-chrome p {
  margin: 0;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.e8g-dots {
  display: flex;
  gap: 5px;
}
.e8g-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #334155;
}
.e8g-dots i:nth-child(1) { background: #f87171; }
.e8g-dots i:nth-child(2) { background: #fbbf24; }
.e8g-dots i:nth-child(3) { background: #34d399; }
.e8g-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a7f3d0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.e8g-svg {
  display: block;
  width: 100%;
  height: auto;
}
.e8g-grid path {
  stroke: rgba(148, 163, 184, 0.12);
  stroke-width: 1;
}
.e8g-ny { fill: url(#e8gNy); }
.e8g-axis {
  fill: #7dd3fc;
  font: 700 11px Inter, system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.e8g-liq {
  stroke: #38bdf8;
  stroke-dasharray: 5 5;
  stroke-width: 1.4;
  animation: e8g-dash 12s linear infinite;
}
.e8g-invalid {
  stroke: #fb7185;
  stroke-dasharray: 4 6;
  stroke-width: 1.4;
  opacity: 0.85;
}
.e8g-fvg {
  fill: rgba(52, 211, 153, 0.14);
  stroke: rgba(52, 211, 153, 0.45);
  animation: e8g-zone 12s ease-in-out infinite;
}
.e8g-area {
  fill: url(#e8gChartFade);
  opacity: 0.9;
}
.e8g-line {
  fill: none;
  stroke: #67e8f9;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.e8g-frame--chart .e8g-line {
  stroke-width: 1.4;
  opacity: 0.28;
}
.e8g-notes [data-e8g-step] { opacity: 0.78; }
.e8g-notes [data-e8g-step].is-on { opacity: 1; }
.e8g-frame--chart .e8g-notes [data-e8g-step],
.e8g-frame--engine .e8g-notes [data-e8g-step] { opacity: 0; }
.e8g-frame--chart .e8g-notes [data-e8g-step].is-on,
.e8g-frame--engine .e8g-notes [data-e8g-step].is-on { opacity: 1; }
.e8g-note-chip {
  fill: #07111f;
  stroke-width: 1.2;
}
.e8g-note-chip--liq,
.e8g-note-chip--ny,
.e8g-note-chip--sweep { stroke: #38bdf8; }
.e8g-note-chip--fvg,
.e8g-note-chip--entry { stroke: #34d399; }
.e8g-note-chip--bos { stroke: #a78bfa; }
.e8g-note-chip--inv { stroke: #fb7185; }
.e8g-note-text {
  font: 800 10px Inter, system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.e8g-note-text--liq,
.e8g-note-text--ny,
.e8g-note-text--sweep { fill: #7dd3fc; }
.e8g-note-text--fvg,
.e8g-note-text--entry { fill: #6ee7b7; }
.e8g-note-text--bos { fill: #c4b5fd; }
.e8g-note-text--inv { fill: #fda4af; }
.e8g-note-lead {
  fill: none;
  stroke-width: 1.2;
  stroke-linecap: round;
}
.e8g-note-lead--liq,
.e8g-note-lead--ny,
.e8g-note-lead--sweep { stroke: #38bdf8; }
.e8g-note-lead--fvg,
.e8g-note-lead--entry { stroke: #34d399; }
.e8g-note-lead--bos { stroke: #a78bfa; }
.e8g-note-lead--inv { stroke: #fb7185; }
.e8g-notes [data-e8g-step].is-on .e8g-note-chip {
  filter: drop-shadow(0 8px 16px rgba(2, 6, 23, 0.35));
}
.e8g-candles g {
  opacity: 1;
  animation: e8g-candle-in 12s ease-in-out infinite;
}
.e8g-frame--engine .e8g-candles g {
  animation: none;
  opacity: 1;
}
.e8g-frame--engine .e8g-vol > * {
  animation: none;
  opacity: 1;
  transform: none;
}
.e8g-frame--engine .e8g-playhead {
  animation-name: e8g-play-engine;
  stroke: rgba(148, 163, 184, 0.35);
  stroke-width: 1;
}
.e8g-frame--engine .e8g-ce {
  stroke: #34d399;
  animation: none;
  opacity: 0.9;
}
.e8g-frame--engine .e8g-fvg,
.e8g-frame--engine .e8g-entry,
.e8g-frame--engine .e8g-signal,
.e8g-frame--engine .e8g-tag--fvg,
.e8g-frame--engine .e8g-invalid,
.e8g-frame--engine .e8g-target-line {
  animation: none;
  opacity: 1;
  transform: none;
}
.e8g-frame--engine .e8g-vwap {
  stroke: rgba(167, 139, 250, 0.42);
  stroke-width: 1.3;
  opacity: 0.7;
}
.e8g-frame--engine .e8g-lvl--ce { fill: #6ee7b7; }
.e8g-frame--engine .e8g-signal--buy {
  fill: #34d399;
  filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.55));
}
.e8g-engine-long {
  fill: #6ee7b7;
  font: 800 12px Inter, system-ui, sans-serif;
  letter-spacing: 0.08em;
}
.e8g-engine-tgt {
  fill: #6ee7b7;
  font: 800 9px Inter, system-ui, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.e8g-engine-pos {
  stroke: rgba(52, 211, 153, 0.22);
}
.e8g-engine-ssl {
  fill: none;
  stroke: #fb7185;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.e8g-engine-lvl--ovn { fill: #7dd3fc; }
.e8g-engine-open-lbl {
  fill: #7dd3fc;
  font: 800 9px Inter, system-ui, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.e8g-frame--chart .e8g-candles g,
.e8g-frame--chart .e8g-vol > * {
  animation: none;
  opacity: 1;
}
.e8g-frame--chart .e8g-fvg,
.e8g-frame--chart .e8g-bos,
.e8g-frame--chart .e8g-block,
.e8g-frame--chart .e8g-ce {
  animation: none;
  opacity: 1;
}
.e8g-london {
  stroke: rgba(56, 189, 248, 0.16);
  stroke-width: 1;
}
.e8g-extreme {
  fill: rgba(251, 113, 133, 0.1);
}
.e8g-vwap-dev {
  fill: none;
  stroke: rgba(167, 139, 250, 0.38);
  stroke-width: 1.2;
  stroke-dasharray: 4 4;
}
.e8g-lvl {
  font: 800 9px Inter, system-ui, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.e8g-lvl--hi { fill: #7dd3fc; }
.e8g-lvl--vwap { fill: #c4b5fd; }
.e8g-lvl--ext { fill: #fda4af; }
.e8g-lvl--inv { fill: #fda4af; }
.e8g-lvl--rb { fill: #fda4af; }
.e8g-lvl--fvg { fill: #6ee7b7; }
.e8g-lvl--ce { fill: #fda4af; }
.e8g-lvl--pro { fill: #fda4af; }
.e8g-candles g:nth-child(1) { animation-delay: 0.08s; }
.e8g-candles g:nth-child(2) { animation-delay: 0.16s; }
.e8g-candles g:nth-child(3) { animation-delay: 0.24s; }
.e8g-candles g:nth-child(4) { animation-delay: 0.32s; }
.e8g-candles g:nth-child(5) { animation-delay: 0.4s; }
.e8g-candles g:nth-child(6) { animation-delay: 0.48s; }
.e8g-candles g:nth-child(7) { animation-delay: 0.56s; }
.e8g-candles g:nth-child(8) { animation-delay: 0.64s; }
.e8g-candles g:nth-child(9) { animation-delay: 0.72s; }
.e8g-candles g:nth-child(10) { animation-delay: 0.8s; }
.e8g-candles g:nth-child(11) { animation-delay: 0.88s; }
.e8g-candles g:nth-child(12) { animation-delay: 0.96s; }
.e8g-candles g:nth-child(13) { animation-delay: 1.12s; }
.e8g-candles g:nth-child(14) { animation-delay: 1.28s; }
.e8g-candles g:nth-child(15) { animation-delay: 1.4s; }
.e8g-candles g:nth-child(16) { animation-delay: 1.52s; }
.e8g-candles g:nth-child(17) { animation-delay: 1.64s; }
.e8g-candles g:nth-child(18) { animation-delay: 1.76s; }
.e8g-candles g:nth-child(19) { animation-delay: 1.88s; }
.e8g-candles g:nth-child(20) { animation-delay: 2s; }
.e8g-candles g:nth-child(21) { animation-delay: 2.12s; }
.e8g-candles g:nth-child(22) { animation-delay: 2.24s; }
.e8g-candles g:nth-child(23) { animation-delay: 2.36s; }
.e8g-candles g:nth-child(24) { animation-delay: 2.48s; }
.e8g-candles g:nth-child(25) { animation-delay: 2.6s; }
.e8g-candles g:nth-child(26) { animation-delay: 2.72s; }
.e8g-candles g:nth-child(27) { animation-delay: 2.84s; }
.e8g-candles g:nth-child(28) { animation-delay: 2.96s; }
.e8g-candles g:nth-child(29) { animation-delay: 3.08s; }
.e8g-candles g:nth-child(30) { animation-delay: 3.2s; }
.e8g-candles g:nth-child(31) { animation-delay: 3.32s; }
.e8g-candles g:nth-child(32) { animation-delay: 3.44s; }
.e8g-candles g:nth-child(33) { animation-delay: 3.56s; }
.e8g-candles g:nth-child(34) { animation-delay: 3.68s; }
.e8g-candles g:nth-child(35) { animation-delay: 3.8s; }
.e8g-candles g:nth-child(36) { animation-delay: 3.92s; }
.e8g-up path, .e8g-up rect { stroke: #34d399; fill: #34d399; }
.e8g-dn path, .e8g-dn rect { stroke: #fb7185; fill: #fb7185; }
.e8g-sweep path { stroke: #38bdf8; }
.e8g-sweep rect { fill: #38bdf8; }
.e8g-impulse { filter: drop-shadow(0 0 8px rgba(251, 113, 133, 0.45)); }
.e8g-frame--engine .e8g-impulse { filter: drop-shadow(0 0 6px rgba(38, 166, 154, 0.35)); }
.e8g-frame--engine .e8g-sweep { filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.5)); }
.e8g-frame--chart .e8g-playhead { animation-name: e8g-play-chart; }
.e8g-frame--chart .e8g-vwap { opacity: 0.7; }
.e8g-frame--chart .e8g-block { opacity: 0.9; }
.e8g-frame--chart .e8g-signal { filter: drop-shadow(0 0 6px rgba(225, 29, 72, 0.35)); }
.e8g-frame--chart .e8g-legend li {
  font-size: 10px;
  letter-spacing: 0.02em;
  padding: 8px 2px;
}
.e8g-frame--engine .e8g-candles path {
  fill: none;
  stroke-width: 1.15;
  stroke-linecap: butt;
}
.e8g-frame--engine .e8g-candles rect { stroke-width: 1; }
.e8g-frame--engine .e8g-up path { stroke: #26a69a; }
.e8g-frame--engine .e8g-up rect { fill: #26a69a; stroke: #26a69a; }
.e8g-frame--engine .e8g-dn path { stroke: #ef5350; }
.e8g-frame--engine .e8g-dn rect { fill: #ef5350; stroke: #ef5350; }
.e8g-tag {
  fill: #94a3b8;
  font: 700 10px Inter, system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.e8g-tag--liq { fill: #7dd3fc; }
.e8g-tag--fvg { fill: #6ee7b7; animation: e8g-zone 12s ease-in-out infinite; }
.e8g-tag--inv { fill: #fda4af; }
.e8g-tag--bos { fill: #c4b5fd; animation: e8g-zone 12s ease-in-out infinite; }
.e8g-bos {
  stroke: #c4b5fd;
  stroke-width: 2;
  marker: none;
  animation: e8g-zone 12s ease-in-out infinite;
}
.e8g-entry {
  fill: #f8fafc;
  stroke: #34d399;
  stroke-width: 2;
  animation: e8g-ping 12s ease-in-out infinite;
}
.e8g-playhead {
  stroke: rgba(248, 250, 252, 0.7);
  stroke-width: 1.4;
  animation: e8g-play 12s linear infinite;
}
.e8g-legend {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 12px;
  list-style: none;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}
.e8g-legend li {
  padding: 8px 6px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  color: #64748b;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.e8g-legend li.is-on {
  color: #ecfdf5;
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(16, 185, 129, 0.14);
}
.e8g-frame figcaption {
  margin: 0;
  padding: 0 14px 14px;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.45;
}
.e8g-frame--engine figcaption {
  padding-top: 2px;
  color: #7b8aa0;
}

.e8g-engine {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 180px;
  gap: 16px;
  align-items: center;
  padding: 18px 16px 8px;
}
.e8g-engine--hud {
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  align-items: stretch;
}
.e8g-frame--engine {
  container-type: inline-size;
  container-name: e8g-engine;
}
.e8g-engine-hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.e8g-engine-hero .e8g-engine-svg {
  min-height: 360px;
}
.e8g-engine-hud {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
  padding: 12px 14px 10px;
}
.e8g-engine-checks {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.e8g-engine-ticket {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  justify-items: start;
  gap: 6px 12px;
  padding: 16px 18px 18px;
  border-radius: 16px;
  border: 1px solid rgba(52, 211, 153, 0.22);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08), rgba(2, 6, 23, 0.35));
  opacity: 0.55;
  transition: opacity 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.e8g-engine-ticket.is-ready {
  opacity: 1;
  border-color: rgba(52, 211, 153, 0.48);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.2), rgba(2, 6, 23, 0.35));
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.32);
}
.e8g-engine-ticket-kicker {
  margin: 0;
  justify-self: end;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.e8g-engine-ticket-buy {
  grid-column: 1 / -1;
  color: #ecfdf5;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}
.e8g-engine-side {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 12px 12px 14px;
  border-left: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(2, 6, 23, 0.38);
}
.e8g-engine-side-kicker {
  margin: 0;
  color: #7dd3fc;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.e8g-gates {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.e8g-engine-hud .e8g-gates {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.e8g-gates li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.55);
  opacity: 0.62;
}
.e8g-engine-hud .e8g-gates li {
  grid-template-columns: 22px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: start;
  gap: 2px 8px;
  min-width: 0;
  overflow: visible;
  padding: 10px 12px;
  opacity: 0.48;
  transition: opacity 0.28s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}
.e8g-engine-hud .e8g-gates li > div {
  min-width: 0;
}
.e8g-engine-hud .e8g-gates b {
  grid-row: 1 / span 2;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}
.e8g-engine-hud .e8g-gates span,
.e8g-engine-hud .e8g-gates strong {
  display: block;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.25;
}
.e8g-engine-hud .e8g-gates em {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(2px) scale(0.92);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.e8g-engine-hud .e8g-gates li.is-on em {
  opacity: 1;
  transform: none;
}
@container e8g-engine (max-width: 420px) {
  .e8g-engine-hud .e8g-gates {
    grid-template-columns: 1fr;
  }
}
.e8g-gates li.is-on {
  opacity: 1;
  border-color: rgba(52, 211, 153, 0.42);
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.28);
}
.e8g-engine-hud .e8g-gates li.is-on {
  opacity: 1;
  border-color: rgba(52, 211, 153, 0.42);
  background: rgba(16, 185, 129, 0.12);
}
.e8g-gates b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
  font-size: 10px;
  transition: background 0.22s ease, color 0.22s ease;
}
.e8g-gates li.is-on b {
  background: #10b981;
  color: #ffffff;
  font-size: 0;
}
.e8g-gates li.is-on b::after {
  content: "✓";
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}
.e8g-gates strong {
  display: block;
  color: #e2e8f0;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.e8g-gates span {
  display: block;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
}
.e8g-gates em {
  font-style: normal;
  color: #34d399;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.e8g-engine-decision {
  display: grid;
  grid-template-columns: minmax(120px, auto) minmax(0, 1fr);
  gap: 10px 14px;
  align-items: center;
  min-width: 0;
}
.e8g-engine-decision .e8g-engine-stamp-kicker,
.e8g-engine-decision .e8g-engine-stamp-label {
  display: block;
  text-align: left;
  fill: none;
}
.e8g-engine-decision .e8g-engine-stamp-kicker {
  color: #94a3b8;
}
.e8g-engine-decision .e8g-engine-stamp-label {
  margin-bottom: 0;
  font-size: 15px;
  color: #ecfdf5;
}
.e8g-engine-decision .e8g-outputs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.e8g-engine-decision .e8g-out {
  padding: 8px 6px;
  text-align: center;
  font-size: 10px;
}
.e8g-engine-overnight {
  stroke: rgba(56, 189, 248, 0.16);
}
.e8g-engine-eqh {
  fill: none;
  stroke: #38bdf8;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.e8g-engine-onh {
  stroke: #38bdf8;
  stroke-dasharray: 4 4;
  stroke-width: 1.2;
}
.e8g-engine-onl {
  stroke: #fb7185;
  stroke-dasharray: 4 4;
  stroke-width: 1.2;
}
.e8g-engine-lvl {
  font: 800 9px Inter, system-ui, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.e8g-engine-lvl--hi { fill: #7dd3fc; }
.e8g-engine-lvl--lo { fill: #fda4af; }
.e8g-engine-open {
  stroke: #38bdf8;
  stroke-dasharray: 4 4;
  stroke-width: 1.5;
  animation: e8g-dash 10s linear infinite;
}
.e8g-engine-area { fill: rgba(52, 211, 153, 0.14); }
.e8g-engine-line { opacity: 0.4; }
.e8g-engine-stamp {
  fill: rgba(2, 6, 23, 0.62);
  stroke: rgba(52, 211, 153, 0.38);
}
.e8g-engine-stamp-kicker {
  fill: #94a3b8;
  font: 700 10px Inter, system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.e8g-engine-stamp-label {
  fill: #ecfdf5;
  font: 800 15px Inter, system-ui, sans-serif;
  letter-spacing: 0.04em;
}
.e8g-meters {
  display: grid;
  gap: 12px;
  padding: 4px 2px;
}
.e8g-meters div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}
.e8g-meters span {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.e8g-meters i {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: rgba(148, 163, 184, 0.12);
  overflow: hidden;
}
.e8g-meters i::after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0.18);
  transform-origin: left center;
  background: linear-gradient(90deg, #38bdf8, #34d399);
  animation: e8g-meter 9s ease-in-out infinite;
}
.e8g-meters div:nth-child(1) i::after { width: 78%; }
.e8g-meters div:nth-child(2) i::after { width: 66%; animation-delay: 0.25s; }
.e8g-meters div:nth-child(3) i::after { width: 58%; animation-delay: 0.5s; }
.e8g-meters div:nth-child(4) i::after { width: 84%; animation-delay: 0.75s; }
.e8g-clock {
  text-align: center;
  color: #e2e8f0;
}
.e8g-clock p {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 800;
}
.e8g-clock small {
  color: #94a3b8;
  font-size: 11px;
}
.e8g-clock-svg { width: 132px; height: 132px; }
.e8g-ring-track {
  fill: none;
  stroke: rgba(148, 163, 184, 0.18);
  stroke-width: 8;
}
.e8g-ring-run {
  fill: none;
  stroke: #34d399;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 390;
  stroke-dashoffset: 260;
  transform-origin: 80px 80px;
  animation: e8g-spin 10s linear infinite;
}
.e8g-hub { fill: #e2e8f0; }
.e8g-hand {
  stroke: #38bdf8;
  stroke-width: 3;
  stroke-linecap: round;
  transform-origin: 80px 80px;
  animation: e8g-hand 10s linear infinite;
}
.e8g-clock-svg text {
  fill: #e2e8f0;
  font: 800 16px Inter, system-ui, sans-serif;
}
.e8g-route {
  position: relative;
  display: grid;
  gap: 10px;
}
.e8g-route span {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.e8g-route i {
  position: absolute;
  left: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 12px #34d399;
  animation: e8g-drop 10s ease-in-out infinite;
}
.e8g-outputs { display: grid; gap: 8px; }
.e8g-out {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(2, 6, 23, 0.35);
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.55;
}
.e8g-out.is-on {
  opacity: 1;
  color: #ecfdf5;
  border-color: rgba(52, 211, 153, 0.4);
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.2), rgba(2, 6, 23, 0.2));
}
.e8g-out[data-kind="sell"].is-on {
  color: #ffe4e6;
  border-color: rgba(251, 113, 133, 0.45);
  background: linear-gradient(90deg, rgba(244, 63, 94, 0.18), rgba(2, 6, 23, 0.2));
}
.e8g-pipe {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 14px 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.03);
  overflow: visible;
}
.e8g-frame--engine .e8g-pipe {
  margin-top: 2px;
}
.e8g-pipe b {
  color: #f8fafc;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.e8g-pipe span {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.8), transparent);
}
.e8g-pipe i {
  position: absolute;
  left: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 16px #38bdf8;
  animation: e8g-pipe 8s linear infinite;
}

.e8g-mini {
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.e8g-mini svg { display: block; width: 100%; height: auto; min-height: 148px; }
.e8g-mini--blocks .e8g-block,
.e8g-mini--blocks .e8g-ce {
  animation: none;
  opacity: 1;
}
.e8g-mini--card svg { min-height: 168px; }
.e8g-mini--card.e8g-mini--nonrepaint svg,
.e8g-mini--card.e8g-mini--realworld svg,
.e8g-mini--card.e8g-mini--hybrid svg { min-height: 196px; }
.e8g-mini--card.e8g-mini--autotrader svg { min-height: 208px; }
.e8g-draw {
  stroke-dasharray: 640;
  animation: e8g-draw 12s ease-in-out infinite;
}
.e8g-tape > * {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: e8g-print 12s ease-in-out infinite;
}
.e8g-tape > *:nth-child(1) { animation-delay: 0.04s; }
.e8g-tape > *:nth-child(2) { animation-delay: 0.12s; }
.e8g-tape > *:nth-child(3) { animation-delay: 0.2s; }
.e8g-tape > *:nth-child(4) { animation-delay: 0.28s; }
.e8g-tape > *:nth-child(5) { animation-delay: 0.36s; }
.e8g-tape > *:nth-child(6) { animation-delay: 0.44s; }
.e8g-tape > *:nth-child(7) { animation-delay: 0.52s; }
.e8g-tape > *:nth-child(8) { animation-delay: 0.6s; }
.e8g-tape > *:nth-child(9) { animation-delay: 0.68s; }
.e8g-tape > *:nth-child(10) { animation-delay: 0.76s; }
.e8g-tape > *:nth-child(11) { animation-delay: 0.84s; }
.e8g-tape > *:nth-child(12) { animation-delay: 0.92s; }
.e8g-tape > *:nth-child(13) { animation-delay: 1s; }
.e8g-tape > *:nth-child(14) { animation-delay: 1.08s; }
.e8g-tape > *:nth-child(15) { animation-delay: 1.16s; }
.e8g-tape > *:nth-child(16) { animation-delay: 1.24s; }
.e8g-vol > * {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: e8g-print 12s ease-in-out infinite;
}
.e8g-vol > *:nth-child(1) { animation-delay: 0.04s; }
.e8g-vol > *:nth-child(2) { animation-delay: 0.12s; }
.e8g-vol > *:nth-child(3) { animation-delay: 0.2s; }
.e8g-vol > *:nth-child(4) { animation-delay: 0.28s; }
.e8g-vol > *:nth-child(5) { animation-delay: 0.36s; }
.e8g-vol > *:nth-child(6) { animation-delay: 0.44s; }
.e8g-vol > *:nth-child(7) { animation-delay: 0.52s; }
.e8g-vol > *:nth-child(8) { animation-delay: 0.6s; }
.e8g-vol > *:nth-child(9) { animation-delay: 0.68s; }
.e8g-vol > *:nth-child(10) { animation-delay: 0.76s; }
.e8g-vol > *:nth-child(11) { animation-delay: 0.84s; }
.e8g-vol > *:nth-child(12) { animation-delay: 0.92s; }
.e8g-vol > *:nth-child(13) { animation-delay: 1s; }
.e8g-vol > *:nth-child(14) { animation-delay: 1.08s; }
.e8g-vol > *:nth-child(15) { animation-delay: 1.16s; }
.e8g-vol > *:nth-child(16) { animation-delay: 1.24s; }
.e8g-vol > *:nth-child(17) { animation-delay: 1.32s; }
.e8g-vol > *:nth-child(18) { animation-delay: 1.4s; }
.e8g-vol > *:nth-child(19) { animation-delay: 1.48s; }
.e8g-vol > *:nth-child(20) { animation-delay: 1.56s; }
.e8g-vol > *:nth-child(21) { animation-delay: 1.64s; }
.e8g-vol > *:nth-child(22) { animation-delay: 1.72s; }
.e8g-vol > *:nth-child(23) { animation-delay: 1.8s; }
.e8g-vol > *:nth-child(24) { animation-delay: 1.88s; }
.e8g-vol > *:nth-child(25) { animation-delay: 1.96s; }
.e8g-vol > *:nth-child(26) { animation-delay: 2.04s; }
.e8g-vol > *:nth-child(27) { animation-delay: 2.12s; }
.e8g-vol > *:nth-child(28) { animation-delay: 2.2s; }
.e8g-vol > *:nth-child(29) { animation-delay: 2.28s; }
.e8g-vol > *:nth-child(30) { animation-delay: 2.36s; }
.e8g-vol > *:nth-child(31) { animation-delay: 2.44s; }
.e8g-vol > *:nth-child(32) { animation-delay: 2.52s; }
.e8g-vol > *:nth-child(33) { animation-delay: 2.6s; }
.e8g-vol > *:nth-child(34) { animation-delay: 2.68s; }
.e8g-vol > *:nth-child(35) { animation-delay: 2.76s; }
.e8g-vol > *:nth-child(36) { animation-delay: 2.84s; }
.e8g-vol rect { fill: rgba(56, 189, 248, 0.28); }
.e8g-vol .e8g-vol--hot { fill: rgba(56, 189, 248, 0.7); }
.e8g-frame--engine .e8g-vol .e8g-vol--hot { fill: rgba(38, 166, 154, 0.78); }
.e8g-frame--engine .e8g-vol .e8g-vol-up { fill: rgba(38, 166, 154, 0.38); }
.e8g-frame--engine .e8g-vol .e8g-vol-dn { fill: rgba(239, 83, 80, 0.34); }
.e8g-hold-mid { animation: e8g-hold 12s ease-in-out infinite; }
.e8g-hold-late { animation: e8g-hold 12s ease-in-out infinite; animation-delay: 1.8s; }
.e8g-scan {
  stroke: rgba(15, 23, 42, 0.28);
  stroke-width: 1.3;
  animation: e8g-mini-play 12s linear infinite;
}
.e8g-sweep-bar path { stroke: #38bdf8; fill: none; }
.e8g-sweep-bar rect { fill: #38bdf8; stroke: #38bdf8; }
.e8g-signal { fill: #34d399; }
.e8g-signal--sell { fill: #e11d48; }
.e8g-print-zone { fill: rgba(52, 211, 153, 0.16); stroke: rgba(52, 211, 153, 0.4); }
.e8g-print-zone--sell { fill: rgba(244, 63, 94, 0.12); stroke: rgba(251, 113, 133, 0.4); }
.e8g-print-mark {
  stroke: rgba(16, 185, 129, 0.45);
  stroke-width: 1.2;
  stroke-dasharray: 3 3;
}
.e8g-print-mark--sell { stroke: rgba(244, 63, 94, 0.4); }
.e8g-ghost-signal {
  fill: #94a3b8;
  transform-box: fill-box;
  transform-origin: center;
  animation: e8g-repaint-ghost 12s ease-in-out infinite;
}
.e8g-ghost-signal--sell { animation-name: e8g-repaint-ghost-dn; }
.e8g-risk-chip { fill: #f8fafc; stroke: #e2e8f0; }
.e8g-risk-chip--sweep { fill: rgba(56, 189, 248, 0.12); stroke: rgba(56, 189, 248, 0.4); }
.e8g-risk-chip--confirm { fill: #f8fafc; stroke: #cbd5e1; }
.e8g-mini text.e8g-risk-chip-text { fill: #334155; font-size: 9px; }
.e8g-mini text.e8g-risk-chip-text--sweep { fill: #0369a1; }
.e8g-mini text.e8g-stop-kicker { fill: #e11d48; font-size: 8px; letter-spacing: 0.08em; }
.e8g-bell { transform-box: fill-box; transform-origin: center; }
.e8g-bell-disc { fill: #ecfdf5; stroke: #34d399; stroke-width: 1.2; }
.e8g-bell-icon { fill: #047857; }
.e8g-bell-clapper { fill: none; stroke: #047857; stroke-width: 1.6; stroke-linecap: round; }
.e8g-alert-lead {
  fill: none;
  stroke: rgba(16, 185, 129, 0.45);
  stroke-width: 1.4;
  stroke-dasharray: 4 3;
}
.e8g-lock-signal { animation: e8g-lock-signal 12s ease-in-out infinite; }
.e8g-mini--nonrepaint .e8g-tape > * {
  animation-name: e8g-print-lock;
}
.e8g-reclaim-bar rect { fill: #e11d48; stroke: #e11d48; }
.e8g-reclaim-bar path { fill: none; stroke: #e11d48; stroke-width: 1.4; }
.e8g-toast--late { animation-delay: 1.8s; }
.e8g-mini--tools .e8g-stack { animation-name: e8g-stack-hold; }
.e8g-lock rect { fill: rgba(16, 185, 129, 0.2); stroke: #34d399; }
.e8g-lock path { fill: none; stroke: #34d399; stroke-width: 1.6; }
.e8g-lock-badge { fill: rgba(16, 185, 129, 0.16); stroke: rgba(52, 211, 153, 0.45); }
.e8g-lock-text,
.e8g-mini text.e8g-lock-text { fill: #047857; font-size: 11px; }
.e8g-mini-play {
  stroke: rgba(148, 163, 184, 0.55);
  stroke-width: 1.2;
  animation: e8g-mini-play 12s linear infinite;
}
.e8g-stop-box { fill: rgba(251, 113, 133, 0.16); stroke: rgba(251, 113, 133, 0.5); }
.e8g-mini text.e8g-stop-label { fill: #e11d48; }
.e8g-risk-bracket { stroke: #fda4af; stroke-width: 2; stroke-dasharray: 3 3; }
.e8g-alert-level { stroke: rgba(52, 211, 153, 0.45); stroke-dasharray: 4 4; }
.e8g-alert-ring--2 { animation-delay: 0.35s; }
.e8g-toast { animation: e8g-toast 12s ease-in-out infinite; }
.e8g-toast rect { fill: #ffffff; stroke: rgba(16, 185, 129, 0.45); filter: drop-shadow(0 8px 16px rgba(15, 23, 42, 0.08)); }
.e8g-mini text.e8g-toast-sub { fill: #047857; font-size: 10px; }
.e8g-mkt-frame { fill: rgba(255, 255, 255, 0.03); stroke: rgba(148, 163, 184, 0.16); }
.e8g-mini--markets .e8g-fvg-mini { animation: none; opacity: 0.95; }
.e8g-mini--markets [data-e8g-step] { opacity: 0.55; transition: opacity 0.35s ease, filter 0.35s ease; }
.e8g-mini--markets [data-e8g-step].is-on {
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(52, 211, 153, 0.18));
}
.e8g-mini--markets [data-e8g-step].is-on .e8g-mkt-frame {
  stroke: rgba(52, 211, 153, 0.5);
  fill: rgba(16, 185, 129, 0.08);
}
.e8g-stack { animation: e8g-stack 12s ease-in-out infinite; }
.e8g-stack--1 { animation-delay: 0.2s; }
.e8g-stack--2 { animation-delay: 2.2s; }
.e8g-stack--3 { animation-delay: 4.2s; }
.e8g-journal-panel { fill: #f8fafc; stroke: #e2e8f0; }
.e8g-journal-row circle { fill: #ecfdf5; stroke: #10b981; }
.e8g-journal-row { animation: e8g-journal 12s ease-in-out infinite; }
.e8g-journal-row--2 { animation-delay: 1.1s; }
.e8g-journal-row--3 { animation-delay: 2.2s; }
.e8g-progress-track { fill: rgba(148, 163, 184, 0.16); }
.e8g-progress-fill {
  fill: #34d399;
  transform-box: fill-box;
  transform-origin: left center;
  animation: e8g-fillbar 12s ease-in-out infinite;
}
.e8g-progress-fill--late { animation-delay: 2.4s; }
.e8g-node { fill: #f8fafc; stroke: #e2e8f0; }
.e8g-node--b { stroke: rgba(56, 189, 248, 0.35); }
.e8g-node--c { stroke: rgba(52, 211, 153, 0.35); }
.e8g-mini text.e8g-node-sub { fill: #64748b; font-size: 9px; }
.e8g-rail { stroke: rgba(56, 189, 248, 0.7); stroke-width: 2; }
.e8g-packet {
  fill: #38bdf8;
  filter: drop-shadow(0 0 6px #38bdf8);
  animation: e8g-packet 8s ease-in-out infinite;
}
.e8g-live-chip { fill: #ecfdf5; stroke: #6ee7b7; }
.e8g-mini text.e8g-live-chip-text { fill: #047857; font-size: 9px; }
.e8g-rule { opacity: 0.28; animation: e8g-hold 12s ease-in-out infinite; }
.e8g-rule circle { fill: rgba(16, 185, 129, 0.18); stroke: #34d399; }
.e8g-rule--1 { animation-delay: 0.8s; }
.e8g-rule--2 { animation-delay: 1.6s; }
.e8g-rule--3 { animation-delay: 2.4s; }
.e8g-ticket { fill: #ffffff; stroke: #a7f3d0; }
.e8g-mini text.e8g-ticket-kicker { fill: #64748b; font-size: 9px; }
.e8g-mini--dark.e8g-mini--routing {
  border-radius: 18px;
  background:
    radial-gradient(80% 70% at 80% 0%, rgba(56, 189, 248, 0.1), transparent 58%),
    linear-gradient(180deg, #07111f 0%, #050c16 100%);
  border: 1px solid rgba(148, 163, 184, 0.16);
  padding: 4px 2px 0;
}
.e8g-mini--dark.e8g-mini--routing text { fill: #e2e8f0; }
.e8g-mini--dark.e8g-mini--routing .e8g-node {
  fill: rgba(8, 18, 36, 0.72);
  stroke: rgba(56, 189, 248, 0.28);
}
.e8g-mini--dark.e8g-mini--routing .e8g-node--b { stroke: rgba(56, 189, 248, 0.5); }
.e8g-mini--dark.e8g-mini--routing .e8g-node--c { stroke: rgba(52, 211, 153, 0.5); }
.e8g-mini--dark.e8g-mini--routing text.e8g-node-sub { fill: #94a3b8; }
.e8g-mini--dark.e8g-mini--routing .e8g-live-chip {
  fill: rgba(16, 185, 129, 0.16);
  stroke: #34d399;
}
.e8g-mini--dark.e8g-mini--routing text.e8g-live-chip-text { fill: #a7f3d0; }
.e8g-mini--dark.e8g-mini--routing .e8g-ticket {
  fill: rgba(2, 6, 23, 0.62);
  stroke: rgba(52, 211, 153, 0.38);
}
.e8g-mini--dark.e8g-mini--routing text.e8g-ticket-kicker { fill: #94a3b8; }
.e8g-mini--dark.e8g-mini--routing text.e8g-buy { fill: #34d399; }
.e8g-mini--dark.e8g-mini--routing .e8g-rule circle {
  fill: rgba(52, 211, 153, 0.16);
  stroke: #34d399;
}
.e8g-mini--dark.e8g-mini--routing .e8g-progress-track { fill: rgba(148, 163, 184, 0.22); }
.e8g-x-mark { animation: e8g-hold 12s ease-in-out infinite; }
.e8g-x-mark--1 { animation-delay: 0.4s; }
.e8g-x-mark--2 { animation-delay: 0.9s; }
.e8g-x-mark--3 { animation-delay: 1.4s; }
.e8g-x-mark--4 { animation-delay: 1.9s; }
.e8g-x-badge {
  fill: rgba(2, 6, 23, 0.78);
  stroke: #fb7185;
  stroke-width: 1.4;
}
.e8g-x-mark .e8g-x { stroke-width: 1.8; }
.e8g-target-line { stroke: #34d399; stroke-dasharray: 4 4; stroke-width: 1.2; }
.e8g-event-dot {
  fill: #67e8f9;
  stroke: #ecfeff;
  stroke-width: 1.2;
}
.e8g-mini text.e8g-warn { fill: #e11d48; }
.e8g-mini text.e8g-flat { fill: #64748b; }
.e8g-mini text.e8g-buy { fill: #047857; }
.e8g-mini text.e8g-sell { fill: #e11d48; }
.e8g-mini--process [data-e8g-step] .e8g-day,
.e8g-mini--week [data-e8g-step] .e8g-day { opacity: 0.55; }
.e8g-mini--week [data-e8g-step] .e8g-day--on,
.e8g-mini--week [data-e8g-step] .e8g-day--sell { opacity: 1; }
.e8g-mini--process [data-e8g-step].is-on .e8g-day,
.e8g-mini--week [data-e8g-step].is-on .e8g-day {
  opacity: 1;
  stroke: #34d399;
  fill: rgba(52, 211, 153, 0.2);
}
.e8g-mini--week [data-e8g-step].is-on .e8g-day--on {
  stroke: #34d399;
  fill: rgba(52, 211, 153, 0.3);
}
.e8g-mini--week [data-e8g-step].is-on .e8g-day--sell {
  stroke: #fb7185;
  fill: rgba(244, 63, 94, 0.3);
}
/* No-trade days: keep the highlight neutral grey, not green (only Buy/Sell days carry color) */
.e8g-mini--week [data-e8g-step].is-on .e8g-day:not(.e8g-day--on):not(.e8g-day--sell),
.e8g-mini--hybrid [data-e8g-step].is-on .e8g-day:not(.e8g-day--on):not(.e8g-day--sell) {
  stroke: rgba(148, 163, 184, 0.75);
  fill: rgba(148, 163, 184, 0.16);
}
.e8g-week-pill {
  fill: rgba(15, 23, 42, 0.45);
  stroke: rgba(148, 163, 184, 0.22);
}
.e8g-week-pill--buy {
  fill: rgba(16, 185, 129, 0.2);
  stroke: rgba(52, 211, 153, 0.5);
}
.e8g-mini--hybrid text { fill: #94a3b8; }
.e8g-mini--hybrid text.e8g-buy { fill: #6ee7b7; }
.e8g-mini--hybrid text.e8g-flat { fill: #94a3b8; }
.e8g-mini--hybrid text.e8g-warn { fill: #fda4af; }
.e8g-mini--hybrid [data-e8g-step] { opacity: 0.38; }
.e8g-mini--hybrid [data-e8g-step].is-on { opacity: 1; }
.e8g-mini--hybrid [data-e8g-step].is-on text { fill: #e2e8f0; }
.e8g-mini--hybrid [data-e8g-step].is-on text.e8g-buy { fill: #6ee7b7; }
.e8g-mini--hybrid [data-e8g-step].is-on text.e8g-flat { fill: #cbd5e1; }
.e8g-mini--hybrid [data-e8g-step].is-on text.e8g-warn { fill: #fda4af; }
.e8g-mini--hybrid [data-e8g-step].is-on .e8g-day {
  stroke: #a78bfa;
  fill: rgba(139, 92, 246, 0.22);
}
.e8g-mini--hybrid [data-e8g-step].is-on .e8g-day--on {
  stroke: #38bdf8;
  fill: rgba(56, 189, 248, 0.22);
}
.e8g-week-pill--sell {
  fill: rgba(244, 63, 94, 0.2);
  stroke: rgba(251, 113, 133, 0.55);
}
.e8g-event-dot--sell {
  fill: #fda4af;
  stroke: #fb7185;
}
.e8g-mini--process text {
  letter-spacing: 0.02em;
  font-size: 10px;
}
.e8g-mini--week text.e8g-buy { fill: #6ee7b7; }
.e8g-mini--week text.e8g-sell { fill: #fda4af; }
.e8g-session-live { animation: e8g-zone 10s ease-in-out infinite; }
.e8g-mini text {
  fill: #475569;
  font: 700 11px Inter, system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.e8g-mini p {
  margin: 0;
  padding: 0 12px 10px;
  color: #64748b;
  font-size: 11px;
}
.e8g-mini-line {
  fill: none;
  stroke: #67e8f9;
  stroke-width: 2;
  stroke-linecap: round;
}
.e8g-mini-liq { stroke: #38bdf8; stroke-dasharray: 4 4; }
.e8g-mini-wick { stroke: #38bdf8; stroke-width: 2; animation: e8g-wick 8s ease-in-out infinite; }
.e8g-mini-up { fill: #34d399; }
.e8g-mini-up path { fill: none; stroke: #34d399; stroke-width: 1.4; }
.e8g-mini-up rect { fill: #34d399; }
.e8g-mini-dn { fill: #fb7185; }
.e8g-mini-dn path { fill: none; stroke: #fb7185; stroke-width: 1.4; }
.e8g-mini-dn rect { fill: #fb7185; }
.e8g-box { fill: rgba(56, 189, 248, 0.08); stroke: rgba(56, 189, 248, 0.25); }
.e8g-box--b { fill: rgba(52, 211, 153, 0.1); stroke: rgba(52, 211, 153, 0.3); animation: e8g-zone 8s ease-in-out infinite; }
.e8g-box--c { fill: rgba(96, 165, 250, 0.1); }
.e8g-band { fill: rgba(251, 113, 133, 0.12); }
.e8g-band--lo { fill: rgba(52, 211, 153, 0.1); }
.e8g-fvg-mini { fill: rgba(52, 211, 153, 0.16); stroke: rgba(52, 211, 153, 0.4); animation: e8g-zone 8s ease-in-out infinite; }
.e8g-vwap { fill: none; stroke: #a78bfa; stroke-width: 2; }
.e8g-band-line { fill: none; stroke: rgba(148, 163, 184, 0.35); stroke-dasharray: 4 4; }
.e8g-block { fill: rgba(244, 63, 94, 0.12); stroke: rgba(251, 113, 133, 0.35); }
.e8g-block--zone { fill: rgba(244, 63, 94, 0.16); stroke: rgba(251, 113, 133, 0.5); }
.e8g-ce { stroke: #fda4af; stroke-dasharray: 4 3; animation: e8g-dash 12s linear infinite; }
.e8g-mini text.e8g-ce-label {
  fill: #fda4af;
  font: 700 10px Inter, system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.e8g-invalid-mini {
  stroke: #fb7185;
  stroke-dasharray: 3 3;
  stroke-width: 1.2;
  opacity: 0.8;
}
.e8g-retest-dot {
  fill: #67e8f9;
  stroke: #ecfeff;
  stroke-width: 1.2;
  animation: e8g-ping 8s ease-in-out infinite;
}
.e8g-retest-bar { animation: e8g-candle-in 8s ease-in-out infinite; }
.e8g-mini .e8g-note-chip {
  fill: #ffffff;
  stroke-width: 1.15;
}
.e8g-mini text.e8g-note-text {
  font: 800 9px Inter, system-ui, sans-serif;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.e8g-mini text.e8g-note-text--liq,
.e8g-mini text.e8g-note-text--ny,
.e8g-mini text.e8g-note-text--sweep { fill: #0369a1; }
.e8g-mini text.e8g-note-text--fvg,
.e8g-mini text.e8g-note-text--entry { fill: #047857; }
.e8g-mini text.e8g-note-text--bos { fill: #6d28d9; }
.e8g-mini text.e8g-note-text--inv,
.e8g-mini text.e8g-note-text--ce { fill: #e11d48; }
.e8g-note-chip--ce { stroke: #fb7185; }
.e8g-note-lead--ce { stroke: #fb7185; }
.e8g-note-text--ce { fill: #fda4af; }
.e8g-card-panel { fill: #f8fafc; stroke: #e2e8f0; }
.e8g-card-panel--bad { fill: rgba(244, 63, 94, 0.08); stroke: rgba(251, 113, 133, 0.3); }
.e8g-card-panel--good { fill: rgba(16, 185, 129, 0.1); stroke: rgba(52, 211, 153, 0.34); }
.e8g-risk-zone { fill: rgba(56, 189, 248, 0.16); stroke: rgba(56, 189, 248, 0.45); }
.e8g-invalid-fill { fill: rgba(251, 113, 133, 0.16); }
.e8g-alert-ring {
  fill: rgba(52, 211, 153, 0.08);
  stroke: #34d399;
  stroke-width: 1.4;
  animation: e8g-ping 6s ease-in-out infinite;
}
.e8g-layer { fill: rgba(56, 189, 248, 0.08); stroke: rgba(56, 189, 248, 0.24); }
.e8g-layer--b { fill: rgba(96, 165, 250, 0.12); }
.e8g-layer--c { fill: rgba(52, 211, 153, 0.16); stroke: rgba(52, 211, 153, 0.4); }
.e8g-check { fill: none; stroke: #34d399; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.e8g-x { fill: none; stroke: #fb7185; stroke-width: 3; stroke-linecap: round; }
.e8g-journal { fill: rgba(148, 163, 184, 0.28); }
.e8g-journal--on { fill: #34d399; }
.e8g-route-line { stroke: rgba(56, 189, 248, 0.75); stroke-width: 2; }
.e8g-pipe-dot { fill: #38bdf8; animation: e8g-ping 5s ease-in-out infinite; }
.e8g-day { fill: rgba(148, 163, 184, 0.12); stroke: rgba(148, 163, 184, 0.2); }
.e8g-day--on { fill: rgba(52, 211, 153, 0.28); stroke: #34d399; }
.e8g-day--sell { fill: rgba(244, 63, 94, 0.22); stroke: #fb7185; }
.e8g-wait-chip { fill: #fffbeb; stroke: #fbbf24; }
.e8g-mini text.e8g-wait-label,
.e8g-wait-label { fill: #b45309; font: 700 10px Inter, system-ui, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }
.e8g-av { fill: #f8fafc; stroke: #cbd5e1; }
.e8g-av--mentor { stroke: #34d399; fill: #ecfdf5; }
.e8g-av-label { fill: #0f172a; font: 700 11px Inter, system-ui, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; }
.e8g-pen { fill: #0f766e; animation: e8g-pen 12s ease-in-out infinite; }
.e8g-mini .e8g-grid path { stroke: #e2e8f0; }
.e8g-mkt-frame { fill: #ffffff; stroke: #e2e8f0; }
.e8g-lock-badge { fill: #ecfdf5; stroke: #6ee7b7; }
.e8g-lock rect { fill: #ecfdf5; stroke: #10b981; }

.e8g-frame--light {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}
.e8g-frame--light .e8g-chrome {
  background: #f8fafc;
  border-bottom-color: #e2e8f0;
}
.e8g-frame--light .e8g-chrome p { color: #0f172a; }
.e8g-frame--light .e8g-live { color: #047857; }
.e8g-frame--light .e8g-grid path { stroke: #e2e8f0; }
.e8g-frame--light .e8g-playhead { stroke: rgba(15, 23, 42, 0.35); }
.e8g-frame--light .e8g-tag { fill: #64748b; }
.e8g-frame--light .e8g-tag--liq { fill: #0369a1; }
.e8g-frame--light .e8g-tag--fvg { fill: #047857; }
.e8g-frame--light .e8g-tag--inv { fill: #e11d48; }
.e8g-frame--light .e8g-tag--bos { fill: #6d28d9; }
.e8g-frame--light .e8g-lvl--hi { fill: #0369a1; }
.e8g-frame--light .e8g-lvl--vwap { fill: #6d28d9; }
.e8g-frame--light .e8g-lvl--ext,
.e8g-frame--light .e8g-lvl--inv,
.e8g-frame--light .e8g-lvl--rb,
.e8g-frame--light .e8g-lvl--ce,
.e8g-frame--light .e8g-lvl--pro { fill: #e11d48; }
.e8g-frame--light .e8g-lvl--fvg { fill: #047857; }
.e8g-frame--light .e8g-extreme { fill: rgba(244, 63, 94, 0.08); }
.e8g-frame--light .e8g-vwap-dev { stroke: rgba(109, 40, 217, 0.35); }
.e8g-frame--light .e8g-london { stroke: rgba(14, 165, 233, 0.2); }
.e8g-frame--light .e8g-axis { fill: #0369a1; }
.e8g-frame--light .e8g-line { stroke: #0e7490; opacity: 0.35; }
.e8g-frame--light .e8g-note-chip { fill: #ffffff; }
.e8g-frame--light .e8g-note-chip--liq,
.e8g-frame--light .e8g-note-chip--ny,
.e8g-frame--light .e8g-note-chip--sweep { stroke: #38bdf8; }
.e8g-frame--light .e8g-note-chip--fvg,
.e8g-frame--light .e8g-note-chip--entry { stroke: #10b981; }
.e8g-frame--light .e8g-note-chip--bos { stroke: #8b5cf6; }
.e8g-frame--light .e8g-note-chip--inv { stroke: #e11d48; }
.e8g-frame--light .e8g-note-chip--ce { stroke: #fb7185; }
.e8g-frame--light .e8g-note-text--liq,
.e8g-frame--light .e8g-note-text--ny,
.e8g-frame--light .e8g-note-text--sweep { fill: #0369a1; }
.e8g-frame--light .e8g-note-text--fvg,
.e8g-frame--light .e8g-note-text--entry { fill: #047857; }
.e8g-frame--light .e8g-note-text--bos { fill: #6d28d9; }
.e8g-frame--light .e8g-note-text--inv { fill: #e11d48; }
.e8g-frame--light .e8g-note-text--ce { fill: #be123c; }
.e8g-frame--light .e8g-notes [data-e8g-step].is-on .e8g-note-chip {
  filter: drop-shadow(0 8px 16px rgba(15, 23, 42, 0.08));
}
.e8g-frame--light .e8g-entry { fill: #047857; stroke: #ffffff; }
.e8g-frame--light .e8g-legend {
  background: #ffffff;
  border-top-color: #e2e8f0;
}
.e8g-frame--light .e8g-legend li {
  color: #64748b;
  background: #f8fafc;
  border-color: #e2e8f0;
}
.e8g-frame--light .e8g-legend li.is-on {
  color: #047857;
  background: #ecfdf5;
  border-color: #6ee7b7;
}
.e8g-frame--light figcaption { color: #64748b; }

/* Indicator suite on one chart. Every layer stays drawn; the cycler moves the
   callout so each tool gets named next to the thing it draws. */
.e8i-frame {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}
.e8i-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #eef2f7;
  background: #f8fafc;
}
.e8i-chrome p {
  margin: 0;
  color: #0f172a;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.e8i-dots { display: flex; gap: 5px; }
.e8i-dots i { width: 7px; height: 7px; border-radius: 50%; background: #cbd5e1; }
.e8i-dots i:nth-child(1) { background: #f87171; }
.e8i-dots i:nth-child(2) { background: #fbbf24; }
.e8i-dots i:nth-child(3) { background: #34d399; }
.e8i-on {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid #c7d2fe;
  background: #eef2ff;
  color: #4338ca;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.e8i-svg { display: block; width: 100%; height: auto; }
.e8i-grid path { stroke: #eef2f7; stroke-width: 1; }
.e8i-tape path { fill: none; stroke-width: 1.3; }
.e8i-up path { stroke: #0f9d76; }
.e8i-up rect { fill: #10b981; }
.e8i-dn path { stroke: #d6455f; }
.e8i-dn rect { fill: #f43f5e; }

.e8i-level {
  stroke: #a16207;
  stroke-width: 1.4;
  stroke-dasharray: 5 6;
  transition: stroke-width 0.25s ease, stroke 0.25s ease;
}
.e8i-vwap { fill: none; stroke: #7c3aed; stroke-width: 1.8; opacity: 0.85; }
.e8i-band {
  fill: none;
  stroke: #a78bfa;
  stroke-width: 1.3;
  stroke-dasharray: 4 5;
  opacity: 0.85;
}
.e8i-fvg { fill: rgba(16, 185, 129, 0.14); stroke: rgba(5, 150, 105, 0.55); stroke-width: 1; }
.e8i-block { fill: rgba(244, 63, 94, 0.12); stroke: rgba(225, 29, 72, 0.5); stroke-width: 1; }
.e8i-stretch line { stroke: #7c3aed; stroke-width: 1.3; }
.e8i-exh { fill: #e11d48; }

.e8i-chip { fill: #ffffff; stroke-width: 1.2; }
.e8i-chip-text { font-family: Inter, system-ui, sans-serif; font-size: 11px; font-weight: 800; }
.e8i-lead { stroke-width: 1.2; stroke-dasharray: 3 3; }
/* Only the tool being named shows its callout, so the chart never gets busy. */
.e8i-steps .e8i-step { opacity: 0; transition: opacity 0.25s ease; }
.e8i-steps .e8i-step.is-on { opacity: 1; }
.e8i-step.is-map .e8i-chip, .e8i-step.is-map .e8i-lead { stroke: #a16207; }
.e8i-step.is-map .e8i-chip-text { fill: #854d0e; }
.e8i-step.is-vwap .e8i-chip, .e8i-step.is-vwap .e8i-lead { stroke: #7c3aed; }
.e8i-step.is-vwap .e8i-chip-text { fill: #6d28d9; }
.e8i-step.is-ext .e8i-chip, .e8i-step.is-ext .e8i-lead { stroke: #e11d48; }
.e8i-step.is-ext .e8i-chip-text { fill: #be123c; }
.e8i-step.is-block .e8i-chip, .e8i-step.is-block .e8i-lead { stroke: #e11d48; }
.e8i-step.is-block .e8i-chip-text { fill: #be123c; }
.e8i-step.is-fvg .e8i-chip { stroke: #059669; }
.e8i-step.is-fvg .e8i-chip-text { fill: #047857; font-size: 10px; }

.e8i-legend {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 12px;
  list-style: none;
  border-top: 1px solid #eef2f7;
}
.e8i-legend li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.e8i-legend b { color: #0f172a; font-size: 12px; font-weight: 800; white-space: nowrap; }
.e8i-legend span { color: #64748b; font-size: 11.5px; line-height: 1.35; }
.e8i-legend li.is-on { background: #f8fafc; border-color: #e2e8f0; }
.e8i-legend li.is-on.is-map b { color: #854d0e; }
.e8i-legend li.is-on.is-vwap b { color: #6d28d9; }
.e8i-legend li.is-on.is-ext b,
.e8i-legend li.is-on.is-block b { color: #be123c; }
.e8i-legend li.is-on.is-fvg b { color: #047857; }
.e8i-frame figcaption {
  margin: 0;
  padding: 0 14px 14px;
  color: #64748b;
  font-size: 11.5px;
  line-height: 1.45;
}
@media (max-width: 640px) {
  .e8i-legend span { display: none; }
  .e8i-legend li { grid-template-columns: minmax(0, 1fr); }
}

/* NQ Command Center board: regime, sentiment, heat map, calendar, journal.
   Every panel stays on screen like a real dashboard. The step cycler only
   moves the highlight, so nothing blanks out while the loop runs. */
.e8g-bd-card {
  fill: rgba(255, 255, 255, 0.03);
  stroke: rgba(148, 163, 184, 0.16);
  stroke-width: 1;
  transition: fill 0.22s ease, stroke 0.22s ease;
}
.e8g-board-panels [data-e8g-step].is-on .e8g-bd-card {
  fill: rgba(52, 211, 153, 0.07);
  stroke: rgba(52, 211, 153, 0.5);
}
.e8g-bd-kicker { transition: fill 0.22s ease; }
.e8g-board-panels [data-e8g-step].is-on .e8g-bd-kicker { fill: #6ee7b7; }
.e8g-frame--board text { font-family: Inter, system-ui, sans-serif; }
.e8g-bd-kicker {
  fill: #e2e8f0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.e8g-bd-meta { fill: #7b8aa0; font-size: 11px; font-weight: 600; }
.e8g-bd-label { fill: #94a3b8; font-size: 12px; font-weight: 700; }
.e8g-bd-value { fill: #e2e8f0; font-size: 12px; font-weight: 800; }
.e8g-bd-regime { fill: rgba(52, 211, 153, 0.16); stroke: rgba(52, 211, 153, 0.7); stroke-width: 1; }
.e8g-bd-regime-dot { fill: #34d399; animation: e8g-bd-pulse 2.4s ease-in-out infinite; }
.e8g-bd-regime-text { fill: #6ee7b7; font-size: 14px; font-weight: 800; }
.e8g-bd-track { fill: rgba(148, 163, 184, 0.18); }
/* These fill in once, like a dashboard loading, and then hold. Looping them
   made the board look like it was reloading every few seconds. */
.e8g-bd-bar {
  transform-box: fill-box;
  transform-origin: left center;
  animation: e8g-bd-grow 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
.e8g-bd-bar.is-adv { fill: #34d399; }
.e8g-bd-bar.is-dec { fill: #fb7185; animation-delay: 0.42s; }
@keyframes e8g-bd-grow {
  from { transform: scaleX(0.06); }
  to { transform: scaleX(1); }
}
@keyframes e8g-bd-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.e8g-bd-score { fill: #f8fafc; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.e8g-bd-score-tag { fill: #6ee7b7; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.e8g-bd-gauge-track {
  fill: none;
  stroke: rgba(148, 163, 184, 0.22);
  stroke-width: 12;
  stroke-linecap: round;
}
.e8g-bd-gauge {
  fill: none;
  stroke: url(#e8gBoardGauge);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 100;
  animation: e8g-bd-gauge 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}
@keyframes e8g-bd-gauge {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 38; }
}
.e8g-bd-needle {
  transform-box: view-box;
  transform-origin: 548px 142px;
  animation: e8g-bd-needle 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}
.e8g-bd-needle line { stroke: #f8fafc; stroke-width: 2.4; stroke-linecap: round; }
@keyframes e8g-bd-needle {
  from { transform: rotate(-74deg); }
  to { transform: rotate(22deg); }
}
.e8g-bd-hub { fill: #0b1424; stroke: #94a3b8; stroke-width: 1.5; }
.e8g-bd-scale { fill: #64748b; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.e8g-bd-tile { animation: e8g-bd-tile 5.6s ease-in-out infinite; }
.e8g-bd-tile.up-1 { fill: rgba(52, 211, 153, 0.28); }
.e8g-bd-tile.up-2 { fill: rgba(52, 211, 153, 0.5); }
.e8g-bd-tile.up-3 { fill: rgba(52, 211, 153, 0.72); }
.e8g-bd-tile.dn-1 { fill: rgba(251, 113, 133, 0.3); }
.e8g-bd-tile.dn-2 { fill: rgba(251, 113, 133, 0.55); }
.e8g-bd-tiles > g:nth-child(2n) .e8g-bd-tile { animation-delay: 0.5s; }
.e8g-bd-tiles > g:nth-child(3n) .e8g-bd-tile { animation-delay: 1s; }
.e8g-bd-tiles > g:nth-child(5n) .e8g-bd-tile { animation-delay: 1.5s; }
@keyframes e8g-bd-tile {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}
.e8g-bd-ticker { fill: #05130d; font-size: 9px; font-weight: 800; letter-spacing: 0.04em; }
.e8g-bd-row rect:first-child { fill: rgba(255, 255, 255, 0.03); stroke: rgba(148, 163, 184, 0.12); stroke-width: 1; }
.e8g-bd-event { fill: #cbd5e1; font-size: 11.5px; font-weight: 600; }
.e8g-bd-badge.is-up { fill: rgba(52, 211, 153, 0.16); stroke: rgba(52, 211, 153, 0.6); stroke-width: 1; }
.e8g-bd-badge.is-mixed { fill: rgba(251, 191, 36, 0.14); stroke: rgba(251, 191, 36, 0.6); stroke-width: 1; }
.e8g-bd-badge-text { font-size: 10px; font-weight: 800; letter-spacing: 0.04em; }
.e8g-bd-badge-text.is-up { fill: #6ee7b7; }
.e8g-bd-badge-text.is-mixed { fill: #fcd34d; }
.e8g-bd-base { stroke: rgba(148, 163, 184, 0.25); stroke-width: 1; }
.e8g-bd-day {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: e8g-bd-day 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.e8g-bd-day.is-up { fill: rgba(52, 211, 153, 0.75); }
.e8g-bd-day.is-dn { fill: rgba(251, 113, 133, 0.7); }
.e8g-bd-days .e8g-bd-day:nth-child(1) { animation-delay: 0.30s; }
.e8g-bd-days .e8g-bd-day:nth-child(2) { animation-delay: 0.36s; }
.e8g-bd-days .e8g-bd-day:nth-child(3) { animation-delay: 0.42s; }
.e8g-bd-days .e8g-bd-day:nth-child(4) { animation-delay: 0.48s; }
.e8g-bd-days .e8g-bd-day:nth-child(5) { animation-delay: 0.54s; }
.e8g-bd-days .e8g-bd-day:nth-child(6) { animation-delay: 0.60s; }
.e8g-bd-days .e8g-bd-day:nth-child(7) { animation-delay: 0.66s; }
.e8g-bd-days .e8g-bd-day:nth-child(8) { animation-delay: 0.72s; }
.e8g-bd-days .e8g-bd-day:nth-child(9) { animation-delay: 0.78s; }
.e8g-bd-days .e8g-bd-day:nth-child(10) { animation-delay: 0.84s; }
@keyframes e8g-bd-day {
  from { transform: scaleY(0.08); }
  to { transform: scaleY(1); }
}
.e8g-bd-cal > rect { fill: rgba(255, 255, 255, 0.03); stroke: rgba(148, 163, 184, 0.12); stroke-width: 1; }
.e8g-bd-cells rect.is-up { fill: rgba(52, 211, 153, 0.5); }
.e8g-bd-cells rect.is-dn { fill: rgba(251, 113, 133, 0.5); }
.e8g-bd-cells rect.is-flat { fill: rgba(148, 163, 184, 0.28); }
.e8g-bd-cells rect { animation: e8g-bd-tile 5.6s ease-in-out infinite; }
.e8g-bd-cells rect:nth-child(2n) { animation-delay: 0.4s; }
.e8g-bd-cells rect:nth-child(3n) { animation-delay: 0.9s; }
/* The board scales with its viewBox, so a phone needs bigger type inside the SVG. */
@media (max-width: 760px) {
  .e8g-frame--board .e8g-legend { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .e8g-frame--board .e8g-bd-kicker { font-size: 15px; }
  .e8g-frame--board .e8g-bd-label,
  .e8g-frame--board .e8g-bd-value { font-size: 15px; }
  .e8g-frame--board .e8g-bd-regime-text { font-size: 16px; }
  .e8g-frame--board .e8g-bd-meta { font-size: 13px; }
  .e8g-frame--board .e8g-bd-event { font-size: 14px; }
  .e8g-frame--board .e8g-bd-badge-text { font-size: 12px; }
  .e8g-frame--board .e8g-bd-score { font-size: 34px; }
  .e8g-frame--board .e8g-bd-score-tag { font-size: 14px; }
  .e8g-frame--board .e8g-bd-scale { font-size: 12px; }
  .e8g-frame--board .e8g-bd-ticker { font-size: 11px; }
}

.e8g-mentor-desk {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.72fr);
  gap: 0;
  align-items: stretch;
}
.e8g-mentor-desk .e8g-svg {
  border-right: 1px solid #e2e8f0;
}
.e8g-mentor-notes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 16px 16px;
  background: #f8fafc;
}
.e8g-mentor .e8g-candles g,
.e8g-mentor .e8g-tape > * {
  animation: none;
  opacity: 1;
  transform: none;
}
.e8g-mentor .e8g-hold-mid,
.e8g-mentor .e8g-hold-late,
.e8g-mentor .e8g-fvg,
.e8g-mentor .e8g-entry,
.e8g-mentor .e8g-signal {
  animation: none;
  opacity: 1;
}
.e8g-mentor .e8g-pen,
.e8g-mentor .e8g-pen-path {
  display: none;
}
.e8g-mentor-notes > p {
  margin: 0;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.e8g-mentor-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #047857;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.e8g-mentor-notes ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.e8g-mentor-notes li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}
.e8g-mentor-notes li b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-size: 11px;
}
.e8g-mentor-notes li.is-on {
  color: #0f172a;
  border-color: #6ee7b7;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.12);
}
.e8g-mentor-notes li.is-on b {
  background: #10b981;
  color: #ffffff;
}
.e8g-mentor-call {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.e8g-mentor-seat {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.e8g-mentor-seat--live {
  border-color: #6ee7b7;
  background: #ecfdf5;
  color: #047857;
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.12);
}
.e8g-mentor-ring {
  fill: none;
  stroke: #0f766e;
  stroke-width: 1.8;
  stroke-dasharray: 6 4;
}

.e8g-session {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(132px, 0.72fr);
  gap: 12px;
  align-items: stretch;
  background: transparent;
}
.e8g-session-chart {
  display: block;
  width: 100%;
  height: auto;
  min-height: 168px;
}
.e8g-session-aside {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 2px 0 0;
}
.e8g-session-aside > p,
.e8g-session-kicker {
  margin: 0;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.e8g-session-aside ol,
.e8g-session-flow {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.e8g-session-aside li,
.e8g-session-flow li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.e8g-session-aside li b,
.e8g-session-flow li b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-size: 10px;
}
.e8g-session-aside li.is-on,
.e8g-session-flow li.is-on {
  color: #0f172a;
  border-color: #6ee7b7;
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.1);
}
.e8g-session-aside li.is-on b,
.e8g-session-flow li.is-on b {
  background: #10b981;
  color: #ffffff;
}
.e8g-session--call {
  grid-template-columns: 1fr;
  gap: 8px;
}
.e8g-session--call .e8g-session-chart { min-height: 148px; }
.e8g-session-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.e8g-session-bar span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.e8g-session-bar span.is-live {
  border-color: #6ee7b7;
  background: #ecfdf5;
  color: #047857;
}
.e8g-mini p.e8g-session-quote {
  margin: 0;
  align-self: start;
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  font-size: 12px;
  font-weight: 700;
}
.e8g-session--onboard {
  grid-template-columns: 1fr;
  gap: 10px;
}
.e8g-session-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.e8g-session-flow li {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 118px;
}
.e8g-session-flow strong {
  color: #0f172a;
  font-size: 14px;
}
.e8g-session-flow span { color: #64748b; font-weight: 600; }
.e8g-session-flow em {
  margin-top: auto;
  font-style: normal;
  color: #047857;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.e8g-session--lesson,
.e8g-session--playbook,
.e8g-session--strategy,
.e8g-session--habits,
.e8g-session--suite {
  grid-template-columns: 1fr;
  gap: 10px;
}
.e8g-lesson-share {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  padding: 0 0 18px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}
.e8g-lesson-chart {
  display: block;
  width: 100%;
  height: auto;
  min-height: 156px;
}
.e8g-lesson-live {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.e8g-lesson-host,
.e8g-lesson-pip {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 6px 4px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
  color: #334155;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.e8g-lesson-host { left: 10px; bottom: 22px; }
.e8g-lesson-pip { right: 10px; bottom: 22px; }
.e8g-lesson-host .e8g-av-face,
.e8g-lesson-pip .e8g-av-face { width: 24px; height: 24px; }
.e8g-lesson-host .e8g-av-face::before,
.e8g-lesson-pip .e8g-av-face::before { top: 4px; width: 10px; height: 10px; margin-left: -5px; }
.e8g-lesson-host .e8g-av-face::after,
.e8g-lesson-pip .e8g-av-face::after { bottom: -4px; width: 18px; height: 14px; margin-left: -9px; }
.e8g-av-face {
  display: block;
  position: relative;
  overflow: hidden;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #94a3b8;
}
.e8g-av-face::before,
.e8g-av-face::after {
  content: "";
  position: absolute;
  left: 50%;
  background: #ffffff;
}
.e8g-av-face::before {
  top: 11px;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
}
.e8g-av-face::after {
  bottom: -6px;
  width: 30px;
  height: 22px;
  margin-left: -15px;
  border-radius: 16px 16px 0 0;
}
.e8g-av-face--mentor { background: #34d399; }
.e8g-lesson-bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: #e2e8f0;
}
.e8g-lesson-bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #38bdf8, #34d399);
  transform-origin: left center;
  animation: e8g-fillbar 12s ease-in-out infinite;
}
.e8g-lesson-chapters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.e8g-session--playbook .e8g-session-chart { min-height: 132px; }
.e8g-playbook-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.e8g-playbook-rules article,
.e8g-strategy-rows article {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
}
.e8g-playbook-rules article.is-on,
.e8g-strategy-rows article.is-on,
.e8g-habit-week li.is-on,
.e8g-suite-list li.is-on,
.e8g-lesson-chapters li.is-on {
  border-color: #6ee7b7;
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.1);
}
.e8g-playbook-rules b,
.e8g-strategy-rows em {
  color: #0369a1;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.e8g-playbook-rules span,
.e8g-strategy-rows span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}
.e8g-strategy-rows {
  display: grid;
  gap: 8px;
}
.e8g-strategy-rows strong {
  color: #0f172a;
  font-size: 14px;
}
.e8g-call-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.e8g-call-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 110px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f8fafc;
  color: #334155;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.e8g-call-tile.is-live {
  background: #ecfdf5;
  border-color: #6ee7b7;
}
.e8g-call-tile b {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #10b981;
  color: #ffffff;
  font-size: 8px;
  letter-spacing: 0.12em;
}
.e8g-mini p.e8g-call-hw,
.e8g-mini p.e8g-habit-cap {
  padding: 0;
  color: #047857;
  font-size: 12px;
  font-weight: 700;
}
.e8g-habit-week,
.e8g-suite-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.e8g-suite-list { grid-template-columns: 1fr; }
.e8g-habit-week li,
.e8g-suite-list li,
.e8g-lesson-chapters li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}
.e8g-suite-list li,
.e8g-lesson-chapters li {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.e8g-habit-week b,
.e8g-suite-list b,
.e8g-lesson-chapters b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-size: 9px;
}
.e8g-habit-week li.is-on b,
.e8g-suite-list li.is-on b,
.e8g-lesson-chapters li.is-on b {
  background: #10b981;
  color: #ffffff;
}
.e8g-suite-list b {
  width: 12px;
  height: 12px;
  border: 2px solid #cbd5e1;
  background: #ffffff;
}
.e8g-suite-list li.is-on b {
  border-color: #10b981;
  background: #10b981;
}
.e8g-suite-list li { padding: 7px 10px; }
.e8g-suite-list span { color: #0f172a; }
.e8g-suite-list em {
  margin-left: auto;
  font-style: normal;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.e8g-suite-list li.is-on em { color: #047857; }
.e8g-mini p.e8g-suite-cap {
  margin: 0;
  padding: 0;
  color: #047857;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.e8g-mini--autotrader svg {
  display: block;
  width: 100%;
  min-height: 208px;
  background: transparent;
}
.e8g-mini--autotrader .e8g-tape > *,
.e8g-mini--autotrader .e8g-vol > * {
  animation: none;
  opacity: 1;
  transform: none;
}
.e8g-at-bg { fill: #07111f; }
.e8g-mini--autotrader text { fill: #cbd5e1; }
.e8g-mini--autotrader .e8g-engine-lvl--hi { fill: #7dd3fc; }
.e8g-mini--autotrader .e8g-engine-lvl--lo { fill: #fda4af; }
.e8g-mini--autotrader .e8g-grid path { stroke: rgba(148, 163, 184, 0.16); }
.e8g-mini--autotrader .e8g-vol rect { fill: rgba(148, 163, 184, 0.42); }
.e8g-mini--autotrader .e8g-vol .e8g-vol--hot { fill: rgba(56, 189, 248, 0.78); }
.e8g-mini text.e8g-at-title {
  fill: #94a3b8;
  font: 800 9px Inter, system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.e8g-at-live { fill: rgba(16, 185, 129, 0.16); stroke: #34d399; }
.e8g-mini text.e8g-at-live-text {
  fill: #a7f3d0;
  font: 800 7.5px Inter, system-ui, sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.e8g-mini--autotrader .e8g-engine-overnight { fill: rgba(56, 189, 248, 0.12); stroke: rgba(56, 189, 248, 0.32); }
.e8g-mini--autotrader .e8g-engine-window { fill: rgba(52, 211, 153, 0.08); stroke: none; }
.e8g-mini text.e8g-at-ovn,
.e8g-mini text.e8g-at-open-lbl,
.e8g-mini text.e8g-at-sweep-lbl {
  fill: #7dd3fc;
  font: 800 8px Inter, system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.e8g-mini text.e8g-at-sweep-lbl { fill: #38bdf8; }
.e8g-mini text.e8g-at-hud-kicker {
  fill: #94a3b8;
  font: 800 7px Inter, system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.e8g-mini text.e8g-at-out-kicker,
.e8g-mini text.e8g-at-out-sub {
  fill: #94a3b8;
  font: 800 7px Inter, system-ui, sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.e8g-at-out {
  fill: #06101c;
  stroke: rgba(52, 211, 153, 0.48);
  stroke-width: 1.25;
}
.e8g-at-out-rule {
  stroke: rgba(52, 211, 153, 0.28);
  stroke-width: 1;
}
.e8g-mini text.e8g-at-out-label {
  fill: #86efac;
  font: 800 8px Inter, system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.e8g-mini text.e8g-at-out-value {
  fill: #f8fafc;
  font: 800 16px Inter, system-ui, sans-serif;
  letter-spacing: 0.01em;
  text-transform: none;
}
.e8g-mini text.e8g-at-long {
  fill: #34d399;
  font: 800 9px Inter, system-ui, sans-serif;
  letter-spacing: 0.04em;
}
.e8g-mini--autotrader .e8g-impulse { filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.55)); }
.e8g-mini--autotrader .e8g-signal--buy { fill: #34d399; }
.e8g-mini--autotrader .e8g-ce {
  stroke: #34d399;
  stroke-dasharray: 3 3;
  animation: none;
  opacity: 0.9;
}
.e8g-mini--lesson .e8g-tape > * {
  animation: none;
  opacity: 1;
  transform: none;
}
.e8g-mini--lesson .e8g-ce {
  stroke: #059669;
  animation: none;
}
.e8g-mini--autotrader .e8g-at-check { opacity: 1; animation: none; }
.e8g-mini--autotrader .e8g-at-check circle {
  fill: rgba(16, 185, 129, 0.22);
  stroke: #34d399;
}
.e8g-mini text.e8g-at-check-label {
  fill: #e2e8f0;
  font: 700 8px Inter, system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.e8g-mini--lesson .e8g-impulse,
.e8g-frame--light .e8g-impulse { filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.5)); }
.e8g-mini--lesson .e8g-signal--buy,
.e8g-frame--light .e8g-signal--buy { fill: #059669; }
.e8g-mini--card.e8g-mini--lesson .e8g-lesson-chart,
.e8g-mini--card.e8g-mini--playbook svg,
.e8g-mini--card.e8g-mini--call .e8g-session-chart { min-height: 148px; }

@media (max-width: 860px) {
  .e8g-mentor-desk { grid-template-columns: 1fr; }
  .e8g-mentor-desk .e8g-svg { border-right: 0; border-bottom: 1px solid #e2e8f0; }
  .e8g-session { grid-template-columns: 1fr; }
  .e8g-session-flow { grid-template-columns: 1fr; }
}

.e8g-pen--mini { animation-name: e8g-pen-mini; }
.e8g-pen-path {
  fill: none;
  stroke: rgba(15, 118, 110, 0.55);
  stroke-width: 1.6;
  stroke-dasharray: 180;
  animation: e8g-draw 12s ease-in-out infinite;
}
.e8g-mini--playbook [data-e8g-step],
.e8g-mini--markup [data-e8g-step],
.e8g-mini--onboard [data-e8g-step],
.e8g-mini--lesson [data-e8g-step],
.e8g-mini--strategy [data-e8g-step],
.e8g-mini--habits [data-e8g-step],
.e8g-mini--suite [data-e8g-step],
.e8g-mini--call [data-e8g-step] { opacity: 0.72; }
.e8g-mini--playbook [data-e8g-step].is-on,
.e8g-mini--markup [data-e8g-step].is-on,
.e8g-mini--onboard [data-e8g-step].is-on,
.e8g-mini--lesson [data-e8g-step].is-on,
.e8g-mini--strategy [data-e8g-step].is-on,
.e8g-mini--habits [data-e8g-step].is-on,
.e8g-mini--suite [data-e8g-step].is-on,
.e8g-mini--call [data-e8g-step].is-on { opacity: 1; }

.e8g-framework {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.e8g-framework article {
  position: relative;
  padding: 12px 10px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
  overflow: hidden;
}
.e8g-framework b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin: 0 auto 6px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 11px;
}
.e8g-framework strong { display: block; color: #0f172a; font-size: 12px; }
.e8g-framework span { display: block; margin-top: 3px; color: #64748b; font-size: 10px; line-height: 1.35; }
.e8g-framework article::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #163b6b, #1b7a52);
  transform: scaleX(0);
  transform-origin: left;
  animation: e8m-flow 14s ease-in-out infinite;
}
.e8g-framework article:nth-child(1)::after { animation-delay: 0s; }
.e8g-framework article:nth-child(2)::after { animation-delay: 2s; }
.e8g-framework article:nth-child(3)::after { animation-delay: 4s; }
.e8g-framework article:nth-child(4)::after { animation-delay: 6s; }
.e8g-framework article:nth-child(5)::after { animation-delay: 8s; }
.e8g-framework article:nth-child(6)::after { animation-delay: 10s; }
.e8g-framework article:nth-child(7)::after { animation-delay: 12s; }
.e8g-framework article.is-on {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.08);
}

@keyframes e8g-draw {
  0% { stroke-dashoffset: 720; }
  28%, 90% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 720; }
}
@keyframes e8g-print-lock {
  0% { opacity: 0; transform: scaleY(0.18); }
  10%, 100% { opacity: 1; transform: scaleY(1); }
}
@keyframes e8g-lock-signal {
  0%, 14% { opacity: 0; }
  22%, 100% { opacity: 1; }
}
@keyframes e8g-repaint-ghost {
  0%, 20% { opacity: 0; transform: translate(0, 0); }
  30% { opacity: 0.55; transform: translate(0, 0); }
  58% { opacity: 0.35; transform: translate(92px, -16px); }
  74%, 100% { opacity: 0; transform: translate(128px, -22px); }
}
@keyframes e8g-repaint-ghost-dn {
  0%, 20% { opacity: 0; transform: translate(0, 0); }
  30% { opacity: 0.55; transform: translate(0, 0); }
  58% { opacity: 0.35; transform: translate(84px, 22px); }
  74%, 100% { opacity: 0; transform: translate(118px, 36px); }
}
@keyframes e8g-stack-hold {
  0%, 8% { opacity: 0; }
  16%, 100% { opacity: 1; }
}
@keyframes e8g-print {
  0% { opacity: 0; transform: scaleY(0.18); }
  7%, 90% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0.45; transform: scaleY(1); }
}
@keyframes e8g-hold {
  0%, 10% { opacity: 0; }
  18%, 88% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes e8g-stack {
  0%, 6% { opacity: 0; }
  14%, 82% { opacity: 1; }
  92%, 100% { opacity: 0; }
}
@keyframes e8g-fillbar {
  0%, 18% { transform: scaleX(0.08); }
  42%, 86% { transform: scaleX(1); }
  100% { transform: scaleX(0.08); }
}
@keyframes e8g-candle-in {
  0%, 8% { opacity: 0; }
  18%, 88% { opacity: 1; }
  100% { opacity: 0.55; }
}
@keyframes e8g-candle-hold {
  0%, 8% { opacity: 0; }
  18%, 100% { opacity: 1; }
}
@keyframes e8g-play {
  0% { transform: translateX(0); opacity: 0; }
  8% { opacity: 1; }
  90% { transform: translateX(612px); opacity: 1; }
  100% { transform: translateX(612px); opacity: 0; }
}
@keyframes e8g-play-engine {
  0% { transform: translateX(0); opacity: 0; }
  8% { opacity: 1; }
  90% { transform: translateX(660px); opacity: 1; }
  100% { transform: translateX(660px); opacity: 0; }
}
@keyframes e8g-play-chart {
  0% { transform: translateX(0); opacity: 0; }
  8% { opacity: 1; }
  90% { transform: translateX(656px); opacity: 1; }
  100% { transform: translateX(656px); opacity: 0; }
}
@keyframes e8g-zone {
  0%, 28% { opacity: 0; }
  40%, 82% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes e8g-ping {
  0%, 45% { opacity: 0; transform: scale(0.6); }
  55%, 80% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; }
}
@keyframes e8g-dash {
  to { stroke-dashoffset: -40; }
}
@keyframes e8g-spin { to { transform: rotate(360deg); } }
@keyframes e8g-hand { to { transform: rotate(360deg); } }
@keyframes e8g-drop {
  0% { top: 12px; opacity: 0; }
  15% { opacity: 1; }
  50% { top: 58px; }
  85% { top: 108px; opacity: 1; }
  100% { top: 108px; opacity: 0; }
}
@keyframes e8g-pipe {
  0% { left: 8%; opacity: 0; }
  12% { opacity: 1; }
  88% { left: 88%; opacity: 1; }
  100% { left: 90%; opacity: 0; }
}
@keyframes e8g-wick {
  0%, 30% { transform: scaleY(0.2); transform-origin: bottom; }
  42%, 80% { transform: scaleY(1); }
  100% { transform: scaleY(0.2); }
}
@keyframes e8g-meter {
  0%, 14% { transform: scaleX(0.16); }
  42%, 72% { transform: scaleX(1); }
  100% { transform: scaleX(0.16); }
}
@keyframes e8g-mini-play {
  0% { transform: translateX(0); opacity: 0; }
  8% { opacity: 0.9; }
  78% { transform: translateX(330px); opacity: 0.9; }
  88%, 100% { transform: translateX(330px); opacity: 0; }
}
@keyframes e8g-toast {
  0%, 28% { transform: translateX(18px); opacity: 0; }
  40%, 82% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(18px); opacity: 0; }
}
@keyframes e8g-journal {
  0%, 18% { opacity: 0.25; }
  32%, 100% { opacity: 1; }
}
@keyframes e8g-packet {
  0% { transform: translateX(0); opacity: 0; }
  12% { opacity: 1; }
  42% { transform: translateX(76px); }
  58% { transform: translateX(76px); }
  88% { transform: translateX(206px); opacity: 1; }
  100% { transform: translateX(206px); opacity: 0; }
}
@keyframes e8g-pen {
  0% { transform: translate(210px, 96px); opacity: 0; }
  12% { opacity: 1; }
  38% { transform: translate(268px, 112px); }
  62% { transform: translate(312px, 156px); opacity: 1; }
  80%, 100% { transform: translate(312px, 156px); opacity: 0; }
}
@keyframes e8g-pen-mini {
  0% { transform: translate(96px, 70px); opacity: 0; }
  16% { opacity: 1; }
  48% { transform: translate(136px, 92px); }
  72% { transform: translate(172px, 106px); opacity: 1; }
  88%, 100% { transform: translate(172px, 106px); opacity: 0; }
}
.e8g-pen--lesson { animation-name: e8g-pen-lesson; }
.e8g-pen--review { animation-name: e8g-pen-review; }
@keyframes e8g-pen-lesson {
  0% { transform: translate(118px, 28px); opacity: 0; }
  14% { opacity: 1; }
  42% { transform: translate(154px, 68px); }
  68% { transform: translate(186px, 92px); opacity: 1; }
  88%, 100% { transform: translate(186px, 92px); opacity: 0; }
}
@keyframes e8g-pen-review {
  0% { transform: translate(96px, 36px); opacity: 0; }
  16% { opacity: 1; }
  44% { transform: translate(136px, 52px); }
  70% { transform: translate(180px, 80px); opacity: 1; }
  88%, 100% { transform: translate(180px, 80px); opacity: 0; }
}

.e8g-edu-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.e8g-edu-hero-scene .e8g-frame { height: 100%; }
.e8g-framework--edu article {
  text-align: left;
  background: #f8fafc;
  border-color: #e2e8f0;
  padding: 14px 12px 16px;
}
.e8g-framework--edu b {
  margin: 0 0 10px;
  width: 28px;
  height: 28px;
  background: #0f172a;
  color: #fff;
  font-size: 12px;
}
.e8g-framework--edu strong {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11px;
}
.e8g-framework--edu span { font-size: 11px; line-height: 1.4; }
.e8g-edu-guide [data-e8g-step],
.e8g-edu-process [data-e8g-step] {
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}
.e8g-edu-guide [data-e8g-step].is-on,
.e8g-edu-process [data-e8g-step].is-on {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.1);
  transform: translateY(-2px);
}
.e8g-edu-tools tbody tr {
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}
.e8g-edu-tools tbody tr.is-on {
  background: #ecfdf5;
  box-shadow: inset 3px 0 0 #10b981;
}

@media (max-width: 1024px) {
  .e8m-hero-grid,
  .e8g-edu-hero { grid-template-columns: 1fr; }
  .e8m-stage img { max-height: 360px; }
  .e8g-engine { grid-template-columns: 1fr 1fr; }
  .e8g-engine--hud { grid-template-columns: 1fr 1fr; }
  .e8g-engine-hud { grid-template-columns: 1fr; }
  .e8g-framework { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 901px) {
  .e8m-sticky { display: none !important; }
}

@media (max-width: 860px) {
  .e8m-flow,
  .e8m-path { grid-template-columns: 1fr 1fr; }
  .e8m-candles { display: none; }
  .e8g-engine { grid-template-columns: 1fr; }
  .e8g-engine--hud { grid-template-columns: 1fr; }
  .e8g-engine-hud { grid-template-columns: 1fr; }
  .e8g-engine-decision { grid-template-columns: 1fr; }
  .e8g-engine-hud .e8g-gates { grid-template-columns: 1fr; }
  .e8g-engine-decision .e8g-outputs { grid-template-columns: 1fr 1fr; }
  .e8g-legend { grid-template-columns: 1fr 1fr; }
  .e8g-framework { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .e8m-flow,
  .e8m-path { grid-template-columns: 1fr; }
  .e8m-sticky { left: 8px; right: 8px; bottom: 8px; }
  .e8g-legend { grid-template-columns: 1fr; }
}

.e8g-mini--overnight,
.e8g-mini--decision,
.e8g-mini--exitplan {
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(56, 189, 248, 0.16), transparent 58%),
    #07111f;
}
.e8g-mini--decision {
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(52, 211, 153, 0.16), transparent 52%),
    #07111f;
}
.e8g-mini--exitplan {
  background:
    radial-gradient(80% 80% at 100% 100%, rgba(251, 113, 133, 0.14), transparent 48%),
    #07111f;
}
.e8g-mini--overnight svg,
.e8g-mini--decision svg,
.e8g-mini--exitplan svg { min-height: 0; }
.e8g-mini--overnight text,
.e8g-mini--decision text,
.e8g-mini--exitplan text { fill: #cbd5e1; }
.e8g-mini--overnight text.e8g-engine-lvl--hi { fill: #7dd3fc; }
.e8g-mini--overnight text.e8g-engine-lvl--lo { fill: #fda4af; }
.e8g-mini--overnight .e8g-grid path,
.e8g-mini--decision .e8g-grid path,
.e8g-mini--exitplan .e8g-grid path { stroke: rgba(148, 163, 184, 0.16); }
.e8g-mini--overnight .e8g-tape > *,
.e8g-mini--decision .e8g-tape > *,
.e8g-mini--exitplan .e8g-tape > * {
  animation: none;
  opacity: 1;
  transform: none;
}
.e8g-mini text.e8g-step-kicker,
.e8g-mini text.e8g-step-chip-kicker {
  fill: #94a3b8;
  font: 800 8px Inter, system-ui, sans-serif;
  letter-spacing: 0.08em;
}
.e8g-mini text.e8g-step-chip-value {
  fill: #f8fafc;
  font: 800 12px Inter, system-ui, sans-serif;
  letter-spacing: 0.04em;
}
.e8g-ovn-shade {
  fill: rgba(56, 189, 248, 0.08);
  stroke: rgba(56, 189, 248, 0.28);
}
.e8g-mini--overnight .e8g-ovn-level { animation: e8g-level-glow 12s ease-in-out infinite; }
.e8g-mini--overnight .e8g-engine-onl.e8g-ovn-level { animation-delay: 0.7s; }
.e8g-event-dot--lo { fill: #fda4af; stroke: #fff1f2; }
.e8g-step-chip { stroke-width: 1.2; }
.e8g-step-chip--sky { fill: rgba(2, 6, 23, 0.72); stroke: rgba(56, 189, 248, 0.55); }
.e8g-step-chip--rose { fill: rgba(2, 6, 23, 0.78); stroke: rgba(251, 113, 133, 0.6); }
.e8g-scan-beam {
  transform-box: view-box;
  transform-origin: 0 0;
  animation: e8g-scan-overnight 12s linear infinite;
}
.e8g-scan-beam rect { fill: rgba(125, 211, 252, 0.18); }
.e8g-scan-beam line {
  stroke: rgba(224, 242, 254, 0.95);
  stroke-width: 1.6;
  stroke-linecap: round;
  filter: drop-shadow(0 0 7px rgba(56, 189, 248, 0.95));
}
.e8g-mini--overnight .e8g-hold-mid,
.e8g-mini--overnight .e8g-hold-late,
.e8g-mini--exitplan .e8g-hold-mid,
.e8g-mini--exitplan .e8g-hold-late {
  animation-name: e8g-arrive;
  animation-fill-mode: both;
}
.e8g-mini--decision [data-e8g-step] {
  opacity: 0;
  transition: opacity 0.45s ease;
}
.e8g-mini--decision [data-e8g-step].is-on { opacity: 1; }
.e8g-dec-pill { stroke-width: 1.25; }
.e8g-dec-pill--buy { fill: rgba(16, 185, 129, 0.14); stroke: rgba(52, 211, 153, 0.7); }
.e8g-dec-pill--sell { fill: rgba(244, 63, 94, 0.12); stroke: rgba(251, 113, 133, 0.72); }
.e8g-dec-pill--flat { fill: rgba(148, 163, 184, 0.1); stroke: rgba(148, 163, 184, 0.45); }
.e8g-mini text.e8g-dec-word {
  font: 800 16px Inter, system-ui, sans-serif;
  letter-spacing: 0.03em;
}
.e8g-mini--decision text.e8g-buy,
.e8g-mini--exitplan text.e8g-buy { fill: #6ee7b7; }
.e8g-mini--decision text.e8g-sell { fill: #fda4af; }
.e8g-mini--decision text.e8g-flat { fill: #e2e8f0; }
.e8g-mini--exitplan text.e8g-warn { fill: #fda4af; }
.e8g-mini--decision .e8g-impulse,
.e8g-mini--exitplan .e8g-impulse { filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.45)); }
.e8g-mini--decision .e8g-mini-dn.e8g-impulse { filter: drop-shadow(0 0 8px rgba(251, 113, 133, 0.45)); }
.e8g-stop-draw {
  fill: none;
  stroke: #fb7185;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-dasharray: 224;
  stroke-dashoffset: 224;
  animation: e8g-stop-draw 12s ease-in-out infinite;
}
.e8g-target-line {
  fill: none;
  stroke: #34d399;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 4 3;
}
.e8g-flat-badge { animation: e8g-arrive 12s ease-in-out 2.6s infinite both; }
@keyframes e8g-level-glow {
  0%, 18% { opacity: 0.28; }
  34%, 82% { opacity: 1; }
  100% { opacity: 0.28; }
}
@keyframes e8g-scan-overnight {
  0% { transform: translateX(0); opacity: 0; }
  8% { opacity: 1; }
  72% { transform: translateX(42%); opacity: 1; }
  88%, 100% { transform: translateX(42%); opacity: 0; }
}
@keyframes e8g-arrive {
  0%, 8% { opacity: 0; }
  18%, 94% { opacity: 1; }
  100% { opacity: 0; }
}
.e8g-mini--exitplan .e8g-progress-fill { fill: #7dd3fc; animation-fill-mode: both; }
.e8g-mini--exitplan .e8g-entry { animation: e8g-arrive 12s ease-in-out 0.5s infinite both; }
@keyframes e8g-stop-draw {
  0%, 6% { stroke-dashoffset: 224; opacity: 0; }
  22%, 94% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 224; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .e8m-reveal,
  .e8m-aurora,
  .e8m-grid-drift,
  .e8m-scan,
  .e8m-candle,
  .e8m-pulse-dot,
  .e8m-shine::after,
  .e8m-flow-step::before,
  .e8m-ticker-track,
  .e8g-line,
  .e8g-liq,
  .e8g-fvg,
  .e8g-playhead,
  .e8g-entry,
  .e8g-candles g,
  .e8g-ring-run,
  .e8g-hand,
  .e8g-route i,
  .e8g-pipe i,
  .e8g-mini-line,
  .e8g-mini-wick,
  .e8g-draw,
  .e8g-ce,
  .e8g-retest-dot,
  .e8g-alert-ring,
  .e8g-alert-lead,
  .e8g-bell,
  .e8g-pipe-dot,
  .e8g-packet,
  .e8g-toast,
  .e8g-signal,
  .e8g-lock-signal,
  .e8g-ghost-signal,
  .e8g-mini-play,
  .e8g-scan,
  .e8g-journal-row,
  .e8g-candles-mini > *,
  .e8g-tape > *,
  .e8g-vol > *,
  .e8g-hold-mid,
  .e8g-hold-late,
  .e8g-stack,
  .e8g-rule,
  .e8g-x-mark,
  .e8g-progress-fill,
  .e8g-lesson-bar i,
  .e8g-pen,
  .e8g-pen-path,
  .e8g-meters i::after,
  .e8g-engine-open,
  .e8g-bd-bar,
  .e8g-bd-gauge,
  .e8g-bd-needle,
  .e8g-bd-tile,
  .e8g-bd-day,
  .e8g-bd-regime-dot,
  .e8g-bd-cells rect,
  .e8g-framework article::after,
  .e8g-stop-draw,
  .e8g-ovn-level,
  .e8g-flat-badge,
  .e8g-scan-beam {
    animation: none !important;
  }
  .e8g-bd-gauge { stroke-dashoffset: 38; }
  .e8g-bd-needle { transform: rotate(22deg); }
  .e8g-mini--markets [data-e8g-step],
  .e8g-mini--tools [data-e8g-step],
  .e8g-mini--playbook [data-e8g-step],
  .e8g-mini--markup [data-e8g-step],
  .e8g-mini--onboard [data-e8g-step],
  .e8g-mini--lesson [data-e8g-step],
  .e8g-mini--strategy [data-e8g-step],
  .e8g-mini--habits [data-e8g-step],
  .e8g-mini--suite [data-e8g-step],
  .e8g-mini--call [data-e8g-step],
  .e8g-mini--autotrader .e8g-at-check,
  .e8g-edu-guide [data-e8g-step],
  .e8g-edu-process [data-e8g-step],
  .e8g-stack,
  .e8g-rule,
  .e8g-hold-mid,
  .e8g-hold-late,
  .e8g-notes [data-e8g-step],
  .e8g-gates li,
  .e8g-engine-hud .e8g-gates li,
  .e8g-engine-ticket { opacity: 1; }
  .e8g-engine-hud .e8g-gates em { opacity: 1; transform: none; }
  .e8g-frame--chart .e8g-notes [data-e8g-step],
  .e8g-frame--engine .e8g-notes [data-e8g-step] { opacity: 0; }
  .e8g-frame--chart .e8g-notes [data-e8g-step]:last-child,
  .e8g-frame--engine .e8g-notes [data-e8g-step]:last-child { opacity: 1; }
  .e8g-lock-signal { opacity: 1; }
  .e8g-ghost-signal { opacity: 0; }
  .e8g-edu-guide [data-e8g-step],
  .e8g-edu-process [data-e8g-step] { transform: none; }
  .e8g-progress-fill { transform: scaleX(1); }
  .e8g-meters i::after { transform: scaleX(1); }
  .e8m-reveal { animation: none; opacity: 1; transform: none; }
  .e8m-flow-step::before,
  .e8g-framework article::after { transform: scaleX(1); }
  .e8g-line { stroke-dashoffset: 0; }
  .e8g-candles g,
  .e8g-fvg,
  .e8g-entry { opacity: 1; }
  .e8g-playhead { display: none; }
  .e8g-stop-draw { stroke-dashoffset: 0; opacity: 1; }
  .e8g-ovn-level,
  .e8g-flat-badge { opacity: 1; }
  .e8g-scan-beam { opacity: 0; }
}
