/* San Barber design tokens (docs/DESIGN.md section 2).
   Light theme (Javier, 2026-11-12): light grey ground, white cards, gold accent.
   The gold is a placeholder: to apply the official brand color, change
   --accent, --accent-hover and --accent-ink (the darker gold used for text). */
:root {
  color-scheme: light;

  --bg: #F4F4F2;
  --surface: #FFFFFF;
  --surface-2: #ECECEA;
  --line: #E2E2DF;
  --line-soft: #EAEAE7;
  --line-strong: #D0D0CC;
  --text: #121214;
  --text-2: #3D3D42;
  --muted: #66666D;     /* 5.3:1 on white, 4.9:1 on --bg */
  --disabled: #A1A1A8;
  --accent: #E3A63B;    /* fills: buttons, counters, banner */
  --accent-hover: #D4952A;
  --accent-ink: #8F5A06; /* gold for text and focus on light: 5.9:1 on white */
  --on-accent: #111111;
  --ok-bg: #E1F4E8;
  --ok: #146C36;
  --warn-bg: #FBEFD9;
  --warn: #7F5200;
  --bad-bg: #FCE7E6;
  --bad: #B3261E;
  --wa: #25D366;
  --on-wa: #0B2E17;
  --switch-on: #1F9A57;
  --tab-on: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(18, 18, 20, 0.06);
  --shadow-md: 0 6px 20px rgba(18, 18, 20, 0.08);
  --shadow-lg: 0 12px 32px rgba(18, 18, 20, 0.16);

  /* WhatsApp light chat (only inside the sent-confirmation preview) */
  --wa-chat: #EFEAE2;
  --wa-chat-line: #E3DDD3;
  --wa-bubble: #D9FDD3;
  --wa-text: #111B21;

  --font-display: "Archivo", system-ui, sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 8px;
  --r-input: 10px;
  --r-card: 14px;
  --r-btn: 14px;
  --r-summary: 16px;
  --r-pill: 99px;

  --pad: 20px;
  --tap: 44px;
}

@media (min-width: 960px) {
  :root { --pad: 32px; }
}
