/* Help and FAQ only; the shared look is site.css. */
.help .toc{display:flex;gap:8px 12px;flex-wrap:wrap;margin:10px 0 4px}
.help .toc a{font-family:var(--f-term);font-size:22px;line-height:1;text-decoration:none;color:var(--parch);border:1px solid var(--line);border-radius:4px;padding:6px 12px}
.help .toc a:hover,.help .toc a:focus-visible{border-color:var(--teal);color:var(--teal)}
.help h2{margin-top:36px;scroll-margin-top:12px}
.help h3{scroll-margin-top:12px}
details.faq{border:1px solid var(--line);border-radius:6px;padding:0;margin:10px 0;background:var(--panel)}
details.faq summary{cursor:pointer;padding:12px 16px;color:var(--parch);font-weight:600;list-style:none}
details.faq summary::-webkit-details-marker{display:none}
details.faq summary::before{content:"+";display:inline-block;width:1.2em;color:var(--teal);font-family:var(--f-term);font-size:22px;line-height:1}
details.faq[open] summary::before{content:"–"}
details.faq[open]{border-color:var(--line2)}
details.faq p{margin:0;padding:0 16px 14px 36px}
/* The help page as chapters: an index panel on the left, the chapter on the right. */
.helpwrap{display:grid;grid-template-columns:15.5rem minmax(0,1fr);gap:22px;align-items:start;margin-top:14px}
.helpnav{position:sticky;top:12px;border:1px solid var(--line);border-radius:8px;background:var(--panel);padding:8px 10px 12px}
.helpnav .grp{margin:12px 6px 4px;font-family:var(--f-term);font-size:20px;color:var(--dim);letter-spacing:.04em;text-transform:uppercase}
.helpnav .grp:first-child{margin-top:4px}
.helpnav ul{list-style:none;margin:0;padding:0}
.helpnav a{display:block;padding:6px 10px;border-radius:4px;border-left:3px solid transparent;color:var(--stone);text-decoration:none;line-height:1.3}
.helpnav a:hover,.helpnav a:focus-visible{color:var(--teal);background:var(--panel2)}
.helpnav a[aria-current]{color:var(--parch);background:var(--panel2);border-left-color:var(--ember)}
.helpbody{border:1px solid var(--line);border-radius:8px;background:var(--panel);padding:4px 26px 24px;min-width:0}
.helpbody .chapter[hidden]{display:none}
.helpbody .chapter>h2:first-child{margin-top:20px}
.helpbody .chapter+.chapter{margin-top:20px;border-top:1px solid var(--line)}   /* without the script, chapters stack with a rule between them */
.helpbody .tablewrap{overflow-x:auto}
.pager{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:28px;padding-top:14px;border-top:1px solid var(--line)}
.pager .next{margin-left:auto}
@media (max-width:760px){
  .helpwrap{grid-template-columns:1fr}
  .helpnav{position:static}
  .helpnav ul{display:flex;flex-wrap:wrap;gap:4px 6px}
  .helpnav a{border:1px solid var(--line);border-left-width:1px}
  .helpnav a[aria-current]{border-color:var(--ember)}
  .helpbody{padding:2px 16px 20px}
}
