/* Sunset theme (Settings > Appearance): Warm cream pages with a deep orange accent, rose as the second colour and a dark rust sidebar. Raw colors live here, never in s1-accent.css. Loaded right after s1-accent.css. */
/* Sunset is a selectable palette on the light theme: the light theme's own tokens with new values, switched by html[data-palette="sunset"] 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="sunset"] {
  color-scheme: light;
  --s1-ink: #2b1a14; --s1-ink-hover: #1a0f0b; --s1-on-ink: #fff8f1; --s1-ink-2: #4d352b; --s1-mute: #6b5145;
  --s1-line: #e6d3c2; --s1-line-soft: #f1e3d6; --s1-canvas: #fff8f1; --s1-panel: #fffcf8; --s1-panel-head: #fdf1e6; --s1-column: #fbeee2;
  --s1-rail: #3b1410; --s1-rail-raised: #4a1c16; --s1-rail-active: #5e2a1f; --s1-rail-line: #5a2a22; --s1-rail-text: #f7e1d4; --s1-rail-mute: #d9ad9b; --s1-rail-accent: #ffa36b;
  --s1-shadow-panel: 0 1px 2px rgb(59 20 16 / .08);
  --s1-late: #b42318; --s1-soon: #8a4500; --s1-wait: #2f55c9; --s1-ok: #17673a;
  --s1-line-strong: #a98466; --s1-fill-strong: #9a7658; --s1-fill-soft: #f8ebe0; --s1-hover: #fff4ea; --s1-dot: #dcc6b3; --s1-track: #eadccd; --s1-avatar: #f5e6d8; --s1-checkbox: #94705a; --s1-control-line: #a17c65;
  --s1-accent: #c2410c !important; --s1-on-accent: #ffffff !important; --s1-accent-hover: #9a3412 !important; --s1-accent-text: #a53509 !important; --s1-accent-2: #be185d !important; --s1-on-accent-2: #ffffff !important; --s1-accent-2-text: #a8134f !important;
  /* selected */
  --s1-accent-soft: #ffeadb; --s1-accent-soft-2: #ffddc4; --s1-accent-line: #eea072;
  --s1-accent-2-soft: #fdebf2; --s1-accent-2-soft-2: #fbcfe0; --s1-accent-2-line: #ee8fb4;
  /* the older names the redesign sheets still read, kept in step */
  --canvas: #fff8f1; --panel: #fffcf8; --well: #fbeee2; --raised: #fffcf8; --line: #e6d3c2; --line-soft: #f1e3d6; --track: #eadccd; --avatar: #f5e6d8;
  --rail: #3b1410; --rail-active: #5e2a1f; --rail-line: #5a2a22; --rail-accent: #ffa36b;
  --shadow-pop: 0 1px 2px rgb(59 20 16 / .08), 0 14px 36px rgb(59 20 16 / .16); --shadow-frame: 0 1px 2px rgb(59 20 16 / .08), 0 18px 48px rgb(59 20 16 / .12);
  --s1-role-pi: #7a3d8c; --s1-role-lead: #a3124f; --s1-role-coordinator: #7a4a00; --s1-role-trainee: #0a625d; --s1-role-staff: #4a3a33;
}
/* Primary buttons are the one place the accent fill goes. */
:root[data-theme="light"][data-palette="sunset"] :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="sunset"] :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="sunset"] .btn.pri { background: var(--s1-accent); border-color: var(--s1-accent); color: var(--s1-on-accent); }
:root[data-theme="light"][data-palette="sunset"] .btn.pri:hover { background: var(--s1-accent-hover); border-color: var(--s1-accent-hover); }
