/* EatWise layout — screens, shell, nav */
.screen { display: none; min-height: 100vh; width: 100%; flex-direction: column; }
.screen.active { display: flex !important; }
body[data-page] .screen.active { display: flex !important; }

.app-header { flex-shrink: 0; }
main, .home-content, .meals-page-content, .plan-content, .progress-content, .profile-content, .help-content, .orders-admin-content {
  flex: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: calc(80px + env(safe-area-inset-bottom));
}

.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: calc(64px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: #fff;
  border-top: 1px solid #E5E7EB;
  z-index: 1030;
}
.bottom-nav .nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 4px;
  color: #94A3B8;
  font-size: 11px;
  font-weight: 600;
  background: transparent;
  border: none;
  border-radius: 10px;
  min-height: 48px;
}
.bottom-nav .nav-item.active {
  color: #0D9F6E;
  background: #EDF8F3;
}
.bottom-nav .nav-icon { width: 22px; height: 22px; }
.bottom-nav .nav-svg { width: 20px; height: 20px; }

.auth-container { max-width: 420px; margin: 0 auto; padding: 24px 20px; }
