/* Forest theme (Settings > Appearance): Deep green pages with a fresh green accent, amber as the second colour and soft moss for what is selected. Raw colors live here, never in s1-accent.css. Loaded right after s1-accent.css. */
/* Forest is a selectable palette on the dark theme: the dark theme's own tokens with new values, switched by html[data-palette="forest"] next to data-theme="dark"
 * (so every dark rule in the app already applies and only the colours below change). Body text and data keep WCAG AA (4.5:1) on every surface they sit on, and the accent
 * fills carry readable text; test/ui-theme-presets.test.mjs checks every pair. The accent tokens carry !important because s1-brand.js writes the workspace colour inline: in a palette, the palette wins. */
:root[data-theme="dark"][data-palette="forest"] {
  color-scheme: dark;
  --s1-ink: #eaf5ee; --s1-ink-hover: #ffffff; --s1-on-ink: #0d1a14; --s1-ink-2: #c6dccf; --s1-mute: #9db8a8;
  --s1-line: #2a4636; --s1-line-soft: #1f372a; --s1-canvas: #0d1a14; --s1-panel: #112019; --s1-panel-head: #17291f; --s1-column: #14251c;
  --s1-rail: #08130e; --s1-rail-raised: #0f1f17; --s1-rail-active: #1a3226; --s1-rail-line: #1e382b; --s1-rail-text: #cfe6d9; --s1-rail-mute: #93b5a1; --s1-rail-accent: #6fe3a0;
  --s1-shadow-panel: 0 1px 2px rgba(0, 0, 0, .45);
  --s1-late: #ff9a8f; --s1-soon: #f0c46a; --s1-wait: #9bb8ff; --s1-ok: #7be0a8;
  --s1-line-strong: #5a8a6e; --s1-fill-strong: #6a967b; --s1-fill-soft: #1d3a2b; --s1-hover: #15271d; --s1-dot: #35604a; --s1-track: #26443a; --s1-avatar: #1d3a2b; --s1-checkbox: #6a967b; --s1-control-line: #628b72;
  --s1-accent: #4cc38a !important; --s1-on-accent: #04210f !important; --s1-accent-hover: #6ad7a2 !important; --s1-accent-text: #7fe0ad !important; --s1-accent-2: #e0b45a !important; --s1-on-accent-2: #231a00 !important; --s1-accent-2-text: #ecc97f !important;
  /* selected */
  --s1-accent-soft: #1f4331; --s1-accent-soft-2: #234a36; --s1-accent-line: #3f8a63;
  --s1-accent-2-soft: #33291a; --s1-accent-2-soft-2: #443820; --s1-accent-2-line: #8a7338;
  /* the older names the redesign sheets still read, kept in step */
  --canvas: #0d1a14; --panel: #112019; --well: #14251c; --raised: #1a3126; --line: #2a4636; --line-soft: #1f372a; --track: #26443a; --avatar: #1d3a2b;
  --rail: #08130e; --rail-active: #1a3226; --rail-line: #1e382b; --rail-accent: #6fe3a0;
  --shadow-pop: 0 1px 2px rgb(0 0 0 / .5), 0 14px 36px rgb(0 0 0 / .5); --shadow-frame: 0 1px 2px rgb(0 0 0 / .5), 0 18px 48px rgb(0 0 0 / .4);
  --s1-role-pi: #d9b8ff; --s1-role-lead: #ff9ec4; --s1-role-coordinator: #f0c46a; --s1-role-trainee: #6fe0d0; --s1-role-staff: #c2d6c9;
}
/* Primary buttons are the one place the accent fill goes. */
:root[data-theme="dark"][data-palette="forest"] :is(.k-btn, .s1-btn):not(.k-btn--ghost):not(.s1-btn--ghost):not([class*="danger"]) { background: var(--s1-accent); color: var(--s1-on-accent); }
:root[data-theme="dark"][data-palette="forest"] :is(.k-btn, .s1-btn):not(.k-btn--ghost):not(.s1-btn--ghost):not([class*="danger"]):hover { background: var(--s1-accent-hover); }
:root[data-theme="dark"][data-palette="forest"] .btn.pri { background: var(--s1-accent); border-color: var(--s1-accent); color: var(--s1-on-accent); }
:root[data-theme="dark"][data-palette="forest"] .btn.pri:hover { background: var(--s1-accent-hover); border-color: var(--s1-accent-hover); }
