.nav-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.9rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.nav-item:hover { background: rgba(255,255,255,0.08); }
.nav-item.active { background: rgba(255,255,255,0.14); color: #fff; }

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.68rem;
  color: #8B948E;
  padding: 0.35rem 0.5rem;
  cursor: pointer;
  min-width: 60px;
}
.bottom-nav-item.active { color: #0F6B4C; font-weight: 600; }

.card {
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid rgba(22,36,29,0.06);
}

.stat-card {
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid rgba(22,36,29,0.06);
  padding: 1rem 1.1rem;
}

.qty-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  background: #F1EEE7;
  user-select: none;
}

#mic-btn.mic-active {
  background: #F8E2DF;
  color: #C1443C;
  animation: pulse-mic 1.1s ease-in-out infinite;
}

@keyframes pulse-mic {
  0%, 100% { box-shadow: 0 0 0 0 rgba(193,68,60,0.35); }
  50% { box-shadow: 0 0 0 6px rgba(193,68,60,0); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Loading skeleton and stale snapshot state */
.skel-wrap { padding-top: 0.25rem; }
.skel {
  border-radius: 1rem;
  background: linear-gradient(90deg, #EFEBE3 25%, #F7F4EE 37%, #EFEBE3 63%);
  background-size: 400% 100%;
  animation: skel-shimmer 1.4s ease infinite;
}
.skel-title { height: 1.6rem; width: 45%; margin-bottom: 1rem; }
.skel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1rem; }
.skel-card { height: 5.5rem; border-radius: 1.25rem; }
.skel-row { height: 3.5rem; margin-bottom: 0.6rem; }
@keyframes skel-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }

/* Saved screen shown while fresh data loads: readable, not tappable */
#app.is-stale { pointer-events: none; opacity: 0.92; }
body { overscroll-behavior-y: none; -webkit-tap-highlight-color: transparent; }

/* Utilities the app uses that were missing from the compiled Tailwind file */
.gap-1\.5 { gap: 0.375rem; }
.h-full { height: 100%; }
.max-w-xs { max-width: 20rem; }
.hover\:text-ink\/60:hover { color: rgba(22,36,29,0.6); }
