/* ============================================================
   Clearpoint Portal — the tokens graphite-light.css does not carry

   Linked AFTER graphite.css and graphite-light.css (04-portal.md
   §1.1.1). Tokens only: no selectors but :root, no components.
   Every colour a portal page needs and graphite-light.css has no
   name for lives here, so no page, component or inline style ever
   writes a literal colour.
   ============================================================ */

:root {
  /* -- density: every tap target clears a thumb (§2) ----------- */
  --h-tap:      44px;   /* buttons, tabs, menu rows, icon-only buttons */
  --h-tabbar:   64px;   /* the phone tab bar, before the safe area */
  --h-thumb:    40px;   /* file-type and avatar tiles in a list row */
  --safe-bottom: env(safe-area-inset-bottom, 0px);  /* the phone home bar; needs viewport-fit=cover */

  /* -- widths: the page does not choose its own ---------------- */
  --w-page:     1200px;
  --w-read:     720px;  /* a reading column: notifications, forms */
  --w-narrow:   480px;  /* account forms */
  --w-auth:     440px;  /* sign-in, invite, expired-link cards */
  --w-menu:     240px;  /* the avatar menu */
  --w-date:     74px;   /* a scheduled visit's date block */

  /* -- the navy footer (graphite-light.css names --navy) ------- */
  --on-navy:    #FFFFFF;
  --on-navy-2:  #C3CEDE;   /* 10.9 on --navy */
  --rule-navy:  rgba(255,255,255,0.12);

  /* -- the lightbox: the one dark surface (§3.3) --------------- */
  --lb-bg:      #081C34;
  --lb-surf:    rgba(255,255,255,0.06);
  --lb-rule:    rgba(255,255,255,0.20);
  --lb-ink:     #FFFFFF;
  --lb-ink-2:   #C3CEDE;

  /* -- overlays ------------------------------------------------ */
  --scrim:      rgba(8,28,52,0.55);   /* behind a sheet or dialog */
  --hud:        rgba(13,43,78,0.72);  /* a label laid over a photo */
  --shadow-pin: 0 1px 4px rgba(13,43,78,0.35);
}
