/* Verity glossary pop-ups (task #67). Own file by design: the chat page owns
   the glossary today; if the review page ever shares it, it links this file
   without touching review.css (review-console is another agent's lane). */

.v-gloss {
  border-bottom: 1px dotted var(--fg-muted);
  cursor: help;
  text-decoration: none;
}

.v-gloss:hover,
.v-gloss:focus-visible {
  border-bottom-color: var(--verity-brand-accent);
  color: var(--verity-brand-accent);
  outline: none;
}

.v-gloss-pop {
  position: fixed;
  z-index: 60;
  max-width: 300px;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  font-family: var(--font-sans);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition:
    opacity 0.15s var(--ease),
    transform 0.15s var(--ease);
}

.v-gloss-pop.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.v-gloss-pop-title {
  font-size: var(--size-ui);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}

.v-gloss-pop-body {
  font-size: var(--size-ui);
  color: var(--fg);
  line-height: 1.5;
}

.v-gloss-pop-micro {
  margin-top: 8px;
  font-size: var(--size-micro);
  font-weight: 500;
  letter-spacing: var(--tracking-micro);
  text-transform: uppercase;
  color: var(--fg-subtle);
}
