/* PrintaRex developer reference: header bar around the Redoc layout (SHARED_DESIGN_SYSTEM colours). */
html,
body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.dev-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #e5e7eb;
  box-sizing: border-box;
}

.dev-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.dev-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, #15b67f, #0f7f5f);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(21, 182, 127, 0.2);
}

.dev-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.dev-brand-name {
  font-weight: 700;
  font-size: 18px;
  color: #111827;
}

.dev-brand-sub {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
}

.dev-nav {
  display: flex;
  gap: 8px;
}

.dev-nav a {
  padding: 8px 16px;
  border-radius: 14px;
  color: #0f7f5f;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.dev-nav a:hover {
  background: #ecfdf5;
}

.dev-noscript {
  padding: 24px;
}

@media (max-width: 640px) {
  .dev-header {
    padding: 0 16px;
  }

  .dev-header {
    gap: 8px;
  }

  .dev-brand-text {
    display: none;
  }

  .dev-nav {
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 4px;
  }

  .dev-nav a {
    padding: 8px;
    white-space: nowrap;
  }
}

/* Redoc's sidebar credit loads its logo from a third-party CDN, which this host's CSP blocks. */
.menu-content a[href*="redocly.com"] {
  display: none;
}
