/* Design tokens + reset mínimo — páginas admin (panel, check-in, generador, brief).
   Sustituye styles.css (~98KB) donde no se necesita el layout de la invitación. */
:root {
  --bg: #FAF8F5;
  --text: #2B2B2B;
  --text-soft: #6B6B6B;
  --accent: #A89F8E;
  --accent-light: #E8E2D6;
  --line: #D9D2C5;
  --white: #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 999px;
  --r-circle: 50%;

  --shadow-sm: 0 1px 2px rgba(43, 43, 43, 0.04), 0 2px 6px rgba(43, 43, 43, 0.05);
  --shadow-md: 0 2px 4px rgba(43, 43, 43, 0.04), 0 10px 28px rgba(43, 43, 43, 0.07);
  --shadow-lg: 0 4px 10px rgba(43, 43, 43, 0.05), 0 22px 55px rgba(43, 43, 43, 0.11);

  /* Escala de espaciado (base 4px). Usar en gaps/paddings/márgenes. */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  /* Escala tipográfica + interlineados. */
  --fs-xs: 0.72rem;
  --fs-sm: 0.8rem;
  --fs-md: 0.9rem;
  --fs-base: 1rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.6rem;
  --fs-2xl: 2rem;
  --lh-tight: 1.2;
  --lh-normal: 1.5;

  /* Motion: una sola fuente de duraciones/easing. */
  --dur-fast: 0.15s;
  --dur: 0.25s;
  --dur-slow: 0.4s;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Mínimo táctil recomendado (Apple/WCAG). */
  --tap: 44px;

  /* Colores de estado — ÚNICA fuente de verdad (antes hardcodeados/duplicados).
     Confirmó = verde · No asiste = rojo · Sin respuesta = ámbar. */
  --success: #2E7D32;
  --success-bg: #E8F5E9;
  --danger: #C62828;
  --danger-bg: #FDECEA;
  --warning: #B7791F;
  --warning-bg: #FFF8E1;
}

:root[data-theme="dark"] {
  --bg: #1a1714;
  --text: #f0e7d5;
  --text-soft: #a8a08d;
  --accent: #d4af7a;
  --accent-light: #2a2620;
  --line: #3a342c;
  --white: #221f1b;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.30), 0 2px 6px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.30), 0 10px 28px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 4px 10px rgba(0, 0, 0, 0.35), 0 22px 55px rgba(0, 0, 0, 0.55);

  /* Estados adaptados a fondo oscuro (los hex claros quemaban en dark). */
  --success: #8ccf8c;
  --success-bg: #1e2a1e;
  --danger: #ef9a9a;
  --danger-bg: #2a1c1c;
  --warning: #d9b25a;
  --warning-bg: #2a2618;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
