/* Changelog page styles — base.css loaded first */

.panel {
  padding: 1.5rem;
  max-width: 38rem;
  max-height: min(78vh, 44rem);
  overflow: auto;
}

.logo-row {
  margin-bottom: 0.75rem;
  justify-content: center;
}

.heading {
  margin-bottom: 0.25rem;
  text-align: center;
}

.subheading {
  margin-bottom: 1rem;
  text-align: center;
}

.changelog-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.changelog-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.625rem;
  align-items: start;
  padding: 0.625rem 0.75rem;
  border: 1px solid oklch(0 0 0 / 0.1);
  border-radius: var(--radius);
  background: oklch(1 0 0 / 0.55);
}

.changelog-version {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.changelog-message {
  font-size: 0.8rem;
  color: var(--foreground);
  line-height: 1.45;
}

.changelog-empty {
  font-size: 0.78rem;
  color: var(--muted-foreground);
  text-align: center;
  padding: 1.25rem 0.5rem;
}

.back-link {
  font-size: 0.74rem;
  color: var(--primary);
  text-decoration: none;
}

.back-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.9rem;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pg-btn {
  background: none;
  border: 1px solid oklch(0 0 0 / 0.15);
  border-radius: var(--radius);
  color: var(--primary);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0.1rem 0.45rem 0.2rem;
}

.pg-btn:disabled {
  color: var(--muted-foreground);
  cursor: default;
  opacity: 0.4;
}

.pg-info {
  font-size: 0.72rem;
  color: var(--muted-foreground);
  font-variant-numeric: tabular-nums;
  min-width: 2.5rem;
  text-align: center;
}
