.glossary-trigger, .glossary-label-term {
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  cursor: help;
}
button.glossary-trigger {
  display: inline;
  appearance: none;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: inherit;
}
.glossary-trigger:hover, .glossary-open {
  text-decoration-style: solid;
}
.glossary-trigger:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
button.glossary-affordance {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45rem;
  min-height: 1.45rem;
  margin-inline-start: .22em;
  border-radius: 50%;
  color: var(--forest, #0b5b43);
  font: 700 .75rem/1 var(--font-ui);
  text-decoration: none;
  vertical-align: .08em;
}
.glossary-affordance::before {
  content: "";
  position: absolute;
  width: 1.02rem;
  height: 1.02rem;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.glossary-balloon {
  box-sizing: border-box;
  position: fixed;
  z-index: 5000;
  width: max-content;
  max-width: min(21rem,calc(100vw - 1rem));
  padding: .75rem .95rem;
  border: 1px solid #497267;
  border-radius: .65rem;
  background: #113e35;
  color: #fff;
  box-shadow: 0 5px 18px #163c302b;
  font: 400 .94rem/1.6 var(--font-ui);
  text-align: start;
  overflow-y: auto;
  overflow-wrap: anywhere;
  word-break: keep-all;
  white-space: normal;
}
.glossary-balloon[hidden] { display: none; }
.glossary-balloon strong,.glossary-balloon span { display: block; }
.glossary-balloon strong { color: #dcf3c0; font-weight: 700; }
.glossary-balloon span { margin-top: .12rem; }
@media (forced-colors: active) {
  .glossary-balloon { background: Canvas; color: CanvasText; border-color: CanvasText; }
  .glossary-balloon strong { color: CanvasText; }
}
