.topbar.vcmc-topbar {
    height: 64px;
    padding: 0;
}

.layout {
    margin-top: 64px;
    min-height: calc(100vh - 64px);
}

.sidebar {
    top: 64px;
}

.sidebar-overlay {
    inset: 64px 0 0 0;
}

.vcmc-footer {
    text-align: left;
}

.docs-status-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 22px;
}

.docs-status-chip {
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

.docs-status-current {
    background: #e9f8f0;
    color: #147a4f;
}

.docs-status-admin {
    background: #fff4dc;
    color: #996000;
}

.docs-status-platform {
    background: #eef0ff;
    color: #4c56bf;
}

pre {
    position: relative;
    padding-top: 46px;
}

.code-copy-button {
    position: absolute;
    top: 9px;
    right: 9px;
    min-height: 28px;
    padding: 5px 9px;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 7px;
    background: rgba(255,255,255,0.08);
    color: #d8dbea;
    font: inherit;
    font-size: 0.68rem;
    font-weight: 750;
    cursor: pointer;
}

.code-copy-button:hover {
    background: rgba(255,255,255,0.14);
}

.platform-switch {
    margin: 18px 0;
    border: 1px solid #e0e3eb;
    border-radius: 14px;
    background: #fafbfc;
}

.platform-switch-tabs {
    display: flex;
    gap: 5px;
    padding: 6px;
    border-bottom: 1px solid #e5e7ed;
}

.platform-switch-button {
    flex: 1;
    min-height: 38px;
    padding: 7px 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #6d7382;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
}

.platform-switch-button[aria-selected="true"] {
    background: #5865f2;
    color: white;
    box-shadow: 0 5px 14px rgba(88, 101, 242, 0.20);
}

.platform-switch-panel {
    padding: 18px;
}

.platform-switch-panel[hidden] {
    display: none;
}

.platform-switch-panel p:first-child {
    margin-top: 0;
}

.doc-section {
    scroll-margin-top: 86px;
}

@media (max-width: 720px) {
    .topbar.vcmc-topbar .vcmc-nav-inner {
        width: min(100% - 20px, 1160px);
    }

    .topbar.vcmc-topbar .vcmc-nav-links a:first-child {
        display: none;
    }

    .cmd-table {
        display: block;
        overflow-x: auto;
        white-space: normal;
    }
}
