/* Shared native cursors for CRM, administration and the editor interface. */
html,
body {
    cursor: default;
}

/* Keep the arrow over editable fields; the insertion caret remains native. */
:root:not(.crm-col-resizing) body:not(.ed-chat-resizing) :where(
    input:not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="image"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="color"]),
    textarea,
    [contenteditable]:not([contenteditable="false"]),
    [role="textbox"]
):not(:disabled):not([aria-disabled="true"]) {
    cursor: default !important;
}

body :where(
    a[href], button, select, summary, label[for],
    label:has(input[type="checkbox"], input[type="radio"]),
    input[type="button"], input[type="submit"], input[type="reset"],
    input[type="image"], input[type="checkbox"], input[type="radio"],
    input[type="range"], input[type="file"], input[type="color"]
) {
    cursor: pointer;
}

body :where(:disabled, [aria-disabled="true"]) {
    cursor: not-allowed;
}
