/* Hosted Mobile UI surface, with transparent iframe document. */
html,body{background:transparent!important}
body{display:grid!important;grid-template-columns:minmax(0,1fr);place-items:safe center;min-height:100svh;box-sizing:border-box;padding:1rem;margin:0}
body>main{margin:0!important;min-width:0;max-width:100%;min-height:0!important;box-sizing:border-box}
.oddMobilePanel{padding:1rem!important;background:#fff!important;border:1px solid #e5e5ec!important;border-radius:4px!important;box-shadow:0 0 8px rgb(52 54 78 / 10%)!important;box-sizing:border-box;min-width:0;max-width:100%}
main.demo{width:min(100%,560px)}
.oddMobilePanel>.screen,.oddMobilePanel>.card{border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important}

/* Forms footer spacing with regular Mobile button corners. */
.oddMobileFooter{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1rem -1rem -1rem;padding:1rem;border-top:1px solid #e5e5ec;clear:both}
.oddMobileFooterActions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.5rem;min-width:0}
.oddMobileFooter button,.oddMobileReload{box-sizing:border-box;min-height:44px;padding:.6rem 1.25rem!important;border:1px solid #e5e5ec;border-radius:4px!important;font:600 .875rem/1.5 system-ui,sans-serif;cursor:pointer;margin:0!important;background:#086eea;color:#fff}
.oddMobileFooter .oddMobileCancel,.oddMobileFooter button.secondary{background:#fff!important;color:#111122!important;border-color:#e5e5ec!important}
.oddMobileFooter button:disabled{opacity:.5;cursor:not-allowed}
.oddMobileEmptyActions{display:none!important}
body [hidden]{display:none!important}
/* The phone owns its white surface; the surrounding stage stays transparent. */
.oddMobilePhone.odd-component{width:min(100%,320px);padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;margin:0;border-radius:0}
.oddMobilePhone.odd-component .mobile-app{width:100%;min-height:520px;background:#fff;border:1px solid #e5e5ec;border-radius:18px;box-shadow:0 0 8px rgb(52 54 78 / 10%)}
@media(max-width:420px){.oddMobileFooter{gap:.5rem;align-items:flex-start}.oddMobileFooterActions{flex:1}.oddMobileFooter button{padding:.6rem .75rem!important}}
