.ms-agent-diagnostic-disclosure__summary {
  display: flex;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  color: var(--ms-color-foreground);
  font-size: var(--ms-text-caption);
  font-weight: 600;
}

.ms-agent-diagnostic-disclosure__summary::marker,
.ms-agent-diagnostic-disclosure__summary::-webkit-details-marker {
  display: none;
}

.ms-agent-diagnostic-disclosure__title {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.ms-agent-diagnostic-disclosure__icon {
  display: inline-flex;
  flex: 0 0 auto;
}

.ms-agent-diagnostic-disclosure__count {
  flex: 0 0 auto;
  color: var(--ms-color-muted-foreground);
  font-size: var(--ms-text-tiny);
  font-weight: 500;
}

.ms-agent-diagnostic-disclosure__content {
  border-top: 1px solid color-mix(in srgb, var(--ms-color-border) 78%, transparent);
  padding: 6px;
}

.ms-agent-diagnostic-disclosure__content[data-scroll="sm"] {
  max-height: 14rem;
  overflow-y: auto;
}

.ms-agent-diagnostic-disclosure__content[data-scroll="md"] {
  max-height: 18rem;
  overflow-y: auto;
}

.ms-agent-diagnostic-disclosure__content[data-scroll="lg"] {
  max-height: 22rem;
  overflow-y: auto;
}

.ms-agent-diagnostic-disclosure__content > * + * {
  margin-top: 6px;
}
