.comment-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  border: 0;
  border-radius: 999px;
  background: var(--cs-accent, #2563eb);
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 0.95rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.18);
}

.comment-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1300;
}

.comment-modal {
  width: min(800px, 94vw);
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
}

.comment-modal textarea {
  width: 100%;
  min-height: 120px;
  margin-top: 0.5rem;
}

.discussion-card {
  border: 1px solid #d1d5db;
  border-left: 4px solid var(--cs-accent, #2563eb);
  border-radius: 8px;
  padding: 0.85rem;
  margin-bottom: 0.85rem;
}

.discussion-meta {
  color: #475569;
  font-size: 0.85rem;
}

.badge-open,
.badge-closed {
  display: inline-block;
  border-radius: 999px;
  padding: 0.12rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.badge-open {
  background: #dcfce7;
  color: #166534;
}
.badge-closed {
  background: #e2e8f0;
  color: #334155;
}
