/*
 * ReachApp public-portal design tokens (Wave 10d).
 *
 * A LIGHT-MODE-ONLY subset of the canonical --hal-* tokens from
 * resources/js/reachapp/assets/_tokens.css, exported so the server-rendered
 * public portals (Knowledge public article, Support ticket portal, Support CSAT)
 * share the app's visual language without pulling in the Vite bundle.
 *
 * Values are copied verbatim from _tokens.css :root (light mode). Keep in sync
 * when the canonical light values change. Dark mode is intentionally omitted —
 * public portals are light-only.
 *
 * The portals reference these as `var(--hal-token, #literal)` where #literal is
 * the portal's original hardcoded colour, so:
 *   - if this stylesheet loads, the portal harmonises to the app palette;
 *   - if it 404s, the portal renders exactly as before (fallback literal).
 */
:root {
  /* Background */
  --hal-bg: #ffffff;
  --hal-bg-secondary: #f8fafc;
  --hal-bg-tertiary: #f1f5f9;

  /* Text */
  --hal-text: #0f172a;
  --hal-text-secondary: #475569;
  --hal-text-muted: #94a3b8;
  --hal-text-faint: #cbd5e1;
  --hal-text-inverse: #ffffff;

  /* Borders */
  --hal-border: #e2e8f0;

  /* Primary (indigo) */
  --hal-primary: #4f46e5;
  --hal-primary-hover: #4338ca;
  --hal-primary-light: #eef2ff;

  /* Accent (violet — AI/brand highlight) */
  --hal-accent: #7c3aed;
  --hal-accent-bg: #ede4ff;
  --hal-accent-fg: #5b21b6;

  /* Semantic */
  --hal-success: #16a34a;
  --hal-warning: #f59e0b;
  --hal-danger: #dc2626;
  --hal-info: #0284c7;

  /* Status badge surfaces (from _tokens.css extended block, light) */
  --hal-badge-success-bg: #dff5ea;
  --hal-badge-success-fg: #059669;
  --hal-badge-warning-bg: #fdf1d8;
  --hal-badge-warning-fg: #d97706;
  --hal-badge-danger-bg: #fee4e2;
  --hal-badge-danger-fg: #b91c1c;
}
