/* 3.2.1 (changelog stream): full release notes in the change logs - readable long entries, earlier names,
   year and product filters, the version jump list and the importer. */

/* long release notes: the first part, then "Show the full release notes" (details/summary, no JavaScript) */
.cl-body h2 { font-size: 15.5px; margin: var(--s4) 0 var(--s2); line-height: 1.35; }
.cl-body h3 { font-size: 14.5px; margin: var(--s3) 0 var(--s2); }
.cl-body h4 { font-size: 14px; margin: var(--s3) 0 var(--s1, 4px); }
.cl-body ul, .cl-body ol { padding-left: 1.3em; margin: var(--s2) 0; }
.cl-body ul { list-style: disc; }
.cl-body ul ul { list-style: circle; }
.cl-body ul ul ul { list-style: square; }
.cl-body ol { list-style: decimal; }
.cl-body li { margin: 3px 0; }
.cl-body li > ul, .cl-body li > ol { margin: 3px 0; }
.cl-body li > p { margin: 4px 0; }
.cl-body p { margin: var(--s2) 0; }
.cl-body code { overflow-wrap: anywhere; word-break: break-word; font-size: .92em; }
.cl-body pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
.cl-body > :last-child { margin-bottom: 0; }
.cl-more { margin-top: var(--s2); }
.cl-more > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; cursor: pointer;
  color: var(--accent-text); font-weight: 600; font-size: 13.5px; list-style: none; border-radius: 6px; }
.cl-more > summary::-webkit-details-marker { display: none; }
.cl-more > summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -3px 2px 0; transition: transform .15s; }
.cl-more[open] > summary::before { transform: rotate(-135deg); margin-top: 3px; }
.cl-more > summary:hover { text-decoration: underline; }
.cl-more > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cl-more .cl-more-close, .cl-more[open] .cl-more-open { display: none; }
.cl-more[open] .cl-more-close { display: inline; }
.cl-more[open] > .cl-body { border-top: 1px solid var(--border); padding-top: var(--s2); }
@media (prefers-reduced-motion: reduce) { .cl-more > summary::before { transition: none; } }

/* the name a release came out under, and the product's earlier names */
.cl-as { font-style: italic; }
.cl-earlier { display: flex; flex-wrap: wrap; gap: 0 var(--s2); }
.cl-earlier-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--s3); margin: calc(-1 * var(--s2)) 0 var(--s4);
  color: var(--muted, inherit); }
.cl-earlier-note svg { flex: none; }

/* go to a version */
.cl-jump { margin: 0 0 var(--s4); min-width: 0; }
.cl-jump-title { margin: 0 0 var(--s2); font-size: 13px; font-weight: 600; color: var(--muted, inherit); }
.cl-jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cl-jump a { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 9px; border-radius: 6px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 12.5px; }
.cl-jump a:hover { border-color: var(--border-strong); text-decoration: none; }
.cl-list > .cl-entry[id] { scroll-margin-top: 80px; }

/* import release notes */
.cli-text { width: 100%; min-height: 12rem; font-size: 13px; }
.cli-list { list-style: none; margin: var(--s3) 0; padding: 0; display: grid; gap: var(--s3); }
.cli-item { border: 1px solid var(--border); border-radius: var(--r, 10px); padding: var(--s3) var(--s4); min-width: 0; }
.cli-skip { background: var(--surface-2); }
.cli-top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); justify-content: space-between; }
.cli-pick { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.cli-src { margin: 4px 0 0; overflow-wrap: anywhere; }
.cli-fields { margin-top: var(--s3); }
.cli-body { margin-top: var(--s2); }
.cli-body > summary { cursor: pointer; color: var(--accent-text); font-size: 13.5px; min-height: 28px; }
.cli-problem { display: flex; gap: 6px; align-items: flex-start; color: var(--warn-text, inherit); }
@media (max-width: 600px) {
  .cli-item { padding: var(--s3); }
}
