/* LatenZero — Modern Institutional Fintech Design System
 * Typography: Plus Jakarta Sans + JetBrains Mono
 * Modes: Refined Obsidian Dark (default) & Crisp Studio Light
 */

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Obsidian Dark Palette */
  --bg-canvas: #090b10;
  --bg-surface: #0f1219;
  --bg-elevated: #151923;
  --bg-subtle: #1b202d;
  --bg-hover: rgba(255, 255, 255, 0.04);

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-default: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 255, 255, 0.18);

  --text-primary: #f3f5f9;
  --text-secondary: #98a2b3;
  --text-muted: #667085;

  --accent: #6366f1;
  --accent-hover: #7477f6;
  --accent-soft: rgba(99, 102, 241, 0.14);
  --cyan: #06b6d4;
  --purple: #a855f7;

  --green: #10b981;
  --green-soft: rgba(16, 185, 129, 0.14);
  --red: #f43f5e;
  --red-soft: rgba(244, 63, 94, 0.14);
  --amber: #f59e0b;
  --amber-soft: rgba(245, 158, 11, 0.14);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.55);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --sidebar-w: 248px;
  --sidebar-collapsed-w: 70px;
  --topbar-h: 64px;
}

[data-theme="light"] {
  --bg-canvas: #f6f7fb;
  --bg-surface: #ffffff;
  --bg-elevated: #ffffff;
  --bg-subtle: #f1f3f8;
  --bg-hover: rgba(15, 23, 42, 0.04);

  --border-subtle: rgba(15, 23, 42, 0.07);
  --border-default: rgba(15, 23, 42, 0.12);
  --border-strong: rgba(15, 23, 42, 0.2);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-soft: rgba(79, 70, 229, 0.1);
  --cyan: #0891b2;
  --purple: #7c3aed;

  --green: #059669;
  --green-soft: rgba(5, 150, 105, 0.11);
  --red: #e11d48;
  --red-soft: rgba(225, 29, 72, 0.1);
  --amber: #d97706;
  --amber-soft: rgba(217, 119, 6, 0.12);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  background: var(--bg-canvas);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-amber { color: var(--amber); }
.text-accent { color: var(--accent); }
.text-cyan { color: var(--cyan); }
.text-purple { color: var(--purple); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.hidden { display: none !important; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-default); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-strong); }

/* =========================================================
   ADMIN LOGIN SCREEN (NO LANDING PAGE — DIRECT GATE)
   ========================================================= */
.auth-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(640px 420px at 50% -8%, rgba(99, 102, 241, 0.14), transparent 70%),
    radial-gradient(480px 340px at 88% 92%, rgba(16, 185, 129, 0.08), transparent 72%),
    var(--bg-canvas);
}

.auth-theme-btn {
  position: fixed;
  top: 20px;
  right: 20px;
}

.auth-card {
  width: 100%;
  max-width: 404px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 20px;
  padding: 36px 32px 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), #06b6d4);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);
}

.brand-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.auth-heading {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.auth-desc {
  margin: 0 0 24px;
  color: var(--text-secondary);
  font-size: 13px;
}

.auth-error {
  background: var(--red-soft);
  border: 1px solid rgba(244, 63, 94, 0.28);
  color: var(--red);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 500;
  margin-bottom: 16px;
}

.auth-footer-meta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-muted);
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}
.status-dot.paused {
  background: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-soft);
}
.status-dot.danger {
  background: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}

/* =========================================================
   FORMS & CONTROLS
   ========================================================= */
.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-default);
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

input:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.input-wrap input {
  padding-right: 40px;
}

.eye-btn {
  position: absolute;
  right: 8px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: grid;
  place-items: center;
  border-radius: 6px;
}
.eye-btn:hover { color: var(--text-primary); }

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-secondary);
  margin: 12px 0 20px;
  cursor: pointer;
  user-select: none;
}

.checkbox-row input {
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); }

.btn-success {
  background: var(--green);
  color: #fff;
}
.btn-success:hover:not(:disabled) { filter: brightness(1.06); }

.btn-danger {
  background: var(--red-soft);
  color: var(--red);
  border-color: rgba(244, 63, 94, 0.25);
}
.btn-danger:hover:not(:disabled) {
  background: var(--red);
  color: #fff;
}

.btn-ghost {
  background: var(--bg-subtle);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}
.btn-ghost:hover:not(:disabled) {
  border-color: var(--border-default);
  background: var(--bg-elevated);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  flex-shrink: 0;
  cursor: pointer;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all 0.15s ease;
}
.btn-icon svg {
  display: block;
  flex-shrink: 0;
}
.btn-icon:hover { color: var(--text-primary); border-color: var(--border-default); }

.btn-sm { height: 31px; padding: 0 10px; font-size: 12px; }
.btn-block { width: 100%; height: 42px; }

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  flex-shrink: 0;
}
.switch input { opacity: 0; width: 0; height: 0; }
.switch-track {
  position: absolute;
  inset: 0;
  background: var(--bg-subtle);
  border: 1px solid var(--border-default);
  border-radius: 99px;
  cursor: pointer;
  transition: 0.18s ease;
}
.switch-track::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  background: var(--text-secondary);
  transition: 0.18s ease;
}
.switch input:checked + .switch-track {
  background: var(--accent);
  border-color: var(--accent);
}
.switch input:checked + .switch-track::after {
  transform: translateX(16px);
  background: #fff;
}

/* =========================================================
   DASHBOARD APP SHELL
   ========================================================= */
.app-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--bg-surface);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 40;
  transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1), transform 0.22s ease;
}

/* Desktop Floating Collapse / Expand Seam Button */
.sidebar-collapse-btn {
  position: absolute;
  top: 19px;
  right: -13px;
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 45;
  box-shadow: var(--shadow-sm);
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.16s ease;
}
.sidebar-collapse-btn svg {
  display: block;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.sidebar-collapse-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.38);
}

.sidebar-header {
  height: var(--topbar-h);
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  transition: padding 0.24s ease;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.sidebar-brand .brand-mark { width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; }
.sidebar-brand .brand-title { font-size: 16px; }
.sidebar-brand-text {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  transition: opacity 0.2s ease, max-width 0.26s ease;
  max-width: 160px;
}

.engine-pill-box {
  padding: 14px 14px 10px;
  transition: padding 0.24s ease;
}

.engine-status-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 11px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: padding 0.22s ease, justify-content 0.22s ease;
}

.engine-status-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-list {
  padding: 6px 12px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-section-title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 10px 4px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background 0.16s ease, color 0.16s ease, padding 0.24s ease, transform 0.18s ease;
}

.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.16s ease;
}
.nav-icon svg { display: block; }

.nav-flyout {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.nav-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-item:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.nav-item.active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.nav-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  flex-shrink: 0;
}

.sidebar-footer {
  padding: 12px 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: padding 0.22s ease;
}

.admin-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.admin-avatar {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.admin-name {
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-role {
  font-size: 11px;
  color: var(--text-muted);
}

/* Main Workspace Area */
.main-area {
  flex: 1;
  margin-left: var(--sidebar-w);
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition: margin-left 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   COLLAPSED ICON-RAIL SIDEBAR + SPRING HOVER FLYOUT ANIMATION
   ========================================================= */
@media (min-width: 861px) {
  .app-shell.sidebar-collapsed .sidebar {
    width: var(--sidebar-collapsed-w);
  }
  .app-shell.sidebar-collapsed .main-area {
    margin-left: var(--sidebar-collapsed-w);
  }
  .app-shell.sidebar-collapsed .content {
    max-width: 100%;
  }
  .app-shell.sidebar-collapsed .sidebar-collapse-btn svg {
    transform: rotate(180deg);
  }
  .app-shell.sidebar-collapsed .sidebar-header {
    padding: 0;
    justify-content: center;
  }
  .app-shell.sidebar-collapsed .sidebar-brand {
    gap: 0;
    justify-content: center;
  }
  .app-shell.sidebar-collapsed .sidebar-brand-text {
    opacity: 0;
    max-width: 0;
    pointer-events: none;
  }
  .app-shell.sidebar-collapsed .engine-pill-box {
    padding: 10px 8px;
  }
  .app-shell.sidebar-collapsed .engine-status-card {
    padding: 8px 4px;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
  }
  .app-shell.sidebar-collapsed .engine-status-text {
    display: none;
  }
  .app-shell.sidebar-collapsed .nav-list {
    padding: 6px 10px;
    overflow: visible;
    gap: 5px;
  }
  .app-shell.sidebar-collapsed .nav-section-title {
    font-size: 0;
    line-height: 0;
    height: 1px;
    padding: 0;
    margin: 7px 8px;
    background: var(--border-subtle);
    overflow: hidden;
  }
  .app-shell.sidebar-collapsed .nav-item {
    justify-content: center;
    padding: 10px 0;
    gap: 0;
    border-radius: 10px;
  }
  .app-shell.sidebar-collapsed .nav-item.active::after {
    content: "";
    position: absolute;
    left: -10px;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
  }
  .app-shell.sidebar-collapsed .nav-item:hover .nav-icon {
    transform: scale(1.16);
    color: var(--accent);
  }

  /* Animated Glassmorphic Section Flyout on Icon Hover */
  .app-shell.sidebar-collapsed .nav-flyout {
    position: absolute;
    left: calc(100% + 14px);
    top: 50%;
    flex: 0 0 auto;
    z-index: 60;
    padding: 8px 13px;
    border-radius: 10px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(99, 102, 241, 0.18);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    filter: blur(4px);
    transform: translateY(-50%) translateX(-10px) scale(0.92);
    transition:
      opacity 0.18s ease,
      transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
      filter 0.18s ease;
  }
  .app-shell.sidebar-collapsed .nav-flyout::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 50%;
    width: 10px;
    height: 10px;
    background: var(--bg-elevated);
    border-left: 1px solid var(--border-strong);
    border-bottom: 1px solid var(--border-strong);
    transform: translateY(-50%) rotate(45deg);
  }
  .app-shell.sidebar-collapsed .nav-item:hover .nav-flyout,
  .app-shell.sidebar-collapsed .nav-item:focus-visible .nav-flyout {
    opacity: 1;
    filter: blur(0);
    transform: translateY(-50%) translateX(0) scale(1);
  }
  .app-shell.sidebar-collapsed .nav-item.active .nav-flyout {
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(99, 102, 241, 0.38);
  }
  .app-shell.sidebar-collapsed .nav-item.active .nav-flyout::before {
    border-left-color: var(--accent);
    border-bottom-color: var(--accent);
  }
  .app-shell.sidebar-collapsed .nav-flyout .nav-badge {
    margin-left: 4px;
  }

  .app-shell.sidebar-collapsed .sidebar-footer {
    flex-direction: column;
    padding: 10px 8px;
    gap: 8px;
  }
  .app-shell.sidebar-collapsed .admin-chip-text {
    display: none;
  }
}

.topbar {
  min-height: var(--topbar-h);
  padding: 0 22px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 25;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}

.mobile-menu-btn { display: none; }

.page-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  white-space: nowrap;
}

.live-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Integrated Navbar Infinite Slow-Scrolling Assets Marquee */
.topbar-ticker-wrap {
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 22px, #000 calc(100% - 22px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 22px, #000 calc(100% - 22px), transparent);
}

.ticker-strip {
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.ticker-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: lzTickerScroll var(--ticker-duration, 36s) linear infinite;
}

.topbar-ticker-wrap:hover .ticker-marquee-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 8px;
  flex-shrink: 0;
}

@keyframes lzTickerScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.ticker-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 12px;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.14s ease, background 0.14s ease;
}
.ticker-pill:hover {
  border-color: var(--accent);
  background: var(--bg-elevated);
}
.ticker-pill.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.ticker-sym {
  font-weight: 700;
  color: var(--text-primary);
}
.ticker-price {
  font-weight: 600;
  color: var(--text-primary);
}
.ticker-pill .text-green { color: var(--green); }
.ticker-pill .text-red { color: var(--red); }

/* Content Viewport */
.content {
  padding: 22px 24px 36px;
  max-width: 1520px;
  width: 100%;
  margin: 0 auto;
}

