.baseline-depths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}

.baseline-depths-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.baseline-depth {
  min-width: 0;
  border-right: 1px solid var(--line-strong);
}

.baseline-depth:last-child {
  border-right: 0;
}

.baseline-depth > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 1rem;
  min-height: 8.7rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  cursor: pointer;
  list-style: none;
}

.baseline-depth > summary::-webkit-details-marker {
  display: none;
}

.baseline-depth > summary::after {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--signal);
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.15rem;
  line-height: 1;
}

.baseline-depth[open] > summary::after {
  content: "−";
}

.baseline-depth > summary:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: -2px;
}

.baseline-depth-label {
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 620;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.baseline-depth-note {
  grid-column: 1;
  max-width: 39rem;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.65;
}

.baseline-depth-body {
  border-top: 1px solid var(--line);
}

.baseline-depth-body > section,
.baseline-depth-body > div,
.baseline-depth-body > nav {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}

.baseline-depth-body > :last-child {
  border-bottom: 0;
}

.baseline-depth-body .product-links {
  display: grid;
  gap: 0;
}

.baseline-depth-body .evaluation-hash {
  display: grid;
  gap: .65rem;
}

.baseline-depth-body .evaluation-hash code {
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .baseline-depths {
    grid-template-columns: 1fr;
  }

  .baseline-depth {
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .baseline-depth:last-child {
    border-bottom: 0;
  }

  .baseline-depth > summary {
    min-height: 0;
  }
}

@media (min-width: 761px) and (max-width: 1000px) {
  .baseline-depths-three {
    grid-template-columns: 1fr;
  }

  .baseline-depths-three .baseline-depth {
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .baseline-depths-three .baseline-depth:last-child {
    border-bottom: 0;
  }
}
