.reference-intro{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);
  align-items:start;
  gap:48px;
}
.reference-intro>*{
  min-width:0;
}
.reference-intro h1{
  margin-top:24px;
}
.reference-intro a:not(.btn){
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:4px;
}
.reference-lede{
  font-size:var(--h3-size);
  color:var(--text-muted);
  max-width:32em;
}
.reference-scope{
  margin-top:8px;
}
.reference-scope h2{
  font-size:var(--h3-size);
}
.reference-scope p:last-of-type{
  margin-bottom:8px;
}
.reference-document{
  padding-bottom:40px;
}
.reference-document>.toc-tabs{
  margin-bottom:0;
}
.reference-chapter{
  margin-inline:auto;
  border-bottom:1px solid var(--border);
}
.reference-chapter:last-child{
  border-bottom:0;
}
.reference-chapter>.peek-label{
  display:block;
  margin-bottom:16px;
  overflow-wrap:anywhere;
}
.reference-chapter>h2{
  margin-top:0;
}
.reference-chapter>p:last-child{
  margin-bottom:0;
}
.reference-chapter .table-scroll{
  margin-block:28px;
}
@media(max-width:960px){
  .reference-intro{
    grid-template-columns:1fr;
    gap:24px;
  }
  .reference-scope{
    margin-top:0;
  }
}
@media(max-width:640px){
  .reference-intro{
    gap:20px;
  }
  .reference-lede{
    font-size:var(--text-size);
  }
  .reference-document{
    padding-bottom:24px;
  }
}