body.ab-site .amb-readable-document {
  max-width: 76ch;
  margin-inline: auto;
}
.amb-readable-document .entry-content > h2[id] {
  scroll-margin-block-start: calc(85px + var(--wp-admin--admin-bar--height, 0px));
}
body .amb-readable-document .amb-document-index {
  margin-block: 1rem 1.75rem;
  padding: 0;
  background: #fffaf2;
  border: 1px solid #d6cabc;
  border-radius: 12px;
  color: #38293c;
}
.amb-readable-document .amb-document-index summary {
  min-height: 44px;
  padding: .85rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
}
.amb-readable-document .amb-document-index nav {
  margin: 0;
  padding: 0 1.15rem .75rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0 1.25rem;
}
.amb-readable-document .amb-document-index a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: #50337b;
  text-decoration: underline;
  text-underline-offset: .18em;
  line-height: 1.3;
}
.amb-readable-document :is(summary, a, h2):focus-visible {
  outline: 2px solid #6740a5;
  outline-offset: 3px;
}
