/* Mobile-first refinements for search and listing pages. Desktop rules stay in the existing assets. */
.eh91-listing-option{position:relative;padding-right:128px!important}
.eh91-listing-option .eh91-status{position:absolute;right:12px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;min-height:25px;padding:3px 8px;border-radius:999px;background:#fbecef;color:#9b1733;font-size:11px;font-weight:800;white-space:nowrap}
.eh91-listing-option[aria-current=true] .eh91-status{background:#f4dce2}
.eh-mobile-home-hero{padding:18px 22px 8px;background:linear-gradient(115deg,#fff 20%,#fff7f8);border-bottom:1px solid #f0e4e7}
.eh-mobile-home-hero p{margin:0;color:#9c1733;font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.eh-mobile-home-title{display:block;margin:3px 0 4px;color:#302027;font-size:clamp(22px,3vw,32px);line-height:1.15;letter-spacing:-.035em}
.eh-mobile-home-hero span{color:#58677a;font-size:13px}
.eh91-contact-close{display:none}
@media(max-width:800px){
  .eh-mobile-home-hero{padding:13px 12px 8px}
  .eh-mobile-home-title{font-size:22px}
  .eh-mobile-home-hero span{font-size:12px}
  .eh9-searchbar{padding:8px 10px 0}
  .eh9-search-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
  .eh91-location-host{grid-column:1/-1;min-width:0}
  .eh9-location{min-width:0;min-height:42px}
  .eh9-modes{grid-column:1;min-width:0;max-width:100%;overflow-x:auto}
  .eh9-modes span{padding:8px 10px;font-size:11px}
  .eh9-search-main>.eh9-primary{grid-column:2;grid-row:2;min-height:40px;padding:8px 13px;white-space:nowrap}
  .eh9-search-main .eh9-save-search{grid-column:1/-1;justify-self:start}
  .eh9-filter-row{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;gap:7px;min-height:43px;padding:4px 0;white-space:nowrap}
  .eh9-filter-row::-webkit-scrollbar{display:none}
  .eh9-filter-row>.eh9-filter{flex:0 0 auto}
  .eh9-filter-row>.eh9-view-switch{flex:0 0 auto;margin-left:auto}
  .eh9-split{height:calc(100dvh - 205px);min-height:360px;overflow:hidden}
  .eh9-map-column{min-height:0;height:100%}
  .eh9-map-column #eh9-map{min-height:0;height:100%}
  .eh9-detail-layout{display:flex!important;flex-direction:column;gap:12px}
  .eh9-detail-main{order:0}
  .eh91-content{order:1}
  .eh91-conversion-rail{order:2}
  .eh91-conversion-card{display:none}
  .eh91-conversion-card:target{display:block;position:fixed;z-index:110;left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));top:auto;width:auto;max-width:none;max-height:min(82dvh,760px);overflow:auto;overscroll-behavior:contain;padding:18px 15px 22px;border:1px solid #eadde1;border-radius:16px;background:#fff;box-shadow:0 0 0 100vmax #17202b88,0 14px 44px #1115;scroll-margin:0}
  .eh91-conversion-card:target .eh91-contact-close{position:sticky;z-index:2;top:0;float:right;display:flex;align-items:center;justify-content:center;width:38px;height:38px;margin:-7px -5px 0 8px;border:1px solid #d8dee6;border-radius:50%;background:#fff;color:#302027;font-size:24px;line-height:1;text-decoration:none}
  .eh91-conversion-card:target h2{padding-right:38px}
  .eh91-conversion-card .ehb-fields,.eh91-conversion-card .ehb-showing-fields .ehb-fields{grid-template-columns:1fr}
  .eh9-mobile-showing{left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));min-height:48px;z-index:105}
  .eh9-detail{padding-bottom:78px}
}
@media(max-width:560px){
  .eh9-split{height:calc(100dvh - 195px);min-height:340px}
  .eh9-results{max-height:31%}
  .eh9-results.is-expanded{max-height:82%}
  .eh9-results-heading{padding:8px 10px}
  .eh9-results-heading h2{font-size:16px}
  .eh9-results-scroll{padding:8px}
  .eh9-mobile-view{bottom:12px}
  .eh9-detail-layout{gap:8px}
  .eh91-conversion-card:target{left:6px;right:6px;bottom:max(6px,env(safe-area-inset-bottom));max-height:86dvh;border-radius:14px}
}
