/* Shared MUTE palette, extracted unchanged from the current public/ui.css. */
:root {
  --font-ui: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --ink: #18263d;
  --muted: #596678;
  --ground: #f2f3f7;
  --panel: #ffffff;
  --panel-2: #e9ecf2;
  --line: #e0e4ec;
  --accent: #245fc9;
  --accent-strong: #2058bb;
  --accent-soft: #eaf1ff;
  --accent-ink: #ffffff;
  --danger: #b5263f;
  --danger-soft: #ffedf0;
  --success: #176b4e;
  --glass: rgba(255,255,255,.84);
  --overlay: rgba(12,24,43,.38);
  --soft-shadow: 0 4px 18px rgba(15,36,70,.06);
  --dialog-shadow: 0 20px 64px rgba(15,36,70,.18);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-dialog: 28px;
  --text-xs: .8125rem;
  --text-sm: .875rem;
  --text-base: 1rem;
  --motion-fast: 140ms;
  --motion-tab: 160ms;
  --motion-detail: 240ms;
  --motion-panel: 280ms;
  --ease-ui: cubic-bezier(.23,1,.32,1);
}
:root[data-theme="dark"] {
  --ink: #f2f4f8;
  --muted: #a9b2c2;
  --ground: #101217;
  --panel: #1c2028;
  --panel-2: #292e39;
  --line: #363d49;
  --accent-strong: #a8caff;
  --accent-soft: #243650;
  --danger: #ffadb9;
  --danger-soft: #422633;
  --success: #8bdfbd;
  --glass: rgba(28,32,40,.86);
  --overlay: rgba(0,5,14,.65);
  --soft-shadow: 0 4px 18px rgba(0,0,0,.15);
  --dialog-shadow: 0 20px 64px rgba(0,0,0,.4);
}
/* Public documents follow the system; the app's explicit preference still wins. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --ink: #f2f4f8;
    --muted: #a9b2c2;
    --ground: #101217;
    --panel: #1c2028;
    --panel-2: #292e39;
    --line: #363d49;
    --accent-strong: #a8caff;
    --accent-soft: #243650;
    --danger: #ffadb9;
    --danger-soft: #422633;
    --success: #8bdfbd;
    --glass: rgba(28,32,40,.86);
    --overlay: rgba(0,5,14,.65);
    --soft-shadow: 0 4px 18px rgba(0,0,0,.15);
    --dialog-shadow: 0 20px 64px rgba(0,0,0,.4);
  }
}
