.container {
  border: 1px solid var(--divider);
  border-radius: 6px;
  margin: 4px 0;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.container:hover {
  border-color: var(--text-faint);
}

.containerInline {
  border: none;
  border-radius: 0;
}

.containerInline:hover {
  border-color: transparent;
}

.header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: transparent;
  border: none;
  width: 100%;
  cursor: pointer;
  font-size: 12px;
  color: var(--text-dim);
  text-align: left;
  transition: background var(--transition-fast);
}

.header:hover {
  background: var(--hover-bg-subtle);
}

.headerInline {
  padding: 2px 8px;
  cursor: default;
}

.headerInline:hover {
  background: transparent;
}

.chevron {
  font-family: var(--font-mono);
  width: 10px;
  color: var(--text-faint);
  transition: transform var(--transition-fast);
}

.chevronExpanded {
  transform: rotate(90deg);
}

.label {
  font-weight: 500;
  font-size: 12px;
  color: var(--text-dim);
  font-style: italic;
}

.content {
  padding: 10px 12px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  max-height: 400px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.6;
  border-top: 1px solid var(--divider);
  background: var(--chat-input-bg);
  font-style: italic;
  opacity: 0.85;
}

.contentInline {
  padding: 2px 8px 4px 28px;
  border-top: none;
  background: transparent;
  /* Inline thinking blocks live inside the chat scroller — they must
   * not introduce a second scrollbar inside that surface. The boxed
   * variant caps height at 400px and scrolls; the inline variant
   * lets long thoughts grow naturally. */
  max-height: none;
  overflow-y: visible;
}
