/* ═══════════════════════════════════════════════════════════════════════════
   DECK-AS-CODE — EXTENDED COMPONENTS
   Advanced Visual Components for Executive Reports & Dashboards
   
   Includes: Intro Animation, Progress Bar, Metric Cards, Bar Charts,
   Heatmaps, Donut Charts, Score Gauges, SWOT Grid, Roadmap, Findings,
   Verbatims, Cover Metrics
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── INTRO ANIMATION ───────────────────────────────────────────────────── */
.intro-screen {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: introFadeOut 0.8s ease 3.5s forwards;
}

.intro-logo {
  font-size: clamp(48px, 10vw, 100px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
  opacity: 0;
  animation: introFadeScale 1s ease 0.3s forwards;
}

.intro-logo .accent { color: var(--primary); }

.intro-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-dark, var(--primary)), var(--primary));
  margin: 24px 0;
  opacity: 0;
  animation: introGrowWidth 0.6s ease 1s forwards;
}

.intro-subtitle {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: introFadeUp 0.6s ease 1.4s forwards;
}

.intro-date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--primary);
  margin-top: 20px;
  padding: 10px 24px;
  border: 1px solid var(--primary);
  opacity: 0;
  animation: introFadeUp 0.6s ease 1.8s forwards;
}

@keyframes introFadeScale { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes introGrowWidth { from { opacity: 0; width: 0; } to { opacity: 1; width: 80px; } }
@keyframes introFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes introFadeOut { to { opacity: 0; pointer-events: none; } }

/* Skip intro with class */
.intro-screen.skip { animation: none; opacity: 0; pointer-events: none; }

/* ─── PROGRESS BAR ──────────────────────────────────────────────────────── */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-dark, var(--primary)), var(--primary));
  z-index: 100;
  transition: width 0.4s ease;
}

/* ─── SLIDE COUNTER ─────────────────────────────────────────────────────── */
.slide-counter {
  position: fixed;
  bottom: 40px;
  right: 50px;
  z-index: 100;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.slide-counter .current {
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
}

/* ─── FOOTER BRAND ──────────────────────────────────────────────────────── */
.footer-brand {
  position: fixed;
  bottom: 40px;
  left: 50px;
  z-index: 100;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
}

.footer-brand .accent { color: var(--primary); }

/* ─── NAV CONTROLS ──────────────────────────────────────────────────────── */
.nav-controls {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 100;
}

.nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-color, var(--subtle));
  background: var(--bg);
  color: var(--fg);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

/* ─── METRIC CARDS (Dashboard Style) ────────────────────────────────────── */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.metric-card {
  background: var(--bg);
  border: 1px solid var(--border-color, var(--subtle));
  padding: 24px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.metric-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.metric-card.highlight {
  background: var(--primary);
  border-color: var(--primary);
}

.metric-card.highlight .metric-label,
.metric-card.highlight .metric-value,
.metric-card.highlight .metric-desc { 
  color: var(--bg); 
}

.metric-card.highlight .metric-tag.positive {
  background: rgba(255, 255, 255, 0.2);
  color: var(--bg);
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 4px;
}

.metric-desc {
  font-size: 12px;
  color: var(--muted);
}

.metric-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 10px;
  margin-top: 12px;
  background: var(--gray-200, rgba(255,255,255,0.1));
  color: var(--muted);
}

.metric-tag.positive { background: var(--positive-light, rgba(25, 135, 84, 0.1)); color: var(--positive); }
.metric-tag.negative { background: var(--negative-light, rgba(220, 53, 69, 0.1)); color: var(--negative); }
.metric-tag.warning { background: var(--warning-light, rgba(253, 126, 20, 0.1)); color: var(--warning); }

/* ─── BAR CHART (Horizontal Animated) ───────────────────────────────────── */
.bar-chart { margin-top: 24px; }

.bar-row {
  display: grid;
  grid-template-columns: 140px 1fr 80px;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color, var(--subtle));
}

.bar-row:last-child { border-bottom: none; }

.bar-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-align: right;
}

.bar-label.highlight { 
  color: var(--primary); 
  font-weight: 700; 
}

.bar-track {
  height: 24px;
  background: var(--gray-200, rgba(255,255,255,0.1));
  position: relative;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--gray-400, rgba(255,255,255,0.3));
  transition: width 1s var(--ease-out, ease);
}

.bar-fill.accent { background: var(--primary); }
.bar-fill.positive { background: var(--positive); }
.bar-fill.negative { background: var(--negative); }
.bar-fill.warning { background: var(--warning); }

.bar-value {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}

/* ─── HEATMAP / MATRIX ──────────────────────────────────────────────────── */
.heatmap {
  display: grid;
  gap: 2px;
  font-size: 11px;
  margin-top: 24px;
}

.heatmap-cell {
  padding: 12px;
  text-align: center;
  font-weight: 500;
  background: var(--gray-200, rgba(255,255,255,0.1));
  color: var(--fg);
  min-width: 60px;
}

.heatmap-header {
  background: var(--gray-300, rgba(255,255,255,0.15));
  font-weight: 700;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1px;
}

/* Intensity levels */
.heatmap-cell.level-0 { background: var(--gray-200, #e9ecef); }
.heatmap-cell.level-1 { background: #dbeafe; color: var(--fg); }
.heatmap-cell.level-2 { background: #93c5fd; }
.heatmap-cell.level-3 { background: #3b82f6; color: white; }
.heatmap-cell.level-4 { background: var(--primary); color: white; }
.heatmap-cell.level-5 { background: #1e40af; color: white; }

/* Named intensities */
.heatmap-cell.low { background: #dbeafe; color: var(--fg); }
.heatmap-cell.medium { background: #93c5fd; }
.heatmap-cell.high { background: #3b82f6; color: white; }
.heatmap-cell.very-high { background: var(--primary); color: white; }

.heatmap-cell.empty { background: #fef2f2; color: var(--negative); }

/* ─── DONUT / PIE CHART (SVG) ───────────────────────────────────────────── */
.donut-chart {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 0 auto;
}

.donut-chart svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.donut-chart__segment {
  fill: none;
  stroke-width: 20;
  transition: stroke-dasharray 0.8s ease;
}

.donut-chart__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.donut-chart__value {
  font-size: 32px;
  font-weight: 700;
  color: var(--fg);
}

.donut-chart__label {
  font-size: 11px;
  color: var(--muted);
}

/* Donut colors */
.donut-segment--1 { stroke: var(--primary); }
.donut-segment--2 { stroke: var(--positive); }
.donut-segment--3 { stroke: #3b82f6; }
.donut-segment--4 { stroke: #8b5cf6; }
.donut-segment--5 { stroke: #ec4899; }
.donut-segment--6 { stroke: var(--warning); }

/* ─── SCORE GAUGE (Circular) ────────────────────────────────────────────── */
.score-display {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.score-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 8px solid var(--gray-200, rgba(255,255,255,0.1));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--bg);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.score-circle::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 8px solid transparent;
  border-top-color: var(--primary);
  border-right-color: var(--primary);
  transform: rotate(-45deg);
}

/* Score progress variants */
.score-circle[data-progress="25"]::before { border-right-color: transparent; }
.score-circle[data-progress="50"]::before { transform: rotate(45deg); border-right-color: transparent; }
.score-circle[data-progress="75"]::before { transform: rotate(45deg); }
.score-circle[data-progress="100"]::before { 
  border-top-color: var(--primary);
  border-right-color: var(--primary);
  border-bottom-color: var(--primary);
  border-left-color: var(--primary);
}

.score-value {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
}

.score-value.warning { color: var(--warning); }
.score-value.positive { color: var(--positive); }
.score-value.negative { color: var(--negative); }

.score-max {
  font-size: 14px;
  color: var(--muted);
}

.score-label-text {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* ─── SENTIMENT BAR (Stacked) ───────────────────────────────────────────── */
.sentiment-stacked {
  display: grid;
  grid-template-columns: 140px 1fr 100px;
  align-items: center;
  gap: 16px;
  margin: 12px 0;
}

.sentiment-stacked__label {
  font-weight: 600;
  font-size: 13px;
  color: var(--fg);
}

.sentiment-stacked__label.highlight { color: var(--primary); }

.sentiment-stacked__bar {
  height: 32px;
  display: flex;
  border-radius: 4px;
  overflow: hidden;
}

.sentiment-stacked__segment {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
  font-weight: 600;
  min-width: 30px;
}

.sentiment-stacked__segment.positive { background: var(--positive); }
.sentiment-stacked__segment.neutral { background: var(--gray-400, #adb5bd); }
.sentiment-stacked__segment.negative { background: var(--negative); }

.sentiment-stacked__info {
  font-size: 12px;
  color: var(--muted);
}

.sentiment-stacked__info.positive { color: var(--positive); font-weight: 600; }
.sentiment-stacked__info.negative { color: var(--negative); }

/* Legend */
.sentiment-legend {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  font-size: 11px;
}

.sentiment-legend__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sentiment-legend__dot {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

.sentiment-legend__dot.positive { background: var(--positive); }
.sentiment-legend__dot.neutral { background: var(--gray-400, #adb5bd); }
.sentiment-legend__dot.negative { background: var(--negative); }

/* ─── SWOT GRID ─────────────────────────────────────────────────────────── */
.swot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.swot-cell {
  padding: 24px;
  border: 1px solid var(--border-color, var(--subtle));
  background: var(--bg);
}

.swot-cell.strengths { 
  border-left: 4px solid var(--positive); 
  background: var(--positive-light, rgba(25, 135, 84, 0.08)); 
}
.swot-cell.weaknesses { 
  border-left: 4px solid var(--negative); 
  background: var(--negative-light, rgba(220, 53, 69, 0.08)); 
}
.swot-cell.opportunities { 
  border-left: 4px solid var(--info, #0d6efd); 
  background: var(--info-light, rgba(13, 110, 253, 0.08)); 
}
.swot-cell.threats { 
  border-left: 4px solid var(--warning); 
  background: var(--warning-light, rgba(253, 126, 20, 0.08)); 
}

.swot-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.swot-cell.strengths .swot-title { color: var(--positive); }
.swot-cell.weaknesses .swot-title { color: var(--negative); }
.swot-cell.opportunities .swot-title { color: var(--info, #0d6efd); }
.swot-cell.threats .swot-title { color: var(--warning); }

.swot-list {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  list-style: none;
  padding: 0;
  margin: 0;
}

.swot-list li { 
  margin-bottom: 6px; 
}

.swot-list li::before { 
  content: "→ "; 
  color: var(--gray-500, #6c757d); 
}

/* ─── ROADMAP / TIMELINE ────────────────────────────────────────────────── */
.roadmap { margin-top: 32px; }

.roadmap-phase {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color, var(--subtle));
}

.roadmap-phase:last-child { border-bottom: none; }

.phase-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 10px 16px;
  background: var(--primary);
  color: var(--bg);
  text-align: center;
  height: fit-content;
}

.phase-label.secondary { background: var(--gray-500, #6c757d); }
.phase-label.highlight { background: var(--positive); }

.phase-content { 
  font-size: 13px; 
  color: var(--muted); 
}

.phase-content strong {
  color: var(--fg);
  display: block;
  margin-bottom: 8px;
}

.phase-content ul { 
  margin-left: 20px; 
  line-height: 1.8; 
}

/* ─── FINDINGS LIST ─────────────────────────────────────────────────────── */
.findings-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.finding-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border-color, var(--subtle));
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.finding-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-200, rgba(255,255,255,0.1));
}

.finding-icon svg,
.finding-icon i { 
  width: 20px; 
  height: 20px; 
}

.finding-icon.critical { 
  background: var(--negative-light, rgba(220, 53, 69, 0.1)); 
  color: var(--negative); 
}
.finding-icon.warning { 
  background: var(--warning-light, rgba(253, 126, 20, 0.1)); 
  color: var(--warning); 
}
.finding-icon.success { 
  background: var(--positive-light, rgba(25, 135, 84, 0.1)); 
  color: var(--positive); 
}
.finding-icon.info { 
  background: var(--info-light, rgba(13, 110, 253, 0.1)); 
  color: var(--info, #0d6efd); 
}

.finding-content h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--fg);
}

.finding-content p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ─── VERBATIM / QUOTES ─────────────────────────────────────────────────── */
.verbatim {
  background: var(--bg-secondary, rgba(255,255,255,0.03));
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  margin: 16px 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  font-style: italic;
}

.verbatim strong { 
  color: var(--primary); 
  font-style: normal; 
}

.verbatim-question {
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
  font-style: normal;
}

.verbatim-source {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray-500, #6c757d);
  margin-top: 12px;
  font-style: normal;
}

.verbatim.warning { border-left-color: var(--warning); }
.verbatim.positive { border-left-color: var(--positive); }
.verbatim.negative { border-left-color: var(--negative); }

/* ─── COVER SLIDE WITH METRICS ──────────────────────────────────────────── */
.cover-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
}

.cover-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 2px solid var(--primary);
  color: var(--primary);
  margin-bottom: 40px;
}

.cover-title {
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--fg);
}

.cover-title .brand { color: var(--primary); }

.cover-subtitle {
  font-size: 20px;
  font-weight: 300;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 60px;
}

.cover-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-color, var(--subtle));
  width: 100%;
  max-width: 700px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.cover-metric {
  background: var(--bg);
  padding: 28px 24px;
  text-align: center;
}

.cover-metric-value {
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 700;
  color: var(--primary);
}

.cover-metric-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

/* ─── IMPERATIVES / ACTION CARDS ────────────────────────────────────────── */
.imperatives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.imperative {
  background: var(--bg);
  border: 1px solid var(--border-color, var(--subtle));
  padding: 28px 24px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.imperative:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.imperative-num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.imperative-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--fg);
}

.imperative-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── INSIGHT VARIANTS (Extended) ───────────────────────────────────────── */
.insight.inverted {
  background: var(--primary);
  border: none;
}

.insight.inverted * { color: var(--bg); }
.insight.inverted .insight-label { color: rgba(0,0,0,0.6); }

.insight-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

/* ─── TWO COLUMN LAYOUT ─────────────────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
}

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .swot-grid { grid-template-columns: 1fr; }
  .imperatives-grid { grid-template-columns: 1fr 1fr; }
  .cover-metrics { max-width: 100%; }
  .bar-row { grid-template-columns: 100px 1fr 60px; }
  .sentiment-stacked { grid-template-columns: 100px 1fr 80px; }
}

@media (max-width: 600px) {
  .imperatives-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .nav-controls { bottom: 20px; }
  .slide-counter, .footer-brand { display: none; }
}

/* ─── LABELED SECTION ───────────────────────────────────────────────────── */
.section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--muted);
}

.section-label.accent { color: var(--primary); }

/* ─── TABLE TITLE ───────────────────────────────────────────────────────── */
.table-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ─── PERSONA CARDS ─────────────────────────────────────────────────────── */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.persona-card {
  padding: 16px;
  background: var(--bg-secondary, rgba(255,255,255,0.03));
  border-left: 4px solid var(--primary);
}

.persona-card strong {
  display: block;
  color: var(--fg);
  margin-bottom: 4px;
}

.persona-card span {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 768px) {
  .persona-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── ATTRIBUTE LEGEND ──────────────────────────────────────────────────── */
.attr-legend {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.attr-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--bg-secondary, rgba(255,255,255,0.03));
}

.attr-item__color {
  width: 4px;
  height: 100%;
  min-height: 40px;
}

.attr-item__name {
  min-width: 120px;
  font-weight: 600;
}

.attr-item__value {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
}

.attr-item__pct {
  font-size: 12px;
  color: var(--muted);
  margin-left: auto;
}

/* ─── BIG NUMBER VARIANTS ───────────────────────────────────────────────── */
.big-number {
  font-family: var(--font-mono);
  font-size: clamp(80px, 15vw, 180px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--fg);
}

.big-number.accent { color: var(--primary); }
.big-number.positive { color: var(--positive); }
.big-number.negative { color: var(--negative); }
.big-number.warning { color: var(--warning); }

/* ─── COMPARISON DELTA ──────────────────────────────────────────────────── */
.delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}

.delta.positive { color: var(--positive); }
.delta.negative { color: var(--negative); }

.delta::before {
  content: '▲';
  font-size: 10px;
}

.delta.negative::before {
  content: '▼';
}
