.edit-workflow {
  --edit-cycle: 12s;
  position: relative;
  height: 100%;
  container-type: size;
  background: linear-gradient(135deg, #e1eaf7, #edf2f9);
  overflow: hidden;
}
.edit-artboard {
  position: absolute;
  top: 7%;
  left: 5%;
  width: 90%;
  aspect-ratio: 600/390;
  border-radius: 5px;
  box-shadow: 0 8px 24px #304c6526;
}
.edit-artboard > svg {
  width: 100%;
  height: auto;
  display: block;
}
.edit-selection {
  position: absolute;
  inset: 0;
  border: 1px solid #2dcc96;
  pointer-events: none;
}
.edit-selection i {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #2dcc96;
  transform: translate(-50%, -50%);
}
.edit-selection i:nth-child(1) {
  left: 0;
  top: 0;
}
.edit-selection i:nth-child(2) {
  left: 100%;
  top: 0;
}
.edit-selection i:nth-child(3) {
  left: 0;
  top: 100%;
}
.edit-selection i:nth-child(4) {
  left: 100%;
  top: 100%;
}
.edit-native-tools {
  position: absolute;
  top: 86%;
  left: 1%;
  width: 98%;
  filter: drop-shadow(0 4px 8px #2539522b);
}
.edit-native-tools > svg {
  display: block;
  width: 100%;
  height: auto;
}
.edit-tool-box {
  animation: edit-tool-box var(--edit-cycle) linear infinite;
}
.edit-tool-arrow {
  opacity: 0;
  animation: edit-tool-arrow var(--edit-cycle) linear infinite;
}
.edit-tool-highlight {
  opacity: 0;
  animation: edit-tool-highlight var(--edit-cycle) linear infinite;
}

.edit-mark-box {
  transform-origin: 23px 103px;
  transform-box: view-box;
  vector-effect: non-scaling-stroke;
  animation: edit-box var(--edit-cycle) linear infinite;
}
.edit-mark-arrow {
  animation: edit-arrow var(--edit-cycle) linear infinite;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.edit-arrow-head {
  animation: edit-arrow-head var(--edit-cycle) linear infinite;
}
.edit-mark-highlight {
  animation: edit-highlight var(--edit-cycle) linear infinite;
  mix-blend-mode: multiply;
  transform-origin: 30px 364px;
  transform-box: view-box;
}

.edit-cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  color: #26384b;
  filter: drop-shadow(0 1px 1px white);
  animation: edit-cursor var(--edit-cycle) linear infinite;
}
.edit-cursor svg {
  width: 16px;
  height: 19px;
  fill: white;
}
.edit-captions {
  position: absolute;
  bottom: 7px;
  left: 0;
  right: 0;
  height: 15px;
  text-align: center;
  font-size: 9px;
  color: #62788c;
}
.edit-captions span {
  position: absolute;
  left: 0;
  right: 0;
}
.caption-box {
  animation: edit-tool-box var(--edit-cycle) linear infinite;
}
.caption-arrow {
  opacity: 0;
  animation: edit-tool-arrow var(--edit-cycle) linear infinite;
}
.caption-highlight {
  opacity: 0;
  animation: edit-caption-highlight var(--edit-cycle) linear infinite;
}

.caption-result {
  opacity: 0;
  animation: edit-caption-result var(--edit-cycle) linear infinite;
}
.edit-playback {
  position: absolute;
  bottom: 5px;
  right: 11px;
  z-index: 4;
  padding: 5px 7px;
  border-radius: 5px;
  background: #fafcfce8;
  color: #4e688a;
  font-size: 8px;
}
.edit-playback:hover {
  background: white;
}
.edit-workflow [class] {
  animation-play-state: var(--zone-animation, running);
}
.edit-workflow.is-paused *,
.feature-panel:not(.is-active) .edit-workflow * {
  animation-play-state: paused;
}
@keyframes edit-tool-box {
  0%,
  25.9% {
    opacity: 1;
  }
  26%,
  100% {
    opacity: 0;
  }
}
@keyframes edit-tool-arrow {
  0%,
  25.9% {
    opacity: 0;
  }
  26%,
  47.9% {
    opacity: 1;
  }
  48%,
  100% {
    opacity: 0;
  }
}
@keyframes edit-tool-highlight {
  0%,
  47.9% {
    opacity: 0;
  }
  48%,
  96% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes edit-caption-highlight {
  0%,
  47.9% {
    opacity: 0;
  }
  48%,
  69.9% {
    opacity: 1;
  }
  70%,
  100% {
    opacity: 0;
  }
}
@keyframes edit-caption-result {
  0%,
  69.9% {
    opacity: 0;
  }
  70%,
  96% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes edit-box {
  0%,
  11.9% {
    opacity: 0;
    transform: scale(0, 0);
  }
  12% {
    opacity: 1;
    transform: scale(0, 0);
  }
  22%,
  96% {
    opacity: 1;
    transform: scale(1, 1);
  }
  100% {
    opacity: 0;
    transform: scale(1, 1);
  }
}
@keyframes edit-arrow-head {
  0%,
  43.99% {
    opacity: 0;
  }
  44%,
  96% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes edit-arrow {
  0%,
  33.9% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  34% {
    opacity: 1;
    stroke-dashoffset: 1;
  }
  44%,
  96% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
  100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}
@keyframes edit-highlight {
  0%,
  54.9% {
    opacity: 0;
    transform: scaleX(0);
  }
  55% {
    opacity: 1;
    transform: scaleX(0);
  }
  62%,
  96% {
    opacity: 1;
    transform: scaleX(1);
  }
  100% {
    opacity: 0;
    transform: scaleX(1);
  }
}

@keyframes edit-cursor {
  0%,
  5% {
    transform: translate(6.2cqw, calc(86cqh + 2.8cqw));
    opacity: 1;
  }
  12% {
    transform: translate(8.45cqw, calc(7cqh + 15.45cqw));
  }
  22%,
  24% {
    transform: translate(45.05cqw, calc(7cqh + 29.1cqw));
  }
  26%,
  29% {
    transform: translate(19.1cqw, calc(86cqh + 2.8cqw));
  }
  34% {
    transform: translate(87.2cqw, calc(7cqh + 15.9cqw));
  }
  39% {
    transform: translate(82.3625cqw, calc(7cqh + 25.7625cqw));
  }
  44%,
  46% {
    transform: translate(71.45cqw, calc(7cqh + 33.15cqw));
  }
  48%,
  51% {
    transform: translate(10.5cqw, calc(86cqh + 2.8cqw));
  }
  55% {
    transform: translate(9.5cqw, calc(7cqh + 54.6cqw));
  }
  62%,
  64% {
    transform: translate(20cqw, calc(7cqh + 54.6cqw));
  }
  70%,
  96% {
    transform: translate(28cqw, calc(7cqh + 54.6cqw));
    opacity: 0;
  }
  100% {
    transform: translate(6.2cqw, calc(86cqh + 2.8cqw));
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .edit-cursor,
  .edit-playback,
  .edit-captions span:not(.caption-result) {
    display: none;
  }
  .edit-captions .caption-result {
    opacity: 1;
  }
  .edit-tool-box,
  .edit-tool-arrow {
    opacity: 0;
  }
  .edit-tool-highlight {
    opacity: 1;
  }
}

.edit-native-undo{animation:edit-native-undo var(--edit-cycle) linear infinite;animation-play-state:var(--zone-animation,running)}
@keyframes edit-native-undo{0%,18%,100%{opacity:0}19%,97%{opacity:1}}
.edit-workflow.is-paused .edit-native-undo,.feature-panel:not(.is-active) .edit-native-undo{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.edit-native-undo{animation:none;opacity:1}}
