.docs-app {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 250px;
    min-height: calc(100vh - 80px);
    background: #ffffff;
}

.docs-sidebar,
.docs-toc {
    position: sticky;
    top: 70px;
    align-self: start;
    height: calc(100vh - 70px);
    overflow: auto;
    background: #f4f5f7;
    border-color: #e1e4e8;
}

.docs-sidebar {
    border-right: 1px solid #e1e4e8;
}

.docs-toc {
    border-left: 1px solid #e1e4e8;
}

.docs-sidebar-head,
.docs-toc-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-bottom: 1px solid #e1e4e8;
    color: #57606a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.docs-nav-toggle,
.docs-nav-close {
    display: none;
    align-items: center;
    justify-content: center;
    color: #24292f;
    cursor: pointer;
    font-family: inherit;
}

.docs-nav-toggle {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
}

.docs-nav-toggle img {
    width: 30px;
    height: 30px;
    display: block;
    opacity: 0.75;
}

.docs-nav-close {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #d7dbe0;
    border-radius: 7px;
    background: #ffffff;
}

.docs-nav-close span {
    position: relative;
    width: 16px;
    height: 16px;
    display: block;
}

.docs-nav-close span::before,
.docs-nav-close span::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 1px;
    width: 14px;
    border-top: 2px solid currentColor;
}

.docs-nav-close span::before {
    transform: rotate(45deg);
}

.docs-nav-close span::after {
    transform: rotate(-45deg);
}

.docs-nav-toggle:hover img {
    opacity: 1;
}

.docs-nav-close:hover {
    border-color: #bcc6d2;
    background: #f6f8fa;
}

.docs-nav-toggle:focus,
.docs-nav-close:focus {
    outline: none;
}

.docs-nav-toggle:focus img {
    opacity: 1;
    filter: drop-shadow(0 0 3px rgba(9, 105, 218, 0.32));
}

.docs-nav-close:focus {
    border-color: #9cb5d3;
    box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.12);
}

.docs-sidebar-language {
    padding: 3px 7px;
    border-radius: 999px;
    background: #e8eaed;
    color: #24292f;
    font-size: 11px;
}

.docs-sidebar-tree,
.docs-toc-list {
    padding: 10px 10px 20px;
}

.docs-main {
    min-width: 0;
}

.docs-content-topbar {
    position: sticky;
    top: 70px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 44px;
    padding: 0 18px;
    border-bottom: 1px solid #e1e4e8;
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.docs-content-topbar-left {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.docs-search-form {
    flex: 0 0 280px;
    display: flex;
    align-items: center;
    margin: 0;
}

.docs-search-field {
    width: 100%;
    height: 31px;
    display: block;
    position: relative;
    border: 1px solid #d7dbe0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.docs-search-icon-wrap {
    position: absolute;
    left: 3px;
    top: 3px;
    bottom: 3px;
    width: 28px;
    border-right: 1px solid #d7dbe0;    
    
}

.docs-search-icon {
    width: 22px;
    height: 22px;
    opacity: 0.65;
    padding-top: 2px;
    padding-left: 3px;
}

.docs-search-input-wrap {
    position: absolute;
    left: 40px;
    top: 3px;
    right: 14px;
    bottom: 3px;
}

input.docs-search-input {
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #1f2933;
    font: inherit;
    font-size: 1rem;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.docs-search-input::-webkit-search-decoration,
.docs-search-input::-webkit-search-cancel-button,
.docs-search-input::-webkit-search-results-button,
.docs-search-input::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.docs-search-input::placeholder {
    color: #a0a8b4;
}

.docs-search-input:focus {
    outline: none;
}

.docs-search-field:focus-within {
    border-color: #9d9d9d;    
}

.docs-content {
    width: min(100% - 60px);
    margin: 0 auto;
    padding: 20px 0 20px;
}

.docs-breadcrumbs {
    margin: 0;
}

.docs-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.92rem;
}

.docs-breadcrumb-item {
    color: #667085;
}

.docs-breadcrumb-item:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: #9aa4b2;
}

.docs-breadcrumb-item a {
    color: var(--iozer-color);
    text-decoration: none;
}

.docs-breadcrumb-item a:hover {
    text-decoration: underline;
}

.docs-breadcrumb-item.is-active {
    color: #24292f;
    font-weight: 700;
}

.docs-article h1,
.docs-article h2,
.docs-article h3,
.docs-article h4 {
    color: #1f2933;
    text-align: left;
}

.docs-article h1 {
    margin: 0 0 20px;
    font-size: 2.6rem;
    line-height: 1.15;
}

.docs-article h2 {
    margin: 36px 0 14px;
    font-size: 1.75rem;
}

.docs-article h3 {
    margin: 26px 0 10px;
    font-size: 1.35rem;
}

.docs-article p,
.docs-article li {
    color: #24292f;
    font-size: 1.03rem;
    line-height: 1.78;
}

.docs-article p {
    text-align: left;
}

.docs-article a {
    color: #0969da;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.docs-article ul,
.docs-article ol {
    padding-left: 24px;
}

.docs-article blockquote {
    margin: 18px 0;
    padding: 12px 16px;
    border-left: 4px solid #54ae6f;
    background: #eef9f0;
    color: #1f6f3f;
}

.docs-article .docs-highlight {
    padding: 0.08em 0.28em;
    border-radius: 0.28em;
    background: #fff1a8;
    color: inherit;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.docs-callout {
    --docs-callout-color: 8, 109, 221;
    margin: 20px 0;
    border: 1px solid rgba(var(--docs-callout-color), 0.18);
    border-left-width: 4px;
    border-radius: 8px;
    background: rgba(var(--docs-callout-color), 0.1);
    color: #1f2933;
    overflow: hidden;
}

.docs-callout-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: rgb(var(--docs-callout-color));
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.35;
}

.docs-callout-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.docs-callout-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.docs-callout-title-text {
    min-width: 0;
}

.docs-callout-body {
    padding: 0 14px 12px;
}

.docs-callout-body,
.docs-callout-body p,
.docs-callout-body li {
    font-size: 0.98rem;
    line-height: 1.7;
}

.docs-callout-body > :first-child {
    margin-top: 0;
}

.docs-callout-body > :last-child {
    margin-bottom: 0;
}

.docs-callout-foldable > summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.docs-callout-foldable > summary::-webkit-details-marker {
    display: none;
}

.docs-callout-fold-marker {
    margin-left: auto;
    width: 14px;
    height: 14px;
    position: relative;
    flex: 0 0 14px;
    opacity: 0.8;
}

.docs-callout-fold-marker::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.18s ease;
}

.docs-callout-foldable[open] .docs-callout-fold-marker::before {
    transform: rotate(45deg) translate(1px, 1px);
}

.docs-callout-note { --docs-callout-color: 8, 109, 221; }
.docs-callout-abstract { --docs-callout-color: 0, 191, 188; }
.docs-callout-info { --docs-callout-color: 8, 109, 221; }
.docs-callout-todo { --docs-callout-color: 8, 109, 221; }
.docs-callout-tip { --docs-callout-color: 0, 191, 188; }
.docs-callout-success { --docs-callout-color: 8, 185, 78; }
.docs-callout-question { --docs-callout-color: 236, 117, 0; }
.docs-callout-warning { --docs-callout-color: 236, 117, 0; }
.docs-callout-failure { --docs-callout-color: 233, 49, 71; }
.docs-callout-danger { --docs-callout-color: 233, 49, 71; }
.docs-callout-bug { --docs-callout-color: 120, 82, 238; }
.docs-callout-example { --docs-callout-color: 120, 82, 238; }
.docs-callout-quote { --docs-callout-color: 158, 158, 158; }

.docs-article table {
    width: 100%;
    margin: 18px 0;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.docs-article th,
.docs-article td {
    padding: 8px 10px;
    border: 1px solid #d0d7de;
    text-align: left;
}

.docs-article th {
    background: #f6f8fa;
}

.docs-article pre {
    position: relative;
    overflow: auto;
    margin: 22px 0;
    padding: 18px 20px;
    border: 1px solid #d7dde5;
    border-radius: 10px;
    background: #f7f9fc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.docs-article code {
    font-family: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.9em;
}

.docs-article :not(pre) > code {
    padding: 0.18em 0.38em;
    border: 1px solid #dde3ea;
    border-radius: 5px;
    background: #f3f5f8;
    color: #0f172a;
}

.docs-article pre code {
    display: block;
    min-width: max-content;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1e293b;
    font-size: 0.93rem;
    line-height: 1.65;
}

.docs-article pre code.hljs {
    padding: 0;
    background: transparent;
}

.docs-code-copy {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #d7dde5;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    color: #52606d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.docs-code-copy:hover {
    border-color: #bcc6d2;
    background: #ffffff;
    color: #0f172a;
}

.docs-code-copy:focus {
    outline: none;
    border-color: #9cb5d3;
    box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.12);
}

.docs-code-copy.is-copied {
    border-color: #b7e1c1;
    color: #1f7a3e;
    background: #f1fbf4;
}

.docs-code-copy svg {
    width: 18px;
    height: 18px;
    display: block;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.docs-article img {
    display: block;
    max-width: min(100%, 680px);
    margin: 24px auto;
    border-radius: 10px;
}

.docs-figure {
    max-width: min(100%, 680px);
    margin: 24px auto;
}

.docs-figure img {
    max-width: 100%;
    margin: 0 auto;
}

.docs-figure-caption {
    margin-top: 8px;
    color: #667085;
    font-size: 0.92rem;
    line-height: 1.45;
    text-align: center;
}

.docs-article img[data-docs-lightbox="true"] {
    cursor: zoom-in;
}

.docs-article img[data-docs-lightbox="true"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.16);
}

.docs-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 28px 32px;
    box-sizing: border-box;
    background: rgba(15, 23, 42, 0.9);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.docs-lightbox[hidden] {
    display: none;
}

.docs-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

body.docs-lightbox-open {
    overflow: hidden;
}

.docs-lightbox-image {
    max-width: min(100%, 1200px);
    max-height: calc(100vh - 150px);
    object-fit: contain;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.docs-lightbox-caption {
    max-width: min(100%, 900px);
    margin-top: 14px;
    color: #f8fafc;
    font-size: 0.98rem;
    line-height: 1.55;
    text-align: center;
}

.docs-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    color: #1f2933;
    cursor: pointer;
}

.docs-lightbox-close:hover {
    background: #ffffff;
}

.docs-lightbox-close:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.5);
}

.docs-lightbox-close span {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
    margin: 0 auto;
}

.docs-lightbox-close span::before,
.docs-lightbox-close span::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 1px;
    width: 16px;
    border-top: 2px solid currentColor;
}

.docs-lightbox-close span::before {
    transform: rotate(45deg);
}

.docs-lightbox-close span::after {
    transform: rotate(-45deg);
}

.docs-search-results {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.docs-search-result {
    padding: 16px 0;
    border-top: 1px solid #eaeef2;
}

.docs-search-result:first-child {
    border-top: 0;
    padding-top: 8px;
}

.docs-search-result-link {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 1.06rem;
    font-weight: 700;
}

.docs-search-result-snippet {
    color: #57606a;
    font-size: 0.94rem;
    line-height: 1.65;
}

.docs-search-highlight {
    padding: 0.04em 0.22em;
    border-radius: 0.24em;
    background: #fff1a8;
    color: #0f172a;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.docs-tree,
.docs-toc-list {
    list-style: none;
    margin: 0;
}

.docs-tree {
    padding: 0;
}

.docs-tree details > summary {
    cursor: pointer;
    list-style: none;
}

.docs-tree details > summary::-webkit-details-marker {
    display: none;
}

.docs-tree-item {
    margin: 2px 0;
}

.docs-tree a,
.docs-toc a {
    display: block;
    padding: 6px 8px;
    border-radius: 6px;
    color: #30363d;
    font-size: 0.92rem;
    line-height: 1.25;
    text-decoration: none;
}

.docs-tree-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35em;
    margin-right: 6px;
    opacity: 0.9;
    vertical-align: middle;
}

.docs-tree-icon-image img {
    width: 18px;
    height: 18px;
    display: block;
}

.docs-tree a:hover,
.docs-toc a:hover,
.docs-tree-item.is-active > a,
.docs-tree-item.is-active > details > summary > a {
    background: #dfe4ea;
    color: #0f172a;
    text-decoration: none;
}

.docs-tree summary > a {
    display: inline-block;
    width: calc(100% - 8px);
}

.docs-tree ul {
    margin-left: 12px;
    padding-left: 10px;
    border-left: 1px solid #d9dde3;
}

.docs-toc-list a {
    color: #57606a;
    font-size: 0.86rem;
}

.docs-toc-level-1 a { padding-left: 8px; }
.docs-toc-level-2 a { padding-left: 16px; }
.docs-toc-level-3 a { padding-left: 24px; }
.docs-toc-level-4 a,
.docs-toc-level-5 a,
.docs-toc-level-6 a { padding-left: 32px; }

@media (max-width: 1100px) {
    .docs-app {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .docs-toc {
        display: none;
    }
}

@media (max-width: 820px) {
    .docs-app {
        grid-template-columns: 1fr;
    }

    body.docs-nav-open {
        overflow: hidden;
    }

    .docs-sidebar {
        position: fixed;
        top: 70px;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 990;
        display: flex;
        flex-direction: column;
        height: calc(100vh - 70px);
        min-height: calc(100vh - 70px);
        max-height: none;
        overflow: hidden;
        box-sizing: border-box;
        border-right: 0;
        border-left: 0;
        border-bottom: 0;
        background: #f4f5f7;
        box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.18);
        opacity: 0;
        pointer-events: none;
        transform: translateY(100%);
        visibility: hidden;
        transition: opacity 0.18s ease, transform 0.22s ease, visibility 0.22s ease;
    }

    body.docs-nav-open .docs-sidebar {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        visibility: visible;
    }

    .docs-sidebar-head {
        min-height: 54px;
        flex: 0 0 auto;
        padding: 0 14px 0 18px;
        background: #f4f5f7;
    }

    .docs-sidebar-tree {
        flex: 1 1 auto;
        overflow: auto;
        padding: 12px 14px max(28px, env(safe-area-inset-bottom));
    }

    .docs-toc {
        display: none;
    }

    .docs-nav-toggle,
    .docs-nav-close {
        display: inline-flex;
    }

    .docs-content {
        width: min(100% - 32px, 760px);
        padding: 32px 0 56px;
    }

    .docs-content-topbar {
        flex-wrap: wrap;
        padding: 10px 16px;
    }

    .docs-content-topbar-left {
        width: 100%;
        flex: 1 1 100%;
    }

    .docs-content-topbar-left .docs-breadcrumbs {
        min-width: 0;
        flex: 1 1 auto;
    }

    .docs-search-form {
        flex-basis: 100%;
    }

    .docs-lightbox {
        padding: 58px 14px 22px;
    }

    .docs-lightbox-image {
        max-height: calc(100vh - 126px);
    }

    .docs-lightbox-close {
        top: 12px;
        right: 12px;
    }
}
