/* Shared interaction semantics. Keep cursor behavior in one canonical layer. */
:where(
  a[href],
  button:not(:disabled),
  input[type="button"]:not(:disabled),
  input[type="submit"]:not(:disabled),
  input[type="reset"]:not(:disabled),
  input[type="checkbox"]:not(:disabled),
  input[type="radio"]:not(:disabled),
  select:not(:disabled),
  summary,
  [role="button"]:not([aria-disabled="true"]),
  [data-action],
  [data-toggle],
  [data-modal-open],
  [data-dropdown-trigger]
) {
  cursor: pointer !important;
}

:where(
  a[href],
  button:not(:disabled),
  [role="button"]:not([aria-disabled="true"]),
  summary
) * {
  cursor: inherit !important;
}

:where(
  button:disabled,
  input:disabled,
  select:disabled,
  [aria-disabled="true"]
) {
  cursor: not-allowed !important;
}
