html, body { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
  border: 1px solid transparent;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #3b82f6; }
.btn-secondary { background: #27272a; color: #e4e4e7; border-color: #3f3f46; }
.btn-secondary:hover { background: #3f3f46; }
.btn-danger { background: #7f1d1d; color: #fee2e2; }
.btn-danger:hover { background: #991b1b; }
.btn-ghost { background: transparent; color: #d4d4d8; }
.btn-ghost:hover { background: #27272a; }

/* --- Inputs --- */
.input, .textarea, select {
  background: #0e1116;
  border: 1px solid #1c2128;
  color: #e5e7eb;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  width: 100%;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.input:focus, .textarea:focus, select:focus {
  outline: none;
  border-color: #3b82f6;
}
.textarea { min-height: 80px; resize: vertical; }

/* --- Badges --- */
.badge {
  display: inline-flex; align-items: center;
  padding: 2px 6px; border-radius: 3px;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em;
  font-weight: 500;
}
.badge-hot_lead, .badge-hot { background: #7f1d1d; color: #fecaca; }
.badge-warm { background: #78350f; color: #fed7aa; }
.badge-cold { background: #1e3a8a; color: #bfdbfe; }
.badge-irrelevant { background: #374151; color: #d1d5db; }

.badge-safe { background: #14532d; color: #bbf7d0; }
.badge-toxic { background: #7f1d1d; color: #fecaca; }
.badge-political { background: #581c87; color: #e9d5ff; }
.badge-controversial { background: #713f12; color: #fde68a; }
.badge-requires_review { background: #78350f; color: #fed7aa; }

.badge-new { background: #1e293b; color: #cbd5e1; }
.badge-in_review { background: #713f12; color: #fde68a; }
.badge-drafted { background: #14532d; color: #bbf7d0; }
.badge-used { background: #1e3a8a; color: #bfdbfe; }
.badge-skipped { background: #374151; color: #d1d5db; }
.badge-archived { background: #1f2937; color: #9ca3af; }

/* --- Tabs (top nav) --- */
.tab {
  display: inline-block;
  padding: 10px 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a1a1aa;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.tab:hover { color: #f4f4f5; }
.tab.active { color: #f4f4f5; border-bottom-color: #3b82f6; }

/* --- Filter chips --- */
.chip {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: 12px;
  font-size: 11px; cursor: pointer;
  background: #1c2128; color: #9ca3af;
  border: 1px solid #1c2128;
  margin-right: 4px;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.chip:hover { color: #e5e7eb; }
.chip.active { background: #1e3a8a; color: #bfdbfe; border-color: #2563eb; }

/* --- Post list rows --- */
.list-row {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #1c2128;
  transition: background-color 0.1s;
}
.list-row:hover { background: rgba(24, 24, 27, 0.5); }
.list-row.selected {
  background: rgba(23, 37, 84, 0.4);
  border-left: 2px solid #3b82f6;
}

.copy-flash { animation: flash 0.6s ease-out; }
@keyframes flash {
  0% { background-color: #166534; }
  100% { background-color: transparent; }
}
