/* One Health Portal - Prototype v2
   Shared styles for all pages. Pairs with Tailwind CDN. */

:root {
  --oh-navy: #0a1e3d;
  --oh-navy-light: #142b54;
  --oh-green: #16a34a;
  --oh-green-dark: #15803d;
  --oh-human: #3b82f6;
  --oh-human-bg: #dbeafe;
  --oh-animal: #f97316;
  --oh-animal-bg: #ffedd5;
  --oh-env: #22c55e;
  --oh-env-bg: #dcfce7;
  --oh-amr: #8b5cf6;
  --oh-amr-bg: #ede9fe;
  --oh-core: #1e1b4b;
  --oh-slate-50: #f8fafc;
  --oh-slate-100: #f1f5f9;
  --oh-slate-200: #e2e8f0;
  --oh-slate-500: #64748b;
  --oh-slate-700: #334155;
  --oh-slate-900: #0f172a;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--oh-slate-50);
  color: var(--oh-slate-700);
  /* Space for fixed header (~96) + ribbon (~42) = 138 */
  padding-top: 138px;
  font-size: 14px;
}
body.no-ribbon { padding-top: 96px; }

/* ===================== HEADER & NAV ===================== */
/* Topbar wraps the header + ribbon so they always stack cleanly */
.oh-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}
.oh-header {
  background: var(--oh-navy);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  /* not individually fixed any more */
}
.oh-header-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 24px;
  max-width: 1380px; margin: 0 auto;
}
.oh-header-tabs {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 0 24px;
  max-width: 1380px; margin: 0 auto;
  display: flex; gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.oh-header-tabs::-webkit-scrollbar { display: none; }

.oh-nav-tab {
  padding: 9px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  border-bottom: 2px solid transparent;
  transition: all 0.18s ease;
  display: inline-flex; align-items: center; gap: 5px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;                 /* never wrap */
  flex-shrink: 0;
}
.oh-nav-tab:hover { color: white; background: rgba(255,255,255,0.04); }
.oh-nav-tab.active {
  color: white;
  border-bottom-color: var(--oh-green);
}
.oh-nav-tab svg { width: 13px; height: 13px; }

/* ===================== ALERT RIBBON (cleaner, Bhutan-style) ===================== */
.alert-ribbon {
  /* now part of .oh-topbar flow, so no individual positioning needed */
  height: 42px;
  background: #b91c1c;
  color: white;
  display: flex; align-items: stretch;
  overflow: hidden;
  font-size: 0.82rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.alert-ribbon-leading {
  display: flex; align-items: center; gap: 6px;
  padding: 0 18px;
  height: 100%;
  background: #7f1d1d;
  font-weight: 700; font-size: 0.74rem;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  line-height: 1;
}
.alert-ribbon-leading::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fca5a5;
  box-shadow: 0 0 0 2px rgba(252,165,165,0.35);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.4; transform: scale(1.35); }
}
.alert-ribbon-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
}
.alert-ribbon-track {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: ribbon-scroll 25s linear infinite;
  will-change: transform;
  line-height: 1;
}
.alert-ribbon:hover .alert-ribbon-track { animation-play-state: paused; }
@keyframes ribbon-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.alert-ribbon-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0 24px;
  height: 100%;
}
.alert-ribbon-item + .alert-ribbon-item { border-left: 1px solid rgba(255,255,255,0.18); }
.alert-ribbon-tag {
  display: inline-block;
  background: white;
  color: #b91c1c;
  padding: 2px 9px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 999px;
  white-space: nowrap;
}
.alert-ribbon-text { color: rgba(255,255,255,0.95); }
.alert-ribbon-action {
  color: white;
  text-decoration: underline;
  font-weight: 600;
  margin-left: 4px;
}
.alert-ribbon-close {
  background: transparent;
  border: none;
  color: white;
  padding: 0 14px;
  height: 100%;
  cursor: pointer;
  opacity: 0.85;
  flex-shrink: 0;
}
.alert-ribbon-close:hover { opacity: 1; background: rgba(0,0,0,0.15); }

/* ===================== UNDP PARTNER LOGO ===================== */
/* Official UNDP logo served from /img/undp-logo.svg (Wikimedia Commons
   source). The artwork is self-contained — blue brand panels with white
   globe + UNDP wordmark — so it sits directly on the dark header with
   no surrounding card. */
.undp-mark {
  display: inline-flex; align-items: center;
  text-decoration: none;
  transition: opacity 0.15s;
}
.undp-mark:hover { opacity: 0.85; }
.undp-mark .undp-logo-img {
  display: block;
  height: 48px;        /* fits the header strip cleanly */
  width: auto;         /* preserves the 237 × 482 aspect ratio */
}

/* Footer partner row */
.footer-partners {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 14px 0; margin-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-partner {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px; background: rgba(255,255,255,0.06); border-radius: 6px;
  color: rgba(255,255,255,0.92); font-size: 0.75rem;
}
.footer-partner-logo {
  width: 32px; height: 24px;
  background: #006EB6;
  display: flex; align-items: center; justify-content: center;
  border-radius: 3px; font-weight: 700; font-size: 0.68rem; color: white;
}

.oh-logo-mark {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
}

.oh-nav-tab {
  padding: 16px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-bottom: 3px solid transparent;
  transition: all 0.18s ease;
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer;
  text-decoration: none;
}
.oh-nav-tab:hover { color: white; background: rgba(255,255,255,0.04); }
.oh-nav-tab.active {
  color: white;
  border-bottom-color: var(--oh-green);
}
.oh-nav-tab svg { width: 16px; height: 16px; }

/* ===================== VENN DIAGRAM ===================== */
.venn-container {
  position: relative;
  width: 540px; height: 540px;
  margin: 0 auto;
}
.venn-circle {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  opacity: 0.62;
  mix-blend-mode: multiply;
  transition: all 0.25s ease;
  cursor: pointer;
}
.venn-circle:hover { opacity: 0.78; transform: scale(1.015); }
.venn-human    { background: #93c5fd; top: 0; left: 110px; }
.venn-animal   { background: #fdba74; bottom: 0; left: 0; }
.venn-env      { background: #86efac; bottom: 0; right: 0; }

.venn-label {
  position: absolute;
  text-align: center;
  pointer-events: none;
  z-index: 5;
}
.venn-label-title {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.venn-label ul {
  font-size: 0.78rem;
  color: #334155;
  list-style: none;
  padding: 0; margin: 0;
  line-height: 1.55;
}
.venn-label ul li::before { content: "• "; }
.venn-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--oh-core);
  color: white;
  border-radius: 50%;
  width: 168px; height: 168px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 14px;
  z-index: 6;
  box-shadow: 0 8px 24px rgba(30,27,75,0.35);
  cursor: pointer;
}
.venn-core-title {
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.25); padding-bottom: 6px;
}
.venn-core ul { list-style: none; padding: 0; margin: 0; font-size: 0.62rem; line-height: 1.45; }

/* ===================== CARDS ===================== */
.oh-card {
  background: white;
  border-radius: 14px;
  border: 1px solid var(--oh-slate-200);
  padding: 18px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
  transition: box-shadow 0.18s ease;
}
.oh-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.05); }

/* ===================== KPI ROW (compact) ===================== */
.kpi-row { display: flex; flex-direction: column; gap: 8px; }
.kpi-item { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 3px; border-radius: 6px; transition: background 0.15s; }
.kpi-item:hover { background: var(--oh-slate-100); }
.kpi-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.kpi-icon svg { width: 16px; height: 16px; }
.kpi-text { flex: 1; }
.kpi-label { font-size: 0.72rem; color: var(--oh-slate-500); line-height: 1.25; }
.kpi-value-row { display: flex; align-items: baseline; gap: 6px; }
.kpi-value { font-size: 1.3rem; font-weight: 700; color: var(--oh-slate-900); line-height: 1.1; }
.kpi-delta { font-size: 0.7rem; font-weight: 600; }
.kpi-delta.up { color: #dc2626; }
.kpi-delta.down { color: #16a34a; }
.kpi-sub { font-size: 0.7rem; color: var(--oh-slate-500); }

/* ===================== UPDATES LIST (compact) ===================== */
.update-item {
  display: flex; gap: 9px; padding: 7px 3px;
  border-bottom: 1px solid var(--oh-slate-100);
  cursor: pointer;
  transition: background 0.15s;
}
.update-item:last-child { border-bottom: none; }
.update-item:hover { background: var(--oh-slate-50); }
.update-icon {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.update-icon svg { width: 14px; height: 14px; }
.update-body { flex: 1; min-width: 0; }
.update-title { font-size: 0.76rem; font-weight: 600; color: var(--oh-slate-900); line-height: 1.3; margin-bottom: 2px; }
.update-meta { font-size: 0.66rem; color: var(--oh-slate-500); display: flex; gap: 4px; }
.update-tag { font-weight: 600; }
.update-tag.human { color: var(--oh-human); }
.update-tag.animal { color: var(--oh-animal); }
.update-tag.env { color: var(--oh-env-bg); color: #16a34a; }
.update-tag.amr { color: var(--oh-amr); }
.update-tag.program { color: var(--oh-slate-500); }

/* ===================== QUICK LINKS ===================== */
.quick-link {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--oh-slate-50);
  border: 1px solid var(--oh-slate-200);
  border-radius: 12px;
  padding: 16px 8px;
  gap: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  color: var(--oh-slate-700);
}
.quick-link:hover { background: white; border-color: var(--oh-green); transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0,0,0,0.06); }
.quick-link svg { width: 24px; height: 24px; color: var(--oh-navy); }
.quick-link span { font-size: 0.78rem; font-weight: 600; }

/* ===================== MAP ===================== */
#main-map, #mini-map { width: 100%; border-radius: 12px; }
#main-map { height: 620px; }
#mini-map { height: 220px; }

/* === Bhutan-style horizontal control bar === */
.map-bar {
  background: white;
  border-radius: 14px;
  border: 1px solid var(--oh-slate-200);
  padding: 10px 14px;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.map-bar-row {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
}
.map-bar-row::-webkit-scrollbar { height: 4px; }
.map-bar-row::-webkit-scrollbar-thumb { background: var(--oh-slate-200); border-radius: 2px; }
.map-bar-row > * { flex-shrink: 0; }
.map-bar-label {
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.08em; color: var(--oh-slate-500);
  text-transform: uppercase;
  padding: 4px 10px; background: var(--oh-slate-100); border-radius: 999px;
  flex-shrink: 0;
}
.map-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem; font-weight: 500;
  background: white;
  border: 1px solid var(--oh-slate-200);
  color: var(--oh-slate-700);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  white-space: nowrap;
}
.map-chip:hover { border-color: var(--oh-slate-500); }
.map-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.map-chip.active {
  background: #ecfeff;
  border-color: #0891b2;
  color: #0e7490;
}
.map-chip.active .dot { background: #0891b2; }
.map-chip-temp.active   { background:#fff7ed; border-color:#f97316; color:#c2410c; }
.map-chip-temp.active .dot { background:#f97316; }
.map-chip-rain.active   { background:#eff6ff; border-color:#1d4ed8; color:#1e40af; }
.map-chip-rain.active .dot { background:#1d4ed8; }
.map-chip-forest.active { background:#f0fdf4; border-color:#15803d; color:#14532d; }
.map-chip-forest.active .dot { background:#15803d; }
.map-chip-avian.active  { background:#eff6ff; border-color:#1d4ed8; color:#1e40af; }
.map-chip-avian.active .dot { background:#93c5fd; }
.map-chip-kfd.active    { background:#fef3c7; border-color:#a16207; color:#78350f; }
.map-chip-kfd.active .dot { background:#a16207; }
.map-chip-bruc.active   { background:#fdf2f8; border-color:#be185d; color:#9f1239; }
.map-chip-bruc.active .dot { background:#f9a8d4; }
.map-chip-rivers.active { background:#ecfeff; border-color:#0284c7; color:#075985; }
.map-chip-rivers.active .dot { background:#0284c7; }

.map-bar select {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--oh-slate-200);
  font-size: 0.78rem;
  color: var(--oh-slate-700);
  background: white;
  cursor: pointer;
}
.map-bar-stats {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--oh-slate-500);
}
.map-bar-stats b { color: var(--oh-slate-900); }

.map-controls {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--oh-slate-200);
  padding: 16px;
}
.map-control-section { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--oh-slate-100); }
.map-control-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.map-control-title {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--oh-slate-500); margin-bottom: 10px;
}
.map-control-group { display: flex; flex-direction: column; gap: 6px; }
.map-radio, .map-checkbox {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.86rem; color: var(--oh-slate-700);
  cursor: pointer; padding: 4px 0;
}
.map-radio input, .map-checkbox input { cursor: pointer; }

/* Map hover tooltip */
.map-tooltip {
  position: absolute;
  background: white;
  border: 1px solid var(--oh-slate-200);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.78rem;
  pointer-events: none;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  display: none;
  min-width: 180px;
  max-width: 260px;
}
.map-tooltip.show { display: block; }
.tt-district { font-weight: 700; color: var(--oh-slate-900); font-size: 0.88rem; margin-bottom: 6px; padding-bottom: 6px; border-bottom: 1px solid var(--oh-slate-100); }
.tt-layer-label { font-size: 0.7rem; color: var(--oh-slate-500); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.tt-layer-value { font-weight: 600; color: var(--oh-slate-900); margin-bottom: 8px; }
.tt-band-row { display: flex; align-items: center; gap: 6px; font-size: 0.76rem; }
.tt-band-swatch { width: 14px; height: 14px; border-radius: 3px; border: 1px solid rgba(0,0,0,0.08); }
.tt-arrow { font-weight: 700; color: #dc2626; margin-left: 4px; }

/* Legend */
.legend-card {
  background: white;
  border-radius: 10px;
  border: 1px solid var(--oh-slate-200);
  padding: 10px 12px;
  font-size: 0.74rem;
  min-width: 180px;
}
.legend-title { font-weight: 700; color: var(--oh-slate-900); margin-bottom: 6px; font-size: 0.78rem; }
.legend-unit { font-size: 0.66rem; color: var(--oh-slate-500); font-weight: 400; }
.legend-bar {
  height: 14px; border-radius: 3px; margin: 4px 0;
  border: 1px solid rgba(0,0,0,0.08);
}
.legend-scale { display: flex; justify-content: space-between; font-size: 0.66rem; color: var(--oh-slate-500); }
.legend-disk-row { display: flex; align-items: center; gap: 8px; margin: 4px 0; }
.legend-disk { border-radius: 50%; border: 1px solid rgba(0,0,0,0.1); }

/* ===================== BUTTONS ===================== */
.btn-primary {
  background: var(--oh-navy);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--oh-navy-light); }

.btn-secondary {
  background: white;
  color: var(--oh-slate-700);
  border: 1px solid var(--oh-slate-200);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.86rem;
  cursor: pointer;
}
.btn-secondary:hover { border-color: var(--oh-slate-500); }

/* ===================== CHART CONTAINERS (fixed-height to prevent overflow) ===================== */
.chart-box-sm { position: relative; height: 120px; width: 100%; }
.chart-box-md { position: relative; height: 220px; width: 100%; }
.chart-box-lg { position: relative; height: 280px; width: 100%; }

/* ===================== VENN (compact v2) ===================== */
.venn-container-v2 {
  position: relative;
  width: 340px; height: 300px;
  margin: 0 auto;
  max-width: 100%;
}
.venn-container-v2 .venn-circle {
  width: 180px; height: 180px;
}
.venn-container-v2 .venn-human    { top: 0; left: 80px; }
.venn-container-v2 .venn-animal   { bottom: 0; left: 0; }
.venn-container-v2 .venn-env      { bottom: 0; right: 0; }
.venn-container-v2 .venn-core {
  width: 132px; height: 132px;
  padding: 10px;
}
.venn-container-v2 .venn-core ul { font-size: 0.66rem; line-height: 1.4; }
.venn-container-v2 .venn-core ul li b { font-size: 0.72rem; }
.venn-label-v2 {
  position: absolute;
  text-align: center;
  pointer-events: none;
  z-index: 5;
  max-width: 120px;
}
.venn-label-v2 .venn-label-title {
  font-weight: 700; font-size: 0.66rem;
  letter-spacing: 0.04em; margin-bottom: 2px;
  display: flex; align-items: center; justify-content: center; gap: 3px;
}
.venn-label-v2 .venn-label-title svg { width: 12px; height: 12px; }
.venn-label-v2 ul {
  font-size: 0.58rem;
  color: #334155; list-style: none; padding: 0; margin: 0;
  line-height: 1.3;
}
.venn-label-v2 ul li::before { content: "• "; }

/* Hover-only intersection hotzones */
.venn-hotzone {
  position: absolute;
  width: 70px;
  height: 50px;
  z-index: 6;
  cursor: help;
  border-radius: 50%;
}
.venn-hotzone-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  background: #0f172a;
  color: white;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 0.62rem;
  line-height: 1.35;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
  transform: translate(-50%, 4px);
  z-index: 20;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
.venn-hotzone-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #0f172a;
}
.venn-hotzone-tooltip b {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  color: #93c5fd;
  margin-bottom: 3px;
}
.venn-hotzone:hover .venn-hotzone-tooltip {
  opacity: 1;
  transform: translate(-50%, -6px);
}

/* flip-below: tooltip pops out BELOW the hotzone (used for Animal+Env
   intersection at the bottom of the Venn — otherwise the tooltip covers
   the core circle). */
.venn-hotzone.flip-below .venn-hotzone-tooltip {
  bottom: auto;
  top: 100%;
  transform: translate(-50%, 4px);
}
.venn-hotzone.flip-below .venn-hotzone-tooltip::after {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: #0f172a;
}
.venn-hotzone.flip-below:hover .venn-hotzone-tooltip {
  transform: translate(-50%, 8px);
}

/* ===================== TABLES & MISC ===================== */
.section-title { font-size: 0.86rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--oh-slate-700); }
.section-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.link-action {
  color: var(--oh-green);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}
.link-action svg { width: 0.85rem; height: 0.85rem; flex-shrink: 0; }

.tag-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; font-size: 0.7rem; font-weight: 600;
  border-radius: 999px;
}
.tag-human { background: var(--oh-human-bg); color: #1e40af; }
.tag-animal { background: var(--oh-animal-bg); color: #9a3412; }
.tag-env { background: var(--oh-env-bg); color: #14532d; }
.tag-amr { background: var(--oh-amr-bg); color: #5b21b6; }
.tag-bruc { background: #fdf2f8; color: #9f1239; }

.donut-legend-row { display: flex; align-items: center; gap: 8px; margin: 3px 0; font-size: 0.82rem; }
.donut-legend-swatch { width: 10px; height: 10px; border-radius: 2px; }

footer.oh-footer {
  background: var(--oh-navy);
  color: rgba(255,255,255,0.75);
  padding: 16px 0;
  font-size: 0.82rem;
}
footer.oh-footer a { color: rgba(255,255,255,0.85); }
footer.oh-footer a:hover { color: white; }

/* Print-friendly */
@media print {
  .oh-header, footer.oh-footer { display: none; }
}
