/* =====================================================================
   Occamy 报告专属样式：九节点三簇半遗忘拓扑动画板（.oc-* 板件）
   公共组件样式（nav/section/table/board/controls/btn 等）见 css/report.css；
   本文件只定义动画板的自定义类，选择器统一以 .report 前缀收紧作用域。
   ===================================================================== */

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

/* ---------- 拓扑 ---------- */
.report .oc-layout { display: flex; gap: 12px; flex-wrap: wrap; }
.report .oc-cluster {
  flex: 1 1 150px; border: 1.5px solid #7fb3d5; border-radius: 8px;
  background: #fbfdfe; padding: 10px;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.report .oc-cluster .clbl {
  font-size: 0.62rem; font-weight: 700; color: #2471a3;
  font-family: "Cascadia Code", Consolas, monospace; margin-bottom: 8px;
}
.report .oc-nodes { display: flex; gap: 6px; flex-wrap: wrap; }
.report .oc-node {
  width: 40px; height: 34px;
  border: 1px solid var(--border); border-radius: 6px; background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: var(--text);
  font-family: "Cascadia Code", Consolas, monospace;
  transition: background 0.25s, border-color 0.25s, opacity 0.25s;
}
.report .oc-node.act { border: 2px solid var(--accent); background: #f0faf4; color: var(--accent); }
.report .oc-node.src { border-color: var(--primary); background: #eef6ff; color: var(--primary); }
.report .oc-node.dst { border-color: #8e44ad; background: #f4ecf7; color: #8e44ad; }
.report .oc-cluster.hl { box-shadow: 0 0 0 3px rgba(0, 137, 123, 0.3); }

/* ---------- 时隙条 ---------- */
.report .oc-slotbar { display: flex; height: 26px; border-radius: 6px; overflow: hidden; border: 1px solid var(--border); max-width: 560px; }
.report .oc-slot { display: flex; align-items: center; justify-content: center; font-size: 0.6rem; font-weight: 700; color: #fff; }
.report .oc-slot.intra { background: #2980b9; }
.report .oc-slot.inter { background: #d35400; }
.report .oc-slot.inter.d1 { background: #ca6f1e; }
.report .oc-slot.inter.d2 { background: #f39c12; }

/* ---------- 对比条 ---------- */
.report .oc-bar { display: flex; align-items: center; gap: 8px; max-width: 560px; margin: 6px 0; font-size: 0.75rem; }
.report .oc-bar .lbl { flex: 0 0 130px; color: var(--text-muted); font-weight: 600; }
.report .oc-bar .track { flex: 1; height: 16px; background: #eef2f6; border-radius: 4px; overflow: hidden; }
.report .oc-bar .fill { display: block; height: 100%; border-radius: 4px; }
.report .oc-bar b { flex: 0 0 90px; text-align: right; font-size: 0.72rem; color: var(--primary); }

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