/* Owner-approved shared UI refinement; original brand tokens and data are retained. */
body>header{flex-wrap:wrap;gap:12px}body>header .brand{order:0}body>header #mainNav{order:1;margin-left:auto}body>header .header-utilities{order:2;display:flex;align-items:center;gap:8px;margin-left:0}.header-utilities #lang{min-width:68px;min-height:44px;color:#fff;white-space:nowrap}.header-utilities .menu-toggle{margin:0;padding:10px;min-width:44px;min-height:44px;color:#fff}.hamburger-icon{display:grid;gap:5px;width:22px}.hamburger-icon i{display:block;width:22px;height:2px;background:currentColor;transition:transform 180ms,opacity 180ms}#menuToggle[aria-expanded=true] .hamburger-icon i:nth-child(1){transform:translateY(7px) rotate(45deg)}#menuToggle[aria-expanded=true] .hamburger-icon i:nth-child(2){opacity:0}#menuToggle[aria-expanded=true] .hamburger-icon i:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.intro .hero-dual-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:440px}.intro .hero-dual-actions>*{display:flex;justify-content:center;align-items:center;text-align:center;min-width:0;min-height:52px;padding:13px 16px;font-size:15px;font-weight:600;line-height:1.4;border-radius:var(--radius-control,10px);text-decoration:none;margin:0}.intro .hero-dual-actions .secondary{background:var(--brand-on-primary,#f8f7f2);border:1px solid var(--brand-border,#d5d0c5);color:var(--forest)}
#mpmFilterDetails{margin:14px 0 24px;border:1px solid var(--brand-border,#d5d0c5);border-radius:12px;background:var(--brand-on-primary,#f8f7f2)}#mpmFilterDetails>summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;padding:16px 20px;font-weight:600;min-height:52px;color:var(--forest)}#mpmFilterDetails>summary::-webkit-details-marker{display:none}#mpmFilterDetails>summary svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}#mpmFilterDetails>summary i{width:8px;height:8px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-left:auto;margin-right:3px}#mpmFilterDetails[open]>summary i{transform:rotate(225deg)}#mpmFilterDetails .refine-filters{margin:0;background:transparent;border:0;padding:0}#mpmFilterDetails .filters{border:0;margin:0;background:transparent}#mpmFilterDetails #budgetError:empty{display:none}
.mpm-carousel-controls{display:flex;justify-content:center;align-items:center;gap:8px;margin:10px auto 0;max-width:100%;min-height:44px}.mpm-carousel-controls[hidden]{display:none!important}.mpm-carousel-arrow{display:flex;justify-content:center;align-items:center;border:0;background:transparent;color:var(--forest);font-size:27px;width:44px;min-height:44px;padding:0;flex:none;border-radius:50%;cursor:pointer}.mpm-carousel-arrow:hover{background:#e9e9e6}.mpm-carousel-dots{display:flex;align-items:center;justify-content:center;gap:2px;padding:0 6px;background:#e4e5e4;border-radius:24px;max-width:calc(100% - 104px);min-height:28px;flex-wrap:wrap}.mpm-carousel-dot{border:0;background:transparent;padding:10px 5px;min-width:22px;min-height:28px;display:flex;align-items:center;justify-content:center;cursor:pointer}.mpm-carousel-dot::before{content:'';width:7px;height:7px;display:block;border-radius:8px;background:#a9afb0;transition:width 220ms,background 220ms}.mpm-carousel-dot[aria-current=true]::before{width:21px;background:#fff}.mpm-carousel-controls button:focus-visible{outline:2px solid var(--forest);outline-offset:2px}.phase-a-carousel,.location-carousel{scrollbar-width:none;scroll-behavior:smooth}.phase-a-carousel::-webkit-scrollbar,.location-carousel::-webkit-scrollbar{display:none}.location-carousel>.card:nth-child(n){scroll-snap-align:start;scroll-snap-stop:normal}.phase-a-carousel>.recommendation-card{scroll-snap-stop:normal}.phase-a-carousel-controls,.location-group-controls{display:none!important}.unit-secondary>div:empty{display:none}.unit-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:700px){body>header{gap:8px}body>header .header-utilities{order:1;margin-left:auto;gap:2px}body>header #mainNav{order:2;margin-left:0}#brandHome .mpm-logo--premium{max-width:42vw;object-fit:contain}.header-utilities #lang{font-size:13px;padding:10px 6px;min-width:58px}.intro .hero-dual-actions{gap:10px;max-width:none}.intro .hero-dual-actions>*{font-size:14px;padding:12px 8px;min-height:50px}.mpm-carousel-controls{margin-top:8px}#mpmFilterDetails>summary{padding:14px 16px}}
@media(prefers-reduced-motion:reduce){.location-carousel,.phase-a-carousel{scroll-behavior:auto}.hamburger-icon i,.mpm-carousel-dot::before{transition:none}}

@media(min-width:701px) and (max-width:1000px){body>header .header-utilities{order:1;margin-left:auto}body>header .header-utilities .menu-toggle{display:block}body>header #mainNav{order:2;display:none;flex-basis:100%;width:100%;margin:0;padding-top:12px}body>header #mainNav.nav-open{display:flex;justify-content:flex-start}}

/* Unknown public facts collapse without altering source metadata. */
.card-facts>div:has(dd:empty),.recommendation-size:empty,.unit-size:empty{display:none}

/* Boundary copies use the existing grid widths/gaps; no placeholder tail. */
.mpm-infinite-carousel{scroll-behavior:auto!important;overflow-anchor:none}
.mpm-infinite-carousel::after{display:none!important;content:none!important}
.mpm-infinite-carousel.mpm-is-moving,.mpm-infinite-carousel.mpm-is-dragging{scroll-snap-type:none!important;scroll-behavior:auto!important}
.mpm-infinite-carousel.mpm-is-dragging{cursor:grabbing;user-select:none}
.mpm-infinite-carousel>[data-mpm-index]{scroll-snap-align:start;scroll-snap-stop:normal}

/* Four fixed semantic fact positions: missing values never repack the grid. */
.card-facts>div[data-card-fact]{display:block!important;min-width:0}
.card-facts>[data-card-fact="completion"]{grid-column:1;grid-row:1}.card-facts>[data-card-fact="units"]{grid-column:2;grid-row:1}.card-facts>[data-card-fact="size"]{grid-column:1;grid-row:2}.card-facts>[data-card-fact="developer"]{grid-column:2;grid-row:2}
.card-facts>[data-empty=true]{visibility:hidden}
.location-carousel .card-facts,.phase-a-carousel .card-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(var(--mpm-fact-one,44px),auto) minmax(var(--mpm-fact-two,44px),auto);gap:14px 18px}
.location-carousel .card-facts dd,.phase-a-carousel .card-facts dd{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;margin:0;font-weight:600;line-height:1.4}
.phase-a-carousel .card-facts{border-top:1px solid var(--brand-border);padding-top:15px;margin:10px 0 16px}.phase-a-carousel .card-facts dt{font-size:12px;line-height:1.4;color:var(--muted);margin-bottom:4px}.phase-a-carousel .card-facts dd{font-size:15px}
.location-carousel .card-body,.phase-a-carousel .recommendation-body{display:flex;flex-direction:column;min-width:0;flex:1}
.location-carousel .card-location,.phase-a-carousel .recommendation-body>.area{min-height:var(--mpm-location-height,0px)}
.location-carousel .card-body>h3,.phase-a-carousel .recommendation-body>h5{height:auto;min-height:var(--mpm-title-height,0px)}
.location-carousel .card-body>.price,.phase-a-carousel .recommendation-price{min-height:var(--mpm-price-height,0px)}
.location-carousel .card-actions,.phase-a-carousel .recommendation-actions{margin-top:auto}
@media(max-width:650px){.location-carousel .card-facts,.phase-a-carousel .card-facts{gap:12px 14px}.phase-a-carousel .card-facts dd{font-size:14px}}
