.ref-directory {
  max-width: 53rem;
}
.ref-directory-search {
  margin: 0;
}
.ref-directory-search > div {
  width: min(100%, 34rem);
}
.ref-directory-status:not(:empty) {
  margin-top: .65rem;
}
.ref-directory-group {
  margin-top: 2rem;
}
.ref-directory-group + .ref-directory-group {
  margin-top: 2.25rem;
}
.ref-directory-group h2 {
  margin: 0 0 .45rem;
}
.ref-directory-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.ref-directory-list li {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 6rem;
}
.ref-directory-list a {
  display: grid;
  gap: .15rem;
  padding: .8rem .35rem;
  color: var(--ink);
  text-decoration: none;
}
.ref-directory-list a:hover,
.ref-directory-list a:focus-visible {
  background: var(--paper);
}
.ref-directory-list a:focus-visible {
  outline: 2px solid var(--blueprint);
  outline-offset: -2px;
}
.ref-directory-list strong {
  color: var(--blueprint);
  font-weight: 650;
}
.ref-directory-list a:hover strong,
.ref-directory-list a:focus-visible strong {
  text-decoration: underline;
}
.ref-directory-list span {
  color: var(--ink-2);
}
.ref-back {
  margin-top: 1.65rem;
}
.ref-section {
  max-width: 70rem;
  scroll-margin-top: 6rem;
}
.ref-section h3 {
  margin: 1.6rem 0 .6rem;
  font-size: 1.17rem;
}
.ref-section p {
  max-width: 78ch;
}
.ref-scroll {
  overflow-x: auto;
  margin-top: 1.3rem;
}
.ref-scroll:focus-visible {
  outline: 2px solid var(--blueprint);
  outline-offset: 3px;
}
.ref-table {
  min-width: 25rem;
  max-width: none;
  font-size: .9375rem;
  font-variant-numeric: tabular-nums;
}
.ref-table--wide {
  min-width: 43rem;
}
.ref-table caption {
  padding: 0 0 .65rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 680;
  text-align: left;
}
.ref-table thead th {
  font-size: .875rem;
  line-height: 1.4;
}
.ref-table tbody tr:nth-child(even of :not([hidden])) {
  background: var(--paper);
}
.ref-table th,
.ref-table td {
  overflow-wrap: normal;
}
.ref-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: .75rem 1rem;
  margin-top: 1rem;
}
.ref-controls > div {
  display: grid;
  gap: .32rem;
  min-width: 0;
  max-width: 100%;
}
.ref-controls label {
  font-weight: 650;
}
.ref-controls input,
.ref-controls select {
  max-width: 100%;
  min-width: 0;
  padding: .55rem .65rem;
  border: 1px solid var(--line-strong);
  border-radius: .2rem;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.ref-controls select {
  appearance: auto;
}
.ref-controls p {
  margin: 0;
}
.ref-point {
  margin-top: 1rem;
  font-weight: 600;
}
.ref-related a {
  color: var(--blueprint);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .15em;
}
@media (max-width: 480px) {
  .ref-section {
    scroll-margin-top: 5rem;
  }
  .ref-controls > div {
    flex-basis: 100%;
  }
}
