/* 全站设计变量（全站美观第 4 批起）。放在所有样式表最前面；各模块引用这些变量，不再各写一套。
   规范见资料根 outputs/las-visual-audit-20261121/方案.md 第二节。 */
:root{
  --font-sans:"PingFang SC",-apple-system,BlinkMacSystemFont,system-ui,"Microsoft YaHei","Segoe UI",sans-serif;
  --font-mono:ui-monospace,SFMono-Regular,Consolas,monospace;
  /* 字号 6 档 + 特例（字号/行高） */
  --fs-caption:12px;--lh-caption:18px;     /* 辅助：时间、计数、角标、说明 */
  --fs-small:13px;--lh-small:20px;         /* 次要：列表次要信息、小按钮、标签、toast */
  --fs-body:14px;--lh-body:22px;           /* 正文、按钮、菜单、表单、对话 */
  --fs-subtitle:16px;--lh-subtitle:24px;   /* 卡片标题、弹窗标题 */
  --fs-section:20px;--lh-section:28px;     /* 页面里的分区标题 */
  --fs-page:28px;--lh-page:36px;           /* 每页唯一的主标题 */
  --fs-display:36px;--lh-display:44px;     /* 特例：积分余额大数字 */
  --fw-regular:400;--fw-medium:500;--fw-semibold:600;
  /* 颜色（全站美观第 6 批）：一条灰阶 + 一个紫（只用在积分、选中、勾选、进度）+ 三个状态色 */
  --surface-1:#191919;--surface-2:#222222;--surface-3:#2c2c2c;   /* 侧栏面板 / 卡片输入框 / 次按钮悬停 */
  --line-subtle:rgba(255,255,255,.08);--line-strong:rgba(255,255,255,.14);
  --text-1:rgba(255,255,255,.92);   /* 标题、正文 */
  --text-2:rgba(255,255,255,.64);   /* 次要文字 */
  --text-3:rgba(255,255,255,.40);   /* 提示、占位 */
  --text-4:rgba(255,255,255,.28);   /* 禁用 */
  --accent-purple:#a98bf5;--accent-purple-soft:rgba(169,139,245,.16);
  --success:#8fd4b0;--warning:#e8c07d;--danger:#ef8f8f;
}
/* 滚动条全站一种写法（兼容性第 9 条）：标准属性，Chrome/Edge/Firefox 都认，Windows 上也是同样的细条。
   写了 scrollbar-width:none 的地方选择器更具体，仍然隐藏。 */
*{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.2) transparent}
