/* ============================================================
   The Reset Labs® — Design System compartido (fuente: IA Shield)
   Uso:  <link rel="stylesheet" href="/shared/tokens.css">
   Tema: atributo data-theme="light|dark" en <html>
         (theme.js lo gestiona: manual con memoria + fallback sistema)
   ============================================================ */
:root {
  /* Light — base IA Shield */
  --trl-bg: #ffffff;
  --trl-fg: #171717;
  --trl-card: #ffffff;
  --trl-card-alt: #f7f7f8;
  --trl-border: #e5e5e5;
  --trl-muted: #667085;
  --trl-accent: #2f7de1;
  --trl-accent-fg: #ffffff;
  --trl-accent-soft: #e8f1fd;
  --trl-navy: #0b1f3a;          /* marca: header institucional */
  --trl-navy-2: #16406f;
  --trl-ok: #16a34a;
  --trl-warn: #d97706;
  --trl-down: #dc2626;
  --trl-shadow: 0 1px 3px rgba(15,23,42,.06);
  --trl-shadow-hover: 0 10px 26px rgba(15,23,42,.10);
  --trl-radius: 14px;
  --trl-radius-sm: 9px;
  --trl-font: 'Geist', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --trl-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

[data-theme="dark"] {
  --trl-bg: #0a0a0a;
  --trl-fg: #ededed;
  --trl-card: #141414;
  --trl-card-alt: #1a1a1a;
  --trl-border: #262626;
  --trl-muted: #9ca3af;
  --trl-accent: #4b93ed;
  --trl-accent-soft: #12233c;
  --trl-navy: #0a0a0a;
  --trl-navy-2: #14171c;
  --trl-ok: #22c55e;
  --trl-warn: #f59e0b;
  --trl-down: #ef4444;
  --trl-shadow: 0 1px 3px rgba(0,0,0,.4);
  --trl-shadow-hover: 0 10px 26px rgba(0,0,0,.55);
}
