body {
  overscroll-behavior-y: contain;
}

.network-status {
  position: sticky;
  top: 0;
  z-index: 9;
  margin-bottom: 10px;
  border-radius: 8px;
  background: #8a5b00;
  color: #ffffff;
  padding: 9px 12px;
  text-align: center;
  font-weight: 900;
}

.pwa-card,
.pwa-settings {
  display: grid;
  gap: 10px;
}

.pwa-status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pwa-status-list span {
  border-radius: 999px;
  background: #f0f4ec;
  color: var(--muted);
  padding: 5px 9px;
  font-size: 0.78rem;
  font-weight: 800;
}

.offline-page {
  width: min(92%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
  padding: 24px;
}

.offline-retry {
  display: inline-grid;
  place-items: center;
  padding: 0 18px;
  text-decoration: none;
}

@media (max-width: 720px) {
  .app-shell {
    padding-bottom: calc(94px + env(safe-area-inset-bottom));
  }

  .tabbar {
    position: fixed;
    inset: auto 12px 10px 12px;
    top: auto;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
  }

  button,
  input,
  select {
    min-height: 44px;
  }
}
