/* changelog.html (built by scripts/build-changelog.mjs), on top of model-page.css: a docs-style changelog, each
   release a row with its date pinned on the left, and an "On this page" list down the right. */
:root { --hi: #03d3c7; }
:root[data-theme="light"] { --hi: var(--accent); }

.cl-page { padding-top: 24px; padding-bottom: 120px; }
.cl-layout { display: grid; grid-template-columns: minmax(0, 860px) 200px; gap: 64px; justify-content: space-between; }

.cl-hero { padding: 56px 0 24px; }
.cl-eyebrow { font-size: 13.5px; font-weight: 700; color: var(--hi); margin-bottom: 10px; }
.cl-hero h1 { font-size: clamp(36px, 5vw, 48px); line-height: 1.1; letter-spacing: -.02em; font-weight: 800; margin-bottom: 12px; }
.cl-lede { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 640px; }

/* One release: the date on the left (pinned while its row scrolls), the changes on the right */
.cl-update { display: flex; gap: 24px; padding: 32px 0; scroll-margin-top: 88px; }
.cl-label { position: sticky; top: 96px; align-self: flex-start; width: 160px; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-start; }
.cl-date {
  display: inline-block; padding: 3px 10px; border-radius: 8px; background: var(--accent-soft); color: var(--hi);
  font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.cl-body { flex: 1; min-width: 0; }
.cl-body h2 { font-size: 20px; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; margin-bottom: 14px; }
.cl-body p { font-size: 15.5px; line-height: 1.75; color: var(--muted); max-width: 680px; }
.cl-body p + p { margin-top: 14px; }

/* On this page */
.cl-toc { position: sticky; top: 96px; align-self: start; padding-top: 64px; }
.cl-toc-label { font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.cl-toc ol { list-style: none; border-left: 1px solid var(--border); }
.cl-toc a {
  display: block; margin-left: -1px; padding: 5px 0 5px 14px; border-left: 1px solid transparent;
  font-size: 13.5px; color: var(--muted); transition: color .15s, border-color .15s;
}
.cl-toc a:hover { color: var(--text); }
.cl-toc a[aria-current] { color: var(--hi); border-left-color: var(--hi); font-weight: 600; }

@media (max-width: 1020px) {
  .cl-layout { grid-template-columns: minmax(0, 1fr); }
  .cl-toc { display: none; }
}
@media (max-width: 720px) {
  .cl-hero { padding-top: 32px; }
  .cl-update { flex-direction: column; gap: 10px; padding: 24px 0; }
  .cl-label { position: static; width: auto; flex-direction: row; align-items: center; gap: 10px; }
}

.cl-body ul { margin: 0; padding-left: 20px; max-width: 680px; }
.cl-body li { font-size: 15.5px; line-height: 1.75; color: var(--muted); }
.cl-body li + li { margin-top: 6px; }
.cl-body p + ul, .cl-body ul + p { margin-top: 14px; }
