.detail-entity-editor-hero {
  border-bottom: 1px solid var(--ms-color-border);
  padding: 20px;
}

.detail-entity-editor-hero--compact {
  padding: 12px;
}

.detail-entity-editor-hero__layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.detail-entity-editor-hero--compact .detail-entity-editor-hero__layout {
  gap: 12px;
}

.detail-entity-editor-hero__content,
.detail-entity-editor-hero__copy {
  min-width: 0;
}

.detail-entity-editor-hero__lead {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.detail-entity-editor-hero--compact .detail-entity-editor-hero__lead {
  gap: 8px;
}

.detail-entity-editor-hero__icon {
  display: flex;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: var(--ms-shadow-sm);
}

.detail-entity-editor-hero--compact .detail-entity-editor-hero__icon {
  width: 32px;
  height: 32px;
  box-shadow: none;
}

.detail-entity-editor-hero__eyebrow,
.detail-entity-editor-hero__subtitle,
.detail-entity-editor-hero__description {
  color: var(--ms-color-muted-foreground);
  font-size: var(--ms-text-label);
}

.detail-entity-editor-hero__title {
  max-width: 100%;
  margin: 4px 0 0;
  overflow: hidden;
  color: var(--ms-color-foreground);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-entity-editor-hero--compact .detail-entity-editor-hero__title {
  font-size: var(--ms-text-section);
}

.detail-entity-editor-hero__subtitle {
  margin-top: 4px;
}

.detail-entity-editor-hero__summary {
  max-width: 64rem;
  margin-top: 16px;
  color: var(--ms-color-muted-foreground);
  font-size: var(--ms-text-body);
  line-height: 24px;
}

.detail-entity-editor-hero--compact .detail-entity-editor-hero__summary {
  display: -webkit-box;
  margin-top: 8px;
  overflow: hidden;
  font-size: var(--ms-text-label);
  line-height: 20px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.detail-entity-editor-hero__aside {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
}

.detail-entity-editor-hero__description {
  margin: 16px 0 0;
  line-height: 20px;
}

.detail-entity-editor-hero--compact .detail-entity-editor-hero__description {
  margin-top: 8px;
}
