:root {
  --brand: #51145c;
  --ink: #252132;
  --muted: #82798a;
  --line: #eae6ee;
  --surface: #faf9fc;
  --header: 76px;
  --sidebar: 266px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: #fff;
  font-size: 14px;
  line-height: 1.75;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: var(--brand);
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #bc8aca;
  outline-offset: 4px;
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: -90px;
  left: 20px;
  z-index: 100;
  background: var(--brand);
  color: white;
  padding: 10px;
}
.skip-link:focus {
  top: 8px;
}
.header {
  height: var(--header);
  position: fixed;
  inset: 0 0 auto;
  background: #fffefef5;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  gap: 20px;
  z-index: 30;
  backdrop-filter: blur(12px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--brand);
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -1px;
  white-space: nowrap;
}
.brand img {
  border-radius: 8px;
  object-fit: contain;
}
.brand-plus {
  font-weight: 450;
}
.brand-divider {
  height: 23px;
  width: 1px;
  background: var(--line);
  margin: 0 11px;
}
.brand-caption {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  color: #8c8290;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 12px;
}
.swagger-header {
  color: #6e6475;
}
.pdf-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  white-space: nowrap;
}
.language-switch {
  display: flex;
  background: #f6f4f8;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 3px;
}
.language-switch button {
  background: transparent;
  border: 0;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 11px;
}
.language-switch button[aria-pressed='true'] {
  background: white;
  box-shadow: 0 1px 4px #24132d17;
  color: var(--brand);
}
.menu-toggle {
  display: none;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.sidebar {
  position: fixed;
  left: 0;
  top: var(--header);
  bottom: 0;
  width: var(--sidebar);
  padding: 27px 20px 15px 25px;
  border-right: 1px solid var(--line);
  background: #fcfbfd;
  display: flex;
  flex-direction: column;
  z-index: 25;
}
.search-wrap {
  position: relative;
  flex-shrink: 0;
  margin: 0 0 23px;
}
.search-wrap input {
  width: 100%;
  border: 1px solid #e4dee8;
  border-radius: 7px;
  background: white;
  padding: 9px 28px 9px 30px;
  font-size: 11px;
  color: var(--ink);
  box-shadow: 0 2px 3px #2d143203;
}
.search-wrap > span {
  position: absolute;
  left: 10px;
  top: 5px;
  font-size: 21px;
  color: #8e7b95;
}
.search-wrap kbd {
  position: absolute;
  right: 9px;
  top: 10px;
  font-size: 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  line-height: 18px;
  width: 17px;
  text-align: center;
  color: #968b9c;
}
#guide-navigation {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding-right: 4px;
  flex: 1;
}
.nav-group {
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #9a8e9e;
  margin: 25px 0 10px 9px;
}
.nav-group:first-child {
  margin-top: 0;
}
.nav-link {
  display: flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 6px;
  color: #756b7b;
  font-size: 12px;
  line-height: 1.5;
  margin: 2px 0;
  gap: 9px;
}
.nav-link:before {
  content: '';
  width: 4px;
  height: 4px;
  border: 1px solid #c9bfce;
  border-radius: 50%;
  flex-shrink: 0;
}
.nav-link:hover {
  color: var(--brand);
  background: #f3edf5;
}
.nav-link.active {
  background: #eee5f2;
  color: var(--brand);
  font-weight: 650;
}
.nav-link.active:before {
  background: var(--brand);
  border-color: var(--brand);
}
.sidebar-footer {
  margin-top: 15px;
  border-top: 1px solid var(--line);
  padding: 15px 5px 0;
  font-size: 10px;
  color: #9d91a4;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.sidebar-footer a {
  display: block;
  width: 100%;
  font-size: 11px;
  color: #77687f;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #59a88d;
  display: inline-block;
}
.workspace {
  margin-left: var(--sidebar);
  padding-top: var(--header);
}
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, #fbf8fc 10%, #f4eef8 75%, #eee6f3);
  padding: 50px 58px 31px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(#51145c07 1px, transparent 1px),
    linear-gradient(90deg, #51145c07 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent 40%, black);
}
.hero-pill {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  border: 1px solid #e6d9ec;
  background: #ffffff90;
  padding: 3px 10px;
  border-radius: 20px;
  color: #796080;
  font-family: monospace;
  font-size: 10px;
}
.hero-pill > span:not(.status-dot) {
  color: #c5b3cb;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #a588ad;
  font-weight: 700;
  display: block;
}
.hero .eyebrow {
  margin: 24px 0 12px;
}
.hero h1 {
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 650;
  letter-spacing: -1.7px;
  line-height: 1.15;
  max-width: 680px;
  margin: 0 0 20px;
  color: #3b1545;
}
.hero > p:not(.eyebrow) {
  color: #8a7390;
  max-width: 610px;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 25px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  position: relative;
}
.primary-button,
.secondary-button {
  border-radius: 6px;
  font-size: 11px;
  padding: 10px 16px;
  display: inline-flex;
  gap: 18px;
  align-items: center;
}
.primary-button {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 9px #51145c19;
}
.secondary-button {
  background: #ffffffa0;
  border: 1px solid #e1d3e7;
  color: #705377;
}
.hero-meta {
  display: flex;
  gap: 23px;
  font-size: 9px;
  color: #a28aa8;
  margin-top: 30px;
  position: relative;
}
.hero-meta > span + span:before {
  content: '';
  height: 10px;
  border-left: 1px solid #d9c9e0;
  margin-right: 23px;
}
.reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) 180px;
  gap: 44px;
  padding: 43px 50px 50px 58px;
  max-width: 1240px;
  margin: auto;
}
main {
  min-width: 0;
}
main:focus {
  outline: none;
}
.page-heading {
  margin-bottom: 27px;
}
.page-heading h1 {
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -1px;
  line-height: 1.25;
  margin: 8px 0 14px;
}
.lead {
  font-size: 15px;
  color: #8a7e92;
  line-height: 1.8;
  margin: 0;
}
.page-heading .eyebrow {
  font-size: 9px;
}
article > p {
  font-size: 13px;
  color: #74697c;
  margin: 18px 0;
  line-height: 1.95;
}
h2 {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 12px;
  font-weight: 650;
  line-height: 1.6;
  margin: 25px 0 10px;
}
h3 small {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 7px;
}
.quick-links {
  margin: 26px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.quick-links a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  transition: 0.2s;
}
.quick-links a:hover {
  border-color: #c6accf;
  background: #fcf9fd;
}
.quick-links a > span:first-child {
  font-size: 9px;
  color: #ab98b3;
  font-family: monospace;
}
.quick-links a > span:last-child {
  margin-left: auto;
}
.callout {
  border: 1px solid #e6daed;
  border-left: 3px solid #aa79b7;
  border-radius: 6px;
  background: #faf6fc;
  color: #80658a;
  font-size: 11px;
  padding: 15px 18px;
  margin: 23px 0;
  line-height: 1.8;
}
.callout strong {
  color: var(--brand);
  font-size: 11px;
}
.callout p {
  margin: 4px 0 0;
}
.callout.warning {
  border-color: #efdfb6;
  border-left-color: #c9a05e;
  background: #fffbf1;
  color: #967844;
}
.toc {
  position: sticky;
  top: 113px;
  align-self: start;
  max-height: calc(100vh - 140px);
  overflow: auto;
  scrollbar-width: thin;
}
.toc > .eyebrow {
  font-size: 9px;
  letter-spacing: 1px;
  color: #a699ad;
}
.toc nav {
  margin: 16px 0 28px;
  border-left: 1px solid var(--line);
}
.toc nav a {
  display: block;
  font-size: 10px;
  line-height: 1.6;
  color: #938699;
  padding: 7px 0 7px 14px;
}
.toc nav a:hover,
.toc nav a.active {
  color: var(--brand);
}
.toc-card {
  border: 1px solid var(--line);
  padding: 17px;
  border-radius: 8px;
  background: var(--surface);
  font-size: 11px;
  color: #95869e;
}
.toc-card > span {
  display: block;
  color: #8e669c;
  font-size: 22px;
  margin-bottom: 8px;
}
.toc-card strong {
  color: #64536e;
  font-size: 11px;
}
.toc-card p {
  font-size: 10px;
  line-height: 1.8;
}
.toc-card a {
  font-size: 10px;
}
.code-block {
  border: 1px solid #2e283b;
  border-radius: 8px;
  background: #211d2c;
  color: #d8d0e2;
  margin: 15px 0 22px;
  overflow: hidden;
}
.code-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 15px;
  background: #2b2537;
  border-bottom: 1px solid #3a3145;
  font-size: 9px;
  letter-spacing: 0.3px;
  color: #b3a4c2;
}
.code-toolbar button {
  border: 1px solid #574861;
  border-radius: 4px;
  background: #382e45;
  color: #c3b0d0;
  padding: 2px 8px;
  font-size: 9px;
}
.code-toolbar button:hover {
  color: white;
  border-color: #af8bc0;
}
pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  line-height: 1.8;
  tab-size: 2;
  scrollbar-width: thin;
}
code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-size: 11px;
}
.token-string {
  color: #b0d5b6;
}
.token-key {
  color: #d3b4e5;
}
.token-number {
  color: #e9c18e;
}
.token-keyword {
  color: #c59ee3;
}
.token-comment {
  color: #8e849b;
}
.endpoint {
  padding-top: 38px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 98px;
}
.endpoint-heading {
  display: flex;
  align-items: center;
  gap: 11px;
}
.endpoint-heading h2 {
  font-size: 19px;
  margin: 0;
}
.anchor {
  font-size: 15px;
  color: #c5b4ce;
  margin-left: auto;
}
.method {
  font-size: 9px;
  font-weight: 750;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  display: inline-block;
  white-space: nowrap;
}
.method-get {
  background: #e6f4ee;
  color: #348267;
}
.method-post {
  background: #eee6f7;
  color: #7d4da3;
}
.method-put,
.method-patch {
  background: #fff2de;
  color: #aa7428;
}
.method-delete {
  background: #fbe9eb;
  color: #b95a6b;
}
.endpoint-path {
  padding: 12px 14px;
  background: #f8f6fa;
  border: 1px solid var(--line);
  border-radius: 5px;
  margin: 15px 0 20px;
  overflow-wrap: anywhere;
}
.endpoint-path code {
  font-size: 10px;
  color: #8b6b99;
}
.endpoint > p {
  font-size: 12px;
  color: #7d7187;
  white-space: pre-line;
}
.endpoint .auth-label {
  font-size: 10px;
  color: #9a8ba5;
}
.auth-label strong {
  font-weight: 500;
  color: #7c5a8b;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin: 10px 0 21px;
  scrollbar-width: thin;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 11px;
  line-height: 1.7;
}
th {
  background: #faf8fc;
  color: #9b8da5;
  font-size: 9px;
  font-weight: 550;
  padding: 10px 12px;
  white-space: nowrap;
}
td {
  padding: 12px;
  vertical-align: top;
  border-top: 1px solid #f0edf3;
  color: #83758f;
  min-width: 60px;
}
td:first-child {
  max-width: 225px;
}
td code {
  font-size: 10px;
  overflow-wrap: anywhere;
  color: #71557e;
}
td:nth-child(2) {
  min-width: 75px;
}
.field-type {
  color: #9a8da4;
  font-size: 10px;
}
.required {
  font-size: 9px;
  color: #995e9e;
}
.optional {
  font-size: 9px;
  color: #b1a5b8;
}
.constraint {
  display: block;
  color: #a497ad;
  font-size: 9px;
}
.constraint code {
  font-size: 9px;
}
.muted {
  font-size: 10px;
  color: #a499ac;
  line-height: 1.8;
}
.text-link {
  font-size: 11px;
  color: #8b609d;
}
.tab-list {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}
.tab-list button {
  border: 0;
  background: white;
  padding: 9px 0;
  color: #aa9ab3;
  font-size: 10px;
  border-bottom: 2px solid transparent;
}
.tab-list button[aria-selected='true'] {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.code-tabs .code-block {
  margin-top: 12px;
}
details {
  font-size: 11px;
  color: #8b7397;
  margin: 20px 0;
}
summary {
  cursor: pointer;
}
details[open] summary {
  margin-bottom: 15px;
}
.guide-step {
  display: flex;
  gap: 18px;
  margin: 28px 0;
}
.guide-step > div {
  min-width: 0;
  flex: 1;
}
.guide-step h3 {
  margin-top: 0;
}
.guide-step p {
  font-size: 12px;
  color: #8f7f99;
}
.step-number {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #f1e8f5;
  color: #81558f;
  font-size: 10px;
  text-align: center;
  padding-top: 3px;
  flex-shrink: 0;
}
.page-pager {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 44px 0 35px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 11px;
}
.page-pager a {
  max-width: 48%;
  color: #93769f;
}
.page-pager a:last-child {
  margin-left: auto;
  text-align: right;
}
.content-footer {
  font-size: 9px;
  color: #b2a6ba;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.content-footer a {
  white-space: nowrap;
  color: #9e88aa;
}
.search-hit {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.search-hit strong {
  display: block;
  font-size: 13px;
  margin: 6px 0;
}
.search-hit p {
  font-size: 11px;
  color: var(--muted);
}
#search-results h1 {
  font-size: 23px;
}
#copy-status:not(:empty) {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--brand);
  color: white;
  border-radius: 7px;
  padding: 10px 17px;
  box-shadow: 0 8px 22px #51145c30;
  z-index: 100;
  font-size: 12px;
}
.noscript {
  margin-left: var(--sidebar);
  padding: 30px;
}
::selection {
  background: #e5c9ed;
}
.reading-layout:has(#search-results:not([hidden])) .toc {
  display: none;
}
@media (min-width: 1650px) {
  .hero {
    padding-left: max(58px, calc((100vw - var(--sidebar) - 1124px) / 2));
  }
  .reading-layout {
    grid-template-columns: minmax(0, 850px) 190px;
  }
}
@media (max-width: 1200px) {
  .brand-caption,
  .brand-divider {
    display: none;
  }
  .header {
    padding: 0 22px;
  }
  .header-actions {
    gap: 14px;
  }
  .reading-layout {
    grid-template-columns: minmax(0, 1fr);
    padding: 36px 40px;
  }
  .toc {
    display: none;
  }
  .hero {
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (max-width: 850px) {
  :root {
    --sidebar: 230px;
  }
  .header-actions {
    gap: 10px;
  }
  .swagger-header {
    display: none;
  }
  .pdf-link {
    font-size: 10px;
  }
  .brand {
    font-size: 20px;
  }
  .reading-layout {
    padding: 30px;
  }
  .hero {
    padding: 35px 30px;
  }
  .hero h1 {
    font-size: 33px;
  }
  .quick-links {
    grid-template-columns: 1fr;
  }
  .sidebar {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-meta {
    gap: 12px;
  }
  .hero-meta > span + span:before {
    margin-right: 12px;
  }
}
@media (max-width: 680px) {
  :root {
    --header: 64px;
  }
  .header {
    padding: 0 16px;
    gap: 8px;
  }
  .brand {
    font-size: 19px;
    gap: 5px;
    letter-spacing: -0.7px;
  }
  .brand img {
    width: 25px;
    height: 25px;
  }
  .pdf-link {
    border: 0;
    padding: 6px;
    font-size: 20px;
  }
  .pdf-link [data-i18n] {
    display: none;
  }
  .language-switch button {
    padding: 3px 5px;
    font-size: 10px;
  }
  .language-switch button span {
    display: none;
  }
  .menu-toggle {
    display: block;
    font-size: 16px;
    padding: 2px 7px;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 280px;
    box-shadow: 12px 0 30px #31143c15;
  }
  .sidebar.is-open {
    transform: translateX(0);
  }
  .workspace {
    margin-left: 0;
  }
  .hero {
    padding: 30px 23px 23px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero > p:not(.eyebrow) {
    font-size: 13px;
  }
  .hero-meta {
    font-size: 8px;
    gap: 10px;
  }
  .hero-meta > span + span:before {
    margin-right: 10px;
  }
  .reading-layout {
    padding: 30px 23px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading .lead {
    font-size: 14px;
  }
  article > p {
    font-size: 13px;
  }
  .endpoint-heading {
    flex-wrap: wrap;
    gap: 8px;
  }
  .endpoint-heading h2 {
    font-size: 18px;
    flex: 1;
    min-width: 180px;
  }
  .endpoint-path code {
    font-size: 10px;
  }
  .hero-actions {
    gap: 8px;
  }
  .primary-button,
  .secondary-button {
    font-size: 10px;
    padding: 9px 12px;
  }
  .hero-actions .primary-button {
    gap: 12px;
  }
  .content-footer {
    display: block;
  }
  .content-footer a {
    display: block;
    margin-top: 8px;
  }
  .guide-step {
    gap: 9px;
  }
  .step-number {
    width: 21px;
    height: 21px;
    font-size: 9px;
  }
  pre {
    padding: 16px;
    font-size: 10px;
  }
  .noscript {
    margin-left: 0;
  }
  td,
  th {
    padding: 10px;
  }
  .table-wrap {
    max-width: 100%;
  }
  code {
    font-size: 10px;
  }
  #copy-status:not(:empty) {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}
