/* Bottom navigation for authenticated app screens; desktop navigation stays untouched. */
.ry-mobile-app-nav { display: none; }

@media (max-width: 1023px) {
  body:has(.ry-mobile-app-nav) {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .ry-mobile-app-nav {
    position: fixed;
    z-index: 60;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: center;
    min-height: 66px;
    padding: 7px 4px calc(6px + env(safe-area-inset-bottom));
    border-top: 1px solid #e5ebf3;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -6px 22px rgba(23, 45, 81, .07);
    backdrop-filter: blur(15px);
  }

  .ry-mobile-app-nav a {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 48px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #7b899e;
    text-decoration: none;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
  }

  .ry-mobile-app-nav a svg { width: 21px; height: 21px; }
  .ry-mobile-app-nav a:hover,
  .ry-mobile-app-nav a[aria-current="page"] { color: #07986a; }
  .ry-mobile-app-nav a[aria-current="page"]::after {
    position: absolute;
    bottom: -2px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #08b67c;
    content: "";
  }
}
