/* ========================================================
   Let's Talk Admin Dashboard — Responsive CSS
   ======================================================== */

:root {
  --bg: #0d0f14;
  --surface: #161921;
  --surface2: #1e2130;
  --border: #2a2d3e;
  --text: #e8eaf0;
  --text-muted: #7b8099;
  --text-dim: #4a4f6a;
  --accent: #6c63ff;
  --accent-light: #8b84ff;
  --accent-bg: rgba(108,99,255,0.12);
  --green: #22c55e;
  --green-bg: rgba(34,197,94,0.12);
  --red: #ef4444;
  --red-bg: rgba(239,68,68,0.12);
  --orange: #f97316;
  --orange-bg: rgba(249,115,22,0.12);
  --yellow: #eab308;
  --yellow-bg: rgba(234,179,8,0.12);
  --blue: #3b82f6;
  --blue-bg: rgba(59,130,246,0.12);
  --sidebar-w: 240px;
  --header-h: 60px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --transition: 0.2s ease;
  --font: 'Inter', -apple-system, sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}

/* ── Typography ─────────────────────────── */
h1 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 700; }
h2 { font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 600; }
h3 { font-size: 1rem; font-weight: 600; }
p  { color: var(--text-muted); font-size: 0.875rem; }

/* ── ╔════════════════════════════╗ ────── */
/* ── ║  LOGIN PAGE               ║ ────── */
/* ── ╚════════════════════════════╝ ────── */

.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: radial-gradient(ellipse at 30% 30%, rgba(108,99,255,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(59,130,246,0.08) 0%, transparent 50%),
              var(--bg);
}

.login-container { width: 100%; max-width: 420px; padding: 20px; }

.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(108,99,255,0.1);
}

.login-logo { text-align: center; margin-bottom: 32px; }
.logo-icon { font-size: 2.5rem; margin-bottom: 12px; }
.login-logo h1 { font-size: 1.5rem; background: linear-gradient(135deg, var(--accent), var(--accent-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.login-subtitle { color: var(--text-muted); font-size: 0.8rem; margin-top: 4px; }

.login-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon {
  position: absolute;
  left: 12px;
  font-size: 1rem;
  pointer-events: none;
  z-index: 1;
}
.input-wrapper input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  font-family: var(--font);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.input-wrapper input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-bg);
}
.show-pw-btn {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  opacity: 0.6;
  transition: opacity var(--transition);
}
.show-pw-btn:hover { opacity: 1; }

.error-banner {
  background: var(--red-bg);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: #fca5a5;
  font-size: 0.85rem;
}

.login-footer {
  margin-top: 24px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.75rem;
  line-height: 1.6;
}
.login-footer code {
  background: var(--surface2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  color: var(--accent-light);
}

/* ── ╔════════════════════════════╗ ────── */
/* ── ║  BUTTONS                  ║ ────── */
/* ── ╚════════════════════════════╝ ────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-primary   { background: var(--accent); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--accent-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(108,99,255,0.4); }
.btn-danger    { background: var(--red-bg); color: var(--red); border: 1px solid rgba(239,68,68,0.25); }
.btn-danger:hover:not(:disabled)  { background: var(--red); color: #fff; }
.btn-success   { background: var(--green-bg); color: var(--green); border: 1px solid rgba(34,197,94,0.25); }
.btn-success:hover:not(:disabled) { background: var(--green); color: #fff; }
.btn-warning   { background: var(--orange-bg); color: var(--orange); border: 1px solid rgba(249,115,22,0.25); }
.btn-warning:hover:not(:disabled) { background: var(--orange); color: #fff; }
.btn-ghost     { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.btn-ghost:hover:not(:disabled)   { background: var(--surface2); color: var(--text); }
.btn-sm        { padding: 6px 12px; font-size: 0.8rem; }
.btn-full      { width: 100%; }

/* ── ╔════════════════════════════╗ ────── */
/* ── ║  LAYOUT — DASHBOARD       ║ ────── */
/* ── ╚════════════════════════════╝ ────── */

.dashboard-layout {
  display: grid;
  grid-template-areas:
    "sidebar header"
    "sidebar main";
  grid-template-columns: var(--sidebar-w) 1fr;
  grid-template-rows: var(--header-h) 1fr;
  min-height: 100vh;
}

/* ── Sidebar ────────────────────────────── */
.sidebar {
  grid-area: sidebar;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
  transition: transform var(--transition);
}

.sidebar-brand {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
}
.sidebar-brand h2 {
  font-size: 1.05rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sidebar-brand p { font-size: 0.72rem; margin-top: 2px; }

.sidebar-nav { padding: 16px 12px; flex: 1; }
.nav-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  padding: 12px 8px 6px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: 2px;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  text-decoration: none;
}
.nav-item:hover { background: var(--surface2); color: var(--text); }
.nav-item.active { background: var(--accent-bg); color: var(--accent-light); }
.nav-item .nav-icon { font-size: 1rem; width: 20px; text-align: center; }
.nav-badge {
  margin-left: auto;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 0.7rem;
  font-weight: 700;
}

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
}
.staff-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--surface2);
  border-radius: var(--radius-sm);
}
.staff-avatar {
  width: 32px; height: 32px;
  background: var(--accent-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: var(--accent-light);
  flex-shrink: 0;
}
.staff-info { flex: 1; min-width: 0; }
.staff-name { font-size: 0.8rem; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.staff-role { font-size: 0.7rem; color: var(--text-muted); }

/* ── Header ────────────────────────────── */
.dashboard-header {
  grid-area: header;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 90;
}

.header-left { display: flex; align-items: center; gap: 12px; }
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text-muted);
  font-size: 1.2rem;
}
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); }
.breadcrumb span { color: var(--text); font-weight: 600; }

.header-right { display: flex; align-items: center; gap: 12px; }
.status-dot {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: var(--text-muted);
}
.status-dot::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

/* ── Main Content ────────────────────────── */
.dashboard-main {
  grid-area: main;
  padding: 24px;
  overflow: auto;
}

/* ── Pages ────────────────────────────── */
.page { display: none; }
.page.active { display: block; }

/* ── Stats Grid ────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color var(--transition), transform var(--transition);
}
.stat-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.stat-value { font-size: 2rem; font-weight: 700; line-height: 1; }
.stat-icon { font-size: 1.4rem; }
.stat-card.danger  .stat-value { color: var(--red); }
.stat-card.success .stat-value { color: var(--green); }
.stat-card.warning .stat-value { color: var(--orange); }
.stat-card.accent  .stat-value { color: var(--accent-light); }

/* ── Card / Panel ────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}
.card-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.card-header h2 { font-size: 1rem; margin: 0; }
.card-body { padding: 20px; }

/* ── Filters Bar ────────────────────────── */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 20px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.filter-input {
  flex: 1;
  min-width: 180px;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.875rem;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--transition);
}
.filter-input:focus { border-color: var(--accent); }
.filter-select {
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.875rem;
  font-family: var(--font);
  cursor: pointer;
  outline: none;
}
.filter-select option { background: var(--surface2); }

/* ── Table ────────────────────────────── */
.table-wrapper { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 600px;
}
thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
tbody tr:hover { background: var(--surface2); }
tbody tr:last-child td { border-bottom: none; }
.td-mono { font-family: 'Courier New', monospace; font-size: 0.82rem; color: var(--accent-light); }

/* ── Pagination ────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 10px;
}
.pagination-info { font-size: 0.8rem; color: var(--text-muted); }
.pagination-btns { display: flex; gap: 6px; }

/* ── Badges ────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.badge-open     { background: var(--blue-bg);   color: var(--blue); }
.badge-progress { background: var(--yellow-bg);  color: var(--yellow); }
.badge-resolved { background: var(--green-bg);  color: var(--green); }
.badge-critical { background: var(--red-bg);    color: var(--red); }
.badge-normal   { background: var(--surface2);  color: var(--text-muted); }
.badge-banned   { background: var(--red-bg);    color: var(--red); }
.badge-active   { background: var(--green-bg);  color: var(--green); }
.badge-admin    { background: var(--accent-bg); color: var(--accent-light); }
.badge-officer  { background: var(--orange-bg); color: var(--orange); }

/* Trust Score bar */
.trust-bar-wrap { min-width: 80px; }
.trust-bar {
  height: 6px;
  background: var(--surface2);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 4px;
}
.trust-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* ── Modal ────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  animation: slideUp 0.25s ease;
}
.modal-lg { max-width: 840px; }
.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h2 { font-size: 1.05rem; }
.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color var(--transition);
}
.modal-close:hover { color: var(--text); }
.modal-body { padding: 24px; overflow-y: auto; flex: 1; }
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Resolve wizard steps */
.step-indicator {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
.step {
  flex: 1;
  padding: 10px 6px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  background: var(--surface2);
  border-right: 1px solid var(--border);
  transition: all var(--transition);
}
.step:last-child { border-right: none; }
.step.active { background: var(--accent-bg); color: var(--accent-light); }
.step.done   { background: var(--green-bg);  color: var(--green); }

.resolve-section { display: none; }
.resolve-section.active { display: block; }

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
@media (max-width: 500px) { .info-grid { grid-template-columns: 1fr; } }

.info-item { display: flex; flex-direction: column; gap: 2px; }
.info-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.info-value { font-size: 0.9rem; font-weight: 500; }

/* Tabs */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.tab {
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--accent-light); border-bottom-color: var(--accent); }

.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ── Forms (modal forms) ────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 10px 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--transition);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 80px; }
.form-field.full { grid-column: 1 / -1; }
.field-hint { font-size: 0.72rem; color: var(--text-dim); }

/* Resolution action cards */
.action-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
@media (max-width: 480px) { .action-cards { grid-template-columns: 1fr; } }
.action-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  cursor: pointer;
  transition: all var(--transition);
}
.action-card:hover { border-color: var(--accent); }
.action-card.selected { border-color: var(--accent); background: var(--accent-bg); }
.action-card-icon { font-size: 1.5rem; margin-bottom: 6px; }
.action-card-title { font-size: 0.875rem; font-weight: 600; }
.action-card-desc  { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.action-card.no-action    .action-card-title { color: var(--text-muted); }
.action-card.warn-action  .action-card-title { color: var(--yellow); }
.action-card.restrict-action .action-card-title { color: var(--orange); }
.action-card.ban-action   .action-card-title { color: var(--red); }

/* ── Toast ────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 500;
}
.toast {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  animation: slideInRight 0.3s ease;
  max-width: 300px;
}
.toast.success { border-left: 3px solid var(--green); }
.toast.error   { border-left: 3px solid var(--red); }
.toast.info    { border-left: 3px solid var(--accent); }

/* ── Empty state ────────────────────────── */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}
.empty-state .empty-icon { font-size: 2.5rem; margin-bottom: 12px; }
.empty-state h3 { color: var(--text-muted); margin-bottom: 6px; }
.empty-state p { font-size: 0.85rem; }

/* ── Loading spinner ────────────────────── */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
.spinner-lg {
  width: 36px;
  height: 36px;
  border-width: 3px;
  border-color: var(--border);
  border-top-color: var(--accent);
}
.loading-center {
  display: flex;
  justify-content: center;
  padding: 40px;
}

/* ── Sidebar mobile overlay ────────────── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 90;
}

/* ── Animations ────────────────────────── */
@keyframes spin        { to { transform: rotate(360deg); } }
@keyframes pulse       { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes slideUp     { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes slideInRight { from { transform: translateX(20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 900px)
   ══════════════════════════════════════════ */
@media (max-width: 900px) {
  :root { --sidebar-w: 220px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 700px)
   ══════════════════════════════════════════ */
@media (max-width: 700px) {
  .dashboard-layout {
    grid-template-areas:
      "header header"
      "main   main";
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    left: 0; top: 0; bottom: 0;
    width: 260px;
    transform: translateX(-100%);
    z-index: 200;
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay { display: none; }
  .sidebar-overlay.open { display: block; }

  .hamburger { display: flex; }
  .dashboard-main { padding: 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  table { min-width: 520px; }
  .filters-bar { padding: 10px 16px; }
  .modal-lg { max-width: 100%; margin: 0; border-radius: 16px 16px 0 0; position: fixed; bottom: 0; max-height: 95vh; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr; }
  .login-card { padding: 28px 20px; }
}

/* ── Evidence Chat Bubbles ─────────────────── */
.chat-transcript {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  max-height: 400px;
  overflow-y: auto;
  margin-top: 10px;
}
.chat-row { display: flex; flex-direction: column; max-width: 80%; }
.chat-row.complainant { align-self: flex-start; }
.chat-row.reported { align-self: flex-end; }
.chat-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.4;
  word-wrap: break-word;
}
.chat-row.complainant .chat-bubble {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--text);
}
.chat-row.reported .chat-bubble {
  background: var(--red-bg);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-bottom-right-radius: 4px;
  color: #fca5a5;
}
.chat-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
}
.chat-row.reported .chat-meta {
  flex-direction: row-reverse;
}
.evidence-empty {
  text-align: center;
  padding: 30px;
  background: var(--surface2);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
}
.call-log-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.call-log-card.short { border-left: 3px solid var(--orange); }
.call-log-card.normal { border-left: 3px solid var(--green); }
