/* FINDB STÚDIO — CP263-R1 / 1.0.555
 * Escopo único: apresentação de toque. Nenhum evento JS, navegação,
 * foco de teclado, dados, contexto, gestos, drag ou lógica é alterado.
 * Apenas elementos interativos: NÃO usar seletor universal `*`.
 */

/* Normaliza exclusivamente o realce nativo WebKit/Blink. Abrange
 * overlays inseridos em body, sem afetar seleção de texto/formulários.
 * A microinteração própria existente permanece com total precedência. */
:where(
  button,
  a[href],
  summary,
  select,
  input[type="button"], input[type="submit"], input[type="reset"],
  [role="button"], [role="link"], [role="tab"], [role="menuitem"],
  [role="option"], [role="switch"],
  [onclick], [data-action],
  label[for], label:has(input[type="checkbox"], input[type="radio"]),
  .product-trigger, .mobile-product-trigger, .product-option,
  .link-check, .link-category-choice,
  .acontece-event-row, .acontece-summary-card,
  .go-button
) {
  -webkit-tap-highlight-color: transparent;
}

/* Feedback suplementar só em acionadores cuja folha ativa não possuía
 * estado :active dedicado. Não alterar transform, touch-action, outline,
 * tempo de clique ou eventos e não aplicar a drag/slider/canvas/mapas. */
@media (hover: none) and (pointer: coarse) {
  :where(
    .app-shell .mobile-product-trigger,
    .findb-go-admin .go-button,
    .link-category-choice,
    .acontece-location-dialog .location-close
  ):not(:disabled):not([aria-disabled="true"]) {
    transition: filter 150ms ease;
  }
  :where(
    .app-shell .mobile-product-trigger,
    .findb-go-admin .go-button,
    .link-category-choice,
    .acontece-location-dialog .location-close
  ):not(:disabled):not([aria-disabled="true"]):active {
    filter: brightness(1.08);
  }
}

/* Respeita a preferência do sistema. Não interfere no foco por teclado. */
@media (prefers-reduced-motion: reduce) and (hover: none) and (pointer: coarse) {
  :where(
    .app-shell .mobile-product-trigger,
    .findb-go-admin .go-button,
    .link-category-choice,
    .acontece-location-dialog .location-close
  ):not(:disabled):not([aria-disabled="true"]) {
    transition-duration: 0.01ms;
  }
}
