.registry-header nav {
  margin-left: auto;
  margin-right: 0;
}

.registry-main {
  max-width: 1040px;
  padding-block: clamp(36px, 6vw, 76px);
}

.registry-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.registry-heading h1 {
  max-width: 16ch;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -.05em;
  margin: 0;
}

.registry-heading p {
  max-width: 62ch;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.registry-heading .button {
  flex: none;
}

.registry-empty {
  display: grid;
  grid-template-columns: 1fr minmax(0, .9fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(24px, 5vw, 48px);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.registry-empty h2 {
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -.035em;
}

.registry-empty p {
  max-width: 44ch;
  margin: 14px 0 24px;
  color: var(--muted);
}

.registry-example {
  min-width: 0;
  padding: 20px;
  background: var(--paper);
  border: 1px dashed #aab8ac;
  border-radius: 8px;
}

.registry-example h3 {
  margin: 0 0 12px;
  font-size: 16px;
  letter-spacing: 0;
}

.registry-example dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 9px 16px;
  margin: 0;
  font-size: 14px;
}

.registry-example dt,
.registry-note {
  color: var(--muted);
}

.registry-example dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.registry-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.registry-filters a {
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}

.registry-filters a:hover,
.registry-filters [aria-current="page"] {
  background: var(--soft);
}

.registry-filters [aria-current="page"] {
  border-color: #aab8ac;
}

.registry-table-wrap,
.registry-filter-empty {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.registry-table-wrap {
  overflow-x: auto;
}

.registry-table-wrap:focus-visible {
  outline: 3px solid #558319;
  outline-offset: 4px;
}

.registry-table {
  width: 100%;
  min-width: 590px;
  border-collapse: collapse;
}

.registry-table th,
.registry-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

.registry-table thead {
  background: var(--soft);
}

.registry-table tbody tr {
  border-top: 1px solid var(--line);
}

.registry-table tbody a {
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.registry-filter-empty {
  padding: 20px;
}

.registry-filter-empty p {
  margin: 0 0 8px;
}

.registry-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

.registry-modes section {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.registry-modes h2 {
  font-size: 20px;
  letter-spacing: -.02em;
}

.registry-modes p,
.registry-note {
  font-size: 14px;
}

.registry-modes p {
  margin: 7px 0 0;
}

.registry-note {
  margin: 22px 0 0;
}

@media (max-width: 720px) {
  .registry-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .registry-empty,
  .registry-modes {
    grid-template-columns: 1fr;
  }
}
