/* ═══════════════════════════════════════════════════════════════════════
   Plazas FSE 2026 — stylesheet
   Author: Pablo García-Mochales
   Architecture: tokens → reset → base → primitives → components → utilities
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Tokens (claro por defecto) ────────────────────────────────────────── */
:root {
  /* Tipografías */
  --font-serif: 'Fraunces', ui-serif, Georgia, serif;
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Color: blanco luminoso con liquid glass */
  --bg: #ffffff;
  --bg-deep: #f4f9fb;
  --surface: rgba(255, 255, 255, 0.55);
  --surface-strong: rgba(255, 255, 255, 0.78);
  --border: rgba(15, 30, 50, 0.07);
  --border-strong: rgba(15, 30, 50, 0.14);

  --ink: #0a1628;
  --ink-soft: #2c3e54;
  --ink-mute: #5b6c80;
  --ink-faint: #8294a8;

  --accent: #22b0cc;
  --accent-deep: #1a8aa3;
  --accent-soft: rgba(34, 176, 204, 0.10);

  /* Verde "bata de hospital" como segundo color narrativo */
  --hospital: #0a8f5c;
  --hospital-deep: #086e47;
  --hospital-soft: rgba(10, 143, 92, 0.08);

  --good: #0a8f5c;
  --warn: #d97706;
  --bad: #dc2626;
  --bad-soft: rgba(220, 38, 38, 0.08);

  /* Mapa choropleth ramps (cian Eregion graduado) */
  --c0: rgba(34, 176, 204, 0.05);
  --c1: rgba(34, 176, 204, 0.18);
  --c2: rgba(34, 176, 204, 0.34);
  --c3: rgba(34, 176, 204, 0.52);
  --c4: rgba(34, 176, 204, 0.74);
  --c5: rgba(34, 176, 204, 0.94);

  /* Bg blobs gradiente — combinación cian + verde bata */
  --blob-cian: #b3e0ec;
  --blob-cian-deep: #8ec9d8;
  --blob-bata: #b6e0ce;
  --blob-bata-deep: #8ecbb1;
  --blob-soft: #e8f2f8;

  /* Geometría */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(15, 30, 50, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 30, 50, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 30, 50, 0.08);
  --shadow-glow: 0 0 0 4px rgba(34, 176, 204, 0.18);

  /* Transiciones */
  --t-fast: 120ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-normal: 240ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 480ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ── Modo oscuro ───────────────────────────────────────────────────────── */
[data-theme="dark"] {
  --bg: #0a1628;
  --bg-deep: #050d18;
  --surface: rgba(20, 35, 55, 0.50);
  --surface-strong: rgba(20, 35, 55, 0.78);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --ink: #f0f6fb;
  --ink-soft: #c8d4e0;
  --ink-mute: #8294a8;
  --ink-faint: #5b6c80;

  --accent: #5fd4ee;
  --accent-deep: #22b0cc;
  --accent-soft: rgba(95, 212, 238, 0.12);

  --hospital: #4ade80;
  --hospital-deep: #22c55e;
  --hospital-soft: rgba(74, 222, 128, 0.10);

  --good: #4ade80;
  --warn: #fbbf24;
  --bad: #f87171;
  --bad-soft: rgba(248, 113, 113, 0.10);

  --c0: rgba(95, 212, 238, 0.06);
  --c1: rgba(95, 212, 238, 0.18);
  --c2: rgba(95, 212, 238, 0.34);
  --c3: rgba(95, 212, 238, 0.52);
  --c4: rgba(95, 212, 238, 0.74);
  --c5: rgba(95, 212, 238, 0.94);

  --blob-cian: #1a3a5c;
  --blob-cian-deep: #224060;
  --blob-bata: #1c3a44;
  --blob-bata-deep: #224a52;
  --blob-soft: #0c1e34;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.20);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.40);
  --shadow-glow: 0 0 0 4px rgba(95, 212, 238, 0.22);
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 4; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding-left: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ── Base ──────────────────────────────────────────────────────────────── */
html, body { min-height: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

::selection {
  background: var(--accent);
  color: white;
}

/* ── Bg liquid: blanco + blobs cian/verde + líneas suaves ─────────────── */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg);
}
.bg-canvas::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 600px at 12% 8%, var(--blob-soft) 0%, transparent 60%),
    radial-gradient(circle 800px at 100% 50%, var(--blob-soft) 0%, transparent 65%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
  mix-blend-mode: multiply;
}
[data-theme="dark"] .blob { mix-blend-mode: screen; opacity: 0.6; }

.blob-1 {
  width: 540px; height: 540px;
  background: radial-gradient(circle, var(--blob-cian) 0%, var(--blob-cian-deep) 100%);
  top: -8%; left: -10%;
  animation: floatA 34s ease-in-out infinite;
}
.blob-2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--blob-bata) 0%, var(--blob-bata-deep) 100%);
  top: 22%; right: -12%;
  animation: floatB 42s ease-in-out infinite;
}
.blob-3 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--blob-cian) 0%, var(--blob-bata) 100%);
  bottom: -8%; left: 18%;
  animation: floatC 28s ease-in-out infinite;
}
.blob-4 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, var(--blob-bata) 0%, var(--blob-cian-deep) 100%);
  top: 55%; left: 35%;
  animation: floatD 36s ease-in-out infinite;
}
.blob-5 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--blob-cian-deep) 0%, transparent 100%);
  top: 8%; right: 22%;
  animation: floatE 40s ease-in-out infinite;
  opacity: 0.35;
}

@keyframes floatA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 120px) scale(1.1); }
  66% { transform: translate(-60px, 80px) scale(0.95); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-100px, 60px) scale(1.08); }
}
@keyframes floatC {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(60px, -80px) scale(1.05); }
  80% { transform: translate(-40px, 40px) scale(0.92); }
}
@keyframes floatD {
  0%, 100% { transform: translate(0, 0) scale(1); }
  35% { transform: translate(-70px, -50px) scale(1.06); }
  70% { transform: translate(50px, 60px) scale(0.96); }
}
@keyframes floatE {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 80px) scale(1.12); }
}

/* Líneas suaves animadas (SVG embebido vía mask) */
.bg-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
}
.bg-lines svg {
  width: 100%;
  height: 100%;
}
.bg-lines path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  stroke-opacity: 0.15;
  stroke-dasharray: 6 12;
  animation: drift 60s linear infinite;
}
.bg-lines path:nth-child(2) {
  stroke: var(--hospital);
  stroke-opacity: 0.12;
  animation-duration: 72s;
  animation-direction: reverse;
}
@keyframes drift {
  to { stroke-dashoffset: -1000; }
}

@media (prefers-reduced-motion: reduce) {
  .blob, .bg-lines path { animation: none; }
}

/* ── Glass primitive ──────────────────────────────────────────────────── */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-md);
}
.glass-hover {
  transition: transform var(--t-normal), box-shadow var(--t-normal), border-color var(--t-normal);
}
.glass-hover:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

/* ── Container ─────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── LiveBar superior ──────────────────────────────────────────────────── */
.livebar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
[data-theme="dark"] .livebar { background: #000; }
.livebar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 12px;
}
.livebar-pulse {
  width: 8px; height: 8px;
  background: #ff4444;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}
.livebar-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.7;
  flex-shrink: 0;
}
.livebar-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Nav header ────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 36px;
  z-index: 40;
  margin: 24px var(--gutter) 0;
  border-radius: var(--r-pill);
  padding: 4px;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 12px 8px 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-family: var(--font-serif);
}
.brand-mark {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 8px;
  border-radius: var(--r-sm);
}
.brand-name {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.brand-name em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink-mute);
}
.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 14px;
  color: var(--ink-soft);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-links a:hover {
  background: var(--accent-soft);
  color: var(--accent-deep);
}
@media (max-width: 860px) {
  .nav-links { display: none; }
}
.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  color: var(--ink-soft);
  transition: background var(--t-fast), color var(--t-fast);
  flex-shrink: 0;
}
.icon-btn:hover { background: var(--accent-soft); color: var(--accent-deep); }
.icon-sun { display: block; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 64px);
  max-width: 880px;
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent-deep);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 20px;
  font-variation-settings: 'opsz' 100;
}
.hero-title em {
  font-style: italic;
  color: var(--accent-deep);
  font-weight: 300;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ink-mute);
  line-height: 1.55;
  max-width: 620px;
  margin-bottom: 28px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 13px;
  color: var(--ink-mute);
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.meta-item strong { color: var(--ink); font-weight: 500; }
.meta-item a { color: var(--accent-deep); border-bottom: 1px solid currentColor; }
.meta-dot {
  width: 8px; height: 8px;
  background: var(--good);
  border-radius: 50%;
  flex-shrink: 0;
}
.meta-dot-live {
  background: var(--good);
  box-shadow: 0 0 0 0 var(--good);
  animation: pulseSoft 2s ease-in-out infinite;
}
@keyframes pulseSoft {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
}

/* ── Tabs (toggle premium 4 titulaciones) ──────────────────────────────── */
.tabs-wrap {
  margin-bottom: clamp(48px, 6vw, 80px);
}
.tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  padding: 6px;
  border-radius: var(--r-xl);
}
.tab-indicator {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: calc((100% - 12px) / 4);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-normal);
  z-index: 0;
}
.tab {
  position: relative;
  z-index: 1;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border-radius: 18px;
  color: var(--ink-mute);
  transition: color var(--t-fast);
}
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"] .tab-code { color: var(--accent-deep); }
.tab-code {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color var(--t-fast);
}
.tab-label {
  font-size: 12px;
  color: var(--ink-faint);
}

/* ── Section base ──────────────────────────────────────────────────────── */
.section {
  margin-bottom: clamp(64px, 8vw, 96px);
  scroll-margin-top: 120px;
}
.section-head {
  margin-bottom: clamp(24px, 3vw, 40px);
  max-width: 720px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-title em {
  font-style: italic;
  color: var(--accent-deep);
  font-weight: 300;
}
.section-desc {
  font-size: 16px;
  color: var(--ink-mute);
  line-height: 1.55;
  margin-top: 12px;
}

/* ── KPI grid ──────────────────────────────────────────────────────────── */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.kpi {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.kpi-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
}
.kpi-value {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  font-variation-settings: 'opsz' 100;
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.kpi-value.mono {
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.01em;
}
.kpi-value.accent { color: var(--accent-deep); }
.kpi-value.bad { color: var(--bad); }
.kpi-sub {
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 4px;
}
.kpi-sub span { color: var(--ink); font-weight: 500; }
.kpi-bar {
  margin-top: 12px;
  height: 4px;
  background: var(--accent-soft);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.kpi-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
  transition: width var(--t-slow);
}

/* ── Especialidades grid ───────────────────────────────────────────────── */
.esp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.esp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.esp-card:hover { border-color: var(--border-strong); }
.esp-card.agotada {
  background: var(--bad-soft);
  border-color: rgba(220, 38, 38, 0.20);
}
.esp-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.esp-pct {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mute);
  flex-shrink: 0;
}
.esp-card.agotada .esp-pct { color: var(--bad); }
.esp-meta {
  font-size: 12px;
  color: var(--ink-faint);
}
.esp-bar {
  height: 3px;
  background: var(--accent-soft);
  border-radius: var(--r-pill);
  overflow: hidden;
  margin-top: 4px;
}
.esp-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
  transition: width var(--t-slow);
}
.esp-card.agotada .esp-bar-fill { background: var(--bad); }
.esp-card.agotada .esp-bar { background: var(--bad-soft); }
.esp-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bad);
  font-weight: 500;
}

/* ── Mapa wrap ─────────────────────────────────────────────────────────── */
.map-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  padding: 32px;
  align-items: stretch;
}
@media (max-width: 800px) {
  .map-wrap { grid-template-columns: 1fr; padding: 20px; }
}
.map-container {
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.map-container svg {
  width: 100%;
  height: auto;
  max-height: 580px;
}
.map-region {
  fill: var(--c0);
  stroke: var(--ink-faint);
  stroke-width: 0.8;
  stroke-opacity: 0.35;
  cursor: pointer;
  transition: fill 200ms cubic-bezier(0.4,0,0.2,1), stroke 120ms;
}
.map-region:hover {
  stroke: var(--accent-deep);
  stroke-width: 1.6;
  stroke-opacity: 1;
}
.map-region.active {
  stroke: var(--accent-deep);
  stroke-width: 1.8;
  stroke-opacity: 1;
}
.map-side {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  min-height: 200px;
  align-self: start;
  position: sticky;
  top: 120px;
}
.map-side-empty {
  font-size: 13px;
  color: var(--ink-faint);
  font-style: italic;
}
.map-side h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 12px;
  color: var(--ink);
  font-variation-settings: 'opsz' 100;
}
.map-side dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
}
.map-side dt {
  font-size: 12px;
  color: var(--ink-mute);
}
.map-side dd {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-align: right;
}

/* ── Hospitales list ───────────────────────────────────────────────────── */
.hospitales-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hosp {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.hosp:hover { border-color: var(--border-strong); transform: translateX(2px); }
.hosp-rank {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-faint);
  text-align: center;
}
.hosp-info {
  min-width: 0;
}
.hosp-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hosp-loc {
  font-size: 12px;
  color: var(--ink-faint);
}
.hosp-count {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-deep);
  flex-shrink: 0;
}

/* ── Chart ─────────────────────────────────────────────────────────────── */
.chart-wrap {
  padding: 24px;
}
.chart-wrap canvas { max-height: 320px; }

/* ── Calculadora ───────────────────────────────────────────────────────── */
.predict-wrap {
  display: grid;
  gap: 20px;
}
.predict-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  padding: 24px;
}
@media (max-width: 600px) {
  .predict-form { grid-template-columns: 1fr; }
}
.predict-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
  font-weight: 500;
  grid-column: 1 / -1;
}
#predict-input {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  font-variation-settings: 'opsz' 100;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--border-strong);
  padding: 8px 0;
  color: var(--ink);
  outline: none;
  letter-spacing: -0.01em;
  width: 100%;
  transition: border-color var(--t-fast);
}
#predict-input:focus { border-color: var(--accent); }
#predict-input::placeholder { color: var(--ink-faint); font-style: italic; }
.predict-btn {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: white;
  background: var(--ink);
  padding: 14px 28px;
  border-radius: var(--r-pill);
  transition: background var(--t-fast), transform var(--t-fast);
  white-space: nowrap;
}
.predict-btn:hover { background: var(--accent); }
.predict-btn:active { transform: scale(0.97); }

.predict-result {
  display: grid;
  gap: 12px;
}
.predict-card {
  padding: 24px;
  display: grid;
  gap: 4px;
}
.predict-card-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
}
.predict-when {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 400;
  font-style: italic;
  font-variation-settings: 'opsz' 100;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-top: 4px;
  line-height: 1.15;
}
.predict-when strong {
  font-style: normal;
  color: var(--accent-deep);
  font-weight: 400;
}
.predict-detail {
  font-size: 14px;
  color: var(--ink-mute);
  margin-top: 6px;
}
.predict-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 600px) {
  .predict-grid-2 { grid-template-columns: 1fr; }
}
.predict-rank {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.predict-rank-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.predict-rank-item:last-child { border-bottom: 0; }
.predict-rank-item span:first-child { color: var(--ink-soft); flex: 1; min-width: 0; padding-right: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.predict-rank-item span:last-child { font-family: var(--font-mono); font-weight: 500; color: var(--accent-deep); }

/* ── Calendario ────────────────────────────────────────────────────────── */
.calendar-grid {
  display: grid;
  gap: 6px;
}
.cal-row {
  display: grid;
  grid-template-columns: 110px 70px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 13px;
  transition: border-color var(--t-fast), background var(--t-fast);
}
@media (max-width: 600px) {
  .cal-row { grid-template-columns: 90px 60px 1fr; gap: 10px; padding: 10px 12px; }
}
.cal-row.past { opacity: 0.45; }
.cal-row.now {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.cal-date {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.cal-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
}
.cal-info {
  font-size: 13px;
  color: var(--ink);
  min-width: 0;
}
.cal-info strong { font-weight: 500; }
.cal-info span { color: var(--ink-faint); margin-left: 6px; font-family: var(--font-mono); font-size: 12px; }
.cal-row.now::before {
  content: '◆';
  margin-right: 4px;
  color: var(--accent);
}

/* ── Loading state ─────────────────────────────────────────────────────── */
.loading {
  font-style: italic;
  color: var(--ink-faint);
  padding: 32px;
  text-align: center;
  font-size: 14px;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
  margin-top: clamp(64px, 8vw, 96px);
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.6;
}
.footer-source a {
  color: var(--accent-deep);
  border-bottom: 1px solid currentColor;
}
.footer-meta {
  font-size: 12px;
  color: var(--ink-faint);
  font-style: italic;
}
.footer-author a {
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--border-strong);
  transition: border-color var(--t-fast);
}
.footer-author a:hover { border-color: var(--accent); color: var(--accent-deep); }

/* ── Utils ─────────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.no-data {
  font-size: 13px;
  color: var(--ink-faint);
  text-align: center;
  padding: 24px;
  font-style: italic;
}

/* ── Print ─────────────────────────────────────────────────────────────── */
@media print {
  .nav, .livebar, .footer, .blob, .bg-canvas { display: none; }
  body { background: white; color: black; }
}

/* ════════════════════════════════════════════════════════════════════════
   Explora plazas (sección 06 — el moat)
   ════════════════════════════════════════════════════════════════════════ */

.explora-controls {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 16px;
  padding: 20px;
  margin-bottom: 24px;
  align-items: end;
}
@media (max-width: 700px) {
  .explora-controls { grid-template-columns: 1fr; }
}

.explora-label {
  display: block;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}

.explora-search {
  position: relative;
}

.explora-input {
  width: 100%;
  font-family: var(--font-sans, 'Geist', system-ui);
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm, 10px);
  background: var(--surface-strong);
  color: var(--ink);
  outline: none;
  transition: border 120ms, box-shadow 120ms;
}
.explora-input:focus {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow, 0 0 0 4px rgba(34, 176, 204, 0.15));
}
.explora-input::placeholder { color: var(--ink-faint); }

.explora-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm, 10px);
  box-shadow: var(--shadow-lg, 0 12px 40px rgba(0, 0, 0, 0.16));
  max-height: 320px;
  overflow-y: auto;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.explora-sug {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 120ms;
}
.explora-sug:hover {
  background: var(--accent-soft);
}
.explora-sug-name {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.explora-sug-meta {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  color: var(--ink-mute);
  white-space: nowrap;
}
.explora-sug-empty {
  padding: 12px;
  font-size: 13px;
  color: var(--ink-faint);
  font-style: italic;
  text-align: center;
}

.explora-select {
  width: 100%;
  font-family: var(--font-sans, 'Geist', system-ui);
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm, 10px);
  background: var(--surface-strong);
  color: var(--ink);
  cursor: pointer;
  outline: none;
}
.explora-select:focus {
  border-color: var(--accent);
}

/* ── Resultados ── */
.explora-prompt {
  text-align: center;
  padding: 48px 24px;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-md, 16px);
}
.explora-prompt-title {
  font-family: var(--font-serif, 'Fraunces', serif);
  font-size: 20px;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 8px;
}
.explora-prompt-desc {
  font-size: 14px;
  color: var(--ink-mute);
  max-width: 480px;
  margin: 0 auto;
}

.explora-empty {
  text-align: center;
  padding: 32px;
  color: var(--ink-mute);
  font-style: italic;
}
.explora-error { color: var(--bad); }

/* Totales */
.explora-totals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 20px;
  margin-bottom: 16px;
}
@media (max-width: 600px) {
  .explora-totals { grid-template-columns: repeat(2, 1fr); }
}
.explora-total {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 12px;
  border-right: 1px solid var(--border);
}
.explora-total:last-child { border-right: none; }
@media (max-width: 600px) {
  .explora-total { border-right: none; }
}
.explora-total-label {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.explora-total-value {
  font-family: var(--font-serif, 'Fraunces', serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.explora-total-good { color: var(--hospital, var(--good)); }
.explora-total-mute { color: var(--ink-mute); }

/* Tabla */
.explora-table-wrap {
  padding: 0;
  overflow: hidden;
  border-radius: var(--r-md, 16px);
}
.explora-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.explora-table thead th {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.explora-th-num { text-align: right; }

.explora-row {
  border-bottom: 1px solid var(--border);
  transition: background 120ms;
}
.explora-row:hover { background: var(--accent-soft); }
.explora-row:last-child { border-bottom: none; }

.explora-cell-icon {
  width: 32px;
  text-align: center;
  font-size: 16px;
  padding: 14px 0 14px 16px;
}
.explora-cell-hosp {
  padding: 14px 16px;
}
.explora-hosp-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 2px;
}
.explora-hosp-loc {
  font-size: 12px;
  color: var(--ink-faint);
  font-family: ui-monospace, Menlo, monospace;
}
.explora-cell-num {
  text-align: right;
  padding: 14px 16px;
  font-family: ui-monospace, Menlo, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.explora-cell-mute { color: var(--ink-mute); font-weight: 400; }

.explora-row-agot .explora-cell-num:nth-of-type(3) {
  color: var(--bad);
}
.explora-row-casi .explora-cell-num:nth-of-type(3) {
  color: var(--warn);
}
.explora-row-ok .explora-cell-num:nth-of-type(3) {
  color: var(--hospital, var(--good));
  font-weight: 600;
}

/* ── Predictor histórico v0.5.0 ───────────────────────────────────────── */
.predict-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.predict-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.predict-card-header h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  flex: 1;
  color: var(--ink);
}
.predict-count {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-faint);
  font-family: var(--font-mono);
}
.predict-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.predict-dot--ok   { background: var(--good); }
.predict-dot--warn { background: var(--warn); }
.predict-dot--no   { background: var(--bad); }
.predict-sub {
  font-size: 11px;
  color: var(--ink-mute);
  margin: 0 0 10px;
}
.predict-card--seguras,
.predict-card--ajustadas,
.predict-card--imposibles {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.predict-espec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.predict-espec {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 8px 10px;
}
.predict-espec--segura    { border-left: 3px solid var(--good); }
.predict-espec--ajustada  { border-left: 3px solid var(--warn); }
.predict-espec--imposible { border-left: 3px solid var(--bad); opacity: 0.75; }
.predict-espec-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.predict-espec-meta {
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 2px;
  font-family: var(--font-mono);
}
.chip-agotada {
  color: var(--bad);
  font-weight: 500;
}

/* ── Mapa: selector de especialidad v0.5.0 ────────────────────────────── */
.mapa-controls {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  max-width: 360px;
}
.mapa-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mapa-select {
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  font-size: 13px;
  font-family: inherit;
  color: var(--ink);
  cursor: pointer;
  transition: border-color var(--t-fast);
}
.mapa-select:hover  { border-color: var(--accent); }
.mapa-select:focus  { outline: none; border-color: var(--accent); box-shadow: var(--shadow-glow); }

/* ═══════════════════════════════════════════════════════════
   v0.5.1 — Estilos nuevos
   ═══════════════════════════════════════════════════════════ */

/* ── 1. LiveBar (el HTML ya existe; aquí solo activamos el estilo) ── */
.livebar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: linear-gradient(90deg, rgba(220,38,38,0.95), rgba(190,18,60,0.95));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transform: translateY(0);
  transition: transform .3s ease;
}
.livebar[hidden] { display: block !important; transform: translateY(-100%); pointer-events: none; }
.livebar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
}
.livebar-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  animation: livebar-pulse 1.5s ease-in-out infinite;
}
@keyframes livebar-pulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}
.livebar-label {
  background: rgba(255,255,255,0.25);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.livebar-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── 2. Calendario colapsable (clase única .expanded) ── */
.cal-section-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 14px;
  margin: 8px 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mute);
  cursor: pointer;
  font-family: inherit;
}
.cal-section-toggle:hover { background: rgba(0,0,0,0.02); }
.cal-section-toggle::after {
  content: '▼';
  font-size: 10px;
  transition: transform .2s;
}
.cal-section-toggle.expanded::after { transform: rotate(180deg); }
.cal-section-content { display: none; }
.cal-section-content.expanded { display: block; }
.cal-section-count {
  background: var(--ink-mute);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
}

/* ── 3. Selector CCAA en form de calculadora ── */
.predict-controls-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  width: 100%;
}
.predict-control-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 140px;
}
.predict-control-group--num     { flex: 1.5; }
.predict-control-group--ccaa    { flex: 1.2; }
.predict-select {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  height: 48px;
  cursor: pointer;
  transition: border-color var(--t-fast);
}
.predict-select:hover { border-color: var(--accent); }
.predict-select:focus { outline: none; border-color: var(--accent); box-shadow: var(--shadow-glow); }
.predict-ccaa-note {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 8px;
  font-style: italic;
}

/* ── 4. KPIs extra: Agotadas + Top CCAA ── */
.kpi-extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
@media (max-width: 720px) {
  .kpi-extra { grid-template-columns: 1fr; }
}
.kpi-agotadas {
  background: var(--bad-soft);
  border: 1px solid rgba(220,38,38,0.15);
  border-radius: var(--r-lg);
  padding: 16px;
}
.kpi-agotadas-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.kpi-agotadas-header h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  flex: 1;
  color: var(--ink);
}
.kpi-agotadas-count {
  background: var(--bad);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
}
.kpi-agotadas-list,
.kpi-topccaa-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.kpi-agotadas-item {
  background: var(--surface-strong);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  border-left: 3px solid var(--bad);
  font-size: 13px;
}
.kpi-agotadas-item strong {
  font-weight: 600;
  color: var(--ink);
}
.kpi-agotadas-meta {
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 2px;
  font-family: var(--font-mono);
}
.kpi-topccaa {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
}
.kpi-topccaa-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.kpi-topccaa-header h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}
.kpi-topccaa-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.kpi-topccaa-item:last-child { border-bottom: none; }
.kpi-topccaa-name { flex: 1; color: var(--ink); }
.kpi-topccaa-num {
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--good);
}

/* ── 5. Buscador hospital en sección Plazas ── */
.explora-hospital-search {
  position: relative;
  margin: 0 0 16px 0;
}
.explora-hospital-input {
  width: 100%;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  height: 48px;
  transition: border-color var(--t-fast);
}
.explora-hospital-input:focus { outline: none; border-color: var(--accent); box-shadow: var(--shadow-glow); }
.explora-hospital-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  max-height: 320px;
  overflow-y: auto;
  z-index: 10;
}
.explora-hospital-results.hidden,
.explora-hospital-results:empty { display: none; }
.explora-hospital-result {
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.explora-hospital-result:last-child { border-bottom: none; }
.explora-hospital-result:hover,
.explora-hospital-result.active { background: rgba(0,0,0,0.03); }
.explora-hospital-result-name {
  font-weight: 600;
  color: var(--ink);
}
.explora-hospital-result-meta {
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════
   v0.5.2 hotfix — Tabla Explora responsive en móvil
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 600px) {
  .explora-table thead th:nth-child(4),
  .explora-table thead th:nth-child(5),
  .explora-table tbody td:nth-child(4),
  .explora-table tbody td:nth-child(5) {
    display: none;
  }
  .explora-table tbody td:nth-child(3) {
    font-size: clamp(16px, 5vw, 22px);
    font-weight: 700;
    padding-right: 16px;
  }
  .explora-table thead th:nth-child(3) {
    text-align: right;
    padding-right: 16px;
  }
  .explora-cell-icon {
    width: 24px;
    padding-left: 12px;
  }
  .explora-cell-hosp {
    padding: 12px 8px;
  }
  .explora-hosp-name {
    white-space: normal;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .explora-totals { padding: 16px; }
  .explora-total-value { font-size: 24px; }
}
