/* ───────────────────────────────────────────────────────────────────────────
   BASE RESET — minimal, token-driven. Body font/colour, neutral scrollbars,
   native control color-scheme. Mirrors the resets in the canonical token sheet.
   ─────────────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent-soft); }

/* Thin, neutral scrollbars */
* { scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 9999px;
  border: 3px solid var(--background);
}
::-webkit-scrollbar-track { background: transparent; }

/* Native date/time pickers follow the active theme */
input[type="datetime-local"],
input[type="date"],
input[type="time"] { color-scheme: light dark; }
