/* ============================================================
   Critical first-paint CSS (FOUC guard) — mea-web.

   Loaded as a RENDER-BLOCKING <link> in <head> immediately after
   the design tokens (tokens.css + themes/default.css), and BEFORE
   the heavy per-page @layer sheets and web.css. Its sole job is to
   paint the page background on the FIRST paint so there is no flash
   of an unstyled (white) page before web.css' `body { background:
   var(--t-bg) }` rule arrives.

   Why a separate sheet and not inline <style>: the mea-web CSP sets
   style-src 'self' (NO 'unsafe-inline'), so an inline critical block
   is forbidden. A tiny render-blocking external sheet achieves the
   same no-flash result while staying CSP-clean (web/security_headers.py).

   Token-only — zero hardcoded hex (D10). The tokens it references are
   already defined by the time this sheet is parsed (tokens.css loads
   first), so the var() chain resolves on first paint.

   The background is set on the ROOT (html) element, which the body
   shows through before any later sheet loads. Every role's page sits
   on the same page colour, so the root takes that colour. The first
   paint then matches the loaded page (no repaint jump), and anything
   outside the body, such as an overscroll, shows the page colour too.
   ============================================================ */

html {
  background-color: var(--t-bg-color);
}
