.cta-data #personal-limits-banner {
  animation: fadeSlideIn 0.2s ease-out;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

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

[data-ai-enabled="false"] .ai-chat-preview,
[data-ai-enabled="false"] .ai-chat-trigger {
  display: none !important;
}

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

.cta-data {
  font-family: "Inter", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

.cta-data #explainer-modal .bg-white {
  border-radius: 1rem !important;
}

.cta-data #explainer-modal .bg-white::-webkit-scrollbar {
  width: 8px;
}

/* Force audio player controls to display properly */
.cta-data audio {
  display: block !important;
  width: 100% !important;
  min-height: 54px !important;
}

/* Custom Audio Player */
.cta-data .custom-audio-player {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
}

.cta-data .audio-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cta-data .play-pause-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}

.cta-data .play-pause-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.cta-data .progress-container {
  flex: 1;
  position: relative;
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-data .progress-bar {
  width: 100%;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.cta-data .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2563eb 0%, #1d4ed8 100%);
  border-radius: 3px;
  transition: width 0.1s linear;
  position: relative;
}

.cta-data .progress-playhead {
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 14px;
  background: #1d4ed8;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-data .time-display {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #6b7280;
  margin-top: 4px;
}

.cta-data audio::-webkit-media-controls-panel {
  display: flex !important;
}

.cta-data audio::-webkit-media-controls-enclosure {
  display: flex !important;
}

.cta-data audio::-webkit-media-controls-play-button {
  display: flex !important;
}

.cta-data audio::-webkit-media-controls-timeline-container {
  display: flex !important;
  flex: 1 !important;
}

.cta-data audio::-webkit-media-controls-timeline {
  display: flex !important;
  flex: 1 !important;
  min-width: 80px !important;
}

.cta-data audio::-webkit-media-controls-current-time-display {
  display: block !important;
}

.cta-data audio::-webkit-media-controls-time-remaining-display {
  display: block !important;
}

.cta-data audio::-webkit-media-controls-volume-slider {
  display: flex !important;
}

/* Firefox audio controls */
.cta-data audio::-moz-range-track {
  background: #ddd !important;
  height: 4px !important;
}

.cta-data audio::-moz-range-thumb {
  background: #2563eb !important;
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
  border: none !important;
}

.cta-data audio::-moz-range-progress {
  background: #2563eb !important;
  height: 4px !important;
}

.cta-data #explainer-modal .bg-white::-webkit-scrollbar-track {
  background: transparent;
  margin: 1rem 0;
}

.cta-data #explainer-modal .bg-white::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

.cta-data #explainer-modal .bg-white::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.5);
  }

  50% {
    transform: scaleY(1);
  }
}

.cta-data .wave-bar {
  animation: wave 1s ease-in-out infinite;
}

.cta-data .wave-bar.playing {
  animation: wave 0.5s ease-in-out infinite;
}

.cta-data .recording-wave-bar {
  /* Controlled by JavaScript - no CSS animation */
}

.cta-data .preview-wave-bar {
  /* Static decorative bars - no animation */
}

.cta-data .recording-wave-bar {
  /* No automatic animation - controlled by JavaScript */
}

.cta-data .wave-bar.playing {
  animation-play-state: running;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.cta-data .modal-enter {
  animation: fadeIn 0.3s ease-out;
}

.cta-data .opacity-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e5e7eb;
  outline: none;
}

/* Trademark styling */
.cta-data .trademark {
  font-size: 0.55em;
  vertical-align: super;
  color: #9ca3af;
  font-weight: 400;
  margin-left: 1px;
}

.cta-data .opacity-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6366f1;
  cursor: pointer;
}

.cta-data .opacity-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6366f1;
  cursor: pointer;
}

.cta-data .text-backdrop {
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-block;
}

.cta-data .guardrail-category {
  transition: all 0.3s ease;
}

.cta-data .guardrail-category:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cta-data .category-header:hover {
  background: #f9fafb !important;
}

.cta-data .toggle-icon {
  font-size: 1.2rem;
  font-weight: bold;
  color: #9333ea;
  transition: transform 0.3s ease;
}

.cta-data .category-content {
  transition: all 0.3s ease;
}

.cta-data .category-content.hidden {
  display: none;
}

/* Tier Badge Tooltips */
.cta-data .tier-badge-wrapper {
  position: relative;
  display: inline-block;
}

.cta-data .tier-tooltip {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  background: #1f2937;
  color: white;
  padding: 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
  width: 280px;
  z-index: 9999;
  top: -8px;
  left: calc(100% + 8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition:
    opacity 0.2s,
    visibility 0.2s;
  pointer-events: none;
}

.cta-data .tier-badge-wrapper:hover .tier-tooltip {
  visibility: visible;
  opacity: 1;
}

.cta-data .tier-tooltip::before {
  content: "";
  position: absolute;
  top: 12px;
  left: -4px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 5px solid #1f2937;
}

.cta-data .tier-tooltip-title {
  font-weight: 700;
  margin-bottom: 6px;
  color: #fbbf24;
}

.cta-data .tier-tooltip-value {
  margin-bottom: 6px;
  font-weight: 500;
}

.cta-data .tier-tooltip-proof {
  color: #d1d5db;
  font-style: italic;
  font-size: 11px;
}

@keyframes checkmarkPop {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }

  20% {
    transform: scale(1.2) rotate(5deg);
    opacity: 1;
  }

  70% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: scale(0.8) rotate(0deg);
    opacity: 0;
  }
}

/* Tooltip styles for upload info icons */
.cta-data .upload-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #9ca3af;
  color: white;
  font-size: 10px;
  font-weight: bold;
  cursor: help;
  margin-left: 4px;
  position: relative;
}

.cta-data .upload-info-icon:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: #1f2937;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  white-space: nowrap;
  z-index: 1000;
  font-weight: normal;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-data .upload-info-icon:hover::before {
  content: "";
  position: absolute;
  bottom: 105%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1f2937;
  z-index: 1000;
}

/* Special positioning for left-side tooltips */
.cta-data .upload-info-left:hover::after {
  left: 0;
  transform: translateX(0);
}

.cta-data .upload-info-left:hover::before {
  left: 20px;
  transform: translateX(0);
}

/* Hide scrollbars in phone preview */
.cta-data .absolute.inset-0.overflow-y-auto::-webkit-scrollbar {
  display: none;
}

/* Tighter line-height for button text - prevents awkward spacing */
.cta-data button[class*="py-"],
.w-full.py-4,
.cta-data button.px-3,
.cta-data button.px-4 {
  line-height: 1.25;
}

/* Template Grid: Center 7th tile for Personal & Event categories */
.cta-data .template-grid-7 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* On desktop, make it 3 columns with 7th centered */
@media (min-width: 640px) {
  .cta-data .template-grid-7 {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Last item (7th) spans middle column on row 3 */
  .cta-data .template-grid-7 > :nth-child(7) {
    grid-column: 2 / 3;
  }
}

/* Style custom celebration/event tiles to stand out */
.cta-data .template-card-custom {
  border: 2px dashed #f59e0b !important;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
  position: relative;
}

.cta-data .template-card-custom::before {
  content: "✨";
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 20px;
  opacity: 0.7;
}

.cta-data .template-card-custom:hover::before {
  opacity: 1;
}

/* Label Guide Modal Styles */
.cta-data .label-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cta-data .label-guide-modal.active {
  opacity: 1;
  visibility: visible;
}

.cta-data .label-guide-content {
  background: white;
  border-radius: 14px;
  max-width: 600px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s ease;
}

.cta-data .label-guide-modal.active .label-guide-content {
  transform: scale(1) translateY(0);
}

.cta-data .label-guide-header {
  background: linear-gradient(135deg, #1c3665 0%, #2d4a7c 100%);
  color: white;
  padding: 18px 20px;
  border-radius: 14px 14px 0 0;
  position: relative;
}

.cta-data .label-guide-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.cta-data .label-guide-header p {
  opacity: 0.9;
  font-size: 0.85rem;
}

.cta-data .label-guide-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.cta-data .label-guide-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.cta-data .use-case-grid {
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (max-width: 500px) {
  .cta-data .use-case-grid {
    grid-template-columns: 1fr;
  }
}

.cta-data .use-case-card {
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: white;
  position: relative;
}

.cta-data .use-case-card:hover {
  border-color: #1c3665;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(28, 54, 101, 0.1);
}

.cta-data .use-case-card.selected {
  border-color: #1c3665;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fe 100%);
}

.cta-data .use-case-card.selected::after {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  background: #1c3665;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.cta-data .use-case-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fe 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.cta-data .use-case-icon svg {
  width: 20px;
  height: 20px;
  stroke: #1c3665;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta-data .use-case-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #1f2937;
  margin-bottom: 4px;
}

.cta-data .use-case-desc {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.4;
  margin-bottom: 8px;
}

.cta-data .use-case-recommendation {
  font-size: 0.7rem;
  color: #059669;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cta-data .use-case-recommendation svg {
  width: 12px;
  height: 12px;
  stroke: #059669;
  fill: none;
}

.cta-data .label-guide-footer {
  padding: 14px 16px;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  border-radius: 0 0 14px 14px;
}

.cta-data .footer-tip {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 0.75rem;
  color: #92400e;
  line-height: 1.5;
}

.cta-data .footer-tip strong {
  display: block;
  margin-bottom: 3px;
}

.cta-data .label-guide-footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-data .label-partner-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-data .label-partner-info {
  font-size: 0.75rem;
  color: #6b7280;
}

.cta-data .label-partner-info strong {
  color: #1f2937;
  display: block;
}

.cta-data .label-cta-btn {
  background: linear-gradient(135deg, #1c3665 0%, #2d4a7c 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.cta-data .label-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(28, 54, 101, 0.3);
}

.cta-data .skip-link {
  font-size: 0.75rem;
  color: #6b7280;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 10px;
  display: block;
  text-align: center;
}

.cta-data .skip-link:hover {
  color: #1c3665;
}

/* ========== PUBLISH MODAL v6 STYLES ========== */
.cta-data .modal-with-gradient {
  background: linear-gradient(
    180deg,
    rgba(28, 53, 101, 0.12) 0%,
    rgba(143, 189, 253, 0.18) 12%,
    rgba(143, 189, 253, 0.1) 30%,
    rgba(255, 255, 255, 0.97) 50%,
    rgba(255, 255, 255, 1) 60%
  );
  background-color: white;
}

.cta-data .deploy-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}
.cta-data .deploy-card:hover {
  border-color: #1c3565;
  box-shadow: 0 4px 12px rgba(28, 53, 101, 0.12);
  transform: translateY(-1px);
}
.cta-data .deploy-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cta-data .deploy-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-data .deploy-card-icon svg {
  width: 20px;
  height: 20px;
}

.cta-data .deploy-card.featured {
  border: 1px solid #8fbdfd;
  background: linear-gradient(
    135deg,
    rgba(28, 53, 101, 0.03) 0%,
    rgba(143, 189, 253, 0.08) 100%
  );
  box-shadow: 0 0 0 1px rgba(143, 189, 253, 0.3);
}

.cta-data .card-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  color: #1c3565;
  background: rgba(143, 189, 253, 0.4);
  padding: 3px 8px;
  border-radius: 6px;
}
.cta-data .card-badge svg {
  width: 10px;
  height: 10px;
}

.cta-data .saved-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #059669;
  font-size: 12px;
  font-weight: 500;
}
.cta-data .saved-indicator svg {
  width: 14px;
  height: 14px;
}

.cta-data .social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
  flex: 1;
}
.cta-data .social-btn svg {
  width: 16px;
  height: 16px;
}
.cta-data .social-btn.linkedin {
  background: #0a66c2;
  color: white;
}
.cta-data .social-btn.linkedin:hover {
  background: #004182;
}
.cta-data .social-btn.facebook {
  background: #1877f2;
  color: white;
}
.cta-data .social-btn.facebook:hover {
  background: #0d5cbf;
}
.cta-data .social-btn.twitter {
  background: #000;
  color: white;
}
.cta-data .social-btn.twitter:hover {
  background: #333;
}

.cta-data .share-section-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin-bottom: 8px;
}

/* Journey steps */
.cta-data .journey-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #1c3565;
}
.cta-data .journey-step svg {
  width: 14px;
  height: 14px;
  color: #8fbdfd;
  flex-shrink: 0;
}

/* Strategic positioning box */
.cta-data .strategy-box {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: linear-gradient(
    135deg,
    rgba(28, 53, 101, 0.04) 0%,
    rgba(143, 189, 253, 0.06) 100%
  );
  border-radius: 10px;
  margin-bottom: 12px;
}
.cta-data .strategy-item {
  flex: 1;
  text-align: center;
}
.cta-data .strategy-item-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #1c3565;
  margin-bottom: 2px;
}
.cta-data .strategy-item-desc {
  font-size: 10px;
  color: #6b7280;
  line-height: 1.3;
}
.cta-data .strategy-divider {
  width: 1px;
  background: rgba(28, 53, 101, 0.15);
}
.cta-data .strategy-together {
  background: linear-gradient(135deg, #1c3565 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Use Cases Modal */
.cta-data .use-cases-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.cta-data .use-cases-modal.active {
  display: flex;
}
.cta-data .use-cases-content {
  background: white;
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.cta-data .use-case-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}
.cta-data .use-case-item:last-child {
  border-bottom: none;
}
.cta-data .use-case-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cta-data .use-case-icon svg {
  width: 18px;
  height: 18px;
}

/* ========== VOICETAG STYLES ========== */
.cta-data .voicetag-content {
  overflow: hidden;
  transition: all 0.5s ease-out;
}

.cta-data .voicetag-content.expanded {
  max-height: 320px;
  opacity: 1;
}

.cta-data .voicetag-content.collapsed {
  max-height: 0;
  opacity: 0;
}

.cta-data .chevron-icon {
  transition: transform 0.5s ease;
}

.cta-data .chevron-icon.rotated {
  transform: rotate(-90deg);
}

.cta-data .scan-code-pattern {
  background-image:
    repeating-linear-gradient(
      0deg,
      #000 0px,
      #000 3px,
      transparent 3px,
      transparent 6px
    ),
    repeating-linear-gradient(
      90deg,
      #000 0px,
      #000 3px,
      transparent 3px,
      transparent 6px
    );
  background-size: 6px 6px;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
  }

  50% {
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.5);
  }
}

.cta-data .voicetag-glow {
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.cta-data .trademark {
  font-size: 0.6em;
  vertical-align: super;
  font-weight: normal;
}

/* CRITICAL FIX: Force two-column layout that never breaks */
.cta-data .app-flex {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 1.5rem;
  align-items: flex-start;
  max-width: 100%;
}

.cta-data .app-flex > .left-col {
  min-width: 0;
  flex: 1 1 auto;
  max-width: calc(100% - 450px);
  overflow-x: hidden;
}

.cta-data .app-flex > .right-col {
  flex: 0 0 420px !important;
  min-width: 360px;
  max-width: 420px;
  position: sticky;
  top: var(--header-h);
  align-self: flex-start;
}

@media (max-width: 900px) {
  .cta-data .app-flex > .right-col {
    flex: 0 0 360px !important;
    min-width: 320px;
    max-width: 360px;
  }

  .cta-data .app-flex > .left-col {
    max-width: calc(100% - 380px);
  }
}

@media (max-width: 768px) {
  .cta-data .app-flex {
    gap: 1rem;
  }

  .cta-data .app-flex > .right-col {
    flex: 0 0 300px !important;
    min-width: 280px;
    max-width: 300px;
  }

  .cta-data .app-flex > .left-col {
    max-width: calc(100% - 320px);
  }
}

/* === Left tile strict sticky + inner scroll === */
.cta-data .cta-left {
  position: sticky;
  top: var(--header-h);
  align-self: flex-start;
  z-index: 30;
  overflow: visible;
}

/* Make the immediate card inside left a fixed-height flex column */
.cta-data #left-panel > .bg-white,
.cta-data #left-panel > .bg-white.rounded-xl,
.cta-data #left-panel > .bg-white.rounded-2xl {
  height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
}

/* Ensure the inner content pane scrolls, not the page */
.cta-data #left-panel > .bg-white .overflow-y-auto,
.cta-data #left-panel > .bg-white .flex-1 {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
  /* prevent flex children from exceeding container */
}

/* Guard against ancestor overflow breaking sticky */
.cta-data .cta-shell {
  overflow: visible;
}

/* Hard lock two columns with flex: left grows, right is fixed and sticky */
.cta-data .app-flex {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  align-items: flex-start;
}

.cta-data .app-flex > .left-col {
  min-width: 0;
  flex: 1 1 auto;
}

.cta-data .app-flex > .right-col {
  flex: 0 0 420px;
  min-width: 360px;
  position: sticky;
  top: var(--header-h);
}

@media (max-width: 900px) {
  /* If you ever want stacking on small viewports, comment this out. Keeping two columns per your request. */
  .cta-data .app-flex > .right-col {
    flex-basis: 360px;
  }
}

/* Hard, non-wrapping two-pane layout with fixed widths and clean gap */
.cta-data .cta-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.cta-data .cta-left {
  width: 640px;
  min-width: 640px;
  max-width: 640px;
  flex: 0 0 640px;
}

.cta-data .cta-right {
  width: 420px;
  min-width: 420px;
  max-width: 420px;
  flex: 0 0 420px;
  position: relative;
  top: 0;
}

.cta-data .cta-right.w-full {
  width: 420px;
  min-width: 420px;
  max-width: 420px;
}

/* defensive */

.cta-data {
  --header-h: 30px;
}

/* header height offset */
.cta-data .cta-shell {
  margin-top: var(--header-h);
}

.cta-data .cta-left,
.cta-data .cta-right {
  min-height: calc(100vh - var(--header-h));
}

/* Keep left CTA tile fixed below header while preserving internal scroll */
.cta-data .cta-left {
  position: sticky;
  top: var(--header-h);
  align-self: flex-start;
  /* Make sure it doesn't get covered by header when page scrolls */
  z-index: 30;
}

/* Preserve internal scrolling area already present in the component */
.cta-data #left-panel .bg-white.rounded-xl,
.cta-data #left-panel .bg-white.rounded-2xl {
  /* Constrain the card so its .flex-1 area can scroll */
  /* max-height: calc(100vh - var(--header-h)); */
}

.cta-data .cta-shell {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 24px !important;
  align-items: flex-start !important;
}

.cta-data .cta-left {
  width: 640px !important;
  min-width: 640px !important;
  max-width: 640px !important;
  flex: 0 0 640px !important;
}

.cta-data .cta-right {
  width: 420px !important;
  min-width: 420px !important;
  max-width: 420px !important;
  flex: 0 0 420px !important;
  position: relative;
  top: 0 !important;
}

/* Defensive: prevent accidental full-width on preview */
.cta-data #right-panel.w-full {
  width: 420px !important;
  min-width: 420px !important;
  max-width: 420px !important;
}

/* Aggressive pin: keep preview visible on the right no matter what */
.cta-data #right-panel.preview-fixed {
  position: fixed !important;
  top: var(--header-h) !important;
  /* ~96px */
  right: 24px !important;
  /* gutter */
  width: 420px !important;
  min-width: 420px !important;
  max-width: 420px !important;
  z-index: 40;
}

/* Optional: keep it readable as an independent card */
.cta-data #right-panel.preview-fixed > .bg-white {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
}

/* Space reserver so left pane doesn't flow under the fixed preview */
.cta-data .preview-spacer {
  width: 444px;
  /* 420 + 24 gap */
  min-width: 444px;
  max-width: 444px;
  flex: 0 0 444px;
}

/* === Viewport lock below header + equal tiles === */
.cta-data .header-spacer {
  height: 4px !important;
}

.cta-data .cta-viewport {
  min-height: calc(100vh - var(--header-h));
  overflow: visible;
}

/* Columns fill the viewport area equally */
.cta-data .cta-left,
.cta-data .cta-right {
  height: 100%;
}

/* Card sizing inside each column */
.cta-data #left-panel > .bg-white,
.cta-data #left-panel > .bg-white.rounded-xl,
.cta-data #left-panel > .bg-white.rounded-2xl,
.cta-data #right-panel > .bg-white,
.cta-data #right-panel > .bg-white.rounded-xl,
.cta-data #right-panel > .bg-white.rounded-2xl {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

#publish-modal {
  z-index: 999999;
}

#label-guide-modal {
  z-index: 9999999;
}
/* Only inner content scrolls */
.cta-data #left-panel .overflow-y-auto,
.cta-data #left-panel .flex-1 {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
}
.cta-data .overflow-y-auto::-webkit-scrollbar {
  width: 6px; /* 👈 scrollbar width */
}

.cta-data .overflow-y-auto::-webkit-scrollbar-track {
  background: transparent;
}

.cta-data .overflow-y-auto::-webkit-scrollbar-thumb {
  background-color: #9ca3af; /* gray */
  border-radius: 10px;
}

.cta-data .overflow-y-auto::-webkit-scrollbar-thumb:hover {
  background-color: #6b7280;
}
/* If right panel has a scrollable inner section, allow it too */
.cta-data #right-panel .overflow-y-auto,
.cta-data #right-panel .flex-1 {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
}

/* Crisp, consistent outer gaps */
.cta-data .cta-shell {
  gap: 28px !important;
  align-items: stretch !important;
}

/* === Global: remove page scroll; use internal panel scroll only === */
.cta-data {
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
}

/* DISABLED - Conflicted with page scroll
.cta-viewport { height: calc(100vh - var(--header-h)); overflow: hidden; display: flex; }
.cta-shell { flex: 1; display:flex; flex-wrap: nowrap; align-items: stretch; gap: 28px; overflow: visible; }
.cta-left, .cta-right { height: 100%; }
#left-panel .flex-1, #right-panel .flex-1 { overflow-y: auto; -webkit-overflow-scrolling: touch; min-height: 0; }
*/

/* === Pro alignment: make both tiles start at the exact same top below header === */
/* Remove sticky offsets on columns; the header spacer + viewport handle positioning */
.cta-data.cta-left,
.cta-data.cta-right {
  position: relative !important;
  top: 0 !important;
  height: 100% !important;
}

/* Remove any sticky on the right preview applied earlier */
.cta-data.cta-right,
#right-panel {
  position: relative !important;
  top: 0 !important;
}

/* Normalize outer gaps: the viewport provides the offset; no extra top margins */
.cta-data.cta-shell {
  margin-top: 0 !important;
  align-items: stretch !important;
}

/* The main cards fill the columns equally */
.cta-data #left-panel > .bg-white,
.cta-data #left-panel > .bg-white.rounded-xl,
.cta-data #left-panel > .bg-white.rounded-2xl,
.cta-data #right-panel > .bg-white,
.cta-data #right-panel > .bg-white.rounded-xl,
.cta-data #right-panel > .bg-white.rounded-2xl {
  height: 100% !important;
  display: flex;
  flex-direction: column;
}

/* Internal scroll zones only */
.cta-data #left-panel .flex-1,
.cta-data #right-panel .flex-1 {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
}

/* Remove accidental extra top padding inside cards that can throw off perceived alignment */
.cta-data #left-panel .bg-white > .p-4:first-child,
.cta-data #right-panel .bg-white > .p-4:first-child,
.cta-data #left-panel .bg-white > .p-5:first-child,
.cta-data #right-panel .bg-white > .p-5:first-child {
  padding-top: 16px;
}

/* 3) Spacer and viewport below header */
.cta-data .header-spacer {
  height: 4px !important;
}

.cta-data .cta-viewport {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  overflow: visible;
}

/* 4) Two-column shell: no wrap, consistent gap, stretch align */
.cta-data .cta-shell {
  display: flex;
  flex-wrap: nowrap;
  gap: 28px;
  align-items: stretch;
  width: 100%;
  height: 100%;
}

/* 5) Column sizing — keep your intended widths; equal heights */
.cta-data .cta-left {
  width: 640px;
  min-width: 640px;
  max-width: 640px;
  flex: 0 0 640px;
  height: auto !important;
  position: relative !important;
  top: 0 !important;
}

.cta-data .cta-right {
  width: 420px;
  min-width: 420px;
  max-width: 420px;
  flex: 0 0 420px;
  height: auto !important;
  position: relative !important;
  top: 0 !important;
}

/* 6) Kill any legacy sticky rules that re-apply */
.cta-data #right-panel.preview-fixed {
  position: relative !important;
  top: 0 !important;
  right: auto !important;
}

.cta-data .cta-right {
  position: relative !important;
  top: 0 !important;
}

.cta-data #right-panel {
  position: relative !important;
  top: 0 !important;
}

.cta-data .app-flex > .right-col {
  position: relative !important;
  top: 0 !important;
}

/* 7) Cards inside columns fill height, consistent padding and polish */
.cta-data #left-panel > .bg-white,
.cta-data #left-panel > .bg-white.rounded-xl,
.cta-data #left-panel > .bg-white.rounded-2xl {
  height: 100% !important;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.cta-data #right-panel > .bg-white,
.cta-data #right-panel > .bg-white.rounded-xl,
.cta-data #right-panel > .bg-white.rounded-2xl {
  height: auto !important;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 20px !important;
  padding-bottom: 80px !important;
}

/* Normalize top padding for first content blocks so visual tops match */
.cta-data #left-panel > .bg-white > .p-4:first-child,
.cta-data #right-panel > .bg-white > .p-4:first-child,
.cta-data #left-panel > .bg-white > .p-5:first-child,
.cta-data #right-panel > .bg-white > .p-5:first-child {
  padding-top: 20px !important;
}

/* 8) Internal scrolling only */
.cta-data #left-panel .flex-1,
.cta-data #right-panel .flex-1,
.cta-data #left-panel .overflow-y-auto,
.cta-data #right-panel .overflow-y-auto {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
}

/* 9) Avoid ancestor overflow that could offset positioning */
.cta-data .cta-shell,
.cta-data .cta-left,
.cta-data .cta-right {
  overflow: visible !important;
}

/* 10) Safety: remove extra top margins that can misalign perceived tops */
.cta-data #left-panel > .bg-white > *:first-child,
.cta-data #right-panel > .bg-white > *:first-child {
  margin-top: 0 !important;
}

/* 3) Spacer and viewport below header */
.cta-data .header-spacer {
  height: 4px !important;
}

.cta-data .cta-viewport {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  overflow: visible;
}

.cta-data #left-panel .flex-1,
.cta-data #left-panel .overflow-y-auto {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
}

/* Allow tooltips to escape container bounds */
.cta-data #left-panel .overflow-y-auto {
  overflow-x: hidden !important;
}

.cta-data #left-panel > .bg-white {
  overflow: visible !important;
}

/* Right panel can also scroll internally if needed */
.cta-data #right-panel .flex-1,
.cta-data #right-panel .overflow-y-auto {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
}

/* Compact the top padding so content sits closer to header */
.cta-data #left-panel > .bg-white > .p-4:first-child,
.cta-data #right-panel > .bg-white > .p-4:first-child,
.cta-data #left-panel > .bg-white > .p-5:first-child,
.cta-data #right-panel > .bg-white > .p-5:first-child {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  margin-top: 0 !important;
}

/* Tighten internal tile padding to match 2px spec */
.cta-data #left-panel > .bg-white > .p-4:first-child,
.cta-data #right-panel > .bg-white > .p-4:first-child,
.cta-data #left-panel > .bg-white > .p-5:first-child,
.cta-data #right-panel > .bg-white > .p-5:first-child {
  padding-top: 2px !important;
  padding-bottom: 8px !important;
  margin-top: 0 !important;
}

/* Runtime-fitted content area directly under header */
.cta-data .cta-viewport {
  min-height: var(--content-h);
  display: flex;
  overflow-x: hidden;
  overflow-y: visible;
}

.cta-data .cta-shell {
  height: 100%;
  align-items: stretch;
  gap: 24px;
}

.cta-data .cta-left,
.cta-data .cta-right {
  height: 100%;
}

/* === Tooltip Portal Patch (non-clipping) === */
.cta-data .tier-badge-wrapper:hover .tier-tooltip {
  visibility: hidden !important;
  opacity: 0 !important;
}

.cta-data .tier-tooltip-portal {
  position: fixed;
  background: #1f2937;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
  max-width: 280px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 999999;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 0.12s ease,
    transform 0.12s ease;
}

.cta-data .tier-tooltip-portal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-data .tier-tooltip-portal .tier-tooltip-title {
  font-weight: 700;
  margin-bottom: 6px;
  color: #fbbf24;
}

.cta-data .tier-tooltip-portal .tier-tooltip-value {
  margin-bottom: 0;
  font-weight: 500;
}

/* FORCE page scroll - final override */
.cta-data {
  overflow-y: auto !important;
  height: auto !important;
}

.cta-data .cta-viewport {
  min-height: calc(100vh - var(--header-h)) !important;
  height: auto !important;
  overflow: visible !important;
}



.cta-data .cta-right {
  height: auto !important;
  overflow: visible !important;
}

/* Force text wrapping in CTA buttons - prevent overflow */
.cta-data button[class*="py-"],
.w-full.py-4,
.cta-data div[class*="rounded-xl"] span {
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.cta-data .voice-clone-banner {
  overflow: visible !important;
}

.cta-data .voice-clone-banner .overflow-auto,
.cta-data .voice-clone-banner .overflow-x-auto,
.cta-data .voice-clone-banner .overflow-y-auto {
  overflow: visible !important;
}

/* Hide scrollbars inside the Voice Cloning banner (if any descendant tries to add them) */
.cta-data .voice-clone-banner *::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.cta-data .voice-clone-banner {
  scrollbar-width: none;
}

/* Generic guard for feature sections that use badges */
.cta-data .tier-badge-wrapper .tier-tooltip {
  /* keep original hidden; we portal it on hover */
}

/* Keep 'Clone Your Voice' title and its badge on one line */
.cta-data .voice-clone-banner .title-row-nowrap {
  white-space: nowrap;
}

.cta-data .voice-clone-banner .title-row-nowrap .tier-badge-wrapper {
  vertical-align: middle;
}

/* Avoid any nested containers from creating second box visuals */
.cta-data .voice-clone-banner .tier-badge-wrapper > .tier-tooltip {
  display: block;
}

.cta-data .cta-shell {
  height: auto !important;
  overflow: visible !important;
}
@media (max-width: 768px) {
  .cta-data .z-40 {
    z-index: 99;
  }

  .cta-data .left-4 {
    left: 1rem;
  }
  .cta-data #right-panel.preview-fixed {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    zoom: 0.5;
  }
  .cta-data button[class*="py-"], .w-full.py-4, .cta-data div[class*="rounded-xl"] span { 
    margin: 0;
}
div#guardrail-recommendation-container {
    margin-top: 10px;
}
.cta-data .grid-cols-2 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
.bg-gradient-to-br.from-blue-50.to-indigo-50.rounded-xl.p-4.border-2.border-blue-200 {
    margin: 10px 0px;
}
.cta-data .grid-cols-2 {
    grid-template-columns: 1fr 1fr;
}
.main_div_capital .voicetag.pt-2 .cta-data {
    overflow-y: auto !important;
    height: auto !important;
    grid-template-columns: 1fr !important;
    padding: 20px !important;
    gap: 20px !important;
}
#phone-preview-container .oz-container.storm_modal {
    zoom: 0.7;
}
.storm_modal .bg-img-content .z-index {
    margin-bottom: 30px;
    zoom: 0.;
    max-width: 300px;
}
   .cta-data .cta-shell {
  flex-wrap: wrap !important;
}
.cta-data .cta-left {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}
.cta-data .grid-cols-3 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
.cta-data .items-center {
    align-items: center;
    flex-wrap: wrap;
    z-index: 99999;
}
.cta-data .p-5 {
    padding: 0.5rem;
}
.cta-data #left-panel .overflow-y-auto {
    padding: 10px; 
}
}

@media (max-width: 730px) {
  .chat-input-section.chat-cal-1 {
    /* zoom: 0.95; */
}
 }
/*@media (max-width: 690px) {
  .chat-input-section.chat-cal-1 {
    zoom: 0.90;
}
}

@media (max-width: 680px) {
  .chat-input-section.chat-cal-1 {
    zoom: 0.85;
}
}

@media (max-width: 650px) {
  .chat-input-section.chat-cal-1 {
    zoom: 0.80;
}
} */
.chat-input-section.chat-cal-1{
   width: calc(95% - 10px);
}

@media (max-width: 670px) {
  .chat-input-section.chat-cal-1{
   width: calc(100% - 10px);
   gap:3px !important;
}
  .chat-input-section .logo_img_msc img{
    width: 65 !important;
  }
}
@media (max-width: 580px) {
  .chat-input-section.chat-cal-1{
   width: calc(100% - 10px);
}
  .chat-input-section.chat-cal-1 {
    /* zoom: 0.6; */
}
.oz-container { 
    max-width: 350px;
    margin: unset;
}
}
@media (max-width: 420px) {
.oz-container { 
    max-width: 315px;
    margin: unset;
}
}
@media (max-width: 390px) {
.oz-container { 
    max-width: 280px;
    margin: unset;
}
}



