* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; overscroll-behavior-y: none; }
body {
  font-family: 'DM Sans', sans-serif;
  background: #F7F7F8;
  color: #191C1F;
  -webkit-font-smoothing: antialiased;
}
a { color: #FF6A2B; text-decoration: none; }
a:hover { color: #E85A1E; }
::-webkit-scrollbar { display: none; }
input { font-family: inherit; }
button { font-family: inherit; }

#app {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #F7F7F8;
  position: relative;
  overflow: hidden;
}

#screen-root {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

#bottomnav-root {
  flex-shrink: 0;
}

.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

.scroll {
  flex: 1;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.safe-top {
  padding-top: env(safe-area-inset-top, 0px);
}
.safe-bottom {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
