/* Black page edges let installed-app system bars join the site naturally. */
html,body{background:#000;color-scheme:dark}
.workspace{top:env(safe-area-inset-top,0px);height:calc(100svh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
body::before,body::after{content:"";position:fixed;left:0;right:0;background:#000;pointer-events:none;z-index:0}
body::before{top:0;height:env(safe-area-inset-top,0px)}
body::after{bottom:0;height:env(safe-area-inset-bottom,0px)}

/* Follow the current viewport after returning from an order form. */
@supports (height:100dvh){
  .workspace{height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
}
/* The workspace already reserves the system safe areas. */
.workspace{z-index:1;top:calc(var(--viewport-top,0px) + env(safe-area-inset-top,0px));height:calc(var(--viewport-height,100dvh) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
@media(max-width:760px){
  .menu-dock{bottom:8px}
  #content{bottom:84px}
}
