#tvr-search-recovery{margin:32px 0;padding:28px;background:#fbf5ed;border:1px solid #d7e4e8;border-radius:18px;color:#07263b;clear:both;font:inherit}
#tvr-search-recovery[hidden]{display:none!important}
#tvr-search-recovery h2{font-size:clamp(23px,2.2vw,30px);line-height:1.25;margin:0 0 12px;color:#07263b}
#tvr-search-recovery h3{font-size:21px;margin:24px 0 14px;line-height:1.3;color:#07263b}
#tvr-search-recovery h4{font-size:18px;line-height:1.3;margin:12px 0;color:#07263b}
#tvr-search-recovery p{line-height:1.5;margin:8px 0}
#tvr-search-recovery a{color:#07576b;text-underline-offset:3px}
#tvr-search-recovery .tvr-recovery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px;margin-bottom:14px}
#tvr-search-recovery .tvr-recovery-card{min-width:0;padding:16px;border:1px solid #d8e3e6;border-radius:12px;background:white;overflow-wrap:anywhere}
#tvr-search-recovery img{width:100%;height:auto;aspect-ratio:8/5;object-fit:cover;border-radius:8px}
#tvr-search-recovery .tvr-recovery-difference{background:#e8f6fa;border-radius:6px;padding:8px;color:#07263b;font-weight:600}
#tvr-search-recovery .tvr-recovery-total{font-size:21px;font-weight:700}
#tvr-search-recovery small{display:block;font-size:12px;line-height:1.5}
#tvr-search-recovery .tvr-recovery-button,#tvr-search-recovery button{display:inline-block;border:1px solid #07576b;border-radius:8px;padding:11px 16px;margin-top:12px;min-height:44px;background:#07576b;color:white;text-decoration:none;font:inherit;cursor:pointer;white-space:normal}
#tvr-search-recovery a:focus-visible,#tvr-search-recovery button:focus-visible{outline:3px solid #ec963a;outline-offset:3px}
#tvr-search-recovery .tvr-recovery-choices{margin-top:24px;border-top:1px solid #d7e4e8;padding-top:12px}
#tvr-search-recovery .tvr-recovery-choices>a{display:block;margin:12px 0}
#tvr-search-recovery .tvr-recovery-choices>button{margin-right:10px}
#abe-result-container[data-tvr-exact-zero="true"] .no-map-results{display:none}
#tvr-recovery-boarding-notice,#tvr-recovery-context-error{padding:14px;background:#fff5df;color:#07263b;border:1px solid #dcbd80;border-radius:8px;line-height:1.5}
@media(max-width:600px){#tvr-search-recovery{padding:18px 14px;margin-top:22px}#tvr-search-recovery .tvr-recovery-grid{grid-template-columns:1fr}#tvr-search-recovery .tvr-recovery-choices>button{width:100%;margin-right:0}}

[data-tvr-native-empty="true"][data-tvr-exact-zero="true"] > p {display:none;}

#tvr-search-recovery .tvr-recovery-grid{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 32px)/3);grid-template-columns:none;overflow-x:auto;scroll-snap-type:x proximity;overscroll-behavior-x:contain;padding:4px 4px 14px}
#tvr-search-recovery .tvr-recovery-card{scroll-snap-align:start}
#tvr-search-recovery .tvr-recovery-card>a:last-child{display:block;margin-top:10px}
#tvr-search-recovery .tvr-recovery-carousel-controls{display:flex;gap:10px;margin-bottom:12px}
#tvr-search-recovery .tvr-recovery-grid:focus-visible{outline:3px solid #ec963a;outline-offset:2px}
@media(max-width:900px){#tvr-search-recovery .tvr-recovery-grid{grid-auto-columns:calc((100% - 16px)/2)}}
@media(max-width:600px){#tvr-search-recovery .tvr-recovery-grid{grid-auto-columns:88%;grid-template-columns:none}}
@media(prefers-reduced-motion:reduce){#tvr-search-recovery .tvr-recovery-grid{scroll-behavior:auto}}

#tvr-search-recovery .tvr-recovery-group + .tvr-recovery-group{border-top:1px solid #c9d9df;padding-top:18px;margin-top:28px}

#tvr-search-recovery .tvr-recovery-edit{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0}#tvr-search-recovery .tvr-recovery-edit button{background:white;color:#07576b;margin-top:0}#tvr-search-recovery .tvr-recovery-edit p{flex-basis:100%}

@media(min-width:901px){#bookingform:has(#tvr-recovery-boarding-notice){max-height:calc(100vh - 145px);overflow-y:auto;overscroll-behavior-y:contain}}

/* The native date dialog restores its calendar to the form on Close/Escape.
   Keep that inactive calendar hidden so closing really returns to results. */
.abe-results-page.tvr-date-search-enhanced:not(.tvr-date-dialog-open) .easepick-wrapper{display:none!important}

/* Compact native search controls. Preserve the original inputs and dialogs. */
body:not(.tvr-search-modernization-next) #abe-results-search{gap:12px;align-items:center;max-width:760px;margin-left:auto;margin-right:auto;padding:12px 8px}
body:not(.tvr-search-modernization-next) #abe-results-search>.abe-filters-activator{flex:0 0 110px;width:110px;padding:0}
body:not(.tvr-search-modernization-next) #abe-results-search #abe-filters-activator{display:flex;align-items:center;justify-content:center;gap:8px;min-height:58px;margin:0;padding:10px 14px;border-radius:10px;background:#fff;color:#07263b;border:1px solid #d7e4e8}
body:not(.tvr-search-modernization-next) #abe-results-search #abe-filters-activator::after{content:'Filters';font-size:15px;font-weight:600}
body:not(.tvr-search-modernization-next) #abe-results-search #abe-filters-activator img{width:22px;height:22px}
body:not(.tvr-search-modernization-next) #abe-results-search>.date-search-container{flex:1 1 0;min-width:0;width:auto;gap:10px;padding:0}
body:not(.tvr-search-modernization-next) #abe-results-search>.date-search-container>.date-field{flex:1 1 0;min-width:0;width:auto;background:#fff;border:1px solid #d7e4e8;border-radius:10px;padding:7px 14px;display:flex;flex-direction:column;gap:2px}
body:not(.tvr-search-modernization-next) #abe-results-search>.date-search-container>.date-field>label{position:static!important;display:block!important;color:#496273!important;font-size:12px!important;font-weight:600;line-height:16px;margin:0!important;opacity:1!important;visibility:visible!important;clip:auto!important;width:auto!important;height:auto!important}
body:not(.tvr-search-modernization-next) #abe-results-search #search-arrival,body:not(.tvr-search-modernization-next) #abe-results-search #search-departure{color:#07263b!important;-webkit-text-fill-color:#07263b;background:#fff!important;border:0!important;border-radius:0;box-shadow:none!important;font:inherit;font-size:16px!important;line-height:24px!important;padding:0!important;margin:0!important;width:100%;min-height:24px;height:24px;cursor:pointer}
body:not(.tvr-search-modernization-next) #abe-results-search #search-arrival::placeholder,body:not(.tvr-search-modernization-next) #abe-results-search #search-departure::placeholder{color:#496273;opacity:1}
body:not(.tvr-search-modernization-next) #abe-results-search .date-field:focus-within,body:not(.tvr-search-modernization-next) #abe-results-search #abe-filters-activator:focus-visible{outline:3px solid #70cbd8;outline-offset:2px}
#tvr-search-recovery{margin:20px 0;padding:0;background:transparent;border:0;border-radius:0}
#tvr-search-recovery .tvr-recovery-intro{display:flex;align-items:center;justify-content:space-between;gap:16px}
#tvr-search-recovery .tvr-recovery-intro h2{font-size:clamp(21px,2vw,26px);margin:0;line-height:1.3}
#tvr-search-recovery .tvr-recovery-intro .tvr-recovery-edit{margin:0;flex-wrap:nowrap;flex-shrink:0;gap:8px}
#tvr-search-recovery .tvr-recovery-intro button{padding:8px 12px;font-size:14px}
#tvr-search-recovery .tvr-recovery-status{font-size:14px;color:#496273;margin:8px 0 16px}
#tvr-search-recovery .tvr-recovery-group{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px}
#tvr-search-recovery .tvr-recovery-group>h3{grid-column:1;grid-row:1;font-size:20px;margin:4px 0}
#tvr-search-recovery .tvr-recovery-group>p{grid-column:1;grid-row:2;font-size:14px;color:#496273;margin:0 0 10px}
#tvr-search-recovery .tvr-recovery-carousel-controls{grid-column:2;grid-row:1 / span 2;align-self:center;margin:0 0 8px;gap:6px}
#tvr-search-recovery .tvr-recovery-carousel-controls button{font-size:13px;min-height:44px;margin:0;padding:8px 12px;background:#fff;color:#07576b}
#tvr-search-recovery .tvr-recovery-group>.tvr-recovery-grid,#tvr-search-recovery .tvr-recovery-group>.tvr-recovery-edit{grid-column:1 / -1;min-width:0}
@media(max-width:600px){
 body:not(.tvr-search-modernization-next) #abe-results-search{gap:8px;padding:10px 4px;flex-wrap:wrap}
 body:not(.tvr-search-modernization-next) #abe-results-search>.abe-filters-activator{flex-basis:100%;width:100%}
 body:not(.tvr-search-modernization-next) #abe-results-search #abe-filters-activator{min-height:44px;width:104px;padding:8px 10px}
 body:not(.tvr-search-modernization-next) #abe-results-search>.date-search-container{flex-basis:100%;width:100%;gap:8px}
 body:not(.tvr-search-modernization-next) #abe-results-search>.date-search-container>.date-field{padding:6px 10px}
 #tvr-search-recovery{margin-top:16px;padding:0}
 #tvr-search-recovery .tvr-recovery-intro{align-items:flex-start;flex-direction:column;gap:10px}
 #tvr-search-recovery .tvr-recovery-group>h3{font-size:18px}
 #tvr-search-recovery .tvr-recovery-carousel-controls{grid-column:1 / -1;grid-row:3;justify-self:end;margin-bottom:8px}
}
/* Override the theme's equal-width columns so Filters stays beside the dates. */
body:not(.tvr-search-modernization-next) #abe-results-search.abe-flex-form{max-width:760px!important;width:calc(100% - 32px)!important;margin-left:auto!important;margin-right:auto!important;gap:12px!important;justify-content:flex-start!important}
body:not(.tvr-search-modernization-next) #abe-results-search.abe-flex-form>.abe-filters-activator{flex:0 0 110px!important;width:110px!important;max-width:110px!important}
body:not(.tvr-search-modernization-next) #abe-results-search #abe-filters-activator{width:110px!important;min-width:110px!important;max-width:none!important}
body:not(.tvr-search-modernization-next) #abe-results-search.abe-flex-form>.date-search-container{flex:1 1 0!important;width:auto!important;max-width:none!important;margin:0!important}
#tvr-search-recovery .tvr-recovery-carousel-controls button{width:44px;height:44px;padding:4px;font-size:22px;line-height:1}
@media(max-width:600px){
 body:not(.tvr-search-modernization-next) #abe-results-search.abe-flex-form{gap:8px!important;width:calc(100% - 16px)!important}
 body:not(.tvr-search-modernization-next) #abe-results-search.abe-flex-form>.abe-filters-activator{flex:0 0 100%!important;width:100%!important;max-width:none!important}
 body:not(.tvr-search-modernization-next) #abe-results-search.abe-flex-form>.date-search-container{flex:1 1 100%!important;width:100%!important}
 .tvr-zero-results:has(#tvr-search-recovery:not([hidden]))>.tvr-mobile-results-heading{display:none!important}
 #tvr-search-recovery .tvr-recovery-intro .tvr-recovery-edit{display:none}
 #tvr-search-recovery .tvr-recovery-carousel-controls{grid-column:2;grid-row:1 / span 2;margin:0 0 8px}
 #tvr-search-recovery .tvr-recovery-status{margin:6px 0 12px}
}
