/* CoffeeOps design tokens, "Espresso & Crema", light theme.
   Source: the CoffeeOps design system. Crema is the single brand accent and the one primary button per view;
   text on crema is espresso, never white. Status colours always travel with a word or an icon. */
:root {
  /* surfaces */
  --surface: #f7f1e8;          /* page background (foam) */
  --surface-raised: #fffdf9;   /* cards, sheets, inputs */
  --surface-muted: #efe6d9;    /* quiet fills, tracks, skeletons */
  --line: #e2d5c3;             /* hairlines between rows (decorative only) */
  --line-strong: #93806d;      /* edges of inputs, checkboxes, secondary buttons */
  --scrim: #17100b7a;          /* behind sheets and dialogs */

  /* ink */
  --ink: #2b1d14;
  --ink-muted: #6b5848;
  --espresso: #2b1d14;         /* brand dark: top bars, dark panels */
  --on-espresso: #f5ece1;

  /* brand */
  --crema: #d58a4e;            /* primary action fill */
  --crema-hover: #cb7f44;
  --crema-edge: #b5692e;       /* 1px border on crema fills */
  --crema-text: #9a4a17;       /* crema as text, links, focus */
  --crema-soft: #f5dfc9;       /* selected rows, in-progress */
  --on-crema: #2b1d14;

  /* status */
  --success: #0b6e5a;  --success-soft: #daefe7;
  --warning: #875a00;  --warning-soft: #faedc9;
  --danger: #b3261e;   --danger-soft: #fae2de;  --on-danger: #ffffff;

  /* type: Alexandria for titles and numbers, Rubik for everything you read and tap.
     Latin digits in both languages, font-variant-numeric: tabular-nums for times and figures. */
  --font-display: Alexandria, Rubik, "Segoe UI", Tahoma, sans-serif;
  --font-text: Rubik, "Segoe UI", Tahoma, system-ui, sans-serif;
  /* display-xl 48/56 700 -0.02em · display 36/44 700 -0.02em · title 28/36 600 -0.01em · heading 20/28 600
     kpi 32/40 600 · body-lg 17/28 · body 15/24 · label 14/20 500 · caption 12/16 500 (nothing smaller than 12px) */

  /* spacing: 4px base; 8px minimum between tap targets */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px; --space-8: 32px;

  /* radius: soft like the bean, never bubbly; pills only for badges and avatars */
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-xl: 24px; --radius-full: 9999px;

  /* shadows: borders do most of the work; shadows only lift what floats */
  --shadow-sm: 0 1px 2px #2b1d140f, 0 1px 3px #2b1d1414;
  --shadow-md: 0 4px 12px #2b1d141a, 0 2px 4px #2b1d140f;
  --shadow-lg: 0 16px 40px -8px #2b1d1433, 0 4px 12px #2b1d141a;
  --focus-ring: 0 0 0 2px #fffdf9, 0 0 0 4px #9a4a17;

  /* sizes: 44px is the floor for anything tapped; 52px for the bottom primary action; rows 56px minimum */
  --control-md: 44px; --control-lg: 52px; --row-min: 56px;
}
