/* Only data-dependent and accessibility additions to the original v15 design. */
[hidden]{display:none!important}
[data-screen]{min-height:65vh}
input,select,textarea{min-width:0;max-width:100%}
[data-search] [data-fields]>label{flex:1 1 0!important;min-width:0}
[data-screen="home"] [data-search] [data-fields]{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:8px!important}
[data-search] [data-fields] label{justify-content:center}
[data-marquee-panel]{padding:24px clamp(24px,4vw,56px) 16px!important;margin-top:22px!important}
[data-marquee-panel]>[aria-hidden="true"]{display:none!important}
[data-marquee-panel]>div:nth-child(2){margin-bottom:22px!important}
[data-marquee-track]{padding-block:5px}
#oportunidades{margin-top:22px!important}
.brand-logo-label{font:700 17px Onest,sans-serif;color:#19305d;white-space:nowrap;padding:6px 4px}
/* Occupancy is signalled in result cards; the property gallery keeps its original colours. */
[data-occupied="true"] .card-photo-link img{filter:grayscale(1)}
[data-occupied="true"] .availability-label,[data-occupied="true"] [data-property-availability]{background:#eef0f3!important;color:#566170!important;border-color:#d8dde4!important}
@media(max-width:900px){[data-screen="home"] [data-search] [data-fields]{grid-template-columns:repeat(2,minmax(0,1fr))!important}[data-screen="home"] [data-search] [data-fields]>button{grid-column:1/-1;justify-content:center;min-height:48px}}
button:disabled{opacity:.55;cursor:wait}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #6984b3!important;outline-offset:3px}
[data-category-photo]{object-fit:cover!important;object-position:50% 65%}
[data-category-photo=terreno]{object-position:50% 62%}
[data-category-photo=plaza]{object-position:50% 49%}
[data-door-art]{aspect-ratio:16/10;height:auto!important}
[data-card],[data-feature],[data-rescard]{min-width:0}
[data-card] h3,[data-feature] h3,[data-rescard] h2{overflow-wrap:anywhere;line-height:1.22!important}
.card-photo-link{position:absolute;inset:0;z-index:1;display:block}
.card-photo-link:focus-visible{outline-offset:-4px}
.card-photo-link img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
[data-fav]{z-index:3}
[data-fav][aria-pressed=true]{color:#f2b73d!important;background:#19305de6!important}
[data-fav][aria-pressed=true] svg{fill:currentColor}
.card-photo-tag{z-index:2;pointer-events:none}
.photo-pending{display:grid;place-items:center;width:100%;height:100%;min-height:150px;background:linear-gradient(140deg,#edf1f7,#dce3ed);color:#53657d;font-size:13px;text-align:center;padding:24px}
.card-photo-link img.brand-photo-placeholder,[data-mainimg].brand-photo-placeholder{object-fit:contain!important;padding:clamp(24px,12%,90px);background:#f2f5f8;box-sizing:border-box}
[data-feature]{opacity:1!important;transform:none!important;filter:none!important}
[data-card]{opacity:1!important;filter:none!important}
[data-feature] [data-feature-img]{min-height:285px!important}
[data-grid]{gap:14px}
.card-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.card-stat-value{font-weight:700;color:#0b2038;font-size:.94rem;overflow-wrap:anywhere}
.card-stat-label{font-size:10px;color:#6b6e75;line-height:1.3;margin-top:3px}
[data-feature] .card-stat-value{font-size:clamp(1.1rem,1.6vw,1.45rem)}
[data-feature] .card-stat-label{font-size:12px}
.v2-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;background:#19305d;color:#fff!important;font:600 14px Onest,sans-serif;padding:12px 20px;cursor:pointer;line-height:1.4;text-align:center}
.v2-button.secondary{border:1.5px solid #d6dbe6;background:#fff;color:#19305d!important}
.v2-button.compact{padding:8px 14px;font-size:12px}
.catalog-note{font-size:12px;line-height:1.6;color:#6e7178;margin:16px 0 0;overflow-wrap:anywhere}
.catalog-status{font-size:14px;line-height:1.6;color:#53657d;grid-column:1/-1}
.catalog-status:empty{display:none}
.catalog-empty{grid-column:1/-1;background:rgba(255,255,255,.85);border:1px solid #e3e7ee;border-radius:18px;padding:32px;text-align:center}
.catalog-empty h2{font-size:21px;margin:0 0 10px}
.active-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}
.active-filters:empty{display:none}
.active-filter{font:500 12px Onest,sans-serif;border:1px solid #d9e0ed;background:#f7f9fd;color:#19305d;padding:7px 12px;border-radius:999px;max-width:100%;overflow-wrap:anywhere}
[data-rescard]{position:relative;display:flex;flex-direction:row;background:#fff;border-radius:18px;overflow:hidden;border:1px solid #ececef;transition:transform .2s,box-shadow .2s,border-color .2s}
[data-resimg]{flex:0 0 42%!important;min-width:0;min-height:224px!important;position:relative;background:#dfe2e6}
[data-rescard] .result-card-title{display:block}
[data-rescard] .result-card-title:after{content:'';position:absolute;inset:0;z-index:1}
[data-rescard] .card-photo-link{z-index:2}
[data-rescard] .card-stat-value{font-size:1.12rem}
.list-footer{grid-column:1/-1;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 0;font-size:13px;color:#6e7178}
.results-map{position:absolute;inset:0;z-index:1}
.leaflet-container{font-family:Onest,sans-serif;background:#e5eaf1}
.map-pin{width:29px;height:37px;filter:drop-shadow(0 2px 3px #19305d40)}
.map-popup{min-width:180px;max-width:240px}
.map-popup strong{display:block;margin-bottom:5px;color:#19305d}
.map-popup p{margin:4px 0 10px;font-size:12px}
.map-popup a{color:#19305d!important;font-weight:700}
[data-split][data-map-hidden=true]{grid-template-columns:1fr!important}
[data-map-hidden=true] [data-reslist]{grid-template-columns:repeat(3,minmax(0,1fr))!important;max-height:none!important;overflow:visible!important;padding:0!important}
[data-map-hidden=true] [data-rescard]{flex-direction:column!important}
[data-map-hidden=true] [data-resimg]{flex:auto!important;min-height:0!important;aspect-ratio:16/10}
[data-filters-modal]{z-index:6500!important}
[data-filters-modal]:not([hidden]){opacity:1!important;pointer-events:auto!important}
[data-filters-modal]:not([hidden]) [data-filters-card]{transform:none!important}
.form-error{color:#b2172b;font-size:13px}
[data-mtab],[data-category]{min-height:44px}
[data-category][aria-pressed=true]{border-color:#2f9e4f!important;background:#eaf6ee!important;color:#1a7a3a!important}
[data-category][aria-pressed=false]{border-color:#e3e4e9!important;background:#fff!important;color:#6e7178!important}
[data-category][aria-pressed=true] [data-chipbox]{background:#2f9e4f!important;border-color:#2f9e4f!important}
[data-category][aria-pressed=false] [data-chipbox]{background:#fff!important;border-color:#cfd2d8!important}
[data-category][aria-pressed=true] [data-chipcheck]{opacity:1!important}
[data-category][aria-pressed=false] [data-chipcheck]{opacity:0!important}
[data-property-title]{overflow-wrap:anywhere}
[data-property-map-label]{max-width:60%;text-align:right}
[data-gallery][data-single-photo=true]{grid-template-columns:1fr!important}
[data-single-photo=true] [data-thumbs]{display:none!important}
[data-gallery] [data-mainph]{z-index:2}
[data-mainimg]{object-position:center}
[data-mediatab][aria-selected=true]{background:#19305d!important;color:#fff!important;border-color:#19305d!important}
[data-mediatab][aria-selected=false]{background:#fff!important;color:#6e7178!important;border-color:#e3e4e9!important}
.units-section{margin-top:24px}
.units-section h2{font-size:18px;margin:0 0 6px}
.units-section .catalog-note{margin-top:0}
.unit-list{display:flex;flex-direction:column;gap:8px;max-height:300px;overflow:auto;margin-top:14px;padding:3px}
.unit-option{display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;border:1.5px solid #e4e8ef;background:#f8f9fc;border-radius:12px;padding:13px 15px;color:#0b2038;font:500 13px Onest,sans-serif;min-width:0}
.unit-option[aria-pressed=true]{border-color:#19305d;background:#eef2fa;box-shadow:inset 3px 0 #19305d}
.unit-option span{min-width:0;overflow-wrap:anywhere}
.unit-option strong{white-space:nowrap}
.unit-option small{display:block;color:#6e7178;margin-top:4px}
.unit-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}
.v2-consent{display:flex;align-items:flex-start;gap:8px;font-size:12px;color:#53657d;line-height:1.6;margin-top:16px}
.v2-consent input{flex:0 0 auto;margin-top:4px}
.honeypot{position:absolute;left:-10000px}
.directions{display:block;color:#19305d;margin:0 24px 18px;font-size:13px;font-weight:600}
[data-ph-cta]{line-height:1.4}
.geo-distance{font-size:12px;line-height:1.5;color:#53657d;margin:10px 0 0}
.v2-skip{position:fixed;top:-80px;left:20px;z-index:20000;background:#19305d;color:#fff;padding:12px 20px;border-radius:12px}
.v2-skip:focus{top:12px}
@media(hover:hover) and (pointer:fine){[data-rescard]:hover,[data-grid] [data-card]:hover{transform:translateY(-3px)!important;box-shadow:0 18px 36px -22px #19305d66;border-color:#b9c7dd}[data-card]:hover .card-photo-link img,[data-feature]:hover .card-photo-link img,[data-rescard]:hover .card-photo-link img{transform:scale(1.025)}[data-door]:hover{transform:translateY(-3px)!important}[data-door]:hover [data-door-art]{transform:scale(1.025)}}
@media(max-width:1200px) and (min-width:1081px){[data-resimg]{flex:0 0 36%!important}[data-rescard]>div:nth-of-type(2){padding:16px!important}}
@media(max-width:1080px){[data-split]{grid-template-columns:1fr!important}[data-map-panel]{min-height:360px!important;height:420px!important}[data-reslist]{max-height:none!important;overflow:visible!important;padding:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}[data-rescard]{flex-direction:column!important}[data-resimg]{flex:auto!important;min-height:0!important;aspect-ratio:16/10}[data-map-hidden=true] [data-reslist]{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:680px){[data-reslist],[data-map-hidden=true] [data-reslist]{grid-template-columns:1fr!important}[data-feature] [data-feature-img]{min-height:220px!important;aspect-ratio:16/10}[data-statrow]{grid-template-columns:repeat(2,minmax(0,1fr))!important}[data-detail]>div{min-width:0}[data-feature] button{margin-top:14px!important}[data-geo-btn]{margin-left:0!important}[data-property-map-label]{max-width:55%}.unit-option{padding:12px 10px;gap:8px}.unit-actions>*{width:100%}[data-mainph]>div{padding:20px!important}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}[data-card],[data-rescard],[data-feature],[data-door]{transform:none!important}}

/* v15 property composition: gallery, tabs, contact/map, then live unit details. */
[data-mainph][style*="grid"]{overflow:auto}
[data-plan-stage]{position:absolute;inset:0;overflow:auto;background:white;z-index:1;overscroll-behavior:contain}
[data-plan-stage][hidden],.media-tools[hidden],[data-commercial][hidden],[data-plaza-pdf][hidden],[data-portal-link][hidden]{display:none!important}
[data-plan-image]{width:100%;height:100%;object-fit:contain;max-width:none;display:block}
.media-tools{margin-top:14px;padding:14px 18px;border:1px solid #e3e4e9;border-radius:14px;background:white}
.media-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:13px}
.media-toolbar[hidden]{display:none}
.media-toolbar label{display:flex;align-items:center;gap:8px;min-width:0}
.media-toolbar select{max-width:220px;border:1px solid #e3e4e9;border-radius:8px;padding:8px;color:#19305D;background:white;font:inherit}
.media-toolbar button,.media-toolbar a{padding:8px 12px;border:1px solid #e3e4e9;border-radius:8px;color:#19305D;background:white;font:inherit;text-decoration:none;cursor:pointer}
.media-toolbar button:disabled{opacity:.4;cursor:default}
.media-tools p{margin:10px 0 0}
.v15-unit-section{background:white;border-radius:22px;padding:28px;margin-top:24px;box-shadow:0 12px 28px rgba(11,32,56,.04)}
.units-heading{display:flex;align-items:start;justify-content:space-between;gap:20px;flex-wrap:wrap}
.units-heading .unit-actions{margin-top:0}
.detail-table{overflow:auto;margin-top:22px}
.detail-table table{border-collapse:collapse;min-width:620px;width:100%;font-size:13px;text-align:left}
.detail-table th,.detail-table td{padding:14px 12px;border-bottom:1px solid #e5e8ee}
.detail-table th{color:#19305D;background:#f7f8fc;font-weight:600}
@media(max-width:680px){.v15-unit-section{padding:20px}.media-toolbar{gap:7px}.media-toolbar label{width:100%}.media-toolbar select{max-width:100%}}

.v15-unit-section[hidden]{display:none!important}

/* Marco feedback: clearer search, selected plaza, shared gallery rail. */
[data-hsearch-input],[data-query],[data-msearch] input{appearance:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;min-width:0;line-height:1.5}
[data-hsearch]:focus-within{box-shadow:0 0 0 3px rgba(78,126,181,.2)!important}
[data-hsearch-input]:focus-visible,[data-query]:focus-visible,[data-msearch] input:focus-visible{outline:0!important}
/* Focus belongs to the rounded search field, never a second box around its text. */
[data-keyword]:focus-within,[data-fkw]:focus-within{border-color:#6984b3!important;background:#fff!important}
[data-msearch]:focus-within{border-color:#fff!important;background:rgba(255,255,255,.16)!important}
[data-rescard].map-selected{border:2px solid #4e7eb5!important;box-shadow:0 8px 24px rgba(25,48,93,.16)!important}
.map-zoom-hint{position:absolute;z-index:450;top:8px;left:50%;transform:translateX(-50%);font-size:10px;color:#19305d;margin:0;padding:6px 10px;border-radius:20px;background:rgba(255,255,255,.94);pointer-events:none;white-space:nowrap;text-align:center}
.layout-thumbnail{position:relative;border:2px solid transparent;border-radius:12px;overflow:hidden;padding:0;background:#eef1f6;aspect-ratio:4/3;cursor:pointer}
.layout-thumbnail img{width:100%;height:100%;object-fit:contain;display:block}
.layout-thumbnail span{position:absolute;bottom:0;left:0;right:0;background:#19305d;color:white;font-size:10px;padding:3px}
#broker-form,#terreno-form{scroll-margin-top:100px;outline:none}
.public-access-dialog{width:min(1000px,calc(100vw - 48px));height:min(720px,calc(100dvh - 64px));max-width:none;max-height:none;padding:0;border:0;border-radius:24px;background:white;box-shadow:0 30px 100px #0b203855;overflow:visible}.public-access-dialog::backdrop{background:#0b203866;backdrop-filter:blur(9px)}.public-access-dialog iframe{width:100%;height:100%;border:0;border-radius:24px;display:block;background:white}@media(max-width:600px){.public-access-dialog{width:calc(100vw - 24px);height:calc(100dvh - 40px);border-radius:20px}}

/* Contact channels remain inside their cards at every width. */
[data-contacto-screen] [data-cchan]{min-width:0;gap:12px!important}[data-contacto-screen] [data-cchan]>span:last-child{flex:1;min-width:0;overflow-wrap:anywhere}[data-contacto-screen] [data-cchan][href^="mailto:"]{grid-column:1/-1}[data-contacto-screen] [data-cchan][href^="mailto:"] span{overflow-wrap:anywhere}

[data-contacto-screen] [data-contact-channels]{grid-template-columns:minmax(0,1fr)!important}

/* Compact property heading; keep gallery near the plaza name. */
[data-screen="propiedad"]>section:first-child{padding-top:96px!important}
[data-screen="propiedad"] [data-gallery]{margin-top:20px!important}
[data-screen="propiedad"] [data-property-title]{margin-top:6px!important;margin-bottom:6px!important}
@media(max-width:680px){[data-screen="propiedad"]>section:first-child{padding-top:84px!important}}

/* Denser desktop rhythm, with responsive controls at their native size. */
[data-pl-header]{padding-block:8px!important}
[data-pl-header]>a[data-nav="home"]{flex-shrink:0}
[data-pl-header] [data-pl-nav]{gap:clamp(16px,1.7vw,28px)!important}
[data-pl-header] [data-logo-full],[data-pl-header] [data-logo-icon]{max-height:none!important}
@media(max-width:1250px){[data-pl-nav]{display:none!important}[data-menu-btn]{display:grid!important}}
@media(max-width:380px){[data-pl-header]{padding-inline:max(16px,env(safe-area-inset-left),env(safe-area-inset-right))!important;gap:8px!important}[data-pl-header]>div:last-child{gap:8px!important}[data-pl-header] [data-login-btn]{padding:12px 10px!important;min-height:44px}[data-pl-header] [data-login-btn] svg{display:none}}
[data-screen]>section:first-child{padding-top:100px!important}
[data-screen="propiedad"]>section:first-child,[data-screen="resultados"]>section:first-child{padding-top:88px!important;padding-bottom:18px!important}
.property-heading{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;margin-bottom:16px;padding-right:190px;min-height:52px}
.property-heading-actions{margin:0!important;display:contents!important}.property-heading-actions>a{padding:8px 12px!important;font-size:12px!important;white-space:nowrap}.property-heading-actions>[data-property-availability]{position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:10px!important;padding:6px 9px!important;letter-spacing:.04em!important}
.property-heading-title{margin:0!important;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:4px 10px}.property-heading-title [data-property-type]{font-size:9px!important;letter-spacing:.09em!important}.property-heading-title [data-property-title]{font-size:clamp(20px,2.1vw,28px)!important;margin:0!important;line-height:1.12!important;grid-column:1/-1;grid-row:1}.property-heading-title [data-property-city]{font-size:10px!important;letter-spacing:.055em!important;margin:0!important;line-height:1.3}
[data-property-status]:empty{display:none}[data-detail]>div{padding:22px!important}[data-screen="resultados"] [data-searchbar]{padding:12px!important;gap:10px!important}[data-screen="resultados"]>section:first-child>div>div:first-child{margin-bottom:10px!important}[data-result-count]{font-size:22px!important}
.layout-progress{width:min(230px,70vw);height:4px;background:#e1e8f2;border-radius:10px;overflow:hidden;margin:24px auto 0}.layout-progress>span{display:block;width:38%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7e9bc4,#19305d);animation:layout-loading 1.6s ease-in-out infinite}@keyframes layout-loading{0%{transform:translateX(-110%)}100%{transform:translateX(370%)}}[data-mainph][aria-busy="true"] [data-ph-icon]{animation:layout-icon 2s ease-in-out infinite}@keyframes layout-icon{50%{opacity:.45}}
[data-screen="nosotros"] .about-process-card{padding:0!important;overflow:hidden;display:flex;flex-direction:column}.about-process-card>img{display:block;width:100%;height:auto;aspect-ratio:16/8;object-fit:cover}.about-process-copy{padding:20px}.about-process-copy>div:first-child>span:first-child{height:30px!important;width:30px!important;border-radius:9px!important;font-size:12px!important}.about-process-copy h3{margin-top:14px!important;font-size:19px!important}.about-process-copy p{font-size:14px!important;line-height:1.6!important}
@media(min-width:1024px){[data-screen]>section:not(:first-child){padding-block:32px!important}[data-screen="propiedad"]>section:not(:first-child),[data-screen="resultados"]>section:not(:first-child){padding-top:0!important}[data-screen] h1:not([data-property-title]):not([data-result-count]){font-size:clamp(36px,4.2vw,60px)!important}[data-screen]:not([data-screen="propiedad"]):not([data-screen="resultados"]) h2{font-size:clamp(26px,2.6vw,38px)!important}[data-screen] section>div[style*="max-width"]{max-width:1440px!important}[data-search]{max-width:1000px!important}[data-screen="home"] [data-search] input,[data-screen="home"] [data-search] select{font-size:14px!important}[data-screen="home"] [data-search] [data-search-btn]{padding:13px 24px!important}[data-rescard]>div:nth-of-type(2){padding:16px!important}[data-rescard] h3{font-size:18px!important}[data-resimg]{min-height:155px!important}}
@media(max-width:900px){.property-heading{grid-template-columns:minmax(0,1fr);gap:10px;padding-right:0}.property-heading-actions{display:flex!important;justify-content:space-between!important}.property-heading-actions>[data-property-availability]{position:static;transform:none}.property-heading-title{grid-template-columns:auto 1fr}.property-heading-title [data-property-title]{font-size:24px!important}}
@media(max-width:600px){[data-screen]>section:first-child{padding-top:86px!important}[data-screen="propiedad"]>section:first-child,[data-screen="resultados"]>section:first-child{padding-top:88px!important;padding-bottom:14px!important}.property-heading{margin-bottom:12px;gap:8px}.property-heading-title [data-property-title]{font-size:22px!important}.property-heading-title [data-property-city]{font-size:9px!important}.about-process-copy{padding:18px}[data-detail]>div{padding:18px!important}}
@media(prefers-reduced-motion:reduce){.layout-progress>span{animation:none;width:100%;opacity:.65}[data-mainph][aria-busy="true"] [data-ph-icon]{animation:none}}
@media(max-width:600px){.property-media-tabs{display:flex!important;flex-wrap:nowrap!important;gap:8px!important}.property-media-tabs>[data-mediatab]{flex:1;justify-content:center;padding:10px 8px!important;font-size:12px!important;min-width:0}[data-mainph]>div{padding:16px!important}[data-mainph]>div>div:first-child{width:48px!important;height:48px!important;border-radius:14px!important}[data-ph-title]{margin-top:12px!important}[data-ph-cta]{margin-top:12px!important;padding:10px 16px!important}}

/* Keep the gallery and thumbnail rail on the same breakpoint as the v15 shell.
   Mixing the shell's 1080px rail with a 900px grid squeezed the main photo. */
[data-gallery]{grid-template-columns:92px minmax(0,1fr)!important;gap:10px!important}
[data-gallery]>div{min-width:0}
[data-gallery]>div:nth-child(2){min-height:clamp(280px,34vw,460px)!important;border-radius:16px!important}
[data-gallery],.property-media-tabs{max-width:1040px;margin-inline:auto}
[data-gallery]>div:nth-child(2){min-height:clamp(280px,32vw,420px)!important;background:#eef2f7!important}
[data-mainimg]{object-fit:scale-down!important}
[data-thumbs]{gap:8px!important}
@media(min-width:1081px){[data-thumbs]{max-height:420px;overflow-y:auto;scrollbar-width:thin}[data-thumbs]>button{flex-shrink:0}}
@media(max-width:1080px){
  [data-gallery]{grid-template-columns:minmax(0,1fr)!important}
  [data-thumbs]{flex-direction:row!important;align-items:flex-start;order:2;overflow-x:auto}
  [data-thumbs]>button{flex:0 0 120px!important;width:120px;height:90px}
  [data-gallery]>div:nth-child(2){min-height:clamp(250px,50vw,400px)!important}
}
@media(max-width:600px){
  [data-thumbs]>button{flex-basis:96px!important;width:96px;height:72px}
}

/* Videos provided by Promolocales, loaded only on user request. */
.broker-videos{max-width:1100px;margin:0 auto;padding:40px 24px 60px}.broker-videos header{max-width:650px;margin-bottom:24px}.broker-videos h2{font-size:clamp(26px,3vw,38px);line-height:1.12;margin:8px 0 12px}.broker-videos header p{color:var(--muted,#66758b)}.broker-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.broker-video-grid article{background:#fff;border:1px solid #e0e6ef;border-radius:20px;padding:12px;box-shadow:0 6px 24px #17335b08}.broker-video-grid video{display:block;width:100%;height:310px;object-fit:contain;background:#10243c;border-radius:12px}.broker-video-grid h3{font-size:16px;margin:14px 6px 6px;color:#18315a}@media(max-width:640px){.broker-video-grid{grid-template-columns:1fr}.broker-video-grid video{height:340px}}


/* Keep the caption outside the drawing and make the selected floor explicit. */
.layout-thumbnail{display:flex;flex-direction:column;aspect-ratio:auto;min-height:74px;opacity:.65}
.layout-thumbnail[aria-pressed="true"]{border-color:#19305d!important;opacity:1!important}
.layout-thumbnail img{height:58px;flex:none;object-fit:contain;background:#fff}
.layout-thumbnail span{position:static;line-height:1.25;white-space:normal}
.layout-thumbnail .layout-thumbnail-placeholder{background:#eef1f6;color:#19305d;font-size:24px;min-height:48px;display:grid;place-items:center}

/* Click the same photo/layout to inspect it without leaving the property. */
[data-expandable="true"]{cursor:zoom-in}
[data-expandable="true"]:focus-visible{outline:3px solid #19305d;outline-offset:3px}
.property-media-viewer{position:fixed;inset:0;width:96vw;max-width:1600px;height:94dvh;max-height:94dvh;padding:16px;border:0;border-radius:16px;background:white;color:#19305d;overflow:hidden;box-sizing:border-box}
.property-media-viewer::backdrop{background:rgba(10,22,40,.8)}
.property-media-viewer .media-viewer-close{position:absolute;right:12px;top:8px;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#edf1f6;font-size:30px;z-index:2;cursor:pointer}
.property-media-viewer .media-viewer-caption{margin:0 54px 12px 0;font:600 14px/24px system-ui;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.property-media-viewer .media-viewer-scroll{height:calc(100% - 36px);overflow:auto;overscroll-behavior:contain}
.property-media-viewer .media-viewer-image{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:0;border:0;background:white;cursor:zoom-in}
.property-media-viewer .media-viewer-image img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}
.property-media-viewer .media-viewer-image[aria-pressed="true"]{width:max(160%,1200px);height:160%;cursor:zoom-out}
.property-media-viewer button:focus-visible{outline:3px solid #19305d;outline-offset:-3px}

/* Operational video library, separated from broker acquisition. */
.help-library{max-width:1120px;margin:0 auto;padding:140px 24px 64px;color:#18345b}.help-library header{max-width:700px;margin-bottom:32px}.help-library h1{font-size:clamp(32px,4vw,48px);line-height:1.12;margin:12px 0 16px}.help-library h2{font-size:20px;margin:16px 0 12px}.help-library p,.broker-help-link p{font-size:17px;line-height:1.5}.help-library video{width:100%;border-radius:14px;background:#18345b}.help-library .broker-video-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.broker-help-link{max-width:1120px;margin:0 auto;padding:24px}.help-library a,.broker-help-link a{color:#18345b;text-decoration:underline;font-weight:600}@media(max-width:700px){.help-library .broker-video-grid{grid-template-columns:1fr}.help-library{padding-top:110px}}

.broker-video-single{max-width:960px;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:48px;align-items:center;margin:32px auto 48px;padding:40px;border:1px solid #e0e6ef;border-radius:24px;background:linear-gradient(135deg,#f7f9fc,#fff)}.broker-video-single header{max-width:420px;margin:0;text-align:left}.broker-video-single header p{font-size:18px;line-height:1.6}.broker-video-single>video{display:block;width:100%;aspect-ratio:9/16;object-fit:contain;background:#10243c;border-radius:18px;box-shadow:0 12px 32px #10243c16}@media(max-width:720px){.broker-video-single{grid-template-columns:minmax(0,1fr);gap:24px;margin:24px 16px 40px;padding:24px}.broker-video-single header{text-align:center;margin:0 auto}.broker-video-single>video{width:min(100%,300px);margin:0 auto}}

/* Original client manuals, grouped by company beside the help videos. */
.help-documents{margin:44px 0 32px}.help-documents>h2{font-size:26px;margin:0 0 20px}.help-document-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.help-document-group{background:#fff;border:1px solid #dfe5ee;border-radius:18px;padding:24px}.help-document-group h3{font-size:20px;margin:0 0 18px;color:#18345b}.help-document-group ul{list-style:none;margin:0;padding:0}.help-document-group li+li{border-top:1px solid #e9edf3}.help-document-group a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;font-size:16px;line-height:1.4;text-decoration:none}.help-document-group a:hover{color:#c8102e}.help-document-group a:focus-visible{outline:2px solid #c8102e;outline-offset:4px;border-radius:4px}.help-pdf-label{font-size:12px;letter-spacing:.04em;white-space:nowrap;color:#68758b}.help-library .broker-video-grid video{max-height:420px;object-fit:contain}@media(max-width:700px){.help-document-grid{grid-template-columns:1fr;gap:16px}.help-document-group{padding:22px}.help-documents{margin-top:32px}}

/* Keep the approved red mark on scroll; no monochrome recoloring. */
[data-pl-header] [data-logo-full],[data-pl-header] [data-logo-icon]{filter:none!important}
@media(max-width:600px){[data-pl-header] a[data-nav="home"] [data-logo-morph]{transform:scale(.78);transform-origin:left center}[data-pl-header][data-brand-compact="false"]>a[data-nav="home"]{margin-right:-44px}}
@media(prefers-reduced-motion:reduce){[data-pl-header] [data-logo-morph],[data-pl-header] [data-logo-full],[data-pl-header] [data-logo-icon]{transition:none!important}}

@media(max-width:360px){[data-pl-header] a[data-nav="home"] [data-logo-morph]{transform:scale(.6)}[data-pl-header][data-brand-compact="false"]>a[data-nav="home"]{margin-right:-80px}}

@media(max-width:600px){[data-pl-header][data-brand-compact="true"] a[data-nav="home"] [data-logo-morph]{transform:scale(.9)}}

/* v3.82: search continuity, readable compact spaces and contrast on the blue header. */
[data-pl-header][data-brand-compact="true"] [data-logo-icon]{filter:brightness(0) invert(1)!important}
[data-property-search]{margin-bottom:24px;padding:12px!important}
[data-property-search] [data-fields]{display:grid!important;grid-template-columns:minmax(200px,1.7fr) repeat(3,minmax(110px,1fr)) auto;gap:8px!important}
[data-property-search] [data-fields]>label{min-width:0}
[data-property-search] input,[data-property-search] select{width:100%;min-width:0}
[data-property-search] [data-search-btn]{justify-content:center;padding:0 24px!important}
.units-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.units-heading .unit-actions{margin:0}
.unit-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:264px;margin-top:12px}
.unit-option{min-height:56px;padding:9px 12px;gap:12px}
.unit-option small{margin-top:3px;line-height:1.35}
.unit-option strong{font-size:14px}
[data-commercial] .detail-table{margin-top:12px}
@media(max-width:1000px){[data-property-search] [data-fields]{grid-template-columns:repeat(3,minmax(0,1fr))}[data-property-search] [data-keyword]{grid-column:1 / -1}[data-property-search] [data-search-btn]{grid-column:1 / -1;min-height:44px}.unit-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){[data-property-search] [data-fields]{grid-template-columns:repeat(2,minmax(0,1fr))}[data-property-search] [data-fields]>label:nth-child(2){grid-column:1 / -1}[data-property-search]{margin-bottom:20px}.unit-list{grid-template-columns:1fr;max-height:256px}.units-heading .unit-actions{width:100%}.units-heading .unit-actions>*{flex:1 1 auto;text-align:center}}

/* v3.83: a single integrated, fixed search header on property pages only. */
[data-pl-header] [data-property-search][hidden]{display:none!important}
[data-pl-header][data-property-header="true"]{flex-wrap:wrap;row-gap:10px!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:#fff!important}
[data-pl-header][data-property-header="true"] [data-hsearch]{display:none!important}
[data-pl-header] [data-property-search]{flex:0 0 100%;min-width:0;order:10;margin:0;padding:10px 0 0!important;border:0!important;border-top:1px solid rgba(110,113,120,.15)!important;border-radius:0!important;background:none!important;box-shadow:none!important;backdrop-filter:none!important}
[data-pl-header] [data-property-search] [data-fields]{grid-template-columns:minmax(0,1fr) 170px 150px 150px}
[data-pl-header] [data-property-search] [data-fields]>label{grid-column:auto!important;justify-content:center;min-height:48px;padding-inline:10px!important}
[data-pl-header] [data-property-search] [data-search-btn]{grid-column:auto!important;min-height:44px;padding:0 22px!important}
[data-pl-header][data-property-header="true"][data-brand-compact="true"]{background:#19305d!important;padding-top:6px!important;padding-bottom:8px!important;row-gap:6px!important}
[data-pl-header][data-property-header="true"][data-brand-compact="true"] [data-logo-morph]{height:38px!important;width:38px!important}
[data-pl-header][data-property-header="true"][data-brand-compact="true"] [data-property-search]{padding-top:7px!important;border-top-color:rgba(255,255,255,.16)!important}
[data-pl-header][data-property-header="true"][data-brand-compact="true"] [data-fields]>label{min-height:40px;padding:5px 12px!important}
[data-pl-header][data-property-header="true"][data-brand-compact="true"] [data-fields]>label>span{font-size:9px!important;line-height:10px}
[data-pl-header][data-property-header="true"][data-brand-compact="true"] [data-search-btn]{min-height:40px;box-shadow:none!important}
[data-pl-header][data-property-header="true"][data-brand-compact="true"] [data-search-btn] svg{stroke:currentColor}
[data-screen="propiedad"]>section:first-child{padding-top:calc(var(--property-header-space,180px) + 20px)!important}
body[data-property-page="true"] [data-mobile-sheet]{padding-top:calc(var(--public-header-height,180px) + 16px)!important}
body[data-property-page="true"] [data-msearch]{display:none!important}
@media(max-width:1000px){
 [data-pl-header] [data-property-search] [data-fields]{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px!important}
 [data-pl-header] [data-property-query]{grid-column:1 / -1!important;grid-row:1}
 [data-pl-header] [data-property-search] [data-fields]>label{min-height:44px;padding:6px 9px!important}
 [data-pl-header] [data-property-search] input{font-size:16px!important}
 [data-pl-header] [data-property-search] select{font-size:13px!important}
 [data-pl-header][data-property-header="true"][data-brand-compact="true"] [data-fields]>label{min-height:38px;padding:4px 8px!important}
 [data-pl-header][data-property-header="true"][data-brand-compact="true"] [data-search-btn]{min-height:40px}
}

/* Search stays in one stable field; focusing never compresses the filters. */
[data-pl-header] [data-property-query]{display:flex;align-items:center;gap:8px;min-width:0;padding:4px;background:#f7f7f9;border:1.5px solid #e4e8ef;border-radius:13px;transition:border-color .18s,box-shadow .18s}
[data-pl-header] [data-property-query]:focus-within{border-color:#8298c1;box-shadow:0 0 0 3px rgba(130,152,193,.22)}
[data-pl-header] [data-property-query] [data-keyword]{flex:1 1 0!important;min-width:0;min-height:40px;gap:9px;padding:0 6px 0 10px!important;border:0!important;border-radius:0!important;background:transparent!important}
[data-pl-header] [data-property-query] [data-keyword]>svg{flex:0 0 17px}
[data-pl-header] [data-property-query] [data-search-btn]{flex:0 0 auto!important;align-self:stretch;min-height:40px;padding:0 16px!important;background:#19305d!important;color:#fff!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:9px!important;box-shadow:0 2px 5px rgba(11,32,56,.14)!important;gap:7px!important;font-size:14px!important;transform:none!important}
[data-pl-header] [data-property-query] [data-search-btn]:hover{background:#284773!important}
[data-pl-header] [data-property-query] [data-search-btn]:focus-visible{outline:2px solid #c8102e;outline-offset:2px}
@media(max-width:760px){[data-pl-header] [data-property-query] [data-search-btn]{min-height:44px;padding:0 13px!important}}

@media(max-width:600px){
 [data-pl-header][data-property-header="true"]{padding-inline:12px!important}
 [data-pl-header][data-property-header="true"][data-brand-compact="false"]>a[data-nav="home"]{width:126px;margin-right:0!important}
 [data-pl-header][data-property-header="true"][data-brand-compact="false"] [data-logo-morph]{transform:scale(.64)!important;flex-shrink:0}
 [data-pl-header][data-property-header="true"]>div:not([data-property-search]){gap:8px!important}
 [data-pl-header][data-property-header="true"] [data-login-btn]{padding:10px 12px!important}
}
@media(max-width:360px){
 [data-pl-header][data-property-header="true"][data-brand-compact="false"]>a[data-nav="home"]{width:100px}
 [data-pl-header][data-property-header="true"][data-brand-compact="false"] [data-logo-morph]{transform:scale(.51)!important}
}
