:root{--g:#5DC974;--gd:#3fae58;--gold:#C9A646;--ink:#14181f;--mut:#5b6472;--bg:#eef0f3;--gl:rgba(255,255,255,.72);--gl2:rgba(255,255,255,.5);--bd:rgba(255,255,255,.75);--ln:rgba(20,24,31,.1);--sh:0 8px 30px rgba(20,30,45,.14);--chip:#fff;--chipon:#14181f;--chiponT:#fff}
html[data-theme=night]{--ink:#eef1f6;--mut:#a7b0bf;--bg:#111722;--gl:rgba(24,31,44,.72);--gl2:rgba(30,38,54,.55);--bd:rgba(255,255,255,.12);--ln:rgba(255,255,255,.12);--sh:0 8px 30px rgba(0,0,0,.45);--chip:rgba(255,255,255,.06);--chipon:#eef1f6;--chiponT:#111722}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;height:100%;width:100%;overflow:hidden;overflow-x:clip;background:var(--bg);color:var(--ink);font:500 15px/1.4 Montserrat,system-ui,sans-serif}
#map{position:fixed;inset:0;height:100dvh;width:100vw}
.ser{font-family:"Instrument Serif",Georgia,serif;font-weight:400;letter-spacing:.005em}
button{font:inherit;color:inherit;cursor:pointer}
.gl{background:var(--gl);-webkit-backdrop-filter:blur(18px) saturate(1.6);backdrop-filter:blur(18px) saturate(1.6);border:1px solid var(--bd);box-shadow:var(--sh)}
svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
[hidden]{display:none!important}
.loading{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;gap:10px;align-items:center;color:var(--mut);font-size:13px;z-index:1}
.ld-dot{width:10px;height:10px;border-radius:50%;background:var(--g);animation:pl 1s ease-in-out infinite alternate}
@keyframes pl{to{transform:scale(1.6);opacity:.4}}
/* top */
.top{position:fixed;top:max(12px,env(safe-area-inset-top));left:12px;right:12px;display:flex;gap:10px;z-index:20;align-items:center;max-width:560px}
.brand{flex:none;height:56px;width:56px;border-radius:50%;display:grid;place-items:center;overflow:hidden}
.brand img{width:44px;height:auto}
.lg-n{display:none}html[data-theme=night] .lg-n{display:block}html[data-theme=night] .lg-d{display:none}
.search{flex:1;min-width:0;height:56px;border-radius:28px;display:flex;align-items:center;gap:10px;padding:0 8px 0 16px}
.search .ic{flex:none;color:var(--g);stroke-width:2.2}
.sx{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center}
.area-t{font-weight:700;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.15}
#q{border:0;background:transparent;outline:0;padding:0;font:500 13px Montserrat,sans-serif;color:var(--mut);width:100%;min-height:22px;-webkit-appearance:none}
#q::placeholder{color:var(--mut)}#q:focus{color:var(--ink)}
#q::-webkit-search-cancel-button{display:none}
.clr{flex:none;width:44px;height:44px;border:0;background:none;font-size:24px;color:var(--mut);border-radius:50%}
.sugg{position:absolute;top:64px;left:66px;right:0;border-radius:20px;max-height:min(60vh,420px);overflow:auto;overscroll-behavior:contain;padding:6px}
.sugg .sh{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--mut);padding:8px 12px 4px;font-weight:600}
.sugg button{display:flex;width:100%;text-align:left;border:0;background:none;padding:10px 12px;min-height:48px;border-radius:12px;gap:10px;align-items:center}
.sugg button:hover,.sugg button[aria-selected=true]{background:var(--gl2)}
.sugg .sn{font-weight:600;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sugg .ss{font-size:12px;color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sugg .dt{flex:none;width:10px;height:10px;border-radius:3px;background:var(--g)}
.sugg .dt.com{background:var(--gold)}.sugg .dt.ar{background:none;border:2px solid var(--mut);border-radius:50%}
.sugg .tx{min-width:0;display:flex;flex-direction:column}
.sugg .none{padding:14px;color:var(--mut);font-size:13px}
/* stacks */
.lstack{position:fixed;left:12px;top:calc(max(12px,env(safe-area-inset-top)) + 70px);display:flex;flex-direction:column;gap:12px;z-index:15}
.fab{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--bd);position:relative;padding:0}
.fab[aria-pressed=true]{background:var(--g);color:#fff;border-color:var(--g)}
.fcount{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;border-radius:10px;background:var(--g);color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center;padding:0 5px;border:2px solid #fff}
#btnTheme .i-sunb{display:none}html[data-theme=night] #btnTheme .i-sunb{display:block}html[data-theme=night] #btnTheme .i-moon{display:none}
.rstack{position:fixed;right:12px;bottom:calc(max(12px,env(safe-area-inset-bottom)) + 96px);display:flex;flex-direction:column;gap:10px;z-index:15}
.grp{border-radius:18px;display:flex;flex-direction:column;overflow:hidden}
.grp button{width:52px;height:50px;border:0;background:none;display:grid;place-items:center}
.grp button+button{border-top:1px solid var(--ln)}
.grp button:active{background:var(--gl2)}
.needle{transition:transform .15s}.nn{fill:#e04a4a;stroke:none}.ns{fill:var(--mut);stroke:none;opacity:.6}
.t3d span{font-weight:700;font-size:13px}
.info-b{position:fixed;left:12px;bottom:calc(max(12px,env(safe-area-inset-bottom)) + 34px);z-index:15}
.sunbar{position:fixed;left:76px;right:12px;bottom:calc(max(12px,env(safe-area-inset-bottom)) + 34px);height:56px;border-radius:28px;display:flex;align-items:center;gap:8px;padding:0 6px;z-index:16;max-width:560px}
.play{flex:none;width:44px;height:44px;border-radius:50%;border:0;background:var(--g);color:#fff;display:grid;place-items:center}
.play svg{width:18px;height:18px;fill:#fff;stroke:#fff}.play .i-pause{display:none}.play.on .i-play{display:none}.play.on .i-pause{display:block}
.st{font-weight:700;font-size:17px;min-width:52px;font-variant-numeric:tabular-nums}
#sunR{flex:1;min-width:0;height:44px;-webkit-appearance:none;appearance:none;background:transparent}
#sunR::-webkit-slider-runnable-track{height:8px;border-radius:4px;background:var(--trk,linear-gradient(90deg,#1d2433,#f0a35a 12%,#a9cdee 25%,#a9cdee 75%,#f0a35a 88%,#1d2433))}
#sunR::-moz-range-track{height:8px;border-radius:4px;background:var(--trk,linear-gradient(90deg,#1d2433,#f0a35a 12%,#a9cdee 25%,#a9cdee 75%,#f0a35a 88%,#1d2433))}
#sunR::-webkit-slider-thumb{-webkit-appearance:none;width:26px;height:26px;border-radius:50%;background:#fff;border:6px solid var(--g);margin-top:-9px;box-shadow:0 2px 6px rgba(0,0,0,.2)}
#sunR::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:#fff;border:6px solid var(--g)}
.sunbar .x{flex:none;width:44px;height:44px;border:0;background:none;font-size:24px;color:var(--mut)}
.attr{position:fixed;right:12px;bottom:max(6px,env(safe-area-inset-bottom));z-index:14;font-size:10px;line-height:1.3;padding:4px 10px;border-radius:10px;color:var(--mut);max-width:calc(100vw - 24px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:none}
.attr a{color:inherit}
/* panels */
.panel{position:fixed;z-index:30;left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));max-height:calc(100dvh - 100px);border-radius:26px;display:flex;flex-direction:column;overflow:hidden;background:var(--gl);max-width:440px}
.ph{display:flex;align-items:center;justify-content:space-between;padding:10px 8px 0 22px;flex:none}
.kick{font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--mut)}
.x{width:44px;height:44px;border:0;background:none;font-size:26px;line-height:1;color:var(--mut);border-radius:50%}
.pb{padding:4px 22px 20px;overflow:auto;overscroll-behavior:contain}
.pb h2{font-size:30px;margin:4px 0 8px}
.lbl{font-size:13px;color:var(--mut);margin:14px 0 8px;font-weight:600}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips button{min-height:44px;padding:0 16px;border-radius:22px;border:1px solid var(--ln);background:var(--chip);font-weight:600;font-size:14px;display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.chips button.on{background:var(--chipon);color:var(--chiponT);border-color:var(--chipon)}
.dot{width:10px;height:10px;border-radius:50%;display:inline-block}.dot.res{background:var(--g)}.dot.com{background:var(--gold)}
.sel{display:block;position:relative}
.sel select{width:100%;min-height:48px;border-radius:16px;border:1px solid var(--ln);background:var(--chip);color:var(--ink);font:600 14px Montserrat,sans-serif;padding:0 40px 0 14px;-webkit-appearance:none;appearance:none}
.sel:after{content:"";position:absolute;right:16px;top:50%;width:8px;height:8px;border-right:2px solid var(--mut);border-bottom:2px solid var(--mut);transform:translateY(-70%) rotate(45deg);pointer-events:none}
html[data-theme=night] .sel select option{background:#1a2130}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.res-n{display:flex;justify-content:space-between;align-items:center;margin-top:14px;font-weight:700}
.lnk{border:0;background:none;color:var(--gd);font-weight:600;min-height:44px;padding:0 4px}
html[data-theme=night] .lnk{color:var(--g)}
hr{border:0;border-top:1px solid var(--ln);margin:12px 0}
.tg{display:flex;gap:14px;align-items:flex-start;padding:10px 0;min-height:56px;cursor:pointer}
.tg input{position:absolute;opacity:0;width:1px;height:1px}
.tg .bx{flex:none;width:26px;height:26px;border-radius:8px;border:2px solid var(--ln);margin-top:2px;display:grid;place-items:center;background:var(--chip)}
.tg input:checked+.bx{background:var(--g);border-color:var(--g)}
.tg input:checked+.bx:after{content:"";width:6px;height:12px;border:solid #fff;border-width:0 3px 3px 0;transform:translateY(-2px) rotate(45deg)}
.tg input:focus-visible+.bx{outline:2px solid var(--g);outline-offset:2px}
.tg b{display:block;font-size:15px}.tg small{display:block;color:var(--mut);font-size:13px;font-weight:500}
.how{margin:6px 0 14px;padding-left:18px;font-size:14px;color:var(--ink)}.how li{margin:6px 0}
.leg{display:flex;align-items:center;gap:14px;padding:10px 12px;border-radius:16px;background:var(--gl2);margin:8px 0;font-weight:600}
.cube{width:28px;height:28px;border-radius:7px;flex:none;box-shadow:inset -6px -6px 0 rgba(0,0,0,.12)}
.c-ex{background:#d7dadf}.c-res{background:var(--g)}.c-com{background:var(--gold)}
.leg .pin{width:18px;height:18px;border-radius:50%;background:var(--g);border:3px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.3);margin:0 5px}
.fb{display:flex;gap:8px;margin:14px 0 6px;flex-wrap:wrap}
.disc{font-size:13px;color:var(--mut);margin:12px 0 6px}.credits{font-size:11px;color:var(--mut);margin:0}.credits a{color:inherit}
.btn{min-height:48px;border-radius:24px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;text-decoration:none;white-space:nowrap;border:1px solid transparent}
.grn{background:var(--g);color:#0d2414;border-color:var(--g)}
.glb{background:var(--gl2);color:var(--ink);border-color:var(--bd);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.full{width:100%;margin-top:10px}
/* card */
.card{position:fixed;z-index:31;left:0;right:0;bottom:0;border-radius:26px 26px 0 0;overflow:hidden;max-height:82dvh;display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom);background:var(--gl);animation:up .22s ease-out}
@keyframes up{from{transform:translateY(30px);opacity:0}}
.cph{position:relative;height:190px;flex:none;background:#cfd5dc}
.cph img{width:100%;height:100%;object-fit:cover;display:block}
.pill{position:absolute;top:12px;left:12px;height:28px;padding:0 12px;border-radius:14px;font-size:12px;font-weight:700;display:inline-flex;align-items:center;background:rgba(255,255,255,.85);color:#14181f;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.pill.gv{left:auto;right:60px;background:rgba(93,201,116,.92);color:#0d2414}
.cx{position:absolute;top:8px;right:8px;z-index:2;background:rgba(255,255,255,.85);color:#14181f}
.cb{padding:14px 18px 18px;overflow:auto}
.cb h3{font-size:30px;line-height:1.08;margin:0 0 6px}
.cm{color:var(--mut);font-size:13px;font-weight:600}
.cp{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:10px 0 12px;font-weight:700;font-size:17px;flex-wrap:wrap}
.cp .ho{font-size:13px;color:var(--mut);font-weight:600}
.cta{display:flex;gap:8px;flex-wrap:wrap}.cta .btn{flex:1 1 auto}
.cta .grn{flex-basis:100%}
.fl{display:block;font-size:13px;font-weight:600;color:var(--mut);margin:10px 0}
.fl input{display:block;width:100%;min-height:48px;border-radius:14px;border:1px solid var(--ln);background:var(--chip);color:var(--ink);font:500 15px Montserrat,sans-serif;padding:0 14px;margin-top:6px}
.note{font-size:13px;color:var(--mut);min-height:1em}
.toast{position:fixed;left:50%;transform:translateX(-50%);top:calc(max(12px,env(safe-area-inset-top)) + 72px);z-index:40;border-radius:18px;padding:10px 16px;font-size:13px;font-weight:600;max-width:calc(100vw - 24px)}
.scrim{position:fixed;inset:0;z-index:25;background:rgba(10,14,20,.12)}
.maplibregl-ctrl-attrib,.maplibregl-ctrl-logo{display:none!important}
.maplibregl-canvas:focus-visible{outline:2px solid var(--g)}
button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid var(--g);outline-offset:2px}
@media (min-width:768px){
  .top{left:20px;top:20px}
  .lstack{left:20px;top:96px}
  .panel{left:88px;top:96px;bottom:auto;max-height:calc(100dvh - 120px);width:400px;right:auto}
  #settings{left:88px}
  .card{left:auto;right:84px;top:96px;bottom:auto;width:380px;border-radius:26px;max-height:calc(100dvh - 120px)}
  .rstack{right:20px;bottom:120px}
  .info-b{left:20px;bottom:40px}
  .sunbar{left:88px;bottom:40px;right:auto;width:520px}
  .attr{right:20px}
  .cph{height:210px}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* ---- 3 categories (Najib 26 Nov 2026): off-plan green, ready lagoon blue, commercial gold; existing buildings grey ---- */
:root{--rd:#3B9FD1}
.dot.off{background:var(--g)}.dot.ready{background:var(--rd)}
.c-off{background:var(--g)}.c-ready{background:var(--rd)}.c-com{background:var(--gold)}
.leg .plot{width:28px;height:20px;border-radius:4px;flex:none;background:rgba(93,201,116,.28);border:2px solid var(--g)}
.sugg .dt.ready{background:var(--rd)}
.pill.st[data-cat=off]{background:rgba(93,201,116,.94);color:#0d2414}
.pill.st[data-cat=ready]{background:rgba(59,159,209,.94);color:#fff}
.pill.st[data-cat=com]{background:rgba(201,166,70,.95);color:#1d1606}
.fl small{font-weight:500;color:var(--mut)}
.fl textarea{display:block;width:100%;min-height:64px;border-radius:14px;border:1px solid var(--ln);background:var(--chip);color:var(--ink);font:500 15px Montserrat,sans-serif;padding:10px 14px;margin-top:6px;resize:vertical}
.note.sm{font-size:12px;margin-top:8px}.note.err{color:#c0392b}
/* embed (home band, community guides): same engine inside an iframe */
.openfull{position:fixed;z-index:15;left:50%;transform:translateX(-50%);bottom:calc(max(12px,env(safe-area-inset-bottom)) + 30px);min-height:44px;padding:0 18px;border-radius:22px;display:inline-flex;align-items:center;gap:8px;font:600 14px Montserrat,sans-serif;color:var(--ink);text-decoration:none;white-space:nowrap}
.openfull svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.openfull[hidden]{display:none}
html.embed .brand{display:none}
html.embed .sunbar{bottom:calc(max(12px,env(safe-area-inset-bottom)) + 84px)}
@media (max-width:420px){html.embed .openfull{left:auto;right:12px;transform:none}}
/* embed: the host page drives day/night; keep the small frame uncluttered on phones */
html.embed #btnTheme{display:none}
@media (max-width:600px){html.embed .rstack .grp:first-child{display:none}}
/* orb1127: keep the map controls clear of the Beyond AI orb (assets/beyond-ai/orb.js, unchanged). Orb on <=720px: bottom max(12px,safe)+76px, 56px tall; wider: bottom max(18px,safe), 52px wide. */
@media (max-width:720px){
.rstack{bottom:calc(max(12px,env(safe-area-inset-bottom)) + 144px)}
.sunbar,html.embed .sunbar{bottom:calc(max(12px,env(safe-area-inset-bottom)) + 144px)}
html:has(#sunbar:not([hidden])) .rstack{bottom:calc(max(12px,env(safe-area-inset-bottom)) + 212px)}
}
/* short phone frames (home-page embed, small phones): no room to lift the stack above the sun bar, so the sun bar sits left of the orb/stack column instead */
@media (max-width:720px) and (max-height:640px){
html:has(#sunbar:not([hidden])) .rstack{bottom:calc(max(12px,env(safe-area-inset-bottom)) + 144px)}
.sunbar,html.embed .sunbar{left:12px;right:80px}
}
@media (min-width:721px){.attr{right:84px;max-width:calc(100vw - 108px)}}
/* map-pins-1127 (27 Nov 2026): Dirham symbol, area list, filter notes, display units, card extras, sun dial */
.dh{display:inline-block;width:.86em;height:.76em;vertical-align:-.04em;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 344.84 299.91'%3E%3Cpath d='M342.14,140.96l2.7,2.54v-7.72c0-17-11.92-30.84-26.56-30.84h-23.41C278.49,36.7,222.69,0,139.68,0c-52.86,0-59.65,0-109.71,0,0,0,15.03,12.63,15.03,52.4v52.58h-27.68c-5.38,0-10.43-2.08-14.61-6.01l-2.7-2.54v7.72c0,17.01,11.92,30.84,26.56,30.84h18.44s0,29.99,0,29.99h-27.68c-5.38,0-10.43-2.07-14.61-6.01l-2.7-2.54v7.71c0,17,11.92,30.82,26.56,30.82h18.44s0,54.89,0,54.89c0,38.65-15.03,50.06-15.03,50.06h109.71c85.62,0,139.64-36.96,155.38-104.98h32.46c5.38,0,10.43,2.07,14.61,6l2.7,2.54v-7.71c0-17-11.92-30.83-26.56-30.83h-18.9c.32-4.88.49-9.87.49-15s-.18-10.11-.51-14.99h28.17c5.37,0,10.43,2.07,14.61,6.01ZM89.96,15.01h45.86c61.7,0,97.44,27.33,108.1,89.94l-153.96.02V15.01ZM136.21,284.93h-46.26v-89.98l153.87-.02c-9.97,56.66-42.07,88.38-107.61,90ZM247.34,149.96c0,5.13-.11,10.13-.34,14.99l-157.04.02v-29.99l157.05-.02c.22,4.84.33,9.83.33,15Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 344.84 299.91'%3E%3Cpath d='M342.14,140.96l2.7,2.54v-7.72c0-17-11.92-30.84-26.56-30.84h-23.41C278.49,36.7,222.69,0,139.68,0c-52.86,0-59.65,0-109.71,0,0,0,15.03,12.63,15.03,52.4v52.58h-27.68c-5.38,0-10.43-2.08-14.61-6.01l-2.7-2.54v7.72c0,17.01,11.92,30.84,26.56,30.84h18.44s0,29.99,0,29.99h-27.68c-5.38,0-10.43-2.07-14.61-6.01l-2.7-2.54v7.71c0,17,11.92,30.82,26.56,30.82h18.44s0,54.89,0,54.89c0,38.65-15.03,50.06-15.03,50.06h109.71c85.62,0,139.64-36.96,155.38-104.98h32.46c5.38,0,10.43,2.07,14.61,6l2.7,2.54v-7.71c0-17-11.92-30.83-26.56-30.83h-18.9c.32-4.88.49-9.87.49-15s-.18-10.11-.51-14.99h28.17c5.37,0,10.43,2.07,14.61,6.01ZM89.96,15.01h45.86c61.7,0,97.44,27.33,108.1,89.94l-153.96.02V15.01ZM136.21,284.93h-46.26v-89.98l153.87-.02c-9.97,56.66-42.07,88.38-107.61,90ZM247.34,149.96c0,5.13-.11,10.13-.34,14.99l-157.04.02v-29.99l157.05-.02c.22,4.84.33,9.83.33,15Z'/%3E%3C/svg%3E") center/contain no-repeat}
.cp .cx{white-space:nowrap}
.fnote{font-size:12px;color:var(--mut);margin:8px 0 0;line-height:1.4}
.asrch input{width:100%;box-sizing:border-box;min-height:44px;border-radius:22px;border:1px solid var(--ln);background:var(--chip);color:var(--ink);padding:0 16px;font:500 14px Montserrat,sans-serif;-webkit-appearance:none}
.alist{margin-top:8px;max-height:216px;overflow:auto;border:1px solid var(--ln);border-radius:16px;padding:4px;overscroll-behavior:contain}
.ach{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 10px;border-radius:12px;font-size:14px;font-weight:500;cursor:pointer}
.ach[hidden]{display:none}.ach:hover{background:var(--gl2)}
.ach input{width:20px;height:20px;accent-color:#14181f;flex:none;margin:0}html[data-theme=night] .ach input{accent-color:#eef1f6}
.ach span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ach b{font-size:12px;color:var(--mut);font-weight:600}
.xf .ser{margin-top:4px}
.csz,.cface{font-size:13px;font-weight:600;color:var(--ink);margin:-4px 0 8px}.cfx{font-size:11px;color:var(--mut);margin:-4px 0 8px}
.csz[hidden],.cfx[hidden],.cface[hidden]{display:none}
.sday{flex:none;min-width:64px;height:44px;border-radius:22px;border:1px solid var(--ln);background:var(--chip);color:var(--ink);font:600 12px Montserrat,sans-serif;padding:0 10px;white-space:nowrap}
.sundial{position:fixed;left:12px;top:calc(max(12px,env(safe-area-inset-top)) + 274px);z-index:14;display:flex;align-items:center;gap:8px;padding:6px 12px 6px 6px;border-radius:40px;color:var(--ink);font:500 11px/1.25 Montserrat,sans-serif;text-align:left;cursor:pointer;min-height:44px;max-width:calc(100vw - 96px)}
.sundial .sd-svg{display:block;width:76px;height:76px;flex:none}
.sundial svg{width:76px;height:76px;display:block;overflow:visible}
.sundial .sd-tx{display:flex;flex-direction:column;gap:2px;min-width:0}
.sundial .sd-tx b{font-size:13px;font-weight:700}
.sundial .sd-tx span{color:var(--mut);white-space:nowrap}
.sundial .dr{fill:rgba(255,255,255,.35);stroke:var(--mut);stroke-width:1}.sundial .dr2{fill:none;stroke:var(--ln);stroke-width:.8}
html[data-theme=night] .sundial .dr{fill:rgba(255,255,255,.04)}
.sundial .dl{font:700 7.5px Montserrat,sans-serif;fill:var(--mut);text-anchor:middle}.sundial .dl.n{fill:#E5484D}
.sundial .dpath{fill:none;stroke:#F2B530;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sundial .drise,.sundial .dset{stroke:#E8A93A;stroke-width:1;stroke-dasharray:2 2}
.sundial .drp,.sundial .dsp{fill:#E8A93A;stroke:#fff;stroke-width:1}
.sundial .dray{stroke:#F2B530;stroke-width:1.2;opacity:.8}.sundial .dsun{fill:#FFC93C;stroke:#fff;stroke-width:1.6}
@media (max-width:767px){.sundial{top:calc(max(12px,env(safe-area-inset-top)) + 266px);padding:4px;border-radius:50%;gap:0}.sundial .sd-svg,.sundial svg{width:64px;height:64px}
 .sundial .sd-tx{position:absolute;left:calc(100% + 6px);top:50%;transform:translateY(-50%);background:var(--gl);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid var(--bd);border-radius:14px;padding:5px 9px;box-shadow:var(--sh)}
 .sundial .sd-tx #sdA{display:none}}
@media (max-width:767px){body:has(#card:not([hidden])) .sundial,body:has(.panel:not([hidden])) .sundial{display:none}}
@media (max-width:720px) and (min-height:641px){.sunbar,html.embed .sunbar{left:12px;right:12px;max-width:none}}
@media (max-width:380px){.sday{min-width:54px;padding:0 8px}.sunbar .st{font-size:15px;min-width:44px}}

/* mapios1127: iPhone keeps the page at scale 1 (no input auto-zoom, no page pinch, no sideways overflow) */
html,body{max-width:100%;overscroll-behavior:none;touch-action:pan-x pan-y;-webkit-text-size-adjust:100%;text-size-adjust:100%}
#map,#map .maplibregl-canvas-container,#map .maplibregl-canvas{touch-action:none}
#map{width:100%}
.attr,.toast{max-width:calc(100% - 24px)}
@media (min-width:721px){.attr{max-width:calc(100% - 108px)}}
@media (max-width:1024px),(pointer:coarse){input,select,textarea,#q,#fAreaQ,.asrch input,.sel select,.fl input,.fl textarea{font-size:16px!important}}
@media (max-width:767px){.card{left:env(safe-area-inset-left,0px);right:env(safe-area-inset-right,0px);width:auto;max-width:100%}}

/* mapios1127b: converted price stays on the card's From line (the span shared the close button's .cx class); orb hidden while a sheet is open on phones */
.cp .pcv,.cp .cx{position:static;top:auto;right:auto;z-index:auto;background:none;color:inherit;padding:0;border-radius:0;box-shadow:none;width:auto;height:auto;display:inline;font:inherit;white-space:nowrap}
@media (max-width:767px){html.bmap-sheet body #anbBtn,html.bmap-sheet body #anbBox:not(.on){opacity:0!important;visibility:hidden!important;pointer-events:none!important}}

/* mapios1127c (Najib 27 Nov 03:45): phone layout. Sun dial + pill top-right under the search, right stack below it, sun time bar full width at the bottom above the credits, no Beyond AI orb on /map/ phones (app.css loads only on /map/ and its embeds), orb clearance dropped. */
@media (max-width:720px){
html body #anbBtn,html body #anbBox:not(.on){display:none!important}
.sundial{left:auto!important;right:12px;top:calc(max(12px,env(safe-area-inset-top)) + 70px)!important}
.sundial .sd-tx{left:auto!important;right:calc(100% + 6px)}
.rstack,html:has(#sunbar:not([hidden])) .rstack{top:calc(max(12px,env(safe-area-inset-top)) + 158px);bottom:auto!important}
html:not(:has(#sunDial)) .rstack.rstack.rstack,html:has(#sunDial[hidden]) .rstack.rstack.rstack{top:calc(max(12px,env(safe-area-inset-top)) + 70px)}
.sunbar,html.embed .sunbar{left:max(12px,env(safe-area-inset-left))!important;right:max(12px,env(safe-area-inset-right))!important;max-width:none!important;bottom:calc(max(6px,env(safe-area-inset-bottom)) + 30px)!important}
html:has(#sunbar:not([hidden])) .info-b{bottom:calc(max(6px,env(safe-area-inset-bottom)) + 96px)}
html.embed .sunbar{bottom:calc(max(6px,env(safe-area-inset-bottom)) + 84px)!important}
html.embed:has(#sunbar:not([hidden])) .info-b{bottom:calc(max(6px,env(safe-area-inset-bottom)) + 150px)}
.attr{left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));max-width:none}
}
@media (max-width:720px){html.bmap-sheet .rstack,html.bmap-sheet .info-b,html.bmap-sheet .sunbar,html.bmap-sheet .attr,html.bmap-sheet .openfull,html.embed:has(#card:not([hidden])) .lstack{visibility:hidden}}

/* mapios1127d (Najib 27 Nov 04:01): sun dial N/E/S/W readable: ~13-14 px bold Montserrat, high contrast with a halo, N emphasised; dial 80 px on phones, right stack moved below it */
.sundial .dl{font:700 17.5px Montserrat,sans-serif;dominant-baseline:central;text-anchor:middle;fill:#14181f;stroke:rgba(255,255,255,.92);stroke-width:3.4px;stroke-linejoin:round;paint-order:stroke fill}
.sundial .dl.n{fill:#D62F35;font-size:19.5px;font-weight:800}
html[data-theme=night] .sundial .dl{fill:#F3F5F9;stroke:rgba(10,14,22,.9)}
html[data-theme=night] .sundial .dl.n{fill:#FF6B70}
@media (max-width:767px){.sundial .sd-svg,.sundial svg{width:80px;height:80px}}
@media (max-width:720px){.rstack,html:has(#sunbar:not([hidden])) .rstack{top:calc(max(12px,env(safe-area-inset-top)) + 178px)}}

/* mapdial1127 (Najib 27 Nov 10:55): sun dial top-right under the search on every width, right control stack below it; embeds: own glass hint instead of the Cmd+scroll overlay on desktop */
@media (min-width:721px) and (max-width:767px){
.sundial{left:auto!important;right:12px;top:calc(max(12px,env(safe-area-inset-top)) + 70px)!important}
.sundial .sd-tx{left:auto!important;right:calc(100% + 6px)}
html:has(#sunDial:not([hidden])) .rstack.rstack{top:calc(max(12px,env(safe-area-inset-top)) + 178px);bottom:auto!important}
}
@media (min-width:768px){
.sundial{left:auto!important;right:20px;top:96px!important;flex-direction:row-reverse;padding:6px 6px 6px 14px;text-align:right}
.sundial .sd-tx{align-items:flex-end}
html:has(#sunDial:not([hidden])) .rstack.rstack{top:198px;bottom:auto!important}
html:has(#card:not([hidden])) .sundial{visibility:hidden}
}
@media (hover:hover) and (pointer:fine){html.embed .maplibregl-cooperative-gesture-screen{display:none!important}}
.bmhint{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%) scale(.96);z-index:30;pointer-events:none;opacity:0;transition:opacity .18s,transform .18s;border-radius:22px;padding:11px 18px;font:500 13px/1.35 Montserrat,sans-serif;color:var(--ink);text-align:center;display:flex;flex-direction:column;gap:2px;width:max-content;max-width:calc(100% - 32px)}
.bmhint b{font-weight:700;font-size:14px}.bmhint span{color:var(--mut)}
.bmhint.on{opacity:1;transform:translate(-50%,-50%) scale(1)}
/* mapdial1127: Exit map button on /map/ (left of the logo; logo stays the home link) */
.exitb{flex:none;height:44px;min-width:44px;border-radius:22px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 14px 0 12px;font:600 14px Montserrat,sans-serif;color:var(--ink);white-space:nowrap}
.exitb svg{width:18px;height:18px;stroke-width:2.2;flex:none}
html.has-exit .top{max-width:680px}
html.has-exit .sugg{left:0}
@media (max-width:767px){.exitb{width:44px;padding:0}.exitb span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
 html.has-exit .top{gap:8px}html.has-exit .brand{width:48px;height:48px}html.has-exit .brand img{width:38px}}

/* mapdialc1127 (Najib 27 Nov 12:36 / 12:40 / 12:43): compact compass in the top row, right of the search pill (same top edge and height); tap it for the time, sunrise/sunset and the sun line (glass card below-left of it, never over the search or the right stack); right control stack 14 px below the compass */
html body .sundial{left:auto!important;right:max(12px,env(safe-area-inset-right))!important;top:max(12px,env(safe-area-inset-top))!important;width:56px!important;height:56px;min-height:0;max-width:none!important;padding:3px!important;gap:0!important;border-radius:50%!important;display:grid;place-items:center;flex-direction:row!important}
html body .sundial .sd-svg,html body .sundial svg{width:50px!important;height:50px!important}
html body .sundial .sd-tx{position:absolute!important;left:auto!important;right:calc(100% + 6px)!important;top:calc(100% + 10px)!important;bottom:auto!important;transform:none!important;display:flex;flex-direction:column;align-items:flex-end;gap:3px;text-align:right;width:max-content;max-width:min(260px,calc(100vw - 110px));background:var(--gl);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid var(--bd);border-radius:16px;padding:9px 13px;box-shadow:var(--sh);font:500 12px/1.3 Montserrat,sans-serif;color:var(--ink);cursor:pointer}
html body .sundial .sd-tx b{font-size:14px}
html body .sundial .sd-tx #sdA{display:block!important}
html body .sundial:not(.open) .sd-tx{display:none!important}
html body .sundial:focus-visible{outline:2px solid var(--g);outline-offset:2px}
html:has(#sunDial:not([hidden])) .top{right:calc(max(12px,env(safe-area-inset-right)) + 64px)}
html:has(#sunDial:not([hidden])) .rstack.rstack.rstack{top:calc(max(12px,env(safe-area-inset-top)) + 70px)!important;bottom:auto!important}
@media (min-width:768px){
html body .sundial{right:20px!important;top:20px!important}
html:has(#sunDial:not([hidden])) .top{right:86px}
html:has(#sunDial:not([hidden])) .rstack.rstack.rstack{top:90px!important}
}
@media (max-width:400px){html:has(#sunDial:not([hidden])) .top{gap:6px}html.has-exit:has(#sunDial:not([hidden])) .brand{width:42px;height:42px}html.has-exit:has(#sunDial:not([hidden])) .brand img{width:34px}
 html.has-exit:has(#sunDial:not([hidden])) .exitb{width:40px;min-width:40px;height:40px}
 html:has(#sunDial:not([hidden])) .search{padding:0 4px 0 12px;gap:7px}html:has(#sunDial:not([hidden])) .search .ic{width:18px;height:18px}
 html:has(#sunDial:not([hidden])) #q::placeholder{font-size:14px}}
/* reemtowers1127 (live, from the massing1127 preview): card tiles, tower picker, floor slider, see-the-view bar */
.mbox{margin:4px 0 12px}
.mtiles{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--ln);border-radius:16px;overflow:hidden;background:var(--gl2)}
.mt{padding:10px 12px;min-width:0}.mt+.mt{border-left:1px solid var(--ln)}
.mt span{display:block;font-size:12px;color:var(--mut);font-weight:600}
.mt b{display:block;font-size:20px;font-weight:700;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mt:first-child b{color:var(--gd)}
html[data-theme=night] .mt:first-child b{color:var(--g)}
.mpanel{margin-top:10px;border-radius:16px;background:var(--gl2);border:1px solid var(--ln);padding:6px 12px 12px}
.mrow{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px}
.mrow+.mrow{border-top:1px solid var(--ln)}
.ml{font-size:14px;font-weight:600;color:var(--mut)}
.mtw{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.mtw button{min-width:44px;height:44px;padding:0 12px;border-radius:12px;border:1px solid var(--ln);background:var(--chip);font-weight:700;font-size:14px}
.mtw button[aria-pressed=true]{background:var(--g);border-color:var(--g);color:#0d2414}
.mstep{display:flex;align-items:center;gap:8px}
.mpm{width:44px;height:44px;border-radius:12px;border:1px solid var(--ln);background:var(--chip);font-size:22px;line-height:1}
#mFlo{display:flex;flex-direction:column;align-items:center;min-width:86px}
#mFlo b{font-size:17px;font-weight:700}#mFlo small{font-size:12px;color:var(--mut);font-weight:600}
#mR{-webkit-appearance:none;appearance:none;width:100%;height:44px;background:transparent;margin:2px 0 0;--pc:50%}
#mR::-webkit-slider-runnable-track{height:6px;border-radius:3px;background:linear-gradient(90deg,var(--g) var(--pc),var(--ln) var(--pc))}
#mR::-moz-range-track{height:6px;border-radius:3px;background:var(--ln)}#mR::-moz-range-progress{height:6px;border-radius:3px;background:var(--g)}
#mR::-webkit-slider-thumb{-webkit-appearance:none;width:26px;height:26px;border-radius:50%;background:var(--g);border:3px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.25);margin-top:-10px}
#mR::-moz-range-thumb{width:22px;height:22px;border-radius:50%;background:var(--g);border:3px solid #fff}
.macts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.mact{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:64px;border-radius:16px;border:1px solid var(--bd);font-weight:600;font-size:14px}
.mact:disabled{opacity:.45}
.mind{font-size:11.5px;color:var(--mut);margin:10px 2px 0;line-height:1.45}
#card.mcard .cp{margin-top:6px}
.mview{position:fixed;z-index:35;left:50%;transform:translateX(-50%);bottom:calc(max(16px,env(safe-area-inset-bottom)) + 8px);display:flex;align-items:center;gap:6px;border-radius:30px;padding:6px;max-width:calc(100vw - 24px)}
.mvb{display:flex;align-items:center;gap:4px;height:48px;padding:0 16px 0 10px;border-radius:24px;border:0;background:var(--g);color:#0d2414;font-weight:700}
.mvt{font-size:13px;font-weight:600;padding:0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.mvr{width:48px;height:48px;border-radius:24px;border:0;background:var(--gl2);flex:none}
html.mviewing .top,html.mviewing .lstack,html.mviewing .rstack,html.mviewing .sundial,html.mviewing .sunbar,html.mviewing .info-b{visibility:hidden}
@media (max-width:380px){.mt b{font-size:17px}.mvt{font-size:12px}}
/* massing1127 r2: card closer to the reference layout (pill row under the photo, name, type · by developer · area, tiles, tower/view panel, 3 buttons) */
.mpills{display:none}
#card.mcard .mpills{display:flex;gap:6px;align-items:center;margin:0 0 8px}
#card.mcard .mpills .pill{position:static}
#card.mcard .cb h3{font-size:28px;margin-bottom:4px}
#card.mcard .ho,#card.mcard #cReg{display:none}
#card.mcard .cp{margin:6px 0 10px;font-size:15px}
#card.mcard .cta{margin-top:10px}
.macts{grid-template-columns:1fr 1fr 1fr}
.mact.grn{color:#0d2414}.mact.grn svg{stroke:#0d2414}
.mact{padding:0 6px;text-align:center;white-space:normal;line-height:1.15;font-size:13px}
.mact svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mind{font-size:11px;margin-top:8px}
/* avo1127: developer availability on the card + orbit mode */
.mavf{margin:2px 2px 0;font-size:13px;line-height:1.4;color:var(--mut);min-height:36px}
.mavf b{color:var(--tx,inherit);font-weight:700}.mavf.on b{color:var(--gd)}html[data-theme=night] .mavf.on b{color:var(--g)}
.mavf .mavv{font-size:12.5px}.mavq{font-weight:600}
.mav{margin-top:10px;border-radius:16px;background:var(--gl2);border:1px solid var(--ln);padding:10px 12px}
.mavh{font-size:12px;font-weight:600;color:var(--mut);margin-bottom:6px}
.mavg{display:grid;grid-template-columns:repeat(var(--n,5),minmax(0,1fr));gap:4px}
.mavg div{min-width:0}.mavg span{display:block;font-size:11.5px;color:var(--mut);font-weight:600;white-space:nowrap}
.mavg b{display:flex;align-items:center;gap:1px;font-size:15px;font-weight:700;white-space:nowrap}
.mavg b .dh{width:.8em;height:.8em;flex:none}
.mavs{font-size:11.5px;color:var(--mut);margin:8px 0 0;line-height:1.45}.mavs b{color:inherit;font-weight:700}
.morb{position:fixed;z-index:34;left:50%;transform:translateX(-50%);top:calc(max(12px,env(safe-area-inset-top)) + 62px);display:flex;align-items:center;gap:6px;border-radius:26px;padding:5px 5px 5px 12px;max-width:calc(100vw - 24px);font-size:13px;font-weight:600}
@media (min-width:768px){.morb{top:92px}}
.morbh{display:flex;align-items:center;gap:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.morbh svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.morbx{height:40px;min-width:64px;padding:0 16px;border-radius:20px;border:1px solid var(--ln);background:var(--chip,var(--gl2));font-weight:700;font-size:14px;flex:none}
@media (pointer:coarse){.morbx{height:44px}}
html.morbit .maplibregl-canvas-container,html.morbit .maplibregl-canvas{touch-action:none;cursor:grab}
html.morbit .maplibregl-canvas-container:active .maplibregl-canvas{cursor:grabbing}
html.mviewing .morb{display:none}
@media (max-width:767px){
  /* orbitphoto1127 (Najib 13:19): the phone orbit card keeps the photo (compact strip), price line and Handover/Floors/Height tiles; tighter spacing so the tower stays in view */
  html.morbit #card{max-height:62dvh}
  /* photo2x1127 (Najib 19:04 "Make the photo twice the size"): phone orbit photo 108 -> 216 px, framed from the upper part so tall tower renders show the tower */
  html.morbit #card .cph{height:216px}
  html.morbit #card .cph img{object-position:50% 28%}
  html.morbit #card .cb{padding:10px 14px 12px}
  html.morbit #card #cMeta,html.morbit #card #mPills{display:none}
  html.morbit #card .cb h3{font-size:22px;line-height:1.1;margin:0 0 2px}
  html.morbit #card.mcard .cp{margin:2px 0 6px;font-size:15px}
  html.morbit #card .mbox{margin:2px 0 8px}
  html.morbit #card .mt{padding:5px 10px}html.morbit #card .mt span{font-size:11px}html.morbit #card .mt b{font-size:16px;margin-top:0}
  html.morbit #card .mpanel{margin-top:8px;padding:2px 10px 8px}
  html.morbit #card .mrow{min-height:48px}
  html.morbit #card #mR{height:36px}
  html.morbit #card .macts{margin-top:8px}html.morbit #card .mact{min-height:54px}
  .morb{top:auto;bottom:calc(62dvh + 10px)}
}

/* map-leads-1127: Prices by area (legend + tap card) and lead button polish */
.tg input:checked+.bx.pa{background:#7B3FA8;border-color:#7B3FA8}
.paleg{position:fixed;z-index:15;left:max(12px,env(safe-area-inset-left));bottom:calc(max(6px,env(safe-area-inset-bottom)) + 30px);border-radius:16px;padding:8px 12px 8px;max-width:min(300px,calc(100vw - 96px));font-size:11px;line-height:1.3;color:var(--ink)}
.paleg .pah{font-weight:700;font-size:12px;margin-bottom:6px}
.paleg .pasw{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px}
.paleg .pasw span{display:flex;align-items:center;gap:6px;white-space:nowrap}
.paleg i{flex:none;width:14px;height:10px;border-radius:3px;border:1px solid rgba(123,63,168,.55)}
.paleg .pas,.patip .pas{color:var(--mut);font-size:10.5px;margin-top:6px}
body:has(#sunbar:not([hidden])) .paleg{bottom:calc(max(6px,env(safe-area-inset-bottom)) + 96px)}
body:has(#paTip:not([hidden])) .paleg{display:none}
.patip{position:fixed;z-index:32;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:calc(max(6px,env(safe-area-inset-bottom)) + 30px);border-radius:22px;max-width:400px;overflow:hidden;animation:up .2s ease-out}
.patip .pb{padding:0 18px 14px}
.patip .ph{padding:6px 4px 0 18px}
.patip h3{font-size:26px;margin:0 0 8px;line-height:1.1}
.patip dl{margin:0;display:grid;gap:6px}
.patip dl div{display:flex;justify-content:space-between;gap:12px;align-items:baseline;border-bottom:1px solid var(--ln);padding-bottom:5px}
.patip dt{color:var(--mut);font-size:13px}
.patip dd{margin:0;font-weight:700;font-size:15px;color:var(--ink);white-space:nowrap}
.patip .pan{font-size:12px;color:var(--mut);margin:8px 0 0;line-height:1.4}
@media (max-width:767px){body:has(#card:not([hidden])) .paleg,body:has(.panel:not([hidden])) .paleg,body:has(.panel:not([hidden])) .patip{display:none}}
@media (min-width:768px){.paleg{left:88px;bottom:40px}.patip{left:88px;right:auto;bottom:40px;width:360px}
  body:has(#sunbar:not([hidden])) .paleg,body:has(#sunbar:not([hidden])) .patip{bottom:108px}}
.note.ok{color:#2e8b4a;font-weight:600}
html[data-theme=night] .note.ok{color:#7fd99a}
.cta .btn[disabled],#regF button[disabled]{opacity:.6}


/* mapui1127: map UI cleanup (night toggle in Settings, one right stack, sun dial on demand, credits in info, chrome hides while exploring) */
html.ui27 #btnTheme{display:none}
html.ui27 .rstack.rs1 .grp{display:flex;flex-direction:column}
html.ui27:not(:has(#sunbar:not([hidden]))) #sunDial{display:none!important}
html.ui27 .lstack,html.ui27 .rstack,html.ui27 #btnInfo{transition:opacity .3s ease,transform .3s ease,visibility 0s linear 0s}
html.ui27.uidle .lstack,html.ui27.uidle .rstack,html.ui27.uidle #btnInfo{opacity:0;pointer-events:none;visibility:hidden;transition:opacity .3s ease,transform .3s ease,visibility 0s linear .3s}
html.ui27.uidle .lstack,html.ui27.uidle #btnInfo{transform:translateX(-8px)}
html.ui27.uidle .rstack{transform:translateX(8px)}
.osmchip{position:fixed;right:12px;bottom:max(6px,env(safe-area-inset-bottom));z-index:14;font:600 10.5px/1 Montserrat,sans-serif;color:var(--mut);padding:5px 9px;border-radius:10px;min-height:22px;cursor:pointer;box-shadow:none}
@media (min-width:768px){.osmchip{right:20px}}
@media (pointer:coarse){.osmchip{min-height:28px;padding:7px 10px}}
#info .credits{margin-top:14px}
#info .attr-in{font-size:12px;line-height:1.5;color:var(--mut);white-space:normal;margin-top:6px}
#info .attr-in a{color:inherit;text-decoration:underline}
@media (prefers-reduced-motion:reduce){html.ui27 .lstack,html.ui27 .rstack,html.ui27 #btnInfo{transition:none}}
@media (max-width:600px){html.ui27.embed .rstack.rs1 .grp:first-child{display:flex}}

/* mapbot1127 (Najib 27 Nov 20:31, phone screenshot: "Can we push those down"): on phones the bottom controls sit on one row at the very bottom of the map frame,
   so the map above is clear. Info bottom-left, "Open full map" (embeds) + (c) OSM bottom-right, all centred on the same line ~12px from the edge.
   While the time bar is open it takes that row by itself (full width, 10px from the bottom); info, Open full map and (c) OSM come back when it closes. Desktop unchanged. */
@media (max-width:720px){
html body .info-b#btnInfo{left:max(12px,env(safe-area-inset-left))!important;bottom:calc(max(12px,env(safe-area-inset-bottom)))!important;top:auto!important}
html body .openfull#openFull{left:auto!important;right:calc(max(12px,env(safe-area-inset-right)) + 80px)!important;transform:none!important;bottom:calc(max(12px,env(safe-area-inset-bottom)) + 4px)!important;top:auto!important}
html body #osmChip.osmchip{right:max(12px,env(safe-area-inset-right))!important;bottom:calc(max(12px,env(safe-area-inset-bottom)) + 12px)!important;top:auto!important}
html body #osmChip.osmchip:before{content:"";position:absolute;left:-4px;right:-4px;top:-10px;bottom:-10px}
html body .sunbar#sunbar{left:max(12px,env(safe-area-inset-left))!important;right:max(12px,env(safe-area-inset-right))!important;max-width:none!important;width:auto!important;bottom:calc(max(10px,env(safe-area-inset-bottom)))!important;top:auto!important}
html:has(#sunbar:not([hidden])) body .info-b#btnInfo,html:has(#sunbar:not([hidden])) body .openfull#openFull,html:has(#sunbar:not([hidden])) body #osmChip.osmchip{visibility:hidden!important;pointer-events:none!important}
html body .paleg,html body:has(#sunbar:not([hidden])) .paleg,html body .patip,html body:has(#sunbar:not([hidden])) .patip{bottom:calc(max(12px,env(safe-area-inset-bottom)) + 64px)!important}
}
@media (max-width:360px){html body .openfull#openFull{padding:0 14px;gap:6px}}
/* very narrow frames (community guides on small phones): the credits chip shrinks to a round (c) so Open full map fits beside the info button */
@media (max-width:340px){html body #osmChip.osmchip{font-size:0!important;width:30px;min-width:30px;padding:0!important;justify-content:center;display:inline-flex;align-items:center;border-radius:15px}
html body #osmChip.osmchip:after{content:"\a9";font:700 13px/1 Montserrat,sans-serif}
html body #osmChip.osmchip:before{left:-7px;right:-7px}
html body .openfull#openFull{right:calc(max(12px,env(safe-area-inset-right)) + 50px)!important}}

/* Aldar layers (retail / commercial / education) */
#card [hidden]{display:none!important}
.sugg .dt.xr,.pill.st[data-cat=xr]{background:#d9468f;color:#fff}
.sugg .dt.xc,.pill.st[data-cat=xc]{background:#2f6fde;color:#fff}
.sugg .dt.xe,.pill.st[data-cat=xe]{background:#f29b1d;color:#2a1a00}
.cax{margin:6px 0 2px}
.cax .axr{display:flex;flex-direction:column;gap:1px;padding:7px 0;border-top:1px solid rgba(127,140,155,.22);font-size:13px;line-height:1.35}
.cax .axr small{font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;opacity:.6}
.cax .axb{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.cax .axb .btn{flex:0 0 auto;text-decoration:none}
.cax .axc{margin:12px 0 0;font-size:11px;opacity:.6;line-height:1.4}

/* Visitor map-layer switches in Settings (gear) */
.flay{display:flex;flex-direction:column;margin:0 0 4px}
.flay-row{display:flex;align-items:center;gap:14px;min-height:56px;padding:6px 0}
.flay-row .dot{width:12px;height:12px;flex:none}
.flay-t{flex:1;min-width:0}
.flay-t b{display:block;font-size:15px;font-weight:700}
.flay-t small{display:block;color:var(--mut);font-size:13px;font-weight:500}
.flay-on{flex:none;font-size:12px;font-weight:700;color:var(--gd);background:var(--gl2);padding:6px 10px;border-radius:99px;white-space:nowrap}
html[data-theme=night] .flay-on{color:var(--g)}
.flay-sw{flex:none;position:relative;width:52px;height:44px;border:0;padding:0;background:transparent;cursor:pointer}
.flay-sw:before{content:"";position:absolute;left:0;top:6px;width:52px;height:32px;border-radius:99px;background:var(--ln)}
.flay-sw:after{content:"";position:absolute;top:9px;left:3px;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.25);transition:transform .2s}
.flay-sw[aria-checked=true]:after{transform:translateX(20px)}
.flay-sw[data-k=retail][aria-checked=true]:before{background:#d9468f}
.flay-sw[data-k=commercial][aria-checked=true]:before{background:#2f6fde}
.flay-sw[data-k=education][aria-checked=true]:before{background:#f29b1d}
.flay-sw:focus-visible{outline:2px solid var(--g);outline-offset:2px}
/* crm-embed-events-20261203: CRM iframe only — hide Open full map; do not move #btnInfo or #osmChip. */
html.embed.crm-embed .openfull#openFull{display:none!important;visibility:hidden!important;pointer-events:none!important}
/* crm-settings-fix-20261203f: keep each toggle's hidden checkbox inside its row so focusing it cannot scroll the panel */
.tg{position:relative}
