.guide-page .layout-shell {
  max-width: 1280px;
  margin-top: 0;
}

.guide-page .main-content {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 2px;
}

.guide-page .site-intro {
  margin-top: 0;
  padding-top: 0;
}

.guide-page .site-intro-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 6px 0 8px;
}

.guide-page .site-intro-top .subpage-back-link {
  margin: 0;
}

.guide-page .site-intro-top .page-updated-at {
  position: static;
  flex: 0 0 auto;
  text-align: right;
}

.guide-page .site-intro .subpage-title {
  margin: 0 0 4px;
  font-size: 1.35rem;
  color: var(--accent);
  text-align: left;
}

.guide-page .site-intro-copy {
  margin: 0;
  max-width: none;
  text-align: left;
  line-height: 1.55;
}

.guide-section {
  padding: clamp(12px, 2.2vw, 24px);
  scroll-margin-block-start: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.guide-section [id] {
  scroll-margin-block-start: 1rem;
}

.guide-section h3 {
  margin: 1.5rem 0 0.5rem;
  line-height: 1.4;
  color: var(--accent);
}

.guide-section p,
.guide-section ul,
.guide-section ol,
.guide-section dl {
  margin: 0.55rem 0 0.9rem;
}

.guide-section ul,
.guide-section ol {
  padding-inline-start: 1.5rem;
}

.guide-section li + li {
  margin-block-start: 0.35rem;
}

.guide-toc,
.guide-related {
  padding: 12px;
}

.guide-toc ul,
.guide-related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.guide-toc a,
.guide-related a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 10px;
  border: 1px solid var(--brand-light);
  border-radius: 8px;
  color: var(--accent);
  line-height: 1.3;
  background: white;
}

.guide-toc a:focus-visible,
.guide-related a:focus-visible,
.guide-section a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.guide-table {
  width: 100%;
  margin-block: 0.75rem 1.2rem;
  border-collapse: collapse;
  font-size: 0.95rem;
  text-align: left;
}

.guide-table th,
.guide-table td {
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid var(--brand-light);
  vertical-align: top;
}

.guide-table thead {
  background: var(--brand-light);
  color: var(--text-main);
}

.guide-table th[scope="row"] {
  font-weight: 600;
}

.guide-table tbody tr:nth-child(even) {
  background: rgba(112, 87, 170, 0.05);
}

.guide-facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.25rem 1rem;
}

.guide-facts dt {
  font-weight: 600;
}

.guide-facts dd {
  margin: 0;
}

.guide-tracks {
  columns: 2 16rem;
  column-gap: 2.25rem;
}

.guide-tracks li {
  break-inside: avoid;
}

@media (max-width: 600px) {
  .guide-page .main-content {
    padding: 6px 8px 8px;
  }

  .guide-page .site-intro-top {
    gap: 6px;
  }

  .guide-table {
    font-size: 0.875rem;
  }

  .guide-table th,
  .guide-table td {
    padding: 0.4rem 0.3rem;
  }
}

.guide-cell-note {
  display: block;
  margin-top: 0.3em;
  color: var(--text-muted);
  font-weight: 400;
}

.guide-table--labyrinth th[scope="row"],
.guide-table--requests th[scope="row"] {
  width: 29%;
}

.guide-table--editions th[scope="row"] {
  width: 38%;
}

.guide-table--skills td:nth-child(2) {
  white-space: nowrap;
}

.guide-table--shards th[scope="row"] {
  width: 5em;
}

.guide-table--shards th:nth-child(2) {
  width: 36%;
}
