/* Sauti public site r4: iPhone / iPad viewability.
   Safari and Chrome on iOS make 100vh taller than the visible screen, which pushed the
   message box and bottom tabs underneath the browser toolbar. */
html{-webkit-text-size-adjust:100%}
/* every page: size to the visible screen where the browser supports it */
@supports (min-height:100dvh){.min-h-screen{min-height:100dvh}}
/* chat page: fit exactly the visible screen; only the message list scrolls, so the
   header, message box and bottom tabs always stay on screen */
.sx-app-fit{height:100vh;height:100dvh;height:var(--sx-vh,100dvh);min-height:0;overflow:hidden}
.sx-app-fit>main{min-height:0;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.sx-app-fit>header,.sx-app-fit>form,.sx-app-fit>nav{flex-shrink:0}
/* while the keyboard is open, free up space for the conversation */
html[data-sx-kb] .sx-app-fit>nav{display:none}
