/* Shared full scene. Every layer is painted by the entry compositor, including
   sky, grove, foreground animation and curb; never a single background image. */
.customer-scene-layer,.customer-scene-shade{position:absolute;inset:0;pointer-events:none}
.customer-scene-layer{z-index:0;overflow:hidden;background:#fff}
.customer-scene-layer>canvas{display:block;width:100%;height:100%}
.customer-scene-shade{z-index:1;background:#676b6436;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
body[data-payment-scene]>.customer-scene-layer,body[data-payment-scene]>.customer-scene-shade{position:fixed}
body.customer-ui #successScreen[data-customer-scene],body.customer-ui #transitionLoaderOverlay[data-customer-scene]{isolation:isolate;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body.customer-ui #successScreen[data-customer-scene]>.success-card{position:relative!important;z-index:2}
body.supplement-upload-mode,body.supplement-upload-mode .app{height:100%!important;height:100dvh!important;min-height:0!important;background:#fff!important}
body.customer-ui #supplementUploadScreen{width:100%!important;height:100%!important;min-height:0!important;overflow:hidden!important;padding:14px!important;padding-top:max(14px,env(safe-area-inset-top))!important;padding-bottom:max(14px,env(safe-area-inset-bottom))!important}
body.customer-ui #supplementUploadScreen>.supplement-upload-wrap{position:relative!important;z-index:2;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;margin:auto!important;width:min(100%,480px)!important;max-width:100%!important;max-height:100%!important;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}

/* One persistent entry scene; cards never own or restart its canvas. */
html body.customer-ui.customer-persistent-scene .app{isolation:isolate}
html body.customer-ui.customer-persistent-scene #customerPersistentBackground{position:absolute;inset:0 0 auto;height:100%;z-index:0;background:none!important;filter:none!important;opacity:1!important;pointer-events:none}
html body.customer-ui.customer-persistent-scene #customerPersistentShade{position:absolute;inset:0;z-index:2;visibility:hidden;pointer-events:none}
html body.customer-ui.customer-persistent-scene #customerPersistentShade.visible{visibility:visible}
/* Retain entry geometry after success; only its controls become invisible.
   Keeping layout prevents the compositor from reflowing the scenery to zero. */
html body.customer-ui.customer-persistent-scene #home.hidden{display:flex!important;visibility:hidden;pointer-events:none}
html body.customer-ui.customer-persistent-scene #home.hidden .logo-top{visibility:visible}

body.customer-ui #supplementUploadScreen[data-customer-scene]{isolation:isolate;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
/* Keep the original logo and scene behind every supplemental-upload state.
   Hide entry controls without changing the layout used by the compositor. */
html body.customer-ui.supplement-upload-mode #home{visibility:hidden!important;pointer-events:none!important}
html body.customer-ui.supplement-upload-mode #home .logo-top{visibility:visible!important}
html body.customer-ui.supplement-upload-mode .app>:is(.entry-install,.side-menu-trigger){display:none!important}
html body.customer-ui.customer-persistent-scene #supplementUploadScreen{z-index:3}
html body.customer-ui.customer-persistent-scene :is(#modalShell,#successScreen,#transitionLoaderOverlay,#cancelShell,#blockedActionShell,#orderBlockAlert,#serviceAlert,#welcomeMessageShell,#trackingDecisionShell,#failedFormViewer,#uiDialogShell,#entryOrderOverlay){background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;animation:none!important}
