/* Adapted from the local SmartOLT manual stylesheet and guide styles. */
@font-face {
  font-family: Manrope;
  src: url("manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("dm-sans-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #13253b;
  --muted: #617084;
  --body-ink: #41556c;
  --blue: #086bd8;
  --blue-dark: #0564c8;
  --line: #dde4ed;
  --background: #fff;
  --soft: #f4f7fa;
  --current: #e6f0fc;
  --input-border: #c9d4e1;
  --code-background: #f6f8fa;
  --code-border: #e1e8f0;
  --heading: Manrope, Arial, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
  --navigation-height: 86px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--navigation-height) + 25px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
h1, h2, h3, h4, h5, h6, p { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-family: var(--heading); font-weight: 600; }
img { max-width: 100%; height: auto; }
.container { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 20px;
  z-index: 60;
  padding: 8px 14px;
  background: var(--background);
  color: var(--blue-dark);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #041329;
  border-bottom: 1px solid #8cbfff26;
}
.nav-wrap {
  position: relative;
  height: var(--navigation-height);
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand img { display: block; width: 158px; height: 37px; object-fit: contain; }
.brand-api { color: #eef4fc; font-family: var(--heading); font-size: 20px; font-weight: 500; }
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 1.7vw, 30px);
  margin-left: clamp(18px, 2.2vw, 40px);
}
.desktop-nav > a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 500;
  color: #eef4fc;
}
.desktop-nav > a:hover, .mobile-nav > a:hover { color: #8bc6ff; }
.desktop-nav .nav-trial-soft {
  padding: 5px 12px;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 6px;
}
.desktop-nav .nav-trial-soft:hover { border-color: rgb(255 255 255 / 75%); }
.nav-preferences { display: flex; flex: none; align-items: center; margin-left: auto; }
.theme-toggle {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #f2c14e;
}
.theme-toggle:hover { border-color: rgb(255 255 255 / 35%); background: #ffffff1f; color: #ffd66b; }
.theme-toggle:focus-visible { outline-color: #78baff; outline-offset: 2px; }
.theme-toggle svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-toggle .theme-sun, [data-theme="dark"] .theme-toggle .theme-moon { display: none; }
[data-theme="dark"] .theme-toggle .theme-sun { display: block; }
.menu-button, .mobile-nav { display: none; }
.site-header .mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100dvh - var(--navigation-height) - 1px);
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #eef4fc;
  background: #041329;
}
.site-header .mobile-nav > .nav-trial-mob { color: #8bc6ff; font-weight: 600; }
.menu-backdrop {
  position: fixed;
  inset: calc(var(--navigation-height) + 1px) 0 0;
  z-index: 30;
  background: rgb(4 19 41 / 45%);
}
.manual-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding-block: 36px 88px;
}
.manual-nav {
  position: sticky;
  top: calc(var(--navigation-height) + 20px);
  max-height: calc(100dvh - var(--navigation-height) - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  font-size: 14.5px;
  line-height: 1.45;
  scrollbar-width: thin;
  scrollbar-color: var(--input-border) transparent;
}
.manual-search { position: relative; margin: 0 0 16px; }
.manual-search input {
  width: 100%;
  height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--input-border);
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--background);
}
.manual-search input::placeholder { color: var(--muted); opacity: 1; }
.manual-search input:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.manual-nav-toggle { display: none; }
.manual-nav-home { margin-bottom: 14px; font-family: var(--heading); font-weight: 700; font-size: 16px; }
.manual-nav ol { margin: 0; padding: 0; list-style: none; }
.manual-nav .chapter + .chapter { margin-top: 16px; }
.manual-nav a { display: flex; gap: 8px; padding: 6px 10px; border-radius: 6px; color: var(--body-ink); }
.manual-nav a:hover { background: var(--soft); color: var(--ink); }
.manual-nav a .num { flex: none; min-width: 26px; color: var(--muted); font-variant-numeric: tabular-nums; }
.manual-nav .nav-endpoint .num { min-width: 38px; }
.manual-nav a > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.manual-nav .chapter-title {
  padding: 6px 0;
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  gap: 6px;
}
.manual-nav .chapter-title .num { min-width: 0; color: var(--blue-dark); }
.manual-nav a.current { background: var(--current); color: var(--blue-dark); font-weight: 600; }
.manual-nav a.current .num { color: var(--blue-dark); }
.nav-area { margin-top: 12px; }
.nav-area-title { display: flex; justify-content: space-between; padding: 4px 10px; color: var(--ink); font-weight: 600; }
.nav-count { color: var(--muted); font-size: 12px; font-weight: 400; }
.search-empty { padding: 10px; color: var(--muted); }
.manual-content { min-width: 0; max-width: 860px; }
.guide-breadcrumb { margin-bottom: 10px; font-size: 14px; }
.guide-breadcrumb a { color: var(--muted); }
.guide-breadcrumb a::before { content: "← "; }
.guide-breadcrumb a:hover { color: var(--blue-dark); }
.manual-content h1 {
  margin: 6px 0 18px;
  color: var(--ink);
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -1.2px;
}
.section-num { color: var(--muted); font-weight: 600; margin-right: 10px; }
.guide-body {
  min-width: 0;
  max-width: 860px;
  color: var(--body-ink);
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.guide-body p + p, .guide-body div + p, .guide-body p + div { margin-top: 12px; }
.guide-body h2, .guide-body h3 {
  margin: 32px 0 12px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -.6px;
}
.guide-body h4, .guide-body h5, .guide-body h6 { margin: 28px 0 10px; color: var(--ink); font-size: 20px; line-height: 1.4; }
.guide-body b, .guide-body strong { color: var(--ink); font-weight: 600; }
.guide-body a, .docs-footer a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.guide-body a:hover, .docs-footer a:hover { text-decoration-thickness: 2px; }
.guide-body ul, .guide-body ol { margin-block: 12px; padding-left: 22px; }
.guide-body li + li { margin-top: 6px; }
.guide-body li > ul, .guide-body li > ol { margin-block: 6px; }
.guide-body hr { margin: 32px 0; border: 0; border-top: 1px solid var(--line); }
.guide-body blockquote { margin: 20px 0; padding: 12px 16px; border-left: 3px solid var(--blue); background: var(--soft); }
pre, code, kbd { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; }
.guide-body code { font-size: .9em; }
.guide-body :not(pre) > code { color: var(--ink); background: var(--soft); border-radius: 3px; padding: 1px 4px; }
.guide-body pre {
  max-width: 100%;
  margin: 12px 0;
  padding: 14px 16px;
  overflow-x: auto;
  border: 1px solid var(--code-border);
  border-radius: 6px;
  background: var(--code-background);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.65;
  white-space: pre;
  overflow-wrap: normal;
}
.guide-body pre code { font-size: inherit; }
.table-wrap { max-width: 100%; overflow-x: auto; margin: 22px 0 26px; }
.guide-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.guide-body th, .guide-body td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.guide-body th { background: var(--soft); color: var(--ink); font-weight: 600; }
.params { min-width: 740px; }
.params td:first-child { width: 190px; min-width: 190px; color: var(--ink); }
.params td:first-child code { overflow-wrap: normal; }
.params td:nth-child(4) { min-width: 100px; max-width: 200px; }
.params td:last-child { min-width: 250px; }
.params small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.required { color: var(--ink); font-weight: 600; }
.tag-intro { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.tag-intro > h2 { margin: 0 0 18px; font-size: 36px; line-height: 1.25; letter-spacing: -1px; }
.endpoint { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.endpoint > .endpoint-title { margin: 0 0 16px; font-size: 28px; letter-spacing: -.8px; }
.guide-body .heading-link { margin-left: 10px; color: var(--muted); font-family: var(--body); font-size: 18px; font-weight: 400; text-decoration: none; }
.guide-body .heading-link:hover { color: var(--blue-dark); }
.request-line { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.guide-body .request-line code { min-width: 0; padding: 0; background: transparent; font-size: 14px; overflow-wrap: anywhere; }
.method { flex: none; color: var(--blue-dark); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.endpoint-description { margin-bottom: 26px; }
.endpoint-description > :first-child { margin-top: 0; }
.endpoint-description h3 { font-size: 22px; }
.endpoint .subheading { margin: 32px 0 12px; font-size: 20px; letter-spacing: -.4px; }
.example-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 32px; }
.example-heading .subheading { margin: 0; }
.copy { padding: 3px 10px; border: 1px solid var(--input-border); border-radius: 5px; background: var(--background); color: var(--body-ink); font-size: 12px; }
.copy:hover { color: var(--blue-dark); border-color: var(--blue); }
.responses { border-top: 1px solid var(--line); }
.response { min-width: 0; border-bottom: 1px solid var(--line); }
.response summary { list-style: none; display: flex; align-items: baseline; gap: 12px; padding: 12px 0; cursor: pointer; font-size: 15px; }
.response summary::-webkit-details-marker { display: none; }
.response summary:hover { color: var(--blue-dark); }
.response summary > span:nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
.status { flex: none; color: var(--ink); font-family: ui-monospace, monospace; font-size: 13px; }
.event-type { color: var(--ink); }
.chevron { flex: none; align-self: center; width: 7px; height: 7px; margin: 0 5px 0 auto; border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted); transform: rotate(-45deg); }
.response[open] .chevron { transform: rotate(45deg); }
.code-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; }
.response pre { max-height: 500px; }
.muted { color: var(--muted); }
.docs-footer { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e8eef6;
  --muted: #a3b3c8;
  --body-ink: #bccbdd;
  --blue: #8bc6ff;
  --blue-dark: #8bc6ff;
  --line: #304158;
  --background: #101d2f;
  --soft: #17283d;
  --current: #203c5c;
  --input-border: #4a607b;
  --code-background: #0c1829;
  --code-border: #304158;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --ink: #e8eef6;
    --muted: #a3b3c8;
    --body-ink: #bccbdd;
    --blue: #8bc6ff;
    --blue-dark: #8bc6ff;
    --line: #304158;
    --background: #101d2f;
    --soft: #17283d;
    --current: #203c5c;
    --input-border: #4a607b;
    --code-background: #0c1829;
    --code-border: #304158;
  }
}
@media (max-width: 1200px), (hover: none) and (pointer: coarse) {
  .desktop-nav, .nav-wrap .nav-preferences { display: none; }
  .menu-button { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; padding: 0; color: #eef4fc; background: transparent; border: 0; }
  .menu-icon { display: flex; flex-direction: column; gap: 5px; }
  .menu-icon > span { display: block; width: 24px; height: 3px; background: currentColor; }
  .menu-button[aria-expanded="true"] .menu-icon > span:first-child { transform: translateY(8px) rotate(45deg); }
  .menu-button[aria-expanded="true"] .menu-icon > span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] .menu-icon > span:last-child { transform: translateY(-8px) rotate(-45deg); }
  .mobile-nav:not([hidden]) { display: flex; flex-direction: column; padding: 10px 20px 24px; border-block: 1px solid #8cbfff26; }
  .mobile-nav a { padding: 12px 0; font-size: 16px; }
  .mobile-nav .nav-preferences { width: fit-content; margin: 10px 0 0 -8px; padding-top: 14px; border-top: 1px solid #8cbfff26; }
  .mobile-nav .theme-toggle { width: 44px; height: 44px; }
}
@media (max-width: 960px) {
  .manual-layout { display: block; padding-top: 20px; }
  .manual-nav { position: relative; top: auto; max-height: none; overflow: visible; margin-bottom: 28px; padding: 0; }
  .manual-nav-toggle { display: inline-flex; align-items: center; padding: 9px 16px; border: 1px solid var(--input-border); border-radius: 6px; background: var(--background); color: var(--ink); font-weight: 600; }
  .manual-nav-inner { display: none; margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--background); max-height: calc(100dvh - var(--navigation-height) - 154px); overflow-y: auto; overscroll-behavior: contain; }
  .manual-nav.open { z-index: 40; }
  .manual-nav.open .manual-nav-inner { display: block; }
  .manual-content h1 { font-size: 32px; }
  .tag-intro > h2 { font-size: 30px; }
  .endpoint > .endpoint-title { font-size: 26px; }
}
@media (max-width: 760px) {
  :root { --navigation-height: 76px; }
  .container { width: calc(100% - 40px); }
  .nav-wrap { gap: 14px; }
  .brand { gap: 12px; }
  .brand img { width: 132px; height: auto; }
  .brand-api { font-size: 18px; }
  .manual-search input { font-size: 16px; }
  .guide-body h2, .guide-body h3 { font-size: 22px; }
  .guide-body h4, .guide-body h5, .guide-body h6 { font-size: 18px; }
  .endpoint > .endpoint-title { font-size: 24px; }
  .tag-intro { margin-top: 48px; }
}
