/* Shared by the OA shell and its embedded workspaces. */
:root {
  color-scheme: light;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --control-height: 36px;
  --control-height-touch: 44px;
  /* Accent — indigo */
  --accent-25: #f7f7ff;
  --accent-50: #f0f1fe;
  --accent-100: #e2e4fd;
  --accent-200: #c9cdfb;
  --accent-300: #a5abf7;
  --accent-400: #8087f1;
  --accent-500: #6366e9;
  --accent-600: #5150d8;
  --accent-700: #4340bc;
  --accent-800: #383598;
  --accent-900: #1e1b4b;

  /* Neutrals — zinc */
  --n-0: #ffffff;
  --n-25: #fcfcfd;
  --n-50: #fafafa;
  --n-100: #f4f4f5;
  --n-150: #ededef;
  --n-200: #e4e4e7;
  --n-300: #d4d4d8;
  --n-400: #a1a1aa;
  --n-500: #71717a;
  --n-600: #52525b;
  --n-700: #3f3f46;
  --n-800: #27272a;
  --n-900: #18181b;
  --n-950: #09090b;

  /* Status */
  --green-50: #ecfdf3; --green-200: #abefc6; --green-500: #17b26a; --green-700: #067647;
  --amber-50: #fffaeb; --amber-200: #fedf89; --amber-500: #f79009; --amber-700: #b54708;
  --red-50: #fef3f2;   --red-200: #fecdca;   --red-500: #f04438;   --red-700: #b42318;

  /* Type */
  --font-sans: "Inter Variable", "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --fs-2xs: 11px; --fs-xs: 12px; --fs-sm: 13px; --fs-md: 14px; --fs-lg: 16px; --fs-xl: 20px; --fs-2xl: 24px; --fs-3xl: 30px;

  /* Shape & depth */
  --r-sm: 6px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px; --r-full: 999px;
  --shadow-xs: 0 1px 2px rgba(9, 9, 11, .05);
  --shadow-sm: 0 1px 2px rgba(9, 9, 11, .04), 0 1px 3px rgba(9, 9, 11, .04);
  --shadow-md: 0 2px 4px -1px rgba(9, 9, 11, .04), 0 8px 16px -4px rgba(9, 9, 11, .08);
  --shadow-lg: 0 12px 24px -6px rgba(9, 9, 11, .10), 0 32px 64px -12px rgba(9, 9, 11, .18);
  --ring: 0 0 0 4px rgba(99, 102, 233, .16);
  --ease: cubic-bezier(.2, .8, .2, 1);

  /* Legacy names consumed by every module stylesheet */
  --bg: var(--n-50);
  --panel: var(--n-0);
  --line: var(--n-200);
  --text: var(--n-900);
  --muted: var(--n-500);
  --primary: var(--accent-600);
  --primary-dark: var(--accent-700);
  --danger: var(--red-700);
  --warn: var(--amber-700);
  --ok: var(--green-700);
}
