/* Inline nutrition week calendar: mirrors the compact mobile date strip. */
.nutrition-week-calendar {
  width: 100%;
  margin: 0 0 4px;
  padding: 0 2px 10px;
  color: #f7f8f8;
}

.nutrition-week-calendar__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  margin-bottom: 15px;
}

.nutrition-week-calendar__title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: clamp(26px, 7vw, 32px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1;
  cursor: pointer;
}

.nutrition-week-calendar__title i {
  color: #d5d8da;
  font-size: 15px;
  transform: translateY(2px);
}

.nutrition-week-calendar__energy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #f2f4f4;
  font-size: 16px;
  font-weight: 900;
}

.nutrition-week-calendar__energy i {
  color: #b7ff00;
  font-size: 17px;
  filter: drop-shadow(0 0 5px rgba(183,255,0,.34));
}

.nutrition-week-calendar__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(3px, 1.3vw, 8px);
  width: 100%;
}

.nutrition-week-calendar__day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0;
  border: 0;
  color: #898f96;
  background: transparent;
  cursor: pointer;
}

.nutrition-week-calendar__weekday {
  min-width: 0;
  color: #898f96;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.nutrition-week-calendar__day.is-current .nutrition-week-calendar__weekday {
  color: #f4f5f5;
  font-weight: 800;
}

.nutrition-week-calendar__date {
  display: grid;
  width: clamp(38px, 11vw, 44px);
  height: clamp(38px, 11vw, 44px);
  place-items: center;
  border: 2px solid #626870;
  border-radius: 50%;
  color: #e3e6e8;
  background: rgba(12, 16, 20, .62);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}

.nutrition-week-calendar__day:hover .nutrition-week-calendar__date,
.nutrition-week-calendar__day:focus-visible .nutrition-week-calendar__date {
  border-color: rgba(183,255,0,.7);
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

.nutrition-week-calendar__day.is-selected .nutrition-week-calendar__date {
  border: 2px dashed #b7ff00;
  color: #fff;
  background: rgba(183,255,0,.035);
  box-shadow: 0 0 0 3px rgba(183,255,0,.055), 0 0 16px rgba(183,255,0,.17);
}

.nutrition-week-calendar__day.is-selected .nutrition-week-calendar__weekday {
  color: #fff;
  font-weight: 800;
}

.nutrition-week-calendar__day:focus-visible {
  outline: 2px solid rgba(183,255,0,.72);
  outline-offset: 4px;
  border-radius: 8px;
}

@media (max-width: 350px) {
  .nutrition-week-calendar__day { gap: 8px; }
  .nutrition-week-calendar__weekday { font-size: 12px; }
  .nutrition-week-calendar__date { font-size: 15px; }
}

/* Section heading placed directly below the week strip on the nutrition tab. */
.nutrition-achievements-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 0;
  padding: 6px 2px 2px;
  color: #fff;
}

.nutrition-achievements-header__icon {
  flex: 0 0 auto;
  color: #b7ff00;
  font-size: clamp(20px, 5.5vw, 25px);
  filter: drop-shadow(0 0 7px rgba(183, 255, 0, .25));
}

.nutrition-achievements-header h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 6.2vw, 28px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.1;
}
