/* Costo Dulce — tokens (claro cálido editorial + precisión fintech) */
:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --border: #e6dfd5;
  --text: #1c1917;
  --muted: #6b6258;
  --accent: #7a4950;
  --on-accent: #ffffff;
  --status-safe: #15803d;
  --status-warn: #b45309;
  --status-danger: #b91c1c;
  --radius: 8px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Serie categórica de la dona (validada: CVD, contraste >= 3:1 sobre #ffffff) */
  --series-1: #8a3f4c;
  --series-2: #b0681f;
  --series-3: #1f6f9a;
  --track: #f1ece4;

  --tap: 44px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
}

a { color: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.num { font-variant-numeric: tabular-nums; }
