
:where(:root), [data-theme="forest"] {
  color-scheme: light;
  
  --brand: #2f4a36;
  --brand-strong: #1a2b20;
  --brand-soft: #dde4d0;
  --on-brand: #f6f1e1;
  --link: #2f4a36;
  --link-hover: #1a2b20;
  --focus: #3d6b48;
  
  --accent: #e0a84a;
  --accent-ink: #7a5310;
  --accent-soft: #f3e3bc;
  
  --paper: #f1ebd8;
  --paper-2: #faf6ea;
  --paper-3: #e3dbbf;
  --surface: #fff;
  --app-bg: #efe9d8;
  --panel: #faf7ee;
  --stage: #e3ddca;
  
  --ink: #2a241c;
  --ink-soft: #55493a;
  --ink-muted: #6a5f50;
  --ink-faint: #8f8574;
  
  --line: #d8ceae;
  --line-soft: #e6dfc9;
  --line-strong: #b5aa92;
  --control-border: #8a7f6a;
  --wood: #8b5a2b;
  
  --icon: #2f4a36;
  --active-bg: #2f4a36;
  --active-ink: #f6f1e1;
  --active-icon: #e0a84a;
  --pro: #2f4a36;
  
  --danger: #8f3a2c;
  --danger-strong: #6e271d;
  --on-danger: #f6f1e1;
  --success: #2f6b2f;
  --warning-ink: #7a4a10;
  
  --chart-free: #7f9a8c;
  --chart-pro: #d19a3e;
  --chart-growth: #4c6b4a;
  --chart-active: #5f7f86;
  --chart-warning: #c08a2e;
  --chart-error: #a5483a;
  --chart-neutral: #8f8574;
  
  --map-ground: #b9c59c;
  --map-meadow: #adbc8e;
  --map-field: #a28c79;
  --map-furrow: #8b7363;
  --map-yard: #c4c9a3;
  --map-wood-floor: #4f6752;
  --map-tree: #64806a;
  --map-tree-edge: #405848;
  --map-road: #e2dcc3;
  --map-road-edge: #b3ae8e;
  --map-water: #9fc0c8;
  --map-bank: #d9cfa6;
  --map-water-edge: #6f9190;
  --map-hedge: #6c8761;
  --map-fence: #9a7b55;
  --map-wall: #a39a88;
  --map-hill: #c3cca2;
  --map-building-edge: #5a4734;
  --map-ruin: #b6b496;
  --map-ink: #3a3024;
  --map-cast: #3d4a66;
  --map-tree-light: #94ad8c;
  
  --header-bg: #142219;
  --header-border: rgb(239 230 204 / 0.08);
  --header-shadow: 0 1px 8px rgb(0 0 0 / 0.18);
  --header-ink: #efe6cc;
  --header-ink-soft: rgb(239 230 204 / 0.8);
  --header-divider: rgb(239 230 204 / 0.18);
  --header-active: #e0a84a;
  --header-focus: #e0a84a;
  --header-cta: #e0a84a;
  --header-cta-hover: #ecbe6a;
  --header-cta-ink: #142219;
  --header-wordmark: #efe6cc;
  --header-wordmark-accent: #b9cf92;
  --header-avatar: #4c6b4a;
  --header-avatar-hover: #587a55;
  --header-avatar-ink: #f6f1e1;
  --header-pro-ring: #e0a84a;
  
  --wordmark: #1a2b20;
  --wordmark-accent: #5f7a4a;
  --logo-display: block;
  --wordmark-display: none;
  
  --chrome: #1a2b20;
  --on-chrome: #f3eadb;
  --chrome-active: #e0a84a;
  --chrome-active-ink: #1a2b20;
  
  --map-tool: color-mix(in srgb, var(--chrome) 92%, var(--stage));
  --map-tool-hover: color-mix(in srgb, var(--map-tool) 88%, var(--on-chrome));
  --avatar-bg: #3f5a43;
  --avatar-ink: #f3eadb;
  
  --shadow-color: 26 34 24;
  --shadow: 0 1px 2px rgb(var(--shadow-color) / 0.06), 0 3px 10px rgb(var(--shadow-color) / 0.07);
  --shadow-pop: 0 2px 4px rgb(var(--shadow-color) / 0.08), 0 10px 28px rgb(var(--shadow-color) / 0.16);
  --shadow-map: 0 2px 10px rgb(0 0 0 / 0.25);
  --shadow-float: 0 4px 16px rgb(0 0 0 / 0.25);
  --shadow-dialog: 0 10px 40px rgb(0 0 0 / 0.35);
  --scrim: rgb(14 20 15 / 0.45);
  --vignette: rgb(70 85 50 / 0.16);
}

[data-theme="warm"] {
  --brand: #8b5a2b;
  --brand-strong: #6f4620;
  --brand-soft: #f1e4cc;
  --on-brand: #fff;
  --link: #8c2f2b;
  --link-hover: #6d2320;
  --focus: #c79f68;
  --accent: #b08d3c;
  --accent-ink: #7a5c1c;
  --accent-soft: #f6e7c8;
  --paper: #f4ecd8;
  --paper-2: #faf5e8;
  --paper-3: #e3d4b0;
  --surface: #fff;
  --app-bg: #f3efe6;
  --panel: #fbf8f2;
  --stage: #e6dfd1;
  --ink: #2e2925;
  --ink-soft: #5a4a3a;
  --ink-muted: #6d6255;
  --ink-faint: #9a8f80;
  --line: #d9c79e;
  --line-soft: #e4dccd;
  --line-strong: #b8ab97;
  --control-border: #8b7d6b;
  --wood: #8b5a2b;
  --icon: #8b5a2b;
  --active-bg: #c79f68;
  --active-ink: #2e2925;
  --active-icon: #2e2925;
  --pro: #8b5a2b;
  --danger: #a12b2b;
  --danger-strong: #7d2222;
  --on-danger: #fff;
  --success: #2f6b2f;
  --warning-ink: #7a4a10;
  --chart-free: #8aa9c9;
  --chart-pro: #c99a3a;
  --chart-growth: #5b9a5b;
  --chart-active: #5b8a9a;
  --chart-warning: #d0a040;
  --chart-error: #c05050;
  --chart-neutral: #7a7a7a;
  --map-ground: #bec59a;
  --map-meadow: #b2bb8b;
  --map-field: #a88d74;
  --map-furrow: #8f735e;
  --map-yard: #c9c9a0;
  --map-wood-floor: #55664c;
  --map-tree: #6a7f62;
  --map-tree-edge: #465742;
  --map-road: #e5dcc0;
  --map-road-edge: #b8ad8a;
  --map-water: #a2bfc3;
  --map-bank: #ddcfa2;
  --map-water-edge: #72908a;
  --map-hedge: #71865d;
  --map-fence: #9a7650;
  --map-wall: #a69a84;
  --map-hill: #c8cb9f;
  --map-building-edge: #5e4632;
  --map-ruin: #bbb492;
  --map-ink: #3b2f22;
  --map-cast: #404a64;
  --map-tree-light: #9bab84;
  --header-bg: #231e1a;
  --header-border: rgb(243 227 189 / 0.08);
  --header-shadow: 0 1px 8px rgb(0 0 0 / 0.2);
  --header-ink: #f3e3bd;
  --header-ink-soft: rgb(243 227 189 / 0.8);
  --header-divider: rgb(243 227 189 / 0.18);
  --header-active: #c79f68;
  --header-focus: #e0b878;
  --header-cta: #c79f68;
  --header-cta-hover: #d6b27e;
  --header-cta-ink: #231e1a;
  --header-wordmark: #f3efe6;
  --header-wordmark-accent: #e0b878;
  --header-avatar: #6b4a32;
  --header-avatar-hover: #7d583c;
  --header-avatar-ink: #f3e3bd;
  --header-pro-ring: #e0b878;
  --wordmark: #2e2925;
  --wordmark-accent: #8c2f2b;
  --logo-display: none;
  --wordmark-display: inline;
  --chrome: #2e2925;
  --on-chrome: #f3efe6;
  --chrome-active: #c79f68;
  --chrome-active-ink: #2e2925;
  --avatar-bg: #5a3d2b;
  --avatar-ink: #f3e3bd;
  --shadow-color: 46 41 37;
  --scrim: rgb(20 16 12 / 0.45);
  --vignette: rgb(120 90 40 / 0.18);
}
