:root {
  --bg: #282c34;
  --bg2: #1e2228;
  --panel: #111;
  --panel2: #1e2228;
  --fg: #9cdef2;
  --heading: #9cdef2;
  --muted: #6b8a94;
  --border: #355a66;
  --accent: #e06c75;
  --accent2: #f0989e;
  --green: #50fa7b;
  --gold: #f0ad4e;
  --red: #e06c75;
  --radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(224,108,117,0.12), transparent 60%),
    radial-gradient(900px 520px at 0% 0%, rgba(53,90,102,0.30), transparent 55%),
    var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

#app {
  display: flex;
  height: 100vh;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* === SIDEBAR === */
.sidebar {
  width: 300px;
  min-width: 300px;
  background: rgba(17,17,17,0.95);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transition: transform 0.3s ease;
  z-index: 100;
}

.sidebar-header {
  padding: 20px 18px 16px;
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  color: var(--accent);
  filter: drop-shadow(0 4px 18px rgba(224,108,117,0.35));
  font-size: 24px;
}

.logo-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: 0.2px;
}

.logo-subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.sidebar-section {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.section-title {
  color: var(--accent);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-title::before {
  content: '//';
  color: var(--muted);
  opacity: 0.5;
}

/* Agent Cards */
.agents-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.agent-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.12s ease;
  border: 1px solid transparent;
}

.agent-card:hover {
  background: rgba(156,222,242,0.06);
  border-color: var(--border);
}

.agent-card.active {
  background: rgba(224,108,117,0.1);
  border-color: var(--accent);
}

.agent-avatar {
  font-size: 22px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--bg2);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.agent-info {
  flex: 1;
  min-width: 0;
}

.agent-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}

.agent-role {
  font-size: 11px;
  color: var(--muted);
}

.agent-status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  flex-shrink: 0;
}

/* Discussion Controls */
.discussion-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.topic-input {
  width: 100%;
  padding: 9px 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg);
  font-family: 'Fira Code', ui-monospace, monospace;
  font-size: 13px;
  outline: none;
  transition: border-color 0.12s;
}

.topic-input:focus {
  border-color: var(--accent);
}

.topic-input::placeholder {
  color: var(--muted);
}

.btn-discuss {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none;
  border-radius: 10px;
  color: white;
  font-family: 'Fira Code', ui-monospace, monospace;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.12s ease;
}

.btn-discuss:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
}

.btn-discuss:active {
  transform: translateY(0);
}

.btn-icon {
  font-size: 16px;
}

/* Mention Chips */
.mention-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mention-chip {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.12s;
}

.mention-chip:hover {
  background: rgba(156,222,242,0.08);
  color: var(--fg);
  border-color: var(--fg);
}

.mention-chip.selected {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: var(--accent);
  color: white;
}

/* Sidebar Footer */
.sidebar-footer {
  margin-top: auto;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.user-avatar {
  font-size: 18px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--bg2);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.user-details {
  flex: 1;
  min-width: 0;
}

.user-display-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-username {
  font-size: 11px;
  color: var(--muted);
}

.btn-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius);
  color: var(--muted);
  text-decoration: none;
  transition: all 0.12s;
  flex-shrink: 0;
}

.btn-logout:hover {
  background: rgba(224,108,117,0.15);
  color: var(--accent);
}

.username-input {
  flex: 1;
  padding: 6px 10px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg);
  font-family: 'Fira Code', ui-monospace, monospace;
  font-size: 12px;
  outline: none;
}

.username-input:focus {
  border-color: var(--accent);
}

.connection-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  transition: background 0.3s;
}

.status-dot.connected {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

/* === MAIN CHAT === */
.chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background:
    radial-gradient(600px 400px at 90% 10%, rgba(53,90,102,0.15), transparent 60%),
    var(--bg);
}

/* Chat Header */
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(17,17,17,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  min-height: 56px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  font-size: 20px;
  cursor: pointer;
}

.chat-header-info {
  flex: 1;
}

.chat-header-info h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--heading);
}

.online-count {
  font-size: 12px;
  color: var(--muted);
}

.btn-icon-only {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.12s;
}

.btn-icon-only:hover {
  background: rgba(156,222,242,0.1);
  color: var(--fg);
  border-color: var(--fg);
}

/* Chat Messages */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Welcome Screen */
.welcome-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  flex: 1;
}

.welcome-icon {
  font-size: 56px;
  color: var(--accent);
  filter: drop-shadow(0 4px 18px rgba(224,108,117,0.35));
  margin-bottom: 20px;
}

.welcome-screen h1 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.welcome-screen h1 .grad {
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.welcome-screen .slogan {
  font-style: italic;
  color: var(--accent);
  font-size: 12px;
  margin: 0 0 20px;
  letter-spacing: 0.3px;
  opacity: 0.9;
}

.welcome-screen > p.lede {
  color: var(--muted);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto 28px;
}

.welcome-agents {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.welcome-agent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 88px;
  transition: border-color 0.12s;
}

.welcome-agent:hover {
  border-color: var(--fg);
}

.welcome-agent-avatar {
  font-size: 24px;
}

.welcome-agent-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
}

.welcome-agent-role {
  font-size: 10px;
  color: var(--muted);
}

.welcome-tips {
  text-align: left;
  padding: 14px 18px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 460px;
}

.welcome-tips h3 {
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--accent);
}

.welcome-tips ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.welcome-tips li {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.welcome-tips code {
  color: var(--green);
  background: var(--bg);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 12px;
}

/* Message Styles */
.message {
  display: flex;
  gap: 12px;
  padding: 8px 12px;
  border-radius: var(--radius);
  animation: fadeInUp 0.2s ease;
  max-width: 100%;
  transition: background 0.1s;
}

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

.message:hover {
  background: rgba(156,222,242,0.04);
}

.message-avatar {
  font-size: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--bg2);
  border: 1px solid var(--border);
  flex-shrink: 0;
  margin-top: 2px;
}

.message-avatar.user-avatar-msg {
  background: var(--panel);
}

.message-content {
  flex: 1;
  min-width: 0;
}

.message-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2px;
}

.message-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg);
}

.message-role {
  font-size: 11px;
  color: var(--muted);
  opacity: 0.7;
}

.message-time {
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
}

.message-text {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--fg);
  word-wrap: break-word;
}

.message-text p {
  margin-bottom: 4px;
}

.message.system-message {
  justify-content: center;
  padding: 8px 16px;
}

.system-message .message-text {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  background: var(--panel);
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

/* User message highlight */
.message.user-message {
  background: rgba(224,108,117,0.06);
}

.message.user-message .message-name {
  color: var(--accent);
}

/* Agent message */
.message.agent-message .message-name {
  color: var(--heading);
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 20px;
  font-size: 12px;
  color: var(--muted);
  min-height: 32px;
}

.typing-avatars {
  display: flex;
  gap: 2px;
}

.typing-avatar {
  font-size: 15px;
}

.typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
}

.typing-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  animation: typingBounce 1.4s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Chat Input */
.chat-input-area {
  padding: 10px 20px 14px;
  background: rgba(17,17,17,0.88);
  border-top: 1px solid var(--border);
}

.mention-preview {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--muted);
  animation: fadeInUp 0.15s ease;
}

.mention-preview .mention-tag {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
}

.clear-mention {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
  margin-left: auto;
  padding: 0 4px;
}

.clear-mention:hover {
  color: var(--red);
}

.chat-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 6px 4px 14px;
  transition: border-color 0.12s;
}

.chat-form:focus-within {
  border-color: var(--fg);
}

.btn-emoji {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  opacity: 0.5;
  transition: opacity 0.12s;
}

.btn-emoji:hover { opacity: 1; }

.message-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--fg);
  font-family: 'Fira Code', ui-monospace, monospace;
  font-size: 13.5px;
  outline: none;
  padding: 10px 0;
}

.message-input::placeholder {
  color: var(--muted);
}

.btn-send {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.12s;
  flex-shrink: 0;
}

.btn-send:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
}

.btn-send:active {
  transform: translateY(0);
}

/* === MOBILE === */
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    transform: translateX(-100%);
    z-index: 200;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .mobile-menu-btn {
    display: block;
  }

  .chat-messages {
    padding: 12px;
  }
}

/* === ANIMATIONS === */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.agent-card.typing {
  animation: pulse 1.5s infinite;
}

.btn-discuss.running {
  background: linear-gradient(135deg, var(--red), var(--accent));
  pointer-events: none;
}

/* Cursor blink */
@keyframes term-blink {
  50% { opacity: 0; }
}

.term-cursor {
  display: inline-block;
  color: var(--fg);
  animation: term-blink 1.05s steps(1) infinite;
}

/* === SETTINGS MODAL === */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.15s ease;
}

.modal {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 420px;
  max-width: 95vw;
  max-height: 85vh;
  overflow-y: auto;
  animation: slideUp 0.2s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.15s;
}

.modal-close:hover {
  color: var(--fg);
  background: rgba(255,255,255,0.05);
}

.modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.setting-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.setting-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.color-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.color-preset {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
}

.color-preset:hover {
  transform: scale(1.1);
}

.color-preset.active {
  border-color: var(--fg);
  box-shadow: 0 0 12px rgba(156,222,242,0.3);
}

.size-options {
  display: flex;
  gap: 8px;
}

.size-btn {
  flex: 1;
  padding: 8px 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s;
}

.size-btn:hover {
  border-color: var(--fg);
  color: var(--fg);
}

.size-btn.active {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.setting-range {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--bg2);
  border-radius: 3px;
  outline: none;
}

.setting-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--fg);
  cursor: pointer;
  border: 2px solid var(--bg);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: 0.2s;
}

.toggle-slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background: var(--muted);
  border-radius: 50%;
  transition: 0.2s;
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--fg);
  border-color: var(--fg);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
  background: var(--bg);
}

.btn-reset {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--red);
  border-radius: 6px;
  color: var(--red);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s;
  align-self: flex-start;
}

.btn-reset:hover {
  background: var(--red);
  color: var(--bg);
}

/* === THEME VARIANTS === */
body.theme-midnight {
  --bg: #0d1117;
  --bg2: #161b22;
  --panel: #010409;
  --panel2: #161b22;
  --fg: #58a6ff;
  --heading: #58a6ff;
  --muted: #8b949e;
  --border: #30363d;
  --accent: #58a6ff;
  --accent2: #79c0ff;
  --green: #3fb950;
  --gold: #d29922;
  --red: #f85149;
}

body.theme-forest {
  --bg: #1a2e1a;
  --bg2: #152515;
  --panel: #0d1a0d;
  --panel2: #152515;
  --fg: #4ade80;
  --heading: #4ade80;
  --muted: #6b8a6b;
  --border: #2d4a2d;
  --accent: #4ade80;
  --accent2: #86efac;
  --green: #22c55e;
  --gold: #facc15;
  --red: #ef4444;
}

body.theme-sunset {
  --bg: #2d1b36;
  --bg2: #241530;
  --panel: #1a0f22;
  --panel2: #241530;
  --fg: #f97316;
  --heading: #f97316;
  --muted: #8a6b7a;
  --border: #4a2d5c;
  --accent: #f97316;
  --accent2: #fb923c;
  --green: #4ade80;
  --gold: #facc15;
  --red: #ef4444;
}

body.theme-ocean {
  --bg: #0c1929;
  --bg2: #0a1628;
  --panel: #060e1a;
  --panel2: #0a1628;
  --fg: #06b6d4;
  --heading: #06b6d4;
  --muted: #5a7a8a;
  --border: #1e3a4a;
  --accent: #06b6d4;
  --accent2: #22d3ee;
  --green: #4ade80;
  --gold: #facc15;
  --red: #ef4444;
}

body.theme-cherry {
  --bg: #1a0a0a;
  --bg2: #1a0808;
  --panel: #120505;
  --panel2: #1a0808;
  --fg: #ef4444;
  --heading: #ef4444;
  --muted: #8a5a5a;
  --border: #4a1a1a;
  --accent: #ef4444;
  --accent2: #f87171;
  --green: #4ade80;
  --gold: #facc15;
  --red: #dc2626;
}

/* === SIZE VARIANTS === */
body.size-compact {
  font-size: 12px;
}

body.size-compact .sidebar { width: 260px; min-width: 260px; }
body.size-compact .agent-card { padding: 8px; }
body.size-compact .message { padding: 6px 10px; }
body.size-compact .message-input { font-size: 12px; padding: 8px 12px; }

body.size-large {
  font-size: 16px;
}

body.size-large .sidebar { width: 340px; min-width: 340px; }
body.size-large .agent-card { padding: 14px; }
body.size-large .message { padding: 10px 16px; }
body.size-large .message-input { font-size: 16px; padding: 12px 16px; }

/* === RESPONSIVE TWEAKS === */
@media (max-width: 480px) {
  .welcome-screen h1 {
    font-size: 20px;
  }

  .welcome-agents {
    gap: 6px;
  }

  .welcome-agent {
    padding: 8px 10px;
    min-width: 68px;
  }

  .welcome-tips {
    padding: 10px;
  }

  .chat-form {
    padding: 3px 4px 3px 10px;
  }
}
