.workbench-mode-fade-enter-active,
.workbench-mode-fade-leave-active {
  transition:
    opacity 220ms var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1)),
    transform 220ms var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1)),
    filter 220ms var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1));
  transform-origin: 50% 24px;
  will-change: opacity, transform, filter;
}

.workbench-mode-fade-enter-from,
.workbench-mode-fade-leave-to {
  opacity: 0;
  transform: translateY(10px) scale(0.992);
  filter: blur(2px);
}

.workbench-mode-fade-enter-to,
.workbench-mode-fade-leave-from {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .workbench-mode-fade-enter-active,
  .workbench-mode-fade-leave-active {
    transition: none;
    will-change: auto;
  }

  .workbench-mode-fade-enter-from,
  .workbench-mode-fade-leave-to,
  .workbench-mode-fade-enter-to,
  .workbench-mode-fade-leave-from {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
