/* Applied only to the top-level app, never inside the desktop phone preview. */
html.webapp, .webapp body {
  width: 100%; height: 100%; margin: 0; padding: 0;
  overflow: hidden; background: #F7F8F2;
}
.webapp .phone {
  --ios-status-height: 0px;
  width: 100%; max-width: none; height: 100vh; height: 100dvh;
  border: 0; border-radius: 0; box-shadow: none;
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
.webapp .sbar, .webapp .capsule, .webapp .home-indicator { display: none; }
.webapp #view { height: 100%; min-height: 0; }
.webapp .pagehead { padding-right: 0; }
.webapp .tabs {
  height: calc(64px + env(safe-area-inset-bottom, 0px));
  padding-top: 9px;
  padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
}
.webapp .screen { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
.webapp .screen.nobar { padding-bottom: max(24px, env(safe-area-inset-bottom, 0px)); }
.webapp .screen[data-screen="splash"] { padding-bottom: max(20px, env(safe-area-inset-bottom, 0px)); }
.webapp .sheet { padding-bottom: max(28px, env(safe-area-inset-bottom, 0px)); }
.webapp .screen[data-screen="map"] {
  --anatomy-nav-height: calc(64px + env(safe-area-inset-bottom, 0px));
  padding: 0;
}
.webapp .anatomy-scene { top: 0; }
.webapp .anatomy-topline { top: 12px; right: 16px; }
