/**
 * Herbal Cure Life — frontend interactive cursor policy.
 * Semantic interactive elements only; never make static content
 * appear clickable. Preserve component-specific disabled behavior.
 */
@media (hover: hover) and (pointer: fine) {
  :where(
    a[href]:not([aria-disabled="true"]),
    button:not(:disabled):not([aria-disabled="true"]),
    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),
    input[type="range"]:not(:disabled),
    select:not(:disabled),
    details > summary,
    label[for],
    [role="button"]:not([aria-disabled="true"]),
    [role="link"]:not([aria-disabled="true"]),
    [role="tab"]:not([aria-disabled="true"]),
    [role="switch"]:not([aria-disabled="true"])
  ):not([inert]) {
    cursor: pointer;
  }
}

/*
 * HCL global interactive tap and selection policy.
 * Original desktop cursor policy remains unchanged.
 * Normal content and form fields remain selectable.
 */
a[href],
button,
summary,
[role="button"],
[role="link"] {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

a[href] :is(span, strong, small, b, em, i),
button :is(span, strong, small, b, em, i),
summary :is(span, strong, small, b, em, i),
[role="button"] :is(span, strong, small, b, em, i) {
  -webkit-user-select: none;
  user-select: none;
}
