/* Kangaroo Desk — design tokens */
:root {
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Mono", "Consolas", ui-monospace, monospace;
  --ease: 160ms ease;
  --kd-sidebar-width: 340px;
  --kd-nav-icon: 14px;
  --kd-nav-min-h: 34px;
  --kd-nav-count: 16px;
  --kd-avatar-size: 34px;
  --kd-icon-btn: 32px;
  --kd-icon-svg: 18px;
  --kd-brand-logo: 28px;
  --kd-head-pad: 12px 16px;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #f0f3f6;
  --text: #0f172a;
  --text-muted: #64748b;
  --accent: #0f7a5a;
  --accent-contrast: #ffffff;
  --danger: #b42318;
  --border: #e2e8f0;
  --border-soft: color-mix(in srgb, var(--border) 70%, transparent);
  --brand-badge: #0b4f6c;
  --queue: #c45c26;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #f0f3f6;
  --text: #0f172a;
  --text-muted: #64748b;
  --accent: #0f7a5a;
  --accent-contrast: #ffffff;
  --danger: #b42318;
  --border: #e2e8f0;
  --border-soft: color-mix(in srgb, var(--border) 70%, transparent);
  --brand-badge: #0b4f6c;
  --queue: #c45c26;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c1116;
  --surface: #141b22;
  --surface-2: #1a232c;
  --text: #e8eef3;
  --text-muted: #8fa0b0;
  --accent: #3cb371;
  --accent-contrast: #0b1a14;
  --danger: #f97066;
  --border: #243039;
  --border-soft: color-mix(in srgb, var(--border) 75%, transparent);
  --brand-badge: #5eb1d4;
  --queue: #e89a5c;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  font-family: var(--kd-user-font, var(--font));
  font-size: var(--kd-user-font-size, 15px);
  background: var(--bg);
  color: var(--kd-user-text, var(--text));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
button, input, textarea, select {
  font: inherit;
}
a { color: var(--accent); }
