/* SOCIAL → Comments workspace */
.social-comments-table {
  --bs-table-hover-bg: #f4f8ff;
}
.social-comments-table tbody tr {
  vertical-align: top;
}
.social-comments-platform i {
  font-size: 1.05rem;
  width: 1.15rem;
  text-align: center;
}
.social-comments-account {
  font-size: 0.75rem;
  color: #6c757d;
  line-height: 1.2;
  max-width: 9rem;
  overflow-wrap: anywhere;
}
.social-comments-channel {
  max-width: 8.5rem;
  overflow-wrap: anywhere;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.25;
}
.social-comments-channel.is-missing {
  color: #6c757d;
  font-weight: 400;
  font-style: italic;
}
.social-comments-author {
  min-width: 8rem;
  max-width: 12rem;
}
.social-comments-author-name {
  font-weight: 600;
  line-height: 1.25;
}
.social-comments-author-name.is-unknown {
  color: #6c757d;
  font-weight: 500;
}
.social-comments-handle {
  font-size: 0.75rem;
  color: #6c757d;
}
.social-comments-time {
  font-size: 0.75rem;
  color: #868e96;
  white-space: nowrap;
}
.social-comments-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: #e9ecef;
  flex: 0 0 28px;
}
.social-comments-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.social-comments-body.is-collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
}
.social-comments-parent {
  font-size: 0.8rem;
  color: #6c757d;
  border-left: 2px solid #dee2e6;
  padding-left: 0.5rem;
  margin-top: 0.35rem;
}
.social-comments-parent-full {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.social-comments-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 0.35rem;
  background: #f1f3f5;
  flex: 0 0 40px;
}
.social-comments-thumb-missing {
  width: 40px;
  height: 40px;
  border-radius: 0.35rem;
  background: #f1f3f5;
  color: #adb5bd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  font-size: 0.85rem;
}
.social-comments-pub-title {
  max-width: 16rem;
  overflow-wrap: anywhere;
}
.social-comments-pill {
  font-weight: 500;
  font-size: 0.7rem;
}
.social-comments-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: #6c757d;
}
.social-comments-workspace.is-loading .social-comments-table {
  opacity: 0.62;
  pointer-events: none;
}
.social-comments-loading {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #6c757d;
}
.social-comments-workspace.is-loading .social-comments-loading {
  display: inline-flex;
}
.social-comments-summary {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 0.375rem;
  padding: 0.55rem 0.75rem;
}
.social-comments-summary[open] {
  background: #fff;
}
.social-comments-summary > summary {
  cursor: pointer;
  list-style: none;
}
.social-comments-summary > summary::-webkit-details-marker {
  display: none;
}
.social-comments-provider {
  font-size: 0.8rem;
  border-top: 1px solid #f1f3f5;
  padding: 0.45rem 0 0.15rem;
}
.social-comments-provider:first-child {
  border-top: 0;
  padding-top: 0;
}
.social-comments-tone-ok { color: #198754; }
.social-comments-tone-warn { color: #b58100; }
.social-comments-tone-danger { color: #dc3545; }
.social-comments-tone-muted { color: #6c757d; }
.social-comments-toast {
  z-index: 1090;
}
#socialCommentReplyModal .modal-body textarea {
  min-height: 6.5rem;
}
#socialCommentReplyModal blockquote {
  max-height: 6rem;
  overflow: auto;
  white-space: pre-wrap;
}
@media (max-width: 767.98px) {
  .social-comments-pub-title {
    max-width: 10rem;
  }
  .social-comments-author {
    min-width: 6.5rem;
  }
  .social-comments-channel {
    max-width: 6.5rem;
    font-size: 0.78rem;
  }
}
