.help-main { max-width: 1190px; }
.help-title { padding-block: clamp(22px, 5vw, 60px) 22px; }
.help-title h1 { margin: 0 0 14px; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.06; }
.help-title p { margin: 0; max-width: 60ch; line-height: 1.6; color: var(--muted); }
.help-section { margin-block: clamp(25px, 6vw, 56px); }
.help-main :is(h1,h2,h3,p,span,a,strong,summary) { overflow-wrap: anywhere; }
.help-section h2 { margin-bottom: 16px; font-size: clamp(1.45rem, 3vw, 2rem); }
.help-main :is(input,select) {
 width: 100%; min-width: 0; margin-top: 7px; padding: 10px 11px; min-height: 44px;
 border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); font: inherit;
}
.help-search {
 padding: clamp(14px, 3vw, 24px);
 background: var(--theme-raised,var(--paper)); border: 1px solid var(--line); border-radius: 12px;
}
.help-search-input { position: relative; }
.help-search-input input { padding-inline-end: 44px; }
.help-search kbd {
 position: absolute; inset-inline-end: 15px; top: 17px;
 padding-inline: 6px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted);
 pointer-events: none;
}
.help-search-scope { display: block; max-width: 23rem; margin-top: 14px; }
.help-search label,.help-filters label { font-size: .92rem; font-weight: 650; }
.help-topics, .help-modules, #help-results { margin: 0; padding: 0; list-style: none; }
.help-topics, .help-modules { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit,minmax(min(100%,16rem),1fr)); }
.help-topic a, .help-modules a {
 display: grid; position: relative; height: 100%; gap: 6px; padding: 14px 16px;
 border: 1px solid var(--line); border-radius: 8px; background: var(--white);
 color: var(--ink); text-decoration: none;
}
.help-topic a:hover,.help-modules a:hover { border-color: var(--theme-link,var(--ink)); }
.help-topic { min-width: 0; }
.help-topic a { padding-inline-end: 36px; }
.help-topic a span,.help-modules a span { color: var(--muted); font-size: .9rem; }
.help-topic .help-count { font-size: .82rem; }
.help-topic .help-arrow { position: absolute; inset-inline-end: 14px; bottom: 14px; }
.help-modules li { min-width: 0; }
.help-modules a { gap: 2px; }
.help-filters { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,16rem),1fr)); gap: 10px; margin-bottom: 16px; }
.help-card { border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.help-card:last-child { border-bottom: 1px solid var(--line); }
.help-card:target { background: var(--theme-raised,var(--paper)); box-shadow: inset 3px 0 var(--accent-strong,var(--ink)); }
.help-card summary { padding: 14px 8px; cursor: pointer; font-weight: 650; }
.help-answer { padding: 0 12px 14px; }
.help-answer p { margin: 0 0 12px; line-height: 1.65; white-space: pre-line; }
.help-copy { padding: 5px 0; color: var(--theme-link,var(--ink)); border: 0; background: transparent; text-decoration: underline; cursor: pointer; font: inherit; }
.help-copy + span { margin-inline-start: 8px; }
.help-related { font-size: .94rem; }
.help-related ul,.help-section > ul:not(.help-modules,.help-topics) { padding-inline-start: 24px; }
.help-action { margin-top: 24px; }
.help-languages { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.help-main :focus-visible { outline: 2px solid var(--theme-link,var(--accent-strong,var(--ink))); outline-offset: 2px; }
#help-results:not([hidden]) { margin-top: 12px; }
#help-results li { padding: 9px 0; border-top: 1px solid var(--line); }
#help-results a { font-weight: 650; }
#help-results small { display: block; color: var(--muted); }
.help-main [hidden] { display: none !important; }

.help-card summary h3 { display: inline; margin: 0; font: inherit; }
