/* wizard-v2.css — Wizard V2 chat shell.
   Scoped under .wizv2-* to avoid collision with the legacy wizard. */

.wizv2-page {
  position: fixed;
  inset: 0;
  background: #F7F6F1;
  z-index: 9000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: Gilroy, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: #1C1C1B;
}
.wizv2-page::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  top: -70px;
  left: -70px;
  background: radial-gradient(circle, rgba(255,189,89,0.22), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.wizv2-page::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  bottom: -80px;
  right: -80px;
  background: radial-gradient(circle, rgba(9,77,95,0.08), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

/* Top bar */
.wizv2-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  flex-shrink: 0;
}
/* .wizv2-logo / .wizv2-logo-mark / .wizv2-logo-text removed — wizV2Logo()
   now returns inline-styled markup from bloomzyLogo() in logo-helpers.js. */

.wizv2-skip {
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 700;
  color: #5a6b60;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 100px;
  font-family: inherit;
  transition: background 0.15s ease;
}
.wizv2-skip:hover { background: rgba(9,77,95,0.06); }

/* Progress dots */
.wizv2-progress {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 4px 20px 14px;
  flex-shrink: 0;
}
.wizv2-dot {
  width: 6px;
  height: 6px;
  border-radius: 100px;
  transition: width 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}
.wizv2-dot-done {
  background: #094D5F;
  cursor: pointer;
  position: relative;
  transition: width 0.3s ease, background 0.3s ease, opacity 0.18s ease;
}
.wizv2-dot-done::before {
  content: '';
  position: absolute;
  top: -13px;
  left: -3px;
  width: 12px;
  height: 32px;
}
.wizv2-dot-done:hover {
  opacity: 0.7;
}
.wizv2-dot-current {
  width: 24px;
  background: #094D5F;
  cursor: default;
}
.wizv2-dot-future {
  background: transparent;
  border: 1.5px solid #094D5F;
  opacity: 0.30;
  cursor: default;
}

/* Chat column */
.wizv2-col {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px 24px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.wizv2-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.wizv2-scroll::-webkit-scrollbar { display: none; }
.wizv2-scroll { scrollbar-width: none; }

/* History block */
.wizv2-history {
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0.55;
}
.wizv2-history.wizv2-history-fade {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 40px);
          mask-image: linear-gradient(180deg, transparent 0, #000 40px);
}
.wizv2-divider {
  height: 1px;
  background: rgba(9,77,95,0.08);
  margin: 10px 0 16px;
}

/* Rows: bot/user */
.wizv2-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.wizv2-row-bot { justify-content: flex-start; }
.wizv2-row-user { justify-content: flex-end; }

/* Avatar */
.wizv2-avatar {
  background: #094D5F;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wizv2-avatar-history { width: 22px; height: 22px; }
.wizv2-avatar-current { width: 36px; height: 36px; }

/* Bubbles */
.wizv2-bubble {
  max-width: 78%;
  word-wrap: break-word;
  line-height: 1.45;
}
.wizv2-bubble-bot {
  background: #094D5F;
  color: #F2F2F1;
  border-radius: 18px 18px 18px 6px;
}
.wizv2-bubble-user {
  background: #FFBD59;
  color: #1C1C1B;
  border-radius: 18px 18px 6px 18px;
}
.wizv2-bubble-history { font-size: 12px; padding: 7px 12px; }
.wizv2-bubble-current { font-size: 15px; padding: 12px 16px; }

/* Entrance animation */
@keyframes wizv2-bubble-enter {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.wizv2-entering {
  animation: wizv2-bubble-enter 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.wizv2-hidden { opacity: 0; }

/* Typing indicator */
.wizv2-typing {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 4px;
}
.wizv2-typing-bubble {
  background: #094D5F;
  border-radius: 18px 18px 18px 6px;
  padding: 12px 14px;
  display: flex;
  gap: 4px;
  align-items: center;
}
.wizv2-typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F2F2F1;
  animation: wizv2-dot-bounce 1.2s ease-in-out infinite;
}
.wizv2-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.wizv2-typing-dot:nth-child(3) { animation-delay: 0.30s; }
@keyframes wizv2-dot-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Answers area — buttons align to the right (user-bubble side) so the
   visual conversation feels: bot speaks left, user answers right. */
.wizv2-answers {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
  align-items: flex-end;
  animation: wizv2-bubble-enter 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s both;
}

/* Outline button */
.wizv2-btn-outline {
  background: transparent;
  border: 1.5px solid #094D5F;
  color: #094D5F;
  padding: 13px 28px;
  min-height: 46px;
  min-width: 200px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s ease, color 0.18s ease;
}
.wizv2-btn-outline:hover {
  background: #094D5F;
  color: #F2F2F1;
}
.wizv2-btn-outline:active { transform: scale(0.98); }
.wizv2-btn-outline-subtitle {
  font-weight: 400;
  opacity: 0.7;
  margin-left: 6px;
  font-size: 12px;
}

/* ── Phase 2: input row + chips grid + tz modal ────────────────────────── */

.wizv2-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.wizv2-input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border: 1.5px solid rgba(9,77,95,0.25);
  border-radius: 22px;
  background: #FFFFFF;
  font-family: inherit;
  font-size: 16px;       /* prevents iOS zoom on focus */
  color: #1C1C1B;
  outline: none;
  transition: border-color 0.18s ease;
}
.wizv2-input:focus { border-color: #094D5F; }
.wizv2-input::placeholder { color: rgba(28,28,27,0.4); font-style: italic; }
.wizv2-input:disabled { opacity: 0.6; cursor: wait; }

.wizv2-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #094D5F;
  color: #F2F2F1;
  border: none;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  transition: background 0.18s ease, transform 0.1s ease, opacity 0.18s ease;
}
.wizv2-send:hover { transform: scale(1.05); }
.wizv2-send:active { transform: scale(0.95); }
.wizv2-send-disabled,
.wizv2-send-disabled:hover {
  background: rgba(9,77,95,0.3);
  cursor: not-allowed;
  transform: none;
}

.wizv2-hint {
  margin-top: 8px;
  margin-left: 16px;
  color: #5a6b60;
  font-size: 12px;
  font-style: italic;
}
.wizv2-link {
  display: block;
  margin: 8px auto 0;
  padding: 6px 8px;
  color: #5a6b60;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}
.wizv2-link:hover { color: #094D5F; }

/* Industry chips — 2-column grid */
.wizv2-chips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.wizv2-chip {
  padding: 12px 14px;
  border: 1.5px solid #094D5F;
  border-radius: 22px;
  background: transparent;
  color: #094D5F;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s ease, color 0.18s ease;
  text-align: center;
}
.wizv2-chip:hover { background: #094D5F; color: #F2F2F1; }
.wizv2-chip-dashed { border-style: dashed; }
.wizv2-chip-selected {
  background: #094D5F;
  color: #F2F2F1;
}

/* ── Phase 4 fork: voice path picker (3 stacked cards) ─────────────────── */

.wizv2-fork-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.wizv2-fork-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1.5px solid #094D5F;
  border-radius: 14px;
  background: #F2F2F1;
  color: #094D5F;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  width: 100%;
  transition: background 0.18s ease, color 0.18s ease, transform 0.1s ease;
}
.wizv2-fork-card:hover,
.wizv2-fork-card:focus-visible {
  background: #094D5F;
  color: #F2F2F1;
  transform: translateY(-1px);
  outline: none;
}
.wizv2-fork-card:active { transform: translateY(0); }

.wizv2-fork-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F2F2F1;
  border: 1px solid #094D5F;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: #094D5F;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.wizv2-fork-card:hover .wizv2-fork-card-icon,
.wizv2-fork-card:focus-visible .wizv2-fork-card-icon {
  background: rgba(255,255,255,0.08);
  border-color: #F2F2F1;
  color: #F2F2F1;
}

.wizv2-fork-card-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wizv2-fork-card-title {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
}
.wizv2-fork-card-subtitle {
  font-size: 12px;
  color: #5a6b60;
  line-height: 1.3;
  transition: color 0.18s ease;
}
.wizv2-fork-card:hover .wizv2-fork-card-subtitle,
.wizv2-fork-card:focus-visible .wizv2-fork-card-subtitle { color: #F2F2F1; }

.wizv2-fork-card-arrow {
  color: #5a6b60;
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
  line-height: 1;
  transition: color 0.18s ease;
}
.wizv2-fork-card:hover .wizv2-fork-card-arrow,
.wizv2-fork-card:focus-visible .wizv2-fork-card-arrow { color: #F2F2F1; }

/* ── Phase 3: divider + action chips + AI suggestions ──────────────────── */

.wizv2-divider-or {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px 0 12px;
  color: rgba(9,77,95,0.5);
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0.04em;
}

.wizv2-p3-action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.wizv2-p3-action {
  flex: 1 1 0;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 22px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s ease, transform 0.1s ease;
  text-align: center;
  line-height: 1.2;
}
.wizv2-p3-action:hover { transform: translateY(-1px); }
.wizv2-p3-action:active { transform: translateY(0); }
.wizv2-p3-action-amber {
  background: rgba(255,189,89,0.15);
  border: 1.5px solid #FFBD59;
  color: #094D5F;
}
.wizv2-p3-action-amber:hover { background: rgba(255,189,89,0.28); }
.wizv2-p3-action-outline {
  background: transparent;
  border: 1.5px solid #094D5F;
  color: #094D5F;
}
.wizv2-p3-action-outline:hover { background: rgba(9,77,95,0.06); }

.wizv2-p3-suggestions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.wizv2-p3-suggestion {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  background: rgba(255,189,89,0.15);
  border: 1.5px solid #FFBD59;
  border-radius: 16px;
  color: #094D5F;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.1s ease;
  line-height: 1.4;
  /* Cap to ~3 visual lines without breaking long phrases */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  animation: wizv2-bubble-enter 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.wizv2-p3-suggestion:hover { background: rgba(255,189,89,0.28); transform: translateY(-1px); }
.wizv2-p3-suggestion:active { transform: translateY(0); }

/* Timezone modal — searchable picker */
.wizv2-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(28,28,27,0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: wizv2-modal-fade 0.2s ease;
}
@keyframes wizv2-modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.wizv2-modal {
  background: #F2F2F1;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.wizv2-modal-header {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 14px 10px;
}
.wizv2-modal-search {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 1.5px solid rgba(9,77,95,0.2);
  border-radius: 22px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  background: #FFFFFF;
  color: #1C1C1B;
}
.wizv2-modal-search:focus { border-color: #094D5F; }
.wizv2-modal-close {
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: #5a6b60;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.18s ease;
  font-family: inherit;
}
.wizv2-modal-close:hover { background: rgba(9,77,95,0.06); }
.wizv2-modal-list {
  flex: 1;
  overflow-y: auto;
  padding: 0 8px 14px;
  -webkit-overflow-scrolling: touch;
}
.wizv2-modal-row {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border: none;
  background: none;
  border-radius: 10px;
  font-size: 14px;
  color: #1C1C1B;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}
.wizv2-modal-row:hover { background: rgba(9,77,95,0.06); }

/* ── Phase 7: schedule cards + day pills + time picker + CTA ───────────── */

.wizv2-sched-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.wizv2-sched-card {
  background: #F2F2F1;
  border: 1px solid rgba(9,77,95,0.12);
  border-radius: 16px;
  padding: 16px;
}
.wizv2-sched-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 10px;
}
.wizv2-sched-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #1C1C1B;
}
.wizv2-sched-emoji { font-size: 18px; line-height: 1; }
.wizv2-sched-freq {
  background: rgba(255,189,89,0.18);
  color: #094D5F;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  white-space: nowrap;
}

.wizv2-sched-pills {
  display: flex;
  gap: 6px;
  justify-content: flex-start;
  margin-bottom: 12px;
  flex-wrap: nowrap;
}
.wizv2-pill {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.1s ease;
  border: 1.5px solid #094D5F;
  color: #094D5F;
  background: transparent;
  font-family: inherit;
  flex-shrink: 0;
}
.wizv2-pill:hover { background: rgba(9,77,95,0.06); }
.wizv2-pill-on {
  background: #094D5F;
  color: #F2F2F1;
  border-color: #094D5F;
}
.wizv2-pill-on:hover { background: #094D5F; }

@keyframes wizv2-pill-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}
.wizv2-pill-shake { animation: wizv2-pill-shake 0.4s ease; }

/* Time pill — label wraps a transparent native input so taps go directly
   to the input (iOS Safari requires real user gesture on the input). */
.wizv2-time-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1.5px solid #094D5F;
  border-radius: 99px;
  color: #094D5F;
  font-size: 13px;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  transition: background 0.18s ease;
  font-family: inherit;
  user-select: none;
  -webkit-user-select: none;
}
.wizv2-time-pill:hover { background: rgba(9,77,95,0.06); }
.wizv2-time-label { line-height: 1; }
.wizv2-time-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
  /* Prevent iOS auto-zoom on focus by ensuring 16px font-size */
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
  color: transparent;
}
/* Hide the browser-native time picker indicator and spin/clear buttons.
   The pill renders our custom SVG clock icon; the native indicator would
   stack on top through opacity:0 on some browsers. Click-to-open still
   works on modern Chrome/Safari/Firefox/Edge — the picker triggers on
   click anywhere within the input field, not specifically on the indicator. */
.wizv2-time-input::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* CTA + skip link */
.wizv2-btn-done {
  display: block;
  margin: 24px auto 0;
  padding: 14px 32px;
  min-height: 46px;
  min-width: 220px;
  background: #094D5F;
  color: #F2F2F1;
  border: none;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease;
  font-family: inherit;
}
.wizv2-btn-done:hover { transform: scale(1.02); }
.wizv2-btn-done:active { transform: scale(0.98); }
.wizv2-btn-loading,
.wizv2-btn-loading:hover {
  opacity: 0.5;
  cursor: wait;
  transform: none;
}

.wizv2-skip-link {
  display: block;
  margin: 12px auto 0;
  padding: 8px;
  color: #5a6b60;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}
.wizv2-skip-link:hover { color: #094D5F; }

/* ── Phase 4 Path B: voice calibration result (sliders) ────────────────── */

.wizv2-section-header {
  margin: 18px 0 6px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C58F74;
}

.wizv2-slider-row {
  margin: 10px 0 14px;
  padding: 0 4px;
}
.wizv2-slider-labels {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}
.wizv2-slider-label-active { color: #094D5F; }
.wizv2-slider-label-muted { color: rgba(9,77,95,0.4); }

.wizv2-slider-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(9,77,95,0.2);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
}
.wizv2-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #094D5F;
  border: 2px solid #F2F2F1;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
  cursor: pointer;
  transition: transform 0.1s ease;
}
.wizv2-slider-input::-webkit-slider-thumb:hover { transform: scale(1.08); }
.wizv2-slider-input::-webkit-slider-thumb:active { transform: scale(0.95); }
.wizv2-slider-input::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #094D5F;
  border: 2px solid #F2F2F1;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
  cursor: pointer;
}
.wizv2-slider-input::-moz-range-track {
  height: 4px;
  background: rgba(9,77,95,0.2);
  border-radius: 2px;
}

/* Stacked full-width variant of .wizv2-answers — used by Phase 4 Path B
   T3/T4 (energy and style binary picks) so .wizv2-btn-outline buttons fill
   the column width instead of right-aligning at intrinsic min-width. */
.wizv2-answers-full {
  align-items: stretch;
}
.wizv2-answers-full .wizv2-btn-outline {
  width: 100%;
  min-width: 0;
}

/* ── Phase 4 Path A: textarea + unified voice result card ──────────────── */

.wizv2-textarea {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1.5px solid rgba(9,77,95,0.25);
  border-radius: 14px;
  background: #FFFFFF;
  font-family: inherit;
  font-size: 14px;
  color: #1C1C1B;
  line-height: 1.5;
  resize: none;
  outline: none;
  min-height: 120px;
  max-height: 280px;
  overflow-y: hidden;
  transition: border-color 0.18s ease;
}
.wizv2-textarea:focus { border-color: #094D5F; }
.wizv2-textarea::placeholder { color: rgba(28,28,27,0.4); font-style: italic; }
.wizv2-textarea:disabled { opacity: 0.6; cursor: wait; }

/* Disabled state for filled CTA (.wizv2-btn-done). Matches the visual
   weight of .wizv2-send-disabled but applied to the bigger button. */
.wizv2-btn-disabled,
.wizv2-btn-disabled:hover {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.wizv2-voice-card {
  margin: 14px 0 4px;
  padding: 20px;
  border: 1.5px solid #094D5F;
  border-radius: 14px;
  background: #F2F2F1;
}
.wizv2-voice-adjectives {
  font-family: Fraunces, Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: #094D5F;
  line-height: 1.4;
  word-break: break-word;
}
.wizv2-voice-blockquote {
  margin-top: 14px;
  padding-left: 12px;
  border-left: 2px solid #C58F74;
  font-style: italic;
  color: #5a6b60;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-word;
}

.wizv2-fine-tune-hint {
  margin: 8px auto 0;
  text-align: center;
  font-size: 12px;
  font-style: italic;
  color: #5a6b60;
  line-height: 1.4;
}

/* ── Phase 4 Path C: voice template picker (6 stacked cards) ───────────── */

.wizv2-template-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.wizv2-template-card {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #094D5F;
  border-radius: 14px;
  background: #F2F2F1;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: background 0.18s ease, transform 0.1s ease;
}
.wizv2-template-card:hover,
.wizv2-template-card:focus-visible {
  background: #094D5F;
  outline: none;
  transform: translateY(-1px);
}
.wizv2-template-card:active { transform: translateY(0); }

.wizv2-template-title {
  font-size: 15px;
  font-weight: 700;
  color: #094D5F;
  line-height: 1.2;
  transition: color 0.18s ease;
}
.wizv2-template-vibe {
  margin-top: 2px;
  font-size: 12px;
  color: #5a6b60;
  line-height: 1.3;
  transition: color 0.18s ease;
}
.wizv2-template-sample {
  margin-top: 6px;
  font-size: 12px;
  font-style: italic;
  color: #7a8a80;
  line-height: 1.3;
  word-break: break-word;
  transition: color 0.18s ease;
}
.wizv2-template-card:hover .wizv2-template-title,
.wizv2-template-card:hover .wizv2-template-vibe,
.wizv2-template-card:hover .wizv2-template-sample,
.wizv2-template-card:focus-visible .wizv2-template-title,
.wizv2-template-card:focus-visible .wizv2-template-vibe,
.wizv2-template-card:focus-visible .wizv2-template-sample {
  color: #F2F2F1;
}

/* ── Phase 5: Logo upload ───────────────────────────────────────────────── */
.wizv2-upload-zone {
  border: 2px dashed #094D5F;
  border-radius: 14px;
  padding: 32px 16px;
  background: #F2F2F1;
  text-align: center;
  cursor: pointer;
  transition: background 0.18s;
}
.wizv2-upload-zone:hover,
.wizv2-upload-zone-hover {
  background: rgba(9,77,95,0.05);
}
.wizv2-upload-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #d3d1c7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.wizv2-upload-title {
  font-weight: 700;
  color: #094D5F;
  font-size: 14px;
  margin-bottom: 4px;
}
.wizv2-upload-meta {
  color: #5a6b60;
  font-size: 12px;
}
.wizv2-upload-links {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 13px;
}
.wizv2-logo-preview {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1.5px solid #094D5F;
  border-radius: 14px;
  background: #F2F2F1;
  align-items: center;
}
.wizv2-logo-preview-img {
  max-height: 80px;
  max-width: 120px;
  object-fit: contain;
  flex-shrink: 0;
}
.wizv2-logo-preview-actions {
  display: flex;
  gap: 8px;
  flex-direction: column;
}
.wizv2-logo-variants {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.wizv2-logo-variant-slot {
  padding: 16px;
  border: 1.5px dashed #094D5F;
  border-radius: 12px;
  background: #F2F2F1;
  text-align: center;
  cursor: pointer;
  font-size: 12px;
}

/* ── Phase 5.2: Colors ──────────────────────────────────────────────────── */
.wizv2-action-chip-amber {
  display: block;
  background: rgba(255,189,89,0.15);
  border: 1.5px solid #FFBD59;
  color: #094D5F;
  padding: 12px 16px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.4;
  transition: 0.18s ease;
  text-align: left;
  width: 100%;
  margin-bottom: 8px;
}
.wizv2-action-chip-amber:hover {
  background: rgba(255,189,89,0.25);
}
.wizv2-action-chip-amber-title {
  font-weight: 700;
  display: flex;
  gap: 6px;
  align-items: center;
}
.wizv2-action-chip-amber-subtitle {
  font-size: 11px;
  color: #5a6b60;
  margin-top: 2px;
}
.wizv2-color-swatches {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 16px 0;
}
.wizv2-color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}
.wizv2-color-swatch-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  transition: 0.18s ease;
}
.wizv2-color-swatch-empty {
  border: 2px dashed #094D5F;
  background: #F2F2F1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #094D5F;
}
.wizv2-color-swatch-filled {
  border: 1.5px solid #094D5F;
}
.wizv2-color-swatch-label {
  font-weight: 700;
  color: #094D5F;
  font-size: 13px;
}
.wizv2-color-swatch-hint {
  font-size: 11px;
  color: #5a6b60;
  font-style: italic;
}

/* ── Phase 5.3: Fonts ───────────────────────────────────────────────────── */
.wizv2-font-packs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}
.wizv2-font-pack {
  padding: 16px 12px;
  border: 1.5px solid #094D5F;
  border-radius: 14px;
  background: #F2F2F1;
  cursor: pointer;
  transition: 0.18s ease;
  text-align: center;
}
.wizv2-font-pack:hover,
.wizv2-font-pack:focus-visible {
  background: #094D5F;
}
.wizv2-font-pack-header {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C58F74;
  font-weight: 700;
  margin-bottom: 8px;
}
.wizv2-font-pack:hover .wizv2-font-pack-header,
.wizv2-font-pack:focus-visible .wizv2-font-pack-header {
  color: #F2F2F1;
}
.wizv2-font-pack-sample {
  font-size: 22px;
  color: #094D5F;
  margin-bottom: 8px;
  line-height: 1;
}
.wizv2-font-pack:hover .wizv2-font-pack-sample,
.wizv2-font-pack:focus-visible .wizv2-font-pack-sample {
  color: #F2F2F1;
}
.wizv2-font-pack-names {
  font-size: 11px;
  color: #5a6b60;
}
.wizv2-font-pack:hover .wizv2-font-pack-names,
.wizv2-font-pack:focus-visible .wizv2-font-pack-names {
  color: rgba(242,242,241,0.7);
}
.wizv2-font-search-row {
  margin: 10px 0;
  position: relative;
}
.wizv2-font-search-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a6b60;
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}
.wizv2-font-search-input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #094D5F;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  background: #F2F2F1;
  box-sizing: border-box;
}
.wizv2-font-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  background: #F2F2F1;
  border: 1.5px solid #094D5F;
  border-top: none;
  border-radius: 0 0 10px 10px;
  max-height: 200px;
  overflow-y: auto;
}
.wizv2-font-search-result {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 13px;
  border-bottom: 1px solid rgba(9,77,95,0.1);
  color: #094D5F;
}
.wizv2-font-search-result:hover {
  background: rgba(9,77,95,0.05);
}
.wizv2-font-search-result:last-child {
  border-bottom: none;
}

/* Font upload zones */
.wizv2-font-uploads {
  margin: 12px 0;
}
.wizv2-font-upload-row {
  margin: 12px 0;
}
.wizv2-font-upload-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a6b60;
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}
.wizv2-font-upload-zone {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1.5px dashed #094D5F;
  border-radius: 10px;
  background: #F2F2F1;
  cursor: pointer;
  transition: 0.18s ease;
  font-size: 12px;
  color: #5a6b60;
}
.wizv2-font-upload-zone:hover {
  background: rgba(9,77,95,0.05);
}
.wizv2-font-upload-zone-icon {
  flex-shrink: 0;
}
.wizv2-font-upload-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid #094D5F;
  border-radius: 10px;
  background: #F2F2F1;
}
.wizv2-font-upload-preview-sample {
  flex: 1;
  font-size: 16px;
  color: #094D5F;
}
.wizv2-font-upload-preview-replace {
  font-size: 11px;
  color: #094D5F;
  text-decoration: underline;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}

/* Mobile (< 768) */
@media (max-width: 767px) {
  .wizv2-col { max-width: 380px; padding: 0 16px 20px; }
  .wizv2-bubble-current { font-size: 15px; }
  .wizv2-btn-outline { min-width: 180px; }
}
