:root{--app-safe-top:env(safe-area-inset-top,0px)}
:root.android-app-safe{--app-safe-top:max(36px,env(safe-area-inset-top,0px))}
body .topbar{padding-top:calc(12px + var(--app-safe-top));padding-bottom:12px;min-height:68px}
body>header,.screen>header{padding-top:calc(12px + var(--app-safe-top))}
body .topbar button,body>header>a{position:relative;z-index:6;min-height:44px;min-width:72px;padding:10px 12px;touch-action:manipulation;cursor:pointer}
@media print{body .topbar,body>header,.screen>header{padding-top:12px}}
