/* Contextual notes that follow the native pointer on annotated elements. */
.stan-cursor-note {
  position: fixed;
  z-index: 2147482999;
  max-width: min(280px, calc(100vw - 32px));
  padding: 11px 14px 12px;
  border: 1px solid rgba(30, 42, 69, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .97);
  color: #20283a;
  box-shadow: 0 12px 34px rgba(28, 39, 69, .16), 0 2px 7px rgba(28, 39, 69, .08);
  font: 500 13px/1.45 "Google Sans", Inter, system-ui, sans-serif;
  letter-spacing: -.01em;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 5px, 0) scale(.98);
  transition: opacity .18s ease, transform .22s cubic-bezier(.2,.75,.25,1);
}

.stan-cursor-note::before {
  content: "";
  position: absolute;
  left: 13px;
  top: -1px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #286be0, #8057e8);
}

.stan-cursor-note.is-visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }

@media (prefers-reduced-motion: reduce) {
  .stan-cursor-note { transition: none; }
}
