/* ==========================================================================
   app-base.css — THE APPLICATION'S BASE LAYER.
   --------------------------------------------------------------------------
   The universal box model, the document font, and the legacy `--primary` token
   family. Adopted from `lib\css\custom.css` 2026-08-31 (owner order, the
   lib\css retirement) — that sheet was named for the login page but carried
   the app's base rules, which is why they are here and not in a screen sheet.

   ⚠⚠ THIS SHEET'S LINK POSITION IS LOAD-BEARING AND MUST STAY LAST-ISH.
   `custom.css` sat at `_Meta:244`, the LAST legacy sheet, which made its `body`
   rule the FINAL `body` declaration in the whole chain — so it, not site.css,
   owns the application's font-family. Measured before the move: body resolves to
   `"Segoe UI", system-ui, sans-serif`, beating `site.css:176`. This file is
   therefore linked AT custom.css's own slot on `_Meta`, and AFTER site.css on
   `_AuthMeta`. Move it ahead of site.css and the whole app silently changes font.

   ⚠ It is NOT the orphaned `lib-v2\css\base.css`. That file holds 4.3 KB of its
   own rules written for the retired V2 shell and is linked by nothing; linking it
   would ship all of that. Leave it alone — retiring it is its own decision.

   ⚠ The `--primary` family below is the LEGACY token set, distinct from the V2
   design tokens in `lib-v2\css\tokens\*`. Only the auth shell reads it today
   (`screens\auth-shell.css`: --card-radius, --shadow-md, --primary). It is kept
   because those rules read it; a NEW rule should use the V2 `--ics-*` tokens.
   ========================================================================== */

/* ── the legacy token set (read by screens\auth-shell.css) ─────────────────── */
:root {
    --primary:        #CFB53B;
    --primary-dark:   #a88f2a;
    --primary-light:  #f0e080;
    --transition:     0.25s ease;
    --card-radius:    10px;
    --shadow-sm:      0 2px 8px rgba(0,0,0,.08);
    --shadow-md:      0 4px 16px rgba(0,0,0,.12);
}

/* ── the universal box model + the document font ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: 'Segoe UI', system-ui, sans-serif; }
