/* Shared navigation; kept in normal flow so wrapped text cannot hide content. */

.bottom-nav {
  border-top: 1px solid var(--color-border);
  background-color: var(--color-surface);
  padding-block: 12px calc(12px + env(safe-area-inset-bottom, 0px));
}

.bottom-nav__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 800px;
  padding: 0;
  margin-block: 0;
  list-style: none;
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 96px;
  height: 100%;
  padding: 8px;
  border-radius: var(--border-radius);
  font-size: 0.9375rem;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.bottom-nav__item[aria-current="page"] {
  background-color: #eef1e9;
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bottom-nav__item--pending {
  color: var(--color-text-muted);
}

.bottom-nav__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bottom-nav__item[aria-current="page"] .bottom-nav__icon {
  stroke-width: 2;
}

@media (max-width: 720px) {
  .bottom-nav__item {
    padding-inline: 4px;
    font-size: 0.75rem;
  }
}
