/* Cursores (ADR-0069, REQ-PLAT-062): la flecha y la mano del estilo elegido en <html data-cursor>. Esta hoja solo se
   pide con un cursor elegido (ambiente.tsx la inserta, también en el HTML del servidor); con el del sistema no pesa.
   El cursor de texto y los de arrastre siguen siendo los del sistema. Imágenes de 32 px de scripts/cursores.mjs; el
   punto activo es la punta de la flecha, la yema del índice o el centro de la neurona. */
:root[data-cursor="pixel"] {
  --kog-cursor: url("/cursores/pixel.png") 1 1;
  --kog-mano: url("/cursores/pixel-mano.png") 10 1;
}
:root[data-cursor="neon"] {
  --kog-cursor: url("/cursores/neon.png") 2 2;
  --kog-mano: url("/cursores/neon-mano.png") 12 1;
}
:root[data-cursor="neurona"] {
  --kog-cursor: url("/cursores/neurona.png") 16 16;
  --kog-mano: url("/cursores/neurona-mano.png") 16 16;
}
:root[data-cursor] {
  cursor: var(--kog-cursor), auto;
}
:root[data-cursor] :is(a[href], button:not(:disabled), [role="button"], [role="radio"], [role="tab"], [role="checkbox"], [role="switch"], [role="option"], [role="menuitem"], summary, label[for], select, input[type="checkbox"], input[type="radio"], input[type="range"], .cursor-pointer):not(.cursor-default) {
  cursor: var(--kog-mano), pointer;
}
:root[data-cursor] :is(input:not([type="checkbox"], [type="radio"], [type="range"], [type="button"], [type="submit"], [type="color"], [type="file"]), textarea, [contenteditable="true"]) {
  cursor: text;
}
