/* Help-specific layout; shared brand, colors, type and buttons come from site.css. */
.help-page { min-width: 320px; }
.help-page a:not(.brand):not(.button) { text-decoration: underline; text-underline-offset: 4px; }
.help-page :where(a, summary):focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; border-radius: 3px; }
.help-skip-link { position: absolute; top: -100px; left: 20px; background: var(--lime); padding: 12px 18px; z-index: 50; }
.help-skip-link:focus { top: 12px; }
.help-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.help-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; }
.help-header-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; font-size: 14px; }
.help-header .button { padding: 12px 20px; }
.help-intro { padding: 64px 0 44px; }
.help-intro h1 { font-size: clamp(38px, 5vw, 64px); letter-spacing: -.04em; margin: 0 0 20px; line-height: 1.15; }
.help-intro > .lead { max-width: 740px; font-size: 20px; }
.help-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin-top: 32px; }
.help-roles p { margin: 0; padding: 20px 24px; background: var(--paper-deep); border-radius: 16px; color: var(--muted); font-size: 15px; }
.help-roles strong { display: block; margin-bottom: 6px; color: var(--ink); }
.help-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 80px; padding-bottom: 72px; align-items: start; }
.help-sidebar { position: sticky; top: 24px; }
.help-toc { background: white; border: 1px solid var(--line); border-radius: 16px; overflow: visible; }
.help-toc > summary { padding: 20px; font-size: 16px; cursor: pointer; font-weight: 800; }
.help-toc nav { display: grid; gap: 4px; padding: 0 14px 14px; }
.help-toc nav a { font-size: 14px; padding: 10px 8px; border-radius: 8px; }
.help-toc nav a:hover { background: var(--paper-deep); }
.help-toc[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.help-section { padding: 36px 0 44px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.help-section h2 { font-size: 32px; line-height: 1.3; margin: 0 0 22px; max-width: none; letter-spacing: -.025em; }
.help-section h3 { font-size: 21px; margin: 28px 0 12px; line-height: 1.45; scroll-margin-top: 24px; }
.help-section p { margin: 0 0 18px; line-height: 1.8; }
.help-section ol { padding-left: 24px; margin: 22px 0; }
.help-section li { padding-left: 6px; margin-bottom: 16px; line-height: 1.8; }
.help-where { color: var(--muted); font-size: 15px; }
.help-note, .help-result { background: var(--paper-deep); padding: 20px 24px; border-radius: 14px; font-size: 15px; line-height: 1.8; }
.help-note { margin: 24px 0; border-left: 3px solid var(--blue); }
.help-page code { background: white; padding: 2px 6px; border: 1px solid var(--line); border-radius: 4px; font-size: .9em; overflow-wrap: anywhere; }
.help-screen { margin: 30px 0 0; scroll-margin-top: 24px; }
.help-screen a { display: block; width: fit-content; max-width: 100%; }
.help-screen img { width: auto; max-width: 100%; height: 460px; object-fit: contain; object-position: left; border: 1px solid var(--line); border-radius: 14px; }
.help-screen figcaption { font-size: 13px; line-height: 1.7; color: var(--muted); margin-top: 12px; }
.help-plan-list { border: 1px solid var(--line); border-radius: 14px; padding: 22px; margin: 24px 0; background: white; }
.help-plan-list p:last-child { margin-bottom: 0; }
.help-problem { border-bottom: 1px solid var(--line); padding: 20px 0; }
.help-problem summary { font-weight: 800; cursor: pointer; line-height: 1.6; padding-right: 52px; }
.help-problem p { margin-top: 20px; font-size: 15px; }
.help-problem p:last-child { margin-bottom: 0; }
.help-contact { margin-top: 28px; scroll-margin-top: 24px; }
.help-contact h3 { margin-top: 0; }
.help-content, .help-content > * { min-width: 0; }
@media (max-width: 1000px) { .help-layout { grid-template-columns: 250px minmax(0,1fr); gap: 40px; } }
@media (max-width: 860px) {
    .help-layout { grid-template-columns: 1fr; gap: 32px; }
    .help-sidebar { position: static; }
    .help-toc nav { grid-template-columns: 1fr 1fr; }
    .help-header-nav { gap: 20px; }
}
@media (max-width: 650px) {
    .help-header-inner { flex-wrap: wrap; gap: 18px; padding-block: 18px; }
    .help-header-nav { width: 100%; gap: 18px; justify-content: space-between; font-size: 13px; }
    .help-header .button { padding: 10px 14px; font-size: 13px; }
    .help-intro { padding: 40px 0 32px; }
    .help-intro h1 { font-size: 40px; }
    .help-intro > .lead { font-size: 17px; }
    .help-roles { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
    .help-roles p { padding: 18px; font-size: 14px; }
    .help-layout { padding-bottom: 40px; }
    .help-toc nav { grid-template-columns: 1fr; }
    .help-toc nav a { padding-block: 11px; }
    .help-section { padding: 28px 0 32px; }
    .help-section h2 { font-size: 28px; }
    .help-section h3 { font-size: 20px; }
    .help-section p, .help-section li { font-size: 15px; }
    .help-section li { padding-left: 0; }
    .help-note, .help-result { padding: 18px; }
    .help-screen img { height: auto; width: min(100%,294px); }
    .help-problem summary { font-size: 16px; }
}
