/* The selected Pearl planner: one consistent layout on every public search. */
body[data-search-scheme] {
  --search-ink:#17374b;
  --search-muted:#506d80;
  --search-line:#c8d7e1;
  --search-focus:#507c98;
}
body[data-search-scheme] .quote-form,
body[data-search-scheme] .quote-form[data-trip-mode] {
  display:block;position:relative;isolation:isolate;padding:23px 25px 20px;
  border:1px solid #ffffffba;border-radius:18px;
  background:linear-gradient(120deg,#f3f8fc59,#edf5fa45);
  color:var(--search-ink);-webkit-backdrop-filter:blur(18px) saturate(1.15);backdrop-filter:blur(18px) saturate(1.15);
  box-shadow:0 16px 45px #102b401c,inset 0 1px #ffffffad;
}
body[data-search-scheme] .quote-form .quote-topline {
  display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:5px;
  min-height:0;margin:0;padding:0 0 18px;border:0;border-radius:0;background:none;box-shadow:none;
}
body[data-search-scheme] .quote-form .quote-title {
  margin:0;font-size:27px;font-weight:600;letter-spacing:-.04em;line-height:1.2;color:#13354a;
}
body[data-search-scheme] .quote-form .journey-caption {font-size:12px;line-height:1.5;font-weight:500;letter-spacing:.015em;color:#3a5a70;}
body[data-search-scheme] .quote-form .sector-list {display:grid;gap:12px;padding:0;}
body[data-search-scheme] .quote-form .sector-row,
body[data-search-scheme] .quote-form .sector-row.is-multi,
body[data-search-scheme] .quote-form .sector-row.has-remove {
  display:grid;grid-template-columns:60px minmax(0,1fr) minmax(0,1fr) 185px 132px 52px;
  gap:0;min-height:0;padding:0;border:1px solid #d0dce5;border-radius:11px;
  background:#ffffffd6;box-shadow:0 3px 10px #183d5208;
}
body[data-search-scheme] .quote-form .sector-rail {
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  grid-column:1;grid-row:1;border-right:1px solid #cfdee7;border-radius:10px 0 0 10px;
  background:#e7eff5;color:#244d67;
}
body[data-search-scheme] .quote-form .sector-rail small {font-size:9px;font-weight:600;line-height:1.2;letter-spacing:.02em;}
body[data-search-scheme] .quote-form .sector-rail strong {font-size:21px;font-weight:600;line-height:1.1;font-variant-numeric:tabular-nums;}
body[data-search-scheme] .quote-form .sector-row>.field {
  display:flex;justify-content:center;min-width:0;min-height:72px;padding:12px 16px;
  border:0;border-right:1px solid #d0dce5;border-radius:0;background:transparent;box-shadow:none;
  transition:background .15s,box-shadow .15s;
}
body[data-search-scheme] .quote-form .sector-row>.field:hover {background:#f6fafdb8;}
body[data-search-scheme] .quote-form .sector-row>.field:focus-within {background:#fff;box-shadow:inset 0 -2px var(--search-focus);}
body[data-search-scheme] .quote-form .sector-row>.field-time {border-right:0;}
body[data-search-scheme] .quote-form .airport-input-wrap {gap:10px;}
body[data-search-scheme] .quote-form .airport-icon {
  display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;padding:0;
  border-radius:8px;background:#eaf2f7;color:#3a667f;box-shadow:none;
}
body[data-search-scheme] .quote-form .airport-icon svg {width:23px;height:23px;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;fill:none;}
body[data-search-scheme] .quote-form .field>label,
body[data-search-scheme] .quote-form .airport-field-copy>label {
  margin-bottom:5px;font-size:10px;font-weight:600;line-height:1.2;letter-spacing:.055em;color:#536f81;
}
body[data-search-scheme] .quote-form .airport-name-sizer,
body[data-search-scheme] .quote-form .airport-name-wrap>.airport-input {
  height:24px;line-height:24px;font-size:14px;font-weight:600;color:var(--search-ink);
}
body[data-search-scheme] .quote-form .airport-name-wrap>.airport-input::placeholder {color:#244a63;font-size:14px;font-weight:500;}
body[data-search-scheme] .quote-form .airport-value-line {gap:6px;}
body[data-search-scheme] .quote-form .airport-value-line>.airport-subtext {font-size:9px;font-weight:500;line-height:24px;letter-spacing:.02em;color:#6a8293;}
body[data-search-scheme] .quote-form .airport-clear {width:26px;height:26px;flex:0 0 26px;border:0;border-radius:50%;background:#edf3f7;color:#708b9b;}
@media (hover: hover) {
  body[data-search-scheme] .quote-form .airport-clear:hover { background: #c63244; color: #fff; }
}
body[data-search-scheme] .quote-form .airport-clear:active,
body[data-search-scheme] .quote-form .airport-clear:focus-visible { background: #c63244; color: #fff; }
body[data-search-scheme] .quote-form .sector-row>.field-date,
body[data-search-scheme] .quote-form .sector-row>.field-time {background:#f5f9fcc9;gap:0;}
body[data-search-scheme] .quote-form .date-trigger,
body[data-search-scheme] .quote-form .time-trigger {
  min-height:25px;width:100%;gap:8px;color:var(--search-ink);font-size:14px;font-weight:600;line-height:25px;
}
body[data-search-scheme] .quote-form .date-trigger>svg,
body[data-search-scheme] .quote-form .time-trigger>svg {width:17px;height:17px;flex:none;stroke:#52778f;}
body[data-search-scheme] .quote-form .booking-control-copy {flex:1;text-align:left;}
body[data-search-scheme] .quote-form .date-trigger>span[aria-hidden],
body[data-search-scheme] .quote-form .time-trigger>span[aria-hidden] {font-size:11px;color:#6e8797;}
body[data-search-scheme] .quote-form .field input[type=time] {width:100%;height:25px;min-height:25px;padding:0;font-family:inherit;font-size:14px;font-weight:600;line-height:25px;color:var(--search-ink);color-scheme:light;}
body[data-search-scheme] .quote-form .sector-actions,
body[data-search-scheme] .quote-form .sector-actions.is-empty {
  display:grid;grid-column:6;grid-row:1;min-width:0;border-left:1px solid #e5cdcf;
  border-radius:0 10px 10px 0;background:#fbe8e9;
}
body[data-search-scheme] .quote-form .sector-actions.is-empty {border-left-color:#d0dce5;background:#f8fafb;}
body[data-search-scheme] .quote-form .sector-actions .remove-sector {
  position:static;inset:auto;display:grid;place-items:center;align-self:stretch;transform:none;
  width:100%;height:100%;min-width:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:inherit;
  background:transparent;color:#b14b55;font-family:inherit;font-size:32px;font-weight:400;line-height:1;
  transition:background .15s,color .15s;
}
body[data-search-scheme] .quote-form .sector-actions .remove-sector:hover,
body[data-search-scheme] .quote-form .sector-actions .remove-sector:active,
body[data-search-scheme] .quote-form .sector-actions .remove-sector:focus-visible {background:#e33443;color:#fff;}
body[data-search-scheme] .quote-form .sector-actions .remove-sector:focus-visible {outline-offset:-3px;outline-color:#851d28;}
body[data-search-scheme] .quote-form .quote-actions {
  display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:16px;
  padding:18px 0 0;margin:0;
}
body[data-search-scheme] .quote-form .journey-additions {display:flex;align-items:center;justify-content:center;grid-column:2;}
body[data-search-scheme] .quote-form .journey-additions>button {
  display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:none;min-width:200px;min-height:49px;
  padding:12px 28px;border:1px solid #7899ad;border-radius:9px;background:#edf5facc;color:#214d68;
  box-shadow:0 2px 5px #173d5010;font-family:inherit;font-size:13px;font-weight:650;line-height:1.4;text-decoration:none;
  transition:background .15s,border-color .15s;
}
body[data-search-scheme] .quote-form .journey-additions>button>span[aria-hidden] {display:block;width:auto;height:auto;border:0;border-radius:0;background:none;color:inherit;font-size:21px;font-weight:400;line-height:1;}
body[data-search-scheme] .quote-form .journey-additions>button:hover {background:#dcecf6;border-color:#3c6985;}
body[data-search-scheme] .quote-form .quote-submit {
  display:flex;align-items:center;justify-content:center;grid-column:3;justify-self:end;
  width:214px;min-width:0;min-height:51px;height:auto;margin:0;padding:13px 25px;
  border:1px solid #ffffff45;border-radius:9px;background:linear-gradient(120deg,#183b50,#2b5b73);color:#fff;
  box-shadow:0 5px 14px #15374d24,inset 0 1px #ffffff21;font-size:14px;font-weight:650;line-height:1.5;
  transition:filter .15s,box-shadow .15s;
}
body[data-search-scheme] .quote-form .quote-submit:hover {filter:brightness(1.1);box-shadow:0 6px 18px #15374d32;transform:none;}
body[data-search-scheme] .quote-form .quote-submit:disabled {opacity:.75;}
body[data-search-scheme] .quote-form>.form-message {margin:14px 0 0;}
body[data-search-scheme] .quote-form button:focus-visible {outline:2px solid #507c98;outline-offset:3px;}
body[data-search-scheme] .quote-form .airport-results {min-width:0;width:100%;color:#193344;background:#fff;text-shadow:none;}
body[data-search-scheme] .quote-form .airport-results strong {color:#193344;}
body[data-search-scheme].page-empty-legs .empty-leg-request .quote-form {display:none;}
/* Keep returned flight options in the white section below the hero. */
@media(min-width:981px) {
  body[data-search-scheme].page-home .home-quote {--planner-overlap:270px;margin-top:calc(-1 * var(--planner-overlap));}
}
@media(max-width:1100px) and (min-width:761px) {
  body[data-search-scheme] .quote-form {padding:20px;}
  body[data-search-scheme] .quote-form .sector-row,
  body[data-search-scheme] .quote-form .sector-row.is-multi,
  body[data-search-scheme] .quote-form .sector-row.has-remove {grid-template-columns:48px minmax(0,1fr) minmax(0,1fr) 156px 115px 48px;}
  body[data-search-scheme] .quote-form .sector-row>.field {padding-inline:10px;}
  body[data-search-scheme] .quote-form .airport-icon {display:none;}
  body[data-search-scheme] .quote-form .sector-actions .remove-sector {min-width:40px;}
  body[data-search-scheme] .quote-form .date-trigger,
  body[data-search-scheme] .quote-form .time-trigger {font-size:13px;gap:5px;}
}
@media(max-width:760px) {
  body[data-search-scheme].page-home .home-quote {margin-top:-23px;}
  body[data-search-scheme] .quote-form,
  body[data-search-scheme] .quote-form[data-trip-mode] {padding:18px 14px 15px;border-radius:15px;background:linear-gradient(120deg,#eff6fb70,#f4f8fc59);}
  body[data-search-scheme] .quote-form .quote-topline {gap:4px;padding-bottom:15px;}
  body[data-search-scheme] .quote-form .quote-title {font-size:24px;}
  body[data-search-scheme] .quote-form .journey-caption {font-size:11px;}
  body[data-search-scheme] .quote-form .sector-list {gap:13px;}
  body[data-search-scheme] .quote-form .sector-row,
  body[data-search-scheme] .quote-form .sector-row.is-multi,
  body[data-search-scheme] .quote-form .sector-row.has-remove {grid-template-columns:1fr 1fr;border-radius:10px;}
  body[data-search-scheme] .quote-form .sector-rail {
    grid-column:1;grid-row:1;flex-direction:row;justify-content:flex-start;gap:5px;padding:0 12px;
    min-height:44px;border:0;border-bottom:1px solid #d5e2ea;border-radius:9px 0 0 0;background:#e8f0f6;
  }
  body[data-search-scheme] .quote-form .sector-rail small,
  body[data-search-scheme] .quote-form .sector-rail strong {font-size:14px;font-weight:650;line-height:1.4;}
  body[data-search-scheme] .quote-form .sector-actions,
  body[data-search-scheme] .quote-form .sector-actions.is-empty {
    grid-column:2;grid-row:1;display:flex;justify-content:flex-end;border:0;border-bottom:1px solid #d5e2ea;border-radius:0 9px 0 0;background:#e8f0f6;
  }
  body[data-search-scheme] .quote-form .sector-actions .remove-sector {width:58px;min-width:58px;min-height:44px;border-left:1px solid #e8cdd0;border-radius:0 9px 0 0;background:#fbe8e9;font-size:29px;}
  body[data-search-scheme] .quote-form .sector-actions .remove-sector:hover,
  body[data-search-scheme] .quote-form .sector-actions .remove-sector:active {background:#e33443;}
  body[data-search-scheme] .quote-form .sector-row>.field-origin {grid-column:1/-1;grid-row:2;}
  body[data-search-scheme] .quote-form .sector-row>.field-destination {grid-column:1/-1;grid-row:3;}
  body[data-search-scheme] .quote-form .sector-row>.field-origin,
  body[data-search-scheme] .quote-form .sector-row>.field-destination {min-height:60px;padding:8px 12px;border:0;border-bottom:1px solid #d0dce5;border-radius:0;}
  body[data-search-scheme] .quote-form .sector-row>.field-date {grid-column:1;grid-row:4;border-radius:0 0 0 9px;}
  body[data-search-scheme] .quote-form .sector-row>.field-time {grid-column:2;grid-row:4;border-radius:0 0 9px 0;}
  body[data-search-scheme] .quote-form .sector-row>.field-date,
  body[data-search-scheme] .quote-form .sector-row>.field-time {min-height:60px;padding:8px 12px;}
  body[data-search-scheme] .quote-form .field>label,
  body[data-search-scheme] .quote-form .airport-field-copy>label {font-size:9px;margin-bottom:5px;}
  body[data-search-scheme] .quote-form .airport-input-wrap {gap:10px;}
  body[data-search-scheme] .quote-form .airport-icon {width:31px;height:31px;flex:0 0 31px;}
  body[data-search-scheme] .quote-form .airport-name-sizer,
  body[data-search-scheme] .quote-form .airport-name-wrap>.airport-input,
  body[data-search-scheme] .quote-form .airport-name-wrap>.airport-input::placeholder {font-size:16px;}
  body[data-search-scheme] .quote-form .airport-value-line>.airport-subtext {font-size:10px;}
  body[data-search-scheme] .quote-form .airport-clear {width:28px;height:28px;flex-basis:28px;}
  body[data-search-scheme] .quote-form .date-trigger,
  body[data-search-scheme] .quote-form .time-trigger {font-size:14px;gap:6px;}
  body[data-search-scheme] .quote-form .date-trigger>svg,
  body[data-search-scheme] .quote-form .time-trigger>svg {width:15px;height:15px;}
  body[data-search-scheme] .quote-form .field input[type=time] {font-size:16px;line-height:25px;}
  body[data-search-scheme] .quote-form .quote-actions {grid-template-columns:1fr 1fr;gap:10px;padding-top:15px;}
  body[data-search-scheme] .quote-form .journey-additions {grid-column:1;min-width:0;}
  body[data-search-scheme] .quote-form .journey-additions>button,
  body[data-search-scheme] .quote-form .quote-submit {width:100%;min-width:0;min-height:48px;padding:12px 8px;font-size:13px;}
  body[data-search-scheme] .quote-form .quote-submit {grid-column:2;}
}
@media(max-width:359px) {
  body[data-search-scheme] .quote-form {padding-inline:11px;}
  body[data-search-scheme] .quote-form .sector-row>.field-date,
  body[data-search-scheme] .quote-form .sector-row>.field-time {padding-inline:10px;}
  body[data-search-scheme] .quote-form .date-trigger {font-size:12px;}
  body[data-search-scheme] .quote-form .date-trigger>svg {display:none;}
  body[data-search-scheme] .quote-form .quote-actions button {font-size:12px;}
}
/* The time cell is one tap target, including its label and padding. */
body[data-search-scheme] .quote-form .field-time { position: relative; }
body[data-search-scheme] .quote-form .field-time .time-trigger { position: static; }
body[data-search-scheme] .quote-form .field-time .time-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  cursor: pointer;
}
/* Native numeric entry with a compact AM/PM selector. */
dialog.time-popover {
  padding: 16px;
  border: 1px solid #c8d7e1;
  border-radius: 15px;
  background: #fff;
  color: #16374b;
  box-shadow: 0 14px 46px #102b4033;
}
.time-popover .booking-picker-heading {
  align-items: center;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}
.time-popover .booking-picker-heading strong { font-size: 18px; font-weight: 650; }
.time-popover .booking-picker-close { background: #eef3f6; color: #35596d; }
.time-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 10px; margin-bottom: 14px; text-align: center; }
.time-popover .time-digits {
  width: 100%; min-width: 0; height: 64px; padding: 6px 12px; box-sizing: border-box;
  border: 1px solid #c5d7e2; border-radius: 10px; background: #f3f7fa;
  color: #193d53; font: inherit; font-size: 34px; font-weight: 650; line-height: 1.2;
  font-variant-numeric: tabular-nums; letter-spacing: .06em; text-align: center;
}
.time-popover .time-digits::placeholder { color: #91a6b5; }
.time-popover .time-digits:focus { outline: 2px solid #6391ab; outline-offset: 2px; }
.time-popover .time-digits[aria-invalid=true] { border-color: #b24c5e; outline-color: #b24c5e; }
.time-period { display: grid; grid-template-columns: repeat(2, 48px); align-items: stretch; gap: 3px; padding: 4px; border: 1px solid #c5d7e2; border-radius: 10px; background: #f3f7fa; }
.time-period button { min-width: 0; min-height: 44px; padding: 0 6px; border: 0; border-radius: 7px; background: transparent; color: #456478; font: inherit; font-size: 14px; font-weight: 650; touch-action: manipulation; }
.time-period button[aria-pressed=true] { background: #20465c; color: #fff; box-shadow: 0 2px 4px #17394f1a; }
.time-period button:hover:not([aria-pressed=true]) { background: #e1ecf3; }
.time-popover .time-error { margin: 10px 0 0; color: #993445; font-size: 12px; }
.time-popover .time-apply {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  border: 1px solid #193c51;
  border-radius: 9px;
  background: #20465c;
  color: #fff;
  font-weight: 650;
}
.time-popover .time-apply:hover { background: #17394f; }
@media (max-width: 600px) {
  dialog.time-popover { padding: 16px 16px max(16px, env(safe-area-inset-bottom)); }

}
@media(prefers-reduced-motion:reduce) {
  body[data-search-scheme] .quote-form .quote-submit,
  body[data-search-scheme] .quote-form .journey-additions>button,
  body[data-search-scheme] .quote-form .sector-row>.field,
  body[data-search-scheme] .quote-form .sector-actions .remove-sector {transition:none;}
}

/* A clear glass heading and an outlined next-leg action. */
body[data-search-scheme] .quote-form .quote-topline {
  padding:14px 18px;margin-bottom:16px;border-radius:10px;
  background:linear-gradient(110deg,#13384be6,#214b61c9);border:1px solid #ffffff24;
  box-shadow:inset 0 1px #ffffff10;
}
body[data-search-scheme] .quote-form .quote-title {color:#fff;font-size:26px;}
body[data-search-scheme] .quote-form .journey-caption {color:#edf6fb;font-size:12px;}
body[data-search-scheme] .quote-form .quote-actions {grid-template-columns:minmax(0,1fr) 214px;gap:16px;}
body[data-search-scheme] .quote-form .journey-additions {grid-column:1;width:100%;}
body[data-search-scheme] .quote-form .journey-additions>button {width:100%;min-width:0;border:1.5px dashed #507993;background:#f4f9fccf;min-height:51px;font-size:14px;}
body[data-search-scheme] .quote-form .journey-additions>button:hover {border-style:solid;background:#e4f0f8;}
body[data-search-scheme] .quote-form .quote-submit {grid-column:2;}
@media(max-width:760px) {
 body[data-search-scheme] .quote-form .quote-topline {padding:13px 14px;gap:3px;margin-bottom:13px;}
 body[data-search-scheme] .quote-form .quote-title {font-size:23px;}
 body[data-search-scheme] .quote-form .journey-caption {font-size:11px;}
 body[data-search-scheme] .quote-form .quote-actions {grid-template-columns:1fr 1fr;gap:10px;}
 body[data-search-scheme] .quote-form .journey-additions>button,
 body[data-search-scheme] .quote-form .quote-submit {min-height:49px;font-size:12px;padding-inline:8px;}
 body[data-search-scheme] .quote-form .journey-additions>button {gap:6px;}
}
/* Monetary values align to the right in quote cards, offers and requests. */
.result-price-panel {text-align:right;}
.result-price-panel .result-price {text-align:right;justify-content:flex-end;}
.result-price-panel .price-saving {justify-content:flex-end;justify-items:end;}
.offer-price-panel .offer-price-original {text-align:right;}
.offer-price-panel .offer-price-original .price-saving {justify-items:end;}
.selected-total-price,.selected-total-price>strong {text-align:right;justify-content:flex-end;}
.page-destination .dest-starting-price {text-align:right;justify-items:end;}
.page-destination .dest-price-value {justify-content:flex-end;}
/* The heading sits directly on the glass, without a separate title box. */
body[data-search-scheme] .quote-form,
body[data-search-scheme] .quote-form[data-trip-mode] {
 background:linear-gradient(180deg,#11364ad4 0,#224b6099 98px,#edf5fa45 210px);
}
body[data-search-scheme] .quote-form .quote-topline {background:none;border:0;border-radius:0;box-shadow:none;padding:0 0 17px;margin:0;}
body[data-search-scheme] .quote-form .quote-title {text-shadow:0 1px 8px #09243830;}
body[data-search-scheme] .quote-form .journey-caption {color:#f1f7fb;text-shadow:0 1px 6px #09243840;}
@media(max-width:760px) {body[data-search-scheme] .quote-form .quote-topline {padding:0 0 14px;}}

/* Keep the title outside the glass controls, without a banner or extra frame. */
body[data-search-scheme] .quote-form,
body[data-search-scheme] .quote-form[data-trip-mode] {padding:0;border:0;border-radius:0;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;}
body[data-search-scheme] .quote-form .quote-topline {display:flex;flex-direction:row;align-items:baseline;justify-content:space-between;gap:16px;padding:0 5px 12px;margin:0;border:0;border-radius:0;background:none;box-shadow:none;}
body[data-search-scheme] .quote-form .quote-title {font-size:24px;line-height:1.25;font-weight:600;color:#17374b;text-shadow:none;}
body[data-search-scheme] .quote-form .journey-caption {font-size:11px;line-height:1.4;color:#4b6b80;text-shadow:none;}
body[data-search-scheme].page-home .quote-form .quote-title {color:#fff;text-shadow:0 1px 10px #06213780;}
body[data-search-scheme].page-home .quote-form .journey-caption {color:#f1f7fb;text-shadow:0 1px 8px #062137a6;}
body[data-search-scheme] .quote-form .journey-panel {padding:17px;border:1px solid #ffffff9c;border-radius:14px;background:linear-gradient(120deg,#eaf3f959,#edf5fa40);-webkit-backdrop-filter:blur(16px) saturate(1.15);backdrop-filter:blur(16px) saturate(1.15);box-shadow:0 12px 35px #102b401c,inset 0 1px #ffffff80;}
body[data-search-scheme] .quote-form .quote-actions {padding-top:13px;}
@media(max-width:760px) {
 body[data-search-scheme].page-home .home-quote {margin-top:-71px;}
 body[data-search-scheme] .quote-form .quote-topline {flex-direction:column;align-items:flex-start;gap:3px;padding:0 4px 12px;}
 body[data-search-scheme] .quote-form .quote-title {font-size:22px;}
 body[data-search-scheme] .quote-form .journey-caption {font-size:11px;}
 /* One bordered bar per leg on phones; the actions sit directly below it. */
 body[data-search-scheme] .quote-form .journey-panel {padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;}
 body[data-search-scheme] .quote-form .sector-list {gap:11px;}
 body[data-search-scheme] .quote-form .sector-row {background:#fffffff2;}
 body[data-search-scheme] .quote-form .quote-actions {gap:9px;padding-top:12px;}
}

/* Empty legs retain the before/after price comparison: regular left, offer right. */
.empty-leg-card .offer-price-panel .offer-price-original {text-align:left;}
.empty-leg-card .offer-price-panel .offer-price-original .price-saving {justify-items:start;justify-content:start;text-align:left;}

/* Desktop Return uses two ordinary sector rows, matching Multi city. */
@media(min-width:761px) {
  body[data-search-scheme] .quote-form .return-journey {display:grid;gap:8px;}
  body[data-search-scheme] .quote-form .return-journey>.sector-row {grid-template-columns:60px minmax(0,1fr) minmax(0,1fr) 170px 124px;}
  body[data-search-scheme] .quote-form .return-journey .sector-actions {display:none;}
  body[data-search-scheme] .quote-form .return-journey .field-time {border-radius:0 10px 10px 0;}
  body[data-search-scheme] .quote-form[data-trip-mode=return] .quote-actions {display:flex;justify-content:flex-end;padding-top:10px;}
  body[data-search-scheme] .quote-form[data-trip-mode=return] .quote-submit {width:160px;min-height:46px;padding:10px 16px;}
}
/* Phones keep the route once, with just the return date and time underneath. */
@media(max-width:760px) {
  body[data-search-scheme] .quote-form .return-journey {display:grid;grid-template-columns:1fr 1fr;border:1px solid #d0dce5;border-radius:10px;background:#fffffff2;}
  body[data-search-scheme] .quote-form .return-journey>.sector-row {display:contents;}
  body[data-search-scheme] .quote-form .is-return-dates>.field-origin,
  body[data-search-scheme] .quote-form .is-return-dates>.field-destination,
  body[data-search-scheme] .quote-form .is-return-dates>.sector-rail,
  body[data-search-scheme] .quote-form .is-return-dates>.sector-actions {display:none;}
  body[data-search-scheme] .quote-form .is-return-outbound>.sector-rail {grid-column:1/-1;grid-row:1;border-radius:9px 9px 0 0;}
  body[data-search-scheme] .quote-form .is-return-outbound>.field-origin {grid-column:1/-1;grid-row:2;}
  body[data-search-scheme] .quote-form .is-return-outbound>.field-destination {grid-column:1/-1;grid-row:3;}
  body[data-search-scheme] .quote-form .is-return-outbound>.field-date {grid-column:1;grid-row:4;border-radius:0;}
  body[data-search-scheme] .quote-form .is-return-outbound>.field-time {grid-column:2;grid-row:4;border-radius:0;}
  body[data-search-scheme] .quote-form .is-return-outbound>.sector-actions {display:none;}
  body[data-search-scheme] .quote-form .is-return-dates>.field-date {grid-column:1;grid-row:5;border-radius:0 0 0 9px;}
  body[data-search-scheme] .quote-form .is-return-dates>.field-time {grid-column:2;grid-row:5;border-radius:0 0 9px 0;}
  body[data-search-scheme] .quote-form .is-return-dates>.field {border-top:1px solid #d0dce5;}
}

/* Only Multi city offers additional legs; keep single-route actions compact. */
body[data-search-scheme] .quote-form:not([data-trip-mode=multi_city]) .journey-additions{display:none}
@media(max-width:760px){body[data-search-scheme] .quote-form:not([data-trip-mode=multi_city]) .quote-submit{grid-column:1/-1;width:100%}}

/* Compact search-panel preview: retain readable inputs and full touch targets. */
body[data-search-scheme] .quote-form .journey-type{margin-bottom:10px}
body[data-search-scheme] .quote-form .quote-topline{padding-bottom:10px}
@media(min-width:761px){
 body[data-search-scheme] .quote-form,
 body[data-search-scheme] .quote-form[data-trip-mode]{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:20px}
 body[data-search-scheme] .quote-form[data-trip-mode] .quote-topline{grid-column:1;grid-row:1;min-height:44px;padding:0 0 10px;justify-content:flex-start;gap:16px}
 body[data-search-scheme] .quote-form .journey-type{grid-column:2;grid-row:1;margin:0 0 10px}
 body[data-search-scheme] .quote-form .journey-type button{min-height:38px;padding:7px 18px;font-size:13px}
 body[data-search-scheme] .quote-form .journey-panel{grid-column:1/-1}
 body[data-search-scheme] .quote-form[data-trip-mode=one_way] .journey-panel{display:grid;grid-template-columns:minmax(0,1fr) 160px;align-items:center;gap:12px}
 body[data-search-scheme] .quote-form[data-trip-mode=one_way] .sector-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 170px 124px}
 body[data-search-scheme] .quote-form[data-trip-mode=one_way] .sector-rail,
 body[data-search-scheme] .quote-form[data-trip-mode=one_way] .sector-actions{display:none}
 body[data-search-scheme] .quote-form[data-trip-mode=one_way] .quote-actions{display:flex;padding:0;gap:0}
 body[data-search-scheme] .quote-form[data-trip-mode=one_way] .quote-submit{width:100%;min-height:48px;padding:12px}
 body[data-search-scheme] .quote-form .sector-row>.field{min-height:60px;padding:8px 12px}
}
@media(min-width:761px) and (max-width:1000px){
 body[data-search-scheme] .quote-form[data-trip-mode=one_way] .journey-panel{grid-template-columns:minmax(0,1fr) 132px;gap:8px}
 body[data-search-scheme] .quote-form[data-trip-mode=one_way] .sector-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 145px 110px}
 body[data-search-scheme] .quote-form .return-journey>.sector-row{grid-template-columns:48px minmax(0,1fr) minmax(0,1fr) 145px 110px}
 body[data-search-scheme] .quote-form .journey-caption{display:none}
}
@media(max-width:760px){
 body[data-search-scheme] .quote-form .quote-topline{flex-direction:row;align-items:center;min-height:0;padding:0 2px 10px}
 body[data-search-scheme] .quote-form .quote-title{font-size:21px;line-height:1.2}
 body[data-search-scheme] .quote-form .journey-caption{display:none}
 body[data-search-scheme] .quote-form .journey-type{margin-bottom:10px;padding:3px;gap:3px;border-radius:10px}
 body[data-search-scheme] .quote-form .journey-type button{min-height:44px;padding:8px 6px;border-radius:8px}
 body[data-search-scheme] .quote-form:not([data-trip-mode=multi_city]) .sector-rail,
 body[data-search-scheme] .quote-form:not([data-trip-mode=multi_city]) .sector-actions{display:none}
 body[data-search-scheme] .quote-form:not([data-trip-mode=multi_city]) .sector-row>.field-origin{grid-column:1/-1;grid-row:1;border-radius:9px 9px 0 0}
 body[data-search-scheme] .quote-form:not([data-trip-mode=multi_city]) .sector-row>.field-destination{grid-column:1/-1;grid-row:2}
 body[data-search-scheme] .quote-form:not([data-trip-mode=multi_city]) .sector-row>.field-date{grid-column:1;grid-row:3}
 body[data-search-scheme] .quote-form:not([data-trip-mode=multi_city]) .sector-row>.field-time{grid-column:2;grid-row:3}
 body[data-search-scheme] .quote-form .sector-row>.field{min-height:52px;padding:6px 12px}
 body[data-search-scheme] .quote-form .field>label,
 body[data-search-scheme] .quote-form .airport-field-copy>label{margin-bottom:3px;font-size:9px}
 body[data-search-scheme] .quote-form .quote-actions{padding-top:10px}
 body[data-search-scheme] .quote-form .quote-submit,
 body[data-search-scheme] .quote-form .journey-additions>button{min-height:46px;padding:10px 8px;font-size:13px}
 body[data-search-scheme] .quote-form:not([data-trip-mode=multi_city]) .is-return-dates>.field-date{grid-column:1;grid-row:4}
 body[data-search-scheme] .quote-form:not([data-trip-mode=multi_city]) .is-return-dates>.field-time{grid-column:2;grid-row:4}
}
@media(max-width:359px){
 body[data-search-scheme] .quote-form .journey-additions>button{font-size:12px;gap:5px;white-space:nowrap}
 body[data-search-scheme] .quote-form .journey-additions>button>span[aria-hidden]{font-size:18px}
}
