/* kartora's tokens, compiled from tokens.json by tokens.mjs. Light by default; dark follows the device unless a page or
   an element sets data-theme. */
:root {
  --font-display: 'Bricolage Grotesque', 'Trebuchet MS', sans-serif;
  --font-body: 'Atkinson Hyperlegible', Verdana, sans-serif;
  --text-xs: .8125rem;
  --text-sm: .9rem;
  --text-md: 1rem;
  --text-lg: 1.15rem;
  --heading: 1.3rem;
  --title: 1.55rem;
  --display: 2.1rem;
  --heading-wide: 1.4rem;
  --title-wide: 1.9rem;
  --display-wide: 2.9rem;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --touch: 44px;
  --touch-large: 52px;
  --rail: 96px;
  --sidebar: 248px;
  --read: 44rem;
  --page: 72rem;
  --motion: 160ms;
}
:root, [data-theme="light"] {
  --bg: #f4f7f8;
  --surface: #ffffff;
  --surface-2: #eef3f5;
  --surface-3: #e3eaed;
  --ink: #13232b;
  --muted: #4a5d66;
  --subtle: #6f828a;
  --line: #d3dee2;
  --line-strong: #7d9097;
  --accent: #0b7a75;
  --accent-strong: #075a56;
  --accent-soft: #d9efed;
  --on-accent: #ffffff;
  --focus: #0b7a75;
  --map-low: #e2f0ee;
  --map-high: #0b6e6a;
  --success: #1e7a3c;
  --success-soft: #ddf1e3;
  --warning: #8a5a00;
  --warning-soft: #fbefd5;
  --danger: #b3261e;
  --danger-soft: #fbe1de;
  --info: #1d5fa8;
  --info-soft: #dde9f7;
  --tone-next: #f0b44c;
  --tone-revisit: #df7a5e;
  --tone-shelf: #7b6cd9;
  --tone-lens: #5b8def;
  --tone-warn: #e0a030;
  --tone-quiet: #c3cdd1;
  --scrim: rgba(10, 20, 25, .45);
  --shadow: 0 1px 2px rgba(19,35,43,.06), 0 4px 16px rgba(19,35,43,.07);
  --shadow-2: 0 8px 32px rgba(19,35,43,.16);
  --road: #e4d9c2;
  --grass: #eef6e6;
  --bark: #b9a48f;
  --on-tone: #13232b;
  --paint-sky: #cfe8f2;
  --paint-grass: #a9d48a;
  --paint-earth: #8a6242;
  --paint-wood: #b98a5a;
  --paint-hay: #f0c85c;
  --paint-stone: #b9b2a6;
  --paint-cloth: #df7a5e;
  --paint-cloth2: #5b8def;
  --paint-skin: #f0c7a0;
  --paint-iron: #6b7a82;
  --paint-white: #ffffff;
  --paint-dark: #13232b;
  --paint-teal: #2f9e96;
  --paint-orange: #ec9140;
  --paint-violet: #8a6fd6;
  --paint-rose: #e07a98;
  --paint-blue: #5b8def;
  --paint-yellow: #efc54e;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1619;
    --surface: #152024;
    --surface-2: #1c2a2f;
    --surface-3: #243439;
    --ink: #e6eef0;
    --muted: #a6b6bd;
    --subtle: #82939a;
    --line: #2b3b41;
    --line-strong: #6b8088;
    --accent: #3fc9c0;
    --accent-strong: #74dcd5;
    --accent-soft: #123d3a;
    --on-accent: #05302d;
    --focus: #74dcd5;
    --map-low: #1b3033;
    --map-high: #4fd3c9;
    --success: #62cc85;
    --success-soft: #14331f;
    --warning: #e6b553;
    --warning-soft: #382c10;
    --danger: #f2938a;
    --danger-soft: #3d1815;
    --info: #86b6f2;
    --info-soft: #14283f;
    --tone-next: #f0b44c;
    --tone-revisit: #ea9680;
    --tone-shelf: #a99ef2;
    --tone-lens: #8caef6;
    --tone-warn: #e8b04c;
    --tone-quiet: #3c4c52;
    --scrim: rgba(0, 0, 0, .6);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 4px 16px rgba(0,0,0,.3);
    --shadow-2: 0 8px 32px rgba(0,0,0,.55);
    --road: #2c3a33;
    --grass: #142620;
    --bark: #7a6450;
    --on-tone: #13232b;
    --paint-sky: #5d87a3;
    --paint-grass: #4f8a5a;
    --paint-earth: #7a5a3e;
    --paint-wood: #9a7650;
    --paint-hay: #dcb753;
    --paint-stone: #a39d91;
    --paint-cloth: #d0705a;
    --paint-cloth2: #7aa0e6;
    --paint-skin: #e2b78f;
    --paint-iron: #8b9aa2;
    --paint-white: #f2f4f3;
    --paint-dark: #0c1418;
    --paint-teal: #3fb5ac;
    --paint-orange: #e39a55;
    --paint-violet: #a08ae0;
    --paint-rose: #e590a9;
    --paint-blue: #7aa0e6;
    --paint-yellow: #e3c060;
    color-scheme: dark;
  }
}
[data-theme="dark"] {
  --bg: #0e1619;
  --surface: #152024;
  --surface-2: #1c2a2f;
  --surface-3: #243439;
  --ink: #e6eef0;
  --muted: #a6b6bd;
  --subtle: #82939a;
  --line: #2b3b41;
  --line-strong: #6b8088;
  --accent: #3fc9c0;
  --accent-strong: #74dcd5;
  --accent-soft: #123d3a;
  --on-accent: #05302d;
  --focus: #74dcd5;
  --map-low: #1b3033;
  --map-high: #4fd3c9;
  --success: #62cc85;
  --success-soft: #14331f;
  --warning: #e6b553;
  --warning-soft: #382c10;
  --danger: #f2938a;
  --danger-soft: #3d1815;
  --info: #86b6f2;
  --info-soft: #14283f;
  --tone-next: #f0b44c;
  --tone-revisit: #ea9680;
  --tone-shelf: #a99ef2;
  --tone-lens: #8caef6;
  --tone-warn: #e8b04c;
  --tone-quiet: #3c4c52;
  --scrim: rgba(0, 0, 0, .6);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 4px 16px rgba(0,0,0,.3);
  --shadow-2: 0 8px 32px rgba(0,0,0,.55);
  --road: #2c3a33;
  --grass: #142620;
  --bark: #7a6450;
  --on-tone: #13232b;
  --paint-sky: #5d87a3;
  --paint-grass: #4f8a5a;
  --paint-earth: #7a5a3e;
  --paint-wood: #9a7650;
  --paint-hay: #dcb753;
  --paint-stone: #a39d91;
  --paint-cloth: #d0705a;
  --paint-cloth2: #7aa0e6;
  --paint-skin: #e2b78f;
  --paint-iron: #8b9aa2;
  --paint-white: #f2f4f3;
  --paint-dark: #0c1418;
  --paint-teal: #3fb5ac;
  --paint-orange: #e39a55;
  --paint-violet: #a08ae0;
  --paint-rose: #e590a9;
  --paint-blue: #7aa0e6;
  --paint-yellow: #e3c060;
  color-scheme: dark;
}
