:root {
  --help-deep: #103f55;
  --help-deeper: #0b2d3d;
  --help-teal: #178b8a;
  --help-orange: #f0642f;
  --help-ink: #18394d;
  --help-muted: #647b8b;
  --help-line: #dce6eb;
  --help-bg: #f4f7f8;
}

* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; background: var(--help-bg); color: var(--help-ink); font: 14px/1.7 Arial, "Microsoft YaHei", sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.help-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.help-topbar { position: relative; z-index: 20; min-height: 54px; background: #202326; color: #dce2e5; }
.help-topbar-inner { position: relative; display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 20px; }
.account, .help-utility { display: flex; align-items: center; gap: 16px; }
.account a, .account b, .help-utility em { color: #ff7a49; font-style: normal; }
.account button { min-height: 32px; padding: 0 14px; border: 0; background: #5c666d; color: #fff; }
.help-utility { position: relative; }
.help-utility > a, .utility-trigger { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; padding: 0 4px; border: 0; background: transparent; color: #fff; }
.help-utility > a.active { color: #69d0c9; }
.utility-panel { display: none; position: absolute; z-index: 100; top: calc(100% + 9px); right: 96px; width: 270px; padding: 18px; border: 1px solid var(--help-line); background: #fff; color: var(--help-muted); box-shadow: 0 12px 30px rgba(9, 42, 58, .18); }
.utility-panel.show { display: block; }
.utility-panel strong { color: var(--help-ink); }
.utility-panel p { margin: 12px 0; padding: 10px 0; border-block: 1px solid #edf1f3; }
.utility-panel a { display: block; min-height: 38px; padding: 7px 12px; background: var(--help-orange); color: #fff; text-align: center; }

.help-header { position: relative; z-index: 10; background: #fff; border-bottom: 1px solid var(--help-line); }
.help-header-inner { display: flex; min-height: 80px; align-items: stretch; }
.help-logo { display: flex; width: 220px; flex: 0 0 220px; align-items: center; gap: 11px; padding: 0 16px; border-inline: 1px solid var(--help-line); }
.help-logo > span:first-child { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 6px 2px 6px 2px; background: var(--help-orange); color: #fff; font-size: 22px; font-weight: 800; }
.help-logo > span:last-child { display: flex; flex-direction: column; line-height: 1.15; }
.help-logo strong { font-size: 21px; }
.help-logo small { margin-top: 5px; color: #8a979f; font-size: 11px; }
.help-main-nav { display: flex; flex: 1; align-items: stretch; }
.help-main-nav a { display: flex; min-width: 92px; flex: 1; align-items: center; justify-content: center; padding: 0 10px; color: #496273; font-weight: 700; white-space: nowrap; }
.help-main-nav a:hover { background: #eff6f6; color: var(--help-teal); }

.help-hero { background: var(--help-deep); color: #fff; }
.help-hero-inner { display: grid; min-height: 330px; grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; align-items: center; }
.help-hero-copy > p, .section-heading p, .faq-heading p, .support-band p { margin: 0; color: #6dd3cc; font-size: 12px; font-weight: 800; }
.help-hero h1 { margin: 4px 0 5px; font-size: 42px; line-height: 1.25; }
.help-hero-copy > span { display: block; color: #d9e9ee; font-size: 16px; }
.help-search { position: relative; display: grid; max-width: 700px; height: 56px; grid-template-columns: minmax(0, 1fr) 112px; margin-top: 25px; background: #fff; }
.help-search input { min-width: 0; padding: 0 46px 0 18px; border: 0; outline: 0; color: var(--help-ink); }
.help-search input:focus { box-shadow: inset 0 0 0 2px #65c9c2; }
.search-submit { border: 0; background: var(--help-orange); color: #fff; font-weight: 800; }
.search-submit:hover { background: #dc5122; }
.search-clear { position: absolute; top: 10px; right: 122px; width: 36px; height: 36px; border: 0; background: transparent; color: #78909e; font-size: 24px; }
.popular-searches { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 13px; color: #c6dce3; }
.popular-searches button { padding: 2px 4px; border: 0; border-bottom: 1px solid #7abbb9; background: transparent; color: #fff; }
.help-hero-status { border-left: 1px solid rgba(255, 255, 255, .22); }
.help-hero-status > p { margin: 0; padding: 0 0 10px 24px; color: #8edbd6; font-size: 12px; font-weight: 800; }
.help-hero-status a, .help-hero-status button { display: flex; width: 100%; min-height: 72px; flex-direction: column; justify-content: center; padding: 10px 24px; border: 0; border-top: 1px solid rgba(255, 255, 255, .16); background: transparent; color: #fff; text-align: left; }
.help-hero-status a:last-child, .help-hero-status button:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.help-hero-status a:hover, .help-hero-status button:hover { background: rgba(255, 255, 255, .08); }
.help-hero-status b { font-size: 16px; }
.help-hero-status span { color: #c7dce3; font-size: 13px; }

.help-shortcuts { padding: 54px 0 62px; background: #fff; }
.section-heading, .faq-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-heading h2, .faq-heading h2, .support-band h2 { margin: 3px 0 0; color: var(--help-ink); font-size: 28px; font-weight: 500; }
.section-heading > span, .faq-heading > span { color: #7d909c; }
.shortcut-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--help-line); border-left: 1px solid var(--help-line); }
.shortcut-grid button { display: flex; min-height: 118px; flex-direction: column; justify-content: center; padding: 22px 24px; border: 0; border-right: 1px solid var(--help-line); border-bottom: 1px solid var(--help-line); background: #fff; color: var(--help-ink); text-align: left; }
.shortcut-grid button:hover, .shortcut-grid button.active { box-shadow: inset 4px 0 var(--help-orange); background: #fbfdfd; }
.shortcut-grid b { font-size: 17px; }
.shortcut-grid span { margin-top: 3px; color: var(--help-muted); }

.help-library { padding: 58px 0 72px; }
.help-library-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 44px; align-items: start; }
.category-nav { position: sticky; top: 20px; border-top: 3px solid var(--help-teal); background: #fff; }
.category-nav p { margin: 0; padding: 17px 18px 9px; color: #8a9aa4; font-size: 12px; font-weight: 800; }
.category-nav button { display: block; width: 100%; min-height: 46px; padding: 0 18px; border: 0; border-top: 1px solid #edf1f3; background: #fff; color: #496273; text-align: left; }
.category-nav button:hover, .category-nav button.active { background: #ecf7f6; color: #126f70; box-shadow: inset 3px 0 var(--help-teal); font-weight: 800; }
.faq-list { border-top: 1px solid var(--help-line); }
.faq-list details { border-bottom: 1px solid var(--help-line); background: #fff; }
.faq-list details[hidden] { display: none; }
.faq-list summary { position: relative; min-height: 64px; padding: 20px 58px 18px 22px; color: #294b5e; cursor: pointer; font-size: 16px; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 14px; right: 18px; display: grid; width: 34px; height: 34px; place-items: center; color: var(--help-teal); font-size: 24px; font-weight: 400; }
.faq-list details[open] summary { color: #126f70; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > div { padding: 0 58px 22px 22px; color: var(--help-muted); }
.faq-list details a { color: #0a7878; text-decoration: underline; }
.help-empty { padding: 42px 24px; border: 1px solid var(--help-line); background: #fff; text-align: center; }
.help-empty strong { font-size: 18px; }
.help-empty p { margin: 5px 0 16px; color: var(--help-muted); }
.help-empty button { min-height: 40px; padding: 0 18px; border: 0; background: var(--help-teal); color: #fff; }

.support-band { padding: 44px 0; background: #e6f0f0; border-block: 1px solid #cfdddd; }
.support-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.support-band span { color: var(--help-muted); }
.support-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.support-actions button, .support-actions a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid var(--help-teal); border-radius: 4px; background: var(--help-teal); color: #fff; font-weight: 800; }
.support-actions a.secondary { background: transparent; color: #126f70; }
.support-actions button:hover, .support-actions a:not(.secondary):hover { background: #116f70; }

.help-footer { padding: 30px 0; background: var(--help-deeper); color: #b9cbd3; text-align: center; }
.help-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.help-footer a:hover { color: #fff; }
.help-footer p { margin: 10px 0 0; font-size: 12px; }

@media (max-width: 900px) {
  .help-shell { width: calc(100% - 24px); }
  .help-topbar-inner { flex-wrap: wrap; padding: 9px 0; }
  .account, .help-utility { flex-wrap: wrap; gap: 9px; }
  .help-header-inner { display: block; }
  .help-logo { width: 100%; height: 72px; border-inline: 0; }
  .help-main-nav { min-height: 54px; overflow-x: auto; }
  .help-main-nav a { min-width: 98px; flex: 0 0 auto; }
  .help-hero-inner { grid-template-columns: minmax(0, 1fr) 290px; gap: 32px; }
  .shortcut-grid { grid-template-columns: repeat(2, 1fr); }
  .help-library-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
  .support-band-inner { align-items: flex-start; flex-direction: column; }
  .support-actions { justify-content: flex-start; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 20px; }
  .help-topbar-inner { display: block; }
  .account { min-height: 36px; }
  .help-utility { justify-content: space-between; border-top: 1px solid #3a4044; }
  .utility-panel { top: calc(100% + 6px); right: 0; }
  .help-hero-inner { display: block; min-height: 0; padding: 30px 0 28px; }
  .help-hero h1 { font-size: 32px; }
  .help-search { margin-top: 20px; }
  .help-search { grid-template-columns: minmax(0, 1fr) 86px; }
  .help-search input { padding-left: 13px; }
  .search-clear { right: 92px; }
  .popular-searches { flex-wrap: nowrap; gap: 5px; }
  .popular-searches span { flex: 0 0 auto; }
  .help-hero-status { margin-top: 22px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .22); }
  .help-hero-status > p { padding: 11px 0 5px; }
  .help-hero-status a, .help-hero-status button { min-height: 60px; padding: 8px 0; }
  .help-hero-status a:last-of-type { border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .help-hero-status button[data-open-support] { display: none; }
  .section-heading, .faq-heading { display: block; }
  .section-heading > span, .faq-heading > span { display: block; margin-top: 7px; }
  .shortcut-grid { grid-template-columns: 1fr; }
  .help-library { padding-top: 42px; }
  .help-library-layout { display: block; }
  .category-nav { position: static; display: flex; margin-bottom: 26px; overflow-x: auto; border-top: 0; border-bottom: 1px solid var(--help-line); background: transparent; }
  .category-nav p { display: none; }
  .category-nav button { width: auto; min-width: 96px; flex: 0 0 auto; border-top: 0; border-right: 1px solid var(--help-line); text-align: center; }
  .category-nav button:hover, .category-nav button.active { box-shadow: inset 0 -3px var(--help-teal); }
  .faq-list summary { padding-left: 16px; font-size: 15px; }
  .faq-list details > div { padding-left: 16px; padding-right: 18px; }
  .support-actions { width: 100%; }
  .support-actions button, .support-actions a { width: 100%; }
}

@media (max-width: 420px) {
  .help-utility { gap: 6px; }
  .help-utility > a, .utility-trigger { font-size: 13px; }
  .help-search input { font-size: 13px; }
}
