/* Glossary links in rich text (docs/decisions/0017): the text colour with a dotted
   underline in the brand's text gold, so a term reads as "explained", not as a
   navigation link. The side panel is Bootstrap's offcanvas, on Harbour's surface. */

.glossary-link {
	color: inherit;
	text-decoration: underline dotted var(--bs-primary-text-emphasis);
	text-decoration-thickness: 2px;
	text-underline-offset: .2em;
	cursor: help;
}

.glossary-link:hover,
.glossary-link:focus-visible {
	color: var(--bs-primary-text-emphasis);
}

#glossary-panel {
	--bs-offcanvas-width: min(28rem, 100vw);
	--bs-offcanvas-bg: var(--hb-surface);
}

#glossary-panel .glossary-panel-body > :last-child {
	margin-bottom: 0;
}