/* ============================================================
   致柔 2027 · 全站视觉变量
   白底 + 浅灰面、绿色主色、大圆角、几乎无投影
   所有页面样式优先引用这里的变量，不要散落硬编码颜色
============================================================ */

:root {
  /* ---------- 颜色 ---------- */
  --color-primary: #22c55e;
  --color-primary-hover: #1eb256;
  --color-primary-active: #199a49;
  --color-primary-soft: #e8f7ec;
  --color-on-primary: #ffffff;

  --color-bg: #ffffff;
  --color-surface: #f6f7f8;
  --color-surface-strong: #f2f3f5;

  --color-text: #1f2329;
  --color-text-muted: #8a8f99;
  --color-text-disabled: #c9cdd4;

  --color-border: #e5e6eb;
  --color-border-strong: #d8dbe0;

  --color-danger: #e5484d;
  --color-danger-hover: #cf3d43;
  --color-danger-soft: #fdecec;
  --color-warning: #f59e0b;
  --color-warning-soft: #fdf3e3;
  --color-info: #3b82f6;
  --color-info-soft: #e8f1fe;

  /* 焦点环与浮层 */
  --color-primary-outline: rgba(34, 197, 94, 0.55);
  --color-primary-ring: rgba(34, 197, 94, 0.16);
  --color-danger-outline: rgba(229, 72, 77, 0.4);
  --color-danger-ring: rgba(229, 72, 77, 0.14);

  /* 遮罩与图片压暗 */
  --color-overlay: rgba(31, 35, 41, 0.92);
  --color-photo-scrim: rgba(31, 35, 41, 0.22);
  --color-scrim: rgba(31, 35, 41, 0.45);
  --color-scrim-strong: rgba(31, 35, 41, 0.58);
  --color-image-scrim: rgba(22, 25, 30, 0.72);
  --color-overlay-weak: rgba(255, 255, 255, 0.08);
  --color-overlay-strong: rgba(255, 255, 255, 0.16);
  --color-overlay-line: rgba(255, 255, 255, 0.18);

  /* 工作备忘状态：新增 / 进行 / 等待 / 完成 / 重点 */
  --color-status-new: #16a34a;
  --color-status-new-soft: #e8f7ec;
  --color-status-active: #3b82f6;
  --color-status-active-soft: #e8f1fe;
  --color-status-wait: #d97706;
  --color-status-wait-soft: #fdf3e3;
  --color-status-done: #8a8f99;
  --color-status-done-soft: #f2f3f5;
  --color-status-key: #e5484d;
  --color-status-key-soft: #fdecec;

  /* ---------- 圆角 ---------- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-pill: 999px;

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

  /* ---------- 字体 ---------- */
  --font-ui: "PingFang SC", "苹方-简", "Microsoft YaHei", "Hiragino Sans GB",
    "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --font-brand: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;

  --text-2xs: 11px;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-lg: 16px;
  --text-xl: 18px;
  --text-2xl: 20px;
  --text-3xl: 24px;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 700;

  --leading-tight: 1.4;
  --leading-base: 1.6;
  --leading-roomy: 1.75;

  /* ---------- 投影：默认不用，必要时一层极淡 ---------- */
  --shadow-none: none;
  --shadow-soft: 0 1px 2px rgba(31, 35, 41, 0.04);
  --shadow-pop: 0 8px 24px rgba(31, 35, 41, 0.08);
  --shadow-float: 0 24px 64px rgba(31, 35, 41, 0.22);

  /* ---------- 动效 ---------- */
  --ease-base: 0.18s ease;
}

/* 文本输入类元素统一 I-beam 光标，避免被页面级 cursor 规则覆盖 */
input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="file"]):not([type="range"]):not([type="color"]),
textarea,
[contenteditable="true"],
[contenteditable=""],
.w-e-text-container [data-slate-editor] {
  cursor: text;
}
