:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}

body {
  margin: 0;
}

.docs-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 76px;
  box-sizing: border-box;
  padding: 0.75rem clamp(1rem, 3vw, 2.5rem);
  border-bottom: 1px solid #e4e4e7;
  background: #fff;
  box-shadow: 0 2px 12px rgb(22 15 49 / 5%);
}

.docs-brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 0.55rem;
  color: #1e153b;
  font-size: 1.05rem;
  font-weight: 650;
  text-decoration: none;
}

.docs-brand img {
  object-fit: contain;
}

.docs-brand strong {
  color: #6536ca;
}

.docs-section {
  border-left: 1px solid #d4d4d8;
  padding-left: 1.25rem;
  color: #52525b;
  font-size: 0.9rem;
}

.docs-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}

.docs-auth-hint {
  color: #52525b;
  font-size: 0.8rem;
}

.docs-locale {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #4a3575;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.docs-locale select {
  min-height: 38px;
  padding: 0.35rem 1.8rem 0.35rem 0.6rem;
  border: 1px solid #d4c8ea;
  border-radius: 0.45rem;
  background: #fff;
  color: #2b1c4a;
  font: inherit;
  cursor: pointer;
}

.docs-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  box-sizing: border-box;
  padding: 0.7rem 1.2rem;
  border-radius: 0.6rem;
  background: #6536ca;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 10px rgb(101 54 202 / 19%);
}

.docs-back:hover,
.docs-back:focus-visible {
  background: #4e25a9;
}

.docs-brand:focus-visible,
.docs-locale select:focus-visible,
.docs-back:focus-visible {
  outline: 3px solid #a78bfa;
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .docs-header {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }

  .docs-section {
    display: none;
  }

  .docs-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: 0;
  }
}
