/**
 * Docs Hub Public Styles
 * Stripe Docs-inspired design with high specificity to override theme styles
 */

/* ===== CSS Variables ===== */
:root {
    --docs-hub-primary: #635bff;
    --docs-hub-primary-hover: #5851ea;
    --docs-hub-bg: #ffffff;
    --docs-hub-sidebar-bg: #f6f8fa;
    --docs-hub-text: #1a1f36;
    --docs-hub-text-secondary: #697386;
    --docs-hub-border: #e3e8ee;
    --docs-hub-link: #635bff;
    --docs-hub-code-bg: #f7f8fa;
    --docs-hub-success: #0cce6b;
    --docs-hub-warning: #f5a623;
    --docs-hub-error: #ff3860;
    --docs-hub-header-height: 64px;
    --docs-hub-sidebar-width: 280px;
    --docs-hub-toc-width: 220px;
    --docs-hub-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --docs-hub-radius: 8px;
    --docs-hub-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --docs-hub-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --docs-hub-transition: all 0.2s ease;
}

/* ===== Container Reset ===== */
#docs-hub-app.docs-hub-container {
    all: initial;
    display: block;
    font-family: var(--docs-hub-font) !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: var(--docs-hub-text) !important;
    background: var(--docs-hub-bg) !important;
    min-height: 100vh;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
    z-index: 99990 !important;
    overflow: auto !important;
}

#docs-hub-app.docs-hub-container *,
#docs-hub-app.docs-hub-container *::before,
#docs-hub-app.docs-hub-container *::after {
    box-sizing: border-box !important;
    font-family: inherit;
}

#docs-hub-app.docs-hub-container a {
    text-decoration: none;
    color: inherit;
}

#docs-hub-app.docs-hub-container ul,
#docs-hub-app.docs-hub-container ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

#docs-hub-app.docs-hub-container h1,
#docs-hub-app.docs-hub-container h2,
#docs-hub-app.docs-hub-container h3,
#docs-hub-app.docs-hub-container h4,
#docs-hub-app.docs-hub-container h5,
#docs-hub-app.docs-hub-container h6,
#docs-hub-app.docs-hub-container p {
    margin: 0;
    padding: 0;
}

/* ===== Header ===== */
#docs-hub-app .docs-hub-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: var(--docs-hub-header-height) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid var(--docs-hub-border) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 24px !important;
    z-index: 99999 !important;
    backdrop-filter: blur(8px);
    margin: 0 !important;
}

#docs-hub-app .docs-hub-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

#docs-hub-app .docs-hub-mobile-toggle {
    display: none !important;
    background: none !important;
    border: none !important;
    padding: 8px !important;
    cursor: pointer !important;
    color: var(--docs-hub-text) !important;
    border-radius: var(--docs-hub-radius) !important;
    transition: var(--docs-hub-transition) !important;
}

#docs-hub-app .docs-hub-mobile-toggle:hover {
    background: var(--docs-hub-sidebar-bg) !important;
}

#docs-hub-app .docs-hub-logo {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: linear-gradient(135deg, var(--docs-hub-primary), #a855f7) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    line-height: 1.2 !important;
}

/* Logo Image */
#docs-hub-app .docs-hub-logo-link {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

#docs-hub-app .docs-hub-logo-img {
    height: 36px !important;
    width: auto !important;
    max-width: 180px !important;
    object-fit: contain !important;
}

/* Search */
#docs-hub-app .docs-hub-header-center {
    flex: 1 !important;
    max-width: 480px !important;
    margin: 0 40px !important;
}

#docs-hub-app .docs-hub-search-wrapper {
    position: relative !important;
}

#docs-hub-app .docs-hub-search-input {
    width: 100% !important;
    height: 42px !important;
    padding: 0 16px 0 44px !important;
    border: 1px solid var(--docs-hub-border) !important;
    border-radius: 100px !important;
    font-size: 14px !important;
    font-family: inherit !important;
    background: var(--docs-hub-sidebar-bg) !important;
    transition: var(--docs-hub-transition) !important;
    outline: none !important;
    box-shadow: none !important;
}

#docs-hub-app .docs-hub-search-input:focus {
    outline: none !important;
    border-color: var(--docs-hub-primary) !important;
    background: var(--docs-hub-bg) !important;
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15) !important;
}

#docs-hub-app .docs-hub-search-icon {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--docs-hub-text-secondary) !important;
    pointer-events: none !important;
    width: 20px !important;
    height: 20px !important;
}

#docs-hub-app .docs-hub-search-results {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    background: var(--docs-hub-bg) !important;
    border: 1px solid var(--docs-hub-border) !important;
    border-radius: var(--docs-hub-radius) !important;
    box-shadow: var(--docs-hub-shadow-lg) !important;
    max-height: 400px !important;
    overflow-y: auto !important;
    display: none;
    z-index: 100001 !important;
}

#docs-hub-app .docs-hub-search-result {
    display: block !important;
    padding: 12px 16px !important;
    color: var(--docs-hub-text) !important;
    text-decoration: none !important;
    border-bottom: 1px solid var(--docs-hub-border) !important;
    transition: var(--docs-hub-transition) !important;
}

#docs-hub-app .docs-hub-search-result:last-child {
    border-bottom: none !important;
}

#docs-hub-app .docs-hub-search-result:hover,
#docs-hub-app .docs-hub-search-result.active {
    background: var(--docs-hub-sidebar-bg) !important;
}

#docs-hub-app .docs-hub-search-result-title {
    font-weight: 500 !important;
}

#docs-hub-app .docs-hub-search-no-results {
    padding: 20px 16px !important;
    text-align: center !important;
    color: var(--docs-hub-text-secondary) !important;
}

/* Language Selector */
#docs-hub-app .docs-hub-header-right {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

#docs-hub-app .docs-hub-language-selector {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
}

#docs-hub-app .docs-hub-lang-icon-left {
    position: absolute !important;
    left: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    pointer-events: none !important;
    color: var(--docs-hub-text-secondary) !important;
    width: 16px !important;
    height: 16px !important;
    z-index: 1 !important;
}

#docs-hub-app .docs-hub-language-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    padding: 6px 28px 6px 28px !important;
    border: 1px solid var(--docs-hub-border) !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-family: inherit !important;
    background: var(--docs-hub-bg) !important;
    cursor: pointer !important;
    transition: var(--docs-hub-transition) !important;
    min-width: 100px !important;
    height: 32px !important;
    line-height: 1 !important;
}

#docs-hub-app .docs-hub-language-select:hover {
    border-color: var(--docs-hub-primary) !important;
}

#docs-hub-app .docs-hub-language-select:focus {
    outline: none !important;
    border-color: var(--docs-hub-primary) !important;
    box-shadow: 0 0 0 2px rgba(99, 91, 255, 0.15) !important;
}

#docs-hub-app .docs-hub-lang-arrow {
    position: absolute !important;
    right: 6px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    pointer-events: none !important;
    color: var(--docs-hub-text-secondary) !important;
    width: 14px !important;
    height: 14px !important;
}

#docs-hub-app .docs-hub-language-icon {
    position: absolute !important;
    right: 12px !important;
    pointer-events: none !important;
    color: var(--docs-hub-text-secondary) !important;
}

/* ===== Main Layout ===== */
#docs-hub-app .docs-hub-main {
    display: flex !important;
    padding-top: var(--docs-hub-header-height) !important;
    min-height: 100vh !important;
    background: var(--docs-hub-bg) !important;
}

/* ===== Sidebar ===== */
#docs-hub-app .docs-hub-sidebar {
    position: fixed !important;
    top: var(--docs-hub-header-height) !important;
    left: 0 !important;
    bottom: 0 !important;
    width: var(--docs-hub-sidebar-width) !important;
    background: var(--docs-hub-sidebar-bg) !important;
    border-right: 1px solid var(--docs-hub-border) !important;
    overflow-y: auto !important;
    padding: 24px 0 !important;
    z-index: 99998 !important;
}

#docs-hub-app .docs-hub-nav {
    padding: 0 16px !important;
}

#docs-hub-app .docs-hub-nav-empty {
    padding: 20px !important;
    text-align: center !important;
    color: var(--docs-hub-text-secondary) !important;
}

/* Nav Items */
#docs-hub-app .docs-hub-nav-item {
    margin-bottom: 2px !important;
}

#docs-hub-app .docs-hub-nav-item[data-depth="0"]>.docs-hub-nav-link {
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    letter-spacing: 0.5px !important;
    color: var(--docs-hub-text-secondary) !important;
    padding: 12px 12px 8px !important;
}

#docs-hub-app .docs-hub-nav-item[data-depth="0"]>.docs-hub-nav-link:hover {
    color: var(--docs-hub-text) !important;
}

#docs-hub-app .docs-hub-nav-link {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 12px !important;
    color: var(--docs-hub-text) !important;
    text-decoration: none !important;
    border-radius: var(--docs-hub-radius) !important;
    font-size: 14px !important;
    transition: var(--docs-hub-transition) !important;
    cursor: pointer !important;
}

#docs-hub-app .docs-hub-nav-link:hover {
    background: rgba(99, 91, 255, 0.08) !important;
    color: var(--docs-hub-primary) !important;
}

#docs-hub-app .docs-hub-nav-link.active {
    background: var(--docs-hub-primary) !important;
    color: #ffffff !important;
}

#docs-hub-app .docs-hub-nav-link.active .docs-hub-nav-arrow {
    color: #ffffff !important;
}

#docs-hub-app .docs-hub-nav-link.active .docs-hub-nav-text {
    color: #ffffff !important;
}

#docs-hub-app .docs-hub-nav-arrow {
    flex-shrink: 0 !important;
    transition: transform 0.2s !important;
    width: 16px !important;
    height: 16px !important;
}

#docs-hub-app .docs-hub-nav-item.expanded>.docs-hub-nav-link .docs-hub-nav-arrow {
    transform: rotate(90deg) !important;
}

#docs-hub-app .docs-hub-nav-text {
    flex: 1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* Nav Children */
#docs-hub-app .docs-hub-nav-children {
    display: none !important;
    padding-left: 12px !important;
    margin-top: 2px !important;
}

#docs-hub-app .docs-hub-nav-item.expanded>.docs-hub-nav-children {
    display: block !important;
}

/* ===== Content ===== */
#docs-hub-app .docs-hub-content {
    flex: 1 !important;
    margin-left: var(--docs-hub-sidebar-width) !important;
    margin-right: var(--docs-hub-toc-width) !important;
    padding: 24px 60px !important;
    max-width: calc(100% - var(--docs-hub-sidebar-width) - var(--docs-hub-toc-width)) !important;
    min-height: calc(100vh - var(--docs-hub-header-height)) !important;
    background: var(--docs-hub-bg) !important;
}

#docs-hub-app .docs-hub-content-inner {
    max-width: 800px !important;
    margin: 0 auto !important;
}

/* Loading */
#docs-hub-app .docs-hub-loading {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 80px 20px !important;
    color: var(--docs-hub-text-secondary) !important;
}

#docs-hub-app .docs-hub-loading-spinner {
    width: 40px !important;
    height: 40px !important;
    border: 3px solid var(--docs-hub-border) !important;
    border-top-color: var(--docs-hub-primary) !important;
    border-radius: 50% !important;
    animation: docs-hub-spin 0.8s linear infinite !important;
}

@keyframes docs-hub-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Article */
#docs-hub-app .docs-hub-article {
    animation: docs-hub-fadeIn 0.3s ease !important;
}

@keyframes docs-hub-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#docs-hub-app .docs-hub-topic-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    color: var(--docs-hub-text) !important;
}

/* Sections */
#docs-hub-app .docs-hub-section {
    margin-bottom: 48px !important;
}

#docs-hub-app .docs-hub-section-title {
    font-size: 24px !important;
    font-weight: 600 !important;
    margin: 0 0 16px !important;
    padding: 0 0 12px 0 !important;
    color: var(--docs-hub-text) !important;
    border-bottom: 1px solid var(--docs-hub-border) !important;
    line-height: 1.3 !important;
}

#docs-hub-app .docs-hub-section-content {
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: var(--docs-hub-text) !important;
}

#docs-hub-app .docs-hub-section-content p {
    margin: 0 0 16px !important;
    padding: 0 !important;
}

#docs-hub-app .docs-hub-section-content ul,
#docs-hub-app .docs-hub-section-content ol {
    margin: 0 0 16px !important;
    padding-left: 24px !important;
    list-style: disc !important;
}

#docs-hub-app .docs-hub-section-content ol {
    list-style: decimal !important;
}

#docs-hub-app .docs-hub-section-content li {
    margin-bottom: 8px !important;
}

#docs-hub-app .docs-hub-section-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: var(--docs-hub-radius) !important;
    margin: 16px 0 !important;
}

#docs-hub-app .docs-hub-section-content a {
    color: var(--docs-hub-primary) !important;
    text-decoration: none !important;
}

#docs-hub-app .docs-hub-section-content a:hover {
    text-decoration: underline !important;
}

#docs-hub-app .docs-hub-section-content code {
    background: var(--docs-hub-code-bg) !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-family: 'Fira Code', 'Monaco', 'Consolas', monospace !important;
}

#docs-hub-app .docs-hub-section-content pre {
    background: #1e293b !important;
    color: #e2e8f0 !important;
    padding: 20px !important;
    border-radius: var(--docs-hub-radius) !important;
    overflow-x: auto !important;
    margin: 16px 0 !important;
}

#docs-hub-app .docs-hub-section-content pre code {
    background: none !important;
    padding: 0 !important;
    color: inherit !important;
}

/* Video */
#docs-hub-app .docs-hub-video-wrapper {
    position: relative !important;
    padding-bottom: 56.25% !important;
    height: 0 !important;
    overflow: hidden !important;
    border-radius: var(--docs-hub-radius) !important;
    background: #000 !important;
    margin-bottom: 24px !important;
}

#docs-hub-app .docs-hub-video-wrapper iframe,
#docs-hub-app .docs-hub-video-wrapper video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}

/* Navigation Buttons */
#docs-hub-app .docs-hub-nav-buttons {
    display: flex !important;
    justify-content: space-between !important;
    gap: 20px !important;
    margin: 24px 0 !important;
}

#docs-hub-app .docs-hub-nav-buttons-bottom {
    margin-top: 48px !important;
    padding-top: 24px !important;
    border-top: 1px solid var(--docs-hub-border) !important;
}

#docs-hub-app .docs-hub-nav-btn {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 16px 20px !important;
    background: var(--docs-hub-sidebar-bg) !important;
    border: 1px solid var(--docs-hub-border) !important;
    border-radius: var(--docs-hub-radius) !important;
    text-decoration: none !important;
    color: var(--docs-hub-text) !important;
    transition: var(--docs-hub-transition) !important;
    flex: 1 !important;
    max-width: 280px !important;
    cursor: pointer !important;
}

#docs-hub-app .docs-hub-nav-btn:hover {
    border-color: var(--docs-hub-primary) !important;
    background: rgba(99, 91, 255, 0.05) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--docs-hub-shadow) !important;
}

#docs-hub-app .docs-hub-nav-prev {
    text-align: left !important;
}

#docs-hub-app .docs-hub-nav-next {
    text-align: right !important;
    margin-left: auto !important;
}

#docs-hub-app .docs-hub-nav-btn-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

#docs-hub-app .docs-hub-nav-btn-label {
    font-size: 12px !important;
    color: var(--docs-hub-text-secondary) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

#docs-hub-app .docs-hub-nav-btn-title {
    font-weight: 600 !important;
    color: var(--docs-hub-primary) !important;
}

#docs-hub-app .docs-hub-nav-btn-placeholder {
    flex: 1 !important;
    max-width: 280px !important;
}

#docs-hub-app .docs-hub-nav-btn svg {
    flex-shrink: 0 !important;
    color: var(--docs-hub-primary) !important;
    width: 20px !important;
    height: 20px !important;
}

/* ===== TOC (Table of Contents) ===== */
#docs-hub-app .docs-hub-toc {
    position: fixed !important;
    top: var(--docs-hub-header-height) !important;
    right: 0 !important;
    bottom: 0 !important;
    width: var(--docs-hub-toc-width) !important;
    padding: 40px 20px !important;
    overflow-y: auto !important;
    border-left: 1px solid var(--docs-hub-border) !important;
    background: var(--docs-hub-bg) !important;
}

#docs-hub-app .docs-hub-toc-title {
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: var(--docs-hub-text-secondary) !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
}

#docs-hub-app .docs-hub-toc-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#docs-hub-app .docs-hub-toc-list li {
    margin-bottom: 8px !important;
}

#docs-hub-app .docs-hub-toc-link {
    display: block !important;
    font-size: 13px !important;
    color: var(--docs-hub-text-secondary) !important;
    text-decoration: none !important;
    padding: 4px 0 4px 12px !important;
    border-left: 2px solid transparent !important;
    transition: var(--docs-hub-transition) !important;
}

#docs-hub-app .docs-hub-toc-link:hover {
    color: var(--docs-hub-primary) !important;
    border-left-color: var(--docs-hub-primary) !important;
}

/* ===== Empty Content ===== */
#docs-hub-app .docs-hub-empty-content {
    text-align: center !important;
    padding: 80px 20px !important;
}

#docs-hub-app .docs-hub-empty-content h2 {
    margin: 0 0 12px !important;
    font-size: 28px !important;
}

#docs-hub-app .docs-hub-empty-content p {
    color: var(--docs-hub-text-secondary) !important;
}

/* ===== Error State ===== */
#docs-hub-app .docs-hub-error {
    text-align: center !important;
    padding: 60px 20px !important;
    color: var(--docs-hub-error) !important;
}

/* ===== Responsive ===== */
@media screen and (max-width: 1200px) {
    #docs-hub-app .docs-hub-toc {
        display: none !important;
    }

    #docs-hub-app .docs-hub-content {
        margin-right: 0 !important;
        max-width: calc(100% - var(--docs-hub-sidebar-width)) !important;
    }
}

@media screen and (max-width: 900px) {
    #docs-hub-app .docs-hub-mobile-toggle {
        display: flex !important;
    }

    #docs-hub-app .docs-hub-sidebar {
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        box-shadow: none !important;
    }

    #docs-hub-app .docs-hub-sidebar.active {
        transform: translateX(0) !important;
        box-shadow: var(--docs-hub-shadow-lg) !important;
    }

    #docs-hub-app .docs-hub-content {
        margin-left: 0 !important;
        max-width: 100% !important;
        padding: 32px 24px !important;
    }

    #docs-hub-app .docs-hub-header-center {
        margin: 0 16px !important;
    }
}

@media screen and (max-width: 600px) {
    #docs-hub-app .docs-hub-logo {
        font-size: 16px !important;
    }

    #docs-hub-app .docs-hub-header-center {
        display: none !important;
    }

    #docs-hub-app .docs-hub-content {
        padding: 24px 16px !important;
    }

    #docs-hub-app .docs-hub-topic-title {
        font-size: 28px !important;
    }

    #docs-hub-app .docs-hub-nav-buttons {
        flex-direction: column !important;
    }

    #docs-hub-app .docs-hub-nav-btn {
        max-width: none !important;
    }
}

/* ===== Scrollbar ===== */
#docs-hub-app .docs-hub-sidebar::-webkit-scrollbar,
#docs-hub-app .docs-hub-toc::-webkit-scrollbar,
#docs-hub-app .docs-hub-search-results::-webkit-scrollbar {
    width: 6px !important;
}

#docs-hub-app .docs-hub-sidebar::-webkit-scrollbar-track,
#docs-hub-app .docs-hub-toc::-webkit-scrollbar-track,
#docs-hub-app .docs-hub-search-results::-webkit-scrollbar-track {
    background: transparent !important;
}

#docs-hub-app .docs-hub-sidebar::-webkit-scrollbar-thumb,
#docs-hub-app .docs-hub-toc::-webkit-scrollbar-thumb,
#docs-hub-app .docs-hub-search-results::-webkit-scrollbar-thumb {
    background: var(--docs-hub-border) !important;
    border-radius: 3px !important;
}

#docs-hub-app .docs-hub-sidebar::-webkit-scrollbar-thumb:hover,
#docs-hub-app .docs-hub-toc::-webkit-scrollbar-thumb:hover,
#docs-hub-app .docs-hub-search-results::-webkit-scrollbar-thumb:hover {
    background: var(--docs-hub-text-secondary) !important;
}

/* ===== Print Styles ===== */
@media print {

    #docs-hub-app .docs-hub-header,
    #docs-hub-app .docs-hub-sidebar,
    #docs-hub-app .docs-hub-toc,
    #docs-hub-app .docs-hub-nav-buttons {
        display: none !important;
    }

    #docs-hub-app .docs-hub-content {
        margin: 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
    }
}

/* ===== WordPress Admin Bar Adjustment ===== */
body.admin-bar #docs-hub-app .docs-hub-header {
    top: 32px !important;
}

body.admin-bar #docs-hub-app .docs-hub-sidebar,
body.admin-bar #docs-hub-app .docs-hub-toc {
    top: calc(var(--docs-hub-header-height) + 32px) !important;
}

body.admin-bar #docs-hub-app .docs-hub-main {
    padding-top: calc(var(--docs-hub-header-height) + 32px) !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar #docs-hub-app .docs-hub-header {
        top: 46px !important;
    }

    body.admin-bar #docs-hub-app .docs-hub-sidebar,
    body.admin-bar #docs-hub-app .docs-hub-toc {
        top: calc(var(--docs-hub-header-height) + 46px) !important;
    }

    body.admin-bar #docs-hub-app .docs-hub-main {
        padding-top: calc(var(--docs-hub-header-height) + 46px) !important;
    }
}