/* Signal Architect Sprint 10.5.8 — Non-Invasive Adaptive Performance */

/* Mobile always runs normal interaction scheduling. */
html[data-sa-device-runtime="mobile"] button,
html[data-sa-device-runtime="mobile"] a,
html[data-sa-device-runtime="mobile"] input,
html[data-sa-device-runtime="mobile"] select,
html[data-sa-device-runtime="mobile"] textarea,
html[data-sa-device-runtime="mobile"] summary,
html[data-sa-device-runtime="mobile"] [role="button"],
html[data-sa-device-runtime="mobile"] [role="tab"] {
  pointer-events: auto !important;
}

html[data-sa-device-runtime="mobile"] input,
html[data-sa-device-runtime="mobile"] select,
html[data-sa-device-runtime="mobile"] textarea {
  touch-action: auto !important;
  -webkit-user-select: text !important;
  user-select: text !important;
}

/* Deep low-power visual suppression is desktop-only. */
@media (min-width: 901px) and (pointer: fine) {
  html[data-sa-performance="low"] *,
  html[data-sa-performance="low"] *::before,
  html[data-sa-performance="low"] *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
