/* ============================================================
   module-home.css v1.0.0 — 模块主页通用骨架
   设计约定（蓝图暗色主题的延伸，不另起风格）：
   ① 数字一律等宽右对齐（tabular-nums），列内上下对齐
   ② KPI 带 = 打开页面的第一眼：全局数 + 警示数
   ③ 每个模块主页至多 1 个强调色按钮，其余降为中性
   ④ 空态必须"引导操作"，不给孤零零一行灰字
   ============================================================ */

/* ---------- 0. 数字规范（全局生效） ---------- */
.stat-num, .stat-label{
  font-variant-numeric: tabular-nums;
}
table td.num, table th.num{
  text-align: right;
  font-variant-numeric: tabular-nums;
}
/* 零值警示：库存/数量为 0 时的红色 */
.num-zero{ color:#f87171 !important; font-weight:700; }

/* ---------- 1. KPI 卡增强（占比 / 环比小字） ---------- */
.stat-card .kpi-sub{
  font-size:11px;
  color:#8fa8c0;
  margin-top:3px;
  letter-spacing:.02em;
}
.stat-card.kpi-accent{ border-color:rgba(96,165,250,.45); }
.stat-card.kpi-warn{ border-color:rgba(248,113,113,.5); background:rgba(248,113,113,.08); }
.stat-card.kpi-warn .stat-num{ color:#f87171; }

/* ---------- 2. 驾驶舱布局（项目总览专用） ---------- */
.dash-grid{
  display:grid;
  grid-template-columns: 1.5fr 1fr;
  gap:16px;
}
@media (max-width: 1100px){ .dash-grid{ grid-template-columns:1fr; } }

/* 待办提醒 */
.dash-todo{ display:flex; flex-direction:column; }
.dash-todo-item{
  display:flex; gap:10px; align-items:flex-start;
  padding:9px 2px;
  border-top:1px solid rgba(143,168,192,.15);
  cursor:pointer;
  border-radius:6px;
}
.dash-todo-item:hover{ background:rgba(96,165,250,.08); }
.dash-todo-item:first-child{ border-top:none; }
.dash-todo-dot{ width:8px; height:8px; border-radius:50%; margin-top:6px; flex-shrink:0; }
.dash-todo-dot.danger{ background:#f87171; }
.dash-todo-dot.warn{ background:#fbbf24; }
.dash-todo-dot.info{ background:#60a5fa; }
.dash-todo-title{ font-size:13px; color:#dcecf9; line-height:1.4; }
.dash-todo-desc{ font-size:11px; color:#8fa8c0; margin-top:2px; line-height:1.4; }
.dash-todo-empty{ color:#8fa8c0; font-size:13px; padding:20px 0; text-align:center; }

/* 最近动态 */
.dash-feed{ display:flex; flex-direction:column; }
.dash-feed-item{
  display:flex; gap:12px; align-items:baseline;
  padding:5px 2px;
  border-top:1px solid rgba(143,168,192,.12);
  font-size:13px; line-height:1.5;
}
.dash-feed-item:first-child{ border-top:none; }
.dash-feed-time{ color:#8fa8c0; font-size:12px; flex-shrink:0; min-width:86px; white-space:nowrap; font-variant-numeric:tabular-nums; }
.dash-feed-text{ color:#c4d6e8; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dash-feed-text b{ color:#e8f2fb; font-weight:500; }
.dash-feed-more{ font-size:12px; color:#60a5fa; cursor:pointer; padding:6px 2px 0; text-align:right; }
.dash-feed-more:hover{ text-decoration:underline; }

/* 日报动态（项目总览：最新填报进度横道，2026-10-14） */
.dash-report{ display:flex; flex-direction:column; }
.dash-report-item{
  padding:7px 2px;
  border-top:1px solid rgba(143,168,192,.12);
  cursor:pointer;
  border-radius:6px;
}
.dash-report-item:first-child{ border-top:none; }
.dash-report-item:hover{ background:rgba(96,165,250,.08); }
.dash-report-head{ display:flex; justify-content:space-between; align-items:baseline; gap:10px; margin-bottom:4px; }
.dash-report-name{
  font-size:13px; color:#dcecf9; line-height:1.4;
  min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.dash-report-date{ font-size:12px; color:#8fa8c0; flex-shrink:0; font-variant-numeric:tabular-nums; }
.dash-report-bar{
  position:relative; height:14px; border-radius:7px;
  background:rgba(143,168,192,.16);
  overflow:hidden;
}
.dash-report-fill{
  height:100%; border-radius:7px;
  background:linear-gradient(90deg, #3b82f6, #60a5fa);
}
.dash-report-fill.done{ background:linear-gradient(90deg, #22c55e, #4ade80); }
.dash-report-pct{
  position:absolute; right:6px; top:50%; transform:translateY(-50%);
  font-size:10px; line-height:1; color:#e8f2fb;
  text-shadow:0 1px 2px rgba(0,0,0,.45);
  font-variant-numeric:tabular-nums;
}

/* ---------- 3. 工具栏幽灵按钮（次要操作统一态） ---------- */
.tb-ghost{
  background:rgba(27,41,64,.72) !important;
  border:1px solid rgba(143,168,192,.35) !important;
  color:#c4d6e8 !important;
  box-shadow:none !important;
}
.tb-ghost:hover{ border-color:rgba(96,165,250,.6) !important; color:#e8f2fb !important; }

/* ---------- 4. 引导型空态 ---------- */
.empty-state{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:48px 20px; text-align:center;
}
.empty-state .es-icon{
  width:56px; height:56px; border-radius:50%;
  background:rgba(96,165,250,.1);
  border:1px dashed rgba(96,165,250,.4);
  display:flex; align-items:center; justify-content:center;
  font-size:24px; margin-bottom:14px;
}
.empty-state .es-title{ font-size:15px; color:#dcecf9; font-weight:500; margin-bottom:6px; }
.empty-state .es-desc{ font-size:12px; color:#8fa8c0; margin-bottom:16px; line-height:1.6; }
.empty-state .es-desc kbd{
  background:rgba(96,165,250,.15); border:1px solid rgba(96,165,250,.4);
  border-radius:4px; padding:1px 6px; font-size:11px; color:#93c5fd;
}

/* ---------- 4b. 徽章与占比条（人员/机械/产值通用） ---------- */
.chip{
  display:inline-block; padding:2px 9px; border-radius:10px;
  font-size:11px; line-height:1.6; white-space:nowrap;
  border:1px solid rgba(96,165,250,.35); color:#93c5fd; background:rgba(96,165,250,.10);
}
.chip.c-lead{ border-color:rgba(192,132,252,.4); color:#d8b4fe; background:rgba(192,132,252,.10); }   /* 管理层 */
.chip.c-site{ border-color:rgba(74,222,128,.4); color:#86efac; background:rgba(74,222,128,.10); }     /* 现场岗/挖机 */
.chip.c-safe{ border-color:rgba(248,113,113,.45); color:#fca5a5; background:rgba(248,113,113,.10); }  /* 安全/危险 */
.chip.c-mat{ border-color:rgba(251,191,36,.4); color:#fcd34d; background:rgba(251,191,36,.10); }      /* 材料/警示 */
.chip.c-tech{ border-color:rgba(96,165,250,.4); color:#93c5fd; background:rgba(96,165,250,.10); }     /* 技术/默认蓝 */
.chip.c-car{ border-color:rgba(45,212,191,.4); color:#5eead4; background:rgba(45,212,191,.10); }      /* 车辆 */
.miss-tag{
  display:inline-block; margin-left:6px; padding:1px 6px; border-radius:8px;
  font-size:10px; border:1px solid rgba(251,146,60,.45); color:#fdba74; background:rgba(251,146,60,.10);
  vertical-align:1px;
}
.mini-bar{ height:5px; border-radius:3px; background:rgba(143,168,192,.15); margin-top:10px; overflow:hidden; }
.mini-bar>i{ display:block; height:100%; border-radius:3px; background:linear-gradient(90deg,#3b82f6,#60a5fa); }
.mini-bar-text{ display:flex; justify-content:space-between; font-size:11px; color:#8fa8c0; margin-top:4px; }


/* ============================================================
   模块门户 v2.0.0（主次分明版）
   三层密度：视觉重心（hero 大数字+构成条）
             → 核心流程（大卡 26px 数字 + 状态）
             → 功能入口（紧凑条 12.5px）
             → 最近动态
   ============================================================ */

/* ---------- 0. 菜单组标题高亮 ---------- */
.menu-group-title.active{
  background:#141f33 !important;
  border-left-color:#60a5fa !important;
  color:#dcecf9 !important;
}

/* ---------- 1. 视觉重心区（不对称：左 1.85 / 右 1） ---------- */
.mh-hero{
  display:grid; grid-template-columns:minmax(0,1.85fr) minmax(0,1fr);
  gap:14px; margin-bottom:22px;
}
.mh-hero.no-side{ grid-template-columns:1fr; }
@media (max-width:900px){ .mh-hero{ grid-template-columns:1fr; } }

.mh-hero-main{
  position:relative; padding:18px 22px 17px; border-radius:12px;
  background:#0c2438; border:1px solid rgba(96,165,250,.24); overflow:hidden;
}
.mh-hero-main::after{
  content:''; position:absolute; right:-50px; top:-60px; width:200px; height:200px;
  border-radius:50%; pointer-events:none;
  background:radial-gradient(circle, rgba(96,165,250,.14), rgba(96,165,250,0) 70%);
}
.mh-hero-num{
  font-size:46px; font-weight:700; color:#eaf4ff; line-height:1;
  font-variant-numeric:tabular-nums; letter-spacing:-1.5px; position:relative;
}
.mh-hero-num .u{
  font-size:16px; font-weight:600; color:#9db8d4; letter-spacing:0; margin-left:7px;
}
.mh-hero-label{
  font-size:12.5px; color:#8fa8c0; margin-top:9px; letter-spacing:.3px;
}
.mh-stack{ display:flex; gap:2px; height:9px; margin-top:18px; }
.mh-stack i{ display:block; height:100%; border-radius:2px; min-width:2px; }
.mh-stack i.mg{ background:#60a5fa; }
.mh-stack i.on{ background:#4ade80; }
.mh-stack i.off{ background:rgba(143,168,192,.20); }
.mh-stack i.hl{ background:#38bdf8; }
.mh-legend{
  display:flex; flex-wrap:wrap; gap:18px; margin-top:11px;
  font-size:12px; color:#8fa8c0;
}
.mh-legend span{ display:flex; align-items:center; gap:6px; }
.mh-legend i{ width:7px; height:7px; border-radius:2px; display:inline-block; flex:0 0 auto; }
.mh-legend b{ color:#cfe2f2; font-weight:600; font-variant-numeric:tabular-nums; }

/* 右侧「需要注意」块 */
.mh-hero-side{
  padding:16px 18px; border-radius:12px; min-width:0;
  background:rgba(251,146,60,.055); border:1px solid rgba(251,146,60,.20);
  display:flex; flex-direction:column; gap:11px;
}
.mh-hero-side-t{
  font-size:11.5px; font-weight:700; color:#fdba74; letter-spacing:1.5px;
}
.mh-todo{
  display:flex; gap:9px; font-size:12.5px; color:#dcae74; line-height:1.5;
  cursor:pointer; transition:color .15s;
}
.mh-todo:hover{ color:#fbbf24; }
.mh-todo::before{
  content:''; width:5px; height:5px; border-radius:50%; background:#fb923c;
  margin-top:7px; flex:0 0 auto;
}
.mh-hero-side .mh-none{ font-size:12.5px; color:#7f9bb5; }

/* ---------- 2. 分组标题 ---------- */
.mh-sec{ margin-bottom:18px; }
.mh-sec-title{
  display:flex; align-items:center; gap:9px;
  font-size:12px; font-weight:700; color:#7c96b4; letter-spacing:1.5px;
  margin-bottom:10px; line-height:1;
}
.mh-sec-title::before{
  content:''; width:12px; height:2px; background:#3b82f6; border-radius:1px; flex:0 0 auto;
}
.mh-sec-hint{
  font-size:11px; font-weight:400; color:#5a7391; letter-spacing:0; margin-left:auto;
}

/* ---------- 3. 核心流程大卡 ---------- */
.mod-card{
  position:relative; background:#0b1e30; border:1px solid rgba(120,200,255,.14);
  border-radius:10px; padding:15px 16px; cursor:pointer;
  transition:border-color .15s, background .15s;
}
.mod-card:hover{ border-color:rgba(96,165,250,.55); background:#0e2438; }
.mod-card .mc-head{ display:flex; align-items:center; gap:9px; margin-bottom:6px; }
.mod-card .mc-icon{
  width:28px; height:28px; border-radius:50%; display:flex;
  align-items:center; justify-content:center; font-size:13px; flex:0 0 auto;
}
.mod-card .mc-title{ font-size:12.5px; font-weight:600; color:#a8c0d8; }
.mod-card .mc-num{
  font-size:26px; font-weight:700; color:#eaf4ff; line-height:1.1;
  font-variant-numeric:tabular-nums; letter-spacing:-.5px; margin-top:4px;
}
.mod-card .mc-num .u{ font-size:12px; font-weight:400; color:#8fa8c0; margin-left:3px; letter-spacing:0; }
.mod-card .mc-bar{
  height:4px; border-radius:2px; background:rgba(143,168,192,.14); margin-top:12px; overflow:hidden;
}
.mod-card .mc-bar>i{
  display:block; height:100%; border-radius:2px; background:#4ade80; transition:width .3s;
}
.mod-card.is-warn{ border-color:rgba(251,146,60,.42); }
.mod-card.is-warn .mc-num{ color:#fdba74; }
.mod-card .mc-go{
  position:absolute; top:14px; right:14px; font-size:11px; color:#3d5670; transition:color .15s;
}
.mod-card:hover .mc-go{ color:#60a5fa; }

/* 流程带（卡间箭头） */
.mh-flow{ display:flex; align-items:stretch; gap:8px; }
.mh-flow .mod-card{ flex:1 1 0; min-width:0; }
.mh-arrow{
  align-self:center; flex:0 0 auto; font-size:13px; color:#2f4a68; padding:0 1px;
}
@media (max-width:1100px){
  .mh-flow{ flex-wrap:wrap; }
  .mh-flow .mod-card{ flex:1 1 46%; }
  .mh-arrow{ display:none; }
}

/* ---------- 4. 功能入口（紧凑条） ---------- */
.mh-list{
  display:grid; grid-template-columns:repeat(auto-fill,minmax(218px,1fr)); gap:9px;
}
/* 宽版（人员档案等长文案卡片）：更宽的列 + 超长时换行而不是截断 */
.mh-list-wide{ grid-template-columns:repeat(auto-fill,minmax(340px,1fr)); }
.mh-list-wide .mi-data{ white-space:normal; }
/* 中宽版（材料台账等：条目数少、文案中等长度）：
   用 auto-fit 而非 auto-fill —— 容器宽时会按 218px 阈值多建空列，把每张卡片挤窄导致文字截断；
   auto-fit 自动折叠空列，4 个条目正好铺满一行，卡片更宽；文案过长时换行而非截断 */
.mh-list-mid{ grid-template-columns:repeat(auto-fit,minmax(272px,1fr)); }
.mh-list-mid .mi-data{ white-space:normal; }
.mh-item{
  display:flex; align-items:center; gap:11px; padding:10px 13px;
  background:#0a1a2a; border:1px solid rgba(120,200,255,.11); border-radius:8px;
  cursor:pointer; transition:border-color .15s, background .15s;
}
.mh-item:hover{ border-color:rgba(96,165,250,.45); background:#0d2233; }
.mh-item .mi-ic{
  width:28px; height:28px; border-radius:50%; display:flex;
  align-items:center; justify-content:center; font-size:12px; flex:0 0 auto;
}
.mh-item .mi-body{ min-width:0; flex:1 1 auto; }
.mh-item .mi-name{
  font-size:12.5px; font-weight:600; color:#cfe2f2;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.mh-item .mi-data{
  font-size:11.5px; color:#7fa6c9; margin-top:3px; font-variant-numeric:tabular-nums;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.mh-item.is-warn{ border-color:rgba(251,146,60,.36); }
.mh-item.is-warn .mi-data{ color:#fdba74; }

/* ---------- 5. 环比小标 ---------- */
.mc-trend-row{ margin-top:7px; }
.mc-trend{ font-size:11px; color:#64748b; }
.mc-trend.up{ color:#4ade80; }
.mc-trend.down{ color:#f87171; }

/* ---------- 6. 最近动态 ---------- */
.mh-recent{
  background:rgba(13,30,50,.45); border:1px solid rgba(96,165,250,.10);
  border-radius:8px; overflow:hidden;
}
.mh-r-item{
  display:flex; align-items:center; gap:10px;
  padding:7px 13px; font-size:12px;
  border-bottom:1px solid rgba(96,165,250,.06);
}
.mh-r-item:last-child{ border-bottom:none; }
.mh-r-user{ color:#c8dcf0; font-weight:600; white-space:nowrap; }
.mh-r-act{ font-size:11px; padding:1px 7px; border-radius:10px; white-space:nowrap; }
.mh-r-act.add{ color:#86efac; background:rgba(74,222,128,.10); }
.mh-r-act.del{ color:#fca5a5; background:rgba(248,113,113,.10); }
.mh-r-act.edit{ color:#93c5fd; background:rgba(96,165,250,.10); }
.mh-r-act.other{ color:#c4b5fd; background:rgba(167,139,250,.10); }
.mh-r-detail{ flex:1 1 auto; color:#8fa8c0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mh-r-time{ color:#5a7391; white-space:nowrap; font-variant-numeric:tabular-nums; }
@media (max-width:900px){
  .mh-r-time{ display:none; }
}

/* ---------- 7. 中等卡片网格（班组产值对比等） ---------- */
.mh-cards{
  display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:10px;
}

/* ---------- 8. 班组 × 月份 产值矩阵（生产经营门户） ----------
   注意：main.css 里有全局 `thead th{background/color !important}`、
   `tbody tr:nth-child(odd/even){background}`、`table td{border-right/bottom}` 等规则，
   会压掉本矩阵样式。这里统一用 `table.mh-mx` 前缀 + !important 夺回控制权。 */
.mh-matrix-wrap{
  overflow-x:auto; border:1px solid rgba(120,200,255,.13); border-radius:10px;
  background:#0a1a2a;
}
table.mh-mx{
  border-collapse:collapse; width:100%; min-width:620px; font-variant-numeric:tabular-nums;
  color:#c4d6e8;
}
table.mh-mx th, table.mh-mx td{
  padding:8px 13px !important; white-space:nowrap; text-align:right;
}
/* 表头 */
table.mh-mx thead th{
  font-size:11.5px !important; font-weight:600; color:#7c96b4 !important; letter-spacing:.3px;
  background:#0d1f31 !important; box-shadow:none !important;
  border:none !important; border-bottom:1px solid rgba(120,200,255,.16) !important;
}
table.mh-mx thead th.mx-th-team{ text-align:left !important; font-size:11px !important; letter-spacing:1.2px; }
table.mh-mx thead th.mx-th-sum{ color:#fbbf24 !important; }
table.mh-mx thead th.mx-cur{ background:#12293f !important; color:#93c5fd !important; }
/* 表体单元格：细横线，无竖线（班组列单独一条分隔线） */
table.mh-mx td{
  font-size:12.5px !important; color:#c4d6e8; background-color:transparent;
  border:none !important; border-bottom:1px solid rgba(120,200,255,.055) !important;
}
table.mh-mx td.mx-td-team{ text-align:left !important; border-right:1px solid rgba(120,200,255,.08) !important; }
table.mh-mx td.mx-zero{ color:#3a5068; }
table.mh-mx td.mx-cur{ box-shadow:inset 0 0 0 1px rgba(96,165,250,.14); }
table.mh-mx td.mx-sum{ color:#fbbf24 !important; font-weight:700; }
table.mh-mx td.mx-sum small{ display:block; font-size:10px; font-weight:400; color:#7c96b4; margin-top:1px; }
/* 去掉全局斑马纹，改成整行 hover */
table.mh-mx tbody tr,
table.mh-mx tbody tr:nth-child(odd),
table.mh-mx tbody tr:nth-child(even){ background:transparent !important; cursor:pointer; }
table.mh-mx tbody tr:hover{ background:rgba(56,189,248,.07) !important; }
table.mh-mx tbody tr:hover td{ border-bottom-color:rgba(96,165,250,.28) !important; }
table.mh-mx tbody tr:hover td.mx-td-team .mx-tname{ color:#fff; }
table.mh-mx .mx-team{ display:flex; align-items:center; gap:7px; }
table.mh-mx .mx-dot{ width:7px; height:7px; border-radius:50%; flex:0 0 auto; }
table.mh-mx .mx-tname{ font-size:12.5px; font-weight:600; color:#e2eefa; transition:color .15s; }
table.mh-mx .mx-tmeta{ font-size:10.5px; color:#5a7391; margin-left:2px; }
table.mh-mx tbody tr.is-warn .mx-tmeta{ color:#fdba74; }
/* 合计行 */
table.mh-mx tfoot td{
  background:#101f33 !important; font-weight:700; color:#fbbf24 !important; font-size:12.5px !important;
  border:none !important; border-top:2px solid rgba(120,200,255,.22) !important;
}
table.mh-mx tfoot td.mx-td-team{ color:#c4d6e8 !important; }
.mh-matrix-empty{ padding:26px 16px; text-align:center; color:#7f9bb5; font-size:12.5px; }

/* ============================================================
   10. 圆形视觉元素（人员管理门户）
   环形图 / 圆形步骤节点 / 圆形图标底（mi-ic、mc-icon 已圆化）
   ============================================================ */

/* ---------- 10.1 环形图视觉重心 ---------- */
.mh-hero-donut{ display:flex; align-items:center; gap:28px; }
.mh-donut-box{ flex:0 0 auto; line-height:0; }
.mh-donut{ display:block; }
.mh-donut-num{
  font-size:34px; font-weight:700; fill:#eaf4ff;
  font-variant-numeric:tabular-nums; letter-spacing:-1.2px;
}
.mh-donut-lab{ font-size:11.5px; fill:#8fa8c0; letter-spacing:.4px; }
.mh-donut-info{ flex:1 1 auto; min-width:0; }
.mh-di-title{ font-size:15px; font-weight:700; color:#e2eefa; }
.mh-di-sub{ font-size:12.5px; color:#8fa8c0; margin-top:7px; }
.mh-di-legend{ margin-top:18px; display:flex; flex-direction:column; gap:10px; }
.mh-dl-row{ display:flex; align-items:center; gap:9px; font-size:12.5px; }
.mh-dl-row i{ width:9px; height:9px; border-radius:50%; flex:0 0 auto; }
.mh-dl-name{ color:#8fa8c0; }
.mh-dl-val{ margin-left:auto; color:#cfe2f2; font-weight:600; font-variant-numeric:tabular-nums; }
@media (max-width:760px){
  .mh-hero-donut{ flex-direction:column; align-items:flex-start; gap:18px; }
}

/* ---------- 10.2 横向进度管道（月度劳资流程） ---------- */
.mh-pipe{ display:flex; gap:4px; }
.mh-pipe-seg{
  flex:1 1 0; min-width:0; cursor:pointer;
  padding:11px 13px 12px; border-radius:8px;
  background:rgba(143,168,192,.055);
  border:1px solid rgba(143,168,192,.16);
  box-shadow:inset 0 -2px 0 rgba(143,168,192,.18);
  transition:background .15s, border-color .15s;
}
.mh-pipe-seg:hover{ border-color:rgba(96,165,250,.45); background:rgba(96,165,250,.09); }
.mh-pipe-seg.done{
  background:rgba(74,222,128,.12);
  border-color:rgba(74,222,128,.28);
  box-shadow:inset 0 -2px 0 rgba(74,222,128,.55);
}
.mh-pipe-name{
  font-size:11.5px; color:#7c96b4; line-height:1.3;
  display:flex; align-items:center; gap:6px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.mh-pipe-name i{
  font-style:normal; font-size:11px; font-weight:700; flex:0 0 auto;
  width:15px; height:15px; border-radius:4px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(143,168,192,.16); color:#8fa8c0;
}
.mh-pipe-seg.done .mh-pipe-name{ color:#8fe0ae; }
.mh-pipe-seg.done .mh-pipe-name i{ background:rgba(74,222,128,.22); color:#a7f3c8; }
.mh-pipe-num{
  font-size:16px; font-weight:700; color:#5a7391; margin-top:5px;
  font-variant-numeric:tabular-nums; letter-spacing:-.3px;
}
.mh-pipe-seg.done .mh-pipe-num{ color:#e6f9ee; }
@media (max-width:900px){
  .mh-pipe{ flex-wrap:wrap; }
  .mh-pipe-seg{ flex:1 1 calc(50% - 4px); }
}

/* ============================================================
   11. 项目总览：一屏排版（首屏内看全，不产生纵向滚动）
   全局 th,td / .stat-card / .card-body 都带 !important，
   这里统一用 #module-overview 前缀提高特异性夺回控制权，
   只压缩项目总览，不影响其他模块主页。
   ============================================================ */

/* ---------- 11.1 KPI 带压缩 ---------- */
#module-overview .stat-card{ padding:12px 16px !important; }
#module-overview .stat-num{ font-size:24px !important; }
#module-overview .stat-label{ font-size:11.5px !important; }
#module-overview .stat-card .kpi-sub{ margin-top:2px !important; }

/* ---------- 11.2 区块间距与卡片内边距 ---------- */
#module-overview .dash-grid{ gap:12px !important; margin-top:12px !important; }
#module-overview > .card{ margin-top:12px !important; }
#module-overview .card-body{ padding:12px 20px !important; }
#module-overview .card-header{ padding:10px 20px !important; }

/* ---------- 11.3 每月费用统计：行高压缩（原 10px 14px） ---------- */
#module-overview #tableMonthlyCosts th,
#module-overview #tableMonthlyCosts td{ padding:6px 14px !important; }
