/* M4 integrations; original V2.11.1 geometry stays in the shared cascade. */
.detail-page .eyebrow:before{content:none}.detail-prices{text-align:right;flex-shrink:0;max-width:100%}.detail-prices .detail-price+.detail-price{margin-top:8px}.detail-price .contract-label{font-size:16px;font-weight:400;letter-spacing:0}
.detail-content .property-description h2{font-size:24px}.detail-content .property-description p{font-size:16px;line-height:1.6}
.gallery-count-1{grid-template-columns:1fr}.gallery-count-2 button:nth-child(2){grid-row:1/3}.gallery button,.gallery img{user-select:none;-webkit-user-drag:none}.gallery-shell .gallery-actions{max-width:calc(100% - 24px)}
.property-contact-pair{display:flex;gap:8px}.property-contact-pair .button{min-width:0;padding-left:12px;padding-right:12px;flex:1}
.property-viewer[open],.property-viewer::backdrop{background:#000}.property-viewer .gallery-stage{inset:6dvh 5vw}.property-viewer .gallery-stage img{touch-action:pan-y}.property-viewer>.close-dialog{width:44px;height:44px;font-size:28px}.property-viewer .viewer-caption{color:#ddd}.property-viewer [hidden]{display:none!important}
html.property-viewer-open{overflow:hidden}.property-viewer{overscroll-behavior:contain}
.inquiry-form input:not([type=checkbox]):focus,.inquiry-form textarea:focus{outline:1px solid #191919;outline-offset:-1px;border-color:#191919;box-shadow:none}.inquiry-form button:disabled{cursor:not-allowed}
@media(max-width:760px){.detail-prices{text-align:left}.detail-price{white-space:normal;overflow-wrap:anywhere}.detail-content .property-description h2{font-size:23px}.property-contact-pair{flex-direction:column}.property-contact-pair .button{width:100%}.detail-title-row h1{overflow-wrap:anywhere}.detail-facts dd{overflow-wrap:anywhere;min-width:0}}
@media(prefers-reduced-motion:reduce){.property-viewer *{animation:none!important;transition:none!important}}

/* M9.1: equal mobile CTA geometry; copy and actions unchanged. */
@media(max-width:760px){.mobile-contact>.button.button{flex:1 1 0%;min-width:0;align-self:stretch}}

/* M9.5: native fixed positioning; no JS race with asynchronous browser chrome. */
@media(max-width:760px){.mobile-contact{bottom:0;transform:translateZ(0);transition:none}.has-mobile-contact{padding-bottom:calc(80px + env(safe-area-inset-bottom))}}

@media(max-width:760px) and (hover:none) and (forced-colors:none){.mobile-contact .action-primary.action-primary.action-primary:not(:active){background:var(--brand);border-color:var(--brand);opacity:1}.mobile-contact .action-primary.action-primary.action-primary:active{background:var(--brand-hover);border-color:var(--brand-hover)}}

/* Only the dual price block moves; title, location and document flow stay unchanged. */
@media(min-width:761px){.detail-title-row .detail-prices[data-title-centered]{transform:translateY(calc(var(--detail-title-height)/2 - 50%))}}

/* Editorial content always uses Megara typography, including legacy pasted HTML. */
.property-description-body{font-family:Inter,Arial,sans-serif;font-size:16px;line-height:1.6;color:#4b4b4b}
.property-description-body :where(*){font-family:inherit;font-size:inherit;line-height:inherit;color:inherit}
.property-description-body a{text-decoration:underline}
.property-description-body :is(p,ul,ol,blockquote){margin-block:0 1em}
.property-description-body > :last-child{margin-bottom:0}
.property-description-body li > :last-child{margin-bottom:0}
@media(min-width:761px){.property-description-body{font-size:15.2px;line-height:1.5}.detail-content .property-description-body p{max-width:none}}

/* M8.1.1 generated light palette — scripts/build-light-palette.mjs */
@media (prefers-color-scheme: dark) and (forced-colors: none){
.property-viewer[open],.property-viewer::backdrop{background:#000;}
.property-viewer .viewer-caption{color:#ddd;}
.inquiry-form input:not([type=checkbox]):focus,.inquiry-form textarea:focus{outline:1px solid #191919;outline-offset:-1px;border-color:#191919;box-shadow:none;}
@media(max-width:760px) and (hover:none) and (forced-colors:none){.mobile-contact .action-primary.action-primary.action-primary:not(:active){background:var(--brand);border-color:var(--brand);}
.mobile-contact .action-primary.action-primary.action-primary:active{background:var(--brand-hover);border-color:var(--brand-hover);}
}
.property-description-body{color:#4b4b4b;}
.property-description-body :where(*){color:inherit;}
}
