@font-face {
    font-family: Inter;
    src: url(fonts/inter-regular.ttf) format("truetype");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: Inter;
    src: url(fonts/inter-bold.ttf) format("truetype");
    font-weight: 600 900;
    font-display: swap;
}
:root {
    --ink: #212121;
    --muted: #6c6c6c;
    --line: #e6e6e6;
    --soft: #f6f6f6;
    --sidebar: 264px;
    --header: 76px;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font:
        14px/1.65 Inter,
        Arial,
        sans-serif;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
select {
    font: inherit;
    color: inherit;
}
button,
a,
input,
select,
summary {
    -webkit-tap-highlight-color: transparent;
}
button {
    cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 2px solid #444444;
    outline-offset: 4px;
}
button {
    background: white;
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 7px 12px;
}
button:hover {
    background: #eeeeee;
}
.topbar {
    height: var(--header);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    padding: 0 34px;
    gap: 46px;
    position: fixed;
    inset: 0 0 auto;
    z-index: 10;
    background: #fff;
}
.brand {
    display: flex;
    align-items: center;
    font-size: 29px;
    font-weight: 700;
    letter-spacing: -1.6px;
    line-height: 1;
}
.brand-dot {
    color: #656565;
}
.brand-divider {
    height: 23px;
    width: 1px;
    background: #d7d7d7;
    margin: 0 19px;
}
.brand-sub {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.2px;
}
.topbar nav {
    display: flex;
    height: 100%;
    gap: 30px;
    margin-left: 18px;
    font-size: 13px;
}
.topbar nav a {
    display: flex;
    align-items: center;
    color: var(--muted);
    position: relative;
}
.topbar nav .top-active {
    color: var(--ink);
}
.top-active:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--ink);
}
.preview {
    margin-left: auto;
    font-size: 11px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 7px;
}
.preview i {
    width: 6px;
    height: 6px;
    background: #767676;
    border-radius: 50%;
}
.sidebar {
    position: fixed;
    top: var(--header);
    bottom: 0;
    left: 0;
    width: var(--sidebar);
    border-right: 1px solid var(--line);
    padding: 29px 18px 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    z-index: 9;
}
.product-name {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 10px 23px;
    font-size: 14px;
    font-weight: 700;
}
.product-name small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 400;
    margin-top: 1px;
}
.product-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid #dddddd;
    border-radius: 5px;
    font-size: 22px;
    font-weight: 400;
}
.search {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 7px 9px;
    margin-bottom: 24px;
}
.search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 11px;
}
.search span {
    font-size: 20px;
    line-height: 1;
}
.search kbd {
    font: 10px Inter;
    border: 1px solid #dadada;
    border-radius: 3px;
    padding: 0 4px;
    color: var(--muted);
}
#navigation {
    overflow: auto;
    flex: 1;
    padding-bottom: 22px;
}
.nav-group {
    margin: 0 0 24px;
}
.nav-label {
    font-size: 10px;
    letter-spacing: 1.3px;
    font-weight: 700;
    padding: 0 10px;
    margin: 0 0 9px;
    color: #7c7c7c;
    text-transform: uppercase;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    line-height: 1.4;
    margin: 2px 0;
    padding: 8px 10px;
    border-radius: 4px;
    min-height: 33px;
    color: #585858;
    border-left: 2px solid transparent;
}
.nav-link:hover {
    background: #f7f7f7;
}
.nav-link.active {
    background: #eeeeee;
    border-left-color: #333333;
    color: #232323;
    font-weight: 700;
}
.nav-link .method {
    margin-left: auto;
    font-size: 8px;
    background: transparent;
    padding: 0;
}
.sidebar-bottom {
    border-top: 1px solid var(--line);
    padding: 17px 10px 20px;
    background: #fff;
}
.sidebar-bottom span {
    display: block;
    font-size: 8px;
    letter-spacing: 1.4px;
    color: #878787;
    margin-bottom: 9px;
}
.sidebar-bottom a {
    font-size: 11px;
}
main {
    margin-left: var(--sidebar);
    padding: calc(var(--header) + 33px) 50px 45px;
    max-width: 1800px;
    min-height: 100vh;
}
.breadcrumb {
    font-size: 11px;
    color: #7e7e7e;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 45px;
}
.breadcrumb strong {
    font-weight: 400;
    color: #3e3e3e;
}
.eyebrow {
    font-size: 10px;
    letter-spacing: 1.7px;
    font-weight: 700;
    text-transform: uppercase;
    color: #6e6e6e;
    margin-bottom: 15px;
}
h1 {
    font-size: 46px;
    font-weight: 700;
    letter-spacing: -2.1px;
    line-height: 1.13;
    margin: 0 0 20px;
}
h2 {
    font-size: 22px;
    letter-spacing: -0.7px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px;
}
h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 7px;
}
p {
    margin: 0 0 18px;
    color: #636363;
}
.lede {
    font-size: 16px;
    line-height: 1.8;
    max-width: 650px;
}
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(230px, 0.8fr);
    gap: 55px;
    padding-bottom: 44px;
    border-bottom: 1px solid var(--line);
}
.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 25px;
}
.button {
    border: 1px solid #dadada;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 12px;
    display: inline-flex;
    gap: 25px;
    align-items: center;
    background: #fff;
}
.button:hover {
    background: #f3f3f3;
}
.button.primary {
    background: #282828;
    color: white;
    border-color: #282828;
}
.button.primary:hover {
    background: #454545;
}
.hero-diagram {
    align-self: center;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 23px;
}
.hero-diagram .eyebrow {
    font-size: 9px;
    margin-bottom: 20px;
}
.flow-node {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #dfdfdf;
    background: #fff;
    padding: 14px;
    font-size: 12px;
}
.flow-node small {
    font-size: 10px;
    color: var(--muted);
}
.flow-node.dark {
    background: #323232;
    color: white;
    border: 0;
}
.flow-node.dark small {
    color: #c5c5c5;
}
.flow-line {
    text-align: center;
    font-size: 10px;
    color: #777777;
    line-height: 1.8;
    padding: 8px;
}
.flow-line span {
    margin: 0 8px;
    font-size: 15px;
}
.diagram-note {
    font-size: 10px;
    color: #767676;
    margin: 15px 0 0;
    text-align: center;
}
.meta-strip {
    display: flex;
    gap: 40px;
    border-bottom: 1px solid var(--line);
    padding: 19px 0;
    margin-bottom: 39px;
    font-size: 11px;
}
.meta-strip span {
    color: #7e7e7e;
    margin-right: 9px;
}
.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 22px;
}
.section-header a {
    font-size: 11px;
    color: #616161;
}
.section-header h2 {
    margin: 0;
}
.section-header .number {
    font-size: 10px;
    color: #8c8c8c;
    margin-right: 12px;
    font-weight: 400;
}
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 44px;
}
.card {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 23px 22px;
    display: block;
    position: relative;
    transition:
        border-color 0.15s,
        background 0.15s;
}
.card:hover {
    border-color: #9c9c9c;
    background: #fafafa;
}
.card .card-index {
    font-size: 11px;
    color: #7d7d7d;
    display: block;
    margin-bottom: 27px;
}
.card p {
    font-size: 12px;
    line-height: 1.8;
    margin: 0;
    max-width: 245px;
}
.card-arrow {
    position: absolute;
    top: 20px;
    right: 21px;
    font-size: 18px;
    color: #7c7c7c;
}
.endpoint-groups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin-top: 23px;
}
.group-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
    margin-bottom: 3px;
}
.group-heading small {
    font-size: 10px;
    color: var(--muted);
}
.endpoint-row {
    display: flex;
    gap: 11px;
    align-items: center;
    border-bottom: 1px solid #eeeeee;
    padding: 13px 0;
    font-size: 12px;
}
.endpoint-row:hover {
    background: #f8f8f8;
}
.endpoint-row > span:last-child {
    margin-left: auto;
    color: #929292;
}
.method {
    font: 700 9px/1.5 Inter;
    letter-spacing: 0.3px;
    padding: 3px 6px;
    border-radius: 3px;
    background: #ededed;
    color: #565656;
    flex-shrink: 0;
    min-width: 38px;
    text-align: center;
}
.method.get {
    color: #5d5d5d;
    background: #f0f0f0;
}
.method.put {
    color: #5f5f5f;
    background: #eeeeee;
}
.footer {
    border-top: 1px solid var(--line);
    margin-top: 45px;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #818181;
}
.footer strong {
    font-weight: 400;
    color: #505050;
}
.endpoint-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.9fr);
    gap: 45px;
}
.endpoint-layout h1 {
    font-size: 35px;
    letter-spacing: -1.3px;
}
.pathbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 5px;
    margin: 24px 0;
    font:
        12px/1.6 ui-monospace,
        SFMono-Regular,
        Consolas,
        monospace;
    overflow-wrap: anywhere;
}
.endpoint-layout .lede {
    font-size: 14px;
}
.direction {
    font-size: 10px;
    color: #737373;
    margin: 0 0 15px;
    letter-spacing: 0.3px;
}
.notice {
    border-left: 2px solid #898989;
    background: #f5f5f5;
    padding: 14px 17px;
    margin: 25px 0;
    font-size: 12px;
    color: #545454;
}
.notice strong {
    display: block;
    color: #373737;
    margin-bottom: 4px;
}
.field-section {
    margin-top: 34px;
}
.field-section h2 {
    font-size: 18px;
}
.section-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    border-bottom: 1px solid #dcdcdc;
    padding-bottom: 12px;
}
.section-title span {
    font-size: 10px;
    color: #777777;
}
.field {
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
}
.field-head {
    display: flex;
    gap: 10px;
    align-items: baseline;
    flex-wrap: wrap;
    font-size: 10px;
}
.field-head code {
    font-size: 12px;
    font-weight: 600;
    color: #313131;
}
.field-head .required {
    color: #585858;
    margin-left: auto;
}
.field-head .optional {
    color: #939393;
    margin-left: auto;
}
.field-head .type {
    color: #858585;
    font-family: ui-monospace, monospace;
}
.field p {
    font-size: 12px;
    line-height: 1.7;
    margin: 6px 0 0;
}
.field details {
    margin: 10px 0 0;
}
.field summary {
    font-size: 11px;
    color: #626262;
    cursor: pointer;
    width: fit-content;
}
.nested {
    margin: 10px 0 0 7px;
    border-left: 1px solid #dbdbdb;
    padding-left: 16px;
}
.nested .field:last-child {
    border-bottom: 0;
}
.examples {
    position: sticky;
    top: 100px;
    align-self: start;
}
.example-box {
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 18px;
}
.example-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0f0f0;
    padding: 12px 15px;
    font-size: 11px;
}
.example-header button {
    padding: 3px 8px;
    background: transparent;
    font-size: 10px;
    border-color: #d6d6d6;
}
.example-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid #e2e2e2;
    background: #fafafa;
}
.example-controls select {
    border: 0;
    background: transparent;
    font-size: 11px;
    max-width: 100%;
}
.example-controls label {
    font-size: 10px;
    color: #7c7c7c;
}
.example-box pre {
    background: #f8f8f8;
    margin: 0;
    padding: 20px 17px;
    font:
        11px/1.9 ui-monospace,
        SFMono-Regular,
        Consolas,
        monospace;
    overflow: auto;
    max-height: 590px;
    tab-size: 2;
}
.token-key {
    color: #444444;
}
.token-string {
    color: #676767;
}
.token-value {
    color: #616161;
}
.example-note {
    font-size: 11px;
    color: #7a7a7a;
    padding: 0 2px;
    line-height: 1.8;
}
.text-link {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.guide {
    max-width: 760px;
}
.guide h1 {
    font-size: 40px;
}
.guide h2 {
    margin-top: 36px;
}
.guide p,
.guide li {
    font-size: 14px;
    line-height: 1.9;
}
.guide li {
    margin-bottom: 9px;
    color: #636363;
}
.guide code {
    font-size: 12px;
    background: #f2f2f2;
    padding: 2px 5px;
    border-radius: 3px;
}
.guide pre {
    padding: 20px;
    background: #f4f4f4;
    overflow: auto;
    font-size: 12px;
}
.guide pre code {
    padding: 0;
}
.schema-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.schema-link {
    border: 1px solid var(--line);
    padding: 12px 14px;
    font-size: 12px;
    border-radius: 4px;
}
.schema-link:hover {
    background: var(--soft);
}
.no-results {
    padding: 10px;
    font-size: 12px;
    color: var(--muted);
}
.loading {
    padding: 40px;
}
.menu-button {
    display: none;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}
.skip {
    position: fixed;
    top: -100px;
    left: 12px;
    z-index: 30;
    background: #fff;
    padding: 12px;
}
.skip:focus {
    top: 10px;
}
@media (min-width: 1500px) {
    main {
        padding-left: 70px;
        padding-right: 70px;
    }
    .hero {
        gap: 90px;
    }
    h1 {
        font-size: 54px;
    }
}
@media (max-width: 1150px) {
    :root {
        --sidebar: 235px;
    }
    main {
        padding-left: 30px;
        padding-right: 30px;
    }
    .hero {
        gap: 25px;
        grid-template-columns: 1.2fr 0.8fr;
    }
    h1 {
        font-size: 39px;
    }
    .endpoint-layout {
        gap: 25px;
        grid-template-columns: 1fr;
    }
    .examples {
        position: static;
    }
    .cards {
        gap: 10px;
    }
    .card {
        padding: 18px;
    }
    .meta-strip {
        gap: 20px;
    }
}
@media (max-width: 850px) {
    .topbar {
        padding: 0 20px;
        gap: 15px;
    }
    .topbar nav {
        display: none;
    }
    .hero {
        grid-template-columns: 1fr;
    }
    .hero-diagram {
        display: none;
    }
    .cards {
        grid-template-columns: 1fr;
    }
    .card .card-index {
        margin-bottom: 15px;
    }
    .endpoint-groups {
        grid-template-columns: 1fr;
    }
    .meta-strip {
        flex-wrap: wrap;
        gap: 10px 25px;
    }
    .breadcrumb {
        margin-bottom: 30px;
    }
}
@media (max-width: 650px) {
    :root {
        --header: 65px;
    }
    .brand {
        font-size: 26px;
    }
    .brand-sub {
        font-size: 12px;
    }
    .brand-divider {
        margin: 0 13px;
    }
    .preview {
        display: none;
    }
    .menu-button {
        display: block;
        margin-left: auto;
        border: 0;
    }
    .sidebar {
        display: none;
        width: min(300px, 85vw);
        box-shadow: 12px 0 30px #23232315;
    }
    .sidebar.open {
        display: flex;
    }
    main {
        margin-left: 0;
        padding: 90px 23px 30px;
    }
    .hero {
        padding-bottom: 30px;
    }
    h1 {
        font-size: 39px;
    }
    .lede {
        font-size: 14px;
    }
    .cards {
        grid-template-columns: 1fr;
    }
    .card p {
        max-width: none;
    }
    .footer {
        gap: 20px;
    }
    .schema-list {
        grid-template-columns: 1fr;
    }
    .endpoint-layout h1 {
        font-size: 31px;
    }
    .pathbar {
        font-size: 11px;
    }
    .section-title {
        flex-wrap: wrap;
    }
}

.version-picker { display: block; margin: -6px 10px 20px; }
.version-picker > span { display: block; font-size: 9px; letter-spacing: 1.3px; color: #707070; margin-bottom: 6px; }
.version-picker select { width: 100%; padding: 7px 8px; background: #f7f7f7; border: 1px solid #dedede; border-radius: 4px; font-size: 11px; }
.version-entry { display: block; border: 1px solid #e1e1e1; padding: 18px; margin: 12px 0; border-radius: 5px; }
.version-entry span { margin-left: 15px; color: #777; font-size: 11px; }
.version-entry p { margin: 8px 0 0; }
