/* ===================================================================
   File: client-survey.css
   Description: Client survey layout and step styling scoped to #ll-client-survey.
   =================================================================== */

#ll-client-survey {
  --ll-survey-accent: var(--ll-accent, #075dcc);
  --ll-survey-accent-dark: #073763;
  --ll-survey-muted: #64748b;
  --ll-survey-border: #d9e1ec;
  --ll-survey-text: #111827;
  --ll-survey-heading: #12345a;
  --ll-survey-option-width: 630px;
}

/* Steps */
#ll-client-survey .ll-step {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#ll-client-survey .ll-step.ll-step-active {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  opacity: 1;
  animation: llSurveyFadeIn 0.3s ease;
}

@keyframes llSurveyFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Progress */
#ll-client-survey .ll-step-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

#ll-client-survey .ll-step-labels li {
  flex: 1;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #999;
}

#ll-client-survey .ll-step-labels li.active,
#ll-client-survey .ll-step-labels li.completed {
  color: var(--ll-survey-accent);
}

#ll-client-survey .ll-step-labels li.completed {
  opacity: 0.6;
}

#ll-client-survey .ll-step-labels li::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 4px auto 0;
  background: currentColor;
  border-radius: 50%;
}

#ll-client-survey .ll-progress-bar {
  width: 100%;
  height: 8px;
  margin-bottom: 18px;
  overflow: hidden;
  background: #eee;
  border-radius: 5px;
}

#ll-client-survey .ll-progress-indicator {
  width: 0;
  height: 100%;
  background: var(--ll-survey-accent);
  transition: width 0.3s ease;
}

/* Shared text */
#ll-client-survey .ll-question-heading {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

#ll-client-survey .ll-sub-note {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  font-style: italic;
  line-height: 1.25;
  text-align: center;
}

/* Standard checkbox/radio groups */
#ll-client-survey .ll-checkbox-wrapper,
#ll-client-survey .ll-answer-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  max-width: var(--ll-survey-option-width);
  margin: 0 auto 1rem;
}

#ll-client-survey .ll-checkbox-wrapper label,
#ll-client-survey .ll-answer-group label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
  width: 100%;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

#ll-client-survey .ll-checkbox-wrapper input[type="checkbox"],
#ll-client-survey .ll-checkbox-wrapper input[type="radio"],
#ll-client-survey .ll-answer-group input[type="checkbox"],
#ll-client-survey .ll-answer-group input[type="radio"] {
  margin: 4px 0 0;
  transform: scale(1.05);
}

#ll-client-survey .ll-checkbox-wrapper strong {
  color: #0073e6;
  font-weight: 700;
  white-space: nowrap;
}

/* Error state */
#ll-client-survey .ll-answer-group.ll-has-error {
  outline: 2px solid #dc2626;
  outline-offset: 4px;
  border-radius: 8px;
}

#ll-client-survey .ll-answer-group.ll-has-error::after {
  content: attr(data-error-msg);
  display: block;
  margin-top: 8px;
  color: #b91c1c;
  font-size: 0.95rem;
}

/* Intro */
#ll-client-survey .ll-survey-intro {
  text-align: center;
}

#ll-client-survey .ll-survey-intro p:not(.ll-question-heading):not(.ll-sub-note) {
  text-align: left;
}

#ll-client-survey .ll-survey-intro .ll-intro-buttons {
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2rem;
}

/* Buttons */
#ll-client-survey .ll-step-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

#ll-client-survey .ll-step-buttons button {
  flex: 0 0 auto;
}

/* Business Builder System coming-soon panel */
#ll-client-survey .ll-social-campaign-step {
  padding: 18px 20px 8px;
}

#ll-client-survey .ll-business-builder-system-panel {
  margin: 8px 0 26px;
  padding: 24px;
  border: 1px solid #cbdaf0;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 58%, #fffaf0 100%);
  box-shadow: 0 12px 30px rgba(15, 55, 95, 0.08);
}

#ll-client-survey .ll-business-builder-system-panel__hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(560px, 620px);
  gap: 22px;
  align-items: start;
}

#ll-client-survey .ll-business-builder-system-panel__content-left {
  display: grid;
  gap: 18px;
}

#ll-client-survey .ll-business-builder-system-panel__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

#ll-client-survey .ll-business-builder-system-panel__title {
  margin: 0;
  color: #12345a;
  font-size: 36px;
  line-height: 1.1;
}

#ll-client-survey .ll-business-builder-system-panel__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  padding: 6px 12px;
  background: #e8f1ff;
  color: #075dcc;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

#ll-client-survey .ll-business-builder-system-panel__subtitle {
  margin: 0 0 12px;
  color: #12345a;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

#ll-client-survey .ll-business-builder-system-panel__description {
  margin: 0;
  color: #334155;
  font-size: 16px;
  line-height: 1.65;
}

#ll-client-survey .ll-business-builder-system-panel__image-wrap {
  max-width: 620px;
  margin: 0 auto;
  display: grid;
  justify-items: stretch;
  gap: 14px;
}

#ll-client-survey .ll-business-builder-system-panel__image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(7, 93, 204, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 55, 95, 0.16);
}

#ll-client-survey .ll-business-builder-system-panel__summary {
  max-width: 1080px;
  margin: 28px auto 0;
}

#ll-client-survey .ll-business-builder-system-panel__step-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
}

#ll-client-survey .ll-business-builder-system-panel__step-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid #d7e3f4;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
}

#ll-client-survey .ll-business-builder-system-panel__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #075dcc;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(7, 93, 204, 0.2);
}

#ll-client-survey .ll-business-builder-system-panel__step-item p {
  margin: 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.45;
}

#ll-client-survey .ll-business-builder-system-panel__step-item strong {
  color: #073b70;
  font-size: 15px;
}

#ll-client-survey .ll-business-builder-system-panel__price-card {
  display: inline-grid;
  justify-items: center;
  justify-self: end;
  gap: 6px;
  width: fit-content;
  margin: 0;
  padding: 14px 22px;
  border: 1px solid #86ca9d;
  border-radius: 14px;
  background: linear-gradient(135deg, #eaf9ef 0%, #cef1d8 100%);
  box-shadow: 0 10px 24px rgba(41, 121, 73, 0.14);
}

#ll-client-survey .ll-business-builder-system-panel__price-card-label {
  color: #226340;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#ll-client-survey .ll-business-builder-system-panel__price-card-price {
  color: #12532f;
  font-size: 38px;
  line-height: 1;
}

#ll-client-survey .ll-business-builder-system-panel__question {
  margin-top: 18px;
}

#ll-client-survey .ll-business-builder-system-panel__question-heading {
  margin: 0 0 34px;
  color: #17233a;
  font-size: 20px;
  line-height: 1.3;
  text-align: center;
}

#ll-client-survey .ll-business-builder-interest-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: none;
  margin-top: 10px;
  margin-bottom: 0;
}

#ll-client-survey .ll-business-builder-response {
  width: 100%;
  min-height: 46px;
  border: 1px solid #075dcc;
  background: #fff;
  color: #075dcc;
  font-weight: 700;
  text-align: center;
}

#ll-client-survey .ll-business-builder-response:hover,
#ll-client-survey .ll-business-builder-response:focus-visible {
  background: #eef5ff;
  color: #064fae;
}

#ll-client-survey .ll-business-builder-response.is-selected,
#ll-client-survey .ll-business-builder-response[aria-pressed="true"] {
  border-color: #075dcc;
  background: #075dcc;
  color: #fff;
  box-shadow: 0 6px 14px rgba(7, 93, 204, 0.22);
}

#ll-client-survey .ll-business-builder-response.is-selected:hover,
#ll-client-survey .ll-business-builder-response.is-selected:focus-visible,
#ll-client-survey .ll-business-builder-response[aria-pressed="true"]:hover,
#ll-client-survey .ll-business-builder-response[aria-pressed="true"]:focus-visible {
  background: #064fae;
  color: #fff;
}

#ll-client-survey .ll-business-builder-response:disabled {
  cursor: wait;
  opacity: 0.75;
}

#ll-client-survey .ll-business-builder-interest-status {
  color: #334155;
}

#ll-client-survey .ll-business-builder-interest-status-success {
  color: #0f766e;
}

#ll-client-survey .ll-business-builder-interest-status-error {
  color: #b91c1c;
}

#ll-client-survey .ll-business-builder-interest-status-saving {
  color: #075dcc;
}

#ll-client-survey .ll-social-campaign-footer {
  margin-top: 22px;
}

.ll-coming-soon-tab-label {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #e8f1ff;
  color: #075dcc;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Community Card */
#ll-client-survey .ll-community-card-step {
  padding: 18px 20px 8px;
}

#ll-client-survey .ll-community-card-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.15fr);
  gap: 32px;
  align-items: center;
  margin: 12px 0 26px;
}

#ll-client-survey .ll-community-card-hero__copy h2 {
  margin: 0 0 16px;
  color: var(--ll-survey-heading);
  font-size: 34px;
  line-height: 1.18;
  font-weight: 800;
}

#ll-client-survey .ll-community-card-hero__copy h2::after {
  content: "";
  display: block;
  width: 74px;
  height: 4px;
  margin-top: 16px;
  background: #f5b82e;
  border-radius: 999px;
}

#ll-client-survey .ll-community-card-hero__lead {
  max-width: 520px;
  margin: 0 0 20px;
  color: #102033;
  font-size: 19px;
  line-height: 1.45;
}

#ll-client-survey .ll-community-card-benefits {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  color: #17233a;
  font-size: 17px;
  list-style: none;
}

#ll-client-survey .ll-community-card-benefits li {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* CSS-drawn benefit icons */
#ll-client-survey .ll-benefit-icon {
  position: relative;
  display: inline-flex;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ll-survey-accent);
}

#ll-client-survey .ll-benefit-icon::before,
#ll-client-survey .ll-benefit-icon::after {
  content: "";
  position: absolute;
  display: block;
}

/* Home icon */
#ll-client-survey .ll-benefit-icon--home::before {
  width: 14px;
  height: 11px;
  bottom: 9px;
  background: #fff;
  border-radius: 2px;
}

#ll-client-survey .ll-benefit-icon--home::after {
  width: 13px;
  height: 13px;
  top: 8px;
  background: #fff;
  transform: rotate(45deg);
  border-radius: 2px 0 0 0;
}

/* Mail icon */
#ll-client-survey .ll-benefit-icon--mail::before {
  width: 17px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 2px;
}

#ll-client-survey .ll-benefit-icon--mail::after {
  width: 12px;
  height: 12px;
  top: 9px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* People icon */
#ll-client-survey .ll-benefit-icon--people::before {
  width: 8px;
  height: 8px;
  top: 8px;
  background: #fff;
  border-radius: 50%;
  box-shadow: -7px 5px 0 -2px #fff, 7px 5px 0 -2px #fff;
}

#ll-client-survey .ll-benefit-icon--people::after {
  width: 18px;
  height: 8px;
  bottom: 8px;
  background: #fff;
  border-radius: 10px 10px 4px 4px;
}

#ll-client-survey .ll-community-card-hero__image-wrap {
  position: relative;
}

#ll-client-survey .ll-community-card-hero__image {
  display: block;
  width: 100%;
  max-height: 330px;
  object-fit: cover;
  border-radius: 8px;
}

#ll-client-survey .ll-community-card-callout {
  position: absolute;
  right: -30px;
  bottom: -20px;
  max-width: 255px;
  padding: 18px 20px;
  border-radius: 12px;
  background: #dc2626;
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

/* Community Card question cards */
#ll-client-survey .ll-survey-question-card {
  margin: 16px 0;
  padding: 18px;
  border: 1px solid var(--ll-survey-border);
  border-radius: 12px;
  background: #fff;
}

#ll-client-survey .ll-survey-question-card__heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

#ll-client-survey .ll-survey-question-number {
  display: inline-flex;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ll-survey-accent);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

#ll-client-survey .ll-survey-question-card h3 {
  margin: 4px 0 0;
  color: var(--ll-survey-text);
  font-size: 19px;
  line-height: 1.35;
}

#ll-client-survey .ll-survey-question-card h3 span {
  font-size: 15px;
  font-weight: 400;
}

/* Price cards */
#ll-client-survey .ll-price-card-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(110px, 1fr));
  gap: 14px;
}

#ll-client-survey .ll-price-card-option {
  display: grid;
  min-height: 92px;
  padding: 12px 10px;
  place-items: center;
  border: 1px solid var(--ll-survey-border);
  border-radius: 10px;
  background: #fff;
  text-align: center;
  cursor: pointer;
}

#ll-client-survey .ll-price-card-option input {
  margin: 0 0 8px;
}

#ll-client-survey .ll-price-card-option:has(input:checked) {
  border-color: var(--ll-survey-accent);
  box-shadow: 0 0 0 1px var(--ll-survey-accent) inset;
}

/* Area grid */
#ll-client-survey .ll-postcard-city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px 26px;
  width: 100%;
  max-width: none;
  margin: 0;
}

#ll-client-survey .ll-postcard-city-grid .ll-city-option {
  display: flex;
  gap: 9px;
  align-items: center;
  width: 100%;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

#ll-client-survey .ll-postcard-city-grid .ll-city-option input[type="checkbox"] {
  margin: 0;
  transform: scale(1.05);
}

#ll-client-survey .ll-city-option__text {
  line-height: 1.25;
}

/* Simplified Google visibility onboarding report */
#ll-client-survey .ll-google-visibility-business-name {
  margin: 0 0 14px;
  color: #334155;
  font-size: 18px;
  line-height: 1.4;
  text-align: center;
}

#ll-client-survey .ll-google-visibility-business-name strong {
  color: #172033;
  font-size: 1.08em;
  font-weight: 800;
}

#ll-client-survey .ll-google-visibility-intro {
  max-width: 820px;
  margin: 0 auto 8px;
  color: #334155;
  font-size: 17px;
  line-height: 1.55;
  text-align: center;
}

#ll-client-survey .ll-google-visibility-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 12px 0 6px;
}

#ll-client-survey .ll-google-visibility-card {
  padding: 20px;
  border: 2px solid var(--ll-survey-border);
  border-radius: 14px;
  background: #fff;
}

#ll-client-survey .ll-google-visibility-card--good {
  border-color: #86d5a3;
  background: #f2fbf5;
}

#ll-client-survey .ll-google-visibility-card--poor {
  border-color: #f2aaa5;
  background: #fff7f6;
}

#ll-client-survey .ll-google-visibility-card h3 {
  margin: 0 0 16px;
  color: var(--ll-survey-text);
  font-size: 21px;
}

#ll-client-survey .ll-google-visibility-card > ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#ll-client-survey .ll-google-visibility-card > ul > li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 0;
}

#ll-client-survey .ll-google-visibility-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 27px;
  line-height: 1;
  font-weight: 800;
}

#ll-client-survey .ll-google-visibility-card--good .ll-google-visibility-icon {
  background: #16833f;
}

#ll-client-survey .ll-google-visibility-card--poor .ll-google-visibility-icon {
  background: #c52b24;
}

#ll-client-survey .ll-google-visibility-card strong,
#ll-client-survey .ll-google-visibility-card li div > span {
  display: block;
}

#ll-client-survey .ll-google-visibility-card strong {
  color: #172033;
  font-size: 17px;
  line-height: 1.35;
}

#ll-client-survey .ll-google-visibility-card li div > span {
  margin-top: 3px;
  color: #475569;
  line-height: 1.4;
}

#ll-client-survey .ll-google-visibility-missing-items {
  margin: 8px 0 0 18px;
  padding: 0;
  color: #7f1d1d;
  list-style: disc;
}

#ll-client-survey .ll-google-visibility-missing-items li {
  margin: 3px 0;
}

#ll-client-survey .ll-google-visibility-empty {
  margin: 0;
  color: #64748b;
  line-height: 1.45;
}

#ll-client-survey .ll-google-visibility-interest-card {
  margin-top: 18px;
  text-align: center;
}

#ll-client-survey .ll-google-visibility-interest-card h3 {
  margin: 0 0 18px;
  font-size: 22px;
}

#ll-client-survey .ll-google-visibility-interest-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

#ll-client-survey .ll-google-visibility-interest-actions .ll-btn {
  min-width: 150px;
}

#ll-client-survey .ll-google-visibility-response.is-selected {
  box-shadow: 0 0 0 3px rgba(7, 93, 204, .2);
}

/* Final footer */
#ll-client-survey .ll-community-card-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin: 20px 0 4px;
}

#ll-client-survey .ll-survey-privacy-note {
  max-width: 540px;
  margin: 0 auto;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

/* Small utility classes still used by survey steps */
#ll-client-survey .ll-left {
  text-align: left !important;
}

#ll-client-survey .ll-center {
  text-align: center;
}

#ll-client-survey .ll-img-rounded {
  display: block;
  height: auto;
  margin: 20px auto 30px;
  border-radius: 12px;
}

#dashboard-modal ol li {
  margin-bottom: 0;
}

@media (max-width: 560px) {
  #ll-client-survey .ll-survey-intro .ll-intro-buttons {
    justify-content: center;
  }

  #ll-client-survey .ll-survey-intro .ll-intro-buttons .ll-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Responsive */
@media (max-width: 900px) {
  #ll-client-survey .ll-community-card-hero,
  #ll-client-survey .ll-community-card-footer,
  #ll-client-survey .ll-google-visibility-summary {
    grid-template-columns: 1fr;
  }

  #ll-client-survey .ll-price-card-grid,
  #ll-client-survey .ll-postcard-city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #ll-client-survey .ll-community-card-callout {
    position: static;
    max-width: none;
    margin-top: 10px;
  }
}

@media (max-width: 560px) {
  #ll-client-survey .ll-community-card-step {
    padding: 12px 10px 4px;
  }

  #ll-client-survey .ll-community-card-hero__copy h2 {
    font-size: 27px;
  }

  #ll-client-survey .ll-community-card-hero__lead {
    font-size: 17px;
  }

  #ll-client-survey .ll-price-card-grid,
  #ll-client-survey .ll-postcard-city-grid {
    grid-template-columns: 1fr;
  }

  #ll-client-survey .ll-step-labels li {
    font-size: 12px;
  }

  #ll-client-survey .ll-google-visibility-interest-actions .ll-btn {
    width: 100%;
  }
}

/* Canonical onboarding action behavior for survey steps. */
#ll-client-survey .ll-step-buttons,
#ll-client-survey .ll-intro-buttons {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#ll-client-survey .ll-step-buttons > .ll-btn--secondary:first-child,
#ll-client-survey .ll-step-buttons > .ll-btn--ghost:first-child,
#ll-client-survey .ll-intro-buttons > .ll-btn--ghost:first-child {
  margin-right: auto;
}

#ll-client-survey .ll-step-buttons > .ll-btn--primary:last-child,
#ll-client-survey .ll-intro-buttons > .ll-btn--primary:last-child {
  margin-left: auto;
}

@media (max-width: 980px) {
  #ll-client-survey .ll-business-builder-system-panel__hero {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 720px) {
  #ll-client-survey .ll-social-campaign-step {
    padding-right: 0;
    padding-left: 0;
  }

  #ll-client-survey .ll-business-builder-system-panel {
    padding: 14px;
    border-radius: 14px;
  }

  #ll-client-survey .ll-business-builder-system-panel__title {
    font-size: 30px;
  }

  #ll-client-survey .ll-business-builder-system-panel__subtitle {
    font-size: 19px;
  }

  #ll-client-survey .ll-business-builder-interest-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  #ll-client-survey .ll-step-buttons,
  #ll-client-survey .ll-intro-buttons,
  #ll-client-survey .ll-community-card-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  #ll-client-survey .ll-step-buttons > .ll-btn,
  #ll-client-survey .ll-intro-buttons > .ll-btn,
  #ll-client-survey .ll-community-card-footer > .ll-btn {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  #ll-client-survey .ll-step-buttons > .ll-btn--primary,
  #ll-client-survey .ll-intro-buttons > .ll-btn--primary,
  #ll-client-survey .ll-community-card-footer > .ll-btn--primary {
    order: -1;
  }

  #ll-client-survey .ll-step-buttons > .ll-btn--ghost,
  #ll-client-survey .ll-intro-buttons > .ll-btn--ghost,
  #ll-client-survey .ll-community-card-footer > .ll-btn--ghost {
    align-self: center;
    width: auto;
  }
}

/* ===================================================================
   AI Receptionist onboarding presentation — releases 2026.08.31.1–2026.08.31.2
   =================================================================== */

#ll-client-survey .ll-ai-receptionist-interest-card {
  margin: 8px 0 18px;
  padding: 28px;
  border: 1px solid #cbdaf0;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fbff 0%, #f3f8ff 60%, #f5fbf7 100%);
  box-shadow: 0 12px 30px rgba(15, 55, 95, 0.08);
}

#ll-client-survey .ll-ai-receptionist-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
  gap: 34px;
  align-items: center;
}

#ll-client-survey .ll-ai-receptionist-copy {
  min-width: 0;
}

#ll-client-survey .ll-ai-receptionist-badge {
  position: absolute;
  z-index: 2;
  top: -14px;
  right: -12px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 8px 14px 9px;
  border: 1px solid #b91c1c;
  border-radius: 7px 7px 2px 2px;
  background: #dc2626;
  color: #fff;
  box-shadow: 0 8px 18px rgba(127, 29, 29, 0.26);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
}

#ll-client-survey .ll-ai-receptionist-badge span + span {
  margin-top: 2px;
  font-size: 19px;
}

#ll-client-survey .ll-ai-receptionist-badge::after {
  content: "";
  position: absolute;
  top: 100%;
  right: -1px;
  width: 0;
  height: 0;
  border-top: 8px solid #991b1b;
  border-left: 9px solid transparent;
}

#ll-client-survey .ll-ai-receptionist-copy .ll-question-heading {
  margin: 0 0 12px;
  color: #12345a;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  text-align: left;
}

#ll-client-survey .ll-ai-receptionist-intro {
  margin: 0 0 20px;
  color: #334155;
  font-size: 18px;
  line-height: 1.6;
}

#ll-client-survey .ll-ai-receptionist-benefits {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#ll-client-survey .ll-ai-receptionist-benefits li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  margin: 0;
  color: #334155;
  font-size: 16px;
  line-height: 1.45;
}

#ll-client-survey .ll-ai-receptionist-benefits li::before {
  content: "\2713";
  display: inline-flex;
  width: 27px;
  height: 27px;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  border-radius: 50%;
  background: #16833f;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

#ll-client-survey .ll-ai-receptionist-benefits strong {
  color: #172033;
  font-size: 1.03em;
}

#ll-client-survey .ll-ai-receptionist-visual {
  position: relative;
  display: flex;
  justify-content: center;
  width: min(100%, 520px);
  min-width: 0;
  margin: 0 auto;
}

#ll-client-survey .ll-ai-receptionist-visual img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  border: 1px solid rgba(7, 93, 204, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 55, 95, 0.15);
}

#ll-client-survey .ll-ai-receptionist-response-block {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #d9e1ec;
}

/* Reuse the preceding Google-visibility question styling for consistency. */
#ll-client-survey .ll-ai-receptionist-response-block.ll-google-visibility-interest-card {
  text-align: center;
}

@media (max-width: 900px) {
  #ll-client-survey .ll-ai-receptionist-layout {
    grid-template-columns: 1fr;
  }

  #ll-client-survey .ll-ai-receptionist-visual {
    order: -1;
  }

  #ll-client-survey .ll-ai-receptionist-visual {
    width: min(100%, 620px);
  }
}

@media (max-width: 560px) {
  #ll-client-survey .ll-ai-receptionist-interest-card {
    padding: 18px;
    border-radius: 14px;
  }

  #ll-client-survey .ll-ai-receptionist-copy .ll-question-heading {
    font-size: 28px;
  }

  #ll-client-survey .ll-ai-receptionist-intro {
    font-size: 17px;
  }

  #ll-client-survey .ll-ai-receptionist-badge {
    top: -10px;
    right: -6px;
    min-width: 82px;
    padding: 7px 11px 8px;
    font-size: 13px;
  }

  #ll-client-survey .ll-ai-receptionist-badge span + span {
    font-size: 17px;
  }
}


/* ===================================================================
   Gift-card onboarding intake — release 2026.09.05.8
   =================================================================== */
#ll-client-survey .ll-gift-card-intake-step__intro {
  max-width: 660px;
  margin: 0 auto 18px;
  color: #475569;
  font-size: 17px;
  line-height: 1.5;
  text-align: center;
}

#ll-client-survey .ll-gift-card-intake-step .ll-survey-question-card {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

#ll-client-survey .ll-gift-card-intake-step .ll-survey-question-card > h3 {
  margin: 0 0 14px;
  font-size: 21px;
  text-align: center;
}

#ll-client-survey .ll-gift-card-url-field {
  display: grid;
  gap: 7px;
  max-width: var(--ll-survey-option-width);
  margin: 16px auto 0;
  color: var(--ll-survey-text);
  font-size: 16px;
  font-weight: 700;
}

#ll-client-survey .ll-gift-card-url-field.is-hidden {
  display: none;
}

#ll-client-survey .ll-gift-card-url-field input[type="url"] {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--ll-survey-border);
  border-radius: 8px;
  background: #fff;
  color: var(--ll-survey-text);
  font-size: 16px;
  font-weight: 400;
}

#ll-client-survey .ll-gift-card-url-help {
  color: #64748b;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

#ll-client-survey .ll-gift-card-url-field.ll-has-error input[type="url"] {
  border-color: #dc2626;
  box-shadow: 0 0 0 1px #dc2626 inset;
}

#ll-client-survey .ll-gift-card-url-error {
  color: #b91c1c;
  font-size: 14px;
  font-weight: 600;
}

#ll-client-survey .ll-gift-card-local-leader-options {
  max-width: 360px;
}

@media (max-width: 560px) {
  #ll-client-survey .ll-gift-card-intake-step__intro {
    font-size: 16px;
    text-align: left;
  }
}


/* ===================================================================
   Gift-card / Google Visibility stage separation — release 2026.09.05.9
   =================================================================== */
.ll-gift-card-intake-loading {
  max-width: 720px;
  margin: 0 auto;
  padding: 34px 24px;
  text-align: center;
}

.ll-gift-card-intake-loading h2 {
  margin: 0 0 10px;
}

.ll-gift-card-intake-loading p {
  margin: 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.5;
}

/* Gift Cards → Google Visibility transition — release 2026.09.05.10 */
#ll-client-survey .ll-gift-card-intake-step.is-generating-google-report > *:not(.ll-google-visibility-loading) {
  display: none !important;
}

#ll-client-survey .ll-google-visibility-loading {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 36px 24px;
  text-align: center;
}

#ll-client-survey .ll-google-visibility-loading__spinner {
  width: 34px;
  height: 34px;
  border: 4px solid rgba(15, 118, 110, 0.18);
  border-top-color: #0f766e;
  border-radius: 50%;
  animation: llGiftCardGoogleReportSpin 0.75s linear infinite;
}

#ll-client-survey .ll-google-visibility-loading h3 {
  margin: 4px 0 0;
  color: #0f172a;
  font-size: 22px;
  line-height: 1.3;
}

#ll-client-survey .ll-google-visibility-loading p {
  margin: 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.5;
}

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

