/* Changelog page — page-specific styles. Tokens, base form controls, button
   variants, and the .rb-topnav primitive come from /shared/brand.css. */

#app {
  max-width: 880px;
  margin: 0 auto;
  padding: 36px 24px 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#page-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 4px 6px;
}
.cl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Each entry is an .rb-card (brand.css); only the grid is local. */
.cl-entry {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 26px 28px;
}

.cl-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  padding-top: 3px;
  letter-spacing: -0.005em;
}
.cl-date time { display: block; }

.cl-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cl-changes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cl-changes > li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: start;
}

.cl-tag {
  display: inline-block;
  align-self: start;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}
.cl-tag-added    { color: var(--state-success); background: var(--state-success-bg); }
.cl-tag-changed  { color: var(--rb-black-70); background: rgba(0, 0, 0, 0.06); }
.cl-tag-improved { color: var(--accent-text); background: var(--accent-soft); }
.cl-tag-fixed    { color: var(--state-error); background: rgba(176, 39, 26, 0.10); }

.cl-text {
  font-size: 15px;
  color: var(--fg);
  line-height: 1.6;
}
.cl-text strong {
  font-weight: 600;
  color: var(--fg);
}

@media (max-width: 640px) {
  .cl-entry {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .cl-changes > li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .cl-tag { justify-self: start; }
}
