/* BE Voice help centre: a side menu with search, and the guides. Uses site.css's tokens. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.help { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 48px; max-width: 1180px; margin: 0 auto; padding: 36px 20px 64px; }
.help-side { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 4px; }
.help-search { margin: 0 0 18px; }
.help-search input { padding: 10px 12px; font-size: 15px; }
.help-results { margin-top: 6px; background: var(--panel); border: 1px solid var(--line2); border-radius: var(--radius); padding: 4px; }
.help-results a { display: block; padding: 8px 10px; border-radius: 6px; color: var(--ink); }
.help-results a:hover, .help-results a.on { background: var(--panel2); text-decoration: none; }
.help-results b { display: block; color: var(--bright); font-weight: 600; }
.help-results small { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; margin-top: 2px; }
.help-results mark { background: none; color: var(--accent); }
.help-results p { margin: 0; padding: 10px 12px; color: var(--muted); font-size: 14px; }
.help-menu { display: grid; gap: 1px; }
.help-menu h4 { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 18px 0 6px; }
.help-menu a { color: var(--soft); font-size: 15px; padding: 5px 10px; border-left: 2px solid transparent; }
.help-menu a:hover { color: var(--bright); text-decoration: none; background: var(--panel2); }
.help-menu a[aria-current="page"] { color: var(--bright); border-left-color: var(--accent); background: var(--accent-tint); }
.help-menu-btn { display: none; }
.help-main { min-width: 0; max-width: 820px; }
.help-foot { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }

/* A guide */
.help-doc h1 { font-size: clamp(30px, 4vw, 40px); margin-top: 4px; }
.help-doc h2 { font-size: 24px; margin: 40px 0 10px; scroll-margin-top: 90px; }
.help-doc h3 { margin: 26px 0 6px; scroll-margin-top: 90px; }
.help-doc ul, .help-doc ol { padding-left: 22px; margin: 0 0 14px; }
.help-doc li { margin: 4px 0; }
.help-doc code, .help-doc kbd { font: 500 14px/1 var(--mono); background: var(--panel2); border: 1px solid var(--line2); border-radius: 4px; padding: 2px 5px; }
/* Where to click: Section → Tab → Button */
.path { font: 500 13px/1.6 var(--mono); color: var(--soft); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 6px 10px; display: inline-block; letter-spacing: .02em; }
.path b { color: var(--bright); font-weight: 500; }
ol.how { counter-reset: h; list-style: none; padding: 0; }
ol.how > li { counter-increment: h; position: relative; padding: 2px 0 6px 40px; margin: 0 0 8px; }
ol.how > li::before { content: counter(h); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font: 600 13px/1 var(--sans); color: var(--accent-ink); background: var(--accent); }
figure.help-shot { width: fit-content; max-width: 100%; margin: 18px 0 24px; border: 1px solid var(--line2); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
figure.help-shot img { width: auto; max-width: 100%; }
figure.help-shot figcaption { font-size: 13px; color: var(--muted); padding: 9px 14px; border-top: 1px solid var(--line); }
aside.note, aside.tip { border: 1px solid var(--line2); border-left: 3px solid var(--accent); border-radius: var(--radius); background: var(--panel);
  padding: 12px 16px; margin: 16px 0; font-size: 15px; color: var(--soft); }
aside.note p:last-child, aside.tip p:last-child { margin: 0; }
aside.note > b:first-child, aside.tip > b:first-child { color: var(--bright); }
aside.tip { border-left-color: var(--ok); }
.help-doc dl { margin: 0 0 14px; }
.help-doc dt { font-weight: 600; color: var(--bright); margin-top: 12px; }
.help-doc dd { margin: 2px 0 0; color: var(--soft); }
.related { margin-top: 40px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.related h2 { font-size: 15px; margin: 0 0 8px; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.related ul { margin: 0; }

/* Help home */
.help-home .cards { margin-top: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.help-home .card h3 { margin: 0 0 8px; }
.help-home .card ul { list-style: none; padding: 0; margin: 0; }
.help-home .card li { margin: 3px 0; font-size: 15px; }

@media (max-width: 900px) {
  .help { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 20px; }
  .help-side { position: static; max-height: none; overflow: visible; padding: 0; }
  .help-menu-btn { display: block; width: 100%; text-align: left; font: 500 15px var(--sans); color: var(--bright); background: var(--panel);
    border: 1px solid var(--line2); border-radius: var(--radius); padding: 10px 12px; cursor: pointer; }
  .help-menu-btn::after { content: " ▾"; font-size: 11px; }
  .help-menu { display: none; margin-top: 8px; }
  .help-menu.open { display: grid; }
  .help-home .cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) { .help { padding-left: 16px; padding-right: 16px; } }
.help-doc pre { font: 500 14px/1.6 var(--mono); background: var(--panel); border: 1px solid var(--line2); border-radius: var(--radius); padding: 12px 14px;
  overflow-x: auto; margin: 0 0 16px; color: var(--ink); }
.help-doc pre code { background: none; border: 0; padding: 0; }

/* The section's banner: abstract light ribbons, fading into the page on the left and below. */
.help-banner { height: 150px; margin: 0 0 6px; border-radius: var(--radius); overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 35%); mask-image: linear-gradient(to right, transparent, #000 35%); }
.help-banner img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
@media (max-width: 600px) { .help-banner { height: 96px; } }
