/* Compositor-only press feedback. Scale leaves the document flow untouched. */
@media (prefers-reduced-motion: no-preference) {
  body :is(button:not(:disabled):not([aria-disabled="true"]), a[href], summary, .file-choice, .file-button) {
    --bubble-press-scale: .975;
    transition:
      scale 160ms cubic-bezier(.2,.7,.3,1),
      background-color 140ms ease,
      border-color 140ms ease,
      box-shadow 140ms ease,
      color 140ms ease;
  }
  body :is(.start-detection, .reason-option, .owner-finding, .detection-record-row,
    .archive-battery-row, .archive-history-row, .record-picker-button, .selected-group,
    .case-item, .group-option, .demo-entry, .file-choice) {
    --bubble-press-scale: .99;
  }
  body :is(button:not(:disabled):not([aria-disabled="true"]), a[href], summary, .file-choice, .file-button):active {
    scale: var(--bubble-press-scale);
  }
}
