/* Keep the application document as tall as its real page content. */
@media (min-width:851px){
  html,body{height:100%;overflow:hidden}
  body{min-height:0;grid-auto-rows:minmax(0,100vh);align-items:start}
  body>aside{grid-column:1;grid-row:1;align-self:start}
  body>main{grid-column:2;grid-row:1;align-self:start;width:100%;height:100vh;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
  body>.presence-panel{grid-column:3;grid-row:1;align-self:start}
  body:not(.presence-active)>.presence-panel{display:none!important}
}

main,#app{height:auto;min-height:0}

/* Data workspaces must grow from their contents, not reserve blank pages. */
body.bookings-workspace-live .bwl-shell,
body.bookings-workspace-editor .bwl-editor-shell,
.issuance-builder{min-height:0}
