:root {
  color: #475569;
  background: #fafaf9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.help-document-body {
  min-width: 320px;
  margin: 0;
  background: #fafaf9;
  color: #475569;
  font-size: 14px;
  line-height: 1.5;
}

button,
input { font: inherit; }

a { color: inherit; text-decoration: none; }

svg { display: block; }

.help-container {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.help-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.help-skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: #1d4ed8;
  padding: 8px 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.help-skip-link:focus { transform: translateY(0); }

.help-site-header {
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
}

.help-site-header__inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 28px;
}

.help-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  color: #475569;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.01em;
}

.help-brand__icon {
  width: 25px;
  height: 25px;
  color: #3b82f6;
}

.help-site-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 28px;
}

.help-site-nav a {
  border-radius: 6px;
  padding: 6px 0;
  color: #64748b;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 150ms ease;
}

.help-site-nav a[aria-current="page"] { color: #2563eb; }

.help-site-actions {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 12px;
}

.help-site-actions a {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
  color: #64748b;
  transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.help-site-actions a:first-child { background: #eff6ff; }

.help-site-actions svg { width: 24px; height: 24px; }

.help-page { min-height: calc(100vh - 82px); }

.help-shell { padding-top: 54px; padding-bottom: 64px; }

.help-hero { text-align: center; }

.help-hero__eyebrow,
.help-section-eyebrow {
  margin: 0;
  color: #2563eb;
  font-size: 13px;
  font-weight: 600;
}

.help-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.help-hero__eyebrow svg { width: 20px; height: 20px; }

.help-hero h1 {
  margin: 18px 0 0;
  color: #0f172a;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.3;
}

.help-hero__intro {
  max-width: 740px;
  margin: 14px auto 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.75;
}

.help-search {
  position: relative;
  max-width: 910px;
  margin: 34px auto 0;
}

.help-search__icon {
  pointer-events: none;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 23px;
  width: 25px;
  height: 25px;
  transform: translateY(-50%);
  color: #94a3b8;
}

.help-search input {
  display: block;
  width: 100%;
  min-height: 76px;
  appearance: none;
  border: 1px solid #e7e5e4;
  border-radius: 17px;
  outline: none;
  background: #fff;
  box-shadow: 0 2px 4px rgba(15, 23, 42, .12);
  padding: 18px 24px 18px 72px;
  color: #1e293b;
  font-size: 18px;
  line-height: 1.5;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.help-search input::placeholder { color: #94a3b8; opacity: 1; }

.help-search input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(191, 219, 254, .7), 0 2px 4px rgba(15, 23, 42, .12);
}

.help-context {
  margin-top: 48px;
  border-top: 1px solid #e7e5e4;
  border-bottom: 1px solid #e7e5e4;
  padding: 28px 0;
}

.help-context__heading,
.help-popular__heading,
.help-directory__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.help-context h2,
.help-popular h2,
.help-directory h2 {
  margin: 7px 0 0;
  color: #0f172a;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.35;
}

.help-context__heading > a {
  border-radius: 7px;
  padding: 6px 0;
  color: #2563eb;
  font-size: 14px;
  font-weight: 600;
}

.help-context__articles {
  display: grid;
  margin: 17px 0 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  list-style: none;
}

.help-context__articles a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 8px;
  color: #475569;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.help-context__articles svg,
.help-document-list > li > a > svg,
.help-related svg { width: 20px; height: 20px; flex: 0 0 auto; color: #cbd5e1; }

.help-popular { margin-top: 48px; }

.help-popular__heading > span,
.help-directory__heading p {
  margin: 0;
  color: #94a3b8;
  font-size: 12px;
}

.help-popular-list {
  display: grid;
  margin: 16px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e7e5e4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
}

.help-popular-list li { border-bottom: 1px solid #f1f5f9; }
.help-popular-list li:nth-child(odd) { border-right: 1px solid #f1f5f9; }
.help-popular-list li:nth-last-child(-n + 2) { border-bottom: 0; }

.help-popular-list a {
  display: flex;
  min-height: 104px;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  transition: background-color 150ms ease, transform 150ms ease;
}

.help-popular-list__number {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: #f5f5f4;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.help-popular-list__content { min-width: 0; flex: 1; }
.help-popular-list__content > span { display: block; color: #334155; font-size: 16px; font-weight: 650; line-height: 1.45; }
.help-popular-list__content small { display: block; margin-top: 5px; color: #94a3b8; font-size: 13px; line-height: 1.5; }
.help-popular-list svg { width: 22px; height: 22px; flex: 0 0 auto; color: #cbd5e1; }

.help-directory { margin-top: 52px; }

.help-directory__heading {
  min-height: 54px;
  border-bottom: 1px solid #e7e5e4;
  padding-bottom: 16px;
}

.help-directory__heading h2 { margin: 0; }
.help-directory__heading p { margin-top: 5px; }

.help-directory__layout {
  display: grid;
  margin-top: 20px;
  gap: 32px;
  grid-template-columns: 210px minmax(0, 1fr);
}

.help-category-sidebar nav,
.help-article-sidebar nav,
.help-mobile-categories nav,
.help-mobile-article-categories nav { display: grid; gap: 4px; }

.help-category-sidebar a,
.help-article-sidebar a,
.help-mobile-categories a,
.help-mobile-article-categories a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 10px;
  padding: 8px 14px;
  color: #475569;
  font-size: 14px;
  line-height: 1.35;
  transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.help-category-sidebar a small,
.help-article-sidebar a small,
.help-mobile-categories a small,
.help-mobile-article-categories a small { color: #94a3b8; font-size: 12px; }

.help-category-sidebar a.is-active,
.help-article-sidebar a.is-active,
.help-mobile-categories a.is-active,
.help-mobile-article-categories a.is-active {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 650;
}

.help-document-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid #e7e5e4;
  border-bottom: 1px solid #e7e5e4;
  background: #fff;
  list-style: none;
}

.help-document-list li + li { border-top: 1px solid #e7e5e4; }

.help-document-list > li > a {
  display: flex;
  min-height: 108px;
  align-items: center;
  gap: 18px;
  padding: 18px 18px;
  transition: background-color 150ms ease, transform 150ms ease;
}

.help-document-list__content { min-width: 0; flex: 1; }
.help-document-list__title { color: #334155; font-size: 16px; font-weight: 650; line-height: 1.45; }
.help-document-list__category { margin-left: 8px; color: #94a3b8; font-size: 12px; }
.help-document-list__summary,
.help-document-list__meta { display: block; }
.help-document-list__summary { margin-top: 7px; color: #64748b; font-size: 13px; line-height: 1.55; }
.help-document-list__meta { margin-top: 7px; color: #94a3b8; font-size: 11px; }

.help-mobile-categories,
.help-mobile-article-categories,
.help-mobile-toc { display: none; }

.help-empty-state {
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #fff;
  padding: 48px 24px;
  text-align: center;
}

.help-empty-state > svg { width: 38px; height: 38px; margin: auto; color: #94a3b8; }
.help-empty-state h3 { margin: 17px 0 0; color: #334155; font-size: 16px; }
.help-empty-state p { margin: 8px 0 0; color: #64748b; font-size: 13px; }
.help-empty-state a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin-top: 18px;
  border-radius: 8px;
  background: #2563eb;
  padding: 0 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.help-back-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  padding: 0 8px;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.help-back-link svg { width: 19px; height: 19px; }
.help-article-layout { display: grid; margin-top: 12px; gap: 32px; grid-template-columns: 170px minmax(0, 760px); }

.help-article-sidebar { padding-top: 3px; }
.help-article-sidebar > p,
.help-toc > p { margin: 0 0 12px; color: #94a3b8; font-size: 12px; font-weight: 650; letter-spacing: .1em; }
.help-article-sidebar a { min-height: 40px; padding-inline: 12px; }

.help-article {
  min-width: 0;
  border: 1px solid #e7e5e4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
  padding: 34px 40px 48px;
}

.help-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: #94a3b8; font-size: 12px; }
.help-breadcrumb a { border-radius: 4px; }
.help-breadcrumb svg { width: 16px; height: 16px; }

.help-article__header { margin-top: 20px; border-bottom: 1px solid #e7e5e4; padding-bottom: 25px; }
.help-article__header h1 { margin: 0; color: #020617; font-size: 32px; font-weight: 700; letter-spacing: -.035em; line-height: 1.35; }
.help-article__summary { margin: 14px 0 0; color: #64748b; font-size: 16px; line-height: 1.7; }

.help-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 19px; color: #94a3b8; font-size: 12px; }
.help-copy-link { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 6px; background: transparent; padding: 0; color: #2563eb; font-size: inherit; font-weight: 600; cursor: pointer; }
.help-article__meta svg { width: 18px; height: 18px; }

.help-article__body { color: #475569; font-size: 15px; line-height: 1.78; }
.help-article__body p { margin: 17px 0; }
.help-article__body h2 { margin: 42px 0 13px; scroll-margin-top: 22px; color: #0f172a; font-size: 22px; font-weight: 700; letter-spacing: -.025em; line-height: 1.45; }
.help-article__body h3 { margin: 30px 0 10px; scroll-margin-top: 22px; color: #1e293b; font-size: 17px; font-weight: 700; line-height: 1.5; }
.help-article__body strong { color: #334155; font-weight: 700; }
.help-article__body a { color: #2563eb; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.help-article__body ul,
.help-article__body ol { margin: 18px 0; padding-left: 25px; }
.help-article__body li { margin: 7px 0; }
.help-article__body ul { list-style: disc; }
.help-article__body ol { list-style: decimal; }
.help-article__body blockquote { margin: 24px 0; border-radius: 14px; background: #eff6ff; padding: 16px 19px; color: #1e40af; font-size: 14px; }
.help-article__body blockquote p:first-child { margin-top: 0; }
.help-article__body blockquote p:last-child { margin-bottom: 0; }
.help-article__body img { display: block; width: 100%; max-width: 100%; height: auto; margin: 20px 0; border: 1px solid #e7e5e4; border-radius: 14px; background: #f5f5f4; box-shadow: 0 1px 2px rgba(15, 23, 42, .08); }

.help-mobile-toc { margin-top: 22px; }

.help-action-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  border-radius: 14px;
  background: #eff6ff;
  padding: 21px 22px;
}

.help-action-card h2,
.help-related h2 { margin: 0; color: #0f172a; font-size: 16px; font-weight: 700; }
.help-action-card h2 { color: #172554; }
.help-action-card p { margin: 6px 0 0; color: #1e40af; font-size: 13px; line-height: 1.55; }
.help-action-card > a {
  display: inline-flex;
  min-height: 40px;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  border-radius: 8px;
  background: #2563eb;
  padding: 0 15px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 150ms ease, transform 150ms ease;
}
.help-action-card svg { width: 17px; height: 17px; }

.help-related { margin-top: 34px; }
.help-related ul { margin: 13px 0 0; padding: 0; border-top: 1px solid #e7e5e4; border-bottom: 1px solid #e7e5e4; list-style: none; }
.help-related li + li { border-top: 1px solid #e7e5e4; }
.help-related li a { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 14px; color: #475569; font-size: 14px; font-weight: 600; transition: color 150ms ease, background-color 150ms ease, transform 150ms ease; }

.help-prev-next { display: grid; margin-top: 34px; gap: 16px; border-top: 1px solid #e7e5e4; padding-top: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.help-prev-next a { border-radius: 7px; padding: 8px 4px; transition: color 150ms ease, background-color 150ms ease, transform 150ms ease; }
.help-prev-next a:last-child { text-align: right; }
.help-prev-next span { display: block; color: #94a3b8; font-size: 11px; }
.help-prev-next strong { display: block; margin-top: 5px; color: #475569; font-size: 13px; line-height: 1.5; }

.help-toc-wrap { display: none; }
.help-toc { position: sticky; top: 24px; }
.help-toc a { display: block; border-radius: 6px; padding: 7px 0; color: #64748b; font-size: 12px; line-height: 1.4; transition: color 150ms ease, background-color 150ms ease; }
.help-toc a.is-subheading { padding-left: 12px; }

.help-site-footer { border-top: 1px solid #e7e5e4; background: #fff; padding: 24px 0; }
.help-site-footer p { margin: 0; color: #94a3b8; font-size: 12px; }

.help-not-found { max-width: 560px; margin: 72px auto; border: 1px solid #e7e5e4; border-radius: 16px; background: #fff; padding: 48px 28px; text-align: center; box-shadow: 0 1px 2px rgba(15, 23, 42, .06); }

:focus-visible { outline: 2px solid #60a5fa; outline-offset: 3px; }

@media (hover: hover) {
  .help-site-nav a:hover,
  .help-context__heading > a:hover,
  .help-context__articles a:hover,
  .help-back-link:hover,
  .help-copy-link:hover,
  .help-toc a:hover { color: #2563eb; }
  .help-site-actions a:hover { background: #eff6ff; color: #2563eb; }
  .help-context__articles a:hover,
  .help-category-sidebar a:hover,
  .help-article-sidebar a:hover,
  .help-mobile-categories a:hover,
  .help-mobile-article-categories a:hover,
  .help-document-list > li > a:hover,
  .help-related li a:hover { background: #fafaf9; }
  .help-popular-list a:hover { background: rgba(239, 246, 255, .7); }
  .help-popular-list a:hover .help-popular-list__number { background: #dbeafe; color: #1d4ed8; }
  .help-popular-list a:hover .help-popular-list__content > span,
  .help-document-list > li > a:hover .help-document-list__title,
  .help-related li a:hover { color: #1d4ed8; }
  .help-action-card > a:hover,
  .help-empty-state a:hover { background: #1d4ed8; }
}

@media (min-width: 1280px) {
  .help-article-layout { grid-template-columns: 170px minmax(0, 760px) 170px; }
  .help-toc-wrap { display: block; }
}

@media (max-width: 1023px) {
  .help-article-layout { max-width: 760px; margin-inline: auto; grid-template-columns: minmax(0, 1fr); }
  .help-article-sidebar { display: none; }
  .help-mobile-article-categories { display: block; margin-bottom: 22px; border-radius: 11px; background: #fafaf9; padding: 11px 14px; }
  .help-mobile-article-categories summary,
  .help-mobile-categories summary,
  .help-mobile-toc summary { cursor: pointer; color: #475569; font-size: 13px; font-weight: 600; }
  .help-mobile-article-categories nav { margin-top: 11px; border-top: 1px solid #e7e5e4; padding-top: 8px; }
}

@media (max-width: 767px) {
  .help-container { width: min(100% - 32px, 1180px); }
  .help-site-header__inner { min-height: 64px; gap: 16px; }
  .help-brand { font-size: 16px; }
  .help-brand__icon { width: 22px; height: 22px; }
  .help-site-nav { gap: 16px; overflow-x: auto; }
  .help-site-nav a { font-size: 14px; }
  .help-site-actions { display: none; }
  .help-shell { padding-top: 37px; padding-bottom: 46px; }
  .help-hero h1 { margin-top: 14px; font-size: 29px; }
  .help-hero__intro { font-size: 14px; }
  .help-search { margin-top: 25px; }
  .help-search input { min-height: 60px; border-radius: 14px; padding-left: 57px; font-size: 15px; }
  .help-search__icon { left: 18px; width: 22px; height: 22px; }
  .help-context,
  .help-popular { margin-top: 35px; }
  .help-context { padding: 21px 0; }
  .help-context__heading,
  .help-popular__heading,
  .help-directory__heading { align-items: start; }
  .help-context h2,
  .help-popular h2,
  .help-directory h2 { font-size: 19px; }
  .help-context__articles { grid-template-columns: 1fr; column-gap: 0; }
  .help-context__articles a { min-height: 50px; font-size: 14px; }
  .help-popular-list { grid-template-columns: 1fr; }
  .help-popular-list li,
  .help-popular-list li:nth-child(odd) { border-right: 0; border-bottom: 1px solid #f1f5f9; }
  .help-popular-list li:last-child { border-bottom: 0; }
  .help-popular-list a { min-height: 84px; padding: 13px 15px; }
  .help-popular-list__content > span { font-size: 14px; }
  .help-popular-list__content small { font-size: 12px; }
  .help-directory { margin-top: 40px; }
  .help-category-sidebar { display: none; }
  .help-mobile-categories { display: block; min-width: 110px; border: 1px solid #e7e5e4; border-radius: 9px; background: #fff; padding: 8px 11px; }
  .help-mobile-categories nav { margin-top: 10px; border-top: 1px solid #e7e5e4; padding-top: 8px; }
  .help-mobile-categories a { min-height: 36px; padding: 6px 5px; font-size: 13px; }
  .help-directory__layout { margin-top: 16px; grid-template-columns: 1fr; }
  .help-document-list > li > a { min-height: 92px; padding: 14px 12px; }
  .help-document-list__title { font-size: 14px; }
  .help-document-list__summary { font-size: 12px; }
  .help-document-list__meta { display: none; }
  .help-back-link { margin-left: -8px; font-size: 13px; }
  .help-article-layout { margin-top: 5px; }
  .help-article { border-radius: 14px; padding: 24px 20px 34px; }
  .help-article__header { margin-top: 16px; padding-bottom: 21px; }
  .help-article__header h1 { font-size: 27px; }
  .help-article__summary { font-size: 14px; }
  .help-article__meta { gap: 7px 13px; font-size: 11px; }
  .help-mobile-toc { display: block; border-radius: 12px; background: #fafaf9; padding: 13px 15px; }
  .help-mobile-toc nav { margin-top: 10px; border-top: 1px solid #e7e5e4; padding-top: 8px; }
  .help-mobile-toc a { display: block; border-radius: 5px; padding: 6px 0; color: #64748b; font-size: 12px; }
  .help-mobile-toc a.is-subheading { padding-left: 12px; }
  .help-article__body { font-size: 14px; }
  .help-article__body h2 { margin-top: 34px; font-size: 20px; }
  .help-article__body h3 { font-size: 16px; }
  .help-action-card { display: block; margin-top: 34px; padding: 18px; }
  .help-action-card > a { margin-top: 16px; }
  .help-prev-next { grid-template-columns: 1fr; }
  .help-prev-next a:last-child { text-align: left; }
}

@media (max-width: 420px) {
  .help-site-header__inner { gap: 11px; }
  .help-site-nav { gap: 12px; }
  .help-site-nav a { font-size: 13px; }
  .help-brand { gap: 6px; font-size: 15px; }
  .help-hero h1 { font-size: 26px; }
  .help-context__heading > a { font-size: 12px; }
  .help-popular__heading > span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
