/* ===== 小智|日报管理 — WPS dbsheet 风格变量 ===== */
:root {
  /* WPS 官方蓝 */
  --primary: #1677ff;
  --primary-hover: #4096ff;
  --primary-active: #0958d9;
  --primary-bg: #e6f4ff;

  /* 状态色 */
  --success: #52c41a;
  --success-bg: #f6ffed;
  --warning: #faad14;
  --warning-bg: #fffbe6;
  --danger: #ff4d4f;
  --danger-bg: #fff2f0;

  /* 文字 */
  --text: #1f1f1f;
  --text-secondary: #666;
  --text-light: #999;
  --text-white: #fff;

  /* 边框 */
  --border: #d9d9d9;
  --border-light: #f0f0f0;

  /* 背景 */
  --bg: #f5f5f5;
  --card: #fff;

  /* 圆角 — WPS dbsheet 风格 4-6px */
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;

  /* 阴影 — 极轻 */
  --shadow: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 2px 4px rgba(0,0,0,0.06);

  /* 聚焦态 */
  --focus-ring: 0 0 0 2px rgba(22,119,255,0.10);

  /* 字体 */
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;

  /* 字号 */
  --fs-caption: 12px;
  --fs-body: 14px;
  --fs-title: 16px;
  --fs-title-lg: 18px;
  --fs-hero: 22px;

  /* 间距 */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 20px;
  --spacing-xxl: 24px;

  /* Header */
  --header-height: 48px;

  /* 安全区 */
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}
