/* Shared contrast and density for the booking screens. Background artwork and motion stay intact. */
body.flight-engine-wrapper {
  --flight-ink: #172b1e;
  --flight-secondary: #52634c;
  --flight-border: #bdccb5;
  --flight-selected: #e1edd9;
  --flight-action: #214d32;
}
#navbar.funnel-header-active .nav-inner { min-height: 64px; padding-block: 14px 10px !important; gap: 14px; }
#navbar.funnel-header-active .smart-step-title { color: #263d2c; font-weight: 650; }
#navbar.funnel-header-active .smart-step-sub { color: #64745e; }
#navbar.funnel-header-active .smart-funnel-step.active .smart-step-title { color: #153b24; }
#navbar.funnel-header-active .smart-step-badge.active { background: #214d32; border-color: #214d32; box-shadow: none; }

/* Preferences: close the gaps without shrinking controls or restoring outer cards. */
#smart-pane-2 { max-width: 1440px !important; padding-top: 14px !important; }
#smart-pane-2 .pref-hub-header-row { margin-bottom: 14px; gap: 14px; }
#smart-pane-2 .pref-hub-title { color: var(--flight-ink); font-weight: 700; }
#smart-pane-2 .pref-hub-sub,
#smart-pane-2 .pref-card-desc { color: var(--flight-secondary) !important; font-size: 12px !important; }
#smart-pane-2 .pref-card-heading { color: #173820; font-weight: 700; }
#smart-pane-2 .pref-workspace-layout { gap: 18px; }
#smart-pane-2 .pref-2x2-frame,
#smart-pane-2 .pref-grid-row { gap: 16px; }
#smart-pane-2 .pref-grid-card { padding: 10px 12px !important; gap: 10px; }
#smart-pane-2 #pref-step-card-2 .slim-row-card { border-bottom-color: #b8c8af !important; color: var(--flight-ink); }
#smart-pane-2 #pref-step-card-2 .slim-row-card.active { background: #e1edd9; border-bottom: 2px solid #214d32 !important; }
#smart-pane-2 #pref-step-card-2 .row-title-text { color: #223c29; font-weight: 650; }
#smart-pane-2 #pref-step-card-3 .hangar-carrier-tile { border-color: #b8c8af; color: #213b29; }
#smart-pane-2 #pref-step-card-3 .hangar-hero-card { border-color: #b8c8af; }
#smart-pane-2 #pref-step-card-3 .hangar-hero-card.active,
#smart-pane-2 #pref-step-card-3 .hangar-carrier-tile.active { border-color: #214d32; background: #e1edd9; }
#smart-pane-2 #pref-step-card-4 .baggage-tiles-grid { border-color: #b8c8af; }
#smart-pane-2 #pref-step-card-4 [id^="lbl-pref-bag-"].active { background: #dcebd2; }
#smart-pane-2 .bag-tile-title { color: #21432b; }
#smart-pane-2 .bag-tile-sub,
#smart-pane-2 .bag-sub-tag,
#smart-pane-2 .clock-bottom-selection { color: #52664b; }
#smart-pane-2 .pref-ticket { padding: 22px 24px 135px; }
#smart-pane-2 .pref-ticket-selections { gap: 16px; margin-block: 16px; padding-block: 16px; }
#smart-pane-2 .pref-ticket-row > span { color: #e4eddd; }
#smart-pane-2 .pref-ticket-row small,
#smart-pane-2 .pref-ticket p { color: #d1ddc7; }

/* Search-method choice. */
.search-method-page { max-width: 940px; padding-top: clamp(24px,4vh,44px); }
.search-method-route { color: #52634c; margin-bottom: 22px; }
.search-method-eyebrow,.search-method-kicker { color: #536b4c; }
.search-method-options { gap: 16px; }
.search-method-option { border-color: #afc1a6; padding: 24px; gap: 12px; }
.search-method-option strong { color: #173b23; }
.search-method-option > span:not([class]) { color: #52634c; }
.search-method-action { padding-top: 14px; color: #1e4a2d; }

/* Individual flights: stronger hierarchy, a compact search strip, and tighter grouping. */
#flight-exact-results { max-width: 1440px; padding-top: 14px; }
#flight-exact-results .results-date-navigation { border-color: #b6c6aa; padding: 4px; gap: 4px; border-radius: 8px; }
#flight-exact-results .result-date-cell { padding: 8px 4px; min-height: 54px; gap: 3px; }
#flight-exact-results .result-date-cell span { color: #4f6548; }
#flight-exact-results .result-date-cell strong { color: #20452a; font-weight: 700; font-size: 13px; }
#flight-exact-results .result-date-cell small { display: none; }
#flight-exact-results .result-date-cell.is-selected { background: #214d32; border-bottom-color: #214d32; }
#flight-exact-results .result-date-cell.is-selected span,
#flight-exact-results .result-date-cell.is-selected strong { color: #fff; }
#flight-exact-results .results-date-caption { color: #5c7053; font-size: 11px; margin: 6px 0 14px; }
#flight-exact-results .exact-results-header { gap: 16px; margin-bottom: 14px; }
#flight-exact-results .exact-results-header h1 { color: #183a22; margin-bottom: 6px; }
#flight-exact-results .exact-results-header p:not(.search-method-eyebrow) { color: #52634c; }
#flight-exact-results .exact-results-layout { grid-template-columns: 210px minmax(0,1fr); gap: 18px; }
#flight-exact-results .results-filters-disclosure { border-color: #bdcbb4; padding: 14px; border-radius: 9px; }
#flight-exact-results .results-field,
#flight-exact-results #exact-results-filters legend,
#flight-exact-results .results-filter-title,
#flight-exact-results .results-filters-disclosure > summary { color: #203f28; font-weight: 650; }
#flight-exact-results .results-field { margin-bottom: 14px; }
#flight-exact-results #exact-results-filters fieldset { margin-bottom: 14px; padding-bottom: 14px; border-color: #d1ddc8; }
#flight-exact-results .results-airline-filter label,
#flight-exact-results .results-baggage-filter label,
#flight-exact-results .results-protection-filter,
#flight-exact-results .results-time-options small { color: #4d6347; }
#flight-exact-results .results-time-options strong { color: #25492e; }
#flight-exact-results .results-time-options label:has(input:checked) { background: #dfecd5; }
#flight-exact-results .results-stops-filter span { color: #375430; border-color: #b7c7ab; }
#flight-exact-results .results-stops-filter input:checked + span { color: #fff; }
#flight-exact-results .exact-search-label { color: #52634c; }
#flight-exact-results .exact-search-label input,
#flight-exact-results .results-field input { border-color: #b4c5a8; color: #203f28; }
#flight-exact-results .results-sort-buttons button { border-color: #b9c9ad; color: #31502e; font-weight: 550; }
#flight-exact-results .results-sort-buttons button[aria-pressed=true] { background: #214d32; border-color: #214d32; color: #fff; }
#flight-exact-results .exact-results-summary { margin: 12px 0 8px; }
#flight-exact-results #exact-results-note { color: #596d50; font-size: 11px; }
#flight-exact-results .exact-flight-card { border-color: #b9c9ad; padding: 11px 14px; margin-bottom: 8px; }
#flight-exact-results .exact-flight-card.is-featured { border-color: #3d6945; box-shadow: inset 3px 0 #315d3c; background: linear-gradient(110deg,#edf5e7,#fff 65%); }
#flight-exact-results .result-airline strong,
#flight-exact-results .result-airport strong,
#flight-exact-results .result-flight-price strong { color: #153921; }
#flight-exact-results .results-featured-label { color: #284f30; font-size: 11px; margin-bottom: 8px; }
#flight-exact-results .result-airline small,
#flight-exact-results .result-airport span,
#flight-exact-results .result-journey small,
#flight-exact-results .result-journey > span:not(.result-flight-line),
#flight-exact-results .result-inclusions,
#flight-exact-results .result-flight-details,
#flight-exact-results .result-flight-price small { color: #52684b; }
#flight-exact-results .result-flight-price { border-color: #ccdac2; }
#flight-exact-results .result-flight-price button { background: #1b462b; }
#flight-exact-results .result-flight-price button:disabled { background: #e5ecdf; color: #687d5d; }

/* Fare review: stronger text and separators, compact alignment, same subtle contours. */
#smart-pane-3 { max-width: 1440px; padding-top: 6px; }
#smart-pane-3 .smart-step3-split-layout { gap: 18px; }
#smart-pane-3 .smart-card-title { color: #15351e; }
#smart-pane-3 .smart-card-sub,
#smart-pane-3 .fare-history-source,
#smart-pane-3 .fare-chart-readout { color: #4d6345; }
#smart-pane-3 .fare-history-panel { padding: 18px; border-color: #b6c6a9; }
#smart-pane-3 .fare-history-heading h3 { color: #183c24; font-weight: 650; }
#smart-pane-3 .review-eyebrow,
#smart-pane-3 .review-chart-unit,
#smart-pane-3 .fare-history-metrics span,
#smart-pane-3 .review-chart-legend span { color: #4f6845; }
#smart-pane-3 .fare-history-metrics { padding-bottom: 14px; margin-bottom: 8px; border-color: #d0ddc4; }
#smart-pane-3 .fare-history-metrics > div + div { border-color: #c3d3b6; }
#smart-pane-3 .fare-history-metrics strong { color: #1d4828; font-weight: 700; }
#smart-pane-3 .fare-history-source { margin-bottom: 14px; }
#smart-pane-3 .boarding-review-ticket { border-color: #abc09d; }
#smart-pane-3 .boarding-ticket-header { background: #173f28; padding: 16px 22px; }
#smart-pane-3 .boarding-ticket-header .review-eyebrow,
#smart-pane-3 .boarding-ticket-header p { color: #dce7d2; }
#smart-pane-3 .boarding-ticket-body { padding: 18px 22px 12px; }
#smart-pane-3 .boarding-route strong,
#smart-pane-3 .boarding-net-fare strong { color: #173f24; font-weight: 700; }
#smart-pane-3 .boarding-route > div > span:not([aria-hidden]),
#smart-pane-3 .boarding-route-path small,
#smart-pane-3 .boarding-flight-details dt,
#smart-pane-3 .boarding-connection-note,
#smart-pane-3 .boarding-fare-calculation,
#smart-pane-3 .boarding-net-fare span,
#smart-pane-3 .boarding-review-caption,
#smart-pane-3 #flight-choice-note,
#smart-pane-3 #flight-choice-status { color: #4f6844; }
#smart-pane-3 .boarding-flight-details { margin-top: 16px; }
#smart-pane-3 .boarding-flight-details dd { color: #274b2c; }
#smart-pane-3 .boarding-connection-note { margin-bottom: 14px; }
#smart-pane-3 .boarding-ticket-barcode { opacity: .7; }
#smart-pane-3 .flight-tracking-choices { margin-top: 10px; }
#smart-pane-3 #flight-choice-continue { background: #183f28; }

@media (max-width: 1099px) and (min-width: 761px) {
  #flight-exact-results .exact-results-layout { grid-template-columns: 190px minmax(0,1fr); gap: 14px; }
}
@media (max-width: 900px) {
  #smart-pane-2 .pref-grid-card { padding-inline: 8px !important; }
}
@media (max-width: 760px) {
  #flight-exact-results .exact-results-layout { grid-template-columns: minmax(0,1fr); }
  #navbar.funnel-header-active .nav-inner { padding-block: 12px 8px !important; }
  #smart-pane-3 .boarding-ticket-body { padding-inline: 18px; }
}
