/**
 * GeoAttend Pro design tokens. --pr is re-set inline per request from
 * settings.theme_primary (Settings → School Profile).
 */
:root {
  --pr: #0f2a5f;            /* primary (navy) */
  --or: #f97316;            /* brand accent (TechAge orange) */
  --or-soft: #ffedd5;
  --pr-soft: #e8eefb;
  --ac: #10b981;            /* accent — emerald, "inside the fence" */
  --ac-soft: #d1fae5;
  --warn: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: #e5e9f2;
  --border-strong: #d5dbe7;
  --text: #0f172a;
  --text-2: #475569;
  --muted: #8a94a8;

  --sidebar-bg: #0b1733;
  --sidebar-bg-2: #0f1f45;
  --sidebar-text: #aab4cc;
  --sidebar-active: rgba(255,255,255,.08);

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.06);
  --shadow: 0 4px 16px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.05);
  --shadow-lg: 0 20px 50px rgba(15,23,42,.14);
}

html.dark {
  --bg: #0b1120;
  --surface: #131c2f;
  --surface-2: #0f1728;
  --border: #22304a;
  --border-strong: #2d3d5c;
  --text: #e5ebf5;
  --text-2: #a9b5ca;
  --muted: #6f7d96;
  --pr-soft: #16284f;
  --ac-soft: #0b3b2e;
  --sidebar-bg: #080f22;
  --sidebar-bg-2: #0b1530;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg); color: var(--text); margin: 0;
  font-size: .875rem; line-height: 1.5; -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11', 'ss01';
}
a { color: var(--pr); text-decoration: none; }
html.dark a { color: #8fb0ff; }
h1, h2, h3, h4, h5 { color: var(--text); letter-spacing: -.01em; }
.tabular { font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }
.text-muted { color: var(--muted) !important; }
.text-2 { color: var(--text-2); }
.fw-800 { font-weight: 800; }
::selection { background: rgba(16,185,129,.25); }
