/* =========================================
   大厂级 SaaS 全局字体与排版标准 (覆盖 Layui)
   ========================================= */

/* 强制接管所有文本容器的字体 */
html, body, div, span, p, a, h1, h2, h3, h4, h5, h6,
.layui-card, .layui-table, .layui-layer, .layui-nav,
.layui-btn, input, textarea, select {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* 基础正文颜色与字号 */
body {
  font-size: 14px;
  color: #262626 !important; /* 彻底废弃纯黑 #000 */
  background-color: #f0f2f5 !important;
}

/* =========================================
   灰度与字重体系 (Typography Hierarchy)
   ========================================= */

/* 主标题 / 强调数据 */
.text-primary, h1, h2, .layui-card-header {
  color: #1f1f1f !important;
  font-weight: 600 !important;
}

/* 常规说明文段 */
.text-normal {
  color: #595959 !important;
}

/* 辅助信息 (时间、流水号、底价) */
.text-muted, .layui-word-aux {
  color: #8c8c8c !important;
  font-weight: 400 !important;
}

/* 金额与数字专用样式 (等宽对齐) */
.font-number {
  font-family: "Inter", sans-serif !important;
  font-feature-settings: "tnum" 1; /* 等宽数字 */
}
