.front-door .perspective-door[data-ear-side="LEFT"]{left:max(.65rem,env(safe-area-inset-left));right:auto}
.front-door .perspective-door[data-ear-side="RIGHT"]{right:max(.65rem,env(safe-area-inset-right));left:auto}
.map-corner-brand[data-ear-side="LEFT"]{left:max(.65rem,env(safe-area-inset-left));right:auto}
.map-corner-brand[data-ear-side="RIGHT"]{right:max(.65rem,env(safe-area-inset-right));left:auto}
.global-tools-ear{position:fixed;z-index:35;top:max(.65rem,env(safe-area-inset-top));right:max(.65rem,env(safe-area-inset-right));width:3.1rem;height:3.1rem;border:2px solid #fff;border-radius:50%;padding:.38rem;background:#405764;box-shadow:0 3px 14px #10242f55}
.global-tools-ear img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.front-door .contextual-rail-gear-slot{position:fixed;z-index:35;top:max(.65rem,env(safe-area-inset-top));right:max(.65rem,env(safe-area-inset-right));margin:0}
.local-demo-welcome{background:linear-gradient(145deg,#f7fbfc,#e3f2ed)}
.local-demo-banner-mark{width:4.5rem;height:4.5rem;object-fit:contain}
.local-demo-front-actions,.local-demo-editor{display:grid;grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.75rem;margin:1rem 0}
.local-demo-front-actions button,.local-demo-store button{min-height:2.75rem}
.local-demo-front-actions .primary{background:#405764;color:#fff}
.local-demo-editor label{display:grid;gap:.35rem;font-weight:700}
.local-demo-editor input,.local-demo-editor select{min-height:2.75rem;width:100%;padding:.55rem;border:1px solid #8aa0aa;border-radius:.55rem;background:#fff}
.local-demo-rail{overflow-x:auto;display:flex;flex-wrap:nowrap}
.local-demo-rail button[aria-pressed="true"]{background:#405764;color:#fff}
.local-demo-room{margin:1rem 0;padding:1rem;border:1px solid #b6cbc4;border-radius:.8rem;background:#fff}
.local-demo-roots{margin:1rem 0;padding:.75rem;border:1px dashed #71888f;border-radius:.7rem}
.local-demo-roots dl{display:grid;grid-template-columns:minmax(6rem,auto) 1fr;gap:.35rem .8rem}
.local-demo-roots dt{font-weight:700}.local-demo-roots dd{margin:0;overflow-wrap:anywhere}
body[data-local-demo="ACTIVE"][data-perspective="CUSTOMER"] .perspective-door[data-ear-side="RIGHT"]{background:#e6f5ed}
@media(max-width:640px){.local-demo-roots dl{grid-template-columns:1fr}.local-demo-roots dd{margin-bottom:.4rem}}
