html, body { height: auto; min-height: 100%; overflow: visible; }
html { scroll-padding-top: 76px; }
body { font-size: 16px; }
.help-header {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--pane);
  border-bottom: 1px solid var(--border);
}
.help-header > div {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.help-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 750; }
.help-brand img { display: block; }
.help-layout {
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 24px 64px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 18px 32px;
}
.help-nav {
  grid-column: 1;
  grid-row: 1 / span 2;
  position: sticky;
  top: 80px;
  max-height: calc(100dvh - 100px);
  overflow: auto;
  display: grid;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--pane);
}
.help-nav a { display: block; border-radius: 8px; padding: 8px 10px; color: var(--text); }
.help-nav a:hover { background: var(--active); text-decoration: none; }
.help-introduction, .help-main { grid-column: 2; }
.help-introduction h1 { font-size: clamp(28px, 5vw, 45px); letter-spacing: -.04em; line-height: 1.13; }
.help-intro { margin: 12px 0 8px; color: var(--muted); }
.help-main section {
  margin-bottom: 14px;
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--pane);
  line-height: 1.6;
}
.help-main section:target { border-color: var(--accent); }
.help-main h2 { font-size: 22px; line-height: 1.25; margin-bottom: 12px; }
.help-main h3 { margin-top: 14px; }
.help-main :is(ul,ol) { padding-inline-start: 22px; margin: 8px 0; }
.help-main li + li, .help-main p + p { margin-top: 7px; }
.help-main kbd {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 4px;
  background: var(--field);
  white-space: nowrap;
}
.help-note { margin-top: 12px; color: var(--muted); }
@media (max-width: 720px) {
  .help-layout { display: block; padding: 20px 14px 44px; }
  .help-header > div { padding-inline: 14px; }
  .help-nav { position: static; max-height: none; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 18px 0; }
  .help-nav a { font-size: 14px; }
}
