.component-detail-dialog {
  width: min(980px, calc(100vw - 32px));
}

.component-detail-body,
.component-detail-info,
.component-detail-meta,
.mock-stack {
  display: grid;
  gap: 10px;
}

.component-detail-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
  align-items: start;
}

.component-detail-summary {
  display: grid;
  gap: 5px;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: #fbfdff;
  padding: 12px;
}

.component-detail-summary strong {
  color: #001229;
  font-size: 16px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.component-detail-summary span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.component-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.component-detail-meta div {
  display: grid;
  gap: 4px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #fbfdff;
  padding: 9px 10px;
}

.component-detail-meta span,
.component-preview-section h3 {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.component-detail-meta strong {
  color: #001229;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.component-preview-section {
  display: grid;
  gap: 7px;
}

.component-preview-section ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.component-preview-section li,
.component-preview-muted {
  border: 1px solid #d8e2ee;
  border-radius: 7px;
  background: #f8fbff;
  color: #18304f;
  padding: 7px 9px;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.component-preview-muted {
  color: var(--muted);
}

.component-mock-surface {
  display: grid;
  gap: 10px;
  border: 1px solid #d4dfec;
  border-radius: 8px;
  background: #f7faff;
  padding: 12px;
}

.component-mock-stage {
  display: grid;
  min-height: 280px;
  place-items: center;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
}
