.help-shell {
  display: grid;
  grid-template-columns: minmax(170px, 230px) minmax(0, 760px);
  gap: 36px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px var(--gutter) 72px;
}
.help-nav {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10px;
  position: sticky;
  top: 24px;
  align-self: start;
}
.help-content {
  min-width: 0;
  overflow-wrap: anywhere;
}
.help-content h1,
.about-page h1 {
  font: 400 clamp(2rem, 5vw, 3rem)/1.15 var(--serif);
  color: var(--accent);
  margin: 0 0 24px;
}
.help-content h2 {
  font: 400 1.65rem/1.3 var(--serif);
  margin: 36px 0 16px;
}
.help-content h3 {
  font-size: 1.1rem;
  margin: 24px 0 12px;
}
.help-content p {
  margin: 12px 0;
}
.help-search {
  display: grid;
  gap: 6px;
  max-width: 100%;
}
.help-search input {
  width: 100%;
  min-width: 0;
  font: inherit;
  padding: 8px;
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--ink);
}
.help-search-status,
.intro,
.section-summary {
  color: var(--ink-muted);
}
.help-search-match {
  background: #eedc9d;
  color: var(--ink-strong);
}
.help-shortcut {
  margin-left: 10px;
  border: 1px solid var(--line);
  padding: 1px 5px;
}
.help-content code {
  overflow-wrap: anywhere;
}
.legal-footer,
.about-page nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 40px;
}
.about-page {
  max-width: 800px;
  padding: 48px var(--gutter) 80px;
  margin: auto;
}
.about-page .back {
  display: inline-block;
  margin-bottom: 28px;
}
@media (max-width: 760px) {
  .help-shell {
    display: block;
    padding-top: 24px;
  }
  .help-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 32px;
    font-size: 0.875rem;
  }
  .help-search {
    flex-basis: 100%;
  }
}

@media (pointer: coarse), (max-width: 760px) {
  .help-shortcut {
    display: none;
  }
}

/* Tool reference tables stay readable within the help reader on phones. */
.help-table-wrap {
  overflow-x: auto;
  max-width: 100%;
}
.help-table-wrap table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.help-table-wrap th,
.help-table-wrap td {
  padding: 0.5rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid currentColor;
}
.help-table-wrap td:first-child,
.help-table-wrap td:last-child {
  white-space: nowrap;
}
