/* =====================================================================
   OverlapAdvisor 深度报告 · 专属样式
   用途：粒度-重叠 Gantt 动画板（oa-ovl）的自定义类
   基础组件（.board/.stage/.step-desc/.legend/.controls/.btn 等）
   由 css/report.css 提供，本文件只追加动画板独有类。
   ===================================================================== */

/* 动画板：舞台占位 */
.board .stage.ovl { min-height: 150px; }

/* Gantt 时间轴容器（时间轴满宽 = 20 时间单位） */
.gantt { min-width: 580px; }

/* 一条 lane：标签 + 轨道 */
.gantt-lane { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.gantt-lane-lbl { flex: 0 0 64px; font-size: 0.76rem; font-weight: 700; color: var(--primary); text-align: right; }
.gantt-track { position: relative; flex: 1; height: 32px; background: #eef2f6; border-radius: 6px; }

/* 时间块（计算 / 通信 / 同步开销） */
.gb {
  position: absolute; top: 4px; bottom: 4px; border-radius: 5px;
  color: #fff; font-size: 0.66rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; white-space: nowrap;
}
.gb-comm { background: var(--accent); }
.gb-comp { background: #2c3e50; }
.gb-sync { background: var(--danger); opacity: 0.85; }

/* 关键路径高亮（通信总线 + 末尾计算块） */
.gb-crit { outline: 2px dashed var(--accent-light); outline-offset: 2px; }

/* 总时长 T 的终点标记 */
.gb-end { position: absolute; top: -4px; bottom: -4px; width: 3px; background: var(--success); border-radius: 2px; }
.gb-end-lbl {
  position: absolute; top: -16px; transform: translateX(-50%);
  font-size: 0.64rem; font-weight: 700; color: var(--success); white-space: nowrap;
}

/* 当前场景的公式注脚 */
.gantt-eq {
  font-family: "Cascadia Code", "Fira Code", Consolas, monospace;
  font-size: 0.84rem; color: var(--primary);
  background: var(--code-bg); border: 1px solid var(--border); border-radius: 6px;
  padding: 7px 12px; margin-top: 10px; text-align: center;
}