/* ============================================================
   LEXIS — KNOWLEDGE ASSISTANT  |  style.css
   Design system: dark-first, high-contrast, production grade
   ============================================================ */

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
textarea { font-family: inherit; }
input { font-family: inherit; }

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* Typography */
  --font-ui:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Menlo', 'Consolas', monospace;

  /* Dark mode surfaces — warm neutral, not blue-tinted */
  --bg-app:     #0f0f0f;  /* page background */
  --bg-panel:   #161616;  /* sidebar, topbar, input bar */
  --bg-surface: #1e1e1e;  /* chat bubbles, cards */
  --bg-hover:   #252525;  /* hover states */
  --bg-active:  #2a2a2a;  /* active / selected */
  --bg-input:   #1a1a1a;  /* textarea background */

  /* Borders */
  --border-subtle: rgba(255,255,255,0.06);
  --border-default: rgba(255,255,255,0.10);
  --border-strong: rgba(255,255,255,0.18);
  --border-focus: rgba(255,255,255,0.30);

  /* Text — maximum contrast, carefully stepped */
  --text-primary:   #f2f2f2;  /* headings, main content */
  --text-secondary: #a8a8a8;  /* subtext, descriptions */
  --text-tertiary:  #666666;  /* timestamps, labels, muted */
  --text-disabled:  #404040;

  /* Accent — indigo, refined */
  --accent:       #818cf8;
  --accent-hover: #a5b4fc;
  --accent-dim:   rgba(129,140,248,0.12);
  --accent-bdr:   rgba(129,140,248,0.25);

  /* User message bubble */
  --user-bg:  #1c1c2e;
  --user-bdr: rgba(129,140,248,0.22);

  /* Semantic */
  --green:  #4ade80;
  --green-dim: rgba(74,222,128,0.10);
  --green-bdr: rgba(74,222,128,0.22);
  --amber:  #fbbf24;
  --amber-dim: rgba(251,191,36,0.10);
  --amber-bdr: rgba(251,191,36,0.22);
  --red:    #f87171;
  --red-dim:  rgba(248,113,113,0.10);
  --red-bdr:  rgba(248,113,113,0.22);
  --purple: #c084fc;
  --purple-dim: rgba(192,132,252,0.10);
  --purple-bdr: rgba(192,132,252,0.22);

  /* Layout */
  --sidebar-w: 272px;

  /* Radii */
  --r-xs: 3px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;

  /* Transitions */
  --t-fast: 120ms ease;
  --t-mid:  180ms cubic-bezier(0.4,0,0.2,1);
  --t-slow: 280ms cubic-bezier(0.4,0,0.2,1);
}

/* ── LIGHT MODE ─────────────────────────────────────────────── */
body.light {
  --bg-app:      #fafafa;
  --bg-panel:    #ffffff;
  --bg-surface:  #f4f4f5;
  --bg-hover:    #ebebeb;
  --bg-active:   #e4e4e7;
  --bg-input:    #f7f7f8;

  --border-subtle:  rgba(0,0,0,0.06);
  --border-default: rgba(0,0,0,0.10);
  --border-strong:  rgba(0,0,0,0.16);
  --border-focus:   rgba(0,0,0,0.28);

  --text-primary:   #111111;
  --text-secondary: #444444;
  --text-tertiary:  #888888;
  --text-disabled:  #cccccc;

  --accent:       #6366f1;
  --accent-hover: #4f46e5;
  --accent-dim:   rgba(99,102,241,0.08);
  --accent-bdr:   rgba(99,102,241,0.20);

  --user-bg:  #eff0ff;
  --user-bdr: rgba(99,102,241,0.20);

  --green:  #16a34a;
  --green-dim: rgba(22,163,74,0.08);
  --green-bdr: rgba(22,163,74,0.20);
  --red:    #dc2626;
  --red-dim:  rgba(220,38,38,0.08);
  --red-bdr:  rgba(220,38,38,0.20);
  --amber:  #d97706;
  --amber-dim: rgba(217,119,6,0.08);
  --amber-bdr: rgba(217,119,6,0.20);
  --purple: #9333ea;
  --purple-dim: rgba(147,51,234,0.08);
  --purple-bdr: rgba(147,51,234,0.20);
}

/* ── BASE ───────────────────────────────────────────────────── */
html, body { height: 100%; }
body {
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.5;
  background: var(--bg-app);
  color: var(--text-primary);
  height: 100vh;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── SCROLLBARS ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-default); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-strong); }

/* ── LAYOUT SHELL ───────────────────────────────────────────── */
.shell {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  background: var(--bg-panel);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  overflow: hidden;
  transition: width var(--t-slow), min-width var(--t-slow);
}

.sidebar.closed {
  width: 0;
  min-width: 0;
}

.sb-inner {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Brand */
.sb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 16px 16px;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}

.brand-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}

/* New chat */
.new-chat-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 12px 12px 4px;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 500;
  transition: all var(--t-fast);
  width: calc(100% - 24px);
}

.new-chat-btn:hover {
  background: var(--bg-hover);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.new-chat-btn i { font-size: 10px; }

/* Section label */
.sb-section-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  padding: 14px 16px 6px;
  flex-shrink: 0;
}

/* History list */
.history-list {
  overflow-y: auto;
  max-height: 160px;
  padding: 2px 10px 6px;
}

.hist-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t-fast);
  margin-bottom: 1px;
}

.hist-item:hover { background: var(--bg-hover); border-color: var(--border-subtle); }
.hist-item.active { background: var(--accent-dim); border-color: var(--accent-bdr); }

.hist-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--border-strong); flex-shrink: 0;
}
.hist-item.active .hist-dot { background: var(--accent); }

.hist-label {
  flex: 1; min-width: 0;
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hist-item.active .hist-label { color: var(--text-primary); }

.hist-time {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

.hist-del {
  width: 20px; height: 20px; border-radius: var(--r-xs);
  display: none; align-items: center; justify-content: center;
  color: var(--text-tertiary); font-size: 9px;
  transition: all var(--t-fast); flex-shrink: 0;
}
.hist-item:hover .hist-del { display: flex; }
.hist-del:hover { background: var(--red-dim); color: var(--red); }

/* Separator */
.sb-sep {
  height: 1px;
  background: var(--border-subtle);
  margin: 6px 16px;
  flex-shrink: 0;
}

/* Sidebar action buttons */
.sb-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  margin: 1px 10px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 400;
  transition: all var(--t-fast);
  text-align: left;
  width: calc(100% - 20px);
}
.sb-btn i {
  width: 15px;
  text-align: center;
  font-size: 11px;
  flex-shrink: 0;
  color: var(--text-tertiary);
}
.sb-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}
.sb-btn:hover i { color: var(--text-secondary); }
.sb-btn.danger:hover {
  background: var(--red-dim);
  color: var(--red);
  border-color: var(--red-bdr);
}
.sb-btn.danger:hover i { color: var(--red); }
.sb-btn.upload { cursor: pointer; display: flex; }

/* Knowledge base section */
.kb-section {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.kb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 8px;
}

.kb-count {
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 2px 6px;
  border-radius: var(--r-xs);
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--accent-bdr);
}

.doc-list {
  flex: 1;
  overflow-y: auto;
  padding: 0 10px 12px;
}

.doc-empty {
  padding: 24px 12px;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 12px;
  line-height: 1.8;
}
.doc-empty i {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
  opacity: 0.5;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: all var(--t-fast);
  margin-bottom: 1px;
  cursor: default;
}
.doc-item:hover { background: var(--bg-hover); border-color: var(--border-subtle); }

.doc-icon {
  width: 28px; height: 28px;
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; flex-shrink: 0;
  border: 1px solid var(--border-subtle);
}
.doc-icon.pdf   { background: var(--red-dim);    color: var(--red); }
.doc-icon.doc   { background: var(--accent-dim); color: var(--accent); }
.doc-icon.txt   { background: var(--green-dim);  color: var(--green); }
.doc-icon.csv   { background: var(--amber-dim);  color: var(--amber); }
.doc-icon.other { background: var(--bg-hover);   color: var(--text-tertiary); }

.doc-info { flex: 1; min-width: 0; }
.doc-name {
  font-size: 12px;
  color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.doc-ext {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-tertiary);
  margin-top: 1px;
}

.doc-pulse {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse 2.5s ease-in-out infinite;
}
.doc-remove {
  width: 22px; height: 22px;
  border-radius: var(--r-xs);
  display: none; align-items: center; justify-content: center;
  color: var(--text-tertiary); font-size: 10px;
  transition: all var(--t-fast); flex-shrink: 0;
}
.doc-item:hover .doc-remove { display: flex; }
.doc-item:hover .doc-pulse  { display: none; }
.doc-remove:hover { background: var(--red-dim); color: var(--red); }

/* Shimmer skeleton */
.shimmer {
  height: 36px;
  border-radius: var(--r-sm);
  margin: 2px 0 4px;
  background: linear-gradient(90deg, var(--bg-surface) 25%, var(--bg-hover) 50%, var(--bg-surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* Footer */
.sb-footer {
  padding: 10px 10px 16px;
  border-top: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-subtle);
  background: transparent;
  transition: all var(--t-fast);
  width: 100%;
}
.theme-toggle:hover { background: var(--bg-hover); border-color: var(--border-default); }

.theme-toggle-label {
  display: flex; align-items: center; gap: 9px;
  font-size: 12.5px;
  color: var(--text-secondary);
}
.theme-toggle-label i { font-size: 11px; color: var(--text-tertiary); }

.toggle-pill {
  width: 34px; height: 18px;
  background: var(--bg-active);
  border: 1px solid var(--border-default);
  border-radius: 9px;
  position: relative;
  transition: all var(--t-mid);
}
.toggle-pill::after {
  content: '';
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--text-tertiary);
  top: 2px; left: 2px;
  transition: all var(--t-mid);
}
body.light .toggle-pill { background: var(--accent); border-color: var(--accent); }
body.light .toggle-pill::after { background: #fff; left: 18px; }

/* ============================================================
   MAIN PANEL
   ============================================================ */
.main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-app);
}

/* ── TOPBAR ────────────────────────────────────────────────── */
.topbar {
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 10px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-panel);
  flex-shrink: 0;
}

.tb-icon-btn {
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-tertiary);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
  transition: all var(--t-fast);
}
.tb-icon-btn:hover { background: var(--bg-hover); color: var(--text-primary); border-color: var(--border-default); }

.tb-center {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.tb-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tb-badges {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.tb-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 2px 6px;
  border-radius: var(--r-xs);
  border: 1px solid;
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.tb-badge.accent  { background: var(--accent-dim);  color: var(--accent);  border-color: var(--accent-bdr); }
.tb-badge.green   { background: var(--green-dim);   color: var(--green);   border-color: var(--green-bdr); }
.tb-badge.amber   { background: var(--amber-dim);   color: var(--amber);   border-color: var(--amber-bdr); }
.tb-badge.purple  { background: var(--purple-dim);  color: var(--purple);  border-color: var(--purple-bdr); }
.tb-badge.muted   { background: var(--bg-surface);  color: var(--text-tertiary); border-color: var(--border-subtle); }

.tb-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.tb-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-tertiary);
}

.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.5s ease-in-out infinite;
}
.status-dot.thinking { background: var(--amber); animation: none; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── MESSAGES ───────────────────────────────────────────────── */
.messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px 0 8px;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
}

/* Message row */
.msg-row {
  display: flex;
  padding: 4px 20px;
  animation: rise 0.18s ease-out both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.msg-row.user { justify-content: flex-end; }
.msg-row.ai   { justify-content: flex-start; }

/* AI avatar */
.ai-avatar {
  width: 28px; height: 28px;
  border-radius: var(--r-sm);
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #fff;
  flex-shrink: 0;
  margin-right: 10px;
  margin-top: 2px;
  align-self: flex-start;
}
.ai-avatar.agent { background: var(--purple); }

/* Message content */
.msg-content { max-width: 70%; }

.msg-sender {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-tertiary);
  margin-bottom: 5px;
  letter-spacing: 0.06em;
  text-transform: lowercase;
}
.msg-row.user .msg-sender { text-align: right; }

/* Bubble */
.bubble {
  padding: 11px 15px;
  border-radius: var(--r-md);
  font-size: 13.5px;
  line-height: 1.7;
  word-break: break-word;
  white-space: pre-wrap;
}

.msg-row.ai .bubble {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-bottom-left-radius: var(--r-xs);
  color: var(--text-primary);
}

.msg-row.user .bubble {
  background: var(--user-bg);
  border: 1px solid var(--user-bdr);
  border-bottom-right-radius: var(--r-xs);
  color: var(--text-primary);
}

/* Code inline */
.bubble code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--bg-hover);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  padding: 1px 5px;
  color: var(--accent-hover);
}

/* Sources */
.sources {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.source-chip {
  font-family: var(--font-mono);
  font-size: 9.5px;
  padding: 2px 8px;
  border-radius: var(--r-xs);
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid var(--green-bdr);
  display: flex; align-items: center; gap: 4px;
}

/* Agent token highlight */
.agent-token {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--purple);
  background: var(--purple-dim);
  border: 1px solid var(--purple-bdr);
  border-radius: var(--r-xs);
  padding: 0 5px;
  margin-right: 2px;
}

/* Timestamp */
.msg-time {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-tertiary);
  margin-top: 5px;
}
.msg-row.user .msg-time { text-align: right; }

/* Typing indicator */
.typing-row {
  display: flex;
  align-items: flex-end;
  padding: 4px 20px;
  gap: 10px;
}
.typing-bub {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  border-bottom-left-radius: var(--r-xs);
  padding: 12px 14px;
  display: flex; gap: 5px; align-items: center;
}
.typing-bub span {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--text-tertiary);
  animation: typing-dot 1.3s ease-in-out infinite;
}
.typing-bub span:nth-child(2) { animation-delay: 0.22s; }
.typing-bub span:nth-child(3) { animation-delay: 0.44s; }
@keyframes typing-dot {
  0%, 80%, 100% { opacity: 0.25; transform: scale(0.75); }
  40%           { opacity: 1;    transform: scale(1); }
}

/* ── EMPTY STATE ────────────────────────────────────────────── */
.empty {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 48px 24px;
  text-align: center;
  gap: 12px;
}

.empty-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--accent);
  margin-bottom: 4px;
}

.empty-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.empty-sub {
  font-size: 13.5px;
  color: var(--text-secondary);
  max-width: 380px;
  line-height: 1.75;
}

.mode-pill {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10px;
  padding: 5px 12px; border-radius: var(--r-sm);
  background: var(--bg-surface); color: var(--text-tertiary);
  border: 1px solid var(--border-default);
  margin-top: 4px;
}

.chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  justify-content: center; margin-top: 6px;
}

.chip {
  padding: 7px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  font-size: 12px; color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--t-fast);
}
.chip:hover {
  border-color: var(--accent-bdr);
  color: var(--accent);
  background: var(--accent-dim);
}

/* ============================================================
   INPUT BAR
   ============================================================ */
.input-bar {
  padding: 10px 20px 18px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-panel);
  flex-shrink: 0;
}

.input-outer {
  max-width: 860px;
  margin: 0 auto;
}

/* Mode strip */
.mode-strip {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.mode-chip {
  display: flex; align-items: center; gap: 5px;
  padding: 4px 9px;
  border-radius: var(--r-xs);
  border: 1px solid var(--border-subtle);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-tertiary);
  transition: all var(--t-fast);
}
.mode-chip i { font-size: 8px; }
.mode-chip:hover { border-color: var(--border-default); color: var(--text-secondary); background: var(--bg-surface); }
.mode-chip.on-green  { background: var(--green-dim);  color: var(--green);  border-color: var(--green-bdr); }
.mode-chip.on-amber  { background: var(--amber-dim);  color: var(--amber);  border-color: var(--amber-bdr); }
.mode-chip.on-purple { background: var(--purple-dim); color: var(--purple); border-color: var(--purple-bdr); }

.strip-info {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-tertiary);
}

/* Input wrap + agent dropdown */
.input-wrap { position: relative; }

.agent-dropdown {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0; right: 0;
  background: var(--bg-panel);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 -16px 40px rgba(0,0,0,0.5);
  z-index: 50;
}
.agent-dropdown-hdr {
  padding: 7px 12px 5px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-subtle);
}
.agent-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  cursor: pointer;
  transition: background var(--t-fast);
  border-bottom: 1px solid var(--border-subtle);
}
.agent-opt:last-child { border-bottom: none; }
.agent-opt:hover, .agent-opt.focused { background: var(--bg-hover); }
.agent-opt-icon {
  width: 26px; height: 26px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; flex-shrink: 0;
  background: var(--purple-dim);
  color: var(--purple);
  border: 1px solid var(--purple-bdr);
}
.agent-opt-name {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-primary);
  font-weight: 500;
}
.agent-opt-desc {
  font-size: 11.5px;
  color: var(--text-secondary);
  margin-top: 1px;
}

/* Input box */
.input-box {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input-box:focus-within {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 3px rgba(129,140,248,0.08);
}
.input-box.agentic:focus-within {
  border-color: var(--purple-bdr);
  box-shadow: 0 0 0 3px var(--purple-dim);
}

.msg-ta {
  flex: 1;
  background: transparent;
  border: none; outline: none;
  color: var(--text-primary);
  font-size: 13.5px;
  line-height: 1.6;
  resize: none;
  max-height: 140px;
  overflow-y: auto;
}
.msg-ta::placeholder { color: var(--text-tertiary); }

.send-btn {
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast);
  flex-shrink: 0;
}
.send-btn:hover:not(:disabled) { background: var(--accent-hover); transform: scale(1.04); }
.send-btn:disabled { opacity: 0.3; cursor: not-allowed; transform: none; }
.send-btn.agentic { background: var(--purple); }
.send-btn.agentic:hover:not(:disabled) { background: #a855f7; }

.input-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding: 0 2px;
}
.input-hint  { font-family: var(--font-mono); font-size: 9px; color: var(--text-tertiary); }
.input-chars { font-family: var(--font-mono); font-size: 9px; color: var(--text-tertiary); }

/* ============================================================
   MODALS
   ============================================================ */
.backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center;
  z-index: 200;
  backdrop-filter: blur(4px);
  animation: fade-in 0.14s ease;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: var(--bg-panel);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  padding: 24px 22px 20px;
  width: 360px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  animation: modal-pop 0.18s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes modal-pop {
  from { opacity: 0; transform: scale(0.95) translateY(4px); }
  to   { opacity: 1; transform: none; }
}

.modal-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; margin-bottom: 14px;
}
.modal-icon.err  { background: var(--red-dim);   border: 1px solid var(--red-bdr);   color: var(--red); }
.modal-icon.warn { background: var(--amber-dim);  border: 1px solid var(--amber-bdr);  color: var(--amber); }

.modal-title { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; letter-spacing: -0.02em; }
.modal-body  { font-size: 13px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 18px; }

.modal-fname {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--r-sm);
  padding: 5px 10px;
  display: inline-block;
  margin-bottom: 16px;
}

.modal-row { display: flex; gap: 8px; justify-content: flex-end; }

.m-btn {
  height: 32px;
  padding: 0 14px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--t-fast);
  border: 1px solid var(--border-default);
  background: transparent;
  color: var(--text-secondary);
}
.m-btn:hover { background: var(--bg-hover); color: var(--text-primary); }
.m-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.m-btn.danger { border-color: var(--red-bdr); color: var(--red); }
.m-btn.danger:hover { background: var(--red-dim); }

/* ============================================================
   TOAST
   ============================================================ */
.toast-wrap {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 300; pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 16px;
  background: var(--bg-active);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--text-primary);
  white-space: nowrap;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  animation: toast-rise 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes toast-rise {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}
.tdot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.tdot.ok   { background: var(--green); }
.tdot.err  { background: var(--red); }
.tdot.warn { background: var(--amber); }

/* ============================================================
   LEXIS — style.css ADDITIONS
   Paste these at the bottom of your existing style.css
   New components: Dataset modal, Chart bubble, agent badges,
                   active dataset pill, strip dataset chip
   ============================================================ */

/* ── Agent dropdown badge ────────────────────────────────────── */
.agent-opt-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 8.5px;
  padding: 2px 6px;
  border-radius: var(--r-xs);
  background: var(--amber-dim);
  color: var(--amber);
  border: 1px solid var(--amber-bdr);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Active dataset pill in sidebar ─────────────────────────── */
.dataset-active {
  background: var(--amber-dim) !important;
  border-color: var(--amber-bdr) !important;
}

.active-dataset-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 6px 10px 4px;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  background: var(--amber-dim);
  border: 1px solid var(--amber-bdr);
  font-size: 11.5px;
  color: var(--amber);
  font-family: var(--font-mono);
}
.active-dataset-pill span {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.active-dataset-pill i:first-child { font-size: 10px; flex-shrink: 0; }
.active-dataset-pill button {
  width: 18px; height: 18px;
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  color: var(--amber);
  font-size: 9px;
  flex-shrink: 0;
  transition: all var(--t-fast);
}
.active-dataset-pill button:hover { background: rgba(251,191,36,0.2); }

/* ── Strip dataset chip (input bar) ─────────────────────────── */
.strip-dataset {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: var(--r-xs);
  background: var(--amber-dim);
  border: 1px solid var(--amber-bdr);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 9.5px;
  max-width: 160px;
  overflow: hidden;
}
.strip-dataset i:first-child { font-size: 9px; flex-shrink: 0; }
.strip-dataset span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.strip-dataset button {
  flex-shrink: 0;
  color: var(--amber);
  font-size: 9px;
  display: flex; align-items: center; justify-content: center;
  width: 14px; height: 14px;
  border-radius: 2px;
  transition: background var(--t-fast);
}
.strip-dataset button:hover { background: rgba(251,191,36,0.2); }

/* ── Wide message content (for chart messages) ───────────────── */
.msg-content-wide {
  max-width: 86% !important;
  width: 86%;
}

/* ============================================================
   CHART BUBBLE
   ============================================================ */
.chart-bubble {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  overflow: hidden;
  width: 100%;
}

/* Dataset meta row */
.chart-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-hover);
}
.chart-meta-icon { color: var(--text-tertiary); font-size: 11px; }
.chart-meta-filename {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-primary);
  font-weight: 500;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chart-meta-stat {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-tertiary);
  padding: 2px 6px;
  border-radius: var(--r-xs);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
}

/* Chart area */
.chart-container {
  padding: 0;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.chart-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-tertiary);
  font-size: 13px;
}
.chart-loading i { font-size: 18px; }

.chart-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--red);
  font-size: 13px;
  padding: 32px 24px;
  text-align: center;
}
.chart-error i { font-size: 20px; }

/* Summary text below chart */
.chart-summary {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  background: var(--bg-hover);
}
.chart-summary i {
  color: var(--accent);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   DATASET UPLOAD MODAL
   ============================================================ */
.modal-dataset {
  width: 480px !important;
  max-width: calc(100vw - 32px);
  padding: 0 !important;
  overflow: hidden;
}

.modal-dataset-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-icon.agent-icon {
  background: var(--purple-dim);
  border: 1px solid var(--purple-bdr);
  color: var(--purple);
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  margin-bottom: 0;  /* override modal-icon default */
}

.modal-subtitle {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.modal-close-btn {
  margin-left: auto;
  width: 28px; height: 28px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-tertiary);
  font-size: 12px;
  transition: all var(--t-fast);
  flex-shrink: 0;
}
.modal-close-btn:hover { background: var(--bg-hover); color: var(--text-primary); }

.modal-section { padding: 16px 20px 0; }
.modal-section-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

/* Existing datasets list */
.existing-datasets { display: flex; flex-direction: column; gap: 4px; }

.existing-dataset-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 13px;
  text-align: left;
  transition: all var(--t-fast);
  width: 100%;
}
.existing-dataset-btn i:first-child { color: var(--amber); font-size: 13px; }
.existing-dataset-btn span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.existing-arrow { color: var(--text-tertiary); font-size: 11px; }
.existing-dataset-btn:hover {
  background: var(--amber-dim);
  border-color: var(--amber-bdr);
  color: var(--text-primary);
}
.existing-dataset-btn:hover .existing-arrow { color: var(--amber); }

/* Divider */
.modal-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 0;
  font-size: 11px;
  color: var(--text-tertiary);
}
.modal-divider::before,
.modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

/* Drop zone */
.drop-zone {
  margin: 16px 20px 0;
  border: 1.5px dashed var(--border-default);
  border-radius: var(--r-md);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--t-mid);
  background: var(--bg-input);
}
.drop-zone:hover {
  border-color: var(--accent-bdr);
  background: var(--accent-dim);
}
.drop-zone.drag-over {
  border-color: var(--accent);
  background: var(--accent-dim);
  transform: scale(1.01);
}
.drop-zone.uploading { cursor: not-allowed; opacity: 0.7; }

.drop-zone-icon {
  font-size: 24px;
  color: var(--text-tertiary);
  display: block;
  margin-bottom: 10px;
}
.drop-zone:hover .drop-zone-icon { color: var(--accent); }
.drop-zone.drag-over .drop-zone-icon { color: var(--accent); }

.drop-zone-text {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.drop-zone-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-tertiary);
}

/* Note */
.modal-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 20px 20px;
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.6;
}
.modal-note i { font-size: 11px; flex-shrink: 0; margin-top: 1px; color: var(--accent); }
.modal-note strong { color: var(--text-secondary); font-weight: 500; }




.analysis-bubble {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  overflow: hidden;
  width: 100%;
}
 
/* ── Header ──────────────────────────────────────────────────── */
.ab-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px 10px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-hover);
  flex-wrap: wrap;
}
 
.ab-header-left {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
 
.ab-agent-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-bdr);
  border-radius: var(--r-xs);
  padding: 3px 8px;
}
.ab-agent-badge i { font-size: 9px; }
 
.ab-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-tertiary);
}
.ab-meta span { display: flex; align-items: center; gap: 4px; }
.ab-meta i { font-size: 9px; }
 
/* Operation pills (top-right of header) */
.ab-ops-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}
 
.ab-op-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  padding: 2px 7px;
  border-radius: var(--r-xs);
  background: var(--bg-active);
  color: var(--text-tertiary);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
}
.ab-op-pill i { font-size: 7px; }
.ab-op-pill.error {
  background: var(--red-dim);
  color: var(--red);
  border-color: var(--red-bdr);
}
 
/* ── Headline ─────────────────────────────────────────────────── */
.ab-headline {
  padding: 14px 16px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.4;
}
 
/* ── Stats cards row ──────────────────────────────────────────── */
.ab-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
  padding: 12px 16px 0;
}
 
.ab-stat-card {
  background: var(--bg-hover);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
 
.ab-stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-tertiary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
 
.ab-stat-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
 
.ab-stat-note {
  font-size: 10px;
  color: var(--text-tertiary);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
 
/* ── Tab navigation ───────────────────────────────────────────── */
.ab-tabs {
  display: flex;
  gap: 2px;
  padding: 12px 16px 0;
  border-bottom: 1px solid var(--border-subtle);
}
 
.ab-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  background: transparent;
  border: 1px solid transparent;
  border-bottom: none;
  transition: all var(--t-fast);
  cursor: pointer;
  margin-bottom: -1px;
}
.ab-tab i { font-size: 10px; }
.ab-tab:hover { color: var(--text-secondary); background: var(--bg-hover); }
.ab-tab.active {
  color: var(--text-primary);
  background: var(--bg-surface);
  border-color: var(--border-default);
  border-bottom-color: var(--bg-surface);
}
 
/* ── Tab content area ─────────────────────────────────────────── */
.ab-tab-content {
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
 
/* ── Narrative ────────────────────────────────────────────────── */
.ab-narrative {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.78;
  white-space: pre-wrap;
}
 
/* ── Key findings ─────────────────────────────────────────────── */
.ab-findings {
  background: var(--bg-hover);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  padding: 12px 14px;
}
 
.ab-findings-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}
.ab-findings-label i { color: var(--amber); font-size: 9px; }
 
.ab-findings-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
 
.ab-findings-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.55;
}
 
.ab-findings-list li i {
  font-size: 9px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
}
 
.ab-findings-list li span { flex: 1; }
 
/* ── Recommendation ───────────────────────────────────────────── */
.ab-recommendation {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--green-bdr);
  background: var(--green-dim);
}
 
.ab-recommendation > i {
  color: var(--green);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}
 
.ab-recommendation-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
}
 
.ab-recommendation-text {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.6;
}
 
/* ── Primary result table ─────────────────────────────────────── */
.ab-table-wrap {
  overflow-x: auto;
  padding: 12px 0 4px;
}
 
.ab-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
 
.ab-table thead tr {
  border-bottom: 1px solid var(--border-default);
}
 
.ab-table th {
  padding: 8px 12px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  white-space: nowrap;
  font-weight: 400;
}
 
.ab-table td {
  padding: 8px 12px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}
 
.ab-table tbody tr:last-child td { border-bottom: none; }
 
.ab-table tbody tr:hover td {
  background: var(--bg-hover);
}
 
/* Zebra striping */
.ab-table tbody tr:nth-child(even) td {
  background: var(--bg-hover);
}
.ab-table tbody tr:nth-child(even):hover td {
  background: var(--bg-active);
}
 
/* Numeric cells right-aligned */
.ab-table td:not(:first-child) {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 12px;
}
.ab-table th:not(:first-child) {
  text-align: right;
}

.landing {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-center {
  text-align: center;
}

.logo-main {
  font-size: 42px;
  font-weight: 600;
}

.logo-sub {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.landing-title {
  margin-top: 16px;
  font-size: 18px;
  color: var(--text-secondary);
}

.landing-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-primary {
  background: var(--accent);
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
}

.btn-secondary {
  border: 1px solid var(--border-default);
  padding: 10px 18px;
  border-radius: 8px;
}