body.home-embed header{display:none}body.home-embed .toolbar{top:16px}body.home-embed #floorNav{top:90px}body.home-embed .dock{bottom:65px}body.home-embed .designNote{bottom:56px;font-size:9px}body.home-embed #floorUnits{top:80px;max-height:calc(100svh - 200px)}body.home-embed #unitCard{bottom:130px}body.home-embed .status{top:80px}
@media(max-width:700px){body.home-embed .toolbar{top:172px}body.home-embed #floorNav{top:228px;max-height:calc(100svh - 390px)}body.home-embed .dock{bottom:65px}body.home-embed #floorUnits{top:auto;bottom:175px;max-height:calc(100svh - 340px)}body.home-embed .status{top:220px}body.home-embed .context h1{font-size:19px}}

body.page-embed header .brand{display:none}

/* Phones (not the homepage embed): the picture comes first. The hint card shrinks to two lines, the whole floor rail
   fits without scrolling, the note sits on the bottom edge, and inside a flat nothing overlaps the room buttons. */
@media(max-width:700px){
body:not(.home-embed) .context{padding:9px 13px}
body:not(.home-embed) .context .eyebrow{display:none}
body:not(.home-embed) .context h1{font-size:16px;margin:0}
body:not(.home-embed) .context p{font-size:10px;margin:2px 0 0}
body:not(.home-embed) .dock{bottom:max(40px,calc(env(safe-area-inset-bottom) + 34px));padding-bottom:0;gap:6px}
body:not(.home-embed) .designNote{bottom:max(6px,env(safe-area-inset-bottom));font-size:8px;line-height:1.3;padding:4px 10px}
body:not(.home-embed) #floorNav{top:112px;gap:2px;max-height:calc(100svh - 230px)}
body:not(.home-embed) #floorNav button{height:28px}
body.page-embed .toolbar{top:12px}
body.page-embed #floorNav{top:58px;max-height:calc(100svh - 170px)}
body:not(.home-embed)[data-interior=true] .designNote{display:none}
body:not(.home-embed)[data-interior=true] .dock{bottom:max(12px,env(safe-area-inset-bottom))}
body:not(.home-embed)[data-interior=true] .context{padding:9px 13px}
body:not(.home-embed)[data-interior=true] .context h1{font-size:16px}
body:not(.home-embed)[data-interior=true] #hint{font-size:10px}
body.page-embed[data-interior=true] .toolbar{top:56px}
}
/* Embedded in a service page: one finger turns the building, a vertical swipe still scrolls the page. */
body.page-embed #orbitStage #orbitCanvas{touch-action:pan-y}
