/* Shared interaction cursors; kept separate from generated Tailwind CSS. */
:where(
    a[href],
    area[href],
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    input[type="image"],
    input[type="checkbox"],
    input[type="radio"],
    select,
    summary,
    [role="button"],
    [role="link"]
) {
    cursor: pointer;
}

input[type="file"]::file-selector-button {
    cursor: pointer;
}

/* Native disabled states include controls inside disabled fieldsets. */
:where(button, input, select, textarea):disabled,
[aria-disabled="true"],
.cursor-not-allowed {
    cursor: not-allowed;
}

input[type="file"]:disabled::file-selector-button {
    cursor: not-allowed;
}
