@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-primary: #06060f;
  --bg-secondary: #0c0c1d;
  --bg-card: #111128;
  --bg-card-hover: #161640;
  --bg-input: #0e0e25;
  --border: rgba(108,92,231,0.15);
  --border-hover: rgba(108,92,231,0.35);
  --primary: #6c5ce7;
  --primary-light: #a855f7;
  --secondary: #00cec9;
  --accent-green: #00b894;
  --accent-yellow: #fdcb6e;
  --accent-red: #e17055;
  --accent-blue: #74b9ff;
  --accent-pink: #fd79a8;
  --text: #e8e8f0;
  --text-dim: #8888aa;
  --text-muted: #555577;
  --gradient-primary: linear-gradient(135deg, #6c5ce7, #a855f7);
  --gradient-secondary: linear-gradient(135deg, #00cec9, #55efc4);
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 30px rgba(108,92,231,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, sans-serif; background: var(--bg-primary); color: var(--text); min-height: 100vh; overflow-x: hidden; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-light); }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* Auth Screen */
.auth-container {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding: 20px;
  background: radial-gradient(ellipse at 50% 0%, rgba(108,92,231,0.08) 0%, transparent 60%);
}
.auth-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px; width: 100%; max-width: 440px;
  box-shadow: var(--shadow-glow);
}
.auth-logo { text-align: center; margin-bottom: 30px; }
.auth-logo h1 { font-size: 28px; font-weight: 800; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.auth-logo p { color: var(--text-dim); font-size: 13px; margin-top: 4px; }
.auth-tabs { display: flex; gap: 4px; margin-bottom: 24px; background: var(--bg-input); border-radius: var(--radius-sm); padding: 4px; }
.auth-tab { flex: 1; padding: 10px; text-align: center; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text-dim); transition: all .2s; }
.auth-tab.active { background: var(--primary); color: white; }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--text-dim); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-input {
  width: 100%; padding: 11px 14px; background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text); font-size: 14px; font-family: inherit;
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(108,92,231,0.15); }
.form-input::placeholder { color: var(--text-muted); }
textarea.form-input { resize: vertical; min-height: 80px; }
select.form-input { cursor: pointer; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600;
  font-family: inherit; cursor: pointer; border: none; transition: all .2s; white-space: nowrap;
}
.btn-primary { background: var(--gradient-primary); color: white; }
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 4px 15px rgba(108,92,231,0.3); }
.btn-secondary { background: var(--bg-card); border: 1px solid var(--border); color: var(--text); }
.btn-secondary:hover { border-color: var(--primary); background: var(--bg-card-hover); }
.btn-danger { background: var(--accent-red); color: white; }
.btn-danger:hover { opacity: 0.9; }
.btn-success { background: var(--accent-green); color: white; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-block { width: 100%; }
.btn-icon { width: 32px; height: 32px; padding: 0; border-radius: 8px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Layout */
.app-layout { display: flex; min-height: 100vh; }

/* Sidebar */
.sidebar {
  width: 260px; background: var(--bg-secondary); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
  transition: transform .3s;
}
.sidebar-header {
  padding: 20px; border-bottom: 1px solid var(--border);
}
.sidebar-brand { font-size: 18px; font-weight: 800; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.sidebar-brand-sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.sidebar-nav { flex: 1; padding: 12px; overflow-y: auto; }
.nav-section { margin-bottom: 8px; }
.nav-section-title { font-size: 10px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; padding: 8px 12px 4px; }
.nav-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--radius-sm); cursor: pointer; color: var(--text-dim);
  font-size: 13px; font-weight: 500; transition: all .15s; margin-bottom: 2px;
}
.nav-item:hover { background: var(--bg-card); color: var(--text); }
.nav-item.active { background: rgba(108,92,231,0.15); color: var(--primary); }
.nav-item .nav-icon { width: 20px; text-align: center; font-size: 15px; }
.nav-item .nav-badge { margin-left: auto; background: var(--primary); color: white; font-size: 10px; padding: 2px 7px; border-radius: 10px; font-weight: 700; }
.sidebar-footer { padding: 12px; border-top: 1px solid var(--border); }
.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--radius-sm); }
.sidebar-user-avatar { width: 32px; height: 32px; border-radius: 8px; background: var(--gradient-primary); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 13px; }
.sidebar-user-info { flex: 1; min-width: 0; }
.sidebar-user-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-role { font-size: 11px; color: var(--text-muted); }

/* Main Content */
.main-content { flex: 1; margin-left: 260px; min-height: 100vh; }
.page-header {
  padding: 24px 30px 20px;
  background: linear-gradient(180deg, rgba(108,92,231,0.05) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}
.page-title { font-size: 22px; font-weight: 700; }
.page-subtitle { font-size: 13px; color: var(--text-dim); margin-top: 4px; }
.page-actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.page-body { padding: 24px 30px; }

/* Cards */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  transition: border-color .2s, box-shadow .2s;
}
.card:hover { border-color: var(--border-hover); }
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.card-title { font-size: 15px; font-weight: 700; }

/* Stat Cards */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; position: relative; overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-primary);
}
.stat-card.green::before { background: var(--gradient-secondary); }
.stat-card.yellow::before { background: linear-gradient(135deg, #fdcb6e, #f39c12); }
.stat-card.red::before { background: linear-gradient(135deg, #e17055, #d63031); }
.stat-card.blue::before { background: linear-gradient(135deg, #74b9ff, #0984e3); }
.stat-card.pink::before { background: linear-gradient(135deg, #fd79a8, #e84393); }
.stat-value { font-size: 28px; font-weight: 800; margin-bottom: 4px; }
.stat-label { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.stat-icon { position: absolute; top: 16px; right: 16px; font-size: 24px; opacity: 0.3; }

/* Tables */
.table-container { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; padding: 10px 14px; font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid var(--border); }
td { padding: 12px 14px; font-size: 13px; border-bottom: 1px solid rgba(108,92,231,0.05); }
tr:hover td { background: rgba(108,92,231,0.03); }

/* Recording card list */
.recording-list { display: flex; flex-direction: column; gap: 12px; }
.recording-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 20px; display: flex; align-items: center; gap: 16px;
  transition: all .2s; cursor: pointer;
}
.recording-card:hover { border-color: var(--primary); transform: translateX(2px); }
.recording-card.starred { border-left: 3px solid var(--accent-yellow); }
.rec-star { font-size: 18px; cursor: pointer; color: var(--text-muted); transition: color .2s; }
.rec-star.active { color: var(--accent-yellow); }
.rec-info { flex: 1; min-width: 0; }
.rec-parties { font-weight: 600; font-size: 14px; }
.rec-meta { font-size: 12px; color: var(--text-dim); margin-top: 3px; display: flex; gap: 12px; flex-wrap: wrap; }
.rec-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.rec-actions { display: flex; gap: 6px; flex-shrink: 0; }
.sentiment-badge {
  display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600;
}
.sentiment-positive { background: rgba(0,184,148,0.15); color: var(--accent-green); }
.sentiment-negative { background: rgba(225,112,85,0.15); color: var(--accent-red); }
.sentiment-neutral { background: rgba(116,185,255,0.15); color: var(--accent-blue); }
.sentiment-mixed { background: rgba(253,203,110,0.15); color: var(--accent-yellow); }

/* Tags */
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 10px; border-radius: 12px; font-size: 11px; font-weight: 600;
  background: rgba(108,92,231,0.15); color: var(--primary);
}
.tag .tag-remove { cursor: pointer; opacity: 0.6; font-size: 13px; }
.tag .tag-remove:hover { opacity: 1; }

/* Modal */
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center; z-index: 1000;
  opacity: 0; visibility: hidden; transition: all .2s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  width: 90%; max-width: 800px; max-height: 85vh; overflow-y: auto;
  box-shadow: var(--shadow); transform: translateY(20px); transition: transform .2s;
}
.modal-overlay.active .modal { transform: translateY(0); }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--border); position: sticky; top: 0;
  background: var(--bg-card); z-index: 1;
}
.modal-title { font-size: 17px; font-weight: 700; }
.modal-close { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; cursor: pointer; color: var(--text-dim); font-size: 18px; transition: background .2s; border: none; background: none; }
.modal-close:hover { background: var(--bg-input); color: var(--text); }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 8px; }
.modal.wide { max-width: 1000px; }

/* AI Chat */
.chat-container { display: flex; flex-direction: column; height: calc(100vh - 150px); }
.chat-sidebar { width: 240px; border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.chat-main { flex: 1; display: flex; flex-direction: column; }
.chat-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.chat-message { display: flex; gap: 12px; max-width: 85%; animation: fadeIn .3s; }
.chat-message.user { align-self: flex-end; flex-direction: row-reverse; }
.chat-message-bubble {
  padding: 12px 16px; border-radius: var(--radius); font-size: 14px; line-height: 1.6;
}
.chat-message.user .chat-message-bubble { background: var(--primary); color: white; border-bottom-right-radius: 4px; }
.chat-message.assistant .chat-message-bubble { background: var(--bg-card); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.chat-message-bubble p { margin-bottom: 8px; }
.chat-message-bubble p:last-child { margin-bottom: 0; }
.chat-message-bubble code { background: rgba(0,0,0,0.3); padding: 2px 6px; border-radius: 4px; font-size: 13px; }
.chat-message-bubble pre { background: rgba(0,0,0,0.3); padding: 12px; border-radius: 8px; overflow-x: auto; margin: 8px 0; }
.chat-message-bubble pre code { background: none; padding: 0; }
.chat-message-bubble ul, .chat-message-bubble ol { padding-left: 20px; margin: 8px 0; }
.chat-message-bubble li { margin-bottom: 4px; }
.chat-message-bubble h2, .chat-message-bubble h3 { margin: 12px 0 6px; font-size: 15px; color: var(--primary-light); }
.chat-message-bubble strong { color: var(--secondary); }
.chat-message-actions { display: flex; gap: 4px; margin-top: 6px; }
.chat-copy-btn { background: none; border: 1px solid var(--border); color: var(--text-dim); padding: 4px 8px; border-radius: 6px; font-size: 11px; cursor: pointer; transition: all .2s; }
.chat-copy-btn:hover { border-color: var(--primary); color: var(--primary); }
.chat-input-area {
  padding: 16px 20px; border-top: 1px solid var(--border);
  display: flex; gap: 10px; align-items: flex-end;
}
.chat-input {
  flex: 1; padding: 12px 16px; background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text); font-size: 14px; font-family: inherit;
  resize: none; min-height: 46px; max-height: 120px; outline: none; transition: border-color .2s;
}
.chat-input:focus { border-color: var(--primary); }
.chat-send {
  width: 46px; height: 46px; border-radius: var(--radius); background: var(--gradient-primary);
  border: none; color: white; font-size: 18px; cursor: pointer; display: flex;
  align-items: center; justify-content: center; transition: opacity .2s; flex-shrink: 0;
}
.chat-send:hover { opacity: 0.9; }
.chat-send:disabled { opacity: 0.4; }

/* Loading & Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-dots::after { content: ''; animation: dots 1.5s infinite; }
@keyframes dots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }
.spinner { width: 20px; height: 20px; border: 2px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin .6s linear infinite; display: inline-block; }
.skeleton { background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* Toast */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 2000; display: flex; flex-direction: column; gap: 8px; }
.toast {
  padding: 12px 20px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500;
  box-shadow: var(--shadow); animation: fadeIn .3s; min-width: 250px;
}
.toast-success { background: var(--accent-green); color: white; }
.toast-error { background: var(--accent-red); color: white; }
.toast-info { background: var(--primary); color: white; }

/* Impersonation banner */
.impersonation-bar {
  background: var(--accent-red); color: white; padding: 8px 20px; font-size: 13px;
  display: flex; align-items: center; justify-content: space-between;
}

/* Pagination */
.pagination { display: flex; gap: 4px; justify-content: center; margin-top: 20px; align-items: center; }
.pagination button {
  padding: 8px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--bg-card); color: var(--text-dim); font-size: 13px; cursor: pointer; transition: all .2s;
}
.pagination button:hover { border-color: var(--primary); color: var(--text); }
.pagination button.active { background: var(--primary); color: white; border-color: var(--primary); }
.pagination button:disabled { opacity: 0.3; cursor: default; }
.pagination span { padding: 8px 12px; font-size: 13px; color: var(--text-dim); }

/* Search */
.search-bar {
  display: flex; align-items: center; gap: 8px; background: var(--bg-input);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 12px; flex: 1; max-width: 500px;
  transition: border-color .2s;
}
.search-bar:focus-within { border-color: var(--primary); }
.search-bar input { background: none; border: none; color: var(--text); font-size: 14px; padding: 8px 4px; flex: 1; outline: none; font-family: inherit; }
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar .search-icon { color: var(--text-muted); font-size: 16px; }

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

/* Chart container */
.chart-container { position: relative; height: 250px; }
.chart-container canvas { width: 100% !important; height: 100% !important; }

/* Action items */
.action-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(108,92,231,0.05); }
.action-item:last-child { border-bottom: none; }
.action-checkbox { width: 18px; height: 18px; border-radius: 4px; border: 2px solid var(--border); cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; transition: all .2s; }
.action-checkbox.checked { background: var(--accent-green); border-color: var(--accent-green); }
.action-checkbox.checked::after { content: '\2713'; color: white; font-size: 12px; font-weight: 700; }
.action-text { flex: 1; font-size: 13px; line-height: 1.5; }
.action-text.completed { text-decoration: line-through; color: var(--text-muted); }
.priority-high { color: var(--accent-red); }
.priority-medium { color: var(--accent-yellow); }
.priority-low { color: var(--accent-green); }
.priority-badge { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px; text-transform: uppercase; }
.priority-badge.high { background: rgba(225,112,85,0.15); color: var(--accent-red); }
.priority-badge.medium { background: rgba(253,203,110,0.15); color: var(--accent-yellow); }
.priority-badge.low { background: rgba(0,184,148,0.15); color: var(--accent-green); }

/* Tabs */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.tab {
  padding: 10px 20px; font-size: 13px; font-weight: 600; color: var(--text-dim);
  cursor: pointer; border-bottom: 2px solid transparent; transition: all .2s;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }

/* Filter bar */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px;
  border-radius: 20px; font-size: 12px; font-weight: 600; cursor: pointer;
  background: var(--bg-input); border: 1px solid var(--border); color: var(--text-dim);
  transition: all .2s;
}
.filter-chip:hover, .filter-chip.active { border-color: var(--primary); color: var(--primary); background: rgba(108,92,231,0.1); }

/* Follow-up */
.followup-item { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--bg-input); border-radius: var(--radius-sm); margin-bottom: 8px; }
.followup-date { font-size: 12px; color: var(--accent-yellow); font-weight: 600; white-space: nowrap; }
.followup-title { flex: 1; font-size: 13px; font-weight: 600; }

/* Storage bar */
.storage-bar { height: 8px; background: var(--bg-input); border-radius: 4px; overflow: hidden; margin-top: 4px; }
.storage-bar-fill { height: 100%; background: var(--gradient-primary); border-radius: 4px; transition: width .5s; }

/* Markdown content */
.md-content h2 { font-size: 16px; font-weight: 700; color: var(--primary-light); margin: 16px 0 8px; }
.md-content h3 { font-size: 14px; font-weight: 700; color: var(--secondary); margin: 12px 0 6px; }
.md-content p { margin-bottom: 8px; line-height: 1.6; }
.md-content ul, .md-content ol { padding-left: 20px; margin: 8px 0; }
.md-content li { margin-bottom: 4px; line-height: 1.5; }
.md-content strong { color: var(--text); }
.md-content code { background: rgba(0,0,0,0.3); padding: 2px 6px; border-radius: 4px; font-size: 13px; }
.md-content blockquote { border-left: 3px solid var(--primary); padding-left: 12px; color: var(--text-dim); margin: 8px 0; }

/* Audio player */
.audio-player { width: 100%; margin: 8px 0; border-radius: 8px; height: 36px; }

/* Empty state */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .empty-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.3; }
.empty-state h3 { font-size: 18px; margin-bottom: 8px; color: var(--text-dim); }
.empty-state p { font-size: 13px; color: var(--text-muted); max-width: 400px; margin: 0 auto; }

/* Responsive */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .page-body { padding: 16px; }
  .page-header { padding: 16px; }
}

/* Copy button for AI content */
.copy-wrapper { position: relative; }
.copy-btn {
  position: absolute; top: 8px; right: 8px;
  background: var(--bg-input); border: 1px solid var(--border); color: var(--text-dim);
  padding: 4px 10px; border-radius: 6px; font-size: 11px; cursor: pointer;
  opacity: 0; transition: all .2s;
}
.copy-wrapper:hover .copy-btn { opacity: 1; }
.copy-btn:hover { border-color: var(--primary); color: var(--primary); }
.copy-btn.copied { background: var(--accent-green); color: white; border-color: var(--accent-green); opacity: 1; }

/* Integration guide */
.api-key-display {
  display: flex; align-items: center; gap: 8px; background: var(--bg-input);
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px;
  font-family: 'Courier New', monospace; font-size: 13px;
}
.api-key-display .key-text { flex: 1; word-break: break-all; }

/* Conversation list */
.convo-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--radius-sm); cursor: pointer; transition: all .15s; margin-bottom: 4px;
}
.convo-item:hover { background: var(--bg-card); }
.convo-item.active { background: rgba(108,92,231,0.15); }
.convo-title { flex: 1; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convo-delete { opacity: 0; color: var(--text-muted); cursor: pointer; transition: opacity .2s; }
.convo-item:hover .convo-delete { opacity: 1; }
