.search-intro{background:#11283b;color:#fff;padding:42px 0 36px}.search-intro h1{font-size:clamp(2rem,4vw,3.3rem);margin:12px 0}.search-intro p{color:#c0d1d7;margin:0}.search-intro .eyebrow{color:#d2b88c}.property-explorer{background:#f7f7f3;padding:30px 0 65px}.property-explorer>.container{width:min(1440px,calc(100% - 48px))}.location-search{display:flex;gap:12px;margin-bottom:16px}.location-search>label{flex:1;font-size:.75rem;font-weight:700;display:flex;flex-direction:column;gap:7px}.location-search input{width:100%;font-size:1rem;padding:16px 20px;border:1px solid #cbd3d5;border-radius:8px;background:#fff}.location-search>.btn{align-self:end;height:54px;border-radius:8px}.filter-toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.filter-toolbar select,.filter-popover>summary,.save-search-button,.clear-search{border:1px solid #cbd3d5;border-radius:7px;padding:13px 15px;background:#fff;font-size:.85rem;color:#18343e;cursor:pointer;min-height:48px}.filter-popover{position:relative}.filter-popover>summary{list-style:none;display:flex;gap:16px;align-items:center}.filter-popover>summary:after{content:'⌄';font-size:.8rem}.filter-popover[open]>summary{border-color:#8b6a39;box-shadow:0 0 0 1px #8b6a39}.filter-popover>summary::-webkit-details-marker{display:none}.filter-panel{position:absolute;top:calc(100% + 9px);left:0;z-index:1100;background:#fff;box-shadow:0 16px 50px #11283b30;border:1px solid #dce1df;border-radius:12px;padding:24px;width:350px;max-height:70vh;overflow:auto}.filter-panel label{font-size:.8rem;color:#40575e;display:flex;flex-direction:column;gap:8px}.filter-panel input:not([type=checkbox]){width:100%;min-width:0;padding:12px;border:1px solid #cbd3d5;background:white;border-radius:6px;font-size:.9rem}.filter-panel fieldset{border:0;padding:0;margin:0 0 25px;min-width:0}.filter-panel legend{font-weight:700;margin-bottom:15px;font-size:.9rem}.filter-panel legend small{font-weight:400;color:#6a7b7f}.filter-pair,.checks-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.filter-panel .filter-check{flex-direction:row;align-items:center;gap:9px;font-size:.9rem}.filter-check input{width:20px;height:20px;accent-color:#b59a70;flex:none}.filter-panel .btn{margin-top:20px}.filter-help{font-size:.77rem;line-height:1.6;color:#637679;margin:18px 0}.advanced-panel{width:540px;left:auto;right:0}.advanced-heading{display:flex;justify-content:space-between;gap:20px;margin-bottom:25px}.advanced-heading h2{font-size:1.5rem;margin:0}.close-filters{border:0;background:none;font-size:1.8rem;cursor:pointer;line-height:1}.filter-actions{display:flex;align-items:center;justify-content:space-between}.filter-actions>a{font-size:.8rem;text-decoration:underline}.save-search-button{color:#1b6977;font-weight:700;margin-left:auto}.clear-search{border-color:transparent;background:none;min-height:auto}.sort-row{display:flex;justify-content:space-between;align-items:center;margin:20px 0;gap:15px;flex-wrap:wrap}.sort-row label{font-size:.8rem;color:#51686c}.sort-row select{background:transparent;border:0;color:#193741;font-weight:700;padding:10px}.view-switch{display:flex;gap:7px}.view-switch button,.map-topbar button{border:1px solid #cbd3d5;border-radius:6px;background:#fff;padding:9px 12px;color:#25464f;cursor:pointer;font-size:.78rem}.map-shell{border:1px solid #ced9d5;border-radius:12px;overflow:hidden;margin-bottom:32px;background:#fff}.map-topbar{display:flex;justify-content:space-between;gap:12px;padding:12px 16px;align-items:center;font-size:.8rem}.map-topbar>div{display:flex;gap:8px}#property-map{height:480px;isolation:isolate;background:#e4ebe2}.map-caption{padding:10px 16px;margin:0;font-size:.7rem;color:#657b7c}.map-caption a{text-decoration:underline}.price-marker{background:none;border:0}.price-marker>span{display:block;min-width:56px;padding:6px 9px;text-align:center;border-radius:20px;border:1px solid #947135;background:#c3a16a;color:#122d39;font-weight:800;font-size:12px;box-shadow:0 2px 7px #11283b35;white-space:nowrap}.price-marker.cluster>span{border-radius:50%;width:40px;height:40px;min-width:40px;line-height:25px;border:5px solid #d6bb8b;background:#b38d4e}.leaflet-popup-content a{color:#173b4b;font-weight:700}.leaflet-popup-content strong{display:block;margin-bottom:8px;font-size:1rem}.property-explorer .results-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.feed-label{font-size:.73rem;color:#4b686f;border:1px solid #d6dfdc;padding:7px 11px;border-radius:20px;white-space:nowrap}.property-explorer .listing-card{border-radius:12px;overflow:hidden;box-shadow:0 3px 12px #11283b06;transition:box-shadow .2s,transform .2s}.property-explorer .listing-card:hover,.listing-card.map-selected{transform:translateY(-3px);box-shadow:0 10px 25px #11283b18;border-color:#b59a70}.property-explorer .listing-thumb{height:235px}.listing-price small{font-size:.7rem;font-weight:400}.listing-card .card-brokerage{font-size:.72rem;margin-top:14px}.search-pagination{display:flex;justify-content:center;align-items:center;gap:24px;margin:36px 0}.search-pagination>span{font-size:.8rem;color:#577076}#search-notice{color:#285b5e;font-size:.85rem}#saved-searches{padding:20px;background:#fff;border:1px solid #d8e0dc;border-radius:8px;margin-bottom:15px}#saved-searches>a{display:block;margin:12px 0;text-decoration:underline}.active-area{font-size:.8rem}.active-area a{margin-left:15px;text-decoration:underline}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.property-explorer :focus-visible{outline:3px solid #a98443;outline-offset:3px}.map-shell[hidden],#saved-searches[hidden],button[hidden]{display:none!important}
.advanced-panel{position:fixed;top:10vh;left:50%;right:auto;transform:translateX(-50%);max-height:80vh}.card-brokerage span{display:block;margin-top:5px;color:#647c80}
@media(min-width:1450px){#property-map{height:540px}}@media(max-width:800px){.property-explorer>.container{width:calc(100% - 28px)}.filter-panel{position:fixed;top:16vh;left:14px;right:14px;width:auto;max-height:75vh}.filter-toolbar{gap:7px}.filter-toolbar select,.filter-popover>summary,.save-search-button{font-size:.76rem;padding:11px 12px;min-height:42px}.save-search-button{margin-left:0}.advanced-panel{width:auto;transform:none}.map-topbar{flex-wrap:wrap}#property-map{height:360px}.property-explorer .listing-thumb{height:210px}.search-intro{padding:30px 0}.location-search input{font-size:.9rem;padding:14px}.location-search>.btn{height:49px}.feed-label{display:none}}@media(max-width:520px){.property-explorer .listing-grid{grid-template-columns:1fr}.filter-panel .checks-grid{gap:17px}.filter-panel{padding:20px}.location-search{gap:7px}.location-search>.btn{padding:12px}.property-explorer .results-head h2{font-size:1.4rem}.search-pagination{gap:12px}.view-switch button{font-size:.7rem}#property-map{height:330px}}
/* Keep phone controls within the viewport, including with the keyboard open. */
.location-search>label,.location-search input,.filter-toolbar>*,.map-topbar>*,.results-head>*,.view-switch{min-width:0}
.filter-pair,.checks-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.suite-filter{display:flex;flex-direction:column;gap:6px;font-size:.8rem;max-width:420px;margin:18px 0}
.suite-filter select{padding:12px;background:#fff;border:1px solid #cbd3d5;border-radius:6px;max-width:100%;min-width:0}
.map-topbar{flex-wrap:wrap}.map-topbar>span{flex:1 1 220px;overflow-wrap:anywhere}.map-topbar>div{flex-wrap:wrap}
.listing-facts{flex-wrap:wrap}.listing-price{line-height:1.45}
@media(max-width:800px){.filter-panel{inset:12vh 14px auto;max-width:calc(100vw - 28px);max-height:76vh;max-height:76dvh}.advanced-panel{transform:none}.filter-panel>*,.filter-pair>*{min-width:0}.advanced-heading{position:sticky;top:-20px;background:white;z-index:1;padding-bottom:10px}.filter-panel label{overflow-wrap:anywhere}}
@media(max-width:520px){.location-search{flex-direction:column}.location-search>.btn{align-self:stretch}.property-explorer>.container{width:calc(100% - 28px)}.filter-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.filter-toolbar>label:first-child{grid-column:1/-1}.filter-toolbar select,.filter-popover>summary,.save-search-button{width:100%;max-width:100%}.save-search-button{margin:0}.sort-row,.view-switch{width:100%}.view-switch{flex-wrap:wrap}.property-explorer .results-head{align-items:flex-start}.search-pagination{flex-wrap:wrap}.map-topbar>div{width:100%}.map-topbar button{min-height:42px}.filter-panel{padding:18px}.filter-panel .filter-check{font-size:.8rem;gap:6px}.filter-panel .checks-grid{gap:12px}.filter-pair{gap:10px}}

.location-search{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto;align-items:end}
@media(max-width:700px){.location-search{grid-template-columns:minmax(0,1fr)}.location-search>.btn{width:100%}}

/* Keep secondary search choices folded while retaining active form values. */
.search-options{margin:18px 0;border:1px solid #cbd3d5;border-radius:9px;background:#fff}
.search-options>summary{list-style:none;display:flex;align-items:center;gap:12px;padding:15px 16px;min-height:54px;cursor:pointer;font-size:.95rem;font-weight:700;color:#18343e}
.search-options>summary::-webkit-details-marker{display:none}
.search-options>summary:after{content:'⌄';margin-left:auto;flex:none}.search-options[open]>summary:after{content:'⌃'}
.search-options-count{font-size:.75rem;font-weight:400;color:#566e73;overflow-wrap:anywhere}
.search-options-body{padding:0 16px 18px;border-top:1px solid #e2e7e3}
.suite-basement-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.suite-basement-controls .suite-filter{max-width:none;min-width:0}
.search-options .filter-toolbar{margin-top:12px}
@media(max-width:700px){.suite-basement-controls{grid-template-columns:minmax(0,1fr);gap:0}.suite-basement-controls .suite-filter{margin:12px 0}.search-options-count{max-width:65%}.search-options-body{padding:0 12px 16px}.search-options>summary{padding:14px 12px}}

.search-options-apply{display:flex;justify-content:flex-end;margin:18px 0 0}@media(max-width:700px){.search-options-apply .btn{width:100%}}

/* Compact search controls: preserve tap targets and reveal the map sooner. */
.search-intro{padding:24px 0}.search-intro h1{font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.15;margin:8px 0}.search-intro p{font-size:.9rem}
.property-explorer{padding-top:18px}.location-search{gap:10px;margin-bottom:12px}.location-search>label{gap:5px}.location-search input{height:44px;padding:10px 12px;font-size:16px}.location-search>.btn{height:44px;min-height:44px;padding:10px 16px}
.search-options{margin:12px 0}.search-options>summary{min-height:44px;padding:10px 12px;font-size:.88rem}.sort-row{margin:8px 0 12px;gap:8px;flex-wrap:nowrap}.sort-row label{display:flex;align-items:center;gap:4px;min-width:0;white-space:nowrap}.sort-row select{min-width:0;max-width:100%;min-height:44px;padding:8px 4px}.view-switch{flex:none}.view-switch button{min-height:44px;padding:8px 10px}
#search-notice:empty{margin:0}#map-summary[hidden]{display:none!important}.map-shell{position:relative}.map-topbar{position:absolute;top:8px;right:8px;z-index:500;padding:0;max-width:calc(100% - 64px);gap:0}.map-topbar>div{width:auto;justify-content:flex-end;flex-wrap:wrap}.map-topbar button{min-height:44px;padding:8px 10px;box-shadow:0 1px 5px #11283b20}
@media(max-width:700px){.search-intro{padding:18px 0}.search-intro .eyebrow{font-size:.6rem;letter-spacing:.13em}.search-intro h1{font-size:1.65rem;margin:6px 0}.search-intro p{font-size:.8rem;line-height:1.5}.property-explorer{padding-top:14px}.location-search{grid-template-columns:minmax(0,1fr) 90px;gap:9px 8px}.location-search>label:first-child{grid-column:1 / -1}.location-search>label{font-size:.7rem;line-height:1.4}.location-search>.btn{width:100%;padding:9px 6px;font-size:.85rem}.search-options-count{font-size:.7rem}.sort-row label{font-size:.73rem;flex:1}.sort-row select{font-size:.78rem;flex:1}.view-switch button{font-size:.73rem}.map-topbar button{font-size:.73rem}.search-options .save-search-button{min-height:44px}}
/* Override earlier phone stacking rules for the compact control row. */
.location-search>.btn{align-self:end}.sort-row .view-switch{width:auto;flex:none}.sort-row>label{flex:1;overflow:hidden}.sort-row select{width:auto}.sort-row .view-switch:has(#clear-bounds){flex-wrap:wrap;max-width:55%;justify-content:flex-end}

/* Make the compact filter disclosure recognizable without adding height. */
.search-options{border-color:#b79a6b;border-left:4px solid #AE9062;background:#fbf6ed;box-shadow:0 2px 6px #11283e08}.search-options>summary{background:#f6eddc;border-radius:7px;color:#11283E}.search-options-label{display:inline-flex;align-items:center;gap:7px;flex:none}.filters-icon{color:#846231;flex:none}.search-options-count{color:#4c6065}.search-options>summary:after{content:'+';display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#11283E;color:#f6f3ed;font-size:18px;font-weight:400;line-height:1}.search-options[open]>summary:after{content:'−'}.search-options[open]>summary{border-radius:7px 7px 0 0}.search-options>summary:hover{background:#efe1c8}.search-options-body{background:#fff;border-radius:0 0 7px 7px}
