.app-nav{
  position:relative;
  z-index:40;
  background:#fff;
  border-bottom:1px solid #e5ded1;
}

.app-nav__inner{
  max-width:1180px;
  margin:0 auto;
  padding:0 18px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:6px;
  min-height:54px;
}

.app-nav__item{
  display:flex;
  align-items:center;
  gap:7px;
  padding:9px 14px;
  border-radius:10px;
  color:#52635a;
  text-decoration:none;
  font-size:.9rem;
  font-weight:800;
  transition:.18s ease;
}

.app-nav__item:hover{
  background:#edf4f0;
  color:#123f32;
}

.app-nav__item.is-active{
  background:#edf4f0;
  color:#123f32;
}

.app-nav__icon{
  font-size:1.05rem;
  line-height:1;
}

@media (max-width:640px){
  body{
    padding-bottom:76px;
  }

  .app-nav{
    position:fixed;
    right:0;
    left:0;
    bottom:0;
    top:auto;
    border-top:1px solid #ded7ca;
    border-bottom:0;
    box-shadow:0 -5px 20px rgba(18,63,50,.08);
    padding-bottom:env(safe-area-inset-bottom);
    background:rgba(255,255,255,.97);
  }

  .app-nav__inner{
    min-height:64px;
    padding:5px 10px;
    justify-content:space-around;
    gap:2px;
  }

  .app-nav__item{
    flex:1;
    min-width:0;
    padding:6px 4px;
    flex-direction:column;
    justify-content:center;
    gap:4px;
    border-radius:12px;
    font-size:.72rem;
  }

  .app-nav__icon{
    font-size:1.25rem;
  }

  .app-nav__item.is-active{
    color:#123f32;
    background:#edf4f0;
  }
}
