.html-references {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-dark);
}

.html-references h2 {
  margin-top: 0;
  margin-bottom: var(--space-md);
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.html-reference-list {
  display: grid;
  gap: var(--space-sm);
  margin: 0;
}

.html-reference {
  display: grid;
  grid-template-columns: minmax(10rem, .38fr) minmax(0, 1fr);
  gap: var(--space-sm) var(--space-lg);
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-dark);
  border-left: .2rem solid var(--accent-primary);
  border-radius: var(--radius-sm);
}

.html-reference dt {
  color: var(--text-primary);
  font-weight: 600;
}

.html-reference dd {
  margin: 0;
  min-width: 0;
}

.html-reference a {
  color: var(--accent-primary);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.html-reference a:hover {
  text-decoration: underline;
}

.html-reference a:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
}

@media (max-width: 36rem) {
.html-reference {
  grid-template-columns: 1fr;
  gap: .2rem;
}
}