:root {
  --bg: #f3f4f1;
  --panel: #ffffff;
  --ink: #111315;
  --muted: #6e746f;
  --line: #d6d8d2;
  --blue: #1e3448;
  --green: #4d6758;
  --accent: #9a7a43;
  --accent-soft: #f3eee4;
  --amber: #94702f;
  --red: #9b342b;
  --low: #e5efe8;
  --mid: #f4ead4;
  --high: #f1ded9;
  --shadow: 0 14px 34px rgba(17, 19, 21, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f7f7f4 0%, var(--bg) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input,
textarea {
  font: inherit;
}

.shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 28px;
}

.workspace {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.panel,
.section-block,
.progress-card,
.flight-card,
.hotel-card,
.summary-card,
.addon-card,
.debug-card {
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-panel {
  position: sticky;
  top: 24px;
  padding: 22px;
  overflow: hidden;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  flex: 0 0 64px;
  box-shadow: 0 12px 28px rgba(17, 19, 21, 0.16);
}

.brand-name {
  font-weight: 800;
  font-size: 20px;
}

.product-promise {
  display: grid;
  gap: 4px;
  margin-bottom: 24px;
  padding: 12px;
  border: 1px solid #d6cdbb;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(154, 122, 67, 0.1), transparent 64%),
    #fbfcfb;
}

.product-promise strong,
.product-promise span {
  display: block;
}

.product-promise strong {
  color: var(--blue);
  font-size: 14px;
}

.product-promise span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.brand-subtitle,
label span,
.dim,
.section-heading > p,
.empty-state p,
.trust-strip span {
  color: var(--muted);
}

.search-form {
  display: grid;
  gap: 16px;
}

.group-party-fields {
  display: none;
}

.group-mode .group-party-fields {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f5f5f1;
}

.group-counter-field,
.group-allocation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.group-counter {
  display: grid;
  grid-template-columns: 34px 38px 34px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

.group-counter button {
  height: 34px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}

.group-counter output {
  color: var(--ink);
  text-align: center;
  font-weight: 900;
}

.group-allocation {
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.group-allocation strong {
  color: var(--ink);
}

.search-form > .primary-button.is-loading {
  cursor: wait;
  opacity: 0.88;
}

.search-form > .primary-button.is-loading span:last-child {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  color: transparent;
  animation: search-button-spin 0.7s linear infinite;
}

@keyframes search-button-spin {
  to { transform: rotate(360deg); }
}

.group-create-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 40px;
  align-items: center;
  padding: 30px 36px;
  border-top: 4px solid var(--accent);
}

.group-create-copy h2,
.group-create-copy p { margin: 0 0 10px; }

.group-create-copy h2 { max-width: 520px; }

.group-create-copy > p:not(.eyebrow) {
  max-width: 480px;
  color: var(--muted);
  line-height: 1.45;
}

.group-create-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.group-create-features span {
  padding: 7px 11px;
  border: 1px solid #d9cfbd;
  border-radius: 999px;
  color: var(--blue);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
}

.inspire-quiz,
.inspire-results,
.ticket-choice-section {
  padding: 28px;
  border-top: 4px solid var(--blue);
}

.inspire-quiz-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.inspire-quiz-head h2,
.inspire-quiz-head p { margin: 0; }
.inspire-quiz-head > p { max-width: 480px; color: var(--muted); line-height: 1.45; }
#inspire-form { display: grid; gap: 22px; }
#inspire-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
#inspire-form legend,
#inspire-form label > span { margin-bottom: 9px; color: var(--muted); font-size: 13px; font-weight: 850; }

.inspire-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.inspire-options label { position: relative; cursor: pointer; }
.inspire-options input { position: absolute; opacity: 0; pointer-events: none; }
.inspire-options label span {
  display: grid;
  place-items: center;
  min-height: 52px;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--blue);
  background: #fafaf8;
  text-align: center;
}
.inspire-options input:checked + span { border-color: var(--blue); box-shadow: inset 0 -3px var(--accent); background: var(--accent-soft); }
.inspire-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.inspire-fields label { min-width: 0; }
.inspire-fields select { width: 100%; min-width: 0; height: 52px; }
#inspire-form > .primary-button { justify-self: end; width: min(100%, 340px); }

.inspire-grid,
.ticket-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.inspire-card,
.ticket-choice-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: #fafaf8;
  text-align: left;
  cursor: pointer;
}
.inspire-card:hover,
.ticket-choice-card:hover { border-color: var(--accent); box-shadow: 0 6px 18px rgba(17,19,21,.07); }
.inspire-card > div { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.inspire-card > div span { font-size: 20px; font-weight: 900; }
.inspire-card > div strong { color: var(--accent); white-space: nowrap; }
.inspire-card p { margin: 18px 0 7px; color: var(--blue); font-weight: 800; }
.inspire-card small { display: block; min-height: 36px; color: var(--muted); line-height: 1.4; }
.inspire-card b { display: block; margin-top: 18px; color: var(--blue); }

.ticket-choice-card { container: ticket-card / inline-size; display: grid; gap: 14px; position: relative; overflow: hidden; border-radius: 10px; background: #fff; transition: transform .16s ease,border-color .16s ease,box-shadow .16s ease; }
.ticket-choice-card:hover { transform: translateY(-2px); }
.ticket-choice-badge { justify-self: start; min-height: 26px; margin:-18px 0 0 -18px; padding:7px 12px 6px; border-radius:0 0 8px 0; color:#173148; background:#dfbd75; font-size:10px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.ticket-choice-airline { display: grid; grid-template-columns: 54px minmax(0,1fr); gap: 12px; align-items: center; }
.ticket-choice-airline img,
.ticket-choice-airline > span { width: 54px; height: 40px; object-fit: contain; }
.ticket-choice-airline div { display: grid; gap: 4px; }
.ticket-choice-airline small { color: var(--muted); }
.ticket-choice-leg { display: grid; grid-template-columns: 54px minmax(58px,.8fr) minmax(76px,1fr) minmax(58px,.8fr); gap: 7px; align-items: center; padding-top: 11px; border-top: 1px solid var(--line); }
.ticket-choice-leg span { color: var(--muted); font-size: 12px; font-weight: 800; }
.ticket-choice-leg span .ticket-leg-carrier { display:block; margin-top:3px; color:#425a68; font-size:9px; line-height:1.15; }
.ticket-choice-leg b { display:grid; min-width:0; color:#172f43; font-size:17px; line-height:1.2; }
.ticket-choice-leg b:last-child { text-align:right; }
.ticket-choice-leg b small { margin-top:3px; color:var(--muted); font-size:10px; font-weight:750; }
.ticket-choice-leg i { display:grid; gap:3px; position:relative; color:var(--muted); font-style:normal; text-align:center; }
.ticket-choice-leg i::after { content:""; position:absolute; left:5px; right:5px; top:50%; height:1px; background:#c7d0cb; z-index:0; }
.ticket-choice-leg i em,.ticket-choice-leg i small { position:relative; z-index:1; justify-self:center; padding:0 5px; background:#fff; font-style:normal; }
.ticket-choice-leg i em { color:#425a68; font-size:10px; font-weight:850; }
.ticket-choice-leg i small { color:#758079; font-size:9px; }
.ticket-choice-summary { display:flex; flex-wrap:wrap; gap:6px; }
.ticket-choice-summary span { padding:5px 8px; border-radius:999px; color:#52615b; background:#edf1ee; font-size:10px; font-weight:800; }
.ticket-choice-price { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.ticket-choice-price strong { color: var(--blue); font-size: 28px; }
.ticket-choice-price span { color: var(--muted); font-size: 12px; }

/* The number of cards in a row can change independently from the viewport.
   Adapt the itinerary to the card's real width so the arrival column never
   gets clipped in a narrow three-column layout. */
@container ticket-card (max-width: 310px) {
  .ticket-choice-airline { grid-template-columns: 42px minmax(0, 1fr); gap: 9px; }
  .ticket-choice-airline img,
  .ticket-choice-airline > span { width: 42px; height: 32px; }
  .ticket-choice-airline strong { font-size: 15px; line-height: 1.15; overflow-wrap: anywhere; }
  .ticket-choice-airline small { font-size: 11px; }
  .ticket-choice-leg {
    grid-template-columns: minmax(0, .82fr) minmax(58px, 1fr) minmax(0, .82fr);
    grid-template-rows: auto auto;
    gap: 4px 5px;
    padding-top: 8px;
  }
  .ticket-choice-leg > span { grid-column: 1 / -1; grid-row: 1; min-width: 0; font-size: 10px; line-height: 1; }
  .ticket-choice-leg > span .ticket-leg-carrier { display: inline; margin: 0 0 0 5px; }
  .ticket-choice-leg > b:first-of-type { grid-column: 1; grid-row: 2; }
  .ticket-choice-leg > i { grid-column: 2; grid-row: 2; }
  .ticket-choice-leg > b:last-child { grid-column: 3; grid-row: 2; }
  .ticket-choice-leg b { font-size: clamp(13px, 6.4cqi, 16px); }
  .ticket-choice-leg b small { font-size: 8px; }
  .ticket-choice-leg i { min-width: 0; }
  .ticket-choice-leg i em,
  .ticket-choice-leg i small { max-width: 100%; padding: 0 3px; font-size: 8px; line-height: 1.1; }
  .ticket-choice-leg i::after { left: 3px; right: 3px; }
  .ticket-choice-price { gap: 8px; padding-top: 11px; }
  .ticket-choice-price strong { min-width: 0; font-size: clamp(21px, 10cqi, 28px); white-space: nowrap; }
  .ticket-choice-price span { max-width: 76px; font-size: 10px; line-height: 1.15; text-align: right; }
}

@container ticket-card (max-width: 245px) {
  .ticket-choice-badge { font-size: 8px; }
  .ticket-choice-airline { grid-template-columns: 34px minmax(0, 1fr); gap: 7px; }
  .ticket-choice-airline img,
  .ticket-choice-airline > span { width: 34px; height: 28px; }
  .ticket-choice-airline strong { font-size: 14px; }
  .ticket-choice-leg { grid-template-columns: minmax(0, .8fr) minmax(52px, 1fr) minmax(0, .8fr); column-gap: 3px; }
  .ticket-choice-leg b { font-size: 13px; }
  .ticket-choice-price strong { font-size: 21px; }
}
.ticket-choice-section > .step-actions,
.hotel-section > .step-actions { margin-top: 18px; }

#group-create-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fafaf8;
}
#group-create-form label { display: grid; gap: 7px; color: var(--muted); font-weight: 800; }
#group-create-form input { min-width: 0; height: 56px; }
#group-create-form .primary-button { grid-column: 1 / -1; min-height: 56px; }

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

.group-link-grid > div {
  display: grid;
  gap: 9px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.group-link-grid span { color: var(--muted); font-size: 12px; font-weight: 800; }
.group-link-grid input { min-width: 0; font-size: 12px; }
.group-link-grid-primary { grid-template-columns: 1fr; }
.group-link-grid-primary > div { border-color: #c8b58e; background: var(--accent-soft); }
.group-room-link-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.42fr);gap:10px}.group-room-link-actions>*{min-height:56px}.group-room-open-link{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 20px;color:#193247;text-decoration:none}.group-room-open-link b{font-size:22px}.group-room-open-link:hover{border-color:#193247;background:#fff}
.group-owner-link-details { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); background: #fafaf8; }
.group-owner-link-details summary { cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 800; }
.group-owner-link-details > div { display: grid; gap: 9px; margin-top: 12px; }
.group-owner-link-details span { color: var(--muted); font-size: 12px; }

.continuation-change-notice {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 13px 14px;
  border-left: 4px solid var(--accent);
  color: var(--blue);
  background: var(--accent-soft);
}
.continuation-change-notice span { color: var(--muted); line-height: 1.4; }
.continuation-comparison { margin: 20px 0; padding: 20px; border: 1px solid #cfc2a8; border-radius: 8px; background: #faf9f5; }
.continuation-comparison-heading h3 { margin: 4px 0 16px; }
.continuation-comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.continuation-comparison-grid article { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.continuation-comparison-grid article.alternative { border-color: var(--blue); box-shadow: inset 0 4px var(--accent); }
.continuation-comparison-grid article > span { color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.continuation-comparison-grid h4 { margin: 0; font-size: 20px; line-height: 1.25; }
.continuation-comparison-grid dl { display: grid; gap: 8px; margin: 0; }
.continuation-comparison-grid dl div { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; border-top: 1px solid var(--line); }
.continuation-comparison-grid dt { color: var(--muted); }
.continuation-comparison-grid dd { margin: 0; font-weight: 900; text-align: right; }
.continuation-comparison-grid button { width: 100%; margin-top: auto; }

.continuation-test-overview { padding: 18px; }
.compact-route-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.compact-route-head h2 { margin: 2px 0 8px; font-size: clamp(24px, 2.5vw, 32px); }
.compact-route-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.compact-route-meta > span { padding: 5px 8px; border-radius: 999px; color: var(--muted); background: #edf1ee; font-size: 10px; font-weight: 850; }
.compact-route-meta .compact-visa-chip.ok { color: #365f48; background: #eef6f0; }
.compact-route-meta .compact-visa-chip.warn { color: #9c332c; background: #fff0ee; }
.compact-route-total { flex: 0 0 auto; min-width: 180px; padding: 12px 14px; border: 1px solid #cfc2a8; border-radius: 8px; background: var(--accent-soft); text-align: right; }
.compact-route-total span { display: block; color: var(--muted); font-size: 11px; font-weight: 850; }
.compact-route-total strong { display: block; margin-top: 3px; color: var(--blue); font-size: 26px; }
.compact-route-components { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: stretch; margin-top: 14px; }
.compact-flight-card,
.compact-hotel-card { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 12px; min-width: 0; min-height: 230px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 8px 22px rgba(18, 37, 52, .07); }
.compact-flight-card { border-top: 4px solid var(--blue); }
.compact-hotel-card { border-top: 4px solid var(--accent); }
.compact-component-mark,
.compact-hotel-thumb { display: grid; place-items: center; width: 68px; height: 68px; overflow: hidden; border-radius: 8px; background: #f2f3f0; }
.compact-component-mark img { width: 54px; height: 42px; object-fit: contain; }
.compact-component-mark span { color: var(--blue); font-size: 30px; }
.compact-hotel-thumb .route-hotel-image,
.compact-hotel-thumb img { width: 100%; height: 100%; object-fit: cover; }
.compact-component-main { display: grid; grid-template-rows: auto minmax(74px, 1fr) auto; gap: 9px; min-width: 0; }
.compact-component-title { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.compact-component-title h3 { max-width: 280px; margin: 2px 0 0; font-size: 17px; line-height: 1.2; overflow-wrap: anywhere; }
.compact-component-price { display: grid; flex: 0 0 auto; gap: 1px; text-align: right; }
.compact-component-price strong { color: var(--blue); font-size: 18px; white-space: nowrap; }
.compact-component-price small { color: var(--muted); font-size: 9px; font-weight: 750; }
.hotel-dual-price { display: grid; flex: 0 0 auto; min-width: 145px; overflow: hidden; border: 1px solid #d8c9a9; border-radius: 8px; background: #faf6ed; }
.hotel-dual-price > div { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding: 6px 8px; }
.hotel-dual-price > div + div { border-top: 1px solid #e2d8c2; }
.hotel-dual-price span { color: var(--muted); font-size: 9px; font-weight: 800; white-space: nowrap; }
.hotel-dual-price strong { color: var(--blue); font-size: 14px; white-space: nowrap; }
.hotel-dual-price > div:last-child strong { color: var(--accent); }
.compact-flight-legs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.compact-flight-legs div { display: grid; align-content: center; gap: 2px; padding: 8px; border-radius: 6px; background: #f5f6f3; }
.compact-flight-legs span { color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.compact-flight-legs b { color: var(--blue); font-size: 14px; }
.compact-flight-legs small { color: var(--muted); font-size: 10px; }
.compact-hotel-facts { display: grid; grid-template-columns: 1.25fr .55fr 1.2fr; gap: 6px; align-content: start; }
.compact-hotel-facts div { display: grid; align-content: center; gap: 3px; min-height: 64px; padding: 8px; border-radius: 6px; background: #f5f6f3; }
.compact-hotel-facts span { color: var(--muted); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.compact-hotel-facts b { color: var(--blue); font-size: 12px; line-height: 1.2; }
.monetization-cta { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 58px; padding: 9px 12px; border: 0; border-radius: 9px; color: #fff; text-decoration: none; box-shadow: 0 12px 24px rgba(18, 37, 52, .18); transition: transform .16s ease, box-shadow .16s ease; }
.monetization-cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px rgba(18, 37, 52, .24); }
.monetization-cta span { display: grid; gap: 2px; }
.monetization-cta small { color: rgba(255,255,255,.76); font-size: 10px; font-weight: 750; }
.monetization-cta strong { color: #fff; font-size: 14px; line-height: 1.2; }
.monetization-cta b { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: inherit; background: rgba(255,255,255,.16); font-size: 20px; }
.aviasales-cta { background: linear-gradient(135deg, #1685ec, #075fc2); }
.trip-cta { background: linear-gradient(135deg, #243f58, #142a3d); box-shadow: inset 0 3px #c49a4b, 0 12px 24px rgba(18, 37, 52, .18); }
.yandex-travel-cta { background: linear-gradient(135deg, #ff4b3e, #d92c25); box-shadow: 0 12px 24px rgba(186, 42, 34, .22); }
.compact-partner-note { margin: 10px 2px 0; color: var(--muted); font-size: 10px; text-align: right; }
.continuation-test-overview + .route-share-card-cta { gap: 14px; margin: -7px 0; padding: 14px 18px; }
.continuation-test-overview + .route-share-card-cta .route-share-card-mark { width: 42px; height: 42px; font-size: 22px; }
.continuation-test-overview + .route-share-card-cta strong { font-size: 18px; }
.continuation-test-overview + .route-share-card-cta > button { min-height: 48px; }
.continuation-test-city-list { padding: 18px; }
.continuation-test-city-list .section-heading { margin-bottom: 12px; }
.continuation-test-city-list .addon-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.continuation-test-city-list .addon-option-card { grid-template-rows: auto 1fr auto; min-height: 220px; padding: 16px; border-top: 4px solid var(--accent); box-shadow: 0 8px 22px rgba(18,37,52,.07); }
.continuation-test-city-list .addon-option-card h3 { color: var(--blue); font-size: 24px; }
.continuation-test-city-list .badge-row { align-items: center; }
.continuation-test-city-list .route-type-badge { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.continuation-test-city-list .mini-route { align-content: center; gap: 6px; padding: 10px; border-radius: 7px; background: #f3f5f2; }
.continuation-test-city-list .mini-route span { color: var(--blue); }
.continuation-test-city-list .mini-price { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; }
.continuation-test-city-list .mini-price strong { color: var(--blue); font-size: 22px; }
.continuation-test-city-list .mini-price small { grid-column: 1 / -1; color: var(--muted); font-size: 10px; text-align: right; }
.continuation-test-addon-sheet { padding: 18px; }
.continuation-test-addon-sheet > .section-heading { margin-bottom: 12px; }
.continuation-test-addon-sheet > .section-heading h2 { margin: 3px 0 9px; font-size: clamp(24px, 2.5vw, 32px); }
.continuation-test-addon-sheet .selected-addon-city-bar { grid-template-columns: 1fr auto; gap: 12px; margin-bottom: 12px; padding: 10px 12px; }
.continuation-test-addon-sheet .selected-addon-city-bar > div:first-child { display: none; }
.continuation-test-addon-sheet .selected-addon-city-bar .secondary-button { min-height: 40px; }
.continuation-test-addon-sheet .continuation-comparison { margin: 12px 0; padding: 14px; }
.continuation-test-addon-sheet .addon-breakdown-details { margin-top: 10px; }

.group-route-options { display: grid; gap: 10px; }
.group-route-options label { display: block; cursor: pointer; }
.group-route-options input { position: absolute; opacity: 0; pointer-events: none; }
.group-route-options label > span {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.group-route-options label > span strong { color: var(--accent); }
.group-route-options label > span small { color: var(--muted); line-height: 1.45; }
.group-route-options input:checked + span {
  border-color: var(--cjm-navy);
  box-shadow: inset 4px 0 0 var(--accent);
}
.group-owner-vote-intro {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.group-owner-vote-intro h2 { margin: 4px 0 0; }
.group-room-shell .group-results-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.group-addon-hotel-empty { padding: 18px; border: 1px solid var(--line); color: var(--muted); background: #fff; }
.group-owner-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.group-final-panel { border-top: 4px solid var(--accent); }
.group-final-panel h2 { margin: 5px 0; }
.group-final-panel strong { display: block; margin-top: 14px; color: var(--accent); }

.addon-hotel-choice { margin: 18px 0; padding: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.72); }
.addon-hotel-choice .panel-heading p:last-child { color: var(--muted); }
.addon-hotel-groups { display: grid; gap: 22px; margin-top: 18px; }
.addon-hotel-rating-group { display: grid; gap: 10px; }
.addon-hotel-rating-group > h4 { margin: 0; color: var(--cjm-navy, var(--blue)); font-size: 18px; }
.addon-hotel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.addon-hotel-card { position: relative; }
.addon-hotel-card.selected { border-color: var(--cjm-navy); box-shadow: inset 0 0 0 1px var(--cjm-navy); }
.addon-hotel-image { width: 100%; height: 150px; object-fit: cover; }
.addon-hotel-card h4 { margin: 5px 0; font-size: 18px; }
.addon-hotel-card small { color: var(--muted); line-height: 1.4; }
.hotel-quality-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.hotel-quality-row span { padding: 4px 7px; border: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.mini-route small { color: var(--accent); font-weight: 800; }
.addon-summary-heading { margin: 26px 0 12px; }
.addon-summary-heading h3 { margin: 4px 0 0; font-size: 24px; }

.compact-city-picker .addon-option-card {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.compact-city-picker .addon-option-card:hover {
  border-color: var(--cjm-navy, var(--blue));
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(18, 37, 52, 0.12);
}

.selected-addon-city-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: #fbfcfb;
}

.selected-addon-city-bar > div {
  display: grid;
  gap: 3px;
}

.selected-addon-city-bar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.selected-addon-city-bar strong {
  color: var(--blue);
  font-size: 20px;
}

.addon-hotel-rating-tabs {
  margin-top: 18px;
}

@media (max-width: 760px) {
  .selected-addon-city-bar { grid-template-columns: 1fr 1fr; }
  .selected-addon-city-bar .secondary-button { grid-column: 1 / -1; }

  .cjm-test-page .addon-hotel-grid {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 4px 3px 16px;
    scroll-snap-type: x mandatory;
  }

  .cjm-test-page .addon-hotel-card {
    flex: 0 0 min(330px, 86vw);
    scroll-snap-align: start;
  }
}

.cjm-test-page.group-room-view .cjm-entry-grid,
.cjm-test-page.group-room-view .cjm-assumptions,
.cjm-test-page.group-room-view .search-panel,
.cjm-test-page.group-room-view #recent-searches,
.cjm-test-page.group-room-view #deals-shell {
  display: none !important;
}
.cjm-test-page.group-room-view .cjm-workspace { grid-template-columns: 1fr; }
.cjm-test-page.group-room-view #result-shell { display: grid !important; }
.group-room-view .content { max-width: 1180px; width: 100%; margin: 0 auto; }
.group-room-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; border-top: 4px solid var(--accent); }
.group-room-head h1 { margin: 0 0 8px; font-size: 36px; }
.group-room-head p { margin: 0; color: var(--muted); }
.group-room-kpis { display: grid; grid-template-columns: repeat(3, 110px); border: 1px solid var(--line); }
.group-room-kpis div { padding: 14px; text-align: center; }
.group-room-kpis div + div { border-left: 1px solid var(--line); }
.group-room-kpis strong,.group-room-kpis span { display: block; }
.group-room-kpis strong { color: var(--accent); font-size: 24px; }
.group-room-kpis span { color: var(--muted); font-size: 10px; }

.group-join-form { max-width: 520px; margin: 30px auto; padding: 28px; border: 1px solid var(--line); background: #fff; }
.group-join-form h2 { margin: 0 0 18px; }
.group-join-form input { width: 100%; margin-bottom: 12px; }

.group-vote-form { display: grid; gap: 16px; }
.group-vote-form > section { padding: 24px; border: 1px solid var(--line); background: #fff; }
.group-vote-form h2 { margin: 0 0 18px; }
.group-vote-hint { margin: -10px 0 18px; color: var(--muted); }
.group-flight-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.group-flight-options label { position: relative; cursor: pointer; }
.group-flight-options input { position: absolute; opacity: 0; }
.group-flight-options label > span {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  gap: 5px 12px;
  height: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
}
.group-flight-options img { grid-row: 1 / 4; width: 72px; height: 48px; object-fit: contain; }
.group-flight-options b,.group-flight-options small { min-width: 0; }
.group-flight-options small { color: var(--muted); overflow-wrap: anywhere; }
.group-flight-options strong { grid-column: 1 / -1; margin-top: 8px; color: var(--accent); font-size: 20px; }
.group-flight-options input:checked + span {
  border: 3px solid var(--cjm-navy, var(--blue));
  outline: 2px solid #c79a47;
  outline-offset: 2px;
  background: linear-gradient(180deg, rgba(199,154,71,.16), #fff 42%);
}
.group-flight-options input:checked + span::after {
  content: "Выбран";
  position: absolute;
  top: 9px;
  right: 9px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--cjm-navy);
  background: #e8c879;
  font-size: 11px;
  font-weight: 900;
}
.group-hotel-city { display: grid; gap: 12px; }
.group-hotel-city + .group-hotel-city { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.group-hotel-city h3 { margin: 0; font-size: 22px; }
.group-addon-hotel-empty { padding: 14px 16px; color: var(--muted); background: var(--soft); border: 1px solid var(--line); }
.group-vote-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.group-vote-options label,.group-simple-options label { position: relative; cursor: pointer; }
.group-vote-options input,.group-simple-options input { position: absolute; opacity: 0; }
.group-vote-options label > span { display: grid; gap: 7px; height: 100%; padding: 10px; border: 1px solid var(--line); }
.group-vote-options input:checked + span,.group-simple-options input:checked + span { border-color: var(--accent); box-shadow: inset 0 -3px var(--accent); }
.group-vote-image { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.group-vote-options small { color: var(--muted); }
.group-hotel-tabs { display: grid; gap: 12px; }
.group-tab-buttons { display: flex; gap: 8px; }
.group-tab-button { min-width: 68px; padding: 10px 14px; border: 1px solid var(--line); color: var(--muted); background: #fff; font: inherit; font-weight: 900; cursor: pointer; }
.group-tab-button.active { color: #fff; border-color: var(--cjm-navy); background: var(--cjm-navy); }
.group-tab-panel { display: none; }
.group-tab-panel.active { display: block; }
.group-empty-choice { margin: 0; padding: 16px; border: 1px solid var(--line); color: var(--muted); }
.group-simple-options { display: flex; flex-wrap: wrap; gap: 8px; }
.group-simple-options label > span { display: block; padding: 12px 15px; border: 1px solid var(--line); background: #fff; font-weight: 800; }
.group-vote-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.group-vote-details label { display: grid; gap: 7px; color: var(--muted); font-weight: 800; }
.group-vote-details .wide { grid-column: 1/-1; }
.group-vote-saved { padding: 14px; color: var(--green); background: #eaf1ec; text-align: center; font-weight: 800; }

.group-results-grid > div,.group-participant-list article { padding: 16px; border: 1px solid var(--line); background: #fff; }
.group-results-grid > div > span { color: var(--muted); font-size: 12px; font-weight: 800; }
.group-results-grid p { display: flex; justify-content: space-between; gap: 12px; }
.group-results-grid strong { color: var(--accent); }
.group-results-section { border-top: 4px solid var(--cjm-navy); }
.group-budget-result { display: grid; align-content: center; gap: 8px; background: #f6f0e4 !important; }
.group-budget-result > strong { font-size: 28px; }
.group-budget-result small,#group-budget-note { color: var(--muted); }
.group-participant-list { display: grid; gap: 8px; margin-top: 16px; }
.group-participant-list article { display: grid; grid-template-columns: 1fr auto; gap: 5px 15px; }
.group-participant-list small { grid-column: 1/-1; color: var(--muted); }
.group-participant-copy {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  min-width: 170px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  color: var(--cjm-navy, var(--blue));
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

/* Standalone product guide */
.how-page { min-height: 100vh; }
.about-page{min-height:100vh}.about-shell{padding-bottom:54px}.about-hero{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);gap:0;margin-top:18px;border-radius:18px;overflow:hidden;background:#17344a;box-shadow:0 18px 45px rgba(23,52,74,.16)}.about-photo-wrap{min-height:560px;background:#234e58}.about-photo-wrap img{width:100%;height:100%;display:block;object-fit:cover}.about-copy{display:flex;flex-direction:column;justify-content:center;padding:64px;color:#fff}.about-copy h1{max-width:680px;margin:8px 0 24px;font-size:clamp(42px,5vw,72px);line-height:1}.about-copy>p:not(.eyebrow){max-width:680px;margin:0 0 16px;color:#ced8da;font-size:19px;line-height:1.55}.about-cta{width:min(100%,310px);margin-top:18px;text-decoration:none}.about-page .cjm-topnav{order:0}@media(max-width:820px){.about-hero{grid-template-columns:1fr}.about-photo-wrap{min-height:360px;max-height:480px}.about-copy{padding:36px 26px}.about-copy h1{font-size:42px}.about-copy>p:not(.eyebrow){font-size:17px}}
.how-shell { gap: 18px; padding-bottom: 28px; }
.how-shell .cjm-topnav { order: 0; }
.how-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: 8px 40px;
  align-items: center;
  min-height: 250px;
  padding: 38px 42px;
  color: #fff;
  border: 1px solid #10283a;
  border-radius: 4px;
  background: #193247;
  box-shadow: 0 7px 20px rgba(17, 26, 31, .12);
}
.how-hero .eyebrow,.how-hero > p { grid-column: 1; }
.how-hero h1 { grid-column: 1; margin: 2px 0; max-width: 760px; font-size: clamp(42px, 5vw, 72px); line-height: .98; }
.how-hero > p:last-of-type { margin: 6px 0 0; color: #cdd6dc; font-size: 18px; font-weight: 750; }
.how-route {
  grid-column: 2;
  grid-row: 1 / 5;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.18);
  background: #203b50;
}
.how-route strong { display: grid; place-items: center; width: 64px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.26); font-size: 17px; }
.how-route i { height: 1px; background: #c4a15f; }
.how-flow,.how-start,.how-group,.how-cta { padding: 34px 38px; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); }
.how-section-heading { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 24px; }
.how-section-heading h2,.how-group h2,.how-cta h2 { margin: 4px 0 0; font-size: clamp(28px, 3vw, 42px); }
.how-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); }
.how-steps article { position: relative; min-height: 220px; padding: 22px; background: #fff; }
.how-steps article + article { border-left: 1px solid var(--line); }
.how-steps article:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; top: 50%; right: -12px; display: grid; place-items: center; width: 24px; height: 24px; color: var(--accent); background: #fff; font-weight: 950; }
.how-steps article > span,.how-scenarios article > span { color: var(--accent); font-size: 12px; font-weight: 950; }
.how-step-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 26px 0 20px; color: #fff; background: var(--cjm-navy); font-size: 21px; font-weight: 950; }
.how-steps h3,.how-scenarios h3 { margin: 0 0 7px; font-size: 20px; }
.how-steps p,.how-scenarios p,.how-group p { margin: 0; color: var(--muted); line-height: 1.45; }
.how-steps .featured,.how-scenarios .featured { color: #fff; background: var(--cjm-navy); }
.how-steps .featured p,.how-scenarios .featured p { color: #d3dce1; }
.how-steps .featured .how-step-icon { color: var(--cjm-navy); background: #c7a25e; }
.how-scenarios { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.how-scenarios article { min-height: 175px; padding: 24px; border: 1px solid var(--line); background: #fff; }
.how-scenarios h3 { margin-top: 24px; }
.how-group { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr); gap: 42px; align-items: center; border-top: 5px solid var(--accent); }
.how-vote-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 10px; align-items: center; }
.how-vote-flow span { display: grid; place-items: center; min-height: 76px; padding: 12px; border: 1px solid var(--line); background: #fff; text-align: center; font-size: 13px; font-weight: 900; }
.how-vote-flow b { color: var(--accent); }
.how-cta { display: flex; justify-content: space-between; gap: 30px; align-items: center; background: #f5efe3; }
.how-cta .primary-button { width: min(100%, 330px); text-decoration: none; }

@media (max-width: 900px) {
  .how-hero { grid-template-columns: 1fr; padding: 28px; }
  .how-hero .eyebrow,.how-hero h1,.how-hero > p:last-of-type,.how-route { grid-column: 1; }
  .how-route { grid-row: auto; margin-top: 18px; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .how-steps article + article { border-left: 0; border-top: 1px solid var(--line); }
  .how-steps article:not(:last-child)::after { display: none; }
  .how-scenarios { grid-template-columns: 1fr 1fr; }
  .how-group { grid-template-columns: 1fr; }
  .how-vote-flow { grid-template-columns: 1fr; }
  .how-vote-flow b { display: none; }
}

@media (max-width: 560px) {
  .how-shell { gap: 10px; }
  .how-hero,.how-flow,.how-start,.how-group,.how-cta { padding: 22px 18px; }
  .how-hero h1 { font-size: 38px; }
  .how-route { grid-template-columns: repeat(4, 1fr); gap: 7px; padding: 14px; }
  .how-route i { display: none; }
  .how-route strong { width: 100%; }
  .how-section-heading,.how-cta { display: grid; align-items: start; }
  .how-steps,.how-scenarios { grid-template-columns: 1fr; }
  .how-steps article { min-height: 170px; }
  .how-cta .primary-button { width: 100%; }
}
.group-invite-tools { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(320px, 1.2fr); gap: 18px; margin-top: 20px; padding: 20px; border: 1px solid var(--line); background: var(--soft); }
.group-invite-tools h3,.group-invite-tools p { margin: 0; }
.group-invite-tools > div:first-child { display: grid; align-content: center; gap: 6px; }
.group-invite-tools form,.group-created-link { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.group-created-link { grid-column: 1/-1; }
.group-created-link input { min-width: 0; }

@media (max-width: 700px) {
  .continuation-comparison-grid { grid-template-columns: 1fr; }
  .compact-route-head { display: grid; gap: 14px; }
  .compact-route-total { width: 100%; text-align: left; }
  .compact-route-components { grid-template-columns: 1fr; }
  .compact-flight-card,
  .compact-hotel-card { grid-template-columns: 58px minmax(0, 1fr); min-height: 0; padding: 12px; }
  .compact-component-mark,
  .compact-hotel-thumb { width: 58px; height: 58px; }
  .compact-component-mark img { width: 48px; height: 38px; }
  .compact-component-title { display: grid; gap: 5px; }
  .compact-component-price { text-align: left; }
  .hotel-dual-price { width: 100%; min-width: 0; }
  .compact-flight-legs { grid-template-columns: 1fr; }
  .compact-hotel-facts { grid-template-columns: 1fr; }
  .compact-hotel-facts div { min-height: 0; }
  .continuation-test-overview + .route-share-card-cta { margin: -5px 0; padding: 13px; }
  .continuation-test-city-list .addon-picker { grid-template-columns: 1fr; }
  .continuation-test-city-list .addon-option-card { min-height: 0; }
  .continuation-test-addon-sheet .selected-addon-city-bar { grid-template-columns: 1fr; }
  .group-create-panel,.group-link-grid,.group-results-grid,.group-vote-options,.group-vote-details,.group-flight-options { grid-template-columns: 1fr; }
  .group-create-panel { gap: 20px; padding: 24px 18px; }
  #group-create-form { grid-template-columns: 1fr; padding: 14px; }
  #group-create-form .primary-button { grid-column: auto; }
  .inspire-quiz,
  .inspire-results,
  .ticket-choice-section { padding: 20px 16px; }
  .inspire-quiz-head { display: grid; gap: 10px; }
  .inspire-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inspire-fields,
  .inspire-grid,
  .ticket-choice-grid { grid-template-columns: 1fr; }
  #inspire-form > .primary-button { width: 100%; }
  .ticket-choice-leg { grid-template-columns: 44px minmax(54px,.8fr) minmax(72px,1fr) minmax(54px,.8fr); gap:4px; }
  .ticket-choice-leg i { display:grid; }
  .group-room-head { display: grid; }
  .group-room-kpis { grid-template-columns: repeat(3, 1fr); width: 100%; }
  .group-invite-tools,.group-invite-tools form,.group-created-link { grid-template-columns: 1fr; }
  .group-created-link { grid-column: auto; }
  .group-participant-copy { grid-column: 1 / -1; grid-row: auto; width: 100%; }
  .group-vote-details .wide { grid-column: auto; }
}

label {
  display: grid;
  gap: 8px;
}

label span {
  font-size: 13px;
  font-weight: 700;
}

input[type="text"],
input[type="date"],
input:not([type]),
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  background: #fbfcfb;
  color: var(--ink);
  outline: none;
}

textarea {
  min-height: 110px;
  padding: 12px 13px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 52, 72, 0.11);
}

.date-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.date-field {
  position: relative;
}

.date-display {
  display: none;
}

.switch-row {
  display: flex;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.switch-row input {
  width: 20px;
  height: 20px;
}

.switch-row strong,
.switch-row small {
  display: block;
}

.switch-row small {
  margin-top: 2px;
  color: var(--muted);
}

.primary-button,
.secondary-button,
.ghost-button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.primary-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  color: white;
  background: linear-gradient(180deg, #263d52, #172838);
}

.secondary-button,
.ghost-button {
  width: 100%;
  color: var(--blue);
  background: #f4f5f3;
  border: 1px solid #cfd5d0;
}

.ghost-button {
  color: var(--ink);
  background: white;
  border-color: var(--line);
}

.trust-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}

.trust-strip div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  line-height: 1.3;
}

.content {
  min-width: 0;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.02;
}

h2 {
  margin-bottom: 0;
  font-size: 24px;
}

h3 {
  margin-bottom: 12px;
  font-size: 19px;
}

.tg-link {
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: white;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 10px;
  padding: 10px 2px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.site-footer a,
.legal-page a,
.cookie-banner a,
.consent-row a {
  color: var(--blue);
  font-weight: 900;
}

.cjm-test-page {
  --cjm-ink: #121416;
  --cjm-navy: #14283a;
  --cjm-steel: #536472;
  --cjm-paper: #f7f4ec;
  --cjm-card: #fffefa;
  --cjm-gold: #9a7a43;
  --cjm-green: #476653;
  background:
    linear-gradient(180deg, #eceee8 0%, #f7f4ec 46%, #eef1ed 100%);
}

.cjm-shell {
  display: grid;
  gap: 16px;
  max-width: 1520px;
}

.cjm-topnav {
  order: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 12px 0;
}

.cjm-logo-lockup {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--cjm-ink);
  text-decoration: none;
}

.cjm-logo-lockup .brand-logo {
  width: 138px;
  height: 72px;
  flex-basis: 138px;
  object-fit: contain;
}

.cjm-logo-lockup strong,
.cjm-logo-lockup small {
  display: block;
}

.cjm-logo-lockup strong {
  font-size: 22px;
  line-height: 1;
}

.cjm-logo-lockup small {
  margin-top: 4px;
  color: var(--cjm-steel);
  font-weight: 850;
}

.cjm-topnav nav {
  display: flex;
  gap: 8px;
}

.cjm-topnav nav a {
  display: grid;
  place-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(20, 40, 58, 0.14);
  border-radius: 8px;
  color: var(--cjm-navy);
  background: rgba(255, 254, 250, 0.72);
  font-weight: 900;
  text-decoration: none;
}

.cjm-topnav nav a.active {
  border-color: var(--cjm-navy);
  color: #fff;
  background: var(--cjm-navy);
}

.cjm-hero,
.cjm-entry-grid {
  border: 1px solid rgba(20, 40, 58, 0.12);
  border-radius: 8px;
  background: rgba(255, 254, 250, 0.86);
  box-shadow: 0 22px 60px rgba(18, 20, 22, 0.08);
}

.cjm-hero {
  order: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.54fr);
  gap: clamp(16px, 2.4vw, 34px);
  align-items: center;
  min-height: 218px;
  padding: clamp(22px, 2.4vw, 32px);
  color: white;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
    linear-gradient(180deg, #1f3a50, #0f202f);
  overflow: hidden;
}

.cjm-hero-copy {
  display: grid;
  align-content: center;
  gap: 10px;
}

.cjm-hero-copy h1 {
  max-width: 600px;
  font-size: clamp(32px, 3.1vw, 46px);
  line-height: 1.02;
}

.cjm-hero-copy .eyebrow,
.cjm-hero-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.cjm-hero-copy p {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.cjm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 560px;
}

.cjm-hero-actions .primary-button,
.cjm-hero-actions .secondary-button {
  width: auto;
  min-width: 168px;
  text-decoration: none;
}

.cjm-hero-actions .primary-button {
  background: linear-gradient(180deg, #b8924f, #8c6930);
}

.cjm-hero-actions .secondary-button {
  display: grid;
  place-items: center;
  color: white;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
}

.cjm-route-board {
  display: grid;
  align-content: center;
  justify-self: end;
  width: min(100%, 640px);
  min-height: 132px;
  padding: clamp(14px, 1.45vw, 20px);
  border: 0;
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 12%, rgba(216, 184, 115, 0.12), transparent 32%),
    rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.cjm-board-route {
  --cjm-reel-item-height: 74px;
  display: grid;
  grid-template-columns: minmax(140px, 0.58fr) minmax(270px, 1.42fr);
  gap: clamp(16px, 1.8vw, 26px);
  align-items: start;
  overflow: visible;
}

.cjm-board-route > div {
  display: grid;
  grid-template-rows: 22px 1fr;
  gap: 8px;
  min-width: 0;
  padding: 0;
  background: transparent;
}

.cjm-board-route small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cjm-board-route > div + div {
  padding-left: clamp(14px, 1.6vw, 22px);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.cjm-board-route strong {
  color: white;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: clamp(17px, 1.24vw, 21px);
  line-height: 1.05;
  white-space: nowrap;
}

.cjm-board-route > div:first-child strong {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 1.16vw, 20px);
}

.cjm-board-ideas {
  align-content: stretch;
}

.cjm-idea-ticker {
  position: relative;
  align-self: start;
  height: var(--cjm-reel-item-height);
  overflow: hidden;
}

.cjm-idea-ticker::before,
.cjm-idea-ticker::after {
  display: none;
}

.cjm-reel-track {
  display: grid;
  will-change: transform;
}

.cjm-idea-ticker span {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  align-content: start;
  height: var(--cjm-reel-item-height);
  min-width: 0;
  overflow: hidden;
  padding: 0;
  color: white;
  font-size: clamp(17px, 1.28vw, 22px);
  font-weight: 950;
  line-height: 1.04;
}

.cjm-idea-ticker span > small {
  display: none;
}

.cjm-idea-ticker em {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: normal;
  word-break: normal;
  font-style: normal;
  white-space: nowrap;
  hyphens: none;
}

.cjm-idea-ticker b {
  justify-self: start;
  color: #d8b873;
  font-size: 0.86em;
  line-height: 1;
  white-space: nowrap;
  max-width: 100%;
}

.cjm-idea-ticker span.saving b {
  color: #9fe0b5;
}

.cjm-entry-grid {
  order: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  overflow: visible;
  border-color: rgba(20, 40, 58, 0.1);
  background: rgba(255, 254, 250, 0.72);
}

.cjm-entry-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 68px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--cjm-ink);
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.cjm-entry-card span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  color: white;
  background: var(--cjm-navy);
  font-size: 13px;
  font-weight: 950;
}

.cjm-entry-card div {
  display: grid;
  gap: 5px;
}

.cjm-entry-card strong {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.05;
}

.cjm-entry-card small {
  color: var(--cjm-steel);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.cjm-entry-card em {
  display: none;
  grid-column: 1 / -1;
  align-self: end;
  color: var(--cjm-gold);
  font-size: 13px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.cjm-hero-copy p:not(.eyebrow) {
  max-width: 420px;
}

.cjm-entry-card.highlighted {
  background: transparent;
}

.cjm-entry-card.premium {
  color: var(--cjm-ink);
  background: transparent;
}

.cjm-entry-card.premium small {
  color: var(--cjm-steel);
}

.cjm-entry-card.premium em {
  color: #d8b873;
}

.cjm-entry-card.premium span {
  color: white;
  background: var(--cjm-navy);
}

.cjm-entry-card.selected {
  position: relative;
  z-index: 1;
  border-color: rgba(20, 40, 58, 0.18);
  background: white;
  box-shadow: 0 12px 28px rgba(17, 19, 21, 0.08);
}

.cjm-entry-card.selected span {
  background: #b8924f;
}

.cjm-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(20, 40, 58, 0.12);
  border-radius: 8px;
  background: rgba(20, 40, 58, 0.12);
}

.cjm-journey-stage {
  order: 4;
  display: grid;
}

.cjm-journey {
  display: none;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.72fr);
  gap: 18px;
  align-items: stretch;
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(20, 40, 58, 0.12);
  border-radius: 8px;
  background: rgba(255, 254, 250, 0.9);
  box-shadow: 0 18px 44px rgba(18, 20, 22, 0.07);
}

.cjm-test-page[data-cjm-mode="city"] .cjm-journey[data-journey="city"],
.cjm-test-page[data-cjm-mode="deals"] .cjm-journey[data-journey="deals"],
.cjm-test-page[data-cjm-mode="addon"] .cjm-journey[data-journey="addon"] {
  display: grid;
}

.cjm-journey h2 {
  max-width: 760px;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1;
}

.cjm-journey p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--cjm-steel);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.45;
}

.cjm-journey-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(20, 40, 58, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 40, 58, 0.06), transparent 58%),
    rgba(255, 255, 255, 0.62);
}

.cjm-journey-flow span {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 10px;
  border: 1px solid rgba(20, 40, 58, 0.12);
  border-radius: 8px;
  color: var(--cjm-navy);
  background: white;
  text-align: center;
  font-weight: 950;
}

.cjm-journey-flow i {
  width: 26px;
  height: 1px;
  background: rgba(20, 40, 58, 0.24);
}

.cjm-test-page[data-cjm-mode="city"] .cjm-workspace {
  order: 4;
}

.cjm-test-page[data-cjm-mode="city"] .cjm-journey-stage {
  order: 5;
}

.cjm-test-page[data-cjm-mode="city"] .cjm-console {
  box-shadow: 0 0 0 3px rgba(20, 40, 58, 0.08), var(--shadow);
}

.cjm-assumptions {
  order: 7;
  padding: 0 4px;
  color: var(--cjm-steel);
  font-size: 12px;
  font-weight: 850;
}

.cjm-assumptions summary {
  width: fit-content;
  cursor: pointer;
  color: var(--cjm-steel);
  font-weight: 950;
}

.cjm-assumptions div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.cjm-assumptions span {
  padding: 6px 8px;
  border: 1px solid rgba(20, 40, 58, 0.12);
  border-radius: 999px;
  background: rgba(255, 254, 250, 0.76);
}

.cjm-addon-filters {
  display: none;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-top: 4px;
}

.cjm-test-page[data-cjm-mode="addon"] .cjm-addon-filters {
  display: grid;
}

.cjm-addon-filters label,
.cjm-addon-filters .switch-row,
.addon-night-range {
  width: 100%;
}

.addon-night-range {
  display: grid;
  gap: 9px;
}

.addon-night-range > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.addon-night-range > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.addon-night-range label {
  position: relative;
  display: grid;
  gap: 5px;
}

.addon-night-range small {
  color: var(--cjm-gold);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.cjm-test-page select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 40px 0 13px;
  color: var(--ink);
  background:
    linear-gradient(45deg, transparent 50%, var(--cjm-navy) 50%) calc(100% - 18px) 50% / 7px 7px no-repeat,
    linear-gradient(135deg, var(--cjm-navy) 50%, transparent 50%) calc(100% - 13px) 50% / 7px 7px no-repeat,
    #fbfcfb;
  outline: none;
  font: inherit;
  font-weight: 850;
  appearance: none;
}

.compact-switch {
  min-height: 48px;
  margin: 0;
}

.cjm-proof-strip div {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: rgba(255, 254, 250, 0.86);
}

.cjm-proof-strip strong {
  color: var(--cjm-navy);
  font-size: 18px;
  line-height: 1;
}

.cjm-proof-strip span {
  color: var(--cjm-steel);
  font-size: 12px;
  font-weight: 850;
}

.cjm-workspace {
  order: 6;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 16px;
}

.cjm-test-page.cjm-pristine .cjm-workspace {
  display: none;
}

.cjm-console {
  padding: 24px;
  border-color: rgba(20, 40, 58, 0.14);
  border-top: 4px solid var(--cjm-navy);
  background: rgba(255, 255, 255, 0.94);
}

.cjm-console-head {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(20, 40, 58, 0.12);
}

.cjm-console-head span {
  color: var(--cjm-gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.cjm-console-head strong {
  color: var(--cjm-ink);
  font-size: 24px;
  line-height: 1.05;
}

.cjm-content-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid rgba(20, 40, 58, 0.14);
  border-top: 4px solid var(--cjm-navy);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.cjm-test-page:not(.cjm-has-result) .cjm-content-head,
.cjm-test-page:not(.cjm-has-result):not([data-cjm-mode="deals"]):not([data-cjm-mode="inspire"]) .result-shell,
.cjm-test-page:not(.cjm-has-result) #status {
  display: none;
}

.recent-searches {
  display: none;
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(20, 40, 58, 0.14);
  border-top: 4px solid var(--cjm-navy);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.cjm-test-page:not(.cjm-has-result)[data-cjm-mode="city"] .recent-searches,
.cjm-test-page:not(.cjm-has-result)[data-cjm-mode="addon"] .recent-searches {
  display: block;
}

.recent-searches-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(20, 40, 58, 0.12);
}

.recent-searches-head h2 {
  margin-top: 4px;
  font-size: clamp(26px, 3vw, 38px);
}

.recent-searches-head > span,
.recent-searches-empty {
  color: var(--cjm-steel);
  font-weight: 800;
}

.recent-searches-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.recent-search-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 12px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(20, 40, 58, 0.13);
  border-radius: 8px;
  color: var(--cjm-ink);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.recent-search-card:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 146, 79, 0.7);
  box-shadow: 0 12px 26px rgba(17, 19, 21, 0.08);
}

.recent-search-card > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 52px;
  min-height: 52px;
  border-radius: 8px;
  color: #fff;
  background: var(--cjm-navy);
  font-size: 13px;
  font-weight: 950;
}

.recent-combination-route {
  grid-row: 1 / 4;
  display: grid;
  grid-template-columns: auto 24px auto;
  gap: 5px;
  align-self: center;
  align-items: center;
  padding: 8px;
  border: 1px solid #cbd4cf;
  border-radius: 999px;
  background: #f2f5f3;
}

.recent-combination-route span {
  display: grid;
  place-items: center;
  min-width: 38px;
  min-height: 30px;
  padding: 0 7px;
  border-radius: 999px;
  color: #fff;
  background: var(--cjm-navy);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .04em;
}

.recent-combination-route i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--cjm-navy);
  background: #e8c879;
  font-size: 14px;
  font-style: normal;
  font-weight: 950;
}

.recent-search-card strong {
  overflow: hidden;
  font-size: 20px;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-search-card > small,
.recent-search-card > b {
  grid-column: 2;
}

.recent-search-card small {
  color: var(--cjm-steel);
  font-weight: 800;
}

.recent-search-card > b {
  margin-top: 5px;
  color: var(--cjm-gold);
  font-size: 14px;
}

.recent-searches-empty {
  margin-top: 18px;
}

.cjm-content-head h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.cjm-content-head > span {
  color: var(--cjm-steel);
  font-weight: 900;
}

.cjm-content-head > span:empty {
  display: none;
}

.cjm-empty {
  min-height: 430px;
  border-color: rgba(71, 102, 83, 0.28);
  background:
    linear-gradient(135deg, rgba(71, 102, 83, 0.1), transparent 52%),
    rgba(255, 254, 250, 0.92);
}

.cjm-mode-context {
  display: none;
}

.cjm-mode-context {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid #c8b58e;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(154, 122, 67, 0.1), transparent 58%),
    #fff;
  box-shadow: var(--shadow);
}

.cjm-test-page[data-cjm-mode="city"] .cjm-mode-context,
.cjm-test-page[data-cjm-mode="city"] .cjm-console,
.cjm-test-page[data-cjm-mode="city"] .cjm-content-head {
  border-color: rgba(20, 40, 58, 0.18);
}

.cjm-test-page[data-cjm-mode="deals"] .cjm-mode-context,
.cjm-test-page[data-cjm-mode="deals"] .cjm-console,
.cjm-test-page[data-cjm-mode="deals"] .cjm-content-head {
  border-color: rgba(20, 40, 58, 0.18);
  border-top-color: var(--cjm-navy);
  background: rgba(255, 255, 255, 0.94);
}

.cjm-test-page[data-cjm-mode="addon"] .cjm-mode-context,
.cjm-test-page[data-cjm-mode="addon"] .cjm-console,
.cjm-test-page[data-cjm-mode="addon"] .cjm-content-head {
  border-color: rgba(20, 40, 58, 0.18);
  border-top-color: var(--cjm-navy);
  background: rgba(255, 255, 255, 0.94);
}

.cjm-mode-context strong,
.cjm-mode-context span {
  display: block;
}

.cjm-mode-context strong {
  font-size: 22px;
  line-height: 1.15;
}

.cjm-mode-context span {
  margin-top: 5px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.cjm-mode-flow {
  display: grid;
  gap: 8px;
}

.cjm-mode-flow span {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 38px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(20, 40, 58, 0.12);
  border-radius: 8px;
  color: var(--cjm-navy);
  background: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 950;
}

.cjm-mode-flow b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  color: white;
  background: var(--cjm-navy);
  font-size: 12px;
}

.cjm-test-page[data-cjm-mode="deals"] .cjm-mode-flow b {
  background: var(--cjm-gold);
}

.cjm-test-page[data-cjm-mode="addon"] .cjm-mode-flow b {
  background: var(--cjm-green);
}

.status {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
}

.status.error {
  border-color: #fecdca;
  background: #fff5f5;
  color: var(--red);
}

.hidden {
  display: none;
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 14px;
  width: min(620px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid #cfc2a8;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(154, 122, 67, 0.08), transparent 55%),
    #fff;
  box-shadow: 0 18px 48px rgba(17, 19, 21, 0.18);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner strong,
.cookie-banner p {
  display: block;
  margin: 0;
}

.cookie-banner p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.cookie-banner .secondary-button {
  align-self: center;
  min-height: 42px;
}

.result-shell {
  display: grid;
  gap: 18px;
}

.deals-shell {
  margin-bottom: 18px;
}

.deals-section {
  border-top: 4px solid var(--cjm-navy);
  background:
    linear-gradient(135deg, rgba(20, 40, 58, 0.045), transparent 44%),
    rgba(255, 255, 255, 0.95);
}

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

.deal-card {
  display: grid;
  gap: 10px;
  min-height: 184px;
  padding: 16px;
  border: 1px solid rgba(20, 40, 58, 0.14);
  border-radius: 8px;
  color: var(--ink);
  text-align: left;
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 19, 21, 0.05);
  cursor: pointer;
}

.deal-card:hover {
  border-color: rgba(20, 40, 58, 0.38);
  transform: translateY(-1px);
}

.deal-topline,
.deal-meta,
.deal-airline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.deal-topline span {
  min-width: 0;
  font-size: 15px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.deal-topline strong {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  color: #263d52;
  background: #edf1ed;
  font-size: 12px;
}

.deal-price {
  color: var(--accent);
  font-size: 30px;
  font-weight: 950;
  line-height: 1;
}

.deal-meta {
  justify-content: flex-start;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.deal-meta span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fafafa;
}

.deal-airline {
  justify-content: flex-start;
}

.deal-airline img,
.deal-airline > span {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
  background: #f5f6f4;
}

.deal-airline small,
.deal-baseline {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.deal-baseline {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.progress-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
}

.progress-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 10px;
  align-items: center;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.progress-step:disabled {
  cursor: default;
  opacity: 0.52;
}

.progress-step span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  color: var(--muted);
  background: #edf1ed;
  font-weight: 900;
}

.progress-step strong,
.progress-step small {
  display: block;
}

.progress-step small {
  color: var(--muted);
  line-height: 1.25;
}

.progress-step.active {
  border-color: #cfc9ba;
  background: var(--accent-soft);
}

.progress-step.active span {
  color: white;
  background: var(--blue);
}

.progress-step.done {
  border-color: #c8d4ca;
  background: #f4f8f5;
}

.progress-step.done span {
  color: #fff;
  background: #3f7659;
  box-shadow: 0 0 0 3px rgba(63, 118, 89, 0.12);
}

.step-actions {
  display: grid;
  gap: 10px;
  padding: 2px 0;
}

.step-actions .primary-button,
.step-actions .secondary-button {
  width: 100%;
}

.next-step-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid #cfc2a8;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(154, 122, 67, 0.1), transparent 58%),
    #fff;
  box-shadow: var(--shadow);
}

.next-step-card.feature {
  border-color: var(--blue);
  background:
    linear-gradient(135deg, rgba(30, 52, 72, 0.1), transparent 58%),
    #fff;
}

.next-step-card strong,
.next-step-card span {
  display: block;
}

.next-step-card strong {
  font-size: 22px;
  line-height: 1.14;
}

.next-step-card > div > span {
  margin-top: 5px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.next-step-card .primary-button,
.next-step-card .secondary-button,
.addon-primary-cta {
  min-height: 56px;
  padding: 0 18px;
  font-size: 17px;
  box-shadow: 0 14px 28px rgba(30, 52, 72, 0.2);
}

.direction-section {
  background:
    linear-gradient(135deg, rgba(30, 52, 72, 0.045), transparent 48%),
    rgba(255, 255, 255, 0.95);
}

.direction-city-plus { display:inline-block; margin:0 10px; color:var(--accent); font-weight:700; }

.step-intro {
  min-height: 260px;
}

.empty-state {
  min-height: 420px;
  display: grid;
  align-content: center;
  padding: 38px;
  border: 1px dashed #cfd8ca;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.65);
}

.trip-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.trip-facts div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.trip-facts strong {
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
}

.trip-facts span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.empty-kicker {
  margin-bottom: 10px;
  color: var(--green);
  font-weight: 900;
}

.section-block {
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
}

.section-heading > div {
  min-width: 0;
}

.section-heading > p {
  max-width: 440px;
  margin-bottom: 0;
  justify-self: end;
  padding-top: 28px;
  font-size: 14px;
  line-height: 1.35;
}

.flight-section,
.hotel-section,
.summary-section,
.addon-section {
  border-top-width: 4px;
}

.flight-section {
  border-top-color: var(--blue);
}

.hotel-section {
  border-top-color: var(--green);
}

.summary-section {
  border-top-color: var(--accent);
}

.addon-section {
  border-top-color: #263d52;
}

.info-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.info-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid #d7d0c1;
  border-radius: 999px;
  color: #2d3540;
  background: #faf8f2;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.matrix-section {
  background:
    linear-gradient(135deg, rgba(30, 52, 72, 0.045), transparent 48%),
    rgba(255, 255, 255, 0.95);
}

.matrix-toolbar {
  display: flex;
  justify-content: flex-end;
  margin: -2px 0 12px;
}

.matrix-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.matrix-legend span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
}

.legend-dot.low {
  background: var(--low);
}

.legend-dot.mid {
  background: var(--mid);
}

.legend-dot.high {
  background: var(--high);
}

.legend-dot.estimated {
  border-style: dashed;
}

.matrix {
  overflow-x: auto;
  padding-bottom: 4px;
}

.matrix-table {
  display: grid;
  min-width: 680px;
  gap: 8px;
}

.matrix-row {
  display: grid;
  grid-template-columns: 88px repeat(7, minmax(86px, 1fr));
  gap: 8px;
}

.matrix-head,
.matrix-date {
  display: grid;
  place-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.matrix-cell {
  display: grid;
  place-items: center;
  gap: 2px;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  font-weight: 900;
}

.matrix-cell strong,
.matrix-cell small {
  display: block;
}

.matrix-cell small {
  min-height: 16px;
  color: #344054;
  font-size: 11px;
  font-weight: 800;
}

.matrix-cell.low {
  background: var(--low);
}

.matrix-cell.mid {
  background: var(--mid);
}

.matrix-cell.high {
  background: var(--high);
}

.matrix-cell.selected {
  outline: 3px solid rgba(154, 122, 67, 0.22);
  border-color: var(--blue);
}

.matrix-cell.best {
  border-color: #b69a62;
  box-shadow: inset 0 0 0 1px rgba(154, 122, 67, 0.2);
}

.matrix-cell.estimated {
  border-style: dashed;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.hotels-grid {
  align-items: start;
}

.flight-card,
.hotel-card,
.summary-card,
.addon-card,
.debug-card {
  padding: 18px;
}

.flight-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}

.compact-flight {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.flight-mainline {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.airline-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.flight-pricebox {
  text-align: right;
}

.price {
  font-size: 24px;
  font-weight: 900;
}

.price-note {
  max-width: 210px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.kv {
  display: grid;
  grid-template-columns: minmax(110px, 0.75fr) 1fr;
  gap: 9px 14px;
}

.base-itinerary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.flight-details {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.flight-details summary {
  width: fit-content;
  color: var(--blue);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.flight-details .kv {
  margin-top: 12px;
}

.flight-link-button {
  display: grid;
  place-items: center;
  text-decoration: none;
}

.partner-link-block {
  display: grid;
  gap: 6px;
}

.affiliate-note {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.hotel-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  max-height: 190px;
  object-fit: cover;
  border-radius: 8px;
  background: #edf1ed;
}

.hotel-image-fallback {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  background:
    linear-gradient(135deg, rgba(154, 122, 67, 0.12), transparent 55%),
    #eef3f1;
}

.hotel-card {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  gap: 14px;
  position: relative;
  background:
    linear-gradient(180deg, #ffffff, #fbfaf6);
}

.hotel-rating-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.hotel-rating-tab {
  display: grid;
  gap: 3px;
  min-height: 66px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  background: #fbfcfb;
  text-align: left;
  cursor: pointer;
}

.hotel-rating-tab strong {
  font-size: 15px;
}

.hotel-rating-tab span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hotel-rating-tab.active {
  border-color: var(--blue);
  background: var(--accent-soft);
  box-shadow: inset 0 -3px 0 var(--accent);
}

.hotel-rating-panel[hidden] {
  display: none;
}

.selected-hotel-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(17, 19, 21, 0.16);
}

.hotel-card-body {
  display: grid;
  grid-template-rows: minmax(108px, auto) minmax(36px, auto) auto auto;
  gap: 12px;
}

.hotel-card-head h3 {
  min-height: 58px;
  margin-bottom: 0;
  font-size: 22px;
  line-height: 1.18;
}

.hotel-provider-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.hotel-provider-row span {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid #ded6c7;
  border-radius: 999px;
  color: var(--accent);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
}

.hotel-card.selected {
  border-color: var(--blue);
  background:
    linear-gradient(180deg, rgba(154, 122, 67, 0.13), rgba(255, 255, 255, 0.96) 32%),
    #fff;
  box-shadow:
    0 0 0 3px rgba(30, 52, 72, 0.14),
    0 18px 38px rgba(18, 37, 52, 0.16);
  transform: translateY(-3px);
}

.hotel-section .hotel-card,
.addon-hotel-choice .hotel-card {
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.hotel-section .hotel-card:hover,
.addon-hotel-choice .hotel-card:hover {
  transform: translateY(-2px);
  border-color: #8fa49a;
  box-shadow: 0 14px 30px rgba(24, 51, 72, .12);
}

.hotel-section .hotel-card:focus-visible,
.addon-hotel-choice .hotel-card:focus-visible {
  outline: 3px solid rgba(177, 132, 56, .4);
  outline-offset: 3px;
}

.hotel-card.selected::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  left: -1px;
  z-index: 1;
  height: 6px;
  border-radius: 8px 8px 0 0;
  background: var(--accent);
}

.hotel-card.selected .hotel-image {
  box-shadow: inset 0 0 0 2px rgba(30, 52, 72, 0.22);
}

.hotel-card.selected .hotel-price {
  border-color: #c8ae78;
  background: var(--accent-soft);
}

.hotel-card.selected .ghost-button {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(30, 52, 72, 0.2);
}

.hotel-facts,
.hotel-meta {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 6px 12px;
  min-height: 34px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.hotel-facts span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hotel-facts span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #c8c0b1;
}

.hotel-badges span {
  padding: 6px 9px;
  border: 1px solid #ded6c7;
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
}

.hotel-price {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(154, 122, 67, 0.09), transparent 60%),
    #fbfcfb;
}

.hotel-card .ghost-button {
  align-self: end;
}

.hotel-status-card {
  display: grid;
  gap: 6px;
  max-width: 760px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #d6cdbb;
  border-radius: 8px;
  background: var(--accent-soft);
}

.hotel-status-card strong,
.hotel-status-card span {
  display: block;
}

.pricing-freshness {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #d8b45f;
  background: #fff8e8;
}

.pricing-freshness div { display: grid; gap: 4px; }
.pricing-freshness span { color: var(--muted); }
.pricing-freshness button { flex: 0 0 auto; }

@media (max-width: 700px) {
  .pricing-freshness { align-items: stretch; flex-direction: column; }
}

.hotel-status-card span {
  color: var(--muted);
  line-height: 1.45;
}

.hotel-price span,
.hotel-price small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.hotel-price strong {
  font-size: 24px;
  line-height: 1.1;
}

.summary-total-hero {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid #d6c8ab;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(154, 122, 67, 0.14), transparent 55%),
    var(--accent-soft);
}

.summary-total-hero span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.summary-total-hero strong {
  color: var(--accent);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
}

.route-overview {
  background:
    linear-gradient(135deg, rgba(154, 122, 67, 0.08), transparent 46%),
    rgba(255, 255, 255, 0.96);
}

.route-overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.32fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 14px;
}

.route-overview-main,
.route-total-card,
.route-component-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.route-overview-main {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.route-line {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.route-line span {
  display: grid;
  place-items: center;
  min-width: 58px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #cfc2a8;
  border-radius: 999px;
  color: var(--blue);
  background: var(--accent-soft);
  font-weight: 950;
}

.route-line i {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, #cfc2a8, var(--blue));
}

.route-overview-dates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.route-overview-dates div,
.route-total-card,
.component-price {
  display: grid;
  gap: 4px;
}

.route-overview-dates div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.route-overview-dates span,
.route-overview-dates small,
.route-total-card span,
.route-total-card small,
.component-price span,
.component-price small,
.component-dates span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.route-total-card {
  align-content: center;
  padding: 18px;
  border-color: #d6c8ab;
  background: var(--accent-soft);
}

.route-total-card strong {
  color: var(--accent);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
}

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

.route-complete-dialog {
  width: min(520px, calc(100vw - 32px));
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fbfcfb;
  box-shadow: 0 24px 70px rgba(15, 34, 49, 0.24);
}

.completed-route-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border-top-color: var(--accent);
}

.completed-route-copy h2 {
  margin: 6px 0 8px;
}

.completed-route-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.completed-route-button {
  min-width: 280px;
}

@media (max-width: 720px) {
  .completed-route-actions {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .completed-route-button {
    width: 100%;
    min-width: 0;
  }
}

.route-complete-dialog::backdrop {
  background: rgba(15, 34, 49, 0.58);
}

.route-complete-dialog h3 {
  margin: 6px 32px 8px 0;
  font-size: 28px;
  line-height: 1.12;
}

.route-complete-dialog > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.5;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

.route-complete-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.route-complete-dialog > small {
  display: block;
  min-height: 18px;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}

.route-decision {
  border-color: #c8b58e;
  border-top: 6px solid var(--accent);
  background:
    linear-gradient(135deg, rgba(154, 122, 67, 0.09), transparent 42%),
    #fff;
}

.route-decision-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 14px;
  align-items: stretch;
}

.route-decision-card {
  position: relative;
  display: grid;
  gap: 16px;
  align-content: space-between;
  min-height: 270px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fbfcfb;
}

.route-decision-card h3 {
  margin-bottom: 8px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.05;
}

.route-decision-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.4;
}

.route-decision-card .primary-button,
.route-decision-card .secondary-button {
  width: 100%;
  min-height: 58px;
  font-size: 17px;
}

.decision-price {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid #d6c8ab;
  border-radius: 8px;
  background: var(--accent-soft);
}

.decision-price span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.decision-price strong {
  color: var(--accent);
  font-size: 34px;
  line-height: 1;
}

.addon-choice {
  border-color: #21394f;
  color: white;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), transparent 48%),
    linear-gradient(180deg, #29435b, #172b3d);
  box-shadow: 0 22px 54px rgba(30, 52, 72, 0.24);
}

.addon-choice .eyebrow,
.addon-choice h3,
.addon-choice p {
  color: white;
}

.addon-choice .eyebrow {
  opacity: 0.78;
}

.addon-choice p {
  opacity: 0.82;
}

.addon-choice.available {
  border: 2px solid #caa253;
  box-shadow: 0 22px 54px rgba(30, 52, 72, 0.28), 0 0 0 4px rgba(202, 162, 83, 0.12);
}

.addon-choice.available .eyebrow {
  display: inline-flex;
  justify-self: start;
  padding: 7px 10px;
  border-radius: 4px;
  color: #172b3d;
  background: #e5c77e;
  opacity: 1;
}

.addon-choice.available .addon-primary-cta {
  color: #10283a;
  background: #e5c77e;
  box-shadow: 0 14px 30px rgba(7, 18, 28, 0.34);
}

.addon-choice.available .addon-primary-cta:hover {
  background: #f0d58f;
  transform: translateY(-1px);
}

.addon-choice.disabled {
  color: var(--ink);
  border-color: var(--line);
  background:
    linear-gradient(135deg, rgba(154, 122, 67, 0.08), transparent 54%),
    #fbfcfb;
  box-shadow: var(--shadow);
}

.addon-choice.disabled .eyebrow,
.addon-choice.disabled h3 {
  color: var(--ink);
}

.addon-choice.disabled p {
  color: var(--muted);
  opacity: 1;
}

.addon-pulse {
  position: absolute;
  right: -60px;
  top: -80px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(154, 122, 67, 0.44), transparent 68%);
}

.route-hint-line {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 8px;
  align-items: center;
}

.route-hint-line span {
  display: grid;
  place-items: center;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 950;
}

.route-hint-line i {
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.82));
}

.addon-choice.disabled .route-hint-line span {
  color: var(--blue);
  border-color: #d6c8ab;
  background: #fff;
}

.addon-choice.disabled .route-hint-line i {
  background: #d6c8ab;
}

.route-component-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  align-items: start;
}

.component-media {
  display: grid;
  place-items: center;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.component-media .airline-logo {
  width: 68px;
  height: 68px;
}

.hotel-media {
  overflow: hidden;
  padding: 0;
}

.route-hotel-image {
  width: 100%;
  height: 100%;
  min-height: 110px;
  object-fit: cover;
}

.component-body {
  display: grid;
  grid-template-rows: auto auto auto minmax(92px, 1fr) auto auto;
  gap: 10px;
  height: 100%;
  min-width: 0;
}

.component-body h3 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 22px;
  line-height: 1.16;
}

.component-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.component-facts span {
  padding: 5px 8px;
  border: 1px solid #d7d0c1;
  border-radius: 999px;
  color: #2d3540;
  background: #faf8f2;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.component-dates {
  display: grid;
  align-content: start;
  gap: 7px;
}

.component-dates div {
  display: grid;
  gap: 2px;
}

.component-dates strong {
  line-height: 1.35;
}

.component-price {
  margin-top: 2px;
  padding: 12px;
  border: 1px solid #d6c8ab;
  border-radius: 8px;
  background: #fff;
}

.component-price strong {
  font-size: 24px;
  line-height: 1.05;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.sales-section {
  border-top-width: 4px;
  border-top-color: var(--accent);
}

.sales-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 16px;
}

.sales-share,
.lead-form {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.share-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 10px;
}

.share-row input {
  color: var(--muted);
  font-size: 13px;
}

.lead-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.65fr);
  gap: 10px;
}

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

.lead-intent {
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  text-align: left;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.lead-intent small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.lead-intent.is-selected {
  border-color: var(--accent);
  box-shadow: inset 0 -3px 0 var(--accent);
  background: #faf7ef;
}

.tg-action {
  display: grid;
  place-items: center;
  text-decoration: none;
}

.lead-status {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #c8d4ca;
  border-radius: 8px;
  color: var(--green);
  background: #eef6f0;
  font-size: 13px;
  font-weight: 800;
}

.consent-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.consent-row input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

.legal-shell {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 28px;
}

.legal-page {
  display: grid;
  gap: 18px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.legal-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.legal-header h1 {
  font-size: clamp(28px, 4vw, 42px);
}

.legal-back {
  flex: 0 0 auto;
  padding: 9px 11px;
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f5f3;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.legal-section {
  display: grid;
  gap: 8px;
}

.legal-section h2 {
  font-size: 20px;
}

.legal-section p,
.legal-section li {
  color: #344054;
  line-height: 1.55;
}

.legal-section ul {
  margin: 0;
  padding-left: 20px;
}

.metric {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.metric span,
.metric strong {
  display: block;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.metric strong {
  margin-top: 6px;
  font-size: 22px;
}

.addon-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.34fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid #cfc9ba;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f7f5ef);
}

.addon-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  gap: 18px;
  align-items: center;
}

.addon-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: 18px;
  align-items: stretch;
  border-color: #22384d;
  border-top-width: 8px;
  background:
    linear-gradient(135deg, rgba(30, 52, 72, 0.12), transparent 48%),
    linear-gradient(180deg, #ffffff, #f8f5ee);
  box-shadow: 0 22px 54px rgba(17, 19, 21, 0.12);
}

.addon-spotlight-copy {
  display: grid;
  align-content: center;
  gap: 12px;
}

.addon-spotlight-copy h2 {
  max-width: 820px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.04;
}

.addon-spotlight-copy p {
  max-width: 720px;
  margin: 0;
  color: #344054;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

.addon-route-strip {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 10px;
  align-items: center;
  max-width: 760px;
  margin-top: 4px;
}

.addon-route-strip span {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #cfc2a8;
  border-radius: 999px;
  color: var(--blue);
  background: #fff;
  font-weight: 950;
}

.addon-route-strip i {
  height: 2px;
  background: linear-gradient(90deg, #cfc2a8, var(--blue));
}

.addon-spotlight-action {
  display: grid;
  gap: 10px;
  align-content: center;
  padding: 18px;
  border: 1px solid #cfc2a8;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(154, 122, 67, 0.13), transparent 58%),
    #fff;
}

.addon-spotlight-action span,
.addon-spotlight-action small {
  color: var(--muted);
  font-weight: 850;
}

.addon-spotlight-action strong {
  color: var(--ink);
  font-size: 28px;
  line-height: 1.08;
}

.addon-teaser-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid #cfc9ba;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(154, 122, 67, 0.1), transparent 60%),
    #fff;
}

.addon-choice-card {
  display: grid;
  gap: 10px;
}

.addon-teaser-card span,
.addon-teaser-card small {
  color: var(--muted);
  font-weight: 800;
}

.addon-teaser-card strong {
  font-size: 22px;
  line-height: 1.15;
}

.addon-hero-main {
  display: grid;
  align-content: center;
  gap: 8px;
}

.addon-hero-main h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
}

.addon-hero-main h3 span {
  color: var(--muted);
}

.addon-hero-main p {
  max-width: 760px;
  color: #344054;
  line-height: 1.45;
}

.addon-hero-price {
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 16px;
  border: 1px solid #d6cdbb;
  border-radius: 8px;
  background: white;
}

.addon-hero-price span,
.addon-hero-price small {
  color: var(--muted);
  font-weight: 800;
}

.addon-hero-price strong {
  color: var(--accent);
  font-size: 30px;
  line-height: 1.05;
}

.addon-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 14px;
  margin-bottom: 14px;
}

.addon-panel,
.addon-alternatives {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.price-details {
  border: 1px solid #d6cdbb;
  border-radius: 8px;
  background: #fff;
}

.price-details summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 0 14px;
  color: var(--blue);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

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

.price-details summary strong {
  color: var(--accent);
  font-size: 18px;
}

.price-details[open] summary {
  border-bottom: 1px solid var(--line);
}

.price-details .addon-cost-grid {
  padding: 12px;
}

.panel-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.panel-heading h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.addon-cost-grid {
  display: grid;
  gap: 10px;
}

.addon-cost-grid > div,
.scenario-costs > div {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.addon-cost-grid span,
.scenario-costs span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.addon-cost-grid strong,
.scenario-costs strong {
  font-size: 20px;
  line-height: 1.15;
}

.addon-cost-grid small,
.scenario-costs small {
  color: #344054;
  line-height: 1.35;
}

.addon-cost-grid .delta {
  border-color: #d6c8ab;
  background: var(--accent-soft);
}

.addon-cost-grid .delta strong {
  color: var(--accent);
  font-size: 24px;
}

.addon-action {
  margin-top: 12px;
}

.route-toggle-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 16px;
  color: white;
  background: linear-gradient(180deg, #263d52, #172838);
  border-color: transparent;
}

.route-toggle-button span:last-child {
  color: #f2d99b;
}

.addon-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.addon-option-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.addon-option-card:hover,
.addon-option-card.selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(154, 122, 67, 0.11);
}

.addon-option-card:hover {
  transform: translateY(-1px);
}

.addon-option-card.selected {
  background: var(--accent-soft);
}

.addon-option-card h3 {
  margin: 0 0 8px;
  line-height: 1.12;
}

.mini-route {
  display: grid;
  gap: 4px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.mini-price {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.mini-price span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.mini-price strong {
  color: var(--accent);
  font-size: 20px;
}

.flight-chain {
  display: grid;
  gap: 10px;
}

.flight-leg {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) minmax(150px, 0.45fr);
  gap: 12px;
  align-items: center;
  min-height: 150px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.round-trip-leg {
  border-color: #cfc2a8;
  background:
    linear-gradient(135deg, rgba(154, 122, 67, 0.11), transparent 58%),
    #fff;
}

.leg-airline-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.logo-placeholder {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef3f1;
}

.leg-main,
.leg-transfer {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.leg-title-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.leg-title-row span {
  padding: 3px 7px;
  border: 1px solid #cfc2a8;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 11px;
  font-weight: 950;
}

.leg-main b {
  color: var(--ink);
}

.leg-main span,
.leg-main small,
.leg-transfer span {
  color: var(--muted);
  line-height: 1.3;
}

.leg-main small,
.leg-transfer span {
  font-size: 12px;
}

.leg-transfer {
  display: grid;
  align-content: center;
  gap: 5px;
  justify-items: end;
  text-align: right;
}

.leg-transfer em {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--green);
  background: #e7f6ef;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.leg-link {
  width: fit-content;
  margin-top: 4px;
  padding: 5px 9px;
  border: 1px solid #cfd5d0;
  border-radius: 8px;
  color: var(--blue);
  background: #f4f5f3;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.visa-badge {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.visa-badge.ok {
  color: #365f48;
  background: #eef6f0;
}

.visa-badge.warn {
  color: var(--red);
  background: #f8eeee;
}

.info-chips .visa-badge.ok {
  border-color: #b9d3c1;
}

.info-chips .visa-badge.warn {
  border-color: #e8c2bd;
}

.full-itinerary {
  display: grid;
  gap: 14px;
  margin: 14px 0;
  padding: 16px;
  border: 1px solid #27323a;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(30, 52, 72, 0.04), transparent 42%),
    #fff;
}

.itinerary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 14px;
}

.itinerary-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.itinerary-column h4 {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.itinerary-pricing {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.itinerary-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.itinerary-price-grid > div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.itinerary-price-grid span,
.itinerary-price-grid small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.itinerary-price-grid strong {
  font-size: 22px;
  line-height: 1.1;
}

.itinerary-price-grid .total {
  border-color: #d6c8ab;
  background: var(--accent-soft);
}

.itinerary-price-grid .total strong,
.itinerary-price-grid .delta strong,
.itinerary-price-grid .saving strong {
  color: var(--accent);
}

.itinerary-price-grid .saving {
  border-color: #c8d4ca;
  background: #eef6f0;
}

.stay-card {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  min-height: 150px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.stay-card img,
.stay-image,
.stay-image-placeholder {
  width: 100px;
  height: 100%;
  min-height: 122px;
  object-fit: cover;
  border-radius: 8px;
  background: #eef3f1;
}

.stay-card > .stay-content {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  align-content: start;
  gap: 5px;
  min-width: 0;
}

.stay-content > strong {
  font-size: 18px;
  line-height: 1.2;
}

.stay-content .hotel-link-block {
  align-self: end;
  margin-top: 10px;
}

.stay-content .hotel-booking-link,
.leg-transfer .leg-link {
  min-height: 42px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stay-card span,
.stay-card small {
  color: var(--muted);
  line-height: 1.35;
}

.continuation-final-itinerary { gap: 18px; padding: 20px; border-color: var(--line); border-top: 5px solid var(--blue); background: #fff; box-shadow: 0 14px 34px rgba(24, 51, 72, .08); }
.continuation-final-itinerary > .panel-heading { padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.continuation-final-itinerary > .panel-heading h3 { margin: 3px 0; font-size: clamp(24px, 2.2vw, 34px); }
.continuation-final-itinerary > .panel-heading p:last-child { margin: 0; color: var(--muted); }
.continuation-final-itinerary .itinerary-grid { gap: 18px; }
.continuation-final-itinerary .itinerary-column { gap: 12px; }
.continuation-final-itinerary .itinerary-column > h4 { color: var(--accent); letter-spacing: .04em; }
.continuation-final-itinerary .flight-leg { min-height: 0; padding: 14px; border: 0; border-left: 4px solid var(--blue); background: #f5f7f6; }
.continuation-final-itinerary .flight-chain { gap: 8px; }
.continuation-final-itinerary .leg-main > strong,
.continuation-final-itinerary .leg-title-row strong { font-size: 17px; }
.continuation-final-itinerary .continuation-flight-row { display:grid; grid-template-columns:minmax(0,1fr); gap:5px; padding-top:8px; border-top:1px solid #d8dfdb; }
.continuation-final-itinerary .continuation-flight-row > span { justify-self:start; padding:3px 7px; border-radius:999px; color:var(--blue); background:#e8eef1; font-size:9px; font-weight:900; line-height:1; text-transform:uppercase; }
.continuation-final-itinerary .continuation-flight-path { display:grid; grid-template-columns:minmax(64px,.8fr) minmax(92px,1.2fr) minmax(64px,.8fr); gap:8px; align-items:center; padding:9px 10px; border-radius:7px; background:#fff; }
.continuation-final-itinerary .continuation-flight-path > b { display:grid; color:var(--blue); font-size:18px; line-height:1.1; }
.continuation-final-itinerary .continuation-flight-path > b:last-child { text-align:right; }
.continuation-final-itinerary .continuation-flight-path > b small { margin-top:4px; color:var(--muted); font-size:9px; font-weight:800; }
.continuation-final-itinerary .continuation-flight-path > i { display:grid; gap:3px; position:relative; color:var(--muted); font-style:normal; text-align:center; }
.continuation-final-itinerary .continuation-flight-path > i::after { content:""; position:absolute; left:4px; right:4px; top:50%; height:1px; background:#bdc9c3; }
.continuation-final-itinerary .continuation-flight-path > i em,
.continuation-final-itinerary .continuation-flight-path > i small { position:relative; z-index:1; justify-self:center; padding:0 5px; background:#fff; font-style:normal; }
.continuation-final-itinerary .continuation-flight-path > i em { color:#425a68; font-size:10px; font-weight:900; }
.continuation-final-itinerary .continuation-flight-path > i small { font-size:9px; }
.continuation-final-itinerary .leg-transfer { align-self: stretch; align-content: center; padding-left: 12px; border-left: 1px solid var(--line); }
.continuation-final-itinerary .leg-price { display: grid; gap: 1px; margin-bottom: 3px; color: var(--blue); }
.continuation-final-itinerary .leg-price small { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.continuation-final-itinerary .leg-price strong { color: var(--blue); font-size: 18px; }
.continuation-final-itinerary .leg-transfer-label { font-size: 13px; }
.continuation-final-itinerary .leg-link { display: inline-flex; min-height: 38px; padding: 8px 12px; align-items: center; justify-content: center; border: 0; border-radius: 7px; color: #fff; background: linear-gradient(135deg, #168cf0, #0769cf); text-decoration: none; font-weight: 850; }
.continuation-final-itinerary .stay-card { min-height: 0; padding: 12px; border: 0; border-top: 4px solid var(--accent); background: #f8f7f3; }
.continuation-final-itinerary .stay-card img,
.continuation-final-itinerary .stay-image,
.continuation-final-itinerary .stay-image-placeholder { min-height: 150px; }
.continuation-final-itinerary .stay-content { grid-template-rows: none; gap: 4px; }
.continuation-final-itinerary .stay-city { color: var(--accent); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.continuation-final-itinerary .stay-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 5px; }
.continuation-final-itinerary .stay-prices > span { display: grid; gap: 1px; padding: 7px 8px; border-radius: 6px; background: #fff; }
.continuation-final-itinerary .stay-prices small { font-size: 9px; font-weight: 800; }
.continuation-final-itinerary .stay-prices b { color: var(--blue); font-size: 13px; }
.continuation-final-itinerary .hotel-link-block { display: grid; gap: 4px; margin-top: 6px; }
.continuation-final-itinerary a.hotel-booking-link { display: flex; min-height: 58px; padding: 10px 12px; border: 0; color: #fff; background: linear-gradient(135deg, #ff4b43, #e72b26); font-weight: 850; text-align: left; }
.continuation-final-itinerary a.hotel-booking-link > span { color: #fff; }
.continuation-final-itinerary a.hotel-booking-link small { color: rgba(255,255,255,.78); }
.continuation-final-itinerary a.hotel-booking-link > b { color: #fff; }
.continuation-final-itinerary .hotel-booking-link:hover { color: #fff; filter: brightness(.96); }
.continuation-final-itinerary .itinerary-pricing { padding-top: 18px; }
.continuation-final-itinerary .itinerary-price-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.continuation-final-itinerary .itinerary-price-grid > div { padding: 10px; }
.continuation-final-itinerary .itinerary-price-grid strong { font-size: 19px; }

/* Compact confirmed continuation. */
.lean-addon-page { display:grid; gap:16px; padding:20px; }
.lean-addon-summary { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:18px; align-items:center; padding:20px; border-radius:10px; color:#fff; background:linear-gradient(135deg,#193247,#244f58); }
.lean-addon-summary .eyebrow { color:#e6c777; }
.lean-addon-summary h2 { margin:4px 0 0; color:#fff; font-size:clamp(25px,2.7vw,38px); }
.lean-addon-summary .info-chips span { color:#fff; border-color:rgba(255,255,255,.25); background:rgba(255,255,255,.09); }
.lean-change-city-button { display:flex; gap:9px; align-items:center; min-height:46px; padding:7px 13px 7px 8px; border:1px solid rgba(255,255,255,.4); border-radius:999px; color:#fff; background:rgba(255,255,255,.08); cursor:pointer; }
.lean-change-city-button span { display:grid; place-items:center; width:30px; height:30px; border-radius:50%; color:var(--cjm-navy); background:#e8c879; font-size:18px; }
.lean-change-city-button strong { color:#fff; font-size:13px; white-space:nowrap; }
.lean-change-city-button:hover { border-color:#e8c879; background:rgba(255,255,255,.14); }
.lean-addon-total { display:grid; gap:3px; min-width:190px; padding-left:18px; border-left:1px solid rgba(255,255,255,.25); }
.lean-addon-total span,.lean-addon-total small { color:rgba(255,255,255,.75); font-weight:800; }
.lean-addon-total strong { color:#fff; font-size:30px; }
.lean-addon-booking-head { display:flex; justify-content:space-between; gap:18px; align-items:end; padding:4px 2px 0; }
.lean-addon-booking-head h3 { margin:3px 0 0; font-size:26px; }
.lean-addon-booking-head > p { margin:0; color:var(--muted); font-weight:800; }
.lean-addon-page .continuation-final-itinerary { margin:0; }
.lean-addon-page .continuation-final-itinerary > .panel-heading { display:none; }
.lean-addon-disclosure { border:1px solid var(--line); border-radius:9px; background:#f7f8f6; }
.lean-addon-disclosure > summary { display:flex; justify-content:space-between; gap:14px; align-items:center; padding:16px 18px; cursor:pointer; list-style:none; }
.lean-addon-disclosure > summary::-webkit-details-marker { display:none; }
.lean-addon-disclosure > summary span { display:grid; gap:3px; }
.lean-addon-disclosure > summary small { color:var(--accent); font-size:10px; font-weight:900; text-transform:uppercase; }
.lean-addon-disclosure > summary strong { color:var(--blue); font-size:17px; }
.lean-addon-disclosure > summary i { font-style:normal; transition:transform .18s ease; }
.lean-addon-disclosure[open] > summary i { transform:rotate(180deg); }
.lean-addon-disclosure > .addon-hotel-choice,.lean-addon-details-grid { margin:0 14px 14px; }
.lean-addon-details-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }

.hotel-booking-link {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 10px 16px;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.15;
  color: var(--cjm-navy);
  text-decoration: none;
}

.hotel-booking-link:hover {
  color: var(--accent);
}

.hotel-link-block {
  width: 100%;
  margin-top: 14px;
}

.hotel-link-block .affiliate-note {
  display: block;
  margin-top: 6px;
}

.addon-hotel-card > .hotel-link-block {
  margin-top: 0;
}

.route-text {
  color: #344054;
  line-height: 1.5;
}

.route-plan {
  display: grid;
  gap: 10px;
}

.route-step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.route-date {
  display: grid;
  place-items: center;
  min-height: 38px;
  border-radius: 8px;
  color: #101828;
  border: 1px solid #d0d5dd;
  background: #fff;
  font-size: 13px;
  font-weight: 900;
}

.stay-step .route-date {
  color: #365f48;
  border-color: #c8d4ca;
  background: #eef6f0;
}

.route-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.route-copy strong {
  font-size: 14px;
}

.route-copy span {
  color: #344054;
  line-height: 1.35;
}

.route-copy em {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  color: var(--green);
  background: #e7f6ef;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.scenario-list {
  display: grid;
  gap: 14px;
}

.scenario-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.scenario-card.base {
  background: #f7f9ff;
}

.scenario-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.scenario-top h3 {
  margin: 0;
  font-size: 20px;
}

.scenario-total {
  display: grid;
  gap: 3px;
  min-width: 150px;
  text-align: right;
}

.scenario-total span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.scenario-total strong {
  color: var(--blue);
  font-size: 24px;
}

.scenario-costs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.scenario-hotel {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #d6cdbb;
  border-radius: 8px;
  background: var(--accent-soft);
}

.scenario-hotel img,
.scenario-hotel .stay-image,
.scenario-hotel .stay-image-placeholder {
  width: 88px;
  height: 68px;
  object-fit: cover;
  border-radius: 8px;
  background: #eef3f1;
}

.scenario-hotel div:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.scenario-hotel span,
.scenario-hotel small {
  color: var(--muted);
  line-height: 1.35;
}

.scenario-hotel span {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.scenario-hotel strong {
  overflow-wrap: anywhere;
}

.scenario-note {
  margin: 0;
  color: #344054;
  line-height: 1.45;
}

.loading-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 190px;
}

.loading-steps {
  display: grid;
  grid-template-columns: repeat(3, 44px);
  gap: 8px;
  margin-top: 16px;
}

.loading-steps span {
  height: 6px;
  border-radius: 999px;
  background: #d6cdbb;
  animation: loadingStep 1.2s ease-in-out infinite;
}

.loading-steps span:nth-child(2) {
  animation-delay: 0.16s;
}

.loading-steps span:nth-child(3) {
  animation-delay: 0.32s;
}

.addon-loading-city {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: baseline;
  margin-top: 14px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 850;
}

.addon-loading-city span {
  color: var(--muted);
}

.addon-loading-city strong {
  color: var(--blue);
  font-size: 24px;
  line-height: 1.05;
  transition: opacity 0.2s ease;
}

.skeleton-lines {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin-top: 18px;
}

.skeleton-lines span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #eceee9, #f8f8f4, #eceee9);
  background-size: 220% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}

.skeleton-lines span:nth-child(2) {
  width: 78%;
}

.skeleton-lines span:nth-child(3) {
  width: 56%;
}

@keyframes loadingStep {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleX(0.7);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

.loader-orbit {
  position: relative;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border: 1px solid #d6cdbb;
  border-radius: 50%;
}

.loader-orbit::before {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.12;
}

.loader-orbit span {
  position: absolute;
  top: 27px;
  left: 27px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  transform-origin: 4px 4px;
  animation: orbit 1.25s linear infinite;
}

.loader-orbit span:first-child {
  transform: rotate(0deg) translateX(24px);
}

.loader-orbit span:last-child {
  background: var(--green);
  animation-delay: -0.45s;
}

@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(24px);
  }
  to {
    transform: rotate(360deg) translateX(24px);
  }
}

@keyframes shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}

.debug-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.debug-table th,
.debug-table td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.debug-table th {
  color: var(--muted);
  font-weight: 900;
}

/* Strict editorial skin for the CJM experiment */
.cjm-test-page {
  --bg: #dfe4e1;
  --panel: #f8f8f5;
  --ink: #12171b;
  --muted: #66706a;
  --line: #bdc6c1;
  --blue: #193247;
  --green: #3f6252;
  --accent: #92713b;
  --accent-soft: #ece6da;
  --shadow: 0 5px 16px rgba(17, 26, 31, 0.055);
  --cjm-ink: #12171b;
  --cjm-navy: #193247;
  --cjm-steel: #596963;
  --cjm-paper: #e8ebe8;
  --cjm-card: #f8f8f5;
  --cjm-gold: #92713b;
  --cjm-green: #3f6252;
  background: #dfe4e1;
}

.cjm-test-page .cjm-shell {
  gap: 12px;
}

.cjm-test-page .cjm-topnav {
  padding: 8px 0 12px;
}

.cjm-test-page .cjm-logo-lockup .brand-logo {
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(17, 26, 31, 0.14);
}

.cjm-test-page .cjm-topnav nav a {
  border-color: #b8c1bc;
  border-radius: 3px;
  background: #eef0ed;
  box-shadow: none;
}

.cjm-test-page .cjm-topnav nav a:hover {
  border-color: #7e8d85;
  background: #f8f8f5;
}

.cjm-test-page .cjm-topnav nav a.active,
.cjm-test-page .cjm-topnav nav a.active:hover {
  border-color: #193247;
  color: #fff;
  background: #193247;
}

.help-nudge {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1100;
  display: grid;
  gap: 9px;
  width: min(390px, calc(100vw - 28px));
  padding: 22px;
  border: 1px solid #c4ad7d;
  border-top: 5px solid #b18a46;
  border-radius: 6px;
  color: var(--ink);
  background: #fffefa;
  box-shadow: 0 22px 60px rgba(15, 34, 49, 0.24);
  animation: help-nudge-in 220ms ease-out both;
}

.help-nudge.hidden {
  display: none;
}

.help-nudge strong {
  padding-right: 28px;
  font-size: 23px;
  line-height: 1.12;
}

.help-nudge > p:not(.eyebrow) {
  margin: 0 0 5px;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.4;
}

.help-nudge .primary-button {
  display: flex;
  justify-content: space-between;
  min-height: 50px;
  text-decoration: none;
}

.help-nudge-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 25px;
  cursor: pointer;
}

@keyframes help-nudge-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .help-nudge {
    right: 14px;
    bottom: 14px;
    padding: 18px;
  }

  .help-nudge strong {
    font-size: 20px;
  }
}

.cjm-test-page .cjm-hero {
  border-color: #10283a;
  border-radius: 4px;
  background: #193247;
  box-shadow: 0 7px 20px rgba(17, 26, 31, 0.12);
}

.cjm-test-page .cjm-route-board {
  border-radius: 0;
  background: #203b50;
}

.cjm-test-page .cjm-entry-grid {
  gap: 1px;
  padding: 1px;
  overflow: hidden;
  border-color: #b6c0bb;
  border-radius: 4px;
  background: #b6c0bb;
  box-shadow: 0 4px 14px rgba(17, 26, 31, 0.05);
}

.cjm-test-page .cjm-entry-card,
.cjm-test-page .cjm-entry-card.highlighted,
.cjm-test-page .cjm-entry-card.premium {
  border: 0;
  border-radius: 0;
  background: #eef0ed;
}

.cjm-test-page .cjm-entry-card:hover {
  background: #f8f8f5;
}

.cjm-test-page .cjm-entry-card.selected {
  background: #f8f8f5;
  box-shadow: inset 0 -3px 0 #92713b;
}

.cjm-test-page .cjm-entry-card span {
  border-radius: 3px;
}

.cjm-test-page .panel,
.cjm-test-page .section-block,
.cjm-test-page .progress-card,
.cjm-test-page .flight-card,
.cjm-test-page .hotel-card,
.cjm-test-page .summary-card,
.cjm-test-page .addon-card,
.cjm-test-page .debug-card,
.cjm-test-page .recent-searches {
  border-color: #bdc6c1;
  border-radius: 4px;
  background: #f8f8f5;
  box-shadow: var(--shadow);
}

.cjm-test-page .hotel-card.selected {
  border: 4px solid var(--cjm-navy);
  outline: 3px solid #c79a47;
  outline-offset: 2px;
  background:
    linear-gradient(180deg, rgba(199, 154, 71, 0.2), rgba(255, 255, 255, 0.98) 34%),
    #fff;
  box-shadow: 0 20px 42px rgba(18, 37, 52, 0.2);
}

.cjm-test-page .hotel-card.selected .selected-hotel-badge {
  color: var(--cjm-navy);
  background: #e8c879;
  box-shadow: 0 8px 20px rgba(18, 37, 52, 0.24);
}

.cjm-test-page .hotel-card.selected .ghost-button {
  color: #fff;
  border-color: var(--cjm-navy);
  background: var(--cjm-navy);
}

/* One selected state across tickets, hotels, routes and group voting */
.cjm-test-page .ticket-choice-card.selected,
.cjm-test-page .compact-flight.selected-choice-card,
.cjm-test-page .addon-hotel-card.selected,
.cjm-test-page .group-vote-options input:checked + span,
.cjm-test-page .group-route-options input:checked + span,
.group-room-view .group-vote-options input:checked + span,
.group-room-view .group-route-options input:checked + span {
  position: relative;
  border: 3px solid var(--cjm-navy, var(--blue));
  outline: 2px solid #c79a47;
  outline-offset: 2px;
  background: linear-gradient(180deg, rgba(199, 154, 71, 0.17), #fff 38%);
  box-shadow: 0 16px 34px rgba(18, 37, 52, 0.16);
}

.cjm-test-page .matrix-cell.selected {
  border: 3px solid var(--cjm-navy, var(--blue));
  outline: 2px solid #c79a47;
  outline-offset: 2px;
  box-shadow: 0 10px 24px rgba(18, 37, 52, 0.16);
}

.cjm-test-page .ticket-choice-card.selected::after,
.cjm-test-page .addon-hotel-card.selected::after,
.cjm-test-page .group-vote-options input:checked + span::after,
.cjm-test-page .group-route-options input:checked + span::after,
.group-room-view .group-vote-options input:checked + span::after,
.group-room-view .group-route-options input:checked + span::after {
  content: "Выбран";
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--cjm-navy, var(--blue));
  background: #e8c879;
  font-size: 12px;
  font-weight: 950;
}

.cjm-test-page .addon-hotel-card.selected {
  transform: translateY(-2px);
}

.cjm-test-page .cjm-console,
.cjm-test-page .recent-searches,
.cjm-test-page .deals-section {
  border-top-width: 3px;
  border-top-color: #193247;
}

.cjm-test-page input[type="text"],
.cjm-test-page input[type="date"],
.cjm-test-page input:not([type]),
.cjm-test-page textarea,
.cjm-test-page select,
.cjm-test-page .date-display {
  border-color: #b8c1bc;
  border-radius: 3px;
  background-color: #f2f3f0;
  box-shadow: none;
}

.cjm-test-page input:focus,
.cjm-test-page textarea:focus,
.cjm-test-page select:focus,
.cjm-test-page .date-display:focus {
  border-color: #193247;
  box-shadow: 0 0 0 2px rgba(25, 50, 71, 0.12);
}

.cjm-test-page .switch-row {
  border-color: #c1c9c5;
  border-radius: 3px;
  background: #f2f3f0;
}

.cjm-test-page .primary-button,
.cjm-test-page .secondary-button {
  border-radius: 3px;
  box-shadow: none;
}

.cjm-test-page .primary-button {
  background: #193247;
}

.cjm-test-page .primary-button:hover {
  background: #102638;
}

.cjm-test-page .secondary-button {
  border-color: #aeb9b3;
  background: #eef0ed;
}

.cjm-test-page .recent-search-card,
.cjm-test-page .deal-card {
  border-color: #c3cbc7;
  border-radius: 3px;
  background: #fcfcf9;
  box-shadow: none;
}

.cjm-test-page .recent-search-card:hover,
.cjm-test-page .deal-card:hover {
  transform: translateY(-1px);
  border-color: #92713b;
  box-shadow: 0 5px 14px rgba(17, 26, 31, 0.07);
}

.cjm-test-page .recent-search-card > span {
  border-radius: 3px;
}

.cjm-test-page .info-chip,
.cjm-test-page .trip-facts span,
.cjm-test-page .cjm-assumptions span {
  border-radius: 3px;
  background: #eceeea;
}

.cjm-test-page .site-footer {
  color: #59645e;
}

.cjm-test-page .cookie-banner {
  border-color: #9ca9a2;
  border-radius: 4px;
  background: #f8f8f5;
  box-shadow: 0 8px 24px rgba(17, 26, 31, 0.13);
}

@media (max-width: 980px) {
  .shell {
    padding: 14px;
  }

  .workspace,
  .cjm-hero,
  .cjm-entry-grid,
  .cjm-workspace,
  .progress-card,
  .cards-grid,
  .summary-grid,
  .route-overview-hero,
  .route-overview-grid,
  .route-decision-grid,
  .sales-grid,
  .base-itinerary,
  .addon-teaser,
  .addon-spotlight,
  .addon-hero,
  .addon-layout,
  .addon-picker,
  .deals-grid,
  .itinerary-grid {
    grid-template-columns: 1fr;
  }

  .cjm-topnav,
  .cjm-content-head,
  .cjm-mode-context {
    align-items: stretch;
  }

  .cjm-topnav {
    display: grid;
  }

  .cjm-topnav nav {
    overflow-x: auto;
  }

  .cjm-hero {
    min-height: 0;
  }

  .cjm-route-board {
    min-height: 180px;
  }

  .search-panel {
    position: static;
  }

  .topbar,
  .section-heading,
  .flight-card,
  .flight-mainline,
  .flight-leg {
    display: grid;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading > p {
    justify-self: start;
    padding-top: 0;
  }

  .flight-mainline {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .flight-pricebox {
    grid-column: 1 / -1;
    text-align: left;
  }

  .flight-leg {
    grid-template-columns: 42px 1fr;
  }

  .leg-transfer {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }

  .addon-hero-main h3 {
    font-size: 24px;
  }

  .scenario-top {
    display: grid;
  }

  .share-row,
  .lead-actions {
    grid-template-columns: 1fr;
  }

  .lead-intents {
    grid-template-columns: 1fr;
  }

  .lead-intent {
    min-height: 0;
  }

  .scenario-total {
    min-width: 0;
    text-align: left;
  }

  .route-component-card {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .route-decision-card {
    min-height: 0;
  }

  .component-media {
    min-height: 76px;
  }

  .component-media .airline-logo {
    width: 56px;
    height: 56px;
  }

  .wizard-nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x proximity;
  }

  .wizard-nav .progress-step {
    min-width: 190px;
    scroll-snap-align: start;
  }

  .cookie-banner {
    display: flex;
    flex-direction: column;
    right: 14px;
    bottom: 14px;
    padding: 12px;
    max-height: calc(100vh - 28px);
    overflow: auto;
    grid-template-columns: none;
    align-items: stretch;
  }

  .cookie-banner .secondary-button {
    position: relative;
    z-index: 1;
    width: 100%;
  }

  .legal-header {
    display: grid;
  }

  .step-actions {
    justify-content: stretch;
  }

  .next-step-card {
    grid-template-columns: 1fr;
  }

  .step-actions .primary-button,
  .step-actions .secondary-button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .route-complete-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    background: #f6f5f1;
  }

  .shell {
    padding: 8px;
  }

  .cjm-shell {
    gap: 10px;
  }

  .cjm-topnav {
    padding: 4px 0;
  }

  .cjm-logo-lockup .brand-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    border-radius: 10px;
  }

  .cjm-topnav nav a {
    min-height: 36px;
    white-space: nowrap;
  }

  .cjm-hero,
  .cjm-entry-grid {
    padding: 0;
  }

  .cjm-hero {
    gap: 12px;
    border-radius: 8px;
  }

  .cjm-hero-copy,
  .cjm-route-board {
    padding: 18px;
  }

  .cjm-hero-copy h1 {
    font-size: 30px;
    line-height: 1.04;
  }

  .cjm-hero-copy p {
    font-size: 15px;
  }

  .cjm-hero-actions {
    display: grid;
  }

  .cjm-hero-actions .primary-button,
  .cjm-hero-actions .secondary-button {
    width: 100%;
  }

  .cjm-route-board {
    justify-self: stretch;
    width: 100%;
    min-height: 128px;
    border-radius: 8px;
    box-shadow: none;
  }

  .cjm-board-route {
    grid-template-columns: 1fr;
  }

  .cjm-board-route > div + div {
    padding-left: 0;
    border-left: 0;
  }

  .cjm-idea-ticker span {
    font-size: 24px;
  }

  .cjm-entry-grid {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px;
    scroll-snap-type: x proximity;
  }

  .cjm-test-page .cjm-entry-grid {
    display: flex;
    gap: 1px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .cjm-test-page .cjm-entry-grid::-webkit-scrollbar {
    display: none;
  }

  .cjm-entry-card {
    min-width: 230px;
    min-height: 64px;
    scroll-snap-align: start;
  }

  .cjm-journey,
  .cjm-addon-filters {
    grid-template-columns: 1fr;
  }

  .cjm-journey-flow {
    grid-template-columns: 1fr;
  }

  .cjm-journey-flow i {
    width: 1px;
    height: 20px;
    justify-self: center;
  }

  .cjm-entry-card {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 0;
    padding: 16px;
  }

  .cjm-test-page .cjm-entry-card {
    flex: 0 0 min(78vw, 286px);
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .cjm-entry-card strong {
    font-size: 24px;
  }

  .cjm-proof-strip {
    grid-template-columns: 1fr 1fr;
  }

  .cjm-proof-strip div {
    padding: 12px;
  }

  .cjm-content-head {
    display: grid;
    padding: 14px;
  }

  .recent-searches-grid {
    grid-template-columns: 1fr;
  }

  .recent-searches-head {
    display: grid;
    align-items: start;
  }

  .cjm-mode-context {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .cjm-mode-flow {
    grid-template-columns: 1fr;
  }

  .legal-shell {
    padding: 10px;
  }

  .legal-page {
    padding: 18px;
  }

  .workspace {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .content {
    order: 5;
    display: grid;
    gap: 10px;
  }

  .search-panel {
    display: contents;
  }

  .search-panel,
  .section-block,
  .progress-card,
    .flight-card,
    .hotel-card,
    .summary-card,
    .debug-card {
    padding: 12px;
  }

  .brand {
    order: 1;
    margin-bottom: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
  }

  .brand-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    border-radius: 10px;
  }

  .brand-name {
    font-size: 17px;
    line-height: 1.05;
  }

  .brand-subtitle {
    font-size: 12px;
  }

  .product-promise {
    order: 2;
    margin-bottom: 0;
    padding: 10px 12px;
  }

  .search-form {
    order: 3;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
  }

  input[type="text"],
  input[type="date"],
  input:not([type]),
  textarea {
    min-height: 44px;
    padding: 0 11px;
    font-size: 16px;
  }

  label {
    gap: 6px;
  }

  label span {
    font-size: 12px;
  }

  .date-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  input[type="date"] {
    display: block;
    width: 100%;
    min-width: 0;
    padding-right: 11px;
    font-size: 15px;
  }

  .date-field input[type="date"] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 100%;
    height: 46px;
    min-height: 46px;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }

  .date-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #fbfcfb;
    font-size: 16px;
    font-weight: 800;
    pointer-events: none;
  }

  .date-display::after {
    content: "⌄";
    color: var(--muted);
    font-size: 17px;
    line-height: 1;
  }

  .switch-row {
    min-height: 44px;
    padding: 10px;
  }

  .primary-button,
  .secondary-button,
  .ghost-button {
    min-height: 46px;
  }

  .trust-strip {
    display: none;
  }

  .cookie-banner {
    position: static;
    order: 4;
    flex-direction: row;
    align-items: center;
    width: auto;
    gap: 8px;
    padding: 8px;
    box-shadow: 0 14px 34px rgba(17, 19, 21, 0.16);
  }

  .cookie-banner strong {
    display: block;
    font-size: 12px;
  }

  .cookie-banner p {
    display: none;
  }

  .cookie-banner .secondary-button {
    flex: 0 0 112px;
    min-height: 34px;
    font-size: 13px;
  }

  .progress-card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
  }

  .wizard-nav {
    overflow: visible;
  }

  .wizard-nav .progress-step {
    min-width: 0;
  }

  .topbar {
    display: none;
  }

  .deals-section {
    padding: 12px;
  }

  .empty-state {
    display: none;
  }

  .empty-state h2 {
    font-size: 23px;
    line-height: 1.08;
  }

  .empty-state p {
    font-size: 14px;
    line-height: 1.3;
  }

  .trip-facts {
    display: none;
  }

  .deal-card {
    min-height: 0;
    padding: 14px;
  }

  .deal-price {
    font-size: 26px;
  }

  .progress-step {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 5px;
    padding: 8px 5px;
    text-align: center;
  }

  .progress-step span {
    grid-row: auto;
    width: 28px;
    height: 28px;
  }

  .progress-step strong {
    font-size: 12px;
    line-height: 1.1;
  }

  .progress-step small {
    display: none;
  }

  .section-heading {
    gap: 8px;
  }

  .info-chips {
    gap: 6px;
  }

  .info-chips span {
    min-height: 24px;
    font-size: 11px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 21px;
    line-height: 1.12;
  }

  h3 {
    font-size: 17px;
  }

  .matrix-table {
    min-width: 640px;
  }

  .matrix-row {
    grid-template-columns: 60px repeat(7, minmax(78px, 1fr));
    gap: 6px;
  }

  .matrix-cell {
    min-height: 54px;
    padding: 5px;
  }

  .matrix-cell strong {
    font-size: 14px;
  }

  .flight-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .flight-card > div:last-child {
    grid-column: 1 / -1;
  }

  .airline-logo {
    width: 48px;
    height: 48px;
  }

  .kv {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .kv .dim {
    margin-top: 6px;
  }

  .summary-grid,
  .route-overview-dates,
  .scenario-costs {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .metric,
  .route-overview-main,
  .route-total-card,
  .route-component-card,
  .addon-cost-grid > div,
  .scenario-costs > div {
    padding: 10px;
  }

  .route-line {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .route-line i {
    width: 1px;
    height: 18px;
    margin-left: 28px;
    background: linear-gradient(180deg, #cfc2a8, var(--blue));
  }

  .component-body h3 {
    font-size: 18px;
  }

  .metric strong,
  .addon-cost-grid strong,
  .scenario-costs strong {
    font-size: 18px;
  }

  .addon-teaser-card,
  .addon-option-card,
  .addon-panel,
  .addon-alternatives,
  .sales-share,
  .lead-form,
    .full-itinerary,
    .scenario-card {
    padding: 10px;
  }

  .addon-hero {
    padding: 14px;
  }

  .addon-spotlight {
    gap: 12px;
    padding: 14px;
    border-top-width: 6px;
  }

  .addon-spotlight-copy {
    gap: 9px;
  }

  .addon-spotlight-copy h2 {
    font-size: 26px;
  }

  .addon-spotlight-copy p {
    font-size: 14px;
  }

  .addon-route-strip {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 6px;
  }

  .addon-route-strip i {
    width: 2px;
    height: 16px;
    margin-left: 24px;
    background: linear-gradient(180deg, #cfc2a8, var(--blue));
  }

  .addon-spotlight-action {
    padding: 12px;
  }

  .addon-spotlight-action strong {
    font-size: 24px;
  }

  .addon-hero-main h3 {
    font-size: 22px;
  }

  .addon-hero-price strong {
    font-size: 26px;
  }

  .route-step {
    grid-template-columns: 44px 1fr;
    gap: 10px;
    padding: 9px;
  }

  .route-date {
    min-height: 32px;
    font-size: 12px;
  }

  .flight-leg {
    grid-template-columns: 36px 1fr;
    gap: 10px;
    padding: 10px;
  }

  .leg-airline-logo {
    width: 36px;
    height: 36px;
  }

  .leg-transfer {
    grid-column: 1 / -1;
    justify-items: start;
    padding-left: 46px;
    text-align: left;
  }

  .stay-card {
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 10px;
  }

  .stay-card img,
  .stay-image,
  .stay-image-placeholder {
    width: 58px;
    height: 52px;
  }

  .continuation-final-itinerary { padding: 12px; }
  .continuation-final-itinerary .itinerary-grid,
  .continuation-final-itinerary .itinerary-price-grid { grid-template-columns: 1fr; }
  .continuation-final-itinerary .flight-leg { grid-template-columns: 36px 1fr; }
  .continuation-final-itinerary .leg-transfer { grid-column: 1 / -1; padding: 8px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .continuation-final-itinerary .continuation-flight-path { grid-template-columns:minmax(58px,.8fr) minmax(80px,1.2fr) minmax(58px,.8fr); padding:8px; }
  .continuation-final-itinerary .stay-card img,
  .continuation-final-itinerary .stay-image,
  .continuation-final-itinerary .stay-image-placeholder { min-height: 74px; }
  .lean-addon-page { padding:12px; }
  .lean-addon-summary { grid-template-columns:1fr; padding:16px; }
  .lean-addon-total { padding:12px 0 0; border-left:0; border-top:1px solid rgba(255,255,255,.25); }
  .lean-change-city-button { justify-self:start; }
  .lean-addon-booking-head { display:grid; }
  .lean-addon-details-grid { grid-template-columns:1fr; }

  .scenario-hotel {
    grid-template-columns: 62px minmax(0, 1fr);
    padding: 10px;
  }

  .scenario-hotel img,
  .scenario-hotel .stay-image,
  .scenario-hotel .stay-image-placeholder {
    width: 62px;
    height: 52px;
  }
}

@media (max-width: 700px) {
  .hotel-rating-tabs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .hotel-rating-tab {
    flex: 0 0 min(230px, 72vw);
    scroll-snap-align: start;
  }

  .cjm-test-page .hotel-rating-panel .hotels-grid {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 4px 3px 16px;
    scroll-snap-type: x mandatory;
  }

  .cjm-test-page .hotel-rating-panel .hotel-card {
    flex: 0 0 min(330px, 86vw);
    scroll-snap-align: start;
  }
}

@media (max-width: 420px) {
  .summary-grid,
  .route-overview-dates,
  .scenario-costs,
  .trip-facts {
    grid-template-columns: 1fr;
  }

  .route-component-card {
    grid-template-columns: 1fr;
  }

  .component-media {
    justify-content: start;
    min-height: 64px;
  }

  .route-hotel-image {
    height: 170px;
  }

  .primary-button {
    gap: 10px;
  }
}

.itinerary-planner {
  border-top: 7px solid var(--navy, #1e3448);
}

.itinerary-planner-intro,
.itinerary-plan-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.itinerary-planner-intro h2,
.itinerary-plan-heading h2 {
  margin: 6px 0 8px;
}

.itinerary-planner-intro p:last-child,
.itinerary-plan-heading p:last-child {
  max-width: 760px;
  color: var(--muted, #6f7772);
}

.itinerary-ai-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border: 1px solid #c7d1cb;
  color: #1e3448;
  font-weight: 800;
}

.itinerary-planner-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 34px;
}

.itinerary-planner-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.itinerary-planner-form legend,
.planner-notes > span {
  display: block;
  margin-bottom: 10px;
  color: #68716c;
  font-weight: 750;
}

.planner-segments,
.planner-interests {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.planner-segments input,
.planner-interests input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.planner-segments span,
.planner-interests span {
  display: block;
  padding: 11px 15px;
  border: 1px solid #c8d0cb;
  background: #fff;
  color: #263748;
  font-weight: 700;
  cursor: pointer;
}

.planner-segments input:checked + span,
.planner-interests input:checked + span {
  border-color: #a78342;
  box-shadow: inset 0 -3px 0 #a78342;
  background: #f5f0e6;
}

.planner-notes {
  grid-column: 1 / -1;
}

.planner-notes textarea {
  width: 100%;
  resize: vertical;
  min-height: 100px;
}

.planner-submit-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
}

.planner-submit-row .primary-button {
  width: min(360px, 100%);
}

.planner-submit-row small {
  color: #6f7772;
}

.planner-submit-row .error-text {
  color: #9b342d;
}

.itinerary-days {
  border-top: 1px solid #cad1cd;
}

.itinerary-day {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid #d6dcd8;
}

.itinerary-day-date {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #6b746f;
}

.itinerary-day-date strong {
  color: #a17d3c;
  font-size: 1.05rem;
}

.itinerary-day-content h3 {
  margin: 0 0 12px;
}

.itinerary-day-content p {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  margin: 7px 0;
}

.itinerary-day-content p b {
  color: #6b746f;
}

.itinerary-day-content small {
  display: block;
  margin-top: 12px;
  color: #6b746f;
}

.itinerary-day-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.itinerary-day-actions button {
  padding: 7px 10px;
  border: 1px solid #c9d1cc;
  background: transparent;
  color: #314253;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.itinerary-day-actions button:hover,
.itinerary-day-actions button:focus-visible {
  border-color: #a17d3c;
  background: #f5f0e6;
}

.itinerary-day-actions button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.post-route-hub {
  z-index: 20;
  overflow: visible;
  border: 1px solid #c8d0cb;
  border-top: 7px solid #1e3448;
  background: #fff;
}

.post-route-hub-heading {
  margin-bottom: 20px;
}

.post-route-hub-heading h2 {
  margin: 5px 0 0;
}

.post-route-recommendation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
  padding: 22px 24px;
  border: 1px solid #b99a5f;
  border-radius: 10px;
  background: linear-gradient(120deg, #f7f0e2 0%, #fff 62%);
}

.post-route-recommendation h3 {
  margin: 4px 0 7px;
  color: #172f43;
  font-size: clamp(19px, 1.65vw, 24px);
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.post-route-recommendation p:last-child {
  margin: 0;
  color: #68736d;
  font-weight: 700;
}

.post-route-value-points {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.post-route-value-points span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #d9c69f;
  border-radius: 999px;
  color: #5e594d;
  background: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 850;
}

.post-route-value-points span::before {
  content: "✓";
  margin-right: 6px;
  color: #8b682e;
}

.post-route-recommendation .primary-button {
  width: 100%;
  min-height: 58px;
  box-shadow: 0 10px 22px rgba(30, 52, 72, .16);
}

.post-route-tools-label {
  margin: 0 0 10px;
  color: #68736d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.post-route-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.post-route-tools button {
  position: relative;
  min-width: 0;
  min-height: 132px;
  padding: 18px;
  border: 1px solid #d4dad6;
  border-radius: 9px;
  background: #f8f9f7;
  color: #1e3448;
  text-align: left;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.post-route-tools button:hover,
.post-route-tools button.active {
  transform: translateY(-2px);
  border-color: #a17d3c;
  background: #f7f1e6;
  box-shadow: none;
}

.post-route-tools button.is-saved {
  border-color: #a8c8b7;
  background: #edf6f0;
  color: #276044;
}

.post-route-tool-icon {
  display: grid !important;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 13px;
  border-radius: 50%;
  color: #fff !important;
  background: #29495d;
  font-size: 11px !important;
  font-weight: 900;
}

.post-route-tools strong,
.post-route-tools span {
  display: block;
}

.post-route-tools strong {
  margin-bottom: 5px;
  font-size: 1.02rem;
}

.post-route-tools span {
  color: #6d7671;
  font-size: 0.88rem;
}

.post-route-tools .post-route-auth-note {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 10px;
  color: #68736d;
  font-size: 11px;
  font-weight: 750;
}

.post-route-auth-note b {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  color: #fff;
  background: #2787f5;
  font-size: 9px;
}

.save-route-value-preview {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  z-index: 30;
  display: block !important;
  width: min(460px, 70vw);
  padding: 8px;
  border: 1px solid #c6d0ca;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(25, 53, 74, .22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(.98);
  transform-origin: bottom right;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.save-route-value-preview::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: -7px;
  width: 12px;
  height: 12px;
  border-right: 1px solid #c6d0ca;
  border-bottom: 1px solid #c6d0ca;
  background: #fff;
  transform: rotate(45deg);
}

.save-route-value-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 9px;
}

.save-route-value-preview > span {
  display: grid;
  gap: 2px;
  padding: 10px 9px 8px;
}

.save-route-value-preview strong {
  margin: 0;
  color: #1e3448;
  font-size: .9rem;
}

.save-route-value-preview small {
  color: #68736d;
  font-size: .76rem;
  line-height: 1.35;
}

[data-account-save-route]:not(.is-saved):hover .save-route-value-preview,
[data-account-save-route]:not(.is-saved):focus-visible .save-route-value-preview {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.group-room-value-preview{position:absolute;left:50%;bottom:calc(100% + 14px);z-index:31;display:grid!important;width:min(430px,70vw);padding:18px;border:1px solid #b9c9c5;border-radius:15px;color:#193247!important;background:#fff;box-shadow:0 20px 55px rgba(25,53,74,.24);opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%,8px) scale(.98);transform-origin:bottom center;transition:opacity .18s ease,transform .18s ease,visibility .18s ease}.group-room-value-preview::after{content:"";position:absolute;left:50%;bottom:-7px;width:12px;height:12px;border-right:1px solid #b9c9c5;border-bottom:1px solid #b9c9c5;background:#fff;transform:translateX(-50%) rotate(45deg)}[data-post-route-tool="group"]:hover .group-room-value-preview,[data-post-route-tool="group"]:focus-visible .group-room-value-preview{opacity:1;visibility:visible;transform:translate(-50%,0) scale(1)}
.group-auth-dialog{width:min(520px,calc(100vw - 28px));padding:34px;border:0;border-radius:18px;color:#193247;background:#fff;box-shadow:0 28px 80px rgba(10,30,43,.35)}.group-auth-dialog::backdrop{background:rgba(11,29,41,.66);backdrop-filter:blur(4px)}.group-auth-dialog .dialog-close{top:16px;right:16px}.group-auth-dialog .eyebrow{margin:20px 0 5px;color:#98702d}.group-auth-dialog h2{margin:0;font-size:31px;line-height:1.08}.group-auth-dialog>p:not(.eyebrow){margin:13px 0 22px;color:#68756f;line-height:1.5}.group-auth-dialog>small{display:block;margin-top:14px;color:#7c8781;font-size:10px;line-height:1.45}.group-auth-visual{display:flex;align-items:center;justify-content:space-between;padding:18px;border-radius:13px;color:#fff;background:linear-gradient(135deg,#173247,#245568)}.group-auth-visual>span{font-size:28px}.group-auth-visual>div{display:flex;flex-direction:row-reverse}.group-auth-visual i{display:grid;place-items:center;width:38px;height:38px;margin-left:-8px;border:2px solid #244b5d;border-radius:50%;color:#193247;background:#e8c36e;font-size:10px;font-style:normal;font-weight:950}.group-auth-visual i:nth-child(2){color:#fff;background:#a77c32}.group-auth-visual i:last-child{color:#fff;background:#3d7c60}.group-auth-providers{display:grid;gap:9px}.group-auth-provider{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;min-height:58px;padding:0 15px;border:1px solid #ccd5d0;border-radius:10px;color:#193247;background:#f8faf8;text-decoration:none;font:inherit;cursor:pointer}.group-auth-provider>span{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;color:#fff;font-size:13px;font-weight:950}.group-auth-provider.yandex>span{background:#fc3f1d}.group-auth-provider.vk>span{background:#07f}.group-auth-provider>b{font-size:20px}.group-auth-provider:hover{border-color:#193f55;background:#eef3f1}.group-auth-provider:disabled{opacity:.55;cursor:not-allowed}
.group-auth-visual.is-save{justify-content:flex-start;gap:14px;background:linear-gradient(135deg,#24553f,#3c8060)}.group-auth-visual.is-save>span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;color:#24553f;background:#fff;font-size:22px;font-weight:950}.group-auth-visual.is-save>strong{font-size:17px}
.group-preview-head{display:flex!important;align-items:center;justify-content:space-between;gap:16px;padding-bottom:13px;border-bottom:1px solid #dde4e0}.group-preview-head>span{display:grid!important;gap:2px}.group-preview-head b{color:#193247;font-size:15px}.group-preview-head small{color:#718079;font-size:11px}.group-preview-head em{display:flex!important;flex-direction:row-reverse;padding-left:8px}.group-preview-head em i{display:grid;place-items:center;width:31px;height:31px;margin-left:-8px;border:2px solid #fff;border-radius:50%;color:#fff;background:#315b6c;font-size:9px;font-style:normal;font-weight:950}.group-preview-head em i:nth-child(2){background:#a77c32}.group-preview-head em i:last-child{color:#193247;background:#efc86f}
.group-preview-progress{display:grid!important;grid-template-columns:auto 1fr;align-items:center;gap:14px;padding:13px 0}.group-preview-progress>span{display:grid!important}.group-preview-progress>span b{color:#193247;font-size:18px}.group-preview-progress>span small{color:#718079;font-size:10px}.group-preview-progress>i{height:7px;overflow:hidden;border-radius:99px;background:#e3e9e6}.group-preview-progress>i>b{display:block;width:67%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#d4a950,#3c8462)}
.group-preview-choices{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.group-preview-choices>span{display:grid!important;gap:3px;min-width:0;padding:11px;border-radius:9px;background:#f2f5f2}.group-preview-choices small{color:#7c8781;font-size:9px;text-transform:uppercase}.group-preview-choices b{overflow:hidden;color:#193247;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.group-preview-choices em{color:#98702d;font-size:9px;font-style:normal;font-weight:850}.group-preview-foot{margin-top:12px;padding:10px 12px;border-radius:8px;color:#fff!important;background:#193f55;font-size:11px!important;font-weight:900;text-align:center}

.post-route-exit-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid #dbe0dc;
  color: #7a837e;
  font-size: 14px;
  font-weight: 700;
}

.post-route-share-link,
.post-route-booking-link {
  min-height: 0;
  padding: 4px 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.post-route-share-link {
  margin-right: auto;
  color: #526862;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.post-route-share-link.active,
.post-route-share-link:hover,
.post-route-booking-link:hover {
  color: #9a7434;
}

.post-route-booking-link {
  color: #1e3448;
}

.post-route-share-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: 10px;
  margin-top: 22px;
}

.post-route-share-row input {
  min-width: 0;
}

.post-route-share > small {
  display: block;
  margin-top: 10px;
  color: #68716c;
}

.post-route-card-button {
  width: 100%;
  margin-top: 12px;
}

@media (max-width: 760px) {
  .post-route-recommendation { grid-template-columns: 1fr; padding: 19px; }
  .post-route-recommendation h3 { white-space: normal; }
  .post-route-value-points { display: grid; grid-template-columns: 1fr; }
  .post-route-value-points span { width: max-content; max-width: 100%; }
  .post-route-tools,
  .post-route-share-row {
    grid-template-columns: 1fr;
  }

  .post-route-tools button {
    min-height: 108px;
  }

  .save-route-value-preview {
    display: none !important;
  }
  .group-room-value-preview { display: none !important; }

  .post-route-exit-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
  .post-route-exit-row > span { display: none; }
  .post-route-share-link { margin: 0; text-align: left; }
}

.itinerary-notes {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 24px;
  padding-left: 180px;
}

@media (max-width: 760px) {
  .itinerary-planner-intro,
  .itinerary-plan-heading,
  .planner-submit-row {
    flex-direction: column;
  }

  .itinerary-planner-form {
    grid-template-columns: 1fr;
  }

  .itinerary-planner-form > *,
  .planner-notes,
  .planner-submit-row {
    grid-column: 1;
  }

  .itinerary-day {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .itinerary-day-date {
    flex-direction: row;
    justify-content: space-between;
  }

  .itinerary-notes {
    padding-left: 0;
  }
}
/* Account test */
.account-test-page{margin:0;background:#edf0ed;color:#111820;font-family:Inter,Arial,sans-serif;min-height:100vh}.account-shell{padding-bottom:64px}.account-hero{background:#173148;color:#fff;border-radius:6px;min-height:260px;padding:48px 54px;display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-top:18px;border-bottom:5px solid #ac8542}.account-hero h1{font-size:clamp(38px,5vw,70px);line-height:1;margin:8px 0 16px;letter-spacing:0;max-width:850px}.account-hero>div>p:last-child{color:#cbd4d6;font-size:20px;max-width:720px;margin:0}.account-user{display:flex;align-items:center;gap:14px;align-self:flex-start;min-width:max-content}.account-user img,.account-user>span{width:54px;height:54px;border-radius:50%;object-fit:cover;background:#c69b4c;color:#fff;display:grid;place-items:center;font-weight:800;font-size:22px}.account-user div{display:grid;gap:5px}.account-user button{border:0;background:transparent;color:#d7dfe0;padding:0;text-align:left;cursor:pointer}.account-content{margin-top:22px}.account-loading{min-height:260px;display:grid;place-items:center;align-content:center;gap:14px;background:#fff;border:1px solid #c8d0cc}.account-loading span{width:34px;height:34px;border:3px solid #d6ddd9;border-top-color:#ad8642;border-radius:50%;animation:spin .8s linear infinite}.account-login-panel{display:grid;grid-template-columns:1.35fr .65fr;background:#fff;border:1px solid #c2cbc6;border-top:6px solid #254b40;box-shadow:0 16px 35px rgba(20,42,53,.08)}.account-login-copy,.account-login-action{padding:48px}.account-login-copy{border-right:1px solid #d5dbd7}.account-login-copy h2{font-size:38px;line-height:1.08;letter-spacing:0;margin:9px 0 14px}.account-login-copy>p{font-size:19px;color:#68716d}.account-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:35px}.account-benefits span{border-top:1px solid #c9d0cc;padding-top:14px;font-weight:700;color:#324052}.account-login-action{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.vk-id-mark{width:56px;height:56px;border-radius:8px;background:#07f;color:#fff;display:grid;place-items:center;font-weight:900;font-size:22px;margin-bottom:18px}.account-login-action>strong{font-size:26px}.account-login-action>p{color:#68716d;line-height:1.45}.vk-login-button{width:100%;box-sizing:border-box;margin-top:16px}.account-list-heading{display:flex;align-items:end;justify-content:space-between;background:#fff;border:1px solid #c8d0cc;padding:28px 32px;margin-bottom:12px}.account-list-heading h2{margin:5px 0 0;font-size:36px}.account-route-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.account-route-card{background:#fff;border:1px solid #bdc8c2;border-top:5px solid #1c3c52;padding:28px;display:grid;gap:28px;box-shadow:0 12px 28px rgba(20,42,53,.07)}.account-route-head{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:20px}.account-route-head>div{width:76px;height:76px;border:1px solid #d4c29d;background:#f4efe4;display:grid;place-items:center;align-content:center}.account-route-head span{font-weight:900;font-size:21px;color:#1a3449}.account-route-head small{color:#9a7637;font-weight:800}.account-route-head>strong{font-size:30px;line-height:1.08}.account-route-meta{display:grid;grid-template-columns:1.4fr .6fr 1fr;border-top:1px solid #d3d9d5;border-bottom:1px solid #d3d9d5}.account-route-meta>span{padding:18px 12px 18px 0;font-size:18px;font-weight:800}.account-route-meta small{display:block;color:#747d79;font-size:13px;margin-bottom:6px}.account-route-actions{display:flex;gap:10px}.account-route-actions .primary-button{flex:1}.account-route-actions button{border:1px solid #ccd3cf;background:#fff;padding:0 20px;color:#69736e;font-weight:700;cursor:pointer}.account-empty{background:#fff;border:1px solid #c4cdc8;border-top:5px solid #a98443;padding:64px;text-align:center;display:grid;justify-items:center}.account-empty-route{font-size:25px;font-weight:900;color:#1a354b}.account-empty-route i{font-style:normal;color:#a78240;padding:0 16px}.account-empty h2{font-size:40px;margin:8px 0}.account-empty p{font-size:18px;color:#69726e}.account-empty .primary-button{margin-top:18px}

/* Match the account header to the main planner navigation. */
.account-test-page .cjm-topnav{padding:8px 0 12px}
.account-test-page .cjm-logo-lockup .brand-logo{border-radius:4px;box-shadow:0 3px 10px rgba(17,26,31,.14)}
.account-test-page .cjm-topnav nav a{border-color:#b8c1bc;border-radius:3px;background:#eef0ed;box-shadow:none}
.account-test-page .cjm-topnav nav a:hover{border-color:#7e8d85;background:#f8f8f5}
.account-test-page .cjm-topnav nav a.active,.account-test-page .cjm-topnav nav a.active:hover{border-color:#193247;color:#fff;background:#193247}
@media(max-width:760px){.account-shell{padding:10px}.account-test-page .cjm-topnav{align-items:flex-start}.account-test-page .cjm-topnav nav{display:flex;width:100%;overflow-x:auto}.account-test-page .cjm-topnav nav a{white-space:nowrap}.account-hero{min-height:0;padding:30px 24px;display:grid}.account-hero h1{font-size:38px}.account-hero>div>p:last-child{font-size:16px}.account-user{order:-1}.account-login-panel{grid-template-columns:1fr}.account-login-copy,.account-login-action{padding:30px 24px}.account-login-copy{border-right:0;border-bottom:1px solid #d5dbd7}.account-login-copy h2{font-size:30px}.account-benefits{grid-template-columns:1fr;margin-top:22px}.account-route-grid{grid-template-columns:1fr}.account-list-heading{padding:22px 20px;align-items:center}.account-list-heading h2{font-size:30px}.account-route-card{padding:22px 18px}.account-route-head>strong{font-size:25px}.account-route-meta{grid-template-columns:1fr 1fr}.account-route-meta>span:last-child{grid-column:1/-1;border-top:1px solid #d3d9d5}.account-route-actions{display:grid}.account-route-actions button{min-height:50px}.account-empty{padding:45px 22px}}

/* OAuth provider chooser */
.account-login-action{align-items:stretch}.account-login-methods{display:grid;gap:12px;margin-top:16px}.account-login-provider{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;align-items:center;border:1px solid #ccd4d0;padding:16px;background:#f8faf8}.account-login-provider .auth-provider-mark{grid-row:1/3;width:46px;height:46px;border-radius:10px;color:#fff;display:grid;place-items:center;font-weight:900;font-size:18px}.account-login-provider.yandex .auth-provider-mark{background:#fc3f1d}.account-login-provider.vk .auth-provider-mark{background:#07f}.account-login-provider strong{font-size:19px}.account-login-provider p{margin:2px 0 0;color:#69736e;font-size:14px}.account-login-provider .auth-login-button,.account-login-provider>button{grid-column:1/-1;width:100%;box-sizing:border-box;margin-top:8px;justify-content:space-between}.account-auth-error{background:#fff1ef;border:1px solid #e8b8af;color:#9d3325;padding:11px 13px;font-weight:700}

/* Account trips and discussions */
.account-route-head{grid-template-columns:auto 1fr auto}
.account-discussion-badge{padding:9px 12px;border:1px solid #b9cbc2;background:#edf5f0;color:#285842!important;font-size:13px!important;white-space:nowrap}
.account-route-actions .secondary-button{display:grid;place-items:center;text-decoration:none}
.account-route-actions .account-room-button{grid-auto-flow:column;gap:12px;border-color:#1b354b;color:#1b354b;white-space:nowrap}
.account-list-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 30px;border-top:5px solid #1e3448}
.account-list-heading>div{min-width:0;flex:1}
.account-list-heading h2{white-space:nowrap}
.account-list-heading>.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:18px;flex:0 0 auto;width:auto;min-height:52px;padding:0 22px;text-decoration:none;white-space:nowrap}
.account-new-trip{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;min-height:54px;padding:0 22px;background:#1b354b;border:1px solid #1b354b;color:#fff;text-decoration:none;font-size:16px;font-weight:800;white-space:nowrap;box-sizing:border-box;transition:background .2s ease,border-color .2s ease}
.account-new-trip:hover,.account-new-trip:focus-visible{background:#274a62;border-color:#274a62}
.account-new-trip b{font-size:22px;line-height:1}
.route-room-link{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:26px 0 18px;padding:20px 22px;border:1px solid #b8c9c0;border-left:5px solid #38775b;background:#f0f6f2}
.route-room-link>div{display:grid;grid-template-columns:auto auto;align-items:center;gap:3px 16px}
.route-room-link .eyebrow{grid-column:1/-1;margin:0}
.route-room-link strong{font-size:20px}
.route-room-link span{color:#63716a;font-weight:700}
.route-room-link>a{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;flex:0 0 auto;width:auto;min-width:210px;min-height:52px;padding:0 18px;box-sizing:border-box;border-radius:8px;background:#fff;text-decoration:none;white-space:nowrap;transition:transform .15s ease,background .15s ease,border-color .15s ease}
.route-room-link>a:hover{transform:translateY(-1px);border-color:#31556d;background:#e7f0eb}
.route-share-card-cta{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;margin:20px 0 26px;padding:20px 22px;border:1px solid #d7c59f;border-radius:12px;background:linear-gradient(120deg,#f7f2e7,#fff 68%);box-shadow:0 8px 22px rgba(31,53,70,.07)}
.route-share-card-mark{width:50px;height:50px;display:grid;place-items:center;border-radius:50%;background:#193247;color:#e1b55d;font-size:27px;font-weight:900}
.route-share-card-cta>div:nth-child(2){display:grid;gap:3px}.route-share-card-cta .eyebrow{margin:0}.route-share-card-cta strong{color:#142b3e;font-size:20px}.route-share-card-cta span{color:#68736d;font-weight:650}.route-share-card-cta>button{min-width:190px;gap:24px}.route-share-card-cta small{min-height:1em;color:#3d7258;font-weight:700}
.route-share-card-cta [data-trip-guide-pdf],.route-share-card-cta [data-trip-guide-pdf] span,.route-share-card-cta [data-trip-guide-pdf]:disabled,.route-share-card-cta [data-trip-guide-pdf]:disabled span{color:#fff}
.route-attractions-cta [data-post-route-tool="attractions"],.route-attractions-cta [data-post-route-tool="attractions"] span{color:#fff}
.required-expenses-partners{margin-top:26px;border:1px solid #ccd5d0;border-radius:12px;background:#f7f8f6;overflow:hidden}.required-expenses-partners>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;cursor:pointer;list-style:none}.required-expenses-partners>summary::-webkit-details-marker{display:none}.required-expenses-partners>summary span{display:grid;gap:3px}.required-expenses-partners>summary b{color:#193247;font-size:18px}.required-expenses-partners>summary small{color:#737d77;font-weight:700}.required-expenses-partners>summary i{font-style:normal;color:#193247;font-size:24px;transition:transform .18s ease}.required-expenses-partners[open]>summary i{transform:rotate(180deg)}.required-expenses-content{padding:0 22px 20px;border-top:1px solid #dce2df}.required-expenses-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:18px}.required-expenses-grid article{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;padding:17px;border:1px solid #d6ddd9;border-radius:10px;background:#fff}.required-expense-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:9px;background:#193247;color:#e2b75f;font-size:13px;font-weight:900}.required-expenses-grid article>div:nth-child(2){display:grid;gap:3px}.required-expenses-grid strong{color:#142b3e;font-size:17px}.required-expenses-grid article div span{color:#6d7771;font-size:14px}.required-expenses-grid a{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;margin-top:5px;padding:13px 14px;border-radius:7px;background:#edf1ef;color:#193247;font-weight:850;text-decoration:none;transition:background .15s ease,transform .15s ease}.required-expenses-grid a:hover{background:#e2eae6;transform:translateY(-1px)}.required-expenses-content>.affiliate-note{margin:12px 0 0;color:#737d77;font-size:12px}
@media(max-width:760px){.account-route-head{grid-template-columns:auto 1fr}.account-discussion-badge{grid-column:1/-1}.account-route-actions .secondary-button{min-height:50px}.account-list-heading{display:grid;padding:22px 20px}.account-list-heading h2{white-space:normal}.account-list-heading>.secondary-button,.account-new-trip{width:100%;white-space:normal}.route-room-link{display:grid}.route-room-link>div{grid-template-columns:1fr}.route-room-link>a{width:100%;box-sizing:border-box;text-align:center}.route-share-card-cta{grid-template-columns:auto 1fr;padding:18px}.route-share-card-cta>button{grid-column:1/-1;width:100%}.required-expenses-heading{display:grid}.required-expenses-grid{grid-template-columns:1fr}}

/* Polished account cards */
.account-route-grid{gap:18px}
.account-route-card{border:1px solid #c9d2cd;border-top:0;border-radius:12px;padding:26px;gap:22px;overflow:hidden;box-shadow:0 14px 36px rgba(25,50,71,.09);position:relative;transition:transform .2s ease,box-shadow .2s ease}
.account-route-card::before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,#193247 0 68%,#b28740 68%)}
.account-route-card:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(25,50,71,.13)}
.account-route-head>div.account-destination-mark{width:82px;height:88px;border:1px solid #dfcfac;border-radius:9px;background:linear-gradient(145deg,#fffdf8,#f3ecdf);box-shadow:inset 0 0 0 3px rgba(255,255,255,.62)}
.account-destination-mark b{font-size:27px;line-height:1;margin-bottom:3px}
.account-destination-mark span{font-size:18px}
.account-destination-mark small{font-size:11px;letter-spacing:.04em;text-transform:uppercase}
.account-discussion-badge{border:0;border-radius:999px;background:#e8f3ed;box-shadow:inset 0 0 0 1px #bfd4c8;color:#246044!important;padding:9px 13px}
.account-route-meta{border-color:#dbe1de;border-radius:8px;background:#f7f8f6;padding:0 14px}
.account-route-meta>span{font-size:16px}
.account-route-actions{display:grid;grid-template-columns:minmax(170px,1fr) minmax(190px,1fr) auto;gap:10px;align-items:stretch}
.account-route-actions .primary-button,.account-route-actions .secondary-button,.account-route-actions button{min-height:54px;border-radius:8px;box-sizing:border-box;font-size:15px;transition:transform .15s ease,background .15s ease,border-color .15s ease}
.account-route-actions .primary-button{display:flex;align-items:center;justify-content:space-between;text-decoration:none;padding:0 18px}
.account-route-actions .primary-button:hover,.account-route-actions .account-room-button:hover{transform:translateY(-1px)}
.account-route-actions .account-room-button{display:flex;align-items:center;justify-content:space-between;padding:0 18px;background:#fff}
.account-route-actions .account-room-button:hover{background:#edf2f4;border-color:#31556d}
.account-route-card{overflow:visible}.account-create-room-button{position:relative!important;display:flex!important;align-items:center;justify-content:space-between;gap:12px;padding:0 18px!important;border-color:#b48a42!important;color:#193247!important;background:#fbf6ea!important}.account-create-room-button>span:first-child{font-weight:900}.account-create-room-button>b{font-size:18px}.account-room-value-preview{position:absolute;left:50%;bottom:calc(100% + 13px);z-index:80;display:grid;width:min(390px,72vw);gap:12px;padding:17px;border:1px solid #b9c9c5;border-radius:14px;color:#193247;background:#fff;box-shadow:0 20px 52px rgba(25,53,74,.25);opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%,8px) scale(.98);transition:opacity .18s ease,transform .18s ease,visibility .18s ease}.account-room-value-preview::after{content:"";position:absolute;left:50%;bottom:-7px;width:12px;height:12px;border-right:1px solid #b9c9c5;border-bottom:1px solid #b9c9c5;background:#fff;transform:translateX(-50%) rotate(45deg)}.account-create-room-button:hover .account-room-value-preview,.account-create-room-button:focus-visible .account-room-value-preview{opacity:1;visibility:visible;transform:translate(-50%,0) scale(1)}.account-room-value-preview>span:first-child{display:grid;gap:2px;text-align:left}.account-room-value-preview>span:first-child b{font-size:15px}.account-room-value-preview>span:first-child small{color:#748079;font-size:11px}.account-room-preview-people{display:flex}.account-room-preview-people i{display:grid;place-items:center;width:31px;height:31px;margin-right:-6px;border:2px solid #fff;border-radius:50%;color:#fff;background:#315b6c;font-size:9px;font-style:normal;font-weight:950}.account-room-preview-people i:nth-child(2){background:#a77c32}.account-room-preview-people i:last-child{color:#193247;background:#efc86f}.account-room-preview-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.account-room-preview-items>span{display:grid;gap:3px;padding:9px;border-radius:8px;background:#f1f4f2;text-align:left}.account-room-preview-items small{color:#7b8580;font-size:8px;text-transform:uppercase}.account-room-preview-items b{font-size:10px}.account-room-value-preview>em{padding:9px;border-radius:7px;color:#fff;background:#193f55;font-size:10px;font-style:normal;font-weight:900;text-align:center}
.account-route-actions .account-delete-button{padding:0 15px;border-color:#e1c9c4;background:#fff8f7;color:#9b4034;font-weight:800}
.account-route-actions .account-delete-button:hover{border-color:#bd6a5e;background:#f9e9e6}
.account-route-actions .account-delete-button:disabled{opacity:.5;cursor:wait}
@media(max-width:1100px){.account-route-actions{grid-template-columns:1fr 1fr}.account-route-actions .account-delete-button{grid-column:1/-1;min-height:44px}}
@media(max-width:760px){.account-route-card{border-radius:9px;padding:22px 18px}.account-route-actions{grid-template-columns:1fr}.account-route-actions .account-delete-button{grid-column:auto}.account-destination-mark b{font-size:24px}}
@media(max-width:760px){.account-room-value-preview{display:none}}

/* Planner CJM experiment B: a calmer, linear decision flow on /planner-test. */
.planner-experiment-hero,.planner-journey{display:none}
.planner-experiment .cjm-topnav{order:-20}
.planner-experiment .cjm-topnav{padding:10px 0 14px}
.planner-experiment .cjm-topnav nav{gap:3px;padding:5px;border:1px solid #c7d0cc;border-radius:14px;background:rgba(255,255,255,.68);box-shadow:0 7px 20px rgba(25,50,71,.06);backdrop-filter:blur(10px)}
.planner-experiment .cjm-topnav nav a{display:flex;align-items:center;justify-content:center;min-height:42px;padding:0 17px;border:0;border-radius:10px;color:#32495a;background:transparent;font-size:14px;font-weight:800;white-space:nowrap;transition:color .16s ease,background .16s ease,box-shadow .16s ease}
.planner-experiment .cjm-topnav nav a:hover{border:0;color:#173148;background:#edf1ef}
.planner-experiment .cjm-topnav nav a.active,.planner-experiment .cjm-topnav nav a.active:hover{border:0;color:#fff;background:#193247;box-shadow:0 5px 12px rgba(25,50,71,.2)}
.planner-experiment .cjm-topnav nav a.active::before{content:"";width:6px;height:6px;margin-right:9px;border-radius:50%;background:#deb866;box-shadow:0 0 0 3px rgba(222,184,102,.15)}
.planner-experiment .cjm-logo-lockup{gap:10px}
.planner-experiment .cjm-logo-lockup .brand-logo{width:48px;height:48px;flex-basis:48px;border-radius:9px}
.planner-experiment .cjm-logo-lockup strong{font-size:20px}
.planner-experiment .cjm-logo-lockup small{font-size:12px}
.planner-experiment .planner-experiment-hero{order:-19}
.planner-experiment .cjm-entry-grid{order:-18}
.planner-experiment .planner-journey{order:-17}
.planner-experiment .cjm-assumptions{order:-16}
.planner-experiment .cjm-workspace{order:-15}
.planner-experiment .planner-experiment-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:48px;align-items:end;padding:46px 50px;border-radius:18px;color:#fff;background:linear-gradient(125deg,#122a3d 0%,#1c4257 66%,#315d58 100%);box-shadow:0 20px 45px rgba(20,43,58,.16);position:relative;overflow:hidden}
.planner-experiment .planner-experiment-hero::after{content:"";position:absolute;width:330px;height:330px;right:-120px;top:-190px;border:70px solid rgba(255,255,255,.055);border-radius:50%}
.planner-experiment .planner-experiment-copy{position:relative;z-index:1;max-width:820px}
.planner-experiment .planner-experiment-copy .eyebrow{color:#d4ad61;margin:0 0 14px}
.planner-experiment .planner-experiment-copy h1{max-width:760px;margin:0;font-size:clamp(39px,4.6vw,68px);line-height:.98;letter-spacing:-.04em}
.planner-experiment .planner-experiment-copy>p:last-child{max-width:690px;margin:22px 0 0;color:#d5dfe2;font-size:19px;line-height:1.48}
.planner-experiment .planner-experiment-promise{display:grid;gap:1px;position:relative;z-index:1;border:1px solid rgba(255,255,255,.15);border-radius:12px;overflow:hidden;background:rgba(255,255,255,.08);backdrop-filter:blur(8px)}
.planner-experiment .planner-experiment-promise span{display:flex;align-items:center;gap:13px;padding:17px 19px;background:rgba(13,34,49,.38);font-weight:800}
.planner-experiment .planner-experiment-promise b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:#173148;background:#d8b36b;font-size:11px}
.planner-experiment .planner-experiment-carousel{align-self:stretch;align-content:center;justify-self:stretch;width:100%;min-height:190px;padding:24px;border:1px solid rgba(255,255,255,.22);border-radius:14px;background:rgba(13,34,49,.34);backdrop-filter:blur(8px);position:relative;z-index:1;box-sizing:border-box}
.planner-experiment .planner-experiment-carousel>.eyebrow{margin:0 0 22px;color:#d8b36b;font-size:11px}
.planner-experiment .planner-experiment-carousel .cjm-board-route{grid-template-columns:minmax(110px,.8fr) minmax(170px,1.2fr);gap:18px}
.planner-experiment .planner-experiment-carousel .cjm-board-route strong{font-size:clamp(20px,1.8vw,27px)}
.planner-experiment .planner-experiment-carousel .cjm-idea-ticker span{font-size:clamp(18px,1.6vw,24px)}
.planner-experiment .planner-experiment-carousel .cjm-idea-ticker b{font-size:15px}
.planner-experiment .cjm-hero{display:none}
.planner-experiment .cjm-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0;border:0;background:transparent;box-shadow:none;overflow:visible}
.planner-experiment .cjm-entry-card,.planner-experiment .cjm-entry-card.highlighted,.planner-experiment .cjm-entry-card.premium{min-height:112px;grid-template-columns:auto 1fr auto;gap:18px;padding:22px 24px;border:1px solid #c9d2cd;border-radius:12px;background:#fff;box-shadow:0 7px 20px rgba(25,50,71,.055);text-align:left;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.planner-experiment .cjm-entry-card:hover{transform:translateY(-2px);border-color:#879a90;background:#fff;box-shadow:0 13px 28px rgba(25,50,71,.1)}
.planner-experiment .cjm-entry-card.selected{border-color:#1b4054;background:#f7fbf9;box-shadow:inset 0 0 0 2px #1b4054,0 12px 28px rgba(25,50,71,.1)}
.planner-experiment .cjm-entry-card>span{width:42px;height:42px;border-radius:50%;color:#fff;background:#244a5d;font-size:12px}
.planner-experiment .cjm-entry-card.selected>span{color:#173148;background:#dfbd75}
.planner-experiment .cjm-entry-card strong{font-size:20px}
.planner-experiment .cjm-entry-card small{margin-top:6px;color:#66736d;font-size:14px}
.planner-experiment .cjm-entry-card em{align-self:start;border-radius:999px;padding:7px 10px;color:#67736e;background:#eff2ef;font-size:10px;white-space:nowrap}
.planner-experiment .planner-journey{display:grid;grid-template-columns:repeat(4,1fr);padding:12px 18px;border:1px solid #c5cfca;border-radius:12px;background:#f9faf8;box-shadow:0 7px 18px rgba(25,50,71,.045)}
.planner-experiment body.cjm-has-result .planner-journey{display:none}
.planner-experiment .planner-journey span{display:flex;align-items:center;gap:10px;position:relative;padding:7px 14px;color:#7a8580;font-style:normal;font-weight:800}
.planner-experiment .planner-journey span:not(:last-child)::after{content:"";position:absolute;width:28px;height:1px;right:-14px;background:#cdd5d1}
.planner-experiment .planner-journey b{display:grid;place-items:center;width:29px;height:29px;border:1px solid #c5cfca;border-radius:50%;background:#fff;font-size:11px}
.planner-experiment .planner-journey i{font-style:normal;font-size:13px}
.planner-experiment body[data-cjm-stage="ideas"] [data-experiment-step="ideas"],.planner-experiment body[data-cjm-stage="flight"] [data-experiment-step="flight"],.planner-experiment body[data-cjm-stage="hotel"] [data-experiment-step="hotel"],.planner-experiment body[data-cjm-stage="route"] [data-experiment-step="route"]{color:#173148}
.planner-experiment body[data-cjm-stage="ideas"] [data-experiment-step="ideas"] b,.planner-experiment body[data-cjm-stage="flight"] [data-experiment-step="flight"] b,.planner-experiment body[data-cjm-stage="hotel"] [data-experiment-step="hotel"] b,.planner-experiment body[data-cjm-stage="route"] [data-experiment-step="route"] b{border-color:#173148;color:#fff;background:#173148;box-shadow:0 0 0 4px #e4ece8}
.planner-experiment .cjm-assumptions{margin-top:-2px;border-radius:10px;background:transparent}
.planner-experiment .cjm-assumptions,.planner-experiment .planner-journey{display:none}
.planner-experiment .post-route-primary-actions [data-account-save-route].is-saved{border-color:#a8c8b7;color:#276044;background:#edf6f0;cursor:pointer}
.planner-experiment .post-route-tools [data-account-save-route].is-saved{position:relative;border:2px solid #3b8762;color:#1f5d40;background:linear-gradient(145deg,#e8f5ed,#f8fcf9);box-shadow:0 12px 28px rgba(48,118,82,.14)}.planner-experiment .post-route-tools [data-account-save-route].is-saved::after{content:"СОХРАНЕНО";position:absolute;top:14px;right:14px;padding:5px 8px;border-radius:999px;color:#fff;background:#3b8762;font-size:9px;font-weight:950;letter-spacing:.08em}.planner-experiment .post-route-tools [data-account-save-route].is-saved .post-route-tool-icon{color:#fff;background:#3b8762}.planner-experiment .post-route-tools [data-account-save-route].is-saved>strong{max-width:78%;color:#21583e}.planner-experiment .post-route-tools [data-account-save-route].is-saved>span:not(.post-route-tool-icon){color:#347154;font-weight:850}.post-route-saved-note{display:flex!important;align-items:center;gap:6px;color:#3b7658!important;font-size:11px!important;font-weight:850}.post-route-saved-note b{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;color:#fff;background:#3b8762;font-size:10px}
.planner-experiment .group-existing-room-link{display:flex;align-items:center;justify-content:space-between;max-width:420px;text-decoration:none}
.planner-experiment .cjm-workspace{grid-template-columns:minmax(300px,370px) minmax(0,1fr);gap:18px;align-items:start}
.planner-experiment .planner-hero-benefits{display:none}
.planner-experiment .planner-hero-benefits article{padding:16px 18px;border:1px solid rgba(255,255,255,.15);border-radius:10px;background:rgba(13,34,49,.3)}
.planner-experiment .planner-hero-benefits h2{margin:0 0 5px;color:#fff;font-size:16px;line-height:1.2}
.planner-experiment .planner-hero-benefits p{margin:0;color:#cdd9dc;font-size:13px;line-height:1.4}
.planner-experiment .planner-hero-links{display:none}
.planner-experiment .planner-hero-links a{color:#fff;font-weight:800}
.planner-experiment .cjm-console{border:0;border-radius:14px;background:#fff;box-shadow:0 14px 32px rgba(25,50,71,.09);position:sticky;top:16px;overflow:hidden}
.planner-experiment .cjm-console-head{margin:-1px -1px 20px;padding:20px 22px;color:#fff;background:#193247}
.planner-experiment .cjm-console-head span{color:#d4ad61}
.planner-experiment .cjm-console-head #cjm-console-title{color:#fff}
.planner-experiment .cjm-console-origin{display:flex;align-items:center;gap:8px;margin-top:12px;color:#d7e0e2;font-size:12px;font-weight:800}
.planner-experiment .cjm-console-origin b{display:inline-flex;align-items:center;justify-content:center;min-height:25px;padding:0 8px;border:1px solid rgba(255,255,255,.24);border-radius:999px;color:#193247;background:#dfbd75;font-size:10px;letter-spacing:.06em}
.planner-experiment .search-form>label,.planner-experiment .group-party-fields,.planner-experiment .switch-row{border-radius:9px}
.planner-experiment .search-form>.primary-button{min-height:58px;border-radius:9px;box-shadow:0 8px 20px rgba(25,50,71,.18)}
.planner-experiment .content>.result-shell,.planner-experiment .content>.deals-shell{scroll-margin-top:18px}
.planner-experiment .progress-card,.planner-experiment .section-block,.planner-experiment .recent-searches{border-radius:12px}
@media(max-width:900px){.planner-experiment .cjm-shell{grid-template-columns:minmax(0,1fr);width:100%;max-width:100%;overflow:hidden}.planner-experiment .planner-experiment-hero{grid-template-columns:1fr;padding:38px 34px}.planner-experiment .planner-experiment-promise{grid-template-columns:repeat(3,1fr)}.planner-experiment .planner-experiment-promise span{display:grid;justify-items:center;text-align:center}.planner-experiment .cjm-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:auto;overflow:visible}.planner-experiment .cjm-workspace{display:grid;grid-template-columns:minmax(0,1fr);width:100%;min-width:0}.planner-experiment .cjm-console,.planner-experiment .search-panel{display:block;position:static;width:100%;min-width:0;max-width:none;box-sizing:border-box}.planner-experiment .content{width:100%;min-width:0}}
@media(max-width:620px){.planner-experiment .cjm-topnav{gap:10px}.planner-experiment .cjm-topnav nav{width:100%;box-sizing:border-box;overflow-x:auto}.planner-experiment .cjm-topnav nav a{flex:0 0 auto;min-height:40px;padding:0 13px;font-size:12px}.planner-experiment .planner-experiment-hero{padding:30px 22px;border-radius:12px}.planner-experiment .planner-experiment-copy h1{font-size:37px}.planner-experiment .planner-experiment-copy>p:last-child{font-size:16px}.planner-experiment .planner-hero-benefits{display:flex;gap:8px;margin-right:-22px;padding-right:22px;overflow-x:auto;scroll-snap-type:x mandatory}.planner-experiment .planner-hero-benefits article{flex:0 0 min(260px,82vw);padding:13px 15px;scroll-snap-align:start}.planner-experiment .planner-experiment-promise{grid-template-columns:1fr}.planner-experiment .planner-experiment-promise span{display:flex;justify-items:initial;text-align:left;padding:13px 15px}.planner-experiment .cjm-entry-card,.planner-experiment .cjm-entry-card.highlighted,.planner-experiment .cjm-entry-card.premium{grid-template-columns:auto 1fr;min-width:0;min-height:106px;padding:15px 12px;gap:10px}.planner-experiment .cjm-entry-card>span{width:34px;height:34px}.planner-experiment .cjm-entry-card strong{font-size:16px;line-height:1.08}.planner-experiment .cjm-entry-card small{font-size:12px;line-height:1.15}.planner-experiment .cjm-entry-card em{display:none}.planner-experiment .planner-journey{padding:10px 6px}.planner-experiment .planner-journey span{display:grid;justify-items:center;gap:5px;padding:5px 2px;text-align:center}.planner-experiment .planner-journey span:not(:last-child)::after{width:14px;right:-7px;top:20px}.planner-experiment .planner-journey i{font-size:10px}.planner-experiment .cjm-assumptions{display:none}}

/* Shared top navigation across planner, help and account pages. */
.cjm-topnav{padding:10px 0 14px}
.cjm-topnav nav{display:flex;gap:3px;padding:5px;border:1px solid #c7d0cc;border-radius:14px;background:rgba(255,255,255,.68);box-shadow:0 7px 20px rgba(25,50,71,.06);backdrop-filter:blur(10px)}
.cjm-topnav nav a{display:flex;align-items:center;justify-content:center;min-height:42px;padding:0 17px;border:0;border-radius:10px;color:#32495a;background:transparent;font-size:14px;font-weight:800;white-space:nowrap;text-decoration:none;transition:color .16s ease,background .16s ease,box-shadow .16s ease}
.cjm-topnav nav a:hover{border:0;color:#173148;background:#edf1ef}
.cjm-topnav nav a.active,.cjm-topnav nav a.active:hover{border:0;color:#fff;background:#193247;box-shadow:0 5px 12px rgba(25,50,71,.2)}
.cjm-topnav nav a.active::before{content:"";flex:0 0 auto;width:6px;height:6px;margin-right:9px;border-radius:50%;background:#deb866;box-shadow:0 0 0 3px rgba(222,184,102,.15)}
.cjm-logo-lockup{gap:10px}
.cjm-logo-lockup .brand-logo{width:138px;height:72px;flex-basis:138px;border-radius:0;object-fit:contain}
.cjm-logo-lockup strong{font-size:20px}
.cjm-logo-lockup small{font-size:12px}
@media(max-width:620px){.cjm-topnav{gap:10px}.cjm-logo-lockup .brand-logo{width:112px;height:60px;flex-basis:112px}.cjm-topnav nav{width:100%;box-sizing:border-box;overflow-x:auto}.cjm-topnav nav a{flex:0 0 auto;min-height:40px;padding:0 13px;font-size:12px}}

/* Conversion-focused planner hero. */
.mobile-nav-toggle{display:none}
.planner-experiment .planner-experiment-copy>p:not(.eyebrow){max-width:690px;margin:22px 0 0;color:#d5dfe2;font-size:19px;line-height:1.48}
.planner-hero-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}
.planner-hero-actions button{display:flex;align-items:center;justify-content:center;min-height:48px;padding:0 18px;border:1px solid #dfbd75;border-radius:9px;font-weight:900;cursor:pointer}
.planner-hero-actions .hero-primary-cta{gap:18px;color:#173148;background:#dfbd75;box-shadow:0 8px 20px rgba(0,0,0,.16)}
.planner-hero-actions .hero-secondary-cta{color:#fff;background:transparent;border-color:rgba(255,255,255,.35)}
.planner-hero-actions .hero-secondary-cta:hover{background:rgba(255,255,255,.08)}
.planner-hero-proof{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px;color:#d4dfe1;font-size:11px;font-weight:800}
.planner-hero-proof span{padding:5px 8px;border:1px solid rgba(255,255,255,.18);border-radius:999px}
.planner-hero-proof strong{color:#dfbd75;font-size:12px}
.planner-experiment-carousel .cjm-board-main{position:relative}
.planner-experiment-carousel .cjm-board-main::after{content:"→";position:absolute;right:-14px;top:27px;color:#d9b66e;font-size:18px}
.planner-experiment-carousel .cjm-board-main strong{display:flex;align-items:center;gap:8px}
.planner-experiment-carousel .cjm-board-main-flag-target,.planner-experiment-carousel .cjm-reel-track i{font-style:normal;font-size:20px}
.planner-experiment-carousel .cjm-reel-track b{display:flex;align-items:baseline;gap:5px}
.planner-experiment-carousel .cjm-reel-track b small{color:#c6d2d5;font-size:9px;font-weight:700;white-space:nowrap}
.planner-experiment .planner-hero-total{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:22px;padding-top:17px;border-top:1px solid rgba(255,255,255,.16);color:#cbd7da;font-size:12px;font-weight:750}
.planner-experiment .planner-hero-total strong{color:#dfbd75;font-size:13px;white-space:nowrap}

/* Keep the planner value proposition visible without pushing the form below the fold. */
@media(min-width:901px){
  .planner-experiment .planner-experiment-hero{grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);column-gap:28px;row-gap:0;align-items:center;padding:24px 32px}
  .planner-experiment .planner-experiment-copy .eyebrow{margin-bottom:7px}
  .planner-experiment .planner-experiment-copy h1{max-width:760px;font-size:clamp(36px,3vw,46px);line-height:1}
  .planner-experiment .planner-experiment-copy>p:not(.eyebrow){max-width:720px;margin-top:11px;font-size:14px;line-height:1.38}
  .planner-hero-actions{margin-top:14px}
  .planner-hero-actions button{min-height:42px}
  .planner-hero-proof{margin-top:8px}
  .planner-experiment .planner-experiment-carousel{align-self:center;min-height:164px;padding:18px 21px}
  .planner-experiment .planner-experiment-carousel>.eyebrow{margin-bottom:11px}
  .planner-experiment .planner-experiment-carousel .cjm-board-route{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:16px}
  .planner-experiment .planner-experiment-carousel .cjm-board-route strong{font-size:clamp(19px,1.65vw,25px)}
  .planner-experiment .cjm-entry-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
  .planner-experiment .cjm-entry-card,.planner-experiment .cjm-entry-card.highlighted,.planner-experiment .cjm-entry-card.premium{grid-template-columns:auto minmax(0,1fr);min-height:92px;gap:12px;padding:16px 14px}
  .planner-experiment .cjm-entry-card>span{width:36px;height:36px}
  .planner-experiment .cjm-entry-card strong{font-size:16px;line-height:1.12}
  .planner-experiment .cjm-entry-card small{margin-top:5px;font-size:12px;line-height:1.25}
  .planner-experiment .cjm-entry-card em{display:none}
}

@media(max-width:620px){
  .planner-experiment .cjm-topnav{grid-template-columns:1fr auto;align-items:center;position:relative}
  .planner-experiment .mobile-nav-toggle{display:grid;gap:4px;width:42px;height:42px;padding:11px;border:1px solid #c7d0cc;border-radius:10px;background:#fff;box-shadow:0 5px 14px rgba(25,50,71,.08)}
  .planner-experiment .mobile-nav-toggle span{display:block;width:18px;height:2px;border-radius:2px;background:#193247}
  .planner-experiment .cjm-topnav nav{display:none;grid-column:1/-1;width:100%;padding:6px;overflow:visible}
  .planner-experiment .cjm-topnav nav.is-open{display:grid}
  .planner-experiment .cjm-topnav nav a{justify-content:flex-start;width:100%;padding:0 14px}
  .planner-experiment .planner-experiment-hero{gap:16px;padding:22px 18px}
  .planner-experiment .planner-experiment-copy h1{font-size:32px}
  .planner-experiment .planner-experiment-copy>p:not(.eyebrow){margin-top:16px;font-size:15px}
  .planner-hero-actions{display:grid;grid-template-columns:1fr;margin-top:20px}
  .planner-hero-actions button{width:100%}
  .planner-hero-proof{margin-top:12px}
  .planner-hero-proof span:nth-child(3){display:none}
  .planner-experiment .planner-hero-benefits,.planner-experiment .planner-hero-links{display:none}
  .planner-experiment .planner-experiment-carousel{min-height:145px;padding:16px}
  .planner-experiment .planner-experiment-carousel>.eyebrow{margin-bottom:14px}
  .planner-experiment-carousel .cjm-board-main::after{right:-10px}
  .planner-experiment .planner-hero-total{align-items:flex-start;margin-top:16px;padding-top:13px;font-size:10px}
  .planner-experiment .planner-hero-total strong{font-size:11px}
}

/* Product guide hero: a personal introduction and a three-part quick start. */
.how-page .how-hero{display:grid;grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);gap:0;align-items:stretch;min-height:500px;padding:0;overflow:hidden;border:1px solid #24475a;border-radius:18px;color:#fff;background:linear-gradient(125deg,#142e42,#1d4858 72%,#315d58);box-shadow:0 18px 42px rgba(25,50,71,.15)}
.how-hero-photo{position:relative;display:grid;place-items:center;min-height:500px;overflow:hidden;background:#f7f8f6}
.how-hero-photo::after{content:"";position:absolute;width:240px;height:240px;left:-145px;bottom:-145px;border:52px solid rgba(223,189,117,.22);border-radius:50%}
.how-hero-photo img{position:relative;z-index:1;width:min(74%,360px);height:auto;display:block;object-fit:contain}
.how-hero-photo p{position:absolute;z-index:1;left:26px;right:26px;bottom:23px;display:grid;gap:2px;margin:0;color:#fff}
.how-hero-photo strong{font-size:19px}.how-hero-photo span{color:#d5dfe2;font-size:12px;font-weight:800}
.how-hero-guide{display:flex;flex-direction:column;justify-content:center;padding:40px 46px}
.how-page .how-hero-guide>.eyebrow{margin:0 0 8px;color:#dfbd75}
.how-page .how-hero-guide h1{max-width:760px;margin:0;font-size:clamp(39px,4.2vw,60px);line-height:1;letter-spacing:-.04em}
.how-hero-lead{max-width:680px;margin:16px 0 0;color:#d2dcdf;font-size:17px;line-height:1.5}
.how-hero-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:26px}
.how-hero-cards article{display:grid;grid-template-columns:auto 1fr;gap:11px;padding:15px 14px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:rgba(11,34,49,.28)}
.how-hero-cards article>span{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;color:#193247;background:#dfbd75;font-size:10px;font-weight:950}
.how-hero-cards article>div{display:grid;align-content:start;gap:5px}.how-hero-cards strong{color:#fff;font-size:14px}.how-hero-cards small{color:#cbd7da;font-size:11px;line-height:1.35}
.how-hero-link{display:flex;align-items:center;justify-content:space-between;width:min(100%,285px);margin-top:22px;padding:14px 16px;border-radius:9px;color:#193247;background:#dfbd75;font-weight:900;text-decoration:none;box-sizing:border-box}
.how-hero-link:hover{background:#e7c77f}
@media(max-width:900px){
  .how-page .how-hero{grid-template-columns:minmax(250px,.75fr) minmax(0,1.25fr);min-height:460px}
  .how-hero-photo{min-height:460px}.how-hero-guide{padding:32px}.how-hero-cards{grid-template-columns:1fr}.how-hero-cards article{padding:11px 12px}.how-hero-cards small{font-size:10px}
}
@media(max-width:620px){
  .how-page .how-hero{grid-template-columns:1fr;min-height:0;padding:0;border-radius:12px}
  .how-hero-photo{min-height:250px;max-height:250px}.how-hero-photo img{width:min(66%,250px)}
  .how-hero-guide{padding:27px 20px}.how-page .how-hero-guide h1{font-size:36px}.how-hero-lead{font-size:15px}
  .how-hero-cards{margin-top:20px}.how-hero-cards article{grid-template-columns:auto 1fr}.how-hero-cards strong{font-size:13px}.how-hero-cards small{font-size:11px}
  .how-hero-link{width:100%;margin-top:18px}
}

/* Author page: compact introduction followed by an editorial product story. */
.about-page{background:#edf1ef}
.about-shell{gap:18px;padding-bottom:42px}
.about-page .cjm-topnav{order:0}
.about-page .about-hero{display:grid;grid-template-columns:minmax(320px,.78fr) minmax(0,1.22fr);min-height:500px;margin:0;border:1px solid #24475a;border-radius:18px;background:linear-gradient(125deg,#142e42,#1d4858 72%,#315d58);box-shadow:0 18px 42px rgba(25,50,71,.15)}
.about-page .about-photo-wrap{position:relative;min-height:500px;overflow:hidden;background:#234e58}
.about-page .about-photo-wrap::after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(10,28,40,.45))}
.about-page .about-photo-wrap img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 54%}
.about-page .about-photo-wrap>span{position:absolute;z-index:1;left:24px;bottom:22px;padding:8px 12px;border:1px solid rgba(255,255,255,.32);border-radius:999px;color:#fff;background:rgba(16,43,58,.72);font-size:12px;font-weight:900;backdrop-filter:blur(8px)}
.about-page .about-copy{display:flex;flex-direction:column;justify-content:center;padding:42px 48px;color:#fff}
.about-page .about-copy h1{max-width:720px;margin:7px 0 18px;font-size:clamp(44px,5vw,72px);line-height:.98;letter-spacing:-.04em}
.about-page .about-lead{max-width:650px;margin:0;color:#d2dcdf;font-size:20px;line-height:1.5}
.about-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:24px}
.about-facts article{display:grid;grid-template-columns:auto minmax(0,1fr);gap:11px;padding:14px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:rgba(11,34,49,.28)}
.about-facts article>span{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;color:#193247;background:#dfbd75;font-size:10px;font-weight:950}
.about-facts article>div{display:grid;align-content:start;gap:4px}.about-facts strong{color:#fff;font-size:14px}.about-facts small{color:#cbd7da;font-size:11px;line-height:1.35}
.about-page .about-cta{display:flex;align-items:center;justify-content:space-between;width:min(100%,310px);min-height:50px;margin-top:22px;text-decoration:none}
.about-story{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:18px;color:#172d3e}
.about-narrative,.about-mission,.about-support{border:1px solid #cbd3cf;border-radius:14px;background:#fff;box-shadow:0 8px 22px rgba(25,50,71,.045)}
.about-narrative{padding:44px 48px}
.about-narrative h2,.about-mission h2,.about-support h2{margin:7px 0 22px;color:#142b3d;line-height:1.07;letter-spacing:-.025em}
.about-narrative h2{max-width:850px;font-size:clamp(32px,3.4vw,49px)}
.about-narrative>p:not(.eyebrow){max-width:880px;margin:0 0 18px;color:#65716c;font-size:17px;line-height:1.65}
.about-narrative blockquote{display:grid;gap:5px;margin:28px 0;padding:22px 24px;border-left:5px solid #dfbd75;color:#fff;background:#193247}
.about-narrative blockquote strong{font-size:24px}.about-narrative blockquote span{color:#d2dcdf;line-height:1.45}
.about-mission{align-self:start;padding:34px;background:#f7f4ec;border-color:#dacba9}
.about-mission h2{font-size:29px}.about-mission>p:not(.eyebrow){color:#65716c;line-height:1.55}
.about-mission ul{display:grid;gap:10px;margin:24px 0 0;padding:0;list-style:none}
.about-mission li{position:relative;padding:12px 13px 12px 37px;border:1px solid #ddd3bd;border-radius:9px;background:#fff;font-weight:800}
.about-mission li::before{content:"✓";position:absolute;left:13px;color:#2c7658;font-weight:950}
.about-support{grid-column:1/-1;display:grid;grid-template-columns:.7fr 1.15fr auto;gap:34px;align-items:center;padding:32px 38px;border-left:6px solid #3a805f}
.about-support h2{margin-bottom:0;font-size:31px}.about-support p{margin:0 0 9px;color:#65716c;line-height:1.5}.about-support p:last-child{margin-bottom:0}
.about-support-link{display:flex;align-items:center;justify-content:space-between;gap:28px;min-width:230px;padding:16px 18px;border-radius:9px;color:#fff;background:#193247;font-weight:900;text-decoration:none}
.about-support-link:hover{background:#244a60}
@media(max-width:900px){
  .about-page .about-hero{grid-template-columns:minmax(260px,.75fr) minmax(0,1.25fr);min-height:470px}
  .about-page .about-photo-wrap{min-height:470px}.about-page .about-copy{padding:32px}
  .about-facts{grid-template-columns:1fr}.about-facts article{padding:11px 12px}.about-facts small{font-size:10px}
  .about-story{grid-template-columns:1fr}.about-support{grid-column:auto;grid-template-columns:1fr}.about-support-link{width:min(100%,310px)}
}
@media(max-width:620px){
  .about-page .about-hero{grid-template-columns:1fr;min-height:0;border-radius:12px}
  .about-page .about-photo-wrap{min-height:390px;max-height:390px}.about-page .about-photo-wrap img{object-position:center 58%}
  .about-page .about-copy{padding:30px 22px}.about-page .about-copy h1{font-size:40px}.about-page .about-lead{font-size:17px}
  .about-facts{grid-template-columns:1fr;margin-top:20px}.about-facts article{padding:12px}.about-facts small{font-size:11px}.about-page .about-cta{width:100%;margin-top:22px}
  .about-narrative,.about-mission,.about-support{padding:26px 22px;border-radius:12px}
  .about-narrative h2{font-size:31px}.about-narrative>p:not(.eyebrow){font-size:16px}.about-narrative blockquote{margin:22px 0;padding:18px}
  .about-mission h2,.about-support h2{font-size:27px}.about-support{gap:18px}.about-support-link{width:100%;box-sizing:border-box}
}

/* Destination SEO landing pages. */
.destination-shell{gap:18px;padding-bottom:32px}.destination-shell .cjm-topnav{order:0}.destination-shell>article{display:grid;gap:18px}
.destination-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:42px;align-items:center;padding:52px;border-radius:18px;color:#fff;background:linear-gradient(125deg,#142e42,#1d4858 68%,#315d58);box-shadow:0 18px 42px rgba(25,50,71,.15)}
.destination-hero h1{max-width:850px;margin:7px 0 20px;font-size:clamp(42px,5.2vw,74px);line-height:.98;letter-spacing:-.04em}.destination-hero>div>p:not(.eyebrow){max-width:760px;color:#d5dfe2;font-size:19px;line-height:1.5}.destination-hero>div>small{display:block;margin-top:12px;color:#ced9dc;font-weight:700}.destination-cta{width:min(100%,390px);margin-top:24px;text-decoration:none}
.destination-route{display:flex;align-items:center;justify-content:center;gap:13px;min-height:240px;padding:28px;border:1px solid rgba(255,255,255,.2);border-radius:14px;background:rgba(11,34,49,.34)}.destination-route span{display:grid;justify-items:center;gap:5px}.destination-route b{display:grid;place-items:center;min-width:64px;height:58px;padding:0 10px;border-radius:10px;color:#193247;background:#dfbd75;font-size:24px}.destination-route small{color:#d7e0e2;font-weight:800}.destination-route i{color:#dfbd75;font-size:24px;font-style:normal}
.destination-section,.destination-split,.destination-faq,.destination-final{padding:38px;border:1px solid #cbd3cf;border-radius:14px;background:#fff;box-shadow:0 8px 22px rgba(25,50,71,.045)}.destination-section h2,.destination-split h2,.destination-faq h2,.destination-final h2{max-width:800px;margin:5px 0 22px;color:#142b3d;font-size:clamp(28px,3vw,44px);line-height:1.05}
.destination-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.destination-cards article{padding:20px;border:1px solid #d4dad6;border-radius:10px;background:#f7f9f7}.destination-cards strong{color:#1a3b50;font-size:18px}.destination-cards p,.destination-split p,.destination-faq p,.destination-final p{color:#68736e;line-height:1.55}
.destination-split{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:30px}.destination-split aside{padding:24px;border-radius:10px;color:#fff;background:#193247}.destination-split aside strong{font-size:20px}.destination-split ul{display:grid;gap:11px;margin:18px 0 0;padding-left:20px;color:#d8e1e2;line-height:1.45}
.destination-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0;padding:0;list-style:none}.destination-steps li{display:flex;gap:13px;padding:20px;border:1px solid #d4dad6;border-radius:10px}.destination-steps li>b{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:50%;color:#193247;background:#dfbd75}.destination-steps span{display:grid;gap:6px}.destination-steps small{color:#6d7872;line-height:1.4}
.destination-faq details{padding:17px 0;border-top:1px solid #d7ddd9}.destination-faq summary{color:#193247;font-size:17px;font-weight:900;cursor:pointer}.destination-faq details p{margin-bottom:0}.destination-final{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#f4efe4}.destination-final .primary-button{min-width:280px;text-decoration:none}
@media(max-width:900px){.destination-hero,.destination-split{grid-template-columns:1fr}.destination-cards{grid-template-columns:repeat(2,1fr)}.destination-steps{grid-template-columns:1fr}}
@media(max-width:620px){.destination-hero{gap:26px;padding:30px 22px;border-radius:12px}.destination-hero h1{font-size:40px}.destination-hero>div>p:not(.eyebrow){font-size:16px}.destination-route{min-height:180px;padding:18px;gap:8px}.destination-route b{min-width:52px;height:50px;font-size:19px}.destination-route small{font-size:10px}.destination-section,.destination-split,.destination-faq,.destination-final{padding:26px 20px}.destination-cards{grid-template-columns:1fr}.destination-final{display:grid}.destination-final .primary-button{min-width:0;width:100%}}
@media(max-width:620px){.destination-page .cjm-topnav{grid-template-columns:1fr auto;align-items:center;position:relative}.destination-page .mobile-nav-toggle{display:grid;gap:4px;width:42px;height:42px;padding:11px;border:1px solid #c7d0cc;border-radius:10px;background:#fff}.destination-page .mobile-nav-toggle span{display:block;width:18px;height:2px;background:#193247}.destination-page .cjm-topnav nav{display:none;grid-column:1/-1}.destination-page .cjm-topnav nav.is-open{display:grid}.destination-page .cjm-topnav nav a{justify-content:flex-start}}

/* Selected attraction preview in the final budget list. */
.attraction-result-list>button{position:relative}.attraction-result-list>button>span:first-child{font-size:17px}.attraction-hover-card{position:absolute;z-index:30;left:calc(100% + 12px);top:50%;display:grid!important;grid-template-columns:112px minmax(190px,1fr);width:370px;overflow:hidden;border:1px solid #cbd5d0;border-radius:13px;background:#fff;box-shadow:0 18px 44px rgba(18,43,59,.2);opacity:0;visibility:hidden;pointer-events:none;transform:translate(8px,-50%);transition:opacity .16s ease,transform .16s ease,visibility .16s}.attraction-result-list>button:hover .attraction-hover-card,.attraction-result-list>button:focus-visible .attraction-hover-card{opacity:1;visibility:visible;transform:translate(0,-50%)}.attraction-hover-card>img{width:112px;height:118px;object-fit:cover;background:#193f55}.attraction-hover-card>span{display:grid;align-content:center;gap:5px;padding:13px}.attraction-hover-card b{color:#193247;font-size:14px}.attraction-hover-card em{color:#66716c;font-size:11px;font-style:normal;line-height:1.35}.attraction-hover-card small{color:#9a7431!important;font-size:10px!important;font-weight:850}
.attraction-city-results>article:nth-child(even) .attraction-hover-card{right:calc(100% + 12px);left:auto;transform:translate(-8px,-50%)}.attraction-city-results>article:nth-child(even) .attraction-result-list>button:hover .attraction-hover-card,.attraction-city-results>article:nth-child(even) .attraction-result-list>button:focus-visible .attraction-hover-card{transform:translate(0,-50%)}
@media(max-width:760px){.attraction-hover-card{display:none!important}}

/* Test-only city input autocomplete. */
.city-autocomplete-field{position:relative}.city-autocomplete-list{position:absolute;z-index:80;top:calc(100% + 7px);right:0;left:0;overflow:hidden;border:1px solid #b9c7c1;border-radius:11px;background:#fff;box-shadow:0 16px 36px rgba(18,43,59,.18)}.city-autocomplete-list[hidden]{display:none}.city-autocomplete-list>button{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;width:100%;padding:11px 13px;border:0;border-bottom:1px solid #e2e7e4;color:#193247;background:#fff;text-align:left;cursor:pointer}.city-autocomplete-list>button:last-child{border-bottom:0}.city-autocomplete-list>button:hover,.city-autocomplete-list>button.active{background:#edf3f1}.city-autocomplete-list>button>span:first-child{font-size:22px}.city-autocomplete-list>button>span:nth-child(2){display:grid;gap:1px;min-width:0}.city-autocomplete-list strong{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.city-autocomplete-list small{overflow:hidden;color:#79837e;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.city-autocomplete-list>button>b{padding:5px 7px;border-radius:6px;color:#fff;background:#193f55;font-size:10px;letter-spacing:.04em}.city-autocomplete-empty{padding:13px;color:#6e7973;background:#f8faf8;font-size:12px;font-weight:750}

/* Trip PDF, compact addon breakdown and lazy hotel categories. */
.route-share-actions{display:flex!important;align-items:center;gap:10px!important}.route-share-actions button{white-space:nowrap}
.addon-breakdown-details{margin-top:18px;border:1px solid #cbd5d0;border-radius:14px;background:linear-gradient(120deg,#f5f7f4,#fff);overflow:hidden;box-shadow:0 7px 20px rgba(25,50,71,.045)}.addon-breakdown-details>summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:18px 20px;cursor:pointer;list-style:none}.addon-breakdown-details>summary::-webkit-details-marker{display:none}.addon-breakdown-details>summary::marker{display:none;content:""}.addon-breakdown-icon{display:grid!important;place-items:center;width:44px;height:44px;border-radius:10px;color:#e1b55d;background:#193247;font-size:23px;font-weight:900}.addon-breakdown-copy{display:grid!important;gap:2px;min-width:0}.addon-breakdown-copy em{color:#98732f;font-size:11px;font-style:normal;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.addon-breakdown-copy b{color:#193247;font-size:19px}.addon-breakdown-copy small{overflow:hidden;color:#6d7771;text-overflow:ellipsis;white-space:nowrap}.addon-breakdown-price{display:grid!important;justify-items:end;gap:1px;padding-left:18px;border-left:1px solid #d8dfdb}.addon-breakdown-price small{color:#6d7771;font-size:11px;font-weight:800;text-transform:uppercase}.addon-breakdown-price strong{color:#9a7431;font-size:22px}.addon-breakdown-details>summary>i{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;color:#193247;background:#e9eeeb;font-style:normal;font-size:21px;transition:transform .18s ease}.addon-breakdown-details[open]>summary>i{transform:rotate(180deg)}.addon-breakdown-details .addon-layout{margin:0;padding:0 18px 18px}.addon-more-hotels{align-self:stretch;min-height:72px}
@media(max-width:760px){.route-share-actions{grid-column:1/-1;display:grid!important;width:100%}.route-share-actions button{width:100%}.addon-breakdown-details>summary{grid-template-columns:auto 1fr auto;gap:11px;padding:14px}.addon-breakdown-icon{width:38px;height:38px}.addon-breakdown-copy b{font-size:16px}.addon-breakdown-copy small{max-width:55vw}.addon-breakdown-price{grid-column:2;padding:8px 0 0;border:0;justify-items:start}.addon-breakdown-price strong{font-size:18px}.addon-breakdown-details>summary>i{grid-column:3;grid-row:1}.addon-breakdown-details .addon-layout{padding:0 10px 10px}}

/* Keep the collaboration hero dark despite generic section-block rules. */
.cjm-test-page.group-room-view .group-room-hero.section-block{
  color:#fff!important;
  border:1px solid #284f60!important;
  background:radial-gradient(circle at 82% 0,rgba(91,139,126,.24),transparent 36%),linear-gradient(135deg,#173247 0%,#204c5b 100%)!important;
  box-shadow:0 20px 48px rgba(18,43,59,.18)!important;
}
.cjm-test-page.group-room-view .group-room-hero h1{color:#fff!important}
.cjm-test-page.group-room-view .group-room-hero .eyebrow{color:#d8b765!important}
.cjm-test-page.group-room-view .group-room-route,
.cjm-test-page.group-room-view .group-room-progress-card p{color:#d9e4e4!important}
.cjm-test-page.group-room-view .group-room-facts>span{color:#e2e9e8!important;background:rgba(255,255,255,.1)!important}
.cjm-test-page.group-room-view .group-room-progress-card{
  border-color:rgba(255,255,255,.2)!important;
  background:rgba(9,31,43,.28)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.05)!important;
}
.cjm-test-page.group-room-view .group-room-progress-card>div:first-child strong{color:#e4c16d!important}
.cjm-test-page.group-room-view .group-room-progress-card>div:first-child span{color:#dce5e5!important}
.cjm-test-page.group-room-view .group-room-progress-card .primary-button{color:#173247!important;background:#e2bd69!important}
.cjm-test-page.group-room-view .group-room-status{color:#173247!important;background:#e2bd69!important}
.cjm-test-page.group-room-view .group-owner-badge,
.cjm-test-page.group-room-view .group-member-badge{color:#e5ecec!important;background:rgba(255,255,255,.1)!important}

/* Attraction picker for the main planner and saved routes. */
.attraction-picker{padding:34px;background:linear-gradient(145deg,#fff 0%,#f5f7f4 100%)}
.attraction-picker-head,.attraction-result-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:18px}.attraction-picker-head h2,.attraction-result-head h2{margin:4px 0 0;color:#142b3d;font-size:clamp(27px,3vw,42px);line-height:1.04}.attraction-picker-head>div:last-child{display:grid;justify-items:end;gap:3px}.attraction-picker-head>div:last-child strong{color:#193247;font-size:20px}.attraction-picker-head>div:last-child span{color:#6d7771;font-size:13px;font-weight:800}
.attraction-progress{height:5px;margin-bottom:22px;overflow:hidden;border-radius:99px;background:#dfe6e2}.attraction-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#d9ae55,#3a805f);transition:width .25s ease}
.attraction-city-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:min(100%,880px);margin:0 auto 18px}.attraction-city-tabs>button{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;padding:13px 15px;border:1px solid #ccd6d1;border-radius:12px;color:#193247;background:#fff;text-align:left;cursor:pointer}.attraction-city-tabs>button>span:first-child{font-size:25px}.attraction-city-tabs>button>span:nth-child(2){display:grid;gap:2px}.attraction-city-tabs strong{font-size:15px}.attraction-city-tabs small{color:#75807a;font-size:11px;font-weight:750}.attraction-city-tabs i{display:grid;place-items:center;min-width:41px;height:28px;border-radius:99px;color:#65716c;background:#edf1ef;font-size:11px;font-style:normal;font-weight:900}.attraction-city-tabs>button.active{border-color:#193f55;background:#edf3f3;box-shadow:inset 0 0 0 1px #193f55}.attraction-city-tabs>button.active i{color:#fff;background:#193f55}
.attraction-swipe-card{display:grid;grid-template-columns:minmax(270px,.86fr) minmax(330px,1.14fr);width:min(100%,880px);min-height:390px;margin:0 auto;overflow:hidden;border:1px solid #cad3ce;border-radius:20px;background:#fff;box-shadow:0 20px 48px rgba(25,50,71,.13)}
.attraction-photo{position:relative;display:flex;align-items:end;justify-content:space-between;min-height:390px;padding:24px;overflow:hidden;background:linear-gradient(145deg,#214a5b,#142f43);color:#fff}.attraction-photo::after{content:"";position:absolute;inset:30% 0 0;background:linear-gradient(transparent,rgba(10,25,38,.84));pointer-events:none}.attraction-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.attraction-photo>span,.attraction-photo>b{position:relative;z-index:1}.attraction-photo>span{padding:8px 11px;border:1px solid rgba(255,255,255,.3);border-radius:99px;background:rgba(16,43,58,.7);font-size:12px;font-weight:900;backdrop-filter:blur(8px)}.attraction-photo>b{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.92);font-size:25px;box-shadow:0 7px 18px rgba(0,0,0,.18)}
.attraction-copy{display:flex;flex-direction:column;justify-content:space-between;padding:34px}.attraction-copy>div:first-child{display:grid;gap:14px}.attraction-copy h3{margin:0;color:#142b3d;font-size:clamp(27px,3vw,39px);line-height:1.06;letter-spacing:-.025em}.attraction-copy>div:first-child>strong{width:max-content;padding:7px 11px;border-radius:99px;color:#8a6427;background:#f5ead3;font-size:17px}.attraction-copy>div:first-child>strong.free{color:#2d7255;background:#e6f1eb}.attraction-copy>p{margin:24px 0;color:#65716c;font-size:17px;line-height:1.55}
.attraction-meta{display:flex!important;flex-wrap:wrap;gap:7px!important}.attraction-meta>*{padding:7px 9px;border:1px solid #d4dcd7;border-radius:99px;color:#66716c;background:#f8faf8;font-size:11px;font-weight:850;text-decoration:none}.attraction-meta a{color:#193f55;border-color:#b8c9d1}.attraction-meta a:hover{background:#eaf1f3}
.attraction-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:min(760px,100%);margin:22px auto 0}.attraction-actions button{display:flex;align-items:center;justify-content:center;gap:11px;min-height:64px;padding:10px 22px;border:1px solid #ccd5d0;border-radius:99px;background:#fff;cursor:pointer;box-shadow:0 7px 20px rgba(25,50,71,.07);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease,background .15s ease}.attraction-actions button>span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;font-size:23px}.attraction-actions button>strong{font-size:15px}.attraction-no{color:#596761;border-color:#c9d3ce!important;background:#fff!important}.attraction-no>span{background:#edf1ef}.attraction-no:hover{border-color:#98aaa1!important;background:#f7f9f8!important}.attraction-yes{color:#fff!important;border-color:#2f7457!important;background:#347b5c!important}.attraction-yes>span{color:#2f7457;background:#fff}.attraction-actions button:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(25,50,71,.12)}
.attraction-actions .attraction-finish{grid-column:1/-1;display:inline-flex;justify-self:center;gap:8px;min-width:0!important;min-height:36px;padding:5px 13px;border:0!important;border-radius:8px;color:#66736d!important;background:transparent!important;box-shadow:none!important}.attraction-actions .attraction-finish>strong{font-size:13px}.attraction-actions .attraction-finish>span{display:inline;width:auto;height:auto;color:#193f55;background:transparent;font-size:17px}.attraction-actions .attraction-finish:hover{color:#193f55!important;background:#eef3f0!important;box-shadow:none!important}
.attraction-result{display:grid;gap:18px}.attraction-result-head{margin:0}.attraction-selected-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.attraction-selected-grid button{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;padding:14px;border:1px solid #d1d9d5;border-radius:11px;color:#193247;background:#fff;text-align:left;cursor:pointer}.attraction-selected-grid button>span{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;background:#f3eee2;font-size:20px}.attraction-selected-grid button>div{display:grid;gap:3px}.attraction-selected-grid strong{font-size:14px}.attraction-selected-grid small{color:#737d78}.attraction-selected-grid i{color:#86908b;font-size:22px;font-style:normal}.attraction-selected-grid button:hover{border-color:#c2a76d}
.attraction-reset-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 18px;border:1px solid #193247;border-radius:10px;color:#fff;background:#193247;box-shadow:0 9px 20px rgba(25,50,71,.16);font:inherit;cursor:pointer;transition:transform .15s ease,background .15s ease,box-shadow .15s ease}.attraction-reset-button span{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;color:#193247;background:#e7bd64;font-size:19px;font-weight:900}.attraction-reset-button strong{font-size:14px}.attraction-reset-button:hover{transform:translateY(-1px);background:#254a62;box-shadow:0 12px 24px rgba(25,50,71,.2)}.attraction-reset-button:focus-visible{outline:3px solid rgba(177,132,56,.42);outline-offset:3px}
.attraction-budget{display:grid;gap:0;margin-top:4px;border:1px solid #cdd6d1;border-radius:12px;background:#fff;overflow:hidden}.attraction-budget>div{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:13px 17px;border-bottom:1px solid #e0e5e2;color:#68736e}.attraction-budget>div:last-child{border:0}.attraction-budget strong{color:#193247}.attraction-budget .total{color:#fff;background:#193f55}.attraction-budget .total strong{color:#fff;font-size:23px}.attraction-empty{text-align:center}.attraction-empty h2{margin:7px 0;color:#193247}
.attraction-city-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.attraction-city-results>article{align-self:start;padding:17px;border:1px solid #d1d9d5;border-radius:14px;background:#fff}.attraction-city-result-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px}.attraction-city-result-head>span{font-size:28px}.attraction-city-result-head>div{display:grid;gap:2px}.attraction-city-result-head strong{color:#193247;font-size:17px}.attraction-city-result-head small{color:#737d78;font-size:11px;font-weight:750}.attraction-city-result-head>button{padding:8px 11px;border:1px solid #bdcac5;border-radius:8px;color:#193f55;background:#f4f7f5;font-size:11px;font-weight:900;cursor:pointer}.attraction-result-list{display:grid;gap:5px;margin-top:13px;padding-top:12px;border-top:1px solid #e0e5e2}.attraction-result-list>button{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:8px;padding:8px;border:0;border-radius:8px;color:#193247;background:#f7f8f6;text-align:left;cursor:pointer}.attraction-result-list>button>span{font-size:17px}.attraction-result-list>button>strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.attraction-result-list>button>small{color:#8d6b31;font-size:10px;font-weight:850}.attraction-result-list>button>i{color:#89918d;font-style:normal;font-size:17px}
.attraction-budget-card{display:grid;grid-template-columns:minmax(240px,.85fr) minmax(280px,1.15fr);overflow:hidden;border-radius:15px;color:#fff;background:#193f55;box-shadow:0 12px 28px rgba(25,50,71,.12)}.attraction-budget-route{display:grid;align-content:center;padding:23px 25px;border-right:1px solid rgba(255,255,255,.18)}.attraction-budget-route>span{color:#d9b86e;font-size:11px;font-weight:900;text-transform:uppercase}.attraction-budget-route>strong{margin-top:3px;font-size:35px;line-height:1}.attraction-budget-route>small{margin-top:5px;color:#cdd9dc;font-weight:750}.attraction-budget-lines{display:grid;padding:16px 22px}.attraction-budget-lines>span{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.13)}.attraction-budget-lines>span:last-child{border:0}.attraction-budget-lines i{color:#d4dfe1;font-style:normal}.attraction-budget-lines b{font-size:16px}
.date-fallback-note{display:grid;grid-template-columns:auto 1fr;gap:13px;align-items:start;margin:0 0 18px;padding:15px 17px;border:1px solid #d8c188;border-radius:11px;color:#193247;background:#fbf5e8}.date-fallback-note>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;color:#fff;background:#a77c2f;font-size:19px;font-weight:900}.date-fallback-note>div{display:grid;gap:4px}.date-fallback-note strong{font-size:15px}.date-fallback-note p{margin:0;color:#68736e;font-size:12px;line-height:1.45}
@media(max-width:760px){.attraction-picker{padding:22px 16px}.attraction-picker-head,.attraction-result-head{align-items:start;flex-direction:column;gap:12px}.attraction-picker-head>div:last-child{justify-items:start}.attraction-city-tabs{grid-template-columns:1fr}.attraction-swipe-card{grid-template-columns:1fr;min-height:0;border-radius:15px}.attraction-photo{min-height:270px}.attraction-copy{padding:24px 20px}.attraction-copy h3{font-size:29px}.attraction-copy>p{margin:18px 0;font-size:15px}.attraction-actions{gap:9px}.attraction-actions button{min-width:0!important;min-height:56px;padding:8px}.attraction-actions .attraction-finish{grid-column:1/-1}.attraction-actions button>strong{font-size:12px}.attraction-selected-grid,.attraction-city-results{grid-template-columns:1fr}.attraction-budget>div{align-items:start;flex-direction:column;gap:4px}.attraction-budget-card{grid-template-columns:1fr}.attraction-budget-route{border-right:0;border-bottom:1px solid rgba(255,255,255,.18)}}

/* Account-based collaboration room redesign. */
.group-room-view{background:linear-gradient(180deg,#edf2ef 0,#f7f7f3 520px)}
.group-room-view .content{max-width:1280px}.group-room-shell{gap:16px}
.group-room-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.65fr);align-items:stretch;gap:26px;padding:38px;border:0;border-radius:20px;color:#fff;background:radial-gradient(circle at 78% 5%,rgba(222,183,100,.22),transparent 34%),linear-gradient(135deg,#142d40,#1e4558);box-shadow:0 22px 55px rgba(20,45,64,.2)}
.group-room-hero h1{max-width:760px;margin:8px 0 13px;color:#fff;font-size:clamp(34px,4vw,58px);line-height:1.02;letter-spacing:-.035em}.group-room-hero .eyebrow{color:#e2bd70}.group-room-status-row,.group-room-facts{display:flex;flex-wrap:wrap;gap:8px}.group-room-status-row>span,.group-room-facts>span{padding:7px 11px;border-radius:999px;font-size:11px;font-weight:900}.group-room-status{color:#173446;background:#e5bd68}.group-room-status.locked{color:#fff;background:#3a805f}.group-owner-badge,.group-member-badge{color:#dbe6e7;background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}.group-room-route{display:flex;align-items:center;gap:10px!important;color:#dce5e5!important;font-size:18px}.group-room-route b{color:#e2bd70}.group-room-facts{margin-top:20px}.group-room-facts>span{color:#dce5e5;background:rgba(255,255,255,.08)}
.group-room-title-row{display:flex;align-items:center;gap:14px}.group-room-title-row h1{min-width:0}.group-room-title-edit{flex:0 0 auto;padding:7px 11px;border:1px solid rgba(255,255,255,.25);border-radius:999px;color:#e3ebeb;background:rgba(255,255,255,.08);font-size:11px;font-weight:850;cursor:pointer}.group-room-title-edit:hover{color:#173446;background:#e2bd70}.group-room-title-form{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;max-width:760px;margin:8px 0 13px}.group-room-title-form input{min-width:0;height:54px;padding:0 15px;border:2px solid #e2bd70;border-radius:8px;color:#173446;background:#fff;font-size:22px;font-weight:850}.group-room-title-form button{min-height:54px;padding:0 16px}.group-room-title-form small{grid-column:1/-1;color:#ffd5ca}
.group-room-title-form.hidden{display:none}
.group-room-progress-card{display:grid;align-content:center;gap:13px;padding:25px;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:rgba(255,255,255,.09);backdrop-filter:blur(12px)}.group-room-progress-card>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:15px}.group-room-progress-card>div:first-child strong{color:#f1cc79;font-size:38px}.group-room-progress-card>div:first-child span{color:#d9e3e4;font-size:12px;font-weight:800}.group-room-progress-card p{color:#d5dfe0!important;font-size:12px}.group-room-progress-card .primary-button{width:100%;min-height:50px;color:#173446;background:#e4bd6a}.group-progress-track{height:8px;overflow:hidden;border-radius:99px;background:rgba(255,255,255,.15)}.group-progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#e2bd70,#77b795);transition:width .3s ease}
.group-results-section{padding:30px;border:1px solid #cad5cf;border-top:0;border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(20,45,64,.07)}.group-results-section .section-heading{align-items:center}.group-results-grid{gap:10px}.group-results-grid>div{border:0;border-radius:12px;background:#f2f5f2}.group-results-grid p{align-items:center;margin:9px 0 0;padding-top:9px;border-top:1px solid #dce3df}.group-results-grid p strong{display:grid;place-items:center;min-width:31px;height:27px;border-radius:999px;color:#fff;background:#21485b}.group-budget-result{border:1px solid #d9bd80!important;border-radius:12px;background:linear-gradient(145deg,#fbf5e8,#fff)!important}
.group-results-caption{max-width:620px;margin:8px 0 0;color:#6f7b75;font-size:14px;line-height:1.45}.group-results-leaders{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:20px}.group-result-leader{display:grid;align-content:start;gap:8px;min-height:142px;padding:19px;border:1px solid #d7dfda;border-radius:13px;background:#f5f7f4}.group-result-leader>span{color:#7a847f;font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.group-result-leader>strong{color:#193247;font-size:18px;line-height:1.2}.group-result-leader>small{color:#748079;font-size:12px;line-height:1.35}.group-result-leader.has-votes{border-color:#bfcfc7;background:#edf4f0}.group-result-leader.is-included{background:#eef3f5}.group-result-leader.group-budget-result>strong{color:#98702d;font-size:24px}
.group-vote-form{gap:12px;padding:30px;border:1px solid #cad5cf;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(20,45,64,.07)}.group-vote-form::before{content:"Ваш выбор";color:#98702d;font-size:12px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.group-vote-form>section{padding:24px;border:0;border-radius:13px;background:#f4f6f3}.group-vote-form>section .eyebrow{color:#98702d}.group-vote-form>button[type="submit"]{position:sticky;bottom:16px;z-index:12;width:min(100%,520px);min-height:58px;margin:5px auto 0;border-radius:12px;box-shadow:0 14px 30px rgba(20,45,64,.18)}.group-flight-options label>span,.group-route-options label>span,.group-vote-options label>span{overflow:hidden;border-radius:11px;background:#fff}.group-flight-options input:checked+span,.group-route-options input:checked+span,.group-vote-options input:checked+span{border-color:#1d465a!important;outline:2px solid rgba(197,151,66,.55);outline-offset:1px;background:linear-gradient(180deg,#fff9ec,#fff)}
.group-vote-form::before{order:0}.group-vote-form [data-group-route-step]{order:1;background:#f7f3e9}.group-vote-form [data-group-flight-step]{order:2}.group-vote-form [data-group-hotel-step]{order:3}.group-vote-form .group-vote-details{order:4}.group-vote-form>button[type="submit"]{order:5}.group-route-options{grid-template-columns:repeat(2,minmax(0,1fr))}.group-route-options label>span{display:grid;gap:7px;height:100%;padding:18px}.group-route-options label>span small{color:#748079;line-height:1.35}.group-route-options label>span strong{margin-top:6px;color:#98702d}.group-vote-form [data-group-flight-step].hidden{display:none!important}
.group-choice-voters{display:flex;grid-column:1/-1;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding-top:10px;border-top:1px solid #dce3df}.group-voters-label,.group-choice-voters.is-empty>span{color:#7b8580;font-size:10px;font-weight:850;text-transform:uppercase}.group-voter-stack{display:flex;flex-direction:row-reverse;justify-content:flex-end;padding-left:7px}.group-voter-avatar{display:grid;place-items:center;width:29px;height:29px;margin-left:-7px;border:2px solid #fff;border-radius:50%;color:#fff;background:#315c6d;font-size:10px;font-style:normal;font-weight:950;box-shadow:0 2px 7px rgba(20,45,64,.16)}.group-voter-avatar:nth-child(3n+2){background:#a77c32}.group-voter-avatar:nth-child(3n+3){background:#39765a}.group-voter-avatar.is-current{position:relative;z-index:2;color:#193247;background:#efc86f;box-shadow:0 0 0 2px #193f55}.group-choice-voters.is-empty{justify-content:flex-start;opacity:.68}
.group-members-section{padding:30px;border:1px solid #cad5cf;border-radius:16px;background:#fff}.group-participant-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:0}.group-participant-list article{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:15px;border:0;border-radius:12px;background:#f3f6f3}.group-participant-list article.is-current{box-shadow:inset 0 0 0 1px #c4a05e;background:#fbf7ee}.group-participant-list article>div{display:grid;gap:2px}.group-participant-list article small{grid-column:auto;color:#75807b}.group-member-avatar{display:grid!important;place-items:center;width:42px;height:42px;border-radius:50%;color:#fff;background:#254d60;font-weight:950}.group-member-state{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:#77827c;background:#e1e7e3}.group-member-state.is-ready{color:#fff;background:#3a805f}
.group-members-caption{margin:7px 0 0;color:#748079;font-size:12px;font-weight:750}
.group-room-load-error{max-width:760px;margin:40px auto;padding:45px;border:1px solid #d8c9a9;border-radius:16px;background:#fff}.group-room-load-error h1{margin:7px 0 12px;color:#193247}.group-room-load-error p:not(.eyebrow){color:#6f7974}.group-room-load-error .primary-button{margin-top:18px}
@media(max-width:1000px){.group-results-leaders{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.group-room-hero{grid-template-columns:1fr;padding:25px 20px}.group-room-hero h1{font-size:36px}.group-room-progress-card{padding:19px}.group-results-section,.group-vote-form,.group-members-section{padding:20px 15px}.group-participant-list{grid-template-columns:1fr}.group-route-options{grid-template-columns:1fr}.group-vote-form>button[type="submit"]{bottom:9px}.group-room-view .content{width:100%}}
@media(max-width:560px){.group-results-leaders{grid-template-columns:1fr}.group-result-leader{min-height:0}}
@media(max-width:620px){.group-room-link-actions{grid-template-columns:1fr}}
@media(max-width:560px){.group-auth-dialog{padding:25px 20px}.group-auth-dialog h2{font-size:26px}}

/* Narrow-phone overflow safeguards. */
@media (max-width: 620px) {
  .planner-experiment .cjm-entry-grid {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .planner-experiment .planner-experiment-hero,
  .planner-experiment .planner-experiment-copy,
  .planner-experiment .planner-experiment-carousel,
  .planner-experiment .planner-experiment-carousel .cjm-board-route,
  .planner-experiment .planner-experiment-carousel .cjm-board-route > div,
  .planner-experiment .cjm-workspace,
  .planner-experiment .cjm-console,
  .planner-experiment .search-form,
  .planner-experiment .search-form > * {
    min-width: 0;
    max-width: 100%;
  }

  .planner-experiment .planner-experiment-carousel .cjm-board-route {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 12px;
  }

  .planner-experiment .planner-experiment-carousel .cjm-board-route strong,
  .planner-experiment .planner-experiment-carousel .cjm-idea-ticker span,
  .planner-experiment .planner-experiment-carousel .cjm-reel-track b {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .legal-page,
  .legal-header,
  .legal-section,
  .legal-page p,
  .legal-page li,
  .legal-page a {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 340px) {
  .destination-route {
    gap: 5px;
    padding-inline: 10px;
  }

  .destination-route b {
    min-width: 48px;
    padding-inline: 7px;
    font-size: 17px;
  }

  .destination-route i {
    font-size: 18px;
  }
}

/* Mobile-only planner prototype. Kept behind /planner-test. */
.mobile-planner-submit { display: none; }

@media (max-width: 620px) {
  html.mobile-planner-test { scroll-padding-bottom: 86px; }
  body.mobile-planner-test { padding-bottom: env(safe-area-inset-bottom); }

  .mobile-planner-test .cjm-shell { gap: 12px; padding: 10px 10px 22px; overflow: visible; }
  .mobile-planner-test .cjm-topnav {
    grid-template-columns: 1fr auto;
    align-items: center;
    position: relative;
    padding: 2px 2px 6px;
  }
  .mobile-planner-test .cjm-logo-lockup .brand-logo {
    width: 96px;
    height: 52px;
    flex-basis: 96px;
    border-radius: 0;
  }
  .mobile-planner-test .mobile-nav-toggle {
    display: grid;
    place-content: center;
    gap: 4px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid #c7d0cc;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(25,50,71,.08);
  }
  .mobile-planner-test .mobile-nav-toggle span { width: 20px; height: 2px; border-radius: 2px; background: #193247; }
  .mobile-planner-test .cjm-topnav nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 4px;
    padding: 6px;
    overflow: visible;
    border-radius: 12px;
    background: #fff;
  }
  .mobile-planner-test .cjm-topnav nav.is-open { display: grid; }
  .mobile-planner-test .cjm-topnav nav a { justify-content: flex-start; min-height: 46px; padding: 0 14px; font-size: 14px; }

  /* Keep a compact product introduction without pushing the form off-screen. */
  .mobile-planner-test .planner-experiment-hero {
    display: grid;
    padding: 25px 20px 20px;
    border-radius: 16px;
    background: radial-gradient(circle at 100% 0, rgba(222,184,102,.24), transparent 38%), linear-gradient(145deg, #173148, #245763);
    box-shadow: 0 14px 30px rgba(20,45,64,.16);
  }
  .mobile-planner-test .planner-experiment-copy > .eyebrow { display: block; margin: 0 0 8px; color: #e4bd69; font-size: 10px; }
  .mobile-planner-test .planner-experiment-copy > p:not(.eyebrow) { display: block; margin: 13px 0 0; color: #dce5e6; font-size: 14px; line-height: 1.42; }
  .mobile-planner-test .planner-hero-actions .hero-secondary-cta { display: none; }
  .mobile-planner-test .planner-experiment-copy h1 { max-width: 340px; margin: 0; font-size: 32px; line-height: 1.02; }
  .mobile-planner-test .planner-hero-actions { display: block; margin-top: 17px; }
  .mobile-planner-test .planner-hero-actions button { width: 100%; min-height: 50px; }
  .mobile-planner-test .planner-hero-proof { display: flex; gap: 6px; margin-top: 13px; }
  .mobile-planner-test .planner-hero-proof span { padding: 5px 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #e6eeee; background: rgba(255,255,255,.07); font-size: 9px; }
  .mobile-planner-test .planner-hero-proof strong { display: none; }
  .mobile-planner-test .planner-experiment-carousel,
  .mobile-planner-test .planner-hero-benefits,
  .mobile-planner-test .planner-hero-links { display: none; }

  .mobile-planner-test .cjm-entry-grid {
    display: flex;
    gap: 6px;
    margin: -2px -10px 0;
    padding: 0 10px 2px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .mobile-planner-test .cjm-entry-card,
  .mobile-planner-test .cjm-entry-card.highlighted,
  .mobile-planner-test .cjm-entry-card.premium,
  .mobile-planner-test .cjm-entry-card.inspire {
    display: flex;
    flex: 0 0 auto;
    grid-template-columns: none;
    align-items: center;
    gap: 7px;
    min-height: 46px;
    padding: 6px 11px;
    border-radius: 999px;
    scroll-snap-align: start;
  }
  .mobile-planner-test .cjm-entry-card > span { width: 28px; height: 28px; font-size: 10px; }
  .mobile-planner-test .cjm-entry-card strong { font-size: 13px; white-space: nowrap; }
  .mobile-planner-test .cjm-entry-card small,
  .mobile-planner-test .cjm-entry-card em { display: none; }
  .mobile-planner-test .planner-journey { display: none; }
  .mobile-planner-test .cjm-assumptions,
  .mobile-planner-test #recent-searches,
  .mobile-planner-test .result-shell.empty,
  .mobile-planner-test .site-footer > span { display: none; }
  body.mobile-planner-test:not([data-cjm-mode="deals"]) #deals-shell { display: none; }

  .mobile-planner-test .site-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 10px 4px 76px;
    font-size: 11px;
  }

  .mobile-planner-test .cjm-console { border-radius: 14px; box-shadow: 0 10px 25px rgba(25,50,71,.08); }
  .mobile-planner-test .cjm-console-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 14px; }
  .mobile-planner-test .cjm-console-head > span { display: none; }
  .mobile-planner-test .cjm-console-head #cjm-console-title { font-size: 19px; }
  .mobile-planner-test .cjm-console-origin { margin: 0; white-space: nowrap; }
  .mobile-planner-test .search-form { gap: 8px; padding: 10px; }
  .mobile-planner-test .search-form > label,
  .mobile-planner-test .group-party-fields,
  .mobile-planner-test .switch-row { padding: 9px 10px; }
  .mobile-planner-test .search-form input,
  .mobile-planner-test .search-form select,
  .mobile-planner-test .date-display { min-height: 44px; font-size: 16px; }
  .mobile-planner-test .date-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .mobile-planner-test .date-field { min-width: 0; padding: 8px; }
  .mobile-planner-test .date-display { padding-inline: 9px 28px; font-size: 14px; }
  .mobile-planner-test .group-party-fields { grid-template-columns: 1fr 1fr; gap: 5px 10px; }
  .mobile-planner-test .group-counter-field { display: grid; justify-items: stretch; gap: 6px; }
  .mobile-planner-test .group-counter { grid-template-columns: 44px minmax(28px,1fr) 44px; width: 100%; }
  .mobile-planner-test .group-counter button { min-width: 44px; height: 44px; }
  .mobile-planner-test .group-allocation { display: none; }
  .mobile-planner-test .switch-row { min-height: 46px; }
  .mobile-planner-test .switch-row input { min-width: 24px; min-height: 24px; }
  .mobile-planner-test .search-form > .primary-button { min-height: 52px; }

  .mobile-planner-test .section-block,
  .mobile-planner-test .progress-card,
  .mobile-planner-test .flight-card,
  .mobile-planner-test .hotel-card,
  .mobile-planner-test .summary-card { border-radius: 12px; box-shadow: 0 7px 18px rgba(25,50,71,.06); }
  .mobile-planner-test .section-heading h2 { font-size: 27px; }

  /* Dense result cards: keep decision data, remove presentation whitespace. */
  .mobile-planner-test .ticket-choice-section,
  .mobile-planner-test .hotel-section { padding: 18px 12px; }
  .mobile-planner-test .ticket-choice-section > .section-heading,
  .mobile-planner-test .hotel-section > .section-heading { margin-bottom: 12px; }
  .mobile-planner-test .ticket-choice-section > .section-heading > p { display: none; }
  .mobile-planner-test .ticket-choice-grid { gap: 8px; }
  .mobile-planner-test .ticket-choice-card { gap: 8px; padding: 12px; border-radius: 11px; }
  .mobile-planner-test .ticket-choice-badge { min-height: 22px; margin: -12px 0 0 -12px; padding: 5px 9px; font-size: 8px; }
  .mobile-planner-test .ticket-choice-airline { grid-template-columns: 38px minmax(0,1fr) auto; gap: 9px; }
  .mobile-planner-test .ticket-choice-airline img,
  .mobile-planner-test .ticket-choice-airline > span { width: 38px; height: 30px; }
  .mobile-planner-test .ticket-choice-airline strong { font-size: 14px; }
  .mobile-planner-test .ticket-choice-airline small { font-size: 10px; }
  .mobile-planner-test .ticket-choice-leg { grid-template-columns: 42px minmax(48px,.75fr) minmax(62px,1fr) minmax(48px,.75fr); gap: 3px; padding-top: 7px; }
  .mobile-planner-test .ticket-choice-leg span { font-size: 10px; }
  .mobile-planner-test .ticket-choice-leg b { font-size: 15px; }
  .mobile-planner-test .ticket-choice-leg b small,
  .mobile-planner-test .ticket-choice-leg i em,
  .mobile-planner-test .ticket-choice-leg i small { font-size: 8px; }
  .mobile-planner-test .ticket-choice-price { align-items: center; padding-top: 8px; }
  .mobile-planner-test .ticket-choice-price strong { font-size: 21px; }
  .mobile-planner-test .ticket-choice-price span { font-size: 10px; }

  .mobile-planner-test .flight-card { gap: 9px; padding: 12px; }
  .mobile-planner-test .flight-mainline { grid-template-columns: 40px minmax(0,1fr) auto; gap: 9px; }
  .mobile-planner-test .airline-logo { width: 40px; height: 40px; }
  .mobile-planner-test .flight-mainline h2 { margin: 2px 0; font-size: 19px; }
  .mobile-planner-test .flight-mainline .eyebrow { font-size: 9px; }
  .mobile-planner-test .flight-pricebox .price { font-size: 19px; }
  .mobile-planner-test .flight-pricebox .price-note { font-size: 9px; }
  .mobile-planner-test .flight-details { padding-top: 8px; }
  .mobile-planner-test .flight-card .affiliate-note { display: none; }
  .mobile-planner-test .flight-card .secondary-button { min-height: 44px; }

  .mobile-planner-test .hotel-rating-tabs { gap: 6px; margin-bottom: 10px; }
  .mobile-planner-test .hotel-rating-tab { flex-basis: 164px; min-height: 52px; padding: 7px 10px; }
  .mobile-planner-test .hotel-rating-tab strong { font-size: 13px; }
  .mobile-planner-test .hotel-rating-tab span { font-size: 10px; }
  .mobile-planner-test .hotel-rating-panel .hotels-grid { padding-bottom: 9px; }
  .mobile-planner-test .hotel-rating-panel .hotel-card {
    grid-template-columns: 92px minmax(0,1fr);
    grid-template-rows: 1fr;
    flex-basis: min(310px, 84vw);
    gap: 10px;
    padding: 10px;
  }
  .mobile-planner-test .hotel-card .hotel-image { width: 92px; height: 92px; aspect-ratio: 1; border-radius: 7px; }
  .mobile-planner-test .hotel-card-body { grid-template-rows: auto auto auto auto; gap: 7px; }
  .mobile-planner-test .hotel-card-head h3 { min-height: 0; margin: 3px 0 0; font-size: 16px; line-height: 1.12; }
  .mobile-planner-test .hotel-provider-row span { padding: 3px 6px; font-size: 10px; }
  .mobile-planner-test .hotel-facts { min-height: 0; gap: 3px 7px; font-size: 9px; }
  .mobile-planner-test .hotel-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 7px; padding: 7px 8px; }
  .mobile-planner-test .hotel-price span { display: none; }
  .mobile-planner-test .hotel-price strong { font-size: 18px; }
  .mobile-planner-test .hotel-price small { font-size: 9px; }
  .mobile-planner-test .hotel-card .ghost-button { min-height: 40px; padding: 0 9px; font-size: 11px; }
  .mobile-planner-test .selected-hotel-badge { top: 7px; right: 7px; padding: 4px 7px; font-size: 9px; }
  .mobile-planner-test .attraction-addon-cta { width: 100%; min-height: 56px; margin-top: 4px; border-radius: 12px; }

  .mobile-planner-test .mobile-planner-submit {
    position: fixed;
    z-index: 70;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 0 20px;
    border: 0;
    border-radius: 13px;
    color: #fff;
    background: #193247;
    box-shadow: 0 14px 34px rgba(16,39,55,.32);
    font-weight: 900;
    transform: translateY(calc(100% + 30px));
    transition: transform .2s ease;
  }
  .mobile-planner-test .mobile-planner-submit.is-visible { display: flex; transform: translateY(0); }
  .mobile-planner-test .mobile-planner-submit:disabled { color: #8e9ca4; background: #d9dfdc; box-shadow: none; }
}

@media (max-width: 360px) {
  .mobile-planner-test .date-grid { grid-template-columns: 1fr; }
  .mobile-planner-test .planner-experiment-copy h1 { font-size: 28px; }
}
