/* CUI mobile UX stabilisation v2
   Mobile-only overrides loaded after page-specific styles. */

.cui-mobile-dock{display:none}

@media (max-width:900px){
  :root{--cui-mobile-header:68px;--cui-mobile-dock-height:70px;--cui-mobile-ink:#191919;--cui-mobile-line:#e5e5e2}
  html{scroll-padding-bottom:calc(var(--cui-mobile-dock-height) + 24px + env(safe-area-inset-bottom))}
  body{overflow-x:hidden!important}
  .page{padding-top:var(--cui-mobile-header)!important;padding-bottom:calc(var(--cui-mobile-dock-height) + 22px + env(safe-area-inset-bottom))!important}

  /* Quieter mobile header. */
  .topbar,.topbar[style]{position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:1405!important;background:#fff!important;border-bottom:1px solid var(--cui-mobile-line)!important;box-shadow:0 6px 22px rgba(0,0,0,.07)!important;transform:none!important}
  .topline{height:var(--cui-mobile-header)!important;min-height:var(--cui-mobile-header)!important;padding:10px 16px!important;gap:10px!important;background:#fff!important}
  .topline .logo.logo-cui-refined{width:118px!important;min-width:118px!important;max-width:118px!important;margin:0!important}
  .topline .logo.logo-cui-refined img{width:118px!important;max-width:118px!important;height:auto!important}
  .topbar .header-valuation-banner,.topbar .cta-header,.topbar .phone{display:none!important}
  .topbar .spacer{display:block!important;flex:1 1 auto!important}
  .mobile-menu-toggle,.mobile-menu-toggle[style],body.mobile-nav-open .mobile-menu-toggle{display:flex!important;width:42px!important;height:42px!important;min-width:42px!important;margin:0!important;border:1px solid #d7d7d3!important;border-radius:50%!important;background:#fff!important;color:#171717!important;box-shadow:none!important}
  .mobile-menu-toggle span{width:18px!important;height:1.5px!important;background:#171717!important}

  /* Plain, professional mobile menu: monochrome with subtle separators. */
  .topbar .nav,body.mobile-nav-open .topbar .nav{position:fixed!important;top:var(--cui-mobile-header)!important;left:0!important;right:0!important;bottom:0!important;width:100vw!important;max-width:none!important;height:calc(100dvh - var(--cui-mobile-header))!important;min-height:0!important;padding:4px 0 calc(100px + env(safe-area-inset-bottom))!important;background:#fff!important;background-image:none!important;border:0!important;box-shadow:none!important;overflow-y:auto!important;overscroll-behavior:contain!important;color:var(--cui-mobile-ink)!important;transform:translateX(104%)!important;transition:transform .25s ease!important}
  body.mobile-nav-open .topbar .nav{transform:translateX(0)!important}
  body.mobile-nav-open::before{display:none!important}
  .topbar .nav-item{border:0!important;border-bottom:1px solid var(--cui-mobile-line)!important;background:#fff!important}
  .topbar .nav>.nav-item>a,.topbar .nav>.nav-item>.nav-trigger,body.mobile-nav-open .topbar .nav>.nav-item>a,body.mobile-nav-open .topbar .nav>.nav-item>.nav-trigger{min-height:54px!important;padding:15px 22px!important;color:#202020!important;background:#fff!important;font-size:15px!important;font-weight:500!important;line-height:1.2!important;letter-spacing:.015em!important;text-transform:none!important}
  .topbar .nav>.nav-item>a::after,.topbar .nav>.nav-item>.nav-trigger::after{display:none!important}
  .topbar .nav-item.has-dropdown>.nav-trigger::before{content:"›"!important;order:2!important;margin-left:auto!important;color:#777!important;font-size:23px!important;font-weight:300!important;line-height:1!important;transform:rotate(90deg)!important;transition:transform .2s ease!important}
  .topbar .nav-item.mobile-open>.nav-trigger::before{content:"›"!important;transform:rotate(-90deg)!important}
  .topbar .nav-dropdown,.topbar .nav-dropdown-compact{position:static!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#f7f7f5!important;border:0!important;border-top:1px solid #ecece8!important;box-shadow:none!important;transform:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;max-height:0!important;overflow:hidden!important}
  .topbar .nav-item.mobile-open .nav-dropdown{max-height:760px!important}
  .topbar .nav-dropdown .dropdown-links{padding:5px 0!important}
  .topbar .nav-dropdown .dropdown-links a{padding:11px 34px!important;color:#5b5b56!important;background:transparent!important;font-size:14px!important;font-weight:400!important;letter-spacing:0!important;text-transform:none!important}
  .topbar .nav-dropdown .dropdown-links a:hover{background:#efefec!important;color:#111!important}

  /* Replace legacy floating actions with the mobile dock. */
  .floating-chat,.floating-valuation,.back-top,.pd-bottom-chat{display:none!important}

  /* Pull-up / pull-down mobile shortcut dock. */
  .cui-mobile-dock{display:block;position:fixed;z-index:9000;left:10px;right:10px;bottom:calc(7px + env(safe-area-inset-bottom));height:var(--cui-mobile-dock-height);border:1px solid rgba(0,0,0,.10);border-radius:18px;background:rgba(255,255,255,.97);box-shadow:0 -5px 26px rgba(0,0,0,.14);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);transition:transform .24s ease,opacity .2s ease;will-change:transform}
  .cui-mobile-dock.is-collapsed{transform:translateY(calc(var(--cui-mobile-dock-height) - 7px))}
  body.mobile-nav-open .cui-mobile-dock{transform:translateY(130%)!important;pointer-events:none!important}
  .cui-mobile-dock-handle{position:absolute;left:50%;top:-25px;transform:translateX(-50%);width:64px;height:27px;display:flex;align-items:center;justify-content:center;padding:0;border:1px solid rgba(0,0,0,.10);border-bottom:0;border-radius:15px 15px 0 0;background:rgba(255,255,255,.98);color:#5a5a56;box-shadow:0 -5px 15px rgba(0,0,0,.06);cursor:pointer;touch-action:none}
  .cui-mobile-dock-handle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .22s ease}
  .cui-mobile-dock.is-collapsed .cui-mobile-dock-handle svg{transform:rotate(180deg)}
  .cui-mobile-dock-grip{position:absolute;top:5px;left:50%;width:26px;height:3px;border-radius:3px;background:#d4d4cf;transform:translateX(-50%)}
  .cui-mobile-dock-panel{height:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;padding:5px 5px 4px}
  .cui-mobile-dock-item{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border-radius:12px;color:#252525!important;text-decoration:none!important;font:600 10px/1 var(--sans);letter-spacing:.01em}
  .cui-mobile-dock-item svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  .cui-mobile-dock-item.is-active{background:#f3f3f0;color:#111!important}
  .cui-mobile-dock-item.is-active::after{content:"";position:absolute;left:50%;bottom:4px;width:16px;height:2px;transform:translateX(-50%);border-radius:2px;background:var(--red,#e01525)}
  .cui-mobile-dock-item{position:relative}

  /* ---------- Property results ---------- */
  .property-results-page .results-demo{height:auto!important;min-height:calc(100dvh - var(--cui-mobile-header))!important}
  
  .property-results-page .search-mode-row{padding:0 2px 7px!important;min-height:0!important}
  .property-results-page .search-mode-tabs .search-mode{font-size:13px!important}
  .property-results-page .toolbar-row[data-standard-toolbar]{display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) 46px 46px!important;grid-template-areas:"category price filters sort" "location location location location" "radius radius views views";gap:8px!important;align-items:center!important}
  .property-results-page .sale-control{grid-area:category!important;min-width:0!important}
  .property-results-page .price-control{grid-area:price!important;min-width:0!important}
  .property-results-page .all-filters-control{grid-area:filters!important}
  .property-results-page .sort-control{grid-area:sort!important}
  .property-results-page .location-search-wrap{grid-area:location!important;width:100%!important;min-width:0!important}
  .property-results-page .radius-control{grid-area:radius!important;min-width:0!important}
  .property-results-page .view-switcher{grid-area:views!important;justify-self:end!important;margin:0!important;display:flex!important}
  .property-results-page .filter-select,.property-results-page .location-search{height:46px!important;min-height:46px!important;border-radius:23px!important;font-size:14px!important;padding-left:15px!important;padding-right:15px!important}
  .property-results-page .filter-control{min-width:0!important}
  .property-results-page .filter-select{width:100%!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .property-results-page .sale-type{border-radius:23px!important}
  .property-results-page .location-search{margin:0!important;max-width:none!important;width:100%!important;border-radius:23px!important}
  .property-results-page .location-search input{min-width:0!important;height:42px!important;font-size:16px!important;text-overflow:ellipsis!important}
  .property-results-page .location-crosshair{padding-left:14px!important;padding-right:8px!important}
  .property-results-page .all-filters-control .filter-label,.property-results-page .all-filters-control .filter-chevron,.property-results-page .sort-control [data-sort-label],.property-results-page .sort-control .filter-chevron{display:none!important}
  .property-results-page .all-filters-control .filter-select,.property-results-page .sort-control .filter-select{width:46px!important;height:46px!important;padding:0!important;display:grid!important;place-items:center!important}
  .property-results-page .filter-count-badge{position:absolute!important;right:-3px!important;top:-5px!important}
  .property-results-page .view-switcher button{width:48px!important;height:44px!important;font-size:19px!important}
  .property-results-page .view-switcher [data-view="table"]{display:none!important}
  .property-results-page .view-switcher button:first-child{border-radius:10px 0 0 10px!important}
  .property-results-page .view-switcher button:last-child{border-radius:0 10px 10px 0!important}

  /* Dropdowns become contained bottom sheets instead of overflowing the phone. */
  .property-results-page .filter-menu{position:fixed!important;left:10px!important;right:10px!important;top:auto!important;bottom:calc(var(--cui-mobile-dock-height) + 22px + env(safe-area-inset-bottom))!important;width:auto!important;max-width:none!important;max-height:min(58dvh,520px)!important;overflow:auto!important;border:1px solid #deded9!important;border-radius:16px!important;background:#fff!important;box-shadow:0 16px 46px rgba(0,0,0,.24)!important;z-index:10030!important;transform:none!important}
  .property-results-page .price-menu{padding:20px 16px 16px!important}
  .property-results-page .price-input-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}
  .property-results-page .price-input-grid input{height:48px!important}
  .property-results-page .price-menu-actions{padding-bottom:0!important}

  
  
  
  .property-results-page .pane-results-head{gap:12px!important;align-items:flex-start!important;flex-wrap:wrap!important}
  .property-results-page .pane-results-count{font-size:12px!important}
  .property-results-page .result-actions{gap:12px!important}
  .property-results-page .result-actions button{font-size:12px!important}
  .property-results-page .keyword-strip{height:auto!important;min-height:54px!important;flex-wrap:wrap!important;padding:8px 0!important}

  .property-results-page .property-card,.property-results-page .results-pane .property-card{display:block!important;grid-template-columns:none!important;min-height:0!important;margin:0 0 12px!important;border-radius:10px!important;overflow:hidden!important}
  .property-results-page .property-photo{height:auto!important;min-height:0!important;aspect-ratio:4/3!important;border-radius:0!important}
  .property-results-page .property-photo>a{display:block!important;width:100%!important;height:100%!important}
  .property-results-page .property-photo img{width:100%!important;height:100%!important;object-fit:cover!important}
  .property-results-page .property-copy{padding:17px 16px 14px!important;min-height:0!important}
  .property-results-page .price-line{padding-right:30px!important;align-items:flex-start!important}
  .property-results-page .price-line h2{font-size:25px!important;line-height:1.05!important;overflow-wrap:anywhere!important}
  .property-results-page .property-roundels{margin-left:auto!important;flex:0 0 auto!important}
  .property-results-page .property-type{margin:8px 0 5px!important;font-size:14px!important}
  .property-results-page .property-copy h3{font-size:17px!important;line-height:1.35!important}
  .property-results-page .description{display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important;margin-bottom:12px!important;font-size:14px!important;line-height:1.5!important}
  .property-results-page .property-specs{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;margin-top:13px!important;padding-top:11px!important;display:flex!important;gap:12px!important;flex-wrap:wrap!important;font-size:12px!important}
  .property-results-page .property-specs .distance{margin-left:0!important}
  .property-results-page .hide-property-button{top:12px!important;right:10px!important}
  .property-results-page .image-card-tools{top:10px!important;right:10px!important;gap:7px!important}
  .property-results-page .image-card-tools button{width:40px!important;height:40px!important}
  .property-results-page .image-arrow{width:38px!important;height:52px!important}

  /* Mobile map is a real full-width mode with a bottom property sheet. */
  
  
  
  
  .property-results-page .map-tabs{left:10px!important;top:10px!important}
  .property-results-page .map-tabs button{padding:10px 13px!important;font-size:13px!important}
  .property-results-page .map-search-tools{right:10px!important;top:10px!important;gap:8px!important}
  .property-results-page .map-icon-tool{width:44px!important;height:44px!important;border-radius:10px!important}
  .property-results-page .map-school-panel{right:0!important;max-width:calc(100vw - 40px)!important}
  
  
  .property-results-page .map-status{bottom:12px!important;max-width:calc(100% - 30px)!important}
  .property-results-page .map-coordinate-note{bottom:12px!important;max-width:calc(100% - 30px)!important}

  /* Table is intentionally desktop/tablet-only. */
  .property-results-page .table-pane{display:none!important}

  /* Full-screen filters on mobile. */
  .property-results-page .all-filters-modal,.property-results-page .quick-filters-modal{padding:0!important;align-items:stretch!important}
  .property-results-page .all-filters-dialog,.property-results-page .quick-filters-dialog{width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;border-radius:0!important;margin:0!important}
  .property-results-page .all-filters-body{padding:16px!important}
  .property-results-page .all-filters-footer{padding-bottom:calc(12px + env(safe-area-inset-bottom))!important}

  /* ---------- Property details ---------- */
  .property-detail-page .pd-shell{padding:14px 12px calc(36px + var(--cui-mobile-dock-height))!important}
  .property-detail-page .pd-topline{margin:4px 2px 12px!important;font-size:12px!important}
  .property-detail-page .pd-topline-nav{display:none!important}
  .property-detail-page .pd-hero,.property-detail-page .pd-title-gallery-grid,.property-detail-page .pd-classic-split,.property-detail-page .pd-split-hero{display:block!important;width:100%!important;max-width:100%!important;padding-left:0!important;padding-right:0!important}
  .property-detail-page .pd-gallery,.property-detail-page .pd-classic-gallery,.property-detail-page .pd-title-gallery-grid,.property-detail-page .pd-full-gallery-stage,.property-detail-page .pd-alt-stage,.property-detail-page .pd-split-main,.property-detail-page .pd-classic-main{display:block!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:4/3!important;border-radius:10px!important;overflow:hidden!important;background:#111!important}
  .property-detail-page .pd-gallery .pd-photo{display:block!important;width:100%!important;height:100%!important;min-height:0!important;border-radius:10px!important}
  .property-detail-page .pd-gallery .pd-photo img,.property-detail-page .pd-alt-stage>img,.property-detail-page .pd-full-gallery-stage>img,.property-detail-page .pd-split-main>img,.property-detail-page .pd-classic-main>img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important}
  .property-detail-page .pd-thumbs,.property-detail-page .pd-classic-side,.property-detail-page .pd-split-thumbs,.property-detail-page .pd-title-gallery-thumbs,.property-detail-page .pd-full-gallery-thumbs{display:none!important}
  .property-detail-page .pd-gallery-arrow{width:40px!important;height:40px!important;font-size:22px!important}
  .property-detail-page .pd-count,.property-detail-page .pd-alt-count{left:12px!important;top:12px!important;padding:7px 10px!important;font-size:11px!important}
  .property-detail-page .pd-view-all,.property-detail-page .pd-alt-gallery-btn{left:auto!important;right:10px!important;bottom:10px!important;width:auto!important;inset:auto 10px 10px auto!important;padding:9px 12px!important;font-size:11px!important}
  .property-detail-page .pd-ai{height:auto!important;min-height:0!important;margin-top:12px!important;padding:18px!important;border-radius:12px!important}
  .property-detail-page .pd-layout{display:block!important;margin-top:12px!important}
  .property-detail-page .pd-sidebar{position:static!important;display:block!important;margin-top:14px!important}
  .property-detail-page .pd-sidebar .pd-sticky,.property-detail-page .pd-sidebar .pd-sticky.pd-ai-fixed,.property-detail-page .pd-sidebar .pd-sticky.pd-ai-bottom{position:static!important;left:auto!important;top:auto!important;bottom:auto!important;width:auto!important;display:flex!important;gap:12px!important}
  .property-detail-page .pd-heading-row{display:block!important}
  .property-detail-page .pd-heading-row h1{font-size:clamp(34px,10vw,46px)!important;line-height:1!important}
  .property-detail-page .pd-price{margin-top:7px!important;font-size:31px!important}
  .property-detail-page .pd-summary{padding:18px 16px 12px!important}
  .property-detail-page .pd-facts{gap:13px!important;margin:16px 0!important}
  .property-detail-page .pd-card{padding:18px 16px!important;border-radius:10px!important}
  .property-detail-page .pd-feature-grid,.property-detail-page .pd-docs,.property-detail-page .pd-grid-2,.property-detail-page .pd-info-grid,.property-detail-page .pd-market-wrap,.property-detail-page .pd-transit-cols,.property-detail-page .pd-calc,.property-detail-page .pd-support-grid{grid-template-columns:1fr!important}
  .property-detail-page .pd-info-grid{grid-template-columns:1fr 1fr!important}
  .property-detail-page .pd-viewing-mini-slots{grid-template-columns:1fr 1fr!important}
  .property-detail-page .pd-body-map,.property-detail-page .pd-map-card,.property-detail-page .pd-live-map{height:280px!important;min-height:280px!important}

  /* Gallery modal uses the phone viewport rather than desktop centring. */
  .property-detail-page .pd-gallery-modal{inset:0!important;height:100dvh!important;min-height:100dvh!important}
  .property-detail-page .pd-gallery-modal-head{padding:10px 12px!important;min-height:58px!important}
  .property-detail-page .pd-gallery-stage{min-height:0!important;padding:10px!important;align-items:center!important;justify-content:center!important;overflow:auto!important}
  .property-detail-page .pd-gallery-stage img{max-width:100%!important;max-height:calc(100dvh - 155px)!important;width:auto!important;height:auto!important;object-fit:contain!important}
  .property-detail-page .pd-gallery-filmstrip{padding:8px 10px calc(10px + env(safe-area-inset-bottom))!important;justify-content:flex-start!important}
  .property-detail-page .pd-gallery-filmstrip button{width:70px!important;height:48px!important;flex:0 0 auto!important}

  /* ---------- Search page / shared form controls ---------- */
  .search-main-no-hero select,.search-main-no-hero input,.search-main-no-hero button{max-width:100%}
}

@media (max-width:520px){
  .property-results-page .toolbar-row[data-standard-toolbar]{grid-template-columns:minmax(0,1.3fr) minmax(0,.9fr) 44px 44px!important}
  .property-results-page .filter-select{font-size:13px!important;padding-left:12px!important;padding-right:12px!important}
  .property-results-page .result-actions span{display:none!important}
  .property-results-page .price-line h2{font-size:23px!important}
  .property-detail-page .pd-modal-panel{width:calc(100vw - 18px)!important;padding:20px 14px!important;border-radius:12px!important}
  .property-detail-page .pd-modal-form{grid-template-columns:1fr!important}
  .property-detail-page .pd-modal-form .full{grid-column:auto!important}
  .property-detail-page .pd-modal-form input,.property-detail-page .pd-modal-form select{min-height:50px!important}
}

/* CUI Mobile UX v2 - screenshot-led correction pass, 2026-09-29.
   Presentation only: no property-query, filtering or repository logic changes. */
@media (max-width:900px){
  :root{
    --cui-mobile-gutter:16px;
    --cui-mobile-dock-collapsed-visible:18px;
    --cui-mobile-dock-clearance:32px;
  }
  html.mobile-dock-expanded{--cui-mobile-dock-clearance:78px}
  html{scroll-padding-bottom:calc(var(--cui-mobile-dock-clearance) + 14px + env(safe-area-inset-bottom))}
  .page{padding-bottom:calc(var(--cui-mobile-dock-clearance) + 10px + env(safe-area-inset-bottom))!important}

  /* Mobile menu: make each submenu occupy only the height of its real links.
     The custom property is set from cui-redesign.js when a section is opened. */
  .topbar .nav-dropdown,.topbar .nav-dropdown-compact{
    display:block!important;
    max-height:0!important;
    overflow:hidden!important;
    transition:max-height .22s ease!important;
  }
  .topbar .nav-item.mobile-open .nav-dropdown,
  .topbar .nav-item.mobile-open .nav-dropdown-compact{
    max-height:var(--cui-mobile-submenu-height,0px)!important;
  }

  /* Mobile dock: integrated shallow pull handle and collapsed initial state. */
  .cui-mobile-dock{
    left:var(--cui-mobile-gutter)!important;
    right:var(--cui-mobile-gutter)!important;
    bottom:env(safe-area-inset-bottom)!important;
    border-radius:17px!important;
    transition:transform .24s ease,opacity .2s ease!important;
  }
  .cui-mobile-dock.is-collapsed{
    transform:translateY(calc(var(--cui-mobile-dock-height) - var(--cui-mobile-dock-collapsed-visible)))!important;
  }
  .cui-mobile-dock-handle{
    top:-13px!important;
    width:72px!important;
    height:27px!important;
    border:1px solid rgba(0,0,0,.10)!important;
    border-bottom:0!important;
    border-radius:17px 17px 0 0!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:none!important;
  }
  .cui-mobile-dock-handle svg{margin-top:8px!important;transform:rotate(180deg)}
  .cui-mobile-dock.is-collapsed .cui-mobile-dock-handle svg{transform:rotate(0)}
  .cui-mobile-dock-grip{top:4px!important;width:25px!important;height:3px!important}
  .cui-mobile-dock-panel{transition:opacity .16s ease}
  .cui-mobile-dock.is-collapsed .cui-mobile-dock-panel{opacity:0;pointer-events:none}

  /* The homepage secondary CTA must remain legible on the dark hero regardless
     of a demo colour value inherited from the desktop theme controls. */
  .home-page .hero-copy .btn-outline{
    color:#fff!important;
    border-color:rgba(255,255,255,.48)!important;
    background:transparent!important;
  }

  /* ---------- Property results mobile hierarchy ---------- */
  body.property-results-page .page{padding-bottom:0!important}
  .property-results-page .results-demo{
    min-height:0!important;
    height:auto!important;
  }
  
  .property-results-page .search-mode-row{
    margin:0!important;
    padding:0 0 7px!important;
  }

  /* Row 1: Department + Radius. Row 2: Price + Filters + Sort + List/Map.
     Row 3: Location. This prevents the toolbar changing shape unpredictably. */
  .property-results-page .toolbar-row[data-standard-toolbar]{
    display:grid!important;
    grid-template-columns:minmax(76px,1fr) 46px 46px 96px!important;
    grid-template-areas:
      "category category radius radius"
      "price filters sort views"
      "location location location location"!important;
    gap:8px!important;
    align-items:center!important;
  }
  .property-results-page .sale-control{grid-area:category!important;min-width:0!important}
  .property-results-page .radius-control{grid-area:radius!important;min-width:0!important}
  .property-results-page .price-control{grid-area:price!important;min-width:0!important}
  .property-results-page .all-filters-control{grid-area:filters!important;display:block!important;justify-self:center!important;min-width:46px!important}
  .property-results-page .sort-control{grid-area:sort!important;display:block!important;justify-self:center!important;min-width:46px!important}
  .property-results-page .location-search-wrap{grid-area:location!important;width:100%!important;min-width:0!important}
  .property-results-page .view-switcher{grid-area:views!important;display:flex!important;justify-self:end!important;width:96px!important;margin:0!important}
  .property-results-page .sort-filter{display:grid!important}
  .property-results-page .sale-control>.filter-select,
  .property-results-page .radius-control>.filter-select,
  .property-results-page .price-control>.filter-select{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
  }
  .property-results-page .sale-control>.sale-type{min-width:0!important}
  .property-results-page .view-switcher button{width:48px!important;flex:0 0 48px!important}
  .property-results-page .view-switcher [data-view="table"]{display:none!important}

  /* Keep the filter count attached to the filter control instead of making the
     toolbar appear to spread apart. */
  .property-results-page .all-filters-control{position:relative!important}
  .property-results-page .filter-count-badge,
  .property-results-page .all-filters-control .filter-count-badge{
    top:-2px!important;
    right:-1px!important;
  }

  /* Bottom-sheet menus respect the shared mobile gutter and whichever dock
     state is currently visible. */
  .property-results-page .filter-menu{
    left:var(--cui-mobile-gutter)!important;
    right:var(--cui-mobile-gutter)!important;
    bottom:calc(var(--cui-mobile-dock-clearance) + 10px + env(safe-area-inset-bottom))!important;
  }

  /* Results content uses the same 16px edge throughout. Removing the inherited
     negative margin fixes the heading/actions sitting against the phone edge. */
  
  
  
  .property-results-page .pane-results-head{gap:10px!important}
  .property-results-page .result-actions{gap:14px!important}
  .property-results-page .must-have-row{padding-left:0!important;padding-right:0!important}
  .property-results-page .pagination-summary{margin-bottom:6px!important}

  /* True circles: older v9 rules fixed the map action to 34px wide while the
     mobile rule made it 40px high, which is the source of the egg shape. */
  .property-results-page .image-card-tools button,
  .property-results-page .image-card-tools .image-map-action,
  .property-results-page .roundel,
  .property-results-page .price-line>.roundel{
    width:40px!important;
    min-width:40px!important;
    max-width:40px!important;
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
    flex:0 0 40px!important;
    aspect-ratio:1 / 1!important;
    box-sizing:border-box!important;
    border-radius:50%!important;
  }

  /* Status actions share one exact height/baseline. */
  .property-results-page .property-status-badges{align-items:center!important}
  .property-results-page .property-status-badges .status-badge{
    height:24px!important;
    min-height:24px!important;
    padding-top:0!important;
    padding-bottom:0!important;
    line-height:1!important;
  }

  /* ---------- Mobile map ---------- */
  .property-results-page .map-tabs{left:var(--cui-mobile-gutter)!important;top:12px!important}
  .property-results-page .map-search-tools{right:var(--cui-mobile-gutter)!important;top:12px!important}
  
  .property-results-page .map-status,
  .property-results-page .map-coordinate-note{
    bottom:calc(var(--cui-mobile-dock-clearance) + 10px + env(safe-area-inset-bottom))!important;
    max-width:calc(100% - (2 * var(--cui-mobile-gutter)))!important;
  }
  .property-results-page .leaflet-bottom.leaflet-right .leaflet-control-zoom{
    margin-right:var(--cui-mobile-gutter)!important;
    margin-bottom:calc(var(--cui-mobile-dock-clearance) + 10px + env(safe-area-inset-bottom))!important;
  }

  /* A selected property is dismissible without introducing a warning-red block. */
  
  
}

@media (max-width:420px){
  .property-results-page .toolbar-row[data-standard-toolbar]{
    grid-template-columns:minmax(70px,1fr) 44px 44px 92px!important;
  }
  .property-results-page .view-switcher{width:92px!important}
  .property-results-page .view-switcher button{width:46px!important;flex-basis:46px!important}
}

/* CUI Mobile UX v3 - native mobile refinement, 2026-09-29.
   Mobile presentation only; desktop and property-query logic remain unchanged. */
@media (max-width:900px){
  :root{
    --cui-mobile-dock-height:58px;
    --cui-mobile-dock-clearance:74px;
    --cui-mobile-pill-height:38px;
  }

  /* Fixed, lighter glass navigation inspired by native marketplace apps. */
  .cui-mobile-dock{
    display:block!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(7px + env(safe-area-inset-bottom))!important;
    height:var(--cui-mobile-dock-height)!important;
    transform:none!important;
    border:1px solid rgba(255,255,255,.60)!important;
    border-radius:22px!important;
    background:rgba(255,255,255,.74)!important;
    box-shadow:0 5px 24px rgba(0,0,0,.14),inset 0 0 0 1px rgba(0,0,0,.035)!important;
    backdrop-filter:blur(22px) saturate(160%)!important;
    -webkit-backdrop-filter:blur(22px) saturate(160%)!important;
  }
  .cui-mobile-dock.is-collapsed{transform:none!important}
  .cui-mobile-dock-handle{display:none!important}
  .cui-mobile-dock-panel{height:100%!important;padding:3px 6px!important;opacity:1!important;pointer-events:auto!important}
  .cui-mobile-dock-item{gap:2px!important;border-radius:16px!important;font-size:9px!important;font-weight:600!important;background:transparent!important}
  .cui-mobile-dock-item svg{width:20px!important;height:20px!important;stroke-width:1.65!important}
  .cui-mobile-dock-item.is-active{background:rgba(255,255,255,.56)!important}
  .cui-mobile-dock-item.is-active::after{bottom:2px!important;width:13px!important}
  html.mobile-dock-expanded,html.mobile-dock-collapsed{--cui-mobile-dock-clearance:74px!important}

  /* Avoid a white strip after the footer: reserve dock room inside the footer. */
  .page{padding-bottom:0!important}
  body:not(.property-results-page) .footer{padding-bottom:calc(18px + var(--cui-mobile-dock-height) + env(safe-area-inset-bottom))!important}

  /* Stronger selector than the late compact-dropdown desktop rule. */
  .topbar .nav.nav-compact-dropdowns .nav-item.mobile-open>.nav-dropdown.nav-dropdown-compact{
    display:block!important;
    position:static!important;
    transform:none!important;
    width:100%!important;
    max-width:none!important;
    padding:0!important;
    background:#f6f6f3!important;
    border:0!important;
    border-top:1px solid #e7e7e3!important;
    opacity:1!important;
    visibility:visible!important;
  }
  .topbar .nav.nav-compact-dropdowns .nav-dropdown.nav-dropdown-compact .dropdown-links{
    display:block!important;
    padding:5px 0 8px!important;
  }
  .topbar .nav.nav-compact-dropdowns .nav-dropdown.nav-dropdown-compact .dropdown-links a{
    display:block!important;
    min-height:42px!important;
    padding:12px 34px!important;
    color:#3f3f3b!important;
    background:transparent!important;
    font-size:14px!important;
    font-weight:450!important;
    line-height:1.25!important;
    letter-spacing:0!important;
    opacity:1!important;
    visibility:visible!important;
  }

  /* Results search: remove redundant mode title/underline on mobile. */
  .property-results-page .search-mode-row{display:none!important}
  

  /* Compact filter pills. Retain a stable three-row hierarchy rather than
     squeezing every control into one row. */
  .property-results-page .toolbar-row[data-standard-toolbar]{
    grid-template-columns:minmax(0,1fr) minmax(105px,.72fr) 40px 40px!important;
    grid-template-areas:
      "category category radius radius"
      "price filters sort sort"
      "location location location location"!important;
    gap:7px 8px!important;
  }
  .property-results-page .filter-select,
  .property-results-page .location-search{
    height:var(--cui-mobile-pill-height)!important;
    min-height:var(--cui-mobile-pill-height)!important;
    border-radius:19px!important;
    font-size:12px!important;
  }
  .property-results-page .location-search input{height:34px!important;font-size:15px!important}
  .property-results-page .all-filters-control .filter-select,
  .property-results-page .sort-control .filter-select{
    width:40px!important;
    height:40px!important;
    min-height:40px!important;
  }
  .property-results-page .view-switcher{display:none!important}

  /* Quick menus and filter modal: rounded, glassy bottom sheets. */
  .property-results-page .filter-menu{
    left:10px!important;
    right:10px!important;
    bottom:calc(var(--cui-mobile-dock-clearance) + env(safe-area-inset-bottom))!important;
    max-height:min(54dvh,470px)!important;
    border:1px solid rgba(0,0,0,.08)!important;
    border-radius:22px!important;
    background:rgba(255,255,255,.94)!important;
    box-shadow:0 18px 60px rgba(0,0,0,.23)!important;
    backdrop-filter:blur(20px) saturate(145%)!important;
    -webkit-backdrop-filter:blur(20px) saturate(145%)!important;
    overflow:auto!important;
  }
  .property-results-page .filter-menu button{min-height:44px!important;padding:10px 16px!important;border-radius:12px!important}
  .property-results-page .all-filters-modal{align-items:end!important;padding:0!important;background:rgba(0,0,0,.40)!important}
  .property-results-page .all-filters-dialog{
    width:100%!important;
    height:auto!important;
    max-height:92dvh!important;
    border-radius:24px 24px 0 0!important;
    box-shadow:0 -18px 55px rgba(0,0,0,.24)!important;
  }
  .property-results-page .all-filters-head{height:58px!important;padding:0 18px!important}
  .property-results-page .all-filters-body{padding:14px 16px 18px!important}
  .property-results-page .all-filters-footer{padding:10px 16px calc(10px + env(safe-area-inset-bottom))!important}

  /* Full-width result meta strip with a proper internal gutter. */
  
  .property-results-page .hidden-results-notice{
    margin-left:calc(-1 * var(--cui-mobile-gutter))!important;
    margin-right:calc(-1 * var(--cui-mobile-gutter))!important;
    padding-left:var(--cui-mobile-gutter)!important;
    padding-right:var(--cui-mobile-gutter)!important;
    box-sizing:border-box!important;
  }

  /* Hidden really means hidden: older mobile display:block rules otherwise win. */
  

  /* A map button inside an individual list card is redundant in the hybrid layout. */
  

  /* Mobile cards: preserve swipeable photography and reduce visual density. */
  
  

  /* Airbnb-style mobile result flow: map is always above the list and may expand. */
  
  
  
  

  /* Selected map property: small native-style card, no description text. */
  
  
  
  
  
  
  
  
  
  
  

  /* Compact mortgage sheet so the estimate is visible on normal phone heights. */
  .property-results-page .mortgage-modal{align-items:end!important;padding:0!important;background:rgba(0,0,0,.45)!important}
  .property-results-page .mortgage-dialog{
    width:100%!important;
    max-width:none!important;
    max-height:92dvh!important;
    padding:13px 14px calc(12px + env(safe-area-inset-bottom))!important;
    border-radius:22px 22px 0 0!important;
  }
  .property-results-page .mortgage-head{min-height:42px!important;margin-bottom:8px!important}
  .property-results-page .mortgage-dialog .mortgage-head h2{font-size:17px!important}
  .property-results-page .mortgage-dialog .mortgage-close{width:34px!important;height:34px!important;flex-basis:34px!important;font-size:24px!important}
  .property-results-page .mortgage-grid{gap:8px!important}
  .property-results-page .mortgage-grid label{font-size:11px!important}
  .property-results-page .mortgage-grid input:not([type=range]){height:42px!important;margin-top:4px!important;padding:0 11px!important;font-size:15px!important}
  .property-results-page .mortgage-dialog input[type=range]{height:16px!important;margin-top:5px!important}
  .property-results-page .mortgage-result{grid-template-columns:138px 1fr!important;gap:12px!important;margin-top:10px!important;padding-top:10px!important}
  .property-results-page .payment-ring{width:132px!important;height:132px!important;border-width:18px!important}
  .property-results-page .payment-ring span{font-size:10px!important}
  .property-results-page .payment-ring strong{font-size:19px!important;margin:4px 0 2px!important}
  .property-results-page .payment-ring small{font-size:10px!important}
  .property-results-page .payment-breakdown p{font-size:10px!important;margin:6px 0!important;gap:6px!important}
  .property-results-page .payment-breakdown i{width:10px!important;height:10px!important}
  .property-results-page .mortgage-note{margin:8px 0 0!important;padding:8px 10px!important;font-size:9px!important;line-height:1.35!important}

  /* Property detail: full-bleed photo with the information rising as a card. */
  .property-detail-page .pd-shell{padding-left:0!important;padding-right:0!important;padding-top:10px!important;padding-bottom:calc(24px + var(--cui-mobile-dock-clearance))!important}
  .property-detail-page .pd-topline{padding:0 var(--cui-mobile-gutter)!important;margin:3px 0 10px!important}
  .property-detail-page .pd-hero,
  .property-detail-page .pd-title-gallery-grid,
  .property-detail-page .pd-classic-split,
  .property-detail-page .pd-split-hero{padding:0!important;margin:0!important}
  .property-detail-page .pd-gallery,
  .property-detail-page .pd-classic-gallery,
  .property-detail-page .pd-title-gallery-grid,
  .property-detail-page .pd-full-gallery-stage,
  .property-detail-page .pd-alt-stage,
  .property-detail-page .pd-split-main,
  .property-detail-page .pd-classic-main{
    border-radius:0!important;
    aspect-ratio:1.12 / 1!important;
  }
  .property-detail-page .pd-gallery .pd-photo,
  .property-detail-page .pd-gallery .pd-photo img{border-radius:0!important}
  .property-detail-page .pd-layout{margin-top:-22px!important;position:relative!important;z-index:4!important;background:#f7f6f3!important;border-radius:24px 24px 0 0!important;padding:0 var(--cui-mobile-gutter) 12px!important}
  .property-detail-page .pd-summary{
    margin:0 calc(-1 * var(--cui-mobile-gutter))!important;
    padding:23px var(--cui-mobile-gutter) 15px!important;
    border-radius:24px 24px 0 0!important;
    background:#fff!important;
    box-shadow:0 -8px 22px rgba(0,0,0,.07)!important;
  }
  .property-detail-page .pd-card{border-radius:16px!important}
}

@media (max-width:520px){
  .property-results-page .mortgage-result{grid-template-columns:126px 1fr!important}
  .property-results-page .payment-ring{width:120px!important;height:120px!important;border-width:16px!important}
}

.mobile-map-expand{display:none}
.mobile-search-actions,.mobile-must-have-control,.cui-mobile-map-filter-toggle{display:none}

/* CUI Mobile UX v4 - filter strip, native menus and map/list sheet refinement, 2026-09-29. */
.mobile-filter-strip{display:contents}

@media (min-width:901px){
  /* Preserve the pre-v4 desktop control order even though mobile now has a
     dedicated horizontal filter-strip wrapper. */
  .property-results-page .toolbar-row[data-standard-toolbar]>.mobile-filter-strip{display:contents}
  .property-results-page .toolbar-row[data-standard-toolbar] .sale-control{order:1}
  .property-results-page .toolbar-row[data-standard-toolbar]>.location-search-wrap{order:2}
  .property-results-page .toolbar-row[data-standard-toolbar] .radius-control{order:3}
  .property-results-page .toolbar-row[data-standard-toolbar] .price-control{order:4}
  .property-results-page .toolbar-row[data-standard-toolbar] .all-filters-control{order:5}
  .property-results-page .toolbar-row[data-standard-toolbar] .sort-control{order:6}
  .property-results-page .toolbar-row[data-standard-toolbar] .view-switcher{order:7}
}

@media (max-width:900px){
  /* A little more glass/less white than v3 while retaining legibility over
     photography and Safari's translucent browser chrome. */
  .cui-mobile-dock{
    background:rgba(255,255,255,.56)!important;
    border-color:rgba(255,255,255,.46)!important;
    box-shadow:0 5px 22px rgba(0,0,0,.13),inset 0 0 0 1px rgba(0,0,0,.025)!important;
    backdrop-filter:blur(24px) saturate(155%)!important;
    -webkit-backdrop-filter:blur(24px) saturate(155%)!important;
  }
  .cui-mobile-dock-item.is-active{background:rgba(255,255,255,.38)!important}

  /* One swipeable filter rail, as on native marketplace/search apps. The
     location field remains a separate full-width row aligned to the same
     16px page gutter. */
  .property-results-page .toolbar-row[data-standard-toolbar]{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:"mobilefilters" "location"!important;
    gap:8px!important;
    width:100%!important;
    min-width:0!important;
    overflow:visible!important;
  }
  .property-results-page .toolbar-row[data-standard-toolbar]>.mobile-filter-strip{
    grid-area:mobilefilters!important;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    width:100%!important;
    min-width:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:1px 1px 3px!important;
    margin:0!important;
    box-sizing:border-box!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-x:contain!important;
    scrollbar-width:none!important;
    scroll-snap-type:x proximity!important;
  }
  .property-results-page .toolbar-row[data-standard-toolbar]>.mobile-filter-strip::-webkit-scrollbar{display:none!important}
  .property-results-page .mobile-filter-strip>.filter-control{
    flex:0 0 auto!important;
    min-width:0!important;
    margin:0!important;
    scroll-snap-align:start!important;
  }
  .property-results-page .mobile-filter-strip .sale-control>.filter-select{
    width:auto!important;
    min-width:158px!important;
    max-width:none!important;
    border-radius:999px!important;
  }
  .property-results-page .mobile-filter-strip .radius-control>.filter-select{
    width:auto!important;
    min-width:142px!important;
    max-width:none!important;
    border-radius:999px!important;
  }
  .property-results-page .mobile-filter-strip .price-control>.filter-select{
    width:auto!important;
    min-width:108px!important;
    max-width:none!important;
    border-radius:999px!important;
  }
  .property-results-page .mobile-filter-strip .all-filters-control,
  .property-results-page .mobile-filter-strip .sort-control{
    flex:0 0 40px!important;
    width:40px!important;
    min-width:40px!important;
  }
  .property-results-page .mobile-filter-strip .all-filters-control>.filter-select,
  .property-results-page .mobile-filter-strip .sort-control>.filter-select{
    width:40px!important;
    min-width:40px!important;
    max-width:40px!important;
    border-radius:999px!important;
  }
  .property-results-page .mobile-filter-strip .view-switcher{display:none!important}

  .property-results-page .toolbar-row[data-standard-toolbar]>.location-search-wrap{
    grid-area:location!important;
    order:initial!important;
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    flex-basis:auto!important;
    box-sizing:border-box!important;
  }
  .property-results-page .location-search-wrap .location-search{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    box-sizing:border-box!important;
  }
  .property-results-page .location-search input{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .property-results-page .location-suggestions{
    left:0!important;
    right:0!important;
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  .property-results-page .location-suggestions button,
  .property-results-page .location-suggestion-copy,
  .property-results-page .location-suggestion-path{min-width:0!important;max-width:100%!important}

  /* Category/radius/sort menus now use the same neutral frosted palette and
     dark typography as the homepage's native iOS-style select presentation. */
  .property-results-page .sale-control>.filter-menu,
  .property-results-page .radius-control>.filter-menu,
  .property-results-page .sort-control>.filter-menu{
    left:12px!important;
    right:12px!important;
    width:auto!important;
    max-width:none!important;
    padding:7px!important;
    border:1px solid rgba(0,0,0,.10)!important;
    border-radius:22px!important;
    background:rgba(240,240,238,.94)!important;
    color:#202020!important;
    box-shadow:0 20px 54px rgba(0,0,0,.24)!important;
    backdrop-filter:blur(24px) saturate(135%)!important;
    -webkit-backdrop-filter:blur(24px) saturate(135%)!important;
  }
  .property-results-page .sale-control>.filter-menu button,
  .property-results-page .radius-control>.filter-menu button,
  .property-results-page .sort-control>.filter-menu button{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-height:44px!important;
    margin:0!important;
    padding:10px 14px 10px 42px!important;
    border:0!important;
    border-radius:13px!important;
    background:transparent!important;
    color:#242424!important;
    font:500 15px/1.2 var(--sans)!important;
    text-align:left!important;
  }
  .property-results-page .sale-control>.filter-menu button+button,
  .property-results-page .radius-control>.filter-menu button+button,
  .property-results-page .sort-control>.filter-menu button+button{border-top:1px solid rgba(0,0,0,.055)!important}
  .property-results-page .sale-control>.filter-menu button.is-selected,
  .property-results-page .radius-control>.filter-menu button.is-selected,
  .property-results-page .sort-control>.filter-menu button.is-selected{
    background:rgba(224,21,37,.10)!important;
    color:#c91020!important;
  }
  .property-results-page .sale-control>.filter-menu button.is-selected::before,
  .property-results-page .radius-control>.filter-menu button.is-selected::before,
  .property-results-page .sort-control>.filter-menu button.is-selected::before{
    content:"✓"!important;
    position:absolute!important;
    left:15px!important;
    top:50%!important;
    transform:translateY(-52%)!important;
    color:#c91020!important;
    font:700 16px/1 var(--sans)!important;
  }

  /* The result summary becomes the top of a native-style sheet that rises
     over the map. Its contents keep the 16px mobile gutter. */
  
  
  
  .property-results-page .hidden-results-notice{
    width:auto!important;
    max-width:100%!important;
    margin:10px 0 0!important;
    padding:10px 12px!important;
    border:1px solid #eadfab!important;
    border-radius:12px!important;
    box-sizing:border-box!important;
  }

  /* Icon-only expand/collapse control. The accessible name is updated in JS. */

  /* Keep Leaflet zoom away from the vertical draw/boundary/school tool stack. */
  .property-results-page .leaflet-bottom.leaflet-right .leaflet-control-zoom{
    margin-right:72px!important;
    margin-bottom:14px!important;
  }
}

@media (max-width:900px){
  /* Client-default AI guard is emitted later in the document with !important;
     out-specificity it so the mobile filter rail remains a two-row layout. */
  
}

@media (max-width:900px){
  /* iOS Safari zooms focused fields below 16px; keeping the location field at
     16px prevents the viewport from appearing to run off the phone edge. */
  .property-results-page .location-search input{font-size:16px!important}
}


/* CUI Mobile UX v5 - native filter sheets, swipe map sheet and reduced map chrome, 2026-09-29. */
@media (max-width:900px){
  /* Menus are portalled out of the horizontally scrolling filter rail on iOS.
     This avoids WebKit clipping fixed descendants of an overflow scroller. */
  .cui-mobile-filter-portal{
    position:fixed!important;inset:0!important;z-index:100040!important;pointer-events:none!important;
  }
  .cui-mobile-filter-portal .filter-menu{
    position:fixed!important;left:12px!important;right:12px!important;top:auto!important;
    bottom:calc(var(--cui-mobile-dock-clearance) + 10px + env(safe-area-inset-bottom))!important;
    width:auto!important;max-width:none!important;max-height:min(60dvh,540px)!important;overflow:auto!important;
    z-index:1!important;pointer-events:auto!important;transform:none!important;
    border:1px solid rgba(0,0,0,.10)!important;border-radius:22px!important;
    background:rgba(245,245,243,.97)!important;box-shadow:0 20px 54px rgba(0,0,0,.24)!important;
    backdrop-filter:blur(24px) saturate(135%)!important;-webkit-backdrop-filter:blur(24px) saturate(135%)!important;
  }
  .cui-mobile-filter-portal .filter-menu[hidden]{display:none!important}
  .cui-mobile-filter-portal .filter-menu:not([hidden]){display:block!important}
  .cui-mobile-filter-portal .filter-menu.cui-sheet-native{padding:7px!important;background:rgba(240,240,238,.96)!important;color:#202020!important}
  .cui-mobile-filter-portal .filter-menu.cui-sheet-native button{
    position:relative!important;display:flex!important;align-items:center!important;width:100%!important;min-height:44px!important;
    margin:0!important;padding:10px 14px 10px 42px!important;border:0!important;border-radius:13px!important;
    background:transparent!important;color:#242424!important;font:500 15px/1.2 var(--sans)!important;text-align:left!important;
  }
  .cui-mobile-filter-portal .filter-menu.cui-sheet-native button+button{border-top:1px solid rgba(0,0,0,.055)!important}
  .cui-mobile-filter-portal .filter-menu.cui-sheet-native button.is-selected{background:rgba(224,21,37,.10)!important;color:#c91020!important}
  .cui-mobile-filter-portal .filter-menu.cui-sheet-native button.is-selected::before{
    content:"✓"!important;position:absolute!important;left:15px!important;top:50%!important;transform:translateY(-52%)!important;
    color:#c91020!important;font:700 16px/1 var(--sans)!important;
  }
  .cui-mobile-filter-portal .price-menu{padding:15px!important;background:rgba(255,255,255,.98)!important}

  /* The map is expanded/collapsed from the sheet handle by a vertical swipe. */
  

  /* Keep only the mobile map controls that add real value. Pinch/pan remains
     available; compact +/- controls stay as an accessible single-pointer zoom
     alternative. Satellite, draw-search and boundary editing stay on desktop. */
  .property-results-page .map-tabs{display:none!important}
  .property-results-page .map-search-tools .draw-search,
  .property-results-page .map-search-tools .clear-map-search,
  .property-results-page .map-search-tools .boundary-toggle{display:none!important}
  .property-results-page .map-search-tools{right:var(--cui-mobile-gutter)!important;top:12px!important}
  .property-results-page .leaflet-bottom.leaflet-right .leaflet-control-zoom{margin-right:12px!important;margin-bottom:14px!important}
  .property-results-page .leaflet-control-zoom a{width:38px!important;height:38px!important;line-height:38px!important;font-size:22px!important}

  /* The school detail is a content-height map card rather than a full-height
     blank side panel. Long school records scroll inside the card. */
  .property-results-page .school-detail-panel{
    left:12px!important;right:12px!important;top:auto!important;bottom:12px!important;width:auto!important;min-width:0!important;
    height:auto!important;max-height:calc(100% - 24px)!important;padding:18px 16px 16px!important;overflow:auto!important;
    border-radius:20px!important;box-shadow:0 14px 38px rgba(0,0,0,.24)!important;
  }
  .property-results-page .school-detail-close{right:10px!important;top:10px!important;width:32px!important;height:32px!important;border-radius:50%!important;font-size:23px!important}
  .property-results-page .school-detail-heading{padding-right:34px!important}
  .property-results-page .school-detail-heading h2{margin-bottom:12px!important;font-size:18px!important}
  .property-results-page .school-rating-caption{margin-bottom:12px!important}
  .property-results-page .school-detail-stats{gap:10px 12px!important;padding:12px 0!important}
  .property-results-page .school-detail-list{margin-top:12px!important}
  .property-results-page .school-detail-list dt{margin-top:10px!important}

  /* Compress the results sheet: count and save/alert actions share the first
     line; must-have stays directly below without the previous empty bands. */
  
  .property-results-page .pane-results-head{
    min-height:40px!important;height:40px!important;display:flex!important;flex-direction:row!important;align-items:center!important;
    justify-content:space-between!important;gap:8px!important;padding:0!important;border:0!important;
  }
  .property-results-page .pane-results-count{min-width:0!important}
  .property-results-page .pane-results-count strong{font-size:13.5px!important;letter-spacing:.055em!important;white-space:nowrap!important}
  .property-results-page .pane-results-head .result-actions{margin-left:auto!important;display:flex!important;gap:5px!important;flex:0 0 auto!important}
  .property-results-page .pane-results-head .result-actions button{
    width:34px!important;height:34px!important;min-width:34px!important;padding:0!important;display:grid!important;place-items:center!important;border-radius:50%!important;
  }
  .property-results-page .pane-results-head .result-actions button span{display:none!important}
  .property-results-page .pane-results-head .result-actions button svg{width:19px!important;height:19px!important}
  .property-results-page .must-have-row{
    min-height:34px!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:7px!important;
    padding:2px 0 0!important;margin:0!important;
  }
  .property-results-page .must-have-toggle{height:32px!important;min-height:32px!important;padding:0 12px 0 8px!important;font-size:12px!important}
  .property-results-page .must-have-plus{width:24px!important;height:24px!important;min-width:24px!important}

  /* The hybrid map means a property-card map shortcut is useful again. */
  
}


/* CUI Mobile UX v6 - marketplace sheets, list/map shortcuts and results-only dock removal, 2026-09-29. */
@media (max-width:900px){
  /* Search results use their own map/list controls; the global app dock remains on every other mobile page. */
  body.property-results-page{--cui-mobile-dock-clearance:0px!important}
  .property-results-page .cui-mobile-dock{display:none!important}
  .property-results-page .page{padding-bottom:calc(12px + env(safe-area-inset-bottom))!important}
  

  /* Marketplace-style bottom sheets for category/radius/price/sort. */
  body.cui-mobile-filter-sheet-open{overflow:hidden!important}
  body.cui-mobile-filter-sheet-open .cui-mobile-filter-portal{
    background:rgba(0,0,0,.34)!important;pointer-events:auto!important;
    backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px);
  }
  body:not(.cui-mobile-filter-sheet-open) .cui-mobile-filter-portal{background:transparent!important;pointer-events:none!important}
  .cui-mobile-filter-portal .filter-menu{
    left:0!important;right:0!important;bottom:0!important;width:100%!important;max-width:none!important;
    max-height:min(74dvh,650px)!important;margin:0!important;padding:12px 18px calc(18px + env(safe-area-inset-bottom))!important;
    border:0!important;border-radius:28px 28px 0 0!important;background:#fff!important;
    box-shadow:0 -16px 48px rgba(0,0,0,.20)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
    animation:cuiMobileBottomSheetIn .20s ease-out!important;
  }
  .cui-mobile-filter-portal .filter-menu.cui-sheet-native{padding:12px 18px calc(18px + env(safe-area-inset-bottom))!important;background:#fff!important;color:#1f1f1f!important}
  .cui-mobile-filter-portal .filter-menu.cui-sheet-native button{
    min-height:52px!important;padding:13px 44px 13px 8px!important;border-radius:0!important;border-bottom:1px solid #ececea!important;
    font:600 16px/1.25 var(--sans)!important;color:#202020!important;background:#fff!important;
  }
  .cui-mobile-filter-portal .filter-menu.cui-sheet-native button:last-child{border-bottom:0!important}
  .cui-mobile-filter-portal .filter-menu.cui-sheet-native button+button{border-top:0!important}
  .cui-mobile-filter-portal .filter-menu.cui-sheet-native button.is-selected{background:#fff!important;color:#202020!important}
  .cui-mobile-filter-portal .filter-menu.cui-sheet-native button.is-selected::before{
    content:""!important;left:auto!important;right:13px!important;width:18px!important;height:18px!important;border:5px solid #202020!important;border-radius:50%!important;
    background:#fff!important;box-sizing:border-box!important;
  }
  .cui-mobile-filter-portal .price-menu{padding:12px 18px calc(20px + env(safe-area-inset-bottom))!important;background:#fff!important}
  .cui-mobile-sheet-head{
    position:sticky;top:-12px;z-index:3;display:flex;align-items:center;justify-content:space-between;min-height:58px;
    margin:-12px -18px 8px;padding:12px 18px 8px;background:#fff;border-bottom:1px solid #ededeb;
  }
  .cui-mobile-sheet-head::before{content:"";position:absolute;left:50%;top:7px;width:38px;height:4px;transform:translateX(-50%);border-radius:999px;background:#9b9b97}
  .cui-mobile-sheet-head strong{padding-top:8px;font:700 18px/1.2 var(--sans);color:#202020}
  .cui-mobile-sheet-close{width:38px;height:38px;display:grid;place-items:center;border:0;border-radius:50%;background:#f3f3f1;color:#1e1e1e;font:400 29px/1 var(--sans);cursor:pointer}
  @keyframes cuiMobileBottomSheetIn{from{transform:translateY(22px);opacity:.55}to{transform:translateY(0);opacity:1}}

  /* The complete Filters control opens as a right-side drawer, while the quick filters above use bottom sheets. */
  .property-results-page .all-filters-modal{align-items:stretch!important;justify-items:end!important;padding:0!important;background:rgba(0,0,0,.36)!important}
  .property-results-page .all-filters-dialog{
    width:min(390px,88vw)!important;max-width:88vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;
    border-radius:0!important;padding:0!important;box-shadow:-14px 0 42px rgba(0,0,0,.24)!important;animation:cuiMobileFilterDrawerIn .22s ease-out!important;
  }
  .property-results-page .all-filters-head{padding-top:max(20px,env(safe-area-inset-top))!important}
  .property-results-page .all-filters-footer{padding-bottom:calc(14px + env(safe-area-inset-bottom))!important}
  @keyframes cuiMobileFilterDrawerIn{from{transform:translateX(100%)}to{transform:translateX(0)}}

  /* Remove the drag-to-expand interaction. The compact map stays in place; once it scrolls away a Map pill returns the user to it. */
  
  
  
  
  
  

  /* Per-card map preview: the map replaces the main photograph instead of jumping the page to the master map. */
  .property-results-page .property-photo{position:relative!important}
  .property-results-page .card-inline-map{position:absolute;inset:0;z-index:6;background:#ecebe7;overflow:hidden;border-radius:inherit}
  .property-results-page .property-photo.inline-map-active .image-arrow,
  .property-results-page .property-photo.inline-map-active .property-image-actions,
  .property-results-page .property-photo.inline-map-active .property-status-badges{opacity:0!important;pointer-events:none!important}
  .property-results-page .property-photo.inline-map-active .image-card-tools{z-index:8!important}
  .property-results-page .image-map-action.is-map-active{background:#202020!important;color:#fff!important}
  .property-results-page .card-inline-map .leaflet-control-container{display:none!important}
  .property-results-page .card-inline-map-pin{background:transparent!important;border:0!important}
  .property-results-page .card-inline-map-pin span{display:block;width:26px;height:26px;border-radius:50% 50% 50% 0;background:var(--red,#e01525);border:3px solid #fff;box-shadow:0 3px 10px rgba(0,0,0,.28);transform:rotate(-45deg);position:relative}
  .property-results-page .card-inline-map-pin span::after{content:"";position:absolute;width:7px;height:7px;border-radius:50%;background:#fff;left:50%;top:50%;transform:translate(-50%,-50%)}
}

/* CUI Mobile UX v7 - native sheet interaction, map resize gesture and inline-map repair, 2026-09-29. */
@media (min-width:901px){
  /* Restore the normal Leaflet zoom buttons on desktop. */
  .property-results-page .leaflet-control-zoom{display:block!important}
}

@media (max-width:900px){
  /* Mobile map uses pinch/double-tap; remove +/- chrome. */
  .property-results-page .leaflet-control-zoom{display:none!important}

  /* Bottom sheets: no background blur; title remains one line and X stays at far right. */
  body.cui-mobile-filter-sheet-open .cui-mobile-filter-portal{
    background:rgba(0,0,0,.24)!important;
    backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
    overscroll-behavior:none!important;
  }
  .cui-mobile-filter-portal .filter-menu{
    overscroll-behavior:contain!important;
    will-change:transform,opacity;
  }
  .cui-mobile-sheet-head{
    display:grid!important;grid-template-columns:minmax(0,1fr) 40px!important;column-gap:12px!important;
    width:auto!important;box-sizing:border-box!important;touch-action:none!important;user-select:none!important;
  }
  .cui-mobile-sheet-head strong{
    display:block!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
    padding-top:8px!important;font-size:18px!important;line-height:1.2!important;
  }
  .cui-mobile-filter-portal .filter-menu .cui-mobile-sheet-close,
  .cui-mobile-sheet-close{
    justify-self:end!important;align-self:center!important;flex:0 0 38px!important;width:38px!important;min-width:38px!important;max-width:38px!important;height:38px!important;min-height:38px!important;
    margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#f3f3f1!important;color:#1e1e1e!important;
    font:400 29px/38px var(--sans)!important;text-align:center!important;
  }

  /* Complete Filters is a genuine right-edge drawer, not a centred modal. */
  .property-results-page .all-filters-modal:not([hidden]){
    display:block!important;position:fixed!important;inset:0!important;padding:0!important;margin:0!important;
    background:rgba(0,0,0,.22)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  }
  .property-results-page .all-filters-dialog{
    position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:auto!important;
    width:min(420px,92vw)!important;max-width:92vw!important;height:100dvh!important;max-height:100dvh!important;
    margin:0!important;border-radius:24px 0 0 24px!important;box-shadow:-12px 0 36px rgba(0,0,0,.20)!important;
  }
  .property-results-page .all-filters-head{
    min-height:66px!important;height:auto!important;padding:calc(10px + env(safe-area-inset-top)) 16px 10px 20px!important;
  }
  .property-results-page .all-filters-head .filter-eyebrow{display:none!important}
  .property-results-page .all-filters-head h2{font-size:22px!important;line-height:1.1!important;white-space:nowrap!important}
  .property-results-page .all-filters-head button{margin-left:auto!important;width:40px!important;height:40px!important;padding:0!important}

  /* Nearby-school options use the same bottom-sheet language as the quick filters. */
  .cui-mobile-school-sheet-backdrop{
    position:fixed;inset:0;z-index:100240;background:rgba(0,0,0,.22);backdrop-filter:none;-webkit-backdrop-filter:none;
  }
  body.cui-mobile-school-sheet-open{overflow:hidden!important}
  .property-results-page .map-school-panel{
    position:fixed!important;z-index:100260!important;left:0!important;right:0!important;top:auto!important;bottom:0!important;
    width:100%!important;max-width:none!important;max-height:min(72dvh,640px)!important;margin:0!important;
    padding:12px 20px calc(20px + env(safe-area-inset-bottom))!important;border:0!important;border-radius:28px 28px 0 0!important;
    background:#fff!important;box-shadow:0 -16px 46px rgba(0,0,0,.20)!important;overflow:auto!important;overscroll-behavior:contain!important;
  }
  .property-results-page .map-school-panel>strong{display:none!important}
  .cui-mobile-school-sheet-head{
    position:sticky;top:-12px;z-index:3;display:grid;grid-template-columns:minmax(0,1fr) 40px;align-items:center;column-gap:12px;
    min-height:58px;margin:-12px -20px 10px;padding:12px 20px 8px;background:#fff;border-bottom:1px solid #ededeb;touch-action:none;user-select:none;
  }
  .cui-mobile-school-sheet-head::before{content:"";position:absolute;left:50%;top:7px;width:38px;height:4px;transform:translateX(-50%);border-radius:999px;background:#9b9b97}
  .cui-mobile-school-sheet-head strong{padding-top:8px!important;margin:0!important;font:700 18px/1.2 var(--sans)!important;color:#202020!important;white-space:nowrap!important}
  .cui-mobile-school-sheet-close{
    justify-self:end;width:38px;height:38px;padding:0;border:0;border-radius:50%;background:#f3f3f1;color:#1e1e1e;font:400 29px/38px var(--sans);text-align:center;
  }

  /* Re-enable map resizing from the results-sheet grab handle. Only the handle owns the gesture, so Safari does not pull the whole page. */
  
  
  
  
  
  

  /* Distinct CUI return-to-map control: a red location roundel rather than Airbnb's black Map pill. */
  
  
  

  /* Leaflet tile images inside a property photograph must keep Leaflet's 256px tile geometry. */
  .property-results-page .card-inline-map{background:#e8ece8!important}
  .property-results-page .card-inline-map img.leaflet-tile{
    width:256px!important;height:256px!important;min-width:256px!important;min-height:256px!important;max-width:none!important;max-height:none!important;
    object-fit:fill!important;border:0!important;border-radius:0!important;
  }
  .property-results-page .card-inline-map .leaflet-marker-icon,
  .property-results-page .card-inline-map .leaflet-marker-shadow{max-width:none!important;object-fit:initial!important}
  .property-results-page .card-inline-map .leaflet-container{width:100%!important;height:100%!important}
}

/* CUI Mobile UX v8 - full-screen map, continuous mobile results, bottom must-have sheet, 2026-09-29. */
@media (max-width:900px){
  /* Mobile results use continuous loading rather than numbered pagination. */
  .property-results-page .results-pagination,
  .property-results-page .pagination-summary{display:none!important}
  .property-results-page .cui-mobile-infinite-sentinel{
    display:flex;align-items:center;justify-content:center;gap:9px;min-height:58px;margin:4px 0 12px;padding:10px;
    color:#666;font:600 13px/1.2 var(--sans);background:transparent;border:0;
  }
  .property-results-page .cui-mobile-infinite-sentinel[hidden]{display:none!important}
  .property-results-page .cui-mobile-infinite-sentinel>span{
    width:18px;height:18px;border:2px solid #d7d7d3;border-top-color:var(--red,#e01525);border-radius:50%;animation:cuiInfiniteSpin .75s linear infinite;
  }
  @keyframes cuiInfiniteSpin{to{transform:rotate(360deg)}}

  /* Must-have choices use a native-feeling bottom sheet on mobile. */
  .cui-mobile-must-have-backdrop{position:fixed;inset:0;z-index:100300;background:rgba(0,0,0,.22);backdrop-filter:none;-webkit-backdrop-filter:none}
  .cui-mobile-must-have-backdrop[hidden]{display:none!important}
  body.cui-mobile-must-have-open{overflow:hidden!important}
  .property-results-page .must-have-menu.cui-mobile-must-have-sheet,
  .must-have-menu.cui-mobile-must-have-sheet{
    display:block!important;position:fixed!important;z-index:100320!important;left:0!important;right:0!important;top:auto!important;bottom:0!important;
    width:100%!important;max-width:none!important;max-height:min(68dvh,590px)!important;margin:0!important;
    padding:12px 20px calc(20px + env(safe-area-inset-bottom))!important;border:0!important;border-radius:28px 28px 0 0!important;
    background:#fff!important;box-shadow:0 -16px 46px rgba(0,0,0,.20)!important;overflow:auto!important;overscroll-behavior:contain!important;
  }
  .cui-mobile-must-have-head{
    position:sticky;top:-12px;z-index:4;display:grid;grid-template-columns:minmax(0,1fr) 40px;align-items:center;column-gap:12px;
    min-height:58px;margin:-12px -20px 12px;padding:12px 20px 8px;background:#fff;border-bottom:1px solid #ededeb;touch-action:none;user-select:none;
  }
  .cui-mobile-must-have-head::before{content:"";position:absolute;left:50%;top:7px;width:38px;height:4px;transform:translateX(-50%);border-radius:999px;background:#9b9b97}
  .cui-mobile-must-have-head strong{padding-top:8px;font:700 18px/1.2 var(--sans);color:#202020;white-space:nowrap}
  .cui-mobile-must-have-close{justify-self:end;width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important;min-height:40px!important;max-height:40px!important;aspect-ratio:1/1!important;flex:0 0 40px!important;padding:0!important;margin:0!important;border:0;border-radius:50%!important;background:#f3f3f1;color:#1e1e1e;font:400 29px/1 var(--sans);text-align:center;display:grid!important;place-items:center!important;box-sizing:border-box!important}
  .must-have-menu.cui-mobile-must-have-sheet .must-have-menu-title{font-size:15px!important;margin:2px 0 12px!important}

  /* Residential lettings use the compact PCM-only price on mobile; furnishing badge matches New instruction dimensions. */
  .property-results-page.category-rental .property-card .price-line h2{
    white-space:nowrap!important;overflow-wrap:normal!important;font-size:clamp(19px,5.15vw,22px)!important;letter-spacing:-.018em!important;
  }
  .property-results-page .property-status-badges .instruction-tag,
  .property-results-page .property-status-badges .status-furnishing{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;height:28px!important;min-height:28px!important;
    padding:0 12px!important;box-sizing:border-box!important;border-radius:4px!important;font-size:12px!important;line-height:1!important;font-weight:700!important;
  }
}


/* v11.7: generated mobile-result controls are hidden by default and owned by one canonical mobile state block. */
.cui-mobile-map-sheet-handle,.mobile-search-back,.mobile-search-actions,.mobile-search-map,.cui-mobile-map-filter-toggle{display:none}

/* CUI Mobile Results State Consolidation v11.7 - one layout state: list <-> map. */
@media (max-width:900px){
  body.property-results-page{width:100%!important;max-width:100%!important;overflow-x:clip!important;overflow-y:visible!important;-webkit-text-size-adjust:100%!important;overscroll-behavior-y:none!important}
  html{max-width:100%!important;overflow-x:hidden!important}
  body.property-results-page .cui-mobile-dock{display:none!important}
  body.property-results-page .topbar{display:none!important}
  body.property-results-page .page.results-page-shell{padding-top:0!important;padding-bottom:0!important;overflow:visible!important}
  body.property-results-page .results-demo{min-height:100dvh!important;height:auto!important;overflow:visible!important;background:#efefed!important}
  body.property-results-page .search-mode-row{display:none!important}

  /* Permanent search row + secondary filter rail. */
  body.property-results-page .results-toolbar{display:block!important;position:sticky!important;top:0!important;left:0!important;right:0!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;z-index:100320!important;margin:0!important;padding:8px 10px 9px!important;background:#fff!important;border-bottom:1px solid #e7e7e4!important;box-shadow:0 4px 14px rgba(0,0,0,.07)!important}
  body.property-results-page .toolbar-row[data-standard-toolbar]{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"location" "mobilefilters"!important;gap:8px!important;width:100%!important;max-width:100%!important;min-width:0!important;align-items:center!important;overflow:visible!important}
  body.property-results-page .toolbar-row[data-standard-toolbar]>.location-search-wrap{grid-area:location!important;display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:6px!important;align-items:center!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;position:relative!important}
  body.property-results-page .mobile-search-back,body.property-results-page .mobile-search-map{display:grid!important;place-items:center!important;width:40px!important;height:40px!important;min-width:40px!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#151515!important;box-shadow:none!important}
  body.property-results-page .mobile-search-back{grid-column:1!important;grid-row:1!important}
  body.property-results-page .mobile-search-map{grid-column:3!important;grid-row:1!important;display:none!important;visibility:visible!important;pointer-events:auto!important}
  body.property-results-page.cui-mobile-map-offscreen[data-mobile-layout="list"] .toolbar-row[data-standard-toolbar]>.location-search-wrap{grid-template-columns:40px minmax(0,1fr) 40px!important}
  body.property-results-page.cui-mobile-map-offscreen[data-mobile-layout="list"] .mobile-search-map{display:grid!important}
  body.property-results-page .mobile-search-back svg,body.property-results-page .mobile-search-map svg{width:24px!important;height:24px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
  body.property-results-page .location-search-wrap .location-search{grid-column:2!important;grid-row:1!important;display:flex!important;align-items:center!important;width:100%!important;max-width:none!important;min-width:0!important;height:46px!important;min-height:46px!important;margin:0!important;padding-left:0!important;padding-right:4px!important;border-radius:24px!important;overflow:hidden!important;box-sizing:border-box!important}
  body.property-results-page .location-search input{height:42px!important;min-width:0!important;width:100%!important;max-width:100%!important;font-size:16px!important;line-height:1.2!important;transform:none!important;text-overflow:ellipsis!important}
  /* Beat the older input[type=text] !important rule: iOS Safari zooms the page when the effective input font is below 16px. */
  body.property-results-page .location-search input[type="text"][data-location-input]{font-size:16px!important;line-height:1.2!important;-webkit-text-size-adjust:100%!important}
  body.property-results-page .mobile-search-actions{display:flex!important;align-items:center!important;gap:0!important;flex:0 0 auto!important;margin-right:2px!important}
  body.property-results-page .mobile-search-action{display:grid!important;place-items:center!important;width:31px!important;height:34px!important;min-width:31px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#161616!important;box-shadow:none!important}
  body.property-results-page .mobile-search-action svg,body.property-results-page .mobile-search-action i,body.property-results-page .mobile-search-action i svg{width:21px!important;height:21px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
  body.property-results-page .location-suggestions{grid-column:2!important;grid-row:2!important;width:100%!important;max-width:100%!important}
  body.property-results-page.cui-mobile-map-offscreen[data-mobile-layout="list"] .location-suggestions{grid-column:2 / 4!important}
  body.property-results-page.cui-mobile-location-focus .mobile-search-actions{display:none!important}
  body.property-results-page[data-mobile-layout].cui-mobile-location-focus .mobile-search-back,body.property-results-page[data-mobile-layout].cui-mobile-location-focus .mobile-search-map{display:none!important;visibility:hidden!important;pointer-events:none!important}
  body.property-results-page[data-mobile-layout].cui-mobile-location-focus .toolbar-row[data-standard-toolbar]>.location-search-wrap{grid-template-columns:minmax(0,1fr)!important}
  body.property-results-page[data-mobile-layout].cui-mobile-location-focus .location-search-wrap .location-search{grid-column:1 / -1!important;width:100%!important;max-width:100%!important}
  body.property-results-page[data-mobile-layout].cui-mobile-location-focus .location-suggestions{grid-column:1 / -1!important;width:100%!important;max-width:100%!important}

  body.property-results-page .toolbar-row[data-standard-toolbar]>.mobile-filter-strip{grid-area:mobilefilters!important;display:flex!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain!important;scrollbar-width:none!important;flex-wrap:nowrap!important;background:transparent!important}
  body.property-results-page .mobile-filter-strip::-webkit-scrollbar{display:none!important}
  body.property-results-page.cui-mobile-filter-rail-hidden .toolbar-row[data-standard-toolbar]>.mobile-filter-strip,body.property-results-page.cui-mobile-location-focus .toolbar-row[data-standard-toolbar]>.mobile-filter-strip{display:none!important}
  body.property-results-page.cui-mobile-filter-rail-hidden .toolbar-row[data-standard-toolbar],body.property-results-page.cui-mobile-location-focus .toolbar-row[data-standard-toolbar]{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto!important;grid-template-areas:"location"!important;gap:0!important;row-gap:0!important}
  body.property-results-page.cui-mobile-filter-rail-hidden .toolbar-row[data-standard-toolbar]>.location-search-wrap,body.property-results-page.cui-mobile-location-focus .toolbar-row[data-standard-toolbar]>.location-search-wrap{grid-area:location!important;grid-column:1!important;grid-row:1!important;width:100%!important;max-width:100%!important;min-width:0!important}
  body.property-results-page.cui-mobile-filter-rail-hidden .results-toolbar,body.property-results-page.cui-mobile-location-focus .results-toolbar{padding-top:7px!important;padding-bottom:7px!important}
  body.property-results-page .mobile-must-have-control{display:block!important;flex:0 0 auto!important}
  body.property-results-page .mobile-must-have-filter{height:38px!important;min-height:38px!important;min-width:112px!important;width:auto!important;padding:0 14px!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;gap:6px!important}
  body.property-results-page .mobile-must-have-filter .must-have-plus{display:grid!important;place-items:center!important;width:21px!important;height:21px!important;margin:0!important;border-radius:50%!important;background:#f1f1ef!important;font-size:19px!important;line-height:1!important}
  body.property-results-page .mobile-must-have-filter.is-active{border-color:var(--red,#e01525)!important;color:var(--red,#e01525)!important}
  body.property-results-page .mobile-must-have-count{display:grid!important;place-items:center!important;min-width:18px!important;height:18px!important;padding:0 4px!important;border-radius:9px!important;background:var(--red,#e01525)!important;color:#fff!important;font-size:10px!important;font-weight:700!important}
  body.property-results-page .mobile-must-have-count[hidden]{display:none!important}

  /* List layout. */
  body.property-results-page .results-workspace{display:flex!important;flex-direction:column!important;position:relative!important;min-height:0!important;margin:0!important;background:#efefed!important}
  body.property-results-page .map-pane{display:block!important;order:1!important;position:relative!important;width:100%!important;height:330px!important;min-height:330px!important;max-height:none!important;overflow:hidden!important;background:#d9e4df!important}
  body.property-results-page .results-pane{display:block!important;order:2!important;position:relative!important;z-index:30!important;overflow:visible!important;min-height:0!important;padding:0 var(--cui-mobile-gutter,16px) 24px!important;background:#efefed!important;overscroll-behavior-y:contain!important}
  body.property-results-page [data-result-property][hidden]{display:none!important}
  body.property-results-page .results-controls-panel{position:relative!important;z-index:35!important;margin:-18px calc(-1 * var(--cui-mobile-gutter,16px)) 12px!important;padding:25px var(--cui-mobile-gutter,16px) 12px!important;border-radius:28px 28px 0 0!important;background:#fff!important;box-shadow:0 -8px 24px rgba(0,0,0,.08)!important;overflow:visible!important;user-select:none!important;-webkit-user-select:none!important}
  body.property-results-page .results-controls-panel .result-actions,body.property-results-page .results-controls-panel>.must-have-row{display:none!important}
  body.property-results-page .pane-results-head{display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;min-height:48px!important;padding:2px 0!important}
  body.property-results-page .pane-results-count{min-width:0!important;width:100%!important;padding-left:0!important;justify-content:center!important;text-align:center!important}.property-results-page .pane-results-count strong{font-size:15px!important;letter-spacing:.05em!important;white-space:nowrap!important}
  body.property-results-page .pane-results-count>span{display:none!important}

  /* Single sheet handle. It spans the entire sheet edge and is both clickable and draggable. */
  .property-results-page .cui-mobile-map-sheet-handle{position:absolute!important;left:0!important;right:0!important;top:0!important;width:100%!important;height:28px!important;border:0!important;background:transparent!important;color:#777!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;z-index:5!important;touch-action:none!important}
  .property-results-page .cui-mobile-map-sheet-handle span{display:block!important;font:400 27px/1 Arial,sans-serif!important;transform:rotate(90deg)!important;transform-origin:center!important;transition:transform .16s ease!important}
  body.property-results-page[data-mobile-layout="map"] .cui-mobile-map-sheet-handle span{transform:rotate(-90deg)!important}
  html.cui-mobile-sheet-dragging,html.cui-mobile-sheet-dragging body,body.cui-mobile-sheet-dragging{overscroll-behavior:none!important}

  /* Map layout. Both map entry controls produce this exact state. */
  html.cui-map-lock,html.cui-map-lock body{overflow:hidden!important;overscroll-behavior:none!important}
  body.property-results-page[data-mobile-layout="map"] .results-toolbar{display:none!important}
  body.property-results-page[data-mobile-layout="map"] .results-workspace{position:fixed!important;inset:0!important;z-index:100100!important;background:#d9e4df!important}
  body.property-results-page[data-mobile-layout="map"] .map-pane{position:absolute!important;inset:0!important;width:100%!important;height:100dvh!important;min-height:100dvh!important}
  body.property-results-page[data-mobile-layout="map"] .results-pane{position:absolute!important;left:0!important;right:0!important;bottom:0!important;z-index:100220!important;width:100%!important;height:78px!important;min-height:78px!important;padding:0!important;background:transparent!important;overflow:visible!important;pointer-events:auto!important}
  body.property-results-page[data-mobile-layout="map"] .results-controls-panel{margin:0!important;min-height:78px!important;max-height:78px!important;padding:18px var(--cui-mobile-gutter,16px) 5px!important;border-radius:28px 28px 0 0!important;background:#fff!important;overflow:hidden!important;box-shadow:0 -8px 24px rgba(0,0,0,.10)!important}
  body.property-results-page[data-mobile-layout="map"] .pane-results-head{min-height:52px!important;padding:0!important;align-items:center!important}
  body.property-results-page[data-mobile-layout="map"] .pane-results-count{height:52px!important;display:flex!important;align-items:center!important}
  body.property-results-page[data-mobile-layout="map"] .results-controls-panel .must-have-row,
  body.property-results-page[data-mobile-layout="map"] .results-controls-panel .hidden-results-notice,
  body.property-results-page[data-mobile-layout="map"] .results-pane>[data-result-property],
  body.property-results-page[data-mobile-layout="map"] .results-pane>.results-skeleton,
  body.property-results-page[data-mobile-layout="map"] .results-pane>.results-empty,
  body.property-results-page[data-mobile-layout="map"] .results-pane>.results-error,
  body.property-results-page[data-mobile-layout="map"] .results-pane>.results-pagination,
  body.property-results-page[data-mobile-layout="map"] .results-pane>.pagination-summary,
  body.property-results-page[data-mobile-layout="map"] .results-pane>.cui-mobile-infinite-sentinel{display:none!important}
  body.property-results-page[data-mobile-layout="map"] .map-status{bottom:calc(88px + env(safe-area-inset-bottom))!important}
  body.property-results-page[data-mobile-layout="map"].cui-mobile-property-selected .results-pane{display:none!important}
  body.property-results-page[data-mobile-layout="map"].cui-mobile-property-selected .map-status{display:none!important}

  /* Map resize affordance; zoom +/- is mobile-hidden only. */
  body.property-results-page .mobile-map-expand{display:grid!important;place-items:center!important;position:absolute!important;left:12px!important;top:12px!important;z-index:100240!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:10px!important;border:1px solid rgba(0,0,0,.10)!important;border-radius:50%!important;background:rgba(255,255,255,.96)!important;color:#171717!important;box-shadow:0 4px 16px rgba(0,0,0,.15)!important;box-sizing:border-box!important}
  body.property-results-page[data-mobile-layout="map"] .mobile-map-expand{top:calc(12px + env(safe-area-inset-top))!important}
  body.property-results-page .mobile-map-expand[hidden]{display:none!important}
  body.property-results-page .mobile-map-expand svg{width:100%!important;height:100%!important;stroke-width:1.8!important}
  body.property-results-page .cui-mobile-map-reset{display:none!important;place-items:center!important;position:absolute!important;left:12px!important;top:calc(66px + env(safe-area-inset-top))!important;z-index:100245!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:10px!important;border:1px solid rgba(0,0,0,.10)!important;border-radius:50%!important;background:rgba(255,255,255,.96)!important;color:#171717!important;box-shadow:0 4px 16px rgba(0,0,0,.15)!important;box-sizing:border-box!important}
  body.property-results-page[data-mobile-layout="map"] .cui-mobile-map-reset{display:grid!important}
  body.property-results-page .cui-mobile-map-reset svg{width:100%!important;height:100%!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important}
  /* Map filter launcher is deliberately icon-only. When opened, only filter pills appear above the sheet. */
  body.property-results-page .cui-mobile-map-filter-toggle{position:absolute!important;right:70px!important;top:calc(14px + env(safe-area-inset-top))!important;z-index:100250!important;width:44px!important;height:44px!important;display:none!important;place-items:center!important;padding:10px!important;border:1px solid rgba(0,0,0,.10)!important;border-radius:50%!important;background:rgba(255,255,255,.96)!important;color:#171717!important;box-shadow:0 4px 16px rgba(0,0,0,.15)!important;filter:none!important}
  body.property-results-page .cui-mobile-map-filter-toggle svg{width:100%!important;height:100%!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
  body.property-results-page[data-mobile-layout="map"] .cui-mobile-map-filter-toggle{display:grid!important}
  body.property-results-page.cui-mobile-map-controls-open[data-mobile-layout="map"] .cui-mobile-map-filter-toggle{color:var(--red,#e01525)!important}
  body.property-results-page.cui-mobile-map-controls-open[data-mobile-layout="map"] .results-toolbar{display:block!important;position:fixed!important;left:0!important;right:0!important;top:auto!important;bottom:calc(86px + env(safe-area-inset-bottom))!important;z-index:100430!important;width:100%!important;max-width:100vw!important;margin:0!important;padding:0 10px!important;border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  body.property-results-page.cui-mobile-map-controls-open[data-mobile-layout="map"] .toolbar-row[data-standard-toolbar]{display:block!important;background:transparent!important}
  body.property-results-page.cui-mobile-map-controls-open[data-mobile-layout="map"] .location-search-wrap{display:none!important}
  body.property-results-page.cui-mobile-map-controls-open[data-mobile-layout="map"] .mobile-filter-strip{display:flex!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
  body.property-results-page.cui-mobile-map-controls-open[data-mobile-layout="map"] .map-status{display:none!important}

  /* Dedicated mobile map preview: one implementation, independent from desktop card CSS. */
  .property-results-page .map-property-preview{position:absolute!important;left:10px!important;right:10px!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;z-index:100360!important;display:block!important;width:auto!important;height:auto!important;min-height:0!important;max-height:calc(100dvh - 86px)!important;border:1px solid rgba(0,0,0,.10)!important;border-radius:20px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 16px 44px rgba(0,0,0,.28)!important;color:#171717!important}
  .property-results-page .map-property-preview[hidden]{display:none!important}
  .property-results-page .map-preview-photo{position:relative!important;width:100%!important;height:auto!important;aspect-ratio:16/9!important;overflow:hidden!important;background:#ececea!important}
  .property-results-page .map-preview-photo-link,.property-results-page .map-preview-photo-link img{width:100%!important;height:100%!important;display:block!important}
  .property-results-page .map-preview-photo-link img{object-fit:cover!important;object-position:center!important}
  .property-results-page .map-preview-arrow{position:absolute!important;top:50%!important;transform:translateY(-50%)!important;width:38px!important;height:58px!important;border:0!important;background:rgba(0,0,0,.24)!important;color:#fff!important;font-size:32px!important;line-height:1!important}
  .property-results-page .map-preview-prev{left:0!important}.property-results-page .map-preview-next{right:0!important}
  .property-results-page .map-property-preview .map-popup-close{position:absolute!important;top:10px!important;right:10px!important;width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important;min-height:40px!important;max-height:40px!important;aspect-ratio:1/1!important;flex:0 0 40px!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;background:#fff!important;color:#222!important;font-size:26px!important;line-height:1!important;box-sizing:border-box!important;display:grid!important;place-items:center!important;box-shadow:0 2px 9px rgba(0,0,0,.16)!important;z-index:6!important}
  .property-results-page .map-preview-badges{position:absolute!important;left:10px!important;right:66px!important;bottom:10px!important;display:flex!important;align-items:center!important;gap:6px!important;max-width:none!important;flex-wrap:wrap!important;z-index:4!important}
  .property-results-page .map-preview-badges>*{position:static!important;display:inline-flex!important;align-items:center!important;min-height:26px!important;max-width:100%!important;padding:5px 9px!important;border-radius:5px!important;font-size:10px!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .property-results-page .map-property-preview [data-map-popup-status].is-under-offer{background:var(--red,#e01525)!important;color:#fff!important}
  .property-results-page .map-property-preview [data-map-popup-status].is-new-instruction{background:#f4d900!important;color:#111!important}
  .property-results-page .map-property-preview .photo-count{position:absolute!important;right:12px!important;bottom:12px!important;color:#fff!important;font-size:11px!important;text-shadow:0 1px 3px #000!important;z-index:5!important}
  .property-results-page .map-preview-copy{height:auto!important;min-height:0!important;padding:9px 13px 10px!important;overflow:visible!important}
  .property-results-page .map-preview-topline{display:flex!important;align-items:center!important;gap:7px!important;padding-right:0!important}
  .property-results-page .map-preview-price{color:#111!important;text-decoration:none!important;font-size:25px!important;line-height:1.05!important;letter-spacing:-.02em!important;font-weight:700!important;flex:1 1 auto!important;min-width:0!important}
  .property-results-page .map-preview-quick-actions{display:flex!important;align-items:center!important;gap:2px!important;flex:0 0 auto!important}
  .property-results-page .map-preview-save,.property-results-page .map-preview-share{display:grid!important;place-items:center!important;flex:0 0 32px!important;width:32px!important;height:32px!important;min-width:32px!important;padding:5px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#202020!important;box-shadow:none!important;box-sizing:border-box!important}
  .property-results-page .map-preview-save svg,.property-results-page .map-preview-share svg{width:21px!important;height:21px!important}
  .property-results-page .map-preview-type{margin:4px 0 2px!important;color:#777!important;font-size:13px!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .property-results-page .map-preview-address{display:-webkit-box!important;color:#171717!important;text-decoration:none!important;font-size:15px!important;font-weight:650!important;line-height:1.28!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;margin:0 0 6px!important}
  .property-results-page .map-preview-footer{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin-top:6px!important;padding-top:7px!important;border-top:1px dashed #d6d6d2!important}
  .property-results-page .map-preview-specs{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:11px!important;margin:0!important;padding:0!important;border:0!important;min-width:0!important;color:#555!important;font-size:12px!important}
  .property-results-page .map-preview-specs>span{display:flex!important;align-items:center!important;gap:3px!important}.property-results-page .map-preview-specs svg{width:17px!important;height:17px!important}
  .property-results-page .map-preview-actions{flex:0 0 auto!important;margin:0!important;display:flex!important;align-items:center!important}
  .property-results-page .map-preview-actions a{height:34px!important;padding:0 14px!important;border-radius:17px!important;font-size:12px!important;font-weight:650!important;text-decoration:none!important;background:#111!important;color:#fff!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
  .property-results-page .map-property-preview [hidden]{display:none!important}
  .property-results-page .map-property-preview [data-map-popup-station-wrap],.property-results-page .map-property-preview [data-map-popup-school-wrap]{display:none!important}

  /* Schools: all mobile selector/detail UI lives above the map and bottom sheet. */
  .property-results-page .leaflet-pane.leaflet-schoolMarkers-pane,.property-results-page .leaflet-pane.leaflet-schoolmarkers-pane{z-index:760!important}
  .property-results-page .leaflet-pane.leaflet-school-tooltip-pane{z-index:920!important}
  .cui-mobile-school-sheet-backdrop{z-index:100520!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  body.property-results-page>.map-school-panel.cui-mobile-school-sheet-ported{z-index:100540!important;isolation:isolate!important}
  body.property-results-page>.school-detail-panel.cui-mobile-school-detail-ported{position:fixed!important;z-index:100560!important;left:14px!important;right:14px!important;top:calc(18px + env(safe-area-inset-top))!important;bottom:calc(18px + env(safe-area-inset-bottom))!important;width:auto!important;min-width:0!important;max-width:none!important;border-radius:22px!important;box-shadow:0 18px 52px rgba(0,0,0,.28)!important;overflow:auto!important;padding:28px 18px 24px!important;background:#fff!important}
  .property-results-page .school-detail-close{width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important;min-height:40px!important;max-height:40px!important;aspect-ratio:1/1!important;flex:0 0 40px!important;padding:0!important;margin:0!important;border-radius:50%!important;box-sizing:border-box!important;display:grid!important;place-items:center!important;line-height:1!important}

  /* Return-state restoration should never animate the page while the anchor is being restored. */
  body.cui-mobile-restoring-results .property-photo,body.cui-mobile-restoring-results .map-pane{transition:none!important;animation:none!important}
  html:has(body.cui-mobile-restoring-results),body.cui-mobile-restoring-results{scroll-behavior:auto!important}

  /* Infinite scroll terminal state. */
  .property-results-page .cui-mobile-infinite-sentinel.is-end{min-height:48px!important;padding:14px 8px 22px!important;background:transparent!important;color:#777!important;box-shadow:none!important;border:0!important}
  .property-results-page .cui-mobile-infinite-sentinel.is-end span{display:none!important}
  .property-results-page .cui-mobile-infinite-sentinel.is-end b{font-size:12px!important;font-weight:600!important;letter-spacing:.02em!important;color:#777!important}

  /* Residential lettings use the compact PCM-only price on mobile; furnishing and instruction badges share dimensions. */
  .property-results-page.category-rental .property-card .price-line h2{white-space:nowrap!important;overflow-wrap:normal!important;font-size:clamp(19px,5.15vw,22px)!important;letter-spacing:-.018em!important}
  .property-results-page .property-status-badges .instruction-tag,.property-results-page .property-status-badges .status-furnishing{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:28px!important;min-height:28px!important;padding:0 12px!important;box-sizing:border-box!important;border-radius:4px!important;font-size:12px!important;line-height:1!important;font-weight:700!important}
}


/* CUI Mobile Results v11.9 - mobile-only application polish and repaired overlay hierarchy. */
@media (max-width:900px){
  /* Every temporary sheet must sit above the full-map toolbar and map preview. */
  .cui-mobile-filter-portal{z-index:100700!important}
  .cui-mobile-must-have-backdrop,.cui-mobile-school-sheet-backdrop{z-index:100700!important}
  .property-results-page .must-have-menu.cui-mobile-must-have-sheet,
  .must-have-menu.cui-mobile-must-have-sheet,
  body.property-results-page>.map-school-panel.cui-mobile-school-sheet-ported{z-index:100720!important}
  body.property-results-page>.school-detail-panel.cui-mobile-school-detail-ported{z-index:100740!important}
  .property-results-page .all-filters-modal{z-index:100760!important}

  /* A modal sheet owns the screen while it is open; the underlying full-map filter rail must not remain visible. */
  body.property-results-page.cui-mobile-filter-sheet-open[data-mobile-layout="map"] .results-toolbar,
  body.property-results-page.cui-mobile-must-have-open[data-mobile-layout="map"] .results-toolbar,
  body.property-results-page.cui-mobile-school-sheet-open[data-mobile-layout="map"] .results-toolbar,
  body.property-results-page.cui-mobile-all-filters-open[data-mobile-layout="map"] .results-toolbar{display:none!important}

  /* Price sheet: one readable type scale. 16px fields also avoid iOS focus zoom. */
  .cui-mobile-filter-portal .price-menu .price-menu-heading{font-size:17px!important;line-height:1.25!important;font-weight:700!important;margin-bottom:7px!important}
  .cui-mobile-filter-portal .price-menu .price-range-readout,
  .cui-mobile-filter-portal .price-menu .price-range-ends,
  .cui-mobile-filter-portal .price-menu .price-input-grid label,
  .cui-mobile-filter-portal .price-menu .price-live-note{font-size:14px!important;line-height:1.3!important}
  .cui-mobile-filter-portal .price-menu .price-input-grid input{height:46px!important;min-height:46px!important;border-radius:11px!important;font-size:16px!important}

  /* Must-have entry uses the same rounded mobile field language as other sheets. */
  .must-have-menu.cui-mobile-must-have-sheet .must-have-other{font-size:14px!important;line-height:1.3!important}
  .must-have-menu.cui-mobile-must-have-sheet .must-have-other input{height:46px!important;min-height:46px!important;margin-top:8px!important;padding:0 14px!important;border-radius:12px!important;font-size:16px!important}
  .must-have-menu.cui-mobile-must-have-sheet .must-have-options button{font-size:15px!important}

  /* Nearby schools follows the same mobile sheet typography and control geometry. */
  .property-results-page .map-school-panel label{font-size:16px!important;line-height:1.3!important;padding:7px 0!important}
  .property-results-page .map-school-panel .school-rating-filter{gap:8px!important;margin-top:8px!important}
  .property-results-page .map-school-panel .school-rating-filter span{font-size:15px!important;line-height:1.3!important;color:#4f4f4f!important}
  .property-results-page .map-school-panel .school-rating-filter select{height:48px!important;min-height:48px!important;border-radius:12px!important;padding:0 36px 0 12px!important;font-size:16px!important;background-color:#fff!important}
  .property-results-page .map-school-actions button{min-height:48px!important;border-radius:12px!important;font-size:15px!important}
  .cui-mobile-school-sheet-close{width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important;min-height:40px!important;max-height:40px!important;aspect-ratio:1/1!important;flex:0 0 40px!important;padding:0!important;margin:0!important;border-radius:50%!important;box-sizing:border-box!important;display:grid!important;place-items:center!important;line-height:1!important}

  /* Full Filters stays a side drawer but is now visually independent of browser-default blue controls. */
  .property-results-page .all-filters-body{font-size:15px!important}
  .property-results-page .all-filters-body input:not([type=range]),
  .property-results-page .all-filters-body select{min-height:46px!important;border-radius:10px!important;font-size:16px!important;color:#202020!important}
  .property-results-page .all-filters-body .chip-row button,
  .property-results-page .all-filters-body .listing-tabs button{color:#202020!important;font-size:15px!important}
  .property-results-page .all-filters-body .chip-row button.active{color:#fff!important}
  .property-results-page .all-filters-footer button{border-radius:10px!important;font-size:15px!important}

  /* Finger-following sheet motion: remove CSS interpolation while the finger owns the boundary. */
  body.property-results-page .map-pane,
  body.property-results-page .results-pane{transition:height .20s cubic-bezier(.22,.61,.36,1),min-height .20s cubic-bezier(.22,.61,.36,1)!important}
  body.property-results-page.cui-mobile-sheet-dragging .map-pane,
  body.property-results-page.cui-mobile-sheet-dragging .results-pane{transition:none!important}
  body.property-results-page.cui-mobile-sheet-dragging[data-mobile-layout="map"] .results-pane{overflow:hidden!important;background:#efefed!important}
  body.property-results-page.cui-mobile-sheet-dragging[data-mobile-layout="map"] .results-pane>[data-result-property]:not([hidden]){display:block!important}
}

/* v11.9 full Filters uses a near-full-screen iOS-style sheet on phones. */
@media (max-width:900px){
  .property-results-page .all-filters-modal:not([hidden]){display:block!important;position:fixed!important;inset:0!important;padding:0!important;background:rgba(0,0,0,.28)!important;z-index:100760!important}
  .property-results-page .all-filters-dialog{position:fixed!important;left:0!important;right:0!important;top:calc(8px + env(safe-area-inset-top))!important;bottom:auto!important;width:100%!important;max-width:100vw!important;height:calc(100dvh - 8px - env(safe-area-inset-top))!important;max-height:calc(100dvh - 8px - env(safe-area-inset-top))!important;margin:0!important;border-radius:24px 24px 0 0!important;box-shadow:0 -12px 44px rgba(0,0,0,.24)!important;animation:cuiMobileBottomSheetIn .20s ease-out!important}
  .property-results-page .all-filters-head{flex:0 0 auto!important;min-height:62px!important;padding:10px 16px 9px 18px!important;background:#fff!important}
  .property-results-page .all-filters-head h2{font-size:20px!important}
  .property-results-page .all-filters-body{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding:16px 18px 20px!important}
  .property-results-page .all-filters-footer{flex:0 0 auto!important;padding:12px 18px calc(12px + env(safe-area-inset-bottom))!important;background:#fff!important}
}

@media (max-width:900px){
  .property-results-page .all-filters-body .number-choice button,
  .property-results-page .all-filters-body .listing-status-options button{color:#202020!important;font-size:15px!important;border-radius:10px!important}
  .property-results-page .all-filters-body .number-choice button.active,
  .property-results-page .all-filters-body .listing-status-options button.active{color:#fff!important}
}

/* CUI Mobile Results v11.10 - scroll intent, filters scrolling and deliberate map marker taps. */
@media (max-width:900px){
  /* The sheet title already says Price; repeating "Price range" plus the full live range wastes vertical space. */
  .cui-mobile-filter-portal .price-menu .price-menu-heading,
  .cui-mobile-filter-portal .price-menu .price-range-readout{display:none!important}
  .cui-mobile-filter-portal .price-menu .price-range-ends{margin-top:2px!important;font-size:14px!important;line-height:1.3!important}
  /* Price Clear deliberately mirrors the secondary Clear action in the full Filters sheet. */
  .cui-mobile-filter-portal .price-menu .price-clear{height:42px!important;min-height:42px!important;padding:0 20px!important;border:0!important;border-radius:10px!important;background:#ddd!important;color:#1476df!important;font-size:15px!important;font-weight:600!important;line-height:1!important;box-shadow:none!important}

  /* Give the complete Filters sheet one explicit iOS-safe scroll owner. Header/footer stay fixed; only the body pans. */
  .property-results-page .all-filters-dialog{
    display:flex!important;
    flex-direction:column!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  .property-results-page .all-filters-head,
  .property-results-page .all-filters-footer{position:relative!important;z-index:2!important;flex:0 0 auto!important}
  .property-results-page .all-filters-body{
    flex:1 1 0%!important;
    min-height:0!important;
    max-height:none!important;
    overflow-x:hidden!important;
    overflow-y:scroll!important;
    -webkit-overflow-scrolling:touch!important;
    touch-action:pan-y!important;
    overscroll-behavior-y:contain!important;
  }
}


/* v11.15 — keep full rent wording on desktop; use PCM-only on mobile Residential Lettings cards. */
.property-results-page .price-display-mobile{display:none}
@media (max-width: 767px){
  body.property-results-page.category-residential-lettings .price-display-full{display:none!important}
  body.property-results-page.category-residential-lettings .price-display-mobile{display:inline!important}
}
