.view {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 0;
  background: #f3f0f6;
  border-radius: 8px;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
@media (max-width: 860px) {
  .view {
    height: 70vh;
    flex: none;
  }
}
.view.panning {
  cursor: grabbing !important;
}
.stage {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  line-height: 0;
  will-change: transform;
}
#cv,
#ov {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
}
#ov {
  pointer-events: none;
}
.hov {
  position: absolute;
  display: none;
  pointer-events: none;
  outline: 2px solid #ff2bd6;
  box-shadow: 0 0 0 3px #ffffffaa;
  border-radius: 2px;
  z-index: 3;
}
.hov span {
  position: absolute;
  left: -2px;
  bottom: 100%;
  margin-bottom: 4px;
  background: #ff2bd6;
  color: #fff;
  font: 700 12px Ubuntu;
  padding: 2px 7px;
  border-radius: 9px;
  white-space: nowrap;
}
.hov span:empty {
  display: none;
}
.zbar {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 16px #29123d26;
  padding: 4px 10px 4px 6px;
  z-index: 4;
  touch-action: auto;
}
.zbar > button {
  border: 0;
  background: none;
  color: var(--p);
  width: 32px;
  height: 32px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.zbar > button:hover {
  background: var(--tint);
}
.zbar .ms {
  font-size: 22px;
}
.zs {
  position: relative;
  width: min(260px, 30vw);
  padding: 0 0 14px;
}
.zs input {
  width: 100%;
  accent-color: var(--p);
  margin: 6px 0 0;
  display: block;
}
.zmarks {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 24px;
  height: 14px;
}
.zmarks button {
  position: absolute;
  transform: translateX(-50%);
  border: 0;
  background: none;
  color: var(--p);
  font: 11px Ubuntu;
  opacity: 0.75;
  cursor: pointer;
  padding: 0 2px;
  white-space: nowrap;
}
.zmarks button::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -7px;
  width: 1px;
  height: 5px;
  background: var(--pl);
}
.zmarks button:hover {
  opacity: 1;
  text-decoration: underline;
}
.zpct {
  font-size: 12.5px;
  min-width: 38px;
  text-align: right;
  opacity: 0.75;
}
