/* All compact pages reserve the same solid edge outside their scrolling content. */
:root {
  --status-bar-height: max(24px, env(safe-area-inset-top, 0px));
  --status-bar-color: var(--page-background, var(--bg, var(--paper, #f7f6f2)));
  background-color: var(--status-bar-color);
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  height: 100%;
  height: 100dvh;
  padding-top: var(--status-bar-height);
  overflow: hidden;
  overscroll-behavior: none;
}

body > .status-bar-fill {
  display: block;
  position: fixed;
  inset: 0 0 auto;
  height: var(--status-bar-height);
  z-index: 31;
  background-color: var(--status-bar-color);
  pointer-events: none;
}

.platform-scroll {
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
}
