/* New UI help content, scoped to the documentation site. */
#main-wrapper { min-width: 0; }
#content-area { max-width: 1040px; padding-top: 28px; }
#topbar { flex-shrink: 0; }
.prose { overflow-wrap: anywhere; }
.prose .doc-meta { color: #94a3b8; font-size: 13px; }
.prose h1 { font-size: 28px; line-height: 1.4; }
.prose h2 { scroll-margin-top: 76px; }
.prose figure { margin: 20px 0; }
.prose figure img { display: block; width: 100%; height: auto; border: 1px solid #334155; border-radius: 6px; }
.prose figcaption { margin-top: 8px; color: #94a3b8; font-size: 12px; line-height: 1.6; }
.doc-table { overflow-x: auto; margin: 16px 0; }
.prose .doc-table table { margin: 0; min-width: 320px; }
.prose .doc-table th:first-child, .prose .doc-table td:first-child { width: 29%; }
.doc-related { padding-top: 16px; border-top: 1px solid #1e293b; margin-top: 28px; }
.doc-related a { display: inline-block; margin: 0 16px 8px 0; }
.related-grid a { border-radius: 6px; }
#help-menu-toggle { display: none; align-items: center; justify-content: center; flex-shrink: 0; height: 36px; padding: 0 12px; border: 1px solid #334155; border-radius: 6px; background: #0f172a; color: #e2e8f0; cursor: pointer; font: inherit; }
#help-menu-backdrop { display: none; }
@media (max-width: 768px) {
  #topbar { padding: 0 16px; gap: 8px; }
  #help-menu-toggle { display: inline-flex; }
  #search-trigger { width: auto; min-width: 0; flex: 1; }
  #search-trigger .shortcut { display: none; }
  #content-area { padding: 24px 16px 56px; }
  .prose h1 { font-size: 24px; }
  #help-menu-backdrop.open { display: block; position: fixed; inset: 0; z-index: 35; border: 0; background: rgba(0,0,0,.6); }
}
