/* Mono theme (Settings > Appearance): High-contrast greyscale: black text on white, black buttons and a black sidebar. Status colours stay so late and done still read. Raw colors live here, never in s1-accent.css. Loaded right after s1-accent.css. */
/* Mono is a selectable palette on the light theme: the light theme's own tokens with new values, switched by html[data-palette="mono"] next to data-theme="light"
 * (so every light 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="light"][data-palette="mono"] {
  color-scheme: light;
  --s1-ink: #000000; --s1-ink-hover: #262626; --s1-on-ink: #ffffff; --s1-ink-2: #1f1f1f; --s1-mute: #474747;
  --s1-line: #8c8c8c; --s1-line-soft: #c8c8c8; --s1-canvas: #ffffff; --s1-panel: #ffffff; --s1-panel-head: #f0f0f0; --s1-column: #ebebeb;
  --s1-rail: #000000; --s1-rail-raised: #141414; --s1-rail-active: #2e2e2e; --s1-rail-line: #3a3a3a; --s1-rail-text: #ffffff; --s1-rail-mute: #c4c4c4; --s1-rail-accent: #ffffff;
  --s1-shadow-panel: 0 1px 2px rgb(0 0 0 / .18);
  --s1-late: #a30000; --s1-soon: #704000; --s1-wait: #1a3fb8; --s1-ok: #0b5d2e;
  --s1-line-strong: #595959; --s1-fill-strong: #595959; --s1-fill-soft: #e3e3e3; --s1-hover: #f5f5f5; --s1-dot: #a6a6a6; --s1-track: #d4d4d4; --s1-avatar: #dcdcdc; --s1-checkbox: #4d4d4d; --s1-control-line: #767676;
  --s1-accent: #000000 !important; --s1-on-accent: #ffffff !important; --s1-accent-hover: #262626 !important; --s1-accent-text: #000000 !important; --s1-accent-2: #404040 !important; --s1-on-accent-2: #ffffff !important; --s1-accent-2-text: #262626 !important;
  /* selected */
  --s1-accent-soft: #e3e3e3; --s1-accent-soft-2: #d1d1d1; --s1-accent-line: #6b6b6b;
  --s1-accent-2-soft: #ececec; --s1-accent-2-soft-2: #dedede; --s1-accent-2-line: #7a7a7a;
  /* the older names the redesign sheets still read, kept in step */
  --canvas: #ffffff; --panel: #ffffff; --well: #ebebeb; --raised: #ffffff; --line: #8c8c8c; --line-soft: #c8c8c8; --track: #d4d4d4; --avatar: #dcdcdc;
  --rail: #000000; --rail-active: #2e2e2e; --rail-line: #3a3a3a; --rail-accent: #ffffff;
  --shadow-pop: 0 1px 2px rgb(0 0 0 / .18), 0 14px 36px rgb(0 0 0 / .28); --shadow-frame: 0 1px 2px rgb(0 0 0 / .18), 0 18px 48px rgb(0 0 0 / .22);
  --s1-role-pi: #1a1a1a; --s1-role-lead: #333333; --s1-role-coordinator: #4d4d4d; --s1-role-trainee: #262626; --s1-role-staff: #404040;
}
/* Primary buttons are the one place the accent fill goes. */
:root[data-theme="light"][data-palette="mono"] :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="light"][data-palette="mono"] :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="light"][data-palette="mono"] .btn.pri { background: var(--s1-accent); border-color: var(--s1-accent); color: var(--s1-on-accent); }
:root[data-theme="light"][data-palette="mono"] .btn.pri:hover { background: var(--s1-accent-hover); border-color: var(--s1-accent-hover); }
