.help-document-page {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 36px 28px 28px;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--page-bg);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.help-document-page::-webkit-scrollbar {
    display: none;
}

.help-document-breadcrumb {
    display: flex;
    width: min(1385px, 100%);
    margin: 0 auto 14px;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 14px;
    font-weight: 750;
}

.help-document-breadcrumb a {
    color: #111111;
    text-decoration: none;
    transition: transform 140ms ease, color 140ms ease;
}

.help-document-breadcrumb a:hover,
.help-document-breadcrumb a:focus-visible {
    color: #075ed1;
    outline: 0;
    transform: translateY(-1px);
}

.help-document-layout {
    display: grid;
    width: min(1385px, 100%);
    margin-inline: auto;
    grid-template-columns: minmax(0, calc(100% - 404px)) minmax(280px, 380px);
    align-items: start;
    gap: 24px;
}

.help-document-card {
    width: min(990px, 100%);
    margin-inline: auto;
    overflow: hidden;
    border: 2px solid #111111;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: none;
}

.help-document-layout .help-document-card {
    width: 100%;
    margin: 0;
}

.help-document-header {
    padding: 28px 30px 24px;
    border-bottom: 2px solid #111111;
    background: #111111;
}

.help-document-header .help-eyebrow {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.help-document-header h1 {
    max-width: 100%;
    margin: 0;
    color: #ffffff;
    font-size: clamp(28px, 3.3vw, 42px);
    font-weight: 950;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.help-document-summary {
    max-width: 100%;
    margin: 12px 0 18px;
    color: #dfe6ee;
    font-size: 15px;
    font-weight: 720;
    line-height: 1.55;
}

.help-document-meta {
    display: block;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.3;
}

.help-document-body {
    padding: 26px 30px;
    color: #202833;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.68;
}

.help-document-body > :first-child,
.help-document-body > :first-child > :first-child {
    margin-top: 0;
}

.help-document-body > :last-child,
.help-document-body > :last-child > :last-child {
    margin-bottom: 0;
}

.help-document-body h2,
.help-document-body h3,
.help-document-body h4 {
    margin: 1.7em 0 0.55em;
    scroll-margin-top: 24px;
    color: #111111;
    font-weight: 950;
    line-height: 1.12;
}

.help-document-body h2 { font-size: 22px; }
.help-document-body h3 { font-size: 18px; }
.help-document-body h4 { font-size: 16px; }
.help-document-body p { margin: 0 0 1.15em; }
.help-document-body ul,
.help-document-body ol { margin: 0 0 1.25em; padding-left: 1.5em; }
.help-document-body li + li { margin-top: 0.35em; }

.help-document-body a {
    color: #0f5fa8;
    font-weight: 850;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.15em;
}

.help-document-body code {
    padding: 0.12em 0.35em;
    border: 1px solid #cbd5e1;
    background: #f1f5f9;
    font-size: 0.92em;
}

.help-document-body blockquote {
    margin: 1.5em 0;
    padding: 18px 20px;
    border-left: 6px solid #111111;
    background: #fff4bd;
}

.help-document-body blockquote p {
    margin: 0;
}

.help-document-toc {
    position: sticky;
    top: 0;
    align-self: start;
    min-width: 0;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 18px 16px;
    border: 2px solid #111111;
    background: #ffffff;
    box-shadow: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.help-document-toc::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.help-document-toc > p {
    margin: 0 0 12px;
    color: #111111;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.help-document-toc nav {
    display: grid;
    gap: 8px;
}

.help-document-toc .help-article-toc-link {
    display: block;
    color: #596273;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    transition: color 140ms ease, transform 140ms ease;
}

.help-document-toc .help-article-toc-link--level-3,
.help-document-toc .help-article-toc-link--level-4 {
    padding-left: 12px;
    font-size: 12px;
    font-weight: 650;
}

.help-document-toc .help-article-toc-link:hover,
.help-document-toc .help-article-toc-link:focus-visible {
    color: #075ed1;
    outline: 0;
    transform: translateY(-1px);
}

@media (max-width: 980px) {
    .help-document-layout {
        display: flex;
        width: min(990px, 100%);
        flex-direction: column;
    }

    .help-document-toc {
        position: static;
        width: 100%;
        order: -1;
    }
}

@media (max-width: 760px) {
    .help-document-page {
        padding: 24px 12px 16px;
    }

    .help-document-breadcrumb {
        gap: 4px;
        margin-bottom: 10px;
        font-size: 1rem;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .help-document-card {
        border-radius: 8px;
    }

    .help-document-header,
    .help-document-body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .help-document-toc {
        padding: 18px 16px;
    }

    .help-document-toc nav {
        gap: 7px;
    }
}
