:root{
  --cms-primary:#e10613;--cms-secondary:#8d0610;--cms-accent:#f5c7ca;--cms-on-primary:#fff;
  --cms-dark:#111;--cms-surface:#fff;--cms-surface-alt:#f5f6f7;--cms-text:#15191d;
  --cms-muted:#687078;--cms-line:#dfe3e6;--cms-card:#fff;--cms-radius:0px;--cms-card-radius:0px;
  --cms-body-font:"DM Sans",sans-serif;--cms-heading-font:Manrope,sans-serif;
  --cms-image-filter:none;--cms-logo-filter:none;--cms-hero-overlay:linear-gradient(90deg,rgba(8,8,10,.94),rgba(8,8,10,.44),rgba(8,8,10,.08));
  --navy:var(--cms-dark);--deep:var(--cms-dark);--gold:var(--cms-primary);--cream:var(--cms-surface-alt);
  --ink:var(--cms-text);--muted:var(--cms-muted);--line:var(--cms-line)
}
body{font-family:var(--cms-body-font)!important;color:var(--cms-text);background:var(--cms-surface)}
h1,h2,h3,h4,h5,h6,.brand b,.kpi b,.rent-hero b,.rent-card b{font-family:var(--cms-heading-font)!important}
.eyebrow,.property-img span,.steps article>b{color:var(--cms-primary)!important}

/* Full public-site palette */
.announcement{background:var(--cms-primary)!important;color:var(--cms-on-primary)!important}
body>header.site-header{background:color-mix(in srgb,var(--cms-surface) 94%,transparent)!important;border-color:var(--cms-line)!important}
body>header.site-header nav a:hover,body>header.site-header nav a:focus{color:var(--cms-primary)!important}
.management-header-link,.mobile-management-link{border-color:var(--cms-primary)!important;color:var(--cms-primary)!important}
.hero>img,.property-img,.promotion-media img,.offplan-project-card img{filter:var(--cms-image-filter)}
.hero .shade{background:var(--cms-hero-overlay)!important}
.hero h1 em{color:var(--cms-primary)!important}
.finder,.search-dock .finder{background:var(--cms-card)!important;color:var(--cms-text)!important;border-radius:var(--cms-card-radius)!important}
.stay-tabs{border-color:var(--cms-line)!important}.stay-tabs button{background:var(--cms-surface-alt)!important;color:var(--cms-muted)!important}
.stay-tabs button.active{background:var(--cms-dark)!important;color:#fff!important}
.finder select,.finder input,.filter-row input,.offplan-filters input,.offplan-filters select{background:var(--cms-card)!important;color:var(--cms-text)!important;border-color:var(--cms-line)!important}
.metrics,.steps,.public-info.light,.offplan-showcase{background:var(--cms-surface)!important;color:var(--cms-text)!important;border-color:var(--cms-line)!important}
.stays,.public-info,.promotion-zone,.complaint-center{background:var(--cms-surface-alt)!important;color:var(--cms-text)!important}
.journey{background:var(--cms-dark)!important}.journey h2,.journey h3{color:#fff!important}
.section-head h2,.steps h2,.public-info h2,.promotion-heading h2,.offplan-public-head h2{color:var(--cms-dark)!important}
.property,.info-grid article,.team-grid article,.promotion-stage,.offplan-project-card,.app-card,.complaint-center form{background:var(--cms-card)!important;border-color:var(--cms-line)!important;border-radius:var(--cms-card-radius)!important}
.property-info h3,.price-row b,.drawer h2,.modal h2{color:var(--cms-dark)!important}
.price-row button,.rent-card{background:var(--cms-dark)!important}
.app-card{border-color:var(--cms-secondary)!important}.app-actions article{background:var(--cms-surface)!important}
.steps article,.price-row,.filter-row button,.promotion-controls button{border-color:var(--cms-line)!important}
.filter-row button,.outline,.login{background:var(--cms-card)!important;color:var(--cms-text)!important}
.filter-row button.active{background:var(--cms-dark)!important;color:#fff!important;border-color:var(--cms-dark)!important}
footer{background:var(--cms-dark)!important;color:color-mix(in srgb,#fff 70%,var(--cms-accent))!important}
footer b,footer h2{color:#fff!important}.brand-group{border-color:color-mix(in srgb,var(--cms-accent) 25%,transparent)!important}

/* Theme-aware buttons and tabs throughout public, tenant and management pages */
.gold,.search-btn,.portal-submit,.complaint-center button,.offplan-enquire,.rent-card button,.promotion-cta,.theme-primary,.ops-primary,.suite-action-grid button,.portal-card button,.tenant-profile-actions button:first-child,.wm-primary,.studio-toolbar button:first-child{
  background:var(--cms-primary)!important;color:var(--cms-on-primary)!important;border-color:var(--cms-primary)!important;border-radius:var(--cms-radius)!important
}
button,.login,.outline,.management-header-link,.mobile-management-link{transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease}
button:hover,.login:hover,.outline:hover,.management-header-link:hover{transform:translateY(-1px)}
body[data-button-style="pill"] button,body[data-button-style="pill"] .login,body[data-button-style="pill"] .outline,body[data-button-style="pill"] .management-header-link{border-radius:999px!important}
body[data-button-style="outline"] .gold,body[data-button-style="outline"] .search-btn,body[data-button-style="outline"] .portal-submit,body[data-button-style="outline"] .complaint-center button,body[data-button-style="outline"] .offplan-enquire,body[data-button-style="outline"] .ops-primary{background:transparent!important;color:var(--cms-primary)!important;border:2px solid var(--cms-primary)!important}
body[data-button-style="gradient"] .gold,body[data-button-style="gradient"] .search-btn,body[data-button-style="gradient"] .portal-submit,body[data-button-style="gradient"] .complaint-center button,body[data-button-style="gradient"] .offplan-enquire,body[data-button-style="gradient"] .ops-primary{background:linear-gradient(135deg,var(--cms-primary),var(--cms-secondary))!important;color:var(--cms-on-primary)!important;box-shadow:0 9px 24px color-mix(in srgb,var(--cms-primary) 28%,transparent)}
body[data-button-style="chunky"] .gold,body[data-button-style="chunky"] .search-btn,body[data-button-style="chunky"] .portal-submit,body[data-button-style="chunky"] .complaint-center button,body[data-button-style="chunky"] .offplan-enquire,body[data-button-style="chunky"] .ops-primary{box-shadow:4px 4px 0 var(--cms-dark)!important;border:2px solid var(--cms-dark)!important}
body[data-button-style="angular"] .gold,body[data-button-style="angular"] .search-btn,body[data-button-style="angular"] .portal-submit,body[data-button-style="angular"] .complaint-center button,body[data-button-style="angular"] .offplan-enquire,body[data-button-style="angular"] .ops-primary{clip-path:polygon(9px 0,100% 0,100% calc(100% - 9px),calc(100% - 9px) 100%,0 100%,0 9px);border-radius:0!important}

/* Card silhouettes are genuinely different per preset */
body[data-card-style="elevated"] .property,body[data-card-style="elevated"] .panel,body[data-card-style="elevated"] .portal-card,body[data-card-style="elevated"] .info-grid article,body[data-card-style="elevated"] .team-grid article{border-color:transparent!important;box-shadow:0 18px 45px color-mix(in srgb,var(--cms-dark) 13%,transparent)}
body[data-card-style="soft"] .property,body[data-card-style="soft"] .panel,body[data-card-style="soft"] .portal-card,body[data-card-style="soft"] .info-grid article,body[data-card-style="soft"] .team-grid article{background:color-mix(in srgb,var(--cms-card) 86%,var(--cms-accent))!important;border-color:transparent!important}
body[data-card-style="outlined-shadow"] .property,body[data-card-style="outlined-shadow"] .panel,body[data-card-style="outlined-shadow"] .portal-card,body[data-card-style="outlined-shadow"] .info-grid article,body[data-card-style="outlined-shadow"] .team-grid article{border:2px solid var(--cms-dark)!important;box-shadow:6px 6px 0 var(--cms-accent)}
body[data-card-style="luxury"] .property,body[data-card-style="luxury"] .panel,body[data-card-style="luxury"] .portal-card,body[data-card-style="luxury"] .info-grid article,body[data-card-style="luxury"] .team-grid article{border:1px solid var(--cms-accent)!important;box-shadow:inset 0 3px var(--cms-primary)}

/* Header variants */
body[data-header-style="floating"]>header.site-header{margin:12px 2vw 0;width:96%;border:1px solid var(--cms-line)!important;border-radius:calc(var(--cms-card-radius) + 8px)!important;box-shadow:0 12px 34px color-mix(in srgb,var(--cms-dark) 12%,transparent)}
body[data-header-style="underline"]>header.site-header nav a{padding:31px 0 27px;border-bottom:3px solid transparent}
body[data-header-style="underline"]>header.site-header nav a:hover{border-bottom-color:var(--cms-primary)}

/* Portals and management inherit the selected system */
.portal-main{background:var(--cms-surface-alt)!important;color:var(--cms-text)!important}.portal-top{background:var(--cms-card)!important;border-color:var(--cms-line)!important}
.portal-sidebar{background:var(--cms-dark)!important}.portal-sidebar nav button:hover,.portal-sidebar nav button.active{background:color-mix(in srgb,var(--cms-primary) 22%,var(--cms-dark))!important;box-shadow:inset 3px 0 var(--cms-primary)!important}
.portal-tools #globalCreate,.avatar{background:var(--cms-primary)!important;color:var(--cms-on-primary)!important}.bell i,.kpi:after,.activity>i{background:var(--cms-primary)!important}
.panel,.kpi,.portal-card,.document,.tenant-profile-card,.suite-page article,.wm-card,.integration-card,.theme-card{background:var(--cms-card)!important;border-color:var(--cms-line)!important;border-radius:var(--cms-card-radius)!important}
.rent-hero{background:linear-gradient(125deg,var(--cms-dark),var(--cms-secondary))!important}.rent-hero button{background:var(--cms-primary)!important;color:var(--cms-on-primary)!important;border-radius:var(--cms-radius)!important}
.quick-grid button,.panel-head button,.ops-tabs button,.suite-tabs button,.builder-rail button{border-color:var(--cms-line)!important;border-radius:var(--cms-radius)!important}
.quick-grid button b,.builder-rail button.active i,.suite-heading small,.theme-head>div>span{color:var(--cms-primary)!important}
.builder-rail button.active,.ops-tabs button.active,.suite-tabs button.active{border-color:var(--cms-primary)!important;color:var(--cms-primary)!important}
.builder-preview-bar,.theme-head{background:var(--cms-dark)!important}.theme-publish{background:var(--cms-primary)!important;color:var(--cms-on-primary)!important}
input:focus,select:focus,textarea:focus{outline-color:var(--cms-primary)!important;border-color:var(--cms-primary)!important}

@media(max-width:900px){body[data-header-style="floating"]>header.site-header{margin:0;width:100%;border-radius:0!important}.theme-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.theme-preset-grid{grid-template-columns:1fr!important}}

/* Theme library layout */
.theme-preset-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
.theme-preset{transition:transform .18s ease,box-shadow .18s ease}.theme-preset:hover{transform:translateY(-2px)}
.theme-preset-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}
.theme-preset-top span{display:grid!important;place-items:center;width:26px;height:26px;background:var(--cms-dark)!important;color:#fff!important;font-size:10px!important;font-weight:900}
.theme-preset-top small{color:var(--cms-muted);font-size:10px;font-weight:800}.theme-preset-swatch{height:46px!important}.theme-preset p{min-height:52px}
.theme-preset-logo{height:52px;margin:10px 0 2px;display:grid;place-items:center;background:linear-gradient(135deg,#fff,color-mix(in srgb,#fff 82%,var(--cms-surface-alt)));border:1px solid var(--cms-line);overflow:hidden}.theme-preset-logo img{display:block;width:86%;height:42px;object-fit:contain;filter:none}
@media(max-width:1100px){.theme-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.theme-preset-grid{grid-template-columns:1fr!important}.theme-preset p{min-height:0}}
.theme-reference-note{color:var(--cms-muted,#627182);line-height:1.6;margin:8px 0 18px}
.theme-reference-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;margin-bottom:38px}
.theme-palette-card{min-width:0;padding:15px!important}
.theme-palette-card .theme-preset-swatch{height:62px!important}
.theme-palette-card .theme-preset-swatch i:first-child{flex:2}
.theme-palette-card h5{margin:12px 0 4px}
.theme-palette-card p{min-height:0;margin:0 0 15px;font-size:12px}
@media(max-width:1100px){.theme-reference-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){.theme-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:440px){.theme-reference-grid{grid-template-columns:1fr!important}}

/* Complete design-system coverage: text, controls and public page structure */
.stays p,.public-info p,.steps p,.property-info small,.property-info .features,.promotion-zone p,.offplan-showcase p{color:var(--cms-muted)!important}
.finder label,.filter-row label,.complaint-center label,.offplan-filters label{color:var(--cms-muted)!important}
.property-plan,.book-selected,.methods button,.app-actions article,.journey-actions button,.promotion-controls button,.offplan-filters button,.drawer button,.modal button,.mobile-login{
  border-radius:var(--cms-radius)!important;font-family:var(--cms-body-font)!important
}
.book-selected,.property-plan.active,.mobile-login,.modal .gold,.drawer .gold{
  background:var(--cms-primary)!important;color:var(--cms-on-primary)!important;border-color:var(--cms-primary)!important
}
.property-plan,.methods button,.promotion-controls button{background:var(--cms-card)!important;color:var(--cms-text)!important;border-color:var(--cms-line)!important}
.property-plan b,.property-map,.info-grid b,.team-grid b{color:var(--cms-dark)!important}
.property-grid,.info-grid,.team-grid,.steps>div{transition:grid-template-columns .3s ease,gap .3s ease}
.stays,.public-info,.steps,.journey,.complaint-center,.offplan-showcase,.promotion-zone{transition:background .25s ease,color .25s ease,border-radius .25s ease}

/* 01 — Original Red: sharp editorial grid */
body[data-theme-preset="original-red"] .property-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body[data-theme-preset="original-red"] .section-head{border-left:6px solid var(--cms-primary);padding-left:22px}

/* 02 — Royal Navy: tailored horizontal property catalogue */
body[data-theme-preset="royal-navy"] .stays{padding-inline:7vw}
body[data-theme-preset="royal-navy"] .section-head{display:grid;grid-template-columns:1fr auto;align-items:center;border-bottom:1px solid var(--cms-line);padding-bottom:24px}
body[data-theme-preset="royal-navy"] .property-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
body[data-theme-preset="royal-navy"] .property{display:grid;grid-template-columns:42% 58%;min-height:310px}
body[data-theme-preset="royal-navy"] .property-img{height:100%;min-height:310px}
body[data-theme-preset="royal-navy"] .steps>div{gap:18px}body[data-theme-preset="royal-navy"] .steps article{border:1px solid var(--cms-line);border-top:4px solid var(--cms-primary)}

/* 03 — Ocean Blue: centered, rounded destination layout */
body[data-theme-preset="ocean-blue"] .hero-copy{text-align:center;margin-inline:auto;max-width:850px}
body[data-theme-preset="ocean-blue"] .hero-copy p{margin-inline:auto}
body[data-theme-preset="ocean-blue"] .finder{border:1px solid color-mix(in srgb,var(--cms-primary) 24%,transparent);overflow:hidden}
body[data-theme-preset="ocean-blue"] .section-head{display:block;text-align:center;max-width:760px;margin-inline:auto}
body[data-theme-preset="ocean-blue"] .section-head .outline{margin-top:18px}
body[data-theme-preset="ocean-blue"] .property-grid{gap:28px}
body[data-theme-preset="ocean-blue"] .steps>div{gap:18px}body[data-theme-preset="ocean-blue"] .steps article{border:0;border-radius:var(--cms-card-radius);background:var(--cms-surface-alt)}

/* 04 — Emerald Green: organic asymmetric cards */
body[data-theme-preset="emerald-green"] .stays,body[data-theme-preset="emerald-green"] .public-info{border-radius:64px 64px 0 0}
body[data-theme-preset="emerald-green"] .property-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
body[data-theme-preset="emerald-green"] .property:nth-child(3n+1){grid-column:1/-1;display:grid;grid-template-columns:1.15fr 1fr}
body[data-theme-preset="emerald-green"] .property:nth-child(3n+1) .property-img{height:100%;min-height:330px}
body[data-theme-preset="emerald-green"] .info-grid article:nth-child(2){transform:translateY(18px)}

/* 05 — Sea Green: airy alternating rows */
body[data-theme-preset="sea-green"] .property-grid{display:flex;flex-direction:column;gap:22px;max-width:1180px;margin-inline:auto}
body[data-theme-preset="sea-green"] .property{display:grid;grid-template-columns:44% 56%;min-height:300px}
body[data-theme-preset="sea-green"] .property:nth-child(even){grid-template-columns:56% 44%}
body[data-theme-preset="sea-green"] .property:nth-child(even) .property-img{grid-column:2;grid-row:1}
body[data-theme-preset="sea-green"] .property-img{height:100%}
body[data-theme-preset="sea-green"] .section-head{align-items:center;padding:22px;border:1px solid var(--cms-line);background:var(--cms-card);border-radius:var(--cms-card-radius)}

/* 06 — Sunny Yellow: playful poster grid */
body[data-theme-preset="sunny-yellow"] .section-head h2,body[data-theme-preset="sunny-yellow"] .steps h2{text-transform:uppercase;letter-spacing:-.025em}
body[data-theme-preset="sunny-yellow"] .property-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px}
body[data-theme-preset="sunny-yellow"] .property:nth-child(even){transform:translateY(20px)}
body[data-theme-preset="sunny-yellow"] .steps>div{gap:20px}body[data-theme-preset="sunny-yellow"] .steps article{border:2px solid var(--cms-dark);box-shadow:7px 7px 0 var(--cms-primary);background:var(--cms-card)}

/* 07 — Golden Luxury: editorial feature layout */
body[data-theme-preset="golden-luxury"] .section-head{display:block;text-align:center;max-width:820px;margin:0 auto 38px}
body[data-theme-preset="golden-luxury"] .property-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px}
body[data-theme-preset="golden-luxury"] .property:first-child{grid-column:1/-1;display:grid;grid-template-columns:1.25fr .75fr}
body[data-theme-preset="golden-luxury"] .property:first-child .property-img{height:100%;min-height:420px}
body[data-theme-preset="golden-luxury"] .steps>div{border-top:1px solid var(--cms-primary);border-bottom:1px solid var(--cms-primary)}

/* 08 — Royal Purple: sculpted mosaic */
body[data-theme-preset="royal-purple"] .property-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:dense}
body[data-theme-preset="royal-purple"] .property:nth-child(3n+1){grid-column:span 2}
body[data-theme-preset="royal-purple"] .property:nth-child(4n+2){grid-row:span 2}
body[data-theme-preset="royal-purple"] .property:nth-child(4n+2) .property-img{height:360px}
body[data-theme-preset="royal-purple"] .public-info{border-radius:80px 0 80px 0}

/* 09 — Rose Pink: soft boutique catalogue */
body[data-theme-preset="rose-pink"] .section-head{display:block;text-align:center}.property-grid{align-items:stretch}
body[data-theme-preset="rose-pink"] .property-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:1120px;margin-inline:auto;gap:28px}
body[data-theme-preset="rose-pink"] .property:nth-child(odd){margin-top:28px}
body[data-theme-preset="rose-pink"] .steps>div{gap:20px}body[data-theme-preset="rose-pink"] .steps article{border:0;text-align:center;background:var(--cms-surface-alt);border-radius:40px;padding:38px 28px}

/* 10 — Midnight Black: immersive dark mode */
body[data-theme-preset="midnight-black"] .stays,body[data-theme-preset="midnight-black"] .public-info,body[data-theme-preset="midnight-black"] .steps,body[data-theme-preset="midnight-black"] .offplan-showcase{background:#0c0e11!important;color:#f5f7f9!important}
body[data-theme-preset="midnight-black"] .section-head h2,body[data-theme-preset="midnight-black"] .public-info h2,body[data-theme-preset="midnight-black"] .steps h2{color:#fff!important}
body[data-theme-preset="midnight-black"] .property,body[data-theme-preset="midnight-black"] .info-grid article,body[data-theme-preset="midnight-black"] .team-grid article{background:#171a1f!important;border-color:#30353d!important;color:#fff!important}
body[data-theme-preset="midnight-black"] .property-info h3,body[data-theme-preset="midnight-black"] .property-plan b,body[data-theme-preset="midnight-black"] .info-grid b,body[data-theme-preset="midnight-black"] .team-grid b{color:#fff!important}
body[data-theme-preset="midnight-black"] .property-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;background:#30353d}

/* 11 — Clean White: minimal gallery with generous whitespace */
body[data-theme-preset="clean-white"] .stays{padding-block:120px}
body[data-theme-preset="clean-white"] .section-head{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:8vw}
body[data-theme-preset="clean-white"] .property-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body[data-theme-preset="clean-white"] .property{border-width:0!important;border-top:1px solid var(--cms-line)!important}
body[data-theme-preset="clean-white"] .property-img{height:300px}
body[data-theme-preset="clean-white"] .steps article{padding:48px;border-right:0;border-top:1px solid var(--cms-line)}

/* 12 — Sunset Orange: energetic staggered layout */
body[data-theme-preset="sunset-orange"] .section-head{background:var(--cms-dark);color:#fff;padding:34px;border-radius:var(--cms-card-radius)}
body[data-theme-preset="sunset-orange"] .section-head h2,body[data-theme-preset="sunset-orange"] .section-head p{color:#fff!important}
body[data-theme-preset="sunset-orange"] .property-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
body[data-theme-preset="sunset-orange"] .property:nth-child(2n){transform:translateY(24px)}
body[data-theme-preset="sunset-orange"] .info-grid{transform:rotate(-.5deg)}body[data-theme-preset="sunset-orange"] .info-grid article:nth-child(even){transform:rotate(1deg)}

@media(max-width:1000px){
  body[data-theme-preset] .property-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-theme-preset="royal-purple"] .property-grid,body[data-theme-preset="clean-white"] .property-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-theme-preset="royal-navy"] .property,body[data-theme-preset="sea-green"] .property,body[data-theme-preset="sea-green"] .property:nth-child(even){grid-template-columns:1fr}
  body[data-theme-preset="sea-green"] .property:nth-child(even) .property-img{grid-column:auto;grid-row:auto}
}
@media(max-width:650px){
  body[data-theme-preset] .property-grid{display:grid;grid-template-columns:1fr;gap:18px}
  body[data-theme-preset] .property,body[data-theme-preset] .property:first-child,body[data-theme-preset] .property:nth-child(3n+1){display:block;grid-column:auto;grid-row:auto;margin-top:0;transform:none}
  body[data-theme-preset] .property-img,body[data-theme-preset] .property:first-child .property-img,body[data-theme-preset] .property:nth-child(3n+1) .property-img{height:220px;min-height:0}
  body[data-theme-preset] .section-head{display:flex;flex-direction:column;text-align:left;align-items:flex-start;gap:16px}
  body[data-theme-preset="emerald-green"] .stays,body[data-theme-preset="emerald-green"] .public-info{border-radius:28px 28px 0 0}
}

/* Discreet owner access: a tiny dot in the lower-left corner, usable by mouse or touch. */
.owner-corner-access{
  position:fixed;left:max(5px,env(safe-area-inset-left));bottom:max(5px,env(safe-area-inset-bottom));
  z-index:49;width:36px;height:36px;padding:0;border:0!important;background:transparent!important;
  box-shadow:none!important;cursor:default;opacity:.12;transform:none!important
}
.owner-corner-access:after{content:"";position:absolute;left:5px;bottom:5px;width:7px;height:7px;border-radius:50%;background:var(--cms-muted);box-shadow:0 0 0 1px color-mix(in srgb,var(--cms-surface) 70%,transparent)}
.owner-corner-access:hover,.owner-corner-access:focus-visible{opacity:.55;outline:none}
.owner-corner-access:hover:after,.owner-corner-access:focus-visible:after{background:var(--cms-primary)}

/* Theme-complete homepages: every preset owns its motion, composition and readable type. */
body[data-theme-preset] .hero{background:var(--cms-dark);isolation:isolate}
body[data-theme-preset] .hero>img{display:block;width:100%;height:100%;object-fit:cover;opacity:1}
body[data-theme-preset] .hero>.cms-home-video{filter:var(--cms-image-filter);object-position:center;z-index:0}
body[data-theme-preset] .hero>.shade{z-index:1;pointer-events:none}
body[data-theme-preset] .hero>.finder{z-index:3}
body[data-theme-preset] .hero .hero-copy{position:relative;z-index:2;color:#fff}
body[data-theme-preset] .hero .hero-copy h1,body[data-theme-preset] .hero .hero-copy p{color:#fff!important;text-shadow:0 2px 22px rgba(0,0,0,.35)}
body[data-theme-preset="royal-navy"] .hero-copy{max-width:660px;padding:42px;background:linear-gradient(135deg,rgba(3,26,49,.88),rgba(3,26,49,.48));border-left:5px solid var(--cms-primary)}
body[data-theme-preset="ocean-blue"] .hero-copy{padding:38px 52px;background:rgba(3,51,79,.60);backdrop-filter:blur(7px);border-radius:34px}
body[data-theme-preset="emerald-green"] .hero{align-items:flex-end;padding-bottom:52px}
body[data-theme-preset="emerald-green"] .hero-copy{max-width:760px;padding:34px 38px;background:rgba(6,59,44,.78);border-radius:0 42px 42px 0;border-left:6px solid var(--cms-primary)}
body[data-theme-preset="sea-green"] .hero{margin:18px 3vw 0;width:94%;border-radius:34px;min-height:550px}
body[data-theme-preset="sea-green"] .hero-copy{padding:34px;background:rgba(7,78,85,.72);border:1px solid rgba(255,255,255,.32);border-radius:24px;backdrop-filter:blur(7px)}
body[data-theme-preset="sunny-yellow"] .hero-copy{padding:38px;background:#28240de0;border:3px solid var(--cms-primary);box-shadow:12px 12px 0 var(--cms-primary)}
body[data-theme-preset="golden-luxury"] .hero{align-items:flex-end;padding-bottom:58px}
body[data-theme-preset="golden-luxury"] .hero-copy{max-width:830px;margin-inline:auto;text-align:center;padding:32px 46px;background:linear-gradient(90deg,transparent,rgba(8,8,10,.88) 18%,rgba(8,8,10,.88) 82%,transparent);border-block:1px solid var(--cms-primary)}
body[data-theme-preset="royal-purple"] .hero-copy{margin-left:auto;max-width:660px;padding:44px;background:linear-gradient(135deg,rgba(44,18,70,.90),rgba(113,56,173,.56));border-radius:44px 0 44px 0}
body[data-theme-preset="rose-pink"] .hero-copy{margin-left:auto;max-width:680px;padding:42px;background:rgba(87,23,53,.74);border-radius:50px;backdrop-filter:blur(9px);box-shadow:0 28px 70px rgba(67,14,37,.32)}
body[data-theme-preset="midnight-black"] .hero-copy{max-width:640px;padding:38px 0;border-block:1px solid rgba(255,255,255,.34)}
body[data-theme-preset="clean-white"] .hero{margin:24px 4vw;width:92%;min-height:540px;border-radius:10px}
body[data-theme-preset="clean-white"] .hero-copy{max-width:620px;padding:38px;background:rgba(16,38,58,.78);border-radius:8px;backdrop-filter:blur(7px)}
body[data-theme-preset="sunset-orange"] .hero{align-items:flex-end;padding-bottom:54px}
body[data-theme-preset="sunset-orange"] .hero-copy{margin-left:auto;max-width:700px;padding:38px;background:linear-gradient(135deg,rgba(107,41,25,.88),rgba(231,104,46,.66));border-radius:42px 42px 8px 42px}

/* Theme-specific property photography and fully themed booking controls. */
body[data-theme-preset]{--property-image-a:url("assets/dubai-rental-hero.png");--property-image-b:url("assets/theme-hero-navy.png");--property-image-c:url("assets/theme-hero-gold.png")}
body[data-theme-preset="royal-navy"],body[data-theme-preset="ocean-blue"],body[data-theme-preset="royal-purple"],body[data-theme-preset="midnight-black"]{--property-image-a:url("assets/theme-hero-navy.png");--property-image-b:url("assets/dubai-rental-hero.png");--property-image-c:url("assets/theme-hero-sea.png")}
body[data-theme-preset="emerald-green"],body[data-theme-preset="sea-green"],body[data-theme-preset="clean-white"]{--property-image-a:url("assets/theme-hero-sea.png");--property-image-b:url("assets/dubai-rental-hero.png");--property-image-c:url("assets/theme-hero-navy.png")}
body[data-theme-preset="sunny-yellow"],body[data-theme-preset="golden-luxury"],body[data-theme-preset="rose-pink"],body[data-theme-preset="sunset-orange"]{--property-image-a:url("assets/theme-hero-gold.png");--property-image-b:url("assets/dubai-rental-hero.png");--property-image-c:url("assets/theme-hero-sea.png")}
body[data-theme-preset] .property:nth-child(3n+1) .property-img{background-image:linear-gradient(15deg,color-mix(in srgb,var(--cms-dark) 26%,transparent),transparent),var(--property-image-a)!important;background-position:center}
body[data-theme-preset] .property:nth-child(3n+2) .property-img{background-image:linear-gradient(15deg,color-mix(in srgb,var(--cms-dark) 26%,transparent),transparent),var(--property-image-b)!important;background-position:center 62%}
body[data-theme-preset] .property:nth-child(3n) .property-img{background-image:linear-gradient(15deg,color-mix(in srgb,var(--cms-dark) 26%,transparent),transparent),var(--property-image-c)!important;background-position:center}
body[data-theme-preset] .property-img span{background:var(--cms-primary)!important;color:var(--cms-on-primary)!important;border-radius:calc(var(--cms-radius) * .45)}
body[data-theme-preset] .property-plan.active,body[data-theme-preset] .book-selected{background:var(--cms-primary)!important;color:var(--cms-on-primary)!important;border-color:var(--cms-primary)!important}
body[data-theme-preset] .property-plan.active span,body[data-theme-preset] .property-plan.active b,body[data-theme-preset] .property-plan.active small,body[data-theme-preset] .book-selected span{color:var(--cms-on-primary)!important}
body[data-theme-preset] .property-plan:not(.active){background:var(--cms-card)!important;color:var(--cms-text)!important}

/* Promotion contrast: never allow theme-colored type to disappear into its background. */
body[data-theme-preset] .promotion-zone{background:var(--cms-dark)!important;color:#fff!important}
body[data-theme-preset] .promotion-heading h2,body[data-theme-preset] .promotion-heading p{color:#fff!important}
body[data-theme-preset] .promotion-card{background:linear-gradient(120deg,var(--cms-secondary),var(--cms-dark) 76%)!important;color:#fff!important;border-color:color-mix(in srgb,var(--cms-accent) 34%,transparent)!important;border-radius:var(--cms-card-radius)!important}
body[data-theme-preset] .promotion-card h3,body[data-theme-preset] .promotion-card p,body[data-theme-preset] .promotion-validity{color:#fff!important}
body[data-theme-preset] .promotion-badge{background:var(--cms-accent)!important;color:var(--cms-dark)!important;border-radius:calc(var(--cms-radius) * .5)}
body[data-theme-preset] .promotion-cta{background:var(--cms-primary)!important;color:var(--cms-on-primary)!important;border-radius:var(--cms-radius)!important}
body[data-theme-preset] .promotion-controls button{background:color-mix(in srgb,var(--cms-dark) 72%,#fff)!important;color:#fff!important;border-color:color-mix(in srgb,var(--cms-accent) 35%,transparent)!important}
body[data-theme-preset] .promotion-controls span{color:color-mix(in srgb,#fff 76%,var(--cms-accent))!important}
body[data-theme-preset] .promotion-dots button.active{background:var(--cms-primary)!important}
body[data-theme-preset="sunny-yellow"] .promotion-card{border:3px solid var(--cms-primary)!important;box-shadow:10px 10px 0 color-mix(in srgb,var(--cms-primary) 70%,transparent)}
body[data-theme-preset="golden-luxury"] .promotion-card{border-block:1px solid var(--cms-primary)!important}
body[data-theme-preset="rose-pink"] .promotion-card{border-radius:42px!important}

@media(max-width:650px){
  body[data-theme-preset] .hero{margin-inline:0;width:100%;border-radius:0;padding-inline:18px;padding-bottom:38px}
  body[data-theme-preset] .hero-copy{margin:0!important;padding:24px!important;border-radius:18px!important;max-width:100%;text-align:left!important;box-shadow:none!important}
}

/* Off-plan is part of the same theme system: every surface, control and state follows the live preset. */
body[data-theme-preset] .offplan-showcase{background:var(--cms-surface-alt)!important;color:var(--cms-text)!important;font-family:var(--cms-body-font)!important}
body[data-theme-preset] .offplan-public-head h2,body[data-theme-preset] .offplan-card h3,body[data-theme-preset] .offplan-match-form b,body[data-theme-preset] .offplan-process b,body[data-theme-preset] .offplan-inquiry-card h3{font-family:var(--cms-heading-font)!important}
body[data-theme-preset] .offplan-public-head h2{color:var(--cms-dark)!important}
body[data-theme-preset] .offplan-public-head p,body[data-theme-preset] .offplan-card-line,body[data-theme-preset] .offplan-process small{color:var(--cms-muted)!important}
body[data-theme-preset] .offplan-filters{background:var(--cms-card)!important;border-color:var(--cms-primary)!important;border-radius:var(--cms-card-radius)!important;box-shadow:0 16px 44px color-mix(in srgb,var(--cms-dark) 9%,transparent)}
body[data-theme-preset] .offplan-filters label{color:var(--cms-muted)!important}
body[data-theme-preset] .offplan-filters input,body[data-theme-preset] .offplan-filters select,body[data-theme-preset] .offplan-match-form select,body[data-theme-preset] .offplan-inquiry-card input,body[data-theme-preset] .offplan-inquiry-card select,body[data-theme-preset] .offplan-inquiry-card textarea{background:var(--cms-surface)!important;color:var(--cms-text)!important;border-color:var(--cms-line)!important;border-radius:calc(var(--cms-radius) * .7)!important}
body[data-theme-preset] .offplan-card{background:var(--cms-card)!important;color:var(--cms-text)!important;border-color:var(--cms-line)!important;border-radius:var(--cms-card-radius)!important;overflow:hidden}
body[data-theme-preset] .offplan-card-top{background:linear-gradient(135deg,var(--cms-dark),var(--cms-secondary))!important;color:#fff!important}
body[data-theme-preset] .offplan-card-top h3,body[data-theme-preset] .offplan-card-top span{color:#fff!important}
body[data-theme-preset] .offplan-card-top small{color:color-mix(in srgb,#fff 75%,var(--cms-accent))!important}
body[data-theme-preset] .offplan-card-line{border-color:var(--cms-line)!important}
body[data-theme-preset] .offplan-card-line b{color:var(--cms-dark)!important}
body[data-theme-preset] .offplan-card-actions button,body[data-theme-preset] .offplan-filter-empty button{background:var(--cms-card)!important;color:var(--cms-text)!important;border-color:var(--cms-dark)!important;border-radius:var(--cms-radius)!important}
body[data-theme-preset] .offplan-card-actions .primary,body[data-theme-preset] .offplan-match-form button,body[data-theme-preset] .offplan-inquiry-actions .primary,body[data-theme-preset] .offplan-process article>span{background:var(--cms-primary)!important;color:var(--cms-on-primary)!important;border-color:var(--cms-primary)!important;border-radius:var(--cms-radius)!important}
body[data-theme-preset] .offplan-concierge{background:linear-gradient(140deg,var(--cms-dark),var(--cms-secondary))!important;color:#fff!important;border-color:var(--cms-primary)!important;border-radius:var(--cms-card-radius)!important}
body[data-theme-preset] .offplan-concierge-copy h3{color:#fff!important}
body[data-theme-preset] .offplan-concierge-copy>p,body[data-theme-preset] .offplan-concierge-copy>small{color:color-mix(in srgb,#fff 72%,var(--cms-accent))!important}
body[data-theme-preset] .offplan-service-points span{border-color:color-mix(in srgb,#fff 28%,transparent)!important;color:#fff!important;background:color-mix(in srgb,var(--cms-dark) 76%,transparent)!important;border-radius:calc(var(--cms-card-radius) * .5)!important}
body[data-theme-preset] .offplan-service-points b{color:var(--cms-accent)!important}
body[data-theme-preset] .offplan-match-form,body[data-theme-preset] .offplan-process,body[data-theme-preset] .offplan-inquiry-card{background:var(--cms-card)!important;color:var(--cms-text)!important;border-color:var(--cms-line)!important;border-radius:var(--cms-card-radius)!important}
body[data-theme-preset] .offplan-match-title,body[data-theme-preset] .offplan-process,body[data-theme-preset] .offplan-process article{border-color:var(--cms-line)!important}
body[data-theme-preset] .offplan-match-title b,body[data-theme-preset] .offplan-process b,body[data-theme-preset] .offplan-inquiry-card h3{color:var(--cms-dark)!important}
body[data-theme-preset] .offplan-match-title span,body[data-theme-preset] .offplan-match-form label,body[data-theme-preset] .offplan-inquiry-card label,body[data-theme-preset] .offplan-consent{color:var(--cms-muted)!important}
body[data-theme-preset] .offplan-empty{background:var(--cms-dark)!important;color:#fff!important;border-radius:var(--cms-card-radius)!important}
body[data-theme-preset] .offplan-empty h3{color:#fff!important}
body[data-theme-preset] .offplan-empty p{color:color-mix(in srgb,#fff 72%,var(--cms-accent))!important}
body[data-theme-preset] .offplan-inquiry-actions button,body[data-theme-preset] .offplan-inquiry-close{border-radius:var(--cms-radius)!important}
body[data-card-style="elevated"] .offplan-card,body[data-card-style="elevated"] .offplan-match-form{box-shadow:0 22px 55px color-mix(in srgb,var(--cms-dark) 15%,transparent);border-color:transparent!important}
body[data-card-style="outlined-shadow"] .offplan-card{border:2px solid var(--cms-dark)!important;box-shadow:7px 7px 0 var(--cms-accent)}
body[data-card-style="luxury"] .offplan-card{border:1px solid var(--cms-accent)!important;box-shadow:inset 0 4px var(--cms-primary)}

/* Preset-specific off-plan page compositions. */
body[data-theme-preset="royal-navy"] .offplan-projects{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}body[data-theme-preset="royal-navy"] .offplan-card{display:grid;grid-template-columns:42% 58%}body[data-theme-preset="royal-navy"] .offplan-card-top{min-height:100%}
body[data-theme-preset="ocean-blue"] .offplan-public-head{text-align:center;display:block;max-width:920px}body[data-theme-preset="ocean-blue"] .offplan-enquire{margin-top:22px}body[data-theme-preset="ocean-blue"] .offplan-card{border-radius:36px!important}
body[data-theme-preset="emerald-green"] .offplan-showcase{border-radius:64px 64px 0 0}body[data-theme-preset="emerald-green"] .offplan-card:first-child{grid-column:span 2}body[data-theme-preset="emerald-green"] .offplan-concierge{border-radius:48px!important}
body[data-theme-preset="sea-green"] .offplan-projects{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-theme-preset="sea-green"] .offplan-card{display:grid;grid-template-columns:44% 56%}body[data-theme-preset="sea-green"] .offplan-card-top{min-height:100%}
body[data-theme-preset="sunny-yellow"] .offplan-filters,body[data-theme-preset="sunny-yellow"] .offplan-card{border:3px solid var(--cms-dark)!important;box-shadow:8px 8px 0 var(--cms-primary);border-radius:2px!important}
body[data-theme-preset="golden-luxury"] .offplan-public-head{display:block;text-align:center;max-width:980px}body[data-theme-preset="golden-luxury"] .offplan-enquire{margin-top:22px}body[data-theme-preset="golden-luxury"] .offplan-card-top{background:linear-gradient(135deg,#08090b,#312510)!important}
body[data-theme-preset="royal-purple"] .offplan-projects{grid-template-columns:repeat(4,minmax(0,1fr))}body[data-theme-preset="royal-purple"] .offplan-card:nth-child(3n+1){grid-column:span 2}body[data-theme-preset="royal-purple"] .offplan-card{border-radius:40px 8px!important}
body[data-theme-preset="rose-pink"] .offplan-projects{grid-template-columns:repeat(2,minmax(0,1fr));max-width:1160px}body[data-theme-preset="rose-pink"] .offplan-card{border-radius:44px!important}body[data-theme-preset="rose-pink"] .offplan-card:nth-child(even){transform:translateY(22px)}
body[data-theme-preset="midnight-black"] .offplan-filters,body[data-theme-preset="midnight-black"] .offplan-card,body[data-theme-preset="midnight-black"] .offplan-match-form,body[data-theme-preset="midnight-black"] .offplan-process{background:#171a1f!important;border-color:#30353d!important;color:#fff!important}body[data-theme-preset="midnight-black"] .offplan-card-line b,body[data-theme-preset="midnight-black"] .offplan-match-title b,body[data-theme-preset="midnight-black"] .offplan-process b{color:#fff!important}
body[data-theme-preset="clean-white"] .offplan-card{border-width:0!important;border-top:1px solid var(--cms-line)!important;border-radius:0!important;box-shadow:none!important}body[data-theme-preset="clean-white"] .offplan-projects{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body[data-theme-preset="sunset-orange"] .offplan-card:nth-child(odd){transform:rotate(-.6deg)}body[data-theme-preset="sunset-orange"] .offplan-card:nth-child(even){transform:rotate(.6deg)}
@media(max-width:1000px){body[data-theme-preset] .offplan-projects,body[data-theme-preset="royal-purple"] .offplan-projects,body[data-theme-preset="clean-white"] .offplan-projects{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-theme-preset="royal-purple"] .offplan-card:nth-child(3n+1){grid-column:auto}}
@media(max-width:700px){body[data-theme-preset] .offplan-projects,body[data-theme-preset="sea-green"] .offplan-projects{grid-template-columns:1fr}body[data-theme-preset] .offplan-card,body[data-theme-preset="royal-navy"] .offplan-card,body[data-theme-preset="sea-green"] .offplan-card{display:flex;transform:none!important}body[data-theme-preset="emerald-green"] .offplan-card:first-child{grid-column:auto}}
