/* ============================================================
   UMS Demo — Design tokens
   The only file that carries brand decisions. Admin → Institution
   settings overrides --brand at runtime. Everything else derives.
   ============================================================ */
:root{
  /* brand (overridable at runtime) */
  --brand:#0f5c8a;              /* university blue */
  --brand-ink:#ffffff;          /* text on brand */
  --brand-soft:#e8f1f8;         /* tinted surfaces */
  --brand-line:#b9d3e6;
  --accent:#d97706;             /* amber for warnings / secondary highlight */

  /* neutrals */
  --ink:#16202a;
  --ink-2:#3b4754;
  --ink-3:#6b7684;
  --ink-4:#9aa4b0;
  --line:#d9dee5;
  --line-2:#e9edf2;
  --paper:#ffffff;
  --paper-2:#f6f8fa;
  --paper-3:#eef1f5;
  --shell:#f2f4f7;

  /* semantic */
  --ok:#1a7f4b;      --ok-soft:#e5f5ec;   --ok-line:#a9dfc0;
  --warn:#b45309;    --warn-soft:#fdf1e0; --warn-line:#f4cf94;
  --bad:#b42318;     --bad-soft:#fdeceb;  --bad-line:#f4b1ab;
  --info:#0f5c8a;    --info-soft:#e8f1f8; --info-line:#b9d3e6;
  --lock:#5b4bb5;    --lock-soft:#eeeafb; --lock-line:#c8bff0;

  /* type */
  --font:"Segoe UI",system-ui,-apple-system,Roboto,"Helvetica Neue",Arial,sans-serif;
  --mono:Consolas,"Cascadia Mono","SF Mono",Menlo,monospace;
  --fs-0:12px; --fs-1:13px; --fs-2:14px; --fs-3:15px; --fs-4:17px; --fs-5:20px; --fs-6:24px; --fs-7:30px; --fs-8:40px;
  --lh:1.5;

  /* space (4pt scale) */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:20px; --s-6:24px; --s-7:32px; --s-8:40px; --s-9:56px;

  /* shape */
  --r-1:4px; --r-2:6px; --r-3:10px; --r-4:14px; --r-pill:999px;
  --sh-1:0 1px 2px rgba(16,24,40,.06);
  --sh-2:0 2px 8px rgba(16,24,40,.08);
  --sh-3:0 12px 32px rgba(16,24,40,.16);

  /* layout */
  --side-w:248px;
  --top-h:56px;
  --content-max:1280px;
  --tap:44px;
}
