/* A quiet booking flow, using the existing Roamwise palette and type. */
[hidden] {
  display: none !important;
}
.tp-body {
  background: var(--paper, #fffdfa);
}
.booking-shell {
  max-width: 1000px;
  margin: auto;
  padding: 24px 32px 0;
}
.booking-progress {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  overflow-x: auto;
}
.progress-step {
  background: none;
  border: 0;
  border-radius: 6px;
  padding: 10px 8px;
  white-space: nowrap;
  font-size: 12px;
  color: var(--muted);
}
.progress-step[aria-current] {
  background: var(--green);
  color: var(--paper);
}
.progress-step:disabled {
  opacity: 0.55;
}
.booking-heading {
  padding: 32px 0 20px;
  outline: none;
}
.booking-heading h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  margin: 12px 0;
}
.booking-heading p {
  color: var(--muted);
  margin: 0;
}
.booking-content {
  max-width: 780px;
  min-height: 280px;
  padding-bottom: 24px;
}
.booking-content button,
.booking-actions button {
  min-height: 44px;
}
.booking-actions {
  position: sticky;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  background: var(--paper, #fffdfa);
  border-top: 1px solid var(--line);
}
.booking-actions > .button {
  margin-left: auto;
}
.skip-step {
  background: none;
  border: 0;
  color: var(--muted);
  text-decoration: underline;
}
.destination-screen .tp-search {
  max-width: none;
  box-shadow: none;
  border-radius: 12px;
}
.popular-destinations {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}
.popular-destinations p {
  width: 100%;
  margin: 0;
}
.popular-destinations button {
  padding: 6px 14px;
}
.destination-screen .tp-stops {
  padding: 0;
  margin: 20px 0;
  max-height: 38vh;
  overflow-y: auto;
}
.destination-screen .tp-stop {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 16px;
}
.destination-screen .tp-leg,
.destination-screen .tp-stop-cost {
  display: none;
}
.destination-screen .tp-empty {
  padding: 18px 0;
}
.destination-screen .tp {
  height: 0;
  overflow: visible;
  background: none;
  isolation: auto;
}
.destination-screen .tp:not(.show-map) > .tp-map,
.destination-screen .tp:not(.show-map) > .tp-map-tools,
.destination-screen .tp:not(.show-map) > .tp-map-fallback {
  display: none;
}
.destination-screen .tp.show-map {
  height: 320px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 16px;
  isolation: isolate;
}
.tp-top,
.tp-sidebar {
  display: none !important;
}
.tp-panel {
  position: fixed !important;
  top: 90px !important;
  right: 24px !important;
  bottom: 24px !important;
  width: min(420px, calc(100vw - 32px)) !important;
  z-index: 8 !important;
  max-height: calc(100svh - 110px);
  overflow: auto !important;
  box-shadow: 0 8px 60px #17372b44;
}
.tp.show-map.panel-open .tp-map-tools {
  right: 18px;
}
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.details-grid > label:first-child {
  grid-column: 1/-1;
}
.details-grid .tp-dates {
  display: contents;
}
.details-grid input,
.details-grid select {
  width: 100%;
  margin-top: 7px;
  min-height: 46px;
}
.details-grid .tp-title {
  font: inherit;
  border: 1px solid var(--line);
  padding: 12px;
  background: white;
}
.booking-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: #fff;
  margin-bottom: 16px;
  overflow: hidden;
}
.booking-card h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 25px;
  margin: 0 0 12px;
}
.booking-card h4 {
  margin: 0 0 6px;
}
.booking-card p {
  margin: 8px 0 16px;
}
.booking-card .button {
  display: inline-block;
  margin-bottom: 12px;
}
.choice {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
  cursor: pointer;
  min-height: 36px;
}
.choice input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--green);
  flex-shrink: 0;
}
.activity-choice {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.destination-photo {
  width: calc(100% + 48px);
  max-width: none;
  height: 180px;
  object-fit: cover;
  margin: -24px -24px 20px;
}
.photo-credit {
  font-size: 10px;
  color: var(--muted);
}
.essentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.essentials-grid .booking-card {
  margin: 0;
}
.essentials-grid img {
  width: 100%;
  height: 150px;
  object-fit: contain;
}
.small {
  color: var(--muted);
}
.trip-workspace {
  max-width: 960px;
  margin: auto;
  padding: 24px 32px 60px;
}
.itinerary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.itinerary-cover {
  padding: 40px;
  border-radius: 20px;
  background: #e8eddf;
  margin-bottom: 28px;
}
.itinerary-cover h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.05;
  margin: 20px 0;
}
.itinerary-route {
  font-size: 20px;
}
.itinerary-map {
  width: 100%;
  max-height: 170px;
  background: #f8f8f0;
  border-radius: 12px;
}
.itinerary-stop {
  margin-top: 24px;
}
.itinerary-stop .destination-photo {
  height: 260px;
}
.day-list {
  padding-left: 24px;
}
.day-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.itinerary-view .booking-shell {
  display: none;
}
.tp-body footer {
  margin-top: 24px;
}
.tp-toast {
  position: fixed;
  bottom: 95px;
  z-index: 20;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #b86840;
  outline-offset: 3px;
}
@media (max-width: 650px) {
  .booking-shell {
    padding: 16px 18px 0;
  }
  .booking-heading {
    padding-top: 24px;
  }
  .booking-progress {
    gap: 2px;
  }
  .progress-step {
    font-size: 11px;
  }
  .booking-content {
    min-height: 260px;
  }
  .details-grid {
    gap: 14px;
  }
  .essentials-grid {
    grid-template-columns: 1fr;
  }
  .booking-card {
    padding: 20px;
  }
  .destination-photo {
    width: calc(100% + 40px);
    margin: -20px -20px 18px;
  }
  .booking-actions {
    gap: 8px;
    flex-wrap: wrap;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }
  .booking-actions button {
    font-size: 12px;
    padding: 10px 12px;
  }
  .destination-screen .tp-stop {
    padding: 12px;
    gap: 8px;
  }
  .tp-stop-side {
    min-width: 0;
  }
  .tp-stop-main {
    min-width: 0;
  }
  .trip-workspace {
    padding: 20px 18px 40px;
  }
  .itinerary-cover {
    padding: 24px;
  }
  .itinerary-stop .destination-photo {
    height: 200px;
  }
  .itinerary-actions button {
    font-size: 12px;
  }
  .tp-panel {
    right: 16px !important;
  }
  .popular-destinations button {
    font-size: 12px;
  }
}
@media print {
  .itinerary-actions,
  .booking-shell {
    display: none !important;
  }
  .trip-workspace {
    padding: 0;
  }
  .booking-card {
    break-inside: avoid;
  }
  .itinerary-cover {
    break-after: page;
  }
}
.route-tools {
  display: flex;
  gap: 12px;
  margin: 12px 0;
}
.route-tools button {
  display: flex;
  gap: 6px;
  align-items: center;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 12px;
  padding: 8px;
}
.route-tools svg {
  width: 16px;
  height: 16px;
}
.transport-types { display:flex; flex-wrap:wrap; gap:10px 18px; margin-bottom:24px; color:var(--green); font-size:13px; }
.transport-types span { display:inline-flex; align-items:center; gap:6px; }
.transport-types svg { width:22px; height:22px; }
.route-map-figure { margin:24px 0 0; }
.itinerary-map { display:block; width:100%; height:auto; max-height:none; border:1px solid #d8dfcf; }
.route-map-figure figcaption { margin-top:10px; font-size:12px; overflow-wrap:anywhere; }
.packing-item { display:flex; align-items:center; gap:20px; padding:16px 0; border-top:1px solid var(--line); }
.packing-item img { width:80px; height:95px; object-fit:contain; }
.packing-item .button { font-size:13px; }
.packing-item p { font-size:14px; margin:0; }
