/* Wiki / official product documentation */
.wiki-page {
    line-height: 1.75;
}

.wiki-shell {
    margin: var(--TOP_SAFE) 0 80px;
    padding: 0 2%;
}

.wiki-breadcrumbs {
    margin: 0 0 22px;
    font-size: 13px;
}

.wiki-breadcrumbs a {
    color: #555555;
}

.wiki-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.wiki-explorer {
    position: sticky;
    top: 110px;
    border: 1px solid #afafaf8b;
    border-radius: 8px;
    padding: 14px;
    background-color: rgba(255, 255, 255, 0.82);
}

.wiki-explorer-title {
    margin: 0 0 10px;
    font-size: 14px;
}

.wiki-explorer details {
    margin: 5px 0;
}

.wiki-explorer summary {
    cursor: pointer;
    font-weight: 600;
}

.wiki-explorer ul {
    list-style: none;
    margin: 4px 0 8px;
    padding-left: 16px;
}

.wiki-explorer li {
    margin: 4px 0;
}

.wiki-explorer a {
    color: #555555;
    text-decoration: none;
}

.wiki-explorer a:hover,
.wiki-explorer a[aria-current="page"] {
    color: #111111;
    text-decoration: underline;
}

.wiki-explorer a[aria-current="page"] {
    font-weight: 700;
}

.wiki-document {
    min-width: 0;
    padding: 28px 36px;
    border: 1px solid #afafaf8b;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.88);
}

.wiki-document h1 {
    margin: 0;
    color: #333333;
    font-size: 28px;
}

.wiki-document h2 {
    margin-top: 2em;
    padding-bottom: 6px;
    border-bottom: 1px solid #d4d4d4;
    color: #333333;
}

.wiki-document h3 {
    margin-top: 1.6em;
    color: #333333;
}

.wiki-document img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 18px 0;
    border: 1px solid #dddddd;
    border-radius: 4px;
    cursor: zoom-in;
}

.wiki-table-wrap {
    overflow-x: auto;
    margin: 18px 0;
}

.wiki-document table {
    width: 100%;
    border-collapse: collapse;
}

.wiki-document th,
.wiki-document td {
    border: 1px solid #afafaf8b;
    padding: 9px 12px;
    text-align: left;
    vertical-align: top;
}

.wiki-document th {
    background: rgba(212, 212, 212, 0.55);
}

.wiki-document img.wiki-image-expanded {
    position: fixed;
    z-index: 10000;
    top: 50%;
    left: 50%;
    max-width: 92vw;
    max-height: 92vh;
    margin: 0;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.7);
    cursor: zoom-out;
}

.wiki-document pre {
    overflow-x: auto;
    padding: 14px;
    border-radius: 6px;
    background: #2b2b2b;
    color: #f2f2f2;
}

.wiki-document code {
    font-family: Consolas, Monaco, monospace;
}

.wiki-document :not(pre) > code {
    padding: 1px 4px;
    border-radius: 3px;
    background: #eeeeee;
}

.wiki-updated {
    margin: 6px 0 26px;
    color: #777777;
    font-size: 13px;
}

.wiki-product-notice {
    display: inline-block;
    margin: 10px 0 18px;
    border-radius: 4px;
    padding: 7px 11px;
    background: #555555;
    color: #ffffff;
    font-size: 14px;
}

.wiki-product-notice a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.wiki-product-notice a:hover {
    color: #eeeeee;
    text-decoration: none;
}

.wiki-product-notice.is-discontinued {
    background: #7f2020;
    color: #ffffff;
}

.wiki-empty {
    margin: 0;
}

@media screen and (max-width: 959px) {
    .wiki-shell {
        margin-top: var(--TOP_SAFE);
        padding: 0 var(--LR_SAFE_MOBILE);
    }

    .wiki-layout {
        display: block;
    }

    .wiki-explorer {
        position: static;
        margin-bottom: 18px;
    }

    .wiki-document {
        padding: 22px 18px;
    }

    .wiki-document h1 {
        font-size: 24px;
    }
}

/* Wiki documentation layout */
body.wiki-page {
    background-color: transparent;
    overflow-x: hidden;
}

.wiki-page #particles-js {
    z-index: 0;
    background-color: transparent;
}

.wiki-page .header_title {
    padding-left: 20px;
}

.wiki-page header {
    background-color: rgb(255, 255, 255);
}

.wiki-page #partner_baner {
    position: relative;
    z-index: 1;
}

.wiki-shell {
    position: relative;
    z-index: 1;
    margin: 90px 0 0;
    padding: 0;
}

.wiki-layout {
    display: block;
}

.wiki-explorer {
    position: fixed;
    z-index: 5;
    top: 90px;
    bottom: 0;
    left: 0;
    box-sizing: border-box;
    width: 330px;
    margin: 0;
    overflow-y: auto;
    border: 0;
    border-right: 1px solid #afafaf8b;
    border-radius: 0;
    padding: 22px 16px 40px;
    background: rgba(255, 255, 255, 0.5);
}

.wiki-explorer-toggle {
    display: none;
}

.wiki-explorer-tree {
    min-width: 0;
}

.wiki-explorer a:hover,
.wiki-explorer a[aria-current="page"] {
    color: #333333;
}

.wiki-explorer a[aria-current="page"] {
    padding: 0;
    background: transparent;
    text-decoration: none;
}

.wiki-explorer details details {
    margin-left: 16px;
}

.wiki-document {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    min-height: calc(100vh - 90px);
    margin: 0 0 0 330px;
    border: 0;
    border-radius: 0;
    padding: 38px clamp(38px, 7vw, 120px) 90px;
    background: rgba(255, 255, 255, 0.5);
}

.wiki-document h1 {
    font-size: clamp(28px, 3vw, 44px);
}

.wiki-document h2 {
    border-bottom-color: #d4d4d4;
}

.wiki-page footer {
    position: relative;
    z-index: 6;
    width: auto;
    margin: 0 0 0 330px;
}

@media screen and (max-width: 959px) {
    .wiki-shell {
        margin-top: 90px;
        padding: 0;
    }

    .wiki-explorer {
        position: static;
        width: auto;
        margin: 0;
        overflow: visible;
        border: 0;
        padding: 0;
        background: transparent;
    }

    .wiki-explorer-toggle {
        display: block;
        width: 100%;
        border: 0;
        border-bottom: 1px solid #afafaf8b;
        padding: 14px var(--LR_SAFE_MOBILE);
        background: rgba(255, 255, 255, 0.5);
        color: #555555;
        font: inherit;
        font-weight: 700;
        text-align: left;
        cursor: pointer;
    }

    .wiki-explorer-tree {
        display: none;
        border-bottom: 1px solid #afafaf8b;
        padding: 14px var(--LR_SAFE_MOBILE) 22px;
        background: rgba(255, 255, 255, 0.5);
    }

    .wiki-explorer.is-open .wiki-explorer-tree {
        display: block;
    }

    .wiki-document {
        min-height: auto;
        margin: 0;
        padding: 28px var(--LR_SAFE_MOBILE) 60px;
    }

    .wiki-page footer {
        margin: 0;
    }
}
