/* ═══════════════════════════════════════════════════════════════════════════
   AI Agent Context Compression Layer — Global Styles
   "Mission Control" aesthetic: dark, data-dense, immediately trustworthy
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg:        #0A0E1A;
  --surface:   #131829;
  --surface2:  #1A2035;
  --border:    #1E2640;
  --border2:   #2A3356;
  --primary:   #6366F1;
  --primary-glow: rgba(99,102,241,0.3);
  --accent:    #22D3EE;
  --accent-glow: rgba(34,211,238,0.2);
  --success:   #10B981;
  --warning:   #F59E0B;
  --danger:    #EF4444;
  --text:      #F1F5F9;
  --text-muted:#94A3B8;
  --text-dim:  #64748B;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-body: 'Inter', -apple-system, sans-serif;
  --radius:    10px;
  --radius-lg: 16px;
  --shadow:    0 4px 24px rgba(0,0,0,0.4);
  --glow:      0 0 30px var(--primary-glow);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── Scrollbar ─────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1400px; }

/* ─── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,14,26,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-weight: 700; font-size: 1rem;
  color: var(--text); text-decoration: none;
}
.nav__logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.nav__links { display: flex; align-items: center; gap: 8px; }
.nav__link {
  font-size: 0.875rem; color: var(--text-muted); text-decoration: none;
  padding: 6px 12px; border-radius: 6px; transition: all 0.15s;
}
.nav__link:hover { color: var(--text); background: var(--surface); }
.nav__link--active { color: var(--accent); }
.nav__cta {
  background: var(--primary); color: #fff; font-size: 0.875rem;
  font-weight: 600; padding: 8px 18px; border-radius: 8px;
  text-decoration: none; transition: all 0.15s; border: none; cursor: pointer;
}
.nav__cta:hover { background: #5254CC; box-shadow: var(--glow); transform: translateY(-1px); }

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 24px 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 50% -100px, var(--primary-glow), transparent),
    radial-gradient(ellipse 400px 400px at 80% 60%, var(--accent-glow), transparent);
  pointer-events: none;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: 100px; padding: 6px 14px;
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent);
  margin-bottom: 24px;
  animation: fadeInUp 0.4s ease-out;
}
.hero__badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: pulse 2s infinite;
}
.hero__h1 {
  font-family: var(--font-mono); font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.03em;
  margin-bottom: 24px; max-width: 800px;
  animation: fadeInUp 0.5s ease-out 0.1s both;
}
.hero__h1 span { color: var(--primary); }
.hero__sub {
  font-size: 1.125rem; color: var(--text-muted); max-width: 580px;
  margin-bottom: 40px; line-height: 1.7;
  animation: fadeInUp 0.5s ease-out 0.2s both;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; animation: fadeInUp 0.5s ease-out 0.3s both; }
.hero__metrics {
  display: flex; gap: 40px; margin-top: 60px;
  animation: fadeInUp 0.5s ease-out 0.4s both;
}
.hero__metric-value {
  font-family: var(--font-mono); font-size: 2rem; font-weight: 700; color: var(--accent);
}
.hero__metric-label { font-size: 0.8rem; color: var(--text-dim); margin-top: 4px; }

/* ─── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px; font-size: 0.95rem;
  font-weight: 600; text-decoration: none; border: none; cursor: pointer;
  transition: all 0.15s; font-family: var(--font-body);
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: #5254CC; box-shadow: var(--glow); transform: translateY(-1px); }
.btn--secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border2); }
.btn--secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn--ghost { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.btn--ghost:hover { color: var(--text); border-color: var(--border2); background: var(--surface); }
.btn--sm { padding: 8px 16px; font-size: 0.85rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ─── Section ──────────────────────────────────────────────────────────── */
.section { padding: 100px 24px; }
.section__header { text-align: center; margin-bottom: 64px; }
.section__tag {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--primary);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px;
}
.section__title {
  font-family: var(--font-mono); font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700; margin-bottom: 16px; letter-spacing: -0.02em;
}
.section__sub { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ─── How It Works ──────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; position: relative; transition: all 0.2s;
}
.step:hover { border-color: var(--border2); transform: translateY(-2px); }
.step__num {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--primary);
  letter-spacing: 0.1em; margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.step__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--surface2); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 20px;
}
.step__title { font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; }
.step__desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.step__connector {
  position: absolute; top: 50%; right: -24px;
  width: 24px; height: 2px; background: var(--border2);
}
.step:last-child .step__connector { display: none; }

/* ─── Demo ─────────────────────────────────────────────────────────────── */
.demo-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.demo-input { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px; }
.demo-input textarea {
  width: 100%; min-height: 320px; background: transparent; border: none;
  color: var(--text); font-family: var(--font-mono); font-size: 0.8rem;
  padding: 16px; resize: vertical; outline: none; line-height: 1.6;
}
.demo-output { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.demo-output-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  background: var(--surface2);
}
.demo-output-header-title {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-dim);
  letter-spacing: 0.05em;
}
.demo-output-body { padding: 16px; min-height: 320px; font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.6; white-space: pre-wrap; overflow-y: auto; max-height: 400px; }
.demo-output-empty { color: var(--text-dim); font-style: italic; }
.demo-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.demo-select {
  background: var(--surface); border: 1px solid var(--border2); border-radius: 8px;
  color: var(--text); font-family: var(--font-mono); font-size: 0.85rem;
  padding: 10px 14px; outline: none; cursor: pointer;
}
.demo-stats { display: flex; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.demo-stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 16px; display: flex; align-items: center; gap: 8px;
}
.demo-stat__val { font-family: var(--font-mono); font-weight: 700; color: var(--accent); font-size: 1.1rem; }
.demo-stat__label { font-size: 0.8rem; color: var(--text-dim); }

/* ─── Sacred Fact Highlight ──────────────────────────────────────────────── */
.sf-tag {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(34,211,238,0.15); color: var(--accent);
  border: 1px solid rgba(34,211,238,0.3); border-radius: 100px;
  padding: 1px 8px; font-size: 0.75rem; font-family: var(--font-mono);
}
.sf-preserved { color: var(--success); }
.sf-dropped { color: var(--danger); text-decoration: line-through; }

/* ─── Pricing ────────────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.pricing-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; position: relative; transition: all 0.2s;
}
.pricing-card--featured { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--glow); }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pricing-card__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: 0.7rem; font-weight: 700;
  padding: 4px 14px; border-radius: 100px; letter-spacing: 0.05em;
  font-family: var(--font-mono);
}
.pricing-card__name { font-family: var(--font-mono); font-size: 0.9rem; color: var(--text-muted); margin-bottom: 8px; }
.pricing-card__price { font-family: var(--font-mono); font-size: 2.5rem; font-weight: 700; margin-bottom: 4px; }
.pricing-card__price span { font-size: 1rem; color: var(--text-dim); font-weight: 400; }
.pricing-card__desc { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 24px; min-height: 40px; }
.pricing-card__features { list-style: none; margin-bottom: 28px; }
.pricing-card__feature { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; font-size: 0.9rem; color: var(--text-muted); }
.pricing-card__check { color: var(--success); flex-shrink: 0; margin-top: 2px; }

/* ─── SDK Quickstart ───────────────────────────────────────────────────── */
.code-block {
  background: #0D1117; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; overflow-x: auto; max-width: 800px; margin: 0 auto;
}
.code-block pre { font-family: var(--font-mono); font-size: 0.85rem; line-height: 1.7; color: #E6EDF3; }
.code-block .k { color: #FF7B72; }  /* keyword */
.code-block .s { color: #A5D6FF; }  /* string */
.code-block .c { color: #8B949E; }  /* comment */
.code-block .f { color: #D2A8FF; }  /* function */
.code-block .n { color: #79C0FF; }  /* number */
.code-block .p { color: #E6EDF3; }  /* punctuation */

/* ─── Dashboard ─────────────────────────────────────────────────────────── */
.dash-body { padding-top: 60px; min-height: 100vh; background: var(--bg); }
.dash-header {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 16px 24px; display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 60px; z-index: 50;
}
.dash-header__title { font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-muted); }
.dash-header__status { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-dim); }
.dash-status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--success);
  animation: pulse 2s infinite;
}
.dash-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding: 24px;
}
.kpi-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 24px; transition: all 0.15s;
}
.kpi-card:hover { border-color: var(--border2); }
.kpi-card__label { font-size: 0.75rem; color: var(--text-dim); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.kpi-card__value { font-family: var(--font-mono); font-size: 2rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.kpi-card__value--accent { color: var(--accent); }
.kpi-card__value--success { color: var(--success); }
.kpi-card__trend { font-size: 0.8rem; color: var(--text-dim); display: flex; align-items: center; gap: 4px; }
.kpi-card__trend--up { color: var(--success); }
.kpi-card__trend--down { color: var(--danger); }
.kpi-card__sparkline { height: 40px; margin-top: 12px; }
.kpi-card__gauge { margin-top: 8px; }

.gauge {
  height: 6px; background: var(--border); border-radius: 3px; overflow: hidden;
}
.gauge__fill {
  height: 100%; border-radius: 3px; transition: width 0.6s ease-out;
}
.gauge__fill--green { background: linear-gradient(90deg, #10B981, #34D399); }
.gauge__fill--amber { background: linear-gradient(90deg, #F59E0B, #FBBF24); }
.gauge__fill--red { background: linear-gradient(90deg, #EF4444, #F87171); }

.retention-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 100px; font-family: var(--font-mono);
  font-size: 0.75rem; font-weight: 700;
}
.retention-badge--high { background: rgba(16,185,129,0.15); color: var(--success); border: 1px solid rgba(16,185,129,0.3); }
.retention-badge--med { background: rgba(245,158,11,0.15); color: var(--warning); border: 1px solid rgba(245,158,11,0.3); }
.retention-badge--low { background: rgba(239,68,68,0.15); color: var(--danger); border: 1px solid rgba(239,68,68,0.3); }

/* ─── Dashboard Charts ───────────────────────────────────────────────────── */
.dash-main { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; padding: 0 24px 24px; }
.dash-panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.dash-panel__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.dash-panel__title { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.dash-panel__body { padding: 20px; }
.dash-panel__body--flush { padding: 0; }

/* ─── Event Table ────────────────────────────────────────────────────────── */
.event-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.event-table th {
  text-align: left; padding: 10px 16px; color: var(--text-dim);
  font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.08em; border-bottom: 1px solid var(--border);
}
.event-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.event-table tr:last-child td { border-bottom: none; }
.event-table tr:hover td { background: var(--surface2); }
.event-table__mono { font-family: var(--font-mono); font-size: 0.78rem; }
.event-table__time { color: var(--text-dim); }
.event-table__ratio {
  font-family: var(--font-mono); font-weight: 600; padding: 3px 8px;
  border-radius: 6px; font-size: 0.75rem;
}
.event-table__ratio--good { background: rgba(16,185,129,0.15); color: var(--success); }
.event-table__ratio--med { background: rgba(245,158,11,0.15); color: var(--warning); }
.event-table__ratio--bad { background: rgba(239,68,68,0.15); color: var(--danger); }
.event-table__mode { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); }
.event-table__sacred { display: flex; align-items: center; gap: 4px; }

/* ─── Chart ─────────────────────────────────────────────────────────────── */
.chart-area { width: 100%; height: 160px; position: relative; }
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 140px; padding: 0 4px; }
.chart-bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.chart-bar {
  width: 100%; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--primary), rgba(99,102,241,0.4));
  transition: all 0.3s; min-height: 4px; position: relative;
}
.chart-bar:hover { background: linear-gradient(180deg, var(--accent), rgba(34,211,238,0.4)); }
.chart-bar__tooltip {
  position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  background: var(--surface2); border: 1px solid var(--border2); border-radius: 6px;
  padding: 4px 8px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--text);
  white-space: nowrap; opacity: 0; transition: opacity 0.15s; pointer-events: none;
  z-index: 10;
}
.chart-bar:hover .chart-bar__tooltip { opacity: 1; }
.chart-bar-label { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-dim); text-align: center; }
.chart-y-axis { display: flex; flex-direction: column; justify-content: space-between; height: 140px; padding: 0 8px; }
.chart-y-label { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-dim); }

/* ─── Sacred Facts Panel ────────────────────────────────────────────────── */
.sf-list { list-style: none; }
.sf-item {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--border); gap: 12px;
}
.sf-item:last-child { border-bottom: none; }
.sf-item__key { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); }
.sf-item__val { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); }
.sf-item__status { flex-shrink: 0; }
.sf-item__preserved { color: var(--success); font-size: 0.75rem; display: flex; align-items: center; gap: 4px; }
.sf-item__dropped { color: var(--danger); font-size: 0.75rem; }

/* ─── Context Gauge ──────────────────────────────────────────────────────── */
.ctx-gauge { margin-bottom: 20px; }
.ctx-gauge__bar { height: 12px; background: var(--border); border-radius: 6px; overflow: hidden; margin: 8px 0; }
.ctx-gauge__fill { height: 100%; border-radius: 6px; transition: width 0.6s ease-out, background 0.3s; }
.ctx-gauge__labels { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-dim); }
.ctx-gauge__pct { font-weight: 700; color: var(--text); }

/* ─── Empty / Loading States ────────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface2) 50%, var(--surface) 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite;
  border-radius: 6px;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.empty-state { text-align: center; padding: 40px; color: var(--text-dim); font-size: 0.9rem; }
.empty-state__icon { font-size: 2rem; margin-bottom: 12px; }

/* ─── Animations ────────────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes countUp { from { opacity: 0; } to { opacity: 1; } }
.animate-in { animation: fadeInUp 0.4s ease-out both; }
.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.1s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.2s; }
.stagger-5 { animation-delay: 0.25s; }
.stagger-6 { animation-delay: 0.3s; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  padding: 40px 24px; border-top: 1px solid var(--border);
  text-align: center; color: var(--text-dim); font-size: 0.85rem;
}
.footer a { color: var(--text-muted); text-decoration: none; }
.footer a:hover { color: var(--accent); }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-main { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .hero__metrics { gap: 24px; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .dash-grid { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .hero__h1 { font-size: 2rem; }
  .hero { padding: 100px 16px 60px; }
}

/* ─── Ticker ─────────────────────────────────────────────────────────────── */
.live-ticker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 14px; font-family: var(--font-mono); font-size: 0.8rem;
}
.live-ticker__amount { color: var(--accent); font-weight: 700; font-size: 1.1rem; }
.live-ticker__label { color: var(--text-dim); }

/* ─── Toast / Alert ─────────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 1000;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: 10px; padding: 14px 20px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
  font-size: 0.9rem; max-width: 360px;
  animation: slideUp 0.3s ease-out;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.toast--success { border-color: rgba(16,185,129,0.4); }
.toast--error { border-color: rgba(239,68,68,0.4); }
.toast--warning { border-color: rgba(245,158,11,0.4); }

/* ─── Misc Utilities ────────────────────────────────────────────────────── */
.text-mono { font-family: var(--font-mono); }
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.divider { height: 1px; background: var(--border); margin: 32px 0; }
.badge {
  display: inline-flex; align-items: center; padding: 2px 8px;
  border-radius: 6px; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
}
.badge--primary { background: rgba(99,102,241,0.15); color: var(--primary); }
.badge--accent { background: rgba(34,211,238,0.15); color: var(--accent); }
.badge--success { background: rgba(16,185,129,0.15); color: var(--success); }
