/* The real app keeps its own document and session inside the homepage. */
html[data-app-embedded="1"]:not([data-app-layout="full"]){background:transparent;scroll-behavior:auto}
body[data-app-embedded="1"]:not([data-app-layout="full"]){background:transparent;overflow-x:hidden}
body[data-app-embedded="1"] #app-page-content{display:flow-root;min-height:0}
body[data-app-embedded="1"]:not([data-app-layout="full"]) .app-header{max-width:1220px;margin:0 auto;background:transparent;border:0;min-height:54px;padding:0 30px 14px;justify-content:flex-end}
body[data-app-embedded="1"] .app-brand{display:none!important}
body[data-app-embedded="1"]:not([data-app-layout="full"]) #app-intro,body[data-app-embedded="1"]:not([data-app-layout="full"]) footer{display:none!important}
body[data-app-embedded="1"]:not([data-app-layout="full"]) .app-nav{gap:18px;color:#eedfc3}
body[data-app-embedded="1"]:not([data-app-layout="full"]) .app-sound-toggle{background:#fff8e8}
body[data-app-embedded="1"]:not([data-app-layout="full"]) main{margin-bottom:0;padding-bottom:12px}
body[data-app-embedded="1"]:not([data-app-layout="full"]) #app-create-area:has(#app-create[data-wizard="1"]) .app-tutorial-rail{position:static;inset:auto}
body[data-app-embedded="1"][data-app-layout="full"] .app-header{--app-embed-header-base:max(30px,calc((100vw - 1160px)/2));--app-embed-header-gap:62px;justify-content:flex-end;padding-right:calc(var(--app-embed-header-base) + var(--app-embed-header-gap))}
@media(min-width:1101px){body[data-app-embedded="1"][data-app-layout="full"]:has(#app-create-area:not([hidden])) .app-header{--app-embed-header-base:max(30px,calc((100vw - 1380px)/2));padding-right:calc(var(--app-embed-header-base) + var(--app-embed-header-gap))}}
@media(max-width:900px){body[data-app-embedded="1"][data-app-layout="full"] .app-header{--app-embed-header-base:25px;--app-embed-header-gap:58px}}
body[data-app-embedded="1"] dialog[open]{position:fixed;top:calc(var(--app-embed-viewport-top,0px) + 12px);bottom:auto;left:0;right:0;margin:0 auto;max-height:max(120px,calc(var(--app-embed-viewport-height,600px) - 24px));overscroll-behavior:contain}
body[data-app-embedded="1"] .app-demo-dialog .app-demo-screen,body[data-app-embedded="1"] .app-demo-dialog .app-tutorial-stage video{max-height:max(100px,calc(var(--app-embed-viewport-height,600px) - 190px))}
body[data-app-embedded="1"] .app-demo-dialog .app-phone{width:min(100%,max(100px,calc((var(--app-embed-viewport-height,600px) - 190px)*508/720)))}
body[data-app-embedded="1"] .app-embed-payment-note{margin:0 0 18px}
@media(max-width:600px){body[data-app-embedded="1"]:not([data-app-layout="full"]) .app-header{padding:0 14px 12px;min-height:48px}body[data-app-embedded="1"]:not([data-app-layout="full"]) main{padding-inline:0}body[data-app-embedded="1"]:not([data-app-layout="full"]) .app-nav{gap:13px}body[data-app-embedded="1"]:not([data-app-layout="full"]) .app-tutorial-rail{padding-bottom:0}body[data-app-embedded="1"][data-app-layout="full"] .app-header{--app-embed-header-base:18px}}
@media(max-width:370px){body[data-app-embedded="1"][data-app-layout="full"] .app-header{--app-embed-header-base:15px}}
