/* Guided trip questions. Tap targets stay at least 44px. */
.wiz-back {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(20, 51, 33, .48);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.wiz-dialog {
  box-sizing: border-box;
  width: min(560px, 100%);
  max-height: min(100%, 100dvh);
  overflow: auto;
  background: var(--surface, #fffdf9);
  color: var(--ink, #241c14);
  border-radius: 22px 22px 0 0;
  padding: 16px 16px 18px;
  box-shadow: var(--shadow-lg, 0 24px 60px rgba(16, 40, 24, .22));
}
.wiz-top { display: flex; align-items: flex-start; gap: 8px; }
.wiz-top h2 { margin: 0; font: 800 20px Rubik, Assistant, sans-serif; color: var(--g900, #143321); flex: 1; }
.wiz-x {
  min-width: 44px; min-height: 44px; border-radius: 12px; border: 1px solid var(--line, #e3d4bf);
  background: transparent; font: 700 18px Assistant, sans-serif; cursor: pointer; color: inherit;
}
.wiz-kicker { margin: 4px 0 0; color: var(--muted, #5c5146); font-size: 13.5px; }
#wiz-prog { height: 6px; border-radius: 99px; background: #efe6d6; margin-top: 10px; }
#wiz-prog::before { content: ''; display: block; height: 100%; width: calc(100% * var(--p, .25)); border-radius: inherit; background: var(--g700, #24633a); }
.wiz-q { margin: 14px 0 8px; font: 800 17px Rubik, Assistant, sans-serif; }
.wiz-choices { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; }
.wiz-choice {
  width: 100%; min-height: 48px; text-align: start; cursor: pointer;
  border-radius: 14px; border: 1px solid var(--line, #e3d4bf); background: #fff;
  padding: 10px 12px; font: 700 16px Assistant, sans-serif; color: inherit;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
}
.wiz-choice[aria-checked="true"] {
  background: var(--g100, #e3f2e6);
  border-color: var(--g700, #24633a);
  box-shadow: inset 0 0 0 1px var(--g700, #24633a);
}
.wiz-choice-h { font-weight: 500; font-size: 13px; color: var(--muted, #5c5146); }
.wiz-choice .wiz-badge {
  font: 700 11px Assistant, sans-serif; color: var(--g800, #1c4a2e);
  background: var(--g50, #f2f8f3); border-radius: 999px; padding: 2px 8px;
}
.wiz-sub { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.wiz-sub label { display: flex; flex-direction: column; gap: 4px; font: 700 13.5px Assistant, sans-serif; }
.wiz-sub input[type="number"], .wiz-sub input[type="text"], .wiz-city input {
  width: 100%; box-sizing: border-box; min-height: 44px;
  font: 500 16px Assistant, sans-serif; border: 1px solid #dccfbc; border-radius: 12px;
  padding: 8px 12px; background: #fffdfa; color: inherit;
}
.wiz-row { display: flex; align-items: center; gap: 8px; }
.wiz-row input[type="number"] { max-width: 88px; text-align: center; }
.wiz-stepbtn, .wiz-loc {
  min-width: 44px; min-height: 44px; border-radius: 12px; border: 1px solid var(--line, #e3d4bf);
  background: #fff; font: 700 18px Assistant, sans-serif; cursor: pointer; color: inherit;
}
.wiz-loc { width: 100%; font-size: 15px; font-weight: 700; }
.wiz-list {
  list-style: none; margin: 4px 0 0; padding: 4px; border: 1px solid var(--line, #e3d4bf);
  border-radius: 12px; background: #fff; max-height: 220px; overflow: auto;
}
.wiz-list button {
  width: 100%; min-height: 44px; text-align: start; border: 0; background: transparent;
  border-radius: 8px; font: 600 15px Assistant, sans-serif; cursor: pointer; color: inherit; padding: 8px 10px;
}
.wiz-list button[aria-selected="true"], .wiz-list button:hover { background: var(--g50, #f2f8f3); }
.wiz-hint { margin: 8px 0 0; color: var(--muted, #5c5146); font-size: 13.5px; }
.wiz-err { margin: 8px 0 0; color: #8a2b1b; font-weight: 700; font-size: 14px; }
.wiz-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.wiz-btn {
  min-height: 44px; border-radius: 999px; padding: 10px 16px; cursor: pointer;
  font: 700 15px Assistant, sans-serif; border: 1px solid var(--line, #e3d4bf); background: #fff; color: inherit;
}
.wiz-next { margin-inline-start: auto; background: var(--g700, #24633a); color: #fff; border-color: transparent; }
.wiz-next:disabled { opacity: .6; cursor: progress; }
.wiz-days { margin: 8px 0 0; padding: 0; list-style: none; }
.wiz-day { margin-top: 12px; padding-top: 8px; border-top: 1px dashed var(--line, #e3d4bf); }
.wiz-day h3 { margin: 0 0 6px; font: 800 15px Rubik, Assistant, sans-serif; }
.wiz-stop { margin: 0 0 8px; }
.wiz-stop strong { font-size: 15px; }
.wiz-stop p { margin: 2px 0 0; color: var(--muted, #5c5146); font-size: 13.5px; }
.wiz-tag {
  display: inline-block; margin-inline-start: 6px; font: 700 11px Assistant, sans-serif;
  background: var(--sand50, #fbf3e4); color: var(--b900, #4e3118); border-radius: 999px; padding: 2px 8px;
}
.wiz-note {
  margin: 10px 0 0; padding: 10px 12px; border-radius: 12px;
  background: var(--g50, #f2f8f3); border: 1px solid var(--g100, #e3f2e6); font-size: 14px;
}
.wiz-choice:focus-visible, .wiz-btn:focus-visible, .wiz-x:focus-visible, .wiz-stepbtn:focus-visible,
.wiz-loc:focus-visible, .wiz-list button:focus-visible, .wiz-sub input:focus-visible, .wiz-city input:focus-visible {
  outline: 3px solid var(--focus, #0b6cb0); outline-offset: 2px;
}
@media (min-width: 720px) {
  .wiz-back { align-items: center; padding: 24px; }
  .wiz-dialog { border-radius: 22px; max-height: min(92vh, 860px); }
}
html[data-theme="dark"] .wiz-dialog { background: #1c1914; color: #f4efe6; }
html[data-theme="dark"] .wiz-choice, html[data-theme="dark"] .wiz-stepbtn, html[data-theme="dark"] .wiz-loc,
html[data-theme="dark"] .wiz-btn, html[data-theme="dark"] .wiz-list, html[data-theme="dark"] .wiz-sub input,
html[data-theme="dark"] .wiz-city input { background: #241c14; color: #f4efe6; border-color: #4d4338; }
html[data-theme="dark"] .wiz-choice[aria-checked="true"] { background: #1c2e22; }
html[data-theme="dark"] .wiz-top h2, html[data-theme="dark"] .wiz-q, html[data-theme="dark"] .wiz-day h3 { color: #f4efe6; }
@media (max-width: 719px) {
  .wiz-next { flex: 1 1 100%; }
}
