.help-page { background: var(--bg); }
.help-page .page-bg {
  background: none;
}
.help-site-header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.help-site-header .brand-icon { width: 44px; height: 44px; border-radius: 9px; }
.help-site-header .brand-name { font-size: 1.3rem; }
.help-site-header nav { display: flex; gap: 22px; }
.help-site-header nav a,
.help-footer a { color: var(--muted); text-decoration: none; }
.help-site-header nav a:hover,
.help-footer a:hover { color: var(--text); }
.help-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px 72px;
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.help-sidebar {
  position: sticky;
  top: 0;
  max-height: 100vh;
  overflow: auto;
  padding: 34px 22px 34px 0;
  border-right: 1px solid var(--line);
  scrollbar-color: #66675e transparent;
  scrollbar-width: thin;
}
.help-sidebar::-webkit-scrollbar { width: 8px; }
.help-sidebar::-webkit-scrollbar-track { background: transparent; }
.help-sidebar::-webkit-scrollbar-thumb { border-radius: 4px; background: #66675e; }
.help-search-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
[data-help-search] {
  width: 100%;
  height: 38px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg-elev);
  color: var(--text);
  font: inherit;
}
[data-help-search]:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.help-search-status { min-height: 18px; margin: 7px 0 3px; color: var(--muted); font-size: 0.875rem; }
.help-topic-nav { display: grid; }
.help-topic-link {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-left: 2px solid transparent;
  color: var(--text);
  text-decoration: none;
}
.help-topic-link[hidden] { display: none; }
.help-topic-link:hover { background: rgba(255,255,255,0.035); }
.help-topic-link.is-active { border-left-color: var(--brand-bright); background: var(--brand-soft); }
.help-topic-link small { color: var(--muted); font-size: 0.875rem; line-height: 1.35; }
.help-content { min-width: 0; max-width: 780px; padding-top: 56px; }
.help-js .help-article { display: none; }
.help-js .help-article.is-active { display: block; }
.help-article-header { padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.help-overline {
  margin: 0 0 12px;
  color: var(--brand-bright);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.help-article-header h1 {
  max-width: none;
  font-size: clamp(2.25rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.025em;
}
.help-article-header > p:last-child { max-width: 660px; margin: 16px 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.55; }
.help-article-section,
.shortcut-group { position: relative; padding: 36px 0; border-bottom: 1px solid var(--line); }
.help-article-section h2,
.shortcut-group h2 { font-size: 1.42rem; letter-spacing: -0.01em; }
.help-article-section p,
.help-article-section li { color: var(--muted); font-size: 1rem; line-height: 1.68; }
.help-article-section p { margin: 14px 0 0; }
.help-article-section ul,
.help-article-section ol { margin: 17px 0 0; padding-left: 25px; }
.help-article-section li { margin: 8px 0; padding-left: 4px; }
.help-note { margin-top: 22px; padding: 16px 18px; border-left: 3px solid var(--brand-bright); background: var(--bg-elev); }
.help-note strong { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.help-note p { margin-top: 6px; color: var(--muted); }
.section-anchor { position: absolute; top: 38px; right: 0; color: transparent; text-decoration: none; }
.help-article-section:hover .section-anchor,
.section-anchor:focus { color: var(--muted); }
.shortcut-list { margin: 17px 0 0; }
.shortcut-list > div { display: grid; grid-template-columns: minmax(180px, 1fr) auto; gap: 20px; align-items: center; padding: 11px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.shortcut-list dt { color: var(--text); }
.shortcut-list dd { display: flex; gap: 5px; margin: 0; }
kbd { display: inline-block; min-width: 28px; margin: 0 0.08em; padding: 4px 7px; border: 1px solid var(--line); border-bottom-color: #6a6b61; border-radius: 5px; background: var(--bg-elev); color: var(--text); font: 600 0.78rem/1.2 "SF Pro Text", sans-serif; text-align: center; vertical-align: 0.06em; }
.article-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 38px; }
.article-pagination a { color: var(--brand-bright); text-decoration: none; }
.article-pagination a:last-child { text-align: right; }
.help-footer { max-width: 1240px; margin: 0 auto; padding: 26px 28px 44px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); }
.help-mobile-controls { display: none; }
@media (max-width: 780px) {
  .help-site-header { padding: 17px 20px; }
  .help-layout { display: block; padding: 0 22px 54px; }
  .help-sidebar { display: none; }
  .help-mobile-controls { display: grid; gap: 7px; padding: 20px 22px 0; }
  .help-mobile-controls label { color: var(--muted); font-size: 0.8rem; }
  #help-topic-select { width: 100%; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg-elev); color: var(--text); font: inherit; }
  .help-mobile-controls [data-help-search] { height: 40px; margin-top: 10px; }
  .help-content { padding-top: 40px; }
  .help-article-header h1 { font-size: 2.45rem; }
  .shortcut-list > div { grid-template-columns: 1fr; gap: 8px; }
  .article-pagination { grid-template-columns: 1fr; }
  .article-pagination a:last-child { text-align: left; }
  .help-footer { padding: 24px 22px 38px; }
}
.help-footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
@media (max-width: 480px) {
  .help-site-header { gap: 16px; align-items: flex-start; }
  .help-site-header nav { gap: 14px; font-size: .94rem; }
  .help-footer { flex-direction: column; gap: 16px; }
}

.help-screenshot { margin: 28px 0 0; }
.help-screenshot img { display: block; width: 100%; max-width: 735px; height: auto; border: 1px solid var(--line); border-radius: 5px; }
.help-screenshot figcaption { margin-top: 10px; color: var(--muted); font-size: .875rem; line-height: 1.5; }

.help-screenshot-narrow { max-width: 437px; }
