/**
 * ovolve-showcase.css — Ovolve Agent 桌面客户端拟真展示区
 * 深度对齐项目真实 UI：
 * 1. SessionTripartiteCapsule (工作区 / 分支 / 会话 三联体胶囊)
 * 2. Model Quick Badge & 25KB 记忆硬顶 Context Meter
 * 3. 5-Phase FSM 对话流：用户需求 -> 深度思维 -> 工具执行 -> 差异高亮 -> 物理断言合流
 * 4. ThoughtDial 思考深度调节拨盘与粒子光效
 */

.app-window {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  contain: layout;
}

/* 标题栏 */
.app-titlebar {
  height: 46px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FAFAF9;
  border-bottom: 1px solid rgba(28, 25, 23, 0.06);
  user-select: none;
}

/* macOS 红黄绿三色控制灯 (0.5px 微内阴影) */
.window-controls {
  display: flex;
  gap: 8px;
  width: 90px;
}

.window-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

/* Ovolve 真实三联体工作区胶囊 (SessionTripartiteCapsule) */
.tripartite-capsule {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(231, 229, 228, 0.9);
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.03);
  font-size: 12px;
  font-family: var(--font-sans);
}

.capsule-segment {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
  padding: 2px 6px;
  border-radius: 4px;
  min-width: 0;
}

.capsule-segment span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 160px;
}

.capsule-segment svg {
  width: 12px;
  height: 12px;
}

.seg-ws { color: var(--brand-blue); font-weight: 500; }
.seg-git { color: #059669; font-family: var(--font-mono); font-weight: 500; }
.seg-session { color: #0EA5E9; font-weight: 500; }

.capsule-divider {
  width: 1px;
  height: 12px;
  background: rgba(203, 213, 225, 0.8);
  margin: 0 2px;
}

/* 标题栏右侧：模型标识 + 计时器 + 25KB 硬顶 Context Meter */
.app-title-right {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 280px;
  justify-content: flex-end;
}

.model-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: #F0F9FF;
  border: 1px solid rgba(191, 219, 254, 0.8);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-blue);
}

.model-pulse-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10B981;
  animation: livePulse 1.6s ease-in-out infinite;
}

.live-timer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #059669;
}

.context-meter-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.context-meter-bar {
  width: 54px;
  height: 5px;
  background: #E7E5E4;
  border-radius: 3px;
  overflow: hidden;
}

.context-meter-fill {
  display: block;
  height: 100%;
  width: 96%;
  background: linear-gradient(90deg, #0EA5E9, #7DD3FC);
  border-radius: 3px;
  transition: width 0.4s var(--ease-smooth);
}

.context-meter-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
}

/* 主体两栏结构 */
.app-body {
  display: flex;
  height: 540px;
  contain: layout;
}

/* 侧边栏 */
.app-sidebar {
  width: 220px;
  flex-shrink: 0;
  padding: 14px 12px;
  background: #FAFAF9;
  border-right: 1px solid rgba(28, 25, 23, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-new-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  border: 1px solid rgba(231, 229, 228, 0.9);
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.15s;
}

.sidebar-new-btn:hover {
  background: var(--bg-hover);
  border-color: rgba(148, 163, 184, 0.8);
}

.sidebar-new-btn svg {
  width: 14px;
  height: 14px;
  color: var(--brand-blue);
}

.sidebar-group-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 6px 4px;
}

.scenario-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.scenario-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: left;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.scenario-tab:hover {
  background: rgba(28, 25, 23, 0.04);
  color: var(--text-main);
}

.scenario-tab.active {
  background: #FFFFFF;
  color: var(--brand-blue);
  border-color: rgba(231, 229, 228, 0.8);
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.06);
}

.tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tab-dot-green { background: #10B981; }
.tab-dot-blue { background: #0EA5E9; }
.tab-dot-indigo { background: #0EA5E9; }

.tab-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 子智能体角色分配列表 */
.subagents-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.subagent-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 8px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  color: var(--text-secondary);
}

.subagent-role {
  display: flex;
  align-items: center;
  gap: 6px;
}

.role-icon {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
}

.role-budget {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-caption);
}

/* 主对话区 */
.app-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
}

.conversation-viewport {
  flex: 1;
  overflow-y: auto;
  overflow-anchor: none;
  padding: 20px 24px 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: auto;
}

.conversation-viewport::-webkit-scrollbar {
  width: 5px;
}

.conversation-viewport::-webkit-scrollbar-thumb {
  background: rgba(28, 25, 23, 0.12);
  border-radius: 3px;
}

/* 消息气泡 (用户) */
.user-msg-bubble {
  align-self: flex-end;
  max-width: 82%;
  background: #F5F5F4;
  color: var(--text-main);
  padding: 10px 14px;
  border-radius: 12px 12px 2px 12px;
  font-size: 13.5px;
  line-height: 1.55;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
  animation: bubbleIn 0.3s var(--ease-smooth);
}

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 思考卡片 (showcase-fsm.js .reasoning-card) */
.reasoning-card {
  align-self: flex-start;
  width: 100%;
  background: #FAFAF9;
  border: 1px solid rgba(231, 229, 228, 0.9);
  border-radius: 12px;
  overflow: hidden;
  animation: bubbleIn 0.3s var(--ease-smooth);
}

.reasoning-header {
  padding: 8px 12px;
  background: rgba(241, 245, 249, 0.6);
  border-bottom: 1px solid rgba(231, 229, 228, 0.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.reasoning-title-group {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #0EA5E9;
}

.reasoning-title-group svg {
  width: 13px;
  height: 13px;
}

.reasoning-body {
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  white-space: pre-wrap;
  font-family: var(--font-sans);
}

/* 工具命令输出 (showcase-fsm.js .tool-call-card) */
.tool-call-card {
  background: #1C1917;
  color: #E7E5E4;
  border-radius: 10px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  box-shadow: 0 4px 14px rgba(28, 25, 23, 0.1);
  animation: bubbleIn 0.3s var(--ease-smooth);
}

.tool-call-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  color: #A8A29E;
}

.tool-call-header svg {
  width: 13px;
  height: 13px;
  color: #7DD3FC;
}

.tool-call-status {
  margin-left: auto;
  font-size: 11px;
  color: #34D399;
}

.tool-call-status .ok {
  color: #10B981;
  margin-right: 2px;
}

.tool-call-body {
  padding: 10px 14px;
  color: #D6D3D1;
  white-space: pre-wrap;
}

/* 差异对比 (showcase-fsm.js .code-diff-card) */
.code-diff-card {
  background: #FFFFFF;
  border: 1px solid rgba(231, 229, 228, 0.95);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(28, 25, 23, 0.04);
  animation: bubbleIn 0.3s var(--ease-smooth);
}

.code-diff-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #FAFAF9;
  border-bottom: 1px solid rgba(231, 229, 228, 0.9);
  font-size: 12px;
}

.diff-filename {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-main);
}

.diff-filename svg {
  width: 13px;
  height: 13px;
  color: var(--brand-blue);
}

.diff-stat-pills {
  display: flex;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.stat-pill-add {
  padding: 1px 6px;
  border-radius: 4px;
  background: #ECFDF5;
  color: #059669;
  font-weight: 700;
}

.stat-pill-del {
  padding: 1px 6px;
  border-radius: 4px;
  background: #FEF2F2;
  color: #DC2626;
  font-weight: 700;
}

.diff-lines {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  background: #FFFFFF;
}

.diff-line {
  display: flex;
  align-items: center;
  padding: 1px 12px;
}

.diff-num {
  width: 32px;
  flex-shrink: 0;
  color: #A8A29E;
  font-size: 11px;
  user-select: none;
}

.diff-marker {
  width: 16px;
  flex-shrink: 0;
  font-weight: 700;
  user-select: none;
}

.diff-code {
  flex: 1;
  white-space: pre;
}

.diff-line.del {
  background: rgba(239, 68, 68, 0.08);
  color: #991B1B;
}
.diff-line.del .diff-marker { color: #DC2626; }

.diff-line.add {
  background: rgba(16, 185, 129, 0.08);
  color: #065F46;
}
.diff-line.add .diff-marker { color: #059669; }

/* 语法高亮 Token */
.tok-comment { color: #A8A29E; font-style: italic; }
.tok-string { color: #059669; }
.tok-kw { color: #0EA5E9; font-weight: 600; }
.tok-type { color: #0EA5E9; }
.tok-fn { color: #D97706; }

/* diff line 兼容类 */
.diff-line-num {
  width: 32px;
  flex-shrink: 0;
  color: #A8A29E;
  font-size: 11px;
  user-select: none;
}

.diff-line-marker {
  width: 16px;
  flex-shrink: 0;
  font-weight: 700;
  user-select: none;
}

.diff-line-code {
  flex: 1;
  white-space: pre;
}

/* 终态完成徽章 (showcase-fsm.js .completion-row / .completion-badge) */
.completion-row {
  display: flex;
  justify-content: flex-start;
  margin-top: 4px;
  animation: bubbleIn 0.3s var(--ease-smooth);
}

.completion-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #ECFDF5;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: #059669;
}

.completion-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #10B981;
}

/* 验收合同通过卡片 (showcase-fsm.js .pass-badge-card) */
.pass-badge-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #ECFDF5;
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #065F46;
  font-size: 12.5px;
  font-weight: 600;
  animation: bubbleIn 0.3s var(--ease-smooth);
}

.pass-badge-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10B981;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
}

.pass-badge-tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #059669;
  background: rgba(16, 185, 129, 0.15);
  padding: 1px 7px;
  border-radius: var(--radius-pill);
}

/* 底部 Composer */
.composer-dock {
  padding: 12px 16px;
  background: #FFFFFF;
  border-top: 1px solid rgba(28, 25, 23, 0.06);
}

.composer-input-box {
  background: #FAFAF9;
  border: 1px solid rgba(231, 229, 228, 0.9);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.composer-input-box:focus-within {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.composer-placeholder {
  font-size: 13px;
  color: var(--text-caption);
  user-select: none;
}

.composer-bar {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.composer-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.chip-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-secondary);
  background: #FFFFFF;
  border: 1px solid rgba(231, 229, 228, 0.85);
}

.chip-tag svg {
  width: 12px;
  height: 12px;
  color: var(--brand-blue);
}

/* Ovolve ThoughtDial：白轨滑条 + MAX 蜂窝方块矩阵 */
.thought-dial-wrap {
  width: 208px;
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.thought-dial-track {
  position: relative;
  height: 28px;
  width: 100%;
  border-radius: 9999px;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.thought-dial-track:active {
  cursor: grabbing;
}

.thought-dial-track--max {
  border-color: rgba(56, 189, 248, 0.8);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05), 0 0 16px rgba(56, 189, 248, 0.45);
  animation: thought-max-pulse 1.2s ease-in-out infinite;
}

@keyframes thought-max-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(56, 189, 248, 0.35); }
  50% { box-shadow: 0 0 20px rgba(56, 189, 248, 0.65), 0 0 4px rgba(255, 255, 255, 0.8); }
}

.thought-dial-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 66.666%;
  border-radius: 9999px;
  overflow: hidden;
  transition: width 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.thought-dial-fill--low {
  background: linear-gradient(90deg, #7dd3fc 0%, #38bdf8 100%);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}

.thought-dial-fill--high {
  background: linear-gradient(90deg, #38bdf8 0%, #0ea5e9 100%);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}

.thought-dial-fill--max {
  background: linear-gradient(110deg, #0284c7 0%, #38bdf8 25%, #60a5fa 50%, #38bdf8 75%, #0284c7 100%);
  background-size: 200% 100%;
  animation: thought-max-flow 2s linear infinite;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

@keyframes thought-max-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

#thoughtCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  border-radius: inherit;
  transform: translateZ(0);
}

#thoughtCanvas.active {
  opacity: 1;
}

.thought-dial-thumb {
  position: absolute;
  top: 2.5px;
  bottom: 2.5px;
  width: 16px;
  left: calc(66.666% - 10.67px);
  border-radius: 9999px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25), 0 0 6px rgba(56, 189, 248, 0.4);
  border: 1px solid rgba(226, 232, 240, 0.9);
  pointer-events: none;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: left 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.thought-dial-thumb span {
  width: 2px;
  height: 8px;
  border-radius: 9999px;
  background: #cbd5e1;
}

.thought-dial-thumb--max {
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3), 0 0 12px 2px rgba(56, 189, 248, 0.85), 0 0 4px #ffffff;
}

.thought-dial-thumb--max span {
  background: #38bdf8;
}

.thought-dial-scale {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
}

.thought-dial-step {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1;
  color: #A8A29E;
  cursor: pointer;
}

.thought-dial-step.is-active {
  color: #0284C7;
  font-weight: 600;
}

.thought-dial-step.max-step.is-active {
  color: #0284C7;
}

.composer-send-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--brand-blue);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  flex-shrink: 0;
  transition: all 0.2s;
}

.composer-send-btn:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-1px);
}

.composer-send-btn svg {
  width: 14px;
  height: 14px;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

/* ═══ 真实客户端标题栏（Windows 风格控制按钮） ═══ */
.tb-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tb-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.tb-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.tb-controls {
  display: flex;
  align-items: center;
  gap: 2px;
}

.tb-btn {
  width: 30px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: var(--text-caption);
  transition: background 0.15s, color 0.15s;
}

.tb-btn svg { width: 11px; height: 11px; }
.tb-btn:hover { background: rgba(28, 25, 23, 0.06); color: var(--text-secondary); }
.tb-btn.tb-close:hover { background: #E81123; color: #FFFFFF; }

/* ═══ 侧边栏真实化：搜索框 / 会话条目 / 页面导航 / 版本号 ═══ */
.sidebar-search {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  border: 1px solid rgba(231, 229, 228, 0.9);
  font-size: 12.5px;
  color: var(--text-caption);
  user-select: none;
}

.sidebar-search svg { width: 13px; height: 13px; flex-shrink: 0; }

.scenario-tab.session-item {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 7px 9px;
  min-height: 46px;
}

.session-title {
  font-size: 12.5px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.session-meta {
  font-size: 10.5px;
  color: var(--text-caption);
  font-family: var(--font-mono);
}

.sidebar-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(28, 25, 23, 0.06);
}

.side-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--text-secondary);
  user-select: none;
}

.side-nav-item svg {
  width: 14px;
  height: 14px;
  color: var(--text-caption);
  flex-shrink: 0;
}

.sidebar-version {
  padding: 10px 8px 2px;
  font-size: 10.5px;
  color: var(--text-caption);
  font-family: var(--font-mono);
}

/* ═══ 聊天头部栏（三联体胶囊 + 连接状态 + Context Meter + 计时器） ═══ */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(28, 25, 23, 0.06);
  background: rgba(250, 250, 249, 0.7);
}

.chat-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.conn-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.conn-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  animation: livePulse 1.6s ease-in-out infinite;
}

.chip-model {
  font-family: var(--font-mono);
  gap: 6px;
}

.chip-model .model-pulse-dot { flex-shrink: 0; }
