@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700&display=swap');

:root {
  /* Color — blue / white enterprise */
  --color-bg: #f5f8fc;
  --color-bg-elevated: #eef3fa;
  --color-surface: #ffffff;
  --color-surface-2: #f8fafc;
  --color-surface-3: #eef2f7;
  --color-border: #e5eaf2;
  --color-border-strong: #d0d7e2;
  --color-text: #1f2937;
  --color-text-secondary: #667085;
  --color-text-muted: #98a2b3;
  --color-primary: #1677ff;
  --color-primary-hover: #4096ff;
  --color-primary-active: #0958d9;
  --color-primary-soft: rgba(22, 119, 255, 0.08);
  --color-primary-soft-strong: rgba(22, 119, 255, 0.14);
  --color-success: #12b76a;
  --color-warning: #f79009;
  --color-danger: #f04438;

  /* Typography */
  --font-display: "Plus Jakarta Sans", "Noto Sans SC", sans-serif;
  --font-sans: "Noto Sans SC", "Plus Jakarta Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;

  /* Radius — restrained enterprise */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;

  /* Shadow — soft, single-layer */
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 4px 16px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, 0.08);

  /* Layout */
  --header-height: 56px;
  --sidebar-width: 220px;
  --sidebar-collapsed: 72px;
  --bottom-nav-height: 64px;
  --container-max: 1280px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --transition: 0.01ms;
  }
}
