.docs-page {
    --docs-ink: #18324b;
    --docs-muted: #53687b;
    --docs-blue: #155dc4;
    --docs-border: #dbe4ee;
    --docs-surface: #f3f7fc;
    margin: 0;
    color: var(--docs-ink);
    background: #fff;
    font-family: 'PT Sans', system-ui, sans-serif;
}

.docs-page * {
    box-sizing: border-box;
}
.docs-page [hidden] {
    display: none !important;
}
.docs-page a {
    color: var(--docs-blue);
}
.docs-page :focus-visible {
    outline: 3px solid #2775de;
    outline-offset: 4px;
}
.docs-page [id] {
    scroll-margin-top: 24px;
}
.docs-layout {
    min-height: 100vh;
    align-items: flex-start;
}
.docs-content {
    min-width: 0;
    width: 100%;
    max-width: 1440px;
    padding: 56px clamp(24px, 4vw, 72px);
    background: #fff;
}
.docs-content pre {
    max-width: 100%;
    overflow-x: auto;
}
.docs-content pre code {
    display: block;
}
.docs-sidebar {
    position: sticky;
    top: 0;
    flex: 0 0 280px;
    width: 280px;
    height: 100vh;
    overflow-y: auto;
    padding: 28px 18px;
    border-inline-end: 1px solid var(--docs-border);
    background: var(--docs-surface);
}
.docs-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    text-decoration: none;
}
.docs-brand img {
    flex-shrink: 0;
}
.docs-brand span {
    color: var(--docs-ink);
    font-size: 22px;
    line-height: 1.2;
}
.docs-brand strong {
    display: block;
    margin-top: 3px;
    color: var(--docs-muted);
    font-size: 14px;
    font-weight: 400;
}
.docs-search-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--docs-muted);
}
#docs-search {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #aabed3;
    border-radius: 6px;
    background: #fff;
    color: var(--docs-ink);
    font: inherit;
    font-size: 14px;
}
.docs-search-empty {
    padding: 12px 0;
    font-size: 14px;
}
.docs-nav-label {
    display: block;
    margin: 26px 8px 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--docs-muted);
}
.docs-nav-group {
    margin: 3px 0;
}
.docs-nav-group summary {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 6px;
    cursor: pointer;
    list-style: none;
}
.docs-nav-group summary::-webkit-details-marker {
    display: none;
}
.docs-nav-group summary::before {
    content: '›';
    flex: 0 0 10px;
    color: var(--docs-muted);
    font-size: 18px;
    line-height: 1;
}
.docs-nav-group[open] summary::before {
    transform: rotate(90deg);
}
.docs-nav-group a {
    color: var(--docs-ink);
    font-size: 14px;
    text-decoration: none;
    line-height: 1.4;
}
.docs-nav-group summary a {
    flex: 1;
    font-weight: 600;
}
.docs-nav-children {
    padding-inline-start: 23px;
}
.docs-nav-children > a {
    display: block;
    padding: 7px 8px;
    margin: 1px 0;
    border-radius: 4px;
    color: var(--docs-muted);
}
.docs-nav-children > .docs-nav-endpoint {
    padding-inline-start: 16px;
}
.docs-nav-group a:hover {
    color: var(--docs-blue);
    text-decoration: underline;
}
.docs-sidebar a[aria-current='location'] {
    color: var(--docs-blue);
    background: #e1ecfc;
    border-radius: 4px;
}
.docs-masthead {
    border-bottom: 1px solid var(--docs-border);
    padding-bottom: 24px;
    margin-bottom: 40px;
}
.docs-masthead h1 {
    font-size: clamp(28px, 3vw, 42px);
    letter-spacing: -0.035em;
    color: var(--docs-ink);
    margin: 0 0 14px;
}
.docs-masthead small {
    font-size: 14px;
}
.docs-guide .sl-prose {
    color: var(--docs-ink);
    font-size: 17px;
    line-height: 1.65;
}
.docs-guide .sl-prose > h1 {
    margin-top: 72px;
    padding-top: 32px;
    border-top: 2px solid var(--docs-border);
    font-size: 32px;
    letter-spacing: -0.02em;
    color: var(--docs-ink);
}
.docs-guide .sl-prose > h1:first-child {
    margin-top: 0;
    padding-top: 0;
    border: 0;
    font-size: 40px;
}
.docs-guide .sl-prose > h2 {
    margin-top: 40px;
    font-size: 23px;
    color: var(--docs-ink);
}
.docs-guide .sl-prose > p,
.docs-guide .sl-prose > ul,
.docs-guide .sl-prose > ol {
    max-width: 78ch;
}
.docs-guide .sl-prose a {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.docs-guide .sl-prose pre {
    overflow-x: auto;
    border: 1px solid var(--docs-border);
    border-radius: 6px;
    background: #f7f9fc;
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
}
.docs-guide .sl-prose code {
    overflow-wrap: anywhere;
}
.docs-guide .sl-prose pre code {
    overflow-wrap: normal;
    white-space: pre;
}
.docs-guide .sl-prose table {
    width: 100%;
    font-size: 15px;
    line-height: 1.5;
    border-collapse: collapse;
}
.docs-guide .sl-prose th {
    background: var(--docs-surface);
    text-align: start;
    color: var(--docs-ink);
}
.docs-guide .sl-prose td,
.docs-guide .sl-prose th {
    padding: 12px 14px;
    border-bottom: 1px solid var(--docs-border);
    vertical-align: top;
}
.docs-guide .sl-prose aside {
    margin: 24px 0;
    padding: 18px 22px;
    border-inline-start: 4px solid var(--docs-blue);
    background: #edf4ff;
    border-radius: 0 6px 6px 0;
    font-size: 16px;
    color: var(--docs-ink);
}
.docs-guide .sl-prose aside code,
.docs-guide .sl-prose aside strong {
    color: inherit;
}
.docs-guide .sl-prose aside.warning {
    background: #fff6e5;
    border-color: #a96b00;
    color: #533c17;
}
.docs-base-url span {
    display: block;
    font-size: 14px;
    color: var(--docs-muted);
    margin-top: 4px;
}
.docs-paths {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-block: 1px solid var(--docs-border);
    margin: 28px 0 36px;
}
.docs-paths a {
    display: block;
    padding: 22px 20px;
    text-decoration: none !important;
}
.docs-paths a:first-child {
    padding-inline-start: 0;
}
.docs-paths a + a {
    border-inline-start: 1px solid var(--docs-border);
}
.docs-paths a:hover strong {
    text-decoration: underline;
}
.docs-paths strong {
    display: block;
    font-size: 17px;
    margin-bottom: 8px;
}
.docs-paths span {
    display: block;
    font-size: 15px;
    color: var(--docs-muted);
    line-height: 1.5;
}
.docs-diagram {
    margin: 24px 0;
    border: 1px solid var(--docs-border);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}
.docs-diagram-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--docs-border);
    padding: 10px 16px;
    background: var(--docs-surface);
}
.docs-diagram-toolbar span {
    color: var(--docs-muted);
    font-size: 13px;
}
.docs-diagram button {
    border: 1px solid #aabed3;
    border-radius: 4px;
    background: #fff;
    color: var(--docs-ink);
    padding: 5px 12px;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}
.docs-diagram button:hover {
    background: #e1ecfc;
}
.docs-diagram-canvas {
    padding: 24px 16px;
    overflow: auto;
}
.docs-diagram-canvas svg {
    display: block;
    margin: 0 auto;
    height: auto;
}
.docs-diagram.is-expanded .docs-diagram-canvas svg {
    max-width: none !important;
}
.docs-diagram-caption {
    margin: 0 !important;
    padding: 0 18px 16px;
    font-size: 14px;
    color: var(--docs-muted);
    line-height: 1.5;
}
.docs-diagram-source {
    margin: 0 16px 16px;
    font-size: 13px;
    color: var(--docs-muted);
}
.docs-diagram-source summary {
    cursor: pointer;
}
.docs-diagram-source pre {
    margin-bottom: 0 !important;
}
.docs-diagram-error {
    font-size: 14px;
    padding: 16px;
    color: #533c17;
    background: #fff6e5;
}
.docs-reference-banner {
    padding: 32px 0;
    margin-bottom: 32px;
    border-block: 2px solid var(--docs-border);
}
.docs-reference-banner h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px;
}
.docs-reference-banner p {
    color: var(--docs-muted);
}
.docs-skip-link {
    position: fixed;
    z-index: 100;
    top: 8px;
    inset-inline-start: 8px;
    transform: translateY(-200%);
    padding: 12px 20px;
    background: #fff;
}
.docs-skip-link:focus {
    transform: translateY(0);
}
.docs-menu-toggle {
    display: none;
}

@media (max-width: 1100px) {
    .docs-sidebar {
        flex-basis: 250px;
        width: 250px;
    }
    .docs-content {
        padding-inline: 28px;
    }
    .docs-paths {
        grid-template-columns: 1fr;
    }
    .docs-paths a,
    .docs-paths a:first-child {
        padding: 16px 0;
    }
    .docs-paths a + a {
        border-inline-start: 0;
        border-top: 1px solid var(--docs-border);
    }
}

@media (max-width: 760px) {
    .docs-layout {
        display: block;
    }
    .docs-sidebar {
        position: static;
        width: 100%;
        height: auto;
        max-height: none;
        border-inline-end: 0;
        border-bottom: 1px solid var(--docs-border);
    }
    .docs-page.has-docs-js .docs-sidebar {
        display: none;
    }
    .docs-page.has-docs-js .docs-sidebar.is-open {
        display: block;
        max-height: 70vh;
        overflow: auto;
    }
    .docs-page.has-docs-js .docs-menu-toggle {
        display: block;
        width: 100%;
        padding: 16px 22px;
        background: var(--docs-surface);
        border: 0;
        border-bottom: 1px solid var(--docs-border);
        text-align: start;
        font: inherit;
        font-weight: 700;
        color: var(--docs-blue);
        cursor: pointer;
    }
    .docs-content {
        padding: 28px 20px;
    }
    .docs-guide .sl-prose {
        font-size: 16px;
    }
    .docs-guide .sl-prose > h1 {
        font-size: 28px;
        margin-top: 48px;
    }
    .docs-guide .sl-prose > h1:first-child {
        font-size: 32px;
    }
    .docs-guide .sl-prose table {
        display: block;
        overflow-x: auto;
    }
    .docs-diagram-canvas svg {
        min-width: 620px;
    }
    .docs-diagram-toolbar {
        flex-wrap: wrap;
    }
    .docs-content .sl-flex:has(> [data-testid='two-column-left']) {
        display: block;
    }
    .docs-content [data-testid='two-column-left'],
    .docs-content [data-testid='two-column-left'] + div {
        width: 100% !important;
        min-width: 0 !important;
        padding-inline: 0;
        margin-inline: 0;
    }
    .docs-content .sl-panel__titlebar,
    .docs-content .sl-panel__titlebar * {
        min-width: 0;
        max-width: 100%;
    }
    .docs-content .sl-panel__titlebar .sl-h-sm {
        height: auto;
    }
    .docs-content .sl-prose pre {
        max-width: calc(100vw - 40px);
    }
}

@media print {
    .docs-sidebar,
    .docs-menu-toggle,
    .docs-diagram-toolbar,
    .docs-diagram-source,
    .docs-skip-link {
        display: none !important;
    }
    .docs-content {
        padding: 0;
        max-width: none;
    }
    .docs-diagram {
        break-inside: avoid;
    }
    .docs-diagram-canvas svg {
        min-width: 0;
        max-width: 100% !important;
    }
}
