.help-center {
  color-scheme: light;
  --canvas: #f5f7fb;
  --surface: #fff;
  --surface-soft: #f0f4fa;
  --ink: #172033;
  --muted: #55627a;
  --muted-soft: #55627a;
  --line: #d9e0ec;
  --line-strong: #b8c5d9;
  --accent: #2b5cff;
  --warning: #855300;
  --max-width: 980px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.help-header {
  color-scheme: dark;
  background: #111214;
  color: #f4f4f5;
  padding-bottom: 30px;
}
.help-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; }
.help-home { color: #c3c3c8; font-size: .875rem; font-weight: 700; text-decoration: none; }
.help-home:hover { color: #f4f4f5; text-decoration: underline; }
.help-home span { margin-inline-start: 4px; }

.faq-search:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  border: 1px solid #393a3f;
  border-radius: 12px;
  background: #252629;
}
.faq-search:focus-within { border-color: #c3c3c8; outline: 1px solid #c3c3c8; }
.faq-search svg { flex: none; }
.faq-search input {
  width: 100%;
  min-width: 0;
  min-height: 57px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}
.faq-search input::placeholder { color: #c3c3c8; }
.faq-search button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #5a5b63;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
}
.faq-search button:hover { background: #393a3f; }

.help-main { flex: 1; padding-block: 46px 72px; }
.help-intro { margin-bottom: 26px; }
.help-intro .eyebrow { margin-bottom: 8px; }
.help-intro h1, .article-heading h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
.help-intro > p:last-child, .article-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.faq-category, #faq-results {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.faq-category { scroll-margin-top: 20px; }
.faq-category + .faq-category { margin-top: 16px; }
.collection-heading { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.collection-heading h2 { font-size: 1.25rem; }
.collection-heading p { margin: 4px 0 0; color: var(--muted); font-size: .875rem; }
.faq-list { margin: 0; padding: 0; list-style: none; }
.faq-list li + li { border-top: 1px solid var(--line); }
.faq-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 16px;
  min-height: 48px;
  padding: 10px 22px;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
}
.faq-list a:hover { background: var(--surface-soft); }
.faq-list a:focus-visible { outline-offset: -3px; }
.faq-chevron { grid-column: 2; grid-row: 1; color: var(--muted); font-size: 1.4rem; line-height: 1; }
.faq-snippet { grid-column: 1; color: var(--muted); font-size: .875rem; font-weight: 400; }
.faq-snippet mark { border-radius: 3px; background: #eaf1ff; color: var(--ink); font-weight: 800; }
.faq-status { margin: 0 0 12px; color: var(--muted); overflow-wrap: anywhere; }
.faq-status:empty { margin: 0; }

.faq-breadcrumbs { margin-bottom: 28px; color: var(--muted); font-size: .875rem; }
.faq-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 0; list-style: none; }
.faq-breadcrumbs li + li::before { content: "›"; margin-inline-end: 10px; }
.faq-breadcrumbs a { color: var(--ink); }

.help-article {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(0, 1fr);
  grid-template-areas: "title contents" "body contents";
  column-gap: clamp(24px, 5vw, 60px);
  align-items: start;
}
.article-heading { grid-area: title; }
.article-body { grid-area: body; min-width: 0; margin-top: 28px; }
.article-body :is(h2, h3)[id] { scroll-margin-top: 24px; }
.article-body :is(h2, h3):target { color: var(--accent); }
.article-contents {
  grid-area: contents;
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 3px 4px 3px 15px;
  border-left: 1px solid var(--line-strong);
}
.article-contents h2 { margin: 0 0 8px; font-size: .85rem; letter-spacing: 0; }
.article-contents ul { margin: 0; padding: 0; list-style: none; }
.article-contents a { display: block; padding-block: 6px; color: var(--muted); font-size: .85rem; line-height: 1.45; text-decoration: none; }
.article-contents .subsection { margin-inline-start: 12px; }
.article-contents a:hover, .article-contents [aria-current="location"] { color: var(--accent); text-decoration: underline; }

@media (min-width: 761px) {
  .help-article:has(.article-contents:not([hidden])) { grid-template-columns: minmax(0, 1fr) 205px; }
}

@media (max-width: 760px) {
  .help-top { min-height: 64px; }
  .help-header { padding-bottom: 20px; }
  .help-main { padding-block: 30px 52px; }
  .collection-heading, .faq-list a { padding-inline: 16px; }
  .help-article { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "contents" "body"; }
  .article-contents { position: static; max-height: none; margin-top: 20px; }
  .faq-breadcrumbs { margin-bottom: 20px; }
}
