/* Design tokens for the control page — every screen pulls from here only. */
@font-face {
  font-family: "Readex Pro";
  src: url("fonts/readex-pro-arabic.woff2") format("woff2");
  font-weight: 160 700;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011,
    U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Readex Pro";
  src: url("fonts/readex-pro-latin.woff2") format("woff2");
  font-weight: 160 700;
  font-display: swap;
  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 {
  color-scheme: light;
  /* ground and ink */
  --paper: #f4f1ea;
  --card: #fffdf9;
  --line: #e4ded3;
  --ink: #1b1a17;
  --ink-2: #5c574e; /* secondary text: 6.4:1 on paper */
  --ink-3: #847e72; /* hints only: 3.6:1, never essential text */
  /* the one meaning colour: the bot answered */
  --green: #1c6b45;
  --green-soft: #e1eee5;
  /* silence (excluded, paused, off) */
  --hush: #ebe6dc;
  /* the one dark element: the status capsule */
  --night: #1b1a17;
  --night-2: #2b2925;
  --night-text: #f4f1ea;
  --night-dim: #a59f93;
  --green-on-night: #6cc795; /* the same meaning, lit for the dark capsule (dots only) */
  --warn: #9b2c1f; /* errors in forms only */

  /* spacing: 4pt grid */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;

  /* type scale */
  --t-12: 12px;
  --t-14: 14px;
  --t-16: 16px;
  --t-20: 20px;
  --t-28: 28px;

  /* shape */
  --r-chip: 999px;
  --r-field: 12px;
  --r-card: 16px;
  --r-sheet: 24px;

  /* depth (designed, two levels only) */
  --lift: 0 1px 0 rgb(27 26 23 / 0.05), 0 10px 22px -10px rgb(27 26 23 / 0.35);
  --sheet: 0 -1px 0 rgb(27 26 23 / 0.06), 0 -28px 48px -28px rgb(27 26 23 / 0.3);

  --font: "Readex Pro", system-ui, sans-serif;
  --touch: 44px;
}

/* Motion springs live in tokens.js (they are JavaScript values). */
