/* Plain-language definitions, enhanced by site.js. Native title remains without JS. */
dfn[title],
abbr[title],
.term-help {
  font-style: normal;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: var(--text-muted);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  white-space: nowrap;
  cursor: help;
}
.term-help:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-radius: 2px;
}
.term-help-open {
  text-decoration-color: var(--text);
}
.term-definition {
  position: fixed;
  z-index: 5100;
  width: max-content;
  max-width: min(24rem, calc(100vw - 24px));
  margin: 0;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  background: var(--surface);
  color: var(--text-body);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  overflow-wrap: anywhere;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.term-definition[hidden] {
  display: none;
}
@media print {
  .term-definition { display: none; }
}
