/* =====================================================================
   Echo 报告专属样式：双时间尺度误差反馈动画板（.eco-efb-* 板件）
   公共组件样式（nav/section/table/board/controls/btn 等）见 css/report.css；
   本文件只定义误差反馈动画板的自定义类，选择器统一以 .report 前缀收紧作用域。
   ===================================================================== */

/* ---------- 动画板舞台 ---------- */
.report .eco-efb-stage { min-height: 380px; padding: 12px 14px; }
.report .eco-efb-rowlbl {
  font-size: 0.73rem; color: var(--text-muted); font-weight: 600;
  margin: 12px 0 8px;
}
.report .eco-efb-rowlbl:first-child { margin-top: 0; }

/* ---------- 调用序列账本（k = 1…6） ---------- */
.report .eco-efb-ledger { display: flex; gap: 6px; }
.report .eco-efb-cell {
  flex: 1 1 0; min-width: 74px;
  border: 1px solid var(--border); border-radius: 6px;
  padding: 6px 6px 7px; background: var(--surface);
  display: flex; flex-direction: column; gap: 4px;
  transition: opacity 0.3s;
}
.report .eco-efb-cell.future { opacity: 0.28; }
.report .eco-efb-cell.cur { border-color: var(--accent); background: #f2faf8; }
.report .eco-efb-ct {
  font-size: 0.66rem; color: var(--text-muted); font-weight: 700;
  text-align: center;
}
.report .eco-efb-slot { display: flex; align-items: center; gap: 5px; height: 16px; }
.report .eco-efb-l {
  flex: 0 0 12px; font-size: 0.68rem; color: var(--text-muted);
  font-family: "Cascadia Code", Consolas, "Courier New", monospace; text-align: right;
}
.report .eco-efb-chip {
  flex: 1; height: 15px; line-height: 15px; border-radius: 4px;
  text-align: center; font-size: 0.65rem; font-weight: 700; color: #fff;
  font-family: "Cascadia Code", Consolas, "Courier New", monospace;
  white-space: nowrap; overflow: hidden;
}
.report .eco-efb-chip.inj { background: #c0392b; }
.report .eco-efb-chip.cor { background: #2980b9; }
.report .eco-efb-chip.net { background: #00897b; }
.report .eco-efb-chip.netbig { background: #d35400; }
.report .eco-efb-chip.empty { background: transparent; border: 1px dashed #cbd5e1; }

/* ---------- 偏和对比条 ---------- */
.report .eco-efb-bars { margin: 4px 0 2px; }
.report .eco-efb-brow { display: flex; align-items: center; margin-bottom: 7px; }
.report .eco-efb-blbl {
  flex: 0 0 168px; font-size: 0.76rem; color: var(--text-muted);
}
.report .eco-efb-btrack {
  flex: 1; height: 16px; background: #eef2f6; border-radius: 4px; overflow: hidden;
}
.report .eco-efb-bfill {
  display: block; height: 100%; border-radius: 4px; width: 0;
  transition: width 0.55s ease;
}
.report .eco-efb-bfill.red { background: #c0392b; }
.report .eco-efb-bfill.teal { background: linear-gradient(90deg, #00897b, #4db6ac); }
.report .eco-efb-bval {
  flex: 0 0 56px; text-align: right; font-size: 0.8rem; font-weight: 700;
  color: var(--primary); font-family: "Cascadia Code", Consolas, "Courier New", monospace;
}

/* ---------- 双时间尺度移动平均面板 ---------- */
.report .eco-efb-mv { display: flex; gap: 12px; flex-wrap: wrap; }
.report .eco-efb-mvchip {
  flex: 1 1 210px; border: 1px solid var(--border); border-radius: 6px;
  padding: 7px 12px; display: flex; align-items: center; gap: 10px;
}
.report .eco-efb-mvchip.m1 { border-color: #2980b9; background: #eaf2f8; }
.report .eco-efb-mvchip.m2 { border-color: #8e44ad; background: #f4ecf7; }
.report .eco-efb-mvt {
  flex: 0 0 108px; font-size: 0.7rem; font-weight: 700; color: var(--primary); line-height: 1.4;
}
.report .eco-efb-mvbar {
  flex: 1; height: 12px; background: #fff; border: 1px solid var(--border);
  border-radius: 3px; overflow: hidden; position: relative;
}
.report .eco-efb-mvmid {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: #cbd5e1;
}
.report .eco-efb-mvfill {
  position: absolute; top: 2px; bottom: 2px; width: 0;
  border-radius: 2px; transition: width 0.55s ease;
}
.report .eco-efb-mvfill.pos { left: 50%; background: #2980b9; }
.report .eco-efb-mvfill.neg { right: 50%; background: #e67e22; }
.report .eco-efb-mvv {
  flex: 0 0 64px; text-align: right; font-size: 0.8rem; font-weight: 700;
  color: var(--primary); font-family: "Cascadia Code", Consolas, "Courier New", monospace;
}
.report .eco-efb-note {
  margin-top: 8px; font-size: 0.74rem; color: var(--text-muted); line-height: 1.6;
}
