/* SWMO search: quiet controls, clear hierarchy, readable property facts. */
html body.homes-search-page.swmo-search-polished { background:#fff!important; color:#172c29; font-family:'DM Sans',Arial,sans-serif; }
html body.homes-search-page.swmo-search-polished #swmo-main-content .homes-page-hero { display:block!important; padding:16px 20px!important; background:#fff!important; border-bottom:1px solid #e5e8e6; }
html body.homes-search-page.swmo-search-polished .homes-page-hero__inner { display:block!important; width:100%!important; max-width:1280px!important; padding:0!important; margin:auto!important; }
html body.homes-search-page.swmo-search-polished .homes-page-hero h1,
html body.homes-search-page.swmo-search-polished .homes-page-hero__sub,
html body.homes-search-page.swmo-search-polished .homes-page-hero__top { display:none!important; }
html body.homes-search-page.swmo-search-polished .homes-page-search { display:block!important; max-width:760px!important; width:100%!important; margin:0!important; padding:0!important; border:0!important; background:transparent!important; box-shadow:none!important; }
html body.homes-search-page.swmo-search-polished .hero-search-simple { display:flex!important; width:100%!important; border:1px solid #8c9b95!important; border-radius:9px!important; overflow:hidden; padding:0!important; box-shadow:0 1px 3px #00000008; background:#fff!important; }
html body.homes-search-page.swmo-search-polished #homes-page-search-input { display:block!important; width:100%!important; min-width:0!important; flex:1!important; height:50px!important; border:0!important; border-radius:0!important; background:#fff!important; padding:0 14px!important; font:16px 'DM Sans',Arial,sans-serif!important; color:#192d28!important; }
html body.homes-search-page.swmo-search-polished #homes-page-search-submit { display:grid!important; place-items:center; flex:0 0 52px!important; width:52px!important; height:50px!important; min-height:0!important; margin:0!important; padding:0!important; border:0!important; border-radius:0!important; background:#175b4b!important; color:white!important; box-shadow:none!important; }
html body.homes-search-page.swmo-search-polished .homes-page-search-filters { display:flex!important; gap:8px!important; margin:10px 0 0!important; padding:0!important; background:transparent!important; flex-wrap:wrap; }
html body.homes-search-page.swmo-search-polished .homes-page-search-filters select { min-height:40px!important; flex:1; min-width:0; border:1px solid #d4dcd7!important; background:#fff!important; border-radius:7px!important; padding:6px 9px!important; font-size:14px!important; }
html body.homes-search-page.swmo-search-polished #homes-share-search { display:none!important; }
html body.homes-search-page.swmo-search-polished #search-results { background:#fff!important; padding:20px 0 40px!important; border:0!important; }
html body.homes-search-page.swmo-search-polished #search-results>.section-inner { width:100%!important; max-width:1440px!important; padding:0 24px!important; }
html body.homes-search-page.swmo-search-polished #search-results .results-toolbar { display:flex!important; flex-wrap:wrap!important; gap:10px!important; padding:0 0 16px!important; margin:0!important; border:0!important; box-shadow:none!important; background:#fff!important; border-radius:0!important; }
html body.homes-search-page.swmo-search-polished .results-toolbar-row { display:flex!important; align-items:center!important; justify-content:space-between!important; gap:12px!important; width:100%; flex:1 1 100%!important; }
html body.homes-search-page.swmo-search-polished .results-toolbar-left { display:block!important; text-align:left!important; }
html body.homes-search-page.swmo-search-polished .search-new-btn { display:none!important; }
html body.homes-search-page.swmo-search-polished #browse-active-label { font-size:22px!important; line-height:1.25!important; letter-spacing:-.5px!important; color:#172c29!important; font-weight:750!important; margin:0 0 5px!important; }
html body.homes-search-page.swmo-search-polished #homes-list-count { font-size:13px!important; line-height:1.5!important; font-weight:400!important; color:#5a6662!important; margin:0!important; }
html body.homes-search-page.swmo-search-polished #explorer-view-tabs { border-radius:8px!important; padding:3px!important; gap:0!important; background:#f5f7f6!important; }
html body.homes-search-page.swmo-search-polished #explorer-view-tabs .view-tab { min-height:38px!important; padding:7px 14px!important; font-size:13px!important; border-radius:5px!important; }
html body.homes-search-page.swmo-search-polished .swmo-filter-panel,
html body.homes-search-page.swmo-search-polished .swmo-saved-panel { flex:1 1 180px; min-width:0; position:relative; border:1px solid #d8dfdb; border-radius:8px; background:#fff; }
html body.homes-search-page.swmo-search-polished :is(.swmo-filter-panel,.swmo-saved-panel)>summary { padding:11px 13px; font-size:14px; font-weight:600; color:#24443a; cursor:pointer; min-height:44px; }
html body.homes-search-page.swmo-search-polished .swmo-filter-panel[open],html body.homes-search-page.swmo-search-polished .swmo-saved-panel[open] { flex-basis:100%; }
html body.homes-search-page.swmo-search-polished #search-results .results-toolbar-filters { display:flex!important; flex-wrap:wrap!important; padding:12px!important; margin:0!important; gap:8px!important; border-top:1px solid #e7ebe8; }
html body.homes-search-page.swmo-search-polished .swmo-filter-panel:not([open]) .results-toolbar-filters { display:none!important; }
html body.homes-search-page.swmo-search-polished .toolbar-select { min-height:44px!important; font:14px 'DM Sans',Arial,sans-serif!important; padding:8px!important; border:1px solid #d4dcd7!important; border-radius:7px!important; background:#fff!important; color:#263c33!important; flex:1 1 145px; }
html body.homes-search-page.swmo-search-polished .buyer-search-tools { padding:12px!important; margin:0!important; border:0!important; border-top:1px solid #e7ebe8!important; border-radius:0!important; box-shadow:none!important; gap:12px!important; }
html body.homes-search-page.swmo-search-polished .buyer-search-tools [data-save-search] { background:#175b4b!important; color:#fff!important; border:0!important; min-height:44px; }
html body.homes-search-page.swmo-search-polished #homes-list-sub { margin:0 0 8px!important; font-size:12px!important; color:#64706a!important; }
html body.homes-search-page.swmo-search-polished .idx-search-disclaimer { font-size:11px!important; line-height:1.6!important; color:#64706a!important; margin:0 0 16px!important; }
html body.homes-search-page.swmo-search-polished .pf-feed-caption { display:none!important; }
html body.homes-search-page.swmo-search-polished #swmo-main-content #homes-list { gap:22px!important; padding:0!important; background:#fff!important; }
html body.homes-search-page.swmo-search-polished #swmo-main-content #homes-list>article.premium-card { border:1px solid #dfe4e1!important; border-radius:13px!important; box-shadow:0 3px 14px #173f3510!important; }
html body.homes-search-page.swmo-search-polished #swmo-main-content #homes-list>article .listing-card-photo-wrap { aspect-ratio:1.65!important; background:#edf1ee!important; }
html body.homes-search-page.swmo-search-polished #swmo-main-content #homes-list>article img.listing-card-photo-img { object-fit:cover!important; }
html body.homes-search-page.swmo-search-polished #swmo-main-content #homes-list .pf-home-facts { gap:7px!important; padding:15px 16px!important; min-height:0!important; }
html body.homes-search-page.swmo-search-polished #swmo-main-content #homes-list .pf-home-facts .zillow-card-price { font-size:30px!important; line-height:1.1!important; font-weight:800!important; color:#111116!important; letter-spacing:-1px!important; }
html body.homes-search-page.swmo-search-polished #swmo-main-content #homes-list .pf-home-facts .zillow-card-meta { font-size:14px!important; color:#26332e!important; }
html body.homes-search-page.swmo-search-polished #swmo-main-content #homes-list .pf-home-facts .zillow-card-address { font-size:15px!important; font-weight:400!important; line-height:1.5!important; color:#37463f!important; }
html body.homes-search-page.swmo-search-polished #swmo-main-content #homes-list .swmo-result-courtesy { font-size:10px!important; line-height:1.5!important; color:#67746d!important; order:5; }
html body.homes-search-page.swmo-search-polished #swmo-main-content #homes-list .swmo-result-status { position:absolute; top:11px; left:11px; z-index:3; padding:6px 10px; border-radius:5px; font-size:11px; font-weight:700; color:#254b3c; background:#fffffff2; box-shadow:0 1px 5px #0001; }
html body.homes-search-page.swmo-search-polished #swmo-main-content #homes-list .listing-card-save { width:42px!important; height:42px!important; top:10px!important; right:10px!important; border:0!important; border-radius:50%!important; background:#fff!important; color:#245343!important; box-shadow:0 2px 7px #0002!important; font-size:28px!important; }
html body.homes-search-page.swmo-search-polished #swmo-main-content #homes-list .listing-card-actions { padding:0 16px 14px!important; gap:10px!important; }
html body.homes-search-page.swmo-search-polished #swmo-main-content #homes-list .listing-card-actions>* { min-height:40px!important; border:1px solid #d7e0da!important; border-radius:7px!important; background:#fff!important; color:#175b4b!important; box-shadow:none!important; font-size:12px!important; font-weight:600!important; }
html body.homes-search-page.swmo-search-polished:not(.modal-open) #expert-cta-bar { display:none!important; }
@media(max-width:768px){
 html body.homes-search-page.swmo-search-polished .homes-page-hero { padding:12px 16px!important; }
 html body.homes-search-page.swmo-search-polished #search-results>.section-inner { padding:0 16px!important; }
 html body.homes-search-page.swmo-search-polished #search-results { padding-top:16px!important; }
 html body.homes-search-page.swmo-search-polished .swmo-filter-panel,html body.homes-search-page.swmo-search-polished .swmo-saved-panel { flex-basis:calc(50% - 5px); }
 html body.homes-search-page.swmo-search-polished #swmo-main-content #homes-explorer.is-list-only #homes-list { display:grid!important; grid-template-columns:minmax(0,1fr)!important; }
}
@media(prefers-reduced-motion:reduce){html body.swmo-search-polished *{scroll-behavior:auto!important;}}
/* Neutralize old column and fixed-height rules without changing their handlers. */
html body.homes-search-page.swmo-search-polished #swmo-main-content#swmo-main-content .hero-search-simple { flex-direction:row!important; min-height:0!important; height:52px!important; padding:0!important; box-shadow:none!important; }
html body.homes-search-page.swmo-search-polished #swmo-main-content#swmo-main-content .hero-search-simple .search-suggest-wrap { flex:1 1 0!important; min-width:0!important; width:auto!important; height:50px!important; }
html body.homes-search-page.swmo-search-polished #swmo-main-content#swmo-main-content #homes-page-search-submit { flex:0 0 52px!important; width:52px!important; min-width:52px!important; }
html body.homes-search-page.swmo-search-polished #swmo-main-content#swmo-main-content .results-toolbar { flex-direction:row!important; }
html body.homes-search-page.swmo-search-polished #swmo-main-content#swmo-main-content .homes-page-search-filters { flex-direction:row!important; }
html body.homes-search-page.swmo-search-polished #swmo-main-content#swmo-main-content .homes-page-search-filters select { color:#29453a!important; opacity:1!important; height:40px!important; width:auto!important; flex:1 1 0!important; }
html body.homes-search-page.swmo-search-polished #share-city-homes-btn { width:auto!important; min-height:40px!important; background:#fff!important; color:#175b4b!important; border:1px solid #d4dcd7!important; border-radius:7px!important; padding:7px 10px!important; box-shadow:none!important; font-size:12px!important; }
html body.homes-search-page.swmo-search-polished #share-city-homes-btn:disabled { display:none!important; }
html body.homes-search-page.swmo-search-polished #swmo-main-content#swmo-main-content #homes-list>article .listing-card-photo-wrap { aspect-ratio:1.65!important; }
html body.homes-search-page.swmo-search-polished #swmo-main-content#swmo-main-content #homes-list>article img.listing-card-photo-img { object-fit:cover!important; }
html body.homes-search-page.swmo-search-polished #swmo-main-content#swmo-main-content #results-heading { display:block!important; position:static!important; clip-path:none!important; clip:auto!important; width:auto!important; height:auto!important; overflow:visible!important; margin:0 0 5px!important; padding:0!important; font-size:22px!important; line-height:1.25!important; letter-spacing:-.5px!important; text-align:left!important; color:#172c29!important; }
html body.homes-search-page.swmo-search-polished #swmo-main-content#swmo-main-content #homes-list-count { text-align:left!important; }
html body.homes-search-page.swmo-search-polished #swmo-main-content#swmo-main-content #location-label,
html body.homes-search-page.swmo-search-polished #swmo-main-content#swmo-main-content #browse-active-label { display:none!important; }
html body.homes-search-page.swmo-search-polished #swmo-main-content#swmo-main-content .results-toolbar-left { flex:1; min-width:0; }
html body.homes-search-page.swmo-search-polished #swmo-main-content#swmo-main-content #homes-city-select { flex:2 1 0!important; }
.swmo-search-nav { display:none; }
html body.swmo-search-polished #buyer-map-tools.swmo-map-area-tools { display:flex!important; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px; padding:9px 12px; background:#fff; border-bottom:1px solid #e0e7e2; flex:none; }
html body.swmo-search-polished #buyer-map-tools.swmo-map-area-tools button { min-height:42px; padding:9px 15px; border:1px solid #bfcfc5; border-radius:8px; font:600 13px 'DM Sans',Arial,sans-serif; background:#fff; color:#175b4b; cursor:pointer; }
html body.swmo-search-polished #buyer-map-tools.swmo-map-area-tools [data-map-area] { background:#175b4b; color:#fff; border-color:#175b4b; }
html body.swmo-search-polished #buyer-map-tools.swmo-map-area-tools button[hidden] { display:none!important; }
html body.swmo-search-polished #buyer-map-tools.swmo-map-area-tools button:disabled { opacity:.65; cursor:wait; }
html body.swmo-search-polished #homes-map-status { color:#344f41!important; background:#f5f8f5!important; font-size:12px!important; line-height:1.5!important; }
.swmo-map-empty { padding:22px; margin:0; color:#425d4c; background:#f7faf7; line-height:1.6; }
html body.swmo-search-polished .map-price-label { background:#fff!important; color:#193e30!important; border:1px solid #718f7d!important; border-radius:18px!important; padding:5px 10px!important; font-size:12px!important; font-weight:750!important; box-shadow:0 2px 5px #173f3526!important; }
html body.swmo-search-polished .map-price-marker.is-active .map-price-label { background:#175b4b!important; color:#fff!important; border-color:#175b4b!important; }
.swmo-recent-searches { margin:13px 0 0; max-width:760px; text-align:left; }
.swmo-recent-searches[hidden],.swmo-active-filter-chips[hidden] { display:none!important; }
.swmo-recent-searches>div:first-child { display:flex; justify-content:space-between; align-items:center; gap:12px; color:#63716a; font-size:12px; }
.swmo-recent-searches button { background:none; border:0; padding:4px 0; color:#175b4b; font:inherit; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.swmo-recent-search-links { display:flex; gap:8px; overflow-x:auto; padding:7px 0 3px; scrollbar-width:thin; }
.swmo-recent-search-links a { display:block; flex:0 0 auto; max-width:230px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding:8px 12px; min-height:36px; border:1px solid #dce4de; border-radius:20px; color:#315244; background:#fff; font-size:13px; text-decoration:none; }
.swmo-active-filter-chips { display:flex; flex-wrap:wrap; gap:7px; flex:1 1 100%; }
.swmo-active-filter-chips button { padding:7px 11px; min-height:36px; background:#edf4ef; border:1px solid #d8e5dc; border-radius:20px; color:#214c3a; font-size:12px; cursor:pointer; }
@media(max-width:768px){
 html body.homes-search-page.swmo-search-polished { padding-bottom:calc(68px + env(safe-area-inset-bottom,0px))!important; }
 html body.swmo-search-polished .swmo-search-nav { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); position:fixed; bottom:0; left:0; right:0; z-index:95; padding:8px 8px calc(8px + env(safe-area-inset-bottom,0px)); border-top:1px solid #dfe5e1; background:#fffffff5; backdrop-filter:blur(12px); }
 .swmo-search-nav a { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; min-height:44px; color:#61706a; text-decoration:none; font-size:11px; font-weight:500; }
 .swmo-search-nav a[aria-current] { color:#175b4b; font-weight:700; }
 html body.swmo-search-polished.modal-open .swmo-search-nav,html body.swmo-search-polished.pf-phone-map .swmo-search-nav { display:none; }
}
