/* tokens.css — Option A "Soft Cafe" design tokens (docs/UI_DESIGN_OPTION_A.md §4.1) + bundled fonts.
   Fonts are local files only (no network, Electron blocks http/https). Source: npm @fontsource/mali 5.3.0 and
   @fontsource/sarabun 5.3.0 (read 2026-10-24); licence: SIL Open Font License 1.1 (assets/fonts/OFL-*.txt).
   unicode-range values copied from each package's unicode.json. */

@font-face { font-family: 'Mali'; font-style: normal; font-weight: 500; font-display: block;
  src: url(../assets/fonts/mali-thai-500-normal.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Mali'; font-style: normal; font-weight: 500; font-display: block;
  src: url(../assets/fonts/mali-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mali'; font-style: normal; font-weight: 700; font-display: block;
  src: url(../assets/fonts/mali-thai-700-normal.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Mali'; font-style: normal; font-weight: 700; font-display: block;
  src: url(../assets/fonts/mali-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: 'Sarabun'; font-style: normal; font-weight: 400; font-display: block;
  src: url(../assets/fonts/sarabun-thai-400-normal.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Sarabun'; font-style: normal; font-weight: 400; font-display: block;
  src: url(../assets/fonts/sarabun-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sarabun'; font-style: normal; font-weight: 600; font-display: block;
  src: url(../assets/fonts/sarabun-thai-600-normal.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Sarabun'; font-style: normal; font-weight: 600; font-display: block;
  src: url(../assets/fonts/sarabun-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sarabun'; font-style: normal; font-weight: 700; font-display: block;
  src: url(../assets/fonts/sarabun-thai-700-normal.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Sarabun'; font-style: normal; font-weight: 700; font-display: block;
  src: url(../assets/fonts/sarabun-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #FBF3E4;            /* background */
  --text: #4A3426;          /* text */
  --muted: #7A5A44;         /* muted text */
  --muted-2: #6B4F3A;       /* canvas secondary brown (boards A3, A4, A6, A7, A9) */
  --heading: #3E6338;       /* heading green */
  --accent: #4F7A47;        /* primary button; set from config (#4F7A47 | #3E7C8C | #B5603A) */
  --green-ui: #4F7A47;      /* fixed green on toggles, dots, badges (boards hard-code it, not the accent) */
  --light-green: #CFE3BE;
  --sand: #EFE2C9;
  --yellow-sand: #F7D9A8;
  --peach: #F2B8A0;
  --sticker-capybara: #F7E6BE;
  --sticker-goat: #DCEBCB;
  --sticker-deer: #F6D8C8;
  --dot-off: #D9C9AC;       /* inactive dot */
  --preview-box: #E9DCC3;   /* camera box (A3, A6) */
  --banner-bg: #3E6338;
  --banner-text: #FFF4C2;
  --white: #FFFFFF;

  --shadow-tile: 0 12px 18px rgba(74,52,38,0.2);       /* normal choice tiles/buttons */
  --shadow-main: 0 14px 22px rgba(58,92,52,0.4);       /* main action buttons */
  --shadow-selected: 0 20px 28px rgba(58,92,52,0.38);  /* selected tile (+ translateY(-4px)) */
  --shadow-sticker: 0 14px 20px rgba(74,52,38,0.28);
  --shadow-sticker-small: 0 10px 16px rgba(74,52,38,0.28);
  --shadow-pill: 0 8px 14px rgba(74,52,38,0.2);
  --shadow-panel: 0 14px 22px rgba(74,52,38,0.2);

  --font-head: 'Mali', sans-serif;
  --font-body: 'Sarabun', sans-serif;
}
