/* BuggedBrain Admin Theme — tokens, generated from tokens.json (2026-10-18).
 * assets/styles/admin-tokens.css. After editing tokens in the design system, replace this file with its tokens.css. */

:root, [data-theme="light"] {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-sunken: #eef0f3;
  --surface-hover: #f1f3f5;
  --border: #e1e4e8;
  --border-input: #7f8792;
  --text: #1a1d21;
  --text-muted: #59616c;
  --accent: #0b6b77;
  --accent-hover: #08545d;
  --accent-soft: #e2f1f3;
  --on-accent: #ffffff;
  --link: var(--accent);
  --focus-ring: var(--accent);
  --success: #1d7238;
  --success-soft: #e5f3e9;
  --warning: #875400;
  --warning-soft: #fbf0d9;
  --danger: #b9322a;
  --danger-soft: #fbe8e6;
  --info: #2d5ba3;
  --info-soft: #e7eef8;
  --on-status: #ffffff;
  --sidebar-bg: var(--surface);
  --topbar-bg: var(--surface);
  --backdrop: rgba(15, 17, 20, 0.5);
  --chart-1: #008ea0;
  --chart-2: #eb6834;
  --chart-3: #2a78d6;
  --chart-4: #eda100;
  --chart-5: #e87ba4;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow: 0 4px 12px rgba(16, 24, 40, 0.08), 0 1px 3px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 16px 40px rgba(16, 24, 40, 0.16);
}
[data-theme="dark"] {
  --bg: #0f1114;
  --surface: #171a1e;
  --surface-sunken: #0b0d0f;
  --surface-hover: #1f2328;
  --border: #2a2f36;
  --border-input: #6c7480;
  --text: #e7e9ec;
  --text-muted: #9ca4ae;
  --accent: #4cbfcc;
  --accent-hover: #7dd3dc;
  --accent-soft: #113338;
  --on-accent: #0b1416;
  --success: #5ccf86;
  --success-soft: #11301c;
  --warning: #f0bf4c;
  --warning-soft: #382a09;
  --danger: #ff8b80;
  --danger-soft: #3a1714;
  --info: #8ab4f8;
  --info-soft: #16253f;
  --on-status: #0b1416;
  --backdrop: rgba(0, 0, 0, 0.65);
  --chart-1: #1fa3b3;
  --chart-2: #d95926;
  --chart-3: #3987e5;
  --chart-4: #c98500;
  --chart-5: #d55181;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
}
:root {
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 48px;
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-pill: 50rem;
  --sidebar-width: 256px;
  --sidebar-width-collapsed: 64px;
  --topbar-height: 56px;
  --content-max-width: 1440px;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", SFMono-Regular, Menlo, Consolas, "Ubuntu Mono", "Liberation Mono", monospace;
}
.page-title { font-family: var(--font-sans); font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.01em; }
.section-title { font-family: var(--font-sans); font-size: 18px; line-height: 26px; font-weight: 600; }
.card-title { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 600; }
.stat-value { font-family: var(--font-sans); font-size: 28px; line-height: 36px; font-weight: 600; letter-spacing: -0.01em; }
.body { font-family: var(--font-sans); font-size: 15px; line-height: 22px; font-weight: 400; }
.body-strong { font-family: var(--font-sans); font-size: 15px; line-height: 22px; font-weight: 600; }
.label { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 500; }
.small { font-family: var(--font-sans); font-size: 13px; line-height: 18px; font-weight: 400; }
.overline { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.04em; }
.code { font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 400; }
