/* ============================================================
   LSPA Admin Portal · Design Tokens
   Visual language follows Ant Design (antd) defaults.
   DO NOT MODIFY — shared layer, zero-change rule applies.
   ============================================================ */

:root {
  /* Color */
  --primary: #1677ff;
  --primary-hover: #4096ff;
  --primary-active: #0958d9;
  --primary-bg: #e6f4ff;
  --success: #52c41a;
  --success-bg: #f6ffed;
  --warning: #faad14;
  --warning-bg: #fffbe6;
  --error: #ff4d4f;
  --error-bg: #fff2f0;
  --info: #1677ff;
  --info-bg: #e6f4ff;

  /* Neutral (antd gray scale) */
  --gray-1: #ffffff;
  --gray-2: #fafafa;
  --gray-3: #f5f5f5;
  --gray-4: #f0f0f0;
  --gray-5: #d9d9d9;
  --gray-6: #bfbfbf;
  --gray-7: #8c8c8c;
  --gray-8: #595959;
  --gray-9: #434343;
  --gray-10: #262626;

  /* Text */
  --text: rgba(0, 0, 0, 0.88);
  --text-secondary: rgba(0, 0, 0, 0.65);
  --text-tertiary: rgba(0, 0, 0, 0.45);
  --text-disabled: rgba(0, 0, 0, 0.25);
  --text-on-primary: #ffffff;

  /* Border & fill */
  --border: #d9d9d9;
  --border-secondary: #f0f0f0;
  --bg-layout: #f5f5f5;
  --bg-container: #ffffff;

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  --font-mono: 'SF Mono', SFMono-Regular, ui-monospace, Menlo, Consolas, monospace;
  --font-size: 14px;
  --font-size-sm: 12px;
  --font-size-lg: 16px;
  --line-height: 1.5715;

  /* Radius */
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;

  /* Shadow (antd shadow scale) */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 6px -1px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 9px 28px 8px rgba(0, 0, 0, 0.05), 0 6px 16px 0 rgba(0, 0, 0, 0.08);

  /* Motion */
  --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
  --dur-fast: 120ms;
  --dur: 200ms;

  /* Layout */
  --sider-width: 232px;
  --sider-collapsed-width: 64px;
  --header-height: 56px;
  --content-max: 1440px;

  /* Z-index scale (fixed) */
  --z-base: 1;
  --z-sticky: 100;
  --z-dropdown: 500;
  --z-modal: 1000;
  --z-toast: 2000;
  --z-demo-dock: 3000;
}
