/* drown design tokens (Systems Handbook, Appendix F). Use only these variables in components. */
@font-face { font-family: Gloock; src: url(/fonts/gloock.woff2) format('woff2'); font-display: block; }
@font-face { font-family: Hanken; src: url(/fonts/hanken-400.woff2) format('woff2'); font-weight: 400; font-display: block; }
@font-face { font-family: Hanken; src: url(/fonts/hanken-500.woff2) format('woff2'); font-weight: 500; font-display: block; }
@font-face { font-family: Hanken; src: url(/fonts/hanken-600.woff2) format('woff2'); font-weight: 600 700; font-display: block; }

:root {
  --crema: #EFE2CD; --oat: #D9BE98; --caramel: #CF8E4E; --ember: #A5563A; --tobacco: #7B3B26; --roast: #24120C;
  --paper: #F7EFE1; --paper-2: #FBF6EC; --roast-2: #2E1A12; --roast-3: #3A2318;
  --ok: #5E9E6E; --warn: #E0A63A; --danger: #E0573F; --info: #6F97B8;
  --font-ui: Hanken, system-ui, -apple-system, 'Segoe UI', sans-serif; --font-display: Gloock, Georgia, serif;
  --r-chip: 999px; --r-btn: 14px; --r-card: 18px; --r-sheet: 24px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;
  --touch: 56px;
}
/* drown dark: the till by default, kitchen and customer screens always */
[data-theme="drown-dark"] {
  --bg: var(--roast); --surface: var(--roast-2); --surface-2: var(--roast-3);
  --text: var(--crema); --text-soft: rgba(239,226,205,.66); --line: rgba(239,226,205,.14);
  --primary: var(--caramel); --on-primary: var(--roast); --accent: var(--oat);
  color-scheme: dark;
}
/* drown light: back office */
[data-theme="drown-light"] {
  --bg: var(--paper); --surface: var(--paper-2); --surface-2: #F1E6D3;
  --text: var(--roast); --text-soft: rgba(36,18,12,.62); --line: rgba(36,18,12,.14);
  --primary: var(--roast); --on-primary: var(--crema); --accent: var(--tobacco);
  color-scheme: light;
}
