/* Geist (SIL OFL 1.1, app/assets/fonts), bundled so the wall display never
   depends on a font CDN. */
@font-face {
  font-family: "Geist";
  src: url("/assets/geist-variable-b11a6485.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* One neutral (zinc) family. Colour belongs to kids and categories only.
   Radius scale: containers 16px, rows and controls 10px, tags are pills,
   avatars and slots are circles. */
:root {
  --paper: #f4f4f5;
  --card: #ffffff;
  --surface-2: #f6f6f7;
  --ink: #18181b;
  --ink-2: #52525b;
  --ink-3: #71717a;
  --line: #e4e4e7;
  --hairline: rgba(24, 24, 27, 0.08);
  --control: #e9e9ec;
  --control-active: #ffffff;
  --ok-bg: #e7f5ec;
  --ok-ink: #1d6b3d;
  --bad-bg: #fdecec;
  --bad-ink: #a12b2b;
  --warn-ink: #9a4a0b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 0 0 1px var(--hairline), 0 1px 2px rgba(24, 24, 27, 0.04);
  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --kid: #64748b;
  --cal: #64748b;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f0f11;
    --card: #18181b;
    --surface-2: #212125;
    --ink: #f4f4f5;
    --ink-2: #a1a1aa;
    --ink-3: #8b8b94;
    --line: #2e2e33;
    --hairline: rgba(255, 255, 255, 0.08);
    --control: #26262b;
    --control-active: #3a3a40;
    --ok-bg: #12301f;
    --ok-ink: #8fd8a8;
    --bad-bg: #3a1717;
    --bad-ink: #f3a3a3;
    --warn-ink: #f0b46b;
    --shadow: 0 0 0 1px var(--hairline);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

img { max-width: 100%; }

.icon { width: 1em; height: 1em; flex: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
