/* motion-defaults — respect prefers-reduced-motion globally
 *
 * Anyone using the primitives library should load this so that all animations
 * and transitions (theirs and the primitives') are short-circuited for users
 * who opt into reduced motion at the OS level.
 *
 * This is a vestibular-accessibility default. Don't override it without a
 * specific reason.
 */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .sheet,
  .sheet-backdrop,
  .swipe-row-content,
  .ptr-indicator,
  .ptr-indicator svg {
    transition: none !important;
    animation: none !important;
  }
}
