/* Priestor chapter: isolated layout and controls. */
.figures-space-workspace .canvas-scroll.is-three-scene,
.figures-space-workspace .canvas-scroll.is-three-scene .lesson-svg {
  height: calc(100vh - 86px);
  min-height: calc(100vh - 86px);
}

.figures-space-canvas .three-canvas-layer,
.figures-space-canvas .lesson-svg {
  transform: translateY(10px);
}

.figures-space-workspace .space-scene-switch {
  top: 25px;
  left: 50%;
  z-index: 24;
  transform: translateX(-50%);
}

.figures-space-workspace .space-scene-switch .dock-icon {
  width: 21px;
  height: 21px;
}

.space-reset-button {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 28;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #222738;
  box-shadow: var(--round-control-shadow);
  cursor: pointer;
  transform: translateX(-50%);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.space-reset-button[hidden] {
  display: none;
}

.space-reset-button svg {
  width: 17px;
  height: 17px;
}

.space-reset-button:hover {
  background: #222738;
  color: #fff;
  box-shadow: var(--round-control-shadow-hover);
  transform: translateX(-50%) translateY(-2px);
}

.space-reset-button:active {
  transform: translateX(-50%) scale(0.94);
}

.figures-space-workspace .figure-edge-connector {
  stroke: rgba(28, 34, 48, 0.2);
  stroke-width: 0.55;
}

.figures-space-workspace .figure-edge-connector.secondary {
  stroke: rgba(28, 34, 48, 0.34);
  stroke-width: 0.45;
}

.figures-space-workspace .figure-rotation-hit,
.figures-space-workspace .figure-rotation-arrow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  cursor: ew-resize;
}

.figures-space-workspace .figure-rotation-hit {
  stroke: transparent;
  stroke-width: 14;
}

.figures-space-workspace .figure-rotation-arrow {
  stroke: rgba(34, 39, 56, 0.7);
  stroke-width: 1.35;
  pointer-events: stroke;
  transition: stroke 140ms ease, stroke-width 140ms ease;
}

.figures-space-workspace .figure-rotation-hit:hover + .figure-rotation-arrow,
.figures-space-workspace .figure-rotation-arrow:hover,
.figures-space-workspace .figure-rotation-arrow:active {
  stroke: #222738;
  stroke-width: 1.7;
}

@media (min-width: 1181px) {
  .figures-space-workspace .space-scene-switch,
  .figures-space-workspace .space-reset-button {
    margin-left: -185px;
  }
}

@media (min-width: 600px) and (max-width: 1180px) {
  .figures-space-canvas,
  .figures-space-canvas .three-canvas-layer,
  .figures-space-canvas .lesson-svg {
    height: calc(100dvh - 86px);
    min-height: calc(100dvh - 86px);
  }
}

@media (max-width: 760px) {
  .figures-space-workspace .space-scene-switch {
    top: 32px;
  }
}
