/* ITS CRM design tokens: the single scale every stylesheet uses.
   Loaded first; colour themes stay in app.css (:root / [data-theme=dark]). */
:root {
  /* Type scale. Nothing in the UI is smaller than --fs-2xs (badges and counters only). */
  --fs-2xs: 12px;  /* counters, badges, card meta */
  --fs-xs: 13px;   /* captions, meta, table headers */
  --fs-sm: 14px;   /* secondary text, compact controls */
  --fs-md: 14px;   /* body, inputs, buttons */
  --fs-lg: 16px;   /* card titles */
  --fs-xl: 18px;   /* section titles */
  --fs-2xl: 20px;  /* modal titles */
  --fs-3xl: 24px;  /* metric values */
  --fs-4xl: 28px;  /* page titles */

  /* Corner radii */
  --r-xs: 4px;     /* tags, tiny chips */
  --r-sm: 8px;     /* buttons, inputs */
  --r-md: 12px;    /* cards, menus */
  --r-lg: 16px;    /* panels, modals */
  --r-xl: 20px;    /* hero blocks */
  --r-pill: 999px;

  /* Control heights */
  --h-sm: 32px;
  --h-md: 40px;
  --h-lg: 44px;

  /* Spacing (4px grid) */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px;
}
