/* Published profile selected in the motion lab: 720 ms, smooth ease, lift entrances. */
:root {
  --motion-profile-duration: 720ms;
  --motion-ease: cubic-bezier(.22, 1, .36, 1);
  --ease: var(--motion-ease);
  --motion-press: 130ms;
  --motion-fast: 260ms;
  --motion-enter: var(--motion-profile-duration);
  --motion-content: var(--motion-profile-duration);
  --motion-layout: var(--motion-profile-duration);
  --motion-exit: 560ms;
  --motion-backdrop: var(--motion-profile-duration);
  --motion-menu: var(--motion-profile-duration);
}

/* The app's WAAPI transition is the single owner of dialog entrance/exit. */
dialog[open] {
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --motion-press: .001ms;
    --motion-fast: .001ms;
    --motion-enter: .001ms;
    --motion-content: .001ms;
    --motion-layout: .001ms;
    --motion-exit: .001ms;
    --motion-backdrop: .001ms;
    --motion-menu: .001ms;
  }
}
