:root {
    --docs-accent: #aa91f5;
    --docs-bg: #0b0c11;
    --docs-panel: #11131b;
    --docs-border: #262936;
    --docs-text: #edf0f8;
    --docs-muted: #a1a9bc;
    --display: var(--font);
    --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 160px;
}

.docs-body {
    margin: 0;
    background: var(--docs-bg);
    color: var(--docs-text);
    font: 14px/1.75 var(--font, system-ui, sans-serif);
}

.docs-body button,
.docs-body input,
.docs-body select,
.docs-body textarea {
    font: inherit;
}

.docs-body button,
.docs-body a {
    -webkit-tap-highlight-color: transparent;
}

.docs-body button {
    cursor: pointer;
}

.docs-body button:disabled {
    opacity: .5;
    cursor: wait;
}

.docs-body :focus-visible {
    outline: 2px solid var(--docs-accent);
    outline-offset: 4px;
}

.docs-body [hidden] {
    display: none !important;
}

.docs-skip {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 200;
    background: #7755cb;
    color: #fff;
    padding: 12px;
}

.docs-skip:focus {
    top: 8px;
}

.docs-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 32px;
    height: 72px;
    padding: 0 32px;
    background: #0b0c11f5;
    border-bottom: 1px solid var(--docs-border);
    backdrop-filter: blur(16px);
}

.docs-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: var(--docs-text);
    text-decoration: none;
    font-size: 14px;
}

.docs-brand strong {
    font-size: 20px;
    letter-spacing: -.04em;
}

.docs-brand strong span {
    font-size: 12px;
    color: var(--docs-muted);
}

.docs-brand-mark {
    display: grid;
    place-items: center;
    height: 28px;
    width: 28px;
    border-radius: 6px;
    color: #fff;
    background: #7958d0;
    font-weight: 900;
    font-size: 21px;
    line-height: 1;
}

.docs-brand-divider {
    width: 1px;
    height: 20px;
    margin: 0 6px;
    background: var(--docs-border);
}

.docs-search-open {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 390px;
    margin: auto;
    padding: 9px 12px;
    border: 1px solid var(--docs-border);
    border-radius: 8px;
    background: var(--docs-panel);
    color: var(--docs-muted);
    font-size: 12px !important;
    text-align: left;
}

.docs-search-open svg {
    width: 17px;
    height: 17px;
}

.docs-search-open kbd {
    margin-left: auto;
    font: 10px var(--mono);
    border: 1px solid #363949;
    border-radius: 4px;
    padding: 1px 5px;
}

.docs-dashboard {
    color: var(--docs-muted);
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
}

.docs-toolbar {
    position: sticky;
    top: 72px;
    z-index: 35;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 18px;
    min-height: 62px;
    padding: 10px 32px;
    background: #0b0c11f7;
    border-bottom: 1px solid var(--docs-border);
}

.docs-toolbar>div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.docs-muted {
    font-size: 11px;
    color: var(--docs-muted);
}

.docs-mode-switch {
    display: flex;
    gap: 3px;
    padding: 3px;
    border: 1px solid var(--docs-border);
    border-radius: 8px;
    background: #10121a;
}

.docs-mode-switch button {
    border: 0;
    padding: 5px 13px;
    border-radius: 5px;
    background: transparent;
    color: var(--docs-muted);
    font-size: 12px;
}

.docs-mode-switch button[aria-pressed=true] {
    background: #29223d;
    color: #d9caff;
    box-shadow: 0 1px 3px #0004;
}

.docs-console-launch {
    border: 1px solid #766097;
    background: #231b34;
    color: #dfd1ff;
    padding: 7px 12px;
    border-radius: 7px;
    font-size: 12px !important;
    text-decoration: none;
}

.docs-console-launch span {
    margin-left: 16px;
}

[data-docs-nav-toggle] {
    display: none;
    border: 1px solid var(--docs-border);
    background: var(--docs-panel);
    color: var(--docs-muted);
    border-radius: 6px;
    padding: 6px 9px;
    font-size: 11px !important;
}

.docs-shell {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    max-width: 1510px;
    margin: auto;
    padding: 0 32px;
    gap: 58px;
}

.docs-sidebar {
    position: sticky;
    top: 156px;
    align-self: start;
    max-height: calc(100vh - 175px);
    overflow: auto;
    padding: 25px 12px 24px 0;
    scrollbar-width: thin;
    scrollbar-color: #343646 transparent;
}

.docs-nav-label {
    margin: 0 0 10px;
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .13em;
    color: #7b849a;
}

.docs-sidebar nav+.docs-nav-label {
    margin-top: 34px;
}

.docs-sidebar nav {
    display: grid;
    gap: 3px;
}

.docs-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #a7aec1;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 12px;
    line-height: 1.55;
    text-decoration: none;
}

.docs-sidebar nav a:hover {
    background: #ffffff05;
    color: #ede6ff;
}

.docs-sidebar a[aria-current=page],
.docs-sidebar a[aria-current=location] {
    color: #c7afff;
    background: #a486f612;
}

.docs-nav-dot {
    width: 6px;
    height: 6px;
    border: 1px solid #625477;
    border-radius: 2px;
}

.docs-sidebar a[aria-current=page] .docs-nav-dot {
    background: #a88ae9;
    border-color: #a88ae9;
}

.docs-spec-link {
    display: block;
    margin-top: 30px;
    border-top: 1px solid var(--docs-border);
    padding-top: 16px;
    color: var(--docs-accent);
    text-decoration: none;
    font-size: 11px;
}

.docs-sidebar-note {
    font-size: 10px;
    color: #727c91;
    margin-top: 16px;
}

.docs-main {
    min-width: 0;
    width: 100%;
    max-width: 1060px;
    padding: 34px 0 0;
}

.docs-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--docs-muted);
    font-size: 11px;
}

.docs-breadcrumb>span {
    color: #555d71;
}

.docs-breadcrumb .docs-version {
    margin-left: auto;
    padding: 1px 7px;
    border: 1px solid var(--docs-border);
    border-radius: 4px;
    color: var(--docs-muted);
}

.docs-mode-note {
    margin: 24px 0 34px;
    color: #b6a5d6;
    padding-left: 12px;
    border-left: 2px solid #7453bb;
    font-size: 12px;
}

.docs-main .theme-docs,
.docs-main .fsection {
    padding: 0 !important;
}

.docs-main .td-layout {
    display: block;
    padding: 0;
    max-width: none;
}

.docs-main .td-sidebar,
.docs-main .td-breadcrumb,
.docs-main .devcrumb {
    display: none;
}

.docs-main .fmain {
    width: 100%;
    max-width: none !important;
    padding: 0;
}

.docs-main .devhead {
    margin: 0;
    padding: 0 0 32px;
    border-bottom: 1px solid var(--docs-border);
}

.docs-main .devhead-ic {
    display: none;
}

.docs-main .devhead-copy {
    width: 100%;
}

.docs-hero,
.docs-main .td-hero {
    padding: 6px 0 30px;
    border-bottom: 1px solid var(--docs-border);
}

.docs-eyebrow,
.docs-main .td-eyebrow {
    color: #ad93ec;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .15em;
    margin: 0 0 16px;
}

.docs-hero h1,
.docs-main .td-hero h1,
.docs-main .devhead h1 {
    font-size: clamp(34px, 4vw, 49px);
    line-height: 1.15;
    letter-spacing: -.045em;
    margin: 0 0 18px;
    font-weight: 750;
    color: var(--docs-text);
}

.docs-hero>p:not(.docs-eyebrow),
.docs-main .td-lead,
.docs-main .devhead p {
    max-width: 740px;
    margin: 14px 0;
    font-size: 16px;
    color: var(--docs-muted);
    line-height: 1.85;
}

.docs-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 24px;
}

.docs-hero-actions a {
    color: var(--docs-muted);
    font-size: 12px;
    text-decoration: none;
}

.docs-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 1px solid #9879e4;
    border-radius: 7px;
    padding: 10px 16px;
    background: #7653c5;
    color: #fff;
    font-weight: 650;
    font-size: 12px !important;
    text-decoration: none;
}

.docs-primary:hover {
    background: #8863d7;
}

.docs-section,
.docs-main .td-section,
.docs-main .devblock {
    padding-top: 42px;
    margin: 0;
    scroll-margin-top: 154px;
}

.docs-section h2,
.docs-main .td-section h2,
.docs-main .devblock h2 {
    color: var(--docs-text);
    margin: 0 0 20px;
    font-size: 26px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: -.025em;
}

.docs-section h3 {
    font-size: 19px;
    color: var(--docs-text);
}

.docs-section h4 {
    margin: 20px 0 10px;
    font-size: 12px;
    color: #bbc3d6;
}

.docs-section p,
.docs-section li,
.docs-main .td-section p,
.docs-main .td-section li {
    color: var(--docs-muted);
    font-size: 13px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.docs-section p {
    margin: 12px 0;
}

.docs-section ul,
.docs-section ol {
    padding-left: 22px;
}

.docs-section li {
    margin: 8px 0;
}

.docs-section a,
.docs-main a:not(.td-button, .others-card) {
    color: var(--docs-accent);
}

.docs-section code,
.docs-main .td-section code {
    font: 11px/1.6 var(--mono);
    color: #d0bbff;
    background: #9a7ad411;
    border: 1px solid #9a7ad41c;
    border-radius: 4px;
    padding: 2px 5px;
    overflow-wrap: anywhere;
}

.docs-section strong {
    color: var(--docs-text);
}

.docs-callout,
.docs-plain-guide {
    margin: 20px 0;
    padding: 16px 18px;
    border: 1px solid #6f53974d;
    border-radius: 8px;
    background: #7954bc09;
}

.docs-callout>strong,
.docs-plain-guide>strong {
    color: #d8c8f6;
    font-size: 12px;
}

.docs-callout p,
.docs-plain-guide p {
    margin: 6px 0 0;
}

[data-docs-mode=advanced] .docs-simple {
    display: none !important;
}

[data-docs-mode=simple] .docs-advanced {
    display: none !important;
}

.docs-table {
    border: 1px solid var(--docs-border);
    border-radius: 8px;
    overflow: auto;
    margin: 20px 0;
}

.docs-table table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 12px;
}

.docs-table th {
    background: #141620;
    color: #d1d6e4;
    font-size: 11px;
    font-weight: 650;
}

.docs-table th,
.docs-table td {
    padding: 13px 16px;
    vertical-align: top;
}

.docs-table td {
    border-top: 1px solid var(--docs-border);
    color: var(--docs-muted);
    overflow-wrap: anywhere;
}

.docs-table td:first-child {
    width: 26%;
}

.docs-table small {
    display: block;
    color: #8f99af;
    line-height: 1.8;
    margin-top: 4px;
    font-size: 10px;
}

.docs-code,
.docs-reference {
    min-width: 0;
    margin: 18px 0;
    border: 1px solid var(--docs-border);
    background: #0d0f16;
    border-radius: 8px;
    overflow: hidden;
}

.docs-code>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    color: #8f99b2;
    background: #13151e;
    font-size: 10px;
}

.docs-code button,
.docs-reference button {
    border: 1px solid #393148;
    border-radius: 4px;
    background: #221b30;
    color: #cbb3f5;
    padding: 3px 8px;
    font-size: 10px;
}

.docs-body pre {
    white-space: pre;
    tab-size: 2;
}

.docs-code pre,
.docs-reference pre {
    margin: 0;
    padding: 18px;
    overflow: auto;
    max-height: 440px;
}

.docs-code pre code,
.docs-reference pre code {
    border: 0;
    padding: 0;
    background: none;
    color: #ccd4e7;
    font: 11px/1.8 var(--mono);
    overflow-wrap: normal;
}

.docs-reference summary {
    padding: 12px 16px;
    color: #afa4c7;
    font-size: 12px;
    cursor: pointer;
}

.docs-reference[open] summary {
    border-bottom: 1px solid var(--docs-border);
}

.docs-reference>h4,
.docs-reference>p {
    padding: 0 16px;
}

.docs-reference .td-code,
.docs-reference .td-table-wrap {
    margin: 0;
    border: 0;
    border-radius: 0;
}

.docs-endpoint {
    scroll-margin-top: 154px;
    margin: 24px 0 40px;
    padding-top: 26px;
    border-top: 1px solid var(--docs-border);
}

.docs-endpoint-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.docs-endpoint-head>code {
    color: #cbd3e7;
    background: none;
    border: 0;
    padding: 0;
}

.docs-endpoint-head button {
    margin-left: auto;
    border: 1px solid #514164;
    border-radius: 5px;
    background: transparent;
    color: #bea1f7;
    padding: 4px 10px;
    font-size: 10px;
}

.docs-method {
    flex-shrink: 0;
    color: #74d7b4;
    font: 700 10px var(--mono);
    background: #62bc9615;
    padding: 4px 8px;
    border-radius: 4px;
}

.docs-method[data-method=POST] {
    background: #65a1df17;
    color: #91bff3;
}

.docs-method[data-method=PATCH],
.docs-method[data-method=PUT] {
    color: #dfbe75;
    background: #d3ab4f15;
}

.docs-method[data-method=DELETE] {
    color: #f493a6;
    background: #eb708815;
}

.docs-scope {
    font-size: 10px !important;
}

.docs-scope>span {
    margin-left: 12px;
    color: #dcba7d;
}

.docs-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 60px;
    padding: 24px 0;
    border-top: 1px solid var(--docs-border);
    color: #717c92;
    font-size: 11px;
}

.docs-footer a {
    color: var(--docs-muted);
    text-decoration: none;
}

.docs-search-dialog {
    width: min(650px, calc(100vw - 28px));
    max-height: 78vh;
    margin: 12vh auto auto;
    padding: 0;
    border: 1px solid #3c344e;
    border-radius: 12px;
    color: var(--docs-text);
    background: #14151e;
    box-shadow: 0 28px 100px #0008;
}

.docs-search-dialog::backdrop {
    background: #03040aaa;
    backdrop-filter: blur(3px);
}

.docs-search-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px 4px;
    color: #a2abc0;
    font-size: 12px;
}

.docs-search-head button {
    border: 0;
    background: none;
    color: #acb2c5;
    padding: 6px;
}

.docs-search-dialog>input {
    width: calc(100% - 40px);
    margin: 10px 20px;
    padding: 12px;
    color: var(--docs-text);
    background: #0c0e15;
    border: 1px solid var(--docs-border);
    border-radius: 7px;
}

.docs-search-count {
    color: #7d879e;
    font-size: 11px;
    padding: 0 20px;
}

.docs-search-results {
    padding: 0 10px 12px;
    overflow: auto;
    max-height: 50vh;
}

.docs-search-results a {
    display: block;
    padding: 12px;
    color: #e5e8f4;
    border-radius: 7px;
    text-decoration: none;
    font-size: 13px;
}

.docs-search-results a:hover,
.docs-search-results a:focus {
    background: #252033;
}

.docs-search-results small {
    display: block;
    margin-top: 3px;
    color: #929cb1;
    font-size: 11px;
}

.docs-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 130;
    max-width: 90vw;
    background: #36264f;
    color: #eaddff;
    padding: 10px 18px;
    font-size: 12px;
    border-radius: 8px;
    box-shadow: 0 6px 24px #0008;
}

.docs-toast:empty {
    display: none;
}

.docs-playground {
    margin: 56px 0 0;
    min-width: 0;
    padding: 0;
    overflow: visible;
    border: 1px solid var(--docs-border);
    border-radius: 12px;
    background: #10121a;
    color: var(--docs-text);
    scroll-margin-top: 14px;
}

.pg-header {
    display: flex;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid var(--docs-border);
    gap: 20px;
    align-items: flex-start;
}

.pg-header .docs-eyebrow {
    margin-bottom: 4px;
    font-size: 9px;
}

.pg-header h2 {
    margin: 0;
    font-size: 23px;
    letter-spacing: -.03em;
}

.pg-header>button {
    background: none;
    border: 1px solid var(--docs-border);
    color: #c0c7d7;
    border-radius: 6px;
    padding: 7px 12px;
    flex-shrink: 0;
    font-size: 11px;
}

.pg-header .pg-help {
    margin-bottom: 0;
}

.pg-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
}

.pg-request,
.pg-results {
    min-width: 0;
    padding: 24px;
}

.pg-results {
    position: sticky;
    top: 154px;
    border-left: 1px solid var(--docs-border);
    background: #0d0f16;
}

.pg-results>.pg-response {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.pg-environment {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--docs-border);
    border-radius: 7px;
    background: #171923;
    font-size: 11px;
}

.pg-environment code {
    margin-left: auto;
    color: #9aa6bd;
    font-size: 10px;
}

.pg-live-dot {
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: #d4ae68;
}

.pg-help {
    font-size: 11px;
    color: #919db4;
    line-height: 1.8;
    margin: 10px 0 14px;
    overflow-wrap: anywhere;
}

.pg-label {
    display: block;
    margin: 20px 0 8px;
    font-size: 12px;
    font-weight: 600;
    color: #d4daea;
}

.docs-playground input:not([type=checkbox]),
.docs-playground select,
.docs-playground textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 10px 12px;
    background: #0b0d14;
    color: #dce3f3;
    border: 1px solid #303443;
    border-radius: 6px;
    font: 11px/1.7 var(--mono);
}

.docs-playground textarea {
    resize: vertical;
    min-height: 130px;
}

.docs-playground select {
    font-family: var(--font);
}

.pg-key-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.pg-key-row input {
    flex: 1;
    flex-basis: 180px;
}

.pg-key-row button {
    flex: none;
    white-space: nowrap;
}

.docs-playground button:not(.docs-primary, .pg-header>button, .pg-picker-trigger) {
    border: 1px solid #3d364d;
    background: #211d2c;
    color: #bca8dd;
    border-radius: 5px;
    padding: 7px 10px;
    font-size: 10px;
}

.pg-picker {
    position: relative;
    min-width: 0;
}

.docs-playground .pg-picker-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #383342;
    border-radius: 8px;
    background: #0b0d14;
    color: var(--docs-text);
    text-align: left;
    transition: border-color .15s, background .15s;
}

.docs-playground .pg-picker-trigger:hover,
.docs-playground .pg-picker-trigger[aria-expanded=true] {
    border-color: #9b7bd1;
    background: #15121f;
}

.pg-picker-trigger>svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #a394bf;
    transition: transform .15s;
}

.pg-picker-trigger[aria-expanded=true]>svg {
    transform: rotate(180deg);
}

.pg-picker-value,
.pg-picker-item-label {
    min-width: 0;
}

.pg-picker-item-label {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 2px 10px;
    align-items: center;
}

.pg-picker-item-label>.docs-method {
    grid-row: 1 / 3;
    align-self: center;
}

.pg-picker-item-label>code {
    font: 11px/1.6 var(--mono);
    color: #e3dbf2;
    overflow-wrap: anywhere;
}

.pg-picker-item-title {
    grid-column: 2;
    font-size: 11px;
    line-height: 1.6;
    color: #909bb0;
    overflow-wrap: anywhere;
}

.pg-picker-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 20;
    padding: 6px;
    border: 1px solid #463654;
    border-radius: 10px;
    background: #11121c;
    box-shadow: 0 16px 40px #0009;
}

.pg-picker-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    margin-bottom: 5px;
    border: 1px solid #302b3d;
    border-radius: 6px;
    background: #0b0d14;
}

.pg-picker-search:focus-within {
    border-color: #9b7bd1;
    box-shadow: 0 0 0 2px #9b7bd11c;
}

.pg-picker-search>svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    color: #aa91d6;
}

.docs-playground .pg-picker-search>input {
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font: 12px/1.8 var(--font);
}

.docs-playground .pg-picker-search>input:focus-visible {
    outline: none;
}

.pg-picker-list {
    max-height: min(320px, 42dvh);
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #59466e transparent;
}

.pg-picker-group-title {
    padding: 12px 10px 6px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #a193b7;
}

.pg-picker-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 2px 0;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
}

.pg-picker-option:hover,
.pg-picker-option.is-active {
    background: #b28afa12;
    border-color: #b28afa35;
}

.pg-picker-option[aria-selected=true] .pg-picker-item-title,
.pg-picker-check {
    color: #c7a6fb;
}

.pg-picker-check {
    flex-shrink: 0;
}

.pg-picker-empty {
    padding: 20px 10px;
    color: var(--docs-muted);
    font-size: 12px;
}

.pg-picker-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px;
    margin-top: 6px;
    padding: 9px 10px 4px;
    border-top: 1px solid var(--docs-border);
    font-size: 9px;
    color: #7e88a0;
}

.pg-description {
    color: #bdc5d6;
    font-size: 12px;
    line-height: 1.9;
}

.pg-request-line {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px;
    background: #080a10;
    border-radius: 6px;
}

.pg-request-line>code {
    overflow-wrap: anywhere;
    font: 11px/1.8 var(--mono);
    color: #a7b1c8;
}

.pg-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
}

.pg-fields label {
    display: block;
    font-size: 11px;
    margin: 12px 0 5px;
    color: #c2cadc;
}

.pg-fields small {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    color: #7e8aa3;
}

.pg-write-confirm {
    background: #9b6b2012;
    border: 1px solid #9b6b204d;
    border-radius: 7px;
    padding: 12px;
    margin-top: 18px;
}

.pg-write-confirm label,
.pg-reveal {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 11px;
    line-height: 1.8;
    color: #cbb58c;
}

.pg-write-confirm input,
.pg-reveal input {
    flex-shrink: 0;
    margin-top: 5px;
    accent-color: #9b79df;
}

.pg-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.pg-feedback {
    color: #b9c3d9;
    font-size: 12px;
    margin: 16px 0;
    padding-left: 10px;
    border-left: 2px solid #75638f;
}

.pg-feedback[data-error=true] {
    color: #f2a2b0;
    border-color: #b96a7b;
}

.pg-response,
.pg-example,
.pg-suite {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--docs-border);
}

.pg-response-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pg-response-head h3 {
    font-size: 13px;
    margin: 0;
}

.pg-response-head>span {
    color: #a1abc1;
    font: 10px var(--mono);
}

.pg-response-head>select {
    width: auto;
    padding: 5px 8px;
}

.pg-response pre,
.pg-example pre {
    background: #080a10;
    color: #cbd5e9;
    border: 1px solid #252936;
    border-radius: 7px;
    max-height: 400px;
    overflow: auto;
    padding: 14px;
    font: 10px/1.8 var(--mono);
}

.docs-playground [data-pg-copy-response],
.docs-playground [data-pg-copy-code] {
    margin-top: 12px;
}

.pg-reveal {
    margin-top: 12px;
    color: #929eb6;
    font-size: 10px;
}

.pg-response dl {
    margin: 10px 0;
    font: 10px var(--mono);
    color: #8694ae;
    overflow-wrap: anywhere;
}

.pg-response dl>div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 5px 0;
}

.pg-response dd {
    margin: 0;
    color: #b9c6de;
}

.pg-suite ul {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.pg-suite li {
    font-size: 11px;
    padding: 6px 0;
    color: #b2bdd2;
    border-bottom: 1px solid #252936;
}

.docs-health-card {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 20px 0;
    padding: 22px;
    border: 1px solid var(--docs-border);
    background: var(--docs-panel);
    border-radius: 9px;
}

.docs-health-card h3 {
    margin: 0;
    font-size: 16px;
}

.docs-health-card p {
    margin: 5px 0 0;
    font-size: 12px;
}

.docs-health-card button {
    margin-left: auto;
    padding: 8px 14px;
    border: 1px solid #514166;
    background: #251d34;
    border-radius: 6px;
    color: #d2bdf8;
}

.docs-health-indicator {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    background: #7d869b;
    border-radius: 50%;
}

.docs-health-indicator[data-ok=true] {
    background: #75d1a7;
    box-shadow: 0 0 16px #75d1a733;
}

.docs-health-indicator[data-ok=false] {
    background: #e9a26e;
}

@media(min-width:1800px) {
    .docs-shell {
        gap: 80px;
    }
}

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

    .pg-results {
        position: static;
        border-left: 0;
        border-top: 1px solid var(--docs-border);
    }
}

@media(max-width:1000px) {
    .docs-shell {
        grid-template-columns: 195px minmax(0, 1fr);
        gap: 30px;
        padding: 0 24px;
    }

    .docs-header {
        padding: 0 24px;
        gap: 20px;
    }

    .docs-search-open {
        width: 300px;
    }

    .docs-search-open kbd {
        display: none;
    }
}

@media(max-width:760px) {
    .docs-header {
        height: 62px;
        padding: 0 16px;
        gap: 12px;
    }

    .docs-brand strong {
        font-size: 17px;
    }

    .docs-brand-divider {
        margin: 0;
    }

    .docs-dashboard {
        display: none;
    }

    .docs-search-open {
        width: 36px;
        height: 34px;
        margin: 0 0 0 auto;
        justify-content: center;
        padding: 7px;
    }

    .docs-search-open>span {
        display: none;
    }

    .docs-toolbar {
        top: 62px;
        padding: 9px 16px;
        gap: 8px;
        justify-content: space-between;
        min-height: 58px;
    }

    .docs-toolbar .docs-muted {
        display: none;
    }

    .docs-toolbar>div {
        gap: 0;
    }

    .docs-mode-switch button {
        font-size: 11px;
        padding: 4px 9px;
    }

    .docs-console-launch {
        font-size: 10px !important;
        padding: 7px 8px;
    }

    .docs-console-launch span {
        margin-left: 3px;
    }

    [data-docs-nav-toggle] {
        display: block;
    }

    .docs-shell {
        display: block;
        padding: 0 20px;
    }

    .docs-sidebar {
        display: none;
        position: fixed;
        inset: 120px 0 auto;
        max-height: calc(100dvh - 120px);
        padding: 22px;
        background: #10121afc;
        border-bottom: 1px solid var(--docs-border);
        z-index: 30;
    }

    .docs-sidebar[data-open] {
        display: block;
    }

    .docs-main {
        padding-top: 25px;
    }

    .docs-mode-note {
        margin-bottom: 25px;
    }

    .docs-hero h1,
    .docs-main .td-hero h1,
    .docs-main .devhead h1 {
        font-size: 34px;
    }

    .docs-hero>p:not(.docs-eyebrow),
    .docs-main .td-lead,
    .docs-main .devhead p {
        font-size: 14px;
    }

    .docs-section h2,
    .docs-main .td-section h2,
    .docs-main .devblock h2 {
        font-size: 23px;
    }

    .docs-table th,
    .docs-table td {
        padding: 10px;
    }

    .docs-table td:first-child {
        width: 34%;
    }

    .docs-endpoint-head {
        gap: 8px;
    }

    .docs-endpoint-head>code {
        font-size: 10px;
    }

    .docs-endpoint-head button {
        padding: 3px 7px;
    }

    .pg-request,
    .pg-results {
        padding: 20px 16px;
    }

    .pg-header {
        padding: 20px 16px;
        flex-wrap: wrap;
    }

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

    .pg-key-row {
        flex-wrap: wrap;
    }

    .pg-key-row input {
        flex-basis: 200px;
    }

    .docs-health-card {
        padding: 16px;
    }

    .docs-health-card button {
        width: 100%;
        margin: 0;
    }

    .docs-health-card>div {
        flex: 1;
        min-width: 0;
    }

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

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
}
