.antx-comment-card {
  position: absolute;
  z-index: 2147483646;
  width: min(370px, calc(100vw - 24px));
  max-width: 370px;
  padding: 12px 14px 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18), 0 4px 16px rgba(15, 23, 42, 0.08);
}

.antx-comment-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.antx-comment-author {
  min-width: 0;
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
}

.antx-comment-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(99, 102, 241, 0.35);
}

.antx-comment-author-meta {
  min-width: 0;
  flex: 1;
}

.antx-comment-author-name {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.antx-comment-author-date {
  margin: 2px 0 0;
  font-size: 11px;
  color: #475569;
  line-height: 1.3;
}

.antx-popup-priority-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 8px !important;
}

.antx-popup-priority-label {
  display: inline-block !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #64748b !important;
  line-height: 1 !important;
}

.antx-priority-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  border: 1px solid;
  flex-shrink: 0;
}

.antx-priority-badge.is-urgent {
  background: #fee2e2 !important;
  color: #991b1b !important;
  border-color: #fecaca !important;
}

.antx-priority-badge.is-high {
  background: #fef3c7 !important;
  color: #92400e !important;
  border-color: #fde68a !important;
}

.antx-priority-badge.is-normal {
  background: #dbeafe !important;
  color: #1e3a8a !important;
  border-color: #bfdbfe !important;
}

.antx-priority-badge.is-low {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border-color: #cbd5e1 !important;
}

.antx-priority-badge-icon {
  display: inline-block !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
}

.antx-priority-badge.is-urgent .antx-priority-badge-icon {
  background: #ef4444 !important;
}

.antx-priority-badge.is-high .antx-priority-badge-icon {
  background: #f59e0b !important;
}

.antx-priority-badge.is-normal .antx-priority-badge-icon {
  background: #3b82f6 !important;
}

.antx-priority-badge.is-low .antx-priority-badge-icon {
  background: #94a3b8 !important;
}

.antx-comment-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding-top: 1px;
}

.antx-comment-close {
  border: 0 !important;
  background: #f1f5f9 !important;
  color: #64748b !important;
  padding: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.15s ease, color 0.15s ease;
}

.antx-comment-close:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

.antx-comment-resolve {
  border: 0 !important;
  background: #16a34a !important;
  color: #fff !important;
  padding: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.35);
}

.antx-comment-resolve:hover {
  background: #15803d !important;
  box-shadow: 0 3px 10px rgba(22, 163, 74, 0.45);
}

.antx-comment-edit {
  border: 0 !important;
  background: #6366f1 !important;
  color: #fff !important;
  padding: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 6px rgba(99, 102, 241, 0.35);
}

.antx-comment-edit:hover {
  background: #4f46e5 !important;
  box-shadow: 0 3px 10px rgba(99, 102, 241, 0.45);
}

.antx-comment-resolve.is-unresolve {
  background: #ef4444 !important;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
}

.antx-comment-resolve.is-unresolve:hover {
  background: #dc2626 !important;
  box-shadow: 0 3px 10px rgba(239, 68, 68, 0.45);
}

.antx-comment-delete {
  border: 0 !important;
  background: #ef4444 !important;
  color: #fff !important;
  padding: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
}

.antx-comment-delete:hover {
  background: #dc2626 !important;
  box-shadow: 0 3px 10px rgba(239, 68, 68, 0.45);
}

.antx-comment-resolve[disabled] {
  opacity: 0.6;
  cursor: default !important;
  box-shadow: none !important;
}

.antx-comment-meta {
  margin: 0;
  font-size: 12px;
  color: #475569;
  min-width: 0;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.antx-comment-body {
  margin: 0 0 8px;
  padding: 8px 12px;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  background: #f8fafc;
  font-size: 13px;
  color: #0f172a;
  max-height: 200px;
  overflow: auto;
  line-height: 1.5;
}

.antx-comment-body p {
  margin: 0 0 6px;
}

.antx-comment-body p:last-child {
  margin-bottom: 0;
}

.antx-comment-body ul,
.antx-comment-body ol {
  margin: 0 0 6px 18px;
  padding: 0;
}

.antx-comment-body li {
  margin: 0 0 4px;
}

.antx-comment-body code {
  background: #ffe4e6;
  border-radius: 4px;
  padding: 1px 4px;
  font-size: 12px;
}

.antx-comment-body a {
  color: #2563eb;
  text-decoration: underline;
}

.antx-comment-assign-row {
  margin: 0 0 8px;
}

.antx-comment-assign-label {
  display: block;
  margin: 0 0 4px;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.antx-comment-assign-select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 12px;
  color: #0f172a;
  background: #f8fafc;
}

.antx-comment-edit-wrap {
  margin: 0 0 10px;
}

.antx-comment-edit-input {
  width: 100%;
  min-height: 96px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
  resize: vertical;
  background: #f8fafc;
  color: #0f172a;
}

.antx-comment-edit-actions {
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.antx-comment-edit-save {
  background: #2563eb;
  color: #fff;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 10px;
}

.antx-comment-edit-cancel {
  background: #e2e8f0;
  color: #0f172a;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 10px;
}

.antx-mention {
  display: inline-block;
  background: #e0e7ff;
  color: #ef4444;
  border: 1px solid #fecaca;
  border-radius: 999px;
  padding: 0 6px;
  font-weight: 600;
  line-height: 1.35;
}

.antx-comment-actions {
  margin-top: 10px;
}

.antx-comment-close-inline {
  border: 0 !important;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 12px;
  background: #0f172a !important;
  color: #fff !important;
  cursor: pointer !important;
  display: inline-block !important;
}

.antx-comment-screenshot-wrap {
  position: relative;
  display: block;
  margin-bottom: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 6px;
  background: #f8fafc;
}

.antx-comment-screenshot {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  cursor: zoom-in;
}

.antx-section-title {
  margin: 0 0 6px;
  padding-top: 4px;
  border-top: 1px solid #e2e8f0;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
}

.antx-comment-shot-overlay {
  position: absolute !important;
  right: 8px !important;
  bottom: 8px !important;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 0 !important;
  width: 34px !important;
  height: 34px !important;
  color: #fff !important;
  background: rgba(17, 24, 39, 0.74) !important;
  backdrop-filter: blur(2px);
  cursor: zoom-in !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.antx-comment-shot-overlay:hover {
  background: rgba(17, 24, 39, 0.88);
}

