.mcp-article-page {
    display: block;
    max-width: 980px;
    margin: 0 auto;
    box-sizing: border-box;
}

body.mcp-server-page #right-side {
    display: flex;
    align-items: flex-start;
    flex: 1 1 auto;
    width: auto;
}

body.mcp-server-page #right-side > main {
    flex: 1 1 auto;
    min-width: 0;
}

#right-sidebar-container {
    border-left: 1px solid #eaecf0;
    padding-left: 300px;
    padding-right: 32px;
    width: 310px;
}

#right-sidebar {
    overflow-y: auto;
    position: fixed;
    right: 32px;
    top: 56px;
    width: 300px;
    z-index: 70;
}

#doc-right-toc {
    border-left: 1px solid #eaecf0;
    overflow-x: hidden;
    overflow-y: auto !important;
    max-height: calc(100vh - 72px);
    padding: 16px 0 120px 24px;
    scroll-padding-bottom: 120px;
    position: fixed;
    scrollbar-gutter: auto;
    scrollbar-width: auto;
    width: 310px;
}

.mcp-article-main {
    min-width: 0;
}

.article-breadcrumb {
    margin-bottom: 18px;
}

.article-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-top: 16px;
}

.article-heading h1 {
    margin: 0 0 16px;
    color: #3f3b46;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    color: #344054;
    font-size: 16px;
}

.article-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-divider {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #eaecf0;
}

.article-content {
    max-width: 940px;
}

.article-content p {
    color: #344054;
    line-height: 1.8;
}

.article-content ul,
.article-content ol {
    margin: 20px 0 24px 24px;
    padding-left: 20px;
    color: #344054;
    line-height: 1.8;
}

@media (max-width:426px) {
    .article-content ol{
        margin: 0 !important;
    }
    .article-content ul {
        margin: 0 0 0 12px !important;
    }
}

.article-content li {
    margin-bottom: 8px;
}

.article-content pre {
    margin: 0 0 26px;
    padding: 16px 18px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #eaecf0;
    overflow: auto;
}

.article-content code {
    padding: 2px 6px;
    border-radius: 6px;
    background: #f2f4f7;
    color: #1d2939;
    font-size: 0.95em;
}

.article-content pre code {
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    scroll-margin-top: 72px;
    color: #3d3840;
    font-weight: 600;
    position: relative;
    padding-right: 44px;
}

.mcp-heading-with-copy:hover .mcp-heading-copy,
.mcp-heading-with-copy:focus-within .mcp-heading-copy {
    opacity: 1;
    pointer-events: auto;
}

.mcp-heading-copy {
    top: 10px;
    right: 0;
    transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(255, 255, 255, 0.96);
    color: #344054;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.mcp-heading-copy:hover {
    border-color: #98a2b3;
    background: #ffffff;
}

.article-content h2:hover .mcp-heading-copy,
.article-content h3:hover .mcp-heading-copy,
.article-content h4:hover .mcp-heading-copy,
.article-content h5:hover .mcp-heading-copy,
.article-content h6:hover .mcp-heading-copy,
.article-content h2:focus-within .mcp-heading-copy,
.article-content h3:focus-within .mcp-heading-copy,
.article-content h4:focus-within .mcp-heading-copy,
.article-content h5:focus-within .mcp-heading-copy,
.article-content h6:focus-within .mcp-heading-copy {
    opacity: 1;
    pointer-events: auto;
}

.mcp-heading-copy.is-copied {
    border-color: #b2f2bb;
    background: #ecfdf3;
    color: #027a48;
}

.mcp-heading-copy .mcp-heading-anchor-icon {
    position: relative;
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.07 0l3.54-3.54a5 5 0 0 0-7.07-7.07L12 4.93'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.07 0L3.4 14.53a5 5 0 0 0 7.07 7.07L12 19.07'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.07 0l3.54-3.54a5 5 0 0 0-7.07-7.07L12 4.93'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.07 0L3.4 14.53a5 5 0 0 0 7.07 7.07L12 19.07'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    color: inherit;
}

.article-content h2 {
    margin: 28px 0 20px;
    font-size: 24px;
    line-height: 1.2;
}

.article-content h3 {
    margin: 28px 0 16px;
    font-size: 20px;
    line-height: 1.25;
}

.article-content h4 {
    margin: 22px 0 12px;
    font-size: 18px;
    line-height: 1.3;
}

.article-content h5 {
    margin: 18px 0 10px;
    font-size: 17px;
    line-height: 1.35;
}

.article-content h6 {
    margin: 16px 0 8px;
    font-size: 16px;
    line-height: 1.4;
}

.bd-icon-inthispage::before {
    padding: 6px 0;
    content: "\e865";
    font-family: Bold Desk !important;
}

.bd-title-inthispage {
    font-size: 14px;
    font-weight: 600;
    align-items: center;
    color: #475467 !important;
}

.header-lists {
    border-left: 1px solid #eaecf0;
    margin-top: 15px;
}

.header-lists ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.header-lists > ul > ul.toc-child-list {
    margin: 0;
    padding: 0;
}

li.doc-anchor-h2 {
    padding: 6px 16px;
    color: #4f5157 !important;
}

li.doc-anchor-h3 {
    padding: 6px 16px 6px 28px;
    color: #6f7177 !important;
}

li.doc-anchor-h4 {
    padding: 6px 16px 6px 40px;
    color: #8c8d90 !important;
}

li.doc-anchor-h5 {
    padding: 6px 16px 6px 52px;
}

li.doc-anchor-h6 {
    padding: 6px 16px 6px 64px;
}

.header-lists a {
    display: inline-block;
    font-weight: 400 !important;
    font-size: 14px !important;
    text-decoration: none;
}

.doc-anchor-h2 a,
.doc-anchor-h3 a,
li.doc-anchor-h4 a,
li.doc-anchor-h5 a,
li.doc-anchor-h6 a {
    color: #344054;
    text-decoration: none;
}

#doc-right-toc li.active > a {
    color: #0037ff;
}

#doc-right-toc li.active {
    border-left: 2px solid #0037ff;
}

.doc-anchor-h2 a:hover,
.doc-anchor-h3 a:hover,
.doc-anchor-h4 a:hover,
.doc-anchor-h5 a:hover,
.doc-anchor-h6 a:hover {
    color: #0037ff;
}

@media (max-width: 1200px) {
    #right-sidebar-container {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .mcp-article-page {
        max-width: none !important;
        grid-template-columns: 1fr;
        gap: 0;
        padding: 32px 20px 56px;
    }

    .article-header {
        flex-direction: column;
    }

    .article-actions {
        margin-top: 0;
        align-self: flex-start;
    }

    .article-heading h1 {
        font-size: 40px;
    }

    .article-content p {
        font-size: 18px;
    }
}

.home-layout-container #doc-right-toc,
.home-layout-container .right-toc {
    padding-bottom: 70px;
}
