/* ==========================================================================
   Dark mode – GENERATED by tools/farbcheck.php on 2026-11-17 22:01
   Do not edit by hand: change theme.css and run the check again.
   Loaded only when the Panel switch is on, and only for devices set to dark.
   Source colors: primary #2b3b39, accent #f9a
   All pairs checked: text ≥ 7:1, UI elements ≥ 3:1 (WCAG AAA).
   source-hash: 8ecbd99fb1e8e0f73b8a7527c729fa1a
   ========================================================================== */

:root {
  color-scheme: dark;

  --color-error: #fb988e;
  --color-success: #8bc89b;
  --color-info: #8bbbf3;
}

:root,
[data-surface="default"] {
  --surface-bg: #0a1413;
  --surface-text: #ecf4f3;
  --surface-text-muted: #bac7c5;
  --surface-link: #ecf4f3;
  --surface-border: #283331;
  --surface-border-strong: #7a8684;
  --surface-box-bg: #151f1e;
  --surface-action-bg: #e4edec;
  --surface-action-text: #0a1413;
  --surface-action-bg-hover: #c7d4d2;
  --surface-focus: #ecf4f3;
}

[data-surface="subtle"] {
  --surface-bg: #131d1c;
  --surface-text: #ecf4f3;
  --surface-text-muted: #bac7c5;
  --surface-link: #ecf4f3;
  --surface-border: #323d3c;
  --surface-border-strong: #859290;
  --surface-box-bg: #1e2928;
  --surface-action-bg: #e4edec;
  --surface-action-text: #0e1817;
  --surface-action-bg-hover: #c7d4d2;
  --surface-focus: #ecf4f3;
}

[data-surface="primary"] {
  --surface-bg: #1c2c2a;
  --surface-text: #ecf4f3;
  --surface-text-muted: #b6c9c6;
  --surface-link: #ecf4f3;
  --surface-border: #3e4d4b;
  --surface-border-strong: #94a5a3;
  --surface-box-bg: #283836;
  --surface-action-bg: #e4edec;
  --surface-action-text: #0a1918;
  --surface-action-bg-hover: #c3d5d3;
  --surface-focus: #ecf4f3;
}

[data-surface="accent"] {
  --surface-bg: #ff9fae;
  --surface-text: #1a0a0c;
  --surface-text-muted: #3b282a;
  --surface-link: #1a0a0c;
  --surface-border: #de7e8f;
  --surface-border-strong: #574245;
  --surface-box-bg: #ffb9c3;
  --surface-action-bg: #221013;
  --surface-action-text: #f2e0e2;
  --surface-action-bg-hover: #412d2f;
  --surface-focus: #1a0a0c;
}
