.msc-return {
  font-size: 0.875rem;
}

.chapter-nav {
  gap: 0.3rem 0.65rem;
  border-top: 0;
}

.chapter-nav a {
  padding: 0.3rem 0.5rem;
}

.chapter-nav a[aria-current="page"] {
  background: var(--soft);
  text-decoration: none;
}

.chapter-pages {
  color: var(--muted);
  font: 0.75rem/1.5 var(--mono);
}

.chapter-head {
  border-bottom: 1px solid var(--rule);
}

.chapter-head h1 {
  max-width: 21ch;
  font-size: clamp(2.45rem, 6vw, 5rem);
}

.chapter-list {
  max-width: 77ch;
  margin-bottom: 0;
}

.chapter-list li + li {
  margin-top: 0.6rem;
}

.section > p + .figure-grid,
.section > p + .table-wrap,
.section > .table-wrap + .figure-grid {
  margin-top: 1.15rem;
}

.case-body .figure-grid:has(.figure-card:only-child) {
  grid-template-columns: minmax(0, 43rem);
}

.chapter-turn {
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.65rem 2rem;
  padding-block: 1rem;
  font-size: 0.9rem;
}
