/* Data Extractor animation — slide 3 (1280×720 stage, matches cleanup slide) */
.whatsapp-inbox-slide {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-inbox-slide.is-paused .stage,
.whatsapp-inbox-slide.is-paused .stage *,
.whatsapp-inbox-slide.is-paused .va-push-overlay,
.whatsapp-inbox-slide.is-paused .va-push-overlay * {
  animation-play-state: paused !important;
}

.whatsapp-inbox-slide.is-paused::after {
  content: 'Paused · tap to resume';
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(10, 10, 15, 0.72);
  border: 1px solid rgba(83, 189, 235, 0.35);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.whatsapp-inbox-slide .stage-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.whatsapp-inbox-slide .stage {
  width: 1280px;
  height: 720px;
  flex-shrink: 0;
  transform-origin: center center;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.whatsapp-inbox-slide .scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.55s ease, visibility 0.55s;
}

.whatsapp-inbox-slide .scene:not(.active) {
  transition: opacity 0s, visibility 0s;
}

.whatsapp-inbox-slide .scene.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.whatsapp-inbox-slide .wi-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ── Scene 1: Upload (3D luxury glass) ── */
.whatsapp-inbox-slide #wiScene1 {
  perspective: 1200px;
}

.whatsapp-inbox-slide .upload-panel {
  text-align: center;
  transform-style: preserve-3d;
}

.whatsapp-inbox-slide .cl-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  color: rgba(212, 175, 55, 0.85);
  margin-bottom: 14px;
  font-weight: 600;
}

.whatsapp-inbox-slide .upload-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: #faf8f5;
  margin-bottom: 8px;
  line-height: 1.05;
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
}

.whatsapp-inbox-slide .upload-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 28px;
}

.whatsapp-inbox-slide .upload-card {
  position: relative;
  width: min(540px, 92%);
  margin: 0 auto;
  padding: 32px 36px 36px;
  border-radius: 28px;
  background: linear-gradient(160deg, #28283a 0%, #1a1a28 50%, #13131c 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(83, 189, 235, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
  overflow: hidden;
  animation: clUploadPanelIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.whatsapp-inbox-slide #wiScene1.active .upload-card {
  animation: clUploadPanelIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes clUploadPanelIn {
  from { opacity: 0; transform: translateY(36px) rotateX(14deg); }
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

.whatsapp-inbox-slide .upload-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.whatsapp-inbox-slide .upload-card-shine {
  position: absolute;
  top: -50%;
  left: -60%;
  width: 45%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
  transform: rotate(20deg);
  animation: clCardShine 6s ease-in-out infinite;
  pointer-events: none;
}

.whatsapp-inbox-slide .upload-card-gloss {
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.55), transparent);
  pointer-events: none;
}

.whatsapp-inbox-slide .upload-card-shadow {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -14px;
  height: 28px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.5) 0%, transparent 72%);
  filter: blur(8px);
  transform: translateZ(-12px);
  pointer-events: none;
}

.whatsapp-inbox-slide .upload-card-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.75);
  margin-bottom: 22px;
}

.whatsapp-inbox-slide .upload-area-label {
  display: block;
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
  font-weight: 600;
}

.whatsapp-inbox-slide .upload-area-field {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(83, 189, 235, 0.35);
  color: #53bdeb;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 20px;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.35);
  text-align: left;
}

.whatsapp-inbox-slide .upload-drop {
  position: relative;
  border: 1px dashed rgba(212, 175, 55, 0.4);
  border-radius: 18px;
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s;
  margin-bottom: 24px;
  background: rgba(0,0,0,0.25);
  box-shadow: inset 0 2px 12px rgba(0,0,0,0.3);
}

.whatsapp-inbox-slide .upload-drop.file-in {
  border-color: rgba(37, 211, 102, 0.55);
  border-style: solid;
  box-shadow:
    0 0 40px rgba(37, 211, 102, 0.12),
    inset 0 2px 12px rgba(0,0,0,0.3);
  transform: scale(1.02);
}

.whatsapp-inbox-slide .upload-drop-glow {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(ellipse at center, rgba(37,211,102,0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.whatsapp-inbox-slide .upload-drop.file-in .upload-drop-glow { opacity: 1; }

.whatsapp-inbox-slide .excel-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  transition: transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1);
  filter: drop-shadow(0 8px 16px rgba(37,211,102,0.25));
}

.whatsapp-inbox-slide .upload-drop.file-in .excel-icon {
  transform: translateY(-8px) scale(1.08);
  animation: clFileBounce 0.6s ease;
}

@keyframes clFileBounce {
  0% { transform: translateY(20px) scale(0.8); opacity: 0; }
  60% { transform: translateY(-10px) scale(1.1); }
  100% { transform: translateY(-8px) scale(1.08); opacity: 1; }
}

.whatsapp-inbox-slide .upload-drop-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 6px;
}

.whatsapp-inbox-slide .upload-file-name {
  font-size: 1rem;
  font-weight: 600;
  color: #25D366;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s;
  text-shadow: 0 0 20px rgba(37,211,102,0.35);
}

.whatsapp-inbox-slide .upload-file-name.show {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-inbox-slide .upload-meta {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-top: 8px;
}

.whatsapp-inbox-slide .upload-btn-wrap {
  perspective: 800px;
}

.whatsapp-inbox-slide .upload-btn {
  position: relative;
  border: none;
  background: none;
  cursor: default;
  padding: 0;
  width: 100%;
  transform-style: preserve-3d;
}

.whatsapp-inbox-slide .upload-btn-face {
  position: relative;
  display: block;
  width: 100%;
  padding: 16px 28px;
  border-radius: 100px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.08) 18%, transparent 42%),
    linear-gradient(165deg, #5dffa8 0%, #3ee87a 12%, #25D366 45%, #1db954 78%, #128C7E 100%);
  border: 1px solid rgba(255,255,255,0.42);
  box-shadow:
    0 12px 0 #0a6b4a,
    0 20px 44px rgba(37,211,102,0.5),
    0 0 60px rgba(61,255,138,0.2),
    inset 0 2px 0 rgba(255,255,255,0.5),
    inset 0 -3px 8px rgba(0,0,0,0.18);
  transform: translateZ(12px);
  transition: transform 0.22s cubic-bezier(0.16,1,0.3,1), box-shadow 0.22s ease;
  overflow: hidden;
}

.whatsapp-inbox-slide .upload-btn-gloss {
  position: absolute;
  top: 3px;
  left: 10%;
  right: 10%;
  height: 42%;
  border-radius: 100px 100px 60% 60%;
  background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.1) 100%);
  pointer-events: none;
}

.whatsapp-inbox-slide .upload-btn-shine {
  position: absolute;
  top: -40%;
  left: -60%;
  width: 38%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: rotate(18deg);
  animation: clBtnShineSweep 3.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes clBtnShineSweep {
  0%, 100% { left: -60%; opacity: 0; }
  45% { opacity: 1; }
  55% { left: 120%; opacity: 0; }
}

.whatsapp-inbox-slide .upload-btn-shadow {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -6px;
  height: 18px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.45) 0%, transparent 72%);
  filter: blur(6px);
  transform: translateZ(-8px);
  pointer-events: none;
}

.whatsapp-inbox-slide .upload-btn.pressed .upload-btn-face {
  transform: translateZ(4px) translateY(8px) scale(0.97);
  box-shadow:
    0 4px 0 #0a6b4a,
    0 10px 32px rgba(37,211,102,0.6),
    inset 0 1px 0 rgba(255,255,255,0.35);
}

.whatsapp-inbox-slide .upload-ripple {
  position: absolute;
  inset: 8% 12%;
  border-radius: 100px;
  background: radial-gradient(circle, rgba(255,255,255,0.55) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0.3);
  pointer-events: none;
  z-index: 2;
}

.whatsapp-inbox-slide .upload-ripple.show {
  animation: clRipple 0.7s cubic-bezier(0.16,1,0.3,1) forwards;
}

@keyframes clRipple {
  0% { transform: scale(0.3); opacity: 0.85; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ── Scene 2: Processing (matches campaign sending card) ── */
.whatsapp-inbox-slide #wiScene2 {
  perspective: 1200px;
}

.whatsapp-inbox-slide .progress-panel {
  width: min(760px, 92%);
  text-align: center;
  transform-style: preserve-3d;
}

.whatsapp-inbox-slide .prog-glass {
  position: relative;
  padding: 40px 48px 36px;
  border-radius: 28px;
  background: linear-gradient(160deg, #28283a 0%, #1a1a28 50%, #13131c 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(37, 211, 102, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  animation: clProgPanelIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.whatsapp-inbox-slide #wiScene2.active .prog-glass {
  animation: clProgPanelIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes clProgPanelIn {
  from { opacity: 0; transform: translateY(40px) rotateX(12deg); }
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

.whatsapp-inbox-slide .prog-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.whatsapp-inbox-slide .prog-shine {
  position: absolute;
  top: -50%;
  left: -60%;
  width: 45%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
  transform: rotate(20deg);
  animation: clCardShine 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes clCardShine {
  0%, 100% { left: -80%; opacity: 0; }
  45% { opacity: 1; }
  55%, 100% { left: 140%; opacity: 0; }
}

.whatsapp-inbox-slide .progress-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.75);
  margin-bottom: 24px;
  text-align: center;
}

.whatsapp-inbox-slide .prog-hero {
  display: flex;
  justify-content: center;
  margin: 0 auto 8px;
}

.whatsapp-inbox-slide .prog-ring-shell {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 4px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.whatsapp-inbox-slide .prog-ring-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #050b18;
  padding: 6px;
  --score-ring-center: #050b18;
}

.whatsapp-inbox-slide .prog-ring-svg {
  display: block;
  transform: rotate(-90deg);
}

.whatsapp-inbox-slide .prog-ring-bg {
  fill: none;
  stroke: rgba(148, 163, 189, 0.12);
  stroke-width: 6;
}

.whatsapp-inbox-slide .prog-ring-center {
  fill: var(--score-ring-center, #050b18);
  stroke: none;
}

.whatsapp-inbox-slide .prog-ring-fg {
  fill: none;
  stroke: url(#wcProgGrad);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 534;
  stroke-dashoffset: 534;
  transition: stroke-dashoffset 0.05s linear;
}

.whatsapp-inbox-slide .progress-counter {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 52px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #faf8f5;
  pointer-events: none;
  z-index: 1;
}

.whatsapp-inbox-slide .prog-sub {
  font-size: 12px;
  color: rgba(250, 248, 245, 0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
  text-align: center;
}

.whatsapp-inbox-slide .progress-track-wrap {
  margin-bottom: 20px;
}

.whatsapp-inbox-slide .prog-milestones {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: rgba(250, 248, 245, 0.25);
  margin-bottom: 10px;
  padding: 0 2px;
}

.whatsapp-inbox-slide .prog-milestones span.on {
  color: #25D366;
  text-shadow: 0 0 12px rgba(37, 211, 102, 0.5);
}

.whatsapp-inbox-slide .progress-track {
  position: relative;
  height: 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(255,255,255,0.04) 100%);
  border-radius: 100px;
  overflow: visible;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow:
    inset 0 3px 8px rgba(0, 0, 0, 0.5),
    0 2px 0 rgba(255, 255, 255, 0.05);
}

.whatsapp-inbox-slide .progress-track::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.whatsapp-inbox-slide .progress-fill {
  position: relative;
  height: 100%;
  width: 0%;
  border-radius: 100px;
  background: linear-gradient(90deg, #075E54 0%, #25D366 45%, #d4af37 90%, #f0d78c 100%);
  box-shadow:
    0 0 24px rgba(37, 211, 102, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: width 0.05s linear;
  overflow: hidden;
}

.whatsapp-inbox-slide .progress-fill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, transparent 50%);
  border-radius: 100px;
}

.whatsapp-inbox-slide .progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: clBarShimmer 1.5s ease-in-out infinite;
}

@keyframes clBarShimmer {
  0% { left: -60px; }
  100% { left: 100%; }
}

.whatsapp-inbox-slide .progress-head {
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #25D366 60%, #128C7E);
  box-shadow:
    0 0 16px #25D366,
    0 0 32px rgba(37, 211, 102, 0.5);
  opacity: 0;
  transition: opacity 0.3s;
}

.whatsapp-inbox-slide .progress-fill.active .progress-head {
  opacity: 1;
}

.whatsapp-inbox-slide .prog-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.whatsapp-inbox-slide .progress-pct {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #d4af37, #f0d78c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.whatsapp-inbox-slide .prog-status {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(37, 211, 102, 0.7);
  padding: 6px 14px;
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: 100px;
  background: rgba(37, 211, 102, 0.08);
}

.whatsapp-inbox-slide .prog-status.done {
  color: #25D366;
  border-color: rgba(37, 211, 102, 0.45);
  background: rgba(37, 211, 102, 0.15);
}

/* ── Scene 3: Stats (3D luxury cards) ── */
.whatsapp-inbox-slide #wiScene4 {
  perspective: 1400px;
}

.whatsapp-inbox-slide .stats-scene-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.7);
  margin-bottom: 28px;
  opacity: 0;
}

.whatsapp-inbox-slide .stats-scene-title.show {
  animation: vaFadeUp 0.7s ease forwards;
}

.whatsapp-inbox-slide .wi-stats-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 28px;
  transform-style: preserve-3d;
}

.whatsapp-inbox-slide .wi-stat-card {
  position: relative;
  width: 188px;
  transform-style: preserve-3d;
  opacity: 0;
  transform: translateY(70px) rotateX(28deg) scale(0.82);
}

.whatsapp-inbox-slide .wi-stat-card.is-visible {
  opacity: 1;
}

.whatsapp-inbox-slide .wi-stat-card.pop {
  animation: clCard3dIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes clCard3dIn {
  0% { opacity: 0; transform: translateY(70px) rotateX(28deg) scale(0.82); }
  60% { opacity: 1; transform: translateY(-8px) rotateX(-4deg) scale(1.03); }
  100% { opacity: 1; transform: translateY(0) rotateX(0deg) scale(1); }
}

.whatsapp-inbox-slide .wi-stat-card.is-visible .wi-stat-inner {
  animation: clCardFloat 4s ease-in-out infinite;
}

@keyframes clCardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.whatsapp-inbox-slide .wi-stat-card:nth-child(1).pop { animation-delay: 0s; }
.whatsapp-inbox-slide .wi-stat-card:nth-child(2).pop { animation-delay: 0.12s; }
.whatsapp-inbox-slide .wi-stat-card:nth-child(3).pop { animation-delay: 0.24s; }
.whatsapp-inbox-slide .wi-stat-card:nth-child(4).pop { animation-delay: 0.36s; }

.whatsapp-inbox-slide .wi-stat-inner {
  position: relative;
  border-radius: 22px;
  padding: 28px 22px 24px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(160deg, #252535 0%, #18182a 50%, #12121c 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 2px 0 rgba(255, 255, 255, 0.1) inset;
}

.whatsapp-inbox-slide .wi-stat-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.whatsapp-inbox-slide .wi-stat-shine {
  position: absolute;
  top: -50%;
  left: -80%;
  width: 60%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: rotate(25deg);
  animation: clCardShine 4s ease-in-out infinite;
  pointer-events: none;
}

.whatsapp-inbox-slide .wi-stat-card.total .wi-stat-inner {
  border-color: rgba(83, 189, 235, 0.45);
  box-shadow: 0 24px 48px rgba(0,0,0,0.55), 0 0 40px rgba(83,189,235,0.1);
}

.whatsapp-inbox-slide .wi-stat-card.clean .wi-stat-inner {
  border-color: rgba(37, 211, 102, 0.5);
  box-shadow: 0 24px 48px rgba(0,0,0,0.55), 0 0 40px rgba(37,211,102,0.12);
}

.whatsapp-inbox-slide .wi-stat-card.fixed .wi-stat-inner {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 24px 48px rgba(0,0,0,0.55), 0 0 40px rgba(212,175,55,0.12);
}

.whatsapp-inbox-slide .wi-stat-card.dupes .wi-stat-inner {
  border-color: rgba(248, 113, 113, 0.45);
  box-shadow: 0 24px 48px rgba(0,0,0,0.55), 0 0 40px rgba(248,113,113,0.1);
}

.whatsapp-inbox-slide .wi-stat-glow {
  position: absolute;
  inset: -30%;
  opacity: 0;
  border-radius: 50%;
  pointer-events: none;
  transition: opacity 0.4s;
}

.whatsapp-inbox-slide .wi-stat-card.pop .wi-stat-glow { opacity: 0.55; }

.whatsapp-inbox-slide .wi-stat-card.total .wi-stat-glow { background: rgba(83,189,235,0.25); }
.whatsapp-inbox-slide .wi-stat-card.clean .wi-stat-glow { background: rgba(37,211,102,0.35); }
.whatsapp-inbox-slide .wi-stat-card.fixed .wi-stat-glow { background: rgba(212,175,55,0.35); }
.whatsapp-inbox-slide .wi-stat-card.dupes .wi-stat-glow { background: rgba(248,113,113,0.25); }

.whatsapp-inbox-slide .wi-stat-shadow {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -10px;
  height: 20px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.45) 0%, transparent 72%);
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s;
}

.whatsapp-inbox-slide .wi-stat-card.pop .wi-stat-shadow { opacity: 1; }

.whatsapp-inbox-slide .wi-stat-icon-wrap {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(32px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.whatsapp-inbox-slide .wi-stat-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.whatsapp-inbox-slide .wi-stat-card.total .wi-stat-icon-wrap {
  background: linear-gradient(145deg, rgba(83,189,235,0.35), rgba(37,99,235,0.15));
  border: 1px solid rgba(83,189,235,0.4);
  color: #53bdeb;
  box-shadow: 0 8px 32px rgba(83,189,235,0.2);
}

.whatsapp-inbox-slide .wi-stat-card.clean .wi-stat-icon-wrap {
  background: linear-gradient(145deg, rgba(37,211,102,0.35), rgba(18,140,126,0.15));
  border: 1px solid rgba(37,211,102,0.4);
  color: #25D366;
  box-shadow: 0 8px 32px rgba(37,211,102,0.25);
}

.whatsapp-inbox-slide .wi-stat-card.fixed .wi-stat-icon-wrap {
  background: linear-gradient(145deg, rgba(212,175,55,0.35), rgba(184,148,46,0.15));
  border: 1px solid rgba(212,175,55,0.45);
  color: #f0d78c;
  box-shadow: 0 8px 32px rgba(212,175,55,0.2);
}

.whatsapp-inbox-slide .wi-stat-card.dupes .wi-stat-icon-wrap {
  background: linear-gradient(145deg, rgba(248,113,113,0.3), rgba(185,28,28,0.12));
  border: 1px solid rgba(248,113,113,0.4);
  color: #f87171;
  box-shadow: 0 8px 32px rgba(248,113,113,0.18);
}

.whatsapp-inbox-slide .wi-stat-value {
  font-size: 46px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
  line-height: 1;
  letter-spacing: -0.02em;
  transform: translateZ(20px);
}

.whatsapp-inbox-slide .wi-stat-card.total .wi-stat-value {
  color: #53bdeb;
  text-shadow: 0 0 40px rgba(83,189,235,0.4);
}

.whatsapp-inbox-slide .wi-stat-card.clean .wi-stat-value {
  color: #25D366;
  text-shadow: 0 0 40px rgba(37,211,102,0.45);
}

.whatsapp-inbox-slide .wi-stat-card.fixed .wi-stat-value {
  color: #d4af37;
  text-shadow: 0 0 40px rgba(212,175,55,0.4);
}

.whatsapp-inbox-slide .wi-stat-card.dupes .wi-stat-value {
  color: #f87171;
  text-shadow: 0 0 40px rgba(248,113,113,0.35);
}

.whatsapp-inbox-slide .wi-stat-card.pop.pulse .wi-stat-value {
  animation: clNumPulse 0.5s ease;
}

@keyframes clNumPulse {
  0%, 100% { transform: translateZ(20px) scale(1); }
  50% { transform: translateZ(28px) scale(1.08); }
}

.whatsapp-inbox-slide .wi-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(250,248,245,0.4);
  font-weight: 600;
}

.whatsapp-inbox-slide .wi-mini-stats {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  opacity: 0;
}

.whatsapp-inbox-slide .wi-mini-stats.show {
  animation: vaFadeUp 0.5s ease forwards;
}

.whatsapp-inbox-slide .wi-mini-stats strong {
  color: #faf8f5;
  font-weight: 700;
}

.whatsapp-inbox-slide .wi-export-tag {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.35);
  color: #25D366;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ── Scene 3: Validation table (3D luxury glass) ── */
.whatsapp-inbox-slide #wiScene3 {
  perspective: 1200px;
}

.whatsapp-inbox-slide .validation-panel,
.whatsapp-inbox-slide .results-panel {
  width: min(720px, 94%);
  transform-style: preserve-3d;
  text-align: center;
}

.whatsapp-inbox-slide .validation-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.95);
  text-shadow: 0 0 28px rgba(212, 175, 55, 0.4);
  margin-bottom: 6px;
  text-align: center;
  opacity: 0;
}

.whatsapp-inbox-slide .results-meta {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 22px;
  opacity: 0;
}

.whatsapp-inbox-slide .validation-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 18px;
  opacity: 0;
}

.whatsapp-inbox-slide .validation-filters.show { animation: vaFadeUp 0.5s ease 0.1s forwards; }

.whatsapp-inbox-slide .va-filter {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(160deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.25) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.whatsapp-inbox-slide .va-filter.on {
  color: #53bdeb;
  border-color: rgba(83,189,235,0.45);
  background: linear-gradient(160deg, rgba(83,189,235,0.15) 0%, rgba(83,189,235,0.05) 100%);
  box-shadow:
    0 4px 16px rgba(83,189,235,0.15),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

.whatsapp-inbox-slide .validation-glass.results-glass {
  padding: 28px 32px 24px;
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(40, 40, 58, 0.95) 0%, rgba(19, 19, 28, 0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  min-height: 292px;
  display: flex;
  flex-direction: column;
  animation: vaFadeUp 0.65s ease 0.1s forwards;
}

.whatsapp-inbox-slide .validation-glass.results-glass .validation-shine {
  top: 0;
  left: 0;
  right: 0;
  width: auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
  transform: none;
  animation: none;
}

.whatsapp-inbox-slide .validation-glass {
  position: relative;
  padding: 4px;
  border-radius: 24px;
  background: linear-gradient(160deg, #28283a 0%, #1a1a28 50%, #13131c 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.55),
    0 0 50px rgba(83, 189, 235, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  animation: clValidationIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes clValidationIn {
  from { opacity: 0; transform: translateY(24px) rotateX(8deg); }
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

.whatsapp-inbox-slide .validation-shine {
  position: absolute;
  top: -50%;
  left: -60%;
  width: 45%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  transform: rotate(20deg);
  animation: clCardShine 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.whatsapp-inbox-slide .validation-table-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.06);
  flex: 1;
  min-height: 220px;
}

.whatsapp-inbox-slide .validation-table-head,
.whatsapp-inbox-slide .validation-row {
  display: grid;
  grid-template-columns: 0.48fr 1.15fr 1.05fr 0.52fr;
  gap: 6px;
  padding: 12px 16px;
  align-items: center;
  font-size: 0.78rem;
}

.whatsapp-inbox-slide .validation-table-head span {
  text-align: center;
}

.whatsapp-inbox-slide .validation-table-head .col-unit {
  text-align: left;
}

.whatsapp-inbox-slide .validation-row .v-original,
.whatsapp-inbox-slide .validation-row .v-mobile {
  text-align: center;
  justify-self: center;
}

.whatsapp-inbox-slide .validation-row .v-status {
  justify-self: center;
}

.whatsapp-inbox-slide .validation-table-head {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.14) 0%, rgba(212, 175, 55, 0.06) 100%);
  color: rgba(212, 175, 55, 0.95);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.65rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.whatsapp-inbox-slide .validation-row {
  color: rgba(255,255,255,0.78);
  border-top: 1px solid rgba(255,255,255,0.04);
  opacity: 0;
  transform: translateX(-24px);
  transition: background 0.25s;
}

.whatsapp-inbox-slide .validation-row:nth-child(even) {
  background: rgba(255,255,255,0.02);
}

.whatsapp-inbox-slide .validation-row.in {
  animation: clRowIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes clRowIn {
  to { opacity: 1; transform: translateX(0); }
}

.whatsapp-inbox-slide .validation-row .v-original {
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: -0.02em;
  word-break: break-all;
}

.whatsapp-inbox-slide .validation-row .v-mobile {
  font-variant-numeric: tabular-nums;
  color: rgba(83,189,235,0.85);
  font-size: 0.72rem;
}

.whatsapp-inbox-slide .validation-row .v-unit {
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.whatsapp-inbox-slide .v-status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  white-space: nowrap;
}

.whatsapp-inbox-slide .v-status.valid {
  background: rgba(37,211,102,0.15);
  color: #25D366;
  border: 1px solid rgba(37,211,102,0.35);
}

.whatsapp-inbox-slide .v-status.fixed {
  background: rgba(212,175,55,0.15);
  color: #d4af37;
  border: 1px solid rgba(212,175,55,0.35);
}

.whatsapp-inbox-slide .v-status.invalid {
  background: rgba(239,68,68,0.12);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.3);
}

/* ── Scene 5: Export ── */
.whatsapp-inbox-slide .export-panel {
  text-align: center;
  width: min(780px, 94%);
}

.whatsapp-inbox-slide .export-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #faf8f5;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(16px);
}

.whatsapp-inbox-slide .export-headline span {
  background: linear-gradient(135deg, #53bdeb, #d4af37);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.whatsapp-inbox-slide .export-headline.show { animation: vaFadeUp 0.7s ease forwards; }

.whatsapp-inbox-slide .export-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
  opacity: 0;
}

.whatsapp-inbox-slide .export-sub.show { animation: vaFadeUp 0.7s ease 0.15s forwards; }

.whatsapp-inbox-slide .export-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
  opacity: 0;
}

.whatsapp-inbox-slide .export-actions.show { animation: vaFadeUp 0.5s ease 0.25s forwards; }

.whatsapp-inbox-slide .export-btn {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
}

.whatsapp-inbox-slide .export-btn.pop {
  animation: clBtnPop 0.5s cubic-bezier(0.34, 1.3, 0.64, 1) forwards;
}

@keyframes clBtnPop {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.whatsapp-inbox-slide .export-btn-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  border-radius: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(160deg, rgba(255,255,255,0.08) 0%, rgba(0,0,0,0.35) 100%);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  transition: transform 0.2s;
}

.whatsapp-inbox-slide .export-btn.push .export-btn-inner svg.wa-icon {
  width: 20px;
  height: 20px;
  fill: #25D366;
  stroke: none;
}

.whatsapp-inbox-slide .export-btn-inner svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.whatsapp-inbox-slide .export-btn.excel .export-btn-inner {
  border-color: rgba(37,211,102,0.35);
  color: #25D366;
}

.whatsapp-inbox-slide .export-btn.csv .export-btn-inner {
  border-color: rgba(83,189,235,0.35);
  color: #53bdeb;
}

.whatsapp-inbox-slide .export-btn.push .export-btn-inner {
  border-color: rgba(212,175,55,0.4);
  color: #d4af37;
  background: linear-gradient(160deg, rgba(212,175,55,0.12) 0%, rgba(0,0,0,0.35) 100%);
  position: relative;
  overflow: hidden;
}

.whatsapp-inbox-slide .export-btn-inner {
  position: relative;
  overflow: hidden;
}

.whatsapp-inbox-slide .export-btn.push.is-target .export-btn-inner {
  animation: clPushTarget 1.2s ease-in-out infinite;
  box-shadow:
    0 16px 40px rgba(0,0,0,0.35),
    0 0 0 2px rgba(212, 175, 55, 0.45),
    0 0 28px rgba(212, 175, 55, 0.25);
}

@keyframes clPushTarget {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.02); }
}

.whatsapp-inbox-slide .export-btn.push.is-clicked .export-btn-inner {
  transform: scale(0.94);
  box-shadow:
    0 8px 24px rgba(0,0,0,0.4),
    0 0 0 3px rgba(212, 175, 55, 0.55),
    inset 0 2px 8px rgba(0,0,0,0.25);
}

.whatsapp-inbox-slide .export-btn-ripple,
.whatsapp-inbox-slide .va-modal-btn-ripple {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(255,255,255,0.45) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0.4);
  pointer-events: none;
}

.whatsapp-inbox-slide .export-btn-ripple.show,
.whatsapp-inbox-slide .va-modal-btn-ripple.show {
  animation: clRipple 0.55s ease forwards;
}

@keyframes clRipple {
  to { opacity: 0; transform: scale(1.6); }
}

/* ── Push modal overlay ── */
.whatsapp-inbox-slide .va-push-overlay {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s;
}

.whatsapp-inbox-slide .va-push-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.whatsapp-inbox-slide .va-push-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.72);
  backdrop-filter: blur(8px);
}

.whatsapp-inbox-slide .va-push-modal {
  position: relative;
  width: min(520px, 96%);
  max-height: min(90%, 620px);
  transform: scale(0.92) translateY(16px);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.35s ease;
}

.whatsapp-inbox-slide .va-push-overlay.is-open .va-push-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.whatsapp-inbox-slide .va-push-modal-inner {
  background: linear-gradient(165deg, rgba(28, 32, 44, 0.98) 0%, rgba(14, 16, 24, 0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 20px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(83, 189, 235, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: inherit;
}

.whatsapp-inbox-slide .va-push-modal-header {
  display: flex;
  gap: 14px;
  padding: 22px 22px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.whatsapp-inbox-slide .va-push-modal-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #25D366;
  border: none;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-inbox-slide .va-push-modal-icon svg {
  width: 24px;
  height: 24px;
}

.whatsapp-inbox-slide .wa-icon {
  flex-shrink: 0;
}

.whatsapp-inbox-slide .va-push-modal-header h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #faf8f5;
}

.whatsapp-inbox-slide .va-push-modal-header p {
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.5);
}

.whatsapp-inbox-slide .va-push-phase {
  padding: 16px 22px;
  overflow-y: auto;
}

.whatsapp-inbox-slide .va-push-section {
  padding: 14px;
  border-radius: 14px;
  background: rgba(37, 211, 102, 0.06);
  border: 1px solid rgba(37, 211, 102, 0.22);
  margin-bottom: 14px;
}

.whatsapp-inbox-slide .va-push-section-head {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.whatsapp-inbox-slide .va-push-section-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}

.whatsapp-inbox-slide .va-push-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.whatsapp-inbox-slide .va-push-title-row h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #faf8f5;
}

.whatsapp-inbox-slide .va-push-badge {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #25D366;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
}

.whatsapp-inbox-slide .va-push-hint {
  font-size: 0.76rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.5);
}

.whatsapp-inbox-slide .va-push-hint strong {
  color: rgba(255, 255, 255, 0.75);
}

.whatsapp-inbox-slide .va-push-hint--meta {
  margin-top: 8px;
  font-size: 0.72rem;
}

.whatsapp-inbox-slide .va-push-field-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}

.whatsapp-inbox-slide .va-push-input {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(83, 189, 235, 0.35);
  color: #53bdeb;
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-inbox-slide .va-push-input.is-focused {
  border-color: rgba(83, 189, 235, 0.75);
  box-shadow:
    0 0 0 3px rgba(83, 189, 235, 0.15),
    0 0 20px rgba(83, 189, 235, 0.12);
  animation: clInputPulse 1.4s ease-in-out infinite;
}

@keyframes clInputPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(83, 189, 235, 0.12), 0 0 16px rgba(83, 189, 235, 0.08); }
  50% { box-shadow: 0 0 0 3px rgba(83, 189, 235, 0.22), 0 0 24px rgba(83, 189, 235, 0.18); }
}

.whatsapp-inbox-slide .va-push-rules-title {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 10px;
  font-weight: 600;
}

.whatsapp-inbox-slide .va-push-rule {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 8px;
  font-size: 0.74rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
}

.whatsapp-inbox-slide .va-push-rule strong {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  margin-bottom: 2px;
}

.whatsapp-inbox-slide .va-push-rule-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.whatsapp-inbox-slide .va-push-rule-icon--blue {
  background: rgba(83, 189, 235, 0.12);
  color: #53bdeb;
}

.whatsapp-inbox-slide .va-push-rule-icon--violet {
  background: rgba(167, 139, 250, 0.12);
  color: #a78bfa;
}

.whatsapp-inbox-slide .va-transfer-panel {
  padding: 8px 0;
}

.whatsapp-inbox-slide .va-transfer-glass {
  padding: 28px 24px 24px;
  animation: none;
  text-align: center;
}

.whatsapp-inbox-slide .va-transfer-glass .progress-label {
  margin-bottom: 18px;
}

.whatsapp-inbox-slide .va-transfer-glass .prog-sub {
  margin-bottom: 20px;
}

.whatsapp-inbox-slide .va-transfer-glass .progress-counter {
  font-size: 42px;
}

.whatsapp-inbox-slide .va-transfer-ring {
  stroke: url(#exTransferGrad);
}

.whatsapp-inbox-slide .va-push-phase--running {
  padding: 12px 16px;
}

.whatsapp-inbox-slide .va-push-success-lux {
  perspective: 900px;
}

.whatsapp-inbox-slide .va-push-success-glass {
  position: relative;
  padding: 22px 20px 20px;
  border-radius: 22px;
  background: linear-gradient(160deg, #28283a 0%, #1a1a28 50%, #13131c 100%);
  border: 1px solid rgba(37, 211, 102, 0.35);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.5),
    0 0 48px rgba(37, 211, 102, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transform-style: preserve-3d;
  animation: clSuccessIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes clSuccessIn {
  from { opacity: 0; transform: translateY(20px) rotateX(10deg) scale(0.96); }
  to { opacity: 1; transform: translateY(0) rotateX(0) scale(1); }
}

.whatsapp-inbox-slide .va-push-success-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, transparent 50%);
  pointer-events: none;
}

.whatsapp-inbox-slide .va-push-success-shine {
  position: absolute;
  top: -50%;
  left: -60%;
  width: 45%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transform: rotate(20deg);
  animation: clCardShine 5s ease-in-out infinite;
  pointer-events: none;
}

.whatsapp-inbox-slide .va-push-success-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #25D366;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.whatsapp-inbox-slide .va-push-success-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(37,211,102,0.35), rgba(18,140,126,0.15));
  border: 1px solid rgba(37,211,102,0.45);
  box-shadow: 0 8px 28px rgba(37,211,102,0.25);
}

.whatsapp-inbox-slide .va-push-success-icon svg {
  width: 22px;
  height: 22px;
  stroke: #25D366;
  fill: none;
  stroke-width: 2.5;
  animation: clCheckPop 0.5s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
}

.whatsapp-inbox-slide .va-push-success-head strong {
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  text-shadow: 0 0 20px rgba(37,211,102,0.25);
}

.whatsapp-inbox-slide .va-push-result-card {
  position: relative;
  margin-bottom: 14px;
  transform-style: preserve-3d;
}

.whatsapp-inbox-slide .va-push-result-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(212,175,55,0.18), transparent 70%);
  opacity: 0.7;
  pointer-events: none;
}

.whatsapp-inbox-slide .va-push-result-inner {
  position: relative;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: linear-gradient(160deg, #252535 0%, #18182a 50%, #12121c 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.45),
    0 0 32px rgba(212, 175, 55, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  z-index: 1;
}

.whatsapp-inbox-slide .va-push-result-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 55%);
  pointer-events: none;
}

.whatsapp-inbox-slide .va-push-result-shadow {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -8px;
  height: 18px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.45) 0%, transparent 72%);
  filter: blur(6px);
  pointer-events: none;
}

.whatsapp-inbox-slide .va-push-result-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.75);
  margin-bottom: 6px;
  font-weight: 600;
}

.whatsapp-inbox-slide .va-push-result-name {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #faf8f5;
  margin-bottom: 14px;
  text-shadow: 0 0 24px rgba(255,255,255,0.08);
}

.whatsapp-inbox-slide .va-push-result-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.whatsapp-inbox-slide .va-push-stat-pill {
  padding: 8px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.whatsapp-inbox-slide .va-push-stat-pill strong {
  color: #faf8f5;
  font-weight: 700;
}

.whatsapp-inbox-slide .va-push-stat-pill.imported {
  border-color: rgba(37,211,102,0.35);
  background: rgba(37,211,102,0.1);
  color: rgba(37,211,102,0.85);
}

.whatsapp-inbox-slide .va-push-stat-pill.imported strong {
  color: #25D366;
}

.whatsapp-inbox-slide .va-push-stat-pill.dupes {
  border-color: rgba(212,175,55,0.3);
  background: rgba(212,175,55,0.08);
  color: rgba(212,175,55,0.8);
}

.whatsapp-inbox-slide .va-push-stat-pill.dupes strong {
  color: #d4af37;
}

.whatsapp-inbox-slide .va-push-note {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.45;
  position: relative;
  z-index: 1;
}

.whatsapp-inbox-slide .va-push-btn--primary.is-target {
  animation: clModalBtnTarget 0.9s ease-in-out infinite;
  box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.35), 0 0 20px rgba(37, 211, 102, 0.2);
}

@keyframes clModalBtnTarget {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
}

.whatsapp-inbox-slide .export-actions.is-push-focus .export-btn:not(.push) {
  opacity: 0.42;
  transform: scale(0.97);
  filter: saturate(0.6);
  transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease;
}

@keyframes clCheckPop {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.whatsapp-inbox-slide .va-push-footer {
  display: none;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 22px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.whatsapp-inbox-slide .va-push-modal-inner[data-phase="form"] .va-push-footer--form {
  display: flex;
}

.whatsapp-inbox-slide .va-push-modal-inner[data-phase="done"] .va-push-footer--done {
  display: flex;
}

.whatsapp-inbox-slide .va-push-btn {
  position: relative;
  overflow: hidden;
  padding: 10px 16px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: default;
  border: 1px solid transparent;
}

.whatsapp-inbox-slide .va-push-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
}

.whatsapp-inbox-slide .va-push-btn--primary {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.25), rgba(37, 211, 102, 0.12));
  border-color: rgba(37, 211, 102, 0.45);
  color: #25D366;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.whatsapp-inbox-slide .va-push-btn--primary.is-clicked {
  transform: scale(0.96);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.25);
}

.whatsapp-inbox-slide .va-push-btn--open svg {
  width: 14px;
  height: 14px;
}

.whatsapp-inbox-slide .va-push-btn--open.is-show {
  animation: vaFadeUp 0.4s ease forwards;
}

.whatsapp-inbox-slide .export-ready-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.35);
  color: #25D366;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  transform: scale(0.9);
}

.whatsapp-inbox-slide .export-ready-badge.show {
  animation: clBadgeIn 0.55s cubic-bezier(0.34, 1.3, 0.64, 1) forwards;
}

.whatsapp-inbox-slide .export-ready-badge svg {
  width: 18px;
  height: 18px;
  stroke: #25D366;
  fill: none;
  stroke-width: 2.5;
}

@keyframes vaFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes clBadgeIn {
  to { opacity: 1; transform: scale(1); }
}

/* SVG gradient def (injected via JS fallback — define in HTML) */
.whatsapp-inbox-slide .stage svg defs { display: none; }

/* ── Mobile ── */
@media (max-width: 767px) {
  .whatsapp-inbox-slide.is-mobile-layout {
    align-items: stretch;
  }

  .whatsapp-inbox-slide.is-mobile-layout .stage-wrap {
    align-items: stretch;
  }

  .whatsapp-inbox-slide.is-mobile-layout .stage {
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
  }

  .whatsapp-inbox-slide.is-mobile-layout .scene {
    padding: 10px 12px;
    box-sizing: border-box;
  }

  .whatsapp-inbox-slide.is-mobile-layout .upload-title {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .whatsapp-inbox-slide.is-mobile-layout .upload-card,
  .whatsapp-inbox-slide.is-mobile-layout .prog-glass,
  .whatsapp-inbox-slide.is-mobile-layout .validation-glass,
  .whatsapp-inbox-slide.is-mobile-layout .validation-table-wrap {
    transform: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .whatsapp-inbox-slide.is-mobile-layout .wi-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
  }

  .whatsapp-inbox-slide.is-mobile-layout .wi-stat-card {
    width: 100%;
    transform: none !important;
  }

  .whatsapp-inbox-slide.is-mobile-layout .wi-stat-card.pop {
    animation: clCard3dInMobile 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes clCard3dInMobile {
    from { opacity: 0; transform: translateY(24px) scale(0.92); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }

  .whatsapp-inbox-slide.is-mobile-layout .wi-stat-card.is-visible .wi-stat-inner {
    animation: none;
  }

  .whatsapp-inbox-slide.is-mobile-layout .wi-stat-inner {
    padding: 20px 14px 18px;
    border-radius: 18px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .wi-stat-glow,
  .whatsapp-inbox-slide.is-mobile-layout .wi-stat-shadow {
    display: none;
  }

  .whatsapp-inbox-slide.is-mobile-layout .wi-stat-value {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .whatsapp-inbox-slide.is-mobile-layout .wi-stat-icon-wrap {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .upload-card {
    padding: 24px 20px 28px;
    border-radius: 22px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .upload-btn-face {
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .whatsapp-inbox-slide.is-mobile-layout .va-transfer-glass {
    padding: 22px 16px 18px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .va-transfer-glass .progress-counter {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .whatsapp-inbox-slide.is-mobile-layout .validation-table-head,
  .whatsapp-inbox-slide.is-mobile-layout .validation-row {
    grid-template-columns: 0.42fr 1fr 0.92fr 0.46fr;
    font-size: 0.58rem;
    padding: 5px 6px;
    gap: 3px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .validation-table-head {
    font-size: 0.54rem;
    padding: 6px 6px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .validation-row .v-original {
    font-size: 0.52rem;
  }

  .whatsapp-inbox-slide.is-mobile-layout .v-status {
    padding: 2px 5px;
    font-size: 0.48rem;
  }

  .whatsapp-inbox-slide.is-mobile-layout .validation-label {
    margin-bottom: 6px;
    font-size: clamp(0.65rem, 2.8vw, 0.78rem);
    letter-spacing: 0.24em;
  }

  .whatsapp-inbox-slide.is-mobile-layout .validation-filters {
    margin-bottom: 6px;
    gap: 5px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .va-filter {
    padding: 4px 9px;
    font-size: 0.58rem;
  }

  .whatsapp-inbox-slide.is-mobile-layout .validation-glass {
    padding: 2px;
    border-radius: 16px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .validation-panel {
    width: 100%;
  }

  .whatsapp-inbox-slide.is-mobile-layout .export-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .whatsapp-inbox-slide.is-mobile-layout .export-headline {
    font-size: clamp(1.75rem, 7.5vw, 2.2rem);
  }

  .whatsapp-inbox-slide.is-mobile-layout .progress-panel {
    width: 100%;
    max-width: 100%;
  }

  .whatsapp-inbox-slide.is-mobile-layout .prog-glass {
    width: 100%;
    padding: 26px 18px 22px;
    border-radius: 20px;
    box-sizing: border-box;
  }

  .whatsapp-inbox-slide.is-mobile-layout .progress-label {
    font-size: clamp(0.72rem, 3.2vw, 0.88rem);
    letter-spacing: 0.18em;
    margin-bottom: 14px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .prog-ring-svg {
    width: clamp(160px, 46vw, 210px);
    height: clamp(160px, 46vw, 210px);
  }

  .whatsapp-inbox-slide.is-mobile-layout .progress-counter {
    font-size: clamp(2.75rem, 13vw, 3.75rem);
  }

  .whatsapp-inbox-slide.is-mobile-layout .prog-sub {
    font-size: clamp(0.72rem, 3.2vw, 0.85rem);
    margin-bottom: 18px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .prog-milestones {
    font-size: clamp(0.62rem, 2.8vw, 0.75rem);
  }

  .whatsapp-inbox-slide.is-mobile-layout .progress-track {
    height: 16px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .progress-pct {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }

  .whatsapp-inbox-slide.is-mobile-layout .prog-status {
    font-size: clamp(0.68rem, 3vw, 0.8rem);
    padding: 7px 14px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .va-push-modal {
    width: 100%;
    max-height: 92%;
  }

  .whatsapp-inbox-slide.is-mobile-layout .va-push-modal-header {
    padding: 16px 16px 12px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .va-push-phase {
    padding: 12px 16px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .va-push-footer {
    padding: 12px 16px 16px;
    flex-wrap: wrap;
  }

  .whatsapp-inbox-slide.is-mobile-layout .va-push-btn {
    flex: 1;
    min-width: 120px;
  }
}

/* ── Extractor-specific overrides ── */

.whatsapp-inbox-slide .va-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  color: rgba(212, 175, 55, 0.85);
  margin-bottom: 14px;
  font-weight: 600;
}

.whatsapp-inbox-slide #wiScene1 {
  perspective: 1200px;
}

.whatsapp-inbox-slide #wiScene2 {
  perspective: 1200px;
}

.whatsapp-inbox-slide .intro-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #faf8f5;
  margin-bottom: 4px;
  line-height: 1.05;
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
}

.whatsapp-inbox-slide .intro-panel {
  text-align: center;
  transform-style: preserve-3d;
  width: min(720px, 94%);
  margin: 0 auto;
}

.whatsapp-inbox-slide .intro-sub {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 22px;
}

.whatsapp-inbox-slide .va-brand {
  margin-bottom: 8px;
}

.whatsapp-inbox-slide .community-card {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 28px 32px 24px;
  min-height: 292px;
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(40, 40, 58, 0.95) 0%, rgba(19, 19, 28, 0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
  overflow: hidden;
  opacity: 1;
  transform: none;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.whatsapp-inbox-slide .community-card.show {
  animation: exCommunityIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes vaCommunityIn {
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

.whatsapp-inbox-slide .community-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.whatsapp-inbox-slide .community-card-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 180deg, transparent, rgba(212,175,55,0.08), transparent 30%);
  animation: exShineSpin 8s linear infinite;
  pointer-events: none;
}

.whatsapp-inbox-slide .community-card-gloss {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  border-radius: 28px 28px 0 0;
  pointer-events: none;
}

@keyframes vaShineSpin {
  to { transform: rotate(360deg); }
}

.whatsapp-inbox-slide .community-card-label {
  position: relative;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.75);
  margin-bottom: 12px;
}

.whatsapp-inbox-slide .community-chips {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.whatsapp-inbox-slide .community-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 1;
  transform: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.whatsapp-inbox-slide .community-chip.pop {
  animation: exChipIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes vaChipIn {
  to { opacity: 1; transform: translateX(0); }
}

.whatsapp-inbox-slide .community-chip.is-active {
  border-color: rgba(37, 211, 102, 0.45);
  box-shadow: 0 0 24px rgba(37, 211, 102, 0.12), inset 0 1px 0 rgba(255,255,255,0.06);
  background: linear-gradient(135deg, rgba(37,211,102,0.08) 0%, rgba(0,0,0,0.35) 100%);
}

.whatsapp-inbox-slide .community-chip-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(83, 189, 235, 0.12);
  color: rgba(83, 189, 235, 0.9);
  flex-shrink: 0;
}

.whatsapp-inbox-slide .community-chip-icon svg {
  width: 20px;
  height: 20px;
}

.whatsapp-inbox-slide .community-chip-name {
  flex: 1;
  font-weight: 600;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
}

.whatsapp-inbox-slide .community-chip-count {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 0.78rem;
  color: rgba(212, 175, 55, 0.95);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.whatsapp-inbox-slide .community-hint {
  position: relative;
  margin-top: 10px;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.45);
  opacity: 0;
}

.whatsapp-inbox-slide .community-hint.show {
  animation: vaFadeUp 0.5s ease 0.1s forwards;
}

@keyframes vaFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scene 2: Search & filters */
.whatsapp-inbox-slide .search-panel {
  width: min(720px, 94%);
  text-align: center;
}

.whatsapp-inbox-slide .search-label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #faf8f5;
  margin-bottom: 6px;
  opacity: 0;
}

.whatsapp-inbox-slide .search-label.show {
  animation: vaFadeUp 0.6s ease forwards;
}

.whatsapp-inbox-slide .search-sub {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 22px;
}

.whatsapp-inbox-slide .filter-glass {
  position: relative;
  text-align: left;
  padding: 28px 32px 24px;
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(40,40,58,0.95) 0%, rgba(19,19,28,0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(16px);
}

.whatsapp-inbox-slide .filter-glass.show {
  animation: vaFadeUp 0.65s ease 0.15s forwards;
}

.whatsapp-inbox-slide .filter-shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.5), transparent);
}

.whatsapp-inbox-slide .filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  margin-bottom: 20px;
}

.whatsapp-inbox-slide .filter-field label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.75);
  margin-bottom: 6px;
}

.whatsapp-inbox-slide .filter-input {
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.35);
  min-height: 42px;
  transition: border-color 0.25s, color 0.25s, box-shadow 0.25s;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  outline: none;
}

.whatsapp-inbox-slide input.filter-input {
  display: block;
  cursor: default;
}

.whatsapp-inbox-slide input.filter-input--hint::placeholder {
  color: transparent;
  opacity: 0;
}

.whatsapp-inbox-slide .filter-input.is-filled {
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(83, 189, 235, 0.35);
}

.whatsapp-inbox-slide .filter-input--empty {
  color: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.06);
  min-height: 42px;
}

.whatsapp-inbox-slide .filter-field label {
  letter-spacing: 0.1em;
  line-height: 1.3;
}

.whatsapp-inbox-slide .filter-input.typing {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.08);
}

.whatsapp-inbox-slide .filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 14px;
}

.whatsapp-inbox-slide .filter-btn {
  position: relative;
  border: none;
  cursor: default;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 12px;
  overflow: hidden;
}

.whatsapp-inbox-slide .filter-btn--ghost {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-inbox-slide .filter-btn--search {
  padding: 0;
  background: transparent;
}

.whatsapp-inbox-slide .filter-btn-face {
  display: block;
  position: relative;
  padding: 11px 28px;
  border-radius: 12px;
  background: linear-gradient(145deg, #25D366 0%, #1da851 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  overflow: hidden;
}

.whatsapp-inbox-slide .filter-btn-gloss {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  pointer-events: none;
}

.whatsapp-inbox-slide .filter-btn--search.is-target .filter-btn-face {
  box-shadow: 0 0 0 3px rgba(37,211,102,0.35), 0 12px 32px rgba(37,211,102,0.45);
  transform: scale(1.04);
}

.whatsapp-inbox-slide .filter-btn--search.pressed .filter-btn-face {
  transform: scale(0.97);
}

.whatsapp-inbox-slide .filter-btn-ripple {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0);
  pointer-events: none;
}

.whatsapp-inbox-slide .filter-btn-ripple.show {
  animation: exRipple 0.45s ease forwards;
}

@keyframes vaRipple {
  0% { opacity: 0.6; transform: scale(0); }
  100% { opacity: 0; transform: scale(2.5); }
}

.whatsapp-inbox-slide .filter-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.whatsapp-inbox-slide .filter-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(212, 175, 55, 0.9);
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  opacity: 0;
}

.whatsapp-inbox-slide .filter-badge.show {
  animation: vaFadeUp 0.4s ease forwards;
}

.whatsapp-inbox-slide .filter-results {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(83, 189, 235, 0.95);
  opacity: 0;
}

.whatsapp-inbox-slide .filter-results.show {
  animation: vaFadeUp 0.5s ease forwards;
}

/* Scene 3: Results table — 5 columns */
.whatsapp-inbox-slide .results-meta.show {
  animation: vaFadeUp 0.5s ease forwards;
}

.whatsapp-inbox-slide .validation-table-head,
.whatsapp-inbox-slide .validation-row {
  grid-template-columns: 0.82fr 0.48fr 0.95fr 1.12fr 0.42fr;
}

.whatsapp-inbox-slide .validation-table-head .col-building {
  text-align: left;
}

.whatsapp-inbox-slide .validation-table-head .col-unit {
  text-align: center;
}

.whatsapp-inbox-slide .validation-row .v-building {
  text-align: left;
  justify-self: start;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.whatsapp-inbox-slide .validation-row .v-building,
.whatsapp-inbox-slide .validation-row .v-landlord,
.whatsapp-inbox-slide .validation-row .v-country {
  text-align: center;
  justify-self: center;
}

.whatsapp-inbox-slide .validation-row .v-landlord {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
}

.whatsapp-inbox-slide .validation-row .v-country {
  font-weight: 700;
  font-size: 0.72rem;
  color: rgba(212, 175, 55, 0.85);
}

.whatsapp-inbox-slide #wiScene3.active .validation-label,
.whatsapp-inbox-slide .validation-label.show {
  opacity: 1;
  animation: vaFadeUp 0.5s ease forwards;
}

/* Stat card variants */
.whatsapp-inbox-slide .wi-stat-card.filtered .wi-stat-inner {
  background: linear-gradient(160deg, rgba(83,189,235,0.12) 0%, rgba(19,19,28,0.95) 100%);
  border-color: rgba(83, 189, 235, 0.35);
}

.whatsapp-inbox-slide .wi-stat-card.buildings .wi-stat-inner {
  background: linear-gradient(160deg, rgba(212,175,55,0.12) 0%, rgba(19,19,28,0.95) 100%);
  border-color: rgba(212, 175, 55, 0.35);
}

.whatsapp-inbox-slide .wi-stat-card.landlords .wi-stat-inner {
  background: linear-gradient(160deg, rgba(37,211,102,0.1) 0%, rgba(19,19,28,0.95) 100%);
  border-color: rgba(37, 211, 102, 0.35);
}

.whatsapp-inbox-slide .wi-stat-card.countries .wi-stat-inner {
  background: linear-gradient(160deg, rgba(168,85,247,0.1) 0%, rgba(19,19,28,0.95) 100%);
  border-color: rgba(168, 85, 247, 0.35);
}

.whatsapp-inbox-slide .wi-stat-card.filtered .wi-stat-glow { background: rgba(83,189,235,0.25); }
.whatsapp-inbox-slide .wi-stat-card.buildings .wi-stat-glow { background: rgba(212,175,55,0.35); }
.whatsapp-inbox-slide .wi-stat-card.landlords .wi-stat-glow { background: rgba(37,211,102,0.35); }
.whatsapp-inbox-slide .wi-stat-card.countries .wi-stat-glow { background: rgba(168,85,247,0.25); }

.whatsapp-inbox-slide .wi-stat-card.filtered .wi-stat-icon-wrap {
  background: rgba(83,189,235,0.15);
  color: rgba(83,189,235,0.95);
  box-shadow: 0 4px 16px rgba(83,189,235,0.2);
}

.whatsapp-inbox-slide .wi-stat-card.buildings .wi-stat-icon-wrap {
  background: rgba(212,175,55,0.15);
  color: rgba(212,175,55,0.95);
  box-shadow: 0 4px 16px rgba(212,175,55,0.2);
}

.whatsapp-inbox-slide .wi-stat-card.landlords .wi-stat-icon-wrap {
  background: rgba(37,211,102,0.15);
  color: #25D366;
  box-shadow: 0 4px 16px rgba(37,211,102,0.2);
}

.whatsapp-inbox-slide .wi-stat-card.countries .wi-stat-icon-wrap {
  background: rgba(168,85,247,0.15);
  color: rgba(196, 181, 253, 0.95);
  box-shadow: 0 4px 16px rgba(168,85,247,0.2);
}

.whatsapp-inbox-slide .wi-stat-card.filtered .wi-stat-value {
  background: linear-gradient(135deg, #53bdeb 0%, #7dd3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.whatsapp-inbox-slide .wi-stat-card.buildings .wi-stat-value {
  background: linear-gradient(135deg, #d4af37 0%, #f0d78c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.whatsapp-inbox-slide .wi-stat-card.landlords .wi-stat-value {
  background: linear-gradient(135deg, #25D366 0%, #86efac 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.whatsapp-inbox-slide .wi-stat-card.countries .wi-stat-value {
  background: linear-gradient(135deg, #a855f7 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.whatsapp-inbox-slide .export-btn.pdf .export-btn-inner {
  background: linear-gradient(145deg, rgba(239,68,68,0.18) 0%, rgba(19,19,28,0.9) 100%);
  border-color: rgba(239, 68, 68, 0.35);
  color: rgba(248, 113, 113, 0.95);
}

@media (max-width: 767px) {
  .whatsapp-inbox-slide.is-mobile-layout .intro-title {
    font-size: 1.75rem;
    margin-bottom: 2px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .intro-sub {
    font-size: 0.78rem;
    margin-bottom: 10px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .va-brand {
    margin-bottom: 6px;
    font-size: 0.72rem;
  }

  .whatsapp-inbox-slide.is-mobile-layout .intro-panel {
    width: min(720px, 94%);
  }

  .whatsapp-inbox-slide.is-mobile-layout .community-card {
    padding: 20px 18px 18px;
    min-height: 280px;
    border-radius: 20px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .community-chip {
    padding: 8px 12px;
    gap: 8px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .community-chip-name {
    font-size: 0.76rem;
  }

  .whatsapp-inbox-slide.is-mobile-layout .community-chip-count {
    font-size: 0.68rem;
    padding: 2px 6px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .community-chip-icon {
    width: 30px;
    height: 30px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .filter-glass {
    padding: 20px 18px 18px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .filter-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .validation-table-head,
  .whatsapp-inbox-slide.is-mobile-layout .validation-row {
    grid-template-columns: 0.72fr 0.42fr 0.78fr 1.05fr 0.38fr;
    padding: 8px 10px;
    font-size: 0.62rem;
    gap: 4px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .validation-table-head {
    font-size: 0.52rem;
  }

  .whatsapp-inbox-slide.is-mobile-layout .validation-row .v-building,
  .whatsapp-inbox-slide.is-mobile-layout .validation-row .v-landlord {
    font-size: 0.58rem;
  }

  .whatsapp-inbox-slide.is-mobile-layout .validation-row .v-mobile {
    font-size: 0.56rem;
  }

  .whatsapp-inbox-slide.is-mobile-layout .validation-row .v-country {
    font-size: 0.58rem;
  }

  .whatsapp-inbox-slide.is-mobile-layout .validation-panel,
  .whatsapp-inbox-slide.is-mobile-layout .results-panel {
    width: min(720px, 94%);
  }

  .whatsapp-inbox-slide.is-mobile-layout .validation-glass.results-glass {
    padding: 20px 18px 18px;
    min-height: 280px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .search-label {
    font-size: 1.8rem;
  }

  .whatsapp-inbox-slide.is-mobile-layout .wi-mini-stats {
    font-size: 0.72rem;
    gap: 8px 12px;
  }
}

/* ── WA Validator: Scene 1 Connect ── */
.whatsapp-inbox-slide .connect-card {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 28px 32px 26px;
  min-height: 292px;
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(40, 40, 58, 0.95) 0%, rgba(19, 19, 28, 0.98) 100%);
  border: 1px solid rgba(37, 211, 102, 0.28);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px) rotateX(8deg);
}

.whatsapp-inbox-slide .connect-card.show {
  animation: vaConnectIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes vaConnectIn {
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

.whatsapp-inbox-slide .connect-card-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 180deg, transparent, rgba(37,211,102,0.1), transparent 30%);
  animation: vaShineSpin 8s linear infinite;
  pointer-events: none;
}

.whatsapp-inbox-slide .connect-card-gloss {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  border-radius: 24px 24px 0 0;
  pointer-events: none;
}

.whatsapp-inbox-slide .connect-card-label {
  position: relative;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(37, 211, 102, 0.75);
  margin-bottom: 14px;
  text-align: left;
}

.whatsapp-inbox-slide .import-arrival-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.35);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
  transform: translateY(8px);
}

.whatsapp-inbox-slide .import-arrival-badge.show {
  animation: vaFadeUp 0.55s ease 0.15s forwards;
}

.whatsapp-inbox-slide .import-arrival-badge .wa-icon {
  width: 20px;
  height: 20px;
  color: #25D366;
  flex-shrink: 0;
}

.whatsapp-inbox-slide .import-arrival-badge strong {
  color: #25D366;
  font-weight: 700;
}

.whatsapp-inbox-slide .connect-step {
  position: relative;
  text-align: left;
}

.whatsapp-inbox-slide .connect-step-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.whatsapp-inbox-slide .connect-step-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #25D366;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  flex-shrink: 0;
}

.whatsapp-inbox-slide .connect-step-head strong {
  display: block;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 4px;
}

.whatsapp-inbox-slide .connect-step-head p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.48);
  margin: 0;
  line-height: 1.4;
}

.whatsapp-inbox-slide .qr-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 18px;
}

.whatsapp-inbox-slide .qr-frame {
  position: relative;
  width: 148px;
  height: 148px;
  border-radius: 18px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255,255,255,0.1);
  overflow: hidden;
}

.whatsapp-inbox-slide .qr-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.whatsapp-inbox-slide .qr-pattern {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, #111 50%, transparent 50%) 0 0 / 12px 12px,
    linear-gradient(#111 50%, transparent 50%) 0 0 / 12px 12px;
  opacity: 0.85;
}

.whatsapp-inbox-slide .qr-scan-line {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #25D366, transparent);
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.8);
  top: 8px;
  opacity: 0;
}

.whatsapp-inbox-slide .qr-frame.is-scanning .qr-scan-line {
  opacity: 1;
  animation: vaQrScan 1.6s ease-in-out infinite;
}

@keyframes vaQrScan {
  0%, 100% { top: 8px; }
  50% { top: calc(100% - 11px); }
}

.whatsapp-inbox-slide .qr-hint {
  margin-top: 12px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}

.whatsapp-inbox-slide .connected-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.4);
  opacity: 0;
  transform: scale(0.96);
}

.whatsapp-inbox-slide .connected-box.show {
  animation: vaConnectedPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes vaConnectedPop {
  to { opacity: 1; transform: scale(1); }
}

.whatsapp-inbox-slide .connected-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.8);
  animation: vaLivePulse 1.8s ease-in-out infinite;
}

@keyframes vaLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.whatsapp-inbox-slide .connected-text {
  flex: 1;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.whatsapp-inbox-slide .live-pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #25D366;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.4);
  opacity: 0;
}

.whatsapp-inbox-slide .live-pill.show {
  animation: vaFadeUp 0.4s ease forwards;
}

.whatsapp-inbox-slide .connect-btn {
  position: relative;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  width: 100%;
}

.whatsapp-inbox-slide .connect-btn.hidden {
  display: none;
}

.whatsapp-inbox-slide .connect-btn-face {
  display: block;
  position: relative;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(145deg, #25D366 0%, #128C7E 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.whatsapp-inbox-slide .connect-btn-gloss {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, transparent 100%);
  pointer-events: none;
}

.whatsapp-inbox-slide .connect-btn.is-target .connect-btn-face {
  animation: vaBtnGlow 1.2s ease-in-out infinite;
}

@keyframes vaBtnGlow {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37,211,102,0.4); }
  50% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55), 0 0 0 6px rgba(37,211,102,0.15); }
}

.whatsapp-inbox-slide .connect-btn.pressed .connect-btn-face {
  transform: scale(0.97);
}

.whatsapp-inbox-slide .connect-btn-ripple {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
  opacity: 0;
  pointer-events: none;
}

.whatsapp-inbox-slide .connect-btn-ripple.show {
  animation: vaRipple 0.45s ease-out forwards;
}

/* ── Scene 2: Batch ── */
.whatsapp-inbox-slide .batch-panel {
  width: min(720px, 94%);
  margin: 0 auto;
  text-align: center;
}

.whatsapp-inbox-slide .batch-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #faf8f5;
  margin-bottom: 6px;
  opacity: 0;
}

.whatsapp-inbox-slide .batch-label.show {
  animation: vaFadeUp 0.6s ease forwards;
}

.whatsapp-inbox-slide .batch-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.48);
  margin-bottom: 18px;
}

.whatsapp-inbox-slide .batch-glass {
  position: relative;
  padding: 22px 24px 20px;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(40, 40, 58, 0.92) 0%, rgba(19, 19, 28, 0.96) 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(16px);
}

.whatsapp-inbox-slide .batch-glass.show {
  animation: vaFadeUp 0.65s ease 0.1s forwards;
}

.whatsapp-inbox-slide .batch-shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 100%);
  border-radius: 22px 22px 0 0;
  pointer-events: none;
}

.whatsapp-inbox-slide .batch-status {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.28);
  text-align: left;
  opacity: 0;
}

.whatsapp-inbox-slide .batch-status.show {
  animation: vaFadeUp 0.5s ease forwards;
}

.whatsapp-inbox-slide .batch-status-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #25D366;
  background: rgba(37, 211, 102, 0.15);
  flex-shrink: 0;
}

.whatsapp-inbox-slide .batch-status strong {
  display: block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2px;
}

.whatsapp-inbox-slide .batch-status p {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.48);
  margin: 0;
}

.whatsapp-inbox-slide #wiScene2 .validation-table-head,
.whatsapp-inbox-slide #wiScene2 .validation-row {
  grid-template-columns: 0.55fr 1.35fr 1.15fr 0.72fr;
}

.whatsapp-inbox-slide .v-status.pending {
  color: rgba(212, 175, 55, 0.95);
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.35);
}

.whatsapp-inbox-slide .v-status.registered {
  color: #25D366;
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.35);
}

.whatsapp-inbox-slide .v-status.unregistered {
  color: rgba(248, 113, 113, 0.95);
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.3);
}

.whatsapp-inbox-slide .v-status.invalid {
  color: rgba(251, 146, 60, 0.95);
  background: rgba(251, 146, 60, 0.1);
  border-color: rgba(251, 146, 60, 0.3);
}

.whatsapp-inbox-slide .prog-scene-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
  text-align: center;
}

/* ── Scene 4: Six stat cards ── */
.whatsapp-inbox-slide .wi-stats-grid--six {
  flex-wrap: wrap;
  max-width: 920px;
  gap: 16px;
}

.whatsapp-inbox-slide .wi-stats-grid--six .wi-stat-card {
  width: 140px;
}

.whatsapp-inbox-slide .wi-stat-card:nth-child(5).pop { animation-delay: 0.48s; }
.whatsapp-inbox-slide .wi-stat-card:nth-child(6).pop { animation-delay: 0.6s; }

.whatsapp-inbox-slide .wi-stat-card.pending .wi-stat-inner {
  border-color: rgba(212, 175, 55, 0.35);
}

.whatsapp-inbox-slide .wi-stat-card.registered .wi-stat-inner {
  border-color: rgba(37, 211, 102, 0.4);
}

.whatsapp-inbox-slide .wi-stat-card.unregistered .wi-stat-inner {
  border-color: rgba(248, 113, 113, 0.35);
}

.whatsapp-inbox-slide .wi-stat-card.invalid .wi-stat-inner {
  border-color: rgba(251, 146, 60, 0.35);
}

.whatsapp-inbox-slide .wi-stat-card.errors .wi-stat-inner {
  border-color: rgba(239, 68, 68, 0.35);
}

.whatsapp-inbox-slide .wi-stat-card.pending .wi-stat-value { color: rgba(212, 175, 55, 0.95); }
.whatsapp-inbox-slide .wi-stat-card.registered .wi-stat-value { color: #25D366; }
.whatsapp-inbox-slide .wi-stat-card.unregistered .wi-stat-value { color: rgba(248, 113, 113, 0.95); }
.whatsapp-inbox-slide .wi-stat-card.invalid .wi-stat-value { color: rgba(251, 146, 60, 0.95); }
.whatsapp-inbox-slide .wi-stat-card.errors .wi-stat-value { color: rgba(239, 68, 68, 0.95); }

.whatsapp-inbox-slide .wi-stat-card.pending .wi-stat-glow { background: rgba(212, 175, 55, 0.2); }
.whatsapp-inbox-slide .wi-stat-card.registered .wi-stat-glow { background: rgba(37, 211, 102, 0.25); }
.whatsapp-inbox-slide .wi-stat-card.unregistered .wi-stat-glow { background: rgba(248, 113, 113, 0.2); }
.whatsapp-inbox-slide .wi-stat-card.invalid .wi-stat-glow { background: rgba(251, 146, 60, 0.2); }
.whatsapp-inbox-slide .wi-stat-card.errors .wi-stat-glow { background: rgba(239, 68, 68, 0.2); }

.whatsapp-inbox-slide .wi-stats-grid--six .wi-stat-inner {
  padding: 20px 14px 18px;
}

.whatsapp-inbox-slide .wi-stats-grid--six .wi-stat-value {
  font-size: 2rem;
}

.whatsapp-inbox-slide .wi-stats-grid--six .wi-stat-label {
  font-size: 0.68rem;
}

/* ── Push modal group preview ── */
.whatsapp-inbox-slide .va-group-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0;
}

.whatsapp-inbox-slide .va-group-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.whatsapp-inbox-slide .va-group-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.whatsapp-inbox-slide .va-group-dot--a { background: #53BDEB; box-shadow: 0 0 8px rgba(83,189,235,0.6); }
.whatsapp-inbox-slide .va-group-dot--b { background: #D4AF37; box-shadow: 0 0 8px rgba(212,175,55,0.5); }

.whatsapp-inbox-slide .va-group-chip strong {
  color: rgba(212, 175, 55, 0.95);
  font-weight: 700;
}

.whatsapp-inbox-slide .va-transfer-ring {
  stroke: url(#wcProgGrad);
}

.whatsapp-inbox-slide .export-btn.push .export-btn-inner svg.folder-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: rgba(212, 175, 55, 0.95);
}

.whatsapp-inbox-slide .va-push-modal-icon--folder {
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.25) 0%, rgba(83, 189, 235, 0.15) 100%);
  border-color: rgba(212, 175, 55, 0.45);
  color: rgba(212, 175, 55, 0.95);
}

.whatsapp-inbox-slide .va-push-modal-icon--folder svg {
  width: 26px;
  height: 26px;
}

@media (max-width: 767px) {
  .whatsapp-inbox-slide.is-mobile-layout .connect-card {
    padding: 20px 18px 18px;
    min-height: 280px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .qr-frame {
    width: 120px;
    height: 120px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .batch-panel {
    width: min(720px, 94%);
  }

  .whatsapp-inbox-slide.is-mobile-layout .batch-label {
    font-size: 1.5rem;
  }

  .whatsapp-inbox-slide.is-mobile-layout .wi-stats-grid--six {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 100%;
  }

  .whatsapp-inbox-slide.is-mobile-layout .wi-stats-grid--six .wi-stat-card {
    width: auto;
  }

  .whatsapp-inbox-slide.is-mobile-layout .wi-stats-grid--six .wi-stat-inner {
    padding: 14px 10px 12px;
  }

  .whatsapp-inbox-slide.is-mobile-layout .wi-stats-grid--six .wi-stat-value {
    font-size: 1.4rem;
  }

  .whatsapp-inbox-slide.is-mobile-layout #wiScene2 .validation-table-head,
  .whatsapp-inbox-slide.is-mobile-layout #wiScene2 .validation-row {
    grid-template-columns: 0.5fr 1.1fr 0.65fr;
  }

  .whatsapp-inbox-slide.is-mobile-layout #wiScene2 .validation-table-head .col-landlord,
  .whatsapp-inbox-slide.is-mobile-layout #wiScene2 .validation-row .v-landlord {
    display: none;
  }
}

/* ── WA Campaigns: brand alias ── */
.whatsapp-inbox-slide .wc-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  color: rgba(212, 175, 55, 0.85);
  margin-bottom: 8px;
  font-weight: 600;
}

/* Scene 1: Arrival */
.whatsapp-inbox-slide .wc-arrival-card {
  position: relative;
  width: 100%;
  padding: 28px 32px 26px;
  min-height: 292px;
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(40, 40, 58, 0.95) 0%, rgba(19, 19, 28, 0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(24px) rotateX(8deg);
  text-align: left;
}

.whatsapp-inbox-slide .wc-arrival-card.show {
  animation: wcArrivalIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes wcArrivalIn {
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

.whatsapp-inbox-slide .wc-arrival-shine {
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: conic-gradient(from 180deg, transparent, rgba(212,175,55,0.1), transparent 30%);
  animation: vaShineSpin 8s linear infinite;
  pointer-events: none;
}

.whatsapp-inbox-slide .wc-arrival-gloss {
  position: absolute;
  top: 0; left: 0; right: 0; height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  border-radius: 24px 24px 0 0;
  pointer-events: none;
}

.whatsapp-inbox-slide .wc-arrival-label {
  position: relative;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.75);
  margin-bottom: 14px;
}

.whatsapp-inbox-slide .wc-arrival-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
}

.whatsapp-inbox-slide .wc-arrival-badge.show { animation: vaFadeUp 0.55s ease 0.15s forwards; }
.whatsapp-inbox-slide .wc-arrival-badge svg { width: 20px; height: 20px; color: rgba(212, 175, 55, 0.95); flex-shrink: 0; }
.whatsapp-inbox-slide .wc-arrival-badge strong { color: rgba(212, 175, 55, 0.95); }

.whatsapp-inbox-slide .wc-arrival-meta {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  opacity: 0;
}

.whatsapp-inbox-slide .wc-arrival-meta.show { animation: vaFadeUp 0.5s ease forwards; }

.whatsapp-inbox-slide .wc-arrival-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.52);
}

.whatsapp-inbox-slide .wc-arrival-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 8px rgba(37, 211, 102, 0.6);
  flex-shrink: 0;
}

.whatsapp-inbox-slide .wc-arrival-dot--gold {
  background: #D4AF37;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.whatsapp-inbox-slide .wc-new-btn {
  position: relative;
  border: none;
  background: none;
  padding: 0;
  width: 100%;
  cursor: pointer;
}

.whatsapp-inbox-slide .wc-new-btn-face {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  background: linear-gradient(145deg, rgba(212,175,55,0.95) 0%, rgba(184,148,46,0.9) 100%);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 24px rgba(212,175,55,0.3);
}

.whatsapp-inbox-slide .wc-new-btn-face svg { width: 18px; height: 18px; }
.whatsapp-inbox-slide .wc-new-btn-gloss {
  position: absolute;
  top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, transparent 100%);
  border-radius: 14px 14px 0 0;
  pointer-events: none;
}

.whatsapp-inbox-slide .wc-new-btn.is-target .wc-new-btn-face { animation: vaBtnGlow 1.2s ease-in-out infinite; }
.whatsapp-inbox-slide .wc-new-btn.pressed .wc-new-btn-face { transform: scale(0.97); }

.whatsapp-inbox-slide .wc-new-btn-ripple {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
  opacity: 0;
  pointer-events: none;
}

.whatsapp-inbox-slide .wc-new-btn-ripple.show { animation: vaRipple 0.45s ease-out forwards; }

/* Wizard */
.whatsapp-inbox-slide .wc-wizard-panel {
  width: min(720px, 94%);
  margin: 0 auto;
  text-align: center;
}

.whatsapp-inbox-slide .wc-wizard-steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.whatsapp-inbox-slide .wc-step {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.25);
}

.whatsapp-inbox-slide .wc-step.on {
  color: rgba(212, 175, 55, 0.95);
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.12);
}

.whatsapp-inbox-slide .wc-step.done {
  color: rgba(37, 211, 102, 0.85);
  border-color: rgba(37, 211, 102, 0.35);
}

.whatsapp-inbox-slide .wc-wizard-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #faf8f5;
  margin-bottom: 16px;
  opacity: 0;
}

.whatsapp-inbox-slide .wc-wizard-title.show { animation: vaFadeUp 0.6s ease forwards; }

.whatsapp-inbox-slide .wc-wizard-glass,
.whatsapp-inbox-slide .wc-review-glass {
  position: relative;
  padding: 24px 26px 22px;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(40, 40, 58, 0.92) 0%, rgba(19, 19, 28, 0.96) 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  text-align: left;
  opacity: 0;
  transform: translateY(16px);
}

.whatsapp-inbox-slide .wc-wizard-glass.show,
.whatsapp-inbox-slide .wc-review-glass.show { animation: vaFadeUp 0.65s ease forwards; }

.whatsapp-inbox-slide .wc-wizard-shine {
  position: absolute;
  top: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 100%);
  border-radius: 22px 22px 0 0;
  pointer-events: none;
}

.whatsapp-inbox-slide .wc-field-row {
  margin-bottom: 14px;
}

.whatsapp-inbox-slide .wc-field-row label {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
}

.whatsapp-inbox-slide .wc-field-value {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.84rem;
  color: rgba(255,255,255,0.88);
}

.whatsapp-inbox-slide .wc-field-value--group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-inbox-slide .wc-group-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #53BDEB;
  box-shadow: 0 0 8px rgba(83,189,235,0.6);
}

.whatsapp-inbox-slide .wc-audience-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
  opacity: 0;
}

.whatsapp-inbox-slide .wc-audience-stats.show { animation: vaFadeUp 0.5s ease forwards; }

.whatsapp-inbox-slide .wc-aud-stat {
  padding: 14px 10px;
  border-radius: 14px;
  text-align: center;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  transform: translateY(12px);
}

.whatsapp-inbox-slide .wc-aud-stat.pop { animation: vaFadeUp 0.5s ease forwards; }

.whatsapp-inbox-slide .wc-aud-stat.will-send { border-color: rgba(37,211,102,0.35); }
.whatsapp-inbox-slide .wc-aud-stat.will-send .wc-aud-value { color: #25D366; }
.whatsapp-inbox-slide .wc-aud-stat.in-audience .wc-aud-value { color: rgba(83,189,235,0.95); }
.whatsapp-inbox-slide .wc-aud-value {
  font-size: 1.6rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}

.whatsapp-inbox-slide .wc-aud-label {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* Template scene */
.whatsapp-inbox-slide .wc-template-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.whatsapp-inbox-slide .wc-template-card {
  position: relative;
  padding: 20px 18px;
  border-radius: 18px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.1);
  text-align: left;
  opacity: 0;
}

.whatsapp-inbox-slide .wc-template-card.show { animation: vaFadeUp 0.6s ease forwards; }
.whatsapp-inbox-slide .wc-template-card.is-selected {
  border-color: rgba(37,211,102,0.45);
  box-shadow: 0 0 24px rgba(37,211,102,0.12);
}

.whatsapp-inbox-slide .wc-template-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #25D366;
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.35);
  margin-bottom: 10px;
}

.whatsapp-inbox-slide .wc-template-name {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 6px;
}

.whatsapp-inbox-slide .wc-template-lang,
.whatsapp-inbox-slide .wc-template-vars {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.48);
  margin: 0 0 4px;
}

.whatsapp-inbox-slide .wc-template-meta {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
}

.whatsapp-inbox-slide .wc-phone-preview {
  opacity: 0;
  transform: translateY(16px);
}

.whatsapp-inbox-slide .wc-phone-preview.show { animation: vaFadeUp 0.65s ease forwards; }

.whatsapp-inbox-slide .wc-phone-shell {
  width: 220px;
  margin: 0 auto;
  border-radius: 28px;
  background: linear-gradient(160deg, #1a1a24 0%, #0e0e14 100%);
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  overflow: hidden;
}

.whatsapp-inbox-slide .wc-phone-notch {
  width: 60px; height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  margin: 10px auto 8px;
}

.whatsapp-inbox-slide .wc-phone-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(37,211,102,0.12);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
}

.whatsapp-inbox-slide .wc-phone-back { color: rgba(37,211,102,0.9); }

.whatsapp-inbox-slide .wc-phone-body {
  padding: 14px 12px 18px;
  min-height: 200px;
  background: linear-gradient(180deg, #0b1410 0%, #0a0a0f 100%);
}

.whatsapp-inbox-slide .wc-bubble {
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 12px 12px 12px 4px;
  background: rgba(37,211,102,0.15);
  border: 1px solid rgba(37,211,102,0.25);
  font-size: 0.62rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.85);
}

.whatsapp-inbox-slide .wc-bubble p { margin: 0 0 6px; }
.whatsapp-inbox-slide .wc-bubble-sign { color: rgba(255,255,255,0.5); font-size: 0.58rem; }
.whatsapp-inbox-slide .wc-bubble-time { display: block; text-align: right; font-size: 0.52rem; color: rgba(255,255,255,0.35); margin-top: 4px; }

/* Review */
.whatsapp-inbox-slide .wc-review-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.78rem;
}

.whatsapp-inbox-slide .wc-review-row span { color: rgba(255,255,255,0.45); }
.whatsapp-inbox-slide .wc-review-row strong { color: rgba(255,255,255,0.88); text-align: right; }

.whatsapp-inbox-slide .wc-review-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.3);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.82);
}

.whatsapp-inbox-slide .wc-review-highlight-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(37,211,102,0.2);
  color: #25D366;
  font-weight: 700;
}

.whatsapp-inbox-slide .wc-start-wrap {
  margin-top: 20px;
  opacity: 0;
}

.whatsapp-inbox-slide .wc-start-wrap.show { animation: vaFadeUp 0.5s ease forwards; }

.whatsapp-inbox-slide .wc-start-btn {
  position: relative;
  border: none;
  background: none;
  padding: 0;
  width: 100%;
  cursor: pointer;
}

.whatsapp-inbox-slide .wc-start-btn-face {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(145deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 10px 28px rgba(37,211,102,0.35);
  position: relative;
  overflow: hidden;
}

.whatsapp-inbox-slide .wc-start-icon { font-size: 1rem; }
.whatsapp-inbox-slide .wc-start-btn-gloss {
  position: absolute;
  top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, transparent 100%);
  pointer-events: none;
}

.whatsapp-inbox-slide .wc-start-btn.is-target .wc-start-btn-face { animation: vaBtnGlow 1.2s ease-in-out infinite; }
.whatsapp-inbox-slide .wc-start-btn-ripple {
  position: absolute; inset: 0; border-radius: 16px;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
  opacity: 0; pointer-events: none;
}

.whatsapp-inbox-slide .wc-start-btn-ripple.show { animation: vaRipple 0.45s ease-out forwards; }

/* Start modal */
.whatsapp-inbox-slide .wc-start-overlay {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.whatsapp-inbox-slide .wc-start-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.whatsapp-inbox-slide .wc-start-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 10, 0.72);
  backdrop-filter: blur(8px);
}

.whatsapp-inbox-slide .wc-start-modal {
  position: relative;
  width: min(420px, 92%);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-inbox-slide .wc-start-overlay.is-open .wc-start-modal {
  transform: scale(1) translateY(0);
}

.whatsapp-inbox-slide .wc-start-modal-inner {
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(28, 32, 44, 0.98) 0%, rgba(14, 16, 24, 0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 24px 48px rgba(0,0,0,0.55);
}

.whatsapp-inbox-slide .wc-start-modal-header {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  text-align: left;
}

.whatsapp-inbox-slide .wc-start-modal-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(37,211,102,0.15);
  border: 1px solid rgba(37,211,102,0.35);
  color: #25D366;
  flex-shrink: 0;
}

.whatsapp-inbox-slide .wc-start-modal-icon svg { width: 24px; height: 24px; }
.whatsapp-inbox-slide .wc-start-modal-header h2 { font-size: 1.1rem; color: #faf8f5; margin: 0 0 4px; }
.whatsapp-inbox-slide .wc-start-modal-header p { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin: 0; }

.whatsapp-inbox-slide .wc-start-modal-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.whatsapp-inbox-slide .wc-start-stat {
  padding: 10px 8px;
  border-radius: 12px;
  text-align: center;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
}

.whatsapp-inbox-slide .wc-start-stat strong {
  display: block;
  font-size: 0.9rem;
  color: rgba(212, 175, 55, 0.95);
  margin-bottom: 2px;
}

.whatsapp-inbox-slide .wc-start-stat span {
  font-size: 0.52rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
}

.whatsapp-inbox-slide .wc-start-modal-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 18px;
  text-align: left;
}

.whatsapp-inbox-slide .wc-start-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.whatsapp-inbox-slide .wc-start-modal-btn {
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.82rem;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
}

.whatsapp-inbox-slide .wc-start-modal-btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.65);
}

.whatsapp-inbox-slide .wc-start-modal-btn--primary {
  background: linear-gradient(145deg, #25D366, #128C7E);
  color: #fff;
  border-color: rgba(255,255,255,0.15);
}

.whatsapp-inbox-slide .wc-start-modal-btn--primary.is-target {
  box-shadow: 0 0 0 4px rgba(37,211,102,0.2);
}

.whatsapp-inbox-slide .wc-modal-btn-ripple {
  position: absolute; inset: 0; border-radius: 12px;
  background: radial-gradient(circle, rgba(255,255,255,0.35) 0%, transparent 70%);
  opacity: 0; pointer-events: none;
}

.whatsapp-inbox-slide .wc-modal-btn-ripple.show { animation: vaRipple 0.45s ease-out forwards; }

/* Results stats */
.whatsapp-inbox-slide #wiScene5 .wi-stats-grid {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 820px;
  margin: 0 auto 20px;
}

.whatsapp-inbox-slide #wiScene5 .wi-stat-card {
  width: 170px;
}

.whatsapp-inbox-slide .wi-stat-card.sent .wi-stat-inner { border-color: rgba(83,189,235,0.4); }
.whatsapp-inbox-slide .wi-stat-card.delivered .wi-stat-inner { border-color: rgba(37,211,102,0.4); }
.whatsapp-inbox-slide .wi-stat-card.read .wi-stat-inner { border-color: rgba(212,175,55,0.4); }
.whatsapp-inbox-slide .wi-stat-card.replied .wi-stat-inner { border-color: rgba(167,139,250,0.4); }

.whatsapp-inbox-slide .wi-stat-card.sent .wi-stat-value { color: rgba(83,189,235,0.95); }
.whatsapp-inbox-slide .wi-stat-card.delivered .wi-stat-value { color: #25D366; }
.whatsapp-inbox-slide .wi-stat-card.read .wi-stat-value { color: rgba(212,175,55,0.95); }
.whatsapp-inbox-slide .wi-stat-card.replied .wi-stat-value { color: rgba(167,139,250,0.95); }

.whatsapp-inbox-slide .wc-complete-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: #25D366;
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.35);
  opacity: 0;
  margin-top: 8px;
}

.whatsapp-inbox-slide .wc-complete-badge.show { animation: vaFadeUp 0.5s ease forwards; }
.whatsapp-inbox-slide .wc-complete-badge svg { width: 18px; height: 18px; stroke: #25D366; fill: none; stroke-width: 3; }

.whatsapp-inbox-slide .prog-ring-fg { stroke: url(#wcProgGrad); }

.whatsapp-inbox-slide #wiScene1 { perspective: 1200px; }
.whatsapp-inbox-slide #wiScene5 { perspective: 1400px; }

/* Sending phase — full-width progress card */
.whatsapp-inbox-slide #wiScene5 .wc-send-phase,
.whatsapp-inbox-slide #wiScene5 .progress-panel {
  width: min(1200px, 94%);
  max-width: 100%;
}

.whatsapp-inbox-slide #wiScene5 .prog-glass {
  width: 100%;
  box-sizing: border-box;
  padding: 44px 56px 40px;
}

.whatsapp-inbox-slide #wiScene5 .progress-track-wrap {
  max-width: none;
  width: 100%;
}

.whatsapp-inbox-slide #wiScene5 .progress-track {
  width: 100%;
}

@media (max-width: 767px) {
  .whatsapp-inbox-slide.is-mobile-layout .wc-arrival-card { min-height: 280px; padding: 20px 18px; }
  .whatsapp-inbox-slide.is-mobile-layout .wc-audience-stats { grid-template-columns: repeat(2, 1fr); }
  .whatsapp-inbox-slide.is-mobile-layout .wc-template-layout { grid-template-columns: 1fr; }
  .whatsapp-inbox-slide.is-mobile-layout .wc-phone-shell { width: 180px; }
  .whatsapp-inbox-slide.is-mobile-layout .wc-start-modal-stats { grid-template-columns: repeat(2, 1fr); }
  .whatsapp-inbox-slide.is-mobile-layout #wiScene5 .wi-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .whatsapp-inbox-slide.is-mobile-layout #wiScene5 .wi-stat-card { width: auto; }
  .whatsapp-inbox-slide.is-mobile-layout .wc-wizard-title { font-size: 1.5rem; }
  .whatsapp-inbox-slide.is-mobile-layout #wiScene5 .wc-send-phase,
  .whatsapp-inbox-slide.is-mobile-layout #wiScene5 .progress-panel {
    width: 100%;
  }
  .whatsapp-inbox-slide.is-mobile-layout #wiScene5 .prog-glass {
    padding: 26px 18px 22px;
  }
}

/* ── WhatsApp Inbox: brand & scene 1 ── */
.whatsapp-inbox-slide .wi-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  color: rgba(212, 175, 55, 0.85);
  margin-bottom: 8px;
  font-weight: 600;
}

.whatsapp-inbox-slide .wi-arrival-card {
  position: relative;
  width: 100%;
  padding: 28px 32px 26px;
  min-height: 292px;
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(40, 40, 58, 0.95) 0%, rgba(19, 19, 28, 0.98) 100%);
  border: 1px solid rgba(37, 211, 102, 0.28);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(24px);
  text-align: left;
}

.whatsapp-inbox-slide .wi-arrival-card.show {
  animation: wiArrivalIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes wiArrivalIn {
  to { opacity: 1; transform: translateY(0); }
}

.whatsapp-inbox-slide .wi-arrival-shine {
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: conic-gradient(from 180deg, transparent, rgba(37,211,102,0.1), transparent 30%);
  animation: vaShineSpin 8s linear infinite;
  pointer-events: none;
}

.whatsapp-inbox-slide .wi-arrival-gloss {
  position: absolute;
  top: 0; left: 0; right: 0; height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  border-radius: 24px 24px 0 0;
  pointer-events: none;
}

.whatsapp-inbox-slide .wi-arrival-label {
  position: relative;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(37, 211, 102, 0.75);
  margin-bottom: 14px;
}

.whatsapp-inbox-slide .wi-arrival-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.35);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
}

.whatsapp-inbox-slide .wi-arrival-badge.show { animation: vaFadeUp 0.55s ease 0.15s forwards; }
.whatsapp-inbox-slide .wi-arrival-badge .wa-icon { width: 20px; height: 20px; color: #25D366; }
.whatsapp-inbox-slide .wi-arrival-badge strong { color: #25D366; }

.whatsapp-inbox-slide .wi-arrival-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
  opacity: 0;
}

.whatsapp-inbox-slide .wi-arrival-stats.show { animation: vaFadeUp 0.5s ease forwards; }

.whatsapp-inbox-slide .wi-arrival-stat {
  padding: 16px 12px;
  border-radius: 14px;
  text-align: center;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
}

.whatsapp-inbox-slide .wi-arrival-stat--highlight {
  border-color: rgba(37,211,102,0.4);
  background: rgba(37,211,102,0.08);
}

.whatsapp-inbox-slide .wi-arrival-stat-val {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,0.92);
  margin-bottom: 4px;
}

.whatsapp-inbox-slide .wi-arrival-stat--highlight .wi-arrival-stat-val { color: #25D366; }
.whatsapp-inbox-slide .wi-arrival-stat-lbl {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.whatsapp-inbox-slide .wi-arrival-hint {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.45);
  opacity: 0;
}

.whatsapp-inbox-slide .wi-arrival-hint.show { animation: vaFadeUp 0.5s ease forwards; }

/* Inbox shell */
.whatsapp-inbox-slide .wi-scene-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #faf8f5;
  text-align: center;
  margin-bottom: 14px;
  opacity: 0;
}

.whatsapp-inbox-slide .wi-scene-label.show { animation: vaFadeUp 0.6s ease forwards; }

.whatsapp-inbox-slide #wiScene2 .wi-panel,
.whatsapp-inbox-slide #wiScene3 .wi-panel,
.whatsapp-inbox-slide #wiScene4 .wi-panel {
  width: min(1200px, 94%);
  height: 100%;
  justify-content: center;
  padding: 10px 0 14px;
  box-sizing: border-box;
}

.whatsapp-inbox-slide #wiScene2 .wi-panel {
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
}

.whatsapp-inbox-slide #wiScene2 .wi-scene-label {
  flex-shrink: 0;
  margin-bottom: 0;
}

.whatsapp-inbox-slide .wi-inbox-shell {
  position: relative;
  display: flex;
  width: min(1200px, 94%);
  flex: 1;
  min-height: 0;
  height: auto;
  max-height: none;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(28, 32, 44, 0.98) 0%, rgba(14, 16, 24, 0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: 0 24px 48px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(16px);
}

.whatsapp-inbox-slide .wi-inbox-shell.show {
  animation: vaFadeUp 0.65s ease forwards;
}

.whatsapp-inbox-slide .wi-inbox-shine {
  position: absolute;
  top: 0; left: 0; right: 0; height: 30%;
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.whatsapp-inbox-slide .wi-thread-pane {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.25);
}

.whatsapp-inbox-slide #wiScene2 .wi-thread-pane {
  width: 100%;
  flex: 1;
  border-right: none;
}

.whatsapp-inbox-slide .wi-thread-head {
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.whatsapp-inbox-slide .wi-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
}

.whatsapp-inbox-slide .wi-search svg { width: 14px; height: 14px; flex-shrink: 0; }

.whatsapp-inbox-slide .wi-filters {
  display: flex;
  gap: 6px;
}

.whatsapp-inbox-slide .wi-filter {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.whatsapp-inbox-slide .wi-filter.on {
  color: #25D366;
  border-color: rgba(37,211,102,0.4);
  background: rgba(37,211,102,0.12);
}

.whatsapp-inbox-slide .wi-thread-list {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4px 0;
  min-height: 0;
}

.whatsapp-inbox-slide .wi-thread {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  opacity: 0;
  transform: translateX(-12px);
  border-left: 3px solid transparent;
}

.whatsapp-inbox-slide .wi-thread.in {
  animation: wiThreadIn 0.45s ease forwards;
}

@keyframes wiThreadIn {
  to { opacity: 1; transform: translateX(0); }
}

.whatsapp-inbox-slide .wi-thread.is-active {
  background: rgba(37,211,102,0.08);
  border-left-color: #25D366;
}

.whatsapp-inbox-slide .wi-thread.is-resolved { opacity: 0.55; }

.whatsapp-inbox-slide .wi-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, rgba(83,189,235,0.8), rgba(37,99,235,0.9));
  flex-shrink: 0;
}

.whatsapp-inbox-slide .wi-avatar--lg { width: 40px; height: 40px; font-size: 0.72rem; }

.whatsapp-inbox-slide .wi-thread-body { flex: 1; min-width: 0; }

.whatsapp-inbox-slide .wi-thread-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
}

.whatsapp-inbox-slide .wi-thread-top strong {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.whatsapp-inbox-slide .wi-thread-star { color: rgba(212,175,55,0.95); margin-left: 4px; }
.whatsapp-inbox-slide .wi-thread-time { font-size: 0.58rem; color: rgba(255,255,255,0.35); flex-shrink: 0; }

.whatsapp-inbox-slide .wi-thread-bottom {
  display: flex;
  align-items: center;
  gap: 6px;
}

.whatsapp-inbox-slide .wi-thread-preview {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.whatsapp-inbox-slide .wi-unread {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-inbox-slide .wi-thread-unit,
.whatsapp-inbox-slide .wi-thread-label,
.whatsapp-inbox-slide .wi-closed-hint,
.whatsapp-inbox-slide .wi-resolved-hint {
  display: inline-block;
  margin-top: 4px;
  margin-right: 6px;
  font-size: 0.52rem;
  padding: 2px 6px;
  border-radius: 4px;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.06);
}

.whatsapp-inbox-slide .wi-thread-label { color: rgba(83,189,235,0.9); background: rgba(83,189,235,0.12); }
.whatsapp-inbox-slide .wi-closed-hint { color: rgba(248,113,113,0.9); background: rgba(248,113,113,0.1); }

.whatsapp-inbox-slide .wi-thread-footer {
  padding: 10px 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
  opacity: 0;
}

.whatsapp-inbox-slide .wi-thread-footer.show { animation: vaFadeUp 0.5s ease forwards; }
.whatsapp-inbox-slide .wi-thread-footer strong { color: rgba(212,175,55,0.95); }
.whatsapp-inbox-slide .wi-footer-dot { margin: 0 6px; opacity: 0.4; }

/* Chat pane */
.whatsapp-inbox-slide .wi-chat-pane {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  background: #111b21;
}

.whatsapp-inbox-slide .wi-chat-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: #202c33;
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-inbox-slide .wi-chat-topbar.show { animation: vaFadeUp 0.5s ease forwards; }

.whatsapp-inbox-slide .wi-chat-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.whatsapp-inbox-slide .wi-chat-contact strong {
  display: block;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.92);
}

.whatsapp-inbox-slide .wi-chat-contact span {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.45);
}

.whatsapp-inbox-slide .wi-star { color: rgba(212,175,55,0.95); }

.whatsapp-inbox-slide .wi-window-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 600;
  white-space: nowrap;
}

.whatsapp-inbox-slide .wi-window-pill.open {
  color: #25D366;
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.35);
}

.whatsapp-inbox-slide .wi-window-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 8px rgba(37,211,102,0.8);
  animation: vaLivePulse 1.8s ease-in-out infinite;
}

.whatsapp-inbox-slide .wi-status-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
}

.whatsapp-inbox-slide .wi-status-badge.open {
  color: rgba(83,189,235,0.95);
  background: rgba(83,189,235,0.12);
  border: 1px solid rgba(83,189,235,0.3);
}

.whatsapp-inbox-slide .wi-icon-btn {
  width: 28px; height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.3);
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  cursor: pointer;
}

.whatsapp-inbox-slide .wi-chat-messages,
.whatsapp-inbox-slide .wi-chat-messages.wi-chat-messages--short {
  flex: 1;
  padding: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  background-color: #efeae2;
  background-image: url('../images/inbox/wa-chat-bg.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.whatsapp-inbox-slide .wi-chat-messages.wi-chat-messages--short {
  justify-content: flex-end;
}

.whatsapp-inbox-slide .wi-msg {
  display: flex;
  opacity: 0;
  transform: translateY(10px);
}

.whatsapp-inbox-slide .wi-msg.in {
  animation: wiMsgIn 0.45s ease forwards;
}

@keyframes wiMsgIn {
  to { opacity: 1; transform: translateY(0); }
}

.whatsapp-inbox-slide .wi-msg--out { justify-content: flex-end; }
.whatsapp-inbox-slide .wi-msg--in { justify-content: flex-start; }

.whatsapp-inbox-slide .wi-bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.88);
}

.whatsapp-inbox-slide .wi-msg--out .wi-bubble {
  background: #d9fdd3;
  border: none;
  color: #111b21;
  border-bottom-right-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.whatsapp-inbox-slide .wi-msg--in .wi-bubble {
  background: #fff;
  border: none;
  color: #111b21;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.whatsapp-inbox-slide .wi-msg--template .wi-bubble {
  background: #fff;
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #111b21;
}

.whatsapp-inbox-slide .wi-template-tag {
  display: inline-block;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.9);
  margin-bottom: 6px;
}

.whatsapp-inbox-slide .wi-bubble p { margin: 0 0 6px; }
.whatsapp-inbox-slide .wi-bubble-meta {
  font-size: 0.52rem;
  color: rgba(17, 27, 33, 0.45);
  margin-top: 4px;
}

.whatsapp-inbox-slide .wi-composer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
}

.whatsapp-inbox-slide .wi-composer.show { animation: vaFadeUp 0.5s ease forwards; }

.whatsapp-inbox-slide .wi-composer-tools { display: flex; gap: 4px; }

.whatsapp-inbox-slide .wi-tool-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.3);
  font-size: 0.82rem;
  cursor: pointer;
}

.whatsapp-inbox-slide .wi-composer-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.1);
  min-height: 20px;
}

.whatsapp-inbox-slide .wi-composer-placeholder {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.88);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.whatsapp-inbox-slide .wi-composer-placeholder.typing { color: rgba(255,255,255,0.92); }

.whatsapp-inbox-slide .wi-send-btn {
  width: 40px; height: 40px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(145deg, #25D366, #128C7E);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-inbox-slide .wi-send-btn svg { width: 18px; height: 18px; }
.whatsapp-inbox-slide .wi-send-btn.is-target { animation: vaBtnGlow 1.2s ease-in-out infinite; }
.whatsapp-inbox-slide .wi-send-btn.is-clicked { transform: scale(0.94); }

/* Side panel */
.whatsapp-inbox-slide .wi-inbox-shell--side .wi-chat-pane {
  flex: 1;
  min-height: 0;
}

.whatsapp-inbox-slide .wi-side-panel {
  width: 260px;
  flex-shrink: 0;
  padding: 18px 16px;
  border-left: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.3);
  position: relative;
  opacity: 0;
  transform: translateX(12px);
}

.whatsapp-inbox-slide .wi-side-panel.show {
  animation: wiSideIn 0.55s ease forwards;
}

@keyframes wiSideIn {
  to { opacity: 1; transform: translateX(0); }
}

.whatsapp-inbox-slide .wi-side-shine {
  position: absolute;
  top: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 100%);
  pointer-events: none;
}

.whatsapp-inbox-slide .wi-side-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin: 0 0 16px;
}

.whatsapp-inbox-slide .wi-side-section {
  margin-bottom: 16px;
}

.whatsapp-inbox-slide .wi-side-section label {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}

.whatsapp-inbox-slide .wi-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.whatsapp-inbox-slide .wi-label {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.62rem;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.25);
}

.whatsapp-inbox-slide .wi-label.on,
.whatsapp-inbox-slide .wi-label.pop {
  color: #25D366;
  border-color: rgba(37,211,102,0.4);
  background: rgba(37,211,102,0.12);
  animation: vaFadeUp 0.4s ease forwards;
}

.whatsapp-inbox-slide .wi-notes {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.68rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.65);
  opacity: 0;
}

.whatsapp-inbox-slide .wi-notes.show { animation: vaFadeUp 0.5s ease forwards; }
.whatsapp-inbox-slide .wi-notes p { margin: 0; }

.whatsapp-inbox-slide .wi-resolve-btn {
  position: relative;
  width: 100%;
  border: none;
  background: none;
  padding: 0;
  margin-top: 8px;
  cursor: pointer;
}

.whatsapp-inbox-slide .wi-resolve-face {
  display: block;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.78rem;
  color: #25D366;
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.35);
  transition: background 0.3s, color 0.3s;
}

.whatsapp-inbox-slide .wi-resolve-btn.is-target .wi-resolve-face {
  box-shadow: 0 0 0 4px rgba(37,211,102,0.15);
}

.whatsapp-inbox-slide .wi-resolve-btn.done .wi-resolve-face {
  background: rgba(37,211,102,0.25);
  color: #fff;
}

.whatsapp-inbox-slide .wi-resolve-ripple {
  position: absolute; inset: 0; border-radius: 12px;
  background: radial-gradient(circle, rgba(37,211,102,0.4) 0%, transparent 70%);
  opacity: 0; pointer-events: none;
}

.whatsapp-inbox-slide .wi-resolve-ripple.show { animation: vaRipple 0.45s ease-out forwards; }

/* Scene 5 stats */
.whatsapp-inbox-slide #wiScene1 { perspective: 1200px; }
.whatsapp-inbox-slide #wiScene5 { perspective: 1400px; }

.whatsapp-inbox-slide .intro-panel {
  text-align: center;
  width: min(720px, 94%);
  margin: 0 auto;
}

.whatsapp-inbox-slide .intro-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #faf8f5;
  margin-bottom: 4px;
}

.whatsapp-inbox-slide .intro-sub {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 22px;
}

.whatsapp-inbox-slide .wi-stats-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
  margin: -18px 0 24px;
  opacity: 0;
}

.whatsapp-inbox-slide .wi-stats-sub.show { animation: vaFadeUp 0.5s ease forwards; }

.whatsapp-inbox-slide #wiScene5 .wi-stats-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 820px;
  margin: 0 auto 22px;
}

.whatsapp-inbox-slide #wiScene5 .wi-stat-card { width: 170px; }

.whatsapp-inbox-slide .wi-stat-card.conversations .wi-stat-value { color: rgba(83,189,235,0.95); }
.whatsapp-inbox-slide .wi-stat-card.unread .wi-stat-value { color: rgba(248,113,113,0.95); }
.whatsapp-inbox-slide .wi-stat-card.resolved .wi-stat-value { color: #25D366; }
.whatsapp-inbox-slide .wi-stat-card.starred .wi-stat-value { color: rgba(212,175,55,0.95); }

.whatsapp-inbox-slide .wi-stat-card.conversations .wi-stat-inner { border-color: rgba(83,189,235,0.35); }
.whatsapp-inbox-slide .wi-stat-card.unread .wi-stat-inner { border-color: rgba(248,113,113,0.35); }
.whatsapp-inbox-slide .wi-stat-card.resolved .wi-stat-inner { border-color: rgba(37,211,102,0.4); }
.whatsapp-inbox-slide .wi-stat-card.starred .wi-stat-inner { border-color: rgba(212,175,55,0.35); }

.whatsapp-inbox-slide .wi-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 720px;
  margin: 0 auto 18px;
  opacity: 0;
}

.whatsapp-inbox-slide .wi-feature-row.show { animation: vaFadeUp 0.5s ease forwards; }

.whatsapp-inbox-slide .wi-feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.65);
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.1);
}

.whatsapp-inbox-slide .wi-feature-chip span { opacity: 0.8; }

.whatsapp-inbox-slide .wi-inbox-shell--chat {
  width: min(1200px, 94%);
  flex: 1;
  min-height: 0;
  height: 100%;
  max-height: none;
}

.whatsapp-inbox-slide #wiScene3 .wi-panel,
.whatsapp-inbox-slide #wiScene4 .wi-panel {
  flex-direction: column;
}

@media (max-width: 767px) {
  .whatsapp-inbox-slide.is-mobile-layout .wi-arrival-card { min-height: 280px; padding: 20px 18px; }
  .whatsapp-inbox-slide.is-mobile-layout .wi-arrival-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .whatsapp-inbox-slide.is-mobile-layout .wi-arrival-stat-val { font-size: 1.3rem; }
  .whatsapp-inbox-slide.is-mobile-layout .wi-inbox-shell,
  .whatsapp-inbox-slide.is-mobile-layout .wi-inbox-shell--chat {
    width: 100%;
    height: auto;
    min-height: 480px;
    max-height: none;
    flex-direction: column;
  }
  .whatsapp-inbox-slide.is-mobile-layout .wi-thread-pane { width: 100%; max-height: none; flex: 1; border-right: none; border-bottom: none; }
  .whatsapp-inbox-slide.is-mobile-layout .wi-inbox-shell--chat { flex-direction: column; }
  .whatsapp-inbox-slide.is-mobile-layout .wi-side-panel { width: 100%; border-left: none; border-top: 1px solid rgba(255,255,255,0.08); }
  .whatsapp-inbox-slide.is-mobile-layout .wi-inbox-shell--side { flex-direction: column; }
  .whatsapp-inbox-slide.is-mobile-layout .intro-title { font-size: 1.75rem; }
  .whatsapp-inbox-slide.is-mobile-layout .wi-scene-label { font-size: 1.5rem; }
  .whatsapp-inbox-slide.is-mobile-layout .wi-window-pill { display: none; }
  .whatsapp-inbox-slide.is-mobile-layout #wiScene5 .wi-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
  .whatsapp-inbox-slide.is-mobile-layout #wiScene5 .wi-stat-card { width: auto; }
  .whatsapp-inbox-slide.is-mobile-layout .wi-feature-row { gap: 6px; }
  .whatsapp-inbox-slide.is-mobile-layout .wi-feature-chip { font-size: 0.6rem; padding: 6px 10px; }
}


