
:root {
    --breadcrumb-color: #006ca7f5;
    --bullet-color: #54478cf5;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    --font-family-code: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    --font-size: 1rem;
    --line-height: 1.5;
    --link-color: #506ca7f5;
    --table-of-content-width: 250px;
}

*, *:before, *:after { box-sizing: border-box; outline-color: #0000; max-width: unset; overflow-wrap: break-word }

html { scroll-behavior: smooth; }
body { background: #fafcfe; color: #3f4042; font-family: var(--font-family); font-size: var(--font-size); line-height: var(--line-height); margin: 0; padding-top: var(--header-height); }

h1, h2, h3, h4, h5, h6 { color: #1c3751; scroll-margin-top: calc(var(--header-height) + 10px); }
h1 { font-size: 2.25rem; font-weight: 700; line-height: 1.11111; margin-top: 1.5rem; }
h2 { font-size: 1.5em; font-weight: 600; line-height: 1.33333; margin-bottom: 1em; margin-top: 1.8em; }
h3 { font-size: 1.25em; font-weight: 500; line-height: 1.6; margin-bottom: .6em; margin-top: 1.8em;  }
h4 { font-weight: 600; }
h1 + h2 { font-weight: 400; margin-top: -15px; }
nav + p { color: #666; font-size: .9em; font-weight: bold; }
p { line-height: 1.75; margin-bottom: 1.25em; }
p + h1 { font-size: 2.2rem; margin-top: -.5em; }
pre { background: #f7f7fd; border: 1px solid #eee; border-radius: 6px; box-shadow: rgba(0, 0, 51, 0.06) 0 1px 2px; padding: 1.6rem 2rem; overflow-x: unset; }
code { background: #f7f7fd; border-radius: 4px; color: #443973; font-family: var(--font-family-code); font-size: .875em; padding: .3rem .4rem; position: relative; white-space: pre-wrap; }
a > code { color: var(--link-color); text-decoration: underline; }
a, a:visited { color: var(--link-color); text-decoration: none; }
a:hover { text-decoration: underline; }
a[href^="http"]:not(:has(*))::after { content: " ↗"; font-size: 0.8em; margin-right: 2px; padding-right: 3px; }
a[href^="http"] > code:not(:has(*)) { margin-right: 2px; }
a[href^="http"] > code:not(:has(*))::after { content: " ↗"; font-family: var(--font-family); font-size: 0.8em; padding-left: 2px; }
pre code { padding: 0; }
blockquote { background: #edecff; border-left: 5px solid #5954ab; border-radius: 3px; margin: 0; padding: .5rem 1rem; }
blockquote p { color: #424063; }
blockquote > p + div pre { background: transparent; margin: 0; padding-left: 0; padding-top: 0; }
blockquote div + p { margin-top: 0; }
blockquote.warning { background: #fff8f0; border-left-color: #d97706; }
blockquote.warning p { color: #92400e; }
.api-experimental-warning { color: #b45309; font-size: .85em; font-weight: 400; opacity: .85; }
img { max-width: 100%; }
details > summary { cursor: pointer; }
td hr { background-color: #e6e6e6; border: none; height: 1px; }
.footnotes > hr { background-color: #dbdee5; border: none; height: 1px; margin: 3em 0 1.5em 0; }
.footnotes p { font-size: .9em; margin: 0; }

span.badge { border: 1px solid #343592; border-radius: 5px; color: #343592; font-size: .8em; font-weight: normal; margin: 0 .5em; padding: .2em .8em; }

.screenshot { display: flex; justify-content: center; text-align: center; padding: 2rem 0; }
.screenshot img { border-radius: 6px; box-shadow: 0 4px 16px #32355d1c, 0 1px 3px #00000014; height: auto; max-width: 100%; }

.screenshot-slider { margin: 2.5rem 1.5rem; position: relative; }
.screenshot-slider input[type="radio"] { opacity: 0; pointer-events: none; position: absolute; width: 1px; height: 1px; }
.screenshot-slider__layout { align-items: stretch; display: flex; flex-wrap: wrap; gap: 1.75rem; }
.screenshot-slider__captions {
    display: flex;
    flex: 1 1 320px;
    flex-direction: column;
    gap: .5rem;
    max-width: none;
    padding: 0 0 2.75rem;
    position: relative;
    z-index: 1;
}
.screenshot-slider__caption {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #006ca7f5;
    cursor: pointer;
    display: flex;
    gap: .6rem;
    line-height: 1.35;
    min-height: 50px;
    padding: .6rem 1.5rem;
    position: relative;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
    width: 100%;
}
.screenshot-slider__caption span { flex: 1 1 auto; text-align: left; user-select: none; }
.screenshot-slider__caption::after {
    color: currentColor;
    content: "›";
    font-size: 1.05em;
    font-weight: 500;
    opacity: .75;
    transition: transform .2s ease, opacity .2s ease;
    margin-left: auto;
}
.screenshot-slider__caption:hover::after { opacity: 1; transform: translateX(1px); }
#transformations-slide-visual:checked ~ .screenshot-slider__layout .screenshot-slider__captions label[for="transformations-slide-visual"]::after,
#transformations-slide-javascript:checked ~ .screenshot-slider__layout .screenshot-slider__captions label[for="transformations-slide-javascript"]::after,
#transformations-slide-python:checked ~ .screenshot-slider__layout .screenshot-slider__captions label[for="transformations-slide-python"]::after {
    opacity: 1;
    transform: translateX(2px);
}
.screenshot-slider__caption:hover { background: #eef2ff; }
.screenshot-slider__panes {
    display: grid;
    flex: 0 1 656px;
    min-width: 0;
    position: relative;
    width: 100%;
    max-width: 656px;
}
.screenshot-slider__pane {
    grid-area: 1 / 1 / 2 / 2;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}
.screenshot-slider__pane > .screenshot {
    justify-content: flex-start;
    margin: 0;
    padding-bottom: 0;
}
.screenshot-slider__pane > .screenshot img {
    max-width: 656px;
    width: 100%;
}

#transformations-slide-visual:checked ~ .screenshot-slider__layout .screenshot-slider__captions label[for="transformations-slide-visual"],
#transformations-slide-javascript:checked ~ .screenshot-slider__layout .screenshot-slider__captions label[for="transformations-slide-javascript"],
#transformations-slide-python:checked ~ .screenshot-slider__layout .screenshot-slider__captions label[for="transformations-slide-python"] {
    background: #eef2ff;
    color: #004f7e;
}
#transformations-slide-visual:focus-visible ~ .screenshot-slider__layout .screenshot-slider__captions label[for="transformations-slide-visual"],
#transformations-slide-javascript:focus-visible ~ .screenshot-slider__layout .screenshot-slider__captions label[for="transformations-slide-javascript"],
#transformations-slide-python:focus-visible ~ .screenshot-slider__layout .screenshot-slider__captions label[for="transformations-slide-python"] {
    outline: 2px solid #006ca7f5;
    outline-offset: 2px;
}

.screenshot-slider__note {
    bottom: 0;
    color: #6b7280;
    font-size: .9rem;
    left: 0;
    line-height: 1.6;
    margin: 0;
    opacity: 0;
    padding: 0 0 .5rem .75rem;
    position: absolute;
    pointer-events: none;
    right: 0;
    transition: opacity .25s ease;
}

#transformations-slide-visual:checked ~ .screenshot-slider__layout .screenshot-slider__captions .screenshot-slider__note[data-caption="visual"],
#transformations-slide-javascript:checked ~ .screenshot-slider__layout .screenshot-slider__captions .screenshot-slider__note[data-caption="javascript"],
#transformations-slide-python:checked ~ .screenshot-slider__layout .screenshot-slider__captions .screenshot-slider__note[data-caption="python"] {
    opacity: 1;
}

#transformations-slide-visual:checked ~ .screenshot-slider__layout .screenshot-slider__panes .screenshot-slider__pane:nth-of-type(1),
#transformations-slide-javascript:checked ~ .screenshot-slider__layout .screenshot-slider__panes .screenshot-slider__pane:nth-of-type(2),
#transformations-slide-python:checked ~ .screenshot-slider__layout .screenshot-slider__panes .screenshot-slider__pane:nth-of-type(3) {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 900px) {
    .screenshot-slider__layout { flex-direction: column; gap: 1.25rem; }
    .screenshot-slider__panes {
        flex: 1 1 auto;
        max-width: none;
        order: 1;
        padding: .75rem 0;
        width: 100%;
    }
    .screenshot-slider__captions { flex-direction: row; flex-wrap: wrap; gap: .75rem; max-width: none; order: 2; padding-bottom: 0; }
    .screenshot-slider__caption { flex: 1 1 calc(50% - .75rem); justify-content: center; text-align: center; }
    .screenshot-slider__note { position: static; width: 100%; padding: .5rem 0 0; opacity: 0; order: 3; text-align: center; }
}

@media (max-width: 600px) {
    .screenshot-slider { padding: .75rem 0; }
    .screenshot-slider__layout { gap: .75rem; }
    .screenshot-slider__captions {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
        max-width: none;
        order: 1;
        padding: 0;
    }
    .screenshot-slider__caption {
        flex: 1 1 auto;
        gap: .45rem;
        min-height: 44px;
        padding: .75rem 1.5rem;
        text-align: left;
    }
    .screenshot-slider__caption::before {
        content: "";
        position: absolute;
        left: 1rem;
        right: 1rem;
        bottom: 0;
        height: 1px;
        background: rgba(0, 108, 167, 0.15);
    }
    .screenshot-slider__caption:last-of-type::before { display: none; }
    .screenshot-slider__panes { order: 2; }
    .screenshot-slider__note { display: none; }
    .screenshot-slider + h2 { margin-top: 1.1rem; }
    .screenshot-slider + p { margin-top: .6rem; margin-bottom: .8rem; }
    .screenshot-slider + p + h2 { margin-top: 1rem; }
}

.screenshot-callout {
    align-items: flex-start;
    display: flex;
    gap: 1.75rem;
    margin: 2.5rem 0;
}
.screenshot-callout__details {
    flex: 1 1 320px;
}
.screenshot-callout__list {
    margin: 0;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    list-style: none;
    counter-reset: screenshot-callout-step;
}
.screenshot-callout__list li {
    counter-increment: screenshot-callout-step;
    padding-left: 1.9rem;
    position: relative;
    font-size: .95rem;
    color: rgba(63, 64, 66, 0.75);
    min-height: 4rem;
}
.screenshot-callout__list li::before {
    align-items: center;
    background: #333333;
    border-radius: 999px;
    color: #fff;
    content: counter(screenshot-callout-step);
    display: inline-flex;
    font-size: .8rem;
    font-weight: 300;
    height: 1.35rem;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 0.16rem;
    width: 1.35rem;
    line-height: 1;
}
.screenshot-callout__media {
    display: flex;
    flex: 0 0 auto;
    justify-content: center;
    min-width: 681px;
}
.screenshot-callout__media .screenshot {
    margin: 0;
    padding-bottom: 0;
}

@media (max-width: 1050px) {
    .screenshot-callout {
        flex-direction: column;
    }
    .screenshot-callout__media {
        justify-content: center;
        order: -1;
        min-width: 0;
        flex: 1 1 auto;
    }
    .screenshot-callout__details {
        width: 100%;
    }
}

.tabs .tabs-nav { display: flex; flex-wrap: wrap; gap: 0.25rem; padding: 0 8px; }
.tabs [role="tab"] { background: transparent; border: 1px solid transparent; cursor: pointer; font-size: .9rem; padding: .85rem .8rem .75rem .8rem; }
.tabs [role="tab"][aria-selected="true"] { border-bottom: 2px solid #006ca7f5; color: #006ca7f5; margin-bottom: -1px; }
.tabs [role="tab"][data-tabs-disabled="true"] { color: #999; cursor: default; }
.tabs [role="tabpanel"] { border-top: 1px solid #eee; margin: 0; padding: 1.5rem 0; }
.tabs[data-tabs-background] [role="tabpanel"] { background: var(--tabs-panel-background); }
.tabs[data-tabs-background] [role="tabpanel"] { padding: 2rem; }
.tabs [role="tabpanel"] > *:first-child { margin-top: 0; }
.tabs [role="tabpanel"] > *:last-child { margin-bottom: 0; }
.tabs [role="tabpanel"] > pre:first-child { margin-top: -1.5rem; border-top-left-radius: 0; border-top-right-radius: 0; }
.tabs.icons [role="tab"] { background-position: 0.75rem center; background-repeat: no-repeat; background-size: 1rem 1rem; padding-left: 2.2rem; }
[role="tabpanel"][hidden] { display: none; }

.tabs.icons #tab-application-codex-app, .tabs.icons #tab-application-codex-cli { background-image: url("/docs/images/openai.svg"); }
.tabs.icons #tab-application-claude-app, .tabs.icons #tab-application-claude-code { background-image: url("/docs/images/claude.svg"); }

.tabs[data-tabs-type="codeblocks"] .codeblocks-header {
  align-items: center;
  background: #fff;
  border: 1px solid #dedefa;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0;
}

.tabs[data-tabs-type="codeblocks"] .codeblocks-header .tabs-nav {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  padding-left: 1em;
}

.tabs[data-tabs-type="codeblocks"] .tabs-nav {
  border: none;
  border-radius: 0;
}

.tabs[data-tabs-type="codeblocks"] .codeblocks-copy {
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: #4a5568;
  cursor: pointer;
  display: inline-flex;
  margin-right: 8px;
  margin-top: 1px;
  padding: 6px 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tabs[data-tabs-type="codeblocks"] .codeblocks-copy:hover {
  background-color: rgba(0, 108, 167, 0.08);
  color: #006ca7;
}

.tabs[data-tabs-type="codeblocks"]
  .codeblocks-copy[role~="tooltip"][data-microtip-position="left"]:focus::before,
.tabs[data-tabs-type="codeblocks"]
  .codeblocks-copy[role~="tooltip"][data-microtip-position="left"]:focus::after {
  transform: translate3d(0, -50%, 0);
}

.tabs[data-tabs-type="codeblocks"] .codeblocks-copy:focus-visible {
  outline: 2px solid #006ca7;
  outline-offset: 2px;
}

.tabs[data-tabs-type="codeblocks"] .codeblocks-copy svg {
  height: 20px;
  width: 20px;
}

.tabs[data-tabs-type="codeblocks"] [role="tabpanel"] {
  border: none;
  border-radius: 0;
}

.tabs[data-tabs-type="codeblocks"] [role="tabpanel"] > * {
  margin: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.tabs[data-tabs-type="codeblocks"] [role="tabpanel"] > pre {
  border-radius: 0 0 6px 6px;
}

.tabs[data-tabs-type="codeblocks"] [role="tabpanel"] > pre:not(:last-child) {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.tabs[data-tabs-type="codeblocks"] .codeblocks-note {
  margin: 0;
  padding: 10px 16px;
  border: 1px solid #dedefa;
  border-top: 1px solid #dedefa;
  border-radius: 0 0 10px 10px;
  color: #333;
  font-size: .9rem;
  background: #fff;
}

.tabs[data-tabs-type="codeblocks"] .codeblocks-note > *:first-child {
  margin-top: 0;
}

.tabs[data-tabs-type="codeblocks"] .codeblocks-note > *:last-child {
  margin-bottom: 0;
}

.breadcrumbs { color: #5f6472; font-size: .85rem; margin: 1.5rem 0 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { align-items: center; color: inherit; display: inline-flex; margin: 0; padding: 0; padding-inline-start: 0; }
.breadcrumbs li:not(:last-child)::after { color: #8a91a1; content: "/"; display: inline-block; font-size: .8rem; margin: 0 .4rem 0 .5rem; }
.breadcrumbs + h1,
.breadcrumbs + script + h1 { margin-top: .5rem; }

ul { list-style-type: none; padding-left: 22px; }
ul > li { line-height: 1.6; margin: .3em 0; padding-left: 12px; }
ul > li::before { color: var(--bullet-color); content: '•'; margin-left: -17px; margin-top: -1px; position: absolute; }
ol { padding-inline-start: 1.625em; }
ol > li { line-height: 1.6; margin: .3em 0; padding-inline-start: .375em; }
ol > li::marker { color: var(--bullet-color) ; font-weight: 400; }
li > p { margin: 1em 0; }
dl { line-height: 1.60; margin: 1.25rem; }

ul.cards {
    --cards-columns-desktop: 3;
    --cards-columns-tablet: 2;
    --cards-columns-mobile: 1;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(var(--cards-columns-desktop), minmax(0, 1fr));
    margin: 2rem 0;
    padding-left: 0;
}

ul.cards[data-columns="1"] {
    --cards-columns-desktop: 1;
    --cards-columns-tablet: 1;
}

ul.cards[data-columns="2"] {
    --cards-columns-desktop: 2;
}

ul.cards[data-columns="3"] {
    --cards-columns-desktop: 3;
}

ul.cards[data-columns="4"] {
    --cards-columns-desktop: 4;
}

@media (max-width: 1024px) {
    ul.cards {
        grid-template-columns: repeat(var(--cards-columns-tablet), minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    ul.cards {
        grid-template-columns: repeat(var(--cards-columns-mobile), minmax(0, 1fr));
    }
}

ul.cards > li {
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 4px;
    box-shadow: 0 1px 2px #0000000d;
    list-style: none;
    min-height: 100%;
    padding: 0;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

ul.cards > li::before {
    content: none;
}

ul.cards > li > a {
    border-radius: inherit;
    color: inherit;
    cursor: pointer;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding-right: 2.25rem;
    position: relative;
    row-gap: 0.4rem;
    height: 100%;
    padding: 1.2rem 1.4rem;
    text-decoration: none;
    width: 100%;
}

ul.cards > li > a::after {
    color: #b6c1e3;
    content: "→";
    font-size: 1.05rem;
    opacity: 0.3;
    pointer-events: none;
    position: absolute;
    right: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

ul.cards > li:hover > a::after,
ul.cards > li:focus-within > a::after {
    opacity: 0.6;
    transform: translate(4px, -50%);
}

ul.cards > li > a:has(> figure),
ul.cards > li.with-logo > a {
    column-gap: 0.85rem;
    grid-template-columns: auto minmax(0, 1fr);
    grid-auto-rows: minmax(0, auto);
}

ul.cards > li > a > figure,
ul.cards > li.with-logo > a > figure {
    align-self: center;
}

/* Keep logos aligned to the top only when a description paragraph is present */
ul.cards > li > a:has(> figure):has(> p) > figure,
ul.cards > li.with-logo > a:has(> p) > figure {
    align-self: start;
    grid-row: 1 / span 2;
}

ul.cards > li > a:has(> figure) > :not(figure),
ul.cards > li.with-logo > a > :not(figure) {
    grid-column: 2;
}

ul.cards > li > a:has(> figure) > div:first-of-type,
ul.cards > li.with-logo > a > div:first-of-type {
    align-self: center;
}

ul.cards > li > a > figure {
    align-items: center;
    border-radius: 12px;
    display: inline-flex;
    height: 3rem;
    justify-content: center;
    overflow: hidden;
    padding: 0.5rem;
    margin: 0;
    width: 3rem;
}

ul.cards > li > a > figure > img,
ul.cards > li > a > figure > svg {
    display: block;
    max-height: 100%;
    max-width: 100%;
}

ul.cards > li > a > figure > svg {
    color: var(--link-color);
}

ul.cards > li > a:hover,
ul.cards > li > a:focus-visible {
    text-decoration: none;
}

ul.cards > li:not(:is(.disabled, [aria-disabled="true"], :has(> a[aria-disabled="true"]), :has(> a:not([href])))):hover,
ul.cards > li:not(:is(.disabled, [aria-disabled="true"], :has(> a[aria-disabled="true"]), :has(> a:not([href])))):focus-within {
    border-color: #b6c6ff;
    box-shadow: 0 6px 16px #32325d26;
    transform: translateY(-2px);
}

ul.cards > li:not(:is(.disabled, [aria-disabled="true"], :has(> a[aria-disabled="true"]), :has(> a:not([href])))):focus-within > a {
    outline: 2px solid var(--link-color);
    outline-offset: 2px;
}

/* Disabled cards: support anchor without href, aria-disabled, or explicit .disabled on <li> */
ul.cards > li:is(.disabled, [aria-disabled="true"], :has(> a[aria-disabled="true"]), :has(> a:not([href]))) {
    border-color: #e3e8ee;
    box-shadow: none;
    cursor: default;
    opacity: 0.72;
    transform: none;
}

ul.cards > li:is(.disabled, [aria-disabled="true"], :has(> a[aria-disabled="true"]), :has(> a:not([href]))) > a {
    cursor: not-allowed;
    pointer-events: none;
}

ul.cards > li:is(.disabled, [aria-disabled="true"], :has(> a[aria-disabled="true"]), :has(> a:not([href]))) > a::after {
    display: none;
}

ul.cards > li:is(.disabled, [aria-disabled="true"], :has(> a[aria-disabled="true"]), :has(> a:not([href]))) > a:focus-visible {
    outline: none;
}

ul.cards > li:is(.disabled, [aria-disabled="true"], :has(> a[aria-disabled="true"]), :has(> a:not([href]))) div,
ul.cards > li:is(.disabled, [aria-disabled="true"], :has(> a[aria-disabled="true"]), :has(> a:not([href]))) p {
    color: #6b7280;
}

ul.cards > li > a > div:first-of-type {
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    gap: .35em;
}

ul.cards div {
    color: var(--link-color);
    font-weight: 500;
}

ul.cards p {
    color: #79838c;
    margin: 0;
    padding-right: 1rem;
}

ul.cards span.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 5px 16px;
  border-color: #6e8bca;
  color: #6e8bca;
}

ul.cards span.badge:first-child { 
    margin-left: 1em; 
}

nav.footer {
  align-items: center;
  background: #f4f4fb;
  border-radius: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
  margin: 5rem 0;
  padding: 6px;
}

nav.footer.footer--balanced {
  justify-content: space-between;
}

nav.footer.footer--align-start {
  justify-content: flex-start;
}

nav.footer.footer--align-end {
  justify-content: flex-end;
}

nav.footer .footer__link {
  align-items: center;
  color: inherit;
  display: inline-flex;
  font-weight: 600;
  gap: 0.5rem;
  text-decoration: none;
  height: 3.8rem;
  padding-inline: 1rem;
}

nav.footer .footer__link--next:hover {
  border-color: var(--link-color);
}

nav.footer .footer__link--next {
  border: 1px solid #e0e1e6;
  flex: 1 1 auto;
  justify-content: flex-end;
  background: #fff;
  border-radius: .75rem;
  transition: border-color 0.2s ease;
}

nav.footer .footer__title {
  font-size: 1rem;
  color: #010600e3;
  padding-right: 1rem;
  border-right: 1px solid #dfe2df;
}

nav.footer .footer__label {
  color: #020a00a0;
  padding: 0 .5rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

nav.footer .footer__link--prev .footer__arrow,
nav.footer .footer__link--next .footer__arrow {
  font-size: 1.1rem;
}

dd { margin-left: 1.5rem; }
table { background: #fff; border-left: 1px solid #e6e6e6; border-spacing: 0; border-top: 1px solid #E6E6E6; width: 100%; }
td, th { border-bottom: 1px solid #e6e6e6; border-right: 1px solid #e6e6e6; padding: 12px; text-align: left; vertical-align: top; overflow-wrap: anywhere; min-width: 200px; }
td *, th * { overflow-wrap: break-word; }
table tr td:first-child code { overflow-wrap: break-word; }
th { font-weight: 500; }

.table { width: 100%; overflow-x: auto; margin: 20px 0; }

body > header {
    background-color: #0f1723;
    border-bottom: 1px solid var(--border-primary);
    box-sizing: border-box;
    display: flex;
    gap: 24px;
    height: var(--header-height);
    left: 0;
    padding: 0 22px;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 90;
}

body > header .logo {
    align-items: center;
    cursor: default;
    display: flex;
    height: var(--header-height);
}

body > header .logo > a {
    position: relative;
    top: 3px;
}

body > header .logo img {
    max-height: 24px;
    width: auto;
}

body > header nav { display: inline-flex; align-items: center; width: 100%; margin-left: 150px; }
body > header nav a { color: #a8a5ff; padding: 0px 20px; line-height: 1; transition: color .3s; font-weight: 600; }
body > header nav a,
body > header nav a:visited { color: #bbb; text-decoration: none; }
body > header nav a:hover { color: #fff; text-decoration: none; }
body > header nav a.selected { color: #fff; }

.header-github-mobile {
    display: none!important;
}

.nav-github {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff!important;
    margin-left: auto;
    font-weight: 400;
}

.nav-github > img {
    max-width: 18px;
    position: relative;
    top: 1px;
}

.nav-github-short {
    display: none;
}

.nav-krenalis-site {
    color: #fff!important;
    font-weight: 400;
}

.content { margin: 0 20px; }

.cols-2 { display: flex; flex-wrap: wrap; }
.cols-2 > div { padding: 2em 5rem; width: 50%; }

.wrap { margin: 0 auto; max-width: 1280px; overflow: unset; }

article { min-height: calc(100dvh - var(--header-height)); }
article > .wrap { display: flex; font-size: 1rem; max-width: unset; padding: 0; }
article > .wrap > .main { width: 100%; display: flex; justify-content: center; }
article > .wrap > .main > .content { max-width: var(--content-width); overflow-x: unset; padding: 0 30px; }
body article > .wrap > .main > div:first-child:last-child { margin-right: var(--table-of-content-width); }
body[no-table-of-content] article > .wrap > .main > div:first-child:last-child { margin-right: 0; }

article aside {
    background: #fff;
    border-right: 1px solid var(--border-primary);
    margin-right: 0;
    margin-top: 0;
    width: 100%;
    max-width: var(--sidebar-width);
}

article aside .nav-wrapper {
    top: var(--header-height);
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 16px;
    position: sticky;
    height: calc(100dvh - var(--header-height));
}

article aside .search-wrapper {
    height: 51px;
}

article aside pagefind-modal-trigger {
    height: 51px!important;
    width: 100%;
}

article aside pagefind-modal-trigger .pf-trigger-btn {
    display: flex!important;
    width: 100%!important;
}

article aside pagefind-modal-trigger .pf-trigger-shortcut {
    margin-left: auto!important;
}

:is(*, #\#):is(*, #\#):is(*, #\#) pagefind-modal-header .pf-input-wrapper::before, :is(*, #\#):is(*, #\#):is(*, #\#) .pf-modal-header .pf-input-wrapper::before {
    top: 13px;
}

article aside .nav-wrapper > pagefind-modal-trigger {
    display: block;
    width: 100%;
    padding-bottom: 15px;
}

article aside .nav-wrapper > pagefind-modal-trigger > button {
    display: flex!important;
    width: 100%!important;
}

article aside nav > ul > li:first-child > div {
    margin-top: 0;
    padding: 0;
}

article aside ul li.sidebar-expandable a {
    position: relative;
}

article aside ul li.sidebar-expandable > a::after {
    -webkit-mask: url('../images/chevron-right.svg') no-repeat center;
    align-items: center;
    background-color: #00051d74;
    background-position: center center;
    background-repeat: no-repeat;
    content: '';
    display: flex;
    font-size: 12px;
    height: 1rem;
    justify-content: center;
    right: 3px;
    mask: url('../images/chevron-right.svg') no-repeat center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
}

article aside ul li.sidebar-expandable a.selected::after {
    transform: rotate(90deg) translateX(-7px);
}

article aside ul li.sidebar-expandable.expanded > a::after {
    transform: rotate(90deg) translateX(-7px);
}

article aside ul li.sidebar-expandable.sidebar-collapsed > a::after {
    transform: translateY(-50%);
}

article aside button { display: none; }
article aside ul { list-style-type: none; margin: 0; padding: 0; }
article aside ul a { border-radius: 10px; display: block; font-size: 15px; margin-bottom: 3px; padding: 0.12rem 1.5rem 0.12rem .5rem; }
article aside ul a, aside ul a:visited { color: #0007149f; }
article aside ul a:hover, article aside ul li.expanded > a { background: #eef2ff; border-radius: 3px; text-decoration: none; }
article aside ul a.selected { background: #eef2ff; border-radius: 3px; color: #006ca7f5; font-weight: 500; }
article aside > .nav-wrapper > nav > ul > li > div { margin: 1.5rem 0 .5rem .5rem; }
article aside li > div { font-size: .875rem; font-weight: 600; }
article aside li, article aside li::before { all: unset; }
article aside li { display: block; line-height: 1.70; white-space: nowrap; }
article aside nav ul li.sidebar-expandable > ul { display: none; padding-left: 1rem; }
article aside nav ul li.sidebar-expandable.expanded > ul { display: block; }
article aside li h4 { color: #333; font-weight: bold }

@media screen and (min-width: 1025px) {
    article aside > .nav-wrapper > nav > ul > li:first-child > div { margin-top: 0; }
}

.content { flex-grow: 1; margin: 0 0 4em 0; min-width: 0; overflow-x: auto; width: 100%; }

pre + .result { border-top-left-radius: 0; border-top: 1px solid #dfdad3; border-top-right-radius: 0; margin-top: -17px; padding-top: 16px; }

.llm-buttons  { display: flex; align-items: center; gap: 0; border-bottom: 1px solid #ddd; padding-bottom: 10px; margin-bottom: 22px; margin-top: -8px; }
.llm-buttons a:hover { text-decoration: none; }
.llm-buttons__copy, .llm-buttons__md { background-color: transparent; border: 0; box-shadow: unset; padding: 0; font-size: 12px !important; color: #666 !important; font-weight: 600 !important; font-family: var(--font-family); display: flex; align-items: center; gap: 5px; cursor: pointer; white-space: nowrap; }
.llm-buttons__copy { padding-right: 10px; border-right: 1px solid #ddd; }
.llm-buttons__copy:disabled { cursor: not-allowed; }
.llm-buttons__md { padding-left: 10px; border-left: 1px solid #ddd; }
.llm-buttons img { max-height: 18px; }
.llm-buttons__md img { max-height: 15px; }

.operators table td:first-child { text-align: center; width: 3rem; }
.data-type-operators table td:first-child { width: 7rem; }
.data-type-operators table td:last-child { word-spacing: .5rem; }
.data-type-false table td:first-child { width: 6rem; }
.assignments table td:first-child { width: 7rem; }

.api-spec { border-bottom: 1px solid #d8dee4; padding: 40px 0; }
h1 + .api-spec { padding-top: 0; }
.api-spec:first-of-type { margin-top: 0; }
.api-spec .spec { align-items: start; box-sizing: border-box; column-gap: min(3rem, 5vw); display: grid; grid-template-columns: repeat(2, 1fr); row-gap: 2.5vw; }
.api-spec .spec > :nth-child(2) { box-sizing: border-box; display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-height) + 10px); }

.api-spec .endpoints-box { border-radius: 10px; border: 1px solid #d8dee4; background: #f5f6f8; font-size: .9em; width: 100%; }
.api-spec .endpoints-box > :nth-child(1) { background: #ebeef1; border-bottom: 1px solid #d8dee4; border-top-left-radius: 10px; border-top-right-radius: 10px; text-transform: uppercase; font-size: .8em; padding: 10px 12px; font-weight: bold; width: 100%; }
.api-spec .endpoints-box > ul { list-style: none; flex-direction: column; align-items: stretch; justify-content: normal; display: flex; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; padding-left: 20px; }
.api-spec .endpoints-box > ul > li { all: unset; line-height: 1.8; }
.api-spec .endpoints-box > ul > li::before { all: unset; }
.api-spec .endpoints-box > ul a { color: #333; text-decoration: none; }
.api-spec .endpoints-box > ul a > span { display: inline-block; text-align: right; }
.api-spec .endpoints-box > ul a > span.api-method-get { color: #045AD0; }
.api-spec .endpoints-box > ul a > span.api-method-post { color: #217005; }
.api-spec .endpoints-box > ul a > span.api-method-put { color: #7A2D91; }
.api-spec .endpoints-box > ul a > span.api-method-delete { color: #B13600; }

.api-spec .api-request-box { border-radius: 10px; display: flex; flex-direction: column; font-size: .9em; overflow: hidden; width: 100%; }
.api-spec .api-request-box > :nth-child(1) { align-items: center; background: #505865; color: #fff; display: flex; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-size: .9em; justify-content: space-between; padding: 12px 12px 8px 12px; width: 100%; }
.api-spec .api-request-box > :nth-child(1)  span.api-method-get { color: #4ABCF9; }
.api-spec .api-request-box > :nth-child(1) span.api-method-post { color: #4BCA2E; }
.api-spec .api-request-box > :nth-child(1) span.api-method-put { color: #C084FF; }
.api-spec .api-request-box > :nth-child(1) span.api-method-delete { color: #FF9926; }
.api-spec .api-request-box > :nth-child(2) { background: #3e444f; border-radius: 0; color: #fff; counter-reset: fence-line-counter; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-size: 14px; padding: 8px 20px 8px 20px; display: grid; }
.api-spec .api-request-box > :nth-child(2) > div::before { color: #A9B2C2; content: counter(fence-line-counter); counter-increment: fence-line-counter 1; display: inline-block; padding-right: 12px; text-align: right; width: 32px; }
.api-spec .api-request-box .copy-request { cursor: pointer; float: right; }
.api-spec .api-request-box code { overflow-x: auto; white-space: pre; width: 457px; }
.api-spec .api-request-box span { color: #4BCA2E; }

.api-spec .api-response-box { border: 1px solid #d8dee4; border-radius: 10px; flex-direction: column; font-size: .9em; overflow: hidden; width: 100%; }
.api-spec .api-response-box > :nth-child(1) { background: #ebeef1; border-bottom: 1px solid #d8dee4; color: #353A44; font-size: .9em; font-weight: bold; padding: 10px 12px; text-transform: uppercase; width: 100%; }
.api-spec .api-response-box > :nth-child(2) pre { margin: 0; padding: 0; }
.api-spec .api-response-box > :nth-child(2) pre code { background: #f5f6f8; color: #353A44; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-size: 14px; padding: 8px 20px 8px 20px; width: 100%; white-space: pre; }

.api-spec .api-errors-box { border: 1px solid #d8dee4; border-radius: 10px; flex-direction: column; font-size: .9em; width: 100%; }
.api-spec .api-errors-box > :nth-child(1) { background: #ebeef1; border-bottom: 1px solid #d8dee4; border-top-left-radius: 10px; border-top-right-radius: 10px; color: #353A44; font-size: .9em; font-weight: bold; padding: 10px 12px; text-transform: uppercase; width: 100%; }
.api-spec .api-errors-box > :nth-child(2) { background: #f5f6f8; color: #4A515C; display: grid; font-size: 14px; gap: 8px; grid-template-columns: auto 1fr; padding: 8px 20px 8px 20px; }
.api-spec .api-errors-box > :nth-child(2) .row { cursor: pointer; display: contents; }
.api-spec .api-errors-box > :nth-child(2) .status[data-status="404"] { color: #D66E00; }
.api-spec .api-errors-box > :nth-child(2) .status[data-status="422"] { color: #B13600; }
.api-spec .api-errors-box > :nth-child(2) .status[data-status="503"] { color: #7F1D00; }
.api-spec .api-errors-box > :nth-child(2) .message { position: relative; }
.api-spec .api-errors-box > :nth-child(2) .message::first-letter { text-transform: uppercase; }
.api-spec .api-errors-box > :nth-child(2) .message::after { color: #4A515C; content: '▼'; font-size: 10px; position: absolute; right: 0; top: 3px; transition: transform 0.3s ease; }
.api-spec .api-errors-box > :nth-child(2) .json-body { font-size: 13px; grid-column: span 2; }
.api-spec .api-errors-box > :nth-child(2) .json-body pre { background: #fafbfc; border: 1px solid #eaecef; border-radius: 10px; cursor: text; font-size: 11px; margin: 0; padding: 1em; white-space: pre-wrap; word-wrap: break-word; max-width: 100%; }

.api-spec h2 { margin: 0; }
.content .api-spec h2 a { color: #444; text-decoration: none; }
.api-spec h3 { color: #444; font-size: 16px; margin: 24px 0 16px 0; padding-top: 20px; }
.api-spec .description { font-size: 14px; }
.api-spec .api-no-parameters,
.api-spec .api-no-response { color: #666; font-size: 14px; }
.api-spec .method-list { list-style: none; padding-left: 0; margin-top: 12px; }
.api-spec .method-list code { font-size: 13px; }
.api-spec .method-list > li { border-top: 1px solid #d8dee4; padding: 12px 0; }
.api-spec .method-list > li::before { all: unset; }
.api-spec .method-list h4 { display: inline; color: #444; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-weight: bold; margin: 0 5px 0 0; }
.api-spec .method-list h4 span { color: #596171; }
.api-spec .method-list { line-height: 1.5; }
.api-spec .method-list .api-property-type { color: #596171; font-size: 12px; }
.api-spec .method-list .api-property-read-optional { color: #d59f38; font-weight: bold; font-size: 13px; padding-left: 5px; }
.api-spec .method-list .api-property-create-required { color: #B13600; font-weight: bold; font-size: 13px; padding-left: 5px; }
.api-spec .method-list .api-property-description { display: block; font-size: 14px; margin: 6px 0; }
.api-spec .method-list .api-property-description .tabs [role="tab"] { font-size: .8rem; }
.api-spec .method-list .method-list { border: 1px solid #ccc; border-radius: 12px; }
.api-spec .method-list .method-list > li { padding: 12px 20px; }
.api-spec .method-list .method-list > li::before { all: unset; }
.api-spec .method-list .method-list > li:first-child { border-top: none; }

.connector-settings .settings-list { list-style: none; padding-left: 0; margin-top: 12px;  padding-top: 10px; padding-bottom: 10px; }
.connector-settings .settings-list code { font-size: 13px; }
.connector-settings .settings-list > li { border-top: 1px solid #d8dee4; padding: 12px 0; }
.connector-settings .settings-list > li::before { all: unset; }
.connector-settings .settings-list h4 { display: inline; color: #444; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-weight: bold; margin: 0 5px 0 0; }
.connector-settings .settings-list h4 span { color: #596171; }
.connector-settings .settings-list { line-height: 1.5; }
.connector-settings .settings-list .api-property-type { color: #596171; font-size: 12px; }
.connector-settings .settings-list .api-property-read-optional { color: #d59f38; font-weight: bold; font-size: 13px; padding-left: 5px; }
.connector-settings .settings-list .api-property-create-required { color: #B13600; font-weight: bold; font-size: 13px; padding-left: 5px; }
.connector-settings .settings-list .api-property-description { display: block; font-size: 14px; margin: 6px 0; }
.connector-settings .settings-list .api-property-description .tabs [role="tab"] { font-size: .8rem; }
.connector-settings .settings-list .settings-list { border: 1px solid #ccc; border-radius: 12px; }
.connector-settings .settings-list .settings-list > li { padding: 12px 20px; }
.connector-settings .settings-list .settings-list > li::before { all: unset; }
.connector-settings .settings-list .settings-list > li:first-child { border-top: none; }

.grid-list { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); list-style: none; margin: 0; padding: 0; }
.grid-list  li, .grid-list li::before { all: unset; }
.grid-list li { background-color: #fefefe; border: 1px solid #d0d0d0; border-radius: 12px; box-shadow: rgba(0, 0, 51, 0.06) 0 1px 2px 0; display: flex; align-items: center; overflow: hidden; }
.grid-list li a { align-items: center; color: #333; display: flex; font-weight: 600; height: 100%; justify-content: start; padding: 20px; text-decoration: none; width: 100%; }
.grid-list li a svg { margin-right: 16px; width: 24px; height: 24px; flex-shrink: 0; }
.grid-list li:hover { border-color: var(--link-color); }
.grid-list.integrations li img { max-width: 28px; max-height: 28px; }

#what-is-krenalis + p { color: #777; font-size: 1.2em; }
.get-krenalis { background: #f9f6f1; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-weight: bold; padding: 1rem; }
.get-krenalis .krenalis-path { color: #d18c00; }
.get-krenalis:before { content: '$'; padding-right: .5rem; }

.page-support h1 { margin: 1em auto 1em auto; text-align: center; }
.page-support .support { display: flex; font-size: 1rem; margin: 0 auto; max-width: 800px;  }
.page-support .support > div { flex-basis: 0; flex-grow: 1; padding: 0 3rem; text-align: center; }
.page-support .support > div:first-child { border-right: 1px solid #aaa; }
.page-support .support h2 { margin-bottom: 0; }
.page-support .support h2 + p { color: #666; margin-bottom: 1rem; margin-top: 0; }
.page-support .support .channel { align-items: center; color: #000; display: flex; margin: 1.5rem 0 0 1rem; width: 100%; }
.page-support .support .channel > :first-child { text-align: center; width: 6rem; }
.page-support .support .channel a { color: #222; }
.page-support .support .channel.github-discussions svg { height: 5rem; width: 5rem; }

.steps {
    border-left: 1px solid #d0d0d0;
    margin: 1rem 0 3rem .75rem;
    padding-left: 1.75rem;
    position: relative;
}

.step {
    align-items: center;
    background-color: #fff;
    border-radius: .375rem;
    border: 1px solid #d0d0d0;
    color: #0007149f;
    display: flex;
    font-size: var(--font-size);
    font-weight: 600;
    height: 1.7rem;
    justify-content: center;
    margin-left: -2.6rem;
    margin-top: .2rem;
    position: absolute;
    width: 1.7rem;
}

code.language-jinja {
    color: rgb(136, 136, 136);
}

.hljs { background: inherit; }
pre code.hljs  { padding: 0; }
.hljs-attribute, .hljs-doctag, .hljs-keyword, .hljs-meta .hljs-keyword, .hljs-name, .hljs-selector-tag, hljs-section, .hljs-title { font-weight: normal; }
pre code { font-size: .9rem; }

@media screen and (max-width:1152px) {
    .index .benchmark .allocations { top: 5rem; }
}

@media screen and (max-width:1024px) {
    nav.top { height: auto; padding: 1rem 0; }
    nav.top ul  { margin-bottom: 0; }
    nav.top li { line-height: 2; padding: .4rem 1rem; }
    nav.top li.playground { display: none; }
    nav.top .logo { margin-left: 1rem; font-size: 0; }
    nav.top .github-logo { position: absolute; right: .8rem; top: 1rem; }

    .index body > section.benchmark { padding: 3rem 5rem 1rem 5rem; }
    .index body > section.benchmark h2 span { display: block; font-size: 1.5rem; }
    .page-benchmarks section.benchmark { padding: 10px 30px 20px 30px; }
    .benchmark h2 { font-size: 1.5rem; }
    .benchmark .allocations { position: static; margin-top: 1.5rem; font-size: .8em; }
    .benchmark .bar { max-width: 80%; }
    .benchmark span.time { font-size: 14px; }

    h1, h1 { font-size: 2rem; }
    .index .why h2 { font-size: 1.5rem; }
    .index body > section.benchmark > div:first-child    { display: block; margin-bottom: 0; position: static; }
    .index body > section.benchmark > div:first-child h2 { font-size: 1.8rem; }
    .index body > section.benchmark > div:first-child a  { float: none; }

    pre code { font-size: .8rem; }

    .page-support .support { display: block; }
    .page-support .support > div { margin: 2rem 0; }
    .page-support .support > div:first-child { border: none; }
    .page-support .support .channel { margin-left: 0; }

    aside { margin: 1rem 0; }
    aside button { background: #f4f6f8; border: 0; cursor: pointer; display: block!important; font-size: 14px; font-weight: bold; line-height: 19px; padding: 12px 40px 12px 12px; text-align: left; width: 100%; }
    
    aside nav { display: none; padding: 0 1rem; }
    aside.expanded nav { display: block; }
    aside ul a { font-size: .9rem; }
    article > .wrap { display: block; }
}

@media only screen and (max-width: 768px) {

    nav.top ul { margin: 1rem auto; padding: 0; text-align: center; }

    .index header { margin: 1rem; }
    .index header .logo { display: none; }
    .index header section { width: auto; }
    .index header h1 { font-size: 5rem; }
    .index header h2 { font-size: 1.6em; }
    .index header h3 { font-size: 1.2em; }

    .index body > section { padding: 0 2rem; }

    .cols-2 > div { width: auto; }

    .index body > section.benchmark { padding: 1rem; }
    .benchmark, .benchmark + .benchmark { padding: 0; width: auto; }

    table tr td:first-child code { overflow-wrap: anywhere; }

    .get-krenalis { font-size: .9rem; }

    footer { font-size: 0.8rem; text-align: center; }
    footer ul { padding-left: 0; }

}

:root {
    --microtip-transition-easing: lenear;
    --sidebar-width: 300px;
    --header-height: 60px;
    --mobile-header-height: 80px;
    --border-primary: #e6e6e6;
    --bg-primary: #fff;
    --color-primary: #4f46e5;
    --content-width: 1150px;
}

.body-api:not([no-api-column]) {
    --content-width: 1440px;
}

@media only screen and (max-width: 1500px) {

    :root, .body-api:not([no-api-column]) {
        --content-width: 870px;
    }

}

@media only screen and (max-width: 1400px) {

    :root, .body-api:not([no-api-column]) {
        --content-width: 770px;
    }

}

@media only screen and (max-width: 1300px) {

    :root, .body-api:not([no-api-column]) {
        --content-width: 670px;
    }

}

@media only screen and (max-width: 1200px) {

    :root, .body-api:not([no-api-column]) {
        --content-width: 570px;
    }

}

@media only screen and (max-width: 1024px) {

    :root, .body-api:not([no-api-column]) {
        --content-width: unset;
    }

}

nav.sections a.selected {
    background: #7464b5;
    border-radius: 1px;
    border-bottom: none;
}

.sidebar-button {
    border-radius: 5px;
}

.table-of-content {
    --toc-spacing: 16px;
    --toc-padding-right: 30px;
    --toc-margin-top: 1.5rem;
    --toc-font-size: 14px;
    --toc-text-color: #0007149f;
    --toc-title-color: #0007149f;
    --toc-hover-color: #000509e3;
    --toc-active-color: #006ca7f5;
    --toc-spine-color: #0009321f;

    width: var(--table-of-content-width);
    min-width: var(--table-of-content-width);
    max-height: calc(100dvh - var(--header-height) - var(--toc-margin-top));
    padding-left: var(--toc-spacing);
    padding-right: var(--toc-padding-right);
    margin-top: var(--toc-margin-top);
    overflow-y: auto;
    overflow-x: hidden;
    text-align: left;
    line-height: 1.1rem;
    position: sticky;
    top: calc(var(--header-height) + var(--toc-margin-top));
}

.table-of-content__title {
    margin: 0 0 .75rem;
    margin-left: calc(var(--toc-spacing) * -1);
    padding-left: 0;
    color: var(--toc-title-color);
    font-size: var(--toc-font-size);
    font-weight: 700;
}

.table-of-content .table-of-content__title-link {
    display: inline;
    margin: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
    padding-left: 0;
}

.table-of-content .table-of-content__title-link:hover {
    color: var(--link-color);
    text-decoration: none;
}

.table-of-content__list {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.table-of-content__list::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(var(--toc-spacing) * -1);
    width: 2px;
    background-color: var(--toc-spine-color);
    pointer-events: none;
    z-index: 0;
}

.table-of-content__item {
    margin: 0;
    padding: 0;
}

.table-of-content a {
    color: var(--toc-text-color);
    cursor: pointer;
    display: block;
    font-size: var(--toc-font-size);
    font-weight: 400;
    margin: 2px 0;
    margin-left: calc(var(--toc-spacing) * -1);
    padding: 4px 8px 3px var(--toc-spacing);
    position: relative;
    transition: color .3s;
}

.table-of-content a.is-active {
    background: #eef2ff;
    color: var(--toc-active-color);
}

.table-of-content a::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background-color: transparent;
    transition: background-color .3s;
    z-index: 1;
}

.table-of-content a.is-active::before {
    background-color: var(--toc-active-color);
}

.table-of-content a.toc-item--h3 {
    padding-left: calc(var(--toc-spacing) * 2);
}

.table-of-content a:hover {
    color: var(--toc-hover-color);
    text-decoration: none;
}

.table-of-content a.is-active:hover {
    color: var(--toc-active-color);
}

.api-spec .api-request-box code {
    width: unset;
}

.api-spec .spec {
    column-gap: 50px;
    grid-template-columns: 50% calc(50% - 50px);
}

.api-spec:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

@media screen and (max-width: 1024px) {

    article > .wrap {
        display: block!important;
    }

    article aside {
        width: 100% !important;
        max-width: unset!important;
        padding: 10px 30px !important;
        background-color: var(--bg-primary)!important;
        border-bottom: 1px solid var(--border-primary);
        z-index: 99;
    }

    article aside .nav-wrapper {
        position: static;
        top: auto;
        max-height: unset!important;
        overflow: visible;
        padding: 0;
        height: unset!important;
    }

    article aside .nav-wrapper > pagefind-modal-trigger { 
        padding-bottom: 10px; 
    }

    header {
        justify-content: space-between;
    }

    body > header nav {
        margin-left: 0;
    }

    .header .sections > a {
        padding-left: 0!important;
        padding-right: 0!important;
        margin: 0 10px!important;
    }

}

@media screen and (max-width: 850px) {

    body > header nav a {
        padding: 0 10px;
    }

    .nav-github-full {
        display: none;
    }

    .nav-github-short {
        display: block;
    }

}

@media screen and (max-width: 768px) {

    body > header nav a {
        font-size: 14px;
    }

    .nav-github-short {
        display: none;
    }


    .nav-github > img {
        max-width: 23px;
    }

    .nav-krenalis-site {
        padding-right: 0;
    }

    body article > .wrap > .main > div:first-child:last-child { 
        margin-right: 0;
    }

    .table-of-content {
        display: none;
    }

    .api-spec .spec {
        display: block!important;
    }

    .api-spec .spec > :nth-child(2) { 
        max-height: unset;
    }

}

@media screen and (max-width: 580px) {    
    body {
        padding-top: var(--mobile-header-height);
    }

    body > header {
        height: var(--mobile-header-height);
        align-items: flex-start;
        flex-flow: column;
        gap: 5px;
        justify-content: start;
    }

    body > header .logo {
        height: unset;
        margin-left: auto;
        margin-right: auto;
        margin-top: 3px;
    }

    body > header nav {
        gap: 8px;
        width: 100%;
        justify-content: start;
    }

    body > header nav a:first-child {
        margin-left: -12px;
    }

    body > header nav a {
        padding: 5px 12px!important;
    }

    body > header .logo {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-left: unset;
        margin-right: unset;
        width: 100%;
        margin-top: 12px;
    }

    body > header .logo img {
        max-height: 19px;
    }

    .header-github-mobile {
        display: block!important;
    }

    .header-github-mobile > img {
        max-width: 23px;
    }

    .nav-github {
        display: none;
    }

    .nav-krenalis-site {
        border-left: 0;
    }

    .header .sections {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 7px;
    }

    .header .sections > a {
        padding-bottom: 3px!important;
    }

    article { min-height: calc(100dvh - var(--mobile-header-height)); }

    h1, h2, h3, h4, h5, h6 {
        scroll-margin-top: calc(var(--mobile-header-height) + 10px);
    }
}

@media screen and (max-width: 420px) {    

    body > header nav a {
        padding: 5px 8px!important;
    }

}

@media screen and (max-width: 380px) {  

    .nav-krenalis-site {
        display: none;
    }

}

img[src$="/docs/events-ingestion.png"] { display: block; height: auto; margin: 5rem auto; width: 50%; }

#event-schema th:nth-child(3) { text-align: center; }
#event-schema td:nth-child(3) { color: #999; font-style: italic; padding-left: 1.2rem; padding-right: 1.2rem; text-align: center; }

#automatically-collected-properties th { text-align: center; white-space: nowrap; }
#automatically-collected-properties th:first-child { text-align: left; }
#automatically-collected-properties tbody tr:hover { background: #fafcfe; }
#automatically-collected-properties td { color: #008000; font-size: 1.3rem; text-align: center; }
#automatically-collected-properties td:first-child { color: inherit; font-size: inherit; text-align: left; }

.code-expand { position: relative; overflow: hidden; transition: max-height 0.3s ease; }
.code-expand__fade { position: absolute; bottom: 0; left: 0; right: 0; height: 56px; pointer-events: none; }
.code-expand__fade { background: linear-gradient(to bottom, rgba(var(--bg-rgb,255,255,255),0) 0%, var(--bg-primary,#fff) 80%); }
.code-expand__btn { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); cursor: pointer; }
.code-expand__btn { background: var(--bg-primary,#fff); border: 1px solid rgba(0,0,0,.15); border-radius: 8px; padding: 4px 8px; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.code-expand__btn svg { width: 16px; height: 16px; display: block; }

@keyframes code-expand-nudge {
    0%,100% { transform: translateY(0); } 50% { transform: translateY(3px); }
}

@media (prefers-reduced-motion: no-preference) {
    .code-expand__btn:hover svg,
    .code-expand:hover .code-expand__btn svg { animation: code-expand-nudge 0.6s ease-in-out infinite; }
}

/* ── Standalone code-block copy button ── */

pre.code-copy-wrap { position: relative; }

.code-copy-btn {
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: #4a5568;
  cursor: pointer;
  display: inline-flex;
  padding: 6px 8px;
  position: absolute;
  right: 8px;
  top: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.code-copy-btn:hover {
  background-color: rgba(0, 108, 167, 0.08);
  color: #006ca7;
}

.code-copy-btn:focus-visible {
  outline: 2px solid #006ca7;
  outline-offset: 2px;
}

.code-copy-btn svg {
  height: 20px;
  width: 20px;
}

.code-copy-btn--ok {
  color: #38a169;
}

.code-copy-btn--ok:hover {
  color: #38a169;
  background-color: rgba(56, 161, 105, 0.08);
}
