
/* A viewport-sized stage keeps the complete App and navigation visible. */
html,body{height:100%;overflow:hidden}
.page{height:100dvh;min-height:0;display:flex;flex-direction:column;padding:18px 24px 12px}
.page-head,.surface-switch,.tracker{flex-shrink:0}
.page-head{margin-bottom:10px}.tracker{margin-bottom:8px;padding-bottom:8px}
.stage{flex:1;min-height:0;align-items:stretch}
.app-col{min-height:0}.phone{flex:1;min-height:0;max-height:778px;width:360px;display:flex;flex-direction:column}
.phone-screen{height:auto;flex:1;min-height:0}.app-body{min-height:0;overscroll-behavior:contain}
.device-col{position:relative;top:auto;min-height:0;overflow:auto}
.frame{width:100%;max-width:720px;margin-top:12px;flex-shrink:0}
.sim{flex:none;width:100%;margin:10px 0 0;padding:10px 16px;border-radius:16px;max-height:30dvh;overflow:auto}
.sim summary{cursor:pointer;font-size:12px;font-weight:600}.sim[open] summary{margin-bottom:12px}
.sim-head{display:none}
@media(max-width:880px){
 .page{padding:10px 12px max(8px,env(safe-area-inset-bottom))}.page-head{margin-bottom:8px}
 .brand em{display:none}.notice{display:none}.surface-switch{margin-bottom:8px}.surface-switch button{padding:8px}
 .tracker{margin-bottom:4px;padding-bottom:6px}.stage{display:flex;flex-direction:column}
 .col.active{flex:1;min-height:0}.phone{width:min(360px,100%);max-height:none}.phone-screen{height:auto}
 .col-label{display:none}.sim{margin-top:8px}.device-col:after{margin-top:8px}
}
