/* Shared public-document theme. Self hosted, compatible with the site's CSP. */
:root {
  --primary-color: #7c3aed;
  --primary-dark: #1e293b;
  --secondary-color: #475569;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --bg-primary: #fff;
  --bg-secondary: #f8fafc;
  --border-color: #e2e8f0;
  --sidebar-bg: #1e293b;
  --accent: #c4b5fd;
  --accent-secondary: #475569;
  --accent-light: #f1f5f9;
  --text: #334155;
  --text-light: #475569;
  --border: #e2e8f0;
  --bg: #ffffff;
  --content-bg: #fff;
}
body {
  background: #ffffff;
  color: #475569;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    sans-serif;
}
h1,
h2,
h3,
h4 {
  color: #0f172a;
  letter-spacing: -0.035em;
}
a {
  color: #6d28d9;
}
:focus-visible {
  outline: 3px solid #7c3aed;
  outline-offset: 4px;
}
.v360-static-header {
  padding: 22px max(20px, calc((100% - 1200px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
}
.v360-static-header .wordmark {
  color: #0f172a;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -1.4px;
  text-decoration: none;
}
.v360-static-header .wordmark img {
  display: block;
  width: 154px;
  height: 34px;
}
.v360-static-header nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.v360-static-header nav a {
  font-size: 13px;
  color: #475569;
  text-decoration: none;
}
.v360-static-footer {
  border-top: 1px solid #e2e8f0;
  padding: 28px 20px;
  margin-top: 50px;
  font-size: 12px;
  text-align: center;
}
.api-hero {
  background: #f1f5f9;
  padding: 60px 0;
}
.api-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.05em;
}
.api-hero .subtitle {
  font-size: 16px;
}
.api-sidebar,
.endpoint,
.api-section {
  box-shadow: none;
}
.api-sidebar {
  background: #ffffff;
  border-color: #e2e8f0;
}
.hero-badge {
  background: #e2e8f0;
  color: #334155;
}
#header h1 span {
  color: #ddd6fe;
}
#header .home-link,
#search-count {
  color: #e2e8f0;
}
#search-box input::placeholder {
  color: #e2e8f0;
}
.nav-section-title {
  color: #cbd5e1;
}
.nav-link {
  color: #e2e8f0;
  padding-block: 8px;
}
.nav-link.active {
  background: #312e81;
  border-left-color: #ddd6fe;
}
#content-wrap {
  padding-top: 50px;
}
#content-wrap h2 {
  letter-spacing: -0.04em;
}
.welcome-card {
  border-radius: 12px;
  box-shadow: none;
  border-color: #e2e8f0;
}
.v360-click2dial {
  padding: 0;
}
.v360-click2dial > .container {
  margin: 45px auto;
  background: white;
  box-shadow: none;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}
.v360-click2dial .input-section,
.v360-click2dial .test-section {
  background: #f5f3ff;
  border-left-color: #7c3aed;
}
.v360-click2dial button {
  background: #0f172a;
}
.v360-click2dial .phone-number {
  color: #6d28d9;
}
@media (max-width: 640px) {
  .v360-static-header .wordmark img { width: 118px; height: 27px; }
  .v360-static-header {
    padding: 18px 20px;
    align-items: flex-start;
  }
  .v360-static-header nav {
    gap: 9px 14px;
    max-width: 190px;
    justify-content: flex-end;
  }
  .v360-static-header nav a {
    font-size: 11px;
  }
  #header {
    gap: 8px;
    padding-inline: 10px;
    flex-wrap: wrap;
    height: 96px;
    align-content: center;
  }
  #header h1 {
    font-size: 14px;
  }
  #header .home-link {
    font-size: 11px;
    margin-left: auto;
  }
  #header #search-box {
    flex-basis: 100%;
    max-width: none;
  }
  #sidebar,
  #main {
    top: 96px;
  }
  #hamburger {
    display: block;
  }
  #content-wrap {
    padding: 28px 20px;
  }
  .v360-click2dial > .container {
    margin: 25px 16px;
    padding: 25px 20px;
  }
  .v360-click2dial .input-group {
    flex-direction: column;
    align-items: stretch;
  }
  .v360-click2dial .input-wrapper {
    min-width: 0;
  }
  .api-hero {
    padding: 35px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
.field-name {
  color: #6d28d9;
}
.method-get {
  background: #15733a;
}
.method-put {
  background: #b8420d;
}
.endpoint-url {
  color: #6d28d9;
}
.sidebar-title,
.api-sidebar .sidebar-title {
  color: #475569;
}
.auth-required {
  color: #b91c1c;
}
.param-name {
  color: #b91c1c;
}
.param-required {
  background: #b91c1c;
}
.param-optional {
  background: #f1f5f9;
  color: #475569;
}
#content-wrap p[style*="#9ca3af"] {
  color: #475569 !important;
}
.api-content,
.api-content .endpoint,
.documentation-layout > * {
  min-width: 0;
}
.api-content pre {
  max-width: 100%;
  overflow: auto;
}
@media (max-width: 640px) {
  .api-content {
    overflow-wrap: anywhere;
  }
  .api-content table {
    display: block;
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto;
  }
  .api-content td,
  .api-content th {
    min-width: 8rem !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
  .endpoint-url {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .tab-buttons {
    flex-wrap: wrap;
  }
}
