/* =====================================================================
   INC-MoE 报告专属样式：
   ① 消息语义网内集合静态示意图（.inc-net / .inc-rank / .inc-pill 等）
   ② band 流水线 Gantt 动画板（.inc-g*）
   ③ 对比框修饰（.cm-base / .cm-inc）
   公共组件样式（nav/section/table/board/controls/btn/pipe/bars 等）见 css/report.css；
   本文件只定义专属类，选择器统一以 .report 前缀收紧作用域。
   ===================================================================== */

/* ---------- ① 消息语义网内集合示意图 ---------- */
.report .inc-net {
  display: flex; align-items: stretch; gap: 14px;
  margin: 16px 0; background: var(--code-bg);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px;
}
.report .inc-ranks { flex: 0 0 132px; display: flex; flex-direction: column; gap: 6px; }
.report .inc-rank {
  border: 1px solid var(--border); border-radius: 6px; background: var(--surface);
  padding: 5px 10px; font-size: 0.78rem; font-weight: 700; color: var(--primary);
  text-align: center; font-family: "Cascadia Code", Consolas, "Courier New", monospace;
}
.report .inc-rkcap { margin-top: 4px; font-size: 0.68rem; color: var(--text-muted); line-height: 1.55; text-align: center; }
.report .inc-lanes { flex: 1 1 220px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.report .inc-pill {
  display: block; text-align: center; font-size: 0.72rem; font-weight: 600;
  border-radius: 999px; padding: 3px 10px; align-self: center;
}
.report .inc-up { background: var(--primary); color: #fff; }
.report .inc-dn { background: var(--accent); color: #fff; }
.report .inc-qty { font-size: 0.72rem; color: var(--text-muted); line-height: 1.7; text-align: center; }
.report .inc-sw {
  flex: 1 1 300px; border: 1px solid var(--accent-light); border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff 0%, #f0f7f6 100%);
  padding: 12px 16px;
}
.report .inc-sw b { display: block; color: var(--primary); font-size: 0.9rem; margin-bottom: 6px; }
.report .inc-sw span { display: block; font-size: 0.74rem; color: var(--text); line-height: 1.75; }
.report .inc-sw span::before { content: "▸ "; color: var(--accent); font-weight: 700; }
@media (max-width: 720px) {
  .report .inc-net { flex-direction: column; }
  .report .inc-ranks { flex-direction: row; flex-wrap: wrap; flex: 1 1 auto; }
  .report .inc-rank { flex: 1 1 60px; }
}

/* ---------- ② band 流水线 Gantt 动画板 ---------- */
.report .inc-pipe-stage { min-height: 430px; padding: 14px; }
.report .inc-row { display: flex; gap: 8px; align-items: stretch; margin-bottom: 6px; }
.report .inc-row-lbl {
  flex: 0 0 168px; font-size: 0.68rem; color: var(--text-muted); font-weight: 600;
  text-align: right; display: flex; align-items: center; justify-content: flex-end;
  line-height: 1.4; padding-right: 4px;
}
.report .inc-gcols { flex: 1 1 0; display: flex; gap: 3px; min-width: 245px; }
.report .inc-gt {
  flex: 1 1 0; min-width: 34px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; color: var(--text-muted);
  font-family: "Cascadia Code", Consolas, "Courier New", monospace;
  background: #f0f3f5; border: 1px solid var(--border); border-radius: 4px;
}
.report .inc-gt.now { background: var(--primary); color: #fff; font-weight: 700; border-color: var(--primary); }
.report .inc-gcell {
  flex: 1 1 0; min-width: 34px; height: 30px;
  border: 1px solid var(--border); border-radius: 5px; background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.66rem; color: #fff; font-weight: 700;
  font-family: "Cascadia Code", Consolas, "Courier New", monospace;
}
.report .inc-gcell.on { border: none; opacity: 0.92; }
.report .inc-gcell.done { border: none; opacity: 0.45; }
.report .inc-gcell.pulse { animation: incPulse 1.2s ease-in-out infinite; }
@keyframes incPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26, 82, 118, 0); }
  50% { box-shadow: 0 0 0 4px rgba(26, 82, 118, 0.45); }
}
.report .inc-glink {
  position: relative; flex: 1 1 0; min-width: 34px; height: 18px;
  background: #ffffff; border: 1px solid var(--border); border-radius: 4px; overflow: hidden;
}
.report .inc-gfill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--accent); opacity: 0.85;
}
.report .inc-glink.done { opacity: 0.45; }
.report .inc-glink.pulse { animation: incPulse 1.2s ease-in-out infinite; }
.report .inc-base-label { margin: 16px 0 6px; font-size: 0.72rem; color: var(--text-muted); font-weight: 700; }
.report .inc-bt {
  flex: 1 1 0; min-width: 0; height: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.56rem; color: var(--text-muted);
  font-family: "Cascadia Code", Consolas, "Courier New", monospace;
}
.report .inc-bcell {
  flex: 1 1 0; min-width: 0; height: 13px;
  border: 1px solid #e2e8f0; border-radius: 3px; background: var(--surface);
}
.report .inc-bcell.on { border: none; opacity: 0.5; }
.report .inc-gsum {
  margin: 16px 0 0; padding: 8px 12px; border-radius: 6px;
  background: var(--highlight); border: 1px dashed var(--accent-light);
  font-size: 0.78rem; color: var(--text); line-height: 1.7;
}
.report .inc-gsum b { color: var(--primary); }

/* ---------- ③ 对比框修饰（背景动机节：ring 基线 vs INC-MoE） ---------- */
.report .compare-box .cm-base { border-top: 4px solid var(--danger); }
.report .compare-box .cm-base h4 { color: var(--danger); border-color: var(--danger); }
.report .compare-box .cm-inc { border-top: 4px solid var(--success); }
.report .compare-box .cm-inc h4 { color: var(--success); border-color: var(--success); }