/* Property results page only.
   All selectors are scoped beneath body.property-results-page so this file cannot alter other CUI pages. */
.property-results-page{overflow:hidden;background:#f3f3f1}.property-results-page .topbar{z-index:40}
/* Suppress the shared menu-top rule on this page only. */
.property-results-page .nav{border-top:0!important}.property-results-page .results-page-shell{min-height:100vh}.property-results-page .results-demo{height:calc(100vh - 126px);min-height:620px;display:flex;flex-direction:column;background:#f4f4f2;font-family:var(--sans)}.property-results-page .results-toolbar{background:#fff;border-bottom:1px solid #ddd;padding:14px 18px}.property-results-page .toolbar-row{display:flex;gap:8px;align-items:center}.property-results-page .filter-select,.property-results-page .location-search{height:50px;border:1px solid #d2d2cf;background:#fff;border-radius:28px;color:#232323;font:500 15px/1 var(--sans)}.property-results-page .filter-select{padding:0 20px;white-space:nowrap}.property-results-page .filter-select span{margin-left:8px}.property-results-page .sale-type{border-radius:28px 0 0 28px}.property-results-page .location-search{display:flex;align-items:center;flex:1;max-width:600px;border-radius:0 28px 28px 0;margin-left:-9px}.property-results-page .location-search input{border:0;outline:0;flex:1;height:46px;padding:0 10px;font:400 15px var(--sans)}.property-results-page .location-search button{border:0;background:transparent;font-size:27px;padding:0 18px;color:#777}.property-results-page .location-crosshair{padding-left:16px;font-size:22px}.property-results-page .view-switcher{display:flex;margin-left:auto}.property-results-page .view-switcher button{width:54px;height:50px;border:0;border-right:1px solid #aaa;background:#eee;font-size:21px}.property-results-page .view-switcher button:first-child{border-radius:8px 0 0 8px}.property-results-page .view-switcher button:last-child{border-radius:0 8px 8px 0}.property-results-page .view-switcher button.active{background:#292929;color:white}.property-results-page .results-meta{height:50px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;background:#f7f7f6;border-bottom:1px solid #ddd;font-size:13px;text-transform:uppercase;letter-spacing:.04em}.property-results-page .meta-divider{margin-left:10px}.property-results-page .result-actions{display:flex;gap:18px}.property-results-page .result-actions button{border:0;background:none;font:500 13px var(--sans)}.property-results-page .results-workspace{flex:1;min-height:0;display:grid;grid-template-columns:minmax(520px,57%) 1fr;position:relative}.property-results-page .results-pane{overflow:auto;background:#efefed;padding:0 12px 30px}.property-results-page .keyword-strip{height:64px;display:flex;align-items:center;gap:14px;font-size:13px}.property-results-page .keyword-strip input{height:38px;width:220px;border:1px solid #777;border-radius:5px;padding:0 12px}.property-results-page .property-card{display:grid;grid-template-columns:47% 53%;background:#fff;margin-bottom:12px;min-height:295px;border:1px solid #e5e5e2}.property-results-page .property-photo{position:relative;min-height:270px;overflow:hidden}.property-results-page .property-photo img{width:100%;height:100%;object-fit:cover;display:block}.property-results-page .instruction-tag{position:absolute;left:16px;bottom:14px;background:#f4d900;color:#111;padding:6px 10px;font-size:12px;font-weight:600}.property-results-page .photo-count{position:absolute;right:16px;bottom:14px;color:#fff;font-weight:600;text-shadow:0 1px 3px #000}.property-results-page .property-copy{position:relative;padding:22px 22px 60px}.property-results-page .price-line{display:flex;align-items:center;gap:12px}.property-results-page .price-line h2{font:600 clamp(20px,2vw,29px)/1.1 var(--sans);margin:0;color:#111}.property-results-page .calculator{width:38px;height:38px;border-radius:50%;border:0;background:var(--red);color:#fff;font-size:18px}.property-results-page .property-type{color:#888;margin:10px 0 4px}.property-results-page .property-copy h3{font:500 16px/1.35 var(--sans);margin:0 0 8px;color:#161616}.property-results-page .description{font-size:14px;line-height:1.65;color:#777;margin:0 0 12px}.property-results-page .virtual-tour{display:inline-block;background:var(--red);color:#fff;padding:8px 15px;border-radius:18px;text-transform:uppercase;font-size:11px}.property-results-page .property-specs{position:absolute;bottom:16px;left:22px;right:22px;border-top:1px dashed #ccc;padding-top:13px;display:flex;gap:20px;font-size:13px}.property-results-page .property-specs .distance{margin-left:auto}.property-results-page .property-specs .school{margin-left:0}.property-results-page .see-listing{position:absolute;right:18px;bottom:12px;background:#111;color:#fff;padding:10px 18px;border-radius:5px;font-weight:600}.property-results-page .card-tools{position:absolute;right:15px;top:14px}.property-results-page .card-tools button{border:1px solid #ddd;background:#fff;width:32px;height:32px}.property-results-page .map-pane{position:relative;overflow:hidden;background:#d9e4df}.property-results-page .map-pane iframe{width:100%;height:100%;border:0;filter:saturate(.78) contrast(.96)}.property-results-page .map-tabs{position:absolute;left:18px;top:18px;background:#fff;box-shadow:0 2px 8px #0002}.property-results-page .map-tabs button{border:0;background:#fff;padding:13px 16px;font:500 15px var(--sans)}.property-results-page .map-tabs .active{font-weight:700}.property-results-page .draw-search{position:absolute;right:18px;top:18px;width:55px;height:55px;border:0;background:#12a9d8;color:#fff;font-size:25px}.property-results-page .map-marker{position:absolute;background:#47769a;color:#fff;border-radius:5px;padding:6px 9px;font-weight:700;font-size:13px;box-shadow:0 2px 6px #0004}.property-results-page .marker-one{left:43%;top:47%;background:#c7a51a}.property-results-page .marker-two{left:51%;top:52%}.property-results-page .marker-three{left:68%;top:35%;background:#26956c}.property-results-page .marker-four{left:28%;top:53%}.property-results-page .marker-five{left:32%;top:39%}.property-results-page .marker-six{left:72%;top:56%;background:#d34343}.property-results-page .table-pane{display:none;overflow:auto;background:#fff;padding:30px}.property-results-page .table-intro h1{font:400 44px/1 var(--serif);margin:0 0 8px}.property-results-page .table-intro p{color:#777}.property-results-page .results-table-wrap{margin-top:30px;border:1px solid #ddd;overflow:auto}.property-results-page .results-table-wrap table{width:100%;border-collapse:collapse;min-width:900px}.property-results-page .results-table-wrap th{background:#222;color:#fff;text-align:left;padding:15px;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.property-results-page .results-table-wrap td{padding:18px 15px;border-bottom:1px solid #ddd;font-size:14px}.property-results-page .results-table-wrap tr:nth-child(even){background:#f7f7f4}.property-results-page .results-table-wrap a{color:var(--red);font-weight:600}.property-results-page .view-table{display:block}.property-results-page .view-table .results-pane,.property-results-page .view-table .map-pane{display:none}.property-results-page .view-table .table-pane{display:block;height:100%}.property-results-page .view-map{grid-template-columns:32% 68%}.property-results-page .view-map .property-card{display:block}.property-results-page .view-map .property-photo{height:260px;min-height:0}.property-results-page .view-map .property-copy{padding-bottom:72px}.property-results-page .view-map .description{display:none}.property-results-page .view-map .keyword-strip{display:none}.property-results-page .view-map .table-pane{display:none}.property-results-page .mortgage-modal[hidden]{display:none!important}.property-results-page .mortgage-modal{position:fixed;inset:0;background:#0009;z-index:100000;display:grid;place-items:center;padding:30px}.property-results-page .mortgage-dialog{width:min(1080px,95vw);max-height:calc(100vh - 60px);overflow:auto;background:#fff;border-radius:14px;padding:26px;position:relative;z-index:1}.property-results-page .mortgage-close{position:sticky;float:right;right:0;top:0;z-index:3;width:42px;height:42px;border:0;border-radius:50%;background:#fff;font-size:30px;line-height:1;color:#777;box-shadow:0 1px 8px #0002;cursor:pointer}.property-results-page .mortgage-dialog h2{font:600 22px var(--sans);margin:0 0 22px;padding-bottom:18px;border-bottom:1px solid #ddd}.property-results-page .mortgage-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:20px}.property-results-page .mortgage-grid .full{grid-column:1/-1}.property-results-page .mortgage-grid label{font-weight:500}.property-results-page .mortgage-grid input:not([type=range]){display:block;width:100%;height:64px;border:1px solid #bbb;border-radius:4px;margin-top:7px;padding:0 15px;font:400 20px var(--sans)}.property-results-page .mortgage-grid input[type=range]{width:100%;margin-top:20px}.property-results-page .mortgage-result{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;border-top:1px solid #ddd;margin-top:30px;padding-top:25px}.property-results-page .payment-ring{width:370px;height:370px;border:52px solid #0c4e88;border-radius:50%;display:grid;place-items:center;margin:auto}.property-results-page .payment-ring span{text-align:center;font-size:18px}.property-results-page .payment-ring strong{display:block;font-size:44px;color:#000;margin:5px}.property-results-page .payment-breakdown p{display:grid;grid-template-columns:18px 1fr auto;gap:12px;align-items:center;font-size:17px}.property-results-page .payment-breakdown i{width:18px;height:18px;border-radius:50%;background:#0c4e88}.property-results-page .payment-breakdown p:nth-child(2) i{background:#3e9697}.property-results-page .payment-breakdown p:nth-child(3) i{background:#22bdc3}.property-results-page .payment-breakdown p:nth-child(4) i{background:#5b83e5}.property-results-page .mortgage-note{background:#e0f3fb;border:1px solid #b5dcea;padding:18px;margin-top:25px;color:#47758a}@media(max-width:980px){.property-results-page .results-demo{height:auto;min-height:calc(100vh - 100px)}.property-results-page .toolbar-row{flex-wrap:wrap}.property-results-page .location-search{order:3;flex-basis:100%;max-width:none;border-radius:28px;margin:0}.property-results-page .sort-filter{display:none}.property-results-page .results-workspace,.property-results-page .view-map{grid-template-columns:1fr}.property-results-page .map-pane{height:480px}.property-results-page .results-pane{max-height:none}.property-results-page{overflow:auto}.property-results-page .property-card{grid-template-columns:1fr}.property-results-page .property-photo{height:310px}.property-results-page .mortgage-grid,.property-results-page .mortgage-result{grid-template-columns:1fr}.property-results-page .payment-ring{width:280px;height:280px;border-width:38px}}

/* Results toolbar refinements and self-contained filter menus. */
.property-results-page .toolbar-row{position:relative}
.property-results-page .filter-control{position:relative;flex:0 0 auto}
.property-results-page .sale-control{margin-right:-9px}
.property-results-page .sort-control{min-width:225px}
.property-results-page .filter-control>.filter-select{width:100%}
.property-results-page .filter-menu[hidden]{display:none!important}
.property-results-page .filter-menu{position:absolute;top:calc(100% + 9px);left:0;z-index:500;width:240px;padding:10px;background:#fff;border:1px solid #d8d8d4;border-radius:12px;box-shadow:0 14px 35px rgba(0,0,0,.16)}
.property-results-page .filter-menu button{display:block;width:100%;border:0;background:#fff;text-align:left;padding:11px 12px;border-radius:7px;font:500 14px/1.25 var(--sans);cursor:pointer}
.property-results-page .filter-menu button:hover{background:#f2f2ef}
.property-results-page .filter-menu label{display:block;margin:4px 0 12px;font:600 12px/1.3 var(--sans);color:#333}
.property-results-page .filter-menu input[type=text],.property-results-page .filter-menu select{display:block;width:100%;height:42px!important;margin-top:6px!important;border:1px solid #d3d3cf!important;border-radius:7px!important;background:#fff!important;padding:0 10px!important;font:400 14px var(--sans)!important;box-shadow:none!important}
.property-results-page .filter-menu .filter-check{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500}
.property-results-page .filter-menu .filter-check input{width:auto!important;height:auto!important;margin:0!important}
.property-results-page .filter-menu .filter-apply{background:#151515;color:#fff;text-align:center;margin-top:5px}
.property-results-page .all-filters-menu{width:300px}
.property-results-page .sort-menu{right:0;left:auto;width:225px}
.property-results-page .location-search{min-width:260px;overflow:hidden}
.property-results-page .location-search input,.property-results-page .location-search input[type=text]{min-width:0!important;width:auto!important;max-width:none!important;appearance:none!important;-webkit-appearance:none!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important;padding:0 12px!important;color:#232323!important;line-height:46px!important}
.property-results-page .location-search input:focus{outline:0!important;box-shadow:none!important}
.property-results-page .location-search button{height:48px;display:grid;place-items:center;cursor:pointer}
.property-results-page .map-pane iframe{position:absolute;inset:0;display:block;min-width:100%;min-height:100%}
@media(max-width:1180px){.property-results-page .sort-control{display:none}.property-results-page .location-search{max-width:none}}

/* v1.4 list-layout refinement */
.property-results-page .keyword-strip{height:50px;gap:12px}.property-results-page .keyword-strip input{height:34px;width:215px;border-color:#a8a8a4;border-radius:3px}.property-results-page .property-card{grid-template-columns:44% 56%;min-height:260px}.property-results-page .property-photo{min-height:240px;aspect-ratio:4/3}.property-results-page .property-copy{padding:18px 18px 56px}.property-results-page .property-copy .see-listing{display:none!important}.property-results-page .card-tools{position:absolute;right:14px;top:14px;display:flex;gap:5px}.property-results-page .card-tools button{width:34px;height:34px;border:1px solid #d3d3d0;background:#fff;display:grid;place-items:center;cursor:pointer}.property-results-page .card-tools svg{width:17px;height:17px}.property-results-page .save-property.active{background:#111;color:#fff}.property-results-page .photo-count{display:flex;align-items:center;gap:4px;background:rgba(0,0,0,.62);padding:5px 8px;border-radius:16px;text-shadow:none;font-size:11px}.property-results-page .photo-count svg{width:14px;height:14px}.property-results-page .photo-count b{font-size:12px}.property-results-page .property-specs{gap:15px;align-items:center}.property-results-page .property-specs .spec{display:inline-flex;align-items:center;gap:5px;color:#555;background:none;border:0;padding:0;font:500 12px var(--sans);position:relative;cursor:default}.property-results-page .property-specs .spec svg{width:18px;height:18px;stroke-width:1.8}.property-results-page .property-specs .distance{margin-left:auto;cursor:pointer}.property-results-page .property-specs .school{margin-left:0}.property-results-page .property-specs .station svg{color:#1a9b56}.property-results-page .property-specs .school svg{color:#d81d35}.property-results-page .property-tooltip{position:fixed;z-index:10020;min-width:270px;max-width:340px;background:#24273a;color:#fff;border-radius:6px;padding:8px 14px;box-shadow:0 12px 28px #0004;pointer-events:none}.property-results-page .property-tooltip div{display:flex;justify-content:space-between;gap:18px;padding:8px 0;border-bottom:1px solid #ffffff24;font-size:12px}.property-results-page .property-tooltip div:last-child{border-bottom:0}.property-results-page .results-pagination{display:flex;justify-content:center;align-items:center;gap:6px;padding:20px 10px 8px}.property-results-page .results-pagination button{min-width:34px;height:34px;border:1px solid #d2d2cf;background:#fff;border-radius:4px;font:600 13px var(--sans);cursor:pointer}.property-results-page .results-pagination button.active{background:#111;color:#fff;border-color:#111}.property-results-page .results-pagination button:disabled{opacity:.4}.property-results-page .pagination-summary{text-align:center;color:#777;font-size:12px;margin:0 0 20px}.property-results-page .mortgage-dialog{width:min(920px,92vw);padding:22px}.property-results-page .mortgage-grid input:not([type=range]){height:54px;font-size:18px}.property-results-page .payment-ring{width:300px;height:300px;border-width:42px}.property-results-page .payment-ring strong{font-size:36px}.property-results-page .all-filters-modal[hidden]{display:none!important}.property-results-page .all-filters-modal{position:fixed;inset:0;background:#0009;z-index:99990;display:grid;place-items:center;padding:28px}.property-results-page .all-filters-dialog{width:min(980px,94vw);max-height:calc(100vh - 56px);background:#fff;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 60px #0005}.property-results-page .all-filters-head{height:66px;padding:0 26px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ddd}.property-results-page .all-filters-head h2{margin:0;font:600 22px var(--sans)}.property-results-page .all-filters-head button{border:0;background:none;font-size:29px;color:#999;cursor:pointer}.property-results-page .all-filters-body{padding:26px;overflow:auto}.property-results-page .listing-tabs{display:grid;grid-template-columns:repeat(3,1fr);background:#f1f1ef;border-radius:7px;margin-bottom:28px}.property-results-page .listing-tabs button{height:46px;border:0;background:transparent;font:600 15px var(--sans);border-radius:7px}.property-results-page .listing-tabs button.active{background:#fff;box-shadow:0 0 0 1px #d4d4d0 inset,0 1px 3px #0001}.property-results-page .filters-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px 34px}.property-results-page .filters-grid h3,.property-results-page .all-filters-body>h3{font:500 14px var(--sans);margin:0 0 10px}.property-results-page .range-labels{display:flex;justify-content:space-between;color:#888;font-size:12px}.property-results-page .all-filters-body input[type=range]{width:100%;accent-color:#111}.property-results-page .minmax{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;margin-top:10px}.property-results-page .all-filters-body input:not([type=range]),.property-results-page .all-filters-body select{height:45px;border:1px solid #d1d1ce;border-radius:6px;padding:0 12px;font:400 14px var(--sans);background:#fff}.property-results-page .wide-input{width:100%;margin-bottom:20px}.property-results-page .filter-divider{height:1px;background:#e3e3e0;margin:26px 0}.property-results-page .filters-grid.lower{align-items:end}.property-results-page .chip-row{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:24px}.property-results-page .chip-row button{height:42px;padding:0 16px;border:1px solid #d0d0cd;border-radius:6px;background:#fff;font:500 14px var(--sans);cursor:pointer}.property-results-page .chip-row button.active{background:#111;color:#fff;border-color:#111}.property-results-page .all-filters-footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 26px;border-top:1px solid #ddd;background:#fff}.property-results-page .all-filters-footer button{height:42px;border:0;border-radius:6px;padding:0 20px;font:600 14px var(--sans)}.property-results-page .clear-filters{background:#ddd}.property-results-page .show-results{background:#111;color:#fff}.property-results-page .filter-control [data-all-filters-open]{cursor:pointer}
@media(max-width:760px){.property-results-page .property-card{grid-template-columns:1fr}.property-results-page .property-photo{aspect-ratio:16/10;min-height:0}.property-results-page .filters-grid{grid-template-columns:1fr}.property-results-page .all-filters-modal{padding:10px}.property-results-page .all-filters-dialog{max-height:calc(100vh - 20px)}}


/* v1.5 proportions, compact keyword row and price slider */
.property-results-page .results-workspace{grid-template-columns:minmax(650px,62%) minmax(360px,38%)}
.property-results-page .keyword-strip{height:44px;min-height:44px;gap:10px;padding:0 2px;font-size:12px}
.property-results-page .keyword-strip strong{white-space:nowrap}
.property-results-page .keyword-strip input{height:30px;width:205px;padding:0 10px;font-size:13px}
.property-results-page .property-card{grid-template-columns:46% 54%;min-height:272px}
.property-results-page .property-photo{min-height:258px;aspect-ratio:4/3}
.property-results-page .property-copy{padding:18px 20px 56px}
.property-results-page .card-tools{gap:10px}
.property-results-page .card-tools button{width:26px;height:26px;border:0!important;background:transparent!important;padding:2px;color:#222}
.property-results-page .card-tools button:hover{color:var(--red);transform:translateY(-1px)}
.property-results-page .card-tools svg{width:20px;height:20px}
.property-results-page .save-property.active{color:var(--red);background:transparent!important}
.property-results-page .price-menu{width:330px;padding:18px 18px 14px}
.property-results-page .price-menu-heading{font:600 15px var(--sans);margin-bottom:5px}
.property-results-page .price-range-readout{display:flex;gap:6px;color:#666;font-size:12px;margin-bottom:12px}
.property-results-page .dual-range{position:relative;height:28px;margin:0 2px}
.property-results-page .dual-range:before{content:"";position:absolute;left:0;right:0;top:13px;height:3px;background:#ddd;border-radius:3px}
.property-results-page .dual-range input[type=range]{position:absolute;inset:0;width:100%;margin:0;background:transparent;pointer-events:none;appearance:none;-webkit-appearance:none}
.property-results-page .dual-range input[type=range]::-webkit-slider-runnable-track{height:3px;background:transparent}
.property-results-page .dual-range input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:18px;height:18px;border-radius:50%;background:var(--red,#e01525);border:2px solid #fff;box-shadow:0 0 0 1px var(--red,#e01525);pointer-events:auto;margin-top:-7px}
.property-results-page .dual-range input[type=range]::-moz-range-track{height:3px;background:transparent}
.property-results-page .dual-range input[type=range]::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:var(--red,#e01525);border:2px solid #fff;box-shadow:0 0 0 1px var(--red,#e01525);pointer-events:auto}
.property-results-page .price-range-ends{display:flex;justify-content:space-between;color:#777;font-size:11px;margin:1px 1px 14px}
.property-results-page .price-input-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.property-results-page .price-menu .price-input-grid label{font-size:11px;margin:0}
.property-results-page .price-menu .price-input-grid input{height:40px!important;font-size:13px!important}
.property-results-page .price-menu-actions{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e5e5e2;margin-top:14px;padding-top:12px}
.property-results-page .price-menu-actions button{width:auto!important;padding:9px 16px!important}
.property-results-page .price-clear{background:transparent!important;color:#666}
.property-results-page .price-menu .filter-apply{background:var(--red,#e01525)!important;color:#fff;border-radius:20px!important}
@media(max-width:1180px){.property-results-page .results-workspace{grid-template-columns:minmax(560px,60%) 40%}.property-results-page .property-card{grid-template-columns:45% 55%}}


/* v1.6 compact keyword bar and refined property actions */
.property-results-page .keyword-strip{height:36px!important;min-height:36px!important;margin:0!important;padding:0 2px!important;gap:9px!important;overflow:visible;align-items:center}
.property-results-page .keyword-strip strong{font-size:12px;line-height:1;display:flex;align-items:center;height:36px}
.property-results-page .keyword-strip input{box-sizing:border-box;height:28px!important;min-height:28px!important;width:205px;padding:0 10px!important;line-height:28px!important;font-size:12.5px!important;margin:0!important;border-radius:3px}
.property-results-page .keyword-strip span{font-size:11.5px;line-height:1;white-space:nowrap}
.property-results-page .property-card{margin-top:0}
.property-results-page .price-line{padding-right:0;justify-content:space-between;align-items:flex-start}
.property-results-page .price-line h2{font-size:clamp(20px,1.65vw,25px)!important;line-height:1.12;max-width:calc(100% - 94px)}
.property-results-page .property-roundels{display:flex;align-items:center;gap:8px;margin-left:10px;flex:0 0 auto}
.property-results-page .roundel{width:36px!important;height:36px!important;border-radius:50%!important;border:0!important;display:grid!important;place-items:center!important;padding:0!important;cursor:pointer;transition:transform .18s ease,background-color .18s ease,color .18s ease}
.property-results-page .roundel svg{width:18px;height:18px;stroke-width:1.8}
.property-results-page .virtual-tour-roundel{background:var(--red,#e01525)!important;color:#fff!important}
.property-results-page .calculator{background:#111!important;color:#fff!important;font-size:0!important}
.property-results-page .roundel:hover{transform:translateY(-2px)}
.property-results-page .virtual-tour{display:none!important}
.property-results-page .result-actions{gap:22px}
.property-results-page .result-actions button{display:inline-flex;align-items:center;gap:8px;padding:6px 2px!important;color:#151515;font-size:13px!important;font-weight:600!important;cursor:pointer}
.property-results-page .result-actions button i{display:grid;place-items:center}
.property-results-page .result-actions button svg{width:20px;height:20px;stroke-width:1.9}
.property-results-page .result-actions button:hover{color:var(--red,#e01525)}
@media(max-width:1180px){.property-results-page .keyword-strip span{display:none}.property-results-page .keyword-strip input{width:190px}.property-results-page .price-line h2{font-size:22px!important}}

/* v1.7 left result controls, taller map and image action controls */
.property-results-page .results-demo{height:calc(100vh - 126px)}
.property-results-page .results-workspace{flex:1;min-height:0}
.property-results-page .pane-results-head{height:54px;min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 10px 0 4px;background:#f7f7f6;border-bottom:1px solid #ddd}
.property-results-page .pane-results-count{display:flex;align-items:center;gap:10px;text-transform:uppercase;letter-spacing:.04em;font-size:12px;white-space:nowrap}
.property-results-page .pane-results-count span{color:#777;font-size:17px}
.property-results-page .pane-results-head .result-actions{margin-left:auto}
.property-results-page .pane-results-head .result-actions button{font-size:12.5px!important}
.property-results-page .map-pane{height:100%}
.property-results-page .image-card-tools{position:absolute!important;top:14px!important;right:14px!important;display:flex!important;gap:7px!important;z-index:5}
.property-results-page .image-card-tools button{width:34px!important;height:34px!important;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.94)!important;color:#111!important;display:grid!important;place-items:center!important;padding:0!important;box-shadow:0 2px 8px rgba(0,0,0,.18)!important;backdrop-filter:blur(3px)}
.property-results-page .image-card-tools button:hover{background:#fff!important;color:var(--red,#e01525)!important;transform:translateY(-1px)}
.property-results-page .image-card-tools svg{width:18px!important;height:18px!important}
.property-results-page .image-card-tools .save-property.active{background:#111!important;color:#fff!important}
.property-results-page .property-copy>.card-tools{display:none!important}
@media(max-width:760px){.property-results-page .pane-results-head{height:auto;min-height:62px;align-items:flex-start;flex-direction:column;padding:10px 12px}.property-results-page .pane-results-head .result-actions{margin-left:0}}


/* v1.8 unified results header and compact must-have control */
.property-results-page .results-pane{padding-top:0}
.property-results-page .results-controls-panel{position:relative;background:#fff;border-bottom:1px solid #e2e2df;margin:0 -12px 12px;padding:0 14px;z-index:12}
.property-results-page .pane-results-head{height:52px;min-height:52px;background:#fff;border-bottom:0;padding:0;gap:18px}
.property-results-page .pane-results-count{font-size:12px}
.property-results-page .must-have-row{position:relative;display:flex;align-items:center;gap:10px;min-height:42px;padding:0 0 10px}
.property-results-page .must-have-toggle{height:34px;border:1px solid #d5d5d1;border-radius:18px;background:#fff;color:#222;padding:0 14px 0 10px;display:inline-flex;align-items:center;gap:7px;font:600 12.5px var(--sans);cursor:pointer;white-space:nowrap}
.property-results-page .must-have-toggle:hover,.property-results-page .must-have-toggle[aria-expanded="true"]{border-color:var(--red,#e01525);color:var(--red,#e01525)}
.property-results-page .must-have-plus{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#f1f1ef;color:#222;font-size:17px;line-height:1;font-weight:400}
.property-results-page .must-have-chevron{margin-left:2px;color:#777}
.property-results-page .must-have-menu{position:absolute;left:0;top:42px;width:330px;background:#fff;border:1px solid #dededb;border-radius:10px;box-shadow:0 12px 30px rgba(0,0,0,.16);padding:16px;z-index:30}
.property-results-page .must-have-menu[hidden]{display:none!important}
.property-results-page .must-have-menu-title{font:600 13px var(--sans);margin-bottom:10px}
.property-results-page .must-have-options{display:flex;flex-wrap:wrap;gap:7px}
.property-results-page .must-have-options button{border:1px solid #d7d7d3;background:#fff;border-radius:16px;padding:7px 10px;font:500 12px var(--sans);cursor:pointer}
.property-results-page .must-have-options button:hover,.property-results-page .must-have-options button.active{background:#111;border-color:#111;color:#fff}
.property-results-page .must-have-other{display:block;border-top:1px solid #ecece9;margin-top:14px;padding-top:12px;font:500 11px var(--sans);color:#666}
.property-results-page .must-have-other input{display:block;width:100%;height:36px;margin-top:6px;border:1px solid #d5d5d1;border-radius:5px;padding:0 10px;font:400 12.5px var(--sans)}
.property-results-page .must-have-chips{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}
.property-results-page .must-have-chip{height:30px;border:0;border-radius:15px;background:#f0f0ed;color:#222;padding:0 10px;display:inline-flex;align-items:center;gap:7px;font:500 12px var(--sans);cursor:pointer}
.property-results-page .must-have-chip span{font-size:15px;color:#777}
.property-results-page .must-have-chip:hover{background:#e7e7e3}
.property-results-page .keyword-strip{display:none!important}
.property-results-page .view-map .results-controls-panel{margin-bottom:10px}
@media(max-width:760px){.property-results-page .results-controls-panel{padding:0 12px}.property-results-page .pane-results-head{height:auto;min-height:58px;align-items:flex-start;flex-direction:column;padding:10px 0 7px}.property-results-page .pane-results-head .result-actions{margin-left:0}.property-results-page .must-have-row{align-items:flex-start;flex-direction:column;padding-bottom:10px}.property-results-page .must-have-menu{top:38px;width:min(330px,calc(100vw - 48px))}}

/* v1.9 slimmer search toolbar and dependable initial map sizing */
.property-results-page .results-toolbar{padding:10px 18px}
.property-results-page .filter-select,
.property-results-page .location-search{height:44px;border-radius:23px;font-size:14px}
.property-results-page .filter-select{padding:0 17px}
.property-results-page .sale-type{border-radius:23px 0 0 23px}
.property-results-page .location-search{border-radius:0 23px 23px 0}
.property-results-page .location-search input,
.property-results-page .location-search input[type=text]{height:42px!important;line-height:42px!important;font-size:14px!important}
.property-results-page .location-search button{height:42px;padding:0 15px;font-size:24px}
.property-results-page .location-crosshair{font-size:20px;padding-left:14px}
.property-results-page .view-switcher button{width:50px;height:44px;font-size:19px}
.property-results-page .map-pane{min-height:420px;isolation:isolate}
.property-results-page .map-pane iframe{position:absolute;inset:0;width:100%;height:100%;min-width:100%;min-height:100%;display:block;border:0}
@media(max-width:980px){
  .property-results-page .results-toolbar{padding:9px 12px}
  .property-results-page .filter-select,.property-results-page .location-search{height:42px}
  .property-results-page .location-search input,.property-results-page .location-search input[type=text]{height:40px!important;line-height:40px!important}
  .property-results-page .view-switcher button{height:42px}
}

/* v2.0 view consistency and interaction refinements */
.property-results-page .filter-select>span:last-child{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin-left:10px;font-size:19px;line-height:1;transform:translateY(-1px)}
.property-results-page .sale-type>span:last-child{margin-left:12px}
.property-results-page input[type=range]{accent-color:var(--red,#e01525)}
.property-results-page .all-filters-dialog input[type=range],.property-results-page .mortgage-dialog input[type=range]{appearance:none;-webkit-appearance:none;height:22px;background:transparent;margin-top:13px}
.property-results-page .all-filters-dialog input[type=range]::-webkit-slider-runnable-track,.property-results-page .mortgage-dialog input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:linear-gradient(90deg,var(--red,#e01525) 0 42%,#d9d9d6 42% 100%)}
.property-results-page .all-filters-dialog input[type=range]::-webkit-slider-thumb,.property-results-page .mortgage-dialog input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;border-radius:50%;background:var(--red,#e01525);border:3px solid #fff;box-shadow:0 0 0 1px var(--red,#e01525);margin-top:-8px}
.property-results-page .all-filters-dialog input[type=range]::-moz-range-track,.property-results-page .mortgage-dialog input[type=range]::-moz-range-track{height:4px;border-radius:4px;background:#d9d9d6}
.property-results-page .all-filters-dialog input[type=range]::-moz-range-progress,.property-results-page .mortgage-dialog input[type=range]::-moz-range-progress{height:4px;background:var(--red,#e01525)}
.property-results-page .all-filters-dialog input[type=range]::-moz-range-thumb,.property-results-page .mortgage-dialog input[type=range]::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:var(--red,#e01525);border:3px solid #fff;box-shadow:0 0 0 1px var(--red,#e01525)}
.property-results-page .mortgage-dialog{width:min(820px,92vw);max-height:none;overflow:visible;padding:22px 24px 20px}
.property-results-page .mortgage-dialog h2{font-size:20px;margin-bottom:17px;padding-bottom:14px}
.property-results-page .mortgage-grid{gap:14px}
.property-results-page .mortgage-grid input:not([type=range]){height:48px;font-size:16px;margin-top:5px}
.property-results-page .mortgage-result{grid-template-columns:230px 1fr;margin-top:18px;padding-top:18px;gap:28px}
.property-results-page .payment-ring{width:210px;height:210px;border-width:30px}
.property-results-page .payment-ring strong{font-size:31px}.property-results-page .payment-breakdown p{font-size:14px;margin:12px 0}.property-results-page .mortgage-note{font-size:11px;margin:12px 0 0;color:#777}
.property-results-page .image-arrow{position:absolute;top:50%;z-index:4;width:38px;height:54px;transform:translateY(-50%);border:0;background:rgba(0,0,0,.22);color:#fff;font:300 38px/1 var(--sans);opacity:.8;cursor:pointer;transition:.18s}
.property-results-page .image-arrow:hover{background:rgba(0,0,0,.48);opacity:1}.property-results-page .image-arrow-prev{left:0;border-radius:0 5px 5px 0}.property-results-page .image-arrow-next{right:0;border-radius:5px 0 0 5px}
.property-results-page .property-photo:hover .image-arrow,.property-results-page .table-selected-image:hover .image-arrow{opacity:1}
.property-results-page .view-table{display:grid;grid-template-columns:minmax(560px,57%) 1fr}
.property-results-page .view-table .results-pane{display:none}.property-results-page .view-table .map-pane{display:block;grid-column:2;grid-row:1}.property-results-page .view-table .table-pane{display:block;grid-column:1;grid-row:1;height:100%;padding:12px;overflow:auto;background:#efefed}
.property-results-page .table-selected-property{display:grid;grid-template-columns:47% 53%;background:#fff;border:1px solid #e1e1de;min-height:285px;margin-bottom:12px}
.property-results-page .table-selected-image{position:relative;overflow:hidden;min-height:285px}.property-results-page .table-selected-image img{width:100%;height:100%;object-fit:cover;display:block}.property-results-page .table-selected-copy{padding:22px}.property-results-page .table-selected-copy h3{font:600 16px/1.35 var(--sans);margin:8px 0}.property-results-page .table-selected-copy>p:not(.property-type){color:#777;line-height:1.55;font-size:14px}.property-results-page .table-selected-specs{display:flex;gap:18px;padding-top:14px;border-top:1px dashed #ccc;font-size:13px}
.property-results-page .table-intro{display:flex;align-items:end;justify-content:space-between;background:#fff;padding:13px 14px 9px;border:1px solid #ddd;border-bottom:0}.property-results-page .table-intro h1{font:600 15px var(--sans);text-transform:uppercase;margin:0}.property-results-page .table-intro p{font-size:12px;margin:0}.property-results-page .results-table-wrap{margin-top:0}.property-results-page .results-table-wrap table{min-width:760px}.property-results-page .results-table-wrap th{background:#f1f1ef;color:#555;text-transform:none;letter-spacing:0;padding:10px 9px}.property-results-page .results-table-wrap td{padding:12px 9px}.property-results-page .results-table-wrap tbody tr{cursor:pointer}.property-results-page .results-table-wrap tbody tr:hover,.property-results-page .results-table-wrap tbody tr.selected{background:#fff0ed}
.property-results-page .view-map{display:block}.property-results-page .view-map .results-pane,.property-results-page .view-map .table-pane{display:none}.property-results-page .view-map .map-pane{position:absolute;inset:0;width:100%;height:100%}
.property-results-page .map-marker{border:0;cursor:pointer}.property-results-page .map-marker:focus,.property-results-page .map-marker:hover{outline:3px solid rgba(255,255,255,.8);transform:translateY(-2px)}
.property-results-page .map-property-popup{position:absolute;left:18px;top:18px;width:min(430px,calc(100% - 36px));background:#fff;box-shadow:0 12px 35px rgba(0,0,0,.28);z-index:8}.property-results-page .map-property-popup[hidden]{display:none!important}.property-results-page .map-property-popup img{width:100%;height:230px;object-fit:cover;display:block}.property-results-page .map-property-popup>div{padding:16px 18px}.property-results-page .map-property-popup strong{display:block;font-size:24px}.property-results-page .map-property-popup span{display:block;color:#888;margin:5px 0}.property-results-page .map-property-popup h3{font:600 15px/1.35 var(--sans);margin:5px 0 14px}.property-results-page .map-property-popup a{display:inline-block;background:#111;color:#fff;border-radius:4px;padding:9px 15px;font-weight:600}.property-results-page .map-popup-close{position:absolute;right:8px;top:8px;width:34px;height:34px;border:0;border-radius:50%;background:#fff;color:#333;font-size:24px;z-index:2;box-shadow:0 2px 8px #0003}.property-results-page .view-map .map-tabs{left:18px}.property-results-page .view-map .map-property-popup:not([hidden])~.map-tabs{left:466px}
@media(max-width:900px){.property-results-page .mortgage-dialog{overflow:auto;max-height:calc(100vh - 30px)}.property-results-page .view-table{grid-template-columns:1fr}.property-results-page .view-table .map-pane{display:none}.property-results-page .view-table .table-pane{grid-column:1}.property-results-page .table-selected-property{grid-template-columns:1fr}.property-results-page .table-selected-image{height:260px}.property-results-page .mortgage-result{grid-template-columns:1fr}.property-results-page .mortgage-grid{grid-template-columns:1fr}.property-results-page .mortgage-grid .full{grid-column:auto}}

/* v2.1 alignment and layout corrections */
.property-results-page .filter-select>span:last-child{
  transform:translateY(-3px);
  font-size:20px;
}

/* Table view keeps exactly the same 57/43 split as list view and does not create its own scrollbar. */
.property-results-page .view-table{
  grid-template-columns:minmax(520px,57%) 1fr;
}
.property-results-page .view-table .table-pane{
  height:100%;
  min-height:0;
  overflow:hidden;
  padding:12px;
}
.property-results-page .table-selected-property{
  min-height:295px;
  height:295px;
  grid-template-columns:47% 53%;
}
.property-results-page .table-selected-image{
  min-height:295px;
  height:295px;
}
.property-results-page .table-selected-copy{
  padding:18px 20px;
  overflow:hidden;
}
.property-results-page .table-selected-copy>p:not(.property-type){
  margin:7px 0 10px;
  line-height:1.45;
}
.property-results-page .table-intro{
  min-height:40px;
  padding:9px 10px 7px;
}
.property-results-page .table-intro p{display:none}
.property-results-page .results-table-wrap{
  overflow:hidden;
}
.property-results-page .results-table-wrap table{
  min-width:0;
  width:100%;
  table-layout:fixed;
}
.property-results-page .results-table-wrap th,
.property-results-page .results-table-wrap td{
  padding:9px 8px;
  font-size:12px;
  line-height:1.3;
  overflow-wrap:anywhere;
}
.property-results-page .results-table-wrap th:nth-child(1){width:31%}
.property-results-page .results-table-wrap th:nth-child(2){width:13%}
.property-results-page .results-table-wrap th:nth-child(3){width:20%}
.property-results-page .results-table-wrap th:nth-child(4){width:12%}
.property-results-page .results-table-wrap th:nth-child(5),
.property-results-page .results-table-wrap th:nth-child(6),
.property-results-page .results-table-wrap th:nth-child(7){width:7%}
.property-results-page .results-table-wrap th:nth-child(8){width:3%}

/* Full-width map with the selected property shown as a full-height overlay card. */
.property-results-page .view-map .map-property-popup{
  left:0;
  top:0;
  bottom:0;
  width:32%;
  min-width:430px;
  max-width:500px;
  display:flex;
  flex-direction:column;
  background:#fff;
  box-shadow:8px 0 24px rgba(0,0,0,.18);
  overflow:hidden;
}
.property-results-page .view-map .map-property-popup[hidden]{display:none!important}
.property-results-page .map-popup-photo{
  position:relative;
  flex:0 0 41%;
  min-height:270px;
  overflow:hidden;
}
.property-results-page .map-property-popup .map-popup-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.property-results-page .map-popup-close{
  right:8px;
  top:8px;
  width:38px;
  height:38px;
  border-radius:6px;
  background:var(--red,#d0021b);
  color:#fff;
  font-size:28px;
  box-shadow:none;
}
.property-results-page .map-popup-image-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:38px;
  height:54px;
  border:0;
  background:transparent;
  color:#fff;
  font-size:42px;
  text-shadow:0 1px 5px #000;
}
.property-results-page .map-popup-image-prev{left:4px}
.property-results-page .map-popup-image-next{right:4px}
.property-results-page .map-popup-status{
  position:absolute;
  left:14px;
  bottom:12px;
  background:#e1d000;
  color:#111;
  padding:5px 9px;
  font-size:12px;
  font-weight:600;
}
.property-results-page .map-popup-count{
  position:absolute;
  right:14px;
  bottom:14px;
  color:#fff;
  font-weight:600;
  text-shadow:0 1px 4px #000;
}
.property-results-page .map-property-popup .map-popup-copy{
  padding:16px 16px 14px;
  display:flex;
  flex-direction:column;
  min-height:0;
  flex:1;
}
.property-results-page .map-popup-price-line{
  display:flex;
  align-items:center;
  gap:12px;
}
.property-results-page .map-property-popup .map-popup-price-line strong{
  font-size:25px;
  line-height:1.1;
}
.property-results-page .map-property-popup .map-popup-copy>span{
  color:#888;
  margin:8px 0 5px;
}
.property-results-page .map-property-popup .map-popup-copy h3{
  margin:0 0 8px;
  font-size:16px;
}
.property-results-page .map-popup-description{
  margin:0 0 12px;
  color:#777;
  line-height:1.55;
  font-size:14px;
}
.property-results-page .map-property-popup .map-popup-tour{
  align-self:flex-start;
  background:var(--red,#d0021b);
  color:#fff;
  border-radius:18px;
  padding:8px 15px;
  text-transform:uppercase;
  font-size:11px;
}
.property-results-page .map-popup-specs{
  display:flex;
  gap:14px;
  align-items:center;
  margin-top:12px;
  padding-top:12px;
  border-top:1px dashed #ccc;
  font-size:12px;
}
.property-results-page .map-popup-distance{margin-left:auto}
.property-results-page .map-popup-actions{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:auto;
  padding-top:14px;
}
.property-results-page .map-popup-actions button,
.property-results-page .map-popup-actions a{
  border:0;
  border-radius:5px;
  padding:10px 20px;
  font-weight:600;
  text-transform:none;
}
.property-results-page .map-popup-actions button{background:var(--red,#d0021b);color:#fff}
.property-results-page .map-popup-actions a{background:#111;color:#fff}
.property-results-page .view-map .map-property-popup:not([hidden])~.map-tabs{left:calc(min(32%,500px) + 18px)}

@media(max-width:1100px){
  .property-results-page .view-map .map-property-popup{width:38%;min-width:360px}
  .property-results-page .map-popup-description{font-size:13px;line-height:1.4}
}

/* v2.2 exact card reuse and corrected filter chevrons */
.property-results-page .filter-select{display:inline-flex;align-items:center;justify-content:center;gap:10px}
.property-results-page .filter-select .filter-chevron{display:block!important;width:8px;height:8px;margin:0 0 3px 2px!important;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:rotate(45deg)!important;flex:0 0 auto}
.property-results-page .sale-type .filter-chevron{margin-left:5px!important}

/* Table retains the identical 57/43 workspace split and reuses the list card component. */
.property-results-page .view-table{grid-template-columns:minmax(520px,57%) minmax(0,43%)}
.property-results-page .view-table .table-pane{padding:0 12px 12px;overflow:hidden}
.property-results-page .view-table .map-pane{width:100%;min-width:0}
.property-results-page .table-selected-property.property-card{display:grid;height:295px;min-height:295px;margin:0 0 10px;grid-template-columns:47% 53%}
.property-results-page .table-selected-property .property-photo{height:293px;min-height:293px}
.property-results-page .table-selected-property .property-copy{padding:18px 20px 58px}
.property-results-page .table-selected-property .description{line-height:1.45;margin-bottom:8px}
.property-results-page .table-selected-property .property-specs{bottom:13px;left:20px;right:20px;padding-top:10px;gap:15px}
.property-results-page .table-selected-property .price-line h2{font-size:24px}
.property-results-page .table-intro{margin:0}
.property-results-page .results-table-wrap th:nth-child(1){width:32%}.property-results-page .results-table-wrap th:nth-child(2){width:14%}.property-results-page .results-table-wrap th:nth-child(3){width:20%}.property-results-page .results-table-wrap th:nth-child(4){width:13%}.property-results-page .results-table-wrap th:nth-child(5),.property-results-page .results-table-wrap th:nth-child(6),.property-results-page .results-table-wrap th:nth-child(7){width:7%}

/* Full map popup is the same property-card component as list/table, only docked over the map. */
.property-results-page .view-map .map-property-popup.property-card{left:0;top:0;bottom:0;width:min(500px,32%);min-width:430px;max-width:500px;display:flex;flex-direction:column;margin:0;border:0;min-height:0;overflow:hidden;box-shadow:8px 0 24px rgba(0,0,0,.2)}
.property-results-page .view-map .map-property-popup[hidden]{display:none!important}
.property-results-page .map-property-popup .map-popup-photo{flex:0 0 41%;min-height:270px;height:auto}
.property-results-page .map-property-popup .map-popup-copy{position:relative;flex:1;padding:18px 18px 76px;min-height:0}
.property-results-page .map-property-popup .property-specs{left:18px;right:18px;bottom:58px;padding-top:11px;gap:13px}
.property-results-page .map-property-popup .map-popup-actions{position:absolute;left:18px;right:18px;bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0;margin:0}
.property-results-page .map-property-popup .map-popup-actions a,.property-results-page .map-property-popup .map-popup-actions button{padding:9px 14px;border-radius:5px;font-size:12px;font-weight:600;text-decoration:none}
.property-results-page .map-property-popup .map-popup-actions .virtual-tour{background:var(--red,#d0021b);color:#fff;text-transform:uppercase;border-radius:18px}
.property-results-page .map-property-popup .map-popup-actions button{background:var(--red,#d0021b);color:#fff;border:0}
.property-results-page .map-property-popup .map-popup-actions a:last-child{background:#111;color:#fff}
.property-results-page .map-property-popup .map-popup-close{right:8px;top:8px;z-index:9}
.property-results-page .map-property-popup .image-card-tools{right:54px;z-index:8}
.property-results-page .map-property-popup .description{font-size:14px;line-height:1.5;margin-bottom:8px}

/* v2.3 table/map parity fixes */
/* The desktop table view now uses the identical workspace split as list view. */
@media (min-width:1181px){
  .property-results-page .view-table{grid-template-columns:minmax(650px,62%) minmax(360px,38%)}
}
@media (min-width:901px) and (max-width:1180px){
  .property-results-page .view-table{grid-template-columns:minmax(560px,60%) 40%}
}
.property-results-page .view-table .table-pane{min-width:0}
.property-results-page .view-table .map-pane{min-width:0;width:auto}

/* Do not restyle the selected table card: inherit the same dimensions and spacing as list cards. */
.property-results-page .table-selected-property.property-card{height:auto;min-height:295px;grid-template-columns:47% 53%}
.property-results-page .table-selected-property .property-photo{height:auto;min-height:270px}
.property-results-page .table-selected-property .property-copy{padding:22px 22px 60px}
.property-results-page .table-selected-property .description{font-size:14px;line-height:1.65;margin:0 0 12px}
.property-results-page .table-selected-property .property-specs{bottom:16px;left:22px;right:22px;padding-top:13px;gap:20px}
.property-results-page .table-selected-property .price-line h2{font-size:clamp(20px,2vw,29px)}

/* Full-map card: retain the list-card content while fitting cleanly in the viewport. */
.property-results-page .view-map .map-property-popup.property-card{width:min(500px,33%);min-width:460px;max-width:500px}
.property-results-page .map-property-popup .map-popup-photo{flex:0 0 300px;min-height:300px;height:300px}
.property-results-page .map-property-popup .map-popup-copy{padding:18px 18px 94px;overflow:visible}
.property-results-page .view-map .map-property-popup .description,
.property-results-page .map-property-popup .map-popup-description{display:block!important;color:#777;font-size:14px;line-height:1.5;margin:8px 0 12px}
.property-results-page .map-property-popup .photo-count{display:inline-flex!important;align-items:center;gap:5px;right:14px;bottom:14px;white-space:nowrap;line-height:1;background:rgba(0,0,0,.5);padding:6px 8px;border-radius:4px}
.property-results-page .map-property-popup .photo-count i{display:inline-flex;width:17px;height:17px;flex:0 0 17px}
.property-results-page .map-property-popup .photo-count b,
.property-results-page .map-property-popup .photo-count span{display:inline!important;margin:0!important;color:#fff!important;line-height:1}
.property-results-page .map-property-popup .property-specs{bottom:58px;flex-wrap:nowrap;gap:11px}
.property-results-page .map-property-popup .property-specs .distance{margin-left:auto}
.property-results-page .map-property-popup .property-specs .school{margin-left:0}
.property-results-page .map-property-popup .map-popup-actions{bottom:10px}
@media(max-height:760px){
  .property-results-page .map-property-popup .map-popup-photo{flex-basis:250px;height:250px;min-height:250px}
  .property-results-page .map-property-popup .map-popup-copy{padding-top:14px}
  .property-results-page .map-property-popup .map-popup-description{font-size:13px;line-height:1.4;margin:6px 0 8px}
}

/* v2.4 full-map image overlay alignment */
/* Remove the legacy popup div padding so every image control is anchored to the photograph itself. */
.property-results-page .view-map .map-property-popup .map-popup-photo{
  padding:0!important;
  box-sizing:border-box;
}
.property-results-page .view-map .map-property-popup .map-popup-photo>img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
/* Keep both image actions clear of the separate close control. */
.property-results-page .view-map .map-property-popup .image-card-tools{
  top:14px!important;
  right:66px!important;
  z-index:10;
}
.property-results-page .view-map .map-property-popup .map-popup-close{
  top:12px;
  right:12px;
  width:42px;
  height:42px;
  border-radius:6px;
  background:var(--red,#e01525);
  color:#fff;
  line-height:38px;
  box-shadow:0 2px 8px rgba(0,0,0,.2);
  z-index:11;
}
/* Badges, counter and carousel arrows sit fully within the image bounds. */
.property-results-page .view-map .map-property-popup .instruction-tag{
  left:14px;
  bottom:14px;
}
.property-results-page .view-map .map-property-popup .photo-count{
  right:14px;
  bottom:14px;
}
.property-results-page .view-map .map-property-popup .image-arrow-prev{left:0}
.property-results-page .view-map .map-property-popup .image-arrow-next{right:0}

/* AI and advanced-search enhancement. Existing CUI header remains untouched. */
.property-results-page .results-demo{height:calc(100vh - 126px)}
.property-results-page .results-toolbar{padding-top:0}
.property-results-page .search-mode-row{height:48px;display:flex;align-items:flex-end;gap:24px;border-bottom:1px solid #e4e1da;margin:0 -18px 14px;padding:0 22px}
.property-results-page .search-mode{height:48px;border:0;border-bottom:3px solid transparent;background:transparent;padding:0 2px;font:600 14px var(--sans);color:#242424;cursor:pointer}
.property-results-page .search-mode.active{border-bottom-color:#c9a33a}
.property-results-page .search-mode.ask-mode span{color:#c9a33a;margin-right:6px}
.property-results-page .ai-search-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-bottom:14px}
.property-results-page .ai-search-panel[hidden]{display:none!important}
.property-results-page .ai-search-box{height:54px;border:1px solid #c9a33a;border-radius:28px;background:#fff;display:flex;align-items:center;overflow:hidden}
.property-results-page .ai-spark{color:#c9a33a;font-size:18px;padding-left:18px}
.property-results-page .ai-search-box input{flex:1;min-width:0;height:100%;border:0;outline:0;padding:0 14px;font:400 15px var(--sans);color:#252525}
.property-results-page .ai-search-box button{width:48px;height:48px;margin-right:3px;border:0;border-radius:50%;background:#161616;color:#fff;font-size:24px;cursor:pointer}
.property-results-page .ai-adjust-filters{height:54px;border:1px solid #c9c7c2;border-radius:28px;background:#fff;padding:0 20px;font:600 13px var(--sans)}
.property-results-page .ai-search-chips{grid-column:1/-1;display:flex;gap:7px;flex-wrap:wrap}
.property-results-page .ai-search-chips button{border:1px solid #dccb8b;border-radius:17px;background:#fbf7e8;padding:7px 11px;font:500 12px var(--sans);color:#4d493d}
.property-results-page .ai-search-chips span{margin-left:4px}
.property-results-page .ai-match-note{background:#fbf6dc;border-left:3px solid #c9a33a;padding:8px 10px;margin:0 0 10px}
.property-results-page .ai-match-note[hidden]{display:none!important}
.property-results-page .ai-match-note strong,.property-results-page .ai-match-note span{display:block}
.property-results-page .ai-match-note strong{font-size:12px;color:#6e5605;margin-bottom:2px}
.property-results-page .ai-match-note span{font-size:11px;color:#6e6a5e}
.property-results-page.ai-search-active .ai-match-note{display:block!important}
.property-results-page .all-filters-modal{align-items:stretch;justify-items:start;padding:0;background:#0007}
.property-results-page .all-filters-dialog{width:min(390px,94vw);height:100vh;max-height:none;border-radius:0;padding:0;display:flex;flex-direction:column;box-shadow:12px 0 35px #0004;animation:cuiFilterSlide .22s ease-out}
.property-results-page .all-filters-head{padding:22px 22px 18px}
.property-results-page .filter-eyebrow{display:block;text-transform:uppercase;letter-spacing:.11em;font-size:10px;color:#9a7921;margin-bottom:5px}
.property-results-page .all-filters-head h2{margin:0}
.property-results-page .all-filters-body{flex:1;overflow:auto;padding:0 22px 24px}
.property-results-page .filters-grid,.property-results-page .filters-grid.lower,.property-results-page .advanced-lifestyle{grid-template-columns:1fr!important;gap:20px!important}
.property-results-page .advanced-lifestyle{display:grid}
.property-results-page .advanced-lifestyle section{border-top:1px solid #ece9e2;padding-top:17px}
.property-results-page .wide-input.compact{margin-top:8px}
.property-results-page .strict-filter,.property-results-page .school-checks{font-size:12px;color:#555;margin-top:10px}
.property-results-page .school-checks{display:flex;gap:12px;flex-wrap:wrap}
.property-results-page .all-filters-footer{position:sticky;bottom:0;background:#fff;border-top:1px solid #ddd;padding:14px 20px}
@keyframes cuiFilterSlide{from{transform:translateX(-25px);opacity:.6}to{transform:none;opacity:1}}

/* Search modes use one shared toolbar position: never show both interfaces together. */
.property-results-page [data-standard-toolbar][hidden],
.property-results-page [data-ai-search-panel][hidden]{
  display:none!important;
}


/* v2.4 unified Standard / Ask CUI toolbar */
.property-results-page .ai-search-panel{display:flex;gap:8px;align-items:center;margin-bottom:0}
.property-results-page .ai-search-box{height:44px;min-width:0;flex:1;border:1px solid #d2d2cf;border-radius:23px;background:#fff;display:flex;align-items:center;overflow:hidden}
.property-results-page .ai-spark{color:#c9a33a;font-size:16px;padding-left:16px}
.property-results-page .ai-search-box input{flex:1;min-width:0;height:42px;border:0;outline:0;padding:0 12px;font:400 14px/42px var(--sans);color:#252525}
.property-results-page .ai-search-box button{width:38px;height:38px;flex:0 0 38px;margin-right:3px;border:0;border-radius:50%;background:#161616;color:#fff;font:400 22px/1 var(--sans);cursor:pointer}
.property-results-page .ai-adjust-filters{height:44px;flex:0 0 auto;border:1px solid #d2d2cf;border-radius:23px;background:#fff;padding:0 17px;font:500 14px/1 var(--sans);color:#232323;white-space:nowrap;cursor:pointer}
.property-results-page .ai-adjust-filters .sliders{margin-right:7px}
.property-results-page .sliders{display:inline-grid;place-items:center;width:20px;height:20px;min-width:20px;line-height:0;vertical-align:middle}
.property-results-page .sliders svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.property-results-page .all-filters-control .sliders{margin:0!important}
.property-results-page .ai-adjust-filters .filter-chevron{margin-left:9px}
.property-results-page .ai-search-chips{display:none!important}
.property-results-page .ai-toolbar-row .sort-control{flex:0 0 auto}
.property-results-page .ai-toolbar-row .view-switcher{margin-left:0;flex:0 0 auto}
@media(max-width:1100px){
  .property-results-page .ai-toolbar-row .sort-control{display:none}
}
@media(max-width:760px){
  .property-results-page .ai-search-panel{flex-wrap:wrap}
  .property-results-page .ai-search-box{flex-basis:100%}
  .property-results-page .ai-adjust-filters{flex:1}
  .property-results-page .ai-toolbar-row .view-switcher{margin-left:auto}
}

/* v2.5 Ask CUI search polish and compact sorting */
.property-results-page .ai-search-box{
  height:44px;
  border:1px solid #d2d2cf;
  border-radius:23px;
  background:#fff;
  box-shadow:0 1px 0 rgba(0,0,0,.02);
  transition:border-color .18s ease,box-shadow .18s ease;
}
.property-results-page .ai-search-box:focus-within{
  border-color:#a8a8a4;
  box-shadow:0 0 0 3px rgba(201,163,58,.10);
}
.property-results-page .ai-spark{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  flex:0 0 28px;
  margin-left:7px;
  padding:0;
  border-radius:50%;
  background:#faf6e8;
  color:#b48b19;
  font-size:13px;
}
.property-results-page .ai-search-box input{
  height:42px;
  padding:0 11px;
  font-family:var(--sans);
  font-size:14px!important;
  font-weight:400;
  line-height:42px;
  letter-spacing:0;
  color:#232323;
}
.property-results-page .ai-search-box button{
  width:36px;
  height:36px;
  flex:0 0 36px;
  margin-right:4px;
  border-radius:50%;
  font-size:20px;
  transition:transform .16s ease,background .16s ease;
}
.property-results-page .ai-search-box button:hover{background:#2b2b2b;transform:translateX(1px)}
.property-results-page .compact-sort{
  width:44px!important;
  min-width:44px!important;
  height:44px!important;
  padding:0!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center;
}
.property-results-page .compact-sort .sort-icon{
  margin:0!important;
  font-size:19px;
  line-height:1;
  transform:rotate(90deg);
}
.property-results-page .compact-sort-menu{right:0;left:auto;min-width:190px}
.property-results-page .visually-hidden{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

/* v2.6 quick filters + dedicated advanced-search entry */
.property-results-page .advanced-search-link{height:44px;display:inline-flex;align-items:center;gap:7px;padding:0 8px;color:#68551c;text-decoration:none;font:600 12px var(--sans);white-space:nowrap}
.property-results-page .advanced-search-link:hover{text-decoration:underline}
.property-results-page .ai-advanced-link{padding:0 4px}
.property-results-page .quick-filters-dialog{width:min(900px,94vw);height:auto;max-height:calc(100vh - 52px);border-radius:12px;justify-self:center;align-self:center;animation:none}
.property-results-page .quick-filters-dialog .all-filters-body{padding:24px 26px;overflow:auto}
.property-results-page .quick-filter-grid{grid-template-columns:1fr 1fr!important;gap:24px 34px!important}
.property-results-page .number-choice{display:flex;flex-wrap:wrap;gap:7px}
.property-results-page .number-choice button{height:40px;min-width:52px;border:1px solid #d0d0cd;border-radius:5px;background:#fff;font:500 13px var(--sans)}
.property-results-page .number-choice button.active{background:#111;color:#fff;border-color:#111}
.property-results-page .toggle-list{display:grid;gap:12px;font-size:13px;color:#444}
.property-results-page .switch-row{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ece9e2;padding:18px 0 4px;margin-top:5px}
.property-results-page .switch-row span{display:grid;gap:2px}.property-results-page .switch-row small{color:#777}
.property-results-page .switch-row input{width:42px;height:22px;accent-color:#111}
.property-results-page .quick-to-advanced{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:22px;padding:16px 18px;border:1px solid #e3d5a3;background:#fbf8ed;color:#3f392a;text-decoration:none;border-radius:7px;font-size:13px}
.property-results-page .quick-to-advanced strong{color:#8a6813;white-space:nowrap}
@media(max-width:980px){.property-results-page .advanced-search-link{display:none}}
@media(max-width:760px){.property-results-page .quick-filters-dialog{width:100vw;height:100vh;max-height:none;border-radius:0}.property-results-page .quick-filter-grid{grid-template-columns:1fr!important}.property-results-page .quick-to-advanced{align-items:flex-start;flex-direction:column;gap:7px}}

/* Inline advanced search workspace: replaces the map column without narrowing results */
.property-results-page .results-demo{position:relative;overflow:hidden}
.property-results-page .results-toolbar,.property-results-page .results-workspace{transition:none}
.property-results-page .map-pane>.inline-advanced-panel{position:absolute;inset:0;width:100%;height:100%;background:#fff;border-left:1px solid #dcdcd8;z-index:40;display:flex;flex-direction:column;transform:translateX(101%);visibility:hidden;opacity:0;transition:transform .24s ease,opacity .18s ease,visibility .24s ease;box-shadow:-8px 0 24px #00000012}
.property-results-page .results-demo.advanced-open .map-pane>.inline-advanced-panel{transform:translateX(0);visibility:visible;opacity:1}
.property-results-page .results-demo.advanced-open .map-pane>iframe,
.property-results-page .results-demo.advanced-open .map-pane>.map-tabs,
.property-results-page .results-demo.advanced-open .map-pane>.draw-search,
.property-results-page .results-demo.advanced-open .map-pane>.map-marker{visibility:hidden;opacity:0;pointer-events:none}
.property-results-page .results-demo.advanced-open .results-workspace{grid-template-columns:minmax(650px,62%) minmax(360px,38%)}
.property-results-page .results-demo.advanced-open .results-pane{min-width:0}
.property-results-page .inline-advanced-head{min-height:68px;padding:12px 14px 11px 16px;border-bottom:1px solid #dededb;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff}
.property-results-page .inline-advanced-head>div:first-child{display:flex;flex-direction:column;gap:3px}
.property-results-page .inline-advanced-head strong{font:650 17px/1.1 var(--sans);color:#171717}
.property-results-page .inline-advanced-head span{font:400 11px/1.2 var(--sans);color:#777}
.property-results-page .inline-advanced-head-actions{display:flex;align-items:center;gap:6px}
.property-results-page .advanced-reset,.property-results-page .advanced-close{border:0;background:transparent;cursor:pointer}
.property-results-page .advanced-reset{font:600 11px var(--sans);color:#8a6b10;padding:7px 5px}
.property-results-page .advanced-close{width:32px;height:32px;border-radius:50%;font-size:24px;line-height:1;color:#777}
.property-results-page .advanced-close:hover{background:#f0f0ed;color:#111}
.property-results-page .inline-advanced-scroll{flex:1;min-height:0;overflow-y:auto;padding:0 15px 20px;scrollbar-width:thin}
.property-results-page .inline-filter-section{padding:16px 0;border-bottom:1px solid #e7e7e3}
.property-results-page .inline-filter-section:last-child{border-bottom:0}
.property-results-page .inline-filter-section h2{margin:0 0 11px;font:650 13px/1.2 var(--sans);color:#222}
.property-results-page .inline-filter-section>label,.property-results-page .inline-two-fields label{display:block;margin:0 0 10px;font:500 11px/1.2 var(--sans);color:#444}
.property-results-page .inline-filter-section input[type=text],.property-results-page .inline-filter-section select{display:block;width:100%;height:36px;margin-top:5px;border:1px solid #d0d0cc;border-radius:5px;background:#fff;padding:0 10px;font:400 12px/1 var(--sans);color:#222;outline:none}
.property-results-page .inline-filter-section input[type=text]:focus,.property-results-page .inline-filter-section select:focus{border-color:#b8972f;box-shadow:0 0 0 2px #c9aa4930}
.property-results-page .inline-two-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.property-results-page .inline-check{display:flex!important;align-items:center;gap:7px;margin:7px 0 11px!important;font-size:11px!important}
.property-results-page .inline-check input,.property-results-page .inline-checkbox-grid input{accent-color:#111}
.property-results-page .inline-draw-area{width:100%;height:36px;border:1px solid #d0d0cc;border-radius:5px;background:#fafaf8;font:600 11px var(--sans);cursor:pointer}
.property-results-page .inline-property-types,.property-results-page .inline-choice-row,.property-results-page .inline-feature-grid{display:flex;flex-wrap:wrap;gap:5px;margin:2px 0 11px}
.property-results-page .inline-property-types button,.property-results-page .inline-choice-row button,.property-results-page .inline-feature-grid button{min-height:31px;border:1px solid #d0d0cc;border-radius:5px;background:#fff;padding:0 9px;font:500 10.5px var(--sans);cursor:pointer}
.property-results-page .inline-property-types button.active,.property-results-page .inline-choice-row button.active,.property-results-page .inline-feature-grid button.active{border-color:#b8972f;background:#fbf6e6;color:#5f4c0f}
.property-results-page .inline-checkbox-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px 8px;margin:0 0 11px}
.property-results-page .inline-checkbox-grid label{display:flex;align-items:center;gap:6px;font:400 10.5px var(--sans);color:#444}
.property-results-page .inline-advanced-footer{flex:0 0 auto;display:grid;grid-template-columns:90px 1fr;gap:8px;padding:11px 14px;border-top:1px solid #ddd;background:#fff}
.property-results-page .inline-advanced-footer button{height:38px;border-radius:5px;font:650 12px var(--sans);cursor:pointer}
.property-results-page .advanced-clear{border:1px solid #ccc;background:#f3f3f0;color:#333}
.property-results-page .advanced-apply{border:1px solid #111;background:#111;color:#fff}
.property-results-page .advanced-search-link{border:0;background:transparent;cursor:pointer}
.property-results-page .quick-to-advanced{width:100%;text-align:left;border:1px solid #dfd7bd;background:#fbf8ee;cursor:pointer}
@media(max-width:1180px){.property-results-page .results-demo.advanced-open .results-workspace{grid-template-columns:minmax(560px,60%) 40%}}
@media(max-width:980px){.property-results-page .map-pane>.inline-advanced-panel{position:fixed;inset:0 auto 0 0;width:min(360px,94vw);height:100vh;z-index:100050;transform:translateX(-101%);border-left:0;border-right:1px solid #dcdcd8;box-shadow:8px 0 24px #0003}.property-results-page .results-demo.advanced-open .map-pane>.inline-advanced-panel{transform:translateX(0)}.property-results-page .results-demo.advanced-open:after{content:"";position:fixed;inset:0;background:#0008;z-index:100040}}


/* v2.8 Advanced search: three-column discovery workspace */
@media(min-width:981px){
  .property-results-page .results-workspace>.inline-advanced-panel{
    display:none;
  }
  .property-results-page .results-demo.advanced-open .results-workspace{
    grid-template-columns:300px minmax(430px,1fr) minmax(360px,1.08fr);
  }
  .property-results-page .results-demo.advanced-open .results-workspace>.inline-advanced-panel{
    position:relative;
    inset:auto;
    grid-column:1;
    grid-row:1;
    width:100%;
    height:100%;
    min-width:0;
    display:flex;
    flex-direction:column;
    visibility:visible;
    opacity:1;
    transform:none;
    background:#fff;
    border:0;
    border-right:1px solid #dcdcd8;
    box-shadow:none;
    z-index:6;
    overflow:hidden;
  }
  .property-results-page .results-demo.advanced-open .results-pane{
    grid-column:2;
    grid-row:1;
    min-width:0;
    padding:0 10px 24px;
  }
  .property-results-page .results-demo.advanced-open .map-pane{
    grid-column:3;
    grid-row:1;
    display:block;
    min-width:0;
  }
  .property-results-page .results-demo.advanced-open .map-pane>iframe,
  .property-results-page .results-demo.advanced-open .map-pane>.map-tabs,
  .property-results-page .results-demo.advanced-open .map-pane>.draw-search,
  .property-results-page .results-demo.advanced-open .map-pane>.map-marker{
    visibility:visible;
    opacity:1;
    pointer-events:auto;
  }
  .property-results-page .results-demo.advanced-open .results-controls-panel{
    margin-left:-10px;
    margin-right:-10px;
  }
  .property-results-page .results-demo.advanced-open .property-card{
    grid-template-columns:42% 58%;
    min-height:205px;
    height:205px;
    margin-bottom:10px;
  }
  .property-results-page .results-demo.advanced-open .property-photo{
    min-height:0;
    height:203px;
  }
  .property-results-page .results-demo.advanced-open .property-copy{
    min-width:0;
    padding:15px 16px 48px;
  }
  .property-results-page .results-demo.advanced-open .price-line h2{
    font-size:clamp(18px,1.45vw,24px);
  }
  .property-results-page .results-demo.advanced-open .property-roundels .roundel,
  .property-results-page .results-demo.advanced-open .price-line>.roundel{
    width:34px;
    height:34px;
  }
  .property-results-page .results-demo.advanced-open .description{
    display:none;
  }
  .property-results-page .results-demo.advanced-open .property-type{
    margin:7px 0 3px;
    font-size:12px;
  }
  .property-results-page .results-demo.advanced-open .property-copy h3{
    font-size:14px;
    line-height:1.3;
    margin-bottom:6px;
  }
  .property-results-page .results-demo.advanced-open .ai-match-note{
    display:grid!important;
    gap:2px;
    margin:8px 0 5px;
    padding:7px 9px;
    min-height:0;
    border-left:3px solid #c5a126;
    background:#fbf7e5;
  }
  .property-results-page .results-demo.advanced-open .ai-match-note strong{
    font-size:11px;
  }
  .property-results-page .results-demo.advanced-open .ai-match-note span{
    font-size:10px;
    line-height:1.25;
  }
  .property-results-page .results-demo.advanced-open .property-specs{
    left:16px;
    right:16px;
    bottom:10px;
    padding-top:9px;
    gap:11px;
    font-size:11px;
  }
  .property-results-page .results-demo.advanced-open .property-specs .distance{
    margin-left:auto;
  }
  .property-results-page .results-demo.advanced-open .property-specs .school{
    margin-left:0;
  }
  .property-results-page .results-demo.advanced-open .image-card-tools{
    top:10px;
    right:10px;
  }
  .property-results-page .results-demo.advanced-open .instruction-tag{
    left:10px;
    bottom:10px;
    padding:5px 8px;
    font-size:10px;
  }
  .property-results-page .results-demo.advanced-open .photo-count{
    right:10px;
    bottom:10px;
    font-size:10px;
  }
  .property-results-page .results-demo.advanced-open .results-pagination,
  .property-results-page .results-demo.advanced-open .pagination-summary{
    display:none;
  }
  .property-results-page .results-demo.advanced-open .view-switcher{
    opacity:.45;
    pointer-events:none;
  }
}
@media(min-width:981px) and (max-width:1260px){
  .property-results-page .results-demo.advanced-open .results-workspace{
    grid-template-columns:280px minmax(400px,1fr) minmax(320px,.9fr);
  }
  .property-results-page .results-demo.advanced-open .property-card{
    grid-template-columns:44% 56%;
  }
  .property-results-page .results-demo.advanced-open .property-specs .distance.school{
    display:none;
  }
}
@media(max-width:980px){
  .property-results-page .results-workspace>.inline-advanced-panel{
    position:fixed;
    inset:0 auto 0 0;
    width:min(360px,94vw);
    height:100vh;
    z-index:100050;
    transform:translateX(-101%);
    visibility:hidden;
    opacity:0;
    display:flex;
    flex-direction:column;
    background:#fff;
    border-right:1px solid #dcdcd8;
    box-shadow:8px 0 24px #0003;
    transition:transform .24s ease,opacity .18s ease,visibility .24s ease;
  }
  .property-results-page .results-demo.advanced-open .results-workspace>.inline-advanced-panel{
    transform:translateX(0);
    visibility:visible;
    opacity:1;
  }
}

/* v2.9 Advanced search: full-height left rail + refined compact cards */
@media(min-width:981px){
  .property-results-page .results-demo>.inline-advanced-panel{
    display:none;
  }
  .property-results-page .results-demo.advanced-open{
    display:grid;
    grid-template-columns:360px minmax(0,1fr);
    grid-template-rows:auto minmax(0,1fr);
    overflow:hidden;
  }
  .property-results-page .results-demo.advanced-open>.inline-advanced-panel{
    grid-column:1;
    grid-row:1 / 3;
    position:relative;
    inset:auto;
    width:100%;
    height:100%;
    min-width:0;
    display:flex;
    flex-direction:column;
    visibility:visible;
    opacity:1;
    transform:none;
    background:#fff;
    border:0;
    border-right:1px solid #d8d8d4;
    box-shadow:4px 0 18px rgba(0,0,0,.06);
    z-index:12;
    overflow:hidden;
  }
  .property-results-page .results-demo.advanced-open>.results-toolbar{
    grid-column:2;
    grid-row:1;
    min-width:0;
  }
  .property-results-page .results-demo.advanced-open>.results-workspace{
    grid-column:2;
    grid-row:2;
    min-width:0;
    min-height:0;
    display:grid;
    grid-template-columns:minmax(500px,52%) minmax(390px,48%);
  }
  .property-results-page .results-demo.advanced-open .results-workspace>.inline-advanced-panel{
    display:none!important;
  }
  .property-results-page .results-demo.advanced-open .results-pane{
    grid-column:1;
    min-width:0;
    padding:0 12px 24px;
  }
  .property-results-page .results-demo.advanced-open .map-pane{
    grid-column:2;
    display:block;
    min-width:0;
  }
  .property-results-page .results-demo.advanced-open .results-controls-panel{
    margin:0 -12px 12px;
  }
  .property-results-page .results-demo.advanced-open .property-card{
    display:grid;
    grid-template-columns:minmax(210px,42%) minmax(0,58%);
    width:100%;
    height:210px;
    min-height:210px;
    margin:0 0 12px;
    overflow:hidden;
  }
  .property-results-page .results-demo.advanced-open .property-photo{
    height:208px;
    min-height:0;
  }
  .property-results-page .results-demo.advanced-open .property-copy{
    min-width:0;
    padding:16px 16px 48px;
    overflow:hidden;
  }
  .property-results-page .results-demo.advanced-open .price-line{
    min-width:0;
    padding-right:82px;
    align-items:flex-start;
  }
  .property-results-page .results-demo.advanced-open .price-line h2{
    min-width:0;
    font-size:clamp(19px,1.55vw,25px);
    line-height:1.08;
    overflow-wrap:anywhere;
  }
  .property-results-page .results-demo.advanced-open .property-roundels{
    position:absolute;
    top:14px;
    right:14px;
    display:flex;
    gap:7px;
  }
  .property-results-page .results-demo.advanced-open .property-roundels .roundel,
  .property-results-page .results-demo.advanced-open .price-line>.roundel{
    width:34px;
    height:34px;
    flex:0 0 34px;
  }
  .property-results-page .results-demo.advanced-open .ai-match-note{
    display:grid!important;
    gap:2px;
    margin:9px 0 8px;
    padding:7px 9px;
    border-left:3px solid #c5a126;
    background:#fbf7e5;
  }
  .property-results-page .results-demo.advanced-open .ai-match-note strong{font-size:11px;line-height:1.2}
  .property-results-page .results-demo.advanced-open .ai-match-note span{font-size:10.5px;line-height:1.28}
  .property-results-page .results-demo.advanced-open .property-type{
    margin:0 0 4px;
    font-size:12px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .property-results-page .results-demo.advanced-open .property-copy h3{
    margin:0;
    font-size:14px;
    line-height:1.28;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .property-results-page .results-demo.advanced-open .description{display:none}
  .property-results-page .results-demo.advanced-open .property-specs{
    left:16px;
    right:16px;
    bottom:10px;
    padding-top:9px;
    gap:12px;
    font-size:11px;
    white-space:nowrap;
  }
  .property-results-page .results-demo.advanced-open .property-specs .distance{margin-left:auto}
  .property-results-page .results-demo.advanced-open .property-specs .school{margin-left:0}
  .property-results-page .results-demo.advanced-open .image-card-tools{top:10px;right:10px}
  .property-results-page .results-demo.advanced-open .instruction-tag{left:10px;bottom:10px;padding:5px 8px;font-size:10px}
  .property-results-page .results-demo.advanced-open .photo-count{right:10px;bottom:10px;font-size:10px}
  .property-results-page .results-demo.advanced-open .results-pagination,
  .property-results-page .results-demo.advanced-open .pagination-summary{display:none}
  .property-results-page .results-demo.advanced-open .view-switcher{opacity:.45;pointer-events:none}
}
@media(min-width:981px) and (max-width:1280px){
  .property-results-page .results-demo.advanced-open{grid-template-columns:330px minmax(0,1fr)}
  .property-results-page .results-demo.advanced-open>.results-workspace{grid-template-columns:minmax(470px,53%) minmax(340px,47%)}
  .property-results-page .results-demo.advanced-open .property-card{grid-template-columns:40% 60%}
  .property-results-page .results-demo.advanced-open .property-specs .school{display:none}
}

/* v3.0 Advanced workspace card rebuild */
@media(min-width:981px){
  .property-results-page .results-demo.advanced-open .property-card{
    display:grid!important;
    grid-template-columns:minmax(200px,46%) minmax(0,54%)!important;
    grid-template-rows:228px;
    min-height:228px!important;
    height:228px!important;
    overflow:hidden!important;
    background:#fff;
  }
  .property-results-page .results-demo.advanced-open .property-photo{
    grid-column:1;
    grid-row:1;
    width:100%;
    height:228px!important;
    min-height:228px!important;
  }
  .property-results-page .results-demo.advanced-open .property-copy{
    grid-column:2;
    grid-row:1;
    position:relative;
    display:flex;
    flex-direction:column;
    min-width:0;
    height:228px;
    padding:18px 16px 14px!important;
    overflow:hidden;
  }
  .property-results-page .results-demo.advanced-open .price-line{
    position:relative;
    display:block;
    min-width:0;
    padding:0 78px 0 0!important;
    margin:0 0 8px;
  }
  .property-results-page .results-demo.advanced-open .price-line h2{
    display:block;
    margin:0!important;
    max-width:100%;
    font-size:22px!important;
    line-height:1.12!important;
    white-space:normal;
    overflow-wrap:normal;
    word-break:normal;
  }
  .property-results-page .results-demo.advanced-open .property-roundels{
    position:absolute!important;
    top:0!important;
    right:0!important;
    display:flex;
    gap:7px;
  }
  .property-results-page .results-demo.advanced-open .property-type{
    order:2;
    margin:0 0 5px!important;
    font-size:12px!important;
    line-height:1.25;
    color:#777;
  }
  .property-results-page .results-demo.advanced-open .property-copy h3{
    order:3;
    margin:0 0 8px!important;
    font-size:15px!important;
    line-height:1.28!important;
    font-weight:600;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }
  .property-results-page .results-demo.advanced-open .ai-match-note{
    order:4;
    display:block!important;
    margin:0 0 10px!important;
    padding:8px 10px!important;
    border-left:3px solid #c5a126;
    background:#fbf7e5;
    min-height:0!important;
  }
  .property-results-page .results-demo.advanced-open .ai-match-note strong{
    display:block;
    margin-bottom:3px;
    font-size:11px!important;
    line-height:1.2!important;
  }
  .property-results-page .results-demo.advanced-open .ai-match-note span{
    display:block;
    font-size:10.5px!important;
    line-height:1.28!important;
  }
  .property-results-page .results-demo.advanced-open .description{display:none!important}
  .property-results-page .results-demo.advanced-open .property-specs{
    order:5;
    position:static!important;
    margin-top:auto;
    padding:10px 0 0!important;
    border-top:1px dashed #d3d3cf;
    display:flex!important;
    align-items:center;
    gap:12px!important;
    min-width:0;
    font-size:11px!important;
    white-space:nowrap;
  }
  .property-results-page .results-demo.advanced-open .property-specs .distance{
    margin-left:auto!important;
  }
  .property-results-page .results-demo.advanced-open .property-specs .school{
    margin-left:0!important;
  }
  .property-results-page .results-demo.advanced-open .image-card-tools{
    top:10px!important;
    right:10px!important;
  }
  .property-results-page .results-demo.advanced-open .image-card-tools button{
    width:34px!important;
    height:34px!important;
    border-radius:50%;
  }
}
@media(min-width:981px) and (max-width:1280px){
  .property-results-page .results-demo.advanced-open .property-card{
    grid-template-columns:minmax(180px,44%) minmax(0,56%)!important;
  }
  .property-results-page .results-demo.advanced-open .price-line h2{font-size:19px!important}
  .property-results-page .results-demo.advanced-open .property-copy{padding:15px 13px 12px!important}
  .property-results-page .results-demo.advanced-open .property-specs .school{display:none!important}
}

/* v3.1 Advanced workspace: landscape cards with details below */
@media(min-width:981px){
  .property-results-page .results-demo.advanced-open .property-card{
    position:relative;
    display:flex!important;
    flex-direction:column;
    grid-template-columns:none!important;
    grid-template-rows:none!important;
    width:100%;
    height:auto!important;
    min-height:0!important;
    margin:0 0 14px;
    overflow:hidden!important;
    border:1px solid #deded9;
    background:#fff;
  }
  .property-results-page .results-demo.advanced-open .property-photo{
    position:relative;
    flex:0 0 auto;
    width:100%;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:16 / 9;
    overflow:hidden;
  }
  .property-results-page .results-demo.advanced-open .property-photo>img{
    width:100%;
    height:100%;
    object-fit:cover;
  }
  .property-results-page .results-demo.advanced-open .property-copy{
    position:static;
    display:flex;
    flex-direction:column;
    width:100%;
    height:auto!important;
    min-height:175px;
    padding:15px 16px 13px!important;
    overflow:visible;
  }
  .property-results-page .results-demo.advanced-open .price-line{
    order:1;
    position:relative;
    display:block;
    margin:0 0 5px;
    padding:0 80px 0 0!important;
  }
  .property-results-page .results-demo.advanced-open .price-line h2{
    margin:0!important;
    font-size:22px!important;
    line-height:1.12!important;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  .property-results-page .results-demo.advanced-open .property-roundels,
  .property-results-page .results-demo.advanced-open .price-line>.roundel{
    position:absolute!important;
    top:0!important;
    right:0!important;
  }
  .property-results-page .results-demo.advanced-open .property-type{
    order:2;
    margin:0 0 4px!important;
    color:#777;
    font-size:12px!important;
    line-height:1.25;
  }
  .property-results-page .results-demo.advanced-open .property-copy h3{
    order:3;
    margin:0 0 9px!important;
    font-size:15px!important;
    line-height:1.28!important;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }
  .property-results-page .results-demo.advanced-open .ai-match-note{
    order:4;
    display:grid!important;
    grid-template-columns:auto 1fr;
    align-items:start;
    column-gap:8px;
    row-gap:2px;
    margin:0 0 10px!important;
    padding:8px 10px!important;
    min-height:0!important;
  }
  .property-results-page .results-demo.advanced-open .ai-match-note strong{
    margin:0;
    white-space:nowrap;
  }
  .property-results-page .results-demo.advanced-open .ai-match-note span{
    min-width:0;
  }
  .property-results-page .results-demo.advanced-open .property-specs{
    order:5;
    position:static!important;
    display:flex!important;
    align-items:center;
    gap:12px!important;
    margin-top:auto;
    padding:10px 0 0!important;
    border-top:1px dashed #d3d3cf;
    font-size:11px!important;
    white-space:nowrap;
  }
  .property-results-page .results-demo.advanced-open .property-specs .distance{margin-left:auto!important}
  .property-results-page .results-demo.advanced-open .property-specs .school{margin-left:0!important}

  /* Reveal the fuller property summary over the landscape image on hover/focus. */
  .property-results-page .results-demo.advanced-open .description{
    display:block!important;
    position:absolute;
    z-index:7;
    left:0;
    right:0;
    top:0;
    height:calc((100% - 175px));
    min-height:190px;
    margin:0!important;
    padding:54px 24px 96px!important;
    background:linear-gradient(180deg,rgba(0,0,0,.78),rgba(0,0,0,.63));
    color:#fff!important;
    font-size:13px!important;
    line-height:1.55!important;
    opacity:0;
    visibility:hidden;
    transform:translateY(8px);
    transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
    pointer-events:none;
  }
  .property-results-page .results-demo.advanced-open .description::after{
    content:'View property';
    position:absolute;
    left:10px;
    bottom:46px;
    padding:8px 13px;
    border:1px solid rgba(255,255,255,.7);
    border-radius:3px;
    color:#fff;
    font:600 11px var(--sans);
    letter-spacing:.02em;
  }
  .property-results-page .results-demo.advanced-open .property-card:hover .description,
  .property-results-page .results-demo.advanced-open .property-card:focus-within .description{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
  }
  .property-results-page .results-demo.advanced-open .property-card:hover .image-card-tools,
  .property-results-page .results-demo.advanced-open .property-card:focus-within .image-card-tools{
    z-index:9;
  }
  .property-results-page .results-demo.advanced-open .instruction-tag,
  .property-results-page .results-demo.advanced-open .photo-count,
  .property-results-page .results-demo.advanced-open .image-arrow{
    z-index:9;
  }
}
@media(min-width:981px) and (max-width:1280px){
  .property-results-page .results-demo.advanced-open .property-copy{min-height:185px;padding:14px 14px 12px!important}
  .property-results-page .results-demo.advanced-open .price-line h2{font-size:20px!important}
  .property-results-page .results-demo.advanced-open .ai-match-note{grid-template-columns:1fr}
  .property-results-page .results-demo.advanced-open .property-specs .school{display:none!important}
  .property-results-page .results-demo.advanced-open .description{height:calc(100% - 185px);padding-left:20px!important;padding-right:20px!important}
}

/* Map markers select and reveal the matching result card; no map popup is used. */
.property-results-page .property-card[data-result-property]{transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
.property-results-page .property-card[data-result-property].map-selected{border-color:#c7a51a;box-shadow:0 0 0 3px rgba(199,165,26,.24),0 10px 28px rgba(0,0,0,.12);transform:translateY(-1px)}
.property-results-page .property-card[data-result-property].map-selected::before{content:"Selected on map";position:absolute;z-index:8;top:10px;left:10px;background:#111;color:#fff;padding:5px 9px;border-radius:3px;font:600 10px/1 var(--sans);letter-spacing:.04em;text-transform:uppercase}
.property-results-page .property-card[data-result-property]{position:relative;scroll-margin-block:110px}
.property-results-page .map-marker.active{outline:3px solid rgba(255,255,255,.95);box-shadow:0 0 0 6px rgba(199,165,26,.35),0 3px 10px rgba(0,0,0,.35);z-index:6}

/* v3.3 compact advanced fields, location radius and Ask CUI motion */
.property-results-page .ask-mode-pulse{position:relative;display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--red);margin-right:8px!important;box-shadow:0 0 0 0 rgba(224,21,37,.5);animation:resultsAskPulse 2.1s ease-out infinite}
@keyframes resultsAskPulse{0%{box-shadow:0 0 0 0 rgba(224,21,37,.5)}70%{box-shadow:0 0 0 8px rgba(224,21,37,0)}100%{box-shadow:0 0 0 0 rgba(224,21,37,0)}}
.property-results-page .radius-control{flex:0 0 auto}
.property-results-page .radius-control[hidden]{display:none!important}
.property-results-page .radius-filter{min-width:132px}
.property-results-page .radius-menu{max-height:380px;overflow:auto;min-width:168px}
.property-results-page .inline-filter-section label{gap:5px}
.property-results-page .inline-filter-section input:not([type=checkbox]),.property-results-page .inline-filter-section select{height:42px!important;min-height:42px!important;padding:0 12px!important;font-size:13px!important}
.property-results-page .inline-two-fields{gap:8px}
.property-results-page .inline-filter-section{padding:15px 0!important}
.property-results-page .inline-filter-section h2{margin-bottom:11px!important}
.property-results-page .inline-draw-area{height:39px!important}
.property-results-page .inline-travel-modes{display:flex;gap:6px;margin:0 0 10px}
.property-results-page .inline-travel-modes button{height:34px;flex:1;border:1px solid #d4d4d0;border-radius:5px;background:#fff;font:600 11px var(--sans);cursor:pointer}
.property-results-page .inline-travel-modes button.active{background:#111;color:#fff;border-color:#111}
.property-results-page .must-have-toggle{padding-right:14px!important}
@media (prefers-reduced-motion:reduce){.property-results-page .ask-mode-pulse{animation:none}}

/* v3.1 compact quick-filter layout */
.property-results-page .quick-filters-dialog{width:min(960px,94vw)}
.property-results-page .quick-filters-dialog .all-filters-body{padding:20px 26px 22px}
.property-results-page .quick-filters-dialog .listing-tabs{margin-bottom:22px}
.property-results-page .quick-filter-grid{gap:20px 34px!important;align-items:start}
.property-results-page .quick-filter-grid section{min-width:0}
.property-results-page .quick-filter-grid h3{margin-bottom:8px}
.property-results-page .quick-filters-dialog .wide-input,
.property-results-page .quick-filters-dialog .minmax input{
  width:100%;
  height:52px!important;
  min-height:52px;
  box-sizing:border-box;
  margin:0;
  border:1px solid #d1d1ce;
  border-radius:6px;
  padding:0 16px;
  font:400 14px var(--sans);
  background-color:#fff;
}
.property-results-page .quick-filters-dialog select.wide-input{
  appearance:none;
  -webkit-appearance:none;
  padding-right:44px;
  background-image:linear-gradient(45deg,transparent 50%,#111 50%),linear-gradient(135deg,#111 50%,transparent 50%);
  background-position:calc(100% - 21px) 23px,calc(100% - 16px) 23px;
  background-size:5px 5px,5px 5px;
  background-repeat:no-repeat;
}
.property-results-page .quick-filters-dialog .minmax{margin-top:8px}
.property-results-page .quick-filters-dialog .number-choice button{height:42px}
.property-results-page .quick-filters-dialog .chip-row{margin-bottom:0}
.property-results-page .listing-status-options{display:flex;flex-wrap:wrap;gap:8px}
.property-results-page .listing-status-options button{
  min-height:42px;
  padding:0 15px;
  border:1px solid #d0d0cd;
  border-radius:6px;
  background:#fff;
  color:#222;
  font:500 13px var(--sans);
  cursor:pointer;
}
.property-results-page .listing-status-options button::before{content:'✓';display:none;margin-right:6px;font-weight:700}
.property-results-page .listing-status-options button.active{background:#df1836;border-color:#df1836;color:#fff}
.property-results-page .listing-status-options button.active::before{display:inline}
.property-results-page .quick-filters-dialog .filter-divider{margin:20px 0}
.property-results-page .quick-filters-dialog .switch-row{padding:15px 0 2px;margin-top:16px}
.property-results-page .quick-filters-dialog .quick-to-advanced{margin-top:16px;padding:14px 18px}
@media(min-width:761px){
  .property-results-page .quick-filter-grid .listing-status-section{align-self:end}
}

/* v3.4 reduce quick-filter dropdown height */
.property-results-page .quick-filters-dialog select.wide-input{
  height:46px!important;
  min-height:46px!important;
  padding-top:0!important;
  padding-bottom:0!important;
  line-height:44px!important;
  background-position:calc(100% - 21px) 20px,calc(100% - 16px) 20px;
}

/* Map marker property preview */
.property-results-page .map-property-popup{position:absolute;z-index:18;width:min(390px,calc(100% - 32px));background:#fff;border:1px solid rgba(20,20,20,.12);border-radius:10px;box-shadow:0 20px 55px rgba(0,0,0,.28);overflow:hidden;transform:translate(-50%,calc(-100% - 18px))}
.property-results-page .map-property-popup[hidden]{display:none!important}
.property-results-page .map-property-popup:after{content:"";position:absolute;left:50%;bottom:-9px;width:18px;height:18px;background:#fff;border-right:1px solid rgba(20,20,20,.12);border-bottom:1px solid rgba(20,20,20,.12);transform:translateX(-50%) rotate(45deg)}
.property-results-page .map-property-popup-link{display:grid;grid-template-columns:145px 1fr;min-height:132px;color:#171717;text-decoration:none}
.property-results-page .map-property-popup-link img{width:145px;height:100%;min-height:132px;object-fit:cover;background:#eceae6}
.property-results-page .map-property-popup-copy{display:flex;flex-direction:column;padding:17px 38px 15px 17px;min-width:0}
.property-results-page .map-property-popup-copy strong{font:650 21px/1.15 var(--sans);margin-bottom:6px}
.property-results-page .map-property-popup-copy span{font:500 12px/1.3 var(--sans);color:#777;margin-bottom:7px}
.property-results-page .map-property-popup-copy b{font:550 14px/1.35 var(--sans);margin-bottom:auto}
.property-results-page .map-property-popup-copy small{font:650 11px/1.2 var(--sans);letter-spacing:.04em;color:var(--red);margin-top:10px}
.property-results-page .map-property-popup-close{position:absolute;right:9px;top:8px;z-index:2;width:28px;height:28px;border:0;border-radius:50%;background:rgba(255,255,255,.94);color:#222;font-size:21px;line-height:1;box-shadow:0 2px 10px rgba(0,0,0,.12);cursor:pointer}
.property-results-page .map-marker.active{background:var(--red);color:#fff;z-index:9;box-shadow:0 7px 18px rgba(0,0,0,.34)}
@media(max-width:700px){.property-results-page .map-property-popup{width:min(330px,calc(100% - 24px))}.property-results-page .map-property-popup-link{grid-template-columns:112px 1fr;min-height:118px}.property-results-page .map-property-popup-link img{width:112px;min-height:118px}.property-results-page .map-property-popup-copy{padding:14px 34px 12px 14px}.property-results-page .map-property-popup-copy strong{font-size:18px}}


/* v3.3: full-map popup is isolated from list and table layouts. */
.property-results-page .results-workspace:not(.view-map) .map-property-popup{display:none!important;}
.property-results-page .view-map .map-property-popup.is-open{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;}
.property-results-page .view-map .map-marker{z-index:7;pointer-events:auto;}

/* v3.5: full-map property card only. Override the legacy marker-tooltip rules. */
.property-results-page .results-workspace.view-map .map-pane{
  position:relative;
  overflow:hidden;
}
.property-results-page .results-workspace.view-map .map-property-popup.property-card{
  display:flex;
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:min(500px,33%);
  min-width:460px;
  max-width:500px;
  height:auto;
  margin:0;
  border:0;
  border-radius:0;
  transform:none;
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  z-index:30;
  overflow:hidden;
  box-shadow:8px 0 24px rgba(0,0,0,.20);
}
.property-results-page .results-workspace.view-map .map-property-popup.property-card::after{
  display:none;
}
.property-results-page .results-workspace.view-map .map-property-popup.property-card[hidden]{
  display:none!important;
}
.property-results-page .results-workspace:not(.view-map) .map-property-popup{
  display:none!important;
}
@media(max-width:1100px){
  .property-results-page .results-workspace.view-map .map-property-popup.property-card{
    width:min(430px,46%);
    min-width:380px;
  }
}

/* v3.6: keep full-map popup copy, description, specifications and actions in normal flow. */
.property-results-page .results-workspace.view-map .map-property-popup.property-card .map-popup-copy{
  display:flex;
  flex-direction:column;
  min-height:0;
  padding:18px 20px 14px;
  overflow:hidden;
}
.property-results-page .results-workspace.view-map .map-property-popup.property-card .map-popup-description{
  display:-webkit-box!important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  flex:0 0 auto;
  min-height:2.8em;
  margin:10px 0 10px;
  font-size:13px;
  line-height:1.4;
}
.property-results-page .results-workspace.view-map .map-property-popup.property-card .map-popup-specs{
  position:static;
  left:auto;
  right:auto;
  bottom:auto;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px 14px;
  width:100%;
  margin:0;
  padding:10px 0 0;
  border-top:1px dashed #ccc;
}
.property-results-page .results-workspace.view-map .map-property-popup.property-card .map-popup-specs .distance{
  margin-left:0;
}
.property-results-page .results-workspace.view-map .map-property-popup.property-card .map-popup-actions{
  position:static;
  left:auto;
  right:auto;
  bottom:auto;
  flex:0 0 auto;
  width:100%;
  margin-top:auto;
  padding-top:14px;
}
@media(max-height:760px){
  .property-results-page .results-workspace.view-map .map-property-popup.property-card .map-popup-photo{
    flex-basis:270px;
    height:270px;
    min-height:270px;
  }
  .property-results-page .results-workspace.view-map .map-property-popup.property-card .map-popup-copy{
    padding-top:14px;
  }
  .property-results-page .results-workspace.view-map .map-property-popup.property-card .map-popup-description{
    margin:7px 0 8px;
    font-size:12.5px;
    line-height:1.35;
  }
  .property-results-page .results-workspace.view-map .map-property-popup.property-card .map-popup-specs{
    padding-top:8px;
    gap:7px 12px;
  }
  .property-results-page .results-workspace.view-map .map-property-popup.property-card .map-popup-actions{
    padding-top:10px;
  }
}

/* v3.7: allow the full-map property card to scroll when its content exceeds the viewport. */
.property-results-page .results-workspace.view-map .map-property-popup.property-card{
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
.property-results-page .results-workspace.view-map .map-property-popup.property-card .map-popup-copy{
  flex:0 0 auto;
  min-height:auto;
  overflow:visible;
}
.property-results-page .results-workspace.view-map .map-property-popup.property-card .map-popup-actions{
  margin-top:14px;
  padding-top:0;
  padding-bottom:14px;
}


/* v3.7: clearer search labels and lifestyle search beside the search modes */
.property-results-page .search-mode-row{align-items:flex-end}
.property-results-page .search-mode-tabs{display:flex;align-items:flex-end;gap:24px;height:48px}
.property-results-page .search-mode-row .lifestyle-mode{margin-left:0;color:#68551c;font-weight:600;white-space:nowrap}
.property-results-page .search-mode-row .lifestyle-mode span{margin-right:6px;color:#9a7921}
.property-results-page .search-mode-row .lifestyle-mode:hover{border-bottom-color:#c9a33a}
@media(max-width:760px){
  .property-results-page .search-mode-row{gap:14px;padding-left:18px;padding-right:18px}
  .property-results-page .search-mode-tabs{gap:14px}
  .property-results-page .search-mode{font-size:13px}
}

/* Tablet resilience for property search and result controls. Mobile <=900px is owned by mobile-ux.css v11.8. */
@media(min-width:901px) and (max-width:980px){
  .property-results-page .results-demo{min-height:calc(100svh - 76px)}
  .property-results-page .results-toolbar{padding:10px 12px}
  .property-results-page .toolbar-row{gap:7px}
  .property-results-page .filter-select{height:44px;padding:0 14px;font-size:13px}
  .property-results-page .location-search{height:46px}
  .property-results-page .location-search input{height:42px;min-width:0;font-size:16px}
  .property-results-page .view-switcher button{width:46px;height:44px}
  .property-results-page .results-meta{height:auto;min-height:48px;padding:9px 12px;gap:10px;flex-wrap:wrap}
  .property-results-page .results-workspace{display:flex;flex-direction:column}
  .property-results-page .results-pane{order:1;width:100%;padding:0 10px 24px;overflow:visible}
  .property-results-page .map-pane{order:2;width:100%;height:min(62vh,480px);min-height:340px}
  .property-results-page .property-copy{padding:18px 16px 72px}
  .property-results-page .property-specs{left:16px;right:16px;gap:12px;flex-wrap:wrap}
  .property-results-page .see-listing{right:14px}
  .property-results-page .mortgage-modal,.property-results-page .all-filters-modal,.property-results-page .quick-filters-modal{padding:max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom))}
  .property-results-page .mortgage-dialog,.property-results-page .all-filters-dialog{width:100%;max-width:100%;max-height:calc(100dvh - 16px);border-radius:12px;padding:18px 14px}
  .property-results-page .inline-advanced-scroll{padding-bottom:max(24px,env(safe-area-inset-bottom))}
}
@media(max-width:600px){
  .property-results-page .toolbar-row{display:grid;grid-template-columns:1fr auto auto}
  .property-results-page .sale-type{border-radius:24px}
  .property-results-page .location-search{grid-column:1/-1;order:4}
  .property-results-page .filter-select{min-width:0;max-width:100%}
  .property-results-page .property-photo{height:auto;aspect-ratio:4/3}
  .property-results-page .property-copy{padding-bottom:86px}
  .property-results-page .price-line{padding-right:42px}
  .property-results-page .price-line h2{font-size:21px!important}
  .property-results-page .description{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}
  .property-results-page .property-specs{font-size:12px}
  .property-results-page .property-specs .distance{margin-left:0}
  .property-results-page .see-listing{left:16px;right:16px;bottom:12px;text-align:center}
  .property-results-page .payment-ring{width:220px;height:220px;border-width:30px}
  .property-results-page .payment-ring strong{font-size:34px}
  .property-results-page .table-pane{padding:18px 10px}
  .property-results-page .table-intro h1{font-size:34px}
}

/* v4.0 — live results/map refinement */
.property-results-page .location-crosshair-button{
  border:0;background:transparent;color:#222;width:42px;height:46px;padding:0 0 0 12px;
  display:grid;place-items:center;font-size:22px;line-height:1;cursor:pointer;flex:0 0 42px
}
.property-results-page .location-crosshair-button.is-locating{animation:cui-location-pulse .8s ease-in-out infinite alternate;color:var(--red,#e01525)}
@keyframes cui-location-pulse{to{transform:scale(1.14);opacity:.55}}
.property-results-page .location-clear{cursor:pointer}

.property-results-page .image-card-tools button,
.property-results-page .roundel{
  align-items:center!important;justify-content:center!important;line-height:0!important
}
.property-results-page .image-card-tools button i,
.property-results-page .roundel i{display:grid!important;place-items:center!important;width:100%;height:100%;line-height:0}
.property-results-page .image-card-tools svg,
.property-results-page .roundel svg{display:block!important;margin:auto!important}
.property-results-page .virtual-tour-roundel,
.property-results-page .floorplan-roundel,
.property-results-page .viewing-roundel,
.property-results-page .calculator{background:var(--red,#e01525)!important;color:#fff!important;text-decoration:none!important}
.property-results-page .virtual-tour-roundel:hover,
.property-results-page .floorplan-roundel:hover,
.property-results-page .viewing-roundel:hover,
.property-results-page .calculator:hover{background:var(--red,#e01525)!important;color:#fff!important;filter:brightness(.9)}
.property-results-page .property-roundels{gap:7px}
.property-results-page .property-specs .spec{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.property-results-page .property-specs .spec svg{width:18px;height:18px;display:block}
.property-results-page .property-specs .distance{cursor:help}

.property-results-page .results-pagination{display:flex;gap:6px;align-items:center;justify-content:center;margin:18px 0 8px}
.property-results-page .results-pagination button{display:grid;place-items:center;min-width:40px;height:40px;padding:0 12px;border:1px solid #ddd;border-radius:4px;color:inherit;background:#fff;cursor:pointer}
.property-results-page .results-pagination button:hover:not(:disabled){border-color:#1f1f1f}
.property-results-page .results-pagination button.active{background:#1f1f1f;border-color:#1f1f1f;color:#fff}
.property-results-page .results-pagination button:disabled{opacity:.35;cursor:default}

.property-results-page .cui-live-map{position:absolute;inset:0;width:100%;height:100%;z-index:1;background:#d9e4df}
.property-results-page .leaflet-container{font-family:var(--sans);cursor:grab}
.property-results-page .leaflet-container:active{cursor:grabbing}
.property-results-page .map-tabs,.property-results-page .draw-search,.property-results-page .clear-map-search,.property-results-page .map-status{z-index:520}
.property-results-page .map-tabs{border-radius:4px;overflow:hidden}
.property-results-page .map-tabs button{cursor:pointer}
.property-results-page .draw-search{background:var(--red,#e01525)!important;cursor:pointer;border-radius:2px}
.property-results-page .clear-map-search{position:absolute;right:18px;top:82px;border:0;background:#fff;color:#222;padding:9px 12px;border-radius:4px;box-shadow:0 2px 8px #0002;font:600 12px var(--sans);cursor:pointer}
.property-results-page .map-status{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);background:rgba(25,25,25,.9);color:#fff;padding:8px 13px;border-radius:18px;font:600 12px var(--sans);white-space:nowrap;box-shadow:0 2px 10px #0003}
.property-results-page .cui-price-marker-wrap{background:transparent!important;border:0!important}
.property-results-page .cui-price-marker{display:inline-grid;place-items:center;min-width:58px;height:34px;padding:0 9px;border-radius:5px;background:#47769a;color:#fff;font:700 13px/1 var(--sans);box-shadow:0 2px 7px rgba(0,0,0,.35);white-space:nowrap;border:2px solid rgba(255,255,255,.9);transform:translate(-50%,-50%);transition:transform .18s ease,background .18s ease,box-shadow .18s ease}
.property-results-page .cui-price-marker-wrap:hover .cui-price-marker,
.property-results-page .cui-price-marker-wrap.marker-hover .cui-price-marker{background:var(--red,#e01525);transform:translate(-50%,-50%) scale(1.08);box-shadow:0 5px 15px rgba(0,0,0,.38)}
.property-results-page .cui-price-marker-wrap.marker-bounce .cui-price-marker{background:var(--red,#e01525);animation:cui-marker-bounce .55s ease-in-out 0s 3 alternate}
@keyframes cui-marker-bounce{0%{transform:translate(-50%,-50%) translateY(0) scale(1.04)}100%{transform:translate(-50%,-50%) translateY(-15px) scale(1.1)}}
.property-results-page .leaflet-control-attribution{font-size:9px}
.property-results-page .leaflet-draw-toolbar{display:none!important}

.property-results-page .view-table .table-pane{overflow:auto!important;overscroll-behavior:contain}
.property-results-page .view-table .results-table-wrap{overflow-x:auto;overflow-y:visible}
.property-results-page .results-table-wrap tbody tr{cursor:pointer}
.property-results-page .results-table-wrap tbody tr:hover{background:#f3e5e6!important}
.property-results-page .results-table-wrap tbody tr.selected{background:#f9e2e4!important;box-shadow:inset 4px 0 0 var(--red,#e01525)}

.property-results-page .mortgage-head{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #ddd;margin-bottom:17px;padding-bottom:14px}
.property-results-page .mortgage-dialog .mortgage-head h2{margin:0!important;padding:0!important;border:0!important;min-width:0}
.property-results-page .mortgage-dialog .mortgage-close{position:static!important;float:none!important;flex:0 0 42px;margin:0!important;box-shadow:0 1px 8px #0002}
.property-results-page .mortgage-dialog input[type=range]{--range-progress:50%;cursor:pointer;accent-color:var(--red,#e01525)}
.property-results-page .mortgage-dialog input[type=range]::-webkit-slider-runnable-track,
.property-results-page .all-filters-dialog input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(90deg,var(--red,#e01525) 0 var(--range-progress,42%),#d9d9d6 var(--range-progress,42%) 100%)!important}
.property-results-page .mortgage-dialog input[type=range]::-webkit-slider-thumb,
.property-results-page .all-filters-dialog input[type=range]::-webkit-slider-thumb{background:var(--red,#e01525)!important;box-shadow:0 0 0 1px var(--red,#e01525)!important}
.property-results-page .mortgage-dialog input[type=range]::-moz-range-progress,
.property-results-page .all-filters-dialog input[type=range]::-moz-range-progress{background:var(--red,#e01525)!important}
.property-results-page .mortgage-dialog input[type=range]::-moz-range-thumb,
.property-results-page .all-filters-dialog input[type=range]::-moz-range-thumb{background:var(--red,#e01525)!important;box-shadow:0 0 0 1px var(--red,#e01525)!important}
.property-results-page .payment-ring{width:210px!important;height:210px!important;border-width:28px!important}
.property-results-page .payment-ring span{font-size:14px!important;line-height:1.2;max-width:130px}
.property-results-page .payment-ring strong{font-size:27px!important;line-height:1.05;margin:7px 0 4px!important;white-space:nowrap}
.property-results-page .payment-ring small{display:block;font-size:13px;font-weight:500}

@media(max-width:1280px){
  .property-results-page .property-specs{gap:11px}
  .property-results-page .property-specs .spec{font-size:12px}
  .property-results-page .property-roundels{gap:5px}
  .property-results-page .roundel{width:34px!important;height:34px!important}
}
@media(max-width:700px){
  .property-results-page .map-status{max-width:calc(100% - 30px);white-space:normal;text-align:center}
  .property-results-page .payment-ring{width:190px!important;height:190px!important;border-width:26px!important}
  .property-results-page .payment-ring strong{font-size:24px!important}
}
.property-results-page .property-card[hidden],.property-results-page .results-table-wrap tr[hidden]{display:none!important}
/* Table layout is a true full result table; property selection is indicated on the map. */
.property-results-page .view-table .table-selected-property{display:grid!important}
.property-results-page .view-table .table-intro{padding:10px 4px 4px}
.property-results-page .view-table .table-intro h1{font:600 20px/1.2 var(--sans);margin:0 0 4px}
.property-results-page .view-table .table-intro p{margin:0 0 8px;font-size:12px}
.property-results-page .view-table .results-table-wrap{margin-top:8px}
.property-results-page .view-table .results-table-wrap thead th{position:sticky;top:0;z-index:2}


/* v5.0 — table selection, theme colours, compact property actions and sharing */
.property-results-page .view-table .table-selected-property{
  display:grid!important;
  margin:0 0 10px!important;
}
.property-results-page .view-table .table-intro{border-top:1px solid #ddd}
.property-results-page .table-selected-property .card-tools{z-index:5}
.property-results-page .table-selected-property .see-listing{bottom:14px}

/* All price controls inherit the site theme colour from --red. */
.property-results-page .dual-range input[type=range]::-webkit-slider-thumb{
  background:var(--red,#e01525)!important;
  box-shadow:0 0 0 1px var(--red,#e01525)!important;
}
.property-results-page .dual-range input[type=range]::-moz-range-thumb{
  background:var(--red,#e01525)!important;
  box-shadow:0 0 0 1px var(--red,#e01525)!important;
}
.property-results-page .price-menu .filter-apply{background:var(--red,#e01525)!important}
.property-results-page input[type=range]{accent-color:var(--red,#e01525)!important}

/* Keep only the two primary copy-side actions prominent. */
.property-results-page .property-roundels .virtual-tour-roundel{
  background:var(--red,#e01525)!important;
  color:#fff!important;
}
.property-results-page .property-roundels .calculator{
  background:#111!important;
  color:#fff!important;
}
.property-results-page .property-roundels .calculator:hover{background:#2a2a2a!important;filter:none!important}
.property-results-page .property-roundels .virtual-tour-roundel:hover{filter:brightness(.92)}

/* Floor plan and viewing return to the image edge, closer to the legacy results layout. */
.property-results-page .property-image-actions{
  position:absolute;
  right:84px;
  bottom:9px;
  z-index:6;
  display:flex;
  align-items:center;
  gap:6px;
}
.property-results-page .property-image-actions .image-action{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  text-decoration:none;
  border-radius:50%;
  line-height:0;
  box-shadow:0 2px 7px rgba(0,0,0,.22);
}
.property-results-page .property-image-actions .image-action svg{width:18px;height:18px;display:block}
.property-results-page .property-image-actions .floorplan-image-action{
  background:rgba(255,255,255,.94);
  color:#222;
  border:1px solid rgba(0,0,0,.12);
}
.property-results-page .property-image-actions .viewing-image-action{
  background:var(--red,#e01525);
  color:#fff;
  border:1px solid var(--red,#e01525);
}
.property-results-page .property-image-actions .image-action:hover{transform:translateY(-1px)}

/* Full-map selected-property close control follows the active theme. */
.property-results-page .view-map .map-property-popup .map-popup-close{
  background:var(--red,#e01525)!important;
  color:#fff!important;
}

/* Share modal mirrors the existing CUI behaviour but uses the redesigned styling. */
.share-property-modal[hidden]{display:none!important}
.share-property-modal{
  position:fixed;
  inset:0;
  z-index:120000;
  background:rgba(0,0,0,.62);
  display:grid;
  place-items:center;
  padding:24px;
}
.share-property-dialog{
  width:min(720px,94vw);
  background:#fff;
  border-radius:12px;
  box-shadow:0 24px 70px rgba(0,0,0,.28);
  padding:28px 34px 30px;
}
.share-property-head{display:flex;align-items:center;justify-content:center;position:relative;min-height:42px}
.share-property-head h2{margin:0;font:600 24px/1.2 var(--sans);text-align:center}
.share-property-head button{
  position:absolute;right:-4px;top:-5px;width:42px;height:42px;border:0;background:transparent;color:#aaa;
  font-size:38px;line-height:1;cursor:pointer
}
.share-property-options{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin:34px 0}
.share-property-options a{
  width:56px;height:56px;border-radius:4px;background:#444;color:#fff;text-decoration:none;display:grid;place-items:center;
  font:600 23px/1 var(--sans);cursor:pointer;transition:transform .15s ease,background .15s ease
}
.share-property-options a:hover{background:var(--red,#e01525);transform:translateY(-2px)}
.share-property-options a[data-share-channel="linkedin"]{font-size:20px}
.share-property-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;border:1px solid #bbb;border-radius:4px;overflow:hidden}
.share-property-copy input{height:58px;border:0;padding:0 14px;font:400 15px var(--sans);min-width:0;outline:0}
.share-property-copy button{border:0;background:#444;color:#fff;padding:0 22px;font:500 14px var(--sans);cursor:pointer}
.share-property-copy button:hover{background:var(--red,#e01525)}
.share-property-status{min-height:20px;margin:8px 0 0;color:#555;font:400 12px var(--sans);text-align:right}

@media(max-width:700px){
  .property-results-page .property-image-actions{right:76px}
  .share-property-dialog{padding:24px 18px}
  .share-property-options{gap:9px}
  .share-property-options a{width:48px;height:48px}
  .share-property-copy{grid-template-columns:1fr}
  .share-property-copy button{height:44px}
}

/* v6.0 — search/map parity pass */
.property-results-page .location-search-wrap{position:relative;flex:1;min-width:220px;max-width:600px}
.property-results-page .location-search-wrap .location-search{max-width:none;width:100%}
.property-results-page .location-suggestions{
  position:absolute;z-index:1200;left:0;right:0;top:calc(100% + 5px);background:#fff;border:1px solid #d6d6d2;
  border-radius:8px;box-shadow:0 14px 34px rgba(0,0,0,.16);overflow:hidden;max-height:360px;overflow-y:auto
}
.property-results-page .location-suggestions button{width:100%;border:0;border-bottom:1px solid #eee;background:#fff;text-align:left;display:grid;grid-template-columns:34px 1fr;align-items:center;gap:8px;padding:11px 14px;cursor:pointer}
.property-results-page .location-suggestions button:last-child{border-bottom:0}
.property-results-page .location-suggestions button:hover,.property-results-page .location-suggestions button:focus{background:#f7f7f5;outline:0}
.property-results-page .location-suggestion-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#f0f0ed;color:#333;font-size:14px}
.property-results-page .location-suggestions strong{display:block;font:600 13px/1.25 var(--sans);color:#222}
.property-results-page .location-suggestions small{display:block;margin-top:2px;font:400 11px/1.25 var(--sans);color:#777}

/* Keep the location field and sort control usable at realistic desktop widths. */
.property-results-page .sort-control>.filter-select{min-width:158px;max-width:185px;padding-left:14px;padding-right:14px}
.property-results-page .sort-filter [data-sort-label]{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:112px;vertical-align:middle;margin-left:4px}
.property-results-page .sort-menu{min-width:205px;right:0;left:auto}

/* Photo/floorplan treatment mirrors the legacy result cards: information, not roundels. */
.property-results-page .photo-count,
.property-results-page .map-property-popup .photo-count{
  background:transparent!important;border-radius:0!important;box-shadow:none!important;padding:0!important;text-shadow:0 1px 3px rgba(0,0,0,.8)!important;
  gap:4px!important;color:#fff!important;font-size:11px!important
}
.property-results-page .property-image-actions{right:66px;bottom:12px;gap:7px}
.property-results-page .property-image-actions .image-action{
  width:auto;height:auto;border-radius:0!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0;color:#fff!important;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.75))
}
.property-results-page .property-image-actions .image-action svg{width:19px;height:19px;stroke-width:1.8}
.property-results-page .property-image-actions .viewing-image-action{color:#fff!important}
.property-results-page .property-image-actions .image-action:hover{transform:none;opacity:.8}

/* Theme-coloured search geometry and map controls. */
.property-results-page .draw-search,
.property-results-page .view-map .map-property-popup .map-popup-close,
.property-results-page .map-school-actions [data-show-schools]{background:var(--red,#e01525)!important;color:#fff!important}
.property-results-page .map-search-tools{position:absolute;z-index:530;right:18px;top:18px;display:flex;flex-direction:column;align-items:flex-end;gap:8px;pointer-events:none}
.property-results-page .map-search-tools>*{pointer-events:auto}
.property-results-page .map-search-tools .draw-search{position:static!important}
.property-results-page .map-tool-button{border:0;background:#fff;color:#222;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.16);padding:9px 12px;font:600 12px/1 var(--sans);cursor:pointer}
.property-results-page .map-tool-button:hover{background:#f4f4f1}
.property-results-page .boundary-toggle{color:var(--red,#e01525)}
.property-results-page .map-school-control{position:relative}
.property-results-page .map-school-panel{position:absolute;right:0;top:calc(100% + 6px);width:220px;background:#fff;border-radius:6px;box-shadow:0 12px 28px rgba(0,0,0,.2);padding:14px;color:#222}
.property-results-page .map-school-panel strong{display:block;margin-bottom:10px;font:600 13px var(--sans)}
.property-results-page .map-school-panel label{display:flex;align-items:center;gap:8px;padding:5px 0;font:400 12px var(--sans);cursor:pointer}
.property-results-page .map-school-panel input{accent-color:var(--red,#e01525)}
.property-results-page .map-school-actions{display:flex;gap:7px;margin-top:10px;border-top:1px solid #eee;padding-top:10px}
.property-results-page .map-school-actions button{flex:1;border:0;border-radius:4px;padding:8px 7px;font:600 11px var(--sans);cursor:pointer}
.property-results-page .map-school-actions [data-hide-schools]{background:#ececea;color:#222}

/* Property clustering and school points. */
.property-results-page .cui-property-cluster{background:transparent!important;border:0!important}
.property-results-page .cui-property-cluster span{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--red,#e01525);border:3px solid #fff;color:#fff;font:700 13px/1 var(--sans);box-shadow:0 2px 9px rgba(0,0,0,.35)}
.property-results-page .cui-school-marker{background:transparent!important;border:0!important}
.property-results-page .cui-school-marker span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--red,#e01525);border:2px solid var(--red,#e01525);box-shadow:0 2px 7px rgba(0,0,0,.25);font-size:14px}

/* Loading skeletons prevent the result pane appearing empty while filters/search change. */
.property-results-page .results-skeleton{padding:12px 0 0}
.property-results-page .skeleton-card{height:255px;background:#fff;border:1px solid #e4e4e1;margin-bottom:12px;display:grid;grid-template-columns:44% 56%;overflow:hidden}
.property-results-page .skeleton-image,.property-results-page .skeleton-line{position:relative;overflow:hidden;background:#e3e3df}
.property-results-page .skeleton-image::after,.property-results-page .skeleton-line::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.65),transparent);animation:cui-skeleton 1.15s infinite}
.property-results-page .skeleton-copy{padding:24px 22px}
.property-results-page .skeleton-line{height:14px;border-radius:3px;margin:0 0 14px}
.property-results-page .skeleton-line:nth-child(1){width:42%;height:25px}.property-results-page .skeleton-line:nth-child(2){width:31%}.property-results-page .skeleton-line:nth-child(3){width:78%}.property-results-page .skeleton-line:nth-child(4){width:92%}.property-results-page .skeleton-line:nth-child(5){width:64%}
@keyframes cui-skeleton{100%{transform:translateX(100%)}}
.property-results-page.results-loading [data-result-property],.property-results-page.results-loading [data-client-pagination],.property-results-page.results-loading [data-pagination-summary]{opacity:.16;pointer-events:none}

/* Selected property should be unmistakable after marker/table interaction. */
.property-results-page .property-card[data-result-property].map-selected{border-color:var(--red,#e01525)!important;box-shadow:0 0 0 2px rgba(0,0,0,.08),0 8px 24px rgba(0,0,0,.1)!important}
.property-results-page .property-card[data-result-property].map-selected::before{background:var(--red,#e01525)!important}

/* Price controls, filter actions and active chips all inherit the site theme. */
.property-results-page .price-menu .filter-apply,.property-results-page .show-results,.property-results-page .chip-row button.active,.property-results-page .listing-tabs button.active{border-color:var(--red,#e01525)!important}
.property-results-page .show-results{background:var(--red,#e01525)!important;color:#fff!important}
.property-results-page .chip-row button.active{background:var(--red,#e01525)!important;color:#fff!important}
.property-results-page .all-filters-body input[type=range]{accent-color:var(--red,#e01525)!important}

@media(min-width:901px) and (max-width:980px){
  .property-results-page .location-search-wrap{order:3;flex-basis:100%;max-width:none}
  .property-results-page .sort-control>.filter-select{min-width:0;max-width:160px}
  .property-results-page .map-search-tools{top:14px;right:12px}
}
@media(max-width:600px){
  .property-results-page .skeleton-card{grid-template-columns:1fr;height:390px}.property-results-page .skeleton-image{height:230px}
  .property-results-page .map-school-panel{width:min(220px,calc(100vw - 38px))}
}

/* v6.0 legacy image-action alignment: photo count + floorplan stay lightweight; viewing remains the primary roundel. */
.property-results-page .property-photo>.photo-count{right:92px!important;bottom:14px!important}
.property-results-page .property-image-actions{right:14px!important;bottom:9px!important;gap:8px!important}
.property-results-page .property-image-actions .floorplan-image-action{width:auto!important;height:auto!important;border:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;color:#fff!important;padding:0!important}
.property-results-page .property-image-actions .viewing-image-action{width:34px!important;height:34px!important;border-radius:50%!important;background:var(--red,#e01525)!important;border:1px solid var(--red,#e01525)!important;box-shadow:0 2px 7px rgba(0,0,0,.22)!important;color:#fff!important}
.property-results-page .map-property-popup .photo-count{right:14px!important}

/* v7.0 — usability and legacy-search parity refinements */

/* A subtle dark image footer, as on the legacy results cards, keeps the
   photo/floorplan/viewing controls legible on bright photography. */
.property-results-page .property-photo::after,
.property-results-page .table-selected-image::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:34%;
  pointer-events:none;
  z-index:2;
  background:linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,.08) 28%,rgba(0,0,0,.58) 100%);
}
.property-results-page .property-photo .card-tools,
.property-results-page .property-photo .image-arrow,
.property-results-page .property-photo .instruction-tag,
.property-results-page .property-photo .photo-count,
.property-results-page .property-photo .property-image-actions{z-index:6}
.property-results-page .instruction-tag{
  left:12px!important;
  bottom:8px!important;
  padding:4px 8px!important;
  border-radius:4px!important;
  font-size:10px!important;
  line-height:1.15!important;
}
.property-results-page .property-photo>.photo-count{
  right:91px!important;
  bottom:8px!important;
  font-size:12px!important;
  line-height:1!important;
}
.property-results-page .property-photo>.photo-count svg{
  width:20px!important;
  height:20px!important;
  stroke-width:1.9!important;
}
.property-results-page .property-photo>.photo-count b{font-size:12px!important}
.property-results-page .property-image-actions{
  right:10px!important;
  bottom:5px!important;
  gap:9px!important;
}
.property-results-page .property-image-actions .floorplan-image-action svg{width:21px!important;height:21px!important}
.property-results-page .property-image-actions .viewing-image-action{width:34px!important;height:34px!important}

/* The top-level price menu is live; there is no apply step. */
.property-results-page .price-menu-actions{align-items:center;justify-content:space-between}
.property-results-page .price-live-note{font:500 11px/1.2 var(--sans);color:#888;padding-right:4px}
.property-results-page .filter-live-count{font-weight:500;opacity:.8}

/* Legacy-style location hierarchy. */
.property-results-page .location-suggestion-copy{display:block;min-width:0}
.property-results-page .location-suggestion-path{display:flex;align-items:baseline;gap:7px;min-width:0;white-space:nowrap}
.property-results-page .location-suggestion-path small{display:inline!important;margin:0!important;color:#9a9a96!important;overflow:hidden;text-overflow:ellipsis;max-width:45%}
.property-results-page .location-suggestion-path strong{display:inline!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.property-results-page .location-suggestion-separator{color:#aaa;font-size:16px;line-height:1}
.property-results-page .location-suggestion-kind{margin-top:3px!important;color:#8c8c88!important}

/* A deliberate Show on map action is clearer than hijacking the whole card;
   image/title clicks continue to open property details. */
.property-results-page .show-on-map{
  border:0;background:transparent;color:#555;padding:2px 0 2px 4px;margin-left:4px;
  display:inline-flex;align-items:center;gap:4px;font:600 11px/1 var(--sans);cursor:pointer;white-space:nowrap
}
.property-results-page .show-on-map:hover,.property-results-page .show-on-map:focus{color:var(--red,#e01525);outline:0}
.property-results-page .show-on-map-icon{width:13px;height:13px;position:relative;display:inline-block;transform:translateY(-1px)}
.property-results-page .show-on-map-icon::before{
  content:"";position:absolute;left:2px;top:0;width:8px;height:8px;border:1.8px solid currentColor;border-radius:50% 50% 50% 0;transform:rotate(-45deg)
}
.property-results-page .show-on-map-icon::after{content:"";position:absolute;left:5px;top:3px;width:2.5px;height:2.5px;border-radius:50%;background:currentColor}
.property-results-page .marker-hover .cui-price-marker,
.property-results-page .cui-price-marker-wrap.marker-hover .cui-price-marker{box-shadow:0 0 0 3px rgba(255,255,255,.95),0 3px 12px rgba(0,0,0,.35);transform:translateY(-2px)}

/* Map tools form one non-overlapping stack. */
.property-results-page .map-search-tools{right:16px!important;top:16px!important;gap:7px!important;max-width:190px}
.property-results-page .map-search-tools .clear-map-search{
  position:static!important;right:auto!important;top:auto!important;display:block;width:auto;max-width:190px;
  border:0;background:#fff;color:#222;padding:9px 12px;border-radius:7px;box-shadow:0 2px 8px rgba(0,0,0,.16);
  font:600 12px/1 var(--sans);white-space:nowrap
}
.property-results-page .map-search-tools .clear-map-search[hidden]{display:none!important}
.property-results-page .map-tool-button{border-radius:7px!important;white-space:nowrap;max-width:190px}
.property-results-page .map-school-control{display:flex;flex-direction:column;align-items:flex-end;width:100%}
.property-results-page .school-toggle{align-self:flex-end}
.property-results-page .draw-search{
  width:46px!important;height:46px!important;border-radius:9px!important;padding:0!important;
  display:grid!important;place-items:center!important;box-shadow:0 3px 10px rgba(0,0,0,.2)!important
}
.property-results-page .draw-search svg{width:22px;height:22px;stroke-width:1.7}

/* Individual school markers use Ofsted colour as the primary signal and a
   small phase letter to distinguish school type. */
.property-results-page .cui-school-marker{background:transparent!important;border:0!important}
.property-results-page .school-marker-core{
  --school-marker:#777;
  width:34px;height:34px;border-radius:50%;display:grid;place-items:center;position:relative;
  background:#fff;color:#111;border:3px solid var(--school-marker);box-shadow:0 2px 8px rgba(0,0,0,.28)
}
.property-results-page .school-marker-core svg{width:18px;height:18px;stroke-width:1.9;color:#111}
.property-results-page .school-marker-core em{
  position:absolute;right:-6px;bottom:-5px;min-width:16px;height:16px;border-radius:8px;padding:0 3px;
  display:grid;place-items:center;background:var(--school-marker);color:#fff;border:2px solid #fff;
  font:700 8px/1 var(--sans);font-style:normal
}
.property-results-page .cui-school-marker.rating-outstanding .school-marker-core{--school-marker:#00a651}
.property-results-page .cui-school-marker.rating-good .school-marker-core{--school-marker:#33b5e5}
.property-results-page .cui-school-marker.rating-improve .school-marker-core{--school-marker:#f0ad00}
.property-results-page .cui-school-marker.rating-inadequate .school-marker-core{--school-marker:#e4473f}
.property-results-page .cui-school-marker.rating-unrated .school-marker-core{--school-marker:#6d6d6d}

/* School selection panel mirrors the useful legacy side-panel behaviour. */
.property-results-page .school-detail-panel[hidden]{display:none!important}
.property-results-page .school-detail-panel{
  position:absolute;z-index:1150;left:0;top:0;bottom:0;width:min(390px,42%);min-width:330px;
  background:#fff;box-shadow:8px 0 24px rgba(0,0,0,.2);overflow:auto;padding:34px 24px 28px
}
.property-results-page .school-detail-close{
  position:absolute;right:14px;top:12px;width:36px;height:36px;border:0;border-radius:7px;
  background:var(--red,#e01525);color:#fff;font:500 28px/1 var(--sans);cursor:pointer
}
.property-results-page .school-detail-heading{padding-right:38px}
.property-results-page .school-detail-type{display:inline-block;margin:0 0 8px;color:#777;font:600 11px/1.2 var(--sans);text-transform:uppercase;letter-spacing:.05em}
.property-results-page .school-detail-heading h2{margin:0 0 20px;font:700 22px/1.25 var(--sans);color:#111}
.property-results-page .school-rating{display:inline-flex;align-items:center;justify-content:center;min-width:86px;padding:8px 13px;border-radius:5px;color:#fff;font:700 13px/1 var(--sans)}
.property-results-page .school-rating.rating-outstanding{background:#00a651}.property-results-page .school-rating.rating-good{background:#33b5e5}.property-results-page .school-rating.rating-improve{background:#f0ad00;color:#222}.property-results-page .school-rating.rating-inadequate{background:#e4473f}.property-results-page .school-rating.rating-unrated{background:#777}
.property-results-page .school-rating-caption{font:400 11px var(--sans);color:#777;margin:5px 0 22px}
.property-results-page .school-detail-stats{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px;padding:18px 0;border-top:1px solid #eee;border-bottom:1px solid #eee}
.property-results-page .school-detail-stat{display:grid;grid-template-columns:34px 1fr;gap:9px;align-items:center;min-width:0}
.property-results-page .school-stat-icon{width:32px;height:32px;border:1px solid #aaa;border-radius:50%;display:grid;place-items:center;color:#555;font-size:15px}
.property-results-page .school-detail-stat strong{display:block;font:500 14px/1.2 var(--sans);color:#222;overflow-wrap:anywhere}
.property-results-page .school-detail-stat small{display:block;margin-top:2px;font:italic 11px/1.2 var(--sans);color:#777}
.property-results-page .school-detail-list{margin:20px 0 0}
.property-results-page .school-detail-list dt{font:700 12px/1.35 var(--sans);margin-top:14px;color:#222}
.property-results-page .school-detail-list dd{margin:3px 0 0;font:400 13px/1.45 var(--sans);color:#333;overflow-wrap:anywhere}
.property-results-page .school-detail-list a{color:var(--red,#e01525);text-decoration:none}.property-results-page .school-detail-list a:hover{text-decoration:underline}

@media(max-width:980px){
  .property-results-page .school-detail-panel{width:min(420px,88%);min-width:0}
  .property-results-page .show-on-map-label{display:none}
  .property-results-page .property-specs{gap:10px}
}

/* v8.0 — result actions, hide/unhide and compact map-tool parity */
.property-results-page .property-copy{position:relative}
.property-results-page .hide-property-button{
  position:absolute;right:10px;top:8px;z-index:8;width:28px;height:28px;border:0;background:transparent;color:#777;
  font:600 24px/1 var(--sans);display:grid;place-items:center;cursor:pointer;border-radius:50%;padding:0
}
.property-results-page .hide-property-button:hover,.property-results-page .hide-property-button:focus{background:#f0f0ed;color:var(--red,#e01525);outline:0}
.property-results-page .price-line{padding-right:30px}

.property-results-page .property-status-badges{
  position:absolute;left:12px;bottom:8px;z-index:7;display:flex;align-items:center;gap:5px;max-width:calc(100% - 155px)
}
.property-results-page .property-status-badges .instruction-tag{position:static!important;left:auto!important;bottom:auto!important;margin:0!important}
.property-results-page .status-badge{
  display:inline-flex;align-items:center;min-height:24px;padding:4px 9px;border-radius:4px;color:#fff;text-decoration:none;
  font:600 10px/1.1 var(--sans);white-space:nowrap;box-shadow:0 1px 4px rgba(0,0,0,.18)
}
.property-results-page .status-under-offer{background:var(--red,#e01525)}
.property-results-page .status-register-interest{background:#249a55}
.property-results-page .status-register-interest:hover{filter:brightness(.94);color:#fff}

/* Keep all image metadata/actions as one right-aligned group so missing floorplans
   or viewing actions do not leave awkward gaps. */
.property-results-page .property-image-actions{
  right:10px!important;bottom:7px!important;gap:7px!important;display:flex!important;align-items:center!important;justify-content:flex-end!important
}
.property-results-page .property-image-actions .photo-count{
  position:static!important;right:auto!important;bottom:auto!important;display:inline-flex!important;align-items:center!important;gap:2px!important;
  color:#fff!important;font:600 12px/1 var(--sans)!important;text-shadow:0 1px 3px rgba(0,0,0,.9)!important;white-space:nowrap
}
.property-results-page .property-image-actions .photo-count svg{order:3;width:17px!important;height:17px!important;margin-left:2px;stroke-width:1.8!important}
.property-results-page .property-image-actions .photo-count b{font:600 12px/1 var(--sans)!important}
.property-results-page .property-image-actions .floorplan-image-action svg{width:17px!important;height:17px!important;stroke-width:1.7!important}
.property-results-page .property-image-actions .viewing-image-action{width:32px!important;height:32px!important;flex:0 0 32px!important}
.property-results-page .property-image-actions .viewing-image-action svg{width:17px!important;height:17px!important}

.property-results-page .hidden-results-notice{
  margin:8px 0 0;padding:8px 11px;border:1px solid #e1d7b7;border-radius:6px;background:#fff8dd;color:#514625;
  font:500 12px/1.35 var(--sans)
}
.property-results-page .hidden-results-notice[hidden]{display:none!important}
.property-results-page .hidden-results-notice button{border:0;background:transparent;color:var(--red,#e01525);font:700 12px var(--sans);padding:0 0 0 5px;cursor:pointer}

/* Table layout keeps the same search summary/actions/must-have strip as list view. */
.property-results-page .view-table .table-results-controls{margin:0 0 10px;background:#fff;border-bottom:1px solid #ddd}
.property-results-page .view-table .table-results-controls .pane-results-head{padding-top:10px}
.property-results-page .view-table .table-results-controls .must-have-row{padding-bottom:10px}
.property-results-page .view-table .table-intro{padding:6px 4px 0!important;border-top:0!important}
.property-results-page .view-table .table-intro p{margin:0!important;color:#777}
.property-results-page .table-selected-property .table-hide-selected{display:grid}

/* Compact icon stack: draw, clear map, boundary and schools use one visual language. */
.property-results-page .map-search-tools{right:16px!important;top:16px!important;max-width:none!important;align-items:flex-end!important;gap:7px!important}
.property-results-page .map-icon-tool{
  position:static!important;width:46px!important;height:46px!important;border:0!important;border-radius:9px!important;padding:0!important;
  display:grid!important;place-items:center!important;background:#fff!important;color:#222!important;box-shadow:0 3px 10px rgba(0,0,0,.2)!important;
  cursor:pointer!important;transition:transform .15s ease,background .15s ease,color .15s ease
}
.property-results-page .map-icon-tool:hover,.property-results-page .map-icon-tool:focus{transform:translateY(-1px);outline:0;background:#f6f6f3!important}
.property-results-page .map-icon-tool svg{width:21px!important;height:21px!important;stroke-width:1.8!important}
.property-results-page .draw-search{background:var(--red,#e01525)!important;color:#fff!important}
.property-results-page .clear-map-search{background:#fff!important;color:var(--red,#e01525)!important}
.property-results-page .boundary-toggle{color:var(--red,#e01525)!important}
.property-results-page .boundary-toggle[data-state="hidden"]{background:#f0f0ed!important;color:#777!important}
.property-results-page .school-toggle{background:#fff!important;color:var(--red,#e01525)!important}
.property-results-page .school-toggle.is-active{background:var(--red,#e01525)!important;color:#fff!important}
.property-results-page .map-icon-tool[hidden]{display:none!important}
.property-results-page .map-school-control{display:flex!important;flex-direction:column!important;align-items:flex-end!important;width:auto!important;position:relative!important}
.property-results-page .map-school-panel{right:54px!important;top:0!important;width:220px!important}
.property-results-page .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* School layer sits above property markers/clusters when both are visible. */
.property-results-page .leaflet-school-pane,.property-results-page .leaflet-pane.leaflet-schoolMarkers-pane{z-index:675!important}

@media(max-width:980px){
  .property-results-page .property-status-badges{max-width:calc(100% - 145px)}
  .property-results-page .map-school-panel{right:0!important;top:53px!important}
}
.property-results-page .map-property-popup [data-map-popup-status].is-under-offer{background:var(--red,#e01525)!important;color:#fff!important;border-radius:4px!important}
.property-results-page .map-property-popup [data-map-popup-status].is-new-instruction{background:#f4d900!important;color:#111!important}

/* v9.0 — visual polish, filter-state feedback and table/map parity */

/* Very slight rounding on result cards: enough to soften the UI without turning
   the listings into floating rounded tiles. */
.property-results-page .results-pane .property-card,
.property-results-page .table-pane .property-card{
  border-radius:6px;
  overflow:hidden;
}
.property-results-page .results-workspace.view-map .map-property-popup.property-card{
  border-radius:0;
}

/* Keep the toolbar stable while live price/radius labels change. This prevents
   the price dropdown and neighbouring controls from jumping by a few pixels. */
.property-results-page .radius-control{flex:0 0 166px;min-width:166px}
.property-results-page .radius-control>.filter-select{width:166px;justify-content:space-between}
.property-results-page .price-control{flex:0 0 154px;min-width:154px}
.property-results-page .price-control>.filter-select{width:154px;justify-content:space-between;overflow:hidden}
.property-results-page .price-control [data-price-label]{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}
.property-results-page .all-filters-control{flex:0 0 132px;min-width:132px}
.property-results-page .all-filters-control>[data-all-filters-button]{width:132px;padding-left:14px;padding-right:12px;justify-content:center}
.property-results-page .sort-control{flex:0 0 188px;min-width:188px}
.property-results-page .sort-control>.filter-select{width:188px;max-width:188px;justify-content:space-between}
.property-results-page .filter-count-badge{
  width:18px;height:18px;flex:0 0 18px;margin:0!important;border-radius:9px;background:var(--red,#e01525);color:#fff;
  display:grid!important;place-items:center;font:700 10px/1 var(--sans);font-variant-numeric:tabular-nums
}
.property-results-page .filter-count-badge:empty{visibility:hidden}
.property-results-page .filter-select.filter-active{
  border-color:var(--red,#e01525)!important;
  box-shadow:0 0 0 1px var(--red,#e01525);
}

/* Map action now sits beside the address, rather than interrupting the property
   specification row. */
.property-results-page .property-address-line{display:flex;align-items:flex-start;gap:8px;min-width:0}
.property-results-page .property-address-line h3{flex:1;min-width:0;margin-bottom:8px}
.property-results-page .show-on-map-icon-button{
  flex:0 0 30px;width:30px;height:30px;margin:-4px 0 0!important;padding:0!important;border:1px solid #dededb!important;
  border-radius:50%!important;background:#fff!important;color:#555!important;display:grid!important;place-items:center!important
}
.property-results-page .show-on-map-icon-button:hover,.property-results-page .show-on-map-icon-button:focus{
  color:var(--red,#e01525)!important;border-color:var(--red,#e01525)!important;background:#fff!important
}
.property-results-page .show-on-map-icon-button .show-on-map-icon{width:14px;height:14px;margin:0!important}

/* More compact price markers leave more of the map readable. */
.property-results-page .cui-price-marker{
  min-width:50px;height:29px;padding:0 7px;border-radius:4px;font-size:11.5px;border-width:1.5px;
  box-shadow:0 2px 6px rgba(0,0,0,.32)
}

/* A Google-like hierarchy: map controls are mainly neutral, with colour used
   for meaning/state rather than painting every control red. */
.property-results-page .map-icon-tool{background:#fff!important;color:#34383d!important;border:1px solid rgba(0,0,0,.07)!important}
.property-results-page .map-icon-tool:hover,.property-results-page .map-icon-tool:focus{background:#f7f7f5!important;color:#111!important}
.property-results-page .draw-search{background:#fff!important;color:#34383d!important}
.property-results-page .draw-search.is-active{background:var(--red,#e01525)!important;color:#fff!important}
.property-results-page .clear-map-search{background:#fff!important;color:#5f6368!important}
.property-results-page .boundary-toggle{background:#fff!important;color:var(--red,#e01525)!important}
.property-results-page .boundary-toggle[data-state="hidden"]{background:#f0f0ed!important;color:#777!important}
.property-results-page .school-toggle{background:#fff!important;color:#3977a9!important}
.property-results-page .school-toggle.is-active{background:#3977a9!important;color:#fff!important}

/* Cluster colours deliberately differ from the search boundary. This recreates
   the old site's useful visual separation between search area and result density. */
.property-results-page .cui-property-cluster span{
  width:38px;height:38px;background:#f6c33b;color:#222;border:2px solid #fff;
  box-shadow:0 0 0 7px rgba(246,195,59,.20),0 3px 10px rgba(0,0,0,.28);font-size:12px
}
.property-results-page .cui-property-cluster.cluster-medium span{
  width:42px;height:42px;background:#f08a24;color:#fff;box-shadow:0 0 0 8px rgba(240,138,36,.18),0 3px 11px rgba(0,0,0,.3)
}
.property-results-page .cui-property-cluster.cluster-large span{
  width:46px;height:46px;background:var(--red,#e01525);color:#fff;box-shadow:0 0 0 9px rgba(224,21,37,.15),0 3px 12px rgba(0,0,0,.32)
}

/* Leaflet's default zoom control is moved to bottom-right in JS; keep enough
   clearance from attribution and the status pill. */
.property-results-page .leaflet-bottom.leaflet-right .leaflet-control-zoom{margin-right:14px;margin-bottom:44px}
.property-results-page .map-tabs{z-index:700!important}

/* School tooltips must sit above both property and school marker panes. */
.property-results-page .leaflet-school-tooltip-pane{z-index:920!important;pointer-events:none}
.property-results-page .leaflet-school-tooltip-pane .leaflet-tooltip{
  border:0;border-radius:7px;box-shadow:0 7px 22px rgba(0,0,0,.28);padding:8px 10px;font:500 12px/1.35 var(--sans)
}

/* The hidden-results notice needs breathing room before the next section/card. */
.property-results-page .hidden-results-notice{margin:8px 0 14px!important}

/* Table view: full-width summary within the left results column, no blank
   separator strip, and an exact clone of the standard list card. */
.property-results-page .view-table .table-pane{padding:0 12px 12px!important}
.property-results-page .view-table .table-results-controls{
  width:calc(100% + 24px);margin:0 -12px 12px!important;padding-left:12px;padding-right:12px;box-sizing:border-box
}
.property-results-page .table-intro{display:none!important}
.property-results-page .table-selected-card-host{margin:0 0 12px}
.property-results-page .table-selected-card-host>.property-card{margin:0;min-height:295px}
.property-results-page .table-selected-card-host .table-selected-clone{grid-template-columns:47% 53%}
.property-results-page .table-selected-card-actions{
  display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;padding:10px 10px 12px;border-top:1px solid #eee
}
.property-results-page .table-selected-card-actions button,
.property-results-page .table-selected-card-actions a{
  min-width:80px;padding:10px 18px;border-radius:5px;font:650 12px/1 var(--sans);text-decoration:none;text-align:center;cursor:pointer
}
.property-results-page .table-selected-card-actions button{border:0;background:var(--red,#e01525);color:#fff}
.property-results-page .table-selected-card-actions a{background:#111;color:#fff}
.property-results-page .table-selected-card-host .hide-property-button{display:none!important}
.property-results-page .results-table-wrap{margin-top:0!important}

@media(max-width:1180px){
  .property-results-page .radius-control{flex-basis:148px;min-width:148px}.property-results-page .radius-control>.filter-select{width:148px}
  .property-results-page .price-control{flex-basis:140px;min-width:140px}.property-results-page .price-control>.filter-select{width:140px}
  .property-results-page .sort-control{flex-basis:170px;min-width:170px}.property-results-page .sort-control>.filter-select{width:170px}
}
@media(max-width:980px){
  .property-results-page .radius-control,.property-results-page .price-control,.property-results-page .all-filters-control,.property-results-page .sort-control{flex:0 1 auto;min-width:0}
  .property-results-page .radius-control>.filter-select,.property-results-page .price-control>.filter-select,.property-results-page .sort-control>.filter-select{width:auto;max-width:170px}
  .property-results-page .all-filters-control>[data-all-filters-button]{width:auto}
  .property-results-page .table-selected-card-host .table-selected-clone{grid-template-columns:1fr}
}


/* v9.1 — keep property utility actions together on the photograph.
   Show on map now matches the Save/Share 34px roundels exactly. */
.property-results-page .image-card-tools .image-map-action{
  width:34px!important;
  height:34px!important;
  flex:0 0 34px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.94)!important;
  color:#111!important;
  display:grid!important;
  place-items:center!important;
  box-shadow:0 2px 8px rgba(0,0,0,.18)!important;
  backdrop-filter:blur(3px);
}
.property-results-page .image-card-tools .image-map-action:hover,
.property-results-page .image-card-tools .image-map-action:focus{
  background:#fff!important;
  color:var(--red,#e01525)!important;
  transform:translateY(-1px);
  outline:0;
}
.property-results-page .image-card-tools .image-map-action .show-on-map-icon{
  width:16px!important;
  height:16px!important;
  margin:0!important;
  transform:none!important;
}
.property-results-page .property-address-line h3{
  width:100%;
}

/* v9.2 — map pin glyph visually matches the heart/share icon scale. */
.property-results-page .image-card-tools .image-map-action .image-map-pin-icon{
  width:18px!important;
  height:18px!important;
  display:block!important;
  overflow:visible!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  margin:0!important;
}
.property-results-page .image-card-tools .image-map-action .image-map-pin-icon circle{
  fill:none!important;
}

/* v11.0 — category parity: residential lettings, commercial and overseas */
.property-results-page .status-commercial{background:#161616;color:#fff;text-transform:uppercase;letter-spacing:.06em}
.property-results-page .status-furnishing{background:#efede7;color:#222;box-shadow:none;border:1px solid rgba(0,0,0,.08)}
.property-results-page .commercial-floor-area{white-space:nowrap}
.property-results-page .commercial-floor-area b{font-weight:650}
.property-results-page .map-popup-badge-row{position:absolute;left:12px;bottom:8px;z-index:8;display:flex;align-items:center;gap:5px;max-width:calc(100% - 120px)}
.property-results-page .map-popup-badge-row .instruction-tag{position:static!important;left:auto!important;bottom:auto!important;margin:0!important}
.property-results-page .map-coordinate-note{position:absolute;left:50%;bottom:12px;z-index:715;transform:translateX(-50%);max-width:calc(100% - 110px);padding:7px 11px;border-radius:999px;background:rgba(25,25,25,.86);color:#fff;font:600 11px/1.25 var(--sans);text-align:center;pointer-events:none;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.property-results-page.category-rental .price-line h2{font-size:clamp(18px,1.55vw,24px)!important;letter-spacing:-.01em}
.property-results-page.category-commercial .property-type{font-weight:600;color:#666}
.property-results-page.category-commercial .property-specs{gap:14px}
.property-results-page.category-overseas .property-specs .distance{display:none!important}
@media(max-width:980px){.property-results-page .map-coordinate-note{bottom:52px;max-width:calc(100% - 40px)}}

/* v11.0 department selector: allow the full category names without squeezing
   the label or making the location field jump when switching departments. */
.property-results-page .sale-control>.sale-type{
  min-width:185px;
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
@media(max-width:980px){
  .property-results-page .sale-control>.sale-type{min-width:0}
}

/* v11.1 - compact toolbar + calmer filter department selector */
.property-results-page .modal-department-selector{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;padding:14px 16px;margin:0 0 22px;background:#f7f7f5;border:1px solid #e2e2de;border-radius:8px}
.property-results-page .modal-department-selector label{display:grid;gap:7px;min-width:min(430px,100%);font:600 13px/1.2 var(--sans);color:#222}
.property-results-page .modal-department-selector select{height:44px;width:100%;border:1px solid #cfcfcb;border-radius:6px;background:#fff;padding:0 38px 0 12px;font:500 14px var(--sans);color:#161616;cursor:pointer}
.property-results-page .modal-department-selector small{max-width:330px;color:#777;font:400 12px/1.45 var(--sans);text-align:right}
.property-results-page [data-modal-group][hidden],.property-results-page [data-modal-type-group][hidden],.property-results-page [data-modal-status-group][hidden]{display:none!important}

@media(max-width:1280px){
  .property-results-page .toolbar-row{gap:6px}
  .property-results-page .all-filters-control>.filter-select{width:46px;min-width:46px;padding:0;gap:0}
  .property-results-page .all-filters-control .filter-label,.property-results-page .all-filters-control .filter-chevron{display:none!important}
  .property-results-page .all-filters-control .filter-count-badge{position:absolute;top:-5px;right:-5px;margin:0}
  .property-results-page .all-filters-control{position:relative;flex:0 0 46px!important;min-width:46px!important}
  .property-results-page .sort-control{flex:0 0 46px!important;min-width:46px!important}
  .property-results-page .sort-control>.filter-select{width:46px!important;min-width:46px!important;max-width:46px!important;padding:0!important;justify-content:center!important;gap:0!important}
  .property-results-page .sort-control [data-sort-label],.property-results-page .sort-control .filter-chevron{display:none!important}
  .property-results-page .sort-control .sort-icon{margin:0!important;font-size:18px}
  .property-results-page .radius-control>.filter-select{width:138px}
  .property-results-page .price-control>.filter-select{width:132px}
}
@media(max-width:760px){
  .property-results-page .modal-department-selector{align-items:stretch;flex-direction:column;gap:8px}
  .property-results-page .modal-department-selector label{min-width:0}
  .property-results-page .modal-department-selector small{text-align:left;max-width:none}
}


/* v11.2 - compact category control and price fields */
.property-results-page .modal-department-selector{align-items:flex-end;justify-content:flex-start}
.property-results-page .modal-department-selector label{min-width:0;width:min(100%,360px)}
.property-results-page .modal-department-selector select{height:42px;min-height:42px;padding-top:0;padding-bottom:0;font-size:14px}
.property-results-page .modal-department-selector small{max-width:380px;margin:0 0 1px 4px;text-align:left}
.property-results-page .quick-filters-dialog .minmax input{height:42px!important;min-height:42px!important;padding-left:12px;padding-right:12px}
.property-results-page .price-menu .price-input-grid input{height:36px!important;min-height:36px!important;padding-top:0!important;padding-bottom:0!important}
@media(max-width:760px){
  .property-results-page .modal-department-selector label{width:100%}
  .property-results-page .modal-department-selector small{margin-left:0}
}

/* v11.5 - search/map category UX refinements */
.property-results-page .radius-control>.radius-filter{
  width:166px;
  min-width:166px;
  max-width:166px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding-left:18px;
  padding-right:16px;
}
.property-results-page .radius-control>.radius-filter [data-radius-label]{
  margin:0!important;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.property-results-page .radius-control>.radius-filter .filter-chevron{
  margin:0 1px 3px auto!important;
  flex:0 0 8px;
}
.property-results-page .map-school-panel .school-rating-filter{
  display:grid;
  gap:6px;
  padding:0 0 10px;
  margin:0 0 8px;
  border-bottom:1px solid #e4e4e1;
  font-weight:600;
}
.property-results-page .map-school-panel .school-rating-filter span{font-size:12px;color:#555}
.property-results-page .map-school-panel .school-rating-filter select{
  width:100%;
  height:36px;
  border:1px solid #d4d4d0;
  border-radius:6px;
  background:#fff;
  padding:0 30px 0 10px;
  font:500 12px/1 var(--sans);
  color:#222;
}
@media(max-width:1280px){
  .property-results-page .radius-control>.radius-filter{width:154px;min-width:154px;max-width:154px}
}


/* v11.16 — existing-data train-station map layer. This is display-only and
   deliberately separate from property spatial/search state. */
.property-results-page .station-toggle{background:#fff!important;color:#4d6478!important}
.property-results-page .station-toggle.is-active{background:#4d6478!important;color:#fff!important}
.property-results-page .cui-station-marker{background:transparent!important;border:0!important}
.property-results-page .station-marker-core{
  width:32px;height:32px;border-radius:50%;display:grid;place-items:center;
  background:#fff;color:#354b5e;border:3px solid #4d6478;box-shadow:0 2px 8px rgba(0,0,0,.28)
}
.property-results-page .station-marker-core svg{width:18px;height:18px;stroke-width:1.9}
.property-results-page .leaflet-pane.leaflet-stationMarkers-pane{z-index:745!important}
.property-results-page .leaflet-station-tooltip-pane{z-index:915!important;pointer-events:none}
.property-results-page .leaflet-station-tooltip-pane .leaflet-tooltip{
  border:0;border-radius:7px;box-shadow:0 7px 22px rgba(0,0,0,.28);padding:8px 10px;font:500 12px/1.35 var(--sans)
}


/* v11.22: Lighten the serif asking-price weight slightly from v11.21 while
   retaining the restored serif addresses and the existing qualifier spacing,
   supporting text hierarchy and map/chooser styling. */
.property-results-page .results-demo .property-card .price-line h2{
  min-width:0;
  font-family:var(--serif)!important;
  font-size:clamp(29px,2.24vw,32px)!important;
  font-weight:500!important;
  line-height:1.06!important;
  letter-spacing:-.022em;
  font-variant-numeric:lining-nums tabular-nums;
  overflow-wrap:normal;
}
.property-results-page .results-demo .property-card .price-line h2 .price-qualifier,
.property-results-page .map-property-popup [data-map-popup-price] .price-qualifier,
.property-results-page .map-property-preview [data-map-popup-price] .price-qualifier,
.property-results-page .cui-overlap-option-copy .price-qualifier{
  display:block;
  font:500 13px/1.2 var(--sans)!important;
  letter-spacing:0!important;
  color:#777;
  margin:0 0 1px;
}
.property-results-page .results-demo .property-card .price-line h2 .price-amount{
  display:block;
  font-family:var(--serif)!important;
  font-size:inherit;
  font-weight:500!important;
  line-height:1.06!important;
  letter-spacing:-.022em;
  white-space:normal;
}
.property-results-page .results-demo .property-card .property-type{
  font:400 15px/1.4 var(--sans);
  color:#777;
  margin-top:10px;
  margin-bottom:6px;
}
.property-results-page .results-demo .property-card .property-address-line h3{
  font-family:var(--serif)!important;
  font-size:24px!important;
  font-weight:500!important;
  line-height:1.12!important;
  letter-spacing:-.018em;
  color:#242424;
}
.property-results-page .results-demo .property-card .description{
  font-family:var(--sans);
  font-weight:400;
  color:#707070;
}
/* Compact rentals retain the mobile PCM-only value without the bulky heading. */
.property-results-page.category-rental .results-demo .property-card .price-line h2{
  font-size:clamp(24px,2vw,29px)!important;
}
/* Preserve the condensed property-card dimensions when advanced filters open. */
@media(min-width:901px){
  .property-results-page .results-demo.advanced-open .property-card .price-line h2{
    font-size:clamp(21px,1.55vw,25px)!important;
  }
  .property-results-page .results-demo.advanced-open .property-card .price-qualifier{
    font-size:11px!important;margin-bottom:1px;
  }
  .property-results-page .results-demo.advanced-open .property-card .property-type{
    font-size:12px;margin-top:7px;margin-bottom:3px;
  }
  .property-results-page .results-demo.advanced-open .property-card .property-address-line h3{
    font-size:19px!important;line-height:1.15!important;
  }
}
.property-results-page .cui-price-marker-wrap.cui-map-marker-selected .cui-price-marker{
  background:var(--red,#e01525);
  border-color:#fff;
  box-shadow:0 0 0 2px #fff,0 4px 13px rgba(0,0,0,.33);
}
.property-results-page .cui-property-cluster{cursor:pointer}
.property-results-page .cui-overlap-chooser[hidden]{display:none!important}
.property-results-page .cui-overlap-chooser{
  position:absolute;
  left:14px;
  bottom:54px;
  z-index:850;
  width:min(340px,calc(100% - 28px));
  max-height:min(420px,60%);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:#fff;
  border:1px solid #e6e6e4;
  border-radius:12px;
  box-shadow:0 12px 35px rgba(0,0,0,.25);
  font-family:var(--sans);
}
.property-results-page .cui-overlap-heading{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:11px 12px 10px 16px;
  border-bottom:1px solid #ececea;
}
.property-results-page .cui-overlap-heading strong{font:600 14px/1.35 var(--sans);color:#212121}
.property-results-page .cui-overlap-close{
  width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;
  background:#f4f4f3;border:0;border-radius:50%;color:#383838;
  font:400 25px/1 var(--sans);cursor:pointer;
}
.property-results-page .cui-overlap-close:focus-visible,
.property-results-page .cui-overlap-option:focus-visible{outline:2px solid var(--red,#e01525);outline-offset:-2px}
.property-results-page .cui-overlap-list{min-height:0;overflow-y:auto;overscroll-behavior:contain}
.property-results-page .cui-overlap-option{
  width:100%;display:flex;align-items:center;gap:11px;min-height:70px;
  padding:9px 13px;background:#fff;border:0;border-bottom:1px solid #f0f0ef;
  text-align:left;color:#222;font-family:var(--sans);cursor:pointer;
}
.property-results-page .cui-overlap-option:last-child{border-bottom:0}
.property-results-page .cui-overlap-option:hover,
.property-results-page .cui-overlap-option.is-selected{background:#fff5f5}
.property-results-page .cui-overlap-option img{
  width:63px;height:49px;flex:0 0 63px;object-fit:cover;border-radius:5px;background:#eee;
}
.property-results-page .cui-overlap-option-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}
.property-results-page .cui-overlap-option-copy strong{display:block;font:600 15px/1.2 var(--sans);letter-spacing:-.015em}
.property-results-page .cui-overlap-option-copy .price-amount{display:block;font-family:var(--sans);font-size:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit}
.property-results-page .cui-overlap-option-copy>span{
  display:block;font:400 12px/1.35 var(--sans);color:#666;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
/* Restore v11.17 compact sans-serif hierarchy in the grouped-property chooser only. */
.property-results-page .cui-overlap-option-copy .price-qualifier{font:500 11px/1.2 var(--sans)!important;margin-bottom:1px}
.property-results-page .cui-overlap-option-arrow{font:400 23px/1 var(--sans);color:#666}
@media(max-width:900px){
  .property-results-page .cui-overlap-chooser{
    left:10px;bottom:65px;width:min(335px,calc(100% - 20px));
    max-height:min(345px,46%);z-index:950;
  }
  .property-results-page .results-demo .property-card .price-line h2{font-size:29px!important}
  .property-results-page.category-rental .results-demo .property-card .price-line h2{font-size:clamp(24px,5.9vw,28px)!important;white-space:normal!important}
  .property-results-page .results-demo .property-card .property-address-line h3{font-size:21px!important;line-height:1.15!important}
  .property-results-page .results-demo .property-card .property-type{font-size:14px}
}
/* v11.24: Map interaction UI returns to compact Inter typography. Keep the
   v11.22 serif price/address styling on the main property results cards only.
   Match the specificity of the card-wide price rules so they do not bleed into
   the desktop map popup (which also carries the .property-card class). */
.property-results-page .results-demo .map-property-popup .map-popup-price-line h2{
  font-family:var(--sans)!important;
  font-size:25px!important;
  font-weight:600!important;
  line-height:1.12!important;
  letter-spacing:-.025em!important;
}
.property-results-page .results-demo .map-property-popup .map-popup-price-line h2 .price-amount{
  display:block;
  font-family:var(--sans)!important;
  font-size:inherit!important;
  font-weight:600!important;
  line-height:inherit!important;
  letter-spacing:inherit!important;
}
.property-results-page .map-property-popup .map-popup-copy>span{
  font-family:var(--sans);font-weight:400;color:#777;
}
.property-results-page .map-property-popup .map-popup-copy h3{
  font-family:var(--sans)!important;
  font-size:16px!important;
  font-weight:500!important;
  line-height:1.35!important;
  letter-spacing:-.012em!important;
}
@media(max-width:900px){
  /* Reuse the established mobile-ux.css dimensions (25px price, 15px address),
     rather than overriding them with the large serif card styles. */
  .property-results-page .map-property-preview .map-preview-price{
    font-family:var(--sans)!important;
  }
  .property-results-page .map-property-preview [data-map-popup-price] .price-amount{
    display:block;
    font-family:var(--sans)!important;
    font-size:inherit!important;
    font-weight:inherit!important;
    line-height:inherit!important;
    letter-spacing:inherit!important;
  }
  .property-results-page .map-property-preview .map-preview-address{
    font-family:var(--sans)!important;
  }
}
