/* === Micro Chat - Material Minimal Design System === */

:root {
  /* Primary palette */
  --primary: #6C5CE7;
  --primary-light: #A29BFE;
  --primary-dark: #4834D4;
  --primary-surface: rgba(108, 92, 231, 0.08);

  /* Surface & Background */
  --bg: #0F0F14;
  --bg-secondary: #16161D;
  --surface: #1C1C26;
  --surface-hover: #24242F;
  --surface-active: #2A2A38;
  --surface-elevated: #22222E;

  /* Text */
  --text-primary: #F0F0F5;
  --text-secondary: #9494A8;
  --text-tertiary: #5E5E72;
  --text-inverse: #0F0F14;

  /* Status */
  --online: #00D68F;
  --away: #FFB057;
  --offline: #5E5E72;
  --error: #FF6B6B;
  --success: #00D68F;

  /* AI */
  --ai-gradient: linear-gradient(135deg, #6C5CE7 0%, #A29BFE 50%, #74B9FF 100%);
  --ai-surface: rgba(108, 92, 231, 0.12);
  --ai-border: rgba(108, 92, 231, 0.3);

  /* Borders & Shadows */
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);

  /* Layout */
  --sidebar-width: 260px;
  --members-width: 240px;
  --header-height: 56px;
  --input-height: 72px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

a { color: var(--primary-light); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-tertiary); }

/* === Auth Screen === */
.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: var(--bg);
}

.auth-card {
  width: 400px;
  padding: 48px 40px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.auth-logo {
  text-align: center;
  margin-bottom: 32px;
}

.auth-logo h1 {
  font-size: 24px;
  font-weight: 700;
  background: var(--ai-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.auth-logo p {
  color: var(--text-secondary);
  font-size: 13px;
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 3px;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 7px;
  transition: all 0.2s;
}

.auth-tab.active {
  background: var(--primary);
  color: white;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus {
  border-color: var(--primary);
}

.form-group input::placeholder {
  color: var(--text-tertiary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s;
  outline: none;
}

.btn-primary {
  width: 100%;
  background: var(--primary);
  color: white;
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 8px 12px;
}

.btn-ghost:hover { background: var(--surface-hover); color: var(--text-primary); }

.btn-sm { padding: 6px 12px; font-size: 12px; }

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-icon:hover { background: var(--surface-hover); color: var(--text-primary); }

.auth-error {
  padding: 10px 14px;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: var(--radius-sm);
  color: var(--error);
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}

/* === Main Layout === */
.app {
  display: none;
  height: 100vh;
  overflow: hidden;
}

.app.active { display: flex; }
.auth-container.hidden { display: none; }

/* Sidebar */
.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

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

.sidebar-header h2 {
  font-size: 16px;
  font-weight: 700;
  background: var(--ai-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 8px;
}

.sidebar-section {
  margin-bottom: 20px;
}

.sidebar-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 12px;
  margin-bottom: 4px;
}

.sidebar-section-header span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-tertiary);
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
  color: var(--text-secondary);
  font-size: 14px;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
}

.sidebar-item:hover { background: var(--surface-hover); color: var(--text-primary); }
.sidebar-item.active { background: var(--primary-surface); color: var(--primary-light); }

.sidebar-item .hash {
  font-size: 16px;
  font-weight: 700;
  opacity: 0.5;
  width: 20px;
  text-align: center;
}

.sidebar-item .room-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sidebar-item .badge {
  font-size: 11px;
  padding: 1px 6px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.sidebar-user {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.sidebar-user-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-user-tokens {
  font-size: 11px;
  color: var(--text-tertiary);
  line-height: 1.45;
  padding-left: 4px;
  font-family: var(--font-mono);
}

.sidebar-user-tokens .token-line {
  margin-top: 2px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: white;
  flex-shrink: 0;
  position: relative;
}

.avatar.sm { width: 28px; height: 28px; font-size: 11px; }
.avatar.lg { width: 48px; height: 48px; font-size: 18px; }

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--bg-secondary);
  position: absolute;
  bottom: -1px;
  right: -1px;
}

.status-dot.online { background: var(--online); }
.status-dot.away { background: var(--away); }
.status-dot.offline { background: var(--offline); }

.sidebar-user-info {
  flex: 1;
  overflow: hidden;
}

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

.sidebar-user-info .status-text {
  font-size: 11px;
  color: var(--text-tertiary);
}

/* Main Chat Area */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.chat-header {
  height: var(--header-height);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
  flex-shrink: 0;
}

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

.chat-header-info h3 {
  font-size: 16px;
  font-weight: 700;
}

.chat-header-info .description {
  font-size: 12px;
  color: var(--text-tertiary);
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Messages */
.messages-container {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.message {
  display: flex;
  gap: 12px;
  padding: 6px 0;
  position: relative;
}

.message:hover { background: var(--surface-hover); margin: 0 -20px; padding: 6px 20px; border-radius: var(--radius-sm); }

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

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

.message-author {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
}

.message-time {
  font-size: 11px;
  color: var(--text-tertiary);
}

.message-content {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  word-wrap: break-word;
}

.message-content p { margin-bottom: 4px; }
.message-content p:last-child { margin-bottom: 0; }

.message-content code {
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.message-content pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 8px 0;
  overflow-x: auto;
}

.message-content pre code {
  background: none;
  padding: 0;
}

.message-reactions {
  display: flex;
  gap: 4px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.reaction-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
}

.reaction-badge:hover {
  border-color: var(--primary);
  background: var(--primary-surface);
}

/* AI Message styling */
.message.ai-message {
  border-left: 2px solid var(--primary);
  padding-left: 12px;
  margin-left: 0;
}

.message.ai-message .message-author {
  background: var(--ai-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.message.ai-message .ai-badge {
  font-size: 10px;
  padding: 1px 6px;
  background: var(--ai-surface);
  border: 1px solid var(--ai-border);
  border-radius: var(--radius-full);
  color: var(--primary-light);
  font-weight: 600;
}

/* Typing indicator */
.typing-indicator {
  padding: 4px 20px;
  font-size: 12px;
  color: var(--text-tertiary);
  min-height: 24px;
}

.typing-dots {
  display: inline-flex;
  gap: 3px;
  margin-left: 4px;
}

.typing-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-tertiary);
  animation: typingDot 1.4s infinite;
}

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

@keyframes typingDot {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}

/* Message Input */
.message-input-container {
  padding: 12px 20px 20px;
  flex-shrink: 0;
}

.message-input-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  transition: border-color 0.2s;
}

.message-input-wrapper:focus-within {
  border-color: var(--primary);
}

.message-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font);
  resize: none;
  outline: none;
  max-height: 120px;
  min-height: 24px;
  line-height: 1.5;
}

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

.input-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.model-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--ai-surface);
  border: 1px solid var(--ai-border);
  border-radius: var(--radius-full);
  font-size: 11px;
  color: var(--primary-light);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: var(--font);
  font-weight: 600;
}

.model-selector:hover { background: rgba(108, 92, 231, 0.2); }

.model-selector .model-icon {
  font-size: 14px;
}

.send-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.send-btn:hover { background: var(--primary-dark); }
.send-btn:disabled { opacity: 0.3; cursor: default; }

/* Members Panel */
.members-panel {
  width: var(--members-width);
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  display: none;
  flex-direction: column;
  flex-shrink: 0;
}

.members-panel.active { display: flex; }

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

.members-header h4 { font-size: 14px; font-weight: 700; }

.members-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

.members-group-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-tertiary);
  padding: 8px 8px 4px;
}

.member-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
}

.member-item:hover { background: var(--surface-hover); }

.member-item .name {
  font-size: 13px;
  color: var(--text-secondary);
}

.member-item.online .name { color: var(--text-primary); }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  backdrop-filter: blur(4px);
}

.modal-overlay.active { display: flex; }

.modal {
  width: 440px;
  max-height: 80vh;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

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

.modal-header h3 { font-size: 16px; font-weight: 700; }

.modal-body { padding: 24px; overflow-y: auto; }
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* Model dropdown */
.model-dropdown {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  min-width: 260px;
  z-index: 50;
  display: none;
}

.model-dropdown.active { display: block; }

.model-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
  color: var(--text-primary);
}

.model-option:hover { background: var(--surface-hover); }
.model-option.selected { background: var(--primary-surface); }

.model-option-info h5 { font-size: 13px; font-weight: 600; }
.model-option-info p { font-size: 11px; color: var(--text-tertiary); }

.model-option .check {
  margin-left: auto;
  color: var(--primary);
  font-size: 16px;
  display: none;
}

.model-option.selected .check { display: block; }

/* Browse rooms panel */
.browse-rooms {
  flex: 1;
  display: none;
  flex-direction: column;
}

.browse-rooms.active { display: flex; }

.browse-header {
  padding: 24px 24px 16px;
}

.browse-header h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}

.browse-header p {
  color: var(--text-secondary);
  font-size: 13px;
}

.browse-search {
  margin: 0 24px 16px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  width: calc(100% - 48px);
}

.browse-search:focus { border-color: var(--primary); }

.browse-list {
  flex: 1;
  overflow-y: auto;
  padding: 0 24px;
}

.browse-room-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.15s;
}

.browse-room-item:hover { border-color: var(--primary); background: var(--surface-hover); }

.browse-room-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.browse-room-info p {
  font-size: 12px;
  color: var(--text-tertiary);
}

.browse-room-meta {
  font-size: 12px;
  color: var(--text-tertiary);
  text-align: right;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 12px 20px;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 13px;
  animation: slideIn 0.3s ease;
  max-width: 360px;
}

.toast.error { border-color: var(--error); color: var(--error); }
.toast.success { border-color: var(--success); color: var(--success); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Welcome screen */
.welcome-screen {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  color: var(--text-tertiary);
}

.welcome-screen .welcome-icon {
  font-size: 64px;
  opacity: 0.3;
}

.welcome-screen h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-secondary);
}

.welcome-screen p {
  font-size: 14px;
  max-width: 400px;
  text-align: center;
  line-height: 1.6;
}

/* System message */
.system-message {
  text-align: center;
  padding: 8px 0;
  color: var(--text-tertiary);
  font-size: 12px;
}

/* Date separator */
.date-separator {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0 8px;
}

.date-separator::before,
.date-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.date-separator span {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Loading spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Context menu / command palette hint */
.command-hint {
  padding: 4px 0;
  font-size: 12px;
  color: var(--text-tertiary);
}

.command-hint kbd {
  padding: 1px 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
}

/* Admin Panel */
.admin-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-header {
  padding: 24px 24px 0;
  border-bottom: 1px solid var(--border);
}

.admin-header h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
}

.admin-tabs {
  display: flex;
  gap: 0;
}

.admin-tab {
  padding: 10px 16px;
  border: none;
  background: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  font-family: var(--font);
}

.admin-tab:hover { color: var(--text-primary); }
.admin-tab.active { color: var(--primary-light); border-bottom-color: var(--primary); }

.admin-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th {
  text-align: left;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-tertiary);
  border-bottom: 1px solid var(--border);
}

.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}

.admin-table tr:hover td { background: var(--surface-hover); }

.role-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
}

.role-badge.admin { background: var(--ai-surface); color: var(--primary-light); }
.role-badge.member { background: var(--surface); color: var(--text-secondary); }

.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
}

.status-badge.online { background: rgba(0, 214, 143, 0.15); color: var(--online); }
.status-badge.offline { background: var(--surface); color: var(--text-tertiary); }

.export-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.export-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.export-card p { font-size: 12px; color: var(--text-tertiary); }

.export-section h3 { font-size: 16px; font-weight: 700; }
