.math-lab[data-math-lab="complex-multiply-motion"] .complex-multiply-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5rem;
  align-items: center;
  gap: .6rem;
}
.math-lab[data-math-lab="complex-multiply-motion"] input[type="number"] {
  min-width: 0;
  width: 100%;
  min-height: 2.5rem;
}
.math-lab[data-math-lab="complex-multiply-motion"] canvas {
  display: block;
  width: 100%;
  height: 350px;
}
.math-lab[data-math-lab="complex-multiply-motion"] canvas[hidden] {
  display: none;
}
@media (max-width: 420px) {
  .math-lab[data-math-lab="complex-multiply-motion"] canvas {
    height: 320px;
  }
}
