/*
Theme Name: CoinXSight
Theme URI: https://coinxsight.com/
Author: CoinXSight
Description: Lightweight native-SEO WordPress theme for the CoinXSight blog migration — Deep Alpha Institutional Light (Glass Terminal).
Version: 1.2.0
Requires at least: 6.5
Requires PHP: 8.3
Text Domain: coinxsight
*/

:root {
  /* Strictly Light Color Scheme */
  color-scheme: light;

  /* Glass Terminal / Deep Alpha design tokens */
  --gt-primary: #3b5bdb;
  --gt-primary-hover: #2f4bc9;
  --gt-primary-active: #253bb0;
  --gt-primary-subtle: rgba(59, 91, 219, 0.08);
  --gt-primary-on: #ffffff;
  --gt-surface-canvas: #f7f8fb;
  --gt-surface-0: #ffffff;
  --gt-surface-1: #f0f2f7;
  --gt-surface-2: #e6e9f0;
  --gt-surface-3: #d7dbe5;
  --gt-outline: rgba(15, 23, 42, 0.08);
  --gt-outline-strong: rgba(15, 23, 42, 0.14);
  --gt-outline-emphasis: rgba(15, 23, 42, 0.22);
  --gt-text: #0a0f1f;
  --gt-text-strong: #131a2e;
  --gt-text-muted: #5a6588;
  --gt-text-dim: #7681a6;
  --gt-bull: #0a8456;
  --gt-bull-subtle: rgba(10, 132, 86, 0.10);
  --gt-bear: #c8202f;
  --gt-bear-subtle: rgba(200, 32, 47, 0.10);
  --gt-warn: #b86b00;
  --gt-warn-subtle: rgba(184, 107, 0, 0.10);
  --gt-font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --gt-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --gt-font-mono: 'IBM Plex Mono', 'JetBrains Mono', monospace;
  --gt-radius-xs: 2px;
  --gt-radius-sm: 4px;
  --gt-radius-md: 6px;
  --gt-radius-lg: 10px;

  /* Surfaces (Deep Alpha Institutional Light Canvas + Pure White Cards) */
  --bg-primary: #f7f8fb;          /* Page canvas (Institutional light) */
  --bg-card: #ffffff;             /* Cards, dialogs, containers */
  --bg-secondary: #f0f2f7;        /* Code blocks, table headers, chip hover */
  --bg-tertiary: #e6e9f0;         /* Inputs, subtle badges */
  --bg-divider: #d7dbe5;          /* Dividers */
  --bg-glass: rgba(255, 255, 255, 0.90);

  /* Deep Alpha Brand & Accents (Institutional Indigo) */
  --accent-primary: #3b5bdb;      /* Institutional Indigo */
  --accent-secondary: #2f4bc9;    /* Hover Indigo */
  --accent-hover: #2f4bc9;
  --accent-active: #253bb0;
  --accent-gradient: #3b5bdb;     /* Solid Institutional Indigo */
  --accent-subtle: rgba(59, 91, 219, 0.08);
  --accent-border: rgba(59, 91, 219, 0.24);
  --accent-glow: rgba(59, 91, 219, 0.14);

  /* Semantics (Bloomberg Discipline) */
  --signal-bull: #0a8456;         /* Bullish / Beginner */
  --signal-bull-subtle: rgba(10, 132, 86, 0.08);
  --signal-warn: #b86b00;         /* Warning / Intermediate */
  --signal-warn-subtle: rgba(184, 107, 0, 0.08);
  --signal-bear: #c8202f;         /* Bearish / Advanced */
  --signal-bear-subtle: rgba(200, 32, 47, 0.08);
  --signal-info: #1d4ed8;         /* Strategy / Analysis */
  --signal-info-subtle: rgba(29, 78, 216, 0.08);
  --signal-neutral: #b86b00;

  /* Typography Colors (High-Contrast Ink Discipline) */
  --text-primary: #0a0f1f;        /* Headings & bold ink */
  --text-secondary: #131a2e;      /* Body strong */
  --text-muted: #5a6588;          /* Descriptions & subheadings */
  --text-tertiary: #7681a6;       /* Metadata, timestamps, breadcrumbs */

  /* Hairlines & Borders */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.14);
  --border-hover: rgba(59, 91, 219, 0.28);

  /* Elevation */
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-glow: 0 4px 16px rgba(59, 91, 219, 0.14);
  --shadow-hover: 0 8px 24px rgba(15, 23, 42, 0.08);

  /* Font Stacks */
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'JetBrains Mono', monospace;

  /* Type Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;

  /* Geometry */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-full: 9999px;

  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --max-width: 1200px;
  --max-width-article: 780px;
  --nav-height: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  color-scheme: light !important;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg-primary);
  overflow-x: clip;
  max-width: 100%;
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}
a { color: var(--accent-primary); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--accent-secondary); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 2px; }
::selection { background: rgba(59, 91, 219, 0.18); color: var(--text-primary); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.font-mono { font-family: var(--font-mono) !important; }

/* Shell */
.cxs-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg-primary); overflow-x: clip; max-width: 100%; }
.cxs-main { flex: 1; max-width: var(--max-width); margin: 0 auto; width: 100%; padding: calc(var(--nav-height) + 24px) var(--space-6) 64px; }
@media (max-width: 768px) { .cxs-main { padding-left: var(--space-4); padding-right: var(--space-4); padding-top: calc(var(--nav-height) + 16px); } }

/* Header — Pure Light Glass */
.cxs-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.cxs-header--scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--border-medium);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
}
/* WordPress admin-bar handling */
body.admin-bar .cxs-header {
  top: 32px;
}
body.admin-bar .cxs-main {
  padding-top: calc(var(--nav-height) + 32px + 24px);
}
@media (max-width: 782px) {
  body.admin-bar .cxs-header {
    top: 46px;
  }
  body.admin-bar .cxs-main {
    padding-top: calc(var(--nav-height) + 46px + 20px);
  }
}
.cxs-nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.cxs-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  line-height: 1;
}
.cxs-brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cxs-brand:hover .cxs-brand-logo,
.cxs-footer-brand:hover .cxs-brand-logo {
  transform: scale(1.08);
}
.cxs-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cxs-brand-name {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.cxs-brand-sub {
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  transition: color 0.15s ease;
}
.cxs-brand:hover .cxs-brand-sub,
.cxs-footer-brand:hover .cxs-brand-sub {
  color: var(--accent-primary);
}
.cxs-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 8px;
}
.cxs-brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--accent-primary);
  display: grid; place-items: center;
  color: #fff; font-size: 11px; font-weight: 800;
}
.cxs-nav-links { display: flex; align-items: center; gap: 4px; }
.cxs-nav-links a { padding: 8px 14px; color: var(--text-muted); font-size: var(--text-sm); font-weight: 500; border-radius: var(--radius-md); transition: color 0.15s, background 0.15s; }
.cxs-nav-links a:hover { color: var(--text-primary); background: var(--bg-secondary); text-decoration: none; }
.cxs-nav-links a.is-active { color: var(--accent-primary); background: var(--accent-subtle); font-weight: 600; }
.cxs-nav-right { display: flex; align-items: center; gap: var(--space-3); }
.cxs-search-btn {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  background: #ffffff; color: var(--text-tertiary); cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.cxs-search-btn:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.cxs-lang { display: flex; gap: 4px; }
.cxs-lang a { padding: 6px 8px; font-size: 11px; font-weight: 600; border-radius: var(--radius-sm); border: 1px solid transparent; color: var(--text-tertiary); }
.cxs-lang a.is-active { background: var(--bg-secondary); color: var(--text-primary); border-color: var(--border-subtle); }
.cxs-cta {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px;
  border-radius: var(--radius-md); background: var(--accent-primary);
  color: #fff; font-size: var(--text-sm); font-weight: 600; white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.cxs-cta:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-glow); }
.cxs-menu-toggle { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; border-radius: var(--radius-md); }
.cxs-menu-toggle span, .cxs-menu-toggle span::before, .cxs-menu-toggle span::after { display: block; width: 20px; height: 2px; background: var(--text-primary); border-radius: 2px; content: ''; position: relative; transition: all 0.25s; }
.cxs-menu-toggle span::before { position: absolute; top: -6px; } .cxs-menu-toggle span::after { position: absolute; top: 6px; }
@media (max-width: 860px) { .cxs-nav-links, .cxs-lang, .cxs-cta--desktop { display: none; } .cxs-menu-toggle { display: grid; place-items: center; } }

/* Search overlay */
.cxs-search-overlay { position: fixed; inset: 0; z-index: 1100; background: rgba(10,15,31,0.38); backdrop-filter: blur(6px); display: none; padding: 16vh 16px 16px; }
.cxs-search-overlay.is-open { display: block; }
.cxs-search-box { max-width: 640px; margin: 0 auto; background: #ffffff; border: 1px solid var(--border-medium); border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(10,15,31,0.12); overflow: hidden; }
.cxs-search-box input { width: 100%; border: 0; padding: 18px 20px; font-size: 1.05rem; outline: none; background: #ffffff; color: var(--text-primary); }
.cxs-search-hint { padding: 10px 18px; font-size: 12px; color: var(--text-tertiary); border-top: 1px solid var(--border-subtle); background: var(--bg-secondary); }

/* Hero Section — Centered Institutional Research Desk (Compact & Refined) */
.cxs-hero {
  position: relative;
  text-align: center;
  padding: 22px 16px 20px;
  max-width: 820px;
  margin: 0 auto;
}
.cxs-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  padding: 3px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.cxs-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.7vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.cxs-hero-desc {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
  max-width: 580px;
  margin: 0 auto 16px;
}
.cxs-hero-stats {
  display: inline-grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin: 0 auto;
}
.cxs-stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 6px 16px;
  border-right: 1px solid var(--border-subtle);
  background: var(--bg-card);
  text-align: left;
}
.cxs-stat-item:last-child {
  border-right: 0;
}
.cxs-stat-label {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  text-transform: uppercase;
}
.cxs-stat-value {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.cxs-stat-value small {
  font-size: 8.5px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-left: 2px;
}
@media (max-width: 768px) {
  .cxs-hero {
    padding: 16px 12px 16px;
  }
  .cxs-hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .cxs-stat-item:nth-child(2) {
    border-right: 0;
  }
  .cxs-stat-item:nth-child(1),
  .cxs-stat-item:nth-child(2) {
    border-bottom: 1px solid var(--border-subtle);
  }
  .cxs-stat-item {
    padding: 6px 12px;
  }
}
@media (max-width: 480px) {
  .cxs-hero-stats {
    grid-template-columns: 1fr;
  }
  .cxs-stat-item {
    border-right: 0;
    border-bottom: 1px solid var(--border-subtle);
  }
  .cxs-stat-item:last-child {
    border-bottom: 0;
  }
}

/* ==========================================================================
   Section 1: Institutional Research Search Console
   ========================================================================== */
.cxs-hero-search-wrap {
  width: 100%;
  max-width: 580px;
  margin: 0 auto 24px;
  position: relative;
}
.cxs-hero-search-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 0 4px;
}
.cxs-hero-search-counter {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
}
.cxs-hero-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 5px 8px 5px 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  position: relative;
}
.cxs-hero-search-bar:focus-within {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(59, 91, 219, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
}
.cxs-hero-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  flex-shrink: 0;
}
.cxs-hero-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-primary);
  padding: 7px 0;
}
.cxs-hero-search-input::placeholder {
  color: #94a3b8;
}
.cxs-hero-search-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border-left: 1px solid var(--border-subtle);
  padding-left: 8px;
  margin-left: 4px;
  flex-shrink: 0;
}
.cxs-hero-search-select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 6px 20px 6px 4px;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease;
  max-width: 140px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cxs-hero-search-select:hover,
.cxs-hero-search-select:focus {
  color: var(--accent-primary);
}
.cxs-hero-search-select-arrow {
  position: absolute;
  right: 4px;
  pointer-events: none;
  color: var(--text-tertiary);
  transition: transform 0.15s ease;
}
.cxs-hero-search-select:focus ~ .cxs-hero-search-select-arrow {
  transform: rotate(180deg);
  color: var(--accent-primary);
}
/* Live Autocomplete Results Dropdown */
.cxs-search-dropdown-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  z-index: 100;
  overflow: hidden;
  max-height: 320px;
  overflow-y: auto;
}
.cxs-search-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 13px;
  text-decoration: none;
  transition: background 0.12s ease;
}
.cxs-search-dropdown-item:last-child {
  border-bottom: none;
}
.cxs-search-dropdown-item:hover,
.cxs-search-dropdown-item.is-active {
  background: var(--bg-secondary);
  color: var(--accent-primary);
  text-decoration: none;
}
.cxs-search-dropdown-title {
  flex: 1;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 10px;
}
.cxs-hero-search-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 10px;
  padding: 0 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cxs-hero-search-tags::-webkit-scrollbar {
  display: none;
}
.cxs-search-tags-label {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
  white-space: nowrap;
  flex-shrink: 0;
}
.cxs-search-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  padding: 2px 8px;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  transition: all 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.cxs-search-tag:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  background: var(--accent-subtle);
  text-decoration: none;
}
@media (max-width: 640px) {
  .cxs-hero-search-wrap {
    margin-bottom: 18px;
  }
  .cxs-hero-search-bar {
    padding: 5px 8px 5px 10px;
    gap: 6px;
  }
  .cxs-hero-search-input {
    font-size: 12.5px;
  }
  .cxs-hero-search-select {
    max-width: 105px;
    font-size: 11px;
    padding-right: 16px;
  }
}

/* Panoramic Featured Dossier Card (Deep Alpha Executive Style) */
.cxs-featured-wrap {
  margin-bottom: 36px;
}
.cxs-featured-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.cxs-featured-card:hover {
  transform: translateY(-2px);
  border-color: var(--gt-primary);
  box-shadow: var(--shadow-hover);
}
.cxs-featured-inner {
  display: flex;
  flex-direction: row;
  min-height: 420px;
}
.cxs-featured-body {
  width: 52%;
  min-width: 52%;
  padding: 38px 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  box-sizing: border-box;
  border-right: 1px solid var(--border-subtle);
}
.cxs-featured-body-inner {
  flex: 1;
}
.cxs-featured-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin: 14px 0 16px;
  color: var(--text-primary);
}
.cxs-featured-title a {
  color: var(--text-primary);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: color 0.15s ease;
}
.cxs-featured-card:hover .cxs-featured-title a {
  color: var(--gt-primary);
}
.cxs-featured-excerpt {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 540px;
}
.cxs-featured-action {
  margin-bottom: 20px;
}
.cxs-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-size: 11.5px;
  color: var(--text-tertiary);
}
.cxs-featured-cover {
  width: 48%;
  min-width: 48%;
  position: relative;
  background: #0f172a;
  overflow: hidden;
  display: block;
}
.cxs-featured-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cxs-featured-card:hover .cxs-featured-cover img {
  transform: scale(1.03);
}
.cxs-featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(10, 15, 31, 0.82);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.cxs-pill--read {
  background: var(--bg-secondary);
  color: var(--text-tertiary);
  border: 1px solid var(--border-subtle);
}

/* Technical Corner Marks (Bloomberg Terminal crosshairs) */
.cxs-corner-mark {
  position: absolute;
  width: 12px;
  height: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  color: rgba(59, 91, 219, 0.45);
  pointer-events: none;
  z-index: 2;
  user-select: none;
}
.cxs-corner-mark--tl { top: 6px; left: 8px; }
.cxs-corner-mark--br { bottom: 6px; right: 8px; }

/* Filter bar — Sticky Section seamlessly on canvas */
.cxs-filter-bar {
  position: sticky; top: var(--nav-height); z-index: 40;
  background: rgba(247, 248, 251, 0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  margin: 0 calc(var(--space-6) * -1);
  padding: 10px var(--space-6);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.cxs-filter-left {
  display: flex; align-items: center; gap: 8px;
  overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0;
}
.cxs-filter-left::-webkit-scrollbar { display: none; }
.cxs-filter-group {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}
.cxs-filter-divider {
  width: 1px; height: 20px; background: rgba(15, 23, 42, 0.12); margin: 0 4px; flex-shrink: 0;
}
/* Deep Alpha Terminal Filter Buttons */
.da-filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 120ms ease;
  text-decoration: none;
  white-space: nowrap;
}
.da-filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
  background: var(--bg-secondary);
  text-decoration: none;
}
.da-filter-btn--active,
.da-filter-btn.is-active {
  background: #0a0f1f !important;
  color: #ffffff !important;
  border-color: #0a0f1f !important;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(10, 15, 31, 0.18);
}
.cxs-chip {
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.12s ease;
  white-space: nowrap;
}
.cxs-chip:hover {
  border-color: var(--border-medium);
  color: var(--text-primary);
  background: var(--bg-secondary);
  text-decoration: none;
}
.cxs-chip.is-active {
  background: #0a0f1f;
  color: #ffffff !important;
  border-color: #0a0f1f;
  font-weight: 700;
}

/* Deep Alpha Terminal Buttons (Shared across Hero, Bridge, Series, Newsletter) */
.da-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 140ms ease;
  white-space: nowrap;
}
.da-btn--primary {
  background: #0a0f1f;
  color: #ffffff !important;
  border-color: #0a0f1f;
  box-shadow: 0 1px 3px rgba(10, 15, 31, 0.2);
}
.da-btn--primary:hover {
  background: #1e293b;
  border-color: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(10, 15, 31, 0.25);
  color: #ffffff !important;
}
.da-btn--ghost {
  background: var(--bg-card);
  color: var(--text-primary) !important;
  border-color: var(--border-medium);
}
.da-btn--ghost:hover {
  background: var(--bg-secondary);
  border-color: var(--text-primary);
  color: var(--text-primary) !important;
}
.da-btn--accent {
  background: var(--gt-primary);
  color: #ffffff !important;
  border-color: var(--gt-primary);
}
.da-btn--accent:hover {
  background: var(--gt-primary-hover);
  border-color: var(--gt-primary-hover);
  transform: translateY(-1px);
}

/* Dual View Switcher */
.cxs-view-switch {
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  padding: 3px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
  gap: 2px;
}
.cxs-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: calc(var(--radius-md) - 2px);
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.cxs-view-btn svg {
  flex-shrink: 0;
}
.cxs-view-btn:hover {
  color: var(--text-primary);
}
.cxs-view-btn.is-active {
  background: #ffffff;
  color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

/* Views Container inside da-card */
.cxs-views-container {
  position: relative;
  width: 100%;
}
.cxs-view[hidden] {
  display: none !important;
}

/* ---------------------------------------------------------------------------
 * Section 6: Dispatches 2-Column Split (65% Primary / 35% Compact Wire)
 * --------------------------------------------------------------------------- */
.cxs-dispatches-split {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
}
@media (max-width: 960px) {
  .cxs-dispatches-split {
    flex-direction: column;
  }
}

/* Left Column: Primary Research Dossiers (60%) */
.cxs-dispatches-main {
  flex: 0 0 60%;
  width: 60%;
  max-width: 60%;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.cxs-dispatches-main:only-child {
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
  border-right: 0;
}
@media (max-width: 960px) {
  .cxs-dispatches-main {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--border-subtle);
  }
}

/* Right Column: Compact Rapid Intel / Wire Stream (40%) */
.cxs-dispatches-aside {
  flex: 0 0 40%;
  width: 40%;
  max-width: 40%;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
@media (max-width: 960px) {
  .cxs-dispatches-aside {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }
}

/* Sub-header Kicker Bars inside Columns */
.cxs-column-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  gap: 10px;
}

/* Primary Column List & Horizontal Editorial Cards */
.cxs-primary-list {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cxs-card.cxs-card--primary {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0;
  background: var(--bg-card);
  box-shadow: none;
  transition: background-color 0.15s ease;
  min-height: 116px;
  padding: 0;
}
.cxs-primary-list > .cxs-card--primary:last-child {
  border-bottom: 0;
}
.cxs-card--primary:hover {
  background: rgba(59, 91, 219, 0.02);
}

.cxs-primary-body {
  flex: 1;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.cxs-primary-body .cxs-card-tags {
  margin-bottom: 5px;
  gap: 6px;
}

.cxs-primary-title {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin: 0 0 5px;
  color: var(--text-primary);
}
.cxs-primary-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.15s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cxs-card--primary:hover .cxs-primary-title a {
  color: var(--gt-primary);
}

.cxs-primary-excerpt {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cxs-primary-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
  border-top: 1px solid var(--border-subtle);
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: auto;
}

.cxs-primary-cover {
  width: 28%;
  min-width: 28%;
  max-width: 28%;
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
  display: block;
  border-right: 1px solid var(--border-subtle);
}
.cxs-primary-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.cxs-card--primary:hover .cxs-primary-cover img {
  transform: scale(1.04);
}

@media (max-width: 720px) {
  .cxs-card.cxs-card--primary {
    flex-direction: column !important;
  }
  .cxs-primary-cover {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    aspect-ratio: 16/9;
    border-right: 0;
    border-bottom: 1px solid var(--border-subtle);
  }
  .cxs-primary-body {
    padding: 14px 16px;
  }
}

/* Compact Column List & Cards (Full-bleed left thumbnail flush with card edges) */
.cxs-compact-list {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}
.cxs-card.cxs-card--compact {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0;
  background: var(--bg-card);
  text-decoration: none;
  box-shadow: none;
  transition: background-color 0.15s ease;
  min-height: 76px;
  flex: 1;
  box-sizing: border-box;
}
.cxs-compact-list > .cxs-card--compact:last-child {
  border-bottom: 0;
}
.cxs-card--compact:hover {
  background: rgba(59, 91, 219, 0.02);
}
.cxs-compact-body {
  flex: 1;
  min-width: 0;
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cxs-compact-body .cxs-card-tags {
  margin-bottom: 3px;
  gap: 5px;
}
.cxs-compact-title {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cxs-compact-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}
.cxs-card--compact:hover .cxs-compact-title a {
  color: var(--gt-primary);
}
.cxs-compact-meta {
  font-size: 10.5px;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}
.cxs-compact-sep {
  color: var(--border-medium);
}
.cxs-compact-thumb {
  width: 28%;
  min-width: 28%;
  max-width: 28%;
  height: auto;
  min-height: 100%;
  border-radius: 0;
  overflow: hidden;
  background: var(--bg-secondary);
  flex-shrink: 0;
  border: 0;
  border-right: 1px solid var(--border-subtle);
  display: block;
  position: relative;
}
.cxs-compact-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.cxs-card--compact:hover .cxs-compact-thumb img {
  transform: scale(1.05);
}
.cxs-compact-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f1f4fa 0%, #e6ebf5 100%);
  color: var(--gt-primary);
  font-size: 16px;
  border: 0;
}
@media (max-width: 540px) {
  .cxs-card.cxs-card--compact {
    min-height: 76px;
  }
  .cxs-compact-thumb {
    width: 32%;
    min-width: 32%;
    max-width: 32%;
  }
  .cxs-compact-body {
    padding: 8px 10px;
  }
}

/* Card grid — Fallback 3-Column Terminal Grid (gap: 0) */
.cxs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 0;
}
@media (max-width: 1024px) {
  .cxs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cxs-grid { grid-template-columns: 1fr; }
}

.cxs-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 0;
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: none;
  transition: background-color 0.15s ease;
}
.cxs-grid > .cxs-card:nth-child(3n) {
  border-right: none;
}
@media (max-width: 1024px) {
  .cxs-grid > .cxs-card:nth-child(3n) {
    border-right: 1px solid var(--border-subtle);
  }
  .cxs-grid > .cxs-card:nth-child(2n) {
    border-right: none;
  }
}
@media (max-width: 640px) {
  .cxs-card {
    border-right: none !important;
  }
}
.cxs-card:hover {
  background: rgba(59, 91, 219, 0.02);
  transform: none;
  box-shadow: none;
}
.cxs-card:hover .cxs-card-title a {
  color: var(--gt-primary);
}

.cxs-card-cover {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-secondary);
  flex-shrink: 0;
  border-bottom: 1px solid var(--border-subtle);
}
.cxs-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.cxs-card:hover .cxs-card-cover img {
  transform: scale(1.03);
}
.cxs-card-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f1f4fa 0%, #e6ebf5 100%);
  color: var(--gt-primary);
  font-size: 24px;
}
.cxs-card-readtime {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: rgba(10, 15, 31, 0.82);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.cxs-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cxs-card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.cxs-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.cxs-card-title a {
  color: var(--text-primary);
  transition: color 0.15s ease;
}
.cxs-card-excerpt {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin-bottom: 14px;
}
.cxs-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  margin-top: auto;
}
.cxs-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-weight: 500;
  font-family: var(--font-body);
}
.cxs-card-dot {
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background: var(--accent-primary);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
}
.cxs-card-date {
  color: var(--text-tertiary);
}

/* Integrated Card Foot Bar */
.da-card__foot-bar {
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  gap: 12px;
  flex-wrap: wrap;
}
.da-card__foot-bar .nav-links {
  margin-top: 0;
}
.da-card__foot-bar .cxs-page-meta {
  margin-top: 0;
}

/* Integrated Subnav Filter Bar */
.cxs-filter-bar-subnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 22px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

/* Terminal Wire Table (Institutional Bloomberg Desk Style) */
.cxs-wire-box {
  background: var(--bg-card);
  border: 0;
  border-radius: 0;
  overflow-x: auto;
  margin-top: 0;
  box-shadow: none;
}
.cxs-wire-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}
.cxs-wire-th {
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-medium);
  white-space: nowrap;
}
.cxs-wire-row {
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.12s ease;
  position: relative;
}
.cxs-wire-row:last-child {
  border-bottom: none;
}
.cxs-wire-row:hover {
  background-color: rgba(59, 91, 219, 0.035);
}
.cxs-wire-td {
  padding: 12px 14px;
  vertical-align: middle;
}
.cxs-wire-td.col-date {
  font-size: 11.5px;
  color: var(--text-tertiary);
  white-space: nowrap;
  width: 110px;
}
.cxs-wire-td.col-topic {
  width: 120px;
  white-space: nowrap;
}
.cxs-wire-td.col-level {
  width: 90px;
  white-space: nowrap;
}
.cxs-wire-td.col-title {
  min-width: 280px;
}
.cxs-wire-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.cxs-wire-title {
  display: block;
  font-weight: 650;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 2px;
  transition: color 0.12s ease;
}
.cxs-wire-row:hover .cxs-wire-title {
  color: var(--accent-primary);
}
.cxs-wire-excerpt {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 580px;
}
.cxs-wire-td.col-read {
  font-size: 11.5px;
  color: var(--text-tertiary);
  white-space: nowrap;
  width: 70px;
}
.cxs-wire-td.col-act {
  width: 85px;
  text-align: right;
  white-space: nowrap;
}
.cxs-wire-btn {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.12s ease;
}
.cxs-wire-row:hover .cxs-wire-btn {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #ffffff;
}

/* Responsiveness */
@media (max-width: 900px) {
  .cxs-featured-inner {
    flex-direction: column;
    min-height: auto;
  }
  .cxs-featured-cover {
    width: 100%;
    min-width: unset;
    aspect-ratio: 16/9;
    order: -1;
  }
  .cxs-featured-body {
    width: 100%;
    min-width: unset;
    padding: 24px 20px;
    border-right: 0;
    border-top: 1px solid var(--border-subtle);
  }
  .cxs-featured-title {
    font-size: 1.4rem;
  }
}
@media (max-width: 768px) {
  .cxs-filter-bar {
    margin: 0 calc(var(--space-4) * -1);
    padding: 10px var(--space-4);
  }
}
@media (max-width: 640px) {
  .cxs-card { flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; }
  .cxs-card-cover { width: 80px; min-width: 80px; height: 80px; aspect-ratio: 1/1; border-radius: 8px; border: 1px solid var(--border-subtle); order: 2; }
  .cxs-card-readtime { display: none; }
  .cxs-card-body { padding: 0; flex: 1; min-width: 0; }
  .cxs-card-excerpt { display: none !important; }
  .cxs-view-btn span { display: none; }
  .cxs-view-btn { padding: 6px 8px; }
  .cxs-wire-td.col-date, .cxs-wire-th.col-date { display: none; }
  .cxs-wire-excerpt { max-width: 200px; }
}


/* Pills & Semantic Levels (Bloomberg Discipline) */
.cxs-pill { display: inline-flex; padding: 3px 10px; border-radius: var(--radius-full); font-size: 10px; font-weight: 600; letter-spacing: 0.02em; }
.cxs-pill--cat { background: var(--bg-secondary); color: var(--text-muted); border: 1px solid var(--border-subtle); }
.cxs-level {
  display: inline-flex; padding: 2px 8px; border-radius: var(--radius-full);
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; border: 1px solid;
}
.cxs-level--beginner { background: rgba(10, 132, 86, 0.08); color: #0a8456; border-color: rgba(10, 132, 86, 0.22); }
.cxs-level--intermediate { background: rgba(184, 107, 0, 0.08); color: #b86b00; border-color: rgba(184, 107, 0, 0.22); }
.cxs-level--advanced { background: rgba(200, 32, 47, 0.08); color: #c8202f; border-color: rgba(200, 32, 47, 0.22); }
.cxs-level--expert, .cxs-level--analysis { background: rgba(29, 78, 216, 0.08); color: #1d4ed8; border-color: rgba(29, 78, 216, 0.22); }

/* Article Page */
.cxs-progress { position: fixed; top: var(--nav-height); left: 0; width: 0%; height: 2px; background: var(--accent-primary); z-index: 999; transition: width 0.1s linear; }
.cxs-article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; max-width: 100%; }
.cxs-article-main { min-width: 0; max-width: 100%; box-sizing: border-box; }
@media (max-width: 980px) { .cxs-article { grid-template-columns: minmax(0, 1fr); } }
.cxs-article-header { margin-bottom: 24px; }

/* Unified Deep Alpha Dossier Topbar & Breadcrumb */
.cxs-dossier-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 12px;
  margin-bottom: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.cxs-dossier-chips {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.cxs-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-bottom: 14px;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 100%;
}
.cxs-breadcrumb::-webkit-scrollbar { display: none; }
.cxs-dossier-topbar .cxs-breadcrumb {
  margin-bottom: 0;
}
.cxs-bc-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.cxs-bc-link:hover {
  color: var(--accent-primary);
}
.cxs-bc-icon {
  color: var(--accent-primary);
  flex-shrink: 0;
}
.cxs-bc-cat {
  color: var(--text-primary);
  font-weight: 700;
}
.cxs-bc-sep {
  color: var(--border-medium);
  font-size: 10px;
  user-select: none;
}
.cxs-bc-current {
  color: var(--text-primary);
  font-weight: 700;
}
.cxs-article-title { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: var(--text-primary); }
.cxs-article-excerpt { margin-top: 12px; color: var(--text-muted); font-size: 1.08rem; line-height: 1.6; }
.cxs-byline { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; font-size: 13px; color: var(--text-muted); }
.cxs-byline-dot {
  width: 28px; height: 28px; border-radius: 9999px;
  background: var(--accent-primary);
  display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 800;
}
.cxs-share { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.cxs-share button, .cxs-share a { padding: 7px 12px; border-radius: var(--radius-full); border: 1px solid var(--border-subtle); background: #ffffff; font-size: 12px; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: all 0.15s ease; }
.cxs-share button:hover, .cxs-share a:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.cxs-featured-img { margin-top: 20px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-subtle); }
.cxs-featured-img img { width: 100%; }

.cxs-toc { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: #ffffff; padding: 16px; box-shadow: var(--shadow-card); }
.cxs-toc h2 { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 10px; font-family: var(--font-mono); }
.cxs-toc ol { list-style: none; display: grid; gap: 6px; }
.cxs-toc a { font-size: 13px; color: var(--text-muted); display: block; border-left: 2px solid transparent; padding-left: 10px; margin-left: -12px; transition: border-color 0.15s ease, color 0.15s ease; }
.cxs-toc a:hover { color: var(--accent-primary); }
.cxs-toc a.is-active { color: var(--accent-primary); font-weight: 600; border-left-color: var(--accent-primary); }
.cxs-toc .lvl-3 { padding-left: 24px; }

.cxs-content { color: var(--text-secondary); line-height: 1.8; }
.cxs-content h2 { font-size: 1.45rem; font-weight: 700; color: var(--text-primary); margin: 36px 0 14px; letter-spacing: -0.02em; scroll-margin-top: 88px; }
.cxs-content h3 { font-size: 1.15rem; font-weight: 650; color: var(--text-primary); margin: 26px 0 10px; scroll-margin-top: 88px; }
.cxs-content p { margin: 16px 0; }
.cxs-content a { color: var(--accent-primary); border-bottom: 1px solid rgba(59,91,219,0.25); text-underline-offset: 3px; }
.cxs-content a:hover { border-bottom-color: var(--accent-primary); }
.cxs-content blockquote {
  border-left: 3px solid var(--accent-primary);
  background: var(--accent-subtle);
  padding: 14px 18px; border-radius: 0 var(--radius-md) var(--radius-md) 0; margin: 20px 0; font-style: italic; color: var(--text-secondary);
}
.cxs-content blockquote cite { display: block; margin-top: 8px; font-size: 12px; font-style: normal; color: var(--text-tertiary); }
.cxs-content blockquote cite::before { content: '— '; }
.cxs-content pre { background: #0a0f1f; color: #e2e8f0; border-radius: var(--radius-md); padding: 16px; overflow: auto; margin: 20px 0; position: relative; border: 1px solid var(--border-subtle); }
.cxs-content pre code { font-family: var(--font-mono); font-size: 13px; }
.cxs-copy-btn { position: absolute; top: 8px; right: 8px; padding: 6px 10px; font-size: 11px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.08); color: #e2e8f0; cursor: pointer; }
.cxs-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; margin: 20px 0; font-size: 0.92rem; }
.cxs-content th, .cxs-content td { border: 1px solid var(--border-subtle); padding: 10px 12px; text-align: left; }
.cxs-content th { background: var(--bg-secondary); font-weight: 600; color: var(--text-primary); position: sticky; top: 0; }
.cxs-content img { border-radius: var(--radius-md); border: 1px solid var(--border-subtle); }
.cxs-content figcaption { text-align: center; font-size: 12px; color: var(--text-tertiary); margin-top: 8px; font-style: italic; }
.cxs-content ul, .cxs-content ol { padding-left: 1.5em; margin: 16px 0; }
.cxs-content li { margin-bottom: 6px; }
.cxs-content code:not(pre code) {
  font-family: var(--font-mono); font-size: 0.85em;
  background: var(--accent-subtle); color: var(--accent-primary);
  padding: 2px 6px; border-radius: 4px;
}
.cxs-content hr { border: 0; border-top: 1px solid var(--border-subtle); margin: 32px 0; }

/* Sticky share rail — desktop */
.cxs-share-rail { display: none; }
@media (min-width: 1200px) {
  .cxs-share-rail { position: fixed; left: max(16px, calc((100vw - var(--max-width)) / 2 - 52px)); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 50; }
  .cxs-share-rail a, .cxs-share-rail button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--radius-md); border: 1px solid var(--border-subtle); background: #ffffff; color: var(--text-muted); cursor: pointer; font-size: 15px; box-shadow: var(--shadow-card); transition: border-color 0.2s, color 0.2s, transform 0.2s; }
  .cxs-share-rail a:hover, .cxs-share-rail button:hover { border-color: var(--accent-primary); color: var(--accent-primary); transform: translateX(2px); }
}

/* Sidebar stack */
.cxs-sidebar { position: sticky; top: calc(var(--nav-height) + 16px); display: grid; gap: 16px; }
.cxs-side-card { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: #ffffff; padding: 18px; box-shadow: var(--shadow-card); }
.cxs-side-card h2 { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 10px; font-family: var(--font-mono); }
.cxs-newsletter input { width: 100%; padding: 10px 14px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); margin-bottom: 8px; font-size: 13px; background: var(--bg-primary); }
.cxs-newsletter button { width: 100%; padding: 10px; border-radius: var(--radius-md); border: 0; background: var(--text-primary); color: #fff; font-weight: 600; cursor: pointer; transition: background 0.15s ease; }
.cxs-newsletter button:hover { background: var(--accent-primary); }

/* Deep Alpha Terminal CTA Card */
.cxs-cta-card {
  background: #0a0f1f; color: #fff;
  border: 1px solid rgba(59, 91, 219, 0.25);
  box-shadow: 0 8px 24px rgba(10, 15, 31, 0.18);
}
.cxs-cta-card h2 { color: #fff; }
.cxs-cta-card p { color: rgba(255,255,255,0.85); font-size: 13px; line-height: 1.6; }
.cxs-cta-card .cxs-btn { background: var(--accent-primary); color: #fff; }
.cxs-cta-card .cxs-btn:hover { background: var(--accent-hover); }
.cxs-cta-card .cxs-btn--ghost { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #fff; }
.cxs-cta-card .cxs-btn--ghost:hover { background: rgba(255,255,255,0.14); }

/* Series / Related / PrevNext — Deep Alpha Institutional Cards */
.cxs-series {
  margin-top: 32px;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
}
.cxs-series-body {
  padding: 18px 20px;
}
.cxs-series-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.cxs-series-title {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}
.cxs-series-progress {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-primary);
}
.cxs-series-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cxs-series-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-primary);
  font-size: 13.5px;
  transition: all 0.15s ease;
}
.cxs-series-item:hover:not(.is-current) {
  border-color: var(--border-medium);
  background: #ffffff;
}
.cxs-series-item.is-current {
  background: rgba(59, 91, 219, 0.05);
  border: 1px solid rgba(59, 91, 219, 0.28);
  font-weight: 700;
  color: var(--text-primary);
}
.cxs-series-step {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}
.cxs-series-item.is-current .cxs-series-step {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #ffffff;
}
.cxs-series-item-link {
  color: var(--text-secondary);
  text-decoration: none;
  flex: 1;
  line-height: 1.38;
  transition: color 0.15s ease;
}
.cxs-series-item-link:hover {
  color: var(--accent-primary);
}
.cxs-series-item-title {
  color: var(--text-primary);
  flex: 1;
  line-height: 1.38;
}
.cxs-series-current-tag {
  flex-shrink: 0;
}
.cxs-series-foot {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.cxs-series-nav-link {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 0%;
  min-width: 0;
  max-width: 48%;
  overflow: hidden;
}
.cxs-series-nav-link span {
  display: block;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cxs-series-nav-link:hover {
  color: var(--accent-primary);
}
.cxs-series-nav-link--next {
  margin-left: auto;
  justify-content: flex-end;
  text-align: right;
}

/* Deep Alpha Related Articles Card */
.cxs-related {
  margin-top: 32px;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
}
.cxs-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.cxs-related-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: #ffffff;
  transition: background-color 0.15s ease;
}
.cxs-related-item:nth-child(2n) {
  border-right: 0;
}
.cxs-related-item:nth-last-child(-n+2) {
  border-bottom: 0;
}
.cxs-related-item:hover {
  background: rgba(59, 91, 219, 0.015);
}
.cxs-related-thumb-link {
  order: -1;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
}
.cxs-related-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.cxs-related-item:hover .cxs-related-thumb {
  transform: scale(1.03);
}
.cxs-related-thumb--placeholder {
  display: grid;
  place-items: center;
  color: var(--text-tertiary);
  font-weight: 800;
  font-size: 16px;
}
.cxs-related-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cxs-related-meta-top {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.cxs-related-readtime {
  font-size: 10px;
  color: var(--text-tertiary);
  font-weight: 600;
  margin-left: auto;
}
.cxs-related-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cxs-related-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}
.cxs-related-item:hover .cxs-related-title a {
  color: var(--accent-primary);
}
.cxs-related-excerpt {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.cxs-related-meta-bottom {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-tertiary);
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}
.cxs-related-author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--text-muted);
}
.cxs-related-sep {
  color: var(--border-medium);
}

@media (max-width: 640px) {
  .cxs-related-grid {
    grid-template-columns: 1fr;
    padding: 0 14px;
  }
  .cxs-related-item {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0;
    border-right: 0 !important;
    border-bottom: 1px solid var(--border-subtle) !important;
  }
  .cxs-related-item:last-child {
    border-bottom: 0 !important;
  }
  .cxs-related-body {
    padding: 0;
    flex: 1;
    min-width: 0;
  }
  .cxs-related-meta-top {
    margin-bottom: 5px;
    gap: 5px;
  }
  .cxs-related-readtime {
    margin-left: 0;
  }
  .cxs-related-title {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.34;
    margin: 0 0 6px;
  }
  .cxs-related-excerpt {
    display: none !important;
  }
  .cxs-related-meta-bottom {
    padding-top: 0;
    border-top: 0;
    font-size: 10.5px;
  }
  .cxs-related-thumb-link {
    order: 2;
    width: 78px;
    height: 78px;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
  }
}

.cxs-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.cxs-prevnext a { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 16px; background: #ffffff; box-shadow: var(--shadow-card); transition: border-color 0.15s, box-shadow 0.15s; }
.cxs-prevnext a:hover { border-color: var(--accent-primary); box-shadow: var(--shadow-hover); }
.cxs-prevnext small { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); font-family: var(--font-mono); margin-bottom: 4px; }

/* Pagination */
.nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.nav-links a, .nav-links span { padding: 8px 14px; border-radius: var(--radius-md); border: 1px solid var(--border-subtle); background: #ffffff; font-size: 13px; font-weight: 500; color: var(--text-secondary); transition: all 0.15s ease; }
.nav-links .current { background: var(--text-primary); color: #fff; border-color: var(--text-primary); font-weight: 600; }
.nav-links a:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.cxs-page-meta { text-align: center; margin-top: 12px; font-size: 12px; color: var(--text-tertiary); font-family: var(--font-mono); }

/* 404 */
.cxs-404 { text-align: center; padding: 48px 16px; }
.cxs-404-code { font-size: clamp(3rem, 10vw, 6rem); font-weight: 800; letter-spacing: -0.04em; color: var(--accent-primary); }
.cxs-404-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.cxs-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
  border-radius: var(--radius-full); background: var(--accent-primary);
  color: #fff; font-weight: 600; font-size: 14px; border: 0; cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.cxs-btn:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.cxs-btn--ghost { background: #ffffff; color: var(--text-primary); border: 1px solid var(--border-subtle); }
.cxs-btn--ghost:hover { background: var(--bg-secondary); border-color: var(--border-hover); }
.cxs-recent { margin-top: 36px; text-align: left; }
.cxs-recent h2 { font-size: 1.15rem; margin-bottom: 16px; color: var(--text-primary); }

/* Footer — Deep Alpha Institutional Light */
.cxs-footer { background: #ffffff; border-top: 1px solid var(--border-subtle); padding: 48px 0 24px; margin-top: 48px; }
.cxs-footer-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-6); }
.cxs-footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; margin-bottom: 36px; }
.cxs-footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 750; margin-bottom: 12px; color: var(--text-primary); text-decoration: none; }
.cxs-footer-desc { color: var(--text-muted); font-size: var(--text-sm); line-height: 1.7; max-width: 320px; }
.cxs-footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cxs-footer-col h4 { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-primary); margin-bottom: 12px; font-family: var(--font-mono); }
.cxs-footer-col a { display: block; padding: 5px 0; font-size: var(--text-sm); color: var(--text-muted); }
.cxs-footer-col a:hover { color: var(--accent-primary); }
.cxs-footer-socials { display: flex; gap: 10px; margin-top: 14px; }
.cxs-footer-socials a { width: 32px; height: 32px; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--bg-secondary); color: var(--text-muted); transition: background 0.15s, color 0.15s; }
.cxs-footer-socials a:hover { background: var(--accent-subtle); color: var(--accent-primary); }
.cxs-footer-bottom { border-top: 1px solid var(--border-subtle); padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--text-tertiary); }
@media (max-width: 860px) { .cxs-footer-top { grid-template-columns: 1fr; } .cxs-footer-links { grid-template-columns: repeat(2, 1fr); } }

/* House promo pane */
.cxs-promo { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: #ffffff; padding: 22px; display: grid; gap: 8px; margin-top: 28px; box-shadow: var(--shadow-card); }
.cxs-promo-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); }
.cxs-promo h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); }
.cxs-promo p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.cxs-empty { text-align: center; padding: 36px 16px; color: var(--text-tertiary); }
.cxs-empty-icon { font-size: 28px; margin-bottom: 10px; }
.cxs-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(8px); background: var(--text-primary); color: #fff; font-size: 13px; padding: 10px 18px; border-radius: var(--radius-full); box-shadow: 0 8px 24px rgba(10,15,31,0.2); opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; z-index: 1200; }
.cxs-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------------------------------------------------------------------------
 * Section 3: Structured Mastery Paths (Article Series Hub - Deep Alpha Glass Terminal)
 * --------------------------------------------------------------------------- */
.cxs-series-section {
  margin: 48px 0 44px;
  padding-top: 36px;
  border-top: 1px solid var(--border-subtle);
}
.da-series-track-bar {
  display: flex;
  align-items: stretch;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
}
.da-series-track-bar::-webkit-scrollbar {
  display: none;
}
.cxs-track-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--border-subtle);
  border-top: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 120ms ease;
  white-space: nowrap;
  border-radius: 0;
  margin-top: -1px;
}
.cxs-track-tab:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--text-primary);
}
.cxs-track-tab.is-active {
  background: var(--bg-card);
  color: var(--text-primary);
  border-top-color: var(--gt-primary);
  border-bottom: 1px solid var(--bg-card);
  margin-bottom: -1px;
  box-shadow: none;
}
.cxs-track-tab-dot {
  font-size: 11px;
  color: var(--gt-primary);
}
.cxs-track-tab.is-active .cxs-track-tab-dot {
  color: var(--gt-primary);
}
.cxs-track-tab-name {
  font-family: var(--font-mono);
}

/* Unified Panes Box */
.cxs-series-panes {
  position: relative;
}
.cxs-track-pane {
  background: var(--bg-card);
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.cxs-track-pane[hidden] {
  display: none !important;
}

/* Horizontal Carousel Slider - Gom 1 khối continuous rail */
.cxs-series-slider {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  padding: 0;
}
.cxs-series-slider::-webkit-scrollbar {
  display: none;
}
.cxs-series-slider-inner {
  display: flex;
  gap: 0;
  align-items: stretch;
}
.cxs-series-slider-inner .cxs-track-card {
  flex: 0 0 350px;
  min-width: 350px;
  max-width: 350px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 0;
  border-right: 1px solid var(--border-subtle);
  border-radius: 0;
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: none;
  transition: background-color 0.15s ease;
}
@media (max-width: 640px) {
  .cxs-series-slider-inner .cxs-track-card {
    flex: 0 0 85vw;
    min-width: 280px;
    max-width: 85vw;
  }
}
.cxs-series-slider-inner .cxs-track-card:hover {
  background: rgba(59, 91, 219, 0.02);
  transform: none;
  box-shadow: none;
}
.cxs-series-slider-inner .cxs-track-card:last-child {
  border-right: 0;
}
.cxs-track-card-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
  display: block;
  border-bottom: 1px solid var(--border-subtle);
}
.cxs-track-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.cxs-track-card:hover .cxs-track-card-cover img {
  transform: scale(1.04);
}
.cxs-part-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(10, 15, 31, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.cxs-track-card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cxs-track-card-title {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin: 10px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cxs-track-card-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}
.cxs-track-card:hover .cxs-track-card-title a {
  color: var(--gt-primary);
}
.cxs-track-card-excerpt {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.cxs-track-card-action {
  padding: 12px 20px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------------------------------------------------------------------------
 * Section 4: Deep Alpha Quantitative Engine Bridge (Glass Terminal Light)
 * --------------------------------------------------------------------------- */
.cxs-bridge-section {
  margin: 48px 0 44px;
}
.cxs-bridge-inner {
  display: flex;
  flex-direction: row;
  min-height: 420px;
}
@media (max-width: 920px) {
  .cxs-bridge-inner {
    flex-direction: column;
  }
}
.cxs-bridge-info {
  width: 55%;
  min-width: 55%;
  padding: 38px 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  box-sizing: border-box;
}
@media (max-width: 920px) {
  .cxs-bridge-info {
    width: 100%;
    min-width: 100%;
    padding: 24px 20px;
  }
}
.cxs-bridge-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.cxs-bridge-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 22px;
  max-width: 520px;
}
.cxs-bridge-features {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}
.cxs-bridge-feature-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}
.cxs-bridge-feature-icon {
  color: #0a8456;
  font-size: 11px;
}
.cxs-bridge-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cxs-bridge-widget {
  width: 45%;
  min-width: 45%;
  border-left: 1px solid var(--border-subtle);
  background: var(--bg-card);
  padding: 34px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}
@media (max-width: 920px) {
  .cxs-bridge-widget {
    width: 100%;
    min-width: 100%;
    border-left: 0;
    border-top: 1px solid var(--border-subtle);
    padding: 24px 20px;
  }
}

/* Deep Alpha Live Trade Ticket - Glass Terminal Light Seamless Panel */
.cxs-trade-ticket {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.cxs-ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}
.cxs-ticket-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}
.cxs-ticket-live-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  margin-bottom: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 11px;
}
.cxs-ticket-live-label {
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.cxs-ticket-live-val {
  color: var(--text-primary);
  font-weight: 800;
  font-size: 13px;
}
.cxs-ticket-ladder {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 13px;
  margin-bottom: 14px;
}
.cxs-ticket-ladder td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-subtle);
}
.cxs-ticket-zone {
  font-weight: 700;
  color: var(--text-primary);
}
.cxs-ticket-price {
  text-align: right;
  color: var(--text-primary);
  font-weight: 600;
}
.cxs-ticket-pct {
  text-align: right;
  font-weight: 700;
}
.cxs-ticket-pct--up { color: #0a8456; }
.cxs-ticket-pct--down { color: #c8202f; }
.cxs-ticket-cta {
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

/* ---------------------------------------------------------------------------
 * Section 5: Executive Intelligence Hero (Deep Alpha News Module Synthesis)
 * --------------------------------------------------------------------------- */
.da-executive-section {
  width: 100%;
  margin: 48px 0 52px;
  padding-top: 36px;
  border-top: 1px solid var(--border-subtle);
}

.da-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 6px;
}
.da-dot--live {
  background: #0a8456;
  animation: daPulseLive 1.6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  box-shadow: 0 0 0 0 rgba(10, 132, 86, 0.45);
}
@keyframes daPulseLive {
  0% { box-shadow: 0 0 0 0 rgba(10, 132, 86, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(10, 132, 86, 0); }
  100% { box-shadow: 0 0 0 0 rgba(10, 132, 86, 0); }
}

.da-kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.da-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .da-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.da-section-head__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 8px 0 0;
  line-height: 1.2;
}

.da-seg {
  display: inline-flex;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-card);
}
.da-seg__btn {
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: transparent;
  border: 0;
  border-left: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 120ms ease;
  white-space: nowrap;
}
.da-seg__btn:first-child {
  border-left: 0;
}
.da-seg__btn:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}
.da-seg__btn--active {
  background: #0a0f1f !important;
  color: #ffffff !important;
}

/* Synthesis Card Container */
.da-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.da-card__head {
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  gap: 14px;
  flex-wrap: wrap;
}
.da-card__title {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.da-card__title-bar {
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: linear-gradient(180deg, #3b5bdb 0%, #6366f1 100%);
  display: inline-block;
}

/* Chips & Badges */
.da-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 3px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-primary);
  white-space: nowrap;
}
.da-chip--bull {
  color: #0a8456;
  background: rgba(10, 132, 86, 0.08);
  border-color: rgba(10, 132, 86, 0.28);
}
.da-chip--bear {
  color: #c8202f;
  background: rgba(200, 32, 47, 0.08);
  border-color: rgba(200, 32, 47, 0.28);
}
.da-chip--warn {
  color: #b86b00;
  background: rgba(184, 107, 0, 0.08);
  border-color: rgba(184, 107, 0, 0.28);
}
.da-chip--neutral {
  color: var(--text-muted);
  background: var(--bg-card);
  border-color: var(--border-subtle);
}
.da-chip--micro {
  font-size: 9.5px;
  padding: 2px 6px;
}

/* Sub-header rail navigation */
.da-rail-subnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 22px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}
.da-trending__nav {
  display: inline-flex;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.da-trending__nav-btn {
  width: 32px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 0;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 120ms ease;
}
.da-trending__nav-btn + .da-trending__nav-btn {
  border-left: 1px solid var(--border-subtle);
}
.da-trending__nav-btn:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

/* Horizontal Card Rail Viewport */
.da-trending__viewport {
  position: relative;
  overflow: hidden;
}
.da-trending__edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 44px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 150ms ease;
}
.da-trending__edge.is-active {
  opacity: 1;
}
.da-trending__edge--left {
  left: 0;
  background: linear-gradient(90deg, var(--bg-card) 0%, transparent 100%);
}
.da-trending__edge--right {
  right: 0;
  background: linear-gradient(270deg, var(--bg-card) 0%, transparent 100%);
}

.da-trending__rail {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.da-trending__rail::-webkit-scrollbar {
  display: none;
}

/* 6 Intel Panels */
.da-intel-card {
  flex: 0 0 350px;
  min-width: 350px;
  max-width: 350px;
  height: 350px;
  min-height: 350px;
  max-height: 350px;
  scroll-snap-align: start;
  border: 0;
  border-right: 1px solid var(--border-subtle);
  background: var(--bg-card);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  transition: height 200ms ease, min-height 200ms ease;
}
.da-intel-card:last-child {
  border-right: 0;
}
.da-intel-card--expanded {
  height: auto !important;
  min-height: 350px !important;
  max-height: none !important;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.14);
  z-index: 5;
}
.da-intel-card__top {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}
.da-intel-card--expanded .da-intel-card__top {
  overflow: visible !important;
}
.da-intel-card__scroll {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  margin-top: 8px;
  padding-right: 2px;
}
.da-intel-card__scroll::-webkit-scrollbar {
  display: none;
}
.da-intel-card--expanded .da-intel-card__scroll {
  overflow-y: visible !important;
  max-height: none !important;
}

.da-intel-card__kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  text-transform: uppercase;
}
.da-intel-card__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin: 4px 0 0;
  line-height: 1.3;
}
.da-expand-btn {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  transition: all 120ms ease;
  flex-shrink: 0;
}
.da-expand-btn:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.da-intel-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}
.da-intel-card__foot b {
  color: var(--text-primary);
  font-weight: 700;
}
.da-card-more-btn {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--accent-primary);
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  margin-left: 2px;
}
.da-card-more-btn:hover {
  text-decoration: underline;
}

/* Telemetry Card Inner Blocks */
.da-telemetry-box {
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}
.da-telemetry-sec {
  padding: 10px 12px;
}
.da-telemetry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.da-telemetry-sub {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
}
.da-meter-bar {
  height: 6px;
  width: 100%;
  border-radius: 999px;
  background: var(--border-subtle);
  overflow: hidden;
  margin-top: 8px;
}
.da-meter-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #3b5bdb 0%, #10b981 100%);
  transition: width 400ms ease;
}
.da-tape-bars {
  display: flex;
  gap: 3px;
  align-items: center;
  margin-top: 6px;
}
.da-tape-bar {
  flex: 1;
  height: 6px;
  border-radius: 2px;
  background: var(--border-subtle);
  transition: background 150ms ease;
}
.da-tape-bar.is-active {
  background: #f59e0b;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.45);
}

/* Bullet Points & Text Blocks */
.da-intel-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.da-intel-bullet {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.da-bullet-marker {
  color: var(--accent-primary);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
  flex-shrink: 0;
}
.da-intel-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}
.da-verdict-box {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-primary);
}
.da-intel-subtext {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}


/* ---------------------------------------------------------------------------
 * Section 6: Dispatches Wire Archive
 * --------------------------------------------------------------------------- */
.cxs-dispatches-section {
  margin: 48px 0 32px;
  padding-top: 36px;
  border-top: 1px solid var(--border-subtle);
}
.cxs-dispatches-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.cxs-stat-chip {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--accent-subtle);
  color: var(--accent-primary);
  border: 1px solid var(--accent-border);
}

/* ---------------------------------------------------------------------------
 * Combined Suite & Weekly Dispatch Section
 * --------------------------------------------------------------------------- */
.cxs-combined-suite-section,
.cxs-newsletter-section {
  margin: 48px 0 32px;
}
.cxs-combined-suite-card,
.cxs-newsletter-card {
  /* Inherits full .da-card styling */
}
.cxs-newsletter-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 38px 42px;
  gap: 36px;
  background: var(--bg-card);
}
@media (max-width: 860px) {
  .cxs-newsletter-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 26px 20px;
    gap: 22px;
  }
}
.cxs-newsletter-info {
  flex: 1.15;
}
.cxs-newsletter-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.cxs-newsletter-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  max-width: 540px;
}
.cxs-newsletter-action {
  flex: 1;
  border-left: 1px solid var(--border-subtle);
  padding-left: 36px;
}
@media (max-width: 860px) {
  .cxs-newsletter-action {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--border-subtle);
    padding-top: 20px;
  }
}
.cxs-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cxs-newsletter-inputs {
  display: flex;
  gap: 10px;
}
@media (max-width: 520px) {
  .cxs-newsletter-inputs {
    flex-direction: column;
  }
}
.cxs-newsletter-input {
  flex: 1;
  padding: 11px 16px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: var(--font-mono);
  background: var(--bg-secondary);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.cxs-newsletter-input:focus {
  border-color: var(--gt-primary);
  background: #ffffff;
}
.cxs-newsletter-submit {
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  background: #0a0f1f;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid #0a0f1f;
  cursor: pointer;
  transition: all 0.14s ease;
  white-space: nowrap;
}
.cxs-newsletter-submit:hover {
  background: #1e293b;
  border-color: #1e293b;
  transform: translateY(-1px);
}
.cxs-newsletter-subtext {
  font-size: 11px;
  color: var(--text-tertiary);
  margin: 0;
}

/* Utilities */
.cxs-muted { color: var(--text-tertiary); }
.cxs-prose-search mark { background: rgba(59, 91, 219, 0.18); padding: 1px 3px; border-radius: 4px; }

/* ==========================================================================
   Institutional Author Personas & Bio Card (Glass Terminal)
   ========================================================================== */
.cxs-author-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.02em;
  user-select: none;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.cxs-author-avatar--micro {
  width: 26px;
  height: 26px;
  font-size: 10px;
}
.cxs-author-avatar--lg {
  width: 60px;
  height: 60px;
  font-size: 19px;
  box-shadow: 0 4px 14px rgba(10, 15, 31, 0.12);
}

/* Deterministic gradients for authors */
.da-avatar--1 { background: linear-gradient(135deg, #3b5bdb, #6366f1); }
.da-avatar--2 { background: linear-gradient(135deg, #059669, #10b981); }
.da-avatar--3 { background: linear-gradient(135deg, #d97706, #f59e0b); }
.da-avatar--4 { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.da-avatar--5 { background: linear-gradient(135deg, #0284c7, #06b6d4); }
.da-avatar--6 { background: linear-gradient(135deg, #e11d48, #f43f5e); }

/* Byline in single.php (Clean inline byline, no card box) */
.cxs-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 16px;
  padding: 0;
  background: transparent;
  border: none;
  font-size: 13px;
  color: var(--text-secondary);
  flex-wrap: wrap;
}
.cxs-byline-details {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cxs-byline-author {
  font-size: 13.5px;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cxs-byline-role {
  font-size: 11px;
  color: var(--gt-primary);
  font-weight: 600;
  padding: 1px 7px;
  background: rgba(59, 91, 219, 0.08);
  border-radius: 4px;
}
.cxs-byline-sep {
  color: var(--border-medium);
  font-size: 11px;
}
.cxs-byline-meta {
  font-size: 12px;
  color: var(--text-tertiary);
}

/* Institutional Author Card at end of article */
.cxs-author-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 36px 0;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(10, 15, 31, 0.04);
}
.cxs-author-info {
  flex: 1;
}
.cxs-author-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.cxs-author-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}
.cxs-author-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(10, 15, 31, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  letter-spacing: 0.04em;
}
.cxs-author-role {
  font-size: 12px;
  color: var(--gt-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.cxs-author-sep {
  color: var(--text-tertiary);
}
.cxs-author-bio {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}
@media (max-width: 640px) {
  .cxs-author-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
  }
}


/* ==========================================================================
   DEDICATED NATIVE MOBILE WEB-APP — DEEP ALPHA INSTITUTIONAL EDITION (v1.1.0)
   Synchronized 100% with PC Glass Terminal & Deep Alpha Design System
   (.da-card, .da-kicker, .da-chip, .da-dot--live, .da-card__title-bar)
   ========================================================================== */

/* 1. Device Visibility Toggles */
@media (min-width: 769px) {
  .cxs-mobile-only,
  .cxs-mobile-feed,
  .cxs-mobile-dock,
  .cxs-bottom-sheet,
  .cxs-sheet-backdrop,
  .cxs-mobile-reading-progress {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .cxs-desktop-only,
  .cxs-desktop-feed,
  .cxs-share-rail,
  .cxs-article-header .cxs-share {
    display: none !important;
  }

  :root {
    --nav-height: 48px;
  }

  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--gt-surface-canvas) !important;
  }

  .cxs-main {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: calc(var(--nav-height) + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Ultra-Compact 48px Mobile Header (Deep Alpha Glass) */
  .cxs-header {
    height: calc(var(--nav-height) + env(safe-area-inset-top, 0px)) !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid var(--gt-outline-strong) !important;
  }
  .cxs-nav {
    padding: 0 12px !important;
    gap: 8px !important;
  }
  .cxs-brand {
    gap: 8px !important;
  }
  .cxs-brand-logo svg {
    width: 24px !important;
    height: 24px !important;
  }
  .cxs-brand-name {
    font-size: 14px !important;
  }
  .cxs-brand-sub {
    font-size: 7.5px !important;
    letter-spacing: 0.1em !important;
  }
  .cxs-nav-right {
    gap: 6px !important;
  }
  .cxs-search-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 6px !important;
  }
  .cxs-lang a {
    padding: 4px 6px !important;
    font-size: 10px !important;
  }
  .cxs-menu-toggle {
    width: 32px !important;
    height: 32px !important;
  }

  /* Mobile Search Sheet */
  .cxs-search-overlay {
    padding: calc(var(--nav-height) + 8px) 12px 16px !important;
    background: rgba(10, 15, 31, 0.55) !important;
  }
  .cxs-search-box {
    border-radius: 10px !important;
    box-shadow: 0 16px 40px rgba(10, 15, 31, 0.22) !important;
  }
  .cxs-search-header-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    border-bottom: 1px solid var(--border-subtle) !important;
  }
  .cxs-search-form-wrap {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: var(--bg-secondary) !important;
    border-radius: 6px !important;
    padding: 0 10px !important;
  }
  .cxs-search-icon-input {
    color: var(--text-tertiary) !important;
    flex-shrink: 0 !important;
  }
  .cxs-search-box input {
    padding: 9px 0 !important;
    font-size: 15px !important;
    background: transparent !important;
  }
  .cxs-search-cancel-btn {
    border: 0 !important;
    background: none !important;
    color: var(--gt-primary) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 6px 8px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
  }
  .cxs-search-quick-tags {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 10px 12px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    scrollbar-width: none !important;
  }
  .cxs-search-quick-tags::-webkit-scrollbar {
    display: none !important;
  }
  .cxs-quick-tag-label {
    font-size: 10px !important;
    font-weight: 700 !important;
    color: var(--text-tertiary) !important;
  }
  .cxs-quick-tag {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: var(--text-secondary) !important;
    background: var(--bg-secondary) !important;
    padding: 4px 9px !important;
    border-radius: 4px !important;
    border: 1px solid var(--border-subtle) !important;
  }
}

/* ==========================================================================
   2. DEEP ALPHA MOBILE FEED COMPONENTS (.cxs-m-*)
   ========================================================================== */

.cxs-m-feed {
  background: var(--gt-surface-canvas);
  min-height: 100vh;
}

/* 2.1. Deep Alpha Live Telemetry Ticker Tape */
.cxs-m-ticker {
  background: #ffffff;
  border-bottom: 1px solid var(--gt-outline);
  padding: 0 12px;
  height: 32px;
  display: flex;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.cxs-m-ticker::-webkit-scrollbar {
  display: none;
}
.cxs-m-ticker-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--gt-text-muted);
  letter-spacing: 0.02em;
}
.cxs-m-ticker-sep {
  color: var(--gt-surface-3);
  font-size: 10px;
}
.cxs-m-ticker-stat b {
  color: var(--gt-text);
  font-weight: 700;
}
.cxs-m-bull {
  color: var(--gt-bull);
  font-weight: 700;
}
.cxs-m-bear {
  color: var(--gt-bear);
  font-weight: 700;
}

/* 2.2. Sticky Topic Filter Pills (Glass Terminal Bar) */
.cxs-m-pills-bar {
  position: sticky;
  top: var(--nav-height);
  z-index: 35;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gt-outline-strong);
  padding: 8px 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.cxs-m-pills-bar::-webkit-scrollbar {
  display: none;
}
.cxs-m-pills-track {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.cxs-m-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  border-radius: 6px;
  background: var(--gt-surface-1);
  border: 1px solid var(--gt-outline);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--gt-text-muted);
  text-decoration: none;
  white-space: nowrap;
  min-height: 30px;
  transition: all 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.cxs-m-pill:active {
  transform: scale(0.96);
}
.cxs-m-pill.is-active {
  background: var(--gt-primary);
  color: #ffffff;
  border-color: var(--gt-primary);
  box-shadow: 0 2px 8px rgba(59, 91, 219, 0.25);
}

/* 2.3. Mobile Body Container & Card Spacing */
.cxs-m-body {
  padding: 12px 12px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cxs-m-section {
  width: 100%;
}
.cxs-m-card-head {
  padding: 10px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  background: var(--gt-surface-0) !important;
  border-bottom: 1px solid var(--gt-outline) !important;
}
.cxs-m-head-chips {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

/* 2.4. Lead Cover Dossier Card (.da-card) */
.cxs-m-dossier-card {
  overflow: hidden;
  border-radius: 10px !important;
}
.cxs-m-hero-cover-link {
  display: block;
  text-decoration: none;
}
.cxs-m-hero-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
  border-bottom: 1px solid var(--gt-outline);
}
.cxs-m-hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cxs-m-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  color: #94a3b8;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.cxs-m-cover-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(8px);
  color: var(--gt-text-strong) !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(10, 15, 31, 0.15);
}
.cxs-m-cover-time {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(10, 15, 31, 0.78) !important;
  backdrop-filter: blur(6px);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}
.cxs-m-hero-content {
  padding: 14px;
}
.cxs-m-hero-title {
  font-family: var(--gt-font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--gt-text-strong);
  margin: 0 0 8px;
}
.cxs-m-hero-title a {
  color: inherit;
  text-decoration: none;
}
.cxs-m-hero-title .da-card__title-bar {
  display: inline-block;
  width: 3.5px;
  height: 15px;
  background: var(--gt-primary);
  border-radius: 2px;
  margin-right: 7px;
  vertical-align: -2px;
}
.cxs-m-hero-excerpt {
  font-size: 13px;
  line-height: 1.5;
  color: var(--gt-text-muted);
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cxs-m-hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--gt-outline);
}
.cxs-m-author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gt-text-muted);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cxs-m-avatar-cx {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--gt-primary);
  color: #fff;
  font-size: 8.5px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cxs-m-dot-sep {
  color: var(--gt-surface-3);
}
.cxs-m-hero-btn {
  padding: 6px 11px !important;
  font-size: 11px !important;
  border-radius: 6px !important;
  flex-shrink: 0;
}

/* 2.5. Executive Intelligence & Telemetry Card (.cxs-m-synth-card) */
.cxs-m-synth-card {
  border-radius: 10px !important;
  overflow: hidden;
}
.cxs-m-synth-body {
  padding: 14px;
}
.cxs-m-synth-title {
  font-family: var(--gt-font-display);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.32;
  color: var(--gt-text-strong);
  margin: 0 0 6px;
}
.cxs-m-synth-title .da-card__title-bar {
  display: inline-block;
  width: 3.5px;
  height: 14px;
  background: var(--gt-primary);
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: -2px;
}
.cxs-m-synth-desc {
  font-size: 12.5px;
  line-height: 1.48;
  color: var(--gt-text-muted);
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cxs-m-telemetry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.cxs-m-telemetry-cell {
  background: var(--gt-surface-canvas);
  border: 1px solid var(--gt-outline);
  border-radius: 8px;
  padding: 9px 10px;
}
.cxs-m-telemetry-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--gt-text-dim);
  margin-bottom: 4px;
}
.cxs-m-telemetry-val {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
}
.cxs-m-telemetry-val strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--gt-text-strong);
}
.cxs-m-telemetry-val small {
  font-size: 10px;
  color: var(--gt-text-dim);
}
.cxs-m-telemetry-sub {
  font-size: 10px;
  color: var(--gt-text-muted);
}
.cxs-m-telemetry-sub b {
  color: var(--gt-primary);
}
.cxs-m-synth-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--gt-outline);
  font-size: 10px;
  color: var(--gt-text-dim);
  font-weight: 700;
}

/* 2.6. The Wire Stream Card (.cxs-m-wire-card) */
.cxs-m-wire-card {
  border-radius: 10px !important;
  overflow: hidden;
}
.cxs-m-wire-list {
  display: flex;
  flex-direction: column;
  padding: 0 14px;
}
.cxs-m-wire-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--gt-outline);
}
.cxs-m-wire-row:last-child {
  border-bottom: none;
}
.cxs-m-wire-text {
  flex: 1;
  min-width: 0;
}
.cxs-m-wire-meta-top {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}
.cxs-m-wire-time {
  font-size: 10px;
  color: var(--gt-text-dim);
  font-weight: 600;
}
.cxs-m-wire-headline {
  font-family: var(--gt-font-display);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -0.015em;
  color: var(--gt-text-strong);
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cxs-m-wire-headline a {
  color: inherit;
  text-decoration: none;
}
.cxs-m-wire-headline a:active {
  color: var(--gt-primary);
}
.cxs-m-wire-bar {
  display: inline-block !important;
  width: 3px !important;
  height: 12px !important;
  background: var(--gt-primary) !important;
  border-radius: 1.5px !important;
  margin-right: 5px !important;
  vertical-align: -1px !important;
}
.cxs-m-wire-meta-bottom {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--gt-text-dim);
}
.cxs-m-wire-author {
  font-weight: 600;
  color: var(--gt-text-muted);
}
.cxs-m-wire-sep {
  color: var(--gt-surface-3);
}
.cxs-m-wire-thumb-link {
  flex-shrink: 0;
  display: block;
  text-decoration: none;
}
.cxs-m-wire-thumb {
  width: 78px;
  height: 78px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--gt-surface-1);
  border: 1px solid var(--gt-outline);
  display: block;
}
.cxs-m-wire-thumb--placeholder {
  display: grid;
  place-items: center;
  color: var(--gt-text-dim);
  font-weight: 800;
  font-size: 13px;
}

/* 2.7. Structured Mastery Paths Carousel (.cxs-m-tracks-outer) */
.cxs-m-tracks-outer {
  border-radius: 10px !important;
  overflow: hidden;
}
.cxs-m-tracks-carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding: 14px;
}
.cxs-m-tracks-carousel::-webkit-scrollbar {
  display: none;
}
.cxs-m-track-card {
  flex: 0 0 76vw;
  max-width: 280px;
  scroll-snap-align: start;
  background: var(--gt-surface-canvas);
  border: 1px solid var(--gt-outline-strong);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cxs-m-track-name {
  font-family: var(--gt-font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--gt-text-strong);
  margin: 8px 0 6px;
  line-height: 1.3;
}
.cxs-m-track-name .da-card__title-bar {
  display: inline-block;
  width: 3px;
  height: 12px;
  background: var(--gt-primary);
  border-radius: 1.5px;
  margin-right: 5px;
  vertical-align: -1px;
}
.cxs-m-track-desc {
  font-size: 12px;
  color: var(--gt-text-muted);
  line-height: 1.45;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cxs-m-track-btn {
  display: inline-flex;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid var(--gt-outline);
}

/* 2.8. Deep Alpha Engine Card on Mobile */
.cxs-m-engine-card {
  border-radius: 10px !important;
  overflow: hidden;
}
.cxs-m-engine-body {
  padding: 12px;
}
.cxs-m-engine-body .cxs-trade-ticket {
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* 2.9. Clean Mobile Pagination */
.cxs-m-pagination {
  padding: 12px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-top: 1px solid var(--gt-outline) !important;
  background: var(--gt-surface-canvas) !important;
}
.cxs-m-page-btn {
  padding: 6px 12px !important;
  font-size: 11px !important;
  border-radius: 6px !important;
}
.cxs-m-page-indicator {
  font-size: 11px;
  font-weight: 700;
  color: var(--gt-text-muted);
}

/* ==========================================================================
   3. DEDICATED MOBILE ARTICLE READING EXPERIENCE (Deep Alpha Dossier)
   ========================================================================== */
@media (max-width: 768px) {
  .cxs-sidebar {
    display: none !important;
  }
  .cxs-article-main {
    padding: 10px 12px 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  .cxs-article-header {
    margin-bottom: 18px !important;
  }
  .cxs-dossier-topbar {
    padding: 7px 10px !important;
    margin-bottom: 12px !important;
    border-radius: 8px !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
  }
  .cxs-dossier-chips {
    flex-shrink: 0 !important;
    flex-wrap: nowrap !important;
  }
  .cxs-dossier-chips a.da-chip {
    display: none !important;
  }
  .cxs-breadcrumb {
    font-size: 10.5px !important;
    gap: 4px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
  .cxs-article-title {
    font-size: 23px !important;
    font-weight: 800 !important;
    line-height: 1.26 !important;
    letter-spacing: -0.025em !important;
    color: var(--gt-text-strong) !important;
    margin: 4px 0 12px !important;
  }
  .cxs-byline {
    padding: 10px 0 !important;
    border-top: 1px solid var(--gt-outline) !important;
    border-bottom: 1px solid var(--gt-outline) !important;
    margin-bottom: 14px !important;
    gap: 10px !important;
  }
  .cxs-featured-img {
    margin: 12px 0 18px !important;
    border-radius: 10px !important;
    border: 1px solid var(--gt-outline) !important;
    overflow: hidden !important;
  }

  /* Executive Brief Box (.da-card style — no colored left border) */
  .cxs-key-takeaways {
    margin-bottom: 22px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
  }
  .cxs-takeaways-body {
    padding: 12px 14px !important;
    background: #ffffff !important;
  }
  .cxs-takeaways-body p {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    color: var(--gt-text-strong) !important;
  }

  /* Series, Related & PrevNext Cards on Mobile */
  .cxs-m-card-head {
    flex-wrap: nowrap !important;
    padding: 9px 12px !important;
  }
  .cxs-m-card-head .da-kicker {
    font-size: 9.5px !important;
    letter-spacing: 0.08em !important;
    gap: 5px !important;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .cxs-series,
  .cxs-related {
    margin-top: 24px !important;
    border-radius: 10px !important;
  }
  .cxs-series-body {
    padding: 14px !important;
  }
  .cxs-series-item {
    padding: 9px 10px !important;
    font-size: 13px !important;
  }
  .cxs-series-foot {
    padding: 10px 14px !important;
  }
  .cxs-prevnext {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 20px !important;
  }
  .cxs-prevnext > span:empty {
    display: none !important;
  }

  /* Content Typography for Mobile */
  .cxs-content {
    font-size: 16.5px !important;
    line-height: 1.7 !important;
    color: #111827 !important;
  }
  .cxs-content p {
    margin-bottom: 1.4em !important;
  }
  .cxs-content h2 {
    font-size: 19.5px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    margin-top: 1.7em !important;
    margin-bottom: 0.6em !important;
  }
  .cxs-content h3 {
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin-top: 1.4em !important;
    margin-bottom: 0.5em !important;
  }
}

/* ==========================================================================
   4. FLOATING ISLAND READING PILL DOCK (Deep Alpha Glass Capsule)
   ========================================================================== */
.cxs-mobile-dock {
  position: fixed !important;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
  left: 14px !important;
  right: 14px !important;
  max-width: 420px !important;
  margin: 0 auto !important;
  z-index: 999 !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid var(--gt-outline-strong) !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 32px rgba(10, 15, 31, 0.14), 0 2px 6px rgba(10, 15, 31, 0.05) !important;
  padding: 5px 8px !important;
}
.cxs-dock-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 4px !important;
  width: 100% !important;
}
.cxs-dock-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  flex: 1 !important;
  min-height: 38px !important;
  padding: 4px 8px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--gt-text-muted) !important;
  cursor: pointer !important;
  border-radius: 999px !important;
  transition: all 0.15s ease !important;
  position: relative !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
}
.cxs-dock-btn:active {
  background: var(--gt-primary-subtle) !important;
  color: var(--gt-primary) !important;
  transform: scale(0.96) !important;
}
.cxs-dock-label {
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
}
.cxs-dock-badge {
  font-size: 9.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  background: var(--gt-primary) !important;
  padding: 1px 5px !important;
  border-radius: 999px !important;
  line-height: 1.1 !important;
}
.cxs-dock-font-icon {
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}
.cxs-dock-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  background: var(--gt-primary) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 7px 13px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(59, 91, 219, 0.35) !important;
  min-height: 34px !important;
  white-space: nowrap !important;
  -webkit-tap-highlight-color: transparent !important;
}
.cxs-dock-cta:active {
  transform: scale(0.96) !important;
  background: var(--gt-primary-hover) !important;
}

/* Reading Progress Line */
.cxs-mobile-reading-progress {
  position: fixed !important;
  top: var(--nav-height) !important;
  left: 0 !important;
  right: 0 !important;
  height: 2.5px !important;
  z-index: 1001 !important;
  pointer-events: none !important;
}
.cxs-mobile-reading-bar {
  display: block !important;
  width: 0% !important;
  height: 100% !important;
  background: linear-gradient(90deg, var(--gt-primary), #6366f1) !important;
  transition: width 0.1s linear !important;
}

/* ==========================================================================
   5. SLIDE-UP BOTTOM SHEET DRAWERS & BACKDROP
   ========================================================================== */
.cxs-sheet-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1090 !important;
  background: rgba(10, 15, 31, 0.45) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  opacity: 0 !important;
  transition: opacity 0.28s ease !important;
  pointer-events: none !important;
}
.cxs-sheet-backdrop.is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
}
body.cxs-sheet-locked {
  overflow: hidden !important;
}

.cxs-bottom-sheet {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1100 !important;
  max-height: 80vh !important;
  background: #ffffff !important;
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
  box-shadow: 0 -10px 40px rgba(10, 15, 31, 0.18) !important;
  border: 1px solid var(--border-medium) !important;
  border-bottom: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  transform: translateY(100%) !important;
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1) !important;
  padding-bottom: env(safe-area-inset-bottom, 16px) !important;
}
.cxs-bottom-sheet.is-open {
  transform: translateY(0) !important;
}
.cxs-sheet-handle-wrap {
  padding: 10px 0 4px !important;
  display: flex !important;
  justify-content: center !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent !important;
}
.cxs-sheet-handle {
  width: 36px !important;
  height: 4px !important;
  border-radius: 2px !important;
  background: var(--gt-surface-3) !important;
}
.cxs-sheet-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 18px 12px !important;
  border-bottom: 1px solid var(--border-subtle) !important;
}
.cxs-sheet-title h3 {
  font-size: 15px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  color: var(--gt-text) !important;
}
.cxs-sheet-progress-text {
  font-size: 11px !important;
  color: var(--gt-primary) !important;
  font-weight: 600 !important;
  margin-left: 6px !important;
}
.cxs-sheet-close {
  border: 0 !important;
  background: var(--bg-secondary) !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  font-size: 18px !important;
  color: var(--gt-text-muted) !important;
  cursor: pointer !important;
  line-height: 1 !important;
}
.cxs-sheet-body {
  padding: 12px 16px 20px !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  flex: 1 !important;
}
.cxs-sheet-toc-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 11px 12px !important;
  border-radius: var(--radius-md) !important;
  text-decoration: none !important;
  color: var(--gt-text) !important;
  font-size: 13.5px !important;
  line-height: 1.4 !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  min-height: 44px !important;
  transition: background 0.12s ease !important;
  -webkit-tap-highlight-color: transparent !important;
}
.cxs-sheet-toc-item--sub {
  padding-left: 26px !important;
  font-size: 12.5px !important;
  color: var(--gt-text-muted) !important;
}
.cxs-sheet-toc-item:active,
.cxs-sheet-toc-item.is-active {
  background: var(--gt-primary-subtle) !important;
  color: var(--gt-primary) !important;
  font-weight: 600 !important;
}
.cxs-toc-bullet {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: var(--gt-surface-3) !important;
  flex-shrink: 0 !important;
}
.cxs-sheet-toc-item.is-active .cxs-toc-bullet {
  background: var(--gt-primary) !important;
  box-shadow: 0 0 6px rgba(59, 91, 219, 0.5) !important;
}
.cxs-sheet-share-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  padding: 16px 16px 24px !important;
}
.cxs-share-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 16px 10px !important;
  border: 1px solid var(--border-medium) !important;
  border-radius: var(--radius-lg) !important;
  background: var(--bg-secondary) !important;
  color: var(--gt-text) !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  -webkit-tap-highlight-color: transparent !important;
}
.cxs-share-item:active {
  transform: scale(0.97) !important;
  border-color: var(--gt-primary) !important;
  color: var(--gt-primary) !important;
  background: #ffffff !important;
}
.cxs-share-icon {
  font-size: 20px !important;
  line-height: 1 !important;
}

/* Font Sizing Overrides */
html.cxs-font--lg .cxs-content {
  font-size: 18px !important;
  line-height: 1.74 !important;
}
html.cxs-font--xl .cxs-content {
  font-size: 20px !important;
  line-height: 1.78 !important;
}
