/* Compact gallery chips and actions shared by map, profiles and developer pages. */
.listing-filter-tags,.listing-active-tags{display:flex!important;flex-flow:row nowrap!important;align-items:center;gap:5px!important;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;margin:6px 0!important;padding:1px 0 4px!important}
.listing-filter-tags button,.listing-filter-tags .listing-meta-chip,.listing-active-tags button{box-sizing:border-box;display:inline-flex;align-items:center;flex:0 0 auto;width:auto!important;max-width:190px;min-height:27px!important;margin:0!important;padding:4px 9px!important;border:1px solid #d5e3ea;border-radius:16px;font:400 11px/1.4 Dubai,Arial,sans-serif!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal!important;background:#edf4f7;color:#365f76;cursor:pointer}
.listing-filter-tags button[data-listing-tag=purpose]{background:#e9f3ee;color:#30674f;border-color:#d8e9df}.listing-filter-tags button[data-listing-tag=stage],.listing-filter-tags button[data-listing-tag=status]{background:#eeeef6;color:#575879;border-color:#e0dfed}.listing-filter-tags button[data-listing-tag=developer],.listing-filter-tags button[data-listing-tag=agency],.listing-filter-tags button[data-listing-tag=agent]{background:#e6eef4;color:#34536d}.listing-filter-tags button[aria-pressed=true],.listing-active-tags button{background:#244d66;color:#fff;border-color:#244d66}.listing-meta-chip{background:#f3efe7!important;color:#776445!important;border-color:#e9e1d2!important;cursor:default!important}
.property-tile .property-body{padding:12px 14px!important}.property-tile h3{font-size:17px!important;font-weight:500!important;line-height:1.4!important;margin:5px 0!important}.property-tile h3 a{text-decoration:none}.property-tile .property-location{font-size:12px!important;line-height:1.45!important;margin:4px 0 6px!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.property-tile .property-byline{font-size:11px!important;line-height:1.35;gap:6px}.property-tile:has(.listing-filter-tags) .property-byline>span{display:none}.property-tile .property-price{font-size:20px;margin:8px 0 5px!important}.property-tile .property-price b{font-size:20px!important;font-weight:500!important}.property-tile .property-specs{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:5px 0!important;font-size:12px!important}.property-tile .property-specs li{margin:0!important}.property-tile .property-investment{display:flex;gap:14px;padding:7px 0!important;margin:6px 0!important}.property-tile .property-investment dt{font-size:11px;line-height:1.35}.property-tile .property-investment dd{font-size:13px;margin:3px 0 0!important}.property-tile .property-alert{font-size:11px!important;margin:5px 0!important}
.property-tile .property-identities{display:flex!important;flex-flow:row nowrap!important;align-items:center;gap:7px!important;overflow-x:auto;max-width:100%;scrollbar-width:thin;margin:7px 0!important;padding:0 0 3px!important}.property-tile .property-identity{display:inline-flex;flex:0 0 auto;gap:5px!important;padding:0!important;max-width:180px;margin:0}.property-tile .property-identity>span:not(.identity-visual){font-size:11px;max-width:125px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.property-tile .property-identity small{display:none}.property-tile .property-identity .identity-visual,.property-tile .property-identity>img{width:31px!important;height:31px!important;flex-basis:31px!important;margin:0!important}.property-tile .entity-contact-icons{flex-wrap:nowrap!important;flex:none;gap:4px!important;margin:0!important}.property-tile .entity-contact-icon{width:29px!important;height:29px!important;flex-basis:29px!important;padding:5px!important}.property-tile .entity-contact-icon svg{width:17px!important;height:17px!important}
.property-tile .property-foot{display:block!important;min-height:0!important;margin:7px 0 0!important;padding:7px 0 0!important;border-top:1px solid #e5eaee;font-size:12px}.property-tile .property-extra{margin:0 0 6px}.property-tile .property-extra:empty{display:none}.property-tile .property-extra p{margin:4px 0;font-size:12px}.property-tile .property-actions{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:5px!important;width:100%;min-width:0;overflow-x:auto;padding:0;scrollbar-width:thin}.property-tile .property-actions .source-qr{display:inline-flex!important;flex-flow:row nowrap!important;gap:5px!important;flex:none!important;margin:0!important;padding:0!important;font-size:0;align-self:center}.property-tile .property-actions .source-qr>span{display:none!important}
.property-tile .property-actions button,.property-tile .property-actions a,.ai-card-actions .ui-icon-action{box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;flex:0 0 32px!important;margin:0!important;padding:7px!important;border:1px solid #d5e1e8!important;border-radius:9px!important;background:#f0f5f8!important;color:#31576f!important;line-height:1!important;text-decoration:none!important}.property-tile .property-actions svg,.ai-card-actions .ui-icon-action svg{width:18px!important;height:18px!important;fill:none;stroke:currentColor;stroke-width:1.7}.property-tile .property-actions .source-qr img{display:none!important}
.ai-card-actions{display:flex!important;flex-flow:row nowrap!important;align-items:center;gap:5px!important;margin-top:9px!important;overflow-x:auto}.ai-tag{max-width:190px;min-height:25px;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4;font-size:11px;margin:2px 3px 0 0;padding:4px 8px}.ai-page-heading{margin-bottom:12px}.ai-tools{margin-block:12px;gap:7px}.ai-tools button,.ai-tools select,.ai-tools input{min-height:36px;padding:7px 10px}.ep-tools{gap:8px;margin-bottom:10px}.ep-tools label{font-size:12px;gap:4px}.ep-tools button,.ep-tools select,.ep-tools input{min-height:36px;padding:7px 9px}.ep-pages{margin-block:16px}#epStatus{font-size:12px;margin:8px 0}
@media(max-width:600px){.ep-tools{display:flex;align-items:center;flex-wrap:wrap}.ep-tools input{min-width:0;flex-basis:100%;order:-1}.ep-tools label{flex:1;min-width:0}.ep-tools label select{width:100%;min-width:0}.ep-tools input,.ep-tools select,.ai-tools input,.ai-tools select{font-size:16px}.ai-card-body{padding:12px}.ai-card h2,.ai-card h3{font-size:17px;margin-bottom:8px}.ai-card p{font-size:12px;margin:5px 0;line-height:1.4}}
.property-tile .property-actions [hidden],.ai-card-actions [hidden]{display:none!important}.property-tile .property-body{min-width:0}
.listing-filter-tags::-webkit-scrollbar,.listing-active-tags::-webkit-scrollbar,.property-identities::-webkit-scrollbar{height:3px}.listing-filter-tags::-webkit-scrollbar-thumb,.listing-active-tags::-webkit-scrollbar-thumb,.property-identities::-webkit-scrollbar-thumb{background:#c9d7df;border-radius:4px}


/* Keep agency names readable at phone widths; portraits stay compact. */
.property-tile .property-identity[data-filter-identity=agency],
.property-tile .property-identity[data-filter-identity=developer]{max-width:280px}
.property-tile .property-identity .identity-visual[data-person=false]{--logo-max-width:128px;--logo-max-height:64px;width:auto!important;height:auto!important;flex:0 0 auto!important}
.property-tile .property-identity .identity-visual[data-person=false]>img:not([hidden]){width:auto!important;height:auto!important;max-width:128px!important;max-height:64px!important;min-width:0!important;object-fit:contain!important;padding:0!important;border:2px solid #fff!important;background:#fff}
.property-tile .property-identity[data-filter-identity=agency]>img,
.property-tile .property-identity[data-filter-identity=developer]>img{width:auto!important;height:auto!important;max-width:128px!important;max-height:64px!important;flex:0 0 auto!important;object-fit:contain!important}
/* Unit price remains a compact tag even before area performance is available. */
.inventory-card.property-tile .property-investment{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin:9px 0!important;padding:0!important;border:0!important}
.inventory-card.property-tile .property-investment>div{display:inline-flex!important;flex:0 0 auto!important;flex-direction:row!important;align-items:center!important;gap:6px!important;width:auto!important;max-width:100%;padding:6px 10px!important;border:1px solid #c9dce6!important;border-radius:18px!important;background:#e4eff5!important;color:#204c61!important}
.inventory-card.property-tile .property-investment dt,.inventory-card.property-tile .property-investment dd{margin:0!important;padding:0!important;font-size:12px!important;line-height:1.4!important}
.inventory-card.property-tile .property-investment dd{font-weight:700}
