:root {
    --help-accent: var(--blue, #2997ff);
    --help-accent-hover: var(--blue-hover, #0077ed);
    --help-link: #005bb5;
    --help-ink: var(--ink, #1d1d1f);
    --help-muted: var(--ink-sub, rgba(29, 29, 31, 0.65));
    --help-line: var(--line, rgba(0, 0, 0, 0.10));
    --help-surface: #fff;
    --help-surface-subtle: #f7f7fa;
    --help-header-height: 64px;
}

.help-center-page {
    background: var(--help-surface);
    color: var(--help-ink);
}

/* Help 使用独立工作文档壳层，官网导航和营销页脚不重复出现。 */
.help-center-page .nav,
.help-center-page .foot {
    display: none !important;
}

.help-center-page #main-content {
    padding-top: 0;
}

.help-center-page #main-content {
    min-height: 70vh;
}

.help-center-page a:focus-visible,
.help-center-page button:focus-visible,
.help-center-page input:focus-visible,
.help-center-page summary:focus-visible {
    outline: 2px solid var(--help-link);
    outline-offset: 3px;
}

.help-channel-header {
    position: sticky;
    top: var(--nav-h);
    z-index: 120;
    height: var(--help-header-height);
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--help-line);
}

.help-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.help-search {
    width: min(100%, 760px);
    min-height: 56px;
    margin: 24px 0 48px;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 5px 6px 5px 18px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 8px;
    background: #fff;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.help-search:focus-within {
    border-color: var(--help-accent);
    box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.16);
}

.help-search svg {
    color: var(--help-muted);
}

.help-search input {
    width: 100%;
    min-width: 0;
    height: 44px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--help-ink);
    font: inherit;
    font-size: 16px;
}

.help-search button {
    min-width: 68px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 6px;
    background: var(--help-accent);
    color: #fff;
    font-size: 15px;
    font-weight: 650;
}

.help-search button:hover {
    background: var(--help-accent-hover);
}

.help-search--compact {
    min-height: 44px;
    margin: 0;
    padding: 0 4px 0 14px;
    background: var(--help-surface-subtle);
}

.help-search--compact input {
    height: 42px;
    font-size: 14px;
}

.help-search--compact button {
    min-height: 36px;
    min-width: 58px;
    padding: 0 12px;
    font-size: 13px;
}

.help-shell {
    width: min(100%, 1280px);
    margin: 0 auto;
    padding: 40px 24px 80px;
    display: grid;
    grid-template-columns: 248px minmax(0, 760px) 224px;
    column-gap: 24px;
    align-items: start;
}

.help-shell--home {
    grid-template-columns: 248px minmax(0, 1fr);
}

.help-sidebar {
    position: sticky;
    top: calc(var(--nav-h) + var(--help-header-height) + 24px);
    max-height: calc(100vh - var(--nav-h) - var(--help-header-height) - 48px);
    overflow-y: auto;
    padding: 0 20px 28px 0;
    scrollbar-width: none;
}

.help-sidebar__mobile-head {
    display: none;
}

.help-nav-group + .help-nav-group {
    margin-top: 24px;
}

.help-nav-group h2 {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 750;
}

.help-nav-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.help-nav-group li + li {
    margin-top: 3px;
}

.help-nav-group a {
    position: relative;
    display: block;
    min-height: 36px;
    padding: 8px 8px 8px 12px;
    border-radius: 4px;
    color: var(--help-muted);
    font-size: 13px;
    line-height: 1.5;
}

.help-nav-group a:hover {
    color: var(--help-ink);
    background: var(--help-surface-subtle);
}

.help-nav-group a[aria-current="page"] {
    color: var(--help-ink);
    background: var(--help-surface-subtle);
    font-weight: 650;
}

.help-nav-group a[aria-current="page"]::before {
    content: "";
    position: absolute;
    inset: 7px auto 7px 0;
    width: 3px;
    border-radius: 2px;
    background: var(--help-accent);
}

.help-home-content,
.help-article {
    min-width: 0;
}

.help-home-content {
    width: min(100%, 900px);
    padding-left: 24px;
}

.help-page-heading,
.help-article__heading {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--help-line);
}

.help-page-heading--home {
    padding-top: 24px;
    border-bottom: 0;
}

.help-eyebrow {
    margin: 0 0 8px !important;
    color: var(--help-accent-hover) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    font-weight: 700;
}

.help-page-heading h1,
.help-article__heading h1 {
    margin: 0;
    font-size: 36px;
    line-height: 1.24;
    letter-spacing: 0;
}

.help-page-heading > p:last-child,
.help-article__heading > p:last-child {
    max-width: 680px;
    margin: 14px 0 0;
    color: var(--help-muted);
    font-size: 17px;
    line-height: 1.75;
}

.help-breadcrumbs {
    margin-bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--help-muted);
    font-size: 13px;
}

.help-breadcrumbs a {
    color: var(--help-link);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.help-review-notice {
    margin: 0 0 24px;
    padding: 12px 14px;
    border-left: 4px solid #d97706;
    border-radius: 4px;
    background: #fff8eb;
    font-size: 14px;
}

.help-home-body,
.help-article__body {
    overflow-wrap: anywhere;
    color: var(--help-ink);
    font-size: 17px;
    line-height: 1.75;
}

.help-home-body > h2,
.help-article__body > h2,
.help-related h2,
.help-official > h2 {
    margin: 48px 0 18px;
    font-size: 25px;
    line-height: 1.35;
    letter-spacing: 0;
    scroll-margin-top: calc(var(--nav-h) + var(--help-header-height) + 20px);
}

.help-home-body > h3,
.help-article__body > h3 {
    margin: 34px 0 14px;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 0;
    scroll-margin-top: calc(var(--nav-h) + var(--help-header-height) + 20px);
}

.help-home-body p,
.help-article__body p {
    margin: 0 0 18px;
}

.help-home-body ul,
.help-home-body ol,
.help-article__body ul,
.help-article__body ol {
    margin: 0 0 22px;
    padding-inline-start: 1.5em;
}

.help-home-body li + li,
.help-article__body li + li {
    margin-top: 8px;
}

.help-home-body a,
.help-article__body a,
.help-related a,
.help-official a,
.help-search-results a,
.help-search-empty a {
    color: var(--help-link);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.help-home-body code,
.help-article__body code {
    padding: 0.12em 0.34em;
    border-radius: 4px;
    background: var(--help-surface-subtle);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.9em;
}

.help-home-body pre,
.help-article__body pre {
    max-width: 100%;
    margin: 24px 0;
    padding: 16px;
    overflow-x: auto;
    border: 1px solid var(--help-line);
    border-radius: 6px;
    background: var(--help-surface-subtle);
}

.help-home-body pre code,
.help-article__body pre code {
    padding: 0;
    background: transparent;
}

.help-home-body blockquote,
.help-article__body blockquote {
    margin: 22px 0;
    padding: 12px 16px;
    border-left: 4px solid var(--help-accent);
    border-radius: 4px;
    background: var(--help-surface-subtle);
    color: var(--help-muted);
}

.help-table-wrap {
    max-width: 100%;
    margin: 24px 0;
    overflow-x: auto;
    border: 1px solid var(--help-line);
    border-radius: 6px;
}

.help-table-wrap table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 15px;
}

.help-table-wrap th,
.help-table-wrap td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--help-line);
    text-align: start;
    vertical-align: top;
}

.help-table-wrap th {
    background: var(--help-surface-subtle);
    font-weight: 700;
}

.help-topic-directory {
    margin-top: 48px;
}

.help-topic-directory > h2 {
    margin-bottom: 24px;
    font-size: 25px;
}

.help-topic-directory__groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 40px;
    border-top: 1px solid var(--help-line);
}

.help-topic-directory__groups > section {
    padding: 28px 0 30px;
    border-bottom: 1px solid var(--help-line);
}

.help-topic-directory__groups h3 {
    margin: 0 0 12px;
    font-size: 18px;
}

.help-topic-directory__groups ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.help-topic-directory__groups li + li {
    margin-top: 9px;
}

.help-topic-directory__summary {
    max-width: 52ch;
    margin: 4px 0 0;
    color: var(--help-muted);
    font-size: 14px;
    line-height: 1.65;
}

.help-toc-column {
    position: sticky;
    top: calc(var(--nav-h) + var(--help-header-height) + 24px);
    max-height: calc(100vh - var(--nav-h) - var(--help-header-height) - 48px);
    overflow-y: auto;
    padding-left: 20px;
    border-left: 1px solid var(--help-line);
}

.help-toc > p {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
}

.help-toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.help-toc li + li {
    margin-top: 4px;
}

.help-toc a {
    display: block;
    min-height: 34px;
    padding: 7px 0;
    color: var(--help-muted);
    font-size: 13px;
    line-height: 1.5;
}

.help-toc a[aria-current="location"] {
    color: var(--help-link);
    font-weight: 650;
}

.help-toc__h3 a {
    padding-inline-start: 14px;
}

.help-toc-disclosure {
    display: none;
    margin: 24px 0;
    border: 1px solid var(--help-line);
    border-radius: 6px;
}

.help-toc-disclosure summary {
    min-height: 44px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 650;
}

.help-toc-disclosure .help-toc {
    padding: 0 14px 14px;
}

.help-related {
    margin-top: 48px;
    padding-top: 4px;
    border-top: 1px solid var(--help-line);
}

.help-related ul {
    padding-inline-start: 1.2em;
}

.help-related li + li {
    margin-top: 8px;
}

.help-article__meta {
    margin-top: 48px;
    padding: 18px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 24px;
    border-top: 1px solid var(--help-line);
    color: var(--help-muted);
    font-size: 13px;
}

.help-official {
    margin-top: 56px;
    padding: 34px 0 8px;
    border-top: 1px solid var(--help-line);
}

.help-official > h2 {
    margin-top: 0;
}

.help-official__groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.help-official h3 {
    margin: 0 0 12px;
    font-size: 16px;
}

.help-official p {
    margin: 0 0 8px;
    color: var(--help-muted);
    font-size: 14px;
    line-height: 1.6;
}

.help-official__note {
    font-size: 12px !important;
}

.help-search-status {
    min-height: 24px;
    margin: -28px 0 22px;
    color: var(--help-muted);
    font-size: 14px;
}

.help-search-results {
    margin: 0;
    padding: 0;
    list-style: none;
}

.help-search-results li {
    padding: 24px 0;
    border-top: 1px solid var(--help-line);
}

.help-search-results li:last-child {
    border-bottom: 1px solid var(--help-line);
}

.help-search-results a {
    font-size: 19px;
    font-weight: 700;
}

.help-search-results p {
    display: -webkit-box;
    margin: 8px 0 0;
    overflow: hidden;
    color: var(--help-muted);
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.help-search-results__meta {
    font-size: 13px;
    -webkit-line-clamp: 1 !important;
}

.help-search-results time {
    display: block;
    margin-top: 8px;
    color: var(--help-muted);
    font-size: 12px;
}

.help-search-empty {
    padding: 32px 0;
    border-top: 1px solid var(--help-line);
}

.help-search-empty h2 {
    font-size: 23px;
}

.help-search-empty p {
    margin: 12px 0 22px;
    color: var(--help-muted);
}

.help-search-empty__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
}

.help-drawer-backdrop {
    display: none;
}

@media (max-width: 1279px) {
    .help-shell {
        width: min(100%, 1040px);
        grid-template-columns: 236px minmax(0, 760px);
    }
    .help-toc-column {
        display: none;
    }
    .help-toc-disclosure {
        display: block;
    }
}

@media (max-width: 1023px) {
    .help-nav-toggle {
        display: inline-flex;
        flex: 0 0 44px;
    }
    .help-shell,
    .help-shell--home {
        display: block;
        width: min(100%, 808px);
        padding: 36px 24px 72px;
    }
    .help-home-content {
        width: 100%;
        padding-left: 0;
    }
    .help-sidebar {
        position: fixed;
        z-index: 410;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(360px, calc(100vw - 32px));
        max-height: none;
        padding: 0 20px 32px;
        background: #fff;
        box-shadow: 12px 0 32px rgba(0, 0, 0, 0.15);
        transform: translateX(-104%);
        visibility: hidden;
        /* 切换视口时直接收起，避免桌面侧栏在手机首屏短暂遮住正文。 */
        transition: none;
    }
    .help-sidebar.is-open {
        transform: translateX(0);
        visibility: visible;
    }
    .help-sidebar__mobile-head {
        position: sticky;
        top: 0;
        z-index: 1;
        min-height: 64px;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #fff;
        border-bottom: 1px solid var(--help-line);
    }
    .help-sidebar__mobile-head button {
        min-width: 52px;
        min-height: 44px;
        color: var(--help-link);
        text-decoration: underline;
    }
    .help-drawer-backdrop {
        position: fixed;
        z-index: 400;
        inset: 0;
        display: block;
        background: rgba(0, 0, 0, 0.38);
    }
    .help-drawer-backdrop[hidden] {
        display: none;
    }
    body.help-drawer-open {
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .help-channel-header {
        height: var(--help-header-height);
    }
    .help-shell,
    .help-shell--home {
        padding: 28px 20px 64px;
    }
    .help-page-heading h1,
    .help-article__heading h1 {
        font-size: 29px;
    }
    .help-page-heading > p:last-child,
    .help-article__heading > p:last-child,
    .help-home-body,
    .help-article__body {
        font-size: 16px;
    }
    .help-home-body > h2,
    .help-article__body > h2,
    .help-related h2,
    .help-official > h2 {
        margin-top: 42px;
        font-size: 23px;
    }
    .help-topic-directory__groups,
    .help-official__groups {
        grid-template-columns: 1fr;
    }
    .help-topic-directory__groups {
        gap: 0;
    }
    .help-official__groups {
        gap: 26px;
    }
    .help-search {
        margin-bottom: 40px;
    }
}

@media (max-width: 390px) {
    .help-shell,
    .help-shell--home {
        padding-inline: 16px;
    }
    .help-search button {
        min-width: 58px;
        padding-inline: 10px;
    }
}

.help-center-webview .nav,
.help-center-webview .foot,
.help-center-webview .help-channel-downloads,
.help-center-webview .help-official #official-downloads {
    display: none !important;
}

.help-center-webview #main-content {
    padding-top: 0;
}

.help-center-webview .help-channel-header {
    top: 0;
}

@media (prefers-reduced-motion: reduce) {
    .help-center-page *,
    .help-center-page *::before,
    .help-center-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (forced-colors: active) {
    .help-search,
    .help-review-notice,
    .help-table-wrap,
    .help-toc-disclosure {
        border: 1px solid CanvasText;
    }
    .help-nav-group a[aria-current="page"]::before {
        background: Highlight;
    }
}

/* 帮助文档工作区层级：保留今穿品牌识别，减少营销页装饰。 */
:root {
    --help-accent: var(--blue, #2997ff);
    --help-accent-hover: var(--blue-hover, #0077ed);
    --help-accent-soft: #eaf5ff;
    --help-accent-softer: #f4f9ff;
    --help-link: #0068c9;
    --help-ink: #202124;
    --help-heading: #101418;
    --help-muted: #5f6368;
    --help-subtle: #7b8087;
    --help-line: #e3e6e9;
    --help-line-strong: #d4d8dd;
    --help-surface: #fff;
    --help-surface-subtle: #f7f8fa;
    --help-sidebar-surface: #fafbfc;
    --help-code-surface: #f5f7f9;
    --help-header-height: 64px;
}

.help-center-page {
    background: var(--help-surface);
    color: var(--help-ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.help-center-page ::selection {
    background: #cce8ff;
    color: var(--help-heading);
}

.help-channel-header {
    min-height: var(--help-header-height);
    height: auto;
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: var(--help-line);
    box-shadow: 0 1px 0 rgba(16, 20, 24, 0.02), 0 8px 24px rgba(16, 20, 24, 0.035);
    backdrop-filter: saturate(150%) blur(16px);
    -webkit-backdrop-filter: saturate(150%) blur(16px);
}

.help-channel-brand__logo,
.help-channel-brand__mark {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 8px;
}

.help-channel-brand__logo {
    object-fit: cover;
}

.help-channel-brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--help-heading);
    color: #fff;
    font-size: 17px;
    font-weight: 750;
}

.help-search {
    min-height: 58px;
    margin-block: 26px 50px;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 5px 6px 5px 18px;
    border-color: var(--help-line-strong);
    border-radius: 8px;
    background: var(--help-surface);
    box-shadow: 0 1px 2px rgba(16, 20, 24, 0.03);
}

.help-search:focus-within {
    border-color: var(--help-accent);
    box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.14), 0 8px 22px rgba(16, 20, 24, 0.05);
}

.help-search svg {
    color: #6f757c;
}

.help-search input {
    color: var(--help-heading);
    font-size: 16px;
    line-height: 1.4;
}

.help-search input::placeholder {
    color: #858a90;
    opacity: 1;
}

.help-search button {
    min-width: 70px;
    padding-inline: 17px;
    border-radius: 6px;
    background: var(--help-heading);
    color: #fff;
    font-size: 14px;
    font-weight: 680;
    transition: background-color 150ms ease, transform 100ms ease;
}

.help-search button:hover {
    background: var(--help-accent-hover);
}

.help-search button:active {
    transform: translateY(1px);
}

.help-search--compact {
    min-height: 42px;
    margin: 0;
    padding: 1px 4px 1px 13px;
    border-color: transparent;
    background: #f1f3f4;
    box-shadow: inset 0 0 0 1px rgba(16, 20, 24, 0.025);
}

.help-search--compact:focus-within {
    background: #fff;
}

.help-search--compact input {
    height: 38px;
    font-size: 14px;
}

.help-search--compact button {
    min-width: 58px;
    min-height: 34px;
    padding-inline: 12px;
    background: transparent;
    color: var(--help-link);
}

.help-search--compact button:hover {
    background: var(--help-accent-soft);
    color: var(--help-accent-hover);
}

.help-shell {
    width: min(100%, 1420px);
    min-height: calc(100vh - var(--help-header-height));
    margin: 0 auto;
    padding: 0 28px 88px;
    grid-template-columns: 264px minmax(0, 744px) 216px;
    column-gap: 40px;
}

.help-shell--home {
    grid-template-columns: 264px minmax(0, 1fr);
    column-gap: 46px;
}

.help-sidebar {
    top: var(--help-header-height);
    max-height: calc(100vh - var(--help-header-height));
    margin-inline-start: -28px;
    padding: 30px 20px 52px 28px;
    border-inline-end: 1px solid var(--help-line);
    background: var(--help-sidebar-surface);
}

.help-nav-group + .help-nav-group {
    margin-top: 28px;
}

.help-nav-group h2 {
    margin: 0 0 7px;
    color: var(--help-heading);
    font-size: 12px;
    line-height: 1.5;
    font-weight: 760;
}

.help-nav-group li + li {
    margin-top: 1px;
}

.help-nav-group a {
    min-height: 37px;
    padding: 8px 10px 8px 12px;
    border-radius: 6px;
    color: #555b61;
    font-size: 13px;
    line-height: 1.55;
    transition: background-color 130ms ease, color 130ms ease;
}

.help-nav-group a:hover {
    background: #eef1f4;
    color: var(--help-heading);
}

.help-nav-group a[aria-current="page"],
.help-nav-group a[aria-current="location"] {
    background: var(--help-accent-soft);
    color: #005baa;
    font-weight: 680;
}

.help-nav-group a[aria-current="page"]::before,
.help-nav-group a[aria-current="location"]::before {
    inset: 8px auto 8px 0;
    width: 3px;
    background: var(--help-accent);
}

.help-home-content {
    width: min(100%, 980px);
    padding: 48px 0 0;
}

.help-article {
    padding-top: 46px;
}

.help-page-heading,
.help-article__heading {
    padding-bottom: 28px;
    border-bottom: 0;
}

.help-page-heading--home {
    padding-top: 0;
}

.help-eyebrow {
    position: relative;
    margin-bottom: 10px !important;
    padding-inline-start: 14px;
    color: #0068c9 !important;
    font-size: 13px !important;
    font-weight: 700;
}

.help-eyebrow::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--help-accent);
}

.help-page-heading h1,
.help-article__heading h1 {
    max-width: 18em;
    color: var(--help-heading);
    font-size: 38px;
    line-height: 1.2;
    font-weight: 740;
    letter-spacing: 0;
    text-wrap: balance;
}

.help-page-heading > p:last-child,
.help-article__heading > p:last-child {
    max-width: 42em;
    margin-top: 15px;
    color: var(--help-muted);
    font-size: 17px;
    line-height: 1.72;
    text-wrap: pretty;
}

.help-breadcrumbs {
    margin-bottom: 30px;
    gap: 7px;
    color: var(--help-subtle);
    font-size: 13px;
}

.help-breadcrumbs a {
    color: var(--help-link);
    text-decoration: none;
}

.help-breadcrumbs a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.help-review-notice {
    margin-bottom: 28px;
    padding: 12px 15px;
    border: 1px solid #efd9a3;
    border-inline-start: 4px solid #c78500;
    border-radius: 6px;
    background: #fffaf0;
    color: #614400;
}

.help-home-body,
.help-article__body {
    max-width: 68ch;
    color: #30343a;
    font-size: 16px;
    line-height: 1.78;
}

.help-home-body > h2,
.help-article__body > h2,
.help-related h2,
.help-official > h2 {
    margin: 52px 0 18px;
    color: var(--help-heading);
    font-size: 25px;
    line-height: 1.3;
    font-weight: 720;
}

.help-home-body > h2::after,
.help-article__body > h2::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    margin-top: 11px;
    border-radius: 2px;
    background: var(--help-accent);
}

.help-home-body > h3,
.help-article__body > h3 {
    margin: 36px 0 13px;
    color: var(--help-heading);
    font-size: 19px;
    line-height: 1.4;
    font-weight: 700;
}

.help-home-body p,
.help-article__body p {
    margin-bottom: 19px;
}

.help-home-body li + li,
.help-article__body li + li {
    margin-top: 7px;
}

.help-home-body a,
.help-article__body a,
.help-related a,
.help-official a,
.help-search-results a,
.help-search-empty a {
    color: var(--help-link);
    text-decoration-thickness: from-font;
    text-underline-position: from-font;
    text-decoration-skip-ink: auto;
}

.help-home-body code,
.help-article__body code {
    padding: 0.14em 0.38em;
    border: 1px solid #e6e9ec;
    border-radius: 4px;
    background: var(--help-code-surface);
    color: #b3261e;
    font-size: 0.88em;
}

.help-home-body pre,
.help-article__body pre {
    padding: 18px 20px;
    border-color: var(--help-line);
    border-radius: 8px;
    background: #f7f9fb;
    box-shadow: inset 4px 0 0 var(--help-accent);
}

.help-home-body blockquote,
.help-article__body blockquote {
    padding: 15px 18px;
    border-inline-start: 4px solid var(--help-accent);
    border-radius: 0 7px 7px 0;
    background: var(--help-accent-softer);
    color: #46515c;
}

.help-table-wrap {
    border-color: var(--help-line-strong);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(16, 20, 24, 0.025);
}

.help-table-wrap th,
.help-table-wrap td {
    padding: 13px 15px;
    border-bottom-color: var(--help-line);
}

.help-table-wrap th {
    background: #f2f5f7;
    color: var(--help-heading);
    font-size: 14px;
}

.help-topic-directory {
    max-width: 900px;
    margin-top: 54px;
}

.help-topic-directory > h2 {
    color: var(--help-heading);
    font-size: 25px;
    font-weight: 720;
}

.help-topic-directory__groups {
    gap: 0 54px;
    border-top-color: var(--help-line-strong);
}

.help-topic-directory__groups > section {
    padding: 29px 0 31px;
    border-bottom-color: var(--help-line);
}

.help-topic-directory__groups h3 {
    margin-bottom: 14px;
    color: var(--help-heading);
    font-size: 17px;
    font-weight: 720;
}

.help-topic-directory__groups a {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    text-decoration: none;
}

.help-topic-directory__groups a::after {
    content: "›";
    margin-inline-start: 6px;
    color: var(--help-accent);
    font-size: 17px;
    transition: transform 130ms ease;
}

.help-topic-directory__groups a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.help-topic-directory__groups a:hover::after {
    transform: translateX(2px);
}

.help-toc-column {
    top: calc(var(--help-header-height) + 34px);
    max-height: calc(100vh - var(--help-header-height) - 68px);
    padding-inline-start: 20px;
    border-inline-start-color: var(--help-line);
}

.help-toc > p {
    margin-bottom: 12px;
    color: var(--help-heading);
    font-size: 12px;
    font-weight: 760;
}

.help-toc a {
    min-height: 32px;
    padding-block: 6px;
    color: var(--help-muted);
    font-size: 12.5px;
    transition: color 130ms ease;
}

.help-toc a:hover,
.help-toc a[aria-current="location"] {
    color: var(--help-link);
}

.help-toc a[aria-current="location"] {
    font-weight: 680;
}

.help-toc-disclosure {
    border-color: var(--help-line-strong);
    background: var(--help-surface-subtle);
}

.help-toc-disclosure summary {
    color: var(--help-heading);
    font-size: 14px;
}

.help-article__meta {
    border-top-color: var(--help-line);
    color: var(--help-subtle);
}

.help-official {
    max-width: 900px;
    margin-top: 58px;
    padding: 30px 30px 24px;
    border: 1px solid var(--help-line);
    border-radius: 8px;
    background: var(--help-surface-subtle);
}

.help-official > h2 {
    margin: 0 0 24px;
    font-size: 21px;
}

.help-official__groups {
    gap: 32px;
}

.help-official h3 {
    color: var(--help-heading);
    font-size: 14px;
    font-weight: 720;
}

.help-official p {
    font-size: 13px;
}

.help-search-status {
    margin-top: -30px;
    color: var(--help-muted);
}

.help-search-results li {
    padding-block: 25px;
    border-top-color: var(--help-line);
}

.help-search-results a {
    color: var(--help-heading);
    font-size: 19px;
    font-weight: 700;
    text-decoration: none;
}

.help-search-results a:hover {
    color: var(--help-link);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.help-search-results__meta {
    color: var(--help-link) !important;
    font-weight: 600;
}

.help-search-empty {
    padding: 36px 0;
}

@media (max-width: 1279px) {
    .help-shell {
        width: min(100%, 1100px);
        grid-template-columns: 250px minmax(0, 744px);
        column-gap: 36px;
    }
    .help-shell--home {
        grid-template-columns: 250px minmax(0, 1fr);
    }
}

@media (max-width: 1023px) {
    .help-shell,
    .help-shell--home {
        width: min(100%, 820px);
        padding: 38px 28px 78px;
    }
    .help-home-content,
    .help-article {
        padding-top: 0;
    }
    .help-sidebar {
        margin: 0;
        padding: 0 20px 32px;
        border-inline-end: 0;
        background: #fff;
        box-shadow: 12px 0 40px rgba(16, 20, 24, 0.16);
        overscroll-behavior: contain;
    }
    .help-sidebar__mobile-head {
        min-height: 68px;
    }
}

@media (max-width: 768px) {
    .help-channel-brand__logo,
    .help-channel-brand__mark {
        width: 31px;
        height: 31px;
        flex-basis: 31px;
        border-radius: 7px;
    }
    .help-shell,
    .help-shell--home {
        padding: 30px 20px 68px;
    }
    .help-page-heading h1,
    .help-article__heading h1 {
        font-size: 30px;
        line-height: 1.23;
    }
    .help-page-heading > p:last-child,
    .help-article__heading > p:last-child {
        font-size: 16px;
    }
    .help-search {
        margin-block: 22px 42px;
    }
    .help-home-body > h2,
    .help-article__body > h2,
    .help-related h2,
    .help-official > h2 {
        margin-top: 44px;
        font-size: 22px;
    }
    .help-official {
        margin-inline: -4px;
        padding: 25px 22px 20px;
    }
}

@media (max-width: 560px) {
    .help-table-wrap {
        position: relative;
        scrollbar-width: thin;
        scrollbar-color: #b8c1ca transparent;
        box-shadow: inset -18px 0 18px -18px rgba(16, 20, 24, 0.55);
    }
    .help-table-wrap table {
        min-width: 480px;
    }
}

/* 阅读布局统一在这里收口：正文优先，窄屏依次收起页内目录和章节侧栏。 */
.help-channel-header .help-search--compact {
    margin: 0;
}

.help-shell {
    width: min(100%, 1360px);
    grid-template-columns: 224px minmax(0, 1fr) 176px;
    column-gap: 32px;
}

.help-shell--home {
    grid-template-columns: 224px minmax(0, 1fr);
}

.help-article__body,
.help-home-body {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.help-article__body > p,
.help-article__body > ul,
.help-article__body > ol {
    max-width: 44em;
}

.help-sidebar {
    scrollbar-gutter: auto;
}

.help-toc-column {
    padding-inline-start: 16px;
    scrollbar-width: none;
}

/* 隐藏滚动条外观，保留滚轮、触摸和键盘滚动。 */
html:has(body.help-center-page),
.help-center-page {
    scrollbar-width: none;
}

html:has(body.help-center-page)::-webkit-scrollbar,
.help-center-page::-webkit-scrollbar,
.help-sidebar::-webkit-scrollbar,
.help-toc-column::-webkit-scrollbar {
    display: none;
}

.help-nav-group h2 a {
    min-height: 32px;
    padding-block: 6px;
    color: var(--help-heading);
    font-size: inherit;
    font-weight: inherit;
}

.help-nav-group a[aria-current="location"]::before {
    content: "";
    position: absolute;
    border-radius: 2px;
}

/* 用段落间距区分章节，避免图片附近出现无意义的装饰线。 */
.help-article__body > h2::after {
    content: none;
}

@media (max-width: 1279px) {
    .help-shell,
    .help-shell--home {
        width: min(100%, 1120px);
        grid-template-columns: 216px minmax(0, 1fr);
        column-gap: 32px;
    }
    .help-home-content {
        padding-inline-start: 0;
    }
}

@media (max-width: 1023px) {
    .help-shell,
    .help-shell--home {
        width: min(100%, 824px);
        display: block;
        padding: 36px 24px 72px;
    }
    .help-home-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .help-shell,
    .help-shell--home {
        padding: 28px 20px 64px;
    }
}

@media (max-width: 390px) {
    .help-shell,
    .help-shell--home {
        padding-inline: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .help-topic-directory__groups a::after,
    .help-search button,
    .help-channel-download,
    .help-nav-group a,
    .help-toc a {
        transition: none;
    }
}

/* 导航型链接依靠颜色和当前状态区分，避免目录页面出现连续下划线。 */
.help-channel-brand,
.help-nav-group a,
.help-toc a,
.help-home-body a,
.help-article__body a,
.help-related a {
    text-decoration: none;
}

.help-home-body a:hover,
.help-home-body a:focus-visible,
.help-article__body a:hover,
.help-article__body a:focus-visible,
.help-related a:hover,
.help-related a:focus-visible {
    text-decoration: underline;
    text-decoration-thickness: from-font;
    text-underline-position: from-font;
    text-decoration-skip-ink: auto;
}

/* 正文链接始终保留下划线，避免仅凭颜色判断可点击。 */
.help-article__body a,
.help-home-body p a,
.help-related a,
.help-support-line a {
    color: var(--help-link);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: from-font;
    text-decoration-skip-ink: auto;
}

.help-topic-directory__groups a {
    text-decoration: none;
}

.help-topic-directory__groups > section {
    scroll-margin-top: calc(var(--help-header-height) + 16px);
}

/* 文章页补充：提醒、前后文档、反馈和真实截图的轻量布局。 */
.help-main {
    display: block;
    width: 100%;
    min-height: 70vh;
}

.help-center-page .help-channel-header {
    top: 0;
}

.help-platform-note {
    max-width: 68ch;
    margin: 0 0 28px;
    padding: 14px 16px;
    border-inline-start: 4px solid var(--help-accent);
    border-radius: 0 7px 7px 0;
    background: var(--help-accent-softer);
    color: #39444e;
}

.help-platform-note strong {
    display: block;
    margin-bottom: 4px;
    color: var(--help-heading);
    font-size: 14px;
}

.help-platform-note p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
}

/* 纯图片段落、经典编辑器图片和区块画廊使用同一套自适应排版。 */
.help-article__body .help-media-grid,
.help-article__body .wp-block-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    align-items: start;
    gap: 24px;
    width: 100%;
    max-width: 744px;
    margin: 28px 0 36px;
    padding: 0;
}

.help-article__body .help-media-grid > *,
.help-article__body .wp-block-gallery > figure {
    min-width: 0;
    width: 100% !important;
    max-width: 360px;
    margin: 0 !important;
    justify-self: start;
}

.help-article__body .help-media-figure {
    width: min(100%, 360px);
    max-width: 100%;
    margin: 28px 0 36px;
}

.help-article__body img {
    max-width: 100%;
    height: auto;
}

.help-article__body .help-media-image {
    display: block;
    width: 100% !important;
    max-width: 360px;
    height: auto !important;
    object-fit: contain;
    border: 0;
    border-radius: 8px;
    outline: 1px solid rgba(0, 0, 0, .10);
    outline-offset: -1px;
}

.help-article__body > .help-media-image {
    margin-block: 28px 36px;
}

.help-article__body .help-media-open {
    position: relative;
    display: block;
    width: fit-content;
    max-width: 100%;
    border-radius: 8px;
    cursor: zoom-in;
    text-decoration: none;
}

.help-media-open::after {
    content: "查看大图";
    position: absolute;
    inset-inline-end: 10px;
    bottom: 10px;
    padding: 5px 9px;
    border-radius: 5px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 1px 6px rgba(0, 0, 0, .12);
    color: var(--help-link);
    font-size: 12px;
    line-height: 1.5;
}

.help-article__body figure figcaption {
    position: static;
    margin-top: 10px;
    padding: 0;
    background: none;
    color: var(--help-muted);
    font-size: 13px;
    line-height: 1.6;
    text-align: start;
}

/* 原生 dialog 提供焦点隔离、键盘关闭；大图保留比例，可滚动查看细节。 */
.help-image-viewer {
    position: fixed;
    inset: 0;
    width: min(960px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: var(--help-surface);
    color: var(--help-ink);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .25);
    overscroll-behavior: contain;
}

.help-image-viewer::backdrop {
    background: rgba(0, 0, 0, .65);
}

.help-image-viewer__bar {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid var(--help-line);
}

.help-image-viewer__title {
    margin: 0;
    font-size: 16px;
    font-weight: 650;
}

.help-image-viewer__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.help-image-viewer__actions a,
.help-image-viewer__actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
}

.help-image-viewer__actions a {
    color: var(--help-link);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.help-image-viewer__actions button {
    background: var(--help-surface-subtle);
}

.help-image-viewer__image {
    display: block;
    width: auto;
    max-width: calc(100% - 32px);
    height: auto;
    max-height: calc(100dvh - 144px);
    margin: 20px auto;
    object-fit: contain;
}

body.help-image-viewer-open {
    overflow: hidden;
}

@media (max-width: 520px) {
    .help-article__body .help-media-grid,
    .help-article__body .wp-block-gallery {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
    .help-image-viewer {
        width: calc(100vw - 16px);
        max-height: calc(100dvh - 16px);
    }
    .help-image-viewer__bar {
        gap: 4px;
        padding: 8px 12px;
    }
    .help-image-viewer__image {
        max-height: none;
        max-width: calc(100% - 24px);
        margin: 12px auto;
    }
}

.help-article-pager {
    max-width: 68ch;
    margin-top: 46px;
    padding: 20px 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    border-top: 1px solid var(--help-line);
    border-bottom: 1px solid var(--help-line);
}

.help-article-pager__item {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.help-article-pager__item--next {
    text-align: end;
    align-items: flex-end;
}

.help-article-pager__item > span:first-child {
    color: var(--help-subtle);
    font-size: 12px;
}

.help-article-pager__item a {
    max-width: 100%;
    color: var(--help-heading);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.help-article-pager__item a:hover,
.help-article-pager__item a:focus-visible {
    color: var(--help-link);
    text-decoration: underline;
}

.help-article-pager__empty {
    color: var(--help-line-strong);
}

.help-feedback {
    max-width: 68ch;
    margin-top: 34px;
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 24px;
}

.help-feedback h2 {
    margin: 0;
    color: var(--help-heading);
    font-size: 16px;
    font-weight: 720;
}

.help-feedback p {
    margin: 5px 0 0;
    color: var(--help-muted);
    font-size: 13px;
}

.help-feedback__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.help-feedback__actions button {
    min-width: 88px;
    min-height: 44px;
    padding: 8px 13px;
    border: 1px solid var(--help-line-strong);
    border-radius: 6px;
    background: #fff;
    color: var(--help-heading);
    font-size: 13px;
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.help-feedback__actions button:hover,
.help-feedback__actions button:focus-visible {
    border-color: var(--help-accent);
    background: var(--help-accent-soft);
    color: #005baa;
}

.help-feedback__actions button:disabled {
    cursor: default;
    opacity: .6;
}

.help-feedback__status {
    flex-basis: 100%;
    min-height: 20px;
}

.help-support-line {
    max-width: 68ch;
    margin: 0 0 18px;
    color: var(--help-muted);
    font-size: 13px;
}

.help-answer-summary {
    max-width: 68ch;
    margin: 20px 0 0;
    padding: 16px 18px;
    border-inline-start: 3px solid var(--help-accent);
    background: var(--help-surface-subtle);
}

.help-answer-summary strong {
    display: block;
    margin-bottom: 5px;
    color: var(--help-heading);
    font-size: 14px;
}

.help-answer-summary p {
    margin: 0;
    color: var(--help-heading);
    font-size: 16px;
    line-height: 1.7;
}

@media (max-width: 560px) {
    .help-article-pager {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .help-article-pager__item--next {
        text-align: start;
        align-items: flex-start;
    }
    .help-feedback {
        align-items: flex-start;
        flex-direction: column;
    }
    .help-article__body figure {
        max-width: 100%;
    }
}

/* 帮助中心页头：Logo 返回官网，下载按钮在窄屏换行。 */
.help-center-page {
    --help-header-height: 64px;
}

.help-channel-header__inner {
    width: min(100%, 1480px);
    min-height: var(--help-header-height);
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.help-channel-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    white-space: nowrap;
}

.help-channel-brand__home {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.help-channel-brand__section {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--help-muted);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.help-channel-brand__section:hover {
    color: var(--help-link);
}

.help-channel-downloads {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-inline-start: auto;
}

.help-channel-download {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid var(--help-line-strong);
    border-radius: 7px;
    background: var(--help-surface);
    color: var(--help-heading);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}

.help-channel-download:hover {
    border-color: var(--help-muted);
    background: var(--help-surface-subtle);
}

.help-channel-download--ios {
    border-color: var(--help-heading);
    background: var(--help-heading);
    color: #fff;
}

.help-channel-download--ios:hover {
    border-color: #33383d;
    background: #33383d;
}

@media (max-width: 1023px) {
    .help-channel-header__inner {
        padding-inline: 16px;
        gap: 12px;
    }
}

@media (max-width: 560px) {
    .help-center-page {
        --help-header-height: 108px;
    }
    .help-channel-header__inner {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        grid-template-rows: 52px 48px;
        gap: 0 8px;
        padding: 0 12px 8px;
    }
    .help-channel-downloads {
        grid-column: 2;
        justify-self: end;
        gap: 8px;
    }
    .help-channel-download {
        padding-inline: 14px;
    }
    .help-center-webview {
        --help-header-height: 64px;
    }
    .help-center-webview .help-channel-header__inner {
        grid-template-rows: auto;
        padding-block: 0;
    }
}
