/* ============================================================================
 * v15.238 — prospecto-detalle.css
 * Modal/sheet de detalle de prospecto puro.
 * ============================================================================ */

.fcs-pp-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 100050;
  display: none;
  opacity: 0;
  transition: opacity 220ms ease;
}
.fcs-pp-overlay.open { display: block; opacity: 1; }

.fcs-pp-sheet {
  position: fixed;
  right: 0; top: 0; bottom: 0;
  width: 100%;
  max-width: 560px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.20);
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.fcs-pp-overlay.open .fcs-pp-sheet { transform: translateX(0); }

.fcs-pp-handle { display: none; }

.fcs-pp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, #16a34a, #059669);
  border-bottom: 2px solid #047857;
}
.fcs-pp-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.fcs-pp-close {
  background: rgba(255,255,255,0.20);
  border: none;
  color: #ffffff !important;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fcs-pp-close:hover { background: rgba(255,255,255,0.32); }
/* v15.256 — Forzar X blancas en TODOS los modales del prospecto */
.fcs-pp-emailtpl-close,
.fcs-pp-postcomm-close,
.fcs-pp-close,
#fcs-pp-close,
#fcs-pp-emailtpl-close,
#fcs-pp-postcomm-close { color: #ffffff !important; }

.fcs-pp-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px 80px;
}

@media (max-width: 640px) {
  .fcs-pp-sheet {
    max-width: 100%;
    border-radius: 18px 18px 0 0;
    top: auto;
    right: 0; left: 0;
    height: 95vh;
    transform: translateY(100%);
  }
  .fcs-pp-overlay.open .fcs-pp-sheet { transform: translateY(0); }
  .fcs-pp-handle {
    display: block;
    width: 40px;
    height: 4px;
    background: rgba(255,255,255,0.5);
    border-radius: 999px;
    margin: 8px auto 0;
  }
}

/* Resumen */
.fcs-pp-summary {
  background: #f0fdf4;
  border-left: 3px solid #16a34a;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 12px;
  color: #15803d;
}
.fcs-pp-summary-row { display: flex; gap: 8px; padding: 2px 0; }
.fcs-pp-summary-label { font-weight: 600; opacity: 0.8; }

/* Secciones */
.fcs-pp-section {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e7eb;
}
.fcs-pp-section:last-of-type { border-bottom: none; }
.fcs-pp-h3 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #374151;
}

/* Campos */
.fcs-pp-field { display: flex; flex-direction: column; margin-bottom: 12px; }
.fcs-pp-field label {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.fcs-pp-field input,
.fcs-pp-field select,
.fcs-pp-field textarea {
  width: 100%;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: #111827;
  box-sizing: border-box;
}
.fcs-pp-field input:hover,
.fcs-pp-field select:hover,
.fcs-pp-field textarea:hover { border-color: #9ca3af; }
.fcs-pp-field input:focus,
.fcs-pp-field select:focus,
.fcs-pp-field textarea:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22,163,74,0.18);
}
.fcs-pp-field textarea { resize: vertical; min-height: 60px; line-height: 1.5; }

.fcs-pp-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fcs-pp-grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }
@media (max-width: 480px) {
  .fcs-pp-grid-2 { grid-template-columns: 1fr; }
}

/* Chips de canales — texto NEGRO inactivo, BLANCO activo (sobre verde) */
.fcs-pp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fcs-pp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #000000;
  cursor: pointer;
  user-select: none;
  transition: all 150ms;
}
.fcs-pp-chip:hover { background: #e5e7eb; border-color: #9ca3af; color: #000000; }
.fcs-pp-chip.active {
  background: linear-gradient(135deg, #16a34a, #059669);
  border-color: #16a34a;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(22,163,74,0.30);
}
.fcs-pp-chip.active span { color: #ffffff !important; font-weight: 800; }
.fcs-pp-chip input[type="checkbox"] { display: none; }

/* v15.251 — Comunicaciones: mostrar 3 items con scroll suave */
.fcs-pp-com-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 240px;  /* aprox. 3 items con padding */
  overflow-y: auto;
  margin-bottom: 12px;
  padding-right: 4px;
  scroll-behavior: smooth;
  /* Indicador visual: gradient en bottom cuando hay scroll */
  background:
    linear-gradient(white 30%, rgba(255,255,255,0)) center top,
    linear-gradient(rgba(255,255,255,0), white 70%) center bottom,
    radial-gradient(farthest-side at 50% 0, rgba(22,163,74,0.2), rgba(0,0,0,0)) center top,
    radial-gradient(farthest-side at 50% 100%, rgba(22,163,74,0.2), rgba(0,0,0,0)) center bottom;
  background-repeat: no-repeat;
  background-size: 100% 24px, 100% 24px, 100% 8px, 100% 8px;
  background-attachment: local, local, scroll, scroll;
}
.fcs-pp-com-list::-webkit-scrollbar { width: 6px; }
.fcs-pp-com-list::-webkit-scrollbar-track { background: #f3f4f6; border-radius: 3px; }
.fcs-pp-com-list::-webkit-scrollbar-thumb { background: #16a34a; border-radius: 3px; }
.fcs-pp-com-list::-webkit-scrollbar-thumb:hover { background: #15803d; }

.fcs-pp-com-count {
  font-size: 11px;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.fcs-pp-com-empty,
.fcs-pp-com-skel {
  text-align: center;
  padding: 16px;
  color: #9ca3af;
  font-size: 13px;
  font-style: italic;
}
.fcs-pp-com-item {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
}
.fcs-pp-com-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 12px;
}
.fcs-pp-com-tipo { font-weight: 700; color: #16a34a; }
.fcs-pp-com-time { color: #6b7280; font-size: 11px; }
.fcs-pp-com-body { font-size: 13px; color: #1f2937; line-height: 1.5; }

.fcs-pp-com-new {
  background: #ffffff;
  border: 1px solid #d1d5db;border-radius: 8px;
  padding: 10px 12px;
}
.fcs-pp-com-new textarea {
  width: 100%;
  border: none;
  outline: none;
  resize: vertical;
  min-height: 50px;
  font-family: inherit;
  font-size: 13px;
  padding: 0;
  background: transparent;
}
.fcs-pp-com-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #e5e7eb;
}
.fcs-pp-com-actions select {
  flex: 1;
  padding: 7px 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
}

/* Status */
.fcs-pp-action-status {
  min-height: 18px;
  font-size: 12px;
  font-weight: 600;
  margin: 12px 0;
  text-align: center;
  color: #6b7280;
}
.fcs-pp-status-ok { color: #16a34a; }
.fcs-pp-status-err { color: #dc2626; }
.fcs-pp-status-loading { color: #2563eb; }

/* Action bar fija al fondo */
.fcs-pp-action-bar {
  position: sticky;
  bottom: 0;
  background: #ffffff;
  margin: 18px -20px -18px;
  padding: 14px 20px;
  border-top: 1px solid #e5e7eb;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 8px;
}
.fcs-pp-btn {
  padding: 11px 14px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 150ms;
}
.fcs-pp-btn:disabled { opacity: 0.55; cursor: wait; }
/* v15.250 — Botón primario verde con letras BLANCAS */
.fcs-pp-btn-primary {
  background: linear-gradient(135deg, #16a34a, #059669);
  color: #ffffff !important;
}
.fcs-pp-btn-primary:hover { filter: brightness(1.08); box-shadow: 0 3px 10px rgba(22,163,74,0.35); color: #ffffff !important; }
.fcs-pp-btn-secondary {
  background: #ffffff;
  color: #16a34a;
  border: 1px solid #16a34a;
}
.fcs-pp-btn-secondary:hover { background: #f0fdf4; }
.fcs-pp-btn-danger {
  background: #ffffff;
  color: #dc2626;
  border: 1px solid #fca5a5;
}
.fcs-pp-btn-danger:hover { background: #fef2f2; }

@media (max-width: 480px) {
  .fcs-pp-action-bar {
    grid-template-columns: 1fr 1fr;
  }
  .fcs-pp-action-bar #pp-guardar { grid-column: 1 / -1; order: -1; }
}

/* Skeleton */
.fcs-pp-skel { padding: 20px 0; }
.fcs-pp-skel-line {
  height: 14px;
  background: linear-gradient(90deg, #e5e7eb, #f3f4f6, #e5e7eb);
  background-size: 200% 100%;
  animation: skelShine 1.4s ease-in-out infinite;
  border-radius: 4px;
  margin-bottom: 10px;
}
.fcs-pp-skel-line.w70 { width: 70%; }
.fcs-pp-skel-line.w50 { width: 50%; }
.fcs-pp-skel-box {
  height: 80px;
  background: #f3f4f6;
  border-radius: 8px;
  margin-bottom: 12px;
}
@keyframes skelShine {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.fcs-pp-empty {
  text-align: center;
  padding: 40px 20px;
  color: #6b7280;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

/* ============================================================================
   v15.252 — Historial de recordatorios con diagnóstico
   ============================================================================ */
.fcs-pp-historial-wrap {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
}
.fcs-pp-historial-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.fcs-pp-historial-title {
  font-weight: 800;
  font-size: 13px;
  color: #1f2937;
}
.fcs-pp-historial-refresh {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 14px;
  color: #16a34a;
  font-weight: 700;
}
.fcs-pp-historial-refresh:hover { background: #f0fdf4; }
.fcs-pp-historial-empty {
  text-align: center;
  padding: 16px;
  color: #9ca3af;
  font-size: 12px;
  font-style: italic;
}
.fcs-pp-historial-count {
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.fcs-pp-historial-row {
  display: grid;
  grid-template-columns: 90px 90px 1fr;
  gap: 8px;
  padding: 8px 6px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 12px;
  align-items: start;
}
.fcs-pp-historial-row:last-child { border-bottom: none; }
.fcs-pp-historial-header {
  background: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 10px;
  color: #6b7280;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #16a34a;
}
.fcs-pp-historial-col-canal { font-weight: 700; color: #1f2937; }
.fcs-pp-historial-time {
  font-size: 10px;
  color: #6b7280;
  font-weight: 500;
  margin-top: 2px;
}
.fcs-pp-historial-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.fcs-pp-historial-badge.ok {
  background: #dcfce7;
  color: #15803d;
}
.fcs-pp-historial-badge.fail {
  background: #fee2e2;
  color: #b91c1c;
}
.fcs-pp-historial-col-diag {
  font-size: 11px;
  line-height: 1.4;
  word-break: break-word;
}
.fcs-pp-historial-err {
  color: #b91c1c;
  font-weight: 600;
  margin-bottom: 2px;
}
.fcs-pp-historial-det {
  color: #6b7280;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  margin-top: 2px;
  background: #f3f4f6;
  padding: 3px 6px;
  border-radius: 4px;
  word-break: break-all;
}
/* Scroll: 3 visibles + scroll */
.fcs-pp-historial-scroll {
  max-height: 270px;
  overflow-y: auto;
  padding-right: 4px;
}
.fcs-pp-historial-scroll::-webkit-scrollbar { width: 6px; }
.fcs-pp-historial-scroll::-webkit-scrollbar-track { background: #f3f4f6; border-radius: 3px; }
.fcs-pp-historial-scroll::-webkit-scrollbar-thumb { background: #16a34a; border-radius: 3px; }

/* v15.252 — Forzar texto BLANCO en TODOS los botones verdes del modal */
.fcs-pp-btn.fcs-pp-btn-primary,
.fcs-pp-btn.fcs-pp-btn-primary span,
.fcs-pp-btn.fcs-pp-btn-primary *,
button.fcs-pp-btn-primary,
button#pp-run-cron,
button#pp-run-cron *,
button#pp-guardar,
button#pp-guardar *,
button#pp-agendar,
button#pp-agendar *,
button#fcs-pp-postcomm-save,
button#fcs-pp-postcomm-save *,
.fcs-pp-comm-btn,
.fcs-pp-comm-btn * { color: #ffffff !important; }
.fcs-pp-emailtpl-card-title { color: #1f2937 !important; }  /* excepción: títulos de plantilla en oscuro */
.fcs-pp-btn.fcs-pp-btn-primary:hover,
button#pp-run-cron:hover,
button#pp-guardar:hover,
button#pp-agendar:hover,
button#fcs-pp-postcomm-save:hover { color: #ffffff !important; }

/* v15.252 — Chips de resultado del contacto */
.fcs-pp-com-resultado-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fcs-pp-com-res-chip {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #000000;
  cursor: pointer;
  transition: all 150ms;
}
.fcs-pp-com-res-chip:hover { background: #f3f4f6; border-color: #9ca3af; }
.fcs-pp-com-res-chip.active {
  background: linear-gradient(135deg, #16a34a, #059669);
  border-color: #16a34a;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(22,163,74,0.3);
}
.fcs-pp-com-res-badge {
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  background: #dcfce7;
  color: #15803d;
  padding: 2px 6px;
  border-radius: 999px;
  font-weight: 700;
}

/* ============================================================================
   v15.254 — Botones de contacto rápido + modal plantillas email
   ============================================================================ */
.fcs-pp-comm-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.fcs-pp-comm-btn {
  flex: 1;
  min-width: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 6px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  transition: all 150ms;
}
.fcs-pp-comm-btn span:first-child { font-size: 18px; }
.fcs-pp-comm-call { background: linear-gradient(135deg, #16a34a, #059669); }
.fcs-pp-comm-wa { background: linear-gradient(135deg, #25d366, #128c7e); }
.fcs-pp-comm-sms { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.fcs-pp-comm-email { background: linear-gradient(135deg, #f59e0b, #d97706); }
.fcs-pp-comm-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.fcs-pp-comm-btn:active { transform: translateY(0); }

/* Modal plantillas email */
.fcs-pp-emailtpl-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 100200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.fcs-pp-emailtpl-wrap {
  background: #ffffff;
  border-radius: 14px;
  max-width: 460px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.fcs-pp-emailtpl-header {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fcs-pp-emailtpl-title { font-weight: 800; font-size: 16px; color: #ffffff; }
.fcs-pp-emailtpl-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: #ffffff;
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
}
.fcs-pp-emailtpl-body { padding: 18px; overflow-y: auto; }
.fcs-pp-emailtpl-to {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 14px;
  padding: 8px 12px;
  background: #f9fafb;
  border-radius: 8px;
}
.fcs-pp-emailtpl-to span { color: #1f2937; font-weight: 700; }
.fcs-pp-emailtpl-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #6b7280;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.fcs-pp-emailtpl-cards { display: flex; flex-direction: column; gap: 8px; }
.fcs-pp-emailtpl-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: all 150ms;
  width: 100%;
}
.fcs-pp-emailtpl-card:hover {
  border-color: #f59e0b;
  background: #fffbeb;
  transform: translateX(2px);
}
.fcs-pp-emailtpl-icon { font-size: 24px; flex-shrink: 0; }
.fcs-pp-emailtpl-text { display: flex; flex-direction: column; gap: 2px; }
.fcs-pp-emailtpl-card-title { font-weight: 700; font-size: 14px; color: #1f2937; }
.fcs-pp-emailtpl-card-desc { font-size: 12px; color: #6b7280; }

/* ============================================================================
   v15.255 — Modal post-comunicación con grabación de audio
   ============================================================================ */
.fcs-pp-postcomm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 100300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.fcs-pp-postcomm-card {
  background: #ffffff;
  border-radius: 14px;
  max-width: 460px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.fcs-pp-postcomm-header {
  background: linear-gradient(135deg, #16a34a, #059669);
  color: #ffffff;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fcs-pp-postcomm-title { font-weight: 800; font-size: 16px; color: #ffffff; }
.fcs-pp-postcomm-close {
  background: rgba(255,255,255,0.2);
  border: none; color: #ffffff;
  width: 30px; height: 30px;
  border-radius: 50%; font-size: 16px; cursor: pointer;
}
.fcs-pp-postcomm-body { padding: 18px; overflow-y: auto; }
.fcs-pp-postcomm-section-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  color: #6b7280; letter-spacing: 0.05em;
  margin: 14px 0 8px;
}
.fcs-pp-postcomm-section-label:first-child { margin-top: 0; }
.fcs-pp-postcomm-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.fcs-pp-postcomm-chip {
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
  color: #000000; cursor: pointer;
  transition: all 150ms;
}
.fcs-pp-postcomm-chip:hover { background: #f3f4f6; border-color: #9ca3af; }
.fcs-pp-postcomm-chip.selected {
  background: linear-gradient(135deg, #16a34a, #059669);
  border-color: #16a34a;
  color: #ffffff !important;
}
.fcs-pp-postcomm-notes {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  box-sizing: border-box;
}
.fcs-pp-postcomm-audio { display: flex; flex-direction: column; gap: 10px; }
.fcs-pp-postcomm-rec-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
  transition: all 150ms;
}
.fcs-pp-postcomm-rec-btn:hover { background: #f3f4f6; }
.fcs-pp-postcomm-rec-btn.recording {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #b91c1c;
}
.fcs-pp-rec-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #9ca3af;
  flex-shrink: 0;
}
.fcs-pp-postcomm-rec-btn.recording .fcs-pp-rec-dot {
  background: #dc2626;
  animation: ppRecPulse 1s infinite;
}
@keyframes ppRecPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.fcs-pp-rec-time { margin-left: auto; font-variant-numeric: tabular-nums; color: #6b7280; }
.fcs-pp-postcomm-audio-preview {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fcs-pp-postcomm-audio-preview audio { flex: 1; height: 40px; }
.fcs-pp-postcomm-audio-clear {
  background: #fee2e2;
  border: none;
  color: #b91c1c;
  width: 32px; height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
}
.fcs-pp-postcomm-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.fcs-pp-postcomm-actions .fcs-pp-btn { flex: 1; }

/* Audio en lista de comunicaciones */
.fcs-pp-com-audio {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.fcs-pp-com-audio audio { flex: 1; height: 36px; }
.fcs-pp-com-dl {
  text-decoration: none;
  background: #f3f4f6;
  color: #16a34a;
  width: 30px; height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* ════════ PLATINUM polish (append-only) — mantiene la identidad verde de "prospecto", look moderno ════════ */
.fcs-pp-sheet { border-radius: 18px 0 0 18px !important; box-shadow: -16px 0 50px rgba(15,23,42,.18) !important; }
.fcs-pp-header { background: linear-gradient(135deg,#10b981,#059669) !important; }
.fcs-pp-title { font-family: "DM Serif Display", Georgia, serif !important; font-weight: 400 !important; letter-spacing: .2px !important; }
.fcs-pp-section { border-bottom: 1px solid #eef2f7 !important; }
.fcs-pp-field label { text-transform: uppercase !important; letter-spacing: .4px !important; font-size: 10.5px !important; font-weight: 700 !important; color: #94a3b8 !important; }
.fcs-pp-field input, .fcs-pp-field select, .fcs-pp-field textarea { border-radius: 10px !important; }
.fcs-pp-field input:focus, .fcs-pp-field select:focus, .fcs-pp-field textarea:focus { border-color: #059669 !important; box-shadow: 0 0 0 3px rgba(16,185,129,.15) !important; }
.fcs-pp-btn { border-radius: 12px !important; box-shadow: 0 2px 8px rgba(15,23,42,.06) !important; transition: transform .12s, box-shadow .15s, filter .15s !important; }
.fcs-pp-btn:hover { transform: translateY(-1px) !important; }
.fcs-pp-btn-primary { background: linear-gradient(135deg,#10b981,#059669) !important; }
.fcs-pp-com-item { border-radius: 12px !important; }
/* ════════ FIN PLATINUM polish ════════ */
