/* Shared by the Next.js website and the sandboxed n8n form. */
@media (hover: hover) and (pointer: fine) {
  html.vinson-pointer-enabled,
  html.vinson-pointer-enabled * {
    cursor: url("/cursors/vinson-glass.svg") 4 3, auto;
  }

  html.vinson-pointer-enabled :is(a, button, [role="button"], input[type="checkbox"], input[type="radio"]) {
    cursor: url("/cursors/vinson-glass.svg") 4 3, pointer;
  }

  html.vinson-pointer-enabled :where(textarea, input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]):not([type="color"]), [contenteditable=""], [contenteditable="true"], [contenteditable="plaintext-only"]) {
    cursor: text !important;
  }

  html.vinson-pointer-enabled :is([disabled], [aria-disabled="true"]) {
    cursor: not-allowed !important;
  }
}

.vinson-pointer-effects {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2147483645;
  pointer-events: none !important;
  user-select: none;
  contain: strict;
}

@media (hover: none), (pointer: coarse), print {
  .vinson-pointer-effects { display: none !important; }
}
