/*
 * Autotriage Tools — design tokens for the checker widget and calculators.
 * These match wp-content/themes/autotriage/style.css exactly, so loading
 * both causes no visual change; they exist here too so the shortcodes in
 * this plugin still render correctly if a different theme is active.
 * (Component rules for .tool/.calc-card/.lib-card/etc. live in the theme's
 * style.css; if you reuse this plugin under another theme, copy those
 * rules across as well — they're plain CSS with no build step.)
 */
:root{
  --bg:#eef1f1; --surface:#ffffff; --surface-raised:#ffffff;
  --ink:#12181b; --ink-soft:#4b5760; --ink-faint:#7a858c;
  --line:#d8dede; --line-soft:#e6eaea;
  --accent:#0e7c86; --accent-strong:#0a5f67; --accent-soft:#e3f3f2;
  --safe:#2f7d4c; --safe-soft:#e5f3ea;
  --caution:#93650e; --caution-soft:#faf0dd;
  --urgent:#a3332b; --urgent-soft:#fbe8e6;
  --shadow: 0 1px 2px rgba(18,24,27,.04), 0 8px 24px -12px rgba(18,24,27,.18);
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#0f1518; --surface:#161e22; --surface-raised:#1b2429;
    --ink:#e7edee; --ink-soft:#a4b3b8; --ink-faint:#79868c;
    --line:#2a353a; --line-soft:#212a2e;
    --accent:#4fd6cc; --accent-strong:#7ee6de; --accent-soft:rgba(79,214,204,.13);
    --safe:#6fc492; --safe-soft:rgba(111,196,146,.13);
    --caution:#e0ab55; --caution-soft:rgba(224,171,85,.14);
    --urgent:#e88880; --urgent-soft:rgba(232,136,128,.15);
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 28px -14px rgba(0,0,0,.6);
  }
}
:root[data-theme="dark"]{
  --bg:#0f1518; --surface:#161e22; --surface-raised:#1b2429;
  --ink:#e7edee; --ink-soft:#a4b3b8; --ink-faint:#79868c;
  --line:#2a353a; --line-soft:#212a2e;
  --accent:#4fd6cc; --accent-strong:#7ee6de; --accent-soft:rgba(79,214,204,.13);
  --safe:#6fc492; --safe-soft:rgba(111,196,146,.13);
  --caution:#e0ab55; --caution-soft:rgba(224,171,85,.14);
  --urgent:#e88880; --urgent-soft:rgba(232,136,128,.15);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 28px -14px rgba(0,0,0,.6);
}
