:root {
  --green: #6cab45;
  --green-dark: #5e9a39;
  --green-soft: #eef6e8;
  --ink: #050505;
  --muted: #8a725d;
  --beige: #eadfce;
  --beige-2: #f8f5f0;
  --line: #dedede;
  --field: #e7ddd0;
  --disabled: #f6f6f6;
  --disabled-text: #b9b5b0;
  --yellow: #ffd979;
  --danger: #b42318;
  --shadow: 0 2px 5px rgba(28, 24, 18, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #fff;
  color: var(--ink);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.planner-page {
  min-height: 100vh;
  padding: 30px 24px 42px;
}

.planner {
  width: min(100%, 720px);
  margin: 0 auto;
}

.planner-header {
  margin-bottom: 18px;
}

.planner-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 12px;
}

.step-counter {
  display: flex;
  align-items: baseline;
  gap: 5px;
  letter-spacing: 0.02em;
}

.step-counter strong {
  font-weight: 600;
}

.step-counter span {
  color: #787878;
}

.time-note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #6f9f4f;
  white-space: nowrap;
  font-size: 11px;
}

.time-note svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.progress-track {
  height: 3px;
  background: #d9d9d9;
  overflow: hidden;
}

.progress-bar {
  display: block;
  width: 16.666%;
  height: 100%;
  background: var(--green);
  transition: width 240ms ease;
}

.planner-step {
  animation: stepIn 220ms ease;
}

.planner-step[hidden] {
  display: none !important;
}

@keyframes stepIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

h1 {
  margin: 0 0 34px;
  font-size: clamp(24px, 3.2vw, 29px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 700;
}

h2 {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
}

.section-intro {
  margin: -14px 0 30px;
  font-size: 12px;
  line-height: 1.5;
}

.image-option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.image-option {
  appearance: none;
  width: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--beige);
  border-radius: 15px;
  background: #fbf9f6;
  color: #000;
  cursor: pointer;
  box-shadow: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.image-option:hover {
  border-color: #b9d79f;
}

.image-option:focus-visible,
.choice-pill:focus-visible,
.pill:focus-visible,
.duration-card:focus-visible,
.btn:focus-visible,
.counter-btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(108, 171, 69, 0.2);
  outline-offset: 2px;
}

.image-option.is-selected {
  border: 2px solid #7bb55b;
  box-shadow: 0 1px 3px rgba(76, 112, 52, 0.18);
}

.image-option img {
  display: block;
  width: 100%;
  height: 105px;
  object-fit: cover;
  background: #f6f1e8;
}

.image-option span {
  display: grid;
  place-items: center;
  min-height: 45px;
  padding: 8px 6px;
  font-size: 12px;
  font-weight: 500;
  color: #8c6e54;
}

.image-option.is-selected span {
  color: #000;
}

.traveler-grid {
  margin-top: 68px;
}

.traveler-card img {
  object-fit: cover;
}

.step-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-top: 38px;
}

.step-actions--right {
  margin-top: 36px;
}

.btn {
  border: 0;
  cursor: pointer;
  transition: background 140ms ease, transform 140ms ease, opacity 140ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-next,
.btn-submit {
  min-width: 74px;
  height: 30px;
  padding: 0 23px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.btn-next:hover,
.btn-submit:hover {
  background: var(--green-dark);
}

.btn-back {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  padding: 0;
  border: 1px solid #d4b78f;
  border-radius: 50%;
  background: #fff;
  color: #9d7b56;
}

.btn-back svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-error {
  min-height: 18px;
  margin: 10px 0 0;
  color: var(--danger);
  font-size: 11px;
}

/* Step 2 */
.people-count {
  margin-top: 38px;
  padding-bottom: 28px;
  border-bottom: 1px dashed #dedede;
}

.counter-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 21px;
}

.counter-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.counter-label {
  min-width: 48px;
  color: #9d785b;
  font-size: 12px;
  line-height: 1.05;
  font-weight: 500;
}

.counter-label small {
  display: block;
  margin-top: 2px;
  color: #9d785b;
  font-size: 9px;
  white-space: nowrap;
}

.counter-control {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.counter-btn {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  padding: 0 0 2px;
  border: 1px solid var(--field);
  border-radius: 50%;
  background: #fff;
  color: #936f4e;
  cursor: pointer;
  font-size: 19px;
  font-weight: 300;
  line-height: 1;
}

.counter-control output {
  min-width: 18px;
  text-align: center;
  font-size: 12px;
}

.counter-divider {
  width: 1px;
  height: 33px;
  background: #dedede;
}

.age-note {
  margin-top: 23px;
  padding-bottom: 26px;
  border-bottom: 1px dashed #dedede;
}

.age-note h2 {
  margin-bottom: 19px;
  font-size: 12px;
}

.age-note p {
  max-width: 690px;
  margin: 0;
  color: #7f614a;
  font-size: 10.5px;
  line-height: 1.15;
}

/* Step 3 */
.date-section {
  margin-bottom: 27px;
}

.date-section h2 {
  margin-bottom: 19px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.pill {
  min-width: 90px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--beige);
  border-radius: 14px;
  background: #fbf9f6;
  color: #8f745d;
  cursor: pointer;
  font-size: 11px;
  box-shadow: none;
}

.pill.is-selected {
  color: #000;
  border-color: #d7c6b2;
  background: #fff;
  box-shadow: var(--shadow);
}

.pill:disabled {
  border-color: transparent;
  background: var(--disabled);
  color: var(--disabled-text);
  cursor: not-allowed;
  box-shadow: none;
}

.month-row .pill {
  min-width: 74px;
  height: 31px;
  padding: 0 15px;
  border-radius: 999px;
}

.season-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  margin-top: 16px;
  padding-bottom: 30px;
  border-bottom: 1px dashed #dedede;
  color: #a17e60;
  font-size: 11px;
}

.season-badge {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--yellow);
  color: #9b6c21;
  font-size: 9px;
}

.season-badge.low {
  background: #edf5e8;
  color: #5c8b3a;
}

.info-dot {
  display: inline-grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border: 1px solid #cabda9;
  border-radius: 50%;
  color: #9c8d7b;
  font-size: 8px;
  cursor: help;
}

/* Step 4 */
.planner-step--compact h1 {
  margin-bottom: 26px;
}

.duration-group {
  padding: 0 0 24px;
  margin-bottom: 24px;
  border-bottom: 1px dashed #dedede;
}

.duration-group:last-child {
  margin-bottom: 0;
}

.duration-group-title {
  margin-bottom: 17px;
  font-size: 11px;
}

.duration-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.duration-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 500px;
}

.duration-card {
  position: relative;
  min-height: 105px;
  padding: 18px 8px 10px;
  border: 1px solid var(--beige);
  border-radius: 10px;
  background: #fbf9f6;
  color: #8f7259;
  text-align: center;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.duration-card:hover {
  border-color: #bdd8a7;
}

.duration-card.is-selected {
  border-color: #7bb55b;
  background: #fff;
  box-shadow: 0 1px 3px rgba(76, 112, 52, 0.15);
}

.recommended-badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 7px;
  border-radius: 2px;
  background: #dceccf;
  color: #547d39;
  white-space: nowrap;
  font-size: 7px;
  font-weight: 600;
}

.duration-icon {
  display: block;
  height: 25px;
  margin: 0 auto 4px;
  color: #c9b8a7;
}

.duration-icon svg {
  width: 32px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.duration-card .duration-title {
  display: block;
  margin-bottom: 7px;
  color: #9f7c5d;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.duration-card .duration-subtitle {
  display: block;
  min-height: 25px;
  color: #9a7a60;
  font-size: 8px;
  line-height: 1.15;
}

.duration-card .success-rate {
  display: block;
  margin: -1px 0 5px;
  color: #9a7a60;
  font-size: 10px;
}

/* Step 5 */
.question-block {
  margin-bottom: 30px;
}

.question-block h2 {
  margin-bottom: 14px;
  font-size: 11px;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.choice-pill {
  min-height: 34px;
  padding: 0 15px;
  border: 1px solid var(--beige);
  border-radius: 999px;
  background: #fbf9f6;
  color: #8b7059;
  cursor: pointer;
  font-size: 9px;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease, color 140ms ease;
}

.choice-pill.is-selected {
  border-color: #7bb55b;
  background: var(--green-soft);
  color: #365b22;
  box-shadow: 0 1px 2px rgba(76, 112, 52, 0.1);
}

.question-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.question-heading-row small {
  color: #8c8c8c;
  font-size: 8.5px;
  white-space: nowrap;
}

.range-wrap {
  margin-top: 19px;
}

input[type="range"] {
  --range-progress: 50%;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--green) 0 var(--range-progress), #d9d9d9 var(--range-progress) 100%);
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}

input[type="range"]::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}

.range-labels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 6px;
  font-size: 8.5px;
}

.range-labels span:nth-child(1) {
  justify-self: start;
}

.range-labels strong {
  justify-self: center;
  font-weight: 500;
}

.range-labels span:nth-child(3) {
  justify-self: end;
}

.textarea-label {
  display: block;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 600;
}

textarea {
  width: 100%;
  min-height: 142px;
  padding: 15px;
  resize: vertical;
  border: 1px solid var(--field);
  border-radius: 11px;
  background: #fff;
  color: #222;
  font-size: 10px;
  line-height: 1.35;
}

textarea::placeholder,
input::placeholder {
  color: #555;
  opacity: 1;
}

/* Step 6 */
.final-intro {
  margin-top: 0;
  margin-bottom: 24px;
  line-height: 1.5;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 16px;
  margin-bottom: 49px;
}

.field input,
.phone-field input,
.phone-field select {
  width: 100%;
  height: 43px;
  border: 1px solid var(--field);
  background: #fff;
  color: #111;
  font-size: 10px;
}

.field input {
  padding: 0 13px;
  border-radius: 6px;
}

.phone-field {
  display: grid;
  grid-template-columns: 80px 1fr;
}

.phone-field select {
  padding: 0 6px;
  border-radius: 6px 0 0 6px;
  border-right: 0;
}

.phone-field input {
  padding: 0 12px;
  border-radius: 0 6px 6px 0;
}

.contact-method-block {
  margin-bottom: 28px;
}

.whatsapp-pill {
  color: #000;
}

.whatsapp-icon {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  margin-right: 4px;
  border-radius: 50%;
  background: #65bd23;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

.final-divider {
  border-top: 1px dashed #dedede;
  margin-top: 22px;
}

.submit-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 33px;
}

.btn-submit {
  min-width: 154px;
  height: 35px;
  padding: 0 15px;
  border-radius: 10px;
  font-size: 10px;
}

.submit-area small {
  margin-top: 13px;
  color: #8fa766;
  font-size: 9px;
}

.submit-status {
  min-height: 18px;
  margin-top: 8px;
  text-align: center;
  font-size: 10px;
}

.submit-status.success {
  color: var(--green-dark);
}

.submit-status.error {
  color: var(--danger);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive */
@media (max-width: 760px) {
  .planner-page {
    padding: 22px 18px 34px;
  }

  .planner {
    width: min(100%, 620px);
  }

  .image-option-grid,
  .duration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .duration-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .traveler-grid {
    margin-top: 38px;
  }

  .counter-row {
    flex-wrap: wrap;
  }

  .counter-divider {
    display: none;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 13px;
  }

  .planner-page {
    padding: 18px 14px 28px;
  }

  .planner-meta {
    font-size: 10px;
  }

  .time-note {
    font-size: 9px;
  }

  h1 {
    margin-bottom: 27px;
    font-size: 23px;
  }

  .section-intro {
    margin-top: -10px;
    margin-bottom: 22px;
    font-size: 11px;
  }

  .trip-grid,
  .traveler-grid {
    gap: 10px;
  }

  .image-option img {
    height: 95px;
  }

  .image-option span {
    min-height: 42px;
    font-size: 10px;
  }

  .traveler-grid {
    margin-top: 20px;
  }

  .counter-row {
    gap: 18px;
  }

  .counter-block {
    width: 100%;
    justify-content: space-between;
  }

  .month-row .pill {
    min-width: 0;
  }

  .question-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .question-heading-row small {
    white-space: normal;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    margin-bottom: 36px;
  }

  .step-actions {
    margin-top: 28px;
  }
}

@media (max-width: 390px) {
  .image-option-grid,
  .duration-grid,
  .duration-grid.three {
    grid-template-columns: 1fr 1fr;
  }

  .planner-meta {
    align-items: flex-start;
  }

  .time-note span {
    display: none;
  }
}


/* ===== Refined first-look additions ===== */
body {
  background:
    radial-gradient(circle at 18% 0%, rgba(108,171,69,.035), transparent 26%),
    #fff;
}

.planner {
  position: relative;
}

.progress-track {
  border-radius: 999px;
}

.progress-bar {
  border-radius: 999px;
}

.image-option,
.duration-card,
.choice-pill,
.pill,
.field input,
.phone-field,
textarea {
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.image-option:hover,
.duration-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(34, 38, 28, .07);
}

.image-option.is-selected,
.duration-card.is-selected {
  box-shadow: 0 5px 15px rgba(74, 116, 45, .10);
}

.btn-next,
.btn-submit {
  box-shadow: 0 4px 10px rgba(108, 171, 69, .18);
}

.btn-next:hover,
.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 15px rgba(108, 171, 69, .22);
}

/* A restrained "document preview" that keeps the same clean visual language
   as the reference form instead of becoming a separate dashboard/hero. */
.trip-plan-preview {
  display: grid;
  grid-template-columns: 52px 1fr 28px;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  margin: 4px 0 24px;
  border: 1px solid var(--beige);
  border-radius: 14px;
  background: linear-gradient(135deg, #fff 0%, #fbf9f5 100%);
}

.trip-plan-doc {
  width: 46px;
  height: 56px;
  padding: 9px 8px;
  border: 1px solid #d9cdbd;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 9px rgba(50, 43, 35, .05);
}

.trip-plan-doc span {
  display: block;
  width: max-content;
  margin-bottom: 7px;
  padding: 2px 5px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .06em;
}

.trip-plan-doc i {
  display: block;
  height: 2px;
  margin-top: 4px;
  border-radius: 999px;
  background: #e8dfd3;
}

.trip-plan-doc i:nth-of-type(2) { width: 78%; }
.trip-plan-doc i:nth-of-type(3) { width: 58%; }

.trip-plan-copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  line-height: 1.35;
}

.trip-plan-copy p {
  margin: 0;
  color: #836f5d;
  font-size: 10.5px;
  line-height: 1.5;
}

.trip-plan-tick {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .planner-page {
    padding: 20px 16px 30px;
  }

  .planner-meta {
    margin-bottom: 10px;
  }

  h1 {
    margin-bottom: 26px;
  }

  .trip-plan-preview {
    grid-template-columns: 46px 1fr;
  }

  .trip-plan-tick {
    display: none;
  }
}

/* ===== Complete planning details — same first-look visual language ===== */
.optional-stack {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.optional-panel {
  overflow: hidden;
  border: 1px solid var(--beige);
  border-radius: 12px;
  background: #fbf9f6;
}

.optional-panel + .optional-panel {
  margin-top: 0;
}

.optional-panel summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 47px;
  padding: 0 44px 0 15px;
  list-style: none;
  cursor: pointer;
  color: #1d1d1d;
  font-size: 10.5px;
  font-weight: 600;
  user-select: none;
}

.optional-panel summary::-webkit-details-marker {
  display: none;
}

.optional-panel summary::after {
  content: "+";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid #ddcfbf;
  border-radius: 50%;
  background: #fff;
  color: #8d6d50;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.optional-panel[open] summary::after {
  content: "−";
}

.optional-panel summary span {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f0eadf;
  color: #9a7e65;
  font-size: 8px;
  font-weight: 500;
}

.optional-panel[open] summary {
  border-bottom: 1px dashed #dfd7cc;
  background: #fff;
}

.optional-panel-body {
  padding: 17px 15px 18px;
  background: #fff;
}

.party-extra,
.date-extra,
.final-extra {
  margin-top: 22px;
}

.more-detail-intro {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 32px 0 12px;
  padding-top: 22px;
  border-top: 1px dashed #dedede;
}

.more-detail-intro strong {
  font-size: 11px;
}

.more-detail-intro span {
  color: #8a745f;
  font-size: 9.5px;
  line-height: 1.45;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.soft-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.soft-field--wide {
  grid-column: 1 / -1;
}

.soft-field > span,
.soft-question-title {
  color: #242424;
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.35;
}

.soft-field input,
.soft-field select,
.soft-field textarea {
  width: 100%;
  border: 1px solid var(--field);
  border-radius: 8px;
  background: #fff;
  color: #222;
  box-shadow: none;
}

.soft-field input,
.soft-field select {
  height: 39px;
  padding: 0 11px;
  font-size: 9.5px;
}

.soft-field textarea {
  min-height: 78px;
  padding: 11px 12px;
  font-size: 9.5px;
  line-height: 1.45;
}

.soft-field input:focus,
.soft-field select:focus,
.soft-field textarea:focus {
  outline: none;
  border-color: #90bb72;
  box-shadow: 0 0 0 3px rgba(108,171,69,.09);
}

.soft-question {
  margin-top: 17px;
}

.soft-question-title {
  display: block;
  margin-bottom: 10px;
}

.check-pill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.check-pill {
  position: relative;
  cursor: pointer;
}

.check-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check-pill span {
  display: flex;
  align-items: center;
  min-height: 35px;
  padding: 7px 10px;
  border: 1px solid var(--beige);
  border-radius: 999px;
  background: #fbf9f6;
  color: #876d57;
  font-size: 8.5px;
  line-height: 1.2;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.check-pill input:checked + span {
  border-color: #7bb55b;
  background: var(--green-soft);
  color: #365b22;
  box-shadow: 0 1px 2px rgba(76,112,52,.08);
}

.check-pill input:focus-visible + span {
  outline: 3px solid rgba(108,171,69,.18);
  outline-offset: 2px;
}

.route-preference {
  margin-top: 24px;
  padding-top: 21px;
  border-top: 1px dashed #dedede;
}

.route-row {
  margin-top: 13px;
}

.route-row .choice-pill {
  min-height: 32px;
}

.route-recommend {
  border-style: dashed;
}

.micro-note {
  margin: 12px 0 0;
  color: #927965;
  font-size: 8.5px;
  line-height: 1.5;
}

.privacy-mini {
  margin-bottom: 15px;
  padding: 10px 12px;
  border-left: 2px solid #8cb86f;
  border-radius: 0 8px 8px 0;
  background: #f4f8f0;
  color: #65715d;
  font-size: 8.8px;
  line-height: 1.5;
}

.consent-panel {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--beige);
  border-radius: 12px;
  background: #fbf9f6;
}

.consent-copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 10.5px;
}

.consent-copy p {
  margin: 0 0 13px;
  color: #826e5c;
  font-size: 8.8px;
  line-height: 1.5;
}

.consent-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 0;
  border-top: 1px dashed #dfd8cd;
  cursor: pointer;
}

.consent-line input {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
  accent-color: var(--green);
}

.consent-line span {
  color: #4d433a;
  font-size: 8.8px;
  line-height: 1.45;
}

.signature-grid {
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #dfd8cd;
}

.contact-grid {
  align-items: stretch;
}

.final-extra {
  margin-bottom: 14px;
}

/* Keep extra fields visually quieter than the main six-step choices. */
.optional-panel-body .choice-pill,
.optional-panel-body .pill {
  font-size: 8.5px;
}

@media (max-width: 760px) {
  .form-grid--three {
    grid-template-columns: 1fr 1fr;
  }

  .check-pill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .form-grid,
  .form-grid--three,
  .signature-grid {
    grid-template-columns: 1fr;
  }

  .optional-panel summary {
    min-height: 45px;
    padding-left: 12px;
    padding-right: 39px;
    font-size: 9.5px;
  }

  .optional-panel summary span {
    display: none;
  }

  .optional-panel-body {
    padding: 14px 12px 15px;
  }

  .check-pill-grid {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .check-pill span {
    min-height: 34px;
    padding: 7px 8px;
    font-size: 8px;
  }
}
