.bar {
  flex-shrink: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  transition: max-height 0.15s ease-out;
}

.collapsed {
  max-height: 26px;
}

.expanded {
  max-height: 200px;
  overflow-y: auto;
}

.header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  min-height: 26px;
}

.label {
  flex-shrink: 0;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.6;
}

.preview {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--fg-primary);
}

.chevron {
  flex-shrink: 0;
  opacity: 0.5;
  transition: transform 0.15s;
}

.chevronUp {
  transform: rotate(180deg);
}

.body {
  padding: 0 10px 6px;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--fg-primary);
  line-height: 1.5;
}
