/* Approved release journal: one featured note and a compact, searchable archive. */
.changelog-page { padding-bottom: 16px; }
.changelog-heading { padding-bottom: 32px; }
.release-entry { scroll-margin-top: calc(var(--cb-header-height) + 24px); }
.release-feature {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  padding: 36px 40px 30px;
  background: var(--cb-surface-muted);
  border-radius: var(--cb-radius-sm);
}
.release-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.release-meta .release-version { display: inline-flex; align-items: center; min-height: 44px; font-size: 36px; font-weight: 550; line-height: 1.3; letter-spacing: -.035em; }
.release-meta time { color: var(--cb-text-soft); font-size: 14px; }
.release-version { font-variant-numeric: tabular-nums; }
.release-meta a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.release-content { min-width: 0; }
.release-feature .release-title { margin: 0 0 22px; font-size: clamp(24px, 2.2vw, 28px); font-weight: 550; line-height: 1.4; }
.release-highlights { margin: 0; padding-left: 20px; color: var(--cb-text-soft); font-size: 16px; line-height: 1.85; }
.release-highlights li + li { margin-top: 10px; }
.release-highlights li::marker { font-size: .7em; }
.release-poem { margin: 22px 0 0; color: var(--cb-text-soft); font-size: 13px; text-align: right; line-height: 1.8; }
.release-archive { margin-top: 40px; }
.release-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; padding-bottom: 18px; }
.release-history-heading { display: flex; align-items: baseline; gap: 20px; }
.release-history-heading h2 { margin: 0; font-size: 22px; font-weight: 550; }
.release-count { color: var(--cb-text-soft); font-size: 13px; }
.release-search { display: flex; align-items: center; gap: 10px; width: 320px; min-height: 44px; padding-left: 12px; border: 1px solid var(--cb-border); border-radius: var(--cb-radius-sm); background: var(--cb-surface); color: var(--cb-text-soft); }
.release-search:focus-within { border-color: var(--cb-text-soft); outline: 2px solid var(--cb-text-soft); outline-offset: 3px; }
.release-search input:focus-visible { outline: none; }
.release-search > svg { flex: 0 0 18px; }
.release-search input { min-width: 0; width: 100%; height: 42px; padding: 0 10px 0 0; border: 0; border-radius: inherit; background: transparent; color: var(--cb-text); font-size: 13px; }
.release-search input::placeholder { color: var(--cb-text-soft); opacity: 1; }
.release-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.release-search-clear { flex: 0 0 44px; display: grid; place-items: center; height: 44px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--cb-text-soft); }
.release-search-clear:hover { background: var(--cb-surface-muted); color: var(--cb-text); }
.release-history { border-top: 1px solid var(--cb-border); }
#release-history-list { border-bottom: 1px solid var(--cb-border); }
.release-history > summary { display: grid; grid-template-columns: 160px minmax(0, 1fr) 100px 24px; align-items: center; gap: 24px; min-height: 70px; padding: 16px 4px; list-style: none; cursor: pointer; }
.release-history > summary:focus-visible { outline-width: 2px; outline-color: var(--cb-text-soft); }
.release-history > summary::-webkit-details-marker { display: none; }
.release-history > summary:hover .release-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.release-history > summary .release-version { color: var(--cb-text-soft); font-size: 15px; }
.release-history .release-title { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.65; letter-spacing: -.02em; text-wrap: initial; }
.release-date { min-width: 0; color: var(--cb-text-soft); text-align: right; font-size: 12px; font-variant-numeric: tabular-nums; }
.release-toggle-icon { justify-self: end; color: var(--cb-text-soft); }
.release-history[open] .release-plus-stem { display: none; }
.release-history > .release-content { max-width: 1000px; padding: 4px 48px 26px 188px; }
.release-note-footer { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 12px; }
.release-note-footer .release-poem { margin: 0 0 0 auto; }
.release-permalink { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; color: var(--cb-text-soft); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--cb-border); }
.release-permalink:hover { color: var(--cb-text); text-decoration-color: currentColor; }
.release-more { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; padding: 12px; border: 0; background: transparent; color: var(--cb-text-soft); font-size: 14px; }
.release-more:hover { color: var(--cb-text); background: var(--cb-surface-muted); }
.release-empty { padding: 40px 20px; text-align: center; }
.release-empty h3 { margin: 0 0 8px; font-size: 18px; font-weight: 550; }
.release-empty p { margin: 0; color: var(--cb-text-soft); font-size: 14px; }
.release-search-reset { min-height: 44px; margin-top: 12px; padding: 0 12px; border: 0; border-radius: var(--cb-radius-sm); background: var(--cb-surface-muted); color: var(--cb-text); font-size: 13px; }
.release-date-note { margin: 18px 0 0; color: var(--cb-text-soft); font-size: 12px; line-height: 1.85; }
@media (max-width: 1000px) {
  .release-feature { grid-template-columns: 160px minmax(0, 1fr); gap: 28px; padding: 28px; }
  .release-meta .release-version { font-size: 30px; }
  .release-history > summary { grid-template-columns: 90px minmax(0, 1fr) 90px 20px; gap: 20px; }
  .release-history > .release-content { padding-left: 114px; padding-right: 24px; }
}
@media (max-width: 767px) {
  .changelog-heading { padding-bottom: 26px; }
  .release-feature { grid-template-columns: 1fr; gap: 18px; padding: 24px 20px; }
  .release-meta { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; }
  .release-meta .release-version { font-size: 24px; }
  .release-meta time { font-size: 12px; }
  .release-feature .release-title { font-size: 22px; margin-bottom: 18px; }
  .release-highlights { font-size: 14px; line-height: 1.85; }
  .release-poem { font-size: 12px; }
  .release-archive { margin-top: 32px; }
  .release-history-heading h2 { font-size: 20px; }
  .release-search { width: 100%; }
  .release-history > summary { grid-template-columns: minmax(0, 1fr) auto 20px; gap: 7px 12px; padding: 17px 0; }
  .release-history > summary .release-version { grid-row: 1; grid-column: 1; font-size: 13px; }
  .release-date { grid-row: 1; grid-column: 2; }
  .release-toggle-icon { grid-row: 1 / 3; grid-column: 3; align-self: center; }
  .release-history .release-title { grid-row: 2; grid-column: 1 / 3; font-size: 15px; }
  .release-history > .release-content { padding: 2px 0 22px; }
}
