/* Chapter 2 local layout only. The visual geometry itself stays in JS. */
.presentation-step-markers {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.max-subarray-stage {
  min-height: 360px;
}

.max-subarray-stage .viz-antv-canvas {
  min-height: 330px;
}

.euclid-cost-sum .slide-body > p {
  margin-block: 10px;
}

.euclid-cost-sum .slide-body > p:has(.math.display) {
  margin-block: 7px;
}
