/* Shared motion is restrained, brief, and never required for interaction. */
@media (prefers-reduced-motion: no-preference) {
  .loading-panel {
    animation: loading-reveal 0.22s ease 0.16s both;
  }
  .profile-menu {
    animation: none;
  }
  .modal[open]:not(.closing) {
    animation-duration: 0.22s;
  }
  .modal.closing {
    animation-duration: 0.16s;
  }
  .skeleton {
    animation-duration: 1.7s;
  }
  .auth-page .button,
  .docs-page .button,
  .dashboard-page .button,
  .dashboard-page .icon-button,
  .dashboard-page .nav-link {
    transition:
      background-color 0.16s ease,
      border-color 0.16s ease,
      color 0.16s ease,
      box-shadow 0.16s ease;
  }
}
.dashboard-page #main.page-pending {
  opacity: 0;
}
.dashboard-page .app-shell:not(.is-setup) #main > .page-panel {
  animation: none;
}
@keyframes loading-reveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  #main,
  #auth-content,
  #docs-content,
  .profile-menu,
  .loading-panel {
    animation: none !important;
    transition: none !important;
  }
}
