.term-tip {
  position: fixed;
  left: calc(var(--at-x, 0) * 1px);
  top: calc(var(--at-y, 0) * 1px);
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  max-width: calc(var(--panel-w) * 1.6);
  padding: var(--s-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-raised);
  box-shadow: var(--shade-float);
  color: var(--ink);
  font-size: var(--t-small);
  line-height: var(--lh-ui);
  pointer-events: none;

  &[hidden] {
    display: none;
  }
}

[data-term].fd-caption {
  cursor: help;
  text-decoration: underline dotted var(--ink-3);
  text-underline-offset: 2px;
}
