/* Concept references — term links (<a class="ref">) + the popover card that
   public/js/refs.js renders. Single source for every page, including the
   standalone /pillar-model page, so keep it self-contained: literal colors
   (brand #3b4eab/#323f8a, slate greys), no theme variables. */
.ref {
  color: #323f8a;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  cursor: help;
}
.ref:hover {
  color: #3b4eab;
}
.prose-jitc a.ref {
  color: #323f8a;
  text-decoration-style: dotted;
}
.refpop {
  position: absolute;
  z-index: 60;
  max-width: 22rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.6rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  padding: 0.85rem 1rem;
}
.refpop[hidden] {
  display: none;
}
.refpop-t {
  margin: 0;
  font-family: ui-monospace, 'JetBrains Mono', 'Fira Code', Menlo, Consolas,
    monospace;
  font-weight: 700;
  font-size: 0.8rem;
  color: #0f172a;
}
.refpop-s {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #334155;
}
.refpop-f {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #3b4eab;
  text-decoration: none;
}
.refpop-f:hover {
  color: #323f8a;
  text-decoration: underline;
}
