/* Shelfmark tokens. Every colour, size, space, radius and duration used in styles.css lives here. Light only. */
:root {
  /* paper and ink */
  --color-bg: #F5F1E8;
  --color-surface: #FFFDF8;
  --color-sunk: #ECE6D9;
  --color-text: #1C1917;
  --color-text-muted: #57534E;
  --color-border: #DDD6C8;
  --color-border-strong: #B9B0A0;
  --color-primary: #1C1917;
  --color-on-primary: #FFFDF8;
  --color-focus: #1D4ED8;
  --color-success: #15803D;
  --color-danger: #B91C1C;
  --color-warning: #92400E;
  --color-success-tint: #E3F1E6;
  --color-danger-tint: #F8E3E0;
  --color-warning-tint: #F6EAD3;
  --color-target: #C2410C;
  --color-scrim: rgb(28 25 23 / 0.32);

  /* group fields (transit colours, white glyph >= 4.9:1) */
  --g-shopping: #C2410C;
  --g-collectors: #9D174D;
  --g-travel: #15803D;
  --g-bookings: #0F766E;
  --g-tickets: #B91C1C;
  --g-jobs: #8A5A0B;
  --g-dev: #27272A;
  --g-security: #5B3B9A;
  --g-finance: #1D4ED8;
  --g-crypto: #A15C07;
  --g-gov: #7F1D1D;
  --g-compliance: #4D7C0F;
  --g-research: #0E7490;
  --g-estate: #BE185D;
  --g-cars: #52525B;
  --g-media: #A21CAF;
  --g-local: #0369A1;
  --g-none: #D6D3CD;
  --g-none-ink: #78716C;
  --glyph: #FFFFFF;
  --brand-fold: #F4B08C;

  /* type */
  --font-sans: "Onest", "Helvetica Neue", Arial, sans-serif;
  --font-num: "Chivo Mono", "Onest", monospace;
  --text-xs: 0.75rem;   /* 12 */
  --text-sm: 0.875rem;  /* 14 */
  --text-md: 1rem;      /* 16 */
  --text-lg: 1.25rem;   /* 20 */
  --text-xl: 1.75rem;   /* 28 */
  --text-2xl: 2.5rem;   /* 40 */
  --text-3xl: 3.5rem;   /* 56 */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 700;
  --weight-black: 800;
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-body: 1.45;
  --tracking-tight: -0.02em;

  /* space */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;
  --gutter: 16px;
  --page-max: 1200px;
  --sheet-max: 600px;

  /* sizes */
  --tile: 132px;
  --tile-lg: 168px;
  --tile-sm: 44px;
  --tile-xs: 32px;
  --glyph-size: 56px;
  --glyph-size-lg: 72px;
  --glyph-size-sm: 32px;
  --tile-md: 72px;
  --fab: 64px;
  --brand-size: 22px;
  --brand-radius: 5px;
  --icon: 20px;
  --icon-sm: 16px;
  --icon-stroke: 2;
  --glyph-stroke: 1.75;
  --touch: 44px;
  --tray-h: 88px;
  --chart-h: 220px;
  --spark-w: 96px;
  --spark-h: 32px;
  --line: 1px;
  --line-bold: 2px;
  --focus-ring: 3px;
  --underline-offset: 3px;
  --hatch: 10px;
  --hatch-2: 20px;
  --badge-stroke: 2.5;
  --spark-stroke: 1.5;
  --dash: 6 5;
  --dash-sm: 3 3;
  --press: 0.97;

  /* shape */
  --radius-tile: 14px;
  --radius-sm: 8px;
  --radius-sheet: 22px;
  --radius-pill: 999px;
  --shadow-tray: 0 -1px 0 var(--color-border), 0 -8px 24px rgb(28 25 23 / 0.08);
  --shadow-fab: 0 6px 18px rgb(28 25 23 / 0.22);
  --shadow-sheet: 0 -12px 40px rgb(28 25 23 / 0.16);

  /* motion */
  --dur-fast: 120ms;
  --dur: 200ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 900px) {
  :root { --gutter: 32px; --tile: 124px; --spark-w: 200px; --spark-h: 40px; }
}
