.browser-window {
  position: relative;
  isolation: isolate;
}
#agent-cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 14;
  transition: transform 150ms cubic-bezier(0.25, 0.77, 0.22, 1);
  transform: translate3d(var(--cursor-x, 0px), var(--cursor-y, 0px), 0);
  filter: drop-shadow(0 1px 2px #09142660);
}
#agent-cursor i {
  width: 17px;
  height: 22px;
  background: var(--brand-ink);
  clip-path: polygon(0 0, 100% 60%, 56% 65%, 32% 100%);
}
#agent-cursor i::after {
  content: "";
  position: absolute;
  inset: 2px 2.5px 3px 1.5px;
  background: var(--brand-action-light);
  clip-path: polygon(0 0, 100% 60%, 56% 65%, 32% 100%);
}
#agent-cursor span {
  width: max-content;
  padding: 2px 4px;
  background: var(--brand-action);
  color: #fff;
  font:
    650 10px/1.05 system-ui,
    sans-serif;
  border-radius: 4px;
  box-shadow: none;
}
#source-selection,
#reading-focus {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}
#source-selection i,
#reading-focus i {
  position: absolute;
  display: block;
  border-bottom: 1.5px solid var(--brand-action);
  background: rgb(41 78 122 / 17%);
}
#reading-focus i {
  border-bottom-color: rgb(41 78 122 / 62%);
  background: rgb(41 78 122 / 8%);
}
.agent-click {
  position: absolute;
  width: 27px;
  height: 27px;
  border: 2px solid var(--brand-action);
  border-radius: 50%;
  pointer-events: none;
  z-index: 13;
}
@media (prefers-reduced-motion: reduce) {
  #agent-cursor {
    transition: none;
  }
}
