/* Punteros «Flecha» (20 estados, PNG de 32 × 32 px sin tocar, tal como vienen del paquete original en img/cursores/).
   Los puntos activos (x y) son los del LEEME del paquete. Cada uno lleva el cursor nativo como respaldo.
   Solo para mouse o trackpad (any-pointer: fine). Se asignan por selector, no por clase; !important porque la app ya fijaba
   cursores sueltos (pointer, grab, crosshair) en sus hojas. */
@media (any-pointer: fine) {
  /* base: flecha normal */
  html, body { cursor: url("../img/cursores/default.png") 5 3, default !important; }

  /* mano de clic: todo lo que se toca */
  a[href], button, summary, select, label[for], [role="button"], [role="tab"], [role="link"],
  input[type="checkbox"], input[type="radio"], input[type="button"], input[type="submit"], input[type="file"],
  .btn, .seg button, .tl-btn, .uf-card, .rail-toggle, .mcard, .check-inline, .drop, tr.click, th.sortable, button.card, .aviso button {
    cursor: url("../img/cursores/pointer.png") 14 3, pointer !important;
  }

  /* texto: campos que se escriben */
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="button"]):not([type="submit"]):not([type="file"]):not([type="color"]),
  textarea, [contenteditable="true"] {
    cursor: url("../img/cursores/text.png") 16 16, text !important;
  }

  /* acción no disponible */
  button:disabled, [aria-disabled="true"], input:disabled, select:disabled, .disabled {
    cursor: url("../img/cursores/not-allowed.png") 16 16, not-allowed !important;
  }

  /* gráfico 3D: agarrar y arrastrar para girar */
  .scene { cursor: url("../img/cursores/grab.png") 16 19, grab !important; }
  .scene.arrastrando { cursor: url("../img/cursores/grabbing.png") 16 19, grabbing !important; }

  /* zonas de lectura precisa de los gráficos */
  .hit { cursor: url("../img/cursores/crosshair.png") 16 16, crosshair !important; }

  /* el cartel de actualización usa también la mano */
  .lr-act button { cursor: url("../img/cursores/pointer.png") 14 3, pointer !important; }
}
