/* Shared dense layouts; keep details available without repeating empty summaries. */
.living-profile.is-compact.is-empty{display:none}
.district-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:8px}
.district-grid .district-card{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:6px 10px;padding:12px;min-height:76px;border-radius:10px;transform:none}
.district-card .district-code{width:30px;min-width:0;height:30px;padding:3px;font-size:13px;border-radius:7px}
.district-card .district-card-name{min-width:0}
.district-card .district-card-name strong{font-size:14px;line-height:1.35;overflow-wrap:normal;word-break:normal}
.district-card .district-card-name small{font-size:12px;line-height:1.3;margin-top:3px}
.district-card .district-card-price{max-width:none;font-size:13px;line-height:1.35}
.district-card .district-card-price small{font-size:11px;line-height:1.3;margin-top:2px}
.district-card .living-profile{grid-column:2/-1;margin:3px 0 0;min-width:0;width:auto}
.district-card .living-chips{margin:0;gap:4px}.district-card .living-chips li{font-size:11px;padding:3px 5px}.district-card .living-scores{margin:3px 0 0}
.at-listings.compact-listings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;border:0;background:transparent;overflow:visible;border-radius:0}
.compact-listings>.listing-group-label{grid-column:1/-1;padding:8px 0;font-size:15px}
.at-listings.compact-listings .compact-listing{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:0;padding:14px;border:1px solid #d7e3dc;border-radius:12px;background:white;min-width:0}
.at-listings.compact-listings .at-listing-top{background:#fcfaf1;border-color:#d9cdae}
.compact-listing-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px}
.compact-listings .compact-listing .at-listing-main{grid-column:auto;grid-row:auto;min-width:0}
.compact-listings .compact-listing .at-listing-meta{font-size:11px;line-height:1.4;color:#526c60}
.compact-listings .compact-listing h3{font-family:inherit;letter-spacing:normal;font-size:15px;font-weight:650;margin:4px 0;line-height:1.35;overflow-wrap:break-word}
.compact-agent{display:flex;align-items:center;gap:6px;font-size:12px;line-height:1.4;color:#586f63}.compact-agent img{object-fit:contain;border-radius:4px;background:white}
.compact-listings .compact-listing .at-listing-price{grid-column:auto;min-width:0;text-align:right;max-width:180px}
.compact-listing .property-price>strong{font-size:19px;letter-spacing:-.4px;font-weight:650;white-space:nowrap}
.compact-listing .property-price>span,.compact-listing .property-price>small{font-size:11px!important;line-height:1.35;margin:0}
.at-listings.compact-listings .at-listing-assessment{padding:8px 0 0;margin:0;width:auto;min-width:0;border-top:1px solid #e2eae5}
.compact-listing .property-summary{gap:6px;flex-wrap:wrap;font-size:12px}.compact-listing .property-score{padding:3px 7px;font-size:12px}
.compact-listing .property-chips{margin:6px 0!important;gap:4px}.compact-listing .property-chips:empty{display:none}.compact-listing .property-chips li{font-size:11px;padding:3px 5px}
.compact-listing .property-details{margin-top:6px}.compact-listing .property-details summary{font-size:12px;padding:7px 9px}
.compact-listing .property-verdicts,.compact-listing .property-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
.compact-listing .living-profile{margin:6px 0}.compact-listing .living-chips{margin:0;gap:4px}.compact-listing .living-chips li{font-size:11px;padding:4px 6px;line-height:1.3}
.compact-listing .living-scores{margin:3px 0;font-size:11px}
.compact-listings .compact-listing .living-actions{gap:6px;margin:7px 0 0}.compact-listings .compact-listing .living-actions .button{font-size:11px;padding:7px 9px;min-height:32px;height:auto;margin:0;border-radius:7px;white-space:normal}
.compact-listing .compact-original{align-self:flex-end;min-height:32px;font-size:12px;padding:6px 10px;border-radius:7px;margin:0}
.districts-section{padding:24px 0}.listings-section{padding-top:24px}
.city-map-overview{margin:22px 0;border:1px solid #d7e3dc;border-radius:12px;overflow:hidden;background:#fff}
.city-map-overview .map-panel-heading{padding:14px 16px}.city-map-overview h2{font-family:inherit;font-size:21px;line-height:1.3;letter-spacing:-.4px}
.city-map-overview .map-panel-heading p{font-size:12px;line-height:1.4;margin-top:5px}
.city-location-map{height:380px;background:#e4ece6;z-index:0}.city-map-overview .map-footnote{font-size:12px;line-height:1.5;padding:10px 16px}
.city-map-centre{font-weight:700;color:#245b49}.city-map-popup{font-size:13px;line-height:1.5;max-width:260px}.city-map-popup strong{display:block}.city-map-popup a{display:block;margin-top:6px;text-decoration:underline}
@media(min-width:1600px){.at-listings.compact-listings{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.at-listings.compact-listings{grid-template-columns:1fr}.city-location-map{height:340px}}
@media(max-width:560px){.district-grid{grid-template-columns:1fr;gap:6px}.district-grid .district-card{padding:10px 12px;min-height:68px}.at-listings.compact-listings .compact-listing{padding:12px;gap:8px}.compact-listing-header{gap:8px;grid-template-columns:minmax(0,1fr) auto}.compact-listing .property-price>strong{font-size:17px}.compact-listings .compact-listing .at-listing-price{max-width:142px}.compact-listings .compact-listing h3{font-size:14px}.compact-listing .property-verdicts,.compact-listing .property-facts{grid-template-columns:1fr}.city-location-map{height:300px}.city-map-overview h2{font-size:18px}}
@media(max-width:360px){.compact-listing-header{grid-template-columns:1fr}.compact-listings .compact-listing .at-listing-price{text-align:left;max-width:none}.compact-listing .property-price{display:grid;grid-template-columns:auto 1fr;gap:2px 8px}.compact-listing .property-price>small{grid-column:1/-1}}

.compact-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0}.compact-card-actions .listing-link{min-height:32px;padding:6px 9px;font-size:11px;line-height:1.35;border-radius:7px;white-space:normal}.compact-card-actions .compact-original{margin:0;align-self:auto;font-weight:650;background:#edf6f0}.compact-listing .property-analysis{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.compact-listing .property-chips{margin:0!important}.compact-listing .property-details{flex:1 0 100%;margin-top:0}.compact-listing .property-summary{margin:0}.compact-listing .property-analysis .property-chips:empty{display:none}
