/* Native cursor hotspots sit at the arrow tip and the extended fingertip. */
@media screen and (hover: hover) and (pointer: fine) and (forced-colors: none) and (prefers-contrast: no-preference) {
  :root,
  dialog::backdrop {
    cursor: url("cursor-arrow.svg") 3 3, default;
  }

  :root :is(
    a[href],
    button:enabled,
    select:enabled,
    summary,
    input:is([type="checkbox"], [type="radio"]):enabled,
    .brief-extras label:has(input:enabled),
    .sample-options label:has(input:enabled) > span
  ) {
    cursor: url("cursor-hand.svg") 12 4, pointer;
  }

  :root :is(textarea:enabled, input:not([type]):enabled,
    input:is([type="text"], [type="number"], [type="email"], [type="tel"], [type="url"], [type="search"], [type="password"]):enabled,
    [contenteditable="true"]) {
    cursor: text;
  }
}
