/* Clear search labels and predictable navigation across screen sizes. */
@media(min-width:1200px){
 .desktop-nav{display:flex!important;align-items:center;gap:18px;margin:0 8px}
 .desktop-nav a{font-size:13px;white-space:nowrap;text-decoration:none}
 .desktop-nav a[href='/premium'],.desktop-nav a[href='/account']{display:none}
 .mobile-menu{display:none!important}
 .nav{max-width:1320px;margin:auto;gap:14px}
}
.search-panel .filters{align-items:start}
.search-panel .filters>div{padding-top:4px}
.search-panel .filters>div>label:not(.outdoor-choice){position:static;width:auto;height:auto;clip-path:none;overflow:visible;display:block;font-size:12px;font-weight:600;line-height:1.4;color:#41564c;margin:0 0 2px;white-space:normal}
.search-panel .filters .primary-search{align-self:end;margin-bottom:2px}
.search-field-icon{top:auto;bottom:14px;transform:none}
.search-radius{padding-left:12px!important}
.search-panel .filters .search-radius label{position:static}
.search-panel .filters .search-radius select{font-weight:500}
.search-panel .filters .search-radius input:not([hidden]){border:1px solid #b5c2b7!important;border-radius:5px;padding:6px}
.more-filters-body .search-outdoor{position:relative}
.more-filters-body .search-field-icon{display:none}
.more-filters-body .search-outdoor label{font-size:13px;display:block}
.more-filters-body .search-outdoor select{display:block;margin-top:7px}
.search-panel summary:focus-visible,.search-panel button:focus-visible,.desktop-nav a:focus-visible,.active-filters button:focus-visible{outline:3px solid #a37b37;outline-offset:3px}
.active-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.active-filters[hidden]{display:none}
.active-filters button{display:flex;align-items:center;gap:10px;border:1px solid #cbd6ca;background:#eef3eb;color:#203d2a;border-radius:20px;padding:9px 13px;font:inherit;font-size:13px;min-height:42px;cursor:pointer}
.active-filters button span:last-child{font-size:19px;line-height:1}
#resultPagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:18px;margin:28px 0}
#resultPagination:empty{display:none}
#resultPagination button{min-height:44px;padding:9px 20px;border:1px solid #a9bba9;border-radius:7px;background:#fffdf9;color:#203d2a;cursor:pointer;font:inherit}
#resultPagination button:disabled{opacity:.45;cursor:default}
@media(max-width:800px){
 .search-panel .filters>div{padding-top:8px}
 .search-panel .filters>div>label:not(.outdoor-choice){font-size:12px}
 .type-popover{left:auto;right:0;min-width:210px;max-width:calc(100vw - 52px)}
 .search-panel .search-radius{padding-left:12px!important}
 .active-filters{gap:6px}
 .results-header{gap:10px}
 .results-header .offer-heading{flex-basis:100%}
 .results-header .count{flex:1}
 .results-header .sort-control{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:12px}
 .sort-control select{min-height:42px}
 .hero-gold{color:#5a381c!important;text-shadow:0 1px 4px #fff9}
}
/* An opaque panel also keeps the mobile fixed price dialog tied to the viewport. */
.search-panel{backdrop-filter:none;background:#fffdf9}
a.brand{text-decoration:none}
#meldinginstellingen{border-top:1px solid #dedfd5;margin-top:20px;padding-top:16px;color:#193b45;font-size:14px;line-height:1.5}
#meldinginstellingen>summary{cursor:pointer;font-weight:600;min-height:44px;padding:8px 0}
#meldinginstellingen label{display:flex;align-items:flex-start;gap:10px;margin:14px 0;font-size:14px}
#meldinginstellingen input[type=checkbox]{width:19px;min-width:19px;height:19px;min-height:19px;flex:0 0 19px;margin:2px 0 0;padding:0;appearance:auto}
#meldinginstellingen button{min-height:44px;border:1px solid #b8c4b7;border-radius:7px;padding:9px 13px;margin:4px 5px 4px 0;background:#fffdf9;color:#203d2a;font:inherit;font-size:13px;cursor:pointer}
#meldinginstellingen #saveAlertsBtn{background:#294e38;color:#fff}
#meldinginstellingen button:disabled{opacity:.55;cursor:default}
#meldinginstellingen #alertMessage{font-size:13px;line-height:1.5}
#profileMessage:empty{display:none}
@media(max-width:600px){#meldinginstellingen{margin-top:16px}#meldinginstellingen button{max-width:100%}}
.map-section{border:1px solid #e3e5da;border-radius:16px;background:#fbfcf7;padding:18px 20px;margin:24px 0}
.map-top h2{font-family:'DM Sans',sans-serif;font-size:20px;font-weight:600}
#woningMap{height:500px;max-height:65vh;border-radius:12px;border:1px solid #d2dace;box-shadow:0 8px 24px #203d2a0d}
.map-price-marker{background:none;border:0}
.map-price-marker>span{display:block;background:#fffdf9;color:#203d2a;border:2px solid #315b41;border-radius:18px;padding:5px 9px;box-shadow:0 3px 10px #193b4533;font:600 12px/20px 'DM Sans',sans-serif;white-space:nowrap;text-align:center}
.map-price-marker:hover>span,.map-price-marker:focus>span{background:#203d2a;color:#fff;transform:translateY(-2px)}
.leaflet-popup-content{font-family:'DM Sans',sans-serif;line-height:1.6}.leaflet-popup-content a{display:block;margin-top:8px;color:#203d2a;font-weight:600}
@media(max-width:600px){.map-section{padding:15px 12px}#woningMap{height:380px;max-height:60vh}.map-price-marker>span{font-size:11px}}
.oauth-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.oauth-buttons[hidden]{display:none}.oauth-buttons button{flex:1;min-height:46px;border:1px solid #bbc6bc;border-radius:7px;background:#fff;color:#203d2a;font:inherit;padding:10px 15px;cursor:pointer}
.source-link-note{display:block;color:#5c685d;font-size:12px;line-height:1.5;margin-top:8px}

.map-group-marker span{background:var(--forest,#234d37);color:#fff}.map-result+.map-result{border-top:1px solid #e2e5dc;margin-top:10px;padding-top:10px}

.premium-workspace{max-width:1200px;margin:24px auto;padding:24px;border:1px solid #dfd5bb;border-radius:18px;background:#fffdf7}.premium-workspace h2{color:#244b36}.premium-workspace input{max-width:100%;padding:12px;border:1px solid #d9d3c7;border-radius:8px}.workspace-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:14px 0;border-bottom:1px solid #e7e2d8}.workspace-row strong{flex:1 1 200px}.workspace-row small{flex-basis:100%}.workspace-row button,.workspace-card-actions button,.premium-workspace>button{padding:9px 12px;min-height:44px;border:1px solid #c3b48e;background:#fff;border-radius:8px;color:#234b36}.workspace-card-actions{display:flex;gap:8px;flex-wrap:wrap;padding:12px 16px}.premium-workspace details{margin:16px 0}.premium-workspace summary{cursor:pointer;padding:10px 0;font-weight:600}@media(max-width:600px){.premium-workspace{margin:14px 10px;padding:16px}.workspace-card-actions button{flex:1 1 auto}.workspace-row button{flex-grow:1}}

.map-result-pages{display:flex;gap:10px;justify-content:space-between;margin-top:12px}.map-result-pages button{min-height:40px;padding:8px 14px}.map-result-pages button:disabled{opacity:.45}

/* Compact photo controls; retain touch targets and accessible action names. */
.card{position:relative}.image-wrap>.workspace-card-actions,.card>.workspace-card-actions{position:absolute;top:10px;right:10px;z-index:2;display:flex;flex-direction:column;gap:6px;padding:0}
.workspace-card-actions button.workspace-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;min-height:44px;padding:0;border:1px solid rgba(30,50,38,.15);border-radius:50%;background:rgba(255,255,255,.96);color:#294535;box-shadow:0 2px 7px #0002;cursor:pointer}
.workspace-icon svg{pointer-events:none}.workspace-icon[aria-pressed="true"]{color:#a73c46!important}.workspace-icon[aria-pressed="true"] svg{fill:currentColor}.workspace-icon:hover{background:#fff!important}.workspace-icon:focus-visible{outline:3px solid #294535;outline-offset:3px}

.workspace-match-pages{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:14px;margin:20px 0}.workspace-match-pages button{min-height:44px;padding:10px 18px;border:1px solid #b6c3b7;border-radius:8px;background:#fffdf9;color:#234b36;font:inherit;cursor:pointer}.workspace-match-pages button:disabled{opacity:.45;cursor:default}.workspace-match-pages button:focus-visible{outline:3px solid #294535;outline-offset:3px}


/* WoonRadar 4: Royal palette; preserve green as a supporting accent. */
:root{--wr-royal:#1034A6;--wr-navy:#142447;--wr-royal-green:#245C45;--wr-gold:#B49A58}
.search-panel .filters>div>label:not(.outdoor-choice){color:var(--wr-navy)}
.active-filters button{background:#eef1fc;border-color:#cbd5ef;color:var(--wr-navy)}
#resultPagination button,.map-result-pages button,.workspace-match-pages button{color:var(--wr-navy);border-color:#bdc9e2}
#meldinginstellingen{color:var(--wr-navy);border-color:#dbe1ee}
#meldinginstellingen button{color:var(--wr-navy);border-color:#bdc9e2}
#meldinginstellingen #saveAlertsBtn{background:var(--wr-royal);color:#fff}
.map-section{background:#f8f9fd;border-color:#dbe1ee}
#woningMap{border-color:#cbd5e9;box-shadow:0 8px 24px #14244712}
.map-price-marker>span{color:var(--wr-navy);border-color:var(--wr-royal)}
.map-price-marker:hover>span,.map-price-marker:focus>span{background:var(--wr-royal);color:#fff}
.leaflet-popup-content a{color:var(--wr-royal)}
.oauth-buttons button,.premium-workspace button{color:var(--wr-navy)}
.premium-workspace h2{color:var(--wr-navy)}
.workspace-card-actions button.workspace-icon{color:var(--wr-navy)}
.search-panel summary:focus-visible,.search-panel button:focus-visible{outline-color:var(--wr-gold)}


/* Calm mobile search: four essentials, progressive disclosure for the rest. */
@media(max-width:800px){
 .search-panel{border:0!important;box-shadow:none!important;background:transparent!important;padding:12px 0 18px!important;margin-bottom:18px!important;border-radius:0!important}
 .search-panel .filters{gap:10px!important}
 .search-panel .filters>.search-location,
 .search-panel .filters>.search-radius,
 .search-panel .filters>.search-type,
 .search-panel .filters>.search-rent{min-width:0!important}
 .search-panel .filters>.search-location{grid-column:1/-1}
 .search-panel .filters>.search-radius{grid-column:1/-1}
 .search-panel .filters>.search-type,.search-panel .filters>.search-rent{padding:10px!important}
 .search-panel .filters>div>label:not(.outdoor-choice){font-size:12px!important}
 .search-secondary{padding:0!important}
 .search-secondary .more-filters{margin:8px 0!important}
 .search-secondary .more-filters>summary{font-weight:600;min-height:44px;display:flex;align-items:center}
 .search-panel .active-filters{margin:8px 0!important}
 .search-panel .active-filters button{min-height:36px;padding:6px 11px}
 .search-panel .save-row,.search-panel .search-submit-row{margin-top:8px!important}
 .search-panel .primary-search{min-height:52px!important}
 .housing-results .card{border:0!important;box-shadow:none!important;border-radius:12px!important}
 .housing-results .card:hover{transform:none}
 .housing-results .grid{gap:16px!important}
}
@media(min-width:801px){
 .housing-results .card{border-color:transparent;box-shadow:0 4px 20px rgba(20,36,71,.045)}
}

/* Map polish: deep royal blue Levia counts and quiet, legible mandatory attribution. */
#woningMap .map-group-marker>span,
#woningMap .map-price-marker.map-group-marker>span{
 background:#102F86!important;color:#fff!important;border:2px solid #fff!important;
 border-radius:999px!important;min-width:40px;min-height:40px;
 display:flex;align-items:center;justify-content:center;
 box-shadow:0 3px 12px rgba(20,36,71,.2)!important;
}
#woningMap .map-group-marker:hover>span{background:#0C223A!important}
#woningMap .leaflet-control-attribution{
 background:rgba(248,247,243,.90)!important;
 color:#526078!important;
 font:11px/1.4 'DM Sans',sans-serif!important;
 padding:3px 6px!important;
 border-radius:7px 0 0 0!important;
 box-shadow:none!important;
 max-width:80%;
}
#woningMap .leaflet-control-attribution a{color:#344b7b!important;text-decoration:none!important}
#woningMap .leaflet-control-attribution a:hover{text-decoration:underline!important}

/* Unified, progressive filter panel — simple on desktop and mobile. */
.search-secondary .more-filters.all-filters{position:relative;flex:1 1 100%;order:0;min-width:0;margin:0!important}
.search-secondary .more-filters.all-filters>summary{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:9px 14px;border:1px solid #d5ddeb;border-radius:10px;background:#fffdf9;color:#142447;font-weight:650;cursor:pointer;list-style:none}
.search-secondary .more-filters.all-filters>summary::-webkit-details-marker{display:none}
.search-secondary .more-filters.all-filters[open]>summary{border-color:#1034A6;color:#1034A6}
.search-secondary .more-filters.all-filters>.quick-filters{display:none!important}
.search-secondary .more-filters.all-filters[open]>.quick-filters{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;overflow:visible!important;flex-basis:auto!important;margin-top:12px;padding:16px;border:1px solid #e1e5ed;border-radius:12px;background:#fffdf9}
.search-secondary .more-filters.all-filters>.extra-filters{display:none!important}
.search-secondary .more-filters.all-filters[open]>.extra-filters{display:block!important;position:static!important;min-width:0!important;box-shadow:none!important;background:transparent!important;border:0!important;padding:8px 2px!important;margin:0!important}
.search-secondary .more-filters.all-filters>.search-submit-row{display:none!important}
.search-secondary .more-filters.all-filters[open]>.search-submit-row{display:flex!important;margin:4px 0 0!important;justify-content:flex-start}
.search-secondary .more-filters.all-filters .quick-filters>div{display:flex!important;flex-direction:column;align-items:stretch;gap:5px;max-width:none!important;width:100%;padding:10px 12px;border:1px solid #e2e6ef;border-radius:9px;background:#fff}
.search-secondary .more-filters.all-filters .quick-filters label{display:block;font-size:12px!important;white-space:normal}
.search-secondary .more-filters.all-filters .quick-filters input,
.search-secondary .more-filters.all-filters .quick-filters select{width:100%;max-width:none!important;min-height:42px;font-size:15px!important;padding:5px 2px}
.search-secondary .more-filters.all-filters .quick-filters .outdoor-choice{display:block}
.search-secondary .more-filters.all-filters .quick-filters .outdoor-choice select{margin-top:4px}
.search-secondary .more-filters.all-filters .quick-filters #minSurface{width:100%}
@media(max-width:800px){
 .search-secondary .more-filters.all-filters[open]>.quick-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;gap:8px}
 .search-secondary .more-filters.all-filters .quick-filters>div{min-width:0;padding:9px!important}
}
@media(max-width:480px){
 .search-secondary .more-filters.all-filters[open]>.quick-filters{grid-template-columns:1fr}
 .search-secondary .more-filters.all-filters .quick-filters>div{grid-column:auto!important}
}

/* Small, discoverable new-home and alert controls beside results. */
.housing-results .new-only-toggle{grid-column:1;grid-row:3;display:inline-flex;align-items:center;gap:8px;cursor:pointer;font:600 13px 'DM Sans',sans-serif;color:#142447;min-height:44px}
.housing-results .new-only-toggle input{width:18px;height:18px;accent-color:#1034A6}
.housing-results .new-only-toggle span{font-weight:400;color:#53657a}
.housing-results .results-alert-link{grid-column:2/5;grid-row:3;justify-self:end;display:inline-flex;align-items:center;min-height:44px;color:#1034A6;font:600 13px 'DM Sans',sans-serif;text-decoration:none}
.housing-results .results-alert-link:hover{text-decoration:underline}
@media(max-width:800px){
 .housing-results .new-only-toggle{grid-column:1;grid-row:4;font-size:12px}
 .housing-results .results-alert-link{grid-column:2;grid-row:4;font-size:12px}
}

/* Desktop: restrained editorial search, less visual noise than a marketplace. */
@media(min-width:801px){
 .search-panel{max-width:1200px;margin-inline:auto;border-color:#e5e8ed!important;box-shadow:0 7px 32px rgba(20,36,71,.045)!important}
 .search-panel .filters{gap:12px!important;align-items:end}
 .search-panel .filters>div{min-width:0}
 .search-panel .filters>div>label:not(.outdoor-choice){font-weight:600;color:#142447}
 .search-secondary{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding-top:8px!important}
 .search-secondary .more-filters.all-filters{flex:0 0 auto;order:0}
 .search-secondary .more-filters.all-filters[open]{flex:1 1 100%}
 .search-secondary .more-filters.all-filters[open]>.quick-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
 .housing-results .results-header{align-items:center;gap:12px}
 .housing-results .results-header .offer-heading{margin-right:auto}
 .housing-results .results-header .new-only-toggle{grid-column:auto;grid-row:auto;white-space:nowrap}
 .housing-results .results-header .results-alert-link{grid-column:auto;grid-row:auto;justify-self:auto;white-space:nowrap}
 .housing-results .results-header .sort-control{position:static!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important}
 .housing-results .grid{gap:22px}
 .housing-results .card{box-shadow:0 5px 24px rgba(20,36,71,.045)!important;border:1px solid #e9e9e5!important}
}
@media(max-width:800px){
 .housing-results .results-header .new-only-toggle,
 .housing-results .results-header .results-alert-link{grid-column:auto!important;grid-row:auto!important;justify-self:start}
 .housing-results .results-header .new-only-toggle{margin-right:auto}
 .housing-results .results-header .results-alert-link{margin-left:auto}
}

/* Screenshot follow-up: reduce mobile filter height and make disclosure obvious. */
@media(max-width:800px){
 .search-panel .filters{gap:8px!important}
 .search-panel .filters>.search-location,
 .search-panel .filters>.search-radius,
 .search-panel .filters>.search-type,
 .search-panel .filters>.search-rent{padding:9px 12px!important;border-radius:12px!important;min-height:0!important}
 .search-panel .filters>.search-location input,
 .search-panel .filters>.search-radius select,
 .search-panel .filters>.search-type select,
 .search-panel .filters>.search-rent select{min-height:44px!important;height:auto!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important;white-space:nowrap;text-overflow:ellipsis}
 .search-panel .filters>.search-type,.search-panel .filters>.search-rent{min-width:0!important;overflow:hidden}
 .search-secondary .more-filters.all-filters>summary{width:100%;box-sizing:border-box;justify-content:space-between;background:#fff!important}
 .search-secondary .more-filters.all-filters>summary::after{content:'+';font-size:20px;font-weight:400}
 .search-secondary .more-filters.all-filters[open]>summary::after{content:'−'}
 .search-secondary .more-filters.all-filters[open]>.quick-filters{border:0;background:transparent;padding:8px 0}
 .search-secondary .more-filters.all-filters .quick-filters>div{background:#fff;border:1px solid #e4e7ec}
 .search-panel .primary-search{min-height:48px!important}
 .search-panel .save-row{gap:8px}
}

/* A calm save-search action, followed by optional notification settings. */
.search-panel .save-row{display:flex;justify-content:flex-start;align-items:center;margin-top:12px}
.search-panel #saveProfileBtn:not([hidden]){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;border:1px solid #1034A6;border-radius:11px;background:#fff;color:#1034A6;font:650 14px 'DM Sans',sans-serif;box-shadow:none}
.search-panel #saveProfileBtn:not([hidden]):hover{background:#eef1fc}
.save-search-prompt{max-width:min(390px,calc(100vw - 32px));padding:20px;border:1px solid #dce3ef;border-radius:16px;background:#fffdf9;box-shadow:0 12px 38px rgba(20,36,71,.12);color:#142447}
.save-search-prompt h2{font-family:'Cormorant Garamond',serif;font-size:26px;line-height:1.15;margin:0 0 8px;color:#142447}
.save-search-prompt p{font:400 14px/1.5 'DM Sans',sans-serif;margin:0 0 16px;color:#536078}
.save-search-prompt button{min-height:44px;border-radius:10px;font:600 14px 'DM Sans',sans-serif}
.save-search-prompt button:first-of-type{background:#1034A6;color:white;border:1px solid #1034A6;padding:10px 16px}
.save-search-prompt button:last-of-type{background:transparent;color:#536078;border:0;padding:10px 12px}
@media(max-width:800px){.search-panel #saveProfileBtn:not([hidden]){width:100%}.save-search-prompt{left:16px;right:16px;bottom:16px;max-width:none}}


/* 2026-10-24 mobile usability fix: keep advanced controls genuinely collapsed. */
@media(max-width:800px){
 .search-panel{padding:12px!important;margin-top:0!important}
 .search-panel .filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;align-items:stretch!important}
 .search-panel .filters>.search-location{grid-column:1 / -1!important}
 .search-panel .filters>.search-radius{grid-column:1!important}
 .search-panel .filters>.search-type{grid-column:2!important}
 .search-panel .filters>.search-rent{grid-column:1 / -1!important}
 .search-panel .filters>.search-location,.search-panel .filters>.search-radius,.search-panel .filters>.search-type,.search-panel .filters>.search-rent{width:auto!important;min-width:0!important;min-height:0!important;height:auto!important;overflow:visible!important;padding:9px 12px!important;box-sizing:border-box!important;border-radius:10px!important}
 .search-panel .filters>div>label{font-size:12px!important;margin:0 0 2px!important;line-height:1.3!important}
 .search-panel .filters input,.search-panel .filters select,.search-panel .filters .mobile-native-type{font-size:16px!important;min-height:40px!important;height:40px!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:4px 6px!important;box-sizing:border-box!important;text-overflow:ellipsis!important}
 .search-panel .filters .search-type .mobile-native-type{display:block!important}
 .search-panel .filters .search-type .type-picker{display:none!important}
 .search-panel .search-secondary{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;margin-top:10px!important}
 .search-panel .search-secondary>.more-filters{display:block!important;order:0!important;position:static!important;width:100%!important;flex:0 0 auto!important;margin:0!important}
 .search-panel .search-secondary>.more-filters>summary{display:flex!important;width:100%!important;min-height:44px!important;box-sizing:border-box!important;justify-content:space-between!important;padding:10px 14px!important;border:1px solid #d8dce3!important;border-radius:10px!important;background:#fff!important;color:#142447!important;font-size:14px!important}
 .search-panel .search-secondary>.more-filters:not([open]) .quick-filters,
 .search-panel .search-secondary>.more-filters:not([open]) .extra-filters,
 .search-panel .search-secondary>.more-filters:not([open]) .more-filters-body,
 .search-panel .search-secondary>.more-filters:not([open]) .search-submit-row{display:none!important}
 .search-panel .search-secondary>.more-filters[open] .quick-filters{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;overflow:visible!important}
 .search-panel .search-secondary>.more-filters[open] .extra-filters{display:flex!important;position:static!important;flex-wrap:wrap!important}
 .search-panel .search-secondary>.save-row{order:1!important;margin:0!important;width:100%!important}
 .search-panel .search-secondary>.search-submit-row{order:2!important;margin:0!important;width:100%!important}
 .search-panel .search-secondary>.primary-search{order:3!important;width:100%!important;min-height:48px!important;margin:0!important}
 .search-panel #saveProfileBtn:not([hidden]){min-height:44px!important;width:100%!important}
 .search-panel .search-secondary>.search-submit-row .reset-filters-button{min-height:36px!important;padding:4px 8px!important}
}

/* Hard mobile layout guard: native HTML disclosure remains closed by default. */
@media(max-width:800px){
 .search-panel .search-secondary>.more-filters.all-filters:not([open])>.quick-filters,
 .search-panel .search-secondary>.more-filters.all-filters:not([open])>.extra-filters,
 .search-panel .search-secondary>.more-filters.all-filters:not([open])>.search-submit-row{display:none!important}
 .search-panel .search-secondary>.more-filters.all-filters[open]>.quick-filters{display:grid!important}
 .search-panel .filters>.search-rent .price-picker{width:100%!important;min-width:0!important}
 .search-panel .filters>.search-rent .price-picker>summary{display:flex!important;align-items:center!important;min-height:40px!important;white-space:nowrap!important}
 .search-panel .filters>.search-rent .price-popover{position:static!important;display:none!important;max-width:100%!important;box-sizing:border-box!important}
 .search-panel .filters>.search-rent .price-picker[open]>.price-popover{display:block!important}
 .search-panel .filters>.search-type .mobile-native-type{overflow:hidden!important;text-overflow:ellipsis!important}
 .search-panel .filters>.search-location input{font-size:16px!important}
 .search-panel .filters>.search-radius select{font-size:16px!important}
}

/* Mobile-first compact marketplace search; independent of legacy layout scripts. */
@media(max-width:800px){
 .search-panel .quick-filters,.search-panel .extra-filters{display:none!important}
 .search-panel .more-filters[open] .quick-filters{display:grid!important;grid-template-columns:1fr!important}
 .search-panel .more-filters[open] .extra-filters{display:flex!important}
 .search-panel .more-filters:not([open]) .more-filters-body{display:none!important}
 .search-panel .filters>.search-location,.search-panel .filters>.search-radius,.search-panel .filters>.search-type,.search-panel .filters>.search-rent{padding:6px 10px!important;border:1px solid #e1e3e6!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important}
 .search-panel .filters>div>label{font-size:11px!important;font-weight:600!important}
 .search-panel .filters>.search-location input,.search-panel .filters>.search-radius select,.search-panel .filters>.search-type select,.search-panel .filters>.search-rent summary{height:34px!important;min-height:34px!important;padding:3px 4px!important;font-size:14px!important;line-height:26px!important}
 .search-panel .search-secondary>.save-row{display:none!important}
 .search-panel .search-secondary>.search-submit-row{display:none!important}
 .search-panel .search-secondary>.more-filters>summary{min-height:40px!important;text-decoration:none!important;font-weight:600!important}
 .search-panel .search-secondary>.primary-search{min-height:44px!important}
 .search-panel .filters>.search-type .mobile-native-type{font-size:13px!important;padding-right:20px!important}
 .search-panel .filters>.search-rent .price-picker>summary{min-height:34px!important;height:34px!important}
}

@media(max-width:800px){.search-panel .more-filters:not([open])>.save-row{display:none!important}.search-panel .more-filters[open]>.save-row{display:flex!important;margin-top:8px!important}}

/* Navigation: mobile language selection lives only in the menu. */
@media(max-width:800px){
 .wr-header .wr-nav>.wr-language{display:none!important}
 .wr-header .mobile-menu nav [data-language-picker]{display:block!important;width:100%!important;min-height:40px!important;margin-top:6px!important;border:1px solid #d9dce3!important;border-radius:8px!important;padding:7px 10px!important;background:#fff!important;color:#142447!important;font-size:14px!important}
 .wr-header .wr-nav{gap:8px!important}
 .wr-header .wr-account{padding:8px!important;font-size:13px!important}
 .wr-header .wr-brand{min-width:0!important}
 .wr-header .wr-brand span{min-width:0!important}
 /* Filters should read like controls, not large cards. */
 .search-panel .filters>.search-location,.search-panel .filters>.search-radius,.search-panel .filters>.search-type,.search-panel .filters>.search-rent{padding:5px 9px!important}
 .search-panel .filters>div>label{margin-bottom:0!important}
 .search-panel .filters>.search-location input,.search-panel .filters>.search-radius select,.search-panel .filters>.search-type select,.search-panel .filters>.search-rent .price-picker>summary{height:32px!important;min-height:32px!important}
}

/* Correct the advanced filter visibility: only hide when disclosure is closed. */
@media(max-width:800px){
 .search-panel .search-secondary>.more-filters[open]>.quick-filters,
 .search-panel .search-secondary>.more-filters.all-filters[open]>.quick-filters,
 .search-panel .more-filters[open] .quick-filters{display:grid!important;grid-template-columns:1fr!important;visibility:visible!important}
 .search-panel .search-secondary>.more-filters[open]>.extra-filters,
 .search-panel .search-secondary>.more-filters.all-filters[open]>.extra-filters,
 .search-panel .more-filters[open] .extra-filters{display:flex!important;visibility:visible!important}
 .search-panel .more-filters[open]>.save-row{display:flex!important}
 /* Remove the redundant inner box around the native housing-type selector. */
 .search-panel .filters>.search-type .mobile-native-type{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline-offset:2px!important;padding:0 20px 0 0!important;height:32px!important;min-height:32px!important}
}

/* Calm, compact result toolbar: no isolated oversized controls. */
@media(max-width:800px){
 .housing-results .results-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;column-gap:10px!important;row-gap:8px!important;margin-bottom:14px!important}
 .housing-results .results-header .offer-heading{grid-column:1!important;grid-row:1!important;font-size:clamp(23px,6vw,30px)!important;line-height:1.15!important;margin:0!important}
 .housing-results .results-header .count{grid-column:1!important;grid-row:2!important;margin:0!important;font-size:13px!important;color:#5a6571!important}
 .housing-results .results-header .results-views{grid-column:2!important;grid-row:1/3!important;display:flex!important;gap:3px!important;align-self:center!important}
 .housing-results .results-header .results-views button{min-height:36px!important;padding:6px 10px!important;font-size:12px!important;border-radius:8px!important}
 .housing-results .results-header .sort-control{grid-column:1/3!important;grid-row:3!important;display:flex!important;gap:10px!important;align-items:center!important;width:100%!important;min-width:0!important;font-size:12px!important;min-height:38px!important}
 .housing-results .results-header .sort-control select{flex:1!important;min-width:0!important;max-width:none!important;height:38px!important;min-height:38px!important;font-size:14px!important;padding:5px 10px!important}
 .housing-results .results-header .new-only-toggle{grid-column:1!important;grid-row:4!important;min-height:36px!important;font-size:12px!important;gap:7px!important;margin:0!important;white-space:nowrap!important}
 .housing-results .results-header .new-only-toggle input{width:16px!important;height:16px!important}
 .housing-results .results-header .results-alert-link{grid-column:2!important;grid-row:4!important;min-height:36px!important;font-size:12px!important;white-space:nowrap!important;margin:0!important;justify-self:end!important}
 .housing-results .results-header .refresh{grid-column:2!important;grid-row:3!important;justify-self:end!important;position:relative!important;z-index:1!important;min-width:30px!important;width:30px!important;height:30px!important;font-size:16px!important;border:0!important;background:transparent!important;padding:0!important}
 .housing-results .results-header .sort-control select{padding-right:35px!important}
 .search-panel .more-filters[open] .quick-filters{display:grid!important}
 .search-panel .more-filters[open] .extra-filters{display:flex!important}
}

@media(max-width:800px){.housing-results .results-header .refresh{display:none!important}}

/* Advanced disclosure: support BOTH original nested markup and JS-relocated controls. */
@media(max-width:800px){
 .search-panel details.more-filters[open]>.more-filters-body,
 .search-panel details.more-filters[open] .more-filters-body{display:block!important;visibility:visible!important;height:auto!important;max-height:none!important;overflow:visible!important}
 .search-panel details.more-filters[open]>.more-filters-body>.quick-filters,
 .search-panel details.more-filters[open]>.quick-filters,
 .search-panel details.more-filters[open] .more-filters-body .quick-filters{display:grid!important;visibility:visible!important;opacity:1!important;height:auto!important;max-height:none!important;overflow:visible!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
 .search-panel details.more-filters[open]>.extra-filters{display:flex!important;visibility:visible!important}
 .search-panel details.more-filters[open]>.more-filters-body .advanced-field,
 .search-panel details.more-filters[open]>.quick-filters .advanced-field,
 .search-panel details.more-filters[open] .search-outdoor{visibility:visible!important;opacity:1!important}
 .search-panel details.more-filters[open] .advanced-field[hidden]{display:none!important}
 .search-panel details.more-filters[open] .quick-filters .advanced-field:not([hidden]){display:block!important}
}

/* Simplified advanced filter chips and reliable one-tap rent dropdown. */
@media(max-width:800px){
 .search-panel .search-rent{cursor:pointer!important}
 .search-panel .search-rent .price-picker>summary{cursor:pointer!important;list-style:none!important}
 .search-panel .search-rent .price-picker>summary::-webkit-details-marker{display:none!important}
 .search-panel .search-rent .price-picker[open]>.price-popover{display:grid!important;visibility:visible!important;opacity:1!important;height:auto!important;max-height:none!important;overflow:visible!important;position:relative!important;z-index:8!important;pointer-events:auto!important}
 .search-panel .more-filters .quick-filters>div::after,
 .search-panel .more-filters .quick-filters>div::before,
 .search-panel .more-filters .quick-filters .outdoor-choice::after,
 .search-panel .more-filters .quick-filters .advanced-field>label::after{content:none!important;display:none!important}
 .search-panel .more-filters .quick-filters select{background-image:none!important}
 .search-panel .more-filters .quick-filters>div{cursor:pointer!important}
}

/* Mobile: remove tiny decorative chevrons from filter tiles. */
@media(max-width:800px){
 .search-panel .more-filters .quick-filters>div{position:relative!important}
 .search-panel .more-filters .quick-filters>div::before,
 .search-panel .more-filters .quick-filters>div::after,
 .search-panel .more-filters .quick-filters>div>label::before,
 .search-panel .more-filters .quick-filters>div>label::after{content:none!important;background-image:none!important}
 .search-panel .more-filters .quick-filters>div>label{background-image:none!important}
 .search-panel .more-filters .quick-filters>div>label .chevron,
 .search-panel .more-filters .quick-filters>div>.chevron{display:none!important}
 .wr-header .mobile-menu nav label:has([data-language-picker]){font-size:0!important}
 .wr-header .mobile-menu nav label:has([data-language-picker]) select{font-size:14px!important}
}

/* Mobile rent: anchored compact dropdown, never an expanding empty search tile. */
@media(max-width:800px){
 .search-panel .filters>.search-rent{position:relative!important;align-self:start!important;min-height:76px!important;height:auto!important;overflow:visible!important}
 .search-panel .search-rent .price-picker{position:static!important;min-height:0!important;height:auto!important}
 .search-panel .search-rent .price-picker>summary{min-height:36px!important;height:36px!important}
 .search-panel .search-rent .price-picker:not([open])>.price-popover{display:none!important}
 .search-panel .search-rent .price-picker[open]>.price-popover{
   position:absolute!important;top:calc(100% + 6px)!important;left:0!important;right:auto!important;
   display:block!important;width:min(100%,420px)!important;max-width:calc(100vw - 36px)!important;
   min-width:0!important;height:auto!important;min-height:0!important;max-height:min(70vh,470px)!important;
   overflow-y:auto!important;margin:0!important;padding:14px!important;box-sizing:border-box!important;
   background:#fffdf9!important;border:1px solid #d9ddd9!important;border-radius:12px!important;
   box-shadow:0 10px 26px rgba(18,39,54,.16)!important;z-index:90!important;
 }
 .search-panel .search-rent .price-popover label{margin:0 0 4px!important;font-size:13px!important}
 .search-panel .search-rent .price-popover select,
 .search-panel .search-rent .price-popover input:not([hidden]){
   height:42px!important;min-height:42px!important;margin:0 0 12px!important;padding:7px 10px!important;
   border-radius:8px!important;background:#fff!important;
 }
 .search-panel .search-rent .price-popover button{min-height:42px!important;border-radius:8px!important;margin-top:2px!important}
 .search-panel .search-rent .price-popover [hidden]{display:none!important}
}

/* Consistent search controls: quiet disclosure and matching native filter fields. */
.search-panel .more-filters.all-filters>summary{
 display:inline-flex!important;align-items:center!important;gap:9px!important;
 width:auto!important;min-height:40px!important;padding:8px 12px!important;
 border:1px solid #d9dfdc!important;border-radius:10px!important;
 background:#fff!important;color:#17384b!important;
 font:500 14px/1.4 "DM Sans",sans-serif!important;
 box-shadow:none!important;text-decoration:none!important;list-style:none!important;
 transition:border-color .15s,background .15s!important;
}
.search-panel .more-filters.all-filters>summary::-webkit-details-marker{display:none!important}
.search-panel .more-filters.all-filters>summary::before{
 content:""!important;display:inline-block!important;width:14px!important;height:14px!important;
 background:linear-gradient(#48616d,#48616d) 0 2px/14px 2px no-repeat,
 linear-gradient(#48616d,#48616d) 0 7px/14px 2px no-repeat,
 linear-gradient(#48616d,#48616d) 0 12px/14px 2px no-repeat!important;
 opacity:.85!important;
}
.search-panel .more-filters.all-filters>summary::after{
 content:"⌄"!important;display:inline-block!important;font-size:16px!important;
 transform:rotate(0);transition:transform .15s!important;margin-left:2px!important;
}
.search-panel .more-filters.all-filters[open]>summary::after{transform:rotate(180deg)!important}
.search-panel .more-filters.all-filters>summary:hover{background:#f7f9f7!important;border-color:#b7c8c1!important}
.search-panel .more-filters.all-filters:not([open])>.quick-filters,
.search-panel .more-filters.all-filters:not([open])>.extra-filters,
.search-panel .more-filters.all-filters:not([open])>.more-filters-body{display:none!important}
@media(max-width:800px){
 .search-panel .more-filters.all-filters>summary{margin:2px 0 4px!important}
 .search-panel .more-filters.all-filters[open] .quick-filters{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;
   padding:12px 0 6px!important;
 }
 .search-panel .more-filters.all-filters .quick-filters>.search-outdoor,
 .search-panel .more-filters.all-filters .quick-filters>.advanced-field:not([hidden]){
   display:flex!important;flex-direction:column!important;justify-content:center!important;
   min-width:0!important;min-height:76px!important;
   padding:9px 12px!important;border:1px solid #dfe3e6!important;
   border-radius:11px!important;background:#fff!important;box-sizing:border-box!important;
 }
 .search-panel .more-filters.all-filters .quick-filters label{
   color:#25374a!important;font-size:13px!important;font-weight:500!important;
   margin:0 0 5px!important;line-height:1.3!important;
 }
 .search-panel .more-filters.all-filters .quick-filters select,
 .search-panel .more-filters.all-filters .quick-filters input:not([type=checkbox]){
   display:block!important;width:100%!important;max-width:100%!important;
   height:35px!important;min-height:35px!important;
   border:0!important;border-radius:0!important;background:transparent!important;
   box-shadow:none!important;padding:2px 18px 2px 0!important;
   color:#183c45!important;font-size:16px!important;font-weight:400!important;
   outline-offset:2px!important;
 }
 .search-panel .more-filters.all-filters .quick-filters select{appearance:auto!important}
 .search-panel .more-filters.all-filters .quick-filters .search-field-icon{display:none!important}
}
@media(max-width:370px){
 .search-panel .more-filters.all-filters[open] .quick-filters{grid-template-columns:1fr!important}
}

/* 2026-10-24: mobile-first price editor, no floating modal or empty tall tile. */
@media(max-width:800px){
 .search-panel .filters>.search-rent{height:auto!important;min-height:78px!important;max-height:none!important;display:block!important;position:relative!important;overflow:visible!important}
 .search-panel .search-rent .price-picker{height:auto!important;min-height:0!important;display:block!important}
 .search-panel .search-rent .price-picker>summary{height:36px!important;min-height:36px!important;display:flex!important;align-items:center!important;padding:0!important}
 .search-panel .search-rent .price-picker>summary::after{content:none!important;display:none!important}
 .search-panel .search-rent .price-picker[open]>.price-popover{
  position:static!important;inset:auto!important;top:auto!important;left:auto!important;right:auto!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:8px!important;align-items:end!important;height:auto!important;min-height:0!important;max-height:none!important;
  padding:12px 0 0!important;margin:0!important;border:0!important;border-top:1px solid #e4e7e4!important;
  border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;
 }
 .search-panel .search-rent .price-popover>div{min-width:0!important}
 .search-panel .search-rent .price-popover>div{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  justify-content:flex-start!important;gap:4px!important;min-width:0!important;
 }
 .search-panel .search-rent .price-popover>div>label{margin:0!important;line-height:1.4!important}
 .search-panel .search-rent .price-popover>div>select{
  box-sizing:border-box!important;min-width:0!important;width:100%!important;
  height:44px!important;min-height:44px!important;margin:0!important;
 }
 .search-panel .search-rent .price-popover #rentPreset,
 .search-panel .search-rent .price-popover>button{display:none!important}
 .search-panel .search-rent .price-popover select{font-size:14px!important;min-width:0!important;width:100%!important;padding:7px 3px!important;appearance:none!important;background-image:none!important}
 .search-panel .search-rent .price-popover label{font-size:12px!important;margin-bottom:3px!important}
 .search-panel .more-filters.all-filters .quick-filters select{appearance:none!important;background-image:none!important;padding-right:0!important}
 .search-panel .more-filters.all-filters .quick-filters select::-ms-expand{display:none!important}
 .search-panel .more-filters.all-filters .quick-filters .search-outdoor::after,
 .search-panel .more-filters.all-filters .quick-filters .advanced-field::after,
 .search-panel .more-filters.all-filters .quick-filters label::after{content:none!important;display:none!important}
}

/* Clean selection tiles: the text is the affordance, not repeated chevrons. */
@media(max-width:800px){
 .search-panel .search-radius select,
 .search-panel .search-type select,
 .search-panel .mobile-native-type,
 .search-panel .mobile-native-radius,
 .search-panel .quick-filters select{
  -webkit-appearance:none!important;appearance:none!important;
  background-image:none!important;
 }
 .search-panel .search-radius select::-ms-expand,
 .search-panel .search-type select::-ms-expand{display:none!important}
 .search-panel .search-radius::after,
 .search-panel .search-type::after,
 .search-panel .search-rent::after,
 .search-panel .quick-filters>.advanced-field::before,
 .search-panel .quick-filters>.search-outdoor::before{content:none!important}
 .search-panel .price-picker>summary::after,
 .search-panel .more-filters .quick-filters select+span{display:none!important}
}

/* Minimal filter tiles: no decorative dropdown arrows, including legacy
   quick-filter-picker details created by the page scripts. */
.search-panel .quick-filter-picker>summary::after,
.search-panel .quick-filter-picker>summary::before,
.search-panel .quick-filters .quick-filter-picker>summary::after,
.search-panel .quick-filters .quick-filter-picker>summary::before{
 content:none!important;display:none!important;
}
.search-panel .quick-filter-picker>summary{
 justify-content:flex-start!important;gap:0!important;
}
.search-panel .quick-filter-picker>summary::-webkit-details-marker{display:none!important}
.search-panel .quick-filter-picker>summary::marker{content:""!important}

/* Direct, consistent mobile advanced filters: no generated popup wrappers. */
@media(max-width:800px){
 .search-panel .more-filters.all-filters:not([open])>.quick-filters{display:none!important}
 .search-panel .more-filters.all-filters[open]>.quick-filters{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;width:100%!important;margin:12px 0!important;
  padding:0!important;position:static!important;
 }
 .search-panel .more-filters.all-filters>.quick-filters>.search-outdoor,
 .search-panel .more-filters.all-filters>.quick-filters>.advanced-field{
  position:relative!important;display:flex!important;flex-direction:column!important;
  align-items:stretch!important;justify-content:center!important;gap:4px!important;
  width:100%!important;min-width:0!important;min-height:82px!important;
  padding:9px 12px!important;margin:0!important;
  border:1px solid #dce0df!important;border-radius:12px!important;
  background:#fff!important;box-shadow:none!important;box-sizing:border-box!important;
 }
 .search-panel .more-filters.all-filters>.quick-filters>.advanced-field[hidden]{display:none!important}
 .search-panel .more-filters.all-filters>.quick-filters label,
 .search-panel .more-filters.all-filters>.quick-filters .outdoor-choice{
  display:block!important;width:100%!important;min-width:0!important;
  font-size:13px!important;line-height:1.35!important;font-weight:500!important;
  color:#263b4d!important;margin:0!important;padding:0!important;
 }
 .search-panel .more-filters.all-filters>.quick-filters select,
 .search-panel .more-filters.all-filters>.quick-filters input:not([type=checkbox]){
  display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
  height:34px!important;min-height:34px!important;padding:0!important;margin:0!important;
  font:400 15px/1.3 "DM Sans",sans-serif!important;color:#183b43!important;
  background:transparent!important;background-image:none!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  -webkit-appearance:none!important;appearance:none!important;
 }
 .search-panel .more-filters.all-filters>.quick-filters input[hidden]{display:none!important}
 .search-panel .more-filters.all-filters>.quick-filters select:focus-visible,
 .search-panel .more-filters.all-filters>.quick-filters input:focus-visible{
  outline:2px solid #648c83!important;outline-offset:3px!important;
 }
 .search-panel .more-filters.all-filters>.quick-filters .search-field-icon{display:none!important}
 .search-panel .more-filters.all-filters>.quick-filters>.search-outdoor::before,
 .search-panel .more-filters.all-filters>.quick-filters>.search-outdoor::after,
 .search-panel .more-filters.all-filters>.quick-filters>.advanced-field::before,
 .search-panel .more-filters.all-filters>.quick-filters>.advanced-field::after{content:none!important;display:none!important}
 .search-panel .more-filters.all-filters>.quick-filters select::-ms-expand{display:none!important}
}

/* One housing-type control on every screen: selections stay additive. */
@media(max-width:800px){
 html body .search-panel .filters>.search-type .mobile-native-type{display:none!important}
 html body .search-panel .filters>.search-type .type-picker{display:block!important;width:100%}
 html body .search-panel .filters>.search-type .type-picker>summary{display:flex!important;align-items:center;min-height:32px;height:auto;margin:0;padding:0;border:0;background:transparent;font:400 15px/1.3 "DM Sans",sans-serif}
 html body .search-panel .filters>.search-type .type-popover{position:fixed!important;left:12px!important;right:auto!important;top:auto!important;width:calc(100vw - 24px)!important;max-width:360px!important;max-height:60vh!important;overflow:auto}
 html body .search-panel .filters>.search-type .type-popover input[type=checkbox]{display:block!important;width:18px!important;min-width:18px!important;height:18px!important;min-height:18px!important;margin:0!important;padding:0!important;appearance:auto!important;-webkit-appearance:checkbox!important}
 html body .search-panel .filters>.search-type .type-popover label{display:flex!important;gap:10px;align-items:center;min-height:44px}
}
/* Keep an open multi-select above its neighbouring price field. */
html body .search-panel .filters>.search-type:has(.type-picker[open]){position:relative!important;z-index:180!important;overflow:visible!important}
