/* Home booking cards follow the app's field grouping without a nested scroll. */
html body.crs-home-shell #search.rcd-xd-search-shell{
 height:auto!important;min-height:0!important;max-height:none!important;gap:0!important;justify-content:flex-start!important;
}
html body.crs-home-shell #search #rcdHomeServiceSwitcher{margin:0 0 12px!important;flex-shrink:0!important}
html body.crs-home-shell #search #marketplaceSearchForm:not([hidden]),
html body.crs-home-shell #search #rcdHomeYachtSearchForm:not([hidden]){
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-rows:auto!important;align-content:start!important;gap:8px!important;height:auto!important;min-height:0!important;flex:0 0 auto!important;padding:0!important;margin:0!important;
}
html body.crs-home-shell #search #marketplaceSearchForm>.field:not(.rcd-range-source),
html body.crs-home-shell #search #rcdHomeYachtSearchForm>.field{
 grid-area:auto!important;height:54px!important;min-height:54px!important;padding:6px 12px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;border-radius:11px!important;background:#fff!important;overflow:visible!important;
}
html body.crs-home-shell #search #marketplaceSearchForm>.field:not(.rcd-range-source)::before,
html body.crs-home-shell #search #marketplaceSearchForm>.field:not(.rcd-range-source)::after{display:none!important}
html body.crs-home-shell #search #marketplaceSearchForm>.field>label,
html body.crs-home-shell #search #rcdHomeYachtSearchForm>.field>label{
 position:static!important;width:auto!important;height:auto!important;clip:auto!important;overflow:visible!important;margin:0 0 3px!important;padding:0!important;font-size:11px!important;line-height:1.2!important;color:#52685f!important;
}
html body.crs-home-shell #search #marketplaceSearchForm>.field>select,
html body.crs-home-shell #search #rcdHomeYachtSearchForm>.field>select,
html body.crs-home-shell #search #rcdHomeYachtSearchForm>.field>input{
 width:100%!important;min-width:0!important;height:26px!important;min-height:26px!important;padding:0!important;font-size:13px!important;border:0!important;background:transparent!important;
}
html body.crs-home-shell #search #rcdHomeYachtSearchForm>.rcd-xd-yacht-country,
html body.crs-home-shell #search #rcdHomeYachtSearchForm>.rcd-xd-yacht-marina{grid-column:1/-1!important}
html body.crs-home-shell #search #marketplaceSearchForm.rcd-booking-app-ready>.rcd-rental-range,
html body.crs-home-shell #search #marketplaceSearchForm.rcd-booking-app-ready>#rcdHeroPickupTimeProxy,
html body.crs-home-shell #search #marketplaceSearchForm.rcd-booking-app-ready>#marketplaceRangeFallback{display:none!important}
html body.crs-home-shell #search #marketplaceSearchForm>.rcd-booking-date-grid{
 display:grid!important;grid-column:1/-1!important;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)!important;gap:8px!important;
}
html body.crs-home-shell #search .rcd-booking-date-cell{
 display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;min-width:0;height:58px;padding:8px 12px;border:1px solid #d9e3df;border-radius:11px;background:#fff;color:#244b3c;text-align:start;cursor:pointer;
}
html body.crs-home-shell #search .rcd-booking-date-cell span{font-size:11px;line-height:1.2;color:#52685f}
html body.crs-home-shell #search .rcd-booking-date-cell strong{font-size:13px;line-height:1.3;font-weight:600}
html body.crs-home-shell #search #marketplaceSearchForm #marketplaceSearchButton,
html body.crs-home-shell #search #rcdHomeYachtSearchForm #rcdHomeYachtSearchButton{
 grid-column:1/-1!important;width:100%!important;min-width:0!important;max-width:none!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0 14px!important;font-size:15px!important;border-radius:10px!important;
}
html body.crs-home-shell #search #rcdHomeTransferSearchForm:not([hidden]){height:auto!important;max-height:none!important;overflow:visible!important;flex:0 0 auto!important}
@media(min-width:1001px){
 html body.crs-home-shell #search.rcd-xd-search-shell{top:20px!important;padding:12px!important}
 html body.crs-home-shell #search #rcdHomeServiceSwitcher{flex:0 0 64px!important;min-height:64px!important;margin-bottom:10px!important}
 html body.crs-home-shell #search #rcdHomeServiceSwitcher .rcd-home-service-tab{height:64px!important;min-height:64px!important;padding:5px!important;gap:2px!important}
 html body.crs-home-shell #search #rcdHomeServiceSwitcher .rcd-home-service-tab__media{height:34px!important;flex-basis:34px!important}
 html body.crs-home-shell #search #rcdHomeServiceSwitcher .rcd-home-service-tab__media img{height:34px!important}
 html body.crs-home-shell #search #rcdHomeServiceSwitcher .rcd-home-service-tab__label{font-size:12px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm:not([hidden]){gap:5px!important;padding:0!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-head{min-height:28px!important;height:28px!important;padding:0!important;gap:6px!important;grid-template-columns:28px minmax(0,1fr) minmax(110px,145px)!important}
 html[dir=rtl] body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-head{grid-template-columns:minmax(110px,145px) minmax(0,1fr) 28px!important}
 html body.crs-home-shell #search .rcd-mobile-transfer-head__icon{width:26px!important;height:26px!important;border-radius:8px!important}
 html body.crs-home-shell #search .rcd-mobile-transfer-head h2{font-size:17px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-country{height:26px!important;min-height:26px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-control{height:40px!important;min-height:40px!important;padding:9px 36px 2px!important;border-radius:10px!important;margin-top:5px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-control select{font-size:14px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-location{height:36px!important;min-height:36px!important;padding:0 38px!important;border-radius:10px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-location input[type=search]{font-size:13px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-location-action{min-height:20px!important;height:20px!important;margin:0!important;padding:0 8px!important;font-size:10px!important;gap:4px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-secondary-actions{gap:6px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-outline-action{height:26px!important;min-height:26px!important;padding:0 9px!important;gap:4px!important;font-size:11px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-map-card{border-radius:10px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-map-card>header{height:24px!important;padding:0 10px!important;gap:6px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-map-card>header h3{font-size:12px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-map{height:60px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-map__message{inset:auto 6px 5px!important;min-height:24px!important;padding:4px 6px!important;font-size:10px!important;border-radius:6px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-pickup{height:40px!important;min-height:40px!important;padding:13px 34px 2px!important;border-radius:10px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-pickup label{top:3px!important;inset-inline-start:34px!important;font-size:9px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-pickup input{height:24px!important;min-height:24px!important;font-size:12px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-earliest{gap:6px!important;margin:0!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-earliest p{font-size:9px!important;line-height:1.25!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-earliest button{font-size:10px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-stepper{min-height:40px!important;height:40px!important;padding:8px 28px 4px!important;grid-template-columns:20px 1fr!important;border-radius:10px!important;margin-top:5px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-stepper__label{font-size:9px!important;top:-7px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-stepper>strong{font-size:17px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-stepper__buttons button{width:24px!important;height:18px!important;font-size:15px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-submit{height:38px!important;min-height:38px!important;margin:0!important;border-radius:10px!important;font-size:15px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm svg{width:17px!important;height:17px!important;flex-basis:17px!important}
 html body.crs-home-shell #search .rcd-mobile-transfer-location__icon,
 html body.crs-home-shell #search .rcd-mobile-transfer-control__icon,
 html body.crs-home-shell #search .rcd-mobile-transfer-pickup__icon{inset-inline-start:12px!important;inset-inline-end:auto!important}
 html body.crs-home-shell #search .rcd-mobile-transfer-pickup__clock{inset-inline-end:10px!important;inset-inline-start:auto!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-duration{height:38px!important;min-height:38px!important;padding:12px 12px 2px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-duration label{top:2px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-duration select{height:24px!important;min-height:24px!important;font-size:12px!important}
 html body.crs-home-shell #search #rcdHomeTransferStops{gap:4px!important}
 html body.crs-home-shell #search .rcd-mobile-transfer-stop{min-height:30px!important;height:30px!important;border-radius:8px!important}
 html body.crs-home-shell #search .rcd-mobile-transfer-stop input[type=search]{height:28px!important;font-size:12px!important}
 html body.crs-home-shell #search #rcdHomeTransferSearchForm:has(.rcd-mobile-transfer-stop) .rcd-mobile-transfer-map{height:30px!important}
}
/* Service selectors must outrank the legacy :has() fixed-height rule. */
html body.crs-home-shell #search.rcd-xd-search-shell:has(#rcdHomeTransferSearchForm:not([hidden])){height:auto!important;min-height:0!important;max-height:none!important}
html body.crs-home-shell #search #marketplaceSearchForm[hidden],
html body.crs-home-shell #search #rcdHomeYachtSearchForm[hidden],
html body.crs-home-shell #search #rcdHomeTransferSearchForm[hidden]{display:none!important}
html body.crs-home-shell #search #rcdHomeYachtSearchForm #rcdHomeYachtSearchButton{grid-row:auto!important;order:0!important}
html body.crs-home-shell #search #marketplaceSearchForm>.field:not(.rcd-range-source){grid-column:1/-1!important}
@media(min-width:1001px){html body.crs-home-shell #search.rcd-xd-search-shell:has(#rcdHomeTransferSearchForm:not([hidden])){top:20px!important}}
@media(min-width:1001px){
 html body.crs-home-shell #search #rcdHomeTransferSearchForm:has(.rcd-mobile-transfer-stop){gap:2px!important}
 html body.crs-home-shell #search #rcdHomeServiceSwitcher .rcd-home-service-tab__media{flex:0 0 34px!important;min-height:34px!important;position:static!important;transform:none!important}
 html body.crs-home-shell #search #rcdHomeServiceSwitcher .rcd-home-service-tab__label{position:static!important;transform:none!important;line-height:16px!important}
}
@media(max-width:1000px){
 html body.crs-home-shell #search.rcd-xd-search-shell{padding:14px!important}
 html body.crs-home-shell #search #marketplaceSearchForm{margin-bottom:0!important}
}

html body.crs-home-shell #search #marketplaceSearchForm #marketplaceSearchButton{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
html body.crs-home-shell #search #marketplaceSearchStatus:empty{display:none!important}

/* Keep the transfer heading in document direction; avoid implicit RTL grid tracks. */
html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-head{
 display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;direction:inherit!important;
}
html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-head__icon{order:0!important;flex-shrink:0!important}
html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-head h2{order:1!important;flex:1 1 auto!important;min-width:0!important;text-align:start!important}
html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-head>.rcd-mobile-transfer-country{
 order:2!important;flex:0 1 145px!important;width:145px!important;min-width:0!important;margin-inline-start:auto!important;
}
html body.crs-home-shell #search #rcdHomeTransferSearchForm .rcd-mobile-transfer-location-action{align-self:flex-start!important}
