:root {
  --paper: #f3eee4;
  --paper-2: #ebe4d6;
  --card: #fbf8f1;
  --ink: #1d2326;
  --ink-2: #4a565b;
  --ink-3: #7a858a;
  --line: #d9d0be;
  --teal: #387f7f;
  --teal-2: #3e8f8f;
  --teal-deep: #1b3f3f;
  --teal-soft: #dcebe9;
  --rust: #b0462e;
  --rust-deep: #8f3520;
  --sepia: #8a6a3b;
  --occupied: #8c2f39;
  --liberated: #3e8f5a;
  --focus: #1b6fd1;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 6px 24px rgb(29 35 38 / 0.18);
  --shadow-sm: 0 1px 3px rgb(29 35 38 / 0.2);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --paper: #1b2124; --paper-2: #232b2f; --card: #232b2f; --ink: #ece7db; --ink-2: #b9c0c2; --ink-3: #8b9598;
    --line: #38444a; --teal-soft: #243b3b; --shadow: 0 6px 24px rgb(0 0 0 / 0.5);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { font: 16px/1.5 var(--sans); color: var(--ink); background: var(--paper); -webkit-tap-highlight-color: transparent; overscroll-behavior: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
