.eng-page {
  min-height: 100vh;
  padding: 1.5rem 1.75rem 3rem;
  background: var(--bg-secondary, #f1f5f9);
  color: var(--text-primary, #0f172a);
}

.eng-header {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.eng-header h1 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.eng-header p {
  margin: 0.35rem 0 0;
  color: var(--text-secondary, #64748b);
  max-width: 52rem;
  line-height: 1.45;
  font-size: 0.95rem;
}

.eng-back {
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #0f172a !important;
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  font-weight: 600;
  flex-shrink: 0;
}

.eng-back:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
}

.eng-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  background: var(--bg-primary, #fff);
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 14px;
  margin-bottom: 1rem;
}

.eng-toolbar__fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: flex-end;
  flex: 1;
  min-width: 0;
}

.eng-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

.eng-controls,
.eng-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: flex-end;
  padding: 1rem;
  background: var(--bg-primary, #fff);
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 14px;
  margin-bottom: 1rem;
}

.eng-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 140px;
}

.eng-field label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary, #64748b);
}

.eng-field select,
.eng-field input {
  border: 1px solid var(--border, #cbd5e1);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  background: var(--bg-primary, #fff);
  color: inherit;
  font-size: 0.9rem;
}

.eng-run {
  margin-left: 0;
  border: none;
  border-radius: 10px;
  padding: 0.65rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25);
}

.eng-run--secondary {
  margin-left: 0;
  color: #1e3a8a;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  box-shadow: none;
}

.eng-run--secondary:hover {
  background: #dbeafe;
}

.eng-run:disabled {
  opacity: 0.65;
  cursor: wait;
}

.eng-history {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: #475569;
}

.eng-history summary {
  cursor: pointer;
  font-weight: 600;
}

.eng-history ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
}

.eng-history li {
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.eng-evidence-preview {
  margin-top: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  font-size: 0.8rem;
  color: #9a3412;
}

.eng-evidence-preview strong {
  display: block;
  margin-bottom: 0.35rem;
}

.eng-evidence-preview blockquote {
  margin: 0.25rem 0 0;
  padding: 0;
  border: 0;
  font-style: italic;
  line-height: 1.35;
}

.eng-conv-overlay {
  z-index: 2147483000;
}

.eng-conv-content {
  max-width: 920px;
}

.eng-conv-header-text h2 {
  margin: 0;
}

.eng-conv-header-text p {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: #64748b;
}

.eng-conv-ai-bar {
  flex-shrink: 0;
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.eng-conv-ai-summary {
  width: 100%;
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: #1e293b;
}

.eng-conv-evidence {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  font-size: 0.82rem;
  color: #9a3412;
}

.eng-conv-evidence ul {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}

.eng-conv-evidence li {
  margin-bottom: 0.25rem;
  line-height: 1.35;
}

.eng-msg-id {
  display: inline-block;
  margin-right: 0.25rem;
  font-weight: 700;
  color: #c2410c;
}

.eng-conv-body {
  background: #efeae2;
}

.eng-chat-view {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #efeae2;
}

.eng-chat-view .chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.1rem 1.25rem;
}

.eng-message-highlight .message-content {
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.85);
}

.eng-message-highlight--payment .message-content {
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.95);
}

.eng-message-highlight.message-received .message-content {
  background: #fff7ed;
}

.eng-highlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.35rem;
}

.eng-highlight-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: #fed7aa;
  color: #9a3412;
}

.eng-highlight-tag--payment {
  background: #f97316;
  color: #fff;
}

.eng-highlight-tag--satisfaction {
  background: #86efac;
  color: #14532d;
}

.eng-highlight-tag--engagement {
  background: #c4b5fd;
  color: #4c1d95;
}

.message-sent .eng-highlight-tag--payment {
  background: #fff;
  color: #c2410c;
}

.eng-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary, #64748b);
}

.eng-banner {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  background: #e0f2fe;
  color: #0c4a6e;
  border: 1px solid #7dd3fc;
}

.eng-banner--warn {
  background: #fff7ed;
  color: #9a3412;
  border-color: #fdba74;
}

.eng-banner--error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

.eng-loading,
.eng-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-secondary, #64748b);
}

.eng-spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto 1rem;
  border: 3px solid #e2e8f0;
  border-top-color: #6366f1;
  border-radius: 50%;
  animation: eng-spin 0.8s linear infinite;
}

@keyframes eng-spin {
  to {
    transform: rotate(360deg);
  }
}

.eng-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.eng-attention {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid #fdba74;
  background: linear-gradient(180deg, #fff7ed 0%, #fff 55%);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.08);
}

.eng-attention__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.eng-attention__header h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #9a3412;
}

.eng-attention__header span {
  font-size: 0.85rem;
  font-weight: 700;
  color: #c2410c;
}

.eng-attention__intro {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: #9a3412;
  line-height: 1.4;
}

.eng-card--attention {
  border-color: #fb923c;
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.2), 0 6px 16px rgba(249, 115, 22, 0.12);
  background: #fffbeb;
}

.eng-attention-reasons {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.eng-attention-reason {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #fdba74;
  background: #fff7ed;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #7c2d12;
}

.eng-attention-reason strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #c2410c;
}

.eng-attention-reason--insatisfeito {
  border-color: #fca5a5;
  background: #fef2f2;
  color: #7f1d1d;
}

.eng-attention-reason--insatisfeito strong {
  color: #b91c1c;
}

.eng-attention-reason--pay-hours {
  border-color: #f97316;
  background: #ffedd5;
}

.eng-attention-reason--pay-days {
  border-color: #fdba74;
  background: #fff7ed;
}

.eng-attention-reason--eng-baixo {
  border-color: #c4b5fd;
  background: #f5f3ff;
  color: #4c1d95;
}

.eng-attention-reason--eng-baixo strong {
  color: #6d28d9;
}

.eng-rest {
  margin-top: 0.25rem;
}

.eng-rest__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.eng-rest__header h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 750;
  color: #334155;
}

.eng-rest__header span {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

.eng-card {
  background: var(--bg-primary, #fff);
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.eng-card__top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: baseline;
}

.eng-card__top h3 {
  margin: 0;
  font-size: 1.05rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.eng-card__etapa {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #e0e7ff;
  color: #3730a3;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eng-card__phone {
  font-size: 0.8rem;
  color: var(--text-secondary, #64748b);
  font-variant-numeric: tabular-nums;
}

.eng-card__meta {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-secondary, #64748b);
}

.eng-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 0.5rem;
}

.eng-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
}

.eng-badge--sat-satisfeito {
  background: #dcfce7;
  color: #166534;
}
.eng-badge--sat-neutro {
  background: #e2e8f0;
  color: #475569;
}
.eng-badge--sat-insatisfeito {
  background: #fee2e2;
  color: #991b1b;
}
.eng-badge--pay-hours {
  background: #fef3c7;
  color: #92400e;
}
.eng-badge--pay-days {
  background: #ffedd5;
  color: #9a3412;
}
.eng-badge--pay-none {
  background: #f8fafc;
  color: #64748b;
}
.eng-badge--eng-alto {
  background: #dbeafe;
  color: #1d4ed8;
}
.eng-badge--eng-medio {
  background: #e0e7ff;
  color: #4338ca;
}
.eng-badge--eng-baixo {
  background: #fae8ff;
  color: #86198f;
}

.eng-card__summary {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-primary, #1e293b);
}

.eng-card__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.eng-open-chat {
  flex: 1;
  border: 1px solid var(--border, #cbd5e1);
  background: var(--bg-secondary, #f8fafc);
  color: #0f172a;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-weight: 650;
  cursor: pointer;
}

.eng-open-chat:hover {
  border-color: #6366f1;
  color: #4338ca;
}

.eng-dismiss-card {
  flex: 1;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-weight: 650;
  cursor: pointer;
}

.eng-dismiss-card:hover {
  border-color: #f87171;
  background: #fee2e2;
}

.eng-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  background: rgba(15, 23, 42, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.eng-confirm {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 14px;
  padding: 1.15rem 1.2rem 1.1rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
}

.eng-confirm h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #0f172a;
}

.eng-confirm p {
  margin: 0.55rem 0 1.1rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #475569;
}

.eng-confirm__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.eng-confirm__cancel,
.eng-confirm__ok {
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  font-weight: 650;
  cursor: pointer;
}

.eng-confirm__cancel {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
}

.eng-confirm__ok {
  border: 1px solid #dc2626;
  background: #dc2626;
  color: #fff;
}

.eng-confirm__ok:hover {
  background: #b91c1c;
}

.eng-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.eng-modal {
  width: min(720px, 100%);
  max-height: min(88vh, 900px);
  background: var(--bg-primary, #fff);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.eng-modal__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border-light, #e2e8f0);
}

.eng-modal__header h2 {
  margin: 0;
  font-size: 1.15rem;
}

.eng-modal__header p {
  margin: 0.3rem 0 0;
  font-size: 0.85rem;
  color: var(--text-secondary, #64748b);
}

.eng-modal__close {
  border: 1px solid var(--border, #cbd5e1);
  background: #fff;
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  font-weight: 600;
  flex-shrink: 0;
}

.eng-modal__ai {
  padding: 0.75rem 1.15rem;
  border-bottom: 1px solid var(--border-light, #e2e8f0);
  background: var(--bg-secondary, #f8fafc);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.eng-modal__ai p {
  width: 100%;
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--text-primary, #1e293b);
}

.eng-modal__thread {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: linear-gradient(to bottom, #f8fafc, #fff);
}

.eng-modal__loading {
  text-align: center;
  color: #64748b;
  padding: 1rem;
}

.eng-bubble {
  max-width: 85%;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.eng-bubble--client {
  align-self: flex-start;
  background: #fff;
}

.eng-bubble--agent {
  align-self: flex-end;
  background: #eef2ff;
  border-color: #c7d2fe;
}

.eng-bubble__meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.72rem;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.eng-bubble__text {
  font-size: 0.92rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 720px) {
  .eng-toolbar__actions {
    width: 100%;
  }
  .eng-run {
    margin-left: 0;
    width: 100%;
  }
  .eng-header {
    flex-direction: column;
  }
}

.eng-section-header,
.eng-attention__header,
.eng-rest__header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 1.25rem 0 0.5rem;
}

.eng-section-header h2,
.eng-attention__header h2,
.eng-attention__header h3,
.eng-rest__header h2,
.eng-rest__header h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.eng-section-intro {
  margin: 0 0 1rem;
  color: #64748b;
  font-size: 0.9rem;
}

.eng-card__silence {
  font-weight: 700;
  color: #b45309;
}

.eng-card--urgent-mid {
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.45);
}

.eng-card--urgent-high {
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.55);
}

.eng-card--awaiting {
  opacity: 0.92;
  background: #f8fafc;
}

.eng-awaiting {
  margin-top: 2rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e2e8f0;
}

.eng-awaiting__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.5rem 0;
  text-align: left;
}

.eng-awaiting__toggle h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.eng-awaiting__toggle span {
  font-weight: 700;
  color: #64748b;
  background: #e2e8f0;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.85rem;
}

.eng-awaiting__toggle em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.85rem;
  color: #6366f1;
  font-weight: 600;
}

.eng-pending {
  margin-top: 0.5rem;
}

/* Incorporado no Radar de clientes (tema escuro PrismaCRM) */
#awaitingPaymentPanelCobranca .eng-page--embedded {
  min-height: auto;
  padding: 0 0 1.5rem;
  background: transparent;
  color: #e8eef2;
}

#awaitingPaymentPanelCobranca .eng-lead {
  margin: 0 0 12px;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.45;
}

#awaitingPaymentPanelCobranca .eng-toolbar,
#awaitingPaymentPanelCobranca .eng-card,
#awaitingPaymentPanelCobranca .eng-confirm {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(148, 163, 184, 0.22);
  color: #e8eef2;
}

#awaitingPaymentPanelCobranca .eng-field label {
  color: #94a3b8;
}

#awaitingPaymentPanelCobranca .eng-field select,
#awaitingPaymentPanelCobranca .eng-field input {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #e8eef2;
}

#awaitingPaymentPanelCobranca .eng-summary span {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #cbd5e1;
}

#awaitingPaymentPanelCobranca .eng-card__summary,
#awaitingPaymentPanelCobranca .eng-card__meta,
#awaitingPaymentPanelCobranca .eng-section-intro,
#awaitingPaymentPanelCobranca .eng-empty {
  color: #94a3b8;
}

#awaitingPaymentPanelCobranca .eng-card h3,
#awaitingPaymentPanelCobranca .eng-section-header h2,
#awaitingPaymentPanelCobranca .eng-attention__header h3,
#awaitingPaymentPanelCobranca .eng-rest__header h3 {
  color: #f1f5f9;
}

#awaitingPaymentPanelCobranca .eng-banner {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #bfdbfe;
}

#awaitingPaymentPanelCobranca .eng-banner--warn {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fde68a;
}

#awaitingPaymentPanelCobranca .eng-banner--error {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fecaca;
}

/* Radar unificado — badges IA nos cards escuros */
.prisma-radar-view .eng-badges .eng-badge {
  font-size: 0.68rem;
}

/* Gerar mensagem — modal (igual Dashboard Pai Roberto) */
.prisma-generate-message-modal {
  max-width: 560px;
  width: min(560px, calc(100vw - 2rem));
}

.prisma-generate-message-footer {
  display: flex;
  gap: 0.5rem;
  margin-top: 12px;
}

.prisma-generate-message-footer .client-radar-analyze-cancel,
.prisma-generate-message-footer .btn-create {
  flex: 1;
}

.prisma-generate-message-result {
  margin-top: 12px;
}

.prisma-generate-message-result__text {
  min-height: 120px;
}

.prisma-generate-message-result__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 8px;
}

.prisma-generate-message-result__actions .client-radar-analyze-cancel,
.prisma-generate-message-result__actions .btn-create {
  flex: 1;
}

.reply-menu-group {
  margin-top: 12px;
}

.reply-menu-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
  margin-bottom: 6px;
}

.reply-menu-options {
  display: grid;
  gap: 8px;
}

.reply-menu-chip {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.35);
  color: #e2e8f0;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
}

.reply-menu-chip strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.reply-menu-chip span {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.35;
}

.reply-menu-chip.is-active {
  border-color: rgba(99, 102, 241, 0.65);
  background: rgba(99, 102, 241, 0.18);
}

.reply-menu-tones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reply-menu-tone {
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.35);
  color: #e2e8f0;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.reply-menu-tone.is-active {
  border-color: rgba(99, 102, 241, 0.65);
  background: rgba(99, 102, 241, 0.18);
}

.reply-menu-extra {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.35);
  color: #e2e8f0;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  resize: vertical;
  font: inherit;
}

.reply-menu-error {
  margin-top: 10px;
  color: #fecaca;
  font-size: 0.85rem;
}

.prisma-radar-card__actions .client-radar-generate-msg {
  border: 1px solid rgba(99, 102, 241, 0.45);
  background: rgba(99, 102, 241, 0.12);
  color: #c7d2fe;
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  font-weight: 600;
  cursor: pointer;
}

.prisma-radar-card__actions .client-radar-generate-msg:hover {
  background: rgba(99, 102, 241, 0.22);
}
