/* HallBeat design tokens, aligned with MissionK12 Flow. */
:root {
  /* Light operational surfaces */
  --bg-base: #f4f7fc;
  --bg-app: #eef3fb;
  --bg-surface: #ffffff;
  --bg-raised: #f8faff;
  --bg-overlay: #eef3fb;

  /* Text */
  --text-primary: #16223b;
  --text-secondary: #526071;
  --text-muted: #647087;
  --text-inverse: #ffffff;
  /* Aliases (scheduling.css referenced these but they were never defined) */
  --text: var(--text-secondary);
  --text-strong: var(--text-primary);

  /* Borders */
  --border: rgba(29, 53, 87, 0.14);
  --border-strong: rgba(29, 53, 87, 0.24);
  --border-focus: rgba(37, 99, 235, 0.52);

  /* Accent — blue */
  --accent: var(--brand-blue, #2563eb);
  --accent-soft: rgba(37, 99, 235, 0.1);
  --accent-border: rgba(37, 99, 235, 0.3);
  --accent-hover: #1d4ed8;

  /* Semantic colors */
  --ok: var(--sem-ok-on-light, #0e9f6e);
  --ok-soft: rgba(14, 159, 110, 0.1);
  --ok-border: rgba(14, 159, 110, 0.25);

  --warn: var(--sem-warn-on-light, #d97706);
  --warn-soft: rgba(217, 119, 6, 0.1);
  --warn-border: rgba(217, 119, 6, 0.25);

  --danger: var(--sem-danger-on-light, #dc2626);
  --danger-soft: rgba(220, 38, 38, 0.08);
  --danger-border: rgba(220, 38, 38, 0.24);

  --purple: #7c3aed;
  --purple-soft: rgba(124, 58, 237, 0.08);
  --purple-border: rgba(124, 58, 237, 0.22);

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'JetBrains Mono', monospace;

  --text-xs: 11px;
  --text-sm: 12px;
  --text-base: 13px;
  --text-md: 14px;
  --text-lg: 16px;
  --text-xl: 20px;
  --text-2xl: 26px;
  --text-3xl: 32px;

  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 8px;
  --radius-xl: 8px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(16, 33, 62, 0.08);
  --shadow-md: 0 12px 34px rgba(16, 33, 62, 0.12);
  --shadow-lg: 0 24px 70px rgba(16, 33, 62, 0.18);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 150ms;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
