/* ecbanquet design tokens — light and dark.
   Consumed by assets/css/app.css. Keep literal colours here only. */
:root {
  --brand-700: #0a4f4b;
  --brand-600: #0f6b66;
  --brand-500: #16827b;
  --brand-100: #cfe7e4;
  --brand-050: #eaf4f2;

  --accent-600: #b45309;
  --accent-500: #d97706;
  --accent-050: #fff7ea;

  --ink: #0e1a24;
  --ink-soft: #31424f;
  --ink-muted: #5b6b78;
  --line: #dde5ea;
  --surface: #ffffff;
  --surface-alt: #f6f8f9;
  --sidebar-bg: #07211f;

  --success: #157347;
  --success-soft: #e7f4ec;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --warning: #a15c07;
  --warning-soft: #fff4e0;
  --info: #1d4ed8;
  --info-soft: #eaf0fe;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow: 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 18px 48px rgba(15, 23, 42, .13);
  --focus-ring: 0 0 0 .2rem rgba(15, 107, 102, .22);

  --sidebar-w: 264px;
  --topbar-h: 60px;

  --font-sans: "Inter", "Noto Sans TC", "PingFang HK", "Microsoft JhengHei",
    system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-bs-theme]) {
    --brand-700: #7fd8cf;
    --brand-600: #16827b;
    --brand-500: #4fc3b8;
    --brand-100: #123b39;
    --brand-050: #0e2b29;
    --accent-600: #f2b45c;
    --accent-500: #fbbf24;
    --accent-050: #2a1e0b;
    --ink: #e6eef2;
    --ink-soft: #b8c7cf;
    --ink-muted: #8fa3ae;
    --line: #243a47;
    --surface: #101e26;
    --surface-alt: #0a141a;
    --sidebar-bg: #061417;
    --success: #4ade80;
    --success-soft: #0f2e20;
    --danger: #f87171;
    --danger-soft: #34100e;
    --warning: #fbbf24;
    --warning-soft: #2e210a;
    --info: #93c5fd;
    --info-soft: #0d1b33;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35), 0 1px 3px rgba(0, 0, 0, .25);
    --shadow: 0 8px 24px rgba(0, 0, 0, .35);
    --shadow-lg: 0 18px 48px rgba(0, 0, 0, .45);
    --focus-ring: 0 0 0 .2rem rgba(79, 195, 184, .25);
    color-scheme: dark;
  }
}

[data-bs-theme="dark"] {
  --brand-700: #7fd8cf;
  --brand-600: #16827b;
  --brand-500: #4fc3b8;
  --brand-100: #123b39;
  --brand-050: #0e2b29;
  --accent-600: #f2b45c;
  --accent-500: #fbbf24;
  --accent-050: #2a1e0b;
  --ink: #e6eef2;
  --ink-soft: #b8c7cf;
  --ink-muted: #8fa3ae;
  --line: #243a47;
  --surface: #101e26;
  --surface-alt: #0a141a;
  --sidebar-bg: #061417;
  --success: #4ade80;
  --success-soft: #0f2e20;
  --danger: #f87171;
  --danger-soft: #34100e;
  --warning: #fbbf24;
  --warning-soft: #2e210a;
  --info: #93c5fd;
  --info-soft: #0d1b33;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35), 0 1px 3px rgba(0, 0, 0, .25);
  --shadow: 0 8px 24px rgba(0, 0, 0, .35);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, .45);
  --focus-ring: 0 0 0 .2rem rgba(79, 195, 184, .25);
  color-scheme: dark;
}

[data-bs-theme="light"] {
  color-scheme: light;
}
