/* Miami Light theme (Settings > Appearance): White pages with Miami pink as the main accent, coral as the second, teal for good news and soft purple for what is selected. Raw colors live here, never in s1-accent.css. Loaded right after s1-accent.css. */
/* Miami Light is a selectable palette on the light theme: the light theme's own tokens with new values, switched by html[data-palette="miami-light"] 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="miami-light"] {
  color-scheme: light;
  --s1-ink: #1a1440; --s1-ink-hover: #2c2266; --s1-on-ink: #ffffff; --s1-ink-2: #3a3263; --s1-mute: #5a5483;
  --s1-line: #d6d0ea; --s1-line-soft: #e8e4f4; --s1-canvas: #ffffff; --s1-panel: #ffffff; --s1-panel-head: #f7f4fc; --s1-column: #f3f0fa;
  --s1-rail: #1b1445; --s1-rail-raised: #261d5c; --s1-rail-active: #33287a; --s1-rail-line: #342b78; --s1-rail-text: #e0dcf6; --s1-rail-mute: #b0a9dc; --s1-rail-accent: #ff8cb8;
  --s1-shadow-panel: 0 1px 2px rgb(26 20 64 / .08);
  --s1-late: #b42318; --s1-soon: #8a4b00; --s1-wait: #3a4fc7; --s1-ok: #086656;
  --s1-line-strong: #8f86c4; --s1-fill-strong: #7a70b3; --s1-fill-soft: #f0ecfa; --s1-hover: #faf8fe; --s1-dot: #cfc8e6; --s1-track: #ddd7ef; --s1-avatar: #ece8f8; --s1-checkbox: #756cae; --s1-control-line: #857db7;
  --s1-accent: #d6246e !important; --s1-on-accent: #ffffff !important; --s1-accent-hover: #b81c5b !important; --s1-accent-text: #b0145a !important; --s1-accent-2: #c2410c !important; --s1-on-accent-2: #ffffff !important; --s1-accent-2-text: #a53208 !important;
  /* selected */
  --s1-accent-soft: #f0eaff; --s1-accent-soft-2: #e4dcfd; --s1-accent-line: #a99bea;
  --s1-accent-2-soft: #fff0e9; --s1-accent-2-soft-2: #ffd9cb; --s1-accent-2-line: #f0a58a;
  /* the older names the redesign sheets still read, kept in step */
  --canvas: #ffffff; --panel: #ffffff; --well: #f3f0fa; --raised: #ffffff; --line: #d6d0ea; --line-soft: #e8e4f4; --track: #ddd7ef; --avatar: #ece8f8;
  --rail: #1b1445; --rail-active: #33287a; --rail-line: #342b78; --rail-accent: #ff8cb8;
  --shadow-pop: 0 1px 2px rgb(26 20 64 / .08), 0 14px 36px rgb(26 20 64 / .16); --shadow-frame: 0 1px 2px rgb(26 20 64 / .08), 0 18px 48px rgb(26 20 64 / .12);
  --s1-role-pi: #6d3aa8; --s1-role-lead: #b0125a; --s1-role-coordinator: #7a5200; --s1-role-trainee: #086656; --s1-role-staff: #3b3f66;
}
/* Primary buttons are the one place the accent fill goes. */
:root[data-theme="light"][data-palette="miami-light"] :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="miami-light"] :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="miami-light"] .btn.pri { background: var(--s1-accent); border-color: var(--s1-accent); color: var(--s1-on-accent); }
:root[data-theme="light"][data-palette="miami-light"] .btn.pri:hover { background: var(--s1-accent-hover); border-color: var(--s1-accent-hover); }
