.compare-layout :is(h1, h2, h3, p, a, .badge, .tag) {
  overflow-wrap: break-word;
}

.selection-intro {
  background: linear-gradient(180deg, var(--sky-top), var(--sky-bottom));
  border-bottom: 1px solid var(--border);
}

.selection-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}

.selection-split > *,
.selection-map li > *,
.selection-verdict > *,
.compare-layout .chapter-grid > * {
  min-width: 0;
}

.selection-split h1 {
  margin-block: 18px 0;
}

.selection-map {
  background: var(--tint-green-soft);
  border-color: var(--line-green);
}

.selection-map h2 {
  font-size: var(--h3-size);
}

.selection-map ul {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.selection-map li {
  display: grid;
  grid-template-columns: minmax(0, 7.25em) auto minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  gap: 10px;
  min-height: var(--tap);
  border-top: 1px solid var(--line-green);
}

.selection-map .icon {
  color: var(--accent-dark);
}

.selection-map a,
.selection-matrix thead a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.selection-map a {
  display: flex;
  align-items: center;
  min-height: var(--tap);
}

.selection-heading {
  max-width: var(--measure);
}

.selection-heading h2,
.selection-prose > h2:first-child,
.compare-layout .chapter-body > h2:first-child {
  margin-top: 0;
}

.selection-scroll-hint {
  margin-block: 20px 8px;
}

.selection-matrix caption {
  color: var(--muted-tinted);
}

.selection-matrix .data-table th {
  background: var(--tint-green-soft);
}

.selection-matrix .data-table :is(th, td):not(:first-child) {
  min-width: 12em;
}

.selection-matrix .data-table th:first-child {
  width: 1%;
  min-width: 0;
  white-space: nowrap;
}

.compare-layout .chapter-body > section {
  max-width: var(--measure);
}

.compare-layout .chapter-body h3 {
  margin-top: .65em;
}

.selection-prose .callout h3 {
  margin-top: 0;
}

.selection-end {
  padding-top: 0;
}

.selection-verdict {
  display: grid;
  grid-template-columns: minmax(0, var(--measure)) auto;
  justify-content: space-between;
  justify-items: start;
  align-items: center;
  gap: var(--gap);
  border-top: 4px solid var(--accent);
}

@media (max-width: 900px) {
  .selection-split,
  .selection-verdict {
    grid-template-columns: minmax(0, 1fr);
  }

  .selection-map {
    width: min(100%, 34rem);
  }
}

@media (max-width: 640px) {
  .selection-map li {
    grid-template-columns: minmax(0, 6.75em) auto minmax(0, 1fr);
    gap: 6px;
  }

  .compare-layout .toc ul {
    flex-wrap: wrap;
  }
}