.container.narrow { max-width: 480px; }
.err { color: #b91c1c; font-weight: 600; }
.muted { color: #6b7280; }
.kv { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.kv li { font-size: .9rem; }
.stats { display: grid; grid-template-columns: max-content 1fr; gap: .25rem 1rem; margin: 0; }
.stats dt { color: #6b7280; font-size: .85rem; }
.stats dd { margin: 0; font-weight: 600; }
.thumb { max-width: 360px; border-radius: 6px; border: 1px solid #e5e7eb; }
.chip {
  display: inline-block;
  padding: .15rem .55rem;
  margin: .15rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #1e3a8a;
  font-size: .85rem;
}
ul.chips { list-style: none; padding: 0; margin: 0; }
.btn {
  display: inline-block;
  padding: .4rem .9rem;
  background: #2563eb;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}
.link-btn {
  background: none;
  border: 0;
  color: #2563eb;
  cursor: pointer;
  padding: 0;
  font: inherit;
}
.inline { display: inline; }
.ingestors { list-style: none; padding: 0; }
.ingestors li { padding: .5rem 0; border-bottom: 1px solid #e5e7eb; }
.ingestors li:last-child { border-bottom: 0; }
.grid { width: 100%; border-collapse: collapse; font-size: .9rem; }
.grid th, .grid td { text-align: left; padding: .4rem .6rem; border-bottom: 1px solid #e5e7eb; }
.grid th { background: #f3f4f6; }
.transcript { background: #f9fafb; padding: .75rem; border-radius: 6px; max-height: 320px; overflow: auto; white-space: pre-wrap; }
.back { display: inline-block; margin-bottom: .75rem; color: #2563eb; text-decoration: none; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.user-email { font-size: .85rem; color: #6b7280; margin-left: 1rem; }
.hero h1 { font-size: 2rem; margin-top: 0; }
.hero p { font-size: 1.05rem; line-height: 1.5; }
.btn.secondary { background: #e5e7eb; color: #1f2937; }
.btn.secondary:hover { filter: brightness(.95); }
.site-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.site-card {
  display: block;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  background: #fff;
}
.site-card:hover { border-color: #2563eb; }
.danger { border-color: #fca5a5; }
.danger-btn {
  background: #b91c1c;
  color: #fff;
  border: 0;
  padding: .4rem .9rem;
  border-radius: 6px;
  cursor: pointer;
}
.thread-list { list-style: none; padding: 0; margin: 0; }
.thread-list li { padding: .75rem 0; border-bottom: 1px solid #e5e7eb; }
.thread-list li:last-child { border-bottom: 0; }
.thread-link { color: #2563eb; text-decoration: none; }
.reply-list { list-style: none; padding: 0; margin: 0; }
.reply { padding: .75rem 0; border-bottom: 1px solid #e5e7eb; }
.reply:last-child { border-bottom: 0; }
.empty { color: #6b7280; font-style: italic; }
.body { white-space: pre-wrap; }
.status-row { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid #e5e7eb; }
.status-ok { color: #059669; font-weight: 600; }
.status-err { color: #b91c1c; font-weight: 600; }
.alert { background: #eef2ff; border: 1px solid #c6bfff; border-radius: 6px; padding: .75rem; margin-bottom: .75rem; }
.search-results { list-style: none; padding: 0; }
.search-hit { padding: .75rem 0; border-bottom: 1px solid #e5e7eb; }
.search-form { display: inline-flex; align-items: center; margin-left: .5rem; }
.search-input { padding: .25rem .5rem; border: 1px solid #e5e7eb; border-radius: 4px; font-size: .85rem; }