/* Help reader: the page shell comes from ../style.css. */
.help-layout { display: grid; grid-template-columns: minmax(260px, 320px) minmax(0, 1fr); width: min(100% - 32px, var(--max)); min-height: calc(100vh - 65px); margin: auto; }
.help-sidebar { border-right: 1px solid var(--line); padding: 40px 28px 60px 0; align-self: start; position: sticky; top: 65px; max-height: calc(100vh - 65px); overflow: auto; }
.help-sidebar h1 { font-size: 2rem; margin: 0 0 22px; max-width: none; }
.search-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
#help-search { width: 100%; height: 42px; background: var(--panel-2); color: #fff; border: 1px solid var(--line-2); border-radius: 0; padding: 0 12px; }
#help-search:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
#help-search::placeholder { color: var(--muted); }
.language-switch { display: grid; grid-template-columns: 1fr 1fr; margin: 12px 0 22px; border: 1px solid var(--line-2); }
.language-switch button { height: 36px; color: var(--soft); background: var(--panel); border: 0; font-size: 14px; cursor: pointer; }
.language-switch button + button { border-left: 1px solid var(--line-2); }
.language-switch button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.help-topics { display: grid; gap: 1px; }
.help-topics button { width: 100%; text-align: left; border: 0; border-left: 2px solid transparent; background: transparent; color: var(--soft); padding: 9px 12px; font-size: 15px; cursor: pointer; }
.help-topics button:hover, .help-topics button:focus-visible { background: var(--panel-2); color: #fff; }
.help-topics button[aria-current="page"] { background: var(--panel-2); color: #fff; border-left-color: var(--blue); }
.no-results { color: var(--muted); font-size: 14px; }
.back-link { display: inline-block; margin-top: 28px; font-size: 14px; color: var(--soft); }
.help-article { min-width: 0; max-width: 820px; padding: 40px 0 100px 56px; font-size: 16px; color: var(--soft); line-height: 1.7; }
.help-article:focus { outline: 0; }
.help-article h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 22px; max-width: none; color: #fff; }
.help-article h2 { font-size: 1.35rem; color: #fff; margin: 36px 0 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.help-article p { margin: 0 0 16px; }
.help-article ul, .help-article ol { padding-left: 22px; margin: 0 0 20px; }
.help-article li { padding-left: 4px; margin: 6px 0; }
.help-article li::marker { color: var(--muted); font-family: var(--mono); font-size: .85em; }
.help-article strong { color: #fff; }
.help-article code { overflow-wrap: anywhere; }
@media (max-width: 850px) {
  .help-layout { display: block; }
  .help-sidebar { position: static; max-height: none; border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 0 20px; }
  .help-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .help-article { padding: 32px 0 80px; }
}
@media (max-width: 530px) { .help-topics { grid-template-columns: minmax(0, 1fr); } }
