/* The help hub (/hilfe) on top of docs.css: only what the docs components do not already cover.
   Same tokens as the docs and the website, light only. */

.help-kicker { display: block; margin: 0 0 6px; color: var(--ink-faint); font: 600 12px/1.4 var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
.help-meta { display: block; margin-top: 12px; color: var(--ink-faint); font-size: 14px; }
.help-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.help-section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin: 56px 0 16px; }
.help-section-heading h2 { margin: 0; }

/* Article: text column plus a narrow aside that stays in view */
.help-article-shell { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: start; }
.help-aside { position: sticky; top: calc(var(--header-h) + var(--subbar-h) + 24px); display: grid; gap: 28px; }
@media (max-width: 960px) {
    .help-article-shell { grid-template-columns: 1fr; gap: 40px; }
    .help-aside { position: static; }
}
.help-answer { max-width: 68ch; }
.help-answer p { margin: 0; color: var(--ink); font-weight: 500; }
.help-prerequisite { background: var(--warn); }
.help-prerequisite p { margin: 4px 0 0; }
.help-quote { margin: 32px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); max-width: 64ch; }
.help-quote p { margin: 0 0 8px; color: var(--ink-heading); font: 500 20px/1.45 var(--font-display); }
.help-quote footer { color: var(--ink-muted); font-size: 14px; }
.help-table-note { color: var(--ink-muted); font-size: 14px; }
.help-article .ac-table td { white-space: nowrap; }

.help-check { display: flex; gap: 20px; align-items: flex-start; margin: 48px 0; padding: 24px; border-radius: var(--radius-card); background: var(--surface-hero); max-width: 68ch; }
.help-check h2 { margin: 0 0 6px; font-size: 20px; }
.help-check p { margin: 0; }
.help-check-mark { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--accent); font: 700 20px/1 var(--font-display); }
.help-check-fox { width: 64px; height: 64px; background: none; }
.help-check-fox img { width: 100%; height: 100%; }

.help-back { padding: 18px 20px; }
.help-back strong { color: var(--ink-heading); font-family: var(--font-display); }
.help-related { list-style: none; margin: 0; padding: 0; }
.help-related li { margin: 0; border-top: 1px solid var(--line); }
.help-related li:last-child { border-bottom: 1px solid var(--line); }
.help-related a { display: block; padding: 12px 0; color: var(--ink); font-size: 15px; }
.help-related a::after { content: " →"; color: var(--accent); }

/* Hub: format tabs, search, numbered cards */
.help-format-switcher { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; max-width: 760px; }
@media (max-width: 640px) { .help-format-switcher { grid-template-columns: 1fr; } }
.help-format-option { display: grid; gap: 2px; padding: 18px 20px; border: 0; border-radius: var(--radius-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink-body); font: inherit; text-align: left; cursor: pointer; }
.help-format-option strong { color: var(--ink-heading); font: 600 18px/1.35 var(--font-display); }
.help-format-option > span:last-child { font-size: 14px; }
.help-format-option:hover { box-shadow: inset 0 0 0 1px var(--ink-faint); }
.help-format-option.is-active { background: var(--surface-hero); box-shadow: inset 0 0 0 2px var(--accent); }

.help-search { position: relative; flex: 0 1 360px; }
.help-search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--ink-faint); stroke-width: 2; stroke-linecap: round; }
.help-search input { width: 100%; min-height: 44px; padding: 10px 16px 10px 42px; border: 0; border-radius: var(--radius-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink); font: 15px/1.4 var(--font-body); }
.help-search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

.help-number { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 700 15px/1 var(--font-display); }
[hidden] { display: none !important; }

.help-lectures { list-style: none; display: grid; gap: 16px; margin: 24px 0; padding: 0; }
.help-lectures li { display: flex; gap: 16px; align-items: flex-start; margin: 0; }
.help-lectures .help-number { flex: none; margin: 0; }
.help-lectures h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.help-badge { padding: 2px 10px; font-size: 13px; }
