/* Collapsible versions of the changelog pages, shared by every documentation site.

   Usage in Markdown: the version heading and its date line stay visible, the
   entries go in a closed block of type "changelog", indented 4 spaces:

     ## Version 9.5.2

     *Released October 13, 2026.*

     ??? changelog "Changes"

         ### Added

         - **Short noun phrase.** Sentence(s).

   assets/js/changelog.js opens the newest version, and the version holding the
   target of a link. The PDF (mkdocs-to-pdf opens every <details>) shows every
   version open; styles/pdf/styles.scss flattens the block there. */

.md-typeset details.changelog {
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.2rem;
  box-shadow: none;
  font-size: inherit;
}

.md-typeset details.changelog > summary {
  padding-left: 0.8rem;
  background-color: transparent;
  color: var(--md-default-fg-color--light);
  font-weight: 700;
}

.md-typeset details.changelog > summary::before {
  display: none;
}

.md-typeset details.changelog > summary:hover {
  color: var(--md-accent-fg-color);
}

.md-typeset details.changelog > h3:first-of-type {
  margin-top: 0.8em;
}
