.documents-header,
.models-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.documents-header h1,
.models-header h1 {
  margin: 0 0 8px;
}

.documents-header__icon,
.models-header__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  margin-top: 2px;
}

.documents-header__summary,
.models-header__summary {
  max-width: 860px;
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.6;
}

.documents-section {
  margin-top: 20px;
}

.documents-section__title {
  margin: 0 0 12px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
}

.documents-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.documents-flow-card,
.documents-note {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
}

.documents-flow-card__step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f3f0fa;
  color: #8b7dbe;
  font-size: 13px;
  font-weight: 700;
}

.documents-flow-card__title,
.documents-note__title {
  margin: 0 0 8px;
  color: #111827;
  font-size: 15px;
  font-weight: 700;
}

.documents-flow-card__detail,
.documents-note p {
  margin: 0;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.55;
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.documents-note {
  display: block;
}

.documents-section__spacer {
  margin-top: 12px;
}

.documents-endpoints {
  margin: 0;
  padding: 0;
  list-style: none;
}

.documents-endpoints li {
  padding: 4px 0;
}

.documents-endpoints code {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f3f0fa;
  color: #6b5fa8;
  font-size: 12px;
}
