#propertyInventory {
  box-sizing:border-box; width:min(1180px,calc(100vw - 32px)); max-width:none;
  max-height:90dvh; padding:clamp(18px,3vw,38px); margin:auto; overflow:auto;
  overscroll-behavior:contain; border:1px solid #d8e1e7; border-radius:20px;
  background:#f6f8f9; color:#172c3a; box-shadow:0 26px 85px #12243240;
}
#propertyInventory::backdrop{background:#12243199}
#propertyInventory h2{font-size:clamp(24px,3vw,35px);margin:0 0 18px; padding-inline-end:38px;line-height:1.3}
#propertyInventory #inventoryClose{position:absolute;inset-block-start:14px;inset-inline-end:14px;inset-inline-start:auto;width:38px;height:38px;border-radius:50%;border:1px solid #d6dee3;background:white;color:#223944;font-size:24px}
#propertyInventory .inventory-primary{display:grid;grid-template-columns:minmax(140px,1fr) minmax(180px,2fr);gap:12px}
#propertyInventory .inventory-primary label,#propertyInventory .inventory-controls label{display:grid;gap:4px;color:#465d69;font-size:13px;font-weight:600}
#propertyInventory select,#propertyInventory input{width:100%;min-width:0;margin:0;box-sizing:border-box;border:1px solid #cad7de;border-radius:8px;padding:8px 12px;background:white;color:#213a49;font:inherit;min-height:40px}
#propertyInventory .inventory-advanced{margin:10px 0;padding:5px 0;border:0}
#propertyInventory summary{cursor:pointer;color:#2d5669}
#propertyInventory .inventory-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin:12px 0 0}
#propertyInventory .inventory-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid #dce4e8;padding:12px 0}
#propertyInventory #inventoryCount{font-size:13px;margin:0;color:#465c68}
#propertyInventory #inventoryView{margin:0;display:flex;gap:4px}
#propertyInventory #inventoryRows:not(.as-table){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}
#propertyInventory #inventoryRows.as-table{display:block}
#propertyInventory .property-tile{background:#fff;border:1px solid #d6e1e4;border-radius:14px;padding:0;margin:0;display:block;min-width:0;overflow:hidden;box-shadow:0 2px 5px #1b394307}
#propertyInventory .property-image{width:100%;aspect-ratio:1.65;overflow:hidden;background:#e9edee}
#propertyInventory .property-image[hidden]{display:none!important}
#propertyInventory .property-image img{width:100%;height:100%;object-fit:cover;display:block}
#propertyInventory .property-body{padding:16px 18px}
#propertyInventory .property-byline{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#365e69;font-size:12px;font-weight:650}
#propertyInventory .property-byline bdi{color:#596b73;font-size:11px;font-weight:500;overflow-wrap:anywhere}
#propertyInventory .property-tile h3{margin:8px 0 4px;font-size:18px;line-height:1.45;text-align:start;overflow-wrap:anywhere;color:#142e39}
#propertyInventory .property-tile h3 a{color:inherit;text-decoration:none}
#propertyInventory .property-tile a:hover{text-decoration:underline}
#propertyInventory .property-location{margin:0 0 10px;text-align:start;font-size:13px;line-height:1.35;color:#526975}
#propertyInventory .property-price{display:grid;justify-items:start;gap:1px;margin:10px 0 4px}
#propertyInventory .property-price b{color:#123e4b;line-height:1.3;font-size:23px;font-weight:750;letter-spacing:-.025em}
#propertyInventory .property-price small{font-size:12px;color:#596d78}
#propertyInventory .property-specs{display:flex;gap:4px 14px;flex-wrap:wrap;list-style:none;padding:0;margin:7px 0 0;color:#455d66;font-size:13px}
#propertyInventory .property-specs li{margin:0}
#propertyInventory .property-alert{font-size:12px;color:#805720;margin:7px 0}
#propertyInventory .property-foot{display:flex;align-items:baseline;flex-wrap:wrap;justify-content:space-between;gap:8px;margin:14px 0 0;padding:11px 0 0;border-top:1px solid #e5eaed;font-size:13px}
#propertyInventory .property-foot details{margin:0;padding:0;min-width:0}
#propertyInventory .property-foot details[open]{flex-basis:100%}
#propertyInventory .property-foot a{color:#126172;text-decoration:none;font-weight:650}
#propertyInventory .property-detail-body{font-size:13px;line-height:1.6;overflow-wrap:anywhere}
#propertyInventory .property-detail-body p{margin:6px 0}
#propertyInventory .inventory-notes{font-size:13px;margin-top:16px;color:#506570}
#propertyInventory :focus-visible{outline:2px solid #007886;outline-offset:2px}
@media(max-width:880px){#propertyInventory #inventoryRows:not(.as-table){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:610px){#propertyInventory{width:calc(100vw - 12px);max-height:96dvh;border-radius:14px;padding:16px 12px max(16px,env(safe-area-inset-bottom))}#propertyInventory #inventoryRows:not(.as-table){grid-template-columns:minmax(0,1fr);gap:12px}#propertyInventory .inventory-primary{grid-template-columns:minmax(0,1fr);gap:6px}#propertyInventory .inventory-controls{grid-template-columns:repeat(2,minmax(0,1fr))}#propertyInventory input,#propertyInventory select{font-size:16px}#propertyInventory .property-body{padding:13px 15px}}

.listing-filter-tags{display:flex;gap:5px;flex-wrap:wrap;margin:8px 0}.listing-filter-tags button{font:11px inherit;color:#22698f;background:#eaf4fa;border:1px solid #c5deed;border-radius:20px;padding:5px 9px;cursor:pointer}.listing-filter-tags button:hover{background:#d4eafa}

/* Compact, tappable gallery facets and removable active selections. */
.listing-filter-tags button{font-family:inherit;font-size:12px;min-height:32px;max-width:100%;overflow-wrap:anywhere;line-height:1.5}.listing-filter-tags button[aria-pressed=true]{background:#1d526d;color:#fff;border-color:#1d526d}.listing-filter-tags button:focus-visible,.listing-active-tags button:focus-visible{outline:3px solid #398cff;outline-offset:2px}.listing-active-tags{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 16px}.listing-active-tags[hidden]{display:none}.listing-active-tags button{font:inherit;font-size:12px;background:#1d526d;color:#fff;border:1px solid #1d526d;border-radius:18px;padding:7px 12px;cursor:pointer;max-width:100%;overflow-wrap:anywhere}

/* Registered transactions have a deliberate cover, never a broken listing photo. */
.transaction-record-cover{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:180px;padding:20px;background:linear-gradient(135deg,#123754,#1d5687)!important;color:#fff!important;text-align:center;text-decoration:none}.transaction-record-cover strong{position:static!important;font:700 clamp(22px,3vw,34px)/1.2 Dubai,Arial,sans-serif!important;letter-spacing:.02em;color:#fff!important}.transaction-record-cover small{position:static!important;font:14px/1.3 Dubai,Arial,sans-serif!important;color:#d4e7f7!important}
