/* ══════════════════════════════════════════════════════════════════════════════
   ELIMINA PRECISION OS — ULTRA-FRONTIER CYBER-INDUSTRIAL DESIGN SYSTEM (SSOT)
   Standards: Linear.app Velocity, Vercel Pro Radiance, Raycast Cyber-Industrial,
   Brilliant 2-Phase Mastery, Karat Radar, Reforge Cryptographic Proof.
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── 1. DAYLIGHT EMERALD (Flagship Clean Default) ───────────────────────── */
:root, :root[data-theme="light"] {
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --serif: Charter, 'Iowan Old Style', 'Georgia', 'Cambria', serif;
  
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-elevated: #f1f5f9;
  --surface-hover: #e2e8f0;
  --card: #ffffff;
  --card-hi: #f1f5f9;
  --border: #cbd5e1;
  --border-focus: #059669;
  --text: #0f172a;
  --dim: #475569;
  --text-dim: #475569;
  --text-muted: #64748b;
  --accent: #059669;
  --accent-dim: #047857;
  --accent-glow: rgba(5, 150, 105, 0.16);
  --btn-text: #ffffff;
  --correct: #059669;
  --incorrect: #e11d48;
  --distractor-strike: #e11d48;
  --amber: #d97706;
  --spring-snappy: linear(0, 0.006, 0.025 2.8%, 0.101 6.1%, 0.539 18.9%, 0.721 25.3%, 0.849 31.5%, 0.937 38.1%, 0.968 41.8%, 0.991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 60.7%, 1.001 77.4%, 1);
  --spring-duration: 320ms;
}

/* Compact universal 15-theme control. */
.theme-picker{display:inline-flex;align-items:center;gap:.35rem;margin:.35rem .6rem;max-width:11rem}
.theme-toggle{display:inline-flex;align-items:center;gap:.2rem;height:2rem;padding:0 .42rem;border:1px solid var(--border);border-radius:6px;background:var(--card);color:var(--text);cursor:pointer;font:inherit;font-size:.9rem;line-height:1}
.theme-toggle:hover,.theme-toggle:focus-visible{border-color:var(--accent);color:var(--accent)}
.theme-chevron{font-size:.85rem;opacity:.75}
.theme-picker select{max-width:9.5rem;height:2rem;padding:0 .45rem;border:1px solid var(--border);border-radius:6px;background:var(--card);color:var(--text);font:inherit;font-size:.78rem}
.theme-swatch{width:.8rem;height:.8rem;flex:0 0 .8rem;border-radius:50%;background:var(--accent);box-shadow:0 0 0 2px var(--border)}

/* ── 2. DAYLIGHT MINIMAL ─────────────────────────────────────────────────── */
:root[data-theme="daylight"] {
  --bg: #f8f8fa;
  --surface: #ffffff;
  --surface-elevated: #f0f0f5;
  --surface-hover: #e5e5eb;
  --card: #ffffff;
  --card-hi: #f0f0f5;
  --border: #dcdce2;
  --border-focus: #2563eb;
  --text: #18181b;
  --dim: #52525b;
  --text-dim: #52525b;
  --text-muted: #71717a;
  --accent: #2563eb;
  --accent-dim: #1d4ed8;
  --accent-glow: rgba(37, 99, 235, 0.16);
  --btn-text: #ffffff;
  --correct: #16a34a;
  --incorrect: #dc2626;
  --distractor-strike: #dc2626;
  --distractor-bg: rgba(220, 38, 38, 0.08);
  --amber: #d97706;
}

/* ── 3. OXFORD CLEAN ─────────────────────────────────────────────────────── */
:root[data-theme="oxford"] {
  --bg: #f6f8fa;
  --surface: #ffffff;
  --surface-elevated: #eef1f5;
  --surface-hover: #e1e4e8;
  --card: #ffffff;
  --card-hi: #eef1f5;
  --border: #d1d5da;
  --border-focus: #0366d6;
  --text: #24292e;
  --dim: #586069;
  --text-dim: #586069;
  --text-muted: #6a737d;
  --accent: #0366d6;
  --accent-dim: #005cc5;
  --accent-glow: rgba(3, 102, 214, 0.16);
  --btn-text: #ffffff;
  --correct: #28a745;
  --incorrect: #cb2431;
  --distractor-strike: #cb2431;
  --distractor-bg: rgba(203, 36, 49, 0.08);
  --amber: #f66a0a;
}

/* ── 4. SOLAR AMBER ──────────────────────────────────────────────────────── */
:root[data-theme="amber"] {
  --bg: #fffbeb;
  --surface: #ffffff;
  --surface-elevated: #fef3c7;
  --surface-hover: #fde68a;
  --card: #ffffff;
  --card-hi: #fef3c7;
  --border: #fcd34d;
  --border-focus: #d97706;
  --text: #451a03;
  --dim: #78350f;
  --text-dim: #78350f;
  --text-muted: #92400e;
  --accent: #d97706;
  --accent-dim: #b45309;
  --accent-glow: rgba(217, 119, 6, 0.18);
  --btn-text: #ffffff;
  --correct: #15803d;
  --incorrect: #b91c1c;
  --distractor-strike: #b91c1c;
  --distractor-bg: rgba(185, 28, 28, 0.08);
  --amber: #d97706;
}

/* ── 5. WARM PARCHMENT (Sepia) ───────────────────────────────────────────── */
:root[data-theme="sepia"] {
  --bg: #f5f0e8;
  --surface: #faf7f2;
  --surface-elevated: #ede8de;
  --surface-hover: #e2dcd0;
  --card: #faf7f2;
  --card-hi: #ede8de;
  --border: #d8d0c2;
  --border-focus: #8c6d46;
  --text: #3c342a;
  --dim: #6d6254;
  --text-dim: #6d6254;
  --text-muted: #8a7e70;
  --accent: #8c6d46;
  --accent-dim: #705534;
  --accent-glow: rgba(140, 109, 70, 0.18);
  --btn-text: #ffffff;
  --correct: #2e7d32;
  --incorrect: #c62828;
  --distractor-strike: #c62828;
  --distractor-bg: rgba(198, 40, 40, 0.08);
  --amber: #b26a00;
}

/* ── 6. OBSIDIAN PRO (Pure Deep Pitch Dark) ──────────────────────────────── */
:root[data-theme="obsidian"] {
  --bg: #000000;
  --surface: #09090b;
  --surface-elevated: #141417;
  --surface-hover: #1c1c21;
  --card: #09090b;
  --card-hi: #141417;
  --border: #27272a;
  --border-focus: #22c55e;
  --text: #f4f4f5;
  --dim: #a1a1aa;
  --text-dim: #a1a1aa;
  --text-muted: #71717a;
  --accent: #22c55e;
  --accent-dim: #16a34a;
  --accent-glow: rgba(34, 197, 94, 0.2);
  --btn-text: #000000;
  --correct: #22c55e;
  --incorrect: #ef4444;
  --distractor-strike: #ef4444;
  --distractor-bg: rgba(239, 68, 68, 0.1);
  --amber: #f59e0b;
}

/* ── 7. AMOLED PURE ──────────────────────────────────────────────────────── */
:root[data-theme="amoled"] {
  --bg: #000000;
  --surface: #0a0a0a;
  --surface-elevated: #121212;
  --surface-hover: #1a1a1a;
  --card: #0a0a0a;
  --card-hi: #121212;
  --border: #222222;
  --border-focus: #ffffff;
  --text: #ffffff;
  --dim: #a0a0a0;
  --text-dim: #a0a0a0;
  --text-muted: #666666;
  --accent: #ffffff;
  --accent-dim: #cccccc;
  --accent-glow: rgba(255, 255, 255, 0.2);
  --btn-text: #000000;
  --correct: #00ff66;
  --incorrect: #ff3333;
  --distractor-strike: #ff3333;
  --distractor-bg: rgba(255, 51, 51, 0.1);
  --amber: #ffaa00;
}

/* ── 8. CYBERPUNK NEON MATRIX ────────────────────────────────────────────── */
:root[data-theme="cyberpunk_neon"] {
  --bg: #030712;
  --surface: #0b0f19;
  --surface-elevated: #111827;
  --surface-hover: #1f2937;
  --card: #0b0f19;
  --card-hi: #111827;
  --border: #1f2937;
  --border-focus: #00f0ff;
  --text: #f9fafb;
  --dim: #9ca3af;
  --text-dim: #9ca3af;
  --text-muted: #6b7280;
  --accent: #00f0ff;
  --accent-dim: #0891b2;
  --accent-glow: rgba(0, 240, 255, 0.22);
  --btn-text: #030712;
  --correct: #10b981;
  --incorrect: #f43f5e;
  --distractor-strike: #f43f5e;
  --distractor-bg: rgba(244, 63, 94, 0.1);
  --amber: #f59e0b;
}

/* ── 9. CYBERPUNK MATRIX ─────────────────────────────────────────────────── */
:root[data-theme="matrix"] {
  --bg: #0a160a;
  --surface: #0f1f0f;
  --surface-elevated: #152915;
  --surface-hover: #1c361c;
  --card: #0f1f0f;
  --card-hi: #152915;
  --border: #1d3d1d;
  --border-focus: #00ff41;
  --text: #d4ffd4;
  --dim: #72b372;
  --text-dim: #72b372;
  --text-muted: #4d804d;
  --accent: #00ff41;
  --accent-dim: #00cc33;
  --accent-glow: rgba(0, 255, 65, 0.25);
  --btn-text: #0a160a;
  --correct: #00ff41;
  --incorrect: #ff3b30;
  --distractor-strike: #ff3b30;
  --distractor-bg: rgba(255, 59, 48, 0.12);
  --amber: #ffcc00;
}

/* ── 10. DRACULA ROYALE ──────────────────────────────────────────────────── */
:root[data-theme="dracula"] {
  --bg: #1e1f29;
  --surface: #282a36;
  --surface-elevated: #343746;
  --surface-hover: #44475a;
  --card: #282a36;
  --card-hi: #343746;
  --border: #44475a;
  --border-focus: #bd93f9;
  --text: #f8f8f2;
  --dim: #bfbfbf;
  --text-dim: #bfbfbf;
  --text-muted: #6272a4;
  --accent: #50fa7b;
  --accent-dim: #8be9fd;
  --accent-glow: rgba(80, 250, 123, 0.22);
  --btn-text: #1e1f29;
  --correct: #50fa7b;
  --incorrect: #ff5555;
  --distractor-strike: #ff5555;
  --distractor-bg: rgba(255, 85, 85, 0.12);
  --amber: #ffb86c;
}

/* ── 11. TOKYO HYPERDARK PRO ─────────────────────────────────────────────── */
:root[data-theme="tokyo_hyperdark"] {
  --bg: #0a0c10;
  --surface: #10141d;
  --surface-elevated: #171d2a;
  --surface-hover: #1f2738;
  --card: #10141d;
  --card-hi: #171d2a;
  --border: #222b3d;
  --border-focus: #bb9af7;
  --text: #c0caf5;
  --dim: #7982a9;
  --text-dim: #7982a9;
  --text-muted: #565f89;
  --accent: #bb9af7;
  --accent-dim: #9d7cd8;
  --accent-glow: rgba(187, 154, 247, 0.24);
  --btn-text: #0a0c10;
  --correct: #9ece6a;
  --incorrect: #f7768e;
  --distractor-strike: #f7768e;
  --distractor-bg: rgba(247, 118, 142, 0.1);
  --amber: #e0af68;
}

/* ── 12. TOKYO NIGHT ─────────────────────────────────────────────────────── */
:root[data-theme="tokyo"] {
  --bg: #1a1b26;
  --surface: #24283b;
  --surface-elevated: #2f354f;
  --surface-hover: #3b4263;
  --card: #24283b;
  --card-hi: #2f354f;
  --border: #3b4261;
  --border-focus: #7aa2f7;
  --text: #a9b1d6;
  --dim: #787c99;
  --text-dim: #787c99;
  --text-muted: #565f89;
  --accent: #7aa2f7;
  --accent-dim: #5d82d4;
  --accent-glow: rgba(122, 162, 247, 0.22);
  --btn-text: #1a1b26;
  --correct: #9ece6a;
  --incorrect: #f7768e;
  --distractor-strike: #f7768e;
  --distractor-bg: rgba(247, 118, 142, 0.1);
  --amber: #e0af68;
}

/* ── 13. NORDIC SLATE ────────────────────────────────────────────────────── */
:root[data-theme="nordic"] {
  --bg: #2e3440;
  --surface: #3b4252;
  --surface-elevated: #434c5e;
  --surface-hover: #4c566a;
  --card: #3b4252;
  --card-hi: #434c5e;
  --border: #4c566a;
  --border-focus: #88c0d0;
  --text: #eceff4;
  --dim: #d8dee9;
  --text-dim: #d8dee9;
  --text-muted: #e5e9f0;
  --accent: #88c0d0;
  --accent-dim: #81a1c1;
  --accent-glow: rgba(136, 192, 208, 0.22);
  --btn-text: #2e3440;
  --correct: #a3be8c;
  --incorrect: #bf616a;
  --distractor-strike: #bf616a;
  --distractor-bg: rgba(191, 97, 106, 0.12);
  --amber: #ebcb8b;
}

/* ── 14. CATPPUCCIN MOCHA ────────────────────────────────────────────────── */
:root[data-theme="mocha"] {
  --bg: #1e1e2e;
  --surface: #313244;
  --surface-elevated: #45475a;
  --surface-hover: #585b70;
  --card: #313244;
  --card-hi: #45475a;
  --border: #45475a;
  --border-focus: #cba6f7;
  --text: #cdd6f4;
  --dim: #a6adc8;
  --text-dim: #a6adc8;
  --text-muted: #6c7086;
  --accent: #cba6f7;
  --accent-dim: #b4befe;
  --accent-glow: rgba(203, 166, 247, 0.22);
  --btn-text: #1e1e2e;
  --correct: #a6e3a1;
  --incorrect: #f38ba8;
  --distractor-strike: #f38ba8;
  --distractor-bg: rgba(243, 139, 168, 0.12);
  --amber: #f9e2af;
}

/* ── 15. SYNTHWAVE 84 CYBER ──────────────────────────────────────────────── */
:root[data-theme="synthwave_sunset"] {
  --bg: #0f081d;
  --surface: #170d2c;
  --surface-elevated: #221340;
  --surface-hover: #2e1a54;
  --card: #170d2c;
  --card-hi: #221340;
  --border: #3b1f6d;
  --border-focus: #ff7edb;
  --text: #fdfdfd;
  --dim: #c4b5fd;
  --text-dim: #c4b5fd;
  --text-muted: #8b5cf6;
  --accent: #ff7edb;
  --accent-dim: #d946ef;
  --accent-glow: rgba(255, 126, 219, 0.28);
  --btn-text: #0f081d;
  --correct: #38bdf8;
  --incorrect: #fb7185;
  --distractor-strike: #fb7185;
  --distractor-bg: rgba(251, 113, 133, 0.12);
  --amber: #fbbf24;
}

/* ══════════════════════════════════════════════════════════════════════════
   FRONTIER COMPONENT ATOMS & ULTRA-SEXY MICRO-INTERACTIONS
   ══════════════════════════════════════════════════════════════════════════ */

* { box-sizing: border-box; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  transition: background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle Cyber Ambient Grid Overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* Glassmorphism & Radiance Depth */
.glass-panel, .card, .price-card, .authority-card, .job-card {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03) inset !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  z-index: 1;
}

.card:hover, .job-card:hover, .price-card:hover {
  border-color: var(--border-focus) !important;
  transform: translateY(-2px) scale(1.003) !important;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), 0 0 24px var(--accent-glow) !important;
}

/* Radiance Gradient Headline — Adaptive to Theme Contrast */
.gradient-text, .hero-title {
  background: linear-gradient(135deg, var(--text) 30%, var(--accent) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
}

/* Frontier Neon Badges & Pills */
.badge, .frontier-badge, .brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  transition: all 0.15s ease;
}

/* Cyber Velocity Buttons (Linear/Vercel standard >=44px touch) */
.btn, .btn-primary, .btn-secondary, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface-elevated);
  color: var(--text);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background: var(--surface-hover);
  border-color: var(--border-focus);
  box-shadow: 0 0 16px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent) !important;
  color: var(--btn-text) !important;
  border-color: var(--accent) !important;
  font-weight: 700 !important;
  box-shadow: 0 0 20px var(--accent-glow) !important;
}

.btn-primary:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 30px var(--accent-glow) !important;
  transform: translateY(-1px);
}

/* 2-Phase Distractor Option Rows (Brilliant Precision) */
.option-row, .option, button.option {
  min-height: 46px !important;
  padding: 10px 16px !important;
  border-radius: 10px !important;
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  font-weight: 500 !important;
  transition: all 0.15s ease !important;
  display: flex !important;
  align-items: center !important;
  cursor: pointer !important;
}

.option-row:hover, .option:hover {
  background: var(--surface-hover) !important;
  border-color: var(--border-focus) !important;
  box-shadow: 0 0 14px var(--accent-glow) !important;
}

.option-row.selected, .option.active {
  border-color: var(--accent) !important;
  background: var(--surface-elevated) !important;
  box-shadow: 0 0 20px var(--accent-glow), 0 0 0 1px var(--accent) inset !important;
  color: var(--text) !important;
  font-weight: 700 !important;
}

.option-row.eliminated, .option.eliminated {
  opacity: 0.35 !important;
  text-decoration: line-through !important;
  border-color: var(--border) !important;
  background: transparent !important;
}

/* Sub-5ms Shimmer Telemetry Animation */
.shimmer {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-elevated) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ══════════════════════════════════════════════════════════════════════════
   MOBILE TYPOGRAPHY & TOUCH TARGET ENHANCEMENTS (>=16px base on mobile)
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  html, body {
    font-size: 16px !important;
    line-height: 1.6 !important;
    font-weight: 450 !important; /* Richer stroke weight on high-DPI OLED screens */
    -webkit-font-smoothing: auto !important; /* Disables subpixel thinning on mobile OLEDs */
  }

  p, .hero-desc, .course-desc, .card p, .job-card p {
    font-size: 1.05rem !important; /* ~17px readable body copy on mobile */
    font-weight: 450 !important;
    line-height: 1.65 !important;
  }

  .hero-title, h1 {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin-bottom: 14px !important;
  }

  h2 {
    font-size: 1.45rem !important;
    font-weight: 700 !important;
  }

  h3 {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
  }

  /* Make options and interactive cards bigger, bolder, and easier to tap */
  .option-row, .option, button.option {
    min-height: 52px !important;
    font-size: 1.05rem !important;
    font-weight: 550 !important;
    padding: 12px 18px !important;
  }

  .btn, .btn-primary, .btn-secondary, button.btn {
    min-height: 48px !important;
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    padding: 0 20px !important;
  }

  .badge, .frontier-badge, .brand-pill {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    padding: 5px 12px !important;
  }

  input, select, textarea {
    font-size: 16px !important;
    font-weight: 500 !important;
    min-height: 48px !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   GLOBAL VIEWPORT & ZERO-HORIZONTAL-OVERFLOW HARD INVARIANT
   ══════════════════════════════════════════════════════════════════════════ */
html, body {
  max-width: 100vw !important;
  overflow-x: hidden !important;
  position: relative;
}

/* Ensure containers and grids match 100% width on mobile screens */
@media (max-width: 768px) {
  .container, .wrap, .global-nav-inner, .footer-container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  /* Prevent elements from exceeding viewport bounds */
  * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   MOBILE UNIFORM-WIDTH FIX FOR DOMAINS, CAREEROPS & MIDDLE SECTIONS
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Enforce exact 100% width on all middle cards & grids */
  .showcase-grid,
  .sidebar-stack,
  .catalog-section,
  #feature-matrix,
  .card-shell,
  .authority-card,
  #career,
  #matrix-grid,
  #courseCatalogGrid {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Domain pills bar: scroll cleanly without expanding page width */
  .domain-pills-bar, .course-bar, .matrix-filters {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  .domain-pills-bar::-webkit-scrollbar,
  .course-bar::-webkit-scrollbar,
  .matrix-filters::-webkit-scrollbar {
    display: none !important;
  }

  /* CareerOps & Radar Bars: Full container width */
  .radar-bar {
    width: 100% !important;
    margin-bottom: 14px !important;
  }
  .progress-track {
    width: 100% !important;
  }

  /* Filter inputs: full width on mobile */
  #courseSearchInput {
    width: 100% !important;
    min-width: 0 !important;
    margin-top: 10px !important;
  }

  /* Passport badge & rate cards: wrap vertically */
  .passport-badge {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
  }
  .passport-badge button {
    width: 100% !important;
  }
}
