.chat-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-bottom: 1px solid var(--island-border);
  min-height: 32px;
}

.chat-header__back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: none;
  background: var(--island-subtle, rgba(255, 255, 255, 0.05));
  border-radius: 4px;
  color: var(--island-text-secondary);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease-out;
}

.chat-header__back:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--island-text);
}

.chat-header__info {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  overflow: hidden;
}

.chat-header__project {
  font-size: 11px;
  font-weight: 600;
  color: var(--island-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-header__badges {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.chat-header__badge {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: var(--island-text-muted);
  background: var(--island-subtle, rgba(255, 255, 255, 0.05));
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.chat-header__badge--agent {
  color: var(--island-accent, #7b78ff);
  background: rgba(123, 120, 255, 0.1);
}

.chat-header__badge--source {
  color: #00d184;
  background: rgba(16, 185, 129, 0.16);
}

.chat-header__badge--antcc {
  color: #ff2f81;
  background: rgba(255, 47, 129, 0.14);
}

.chat-header__badge--model {
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.12);
}

.chat-header__badge--time {
  font-family: var(--font-mono, 'SF Mono', monospace);
  font-variant-numeric: tabular-nums;
}

.chat-header__jump {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: none;
  background: var(--island-subtle, rgba(255, 255, 255, 0.05));
  border-radius: 4px;
  color: var(--island-text-secondary);
  cursor: pointer;
  transition: all 0.15s ease-out;
}

.chat-header__jump:hover {
  background: rgba(123, 120, 255, 0.1);
  color: var(--island-accent, #7b78ff);
}
