/*
 * dark: graphite with a soft blue accent (D32). Default when the system is in dark mode.
 * Blue is the accent here, so "move" is lilac and "print" pink: intents never look alike.
 */
:root[data-theme='dark'] {
  color-scheme: dark;

  --color-bg: #1b1d21;
  --color-sidebar: #16181b;
  --color-surface: #22252a;
  --color-surface-sunken: #1b1d21;
  --color-border: #353941;
  --color-text: #e8eaed;
  --color-text-muted: #a4a9b2;
  --color-selected: #262b33;
  --color-avatar: #353941;

  --color-accent: #8ab4f8;
  --color-on-accent: #10141b;
  --color-accent-soft: #233049;
  --color-link: #9dc1fa;

  --intent-add: var(--color-accent);
  --intent-move: #c5a8f2;
  --intent-adjust: #8fcb9b;
  --intent-adjust-soft: #1e3125;
  --intent-warn: #e9bc5d;
  --intent-warn-soft: #382d16;
  --intent-danger: #f2958b;
  --intent-danger-soft: #3d211e;
  --intent-scan: #79cfc4;
  --intent-print: #eba6cb;
  --intent-history: var(--color-text-muted);
  --intent-hint: #e9bc5d;
  --intent-hint-soft: #382d16;
  --intent-hint-ring: #6a5527;

  --color-tooltip-bg: #e8eaed;
  --color-tooltip-text: #1b1d21;
  --color-toast-action: #2e5fa8;
  --color-scrim: rgb(0 0 0 / 0.55);

  --shadow-popover: 0 12px 32px rgb(0 0 0 / 0.45);
  --shadow-toast: 0 10px 30px rgb(0 0 0 / 0.5);

  /* Package drawings (F54): materials, not intents. */
  --pk-tile: #2a2e34;
  --pk-body: #4b5059;
  --pk-edge: #6f7682;
  --pk-lead: #c9ced6;
  --pk-lead-edge: #8a9099;
  --pk-mark: #9aa1ac;
  --pk-band: #25282d;
  --pk-ceramic: #b8956a;
  --pk-ceramic-edge: #d0ad80;
  --pk-ferrite: #767b84;
  --pk-alu: #c3c8ce;
  --pk-alu-edge: #e0e4e8;
  --pk-sleeve: #4b6a8f;
  --pk-sleeve-edge: #6c8bb0;
  --pk-sleeve-mark: #c7d3e2;
  --pk-pcb: #3f6f56;
  --pk-pcb-edge: #5d8f74;
  --pk-white: #d9dce0;
  --pk-white-edge: #f0f2f4;
  --pk-tant: #c99632;
  --pk-tant-edge: #e2b357;
  --pk-blue: #4a7bc0;
  --pk-blue-edge: #76a0da;
}
