:root {
    --ink: #15213a;
    --muted: #607086;
    --line: #dce5ef;
    --blue: #0b51b7;
    --blue-soft: #eaf2ff;
    --navy: #082a59;
    --sidebar: 286px;
    scroll-behavior: smooth;
}

* { box-sizing: border-box; }
html, body {
    margin: 0;
    color: var(--ink);
    background: #f7f9fd;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* Sidebar */
.tocify-wrapper {
    width: var(--sidebar);
    padding: 0 14px 20px;
    background: #fff;
    border-right: 1px solid #e3e9f2;
    font-weight: 600;
    scrollbar-width: thin;
    scrollbar-color: #c4d3e8 transparent;
}
.docs-brand { display: flex; align-items: center; gap: 11px; height: 88px; margin: 0 4px; border-bottom: 1px solid #edf1f6; }
.brand-logo-img { display: block; width: auto; max-width: 96px; max-height: 40px; object-fit: contain; }
.brand-copy { min-width: 0; }
.brand-mark {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px;
    color: #fff; font-size: 20px; font-weight: 800;
    background: linear-gradient(135deg, #0b51b7, #2376de);
    box-shadow: 0 10px 24px rgba(11,81,183,.22), inset 0 1px rgba(255,255,255,.35);
}
.docs-brand strong { display: block; overflow: hidden; color: #162641; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.docs-brand small { display: block; margin-top: 3px; color: #7c8da5; font-size: 8px; letter-spacing: 1.5px; }
.tocify-wrapper > .search { margin: 18px 2px 14px; }
.tocify-wrapper > .search input {
    width: 100%; height: 42px; margin: 0; padding: 0 14px 0 38px;
    color: #263650; background: #f6f8fc; border: 1px solid #e1e8f1;
    border-radius: 10px; font-size: 12px;
}
.tocify-wrapper > .search input:focus { border-color: #80a9df; background: #fff; box-shadow: 0 0 0 3px rgba(11,81,183,.08); }
.tocify-wrapper > .search:before { top: 13px; left: 13px; color: #7e8da2; opacity: .75; font-size: 13px; }
.sidebar-overview { padding-bottom: 14px; border-bottom: 1px solid #edf1f6; }
.sidebar-overview a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: #52637b; border-radius: 9px; font-size: 13px; }
.sidebar-overview a:hover { color: #0b51b7; background: #edf4ff; }
.sidebar-overview span { color: #7094c5; font-size: 15px; }
.sidebar-label { padding: 20px 12px 9px; color: #8794a7; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; }
.tocify-wrapper li, .tocify-wrapper ul { line-height: 36px; }
.tocify-wrapper .tocify-item > a { padding: 0 12px; color: #56667d; border-radius: 8px; }
.tocify-wrapper .tocify-item > a:hover { color: #0b51b7; background: #f1f6fd; }
.tocify-wrapper .tocify-focus { color: #0b51b7; background: #e8f1ff; box-shadow: inset 3px 0 #0b51b7; }
.tocify-wrapper .tocify-subheader { margin: 2px 0 6px; padding: 5px 0; background: #f8fafd; border-radius: 8px; }
.tocify-wrapper .tocify-subheader .tocify-item > a { display: flex; align-items: center; gap: 8px; padding: 5px 10px 5px 12px; color: #78879b; font-size: 11px; line-height: 1.35; }
.sidebar-method { flex: 0 0 34px; min-width: 34px; height: 17px; border-radius: 4px; font-size: 6px; }
.sidebar-endpoint-name { overflow: hidden; min-width: 0; text-overflow: ellipsis; white-space: nowrap; }
.tocify-wrapper .toc-footer { margin: 14px 2px 0; padding: 14px 0 0; border-color: #e8edf4; }
.tocify-wrapper .toc-footer li { padding: 0 10px; color: #8996a8; }
.tocify-wrapper .toc-footer a { display: flex; justify-content: space-between; color: #5b7090; }
#last-updated { margin-top: 10px; padding-top: 10px; }
.tocify-wrapper .lang-selector { background: transparent; }

/* Overview */
.page-wrapper { margin-left: var(--sidebar); background: #f7f9fd; }
.docs-overview {
    position: relative; overflow: hidden; padding: 72px 5vw 64px; color: #27364d;
    background: radial-gradient(circle at 82% 7%, rgba(11,81,183,.12), transparent 36%), linear-gradient(150deg, #ffffff 0%, #f3f7ff 58%, #eaf2ff 100%);
}
.docs-overview:after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18;
    background-image: linear-gradient(rgba(11,81,183,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11,81,183,.035) 1px, transparent 1px);
    background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 72%);
}
.overview-glow { position: absolute; border: 1px solid rgba(11,81,183,.12); border-radius: 50%; pointer-events: none; }
.overview-glow-one { width: 420px; height: 420px; right: -180px; top: -200px; box-shadow: 0 0 90px rgba(11,81,183,.08); }
.overview-glow-two { width: 230px; height: 230px; right: 5vw; top: 110px; }
.overview-inner { position: relative; z-index: 2; max-width: 1360px; margin: 0 auto; }
.hero-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(380px,.85fr); gap: clamp(48px,7vw,110px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #0b51b7; font-size: 12px; font-weight: 750; letter-spacing: 1.4px; text-transform: uppercase; }
.eyebrow > span { width: 8px; height: 8px; border-radius: 50%; background: #0b51b7; box-shadow: 0 0 0 5px rgba(11,81,183,.1); }
.eyebrow b { padding: 3px 7px; color: #55708f; background: #fff; border: 1px solid #dce7f5; border-radius: 5px; font-size: 9px; }
.hero-copy h1 { margin: 22px 0 18px; color: #18233a; font-size: clamp(42px,4.25vw,68px); line-height: 1.08; letter-spacing: -3px; }
.hero-copy h1 em { color: #0b51b7; font-style: normal; }
.hero-copy > p { max-width: 700px; margin: 0; color: #65738a; font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 48px; padding: 0 20px; border-radius: 10px; font-size: 13px; font-weight: 700; text-decoration: none; transition: .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: #0b51b7; box-shadow: 0 12px 30px rgba(11,81,183,.23); }
.button-primary:hover { background: #09479f; }
.button-secondary { color: #0b51b7; background: #fff; border: 1px solid #cddcef; box-shadow: 0 6px 18px rgba(42,72,113,.06); }
.postman-download-menu { position: relative; }
.postman-download-menu > summary { cursor: pointer; list-style: none; }
.postman-download-menu > summary::-webkit-details-marker { display: none; }
.postman-download-menu > summary span { font-size: 10px; transition: transform .2s; }
.postman-download-menu[open] > summary span { transform: rotate(180deg); }
.postman-download-options {
    position: absolute; z-index: 10; top: calc(100% + 8px); left: 0; display: grid; min-width: 210px;
    padding: 7px; background: #fff; border: 1px solid #d7e2ef; border-radius: 10px;
    box-shadow: 0 16px 36px rgba(29,56,92,.16);
}
.postman-download-options a { padding: 11px 12px; color: #314761; border-radius: 7px; font-size: 12px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.postman-download-options a:hover { color: #0b51b7; background: #edf4ff; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; color: #728198; font-size: 11px; }
.hero-trust span { display: flex; align-items: center; gap: 7px; }
.hero-trust i { width: 5px; height: 5px; border-radius: 50%; background: #0b51b7; box-shadow: 0 0 0 3px rgba(11,81,183,.1); }

.api-console { padding: 22px; background: linear-gradient(145deg, #0b51b7, #073d8f); border: 1px solid rgba(11,81,183,.18); border-radius: 18px; box-shadow: 0 28px 60px rgba(11,81,183,.2), inset 0 1px rgba(255,255,255,.15); }
.console-bar { display: flex; align-items: center; gap: 7px; padding-bottom: 18px; }
.console-bar > span { width: 9px; height: 9px; border-radius: 50%; background: #ff6374; }
.console-bar > span:nth-child(2) { background: #ffbd4b; }
.console-bar > span:nth-child(3) { background: #29c88a; }
.console-bar small { margin-left: auto; color: rgba(255,255,255,.58); font-size: 9px; letter-spacing: 1.4px; }
.console-row { display: flex; align-items: center; gap: 12px; min-height: 75px; padding: 14px 16px; margin-top: 9px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.13); border-radius: 10px; }
.console-row > div { min-width: 0; flex: 1; }
.console-row small { display: block; margin-bottom: 9px; color: rgba(255,255,255,.56); font-size: 9px; font-weight: 750; letter-spacing: 1.4px; }
.console-row code { display: block; overflow: hidden; color: #fff; font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.copy-base { padding: 6px 9px; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 6px; font-size: 10px; }
.console-status { display: flex; align-items: center; gap: 8px; padding: 17px 4px 0; color: rgba(255,255,255,.58); font: 10px monospace; letter-spacing: 1px; text-transform: uppercase; }
.console-status span { width: 6px; height: 6px; border-radius: 50%; background: #29c88a; box-shadow: 0 0 10px #29c88a; }

.overview-details { margin-top: 64px; }
.section-kicker { margin-bottom: 12px; color: #0b51b7; font-size: 10px; font-weight: 750; letter-spacing: 1.7px; text-transform: uppercase; }
.flow-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.flow-grid article { display: flex; gap: 15px; padding: 18px; background: rgba(255,255,255,.82); border: 1px solid #dce6f3; border-radius: 12px; box-shadow: 0 8px 24px rgba(44,73,112,.05); }
.flow-grid article > b { display: grid; flex: 0 0 34px; place-items: center; width: 34px; height: 34px; color: #0b51b7; background: #eaf2ff; border: 1px solid #d5e4f8; border-radius: 50%; font-size: 10px; }
.flow-grid strong, .flow-grid span { display: block; }
.flow-grid strong { color: #1a2a43; font-size: 13px; }
.flow-grid span { margin-top: 6px; color: #748197; font-size: 11px; line-height: 1.5; }
.module-section { margin-top: 58px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.section-heading h2 { margin: 0; color: #172640; font-size: 24px; letter-spacing: -.8px; }
.section-heading > span { padding: 7px 10px; color: #58708e; background: #fff; border: 1px solid #dce5f0; border-radius: 7px; font-size: 10px; }
.module-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.module-grid a { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 11px; min-width: 0; padding: 16px; color: inherit; background: #fff; border: 1px solid #dce5f0; border-radius: 12px; box-shadow: 0 8px 24px rgba(44,73,112,.05); text-decoration: none; transition: .2s; }
.module-grid a:hover { transform: translateY(-2px); background: #fff; border-color: rgba(11,81,183,.38); box-shadow: 0 12px 30px rgba(11,81,183,.1); }
.module-icon { display: grid; place-items: center; width: 40px; height: 40px; color: #0b51b7; background: #eaf2ff; border-radius: 10px; font-size: 13px; font-weight: 800; }
.module-grid div { min-width: 0; }
.module-grid strong, .module-grid small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.module-grid strong { color: #1a2a43; font-size: 12px; }
.module-grid small { margin-top: 6px; color: #7a8799; font-size: 9px; }
.module-grid a > b { color: #6b7f99; font-size: 9px; white-space: nowrap; }

/* Reference */
.api-shell { position: relative; min-height: 100vh; padding-bottom: 80px; background: #f4f7fb; }
.api-reference-title { position: relative; z-index: 35; display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; padding: 46px 3.2vw 30px; background: #fff; border-bottom: 1px solid var(--line); }
.api-reference-title span { color: #0b51b7; font-size: 10px; font-weight: 800; letter-spacing: 1.8px; }
.api-reference-title h2 { margin: 7px 0 0; color: var(--ink); font-size: 32px; letter-spacing: -1.2px; }
.api-reference-tools { display: grid; width: min(620px, 52%); gap: 15px; }
.api-reference-title p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.global-token { display: grid; grid-template-columns: auto minmax(180px,1fr) auto; align-items: center; gap: 10px; padding: 9px 10px 9px 13px; background: #f6f9fd; border: 1px solid #dce5f0; border-radius: 10px; }
.global-token > span { color: #53677f; font-size: 9px; letter-spacing: 1.1px; white-space: nowrap; }
.global-token input { min-width: 0; height: 30px; padding: 0 10px; color: #1f3654; background: #fff; border: 1px solid #d6e1ee; border-radius: 6px; font: 11px "SFMono-Regular", Consolas, monospace; }
.global-token input:focus { outline: none; border-color: #79a6df; box-shadow: 0 0 0 3px rgba(11,81,183,.08); }
.token-visibility { padding: 6px 9px; color: #0b51b7; background: #e8f1ff; border: 0; border-radius: 6px; font-size: 10px; font-weight: 700; cursor: pointer; }

.api-shell .content { max-width: 1560px; margin: 0 auto; padding: 1px 3.2vw 0; text-shadow: none; }
.api-shell .content > h1 { margin: 34px 0 0; padding: 22px 26px 8px; color: #172640; background: #fff; border: 1px solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0; font-size: 22px; letter-spacing: -.5px; }
.api-shell .content > p { margin: 0; padding: 5px 26px 10px; color: #5b6c81; background: #fff; border-right: 1px solid var(--line); border-left: 1px solid var(--line); font-size: 13px; line-height: 1.75; }
.api-shell .content > p:last-of-type { padding-bottom: 22px; border-bottom: 1px solid var(--line); border-radius: 0 0 14px 14px; }
.api-shell .content > p code { padding: 2px 5px; color: #0b51b7; background: #eaf2ff; border: 1px solid #d1e2f8; border-radius: 5px; }

.api-group { margin-top: 54px; }
.api-group-header { margin-bottom: 22px; padding: 0 4px; }
.api-group-header > span, .endpoint-kicker { color: #0b51b7; font-size: 9px; font-weight: 800; letter-spacing: 1.7px; }
.api-group-header h1 { margin: 8px 0 0; color: #172640; font-size: 27px; letter-spacing: -.8px; }
.api-group-header p { max-width: 760px; margin: 10px 0 0; color: #64758b; font-size: 13px; line-height: 1.7; }
.api-subgroup-header { margin: 28px 0 16px; }
.api-subgroup-header h2 { margin: 0; color: #1f3049; font-size: 20px; }

.endpoint-card { overflow: clip; margin: 0 0 30px; background: #fff; border: 1px solid #d9e3ef; border-radius: 16px; box-shadow: 0 12px 38px rgba(35,61,96,.07); scroll-margin-top: 20px; }
.endpoint-header { padding: 27px 30px 24px; border-bottom: 1px solid #e3eaf2; }
.endpoint-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.endpoint-title-row h2 { margin: 7px 0 0; color: #14233a; font-size: 21px; line-height: 1.35; letter-spacing: -.35px; }
.endpoint-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.endpoint-badge { padding: 5px 8px; border-radius: 6px; font-size: 9px; font-weight: 750; white-space: nowrap; }
.endpoint-badge-auth { color: #9a5b00; background: #fff6df; border: 1px solid #f2d99c; }
.endpoint-badge-public { color: #087c56; background: #e9fbf3; border: 1px solid #bfead8; }
.endpoint-badge-warning { color: #b12b3a; background: #fff0f1; border: 1px solid #f2c7cc; }
.endpoint-route { display: flex; align-items: center; min-height: 44px; gap: 10px; margin-top: 18px; padding: 7px 8px; background: #f5f8fc; border: 1px solid #dde6f1; border-radius: 10px; }
.endpoint-route > code { min-width: 0; overflow: hidden; flex: 1; color: #183b69; background: transparent; font: 12px "SFMono-Regular", Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }
.method-pill, .sidebar-method { display: inline-grid; place-items: center; color: #fff; font-weight: 800; letter-spacing: .25px; }
.method-pill { min-width: 58px; height: 28px; padding: 0 9px; border-radius: 6px; font-size: 9px; }
.method-get { background: #0c9a6e; }
.method-post { background: #2368c4; }
.method-put, .method-patch { background: #b87510; }
.method-delete { background: #d94757; }
.icon-copy { padding: 6px 9px; color: #56708f; background: #fff; border: 1px solid #d8e2ee; border-radius: 6px; font-size: 9px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.icon-copy:hover { color: #0b51b7; border-color: #9fbee5; }
.endpoint-description p { max-width: 820px; margin: 15px 0 0; color: #5f7085; font-size: 13px; line-height: 1.75; }

.endpoint-layout { display: grid; grid-template-columns: minmax(480px,1.08fr) minmax(400px,.92fr); align-items: stretch; }
.endpoint-docs { min-width: 0; padding: 28px 30px 32px; }
.section-title-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.section-title-row > div:first-child { display: flex; align-items: center; gap: 10px; }
.section-title-row h3 { margin: 0; color: #1b2d46; font-size: 16px; }
.section-number { color: #6d86a6; font: 800 9px "SFMono-Regular", Consolas, monospace; letter-spacing: .8px; }
.tryout-actions { display: flex; gap: 7px; }
.tryout-actions button { min-height: 32px; padding: 0 11px; border: 0; border-radius: 7px; font-size: 10px; font-weight: 750; cursor: pointer; }
.button-tryout, .button-send { color: #fff; background: #0b51b7; }
.button-tryout:hover, .button-send:hover { background: #08479f; }
.button-cancel { color: #5f7085; background: #edf2f7; }
.button-send:disabled { opacity: .6; cursor: wait; }

.request-section, .response-schema { overflow: hidden; margin-top: 13px; background: #fbfcfe; border: 1px solid #e1e8f1; border-radius: 10px; }
details.request-section > summary, .request-section-heading { display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding: 0 15px; color: #263a55; background: #f2f6fa; font-size: 11px; font-weight: 750; cursor: pointer; list-style: none; }
details.request-section > summary::-webkit-details-marker { display: none; }
details.request-section > summary:after { content: "+"; color: #7990aa; font-size: 15px; font-weight: 400; }
details.request-section[open] > summary:after { content: "−"; }
details.request-section > summary small, .request-section-heading small { color: #7f90a5; font-size: 9px; font-weight: 600; }
.parameter-list { background: #fff; }
.parameter-row { position: relative; padding: 15px; border-top: 1px solid #edf1f6; }
.parameter-list > .parameter-row:first-child { border-top: 0; }
.field-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; min-height: 22px; }
.field-name { color: #0b51b7; background: #eaf2ff; border: 1px solid #d2e2f6; border-radius: 5px; padding: 2px 6px; font: 700 11px "SFMono-Regular", Consolas, monospace; }
.field-type { color: #667a93; font: 10px "SFMono-Regular", Consolas, monospace; }
.field-required { padding: 3px 6px; border-radius: 10px; font-size: 8px; font-weight: 750; }
.field-required.is-required { color: #bb3343; background: #fff0f2; }
.field-required.is-optional { color: #74869d; background: #edf2f7; }
.field-description p { margin: 7px 0 0; color: #5e6f84; font-size: 11px; line-height: 1.65; }
.field-example, .field-enum { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 8px; color: #8492a5; font-size: 9px; }
.field-example code, .field-enum code, .array-description code { padding: 2px 5px; color: #32547f; background: #f1f5fa; border: 1px solid #dfe7f0; border-radius: 4px; font: 10px "SFMono-Regular", Consolas, monospace; }
.field-inputs { display: flex; gap: 8px; margin-top: 9px; }
.field-inputs input { width: 100%; min-height: 36px; padding: 7px 9px; color: #273b55; background: #fff; border: 1px solid #cbd8e7; border-radius: 7px; font: 11px "SFMono-Regular", Consolas, monospace; }
.field-inputs label { align-items: center; gap: 5px; color: #526980; font-size: 11px; }
.field-inputs label input { width: auto; min-height: 0; }
.parameter-object { padding: 0; }
.parameter-object > summary { padding: 15px; cursor: pointer; list-style-position: inside; }
.parameter-object > summary .field-description, .parameter-object > summary .field-example { margin-left: 18px; }
.nested-parameters { margin: 0 12px 12px; overflow: hidden; border: 1px solid #e5ebf2; border-radius: 8px; }
.nested-parameters .parameter-row:first-child { border-top: 0; }
.nested-level-1 { padding-left: 25px; }
.nested-level-2 { padding-left: 35px; }
.nested-level-3 { padding-left: 45px; }
.array-description { padding: 12px 15px; color: #64758b; background: #f8fafc; font-size: 11px; }
.empty-parameters { padding: 18px; color: #72839a; background: #f8fafc; border: 1px dashed #ced9e6; border-radius: 10px; font-size: 11px; text-align: center; }
.response-schema { margin-top: 25px; }
.response-schema > .section-title-row { padding: 15px; margin: 0; background: #f2f6fa; }

.endpoint-console { position: sticky; top: 18px; align-self: start; min-width: 0; max-height: calc(100vh - 36px); padding: 20px; overflow-y: auto; background: #071d3b; border-left: 1px solid #173961; scrollbar-width: thin; scrollbar-color: #31557f transparent; }
.console-card { overflow: hidden; color: #d6e6fa; background: #0b274b; border: 1px solid #193e68; border-radius: 11px; }
.console-card + .console-card { margin-top: 14px; }
.console-card-header { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 13px; background: #0c2b52; border-bottom: 1px solid #1b426f; }
.console-card-header > div { display: flex; align-items: center; gap: 8px; }
.console-card-header strong { color: #dceaff; font-size: 10px; letter-spacing: .25px; }
.console-dot { width: 6px; height: 6px; background: #5e9de6; border-radius: 50%; box-shadow: 0 0 8px rgba(94,157,230,.6); }
.console-dot-green { background: #35c98b; box-shadow: 0 0 8px rgba(53,201,139,.6); }
.console-copy { padding: 5px 8px; color: #91acd0; background: #123762; border: 1px solid #24517f; border-radius: 5px; font-size: 9px; cursor: pointer; }
.console-copy:hover, .console-copy.copied { color: #fff; border-color: #4e7eb2; }
.console-tabs, .response-tabs { display: flex; position: static !important; inset: auto !important; width: auto !important; height: auto !important; gap: 2px; padding: 8px 10px 0; background: #0a2446; border-bottom: 1px solid #173a64; }
.console-tabs button, .response-tab { float: none !important; padding: 7px 9px; color: #7593b8; background: transparent; border: 0; border-bottom: 2px solid transparent; font-size: 9px; font-weight: 700; cursor: pointer; }
.console-tabs button.active, .response-tab.active { color: #fff; border-bottom-color: #64a7f0; }
.endpoint-console pre { float: none !important; clear: both !important; width: 100% !important; max-height: 420px; margin: 0; padding: 16px; overflow: auto; color: #dceaff; background: #081f3e; border: 0; text-shadow: none; white-space: pre; }
.endpoint-console pre code { display: block; color: #dceaff; background: transparent; border: 0; font: 11px/1.65 "SFMono-Regular", Consolas, monospace; }
.request-examples > div { margin: 0; }
.response-tabs { padding-top: 7px; }
.response-example[hidden] { display: none; }
.response-headers { background: #0a2446; }
.response-headers summary { padding: 10px 13px; color: #86a5ca; font-size: 9px; cursor: pointer; }
.console-empty { padding: 18px; color: #7895b8; font-size: 10px; }
.live-response-title { padding: 10px 13px; color: #b9d2ef; background: #0d315b; border-top: 1px solid #1c4775; font-size: 10px; font-weight: 700; }
.execution-error .live-response-title { color: #ffd7db; background: #512938; }

@media (max-width: 1180px) {
    .hero-layout { grid-template-columns: 1fr 380px; gap: 40px; }
    .module-grid { grid-template-columns: repeat(3,1fr); }
    .endpoint-layout { grid-template-columns: 1fr; }
    .endpoint-console { position: relative; top: auto; max-height: none; border-top: 1px solid #173961; border-left: 0; }
}
@media (max-width: 930px) {
    .page-wrapper { margin-left: 0; }
    #nav-button { top: 14px; left: 14px; padding: 0; color: #0b51b7; line-height: 1; opacity: 1; }
    #nav-button span { display: flex; align-items: center; gap: 7px; padding: 10px 12px; background: rgba(255,255,255,.94); border: 1px solid #d8e3f1; border-radius: 9px; box-shadow: 0 8px 24px rgba(11,81,183,.13); transform: none; }
    #nav-button img { width: 14px; height: 14px; filter: none; }
    #nav-button.open { left: calc(var(--sidebar) + 12px); }
    .tocify-wrapper { left: calc(var(--sidebar) * -1); }
    .tocify-wrapper.open { left: 0; }
    .docs-overview { padding-top: 74px; }
}
@media (max-width: 820px) {
    .hero-layout { grid-template-columns: 1fr; }
    .api-console { max-width: 620px; }
    .flow-grid { grid-template-columns: 1fr; }
    .module-grid { grid-template-columns: repeat(2,1fr); }
    .api-reference-title { align-items: flex-start; flex-direction: column; }
    .api-reference-tools { width: 100%; }
}
@media (max-width: 700px) {
    .docs-overview { padding: 66px 22px 46px; }
    .hero-copy h1 { font-size: 39px; letter-spacing: -2px; }
    .hero-copy > p { font-size: 14px; }
    .hero-actions { flex-direction: column; }
    .postman-download-menu > summary, .postman-download-options { width: 100%; }
    .module-grid { grid-template-columns: 1fr; }
    .section-heading { align-items: flex-start; flex-direction: column; }
    .api-reference-title { padding: 38px 24px 26px; }
    .api-reference-title h2 { font-size: 27px; }
    .api-shell .content { padding-right: 15px; padding-left: 15px; }
    .global-token { grid-template-columns: 1fr auto; }
    .global-token > span { grid-column: 1 / -1; }
    .endpoint-header, .endpoint-docs { padding-right: 18px; padding-left: 18px; }
    .endpoint-title-row { flex-direction: column; }
    .endpoint-badges { justify-content: flex-start; }
    .endpoint-route { align-items: flex-start; flex-wrap: wrap; }
    .endpoint-route > code { order: 3; width: 100%; flex-basis: 100%; white-space: normal; word-break: break-all; }
    .endpoint-console { padding: 14px; }
    .section-title-row { align-items: flex-start; flex-direction: column; }
    .tryout-actions { width: 100%; }
}
@media (max-width: 420px) {
    .hero-copy h1 { font-size: 34px; }
    .api-console { padding: 15px; }
    .console-row { padding: 12px; }
}

.docs-key-guide { margin-top: 22px; padding: 18px 20px; background: #f0f5ff; border: 1px solid #dce7fa; border-left: 3px solid #0b51b7; border-radius: 10px; color: #334155; }
.docs-key-guide strong { display: block; color: #173a72; font-size: 15px; }
.docs-key-guide p { margin: 8px 0 !important; font-size: 13px !important; line-height: 1.8 !important; }
.docs-key-guide code { overflow-wrap: anywhere; font-size: 12px; color: #0b51b7; }
.docs-key-guide a, .docs-key-status a { color: #0b51b7; font-weight: 600; text-decoration: none; }
.global-token .token-clear { border: 0; background: transparent; color: #64748b; cursor: pointer; white-space: nowrap; }
.docs-key-status { font-size: 12px !important; color: #64748b; margin: 7px 0 0; }
.hero-actions { flex-wrap: wrap; }
.hero-actions .button { white-space: nowrap; }
.global-token { grid-template-columns: auto minmax(180px, 1fr) auto auto; }
@media(max-width: 640px) { .global-token { grid-template-columns: minmax(0, 1fr) auto auto; } .global-token > span { grid-column: 1 / -1; } }

.workflow-panel { margin: 28px 0 36px; padding: 26px; border: 1px solid #dce5f0; background: #fff; border-radius: 16px; }
.workflow-panel > p, .workflow-step-body p { color: #64748b; font-size: 13px; line-height: 1.9; }
.workflow-panel h2 { margin: 6px 0 14px; font-size: 22px; }
.workflow-panel code { overflow-wrap: anywhere; font-size: 12px; }
.workflow-table-wrap { overflow-x: auto; margin: 20px 0; }
.workflow-table { width: 100%; border-collapse: collapse; font-size: 12px; line-height: 1.8; }
.workflow-table th, .workflow-table td { padding: 12px; border: 1px solid #e2e8f0; text-align: left; vertical-align: top; }
.workflow-table th { background: #f1f5fa; color: #334155; }
.workflow-note { margin: 18px 0; padding: 16px; border-left: 3px solid #0b51b7; background: #f0f5ff; color: #475569; font-size: 12px; line-height: 1.9; }
.workflow-step { margin: 10px 0; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; }
.workflow-step summary { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px; cursor: pointer; font-weight: 600; font-size: 13px; color: #334155; }
.workflow-step summary > span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 7px; color: #0b51b7; background: #eaf2ff; }
.workflow-step summary code { margin-left: auto; color: #64748b; font-size: 11px; }
.workflow-step-body { padding: 0 18px 18px; }
.workflow-step-body pre { padding: 18px; background: #10233e; color: #e2e8f0; border-radius: 9px; overflow: auto; font-size: 12px; line-height: 1.8; }
.workflow-step-body a { color: #0b51b7; font-size: 12px; }
@media(max-width: 640px) { .workflow-panel { padding: 18px; } .workflow-step summary code { width: 100%; margin-left: 35px; } }
