/* CompanyAI UX handoff tokens, 2026-11-19.
 * Semantic colors copied from web/src/app/globals.css.
 * --cai-* dimensions below are an export contract for this guide, not an existing SDK.
 * Scope .dark to the theme root; both themes keep bright brand surfaces and dark labels.
 */
:root {
  --background: #f8fafc;
  --foreground: #0f172a;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --border: #e2e8f0;
  --ring: #006d9f;
  --primary: #01AEFF;
  --primary-ink: #006d9f;
  --primary-foreground: #05131b;
  --shell-header-height: 72px;
  --muted: #64748b;
  --muted-bg: #f1f5f9;
  --success: #15803d;
  --warning: #b45309;
  --danger: #dc2626;
  --info: #0369a1;
}

.dark {
  --background: #0b0b0d;
  --foreground: #ececf1;
  --card: #111114;
  --card-foreground: #ececf1;
  --border: #222228;
  --ring: #01AEFF;
  --primary: #01AEFF;
  --primary-ink: #01AEFF;
  --primary-foreground: #05131b;
  --muted: #94a3b8;
  --muted-bg: #18181b;
  --success: #4ade80;
  --warning: #fbbf24;
  --danger: #fb7185;
  --info: #7dd3fc;
}

:root {
  --cai-font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --cai-font-mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  --cai-brand-blue: #01AEFF;
  --cai-brand-red: #FF2719;
  --cai-brand-purple: #AC43DE;
  --cai-brand-indigo: #5856D6;
  --cai-brand-green: #29C750;
  --cai-brand-yellow: #FFCC01;
  --cai-brand-orange: #FF9502;
  --cai-space-1: 4px;
  --cai-space-2: 8px;
  --cai-space-3: 12px;
  --cai-space-4: 16px;
  --cai-space-5: 20px;
  --cai-space-6: 24px;
  --cai-space-8: 32px;
  --cai-radius-control: 8px;
  --cai-radius-surface: 12px;
  --cai-radius-dialog: 16px;
  --cai-control-height: 44px;
  --cai-compact-control-height: 40px;
  --cai-sidebar-width: 240px;
  --cai-sidebar-collapsed-width: 72px;
  --cai-surface-shadow: 0 1px 2px rgb(15 23 42 / .04), 0 8px 24px rgb(15 23 42 / .035);
  --cai-duration-fast: 150ms;
  --cai-duration-normal: 200ms;
}
.dark {
  --cai-surface-shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 28px rgb(0 0 0 / .14);
}
@media (max-width: 639px) {
  :root { --shell-header-height: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { --cai-duration-fast: 0ms; --cai-duration-normal: 0ms; }
}
