/* Approved white/cool-grey canvas and restrained raised surfaces. */
html[data-az-layout][data-mh-shell][data-em-theme][dir]{--em-background:#fafcff;--em-surface-soft:#f3f7fb;--em-text:#142d32;--em-muted:#536570;--az-ink:#142d32;--az-muted:#536570;--az-line:#e0e8ef;--crystal-canvas:linear-gradient(180deg,#fff 0,#fafcff 500px,#f3f7fb 100%);--crystal-bg:#fafcff;--crystal-ink:#142d32;--crystal-muted:#536570;--az-depth:0 18px 38px -24px #25456842,0 5px 12px -7px #25456824,inset 0 1px 0 #fff}
html[data-az-layout][data-mh-shell][data-em-theme][dir] :is(body,.em-auth){background:var(--crystal-canvas)!important}
html[data-az-layout][data-mh-shell][data-em-theme][dir] .em-shell{background:transparent!important}
html[data-az-layout][data-mh-shell][data-em-theme][dir] :is(.em-project-card,.em-tool,.em-search-box,.em-index-card){border:1px solid #e0e8ef;border-radius:22px;box-shadow:var(--az-depth);background-color:#fff}
html[data-az-layout][data-mh-shell][data-em-theme][dir] .em-map-stage{border:1px solid #e0e8ef;border-radius:24px;padding:7px;background:#fff;box-shadow:0 24px 52px -30px #25456855,0 6px 16px -10px #2545682b,inset 0 1px 0 #fff;overflow:hidden;isolation:isolate}
html[data-az-layout] .em-map-stage [data-testid=market-map]{border-radius:18px;overflow:hidden}
html[data-az-layout] .em-map-intro{display:block;margin:10px 0 28px;text-align:center}
html[data-az-layout] .em-map-intro .em-section-heading{display:flex;justify-content:center;text-align:center;margin:0}
html[data-az-layout] .em-map-intro h2{position:relative;margin:0;font-size:clamp(27px,3vw,40px);font-weight:800;line-height:1.7;letter-spacing:0;color:#142d32;padding-bottom:13px;animation:az-heading-in .65s ease-out both}
html[data-az-layout] .em-map-intro h2:after{content:"";position:absolute;bottom:0;left:50%;width:54px;height:4px;border-radius:9px;background:#078864;transform:translateX(-50%);box-shadow:0 3px 7px #07886425}
html[data-az-layout] .em-map-intro p{font-size:15px;line-height:1.9;color:#536570;margin:14px auto 0;max-width:620px}
@keyframes az-heading-in{from{opacity:0;translate:0 6px}to{opacity:1;translate:0 0}}
html[data-az-layout][data-mh-shell][data-em-theme][dir] .az-tool-card{min-height:355px;padding:125px 25px 25px;gap:0}
html[data-az-layout] .az-tool-card:after{background:linear-gradient(180deg,#fff0 0%,#fff0 24%,#fffffff0 47%,#fff 63%,#fff 100%)}
html[data-az-layout] .az-tool-card .az-card-background{height:72%!important;object-position:center 25%}
html[data-az-layout] .az-tool-card .em-icon-tile{height:44px;width:44px;margin:0 0 10px;background:#fff;box-shadow:0 4px 14px #25456812;border-color:#e0e8ef}
html[data-az-layout] .az-tool-card h3{font-size:28px!important;font-weight:800;line-height:1.6;margin:0 0 6px;color:#142d32!important}
html[data-az-layout] .az-tool-card p{font-size:16px!important;font-weight:500;line-height:1.9;margin:0 0 20px;max-width:100%;color:#405762!important}
html[data-az-layout] .az-tool-card .em-text-link{font-size:14px!important;min-height:44px;padding:10px 16px;background:#f4f8fb;border:1px solid #dfe8ee;box-shadow:0 2px 4px #25456808}
html[data-az-layout] .az-project-card:not(.az-has-photo){background:linear-gradient(135deg,#fff 58%,#f3f7fb);min-height:215px}
html[data-az-layout] .az-project-card .em-project-content h3{font-size:25px;line-height:1.65}
html[data-az-layout] .em-home-sections>.em-section{margin-bottom:42px}
/* Counts are of loaded places in the current map view; + means results are capped. */
html[data-az-layout] [data-testid=market-map-filters]>div:first-child{background:#f5f8fb;border-color:#e0e8ef;box-shadow:0 4px 12px #25456812}
html[data-az-layout] [data-testid=market-map-filters]>div:first-child>button{display:flex;align-items:center;justify-content:center;gap:9px;padding:8px 13px!important;min-height:42px}
.az-map-count{display:inline-flex;align-items:center;justify-content:center;min-width:23px;padding:1px 6px;font-size:11px;font-weight:750;border-radius:7px;background:#e7eef3;color:#3a5462;line-height:1.7;font-variant-numeric:tabular-nums;white-space:nowrap}
[aria-pressed=true]>.az-map-count{background:#ffffff29;color:#fff}
html[data-az-layout] .mulk-map-status:has([data-testid=market-map-states]:empty){display:none}
/* Seamless left-to-right motion in Kurdish/Arabic, with a clear separator per item. */
.az-price-ticker[data-direction=right] .az-price-track{animation-name:az-price-scroll-right}
@keyframes az-price-scroll-right{from{transform:translateX(-50%)}to{transform:translateX(0)}}
.az-price-chip{position:relative;border-inline-end:0;padding-inline:28px;gap:14px}
.az-price-chip:after{content:"";position:absolute;right:0;top:17px;bottom:17px;width:1px;background:#c6d7df;box-shadow:3px 0 0 #edf3f6}
.az-price-title{background:#f4f8fb;color:#24483e;border-color:#e0e8ef}
.az-price-pair{gap:20px}.az-price-subject strong{font-size:14px}.az-price-subject small{color:#526575}
/* MapLibre owns transform. Never animate/transition the marker position. */
html[data-az-layout] .mw-project-label.az-map-price-label{display:block!important;position:absolute;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;max-width:32px!important;padding:3px!important;margin:0!important;overflow:visible!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;transition:none!important;animation:none!important;outline:0;text-shadow:0 1px 2px #fff,1px 0 2px #fff,-1px 0 2px #fff,0 -1px 2px #fff;z-index:1}
html[data-az-layout] .mw-project-label.az-map-price-label[hidden]{display:none!important}
html[data-az-layout] .az-map-price-label>img{display:block;width:26px!important;height:26px!important;object-fit:contain;border-radius:0!important;pointer-events:none;filter:drop-shadow(0 1px 1px #ffffffa0)}
html[data-az-layout] .az-map-price-label>.az-map-price-copy{position:absolute;top:33px;left:50%;transform:translateX(-50%)!important;display:flex!important;flex-direction:column;align-items:center;gap:2px;width:max-content;max-width:210px!important;opacity:1!important;transition:none!important;overflow:visible!important;-webkit-line-clamp:unset!important;line-clamp:unset;white-space:normal;text-align:center;pointer-events:auto}
html[data-az-layout] .az-map-price-label .az-map-price-copy[hidden]{display:none!important}
html[data-az-layout] .az-map-price-label[aria-pressed=true]>img,html[data-az-layout] .az-map-price-label:focus-visible>img{filter:drop-shadow(0 0 3px #07886470)}
.az-map-price-label:focus-visible{outline:2px solid #078864!important;outline-offset:3px}
.az-map-price-name{max-width:205px;font-size:11px!important;line-height:1.6;font-weight:800}
.az-map-price-row{justify-content:center;color:#143c31;gap:7px;font-size:11px!important;line-height:1.6}.az-map-price-row b{font-weight:750}
/* Original folded-A asset, assembled from seven bands just once. */
#em-boot{background:radial-gradient(ellipse at 50% 40%,#fff 0,#fafcff 65%,#f3f7fb 100%)!important}
.az-build-lockup{text-align:center;direction:ltr}.az-build-mark{position:relative;width:176px;height:148px;margin:auto;filter:drop-shadow(0 7px 8px #064b3516)}
.az-build-band{position:absolute;inset:0;animation:az-build-symbol .66s cubic-bezier(.18,.7,.21,1) both;will-change:transform,opacity}
.az-build-band img{display:block;width:100%;height:100%;object-fit:contain}
.az-build-band-0{clip-path:inset(0 0 85.714% 0);animation-delay:.63s}.az-build-band-1{clip-path:inset(14.285% 0 71.428% 0);animation-delay:.525s}.az-build-band-2{clip-path:inset(28.571% 0 57.142% 0);animation-delay:.42s}.az-build-band-3{clip-path:inset(42.857% 0 42.857% 0);animation-delay:.315s}.az-build-band-4{clip-path:inset(57.142% 0 28.571% 0);animation-delay:.21s}.az-build-band-5{clip-path:inset(71.428% 0 14.285% 0);animation-delay:.105s}.az-build-band-6{clip-path:inset(85.714% 0 0 0);animation-delay:0s}
.az-build-word{display:block;margin-top:28px;font:740 40px/1.2 Outfit,system-ui,sans-serif;letter-spacing:-1.2px;color:#153a32;animation:az-build-word .6s ease-out 1.03s both}
@keyframes az-build-symbol{from{opacity:0;transform:translateY(22px) scale(.97);filter:blur(3px)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}
@keyframes az-build-word{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:767px){
 html[data-az-layout][data-mh-shell][data-em-theme][dir] .em-map-stage{padding:4px;border-radius:20px}
 html[data-az-layout] .em-map-intro{margin:8px 0 22px}.em-map-intro p{padding-inline:8px}
 html[data-az-layout][data-mh-shell][data-em-theme][dir] .az-tool-card{min-height:340px;padding:125px 22px 24px}
 html[data-az-layout] .az-tool-card h3{font-size:26px!important}
 html[data-az-layout] [data-testid=market-map-filters]>div:first-child>button{flex-wrap:wrap;gap:3px 5px;padding:6px 7px!important;font-size:11px}
 .az-map-count{font-size:10px;min-width:20px;padding:0 5px}
 .az-price-chip{padding-inline:20px}.az-price-subject strong{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.az-price-ticker .az-price-track,.az-build-band,.az-build-word,html[data-az-layout] .em-map-intro h2{animation:none!important;will-change:auto}}

/* Match the older framed-map rules so selected pills remain legible. */
html[data-az-layout][data-mh-shell][data-em-theme][dir] [data-map-layout=framed] [data-testid=market-map-filters]>div:first-child{display:flex;flex-wrap:wrap;gap:5px;width:auto;max-width:100%;padding:4px;border:1px solid #e0e8ef;border-radius:14px;background:#f5f8fb}
html[data-az-layout][data-mh-shell][data-em-theme][dir] [data-map-layout=framed] [data-testid=market-map-filters]>div:first-child>button[aria-pressed=true]{background:#087a5d!important;color:#fff!important;border-radius:10px!important;box-shadow:0 3px 7px #087a5d24}
html[data-az-layout][data-mh-shell][data-em-theme][dir] [data-map-layout=framed] [data-testid=market-map-filters]>div:first-child>button[aria-pressed=false]{background:transparent!important;color:#425c69!important}
@media(max-width:767px){html[data-az-layout][data-mh-shell][data-em-theme][dir] [data-map-layout=framed] [data-testid=market-map-filters]>div:first-child{width:100%;flex-wrap:nowrap}}
