/* ==== AskScope — app styles ==== */
/* Answer card, sources card with numbered citations, follow-up field,
   history list items, disclaimer chip, RTL adjustments. */

:root {
  --accent: #0d9488;
  --accent-contrast: #ffffff;
}

/* ---- Disclaimer chip ---- */
.disclaimer-chip {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-3); border-radius: var(--radius-s);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  color: var(--accent); font-size: 12px; font-weight: 600;
}

/* ---- Answer bullets ---- */
.answer-body ul { margin: var(--space-2) 0 0 var(--space-4); padding: 0; }
.answer-body li { margin: 0 0 var(--space-2); color: var(--text-2); line-height: 1.5; }
.answer-body p { color: var(--text-2); margin: 0 0 var(--space-2); line-height: 1.5; }
.answer-body strong { color: var(--text); }

/* ---- Sources list ---- */
.source-item {
  display: flex; gap: var(--space-3); padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border); font-size: 14px;
}
.source-item:last-child { border-bottom: 0; }
.source-num {
  flex: 0 0 auto; width: 20px; font-weight: 700; color: var(--accent);
  font-size: 13px;
}
.source-text { color: var(--text-2); line-height: 1.4; }

/* ---- History items ---- */
.history-item {
  display: flex; gap: var(--space-3); padding: var(--space-3) var(--space-4);
  min-height: 44px; border-bottom: 1px solid var(--border); background: var(--surface); cursor: pointer;
}
.history-item:last-child { border-bottom: 0; }
.history-q { flex: 1; font-size: 14px; color: var(--text); }
.history-a { flex: 0 0 auto; font-size: 13px; color: var(--muted); }

/* ---- Copy buttons ---- */
.btn-ghost { width: auto; }

/* ---- RTL ---- */
[dir="rtl"] .source-text { text-align: right; }
[dir="rtl"] .history-q { text-align: right; }
