/* ==========================================================================
   SMART MONEY SCAN – "PULSE" REFINEMENT
   Calm, editorial fintech look for the default theme ([data-theme="smartmoney"]):
   soft neutral canvas, white cards outlined by a hairline ring, serif display
   headlines, Geist for UI text and Geist Mono for labels and figures.
   Loaded after smartmoney-ui.css; other palettes are untouched.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
html[data-theme="smartmoney"].light,
html[data-theme="smartmoney"][data-appearance="light"] {
  --background: #F6F6F8;
  --foreground: #0B0B10;
  --card: #FFFFFF;
  --card-foreground: #0B0B10;
  --primary: #3F38B7;
  --primary-foreground: #FFFFFF;
  --secondary: #F1F1F5;
  --secondary-foreground: #0B0B10;
  --muted: #ECECF1;
  --muted-foreground: #75747F;
  --border: #E7E6EE;
  --accent: #3F38B7;
  --bullish: #15803D;
  --bearish: #DC2626;
  --success: #15803D;
  --danger: #DC2626;
  --pro-gold: #B45309;

  --pl-ring: rgba(40, 30, 110, .10);
  --pl-ring-strong: rgba(40, 30, 110, .18);
  --pl-lift: 0 1px 2px rgba(20, 16, 60, .04), 0 12px 32px -12px rgba(40, 30, 110, .16);
  --pl-soft-primary: #EEEDFB;
  --pl-up-soft: #ECF7EF;
  --pl-down-soft: #FDEEEE;
  --sms-shadow: 0 0 0 1px var(--pl-ring);
  --sms-shadow-hover: 0 0 0 1px var(--pl-ring-strong), var(--pl-lift);
  --sms-ring: rgba(63, 56, 183, .18);
}

html[data-theme="smartmoney"].dark,
html[data-theme="smartmoney"][data-appearance="dark"] {
  --background: #0B0B10;
  --foreground: #EDEDF2;
  --card: #131319;
  --card-foreground: #EDEDF2;
  --primary: #8B85F0;
  --primary-foreground: #0B0B10;
  --secondary: #1A1A22;
  --secondary-foreground: #EDEDF2;
  --muted: #1A1A22;
  --muted-foreground: #8D8C99;
  --border: #24232D;
  --accent: #8B85F0;
  --bullish: #3FB950;
  --bearish: #F87171;
  --success: #3FB950;
  --danger: #F87171;
  --pro-gold: #FBBF24;

  --pl-ring: rgba(255, 255, 255, .07);
  --pl-ring-strong: rgba(255, 255, 255, .14);
  --pl-lift: 0 16px 36px -16px rgba(0, 0, 0, .6);
  --pl-soft-primary: rgba(139, 133, 240, .14);
  --pl-up-soft: rgba(63, 185, 80, .12);
  --pl-down-soft: rgba(248, 113, 113, .12);
  --sms-shadow: 0 0 0 1px var(--pl-ring);
  --sms-shadow-hover: 0 0 0 1px var(--pl-ring-strong), var(--pl-lift);
  --sms-ring: rgba(139, 133, 240, .28);
}

/* ---------- 2. Typography ---------- */
html[data-theme="smartmoney"] {
  --pl-sans: 'Geist', 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --pl-mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --pl-serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
}
html[data-theme="smartmoney"] body {
  font-family: var(--pl-sans) !important;
  font-size: 14px;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[data-theme="smartmoney"] body:not(#x) .font-mono,
html[data-theme="smartmoney"] .tabular-nums { font-family: var(--pl-mono) !important; letter-spacing: 0; }
html[data-theme="smartmoney"] .font-black,
html[data-theme="smartmoney"] .font-extrabold { font-weight: 650 !important; }
html[data-theme="smartmoney"] .kt-brand-title {
  font-family: var(--pl-sans) !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em;
}

/* Display headings: serif, regular weight, tight */
html[data-theme="smartmoney"] main h2.text-xl,
html[data-theme="smartmoney"] main h2[class*="sm:text-2xl"],
html[data-theme="smartmoney"] #smcModalSymbol {
  font-family: var(--pl-serif) !important;
  font-weight: 400 !important;
  font-size: clamp(1.7rem, 2.6vw, 2.25rem) !important;
  line-height: 1.05;
  letter-spacing: -0.01em !important;
}
/* Small uppercase labels become quiet mono captions */
html[data-theme="smartmoney"] main .uppercase.tracking-wider,
html[data-theme="smartmoney"] main .uppercase.tracking-widest,
html[data-theme="smartmoney"] .stat-card > div:first-child span:first-child {
  font-family: var(--pl-mono) !important;
  font-weight: 500 !important;
  letter-spacing: .08em !important;
}

/* ---------- 3. Canvas & header ---------- */
html[data-theme="smartmoney"] body { background: var(--background) !important; }
html[data-theme="smartmoney"] body > header:not(.smsi-top) {
  background: color-mix(in srgb, var(--background) 86%, transparent) !important;
  backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--pl-ring) !important;
  box-shadow: none !important;
}
html[data-theme="smartmoney"] header > div + div { border-top-color: var(--pl-ring) !important; }
html[data-theme="smartmoney"] .sms-logo { filter: none; }
html[data-theme="smartmoney"] .kt-logo-wrapper span.font-mono {
  background: var(--pl-soft-primary) !important;
  color: var(--primary) !important;
  border: 0 !important;
  font-weight: 600;
}
html[data-theme="smartmoney"] header button { border-radius: 999px; }
html[data-theme="smartmoney"] #btnTriggerScan {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  box-shadow: none !important;
  font-weight: 500 !important;
}
html[data-theme="smartmoney"] #btnTriggerScan:hover { filter: brightness(1.08); }
html[data-theme="smartmoney"] #btnHeaderUpgrade {
  background: var(--foreground) !important;
  color: var(--background) !important;
  box-shadow: none !important;
}
html[data-theme="smartmoney"] #globalStockSearch {
  border-radius: 999px !important;
  background: var(--card) !important;
  border: 0 !important;
  box-shadow: 0 0 0 1px var(--pl-ring) !important;
}
html[data-theme="smartmoney"] #globalStockSearch:focus { box-shadow: 0 0 0 1px var(--primary), 0 0 0 4px var(--sms-ring) !important; }
html[data-theme="smartmoney"] [id^="chip"],
html[data-theme="smartmoney"] .quick-stock-btn {
  border: 0 !important;
  box-shadow: 0 0 0 1px var(--pl-ring) !important;
  background: var(--card) !important;
}
html[data-theme="smartmoney"] .quick-stock-btn { font-family: var(--pl-mono) !important; font-size: 11px !important; }
html[data-theme="smartmoney"] #marketRegimeBanner { box-shadow: 0 0 0 1px var(--pl-ring) !important; border: 0 !important; }

/* ---------- 4. Navigation rail: segmented, quiet ---------- */
html[data-theme="smartmoney"] .nav-tabs-rail { border-top: 1px solid var(--pl-ring) !important; gap: 4px !important; }
html[data-theme="smartmoney"] .nav-tab {
  font-weight: 500;
  font-size: 13px;
  padding: 7px 14px;
  color: var(--muted-foreground);
  background: transparent !important;
  border-color: transparent !important;
}
html[data-theme="smartmoney"] .nav-tab:hover { color: var(--foreground); background: var(--secondary) !important; }
html[data-theme="smartmoney"].light .nav-tab.active,
html[data-theme="smartmoney"].dark .nav-tab.active {
  color: var(--primary) !important;
  background: var(--pl-soft-primary) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* ---------- 5. Cards ---------- */
html[data-theme="smartmoney"] .stat-card,
html[data-theme="smartmoney"] main .rounded-xl.border,
html[data-theme="smartmoney"] main .rounded-2xl.border,
html[data-theme="smartmoney"] main .rounded-lg.border.bg-card {
  border-color: transparent !important;
  box-shadow: var(--sms-shadow);
  border-radius: 22px;
  background-color: var(--card);
}
html[data-theme="smartmoney"] .stat-card { padding: 16px 18px; transition: box-shadow .2s ease, transform .2s ease; }
html[data-theme="smartmoney"] .stat-card:hover { transform: translateY(-1px); box-shadow: var(--sms-shadow-hover); border-color: transparent !important; }
html[data-theme="smartmoney"] .stat-val {
  font-family: var(--pl-sans) !important;
  font-weight: 500 !important;
  font-size: 1.85rem !important;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  margin-top: 6px;
}
html[data-theme="smartmoney"] .stat-card > div:first-child span:first-child { font-size: 10.5px !important; }
html[data-theme="smartmoney"] .modal-content,
html[data-theme="smartmoney"] [id$="Modal"] > div { border-radius: 26px; }

/* ---------- 6. Tables ---------- */
html[data-theme="smartmoney"] thead th {
  background: var(--card) !important;
  font-family: var(--pl-mono) !important;
  font-weight: 500 !important;
  font-size: 10.5px !important;
  letter-spacing: .08em;
  color: var(--muted-foreground) !important;
  border-bottom: 1px solid var(--border) !important;
}
html[data-theme="smartmoney"] tbody td { border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent) !important; }
html[data-theme="smartmoney"] tbody tr:hover { background: color-mix(in srgb, var(--primary) 4%, transparent) !important; }

/* ---------- 7. Buttons & inputs ---------- */
html[data-theme="smartmoney"] main button { border-radius: 999px; }
html[data-theme="smartmoney"] main select,
html[data-theme="smartmoney"] main input[type="text"],
html[data-theme="smartmoney"] main input[type="number"] {
  border: 0 !important;
  box-shadow: 0 0 0 1px var(--pl-ring) !important;
  border-radius: 12px !important;
}

/* ---------- 8. Hero: editorial market pulse ---------- */
html[data-theme="smartmoney"] .sms-hero {
  background: var(--card);
  border: 0;
  border-radius: 26px;
  box-shadow: var(--sms-shadow);
  padding: 28px 32px;
  gap: 28px 40px;
  align-items: start;
}
html[data-theme="smartmoney"] .sms-hero .sms-eyebrow {
  font-family: var(--pl-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted-foreground);
}
html[data-theme="smartmoney"] .sms-hero .sms-dot { width: 7px; height: 7px; background: var(--bullish); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bullish) 18%, transparent); }
html[data-theme="smartmoney"] .sms-hero h2 {
  font-family: var(--pl-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 14px 0 10px;
}
html[data-theme="smartmoney"] .sms-hero p { font-size: 14px; line-height: 1.55; }
html[data-theme="smartmoney"] .sms-hero .sms-btn {
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
  padding: 9px 18px;
  border: 0;
  box-shadow: 0 0 0 1px var(--pl-ring);
  background: var(--card);
}
html[data-theme="smartmoney"] .sms-hero .sms-btn:hover { box-shadow: 0 0 0 1px var(--pl-ring-strong); color: var(--foreground); background: var(--secondary); }
html[data-theme="smartmoney"] .sms-hero .sms-btn.primary { background: var(--primary); color: var(--primary-foreground); box-shadow: none; }
html[data-theme="smartmoney"] .sms-hero .sms-btn.primary:hover { filter: brightness(1.08); background: var(--primary); color: var(--primary-foreground); }

/* Metrics: no boxes, just figures with captions (hairline dividers) */
html[data-theme="smartmoney"] .sms-metrics { gap: 0; padding-top: 4px; }
html[data-theme="smartmoney"] .sms-metric {
  background: transparent;
  border: 0;
  border-left: 1px solid var(--border);
  border-radius: 0;
  padding: 2px 18px 14px;
}
html[data-theme="smartmoney"] .sms-metric .l { font-family: var(--pl-mono); font-weight: 500; font-size: 10.5px; letter-spacing: .1em; }
html[data-theme="smartmoney"] .sms-metric .v { font-weight: 450; font-size: 1.6rem; letter-spacing: -0.035em; margin-top: 8px; }
html[data-theme="smartmoney"] .sms-metric .s { font-family: var(--pl-mono); font-size: 11.5px; font-weight: 500; }
html[data-theme="smartmoney"] .sms-breadth { border-left: 0; border-top: 1px solid var(--border); padding: 14px 18px 0; margin-top: 2px; }
html[data-theme="smartmoney"] .sms-breadth .bar { height: 6px; background: color-mix(in srgb, var(--bearish) 22%, transparent); }

/* Hero NIFTY chart row */
.sms-hero-chart { display: none; }
html[data-theme="smartmoney"] .sms-hero-chart:not([hidden]) {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr auto;
  grid-template-areas: "head head" "stat stat" "chart chart" "foot foot";
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-top: -4px;
}
.sms-hero-chart-head { grid-area: head; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sms-label { font-family: var(--pl-mono, ui-monospace); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-foreground); }
.sms-range { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--secondary); gap: 2px; }
.sms-range button {
  font: 500 11.5px var(--pl-mono, ui-monospace); padding: 4px 10px; border-radius: 999px; border: 0;
  background: transparent; color: var(--muted-foreground); cursor: pointer; transition: all .15s ease;
}
.sms-range button:hover { color: var(--foreground); }
.sms-range button.active { background: var(--card); color: var(--foreground); box-shadow: 0 0 0 1px var(--pl-ring), 0 1px 2px rgba(0,0,0,.04); }
.sms-hero-chart-stat { grid-area: stat; display: flex; align-items: baseline; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.sms-hero-chart-stat b { font: 450 clamp(1.8rem, 3vw, 2.5rem)/1.1 var(--pl-sans, sans-serif); letter-spacing: -0.04em; color: var(--foreground); font-variant-numeric: tabular-nums; }
.sms-hero-chart-stat span { font: 500 12.5px var(--pl-mono, ui-monospace); color: var(--muted-foreground); }
.sms-hero-chart-stat span.up { color: var(--bullish); }
.sms-hero-chart-stat span.down { color: var(--bearish); }
.sms-hero-chart-canvas { grid-area: chart; height: 170px; margin: 6px -6px 0; }
.sms-hero-chart-foot { grid-area: foot; text-align: right; font: 400 10.5px var(--pl-mono, ui-monospace); color: var(--muted-foreground); margin-top: 4px; }

@media (max-width: 900px) {
  html[data-theme="smartmoney"] .sms-hero { padding: 20px; gap: 20px; }
  html[data-theme="smartmoney"] .sms-metric { padding: 2px 12px 10px; }
  html[data-theme="smartmoney"] .sms-metric:first-child { border-left: 0; padding-left: 0; }
  html[data-theme="smartmoney"] .sms-breadth { padding-left: 0; padding-right: 0; }
}
@media (max-width: 640px) {
  html[data-theme="smartmoney"] .sms-hero h2 { font-size: 2rem; }
  html[data-theme="smartmoney"] .sms-metric .v { font-size: 1.15rem; }
  .sms-hero-chart-canvas { height: 140px; }
}

/* ---------- 9. Stock chart panel ---------- */
html[data-theme="smartmoney"] #mSubViewChart > .rounded-xl.border {
  border-radius: 22px;
  box-shadow: var(--sms-shadow);
  border-color: transparent !important;
}
/* toolbar */
html[data-theme="smartmoney"] #mSubViewChart .rounded-xl > div:first-child {
  background: var(--card) !important;
  border-bottom: 1px solid var(--border) !important;
  padding: 10px 14px !important;
  font-family: var(--pl-sans) !important;
  gap: 10px !important;
}
html[data-theme="smartmoney"] #mSubViewChart .rounded-xl > div:first-child > div:first-child > span:first-child { display: none; } /* "TF:" */
html[data-theme="smartmoney"] #mSubViewChart .rounded-xl > div:first-child .bg-card.rounded-md {
  background: var(--secondary) !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 3px !important;
}
html[data-theme="smartmoney"] .chart-tf-btn {
  font-family: var(--pl-sans) !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  border-radius: 999px !important;
  padding: 4px 12px !important;
  background: transparent !important;
  color: var(--muted-foreground) !important;
}
html[data-theme="smartmoney"] .chart-tf-btn.active {
  background: var(--card) !important;
  color: var(--foreground) !important;
  box-shadow: 0 0 0 1px var(--pl-ring), 0 1px 2px rgba(0,0,0,.05);
}
html[data-theme="smartmoney"] #mChartPivotLabel { font-family: var(--pl-mono) !important; font-weight: 500 !important; font-size: 11.5px !important; color: var(--muted-foreground) !important; }

/* indicator pills: neutral chips with a colour dot */
html[data-theme="smartmoney"] #mSubViewChart .ind-pill {
  font-family: var(--pl-sans) !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  border-radius: 999px !important;
  padding: 3px 10px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--muted-foreground) !important;
  box-shadow: 0 0 0 1px var(--pl-ring);
  opacity: .8;
}
html[data-theme="smartmoney"] #mSubViewChart .ind-pill:hover { opacity: 1; color: var(--foreground) !important; }
html[data-theme="smartmoney"] #mSubViewChart .ind-pill.active {
  background: var(--secondary) !important;
  color: var(--foreground) !important;
  box-shadow: 0 0 0 1px var(--pl-ring-strong);
  opacity: 1;
}
html[data-theme="smartmoney"] .ind-pill .animate-pulse { animation: none !important; }
html[data-theme="smartmoney"] .ind-pill > span:first-child { width: 7px !important; height: 7px !important; }

/* drawing tools */
html[data-theme="smartmoney"] #mSubViewChart .rounded-xl > div:first-child > div:last-child {
  background: var(--secondary) !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 3px !important;
}
html[data-theme="smartmoney"] .draw-tool-btn {
  font-family: var(--pl-sans) !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  border-radius: 999px !important;
  padding: 4px 10px !important;
  color: var(--muted-foreground) !important;
  background: transparent !important;
  border: 0 !important;
}
html[data-theme="smartmoney"] .draw-tool-btn.active,
html[data-theme="smartmoney"] .draw-tool-btn[class*="bg-primary"] {
  background: var(--card) !important;
  color: var(--foreground) !important;
  box-shadow: 0 0 0 1px var(--pl-ring), 0 1px 2px rgba(0,0,0,.05);
  border: 0 !important;
}
#drawToolClear { border-radius: 999px !important; }

/* candles / line segmented control */
.chart-style-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--secondary); gap: 2px; margin-left: 4px; }
.chart-style-seg button {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; border: 0;
  font: 500 12px var(--pl-sans, sans-serif); color: var(--muted-foreground); background: transparent; cursor: pointer;
  transition: color .15s ease, background .15s ease;
}
.chart-style-seg button:hover { color: var(--foreground); }
.chart-style-seg button.active { background: var(--card); color: var(--foreground); box-shadow: 0 0 0 1px var(--pl-ring), 0 1px 2px rgba(0,0,0,.05); }
@media (max-width: 640px) { .chart-style-seg button span { display: none; } }

/* chart viewport */
html[data-theme="smartmoney"] #chartViewportWrapper { background: var(--card) !important; }

/* legend: plain text on the chart, no box */
html[data-theme="smartmoney"] #chartLegendHud {
  top: 12px; left: 16px;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  max-width: calc(100% - 120px);
  font-family: var(--pl-mono) !important;
  font-size: 11.5px !important;
  color: var(--muted-foreground);
}
#chartLegendHud .lg-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
#chartLegendHud .lg-sym { font: 600 13px var(--pl-sans, sans-serif); color: var(--foreground); letter-spacing: -0.01em; }
#chartLegendHud .lg-date { color: var(--muted-foreground); }
#chartLegendHud .lg-kv b { font-weight: 500; color: var(--foreground); }
#chartLegendHud .lg-chg { font-weight: 500; }
#chartLegendHud .lg-chg.up { color: var(--bullish); }
#chartLegendHud .lg-chg.down { color: var(--bearish); }
#chartLegendHud .lg-sub { font-size: 11px; }
#chartLegendHud .lg-ma { display: inline-flex; align-items: center; gap: 5px; }
#chartLegendHud .lg-ma i { width: 8px; height: 2px; border-radius: 2px; display: inline-block; }
#chartLegendHud .lg-ma b { font-weight: 500; color: var(--foreground); }
@media (max-width: 640px) {
  html[data-theme="smartmoney"] #chartLegendHud { font-size: 10px !important; max-width: calc(100% - 24px); left: 10px; top: 8px; }
  #chartLegendHud .lg-sub { display: none; }
}

/* data-source tag (top-right, like an "Example data" note) */
.chart-source-badge {
  position: absolute; top: 12px; right: 84px; z-index: 21; pointer-events: auto;
  font: 500 10.5px var(--pl-mono, ui-monospace); letter-spacing: .04em;
  padding: 3px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px;
}
.chart-source-badge[hidden] { display: none; }
.chart-source-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chart-source-badge.is-real { color: var(--muted-foreground); background: var(--secondary); }
.chart-source-badge.is-illustrative { color: #B45309; background: #FDF1E4; }
html.dark .chart-source-badge.is-illustrative { color: #FBBF24; background: rgba(251, 191, 36, .12); }
@media (max-width: 640px) { .chart-source-badge { top: auto; bottom: 34px; right: 62px; } }

/* VCP rail strip + RSI pane under the chart */
html[data-theme="smartmoney"] #mVcpEmaStatusBar {
  background: var(--card) !important;
  border: 0 !important;
  border-top: 1px solid var(--border) !important;
  border-radius: 0 !important;
  padding: 10px 16px !important;
}
html[data-theme="smartmoney"] #mVcpEmaStatusBar .animate-pulse { animation: none !important; }
html[data-theme="smartmoney"] #mVcpActionTag { border-radius: 999px !important; font-family: var(--pl-sans) !important; font-weight: 500 !important; padding: 3px 10px !important; }
html[data-theme="smartmoney"] #rsiSubPaneContainer { background: var(--card) !important; border-top: 1px solid var(--border) !important; padding: 10px 6px 6px !important; }
html[data-theme="smartmoney"] #rsiSubPaneContainer > div:first-child > span:first-child { font-family: var(--pl-mono) !important; font-weight: 500 !important; letter-spacing: .08em; font-size: 10.5px; }

/* 52-week strip above the chart */
html[data-theme="smartmoney"] #mSubViewChart > div:first-child {
  background: var(--card) !important;
  border: 0 !important;
  box-shadow: var(--sms-shadow);
  border-radius: 18px !important;
}

/* other chart containers */
html[data-theme="smartmoney"] #plannerChartContainer { background: var(--card) !important; border: 0 !important; box-shadow: var(--sms-shadow); border-radius: 18px !important; }
html[data-theme="smartmoney"] #smcChartContainer { border-radius: 18px; }

/* ---------- 10. Hard-coded navy panels follow the theme ----------
   (the equivalent rule in styles.css uses unescaped `.bg-[#...]` selectors, which
   invalidates the whole selector list, so it never applied) */
html[data-theme="smartmoney"] :is(
  .bg-navy-950, .bg-navy-950\/90, .bg-navy-950\/80, .bg-navy-950\/70, .bg-navy-950\/60, .bg-navy-950\/50,
  .bg-\[\#030611\], .bg-\[\#030611\]\/90, .bg-\[\#030611\]\/80, .bg-\[\#040816\], .bg-\[\#060c20\], .bg-\[\#060c20\]\/95,
  .bg-\[\#02040a\], .bg-\[\#070c18\], .bg-\[\#020510\], .bg-\[\#030717\],
  .bg-\[\#050a1c\]\/98, .bg-\[\#02050f\], .bg-\[\#040817\]
):not(#landingIntroExperience *) {
  background-color: var(--card) !important;
}
/* Dark navy gradients (pop-up headers, pricing cards) follow the theme too; their .text-white already maps to
   the theme foreground, so leaving the gradient dark made the titles, prices and features unreadable. */
html[data-theme="smartmoney"] :is(
  .from-\[\#030611\], .from-\[\#091538\], .from-\[\#04091a\]
):not(#landingIntroExperience *) {
  background-image: none !important;
  background-color: var(--card) !important;
}
html[data-theme="smartmoney"] #pricingModal .from-\[\#091538\] {
  background-color: color-mix(in srgb, var(--primary) 6%, var(--card)) !important;
}
html[data-theme="smartmoney"].light :is(.text-cyan-200\/80, .text-cyan-200, .text-cyan-100):not(#landingIntroExperience *) { color: var(--muted-foreground) !important; }
html[data-theme="smartmoney"] :is(
  .bg-navy-900, .bg-navy-900\/90, .bg-navy-900\/80, .bg-navy-900\/60, .bg-navy-900\/50, .bg-navy-900\/40,
  .bg-navy-850, .bg-navy-800, .bg-navy-800\/60, .bg-navy-800\/50, .bg-navy-750, .bg-navy-700
):not(#landingIntroExperience *) {
  background-color: var(--secondary) !important;
}
html[data-theme="smartmoney"] :is(.hover\:bg-navy-800, .hover\:bg-navy-900, .hover\:bg-navy-850):hover:not(#landingIntroExperience *) {
  background-color: var(--muted) !important;
}
html[data-theme="smartmoney"] :is(
  .border-navy-900, .border-navy-800, .border-navy-800\/80, .border-navy-800\/60, .border-navy-800\/40, .border-navy-750, .border-navy-700,
  .border-amber-500\/40, .border-amber-500\/30, .divide-navy-800\/40 > *
):not(#landingIntroExperience *) {
  border-color: var(--border) !important;
}
html[data-theme="smartmoney"] #smcAnalysisModal > div { box-shadow: 0 0 0 1px var(--pl-ring), 0 30px 80px -20px rgba(0, 0, 0, .35) !important; backdrop-filter: none !important; }
html[data-theme="smartmoney"].light #smcAnalysisModal { background: rgba(20, 18, 40, .35) !important; }

/* ---------- 11. Left sidebar navigation (all themes) ---------- */
:root { --pl-side-w: 280px; --pl-side-w-folded: 76px; }

.pl-sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 45;
  width: var(--pl-side-w);
  display: flex; flex-direction: column;
  background: var(--background);
  border-right: 1px solid var(--pl-ring, var(--border));
  transition: width .22s ease, transform .26s cubic-bezier(.2,.8,.2,1), box-shadow .26s ease;
}
.pl-side-brand { height: 62px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 14px 0 18px; }
.pl-brand-btn { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--foreground); min-width: 0; }
.pl-brand-btn svg { flex-shrink: 0; }
.pl-brand-name { font: 400 23px/1 var(--pl-serif, 'Instrument Serif', Georgia, serif); letter-spacing: -0.01em; white-space: nowrap; }
.pl-brand-name i { font-style: italic; color: var(--primary); }
.pl-side-close { display: none; width: 34px; height: 34px; border-radius: 999px; border: 0; background: var(--secondary); color: var(--foreground); align-items: center; justify-content: center; cursor: pointer; }

.pl-side-nav { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 2px 12px 14px; scrollbar-width: thin; }
.pl-side-nav::-webkit-scrollbar { width: 6px; }
.pl-group-label {
  font: 500 10px var(--pl-mono, ui-monospace, monospace); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted-foreground); padding: 14px 12px 6px; white-space: nowrap;
}
.pl-group-label:first-child { padding-top: 6px; }

#plSidebar .nav-tab,
#plSidebar .pl-fold-btn {
  display: flex !important; align-items: center; gap: 12px;
  width: 100%; margin: 0; padding: 8px 12px !important;
  border-radius: 12px !important; border: 0 !important;
  background: transparent !important; box-shadow: none !important;
  font: 500 13.5px/1.2 var(--pl-sans, 'Geist', 'Inter', sans-serif) !important;
  letter-spacing: -0.005em;
  color: color-mix(in srgb, var(--foreground) 80%, transparent) !important;
  text-align: left; white-space: nowrap; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
#plSidebar .nav-tab svg,
#plSidebar .pl-fold-btn svg {
  width: 19px; height: 19px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  opacity: .85;
}
#plSidebar .nav-tab:hover,
#plSidebar .pl-fold-btn:hover { background: var(--secondary) !important; color: var(--foreground) !important; }
#plSidebar .nav-tab.active {
  background: var(--pl-soft-primary, color-mix(in srgb, var(--primary) 12%, transparent)) !important;
  color: var(--primary) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 22%, transparent) !important;
  font-weight: 550 !important;
}
#plSidebar .nav-tab.active svg { opacity: 1; }
.pl-nav-label { overflow: hidden; text-overflow: ellipsis; }
.pl-badge, .pl-meta { margin-left: auto; flex-shrink: 0; font: 500 10.5px var(--pl-mono, ui-monospace, monospace); }
.pl-badge { padding: 2px 7px; border-radius: 999px; background: var(--secondary); color: var(--muted-foreground); }
.pl-badge.new { background: var(--pl-soft-primary, var(--secondary)); color: var(--primary); text-transform: uppercase; letter-spacing: .06em; font-size: 9.5px; }
.pl-meta { color: var(--muted-foreground); }
#plSidebar .nav-tab.active .pl-badge { background: var(--card); color: var(--primary); }

.pl-side-foot { flex-shrink: 0; padding: 8px 12px 10px; border-top: 1px solid var(--pl-ring, var(--border)); }
#plSidebar .pl-fold-btn { color: var(--muted-foreground) !important; }
#plSidebar .pl-fold-btn svg { transition: transform .22s ease; }

.pl-menu-btn {
  display: none; width: 38px; height: 38px; border-radius: 999px; border: 0; cursor: pointer;
  align-items: center; justify-content: center; color: var(--foreground);
  background: var(--card); box-shadow: 0 0 0 1px var(--pl-ring, var(--border));
}
.pl-scrim { display: none; }

/* Desktop: docked sidebar, content shifts right */
@media (min-width: 1024px) {
  body { padding-left: var(--pl-side-w); transition: padding-left .22s ease; }
  html.pl-folded body { padding-left: var(--pl-side-w-folded); }
  html.pl-folded .pl-sidebar { width: var(--pl-side-w-folded); }
  html.pl-folded .pl-brand-name,
  html.pl-folded #plSidebar .pl-nav-label,
  html.pl-folded #plSidebar .pl-badge,
  html.pl-folded #plSidebar .pl-meta { display: none; }
  html.pl-folded .pl-side-brand { justify-content: center; padding: 0; }
  html.pl-folded .pl-side-nav { padding: 2px 10px 14px; }
  html.pl-folded .pl-group-label { font-size: 0; padding: 10px 0 8px; }
  html.pl-folded .pl-group-label::after { content: ""; display: block; height: 1px; margin: 0 10px; background: var(--border); }
  html.pl-folded .pl-group-label:first-child { padding-top: 0; }
  html.pl-folded .pl-group-label:first-child::after { display: none; }
  html.pl-folded #plSidebar .nav-tab,
  html.pl-folded #plSidebar .pl-fold-btn { justify-content: center; padding: 11px 0 !important; }
  html.pl-folded #plSidebar .pl-fold-btn svg { transform: scaleX(-1); }
  /* the sidebar carries the brand on desktop */
  body > header .kt-logo-wrapper { display: none !important; }
}

/* Tablet / phone: off-canvas drawer opened from the header menu button */
@media (max-width: 1023px) {
  .pl-menu-btn { display: inline-flex; }
  .pl-side-close { display: inline-flex; }
  .pl-sidebar { width: min(300px, 86vw); transform: translateX(-102%); z-index: 70; }
  html.pl-drawer-open .pl-sidebar { transform: none; box-shadow: 0 30px 80px -10px rgba(10, 8, 40, .35); }
  .pl-scrim { display: block; position: fixed; inset: 0; z-index: 69; background: rgba(15, 14, 35, .32); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
  html.pl-drawer-open .pl-scrim { opacity: 1; pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) { .pl-sidebar, body { transition: none !important; } }

/* ---------- 12. Small things ---------- */
html[data-theme="smartmoney"] ::selection { background: var(--sms-ring); }
html[data-theme="smartmoney"] ::-webkit-scrollbar { width: 10px; height: 10px; }
html[data-theme="smartmoney"] ::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--foreground) 14%, transparent); border-radius: 999px; border: 3px solid var(--background); }
html[data-theme="smartmoney"] ::-webkit-scrollbar-track { background: transparent; }
html[data-theme="smartmoney"].light .text-emerald-400,
html[data-theme="smartmoney"].light .text-green-400 { color: var(--bullish) !important; }
html[data-theme="smartmoney"].light .text-rose-400,
html[data-theme="smartmoney"].light .text-red-400 { color: var(--bearish) !important; }
html[data-theme="smartmoney"].light .text-blue-400,
html[data-theme="smartmoney"].light .text-cyan-400,
html[data-theme="smartmoney"].light .text-sky-400,
html[data-theme="smartmoney"].light .text-indigo-400 { color: var(--primary) !important; }
html[data-theme="smartmoney"].light [class*="bg-emerald-950"] { background: var(--pl-up-soft) !important; border-color: transparent !important; }
html[data-theme="smartmoney"].light [class*="bg-rose-950"],
html[data-theme="smartmoney"].light [class*="bg-red-950"] { background: var(--pl-down-soft) !important; border-color: transparent !important; }
html[data-theme="smartmoney"].light [class*="bg-cyan-950"],
html[data-theme="smartmoney"].light [class*="bg-blue-950"] { background: var(--pl-soft-primary) !important; border-color: transparent !important; }

@media (prefers-reduced-motion: reduce) {
  html[data-theme="smartmoney"] .stat-card:hover { transform: none; }
}

/* ---------- 13. Trading disclaimer (footer + first-visit notice), all themes ---------- */
.sms-disclaimer { margin-top: 24px; border-top: 1px solid var(--pl-ring, var(--border)); background: var(--background); }
.sms-disclaimer-in { max-width: 1700px; margin: 0 auto; padding: 22px 32px 30px; color: var(--muted-foreground); font-size: 12.5px; line-height: 1.6; }
.sms-disclaimer-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; color: var(--foreground); font-size: 13.5px; }
.sms-disclaimer-tag { display: inline-block; font: 600 10px var(--pl-mono, ui-monospace, monospace); letter-spacing: .1em; text-transform: uppercase; color: #92400E; background: #FEF3C7; padding: 3px 9px; border-radius: 999px; }
html.dark .sms-disclaimer-tag { color: #FBBF24; background: rgba(251, 191, 36, .12); }
.sms-disclaimer p { margin: 6px 0; max-width: 140ch; }
.sms-disclaimer-foot { font-size: 11.5px; }
.sms-disclaimer-link { background: none; border: 0; padding: 0; color: var(--primary); font: inherit; text-decoration: underline; cursor: pointer; border-radius: 0 !important; }
.sms-dm { position: fixed; inset: 0; z-index: 99990; background: rgba(15, 14, 35, .5); display: flex; align-items: center; justify-content: center; padding: 18px; }
.sms-dm[hidden] { display: none; }
.sms-dm-box { background: var(--card); color: var(--foreground); width: min(640px, 100%); max-height: 92vh; overflow: auto; border-radius: 24px; padding: 26px 28px; box-shadow: 0 0 0 1px var(--pl-ring, var(--border)), 0 30px 80px -20px rgba(0, 0, 0, .45); }
.sms-dm-box h2 { margin: 10px 0 8px; font: 400 2rem/1.05 var(--pl-serif, Georgia, serif); }
.sms-dm-box ul { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.55; color: var(--muted-foreground); }
.sms-dm-box li { margin: 8px 0; } .sms-dm-box li b { color: var(--foreground); }
.sms-dm-actions { display: flex; justify-content: flex-end; margin-top: 18px; }
.sms-dm-ok { background: var(--primary); color: var(--primary-foreground); border: 0; border-radius: 999px !important; padding: 10px 20px; font: 500 14px var(--pl-sans, sans-serif); cursor: pointer; }
@media (min-width: 1024px) { .sms-disclaimer-in { padding-left: 40px; padding-right: 40px; } }

/* ---------- 14. Intro: elegant ink & gold (matches the lens-and-breakout logo) ---------- */
#landingIntroExperience {
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(75, 68, 200, .28), transparent 60%),
    radial-gradient(760px 480px at 92% 108%, rgba(232, 196, 122, .12), transparent 62%),
    #0B0B10 !important;
  color: #F3F1EA;
}
#landingIntroExperience #quantumCanvas { opacity: .22; filter: saturate(.55); }
#landingIntroExperience .quantum-grid-scanline { display: none; }
#landingIntroExperience .quantum-vignette { background: radial-gradient(ellipse at center, transparent 45%, rgba(11, 11, 16, .85) 100%) !important; }
#landingIntroExperience .quantum-shockwave { display: none; }
#landingIntroExperience .smsi-top { background: linear-gradient(180deg, rgba(11, 11, 16, .9), rgba(11, 11, 16, 0)); }
#landingIntroExperience .smsi-brand { font: 400 21px/1 'Instrument Serif', Georgia, serif; letter-spacing: 0; color: #F3F1EA; }
#landingIntroExperience .smsi-brand i { color: #E8C47A; }
#landingIntroExperience .smsi-livepill { font: 500 11px 'Geist Mono', ui-monospace, monospace; color: #B9D9C6; background: rgba(63, 185, 80, .08); border-color: rgba(63, 185, 80, .22); }
#landingIntroExperience .smsi-skip { font: 500 12px 'Geist', sans-serif; color: #D8D6CE; background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); border-radius: 999px; }
#landingIntroExperience .smsi-skip kbd, #landingIntroExperience .smsi-hint kbd { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #D8D6CE; font-family: 'Geist Mono', ui-monospace, monospace; }

#landingIntroExperience .smsi-logo-wrap { width: 108px; height: 108px; margin-bottom: 34px; }
#landingIntroExperience .smsi-logo { filter: drop-shadow(0 18px 40px rgba(43, 38, 128, .55)); }
#landingIntroExperience .smsi-ring { inset: -12px; border-radius: 34px; border: 1px solid rgba(232, 196, 122, .35); }
#landingIntroExperience .smsi-draw-ring { animation-delay: .2s !important; }
.sms-intro-play #landingIntroExperience .smsi-draw-ring, #landingIntroExperience.sms-intro-play .smsi-draw-ring { animation: smsiDraw 1.1s cubic-bezier(.65, 0, .35, 1) .15s forwards; }
#landingIntroExperience .smsi-dot { transform-origin: 35.8px 13.8px; }

#landingIntroExperience .smsi-eyebrow {
  font: 500 11px 'Geist Mono', ui-monospace, monospace; letter-spacing: .14em; color: #C9C6BC;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .1); padding: 6px 14px;
}
#landingIntroExperience .smsi-title {
  font: 400 clamp(2.9rem, 8vw, 6rem)/.98 'Instrument Serif', Georgia, serif; letter-spacing: -.015em; color: #F3F1EA; text-shadow: none;
}
#landingIntroExperience .smsi-grad {
  font-style: italic; background: linear-gradient(100deg, #E8C47A 0%, #F6E7C1 45%, #D9AE5B 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: none;
}
#landingIntroExperience .smsi-sub { font: 400 clamp(1rem, 2.3vw, 1.2rem)/1.6 'Geist', sans-serif; color: #A9A7B8; margin-top: 18px; }
#landingIntroExperience .smsi-rot { color: #F3F1EA; font-weight: 500; border-bottom: 1px solid rgba(232, 196, 122, .6); }
#landingIntroExperience .smsi-stats { gap: 10px; }
#landingIntroExperience .smsi-stat { background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; backdrop-filter: blur(8px); }
#landingIntroExperience .smsi-stat:hover { border-color: rgba(232, 196, 122, .4); }
#landingIntroExperience .smsi-stat b { font: 450 1.8rem/1.1 'Geist', sans-serif; letter-spacing: -.03em; color: #F3F1EA; }
#landingIntroExperience .smsi-stat span { font: 500 10.5px 'Geist Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: #8F8D9C; }
#landingIntroExperience .smsi-stat.live b { color: #8FD3A3; }
#landingIntroExperience .smsi-chips span { font: 500 12px 'Geist', sans-serif; color: #C9C6BC; background: transparent; border: 1px solid rgba(255, 255, 255, .1); }
#landingIntroExperience .smsi-cta {
  background: #F3F1EA; color: #0B0B10; border-radius: 999px; padding: 14px 28px; font: 500 15px 'Geist', sans-serif;
  box-shadow: 0 14px 40px -12px rgba(232, 196, 122, .45);
}
#landingIntroExperience .smsi-cta:hover { box-shadow: 0 18px 46px -12px rgba(232, 196, 122, .6); }
#landingIntroExperience .smsi-cta::after { display: none; }
#landingIntroExperience .smsi-hint { font: 400 12px 'Geist', sans-serif; color: #7D7B8A; }
#landingIntroExperience .border-neon-cyan\/20 { border-color: rgba(255, 255, 255, .08) !important; }
#landingIntroExperience .bg-\[\#020510\]\/95, #landingIntroExperience .bg-\[\#020510\] { background: rgba(11, 11, 16, .92) !important; }
#landingIntroExperience .quantum-ticker-label { color: #E8C47A !important; border-color: rgba(255, 255, 255, .08) !important; font-family: 'Geist Mono', ui-monospace, monospace !important; }
#landingIntroExperience .quantum-ticker-viewport { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }

/* 14b. Intro layout: hero + live "today on NSE" card + screen shortcuts */
#landingIntroExperience .smsi-hero { width: min(1180px, 100%); display: flex; flex-direction: column; align-items: center; gap: 36px; }
#landingIntroExperience .smsi-left { display: flex; flex-direction: column; align-items: center; min-width: 0; }
#landingIntroExperience .smsi-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 28px; }
#landingIntroExperience .smsi-ctas .smsi-cta { margin: 0; }
#landingIntroExperience .smsi-cta2 {
  border-radius: 999px; padding: 13px 22px; font: 500 14px 'Geist', sans-serif; color: #F3F1EA; cursor: pointer;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .16); transition: border-color .2s, background .2s;
}
#landingIntroExperience .smsi-cta2:hover { border-color: rgba(232, 196, 122, .6); background: rgba(232, 196, 122, .07); }
#landingIntroExperience .smsi-hint { margin-top: 12px; }
#landingIntroExperience :is(.smsi-cta, .smsi-cta2, .smsi-mods button):focus-visible { outline: 2px solid #E8C47A; outline-offset: 3px; }

#landingIntroExperience .smsi-panel {
  width: min(420px, 100%); text-align: left; padding: 20px 20px 16px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .09); backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
  font-family: 'Geist', sans-serif; color: #F3F1EA;
}
#landingIntroExperience .smsi-panel small { display: block; font: 500 10.5px 'Geist Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: #8F8D9C; }
#landingIntroExperience .smsi-p-head { display: flex; justify-content: space-between; align-items: center; font: 500 13px 'Geist', sans-serif; color: #C9C6BC; }
#landingIntroExperience .smsi-p-state { font: 500 10.5px 'Geist Mono', ui-monospace, monospace; padding: 3px 9px; border-radius: 999px; color: #A9A7B8; border: 1px solid rgba(255, 255, 255, .1); }
#landingIntroExperience .smsi-p-state.on { color: #8FD3A3; border-color: rgba(63, 185, 80, .3); background: rgba(63, 185, 80, .08); }
#landingIntroExperience .smsi-p-idx { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 16px; }
#landingIntroExperience .smsi-p-idx b { display: block; margin-top: 4px; font: 450 2rem/1 'Geist', sans-serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
#landingIntroExperience .smsi-p-idx em { font: 600 14px 'Geist Mono', ui-monospace, monospace; font-style: normal; padding: 4px 10px; border-radius: 10px; }
#landingIntroExperience .smsi-panel .up { color: #8FD3A3; } #landingIntroExperience .smsi-panel .dn { color: #F19A9A; }
#landingIntroExperience .smsi-p-idx em.up { background: rgba(63, 185, 80, .1); } #landingIntroExperience .smsi-p-idx em.dn { background: rgba(241, 154, 154, .1); }
#landingIntroExperience .smsi-p-spark { display: block; width: 100%; height: 70px; margin: 12px 0 4px; overflow: visible; }
#landingIntroExperience .smsi-p-spark .zero { stroke: rgba(255, 255, 255, .14); stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
#landingIntroExperience .smsi-p-spark .line { fill: none; stroke-width: 1.8; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
#landingIntroExperience .smsi-p-spark.up .line { stroke: #8FD3A3; } #landingIntroExperience .smsi-p-spark.dn .line { stroke: #F19A9A; }
#landingIntroExperience .smsi-p-spark .area { opacity: .12; } #landingIntroExperience .smsi-p-spark.up .area { fill: #8FD3A3; } #landingIntroExperience .smsi-p-spark.dn .area { fill: #F19A9A; }
#landingIntroExperience .smsi-p-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; font: 500 12px 'Geist Mono', ui-monospace, monospace; color: #C9C6BC; }
#landingIntroExperience .smsi-p-bar { height: 6px; margin-top: 8px; border-radius: 999px; background: rgba(241, 154, 154, .55); overflow: hidden; }
#landingIntroExperience .smsi-p-bar i { display: block; height: 100%; background: #8FD3A3; border-radius: 999px 0 0 999px; transition: width .8s cubic-bezier(.2, .8, .2, 1); }
#landingIntroExperience .smsi-p-sec { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .07); }
#landingIntroExperience .smsi-p-sec ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
#landingIntroExperience .smsi-p-sec li { display: grid; grid-template-columns: 1fr 72px 62px; align-items: center; gap: 10px; font-size: 13px; color: #D8D6CE; }
#landingIntroExperience .smsi-p-sec li > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#landingIntroExperience .smsi-p-sec li > i { height: 4px; border-radius: 999px; justify-self: end; }
#landingIntroExperience .smsi-p-sec li > i.up { background: #8FD3A3; } #landingIntroExperience .smsi-p-sec li > i.dn { background: #F19A9A; }
#landingIntroExperience .smsi-p-sec li > b { font: 500 12.5px 'Geist Mono', ui-monospace, monospace; color: #F3F1EA; text-align: right; }
#landingIntroExperience .smsi-p-sec li > em { font: 600 12px 'Geist Mono', ui-monospace, monospace; font-style: normal; text-align: right; }
#landingIntroExperience .smsi-p-sec li.smsi-p-empty { display: block; color: #7D7B8A; font-size: 12px; }

#landingIntroExperience .smsi-mods { width: min(1180px, 100%); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 44px; }
#landingIntroExperience .smsi-mods button {
  display: flex; flex-direction: column; justify-content: flex-start;
  text-align: left; padding: 16px 18px; border-radius: 18px; cursor: pointer; color: #F3F1EA;
  background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .08); transition: border-color .2s, background .2s, transform .2s;
}
#landingIntroExperience .smsi-mods button:hover { border-color: rgba(232, 196, 122, .45); background: rgba(232, 196, 122, .05); transform: translateY(-2px); }
#landingIntroExperience .smsi-mods b { display: flex; justify-content: space-between; font: 500 14.5px 'Geist', sans-serif; }
#landingIntroExperience .smsi-mods b::after { content: '\2192'; color: #E8C47A; transition: transform .2s; }
#landingIntroExperience .smsi-mods button:hover b::after { transform: translateX(3px); }
#landingIntroExperience .smsi-mods span { display: block; margin-top: 6px; font: 400 12.5px/1.45 'Geist', sans-serif; color: #8F8D9C; }

@media (min-width: 1100px) {
  #landingIntroExperience .smsi-hero { flex-direction: row; align-items: center; justify-content: space-between; gap: 56px; }
  #landingIntroExperience .smsi-left { flex: 1; align-items: flex-start; text-align: left; }
  #landingIntroExperience .smsi-logo-wrap { width: 76px; height: 76px; margin-bottom: 26px; }
  #landingIntroExperience .smsi-ring { inset: -9px; border-radius: 26px; }
  #landingIntroExperience .smsi-title { font-size: clamp(3.6rem, 5.6vw, 5.6rem); }
  #landingIntroExperience .smsi-stats { width: 100%; max-width: 640px; }
  #landingIntroExperience :is(.smsi-chips, .smsi-ctas) { justify-content: flex-start; }
  #landingIntroExperience .smsi-panel { flex: 0 0 400px; }
}
@media (max-width: 860px) { #landingIntroExperience .smsi-mods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  #landingIntroExperience .smsi-mods span { display: none; }
  #landingIntroExperience .smsi-mods button { padding: 13px 14px; }
  #landingIntroExperience .smsi-cta2 { padding: 12px 18px; }
}
