
.docs-main .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 0.5rem;
  font-size: var(--sp-text-sm);
  color: var(--sp-color-text-secondary);
  margin-bottom: var(--sp-space-6);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.docs-main .breadcrumb::-webkit-scrollbar {
  display: none;
}

.docs-main .breadcrumb a {
  color: var(--sp-color-text-secondary);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  transition: color var(--sp-duration-fast) var(--sp-ease-default);
}

.docs-main .breadcrumb a:hover {
  color: var(--sp-color-primary);
}

.docs-main .breadcrumb__separator {
  margin: 0 var(--sp-space-1);
  color: var(--sp-color-text-disabled);
  flex-shrink: 0;
}

.docs-main .breadcrumb__current {
  color: var(--sp-color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}


.docs-header {
  margin-bottom: var(--sp-space-4);
  padding-bottom: var(--sp-space-4);
  border-bottom: 1px solid var(--sp-color-border);
  border-image: linear-gradient(
    90deg,
    var(--sp-color-primary) 0%,
    color-mix(in oklch, var(--sp-color-primary) 30%, transparent) 100%
  ) 1;
}

.docs-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-space-4);
}

.docs-title-row h1 {
  font-family: var(--sp-font-heading);
  font-size: var(--sp-text-3xl);
  line-height: var(--sp-leading-snug);
  margin: 0;
  letter-spacing: 0.01em;
  color: var(--sp-color-text-primary);
}

.docs-header h1 {
  font-family: var(--sp-font-heading);
  font-size: var(--sp-text-3xl);
  line-height: var(--sp-leading-snug);
  margin: 0 0 var(--sp-space-2) 0;
  letter-spacing: 0.01em;
  color: var(--sp-color-text-primary);
}

.docs-description {
  font-size: var(--sp-text-lg);
  color: var(--sp-color-text-secondary);
  margin: var(--sp-space-2) 0 var(--sp-space-4) 0;
  line-height: var(--sp-leading-normal);
}

.docs-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-space-4);
  font-size: var(--sp-text-sm);
  color: var(--sp-color-text-disabled);
}

.docs-export-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: var(--sp-radius-sm);
  background: transparent;
  color: var(--sp-color-text-secondary);
  cursor: pointer;
  transition: color var(--sp-duration-fast) var(--sp-ease-default);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.docs-export-btn:hover {
  color: var(--sp-color-primary);
}

.docs-export-btn.copied {
  color: var(--sp-primitive-green-400);
}

.docs-export-btn svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.docs-export-btn .check-icon {
  display: none;
}

.docs-export-btn.copied .copy-icon {
  display: none;
}

.docs-export-btn.copied .check-icon {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .docs-main .breadcrumb a,
  .docs-export-btn {
    transition: none;
  }
}
