/* ===================================================================
   PracticeDocket type and spacing — THE source, not a copy.

   Colour deliberately lives elsewhere. The console already has a palette
   that works, in light and dark, and moving it is a separate change with
   its own risks; what is NEW here is the scale. Linked by the console and
   by the design pages, so there is one definition of it and a second copy
   anywhere is a bug. See docs/DESIGN.md.
   =================================================================== */
:root{
  /* --- type: SIX steps, at the console's ORIGINAL sizes. ---
     The owner tried a larger scale (13/15/16/20/28/40) on 2026-09-27 and
     rejected it: keep the sizes he is used to. Decluttering and flow are the
     redesign; type size is not. Do not raise these without his say-so. */
  --t-xs:11px;    /* chips, table headers, timestamps */
  --t-s:12px;     /* secondary lines, captions */
  --t-base:13px;  /* body, buttons, inputs */
  --t-m:15px;     /* card titles */
  --t-l:24px;     /* page title */
  --t-xl:22px;    /* the one number that matters on a screen */

  /* --- space: one scale, no in-between values --- */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px; --s7:48px;
  --pad-card:var(--s5);
  --radius:10px;

  --sans:"Hanken Grotesk",system-ui,sans-serif;
  --serif:"Piazzolla",Georgia,serif;
}

/* --- the second density. SAME system, one step tighter. ---
   Not a second design: the tokens move, nothing else does. This is what
   the reporting tables and the support console get, and nothing a
   therapist looks at between sessions. */
:root[data-density="dense"]{
  --t-xs:10px; --t-s:11px; --t-base:12px; --t-m:13px; --t-l:20px; --t-xl:18px;
  --s5:16px; --s6:22px; --pad-card:var(--s4);
}
