/* ═════════════════════════════════════════════════════════════════════
   CRASSUS TITANIUM v4.3 (PRODUCTION FINAL)
   Institutional Financial Intelligence Interface

   • Theme: Deep Gunmetal / Optical Borders / Jewel-Tone Semantics
   • Features: Adaptive Tables / Smart Wrapping / Slim Scrollbars
   • Architecture: BEM Naming / CSS Grid / GPU Composition
   ═════════════════════════════════════════════════════════════════════ */

:root {
  /* 1. SURFACE PALETTE (Titanium Dark Mode) */
  --bg-app: #0B0E14;        /* Deepest Void (Blue-Black) */
  --bg-subtle: #151A23;     /* L1 Surface (Panels/Rail) */
  --bg-card: #1C2333;       /* L2 Surface (Cards) */
  --bg-card-hover: #232B3E; /* L3 Surface (Interactive) */
  --bg-header: rgba(11, 14, 20, 0.95); /* High opacity glass */

  /* 2. TYPOGRAPHY & INK */
  --text-primary: #ECEFF4;   /* Titanium White */
  --text-secondary: #94A3B8; /* Cool Grey */
  --text-tertiary: #64748B;  /* Slate */
  --text-inverse: #0B0E14;   /* Ink for light backgrounds */

  /* 3. SEMANTIC JEWEL TONES (Professional Grade) */
  --signal-success: #34D399;   /* Emerald: Long/Safe */
  --signal-warning: #FBBF24;   /* Amber: Watch/Reported */
  --signal-danger: #F87171;    /* Crimson: Short/Critical */
  --signal-info: #60A5FA;      /* Azure: Derived/Neutral */
  --signal-model: #A78BFA;     /* Amethyst: Modeled/Theoretical */
  --signal-bloomberg: #F97316; /* Orange: Active/Focus */

  /* 4. STRUCTURAL TOKENS */
  --border-subtle: 1px solid rgba(148, 163, 184, 0.08);
  --border-strong: 1px solid rgba(148, 163, 184, 0.15);
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.15);
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 8px;

  /* 5. DIMENSIONS & Z-INDICES */
  --header-height: 64px;
  --page-width: 1280px;
  --rail-width: 320px;
  
  --z-back: -1;
  --z-normal: 1;
  --z-table-head: 10; /* Sticky headers inside tables */
  --z-sticky: 100;    /* Sidebar */
  --z-header: 1000;   /* Fixed Header */
  --z-overlay: 2000;  /* Modals/Tooltips */

  /* 6. FONTS */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Roboto Mono", "Consolas", monospace;
  
  /* 7. ANIMATION */
  --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* ═════════════════════════════════════════════════════════════════════
   1. RESET & GLOBAL SCROLLBARS
   ═════════════════════════════════════════════════════════════════════ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Firefox Scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--bg-card-hover) var(--bg-app);
}

/* Webkit Slim Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-app);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-card-hover);
  border-radius: 4px;
  border: 2px solid var(--bg-app); /* Creates padding effect */
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-tertiary);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  /* CRITICAL: Header spacing & Scroll containment */
  padding-top: var(--header-height);
  overflow-x: hidden; 
  width: 100%;
}

a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--signal-info); }

/* Data Typography Utility */
.text-mono, .td-num, .kpi__value, .score-box, .node-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums slashed-zero;
  letter-spacing: -0.02em;
}

/* ═════════════════════════════════════════════════════════════════════
   2. HEADER (Glassmorphism)
   ═════════════════════════════════════════════════════════════════════ */

.crassus-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: var(--bg-header);
  backdrop-filter: blur(20px); 
  -webkit-backdrop-filter: blur(20px);
  border-bottom: var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: var(--z-header);
  width: 100%;
}


/* Header: no menu in this build */
.crassus-header__nav { display: none !important; }

/* Home link placement (supports current HTML where .home-link is a direct child of header) */
.crassus-header > .home-link { margin-left: auto; }
.home-link { white-space: nowrap; }

/* Optional: if actions wrapper is used in future pages */
.crassus-header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.crassus-header__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.1;
}


.brand-logo {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.brand-subtitle {
  font-size: 10px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  line-height: 1.2;
}

/* Header Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: var(--border-subtle);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-xs);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s var(--ease-out);
}

.btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--text-tertiary);
}

.btn--ghost { background: transparent; border-color: transparent; }

.btn--primary {
  background: var(--text-primary);
  color: var(--bg-app);
  font-weight: 600;
  border: 1px solid var(--text-primary);
}

.btn--primary:hover {
  background: #FFFFFF;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

/* ═════════════════════════════════════════════════════════════════════
   3. LAYOUT & GRID SYSTEM
   ═════════════════════════════════════════════════════════════════════ */

.page-container {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 40px 32px 80px;
}

/* Main Layout: Sidebar Right */
.layout {
  display: grid;
  grid-template-columns: 1fr var(--rail-width);
  gap: 48px;
  align-items: start; /* CRITICAL: Prevents sticky sidebar from stretching */
}

.layout__main {
  min-width: 0; /* CRITICAL: Prevents grid blowout on large tables */
}

.layout__rail {
  position: relative;
  min-width: 0;
}

.rail-sticky {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  align-self: start;
  z-index: var(--z-sticky);
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

/* Component Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ═════════════════════════════════════════════════════════════════════
   4. MASTHEAD & KPI TICKER
   ═════════════════════════════════════════════════════════════════════ */

.masthead-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}

.breadcrumbs {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.breadcrumbs .sep { margin: 0 10px; opacity: 0.3; }

.page-title {
  font-size: 36px;
  font-weight: 600;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
}

.page-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 800px;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Metadata Chips */
.meta-chips { display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
  display: flex;
  font-size: 11px;
  border: var(--border-subtle);
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.chip .k {
  background: var(--bg-subtle);
  padding: 5px 10px;
  color: var(--text-tertiary);
  font-weight: 600;
  text-transform: uppercase;
  border-right: var(--border-subtle);
}

.chip .v {
  background: var(--bg-card);
  padding: 5px 10px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* KPI Row */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  border-top: var(--border-subtle);
  border-bottom: var(--border-subtle);
  padding: 32px 0;
  margin-bottom: 56px;
}

.kpi {
  padding-left: 20px;
  border-left: 2px solid var(--bg-subtle);
  transition: all 0.3s var(--ease-out);
}

.kpi:hover {
  border-left-color: var(--signal-info);
  background: linear-gradient(90deg, rgba(255,255,255,0.01), transparent);
}

.kpi__label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 8px;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.kpi__value {
  font-size: 24px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 4px;
}

/* ═════════════════════════════════════════════════════════════════════
   5. DATA CARDS & SECTIONS
   ═════════════════════════════════════════════════════════════════════ */

.section {
  margin-bottom: 56px;
  scroll-margin-top: 100px;
}

.section__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: var(--border-subtle);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.section__title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.1em;
  margin: 0;
}

.data-card {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden; /* Contains children */
}


/* Alias: some pages use .data-card-wide for full-width cards */
.data-card-wide {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.data-card:hover {
  border-color: rgba(148, 163, 184, 0.2);
}

.data-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.data-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

/* Card Accents */
.data-card--highlighted { border-top: 3px solid var(--signal-info); }
.data-card--success { border-top: 3px solid var(--signal-success); }
.data-card--warning { border-top: 3px solid var(--signal-warning); }
.data-card--critical { border-top: 3px solid var(--signal-danger); }

/* Prose Text */
.prose { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.prose p { margin-bottom: 16px; }
.prose strong { color: var(--text-primary); font-weight: 600; }
.prose ul { padding-left: 18px; color: var(--text-secondary); margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }

/* ═════════════════════════════════════════════════════════════════════
   6. ADAPTIVE DATA TABLES (No-Scroll Default)
   ═════════════════════════════════════════════════════════════════════ */

.table-container {
  width: 100%;
  overflow-x: auto; /* Safety net: enables scroll only if absolutely needed */
  -webkit-overflow-scrolling: touch;
  border: var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-app);
  margin-bottom: 16px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  /* Removed 'white-space: nowrap' to allow wrapping and prevent blowout */
  table-layout: auto; 
}

.data-table th {
  background: var(--bg-subtle);
  color: var(--text-tertiary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.05em;
  padding: 12px 20px;
  text-align: left;
  border-bottom: var(--border-subtle);
  /* Sticky Table Headers */
  position: sticky;
  top: 0;
  z-index: var(--z-table-head); 
  white-space: nowrap; /* Headers should stay on one line */
}

.data-table td {
  padding: 12px 20px;
  border-bottom: var(--border-subtle);
  color: var(--text-secondary);
  vertical-align: top;
  /* Allow text wrapping for labels to fit content */
  white-space: normal; 
}

/* SMART WRAPPING RULES */
/* Force the first column (Labels) to wrap nicely */
.data-table td:first-child {
  min-width: 140px; 
  max-width: 300px;
  color: var(--text-primary);
  font-weight: 500;
}

/* Force Numbers to stay on one line for readability */
.td-num { 
  text-align: right; 
  white-space: nowrap !important; /* Critical for financial data */
}

.data-table tr:hover td {
  background: var(--bg-card-hover);
}

.data-table tr:last-child td { border-bottom: none; }

/* Scenario Columns (Subtle Gradients) */
.td-scenario-a { background: linear-gradient(to bottom, rgba(52, 211, 153, 0.03), transparent); border-left: var(--border-subtle); }
.td-scenario-b { background: linear-gradient(to bottom, rgba(251, 191, 36, 0.03), transparent); border-left: var(--border-subtle); }
.td-scenario-c { background: linear-gradient(to bottom, rgba(248, 113, 113, 0.03), transparent); border-left: var(--border-subtle); }
.td-expected { 
  background: linear-gradient(to bottom, rgba(96, 165, 250, 0.05), transparent); 
  border-left: var(--border-subtle); 
  font-weight: 600; 
  color: var(--text-primary) !important; 
}

/* ═════════════════════════════════════════════════════════════════════
   7. BADGES & CALLOUTS
   ═════════════════════════════════════════════════════════════════════ */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 100px;
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
}

.badge--confirmed { background: rgba(52, 211, 153, 0.1); color: var(--signal-success); border: 1px solid rgba(52, 211, 153, 0.2); }
.badge--reported{background:rgba(245,158,11,0.14);color:var(--a-amber);border-color:rgba(245,158,11,0.26);} /* Reported */
.badge--modeled { background: rgba(167, 139, 250, 0.1); color: var(--signal-model); border: 1px solid rgba(167, 139, 250, 0.2); }
.badge--estimated{background:rgba(148,163,184,0.14);color:var(--t-1);border-color:rgba(148,163,184,0.22);} /* Estimated */
.badge--derived { background: rgba(96, 165, 250, 0.1); color: var(--signal-info); border: 1px solid rgba(96, 165, 250, 0.2); }
.badge--critical { background: rgba(248, 113, 113, 0.1); color: var(--signal-danger); border: 1px solid rgba(248, 113, 113, 0.2); }
.badge--neutral { background: var(--bg-subtle); color: var(--text-tertiary); border: var(--border-subtle); }

.callout {
  padding: 16px 20px;
  border-left: 3px solid;
  background: linear-gradient(90deg, rgba(255,255,255,0.02) 0%, transparent 100%);
  margin-top: 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.callout__title {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}
.callout__body { font-size: 13px; color: var(--text-secondary); }
.callout--info { border-color: var(--signal-info); }
.callout--warn { border-color: var(--signal-warning); }
.callout--danger { border-color: var(--signal-danger); }

/* ═════════════════════════════════════════════════════════════════════
   8. VISUALIZATIONS
   ═════════════════════════════════════════════════════════════════════ */

/* A. Network Diagram */
.network-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 16px 0;
  width: 100%;
}

.network-level {
  display: flex;
  gap: 24px;
  justify-content: center;
  position: relative;
  flex-wrap: wrap; /* Safe wrapping */
  width: 100%;
}

.network-level:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: -32px;
  left: 50%;
  width: 1px;
  height: 32px;
  background: var(--text-tertiary);
  opacity: 0.3;
}

.network-node {
  background: var(--bg-subtle);
  border: var(--border-strong);
  padding: 16px;
  width: 190px;
  min-width: 150px;
  text-align: center;
  border-radius: var(--radius-sm);
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

.network-node:hover {
  transform: translateY(-2px);
  border-color: var(--text-secondary);
}

.node-title { display: block; font-size: 12px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.node-value { font-size: 10px; color: var(--text-secondary); }

.node--critical { border-top: 3px solid var(--signal-danger); }
.node--warning { border-top: 3px solid var(--signal-warning); }
.node--safe { border-top: 3px solid var(--signal-success); }

/* B. Waterfall Bars */
.waterfall-item { margin-bottom: 16px; }

.waterfall-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.progress-track {
  height: 8px;
  background: var(--bg-app);
  border-radius: 10px;
  border: var(--border-subtle);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 10px;
  /* Text inside bar is usually hidden for aesthetics, visible via header */
  color: transparent; 
}
.fill--high { background: var(--signal-success); }
.fill--med { background: var(--signal-warning); }
.fill--low { background: var(--signal-danger); }
.fill--zero { background: var(--bg-subtle); }

/* C. Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 24px;
  margin-top: 16px;
  border-left: 1px solid rgba(148, 163, 184, 0.2);
}

.timeline-event {
  margin-bottom: 32px;
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -30px;
  top: 3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg-app);
  border: 2px solid var(--text-tertiary);
}

.timeline-event.current .timeline-dot { 
  background: var(--signal-bloomberg); 
  border-color: var(--signal-bloomberg); 
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2); 
}

.timeline-date { font-family: var(--font-mono); font-size: 10px; color: var(--text-tertiary); display: block; margin-bottom: 4px; }
.timeline-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-primary); }

/* D. Heatmap (Scroll Safe) */
.heatmap-container {
  width: 100%;
  overflow-x: auto; /* Allow horizontal scroll */
}

.risk-heatmap {
  display: grid;
  grid-template-columns: 1.5fr repeat(5, 1fr) 0.8fr;
  gap: 2px;
  width: 100%;
  min-width: 600px; /* Forces scroll on small screens */
}

.heatmap-cell {
  background: var(--bg-subtle);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border-radius: 2px;
}

.heatmap-head { background: transparent; color: var(--text-secondary); font-size: 10px; text-transform: uppercase; font-weight: 600; }
.heatmap-row-label { justify-content: flex-start; color: var(--text-primary); font-weight: 600; font-size: 11px; background: transparent; padding-left: 0; }

.score-box {
  width: 100%;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 0;
  border-radius: 3px;
}

/* ═════════════════════════════════════════════════════════════════════
   9. UTILITIES & FOOTER
   ═════════════════════════════════════════════════════════════════════ */

.text-danger { color: var(--signal-danger) !important; }
.text-warning { color: var(--signal-warning) !important; }
.text-success { color: var(--signal-success) !important; }
.text-tertiary { color: var(--text-tertiary) !important; }
.font-bold { font-weight: 600; }

.footer {
  border-top: var(--border-subtle);
  padding-top: 48px;
  margin-top: 96px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.3));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  font-size: 13px;
  color: var(--text-tertiary);
}

.footer h4 { color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; font-size: 11px; }
.footer ul { list-style: none; padding: 0; }
.footer li { margin-bottom: 8px; }

.fineprint {
  text-align: center;
  margin-top: 64px;
  font-size: 10px;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
  opacity: 0.6;
}

/* ═════════════════════════════════════════════════════════════════════
   10. RESPONSIVE BEHAVIOR
   ═════════════════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .layout {
    grid-template-columns: 1fr; /* Stack sidebar below content */
  }

  .rail-sticky {
    position: static; /* Remove sticky behavior in stacked layout */
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  /* Reduce clutter on medium screens */
  .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .page-container {
    padding: calc(var(--header-height) + 24px) 16px 60px;
  }
  
  .crassus-header {
    padding: 0 16px;
  }

  .masthead-row, 
  .kpi-row, 
  .grid-2, 
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  /* On mobile, heatmap/tables trigger horizontal scroll via their wrappers */
  .risk-heatmap { padding-bottom: 4px; }
  
  .brand-subtitle { display: none; }
  .btn { padding: 6px 12px; }
}

@media print {
  body { background: white; color: black; }
  .crassus-header, .btn, .rail-sticky { display: none; }
  .data-card, .table-container { border: 1px solid #ccc; box-shadow: none; break-inside: avoid; }
  .text-secondary { color: #555; }
  .heatmap-cell, .badge, .score-box { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
/* Grid polish: avoid double-spacing from card margin-bottom inside grid layouts */
.grid-2 > .data-card, .grid-2 > .data-card-wide,
.grid-3 > .data-card, .grid-3 > .data-card-wide {
  margin-bottom: 0;
}

/* Timeline semantic polish */
.timeline-event.complete .timeline-dot {
  background: rgba(148, 163, 184, 0.25);
  border-color: rgba(148, 163, 184, 0.45);
}
.timeline-event.upcoming .timeline-dot {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.30);
}

/* --- Timeline current dot: amber pulsing --- */
.timeline-event.current .timeline-dot{
  background: var(--a-amber);
  border-color: var(--a-amber);
  box-shadow: 0 0 0 4px rgba(245,158,11,0.20);
}
