@import url("../shared/construction.css");

.demo.haugstrup3d .construction-canvas {
  display: block;
  width: 100%;
  height: clamp(300px, 65vw, 475px);
  border: 1px solid #dce4ed;
  border-radius: 8px;
  background: #f4f7fb;
  cursor: grab;
  touch-action: none;
}

.demo.haugstrup3d .construction-canvas:active {
  cursor: grabbing;
}

.demo.haugstrup3d .construction-canvas:focus-visible {
  outline: 2px solid #2556a3;
  outline-offset: 2px;
}

.demo.haugstrup3d .orbit-help,
.demo.haugstrup3d .orbit-counts {
  margin: 0 0 8px;
  font-size: 13px;
}

.demo.haugstrup3d .orbit-counts {
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}

.demo.haugstrup3d .orbit-triples {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.demo.haugstrup3d .orbit-triples [aria-pressed="true"] {
  background: #fce9da;
  border-color: #a14612;
  color: #803507;
}

