:root {
    --docs-blue: #2f86bd;
    --docs-blue-dark: #256e9e;
    --docs-sidebar: #302d2d;
    --docs-sidebar-soft: #3a3636;
    --docs-bg: #eceff2;
    --docs-paper: #ffffff;
    --docs-text: #26323f;
    --docs-muted: #6d7885;
    --docs-border: #d9e0e7;
    --docs-link: #0878c9;
    --docs-code: #f4f7fa;
    --docs-warning: #fff7e8;
    --docs-warning-border: #f0c56d;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.docs-body {
    margin: 0;
    background: var(--docs-bg);
    color: var(--docs-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

.docs-skip-link {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 20;
    background: #ffffff;
    color: #111827;
    padding: 8px 12px;
    border-radius: 4px;
}

.docs-skip-link:focus {
    top: 12px;
}

.docs-shell {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    min-height: 100vh;
}

.docs-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    background: var(--docs-sidebar);
    color: #ffffff;
}

.docs-brand {
    background: var(--docs-blue);
    padding: 18px 22px 20px;
    text-align: center;
}

.docs-brand__home {
    display: inline-block;
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.docs-brand__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    min-height: 146px;
    margin: 0 auto 16px;
    padding: 22px;
    border-radius: 8px;
    background: #ffffff;
}

.docs-brand__logo img {
    display: block;
    max-width: 100%;
    height: auto;
    filter: invert(1);
}

.docs-brand__name,
.docs-brand__meta {
    display: block;
}

.docs-brand__name {
    font-weight: 700;
}

.docs-brand__meta {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.docs-search {
    display: block;
    padding: 0 14px 14px;
    background: var(--docs-blue);
}

.docs-search__label {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    font-weight: 700;
}

.docs-search input {
    width: 100%;
    height: 30px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 999px;
    padding: 0 12px;
    color: #27313d;
    background: #ffffff;
    outline: none;
}

.docs-search input:focus {
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28);
}

.docs-nav {
    padding: 18px 22px 28px;
}

.docs-nav__label {
    margin: 0 0 14px;
    color: #65c8ff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.docs-nav__group {
    margin-bottom: 24px;
}

.docs-nav__group h2 {
    margin: 0 0 8px;
    color: #9ed8ff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.docs-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.docs-nav li + li {
    margin-top: 3px;
}

.docs-nav a {
    display: block;
    padding: 5px 0;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
}

.docs-nav a:hover,
.docs-nav a:focus,
.docs-nav a.is-active {
    color: #ffffff;
}

.docs-nav a.is-active {
    font-weight: 800;
}

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

.docs-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 0 48px;
    border-bottom: 1px solid var(--docs-border);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
}

.docs-topbar__brand {
    color: #1d2937;
    font-weight: 800;
    text-decoration: none;
}

.docs-topbar nav {
    display: flex;
    gap: 20px;
}

.docs-topbar nav a {
    color: var(--docs-muted);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.docs-topbar nav a:hover,
.docs-topbar nav a:focus {
    color: var(--docs-link);
}

.docs-content {
    max-width: 1180px;
    min-height: calc(100vh - 64px);
    margin: 0 auto;
    padding: 28px 40px 56px;
    background: var(--docs-paper);
}

.docs-article {
    max-width: 100%;
}

.docs-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 28px;
    color: #a0aab5;
    font-size: 14px;
}

.docs-breadcrumb a {
    color: #8996a3;
    text-decoration: none;
}

.docs-breadcrumb a:hover,
.docs-breadcrumb a:focus {
    color: var(--docs-link);
}

.docs-hero {
    max-width: 820px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--docs-border);
}

.docs-eyebrow {
    margin: 0 0 10px;
    color: var(--docs-blue-dark);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.docs-hero h1 {
    margin: 0;
    color: #17212c;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
}

.docs-hero p:last-child {
    margin: 16px 0 0;
    color: var(--docs-muted);
    font-size: 17px;
}

.docs-article-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 48px;
    align-items: start;
    margin-top: 28px;
}

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

.docs-prose h2,
.docs-prose h3,
.docs-prose h4 {
    color: #202b37;
    line-height: 1.35;
}

.docs-prose h2 {
    margin: 34px 0 14px;
    font-size: 27px;
    font-weight: 700;
}

.docs-prose h3 {
    margin: 28px 0 10px;
    font-size: 21px;
}

.docs-prose p,
.docs-prose ul,
.docs-prose ol,
.docs-prose table {
    margin-top: 0;
    margin-bottom: 18px;
}

.docs-prose a {
    color: var(--docs-link);
    text-decoration: none;
}

.docs-prose a:hover,
.docs-prose a:focus {
    text-decoration: underline;
}

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

.docs-prose li + li {
    margin-top: 6px;
}

.docs-prose code {
    padding: 2px 5px;
    border-radius: 4px;
    background: var(--docs-code);
    color: #1f3b54;
    font-size: 0.92em;
}

.docs-prose pre {
    overflow-x: auto;
    padding: 16px;
    border-radius: 8px;
    background: #111827;
    color: #f9fafb;
}

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

.docs-prose blockquote {
    margin: 22px 0;
    padding: 14px 18px;
    border-left: 4px solid var(--docs-warning-border);
    background: var(--docs-warning);
    color: #654713;
}

.docs-prose table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.docs-prose th,
.docs-prose td {
    padding: 10px 12px;
    border: 1px solid var(--docs-border);
    text-align: left;
    vertical-align: top;
}

.docs-prose th {
    background: #f7f9fb;
    color: #233040;
}

.docs-toc {
    position: sticky;
    top: 92px;
    border-left: 1px solid var(--docs-border);
    padding-left: 18px;
}

.docs-toc h2 {
    margin: 0 0 12px;
    color: #334155;
    font-size: 14px;
    text-transform: uppercase;
}

.docs-toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.docs-toc li + li {
    margin-top: 8px;
}

.docs-toc li.is-nested {
    padding-left: 12px;
}

.docs-toc a {
    color: #687789;
    font-size: 14px;
    text-decoration: none;
}

.docs-toc a:hover,
.docs-toc a:focus {
    color: var(--docs-link);
}

.docs-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--docs-border);
}

.docs-pager a {
    display: block;
    min-height: 78px;
    padding: 14px 16px;
    border: 1px solid var(--docs-border);
    border-radius: 8px;
    color: #1f2d3d;
    text-decoration: none;
    background: #fbfcfd;
}

.docs-pager a:last-child {
    text-align: right;
}

.docs-pager a:hover,
.docs-pager a:focus {
    border-color: var(--docs-blue);
}

.docs-pager span {
    display: block;
    margin-bottom: 4px;
    color: var(--docs-muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

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

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

    .docs-toc {
        position: static;
        border-left: 0;
        border-top: 1px solid var(--docs-border);
        padding: 18px 0 0;
    }
}

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

    .docs-sidebar {
        position: relative;
        height: auto;
    }

    .docs-brand__logo {
        width: 160px;
        min-height: 112px;
    }

    .docs-topbar {
        position: static;
        display: block;
        padding: 14px 20px;
    }

    .docs-topbar nav {
        margin-top: 8px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .docs-content {
        padding: 24px 20px 40px;
    }

    .docs-hero h1 {
        font-size: 30px;
    }

    .docs-pager {
        grid-template-columns: 1fr;
    }

    .docs-pager a:last-child {
        text-align: left;
    }
}
