
@font-face { font-family: "PPFragment Glare"; src: url("/brand/PPFragment-GlareRegular.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "PPFragment Sans"; src: url("/brand/PPFragment-SansLight.woff2") format("woff2"); font-weight: 100 500; font-style: normal; font-display: swap; }
@font-face { font-family: "PPFragment Sans"; src: url("/brand/PPFragment-SansRegular.woff2") format("woff2"); font-weight: 600 900; font-style: normal; font-display: swap; }
:root { color-scheme: light; --cobalt: #153b67; --cobalt-deep: #0f2948; --coral: #f8004e; --coral-dark: #c9003f; --coral-soft: #fce3e9; --paper: #f9f7f4; --teal: #dcf3f6; --teal-muted: #edf8f9; --muted-ink: #566274; --card: #fff; --border: rgb(21 59 103 / 14%); --border-strong: rgb(21 59 103 / 24%); --code: #0f1729; }
* { box-sizing: border-box; }
:where(html) { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { min-width: 320px; margin: 0; background: var(--paper); color: var(--cobalt); font-family: "PPFragment Sans", ui-sans-serif, system-ui, sans-serif; font-size: 1rem; -webkit-font-smoothing: antialiased; }
main { max-width: 1184px; margin: 0 auto; padding: 0 28px 96px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--cobalt); font-family: "PPFragment Glare", Georgia, serif; font-weight: 500; text-wrap: balance; }
h1 { max-width: 12ch; margin-bottom: 22px; font-size: 4.25rem; letter-spacing: -.025em; line-height: .96; }
h2 { margin-bottom: 12px; font-size: 2.25rem; letter-spacing: -.018em; line-height: 1.06; }
h3 { margin-bottom: 6px; font-size: 1.25rem; line-height: 1.2; }
p, li { line-height: 1.65; text-wrap: pretty; }
p { max-width: 72ch; }
a { color: var(--cobalt); text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: color 180ms cubic-bezier(.22, 1, .36, 1), background-color 180ms cubic-bezier(.22, 1, .36, 1), border-color 180ms cubic-bezier(.22, 1, .36, 1); }
a:hover { color: var(--coral-dark); }
a:focus-visible, summary:focus-visible, pre:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: .92em; }
pre { max-height: 38rem; margin: 0; overflow: auto; padding: 22px; color: #f8fafc; background: var(--code); border-radius: 0 0 10px 10px; font-size: .84rem; line-height: 1.58; tab-size: 2; }

.skip-link { position: fixed; z-index: 30; top: 12px; left: 12px; padding: 10px 14px; color: #fff; background: var(--cobalt); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { color: #fff; transform: translateY(0); }

.site-masthead { position: sticky; z-index: 20; top: 0; background: rgb(249 247 244 / 96%); border-bottom: 1px solid var(--border); }
.masthead-inner { display: flex; min-height: 72px; max-width: 1184px; margin: 0 auto; padding: 0 28px; align-items: center; justify-content: space-between; gap: 28px; }
.brand-link { display: inline-flex; flex: 0 0 auto; }
.brand-link img { display: block; width: 152px; height: auto; }
.masthead-nav { display: flex; align-items: center; gap: 26px; }
.masthead-nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted-ink); font-size: .9rem; font-weight: 650; text-decoration: none; }
.masthead-nav a:hover { color: var(--coral-dark); }

.docs-intro { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr); gap: 64px; padding: 72px 0 68px; align-items: end; border-bottom: 1px solid var(--border-strong); }
.intro-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.intro-meta span { display: inline-flex; min-height: 28px; padding: 5px 10px; align-items: center; color: var(--cobalt); background: var(--teal); border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
.intro-meta span:first-child { color: #fff; background: var(--cobalt); }
.intro-lede { max-width: 590px; margin-bottom: 28px; color: var(--cobalt-deep); font-size: 1.18rem; line-height: 1.55; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.primary-action, .secondary-action { min-height: 46px; display: inline-flex; padding: 11px 17px; align-items: center; justify-content: center; border-radius: 10px; font-size: .9rem; font-weight: 700; text-decoration: none; }
.primary-action { color: #fff; background: var(--coral-dark); border: 1px solid var(--coral-dark); }
.primary-action:hover { color: #fff; background: var(--cobalt); border-color: var(--cobalt); }
.secondary-action { color: var(--cobalt); background: transparent; border: 1px solid var(--border-strong); }
.secondary-action:hover { color: var(--cobalt); background: var(--teal); border-color: rgb(21 59 103 / 30%); }
.security-note { padding: 24px; color: var(--cobalt-deep); background: var(--teal); border: 1px solid var(--border-strong); border-radius: 12px; }
.security-note p { margin-bottom: 14px; }
.security-note p:last-child { margin-bottom: 0; }
.security-label { font-size: .8rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.read-only-note { padding-top: 14px; border-top: 1px solid rgb(21 59 103 / 16%); font-size: .88rem; }

.docs-layout { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 72px; padding-top: 56px; }
.contents-rail nav { position: sticky; top: 104px; display: flex; flex-direction: column; align-items: flex-start; }
.contents-rail nav > p { margin-bottom: 12px; font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.contents-rail nav a { width: 100%; min-height: 38px; display: flex; align-items: center; color: var(--muted-ink); border-bottom: 1px solid var(--border); font-size: .88rem; text-decoration: none; }
.contents-rail nav a:hover { color: var(--coral-dark); }
.rail-note { display: flex; margin-top: 32px; flex-direction: column; gap: 5px; color: var(--muted-ink); font-size: .78rem; }
.rail-note code { overflow-wrap: anywhere; color: var(--cobalt); }
.docs-content { min-width: 0; }
.mobile-contents { display: none; }
.doc-section { padding: 60px 0; border-top: 1px solid var(--border-strong); }
.doc-section:first-of-type { padding-top: 0; border-top: 0; }
.section-heading { margin-bottom: 34px; }
.section-heading > p { margin-bottom: 0; color: var(--muted-ink); font-size: 1.02rem; }

.steps { display: flex; margin: 0; padding: 0; flex-direction: column; list-style: none; }
.steps li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-top: 1px solid var(--border); }
.steps li:last-child { padding-bottom: 0; }
.step-number { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--coral-dark); border-radius: 999px; font-size: .85rem; font-weight: 750; }
.steps p { margin-bottom: 0; color: var(--muted-ink); }
.endpoint { width: fit-content; max-width: 100%; display: flex; margin-top: 16px; overflow: hidden; align-items: stretch; border: 1px solid var(--border-strong); border-radius: 8px; }
.endpoint span { display: inline-flex; padding: 9px 11px; align-items: center; color: #fff; background: var(--cobalt); font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
.endpoint code { display: block; overflow-x: auto; padding: 9px 12px; color: var(--cobalt-deep); background: var(--card); white-space: nowrap; }

.contract-list { margin: 0; padding: 0; list-style: none; }
.contract-list li { display: grid; grid-template-columns: minmax(150px, .3fr) minmax(0, 1fr); gap: 32px; padding: 24px 0; border-top: 1px solid var(--border); }
.contract-list li:last-child { padding-bottom: 0; }
.contract-list h3, .contract-list p { margin-bottom: 0; }
.contract-list p { color: var(--muted-ink); }

.examples-list { overflow: hidden; background: var(--card); border: 1px solid var(--border-strong); border-radius: 12px; }
.integration-example + .integration-example { border-top: 1px solid var(--border-strong); }
.integration-example summary { position: relative; min-height: 60px; display: flex; padding: 14px 52px 14px 18px; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; transition: background-color 180ms cubic-bezier(.22, 1, .36, 1); }
.integration-example summary::-webkit-details-marker { display: none; }
.integration-example summary::after { position: absolute; right: 20px; content: "+"; color: var(--coral); font-size: 1.4rem; line-height: 1; }
.integration-example[open] summary::after { content: "−"; }
.integration-example summary:hover { background: var(--teal-muted); }
.example-name { font-weight: 700; }
.example-language { color: var(--muted-ink); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: .75rem; text-transform: uppercase; }
.example-code { padding: 0 10px 10px; background: var(--card); }

.postman-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .38fr); gap: 36px; padding: 28px; align-items: center; background: var(--teal-muted); border: 1px solid var(--border-strong); border-radius: 12px; }
.postman-card p:last-child { margin-bottom: 0; }
.postman-actions { display: flex; flex-direction: column; gap: 10px; }
.postman-actions a { width: 100%; }

.compatibility-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); }
.compatibility-grid > div { padding: 26px 28px 26px 0; }
.compatibility-grid > div + div { padding-right: 0; padding-left: 28px; border-left: 1px solid var(--border-strong); }
.compatibility-grid p { margin-bottom: 0; color: var(--muted-ink); }

.reference-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.reference-heading > div { min-width: 0; }
.download-link { min-height: 44px; display: inline-flex; flex: 0 0 auto; align-items: center; font-size: .88rem; font-weight: 700; }
.swagger-frame { overflow: hidden; background: var(--card); border: 1px solid var(--border-strong); border-radius: 12px; }
.docs-footer { display: flex; min-height: 104px; margin-top: 20px; padding: 28px max(28px, calc((100vw - 1128px) / 2)); align-items: center; justify-content: space-between; gap: 24px; color: #fff; background: var(--cobalt); }
.docs-footer p { margin: 0; font-weight: 700; }
.docs-footer a { min-height: 44px; display: inline-flex; align-items: center; color: #fff; text-decoration-color: var(--coral); }

.swagger-ui .scheme-container, .swagger-ui .authorization__btn, .swagger-ui .try-out, .swagger-ui .execute-wrapper { display: none !important; }
.swagger-ui .information-container { display: none; }
.swagger-ui .topbar { display: none; }
.swagger-ui { padding: 20px; }
.swagger-ui .wrapper { max-width: none; padding: 0; }
.swagger-ui, .swagger-ui .info, .swagger-ui .info p, .swagger-ui .opblock-description-wrapper p, .swagger-ui .response-col_status, .swagger-ui table thead tr td, .swagger-ui table thead tr th, .swagger-ui .model-title { color: var(--cobalt); font-family: "PPFragment Sans", ui-sans-serif, system-ui, sans-serif; }
.swagger-ui .opblock-tag { margin: 0 0 14px; padding: 4px 0 14px; color: var(--cobalt); border-bottom: 1px solid var(--border-strong); font-family: "PPFragment Glare", serif; font-size: 1.55rem; font-weight: 500; }
.swagger-ui a { color: var(--cobalt); text-decoration-color: var(--coral); }
.swagger-ui .opblock { margin: 0 0 10px; box-shadow: none; border-radius: 8px; }
.swagger-ui .opblock.opblock-get { background: rgb(220 243 246 / 48%); border-color: var(--cobalt); }
.swagger-ui .opblock.opblock-get .opblock-summary-method { background: var(--cobalt); }
.swagger-ui .opblock-summary { min-height: 52px; }
.swagger-ui .opblock-summary-path { font-size: .88rem; }
.swagger-ui section.models { margin: 24px 0 0; border: 1px solid var(--border); border-radius: 8px; }
.swagger-ui section.models h4 { color: var(--cobalt); font-family: "PPFragment Sans", ui-sans-serif, system-ui, sans-serif; font-size: 1rem; }

@media (max-width: 900px) {
  .docs-intro { grid-template-columns: 1fr; gap: 36px; align-items: start; }
  .docs-layout { grid-template-columns: 1fr; padding-top: 40px; }
  .contents-rail { display: none; }
  .mobile-contents { display: block; margin-bottom: 40px; background: var(--card); border: 1px solid var(--border-strong); border-radius: 10px; }
  .mobile-contents summary { min-height: 50px; display: flex; padding: 12px 16px; align-items: center; font-weight: 700; cursor: pointer; }
  .mobile-contents nav { display: flex; padding: 0 16px 14px; flex-direction: column; }
  .mobile-contents nav a { min-height: 42px; display: flex; align-items: center; border-top: 1px solid var(--border); text-decoration: none; }
}

@media (max-width: 640px) {
  main { padding: 0 18px 72px; }
  .masthead-inner { min-height: 64px; padding: 0 18px; }
  .brand-link img { width: 140px; }
  .masthead-nav a:not(:last-child) { display: none; }
  .masthead-nav { gap: 0; }
  .docs-intro { gap: 30px; padding: 44px 0 48px; }
  h1 { margin-bottom: 18px; font-size: 3rem; line-height: .98; }
  h2 { font-size: 1.9rem; }
  .intro-lede { font-size: 1.08rem; }
  .intro-actions { align-items: stretch; flex-direction: column; }
  .primary-action, .secondary-action { width: 100%; }
  .security-note { padding: 20px; }
  .docs-layout { gap: 0; }
  .doc-section { padding: 48px 0; }
  .section-heading { margin-bottom: 28px; }
  .steps li { gap: 14px; }
  .contract-list li { grid-template-columns: 1fr; gap: 8px; }
  .postman-card { grid-template-columns: 1fr; padding: 22px; }
  .compatibility-grid { grid-template-columns: 1fr; }
  .compatibility-grid > div { padding: 22px 0; }
  .compatibility-grid > div + div { padding-left: 0; border-top: 1px solid var(--border-strong); border-left: 0; }
  .reference-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .download-link { margin-top: 4px; }
  .swagger-ui { padding: 12px; }
  .swagger-ui .opblock-summary { align-items: flex-start; flex-wrap: wrap; }
  .swagger-ui .opblock-summary-path { max-width: calc(100vw - 132px); overflow-wrap: anywhere; }
  .swagger-ui .opblock-summary-description { width: 100%; padding: 0 10px 10px; }
  .docs-footer { min-height: 128px; padding: 24px 18px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  :where(html) { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media print {
  .site-masthead, .contents-rail, .mobile-contents, .intro-actions, .docs-footer { display: none; }
  main { max-width: none; padding: 0; }
  .docs-intro, .docs-layout { display: block; }
  .security-note, .swagger-frame, .examples-list { break-inside: avoid; }
}
