@font-face {
  font-family: Polymath;
  src: url(/docs/assets/polymath-regular.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Polymath;
  src: url(/docs/assets/polymath-semibold.woff2) format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Polymath;
  src: url(/docs/assets/polymath-bold.woff2) format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --ref-bg: #fefbf4;
  --ref-panel: #fffdf8;
  --ref-raised: #f4efe5;
  --ref-ink: #171717;
  --ref-muted: #615d55;
  --ref-subtle: #77736a;
  --ref-line: #1717171c;
  --ref-accent: #6f00ff;
  --ref-wash: #845cff12;
  --ref-button: #6f00ff;
  --ref-code: #f4efe5;
  --ref-method-get: #08727e;
  --ref-method-post: #177740;
  --ref-method-patch: #9b6210;
  --ref-method-delete: #be303e;
  color-scheme: light;
}
:root[data-trayo-theme='dark'] {
  --ref-bg: #171717;
  --ref-panel: #202020;
  --ref-raised: #292929;
  --ref-ink: #fffdf8;
  --ref-muted: #c0bbb3;
  --ref-subtle: #a39e95;
  --ref-line: #ffffff20;
  --ref-accent: #cd81ff;
  --ref-wash: #845cff23;
  --ref-code: #262626;
  --ref-method-get: #80cee2;
  --ref-method-post: #8dcfa4;
  --ref-method-patch: #f6cd8c;
  --ref-method-delete: #faa6aa;
  color-scheme: dark;
}
html,
body {
  margin: 0;
  background: var(--ref-bg);
  color: var(--ref-ink);
}
:root,
body,
#scalar,
.light-mode,
.dark-mode,
.scalar-api-reference {
  --scalar-font:
    Polymath, -apple-system, BlinkMacSystemFont, sans-serif !important;
  --scalar-font-code:
    ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  --scalar-color-1: var(--ref-ink) !important;
  --scalar-color-2: var(--ref-muted) !important;
  --scalar-color-3: var(--ref-subtle) !important;
  --scalar-color-accent: var(--ref-accent) !important;
  --scalar-background-1: var(--ref-bg) !important;
  --scalar-background-2: var(--ref-panel) !important;
  --scalar-background-3: var(--ref-raised) !important;
  --scalar-background-accent: var(--ref-wash) !important;
  --scalar-border-color: var(--ref-line) !important;
  --scalar-sidebar-background-1: var(--ref-panel) !important;
  --scalar-sidebar-color-1: var(--ref-ink) !important;
  --scalar-sidebar-color-2: var(--ref-muted) !important;
  --scalar-sidebar-color-active: var(--ref-accent) !important;
  --scalar-sidebar-item-active-background: var(--ref-wash) !important;
  --scalar-sidebar-item-hover-background: var(--ref-raised) !important;
  --scalar-sidebar-item-hover-color: var(--ref-ink) !important;
  --scalar-sidebar-border-color: var(--ref-line) !important;
  --scalar-sidebar-search-background: var(--ref-bg) !important;
  --scalar-sidebar-search-border-color: var(--ref-line) !important;
  --scalar-sidebar-search-color: var(--ref-muted) !important;
  --scalar-button-1: var(--ref-button) !important;
  --scalar-button-1-color: #ffffff !important;
  --scalar-button-1-hover: #845cff !important;
  --scalar-color-blue: var(--ref-method-get) !important;
  --scalar-color-green: var(--ref-method-post) !important;
  --scalar-color-orange: var(--ref-method-patch) !important;
  --scalar-color-red: var(--ref-method-delete) !important;
  --scalar-sidebar-width: 232px !important;
  --scalar-custom-header-height: 0px !important;
}
.scalar-api-reference {
  --scalar-font-size-1: 30px;
  --scalar-font-size-2: 23px;
  --scalar-font-size-3: 17px;
  --scalar-small: 13px;
}
.section-header .section-header-label,
.section-header .section-header-label span {
  font-weight: 600 !important;
}
.section-content {
  color: var(--ref-ink);
}
h1.section-header-label {
  font-size: 32px !important;
  line-height: 1.25 !important;
  letter-spacing: -0.025em !important;
}
.auth-bg-description {
  white-space: normal !important;
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  padding: 10px 12px !important;
  line-height: 1.7 !important;
}
@media (max-width: 700px) {
  .scalar-api-reference {
    --scalar-sidebar-width: 0px !important;
  }
  h1.section-header-label {
    font-size: 28px !important;
  }
}
#scalar .references-rendered {
  background-image:
    radial-gradient(
      120% 80% at 85% 0%,
      rgba(255, 201, 168, 0.3) 0%,
      rgba(255, 201, 168, 0) 42%
    ),
    radial-gradient(
      90% 70% at 0% 100%,
      rgba(123, 93, 243, 0.1) 0%,
      rgba(123, 93, 243, 0) 46%
    );
  background-repeat: no-repeat;
  background-attachment: fixed;
}
:root[data-trayo-theme='dark'] #scalar .references-rendered {
  background-image:
    radial-gradient(
      120% 80% at 85% 0%,
      rgba(255, 161, 130, 0.14) 0%,
      rgba(255, 161, 130, 0) 42%
    ),
    radial-gradient(
      90% 70% at 0% 100%,
      rgba(132, 92, 255, 0.12) 0%,
      rgba(132, 92, 255, 0) 46%
    );
}

[hidden] {
  display: none !important;
}
#api-loading,
#api-error {
  font-family: Polymath, sans-serif;
  margin: 48px;
  font-size: 14px;
  color: var(--ref-muted);
}
#api-error a,
#api-error button {
  color: var(--ref-accent);
}
#api-error button {
  font: inherit;
  border: 1px solid var(--ref-line);
  background: var(--ref-panel);
  border-radius: 5px;
  padding: 6px 10px;
  cursor: pointer;
}
