.docs-shell {
    display: grid;
    grid-template-columns: minmax(16rem, 19rem) minmax(0, 1fr);
    min-height: calc(100vh - 13rem);
    background: #fff;
}

.docs-sidebar {
    border-right: 1px solid #e2e8f0;
    background: #f8fafc;
}

.docs-sidebar__inner {
    position: sticky;
    top: 3.75rem;
    max-height: calc(100vh - 3.75rem);
    overflow-y: auto;
    padding: 1.5rem;
}

.docs-sidebar__product {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    color: #0f172a;
    text-decoration: none;
}

.docs-sidebar__product span {
    color: #64748b;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.docs-sidebar__product strong {
    font-size: 1.2rem;
}

.docs-search-form {
    position: relative;
    margin-bottom: 1.25rem;
}

.docs-search-form i {
    position: absolute;
    top: .65rem;
    left: .75rem;
    color: #64748b;
}

.docs-search-form input {
    width: 100%;
    padding: .55rem .75rem .55rem 2.2rem;
    border: 1px solid #cbd5e1;
    border-radius: .65rem;
    background: #fff;
}

.docs-navigation,
.docs-navigation__section,
.docs-navigation__children {
    display: flex;
    flex-direction: column;
}

.docs-navigation {
    gap: .25rem;
}

.docs-navigation__section {
    margin-top: .4rem;
}

.docs-navigation__category,
.docs-navigation__link {
    border-radius: .45rem;
    color: #334155;
    line-height: 1.3;
    text-decoration: none;
}

.docs-navigation__category {
    padding: .55rem .65rem;
    font-weight: 750;
}

.docs-navigation__link {
    padding: .42rem .65rem;
    font-size: .92rem;
}

.docs-navigation__children .docs-navigation__link {
    padding-left: 1rem;
}

.docs-navigation__children .docs-navigation__link--nested {
    padding-left: 1.65rem;
    color: #64748b;
}

.docs-navigation__link:hover,
.docs-navigation__category:hover,
.docs-navigation__link.is-active,
.docs-navigation__section.is-active > .docs-navigation__category {
    background: rgb(21 101 192 / 9%);
    color: #0d5bad;
}

.docs-navigation__link.is-active {
    font-weight: 700;
}

.docs-language-switch {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    margin-top: 1.5rem;
    color: #475569;
    text-decoration: none;
}

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

.docs-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 52rem) minmax(11rem, 15rem);
    gap: 4rem;
    justify-content: center;
    padding: 2.5rem clamp(1.5rem, 4vw, 4rem) 5rem;
}

.docs-article {
    width: min(100%, 52rem);
    margin: 0 auto;
    padding: 2.5rem clamp(1.5rem, 4vw, 4rem) 5rem;
}

.docs-page-grid .docs-article {
    width: 100%;
    margin: 0;
    padding: 0;
}

.docs-breadcrumbs {
    display: flex;
    gap: .55rem;
    margin-bottom: 1.5rem;
    color: #64748b;
    font-size: .9rem;
}

.docs-breadcrumbs a {
    color: #1565c0;
    text-decoration: none;
}

.docs-content {
    color: #1e293b;
    font-size: 1.04rem;
    line-height: 1.75;
}

.docs-content h1 {
    margin: 0 0 1.35rem;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -.035em;
}

.docs-content h2 {
    margin-top: 2.8rem;
    scroll-margin-top: 5rem;
    color: #0f172a;
    letter-spacing: -.02em;
}

.docs-content h3 {
    margin-top: 2rem;
    scroll-margin-top: 5rem;
    color: #1e293b;
}

.docs-content p,
.docs-content ul,
.docs-content ol,
.docs-content .table-responsive,
.docs-content pre {
    margin-bottom: 1.2rem;
}

.docs-content li + li {
    margin-top: .35rem;
}

.docs-content code {
    border-radius: .3rem;
    background: #eef2f7;
    padding: .12rem .32rem;
    color: #9f1239;
}

.docs-content pre {
    overflow-x: auto;
    border-radius: .8rem;
    background: #0f172a;
    padding: 1rem 1.2rem;
    color: #e2e8f0;
}

.docs-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

.docs-content table {
    min-width: 34rem;
}

.docs-content-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 1.5rem 0 .75rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 18px 45px rgb(15 23 42 / 10%);
}

.docs-figure {
    margin: 1.5rem 0;
}

.docs-figure .docs-content-image {
    margin: 0 0 .65rem;
}

.docs-figure figcaption {
    color: #64748b;
    font-size: .9rem;
    line-height: 1.5;
}

.docs-alert {
    margin: 1.5rem 0;
    border: 1px solid #93c5fd;
    border-left-width: .35rem;
    border-radius: .65rem;
    background: #eff6ff;
    padding: 1rem 1.1rem;
}

.docs-alert > strong {
    display: block;
    margin-bottom: .35rem;
}

.docs-alert p:last-child {
    margin-bottom: 0;
}

.docs-alert--tip {
    border-color: #6ee7b7;
    background: #ecfdf5;
}

.docs-alert--warning {
    border-color: #fbbf24;
    background: #fffbeb;
}

.docs-alert--caution {
    border-color: #fb7185;
    background: #fff1f2;
}

.docs-toc {
    position: sticky;
    top: 5rem;
    align-self: start;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
    border-left: 1px solid #e2e8f0;
    padding-left: 1rem;
}

.docs-toc strong,
.docs-toc a {
    display: block;
}

.docs-toc strong {
    margin-bottom: .65rem;
    color: #334155;
    font-size: .85rem;
}

.docs-toc a {
    padding: .3rem 0;
    color: #64748b;
    font-size: .82rem;
    line-height: 1.35;
    text-decoration: none;
}

.docs-toc a.is-nested {
    padding-left: .75rem;
}

.docs-page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    margin-top: 3rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
    color: #64748b;
    font-size: .85rem;
}

.docs-pagination {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.docs-pagination a {
    display: flex;
    flex-direction: column;
    border: 1px solid #dbe3ec;
    border-radius: .75rem;
    padding: 1rem;
    color: #1e293b;
    text-decoration: none;
}

.docs-pagination a:hover,
.docs-category-card:hover,
.docs-search-results a:hover {
    border-color: #1565c0;
    box-shadow: 0 8px 24px rgb(15 23 42 / 8%);
}

.docs-pagination small {
    margin-bottom: .2rem;
    color: #64748b;
}

.docs-category-page h1,
.docs-search-page h1 {
    margin-bottom: 1rem;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3rem);
}

.docs-category-grid,
.docs-search-results {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.docs-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.docs-category-card,
.docs-search-results a {
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #dbe3ec;
    border-radius: .8rem;
    padding: 1.15rem;
    color: #1e293b;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.docs-category-card span,
.docs-search-results span {
    margin-top: .35rem;
    color: #64748b;
}

.docs-category-card i {
    position: absolute;
    top: 1.15rem;
    right: 1.15rem;
    color: #1565c0;
}

.docs-search-page__form {
    display: flex;
    gap: .75rem;
    margin: 1.5rem 0;
}

.docs-search-page__count {
    color: #64748b;
}

.docs-search-page__help {
    margin-top: -.9rem;
    color: #64748b;
    font-size: .9rem;
}

.docs-search-results__excerpt {
    line-height: 1.55;
}

.docs-search-results mark {
    border-radius: .2rem;
    background: #fef08a;
    padding: 0 .1rem;
    color: #1e293b;
}

.docs-shell :focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 3px;
}

.docs-mobile-toolbar {
    border-bottom: 1px solid #e2e8f0;
    padding: .75rem 1rem;
}

@media (min-width: 992px) {
    .docs-sidebar {
        display: block !important;
    }
}

@media (max-width: 991.98px) {
    .docs-shell {
        display: block;
    }

    .docs-sidebar {
        border-right: 0;
        border-bottom: 1px solid #e2e8f0;
    }

    .docs-sidebar__inner {
        position: static;
        max-height: 70vh;
    }
}

@media (max-width: 767.98px) {
    .docs-article {
        padding: 2rem 1.1rem 3.5rem;
    }

    .docs-page-grid {
        display: block;
        padding: 2rem 1.1rem 3.5rem;
    }

    .docs-category-grid,
    .docs-pagination {
        grid-template-columns: 1fr;
    }

    .docs-search-page__form {
        flex-direction: column;
    }
}

@media (max-width: 359.98px) {
    .docs-article,
    .docs-page-grid {
        padding-right: .8rem;
        padding-left: .8rem;
    }

    .docs-content {
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .docs-shell *,
    .docs-shell *::before,
    .docs-shell *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

@media print {
    .docs-mobile-toolbar,
    .docs-sidebar,
    .docs-toc,
    .docs-pagination {
        display: none !important;
    }

    .docs-shell,
    .docs-page-grid {
        display: block;
    }

    .docs-page-grid,
    .docs-article {
        max-width: none;
        padding: 0;
    }

    .docs-content a {
        color: inherit;
        text-decoration: underline;
    }

    .docs-content pre,
    .docs-content table,
    .docs-figure {
        break-inside: avoid;
    }
}
