/* TradeLeaks — quiet field, readable type, no chrome theater. */
:root {
  --tl-bg: #07080a;
  --tl-panel: rgba(14, 16, 20, 0.78);
  --tl-line: rgba(148, 163, 184, 0.14);
  --tl-text: #f4f4f5;
  --tl-muted: #94a3b8;
  --tl-accent: #34d399;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body.tl-live {
  background: var(--tl-bg);
  color: var(--tl-text);
  overflow-x: hidden;
  font-family: Manrope, system-ui, sans-serif;
}

body.tl-live ::selection {
  background: var(--tl-accent);
  color: #022c22;
}

#tl-fx-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#tl-fx-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: opacity 0.35s ease;
}

body.tl-live #root {
  position: relative;
  z-index: 2;
}

body.tl-live #root > div.bg-\[\#0d1117\],
body.tl-live #root > div.min-h-screen,
body.tl-live [class*="min-h-screen"][class*="from-slate"],
body.tl-live [class*="min-h-screen"][class*="bg-slate-900"],
body.tl-live [class*="from-slate-900"][class*="via-slate-800"],
body.tl-live [class*="from-slate-800"][class*="via-slate-700"][class*="py-"],
body.tl-live [class*="bg-gradient-to-br"][class*="from-slate-800"]:not([class*="rounded"]),
body.tl-live [class*="bg-gradient-to-br"][class*="from-slate-900"]:not([class*="rounded"]) {
  background-image: none !important;
  background-color: transparent !important;
}

body.tl-live nav.sticky.top-0 {
  top: 0 !important;
  z-index: 50 !important;
  background: rgba(7, 8, 10, 0.82) !important;
  border-bottom: 1px solid var(--tl-line) !important;
  backdrop-filter: blur(18px);
  box-shadow: none !important;
}
body.tl-live nav.sticky.top-0 a.text-slate-300:hover {
  color: #fff !important;
}
body.tl-live nav.sticky.top-0 button.bg-emerald-600 {
  border-radius: 7px !important;
  box-shadow: none !important;
}

body.tl-live .tl-home-hero {
  position: relative;
  min-height: auto;
  padding-top: 2.75rem;
  padding-bottom: 2.25rem;
  background: transparent !important;
}
body.tl-live .tl-home-hero > .absolute.inset-0 {
  display: none;
}
body.tl-live .tl-home-hero h1 {
  font-family: Syne, system-ui, sans-serif;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
body.tl-live .tl-home-hero h1 .text-blue-400 {
  color: var(--tl-accent) !important;
}
body.tl-live .tl-home-hero .bg-white\/10 {
  border-radius: 999px !important;
  border-color: rgba(52, 211, 153, 0.28) !important;
  background: rgba(16, 185, 129, 0.08) !important;
}

body.tl-live .tl-intel h2,
body.tl-live .tl-optflow h1,
body.tl-live .sec-hero h1,
body.tl-live .sec-head-card h1,
body.tl-live .te-hero h1 {
  font-family: Syne, system-ui, sans-serif !important;
  font-weight: 650 !important;
  font-size: clamp(1.65rem, 3.2vw, 2.25rem) !important;
  letter-spacing: -0.03em !important;
  text-transform: none !important;
  line-height: 1.15 !important;
  color: #fff !important;
}

body.tl-live .sec-kicker,
body.tl-live .te-kicker {
  color: var(--tl-accent) !important;
  letter-spacing: 0.14em !important;
}

body.tl-live .tl-intel h2 + p,
body.tl-live .tl-optflow h1 + p,
body.tl-live .sec-subhead,
body.tl-live .te-sub,
body.tl-live .te-disc-sub {
  color: var(--tl-muted) !important;
  font-size: 0.95rem !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-family: Manrope, system-ui, sans-serif !important;
  max-width: 40rem;
}

body.tl-live .te-page,
body.tl-live .sec-page-wrap {
  padding-top: 1.75rem;
}

body.tl-live [class*="rounded-xl"][class*="from-slate-800"],
body.tl-live [class*="rounded-xl"][class*="border-slate-600"],
body.tl-live [class*="from-blue-900/40"],
body.tl-live .te-form,
body.tl-live .te-card,
body.tl-live .te-idea,
body.tl-live .te-hot,
body.tl-live .te-prem,
body.tl-live .te-btr,
body.tl-live .te-summary,
body.tl-live .te-verdict,
body.tl-live .sec-filters,
body.tl-live .sec-head-card,
body.tl-live .sec-table-wrap,
body.tl-live .sec-mobile,
body.tl-live .sec-body,
body.tl-live .sec-take,
body.tl-live .tl-card,
body.tl-live .tl-empty {
  background-image: none !important;
  background-color: var(--tl-panel) !important;
  border: 1px solid var(--tl-line) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

body.tl-live [class*="rounded-xl"][class*="from-slate-800"]:hover,
body.tl-live [class*="from-blue-900/40"]:hover,
body.tl-live .te-idea:hover,
body.tl-live .te-hot:hover,
body.tl-live .tl-card:hover {
  border-color: rgba(52, 211, 153, 0.32) !important;
  box-shadow: none !important;
  transform: none !important;
}

body.tl-live .sec-chip.is-on,
body.tl-live .sec-page.is-on,
body.tl-live .te-presets button.is-on,
body.tl-live .tl-filter.is-active {
  border-color: rgba(52, 211, 153, 0.42) !important;
  color: #a7f3d0 !important;
  background: rgba(16, 185, 129, 0.1) !important;
}

body.tl-live .sec-table th,
body.tl-live .te-table th {
  background: rgba(7, 8, 10, 0.88) !important;
  color: var(--tl-muted) !important;
}

body.tl-live input,
body.tl-live textarea,
body.tl-live select {
  background: #0b0d11 !important;
  border-color: #334155 !important;
  border-radius: 8px !important;
}
body.tl-live input:focus,
body.tl-live textarea:focus {
  border-color: var(--tl-accent) !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

body.tl-live .te-run {
  background: #059669 !important;
  box-shadow: none !important;
}
body.tl-live .te-run:hover {
  background: #047857 !important;
}

body.tl-live #tl-sec-filings,
body.tl-live #tl-trade-engine,
body.tl-live .te-page,
body.tl-live .sec-page-wrap,
body.tl-live .tl-optflow {
  background: transparent !important;
}

body.tl-live .te-disc-head h2,
body.tl-live .te-block h3,
body.tl-live .sec-hero h1,
body.tl-live .sec-section-lab {
  text-transform: none !important;
  letter-spacing: -0.02em !important;
  font-family: Syne, system-ui, sans-serif !important;
}

body.tl-live .sec-chip,
body.tl-live .sec-btn,
body.tl-live .sec-page,
body.tl-live .te-presets button,
body.tl-live .te-load {
  text-transform: none !important;
  letter-spacing: 0.01em !important;
  font-family: Manrope, system-ui, sans-serif !important;
  border-radius: 7px !important;
}

.tl-desk-hud,
#tl-fx-ticker,
#tl-fx-rail,
#tl-fx-scan,
#tl-fx-spot,
.tl-fx-hero {
  display: none !important;
}
