/* Glossary popups - regenerated by every build. To change the look, override these
   rules in style.css (loaded after this file). Colours come from the variables in core.css. */
mark.gl { cursor: pointer; border-bottom: 1px dotted var(--accent, #b4492f); }
mark.gl:hover, mark.gl.gl-on { outline: 2px solid color-mix(in srgb, var(--accent, #b4492f) 40%, transparent); }
mark.gl:focus-visible { outline: 2px solid var(--accent, #b4492f); }
.gloss-pop { position: absolute; z-index: 50; width: max-content; max-width: min(320px, calc(100vw - 16px));
  background: var(--surface, #fff); color: var(--text, #1f2328); border: 1px solid var(--border, #ddd);
  border-radius: var(--radius, 10px); box-shadow: 0 6px 24px rgba(0,0,0,.18); padding: .6rem .85rem;
  font-size: .92rem; line-height: 1.4; }
.gloss-pop[hidden] { display: none; }
.gloss-pop .h { font-family: var(--font-serif, Georgia, serif); font-size: 1.15rem; font-weight: 600; }
.gloss-pop .h .article { font-family: var(--font, sans-serif); font-size: .95rem; }
.gloss-pop .m { color: var(--muted, #666); font-size: .75rem; margin: .1rem 0 .3rem; }
.gloss-pop .t { font-style: italic; }
.gloss-pop .g { list-style: none; padding: 0; margin: .4rem 0 0; font-size: .82rem; color: var(--muted, #666); }
.gloss-pop a { display: inline-block; margin-top: .45rem; font-size: .82rem; }
@media print { .gloss-pop { display: none !important; } }
