#ctaStartModal .cta-modal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  pointer-events: none;
}

#ctaStartModal .cta-modal-head {
  display: flex;
  justify-content: flex-end;
}

#ctaStartModal .cta-modal-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}

#ctaStartModal .cta-modal-nav button:disabled {
  opacity: 0.65;
}

#ctaStartModal .cta-modal-stage-wrapper {
  position: relative;
  height: 100%;
  display: grid;
}

#ctaStartModal .cta-modal-stage {
  grid-area: 1 / 1 / 2 / 2;
  transition: opacity 200ms ease;
  padding-bottom: 0;
}

#ctaStartModal .cta-modal-stage[aria-hidden='true'] {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

#ctaStartModal .cta-modal-stage[aria-hidden='false'] {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

#ctaStartModal {
  --cta-modal-header-offset: calc(var(--mobile-menu-top, 64px));
}

#ctaStartModal .cta-modal-overlay {
  padding-top: var(--cta-modal-header-offset, 64px);
}


#ctaStartModal .cta-question-list {
  flex: 1;
  overflow-y: auto;
  max-height: none;
  min-height: 14rem;
}

#ctaStartModal .question-category-filter {
  padding: 0;
}

#ctaStartModal .question-category-chip {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0.25rem 1.25rem 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  background: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

#ctaStartModal .question-category-chip__text {
  line-height: 1.2;
}

#ctaStartModal .question-category-chip__count {
  position: absolute;
  top: -0.2rem;
  right: -0.25rem;
  min-width: 1.25rem;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
}

#ctaStartModal .question-category-chip:hover {
  border-color: #94a3b8;
  color: #0f172a;
}

#ctaStartModal .question-category-chip.is-active {
  border-color: #0f172a;
  color: #0f172a;
}

#ctaStartModal .question-category-chip.is-active .question-category-chip__count {
  background: #0f172a;
  color: #fff;
}

#ctaStartModal .question-item-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem;
}

#ctaStartModal .question-item-delete {
  border: 1px solid #f87171;
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #b91c1c;
  background: #fff5f5;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

#ctaStartModal .question-item-delete:hover {
  border-color: #991b1b;
  color: #991b1b;
  background: #fee2e2;
}

#ctaStartModal .question-item--recent {
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.2);
}

#ctaStartModal .custom-category-chip {
  border: 1px solid #cbd5f5;
  border-radius: 999px;
  padding: 0.15rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #4c1d95;
  background: #eef2ff;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

#ctaStartModal .custom-category-chip:hover {
  border-color: #5b21b6;
  color: #5b21b6;
}

#ctaStartModal .custom-category-chip.is-active {
  border-color: #312e81;
  background: #312e81;
  color: #fff;
}

#ctaStartModal .coach-preview-grid {
  min-height: 8rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 0.75rem 1rem;
}

#ctaStartModal .coach-preview-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  font-size: 0.75rem;
  color: #475569;
  border: 1px solid transparent;
  border-radius: 24px;
  padding: 0.75rem 0.25rem;
  transition: transform 120ms ease, border-color 120ms ease;
}

#ctaStartModal .coach-preview-avatar img {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #e2e8f0;
  background: #f8fafc;
  user-select: none;
  pointer-events: none;
}

#ctaStartModal .coach-preview-avatar span {
  font-weight: 600;
}

#ctaStartModal .coach-preview-avatar:active {
  transform: scale(0.95);
  border-color: #94a3b8;
}

#ctaStartModal .coach-preview-avatar.is-selected {
  border-color: #0f172a;
  transform: scale(0.98);
}

#ctaStartModal .coach-preview-avatar:focus-visible {
  outline: 2px solid #0f172a;
  outline-offset: 4px;
}

#ctaStartModal .cta-interview-flow {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    'primary secondary'
    'questions-slot questions-slot'
    'preview-slot preview-slot';
  align-items: start;
}

#ctaStartModal [data-flow-slot] {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

#ctaStartModal [data-flow-slot]:empty {
  display: block;
}

#ctaStartModal .cta-flow-placeholder {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #e2e8f0;
  border-radius: 24px;
  background: #f8fafc;
  min-height: 8rem;
  text-align: center;
}

#ctaStartModal [data-flow-slot="preview-slot"]:not(.is-filled),
#ctaStartModal [data-flow-slot="questions-slot"]:not(.is-filled) {
  min-height: 0;
  border: none;
  background: transparent;
}

#ctaStartModal [data-flow-slot="primary"] {
  grid-area: primary;
}

#ctaStartModal [data-flow-slot="secondary"] {
  grid-area: secondary;
}

#ctaStartModal [data-flow-slot="questions-slot"] {
  grid-area: questions-slot;
}

#ctaStartModal [data-flow-slot="preview-slot"] {
  grid-area: preview-slot;
}

#ctaStartModal [data-flow-slot="preview-slot"]:not(.is-filled) {
  display: none;
}

#ctaStartModal [data-flow-section][data-flow-hidden='true'] {
  display: none !important;
}

#ctaStartModal .cta-recording-board {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  #ctaStartModal .cta-recording-board {
    flex-direction: row;
    align-items: stretch;
  }
  #ctaStartModal .cta-recording-visual,
  #ctaStartModal .cta-recording-panel {
    flex: 1 1 0;
  }
}

@media (max-width: 1024px) and (min-width: 600px) {
  #ctaStartModal .cta-recording-board {
    gap: 1rem;
  }
}

#ctaStartModal .cta-recording-visual {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 0;
}

#ctaStartModal .cta-recording-visual__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 24px;
}

#ctaStartModal .cta-recording-visual__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background-color: #e5e7eb;
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
}

#ctaStartModal .cta-recording-visual__label {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
}

#ctaStartModal .cta-recording-panel {
  min-width: 0;
}

#ctaStartModal .cta-summary-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#ctaStartModal .cta-summary-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

#ctaStartModal .cta-summary-row > .cta-summary-card {
  flex: 1 1 0;
  min-width: 0;
}

#ctaStartModal .cta-summary-card {
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 1rem;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#ctaStartModal .cta-summary-card--compact {
  min-height: 90px;
}

#ctaStartModal .cta-summary-card--full {
  width: 100%;
}

#ctaStartModal .cta-summary-card p {
  margin: 0;
}

#ctaStartModal .cta-summary-card button {
  margin-top: auto;
}
#ctaStartModal .cta-modal-close {
  position: static;
}
#ctaStartModal .cta-modal-head {
  padding: 0.75rem 1rem;
}
