.trip-builder-page {
  min-height: 100vh;
  background: #f4f8f7;
  color: #10233d;
}

.trip-builder-shell {
  width: min(1040px, calc(100% - 40px));
  min-width: 0;
  margin: 0 auto;
  padding: 116px 0 72px;
}

.trip-builder-loading,
.trip-builder-error {
  padding: 24px;
  border: 1px solid #dce7e3;
  border-radius: 18px;
  background: #fff;
  color: #526979;
  line-height: 1.6;
}

.trip-builder-error a {
  color: #1266d6;
  font-weight: 800;
}

.trip-builder-intro {
  position: relative;
  min-height: 250px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-bottom: 24px;
  padding: clamp(24px, 5vw, 48px);
  border-radius: 24px;
  background: linear-gradient(90deg, rgba(5, 18, 40, .88), rgba(5, 18, 40, .28)), url("/uploads/explore-hero.webp") center 52% / cover;
  color: #fff;
}

.trip-builder-intro-copy {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.trip-builder-intro .eyebrow {
  color: #8ee2d2;
}

.trip-builder-intro h1 {
  margin: 10px 0;
  color: #fff;
  font-size: clamp(36px, 6vw, 62px);
  line-height: .98;
  letter-spacing: -2.6px;
}

.trip-builder-intro p {
  max-width: 560px;
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 16px;
  line-height: 1.6;
}

.trip-builder-breadcrumb {
  display: inline-block;
  margin-bottom: 24px;
  padding: 9px 15px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background .18s, border-color .18s;
}

.trip-builder-breadcrumb:hover {
  border-color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.2);
}

.trip-builder-breadcrumb:focus-visible {
  outline: 3px solid #8ee2d2;
  outline-offset: 3px;
}

@media (min-width: 641px) {
  .trip-builder-intro .trip-builder-breadcrumb {
    margin-bottom: 0;
  }

  .trip-builder-intro .eyebrow {
    display: block;
    margin-top: 28px;
  }
}

.trip-builder-panel {
  padding: clamp(22px, 5vw, 42px);
  border: 1px solid #dce8e4;
  border-radius: 24px;
  background: linear-gradient(145deg, #fff 70%, #f6faf8);
  box-shadow: 0 22px 54px rgba(16,35,61,.075);
}

.trip-progress {
  margin-bottom: 35px;
}

.trip-progress-heading,
.trip-progress-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.trip-progress-heading {
  margin-bottom: 10px;
  color: #637683;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.trip-progress-heading span:first-child {
  color: #148775;
}

.trip-progress-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.trip-progress-segment {
  height: 5px;
  border-radius: 999px;
  background: #e6eeeb;
  transition: background .2s;
}

.trip-progress-segment.is-complete {
  background: linear-gradient(90deg, #168976, #77cdbb);
}

.trip-progress-labels {
  margin-top: 8px;
  color: #91a0a7;
  font-size: 10px;
  font-weight: 800;
}

.trip-progress-labels .is-active {
  color: #1266d6;
}

.trip-progress-labels .is-complete {
  color: #4c8277;
}

.trip-step-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  color: #148775;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.trip-step-eyebrow::before {
  width: 17px;
  height: 2px;
  border-radius: 3px;
  background: #69c6b0;
  content: "";
}

.trip-question {
  margin: 0 0 7px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.08;
  letter-spacing: -1.3px;
}

.trip-question-copy {
  max-width: 620px;
  margin: 0 0 24px;
  color: #66798a;
  font-size: 15px;
  line-height: 1.65;
}

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

.trip-options-interest {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trip-choice {
  position: relative;
  min-width: 0;
  min-height: 93px;
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) 21px;
  align-items: center;
  gap: 13px;
  padding: 17px;
  border: 1px solid #dce7e3;
  border-radius: 17px;
  background: rgba(255,255,255,.92);
  color: #1a3548;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(16,35,61,.025);
  transition: border-color .18s, background .18s, transform .18s, box-shadow .18s;
}

.trip-choice:hover {
  transform: translateY(-2px);
  border-color: #80cbb8;
  box-shadow: 0 10px 22px rgba(16,35,61,.07);
}

.trip-choice[aria-pressed="true"] {
  border-color: #168976;
  background: linear-gradient(135deg, #f2faf7, #fff);
  box-shadow: inset 0 0 0 1px #168976, 0 8px 18px rgba(22,137,118,.08);
}

.trip-choice:focus-visible,
.trip-action:focus-visible,
.trip-day-place:focus-visible {
  outline: 3px solid #4aa7e7;
  outline-offset: 3px;
}

.trip-choice-icon {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, #edf7f3, #e1f0eb);
  font-size: 20px;
}

.trip-choice-copy {
  min-width: 0;
}

.trip-choice-copy strong {
  display: block;
  overflow-wrap: anywhere;
  color: #173847;
  font-size: 14px;
  line-height: 1.35;
}

.trip-choice-copy small {
  display: block;
  margin-top: 4px;
  color: #71838d;
  font-size: 10px;
  line-height: 1.45;
}

.trip-choice-indicator {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 1px solid #d9e5e0;
  border-radius: 50%;
  background: #fff;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.trip-choice[aria-pressed="true"] .trip-choice-indicator {
  border-color: #168976;
  background: #168976;
}

.trip-choice-interest {
  min-height: 113px;
  align-items: start;
}

.trip-choice-interest .trip-choice-icon {
  width: 43px;
  height: 43px;
}

.trip-choice-interest .trip-choice-indicator {
  margin-top: 1px;
}

.trip-step-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 18px 0 0;
  color: #75868e;
  font-size: 11px;
  line-height: 1.5;
}

.trip-step-note span {
  color: #168976;
}

.trip-step-actions {
  justify-content: space-between;
  margin-top: 24px;
}

.trip-step-actions,
.trip-result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
}

.trip-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #1266d6;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s, background .18s;
}

.trip-action:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #0a54b7;
}

.trip-action:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.trip-action.secondary {
  border-color: #dce7e3;
  background: #fff;
  color: #345568;
}

.trip-action.secondary:hover:not(:disabled) {
  background: #f4f8f7;
}

.trip-inline-message {
  min-height: 20px;
  margin: 12px 0 0;
  color: #a23a28;
  font-size: 12px;
}

.trip-result-header {
  position: relative;
  overflow: hidden;
  padding: 27px;
  border-radius: 20px;
  background: radial-gradient(ellipse at 100% 0%, rgba(77, 159, 226, .27), transparent 45%), linear-gradient(125deg, #07152f, #123958);
  color: #fff;
}

.trip-print-brand {
  display: none;
}

.trip-result-header::after {
  position: absolute;
  right: -75px;
  bottom: -140px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(142, 226, 210, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(142, 226, 210, .035), 0 0 0 58px rgba(142, 226, 210, .025);
  content: "";
  pointer-events: none;
}

.trip-result-header .eyebrow {
  color: #8ee2d2;
}

.trip-result-header h1 {
  margin: 9px 0;
  color: #fff;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1;
  letter-spacing: -1.9px;
}

.trip-result-meta {
  margin: 0;
  color: #d3e3e9;
  font-size: 13px;
  line-height: 1.6;
}

.trip-result-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  max-width: 650px;
  margin-top: 23px;
}

.trip-result-stats > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 13px;
  background: rgba(255,255,255,.075);
}

.trip-result-stats strong {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 20px;
  line-height: 1.1;
}

.trip-result-stats span {
  color: #c4d7df;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.35;
}

.trip-result-note {
  margin: 0;
  padding: 16px 19px;
  border: 1px solid #d6ebe4;
  border-radius: 0 0 15px 15px;
  border-top: 0;
  background: #f0f8f5;
  color: #3c5f59;
  font-size: 13px;
  line-height: 1.65;
}

.trip-result-note strong {
  color: #17483f;
}

.trip-day-list {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.trip-day {
  min-width: 0;
  padding: clamp(17px, 2.5vw, 23px);
  border: 1px solid #e0e9e5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16,35,61,.04);
}

.trip-day-top {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf1ef;
}

.trip-day-number {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid #cfe7df;
  border-radius: 13px;
  background: linear-gradient(145deg, #f2faf7, #e3f2ed);
  color: #167663;
  font-size: 14px;
  font-weight: 950;
}

.trip-day-heading {
  min-width: 0;
}

.trip-day-kicker {
  display: block;
  margin-bottom: 5px;
  color: #148775;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 1.1px;
}

.trip-day-top h2 {
  margin: 0 0 5px;
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.15;
  letter-spacing: -.6px;
}

.trip-day-area {
  margin: 0;
  color: #71838d;
  font-size: 12px;
  font-weight: 800;
}

.trip-day-description {
  margin: 0 0 16px;
  color: #637683;
  font-size: 13px;
  line-height: 1.6;
}

.trip-place-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.trip-day-place {
  min-width: 0;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  min-height: 112px;
  overflow: hidden;
  border: 1px solid #e1ebe7;
  border-radius: 12px;
  background: #fff;
  color: #10233d;
  text-decoration: none;
  transition: transform .18s, border-color .18s, box-shadow .18s;
}

.trip-day-place:hover {
  transform: translateY(-2px);
  border-color: #b8dbd0;
  box-shadow: 0 9px 22px rgba(16,35,61,.08);
}

.trip-day-place-featured {
  grid-column: auto;
}

.trip-day-place img {
  display: block;
  width: 82px;
  height: 112px;
  min-height: 0;
  object-fit: cover;
  background: #e7efeb;
}

.trip-day-place-featured img {
  width: 82px;
  height: 112px;
}

.trip-day-place-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 11px;
}

.trip-day-place-copy strong {
  display: block;
  overflow-wrap: anywhere;
  color: #10233d;
  font-size: 13px;
  line-height: 1.3;
}

.trip-day-place-copy > span:not(.trip-day-place-kicker) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin-top: 5px;
  color: #637683;
  font-size: 11px;
  line-height: 1.4;
}

.trip-day-place-copy .trip-day-place-kicker {
  margin: 0 0 6px;
  color: #148775;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.trip-day-place-copy .trip-day-place-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 7px;
  color: #1266d6;
  font-size: 11px;
  font-weight: 900;
}

.trip-day-place-cta span {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.trip-additional-places {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 17px;
  margin-top: 20px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid #dce8e4;
  border-radius: 20px;
  background: linear-gradient(145deg, #f5faf8, #fff 68%);
}

.trip-additional-heading {
  max-width: 760px;
}

.trip-additional-heading .trip-day-kicker {
  margin-bottom: 7px;
}

.trip-additional-places h2 {
  margin: 0 0 6px;
  color: #173847;
  font-size: clamp(19px, 2.5vw, 24px);
  letter-spacing: -.7px;
}

.trip-additional-places p {
  margin: 0;
  color: #637683;
  font-size: 13px;
  line-height: 1.6;
}

.trip-additional-place-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.trip-additional-place-list .trip-day-place {
  background: rgba(255,255,255,.85);
}

.trip-additional-place-list .trip-day-place img {
  height: 86px;
}

.trip-additional-place-list .trip-day-place {
  min-height: 86px;
}

.trip-additional-place-list .trip-day-place-copy {
  padding: 8px 10px;
}

.trip-additional-place-list .trip-day-place-copy .trip-day-place-cta {
  display: none;
}

.trip-additional-place-list .trip-day-place-copy > span:not(.trip-day-place-kicker):not(.trip-day-place-cta) {
  display: -webkit-box;
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.3;
  -webkit-line-clamp: 2;
}

.trip-provider-section {
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid #e4ece8;
}

.trip-provider-section h3 {
  margin: 0 0 9px;
  font-size: 12px;
}

.trip-provider-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trip-provider-card {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px 7px 7px;
  border: 1px solid #e1ebe7;
  border-radius: 13px;
  background: #fff;
  color: #183c45;
  font-size: 11px;
  font-weight: 800;
}

.trip-provider-card img,
.trip-provider-placeholder {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 9px;
  object-fit: cover;
  background: #edf4f1;
}

.trip-provider-placeholder {
  display: grid;
  place-items: center;
  color: #567a70;
}

.trip-alternatives {
  margin-top: 20px;
  padding: 22px;
  border: 1px solid #dce8e4;
  border-radius: 18px;
  background: #fff;
}

.trip-alternatives h2 {
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: -.5px;
}

.trip-alternative-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.trip-alternative-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid #dce7e3;
  border-radius: 999px;
  color: #1266d6;
  font-size: 12px;
  font-weight: 850;
}

.trip-result-footer {
  margin-top: 19px;
  padding: clamp(20px, 4vw, 30px);
  border-radius: 20px;
  background: #eaf5f1;
}

.trip-result-footer h2 {
  margin: 0 0 5px;
  font-size: 23px;
}

.trip-result-footer p {
  margin: 0;
  color: #637683;
  font-size: 13px;
  line-height: 1.55;
}

.trip-pdf-dialog {
  width: min(1040px, calc(100vw - 36px));
  max-width: none;
  max-height: min(92vh, 1000px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(142, 226, 210, .35);
  border-radius: 22px;
  background: #f4f8f7;
  color: #10233d;
  box-shadow: 0 30px 100px rgba(4, 16, 35, .45);
}

.trip-pdf-dialog::backdrop {
  background: rgba(5, 18, 40, .78);
  backdrop-filter: blur(7px);
}

.trip-pdf-dialog-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: min(92vh, 1000px);
}

.trip-pdf-dialog-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 17px 22px;
  border-bottom: 1px solid #dce8e4;
  background: #fff;
}

.trip-pdf-dialog-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.trip-pdf-dialog-brand .trip-print-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #07152f;
  color: #fff;
  font-size: 17px;
  font-weight: 950;
}

.trip-pdf-dialog-brand strong,
.trip-pdf-dialog-brand small {
  display: block;
}

.trip-pdf-dialog-brand strong {
  color: #10233d;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .7px;
}

.trip-pdf-dialog-brand small {
  margin-top: 3px;
  color: #148775;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .8px;
}

.trip-pdf-dialog-title {
  text-align: center;
}

.trip-pdf-dialog-title .eyebrow {
  color: #148775;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
}

.trip-pdf-dialog-title h2 {
  margin: 3px 0 0;
  color: #10233d;
  font-size: 17px;
  letter-spacing: -.3px;
}

.trip-pdf-close {
  width: 36px;
  height: 36px;
  justify-self: end;
  border: 1px solid #dce8e4;
  border-radius: 50%;
  background: #fff;
  color: #345568;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.trip-pdf-close:hover,
.trip-pdf-close:focus-visible {
  border-color: #168976;
  color: #126b5c;
}

.trip-pdf-viewer {
  min-height: 0;
  overflow: auto;
  padding: 28px;
  background: radial-gradient(ellipse at 50% 0%, rgba(142, 226, 210, .16), transparent 55%), linear-gradient(145deg, #dfece8, #eaf1ef 60%, #dce8e4);
}

.trip-pdf-pages {
  width: min(760px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.trip-pdf-page {
  box-sizing: border-box;
  position: relative;
  width: min(760px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #d7e2df;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(16, 35, 61, .18), 0 2px 5px rgba(16, 35, 61, .08);
}

.trip-pdf-page canvas {
  display: block;
  width: 100%;
  height: auto;
}

.trip-pdf-loading {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 26px;
  border: 1px solid #d7e2df;
  border-radius: 7px;
  background: #fff;
  color: #637683;
  font-size: 13px;
  text-align: center;
}

.trip-pdf-preview-content {
  box-sizing: border-box;
  width: calc(100% - 68px);
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.trip-pdf-export .trip-day {
  break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 10px;
  padding: 12px;
}

.trip-pdf-export .trip-day-top,
.trip-pdf-export .trip-day-description,
.trip-pdf-export .trip-day-place,
.trip-pdf-export .trip-additional-heading,
.trip-pdf-export .trip-alternative-links a {
  break-inside: avoid;
  page-break-inside: avoid;
}

.trip-pdf-export .trip-day-top {
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 8px;
}

.trip-pdf-export .trip-day-number {
  width: 34px;
  height: 34px;
}

.trip-pdf-export .trip-day-top h2 {
  margin-bottom: 3px;
  font-size: 19px;
}

.trip-pdf-export .trip-day-area,
.trip-pdf-export .trip-day-description {
  font-size: 11px;
  line-height: 1.45;
}

.trip-pdf-export .trip-day-description {
  margin-bottom: 9px;
}

.trip-pdf-export .trip-day-list {
  gap: 8px;
}

.trip-pdf-export .trip-place-list {
  gap: 6px;
}

.trip-pdf-export .trip-day-place,
.trip-pdf-export .trip-day-place-featured {
  min-height: 68px;
  grid-template-columns: 60px minmax(0, 1fr);
}

.trip-pdf-export .trip-day-place img,
.trip-pdf-export .trip-day-place-featured img {
  width: 60px;
  height: 68px;
}

.trip-pdf-export .trip-day-place-copy {
  padding: 7px 8px;
}

.trip-pdf-export .trip-day-place-copy strong {
  font-size: 12px;
}

.trip-pdf-export .trip-day-place-copy > span:not(.trip-day-place-kicker) {
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.35;
}

.trip-pdf-preview-content .trip-print-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
  color: #10233d;
}

.trip-pdf-preview-content .trip-print-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #07152f;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
}

.trip-pdf-preview-content .trip-print-brand strong,
.trip-pdf-preview-content .trip-print-brand small {
  display: block;
}

.trip-pdf-preview-content .trip-print-brand strong {
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .7px;
}

.trip-pdf-preview-content .trip-print-brand small {
  margin-top: 3px;
  color: #148775;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .8px;
}

.trip-pdf-dialog-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  border-top: 1px solid #dce8e4;
  background: #fff;
}

.trip-pdf-dialog-footer > span {
  color: #637683;
  font-size: 12px;
  line-height: 1.5;
}

.trip-pdf-dialog-footer > div {
  display: flex;
  flex: none;
  gap: 9px;
}

.trip-pdf-dialog-footer .trip-action {
  min-height: 42px;
}

.trip-pdf-feedback {
  width: 100%;
  margin: 0;
  color: #a23a28;
  font-size: 12px;
  line-height: 1.45;
}

.trip-copy-feedback {
  min-height: 20px;
  margin: 11px 0 0;
  color: #1266d6;
  font-size: 12px;
}

.trip-share-link-label {
  display: block;
  margin-top: 16px;
  color: #365467;
  font-size: 12px;
  font-weight: 850;
}

.trip-share-link-row {
  display: flex;
  gap: 8px;
  margin-top: 7px;
}

.trip-share-link-row input {
  min-width: 0;
  flex: 1;
  padding: 0 13px;
  border: 1px solid #dce7e3;
  border-radius: 11px;
  background: #fff;
  color: #345568;
  font-size: 12px;
}

.trip-builder-home-link {
  display: inline-flex;
  margin-top: 22px;
  color: #1266d6;
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 640px) {
  .trip-builder-shell {
    width: min(100% - 28px, 520px);
    padding-top: 92px;
    padding-bottom: 45px;
  }

  .trip-builder-intro {
    min-height: 235px;
    margin-bottom: 14px;
    border-radius: 18px;
  }

  .trip-builder-intro h1 {
    letter-spacing: -1.5px;
  }

  .trip-builder-panel {
    padding: 21px 17px;
    border-radius: 18px;
  }

  .trip-progress {
    margin-bottom: 26px;
  }

  .trip-progress-labels {
    gap: 5px;
    font-size: 9px;
  }

  .trip-options {
    gap: 8px;
  }

  .trip-options-interest {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trip-choice {
    min-height: 68px;
    gap: 9px;
    padding: 12px;
    border-radius: 13px;
  }

  .trip-choice-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 17px;
  }

  .trip-choice-copy strong {
    font-size: 12px;
  }

  .trip-choice-copy small {
    font-size: 10px;
  }

  .trip-choice-interest {
    min-height: 106px;
    grid-template-columns: 36px minmax(0, 1fr) 18px;
    align-items: start;
    gap: 8px;
    padding: 11px 9px;
  }

  .trip-choice-interest .trip-choice-icon {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .trip-choice-interest .trip-choice-indicator {
    width: 18px;
    height: 18px;
  }

  .trip-choice-interest .trip-choice-copy strong {
    font-size: 11px;
  }

  .trip-step-note {
    margin-top: 14px;
    font-size: 10px;
  }

  .trip-step-actions,
  .trip-result-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .trip-step-actions .trip-action,
  .trip-result-actions .trip-action,
  .trip-share-link-row .trip-action {
    width: 100%;
  }

  .trip-share-link-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .trip-share-link-row input {
    min-height: 46px;
  }

  .trip-place-list {
    grid-template-columns: 1fr;
  }

  .trip-result-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 18px;
  }

  .trip-result-stats > div {
    padding: 10px 11px;
  }

  .trip-result-stats > div:last-child {
    grid-column: 1 / -1;
  }

  .trip-result-stats strong {
    font-size: 18px;
  }

  .trip-result-stats span {
    font-size: 9px;
  }

  .trip-day-place {
    grid-template-columns: 78px minmax(0, 1fr);
    min-height: 106px;
  }

  .trip-day-place img {
    width: 78px;
    height: 106px;
  }

  .trip-day-place-featured {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .trip-additional-places {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 18px;
  }

  .trip-additional-place-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .trip-result-header {
    padding: 22px 19px;
  }

  .trip-alternative-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .trip-alternative-links a {
    justify-content: center;
  }
}

@media (max-width: 390px) {
  .trip-options-interest {
    grid-template-columns: 1fr;
  }

  .trip-choice-interest {
    min-height: 80px;
    grid-template-columns: 38px minmax(0, 1fr) 20px;
    align-items: center;
    padding: 12px;
  }

  .trip-choice-interest .trip-choice-icon {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .trip-pdf-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 17px;
  }

  .trip-pdf-dialog-shell {
    max-height: calc(100vh - 20px);
  }

  .trip-pdf-dialog-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px;
  }

  .trip-pdf-dialog-brand .trip-print-mark {
    width: 31px;
    height: 31px;
  }

  .trip-pdf-dialog-brand strong {
    font-size: 8px;
  }

  .trip-pdf-dialog-brand small {
    font-size: 7px;
  }

  .trip-pdf-dialog-title {
    text-align: left;
  }

  .trip-pdf-dialog-title .eyebrow {
    font-size: 8px;
  }

  .trip-pdf-dialog-title h2 {
    font-size: 14px;
  }

  .trip-pdf-viewer {
    padding: 12px;
  }

  .trip-pdf-viewer {
    padding: 12px;
  }

  .trip-pdf-pages {
    gap: 16px;
  }

  .trip-pdf-preview-content {
    width: calc(100% - 34px);
  }

  .trip-pdf-dialog-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding: 11px 13px;
  }

  .trip-pdf-dialog-footer > div {
    width: 100%;
  }

  .trip-pdf-feedback {
    order: 1;
  }

  .trip-pdf-dialog-footer .trip-action {
    flex: 1;
    min-width: 0;
    justify-content: center;
  }
}

@media print {
  @page {
    size: auto;
    margin: 12mm;
  }

  body.trip-builder-page {
    background: #fff;
    color: #10233d;
    font-size: 9pt;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .trip-builder-page .nav,
  .trip-builder-intro,
  .trip-pdf-dialog,
  .trip-progress,
  .trip-step-actions,
  .trip-result-actions,
  .trip-copy-feedback,
  .trip-builder-home-link,
  .trip-provider-section {
    display: none !important;
  }

  .trip-builder-shell {
    width: 100%;
    padding: 0;
  }

  .trip-result {
    box-sizing: border-box;
    max-width: 180mm;
    margin: 10mm auto 0;
    padding: 7mm;
    border: 1px solid #dce8e4;
    border-radius: 5mm;
    background: #fff;
  }

  .trip-print-brand {
    display: flex;
    align-items: center;
    gap: 3mm;
    margin-bottom: 4mm;
    color: #10233d;
  }

  .trip-print-mark {
    width: 11mm;
    height: 11mm;
    display: grid;
    place-items: center;
    border-radius: 3mm;
    background: #07152f;
    color: #fff;
    font-size: 15pt;
    font-weight: 950;
  }

  .trip-print-brand strong,
  .trip-print-brand small {
    display: block;
  }

  .trip-print-brand strong {
    font-size: 9pt;
    font-weight: 950;
    letter-spacing: .5pt;
  }

  .trip-print-brand small {
    margin-top: 1mm;
    color: #177966;
    font-size: 6.5pt;
    font-weight: 850;
    letter-spacing: .8pt;
  }

  .trip-result-header {
    margin-bottom: 4mm;
    padding: 7mm;
    border: 0;
    border-radius: 4mm;
    background: linear-gradient(120deg, #07152f, #123958);
    color: #fff;
  }

  .trip-result-header::after {
    display: none;
  }

  .trip-result-header .eyebrow {
    color: #8ee2d2;
    font-size: 7pt;
  }

  .trip-result-header h1 {
    margin: 2mm 0;
    color: #fff;
    font-size: 24pt;
    letter-spacing: -.7pt;
  }

  .trip-result-meta {
    color: #d3e3e9;
    font-size: 8pt;
  }

  .trip-result-stats {
    max-width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 2mm;
    margin-top: 4mm;
  }

  .trip-result-stats > div {
    gap: 1mm;
    padding: 2.5mm 3mm;
    border-color: rgba(255,255,255,.2);
    border-radius: 2mm;
    background: rgba(255,255,255,.09);
  }

  .trip-result-stats strong {
    color: #fff;
    font-size: 14pt;
  }

  .trip-result-stats span {
    color: #d3e3e9;
    font-size: 6.5pt;
  }

  .trip-result-note {
    padding: 3mm 4mm;
    border: 1px solid #d6ebe4;
    border-radius: 2mm;
    background: #f3f8f6;
    color: #3c5f59;
    font-size: 7.5pt;
  }

  .trip-result-note strong {
    color: #17483f;
  }

  .trip-day-list {
    gap: 3mm;
    margin-top: 4mm;
  }

  .trip-result-header,
  .trip-day,
  .trip-result-footer,
  .trip-alternatives,
  .trip-additional-places {
    break-inside: avoid;
    box-shadow: none;
  }

  .trip-day,
  .trip-result-footer {
    border: 1px solid #d7e5df;
    background: #fff;
    color: #10233d;
  }

  .trip-day {
    padding: 4mm;
    border-left: 1.3mm solid #168976;
    border-radius: 2.5mm;
  }

  .trip-day-top {
    gap: 2.5mm;
    margin-bottom: 2.5mm;
    padding-bottom: 2.5mm;
  }

  .trip-day-number {
    width: 9mm;
    height: 9mm;
    border-radius: 2mm;
    font-size: 9pt;
  }

  .trip-day-top h2 {
    color: #10233d;
  }

  .trip-day-kicker {
    font-size: 7pt;
  }

  .trip-day-top h2 {
    margin-bottom: 1mm;
    font-size: 13pt;
  }

  .trip-day-area,
  .trip-day-description {
    color: #637683;
    font-size: 7pt;
  }

  .trip-day-description {
    margin-bottom: 2.5mm;
  }

  .trip-place-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8mm;
  }

  .trip-day-place,
  .trip-day-place-featured {
    grid-column: auto;
    grid-template-columns: 21mm minmax(0, 1fr);
    min-height: 25mm;
    border-color: #e0e9e5;
    border-radius: 2mm;
    background: #fbfdfc;
    break-inside: avoid;
  }

  .trip-day-place img,
  .trip-day-place-featured img {
    width: 21mm;
    height: 25mm;
    min-height: 0;
  }

  .trip-day-place-copy {
    padding: 2.5mm;
  }

  .trip-day-place-copy .trip-day-place-kicker,
  .trip-day-place-copy .trip-day-place-cta {
    display: none;
  }

  .trip-day-place-copy strong {
    color: #10233d;
    font-size: 7.5pt;
  }

  .trip-day-place-copy > span:not(.trip-day-place-kicker) {
    display: -webkit-box;
    margin-top: 1mm;
    color: #637683;
    font-size: 6.5pt;
    line-height: 1.3;
    -webkit-line-clamp: 2;
  }

  .trip-additional-places {
    grid-template-columns: 1fr;
    gap: 2.5mm;
    margin-top: 4mm;
    padding: 4mm;
    border-color: #dce8e4;
    border-radius: 3mm;
    background: #f5faf8;
  }

  .trip-additional-places h2 {
    color: #173847;
    font-size: 12pt;
  }

  .trip-additional-places p {
    color: #637683;
    font-size: 7pt;
  }

  .trip-additional-place-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5mm;
  }

  .trip-additional-place-list .trip-day-place {
    min-height: 17mm;
  }

  .trip-additional-place-list .trip-day-place img {
    height: 17mm;
  }

  .trip-alternatives,
  .trip-result-footer {
    margin-top: 4mm;
    padding: 4mm;
    border-color: #dce8e4;
    border-radius: 3mm;
    background: #f5faf8;
  }

  .trip-alternatives h2,
  .trip-result-footer h2 {
    color: #173847;
    font-size: 12pt;
  }

  .trip-result-footer p {
    color: #637683;
    font-size: 7pt;
  }

  .trip-alternative-links {
    gap: 1.5mm;
  }

  .trip-alternative-links a {
    min-height: 0;
    padding: 1.5mm 2.5mm;
    border-color: #dce7e3;
    color: #1266d6;
    font-size: 7pt;
  }

  .trip-result-header h1,
  .trip-result-header .eyebrow,
  .trip-result-meta {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .trip-result-header h1 {
    color: #fff !important;
  }

  .trip-result-header .eyebrow {
    color: #8ee2d2 !important;
  }

  .trip-result-meta,
  .trip-result-stats strong {
    color: #d3e3e9 !important;
  }

  .trip-result-stats strong {
    color: #fff !important;
  }

  .trip-result-stats span {
    color: #d3e3e9 !important;
  }
}
