.deferred-flag { display: inline-block; flex: none; width: 24px; height: 24px; }

/* Keep the first layout if the preloaded brand font arrives after first paint. */
@font-face {
  font-family: "Plus Jakarta Stable";
  src: url("/plus-jakarta-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: optional;
}
:root {
  --font-family: "Plus Jakarta Stable", ui-sans-serif, system-ui, sans-serif;
}

/* Shared preview surfaces. Keep controls, maps and images in flow before scripts run. */
.ux-profile {
  margin: 22px 0 38px;
}
.ux-primary,
.ux-secondary {
  display: grid;
  gap: 16px;
}
.ux-primary {
  grid-template-columns: 1.09fr 1fr;
}
.ux-secondary {
  margin-top: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ux-secondary[data-panels="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ux-profile [data-panels="1"] {
  grid-template-columns: minmax(0, 1fr);
}
.ux-panel {
  position: relative;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px 26px;
  border-radius: var(--radius-photo);
  overflow: clip;
}
.ux-panel h2 {
  font-size: 1.06rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.ux-panel p,
.ux-panel small {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
}
.ux-panel a,
.ux-all {
  font-size: 0.84rem;
  font-weight: 650;
}
.ux-price {
  background: linear-gradient(120deg, var(--accent-tint), var(--white) 85%);
}
.ux-figure,
.ux-cover-count strong,
.ux-rating-number strong {
  font-size: clamp(2.5rem, 4.5vw, 4.25rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.ux-price .ux-figure {
  color: var(--accent-text);
  margin: 6px 0;
}
.ux-bars {
  display: grid;
  gap: 11px;
  margin: 19px 0 12px;
}
.ux-bars > div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  font-size: 0.84rem;
  gap: 5px;
}
.ux-meter {
  display: block;
  grid-column: 1/-1;
  width: 100%;
  height: 8px;
  fill: var(--tint);
}
.ux-meter rect + rect {
  fill: var(--accent);
}
.ux-bars > div + div rect + rect {
  fill: #8c8885;
}
.ux-coverage {
  display: flex;
  flex-direction: column;
}
.ux-cover-count {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--muted);
}
.ux-cover-count strong {
  color: var(--ink);
  font-size: 2.8rem;
}
.ux-world {
  display: block;
  align-self: center;
  width: 100%;
  height: 142px;
  fill: #e4dfdb;
  stroke: var(--white);
  stroke-width: 0.27;
}
.ux-world g {
  fill: #d97862;
}
.ux-coverage > a {
  align-self: flex-start;
  margin-top: auto;
}
.ux-flags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.ux-flags > span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.ux-secondary .ux-panel {
  padding: 20px 22px;
}
.ux-profile small,
.ux-profile svg {
  display: block;
}
.ux-rating-number {
  display: flex;
  gap: 6px;
  align-items: baseline;
  margin-bottom: 7px;
}
.ux-rating-number strong {
  font-size: 2.7rem;
}
.ux-rating-number span {
  color: var(--muted);
  font-weight: 650;
}
.ux-rating a {
  display: inline-block;
  margin-bottom: 4px;
}
.ux-feature + .ux-feature {
  margin-top: 11px;
}
.ux-feature > div {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
}
.ux-feature b {
  margin-left: auto;
}
.ux-feature .ux-meter {
  margin: 5px 0;
}
.ux-feature small,
.ux-rating small {
  font-size: 0.75rem;
}
.ux-networks > div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.ux-networks > div img {
  border-radius: 50%;
  margin-top: 2px;
}
.ux-networks b {
  display: block;
  color: var(--ink);
  font-size: 0.87rem;
}
.ux-networks > a {
  display: inline-block;
  margin-top: 7px;
}
.ux-choice:hover,
.ux-search:hover {
  border-color: var(--accent-line);
}
.ux-picker {
  position: relative;
}
.ux-search {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 62px;
  padding: 12px 18px;
  background: var(--white);
  border: 1px solid var(--control-line);
  box-shadow: var(--shadow-control);
  border-radius: var(--radius-card);
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.96rem;
}
.ux-search { text-align: start; cursor: pointer; }
.ux-search .lucide, .ux-query .lucide { display: block; flex: 0 0 20px; }
.ux-search .lucide-search, .ux-query .lucide-search { color: var(--accent-text); }
.ux-search .lucide-chevron-down { margin-inline-start: auto; color: var(--muted); }
.ux-picker-menu[open] > .ux-search .lucide-chevron-down { transform: rotate(180deg); }
summary.ux-search { list-style: none; }
summary.ux-search::-webkit-details-marker { display: none; }
.ux-picker-fallback { display: inline-flex; align-items: center; min-height: 44px; font-weight: var(--weight-650); }
.ux-search:active, .ux-option:active { background: var(--accent-tint); }
.ux-picker :focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.ux-pop {
  position: absolute;
  inset: auto 0 auto 0;
  top: calc(100% + 6px);
  z-index: 12;
  margin: 0;
  width: 100%;
  padding: 12px;
  max-width: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-popover);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-popover);
  overflow: visible;
}
.ux-query {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 12px;
  background: var(--paper);
  border: 1px solid var(--control-line);
  border-radius: var(--radius-button);
}
.ux-query:focus-within {
  border-color: var(--accent-text);
}
.ux-query input {
  min-width: 0;
  width: 100%;
  height: 44px;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
}
.ux-option-scroll {
  overflow: auto;
  overscroll-behavior: contain;
  max-height: min(36vh, 355px);
  margin-top: 6px;
  scrollbar-width: thin;
}
.ux-option {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 8px;
  min-height: 44px;
  border-radius: var(--radius-option);
  cursor: pointer;
  font-size: 0.89rem;
  text-align: left;
}
.ux-option[aria-selected="true"],
.ux-option:hover {
  background: var(--accent-tint);
}
.ux-group-label {
  padding: 9px 8px 4px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 650;
  text-align: start;
}
.ux-option-group + .ux-option-group { margin-top: 6px; border-top: 1px solid var(--line-subtle); }
.ux-option-title { min-width: 0; font-weight: 600; }
.ux-route-stop { display: inline-block; max-width: 100%; }
.ux-option-title mark { color: var(--accent-text); background: transparent; font-weight: 800; }
.ux-place-alias { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 3px 6px; }
.ux-place-alias svg { display: block; flex: none; color: var(--muted); transform: translateY(1.3px); }
.ux-place-alias .ux-search-note { flex-basis: 100%; }
.ux-picker-empty p { margin-top: 4px; color: var(--muted); font-size: .86rem; }
.ux-alias, .ux-option-type, .ux-search-note { color: var(--muted); font-weight: 500; }
.ux-option-type { flex: none; margin-left: auto; font-size: .75rem; }
.ux-search-note { display: block; margin-top: 2px; font-size: .75rem; }
.ux-option-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: none;
}
.ux-option-mark img { display: block; border-radius: 50%; object-fit: cover; }
.ux-option-mark:has(> :nth-child(2)) > :is(img, .deferred-flag) { width: 21px; height: 21px; }
.ux-option-mark > :is(img, .deferred-flag) + :is(img, .deferred-flag) { margin-left: -9px; box-shadow: 0 0 0 1.5px var(--white); }
.ux-option-mark:has(> :nth-child(3)) > :is(img, .deferred-flag) { width: 17px; height: 17px; }
.ux-fallback-places .ux-option-mark > :only-child:is(img, .deferred-flag) { width: 28px; height: 28px; }
.ux-option-mark svg { display: block; }
.ux-earth {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-text);
}
.ux-earth .lucide-earth { border-radius: 50%; background: #f5b39f; }
.ux-earth .lucide-earth path { fill: #d66c50; }
.ux-picker-empty { padding: 18px 10px; text-align: start; }
.ux-picker-empty button, .ux-pop [data-more] {
  display: block; min-height: 44px; padding: 0 8px; border: 0; background: transparent;
  cursor: pointer; color: var(--accent-text); text-decoration: underline;
}
.ux-picker-empty button { padding-inline: 0; }
.ux-query input:focus-visible { outline: none; }
.ux-pop .ux-query:focus-within { outline: 1px solid var(--accent-text); }
.ux-find {
  max-width: 760px;
  padding-bottom: 44px;
}
.ux-home-link {
  display: inline-block;
  margin: 22px 0;
  font-size: 0.85rem;
}
.ux-wizard,
.ux-empty {
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-photo);
  background: var(--white);
}
.ux-wizard h1,
.ux-result-head h1 {
  font-size: clamp(1.8rem, 3.3vw, 2.65rem);
  letter-spacing: -0.015em;
  margin: 14px 0 18px;
}
.ux-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 650;
}
.ux-progress progress {
  width: 90px;
  height: 5px;
  border: 0;
  accent-color: var(--accent);
}
progress::-webkit-progress-bar {
  background: var(--tint);
  border-radius: 4px;
}
progress::-webkit-progress-value {
  background: var(--accent);
  border-radius: 4px;
}
.ux-trip-label {
  font-size: 0.84rem;
  margin: -7px 0 18px;
}
.ux-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}
.ux-choice {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  padding: 11px 14px;
  cursor: pointer;
  font-size: 0.88rem;
  min-height: 46px;
}
.ux-choice:has(input:checked) {
  background: var(--accent-tint);
  border-color: var(--accent-line);
}
.ux-choice small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.ux-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  padding: 3px 5px;
  gap: 3px;
}
.ux-stepper label {
  padding: 0 8px;
  font-size: 0.85rem;
}
.ux-stepper button,
.ux-stepper input[type="text"] {
  width: 42px;
  height: 40px;
  text-align: center;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-radius: var(--radius-small);
}
.ux-stepper input[type="text"] {
  background: white;
}
.ux-selected,
.ux-suggest {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 15px;
}
.ux-suggest > span {
  font-size: 0.75rem;
  color: var(--muted);
}
.ux-suggest button,
.ux-selected button {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-chip);
  font-size: 0.81rem;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 7px 10px;
  min-height: 38px;
}
.ux-selected button {
  background: var(--accent-tint);
  border-color: var(--accent-line);
}
.ux-suggest .place-mark {
  width: 18px;
  height: 18px;
}
.ux-suggest img,
.ux-selected img {
  width: 18px;
  height: 18px;
}
.ux-wizard-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}
.ux-wizard-nav > a {
  font-size: 0.85rem;
}
.ux-wizard-nav .button:disabled {
  background: var(--tint);
  color: var(--muted);
  cursor: default;
}
.ux-wizard-nav .button {
  min-height: 44px;
}
.ux-result-head {
  margin: 4px 0 22px;
}
.ux-result-head p {
  margin-bottom: 8px;
}
.ux-result-head a {
  font-size: 0.86rem;
}
.ux-matches {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.ux-matches li + li {
  border-top: 1px solid var(--line);
}
.ux-matches a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.93rem;
}
.ux-matches a:hover {
  background: var(--accent-tint);
}
.ux-matches strong {
  margin-left: auto;
  white-space: nowrap;
}
.ux-matches small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.ux-all {
  display: block;
  margin-top: 18px;
}
.ux-empty h2 {
  margin-bottom: 8px;
}
.ux-empty .button {
  display: inline-flex;
  margin-top: 14px;
}
@media (max-width: 650px) {
  .ux-home-hero,
  .ux-search {
    min-height: 54px;
    padding: 10px 14px;
    gap: 10px;
    font-size: 0.9rem;
  }
  /* The destination search as the site's bottom sheet: a steady height while results filter, the query pinned above
     the list. */
  .ux-pop .bs-sheet { height: min(82svh, 680px); }
  .ux-pop .bs-body { display: flex; flex-direction: column; gap: 10px; overflow: hidden; padding: 12px 16px 0; }
  .ux-option-scroll {
    max-height: none;
    min-height: 0;
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .ux-option {
    min-height: 48px;
  }
  .ux-profile {
    margin: 16px 0 28px;
  }
  .ux-primary {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ux-panel,
  .ux-secondary .ux-panel {
    padding: 16px;
  }
  .ux-profile .ux-secondary {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
  }
  .ux-panel h2 {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }
  .ux-figure {
    font-size: 2.3rem;
  }
  .ux-bars {
    gap: 7px;
    margin: 12px 0 8px;
  }
  .ux-panel small {
    font-size: 0.74rem;
  }
  .ux-coverage {
    display: grid;
    grid-template-columns: 1fr 39%;
    align-content: center;
  }
  .ux-coverage h2,
  .ux-coverage a {
    grid-column: 1;
  }
  .ux-world {
    grid-row: 1/4;
    grid-column: 2;
    height: 85px;
  }
  .ux-cover-count {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    font-size: 0.78rem;
  }
  .ux-cover-count strong {
    font-size: 2rem;
  }
  .ux-coverage a {
    margin-top: 8px;
  }
  .ux-coverage:has(.ux-flags) {
    display: flex;
  }
  .ux-rating {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
  }
  .ux-rating-number {
    grid-column: 2;
    grid-row: 1/4;
  }
  .ux-rating-number strong {
    font-size: 2.1rem;
  }
  .ux-rating small {
    grid-column: 1;
  }
  .ux-wizard {
    padding: 20px 16px;
  }
  .ux-choices {
    gap: 8px;
  }
  .ux-choice {
    flex: 1 1 40%;
  }
  .ux-wizard[data-step="data"] .ux-choice {
    flex-basis: 100%;
  }
  .ux-matches a {
    gap: 7px;
    padding: 11px;
  }
  .ux-matches .provider-logo {
    flex-shrink: 0;
  }
  .ux-matches strong {
    font-size: 0.85rem;
  }
}
.ux-single > div {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 16px;
}
.ux-single > div strong {
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}
.ux-single > div img {
  width: 36px;
  height: 36px;
}
.ux-wizard h1,
.ux-result-head h1 {
  letter-spacing: -0.02em;
}
.ux-choice input,
.ux-custom-pick input {
  appearance: none;
  display: grid;
  place-content: center;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--control-line);
  border-radius: 50%;
  background: white;
}
.ux-choice input[type="checkbox"] {
  border-radius: 4px;
}
.ux-choice input:checked,
.ux-custom-pick input:checked {
  border-color: var(--accent-text);
}
.ux-choice input:checked:after,
.ux-custom-pick input:checked:after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent-text);
  border-radius: inherit;
}
.ux-wizard[data-step="data"] .ux-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ux-wizard[data-step="data"] .ux-choice {
  align-items: flex-start;
}
.ux-wizard[data-step="data"] .ux-choice input {
  margin-top: 1px;
}
.ux-wizard[data-step="budget"] [data-next] {
  min-width: 180px;
}
.ux-result-pages {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin: 16px 0;
  font-size: 0.85rem;
}
.ux-matches .ux-best-plan > a {
  background: var(--accent-tint);
}
.ux-matches .ux-best-label {
  color: var(--accent-text);
  font-weight: 700;
}
.ux-matches .ux-best-plan b {
  font-size: 1.15rem;
}
.ux-matches a > span:nth-child(2) {
  min-width: 0;
  overflow-wrap: anywhere;
}
.ux-plan-coverage {
  padding: 0 14px 10px;
  background: var(--white);
  font-size: 0.8rem;
}
.ux-plan-coverage summary {
  cursor: pointer;
}
.ux-plan-coverage p {
  margin-top: 5px;
}
.ux-find .commission {
  display: block;
  margin: 12px 0;
}
@media (max-width: 650px) {
  .ux-wizard[data-step="data"] .ux-choices {
    grid-template-columns: 1fr;
  }
}

.ux-custom-pick {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.ux-stepper:has(.ux-custom-pick input:checked) {
  background: var(--accent-tint);
  border-color: var(--accent-line);
}

/* Trip answer (components/trip-results.ts): one card per purchase, then the saving, upgrades and other option types. */
.trip-results .answer { font-size: var(--text-answer, 1.05rem); color: var(--ink); max-width: 46rem; }
.trip-pieces { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.trip-piece > :is(a, div) {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px;
  padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-photo);
  color: var(--ink); text-decoration: none;
}
.trip-piece > a:hover { border-color: var(--accent-line); background: var(--accent-tint); }
.trip-piece-main { display: grid; gap: 2px; min-width: 0; }
.trip-piece-main small { color: var(--muted); font-size: .78rem; font-weight: var(--weight-650); }
.trip-piece-main b { font-size: 1.02rem; }
.trip-piece-details { grid-column: 1 / -1; display: grid; gap: 3px; font-size: .88rem; }
.trip-buy-label { margin-top: 3px; color: var(--accent-text); text-decoration: underline; text-underline-offset: .15em; }
.trip-piece-where { color: var(--muted); }
.trip-piece-hassle { color: var(--ink); font-weight: var(--weight-650); }
.trip-piece-price { display: grid; justify-items: end; gap: 2px; }
.trip-piece-price small { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.trip-piece strong { font-size: 1.15rem; white-space: nowrap; }
.trip-piece svg.lucide { color: var(--muted); }
.trip-saving, .trip-discount { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; }
.trip-saving svg, .trip-discount svg { flex: none; color: var(--accent-text); margin-top: 2px; width: 18px; height: 18px; }
.trip-upgrades { display: grid; gap: 8px; margin: 12px 0 0; }
.trip-upgrade { display: grid; gap: 2px; padding-left: 12px; border-left: 2px solid var(--accent-line); font-size: .86rem; }
.trip-unmet { margin-top: 14px; color: var(--muted); }
.trip-alternatives { margin-top: 28px; }
.trip-alternatives h2 { font-size: 1.15rem; margin: 0 0 10px; }
.trip-alt { border-top: 1px solid var(--line); }
.trip-alt > summary { display: flex; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; list-style: none; font-weight: var(--weight-650); }
.trip-alt > summary::-webkit-details-marker { display: none; }
.trip-alt > summary b { margin-left: auto; }
.trip-alt[open] > summary .lucide-chevron-down { transform: rotate(180deg); }
.trip-alt .trip-pieces { margin: 0 0 14px; }
@media (max-width: 650px) {
  /* Phones keep the chevron: the whole card is the link (QA m5). */
  .trip-piece > :is(a, div) { grid-template-columns: auto minmax(0, 1fr) auto auto; padding: 14px 10px 14px 14px; gap: 8px; }
}

/* Trip form (components/trip-form.ts; stage C): chips for places, the trip inline, one submit to the solver's answer. */
.home-trip { display: grid; gap: 12px; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.home-trip-hint { margin: 0; color: var(--muted); font-size: .9rem; }
.home-trip .ux-selected:empty { display: none; }
.home-trip-details { display: grid; gap: 12px; }
.home-trip-details fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.home-trip-details legend { font-size: .8rem; font-weight: var(--weight-650); color: var(--muted); margin-bottom: 6px; }
.home-trip-details .ux-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.home-trip-details .ux-choice { padding: 6px 12px; min-width: 44px; min-height: 44px; gap: 7px; font-size: .88rem; }
.home-trip-details .ux-choice input { width: 16px; height: 16px; margin: 0; }
.home-trip-details .ux-choice small { display: none; }
.home-trip > .button { justify-self: start; }
.home-trip > .button:disabled { opacity: .55; cursor: not-allowed; }

.trip-alt > summary b { display: grid; justify-items: end; }
.trip-alt > summary > span { padding-block: 8px; }
.trip-alt > summary small { display: block; font-weight: var(--weight-500, 500); color: var(--muted); font-size: .78rem; }
.trip-recap { margin: 6px 0 4px; color: var(--ink); font-weight: var(--weight-650); }
.trip-recap { display: block; line-height: 1.5; }
/* Beats .ux-find svg.lucide { display: block } (home.css), which stacked the arrow on its own line (QA N4). */
.ux-find .trip-recap svg.lucide, .trip-recap svg { display: inline-block; vertical-align: -2px; color: var(--muted); }
.trip-recap-stop { white-space: nowrap; }
.trip-days { margin: 0 0 4px; }
.trip-days { margin: 0 0 12px; }
.trip-days > summary { min-height: 44px; font-weight: var(--weight-650); color: var(--accent-text); }
.trip-days form { display: grid; gap: 12px; padding: 4px 0 12px; }
.trip-days-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.trip-days-grid label { display: grid; gap: 4px; font-size: .86rem; }
.trip-days-grid select { max-width: 100%; min-height: 44px; padding: 0 10px; background: var(--white, white); color: inherit; border: 1px solid var(--control-line); border-radius: var(--radius-input); font: inherit; }
.trip-days-grid input { width: 6.5rem; min-height: 44px; padding: 0 10px; border: 1px solid var(--control-line); border-radius: var(--radius-input); font: inherit; }
.trip-days .button { justify-self: start; }
@media (max-width: 650px) {
  .data-calculator .trip-days-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-10);
  }
  .data-calculator .trip-days-grid label { min-width: 0; grid-template-rows: 1fr auto; }
  .data-calculator .trip-days-grid :is(input, select) { width: 100%; min-width: 0; }
  .data-calculator .trip-days-grid label:only-child { grid-column: 1 / -1; }
}
.trip-note, .trip-hint { color: var(--muted); font-size: .84rem; }
.trip-party { margin-top: 4px; }
.trip-party > summary { display: flex; align-items: center; min-height: 44px; min-width: 44px; cursor: pointer; }
.home-trip [data-remove], .trip-party .ux-choice { min-height: 44px; min-width: 44px; }
.trip-party fieldset { border: 0; margin: 0 0 10px; padding: 0; }
.trip-party legend { font-size: .8rem; font-weight: var(--weight-650); color: var(--muted); margin-bottom: 6px; }
.trip-party .ux-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.trip-party .ux-choice { padding: 6px 12px; min-height: 44px; gap: 7px; font-size: .88rem; }
.trip-party .ux-choice small { display: none; }
.trip-carriers legend { font-weight: var(--weight-500, 500); }
/* QA m3: 44 px targets for the back link and inline answer links. */
.ux-home-link { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.answer a { display: inline-block; padding-block: 11px; margin-block: -11px; }

.trip-piece > .commission { margin: 4px 4px 0; text-align: right; }
