/* Module 21 — glossary term highlight + tooltip */
.glossary-term {
  color: #0e7490;
  border-bottom: 1px dotted rgba(14, 116, 144, 0.45);
  text-decoration: none;
  cursor: help;
  position: relative;
}
.glossary-term:hover {
  color: #0f766e;
  border-bottom-color: #0e7490;
}
.glossary-tooltip {
  position: absolute;
  z-index: 80;
  max-width: 280px;
  padding: 10px 12px;
  background: #0f172a;
  color: #f8fafc;
  font-size: 0.78rem;
  line-height: 1.45;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.glossary-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.glossary-tooltip a {
  color: #67e8f9;
  pointer-events: auto;
}
.wiki-grid {
  display: grid;
  gap: 12px;
}
.wiki-term-card {
  display: block;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: inherit;
}
.wiki-term-card:hover {
  border-color: #0e7490;
}
.wiki-term-card strong {
  display: block;
  color: #0f172a;
  margin-bottom: 4px;
}
.wiki-term-card span {
  color: #64748b;
  font-size: 0.9rem;
}
