/* =====================================================================
   EchoMoE 报告专属样式：dispatch/combine 压缩旅程动画板（.em-* 板件）
   公共组件样式（nav/section/table/board/controls/btn 等）见 css/report.css；
   本文件只定义动画板的自定义类，选择器统一以 .report 前缀收紧作用域。
   ===================================================================== */

/* ---------- 动画板舞台 ---------- */
.report .em-stage { min-height: 480px; padding: 14px; }
.report .em-rowlbl {
  font-size: 0.73rem; color: var(--text-muted); font-weight: 600;
  margin: 12px 0 6px;
}
.report .em-rowlbl:first-child { margin-top: 0; }
.report .em-rowlbl b { color: var(--primary); }
.report .em-rowlbl .mark {
  display: inline-block; margin-left: 8px; font-weight: 700;
  font-size: 0.68rem; color: var(--accent);
  background: #f0faf4; border: 1px solid var(--accent-light);
  border-radius: 999px; padding: 0 8px; opacity: 0; transition: opacity 0.25s;
}
.report .em-rowlbl .mark.on { opacity: 1; }

/* ---------- 单元行 ---------- */
.report .em-cells { display: flex; gap: 3px; }
.report .em-cell {
  width: 20px; height: 22px; flex: 1 1 0; max-width: 30px;
  border-radius: 4px; border: 1px solid var(--border); background: #f8fafc;
  transition: background 0.25s, border-color 0.25s, opacity 0.25s;
}
.report .em-cell.x { background: #2980b9; border-color: #2980b9; }
.report .em-cell.z { background: #27ae60; border-color: #27ae60; }
.report .em-cell.d { background: #d35400; border-color: #d35400; }
.report .em-cell.cd, .report .em-cell.cc { background: #c0392b; border-color: #c0392b; }
.report .em-cell.r, .report .em-cell.y { background: #8e44ad; border-color: #8e44ad; }
.report .em-cell.dim { opacity: 0.18; }
.report .em-row.pulse .em-cell { animation: emPulse 1.1s ease-in-out infinite; }
@keyframes emPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 137, 123, 0); }
  50% { box-shadow: 0 0 0 3px rgba(0, 137, 123, 0.45); }
}

/* ---------- 每步说明注记 ---------- */
.report .em-note {
  margin: 14px 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.6;
}
.report .em-note b { color: var(--primary); }