/* The embedded room fills the landscape module; controls own a separate row. */
html:has(body.palace-embedded){height:100%;overflow:hidden;background:#f2f3f5}
body.palace-embedded{margin:0!important;height:100dvh!important;overflow:hidden!important;background:#f2f3f5!important}
body.palace-embedded main{width:100%!important;max-width:none!important;height:100%!important;margin:0!important;padding:0!important;display:block!important}
body.palace-embedded main>:not(.layout){display:none!important}
body.palace-embedded .layout{width:100%!important;height:100%!important;display:block!important;margin:0!important;padding:0!important}
body.palace-embedded .layout>:not(section.panel){display:none!important}
body.palace-embedded .layout>section.panel{display:flex!important;flex-direction:column!important;width:100%!important;height:100%!important;min-height:0!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;box-shadow:none!important;overflow:hidden!important}
body.palace-embedded .layout>section.panel>:not(.stage):not(.orbit-tools){display:none!important}
body.palace-embedded .stage{width:100%!important;max-width:none!important;height:0!important;min-height:80px!important;flex:1 1 auto!important;aspect-ratio:auto!important;margin:0!important;border:0!important;background:#f2f3f5!important}
body.palace-embedded .stage:before,body.palace-embedded .exhibit-stamp{display:none!important}
body.palace-embedded .stage canvas,body.palace-embedded .stage img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
body.palace-embedded .orbit-tools{display:block!important;flex:0 0 auto!important;width:100%!important;padding:10px 14px!important;background:#f8fafd!important;border-top:1px solid #dce5f2!important;overflow:auto;max-height:45vh;box-sizing:border-box}
body.palace-embedded .orbit-heading{font-size:10px!important;line-height:1.5;min-height:16px}
body.palace-embedded .orbit-heading small,body.palace-embedded .orbit-range-label,body.palace-embedded .orbit-help,body.palace-embedded .force-caption,body.palace-embedded .visitor-locations{display:none!important}
body.palace-embedded .orbit-actions,body.palace-embedded .play-actions{gap:5px!important;margin:7px 0 0!important}
body.palace-embedded .orbit-actions button,body.palace-embedded .play-actions button{flex:0 0 auto!important;min-height:30px!important;font-size:10px!important;padding:5px 9px!important;line-height:1.4!important}
@media(max-width:600px){body.palace-embedded .orbit-tools{padding:8px!important}body.palace-embedded .orbit-heading>span{font-size:9px}body.palace-embedded .orbit-actions button,body.palace-embedded .play-actions button{min-height:32px!important;padding:5px 7px!important;font-size:9px!important}}

/* In the immersive shell the accessible parent toolbar owns these same controls. */
body.palace-embedded.palace-abbey .orbit-tools{display:none!important}
body.palace-embedded.palace-abbey .stage{flex:1 1 100%!important}
