.help-heading {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 20px;
}

.help-workspace .help-sidebar-inner { position: sticky; top: 16px; }
.help-workspace .help-toc { display: grid; gap: 4px; }
.help-toc .help-toc-extra { margin-top: 8px; }

.help-main .help-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(156px, 200px);
  align-items: start;
  gap: 12px 32px;
  max-width: none;
  margin-top: 0;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.help-main .help-section:last-child { padding-bottom: 0; border-bottom: 0; }
.help-main .help-section h2 { margin: 0 0 8px; line-height: 1.4; }
.help-section p { max-width: 68ch; margin: 0; }
.help-section p + p { margin-top: 8px; }
.help-copy p strong { margin-inline-end: 8px; }
.help-note { color: var(--secondary); }

.help-actions,
.browser-links { display: grid; align-content: start; gap: 8px; }
.help-open {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid var(--control-border);
  border-radius: 6px;
  color: var(--primary);
  line-height: 1.4;
  text-decoration: none;
}
.help-open:hover { background: var(--highlight); text-decoration: underline; }
.help-main .help-resources { display: block; }
.help-feedback { scroll-margin-top: 16px; }
.help-feedback .feedback-form { margin-top: 18px; }
.help-feedback .feedback-label { margin: 0 0 12px; }
.help-feedback .feedback-label:has(input[type="file"]) { margin-bottom: 4px; }
.help-feedback .feedback-input, .help-feedback .feedback-field { margin-top: 4px; }
.help-feedback .feedback-input { min-height: 126px; }
.help-feedback .feedback-screenshot-hint { margin-bottom: 14px; }
.help-feedback .feedback-status:not(:empty) { margin-top: 8px; }
.browser-links { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; }
body[data-screenshot-search-only] .help-live { display: none; }

@media (max-width: 767px) {
  .help-workspace .help-sidebar-inner { position: static; }
  .help-workspace .help-toc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .help-toc .help-toc-extra { margin-top: 0; }
  .help-toc .site-side-link { padding-inline: 8px; line-height: 1.4; }
  .help-main .help-section { grid-template-columns: 1fr; padding-block: 20px; }
  .help-actions { display: flex; flex-wrap: wrap; }
  .browser-links { grid-template-columns: 1fr; }
}
