/* Help web (plugin handover §2.20) — layout on top of marketing.css's
   .markdown rules. Loaded only by /help pages. */
.help-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  padding: 32px 0 64px;
}
@media (max-width: 980px) { .help-layout { grid-template-columns: 1fr; gap: 24px; } }

.help-nav {
  position: sticky; top: 88px; align-self: start;
  max-height: calc(100vh - 110px); overflow: auto;
  font-size: 14px;
}
.help-nav h5 {
  font: 500 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 10px;
}
.help-nav h5 a { color: inherit; text-decoration: none; }
.help-nav ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 6px; }
.help-nav a {
  color: var(--fg-2); text-decoration: none; display: block;
  border-left: 2px solid transparent; padding-left: 10px;
}
.help-nav a:hover { color: var(--fg); border-left-color: var(--accent); }
.help-nav li.current > a { color: var(--fg); border-left-color: var(--accent); font-weight: 600; }
.help-toc a { font-size: 13px; color: var(--muted); }
@media (max-width: 980px) { .help-nav { position: static; max-height: none; } .help-toc, .help-toc-title { display: none; } }

.help-content { max-width: 80ch; }
.help-content img { max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; display: block; margin: 1.4em 0 0.4em; }
.help-content img + em, .help-content p > img + em { display: block; }
.help-content p > em:only-child { color: var(--muted); font-size: 13.5px; }
.help-content td img { margin: 0; border: 0; display: inline-block; vertical-align: middle; }
.help-content pre {
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px;
  padding: 12px 14px; overflow: auto; font-size: 13px;
}
.help-content pre code { background: transparent; padding: 0; }
.help-content kbd {
  display: inline-block; font-family: var(--mono); font-size: 11px;
  border: 1px solid var(--line-2); border-radius: 3px;
  padding: 2px 6px; color: var(--fg-2); background: var(--surface);
}
.help-content a[id] { display: block; position: relative; top: -88px; visibility: hidden; height: 0; }
.help-ribbon { color: var(--muted); font-size: 13px; margin-top: 8px; }
.help-updated { color: var(--muted); font-size: 12.5px; margin-top: 3em; border-top: 1px solid var(--line); padding-top: 1em; }

/* Callouts: blockquotes led by **Tip** / **Note** / **Important** (README). */
.markdown blockquote.callout { border-left-width: 3px; }
.markdown blockquote.callout-tip, .markdown blockquote.callout-note { border-left-color: var(--accent); }
.markdown blockquote.callout-important { border-left-color: #d97706; background: color-mix(in oklab, #d97706 8%, var(--bg-2)); }
.markdown blockquote.callout-important strong:first-child { color: #b45309; }
