/* Conducta branding for the Scalar API reference. Copied from
   src/OrchestrationGateway.Api/Branding/ConductaApiReferenceBranding.cs with fonts self-hosted;
   keep the two in step when branding changes. */

@font-face {
  font-family: 'Sora Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('/fonts/sora-latin-wght-normal.woff2') format('woff2-variations');
}

@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/fonts/manrope-latin-wght-normal.woff2') format('woff2-variations');
}

@font-face {
  font-family: 'JetBrains Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('/fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2-variations');
}

:root {
  --scalar-font: 'Manrope Variable', sans-serif;
  --scalar-font-code: 'JetBrains Mono Variable', monospace;
  --scalar-radius: 6px;
  --scalar-color-green: #08766d;
  --scalar-color-red: #a63d32;
  --scalar-color-yellow: #7a5000;
}

.light-mode {
  --scalar-color-1: #08110f;
  --scalar-color-2: #52615d;
  --scalar-color-3: #75827f;
  --scalar-color-accent: #08766d;
  --scalar-background-1: #f7faf9;
  --scalar-background-2: #ffffff;
  --scalar-background-3: #e8eeec;
  --scalar-background-accent: #e3f7f4;
  --scalar-border-color: #d7e0de;
}

.dark-mode {
  --scalar-color-1: #f7faf9;
  --scalar-color-2: #b8c5c1;
  --scalar-color-3: #8d9b97;
  --scalar-color-accent: #5ee2d4;
  --scalar-background-1: #08110f;
  --scalar-background-2: #0e1b18;
  --scalar-background-3: #14231f;
  --scalar-background-accent: #15302b;
  --scalar-border-color: #2b3b36;
}

.light-mode .sidebar,
.dark-mode .sidebar,
.light-mode aside.t-doc__sidebar,
.dark-mode aside.t-doc__sidebar {
  --scalar-sidebar-background-1: #08110f;
  --scalar-sidebar-item-hover-color: #f7faf9;
  --scalar-sidebar-item-hover-background: #14231f;
  --scalar-sidebar-item-active-background: #15302b;
  --scalar-sidebar-border-color: #2b3b36;
  --scalar-sidebar-color-1: #f7faf9;
  --scalar-sidebar-color-2: #aebbb7;
  --scalar-sidebar-color-active: #f7faf9;
  --scalar-sidebar-search-background: #0e1b18;
  --scalar-sidebar-search-border-color: #2b3b36;
  --scalar-sidebar-search-color: #aebbb7;
  --scalar-sidebar-indent-border: #2b3b36;
  --scalar-sidebar-indent-border-hover: #14b8a6;
}

aside.t-doc__sidebar {
  background: #08110f;
  color: #f7faf9;
}

aside.t-doc__sidebar .scalar-mcp-layer .scalar-mcp-layer-link {
  background: #0e1b18;
  border-color: #2b3b36;
  color: #f7faf9;
}

aside.t-doc__sidebar .scalar-mcp-layer .scalar-mcp-layer-link:hover,
aside.t-doc__sidebar .scalar-mcp-layer .scalar-mcp-layer-link:focus-visible {
  background: #15302b;
  border-color: #14b8a6;
  color: #f7faf9;
}

aside.t-doc__sidebar::before {
  content: 'conducta';
  min-height: 64px;
  display: flex;
  align-items: center;
  flex: none;
  padding: 0 16px 0 54px;
  border-bottom: 1px solid #2b3b36;
  background-color: #08110f;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 36'%3E%3Cpath fill='%2314B8A6' d='M0 0h16v5H6v26h10v5H0V0Zm10 9h18v5H10V9Zm0 13h18v5H10v-5Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 16px center;
  background-size: 24px 31px;
  color: #f7faf9;
  font-family: 'Sora Variable', sans-serif;
  font-size: 18px;
  font-weight: 690;
  letter-spacing: -0.04em;
}

h1, h2, h3, h4 {
  font-family: 'Sora Variable', sans-serif;
  letter-spacing: -0.035em;
}

.sidebar-heading-type,
code,
pre {
  font-family: 'JetBrains Mono Variable', monospace;
}

.sidebar-heading-type--get,
.sidebar-heading-type--post,
.sidebar-heading-type--put,
.sidebar-heading-type--patch {
  color: #14b8a6;
}

::selection {
  background: #14b8a6;
  color: #08110f;
}

/* Hide Scalar's "Generate SDK" upsell; it links to Scalar's hosted service. */
.scalar-reference-intro-clients .selected-client-action {
  display: none !important;
}
