.help-static-page,
.help-static-page *,
.help-static-page *::before,
.help-static-page *::after { box-sizing: border-box; }

:root {
  --font: 'Noto Sans SC', 'Inter', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
}

html,
body { min-height: 100%; margin: 0; }

body { font-family: var(--font); }

.help-static-page button,
.help-static-page input { font: inherit; }

.help-static-page img { display: block; max-width: 100%; }

.help-static-page {
  min-height: 100vh;
  background: #f8f9fc;
  color: #1d2133;
}

.help-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e9eaf1;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
}

.help-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(1440px, calc(100% - 64px));
  min-height: 72px;
  margin: 0 auto;
}

.help-header-left,
.help-logo,
.help-back-home,
.help-search { display: flex; align-items: center; }

.help-header-left { gap: 28px; min-width: 0; }
.help-logo { gap: 10px; color: #1d2133; font: 700 17px/1 var(--font); text-decoration: none; white-space: nowrap; }
.help-logo img { display: block; width: 36px; height: 36px; border-radius: 11px; object-fit: cover; }
.help-back-home { gap: 6px; height: 22px; color: #667085; font: 14px/1 var(--font); text-decoration: none; white-space: nowrap; }
.help-back-home span { display: inline-flex; align-items: center; justify-content: center; width: 8px; height: 18px; font: 600 24px/1 Arial, sans-serif; transform: translateY(-1px); }
.help-back-home:hover { color: #5546d8; }

.help-search {
  flex: 0 1 388px;
  width: 100%;
  height: 42px;
  box-sizing: border-box;
  padding-left: 14px;
  border: 1px solid #dfe2eb;
  border-radius: 8px;
  background: #fff;
}

.help-search:focus-within { border-color: #6c5ce7; box-shadow: 0 0 0 3px rgba(108, 92, 231, .12); }
.search-icon { flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: #98a2b3; stroke-linecap: round; stroke-width: 2; }
.help-search input { min-width: 0; flex: 1; height: 100%; padding: 0 11px; border: 0; outline: 0; background: transparent; color: #1d2133; font: 14px var(--font); }
.help-search input::placeholder { color: #a5adbd; }
.help-search button { flex: 0 0 auto; height: 30px; margin-right: 5px; padding: 0 17px; border: 0; border-radius: 6px; background: #6c5ce7; color: #fff; font: 600 13px var(--font); white-space: nowrap; cursor: pointer; }
.help-search button:hover { background: #5848d1; }

.help-page {
  height: calc(100vh - 73px);
  min-height: 0;
  overflow: hidden;
}
.help-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 820px) minmax(0, 220px);
  width: min(1440px, calc(100% - 64px));
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  background: #fff;
  border-right: 1px solid #edf0f5;
  border-left: 1px solid #edf0f5;
  overflow: hidden;
}

.help-directory {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  box-sizing: border-box;
  padding: 31px 16px 40px;
  border-right: 1px solid #eceef4;
  background: #fafbfe;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.directory-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 0 25px; color: #31364a; font-size: 14px; }
.directory-heading strong { font-weight: 700; }
.help-directory-close { display: none; border: 0; background: transparent; color: #7d8596; font-size: 22px; cursor: pointer; }
.directory-group { margin-bottom: 21px; }
.directory-group-title { display: flex; align-items: center; gap: 7px; width: 100%; min-height: 28px; padding: 0 9px 9px; border: 0; background: transparent; color: #4b5266; font: 700 13px var(--font); line-height: 1.35; text-align: left; cursor: pointer; }
.directory-chevron { display: inline-flex; flex: 0 0 12px; align-items: center; justify-content: center; width: 12px; height: 19px; color: transparent; font-size: 0; }
.directory-chevron::before { width: 5px; height: 5px; border-right: 1.5px solid #9aa2b3; border-bottom: 1.5px solid #9aa2b3; content: ''; transform: rotate(45deg) translate(-1px, -1px); transition: transform .15s ease; }
.directory-group.is-collapsed .directory-chevron::before { transform: rotate(-45deg) translate(-1px, 1px); }
.directory-group.is-collapsed .directory-links { display: none; }
.directory-links { display: grid; gap: 3px; }
.directory-link { display: block; padding: 7px 10px 7px 25px; border-radius: 6px; color: #6c7487; font: 12px/1.45 var(--font); text-decoration: none; }
.directory-link:hover { background: #f0edff; color: #5b4bd4; }
.directory-link[aria-current='page'] { background: #ede9fe; color: #5b4bd4; font-weight: 700; }

.help-mobile-toolbar { display: none; }
.help-main { grid-column: 2; grid-row: 1; min-width: 0; min-height: 0; box-sizing: border-box; padding: 0 48px 70px; background: #fff; overflow-y: auto; overscroll-behavior: contain; }
.article-layout { display: block; min-width: 0; }
.article-layout > article { min-width: 0; }
.article-header { padding: 43px 0 29px; border-bottom: 1px solid #eceef4; }
.content-kicker { margin-bottom: 16px; color: #8a91a3; font-size: 13px; line-height: 1.5; }
.help-main h1 { margin: 0; color: #202437; font: 700 30px/1.3 var(--font); letter-spacing: -.4px; }
.help-main h2 { margin: 34px 0 11px; color: #282d41; font: 700 20px/1.35 var(--font); }
.help-main p { color: #586176; font-size: 14px; line-height: 1.8; }
.article-summary { margin: 13px 0 0; color: #596176 !important; font-size: 14px !important; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 17px; color: #9299a9; font-size: 12px; }
.article-body { width: 100%; padding-top: 27px; }
.article-body p { margin: 11px 0; }
.article-body ul { margin: 11px 0 20px; padding-left: 22px; color: #586176; font: 14px/1.8 var(--font); }
.article-body li::marker { color: #6c5ce7; }
.article-body pre { overflow: auto; margin: 18px 0 8px; padding: 17px 18px; border-radius: 8px; background: #25263a; color: #e9eaff; box-shadow: inset 0 1px rgba(255,255,255,.04); font: 12px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; }
.article-markdown { color: #586176; font-size: 14px; line-height: 1.8; }
.article-markdown h1,
.article-markdown h2,
.article-markdown h3 { color: #282d41; line-height: 1.35; }
.article-markdown h1 { margin: 0 0 14px; font-size: 24px; }
.article-markdown h2 { margin: 34px 0 11px; padding-bottom: 7px; border-bottom: 1px solid #eceef4; font-size: 20px; }
.article-markdown h3 { margin: 28px 0 10px; font-size: 18px; }
.article-markdown p { margin: 11px 0; color: inherit; font-size: inherit; line-height: inherit; }
.article-markdown ul,
.article-markdown ol { margin: 11px 0 20px; padding-left: 22px; color: inherit; font: 14px/1.8 var(--font); }
.article-markdown li::marker { color: #6c5ce7; }
.article-markdown blockquote { margin: 10px 0; padding: 9px 16px; border-left: 3px solid #6c5ce7; background: #f0edff; color: #7e8495; font-size: 14px; line-height: 1.7; }
.article-markdown hr { margin: 22px 0; border: 0; border-top: 1px solid #eceef4; }
.article-markdown table { width: 100%; margin: 10px 0 14px; border-collapse: collapse; font-size: 13px; }
.article-markdown th,
.article-markdown td { padding: 8px 10px; border: 1px solid #eceef4; text-align: left; }
.article-markdown th { background: #f7f8fa; color: #282d41; font-weight: 700; }
.article-markdown code { padding: 2px 4px; border-radius: 4px; background: #f2f3f5; color: #5b4bd4; font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.article-markdown pre { overflow: auto; margin: 18px 0 8px; padding: 17px 18px; border-radius: 8px; background: #25263a; color: #e9eaff; font: 12px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; }
.article-markdown pre code { padding: 0; background: transparent; color: inherit; }
.article-markdown img { display: block; max-width: 100%; height: auto; margin: 12px auto; border: 1px solid #eceef4; border-radius: 8px; }
.article-markdown a { color: #5b4bd4; }
.related-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #eceef4; }
.related-nav a { max-width: 48%; color: #5b4bd4; font-size: 13px; text-decoration: none; }
.related-nav a:hover { text-decoration: underline; }
.related-nav small { display: block; margin-bottom: 6px; color: #969dad; font-size: 12px; }

.article-outline { grid-column: 3; grid-row: 1; align-self: stretch; min-height: 0; box-sizing: border-box; padding: 43px 20px; border-left: 1px solid #eceef4; background: #fff; overflow-y: auto; overscroll-behavior: contain; }
.outline-title { margin-bottom: 15px; color: #3b4154; font-size: 13px; font-weight: 700; }
.outline-link { display: block; padding: 7px 0; color: #81899a; font-size: 12px; line-height: 1.55; text-decoration: none; }
.outline-link:hover { color: #5b4bd4; }

.empty-state { max-width: 520px; margin: 76px auto; padding: 42px 24px; border: 1px dashed #dfe2eb; border-radius: 12px; background: #fbfbfe; text-align: center; }
.empty-state .empty-icon { display: grid; width: 48px; height: 48px; place-items: center; margin: 0 auto 17px; border-radius: 50%; background: #f0edff; color: #6c5ce7; font-size: 24px; }
.empty-state h2 { margin: 0; font-size: 21px; }
.empty-state p { margin: 10px 0 20px; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; padding: 9px 16px; border: 1px solid #6c5ce7; border-radius: 7px; background: #6c5ce7; color: #fff; font: 600 13px var(--font); text-decoration: none; }
.search-header { margin: 43px 0 24px; }
.search-header h1 { font-size: 32px; }
.search-results { display: grid; border-top: 1px solid #eceef4; }
.search-result { display: block; padding: 22px 0; border-bottom: 1px solid #eceef4; color: inherit; text-decoration: none; }
.search-result h2 { margin: 0; font-size: 19px; }
.search-result p { margin: 8px 0; }
.search-result-meta { display: flex; gap: 15px; color: #8e95a5; font-size: 12px; }
.search-result:hover h2 { color: #5b4bd4; }

@media (max-width: 1160px) {
  .help-layout { grid-template-columns: 236px minmax(0, 1fr) minmax(0, 190px); }
  .help-main { padding-right: 36px; padding-left: 36px; }
}

@media (max-width: 900px) {
  .help-header-inner, .help-layout { width: min(100% - 40px, 780px); }
  .help-layout { grid-template-columns: 218px minmax(0, 1fr); }
  .help-main { grid-column: 2; }
  .article-outline { display: none; }
}

@media (max-width: 720px) {
  .help-header-inner { align-items: flex-start; flex-wrap: wrap; gap: 13px; width: calc(100% - 32px); min-height: 0; padding: 12px 0; }
  .help-header-left { justify-content: space-between; width: 100%; gap: 12px; }
  .help-logo { gap: 8px; font-size: 15px; }
  .help-logo img { width: 32px; height: 32px; border-radius: 10px; }
  .help-back-home { font-size: 13px; }
  .help-search { flex-basis: 100%; height: 40px; }
  .help-page { height: auto; min-height: calc(100vh - 117px); overflow: visible; }
  .help-layout { display: block; width: 100%; height: auto; min-height: calc(100vh - 117px); border: 0; overflow: visible; }
  .help-mobile-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 20px; border-bottom: 1px solid #eceef4; color: #7e8798; font-size: 12px; }
  .outline-button { padding: 5px 10px; border: 1px solid #daddea; border-radius: 5px; background: #fff; color: #535a6c; font: 12px var(--font); }
  .help-directory { grid-column: auto; grid-row: auto; position: fixed; inset: 117px auto 0 0; z-index: 1100; width: min(290px, 86vw); padding: 20px; border-right: 1px solid #e6e8ef; background: #fafbfe; box-shadow: 10px 0 30px rgba(23, 26, 43, .12); transform: translateX(-105%); transition: transform .2s ease; overflow: auto; }
  .help-static-page[data-help-drawer-open='true']::after { position: fixed; inset: 117px 0 0; z-index: 1090; background: rgba(15, 23, 42, .18); content: ''; }
  .help-static-page[data-help-drawer-open='true'] .help-directory { transform: translateX(0); }
  .help-directory-close { display: block; }
  .help-main { grid-column: auto; grid-row: auto; height: auto; min-height: 0; padding: 0 22px 55px; overflow: visible; }
  .article-header { padding-top: 30px; }
  .article-header h1 { font-size: 29px; }
  .help-main h2 { margin-top: 31px; font-size: 20px; }
  .help-main p, .article-body ul { font-size: 14px; }
  .article-outline { grid-column: auto; grid-row: auto; display: block; height: auto; margin-top: 35px; padding: 22px 0 0; border-top: 1px solid #eceef4; border-left: 0; overflow: visible; }
  .related-nav { display: block; }
  .related-nav a { display: block; max-width: none; margin-bottom: 15px; }
  .search-header { margin-top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .directory-chevron, .help-directory { transition: none; }
}
