/* Survey-specific layout on top of design-tokens.css */
.wh-page-grid {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.wh-survey-card { padding: 28px 30px 30px; }

.wh-survey-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.wh-survey-head h1 { margin: 0 0 4px; font-size: 26px; color: var(--wh-green-900); font-weight: 600; }
.wh-survey-head p { margin: 0; color: var(--wh-ink-500); font-size: 14.5px; line-height: 1.5; }

.wh-meta-row { display: flex; gap: 18px; margin: 14px 0 20px; font-size: 13px; color: var(--wh-ink-500); }
.wh-meta-row span { display: inline-flex; align-items: center; gap: 6px; }
.wh-meta-row svg { width: 15px; height: 15px; }

.wh-progress-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.wh-progress-row .label { font-size: 13px; font-weight: 600; color: var(--wh-ink-700); white-space: nowrap; }
.wh-progress-row .pct { font-size: 13px; font-weight: 700; color: var(--wh-green-800); white-space: nowrap; }

.wh-section-box {
  background: var(--wh-cream-200);
  border-radius: var(--wh-radius-md);
  padding: 16px 18px;
  margin-bottom: 24px;
}
.wh-section-box .eyebrow { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--wh-tan-500); font-weight: 700; margin-bottom: 4px; }
.wh-section-box h2 { margin: 0 0 6px; font-size: 19px; color: var(--wh-green-900); }
.wh-section-box p { margin: 0; font-size: 13.5px; color: var(--wh-ink-500); line-height: 1.5; }

.wh-concept-box {
  background: var(--wh-green-800);
  color: var(--wh-cream-100);
  border-radius: var(--wh-radius-md);
  padding: 18px 20px;
  margin-bottom: 24px;
  font-size: 14.5px;
  line-height: 1.65;
}
.wh-concept-box .eyebrow { color: var(--wh-tan-300); }

.wh-question { margin-bottom: 30px; }
.wh-question:last-child { margin-bottom: 6px; }
.wh-question-label {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--wh-ink-900);
  margin-bottom: 4px;
  line-height: 1.4;
}
.wh-question-label .qnum { color: var(--wh-green-700); }
.wh-required-star { color: var(--wh-red-500); margin-left: 2px; }
.wh-question-note { font-size: 12.5px; color: var(--wh-ink-500); margin-bottom: 10px; }
.wh-question-error {
  display: none;
  font-size: 12.5px;
  color: var(--wh-red-500);
  margin-top: 8px;
  font-weight: 600;
}
.wh-question.has-error .wh-question-error { display: block; }
.wh-question.has-error .wh-options-grid,
.wh-question.has-error textarea,
.wh-question.has-error .wh-email-input,
.wh-question.has-error select {
  outline: 1.5px solid var(--wh-red-500);
  outline-offset: 4px;
  border-radius: var(--wh-radius-sm);
}

.wh-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}
@media (max-width: 640px) { .wh-options-grid { grid-template-columns: 1fr 1fr; } }

.wh-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--wh-border);
  border-radius: var(--wh-radius-md);
  padding: 11px 14px;
  cursor: pointer;
  font-size: 14px;
  color: var(--wh-ink-700);
  background: var(--wh-cream-000);
  transition: border-color 0.12s ease, background 0.12s ease;
  user-select: none;
}
.wh-option:hover { border-color: var(--wh-green-600); }
.wh-option input { accent-color: var(--wh-green-800); width: 16px; height: 16px; flex-shrink: 0; }
.wh-option.checked { border-color: var(--wh-green-700); background: var(--wh-green-100); color: var(--wh-green-900); font-weight: 600; }
.wh-option.wide { grid-column: 1 / -1; }

.wh-other-input {
  margin-top: 8px;
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--wh-radius-sm);
  border: 1.5px solid var(--wh-border);
  font-size: 13.5px;
  font-family: inherit;
  display: none;
}
.wh-other-input.shown { display: block; }

.wh-likert { margin-top: 12px; }
.wh-likert-scale { display: flex; gap: 8px; }
.wh-likert-cell {
  flex: 1;
  text-align: center;
  border: 1.5px solid var(--wh-border);
  border-radius: var(--wh-radius-md);
  padding: 14px 6px 10px;
  cursor: pointer;
  background: var(--wh-cream-000);
}
.wh-likert-cell .num { display: block; font-size: 18px; font-weight: 700; color: var(--wh-green-800); margin-bottom: 3px; }
.wh-likert-cell:hover { border-color: var(--wh-green-600); }
.wh-likert-cell.checked { border-color: var(--wh-green-700); background: var(--wh-green-100); }
.wh-likert-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11.5px; color: var(--wh-ink-500); }
.wh-likert-labels span:last-child { text-align: right; max-width: 45%; }
.wh-likert-labels span:first-child { max-width: 45%; }

.wh-textarea {
  width: 100%;
  min-height: 90px;
  border: 1.5px solid var(--wh-border);
  border-radius: var(--wh-radius-md);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  margin-top: 8px;
  resize: vertical;
}

.wh-email-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--wh-radius-md);
  border: 1.5px solid var(--wh-border);
  font-size: 14.5px;
  font-family: inherit;
  margin-top: 10px;
  background: var(--wh-cream-000);
}

.wh-country-select {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--wh-radius-md);
  border: 1.5px solid var(--wh-border);
  font-size: 14.5px;
  font-family: inherit;
  margin-top: 10px;
  background: var(--wh-cream-000);
}

.wh-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--wh-border-soft);
}

.wh-guest-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--wh-tan-300);
  color: var(--wh-green-900);
  border-radius: var(--wh-radius-md);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.wh-done-card { text-align: center; padding: 48px 30px; }
.wh-done-card .wh-icon-badge { margin: 0 auto 18px; width: 60px; height: 60px; }
.wh-done-card .wh-icon-badge svg { width: 28px; height: 28px; }
.wh-done-card h1 { font-size: 24px; margin: 0 0 10px; color: var(--wh-green-900); }
.wh-done-card p { color: var(--wh-ink-500); font-size: 14.5px; max-width: 460px; margin: 0 auto; }
