body[data-page="health"] .health-recipe-panel {
  padding: 0.78rem;
  border-radius: 18px;
  border-color: rgba(47, 111, 98, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 111, 98, 0.12), transparent 36%),
    linear-gradient(145deg, #fffdf9, #f6faf6);
  box-shadow: 0 10px 24px rgba(31, 58, 48, 0.08);
  contain: inline-size;
}

.health-recipe-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
}

.health-recipe-heading > div {
  min-width: 0;
}

.health-recipe-heading h2 {
  margin: 0.08rem 0 0;
  font-size: 1.08rem;
}

.health-recipe-heading .eyebrow {
  margin: 0;
  font-size: 0.65rem;
}

.health-recipe-heading .panel-note {
  margin: 0.22rem 0 0;
  max-width: 44rem;
  font-size: 0.78rem;
}

#generateRecipeButton {
  flex: 0 0 auto;
  white-space: nowrap;
}

.health-recipe-card {
  display: grid;
  gap: 0.65rem;
  padding: 0.8rem;
  border: 1px solid rgba(47, 111, 98, 0.14);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.82);
}

.health-recipe-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
}

.health-recipe-title-row h3 {
  margin: 0.08rem 0 0;
  font-size: 1.12rem;
  line-height: 1.18;
}

.health-recipe-time {
  flex: 0 0 auto;
  padding: 0.28rem 0.48rem;
  border-radius: 999px;
  background: rgba(47, 111, 98, 0.1);
  color: #244f46;
  font-size: 0.72rem;
  font-weight: 800;
}

.health-recipe-why {
  margin: 0;
  color: #415047;
  font-size: 0.86rem;
  line-height: 1.42;
}

.health-recipe-context {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.health-recipe-context span {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.3rem 0.48rem;
  border-radius: 10px;
  background: #f5f1e9;
  color: #5d584f;
  font-size: 0.7rem;
  line-height: 1.25;
}

.health-recipe-macros {
  padding: 0.48rem 0.58rem;
  border-radius: 11px;
  background: #edf5f0;
  color: #264b40;
  font-size: 0.8rem;
  font-weight: 800;
}

.health-recipe-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0.85rem;
}

.health-recipe-grid h4 {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
}

.health-recipe-ingredients,
.health-recipe-steps {
  margin: 0;
  padding: 0;
}

.health-recipe-ingredients {
  list-style: none;
  display: grid;
  gap: 0.34rem;
}

.health-recipe-ingredients li {
  display: grid;
  grid-template-columns: minmax(4.5rem, auto) minmax(0, 1fr);
  gap: 0.48rem;
  align-items: baseline;
  font-size: 0.78rem;
  line-height: 1.3;
}

.health-recipe-ingredients strong {
  color: #2f6f62;
  font-size: 0.72rem;
}

.health-recipe-steps {
  padding-left: 1.15rem;
  display: grid;
  gap: 0.38rem;
  font-size: 0.78rem;
  line-height: 1.38;
}

.health-recipe-estimate {
  margin: 0;
  color: #7a746b;
  font-size: 0.68rem;
  line-height: 1.35;
}

.health-recipe-status.status {
  margin: 0.55rem 0 0;
}

@media (max-width: 640px) {
  .health-recipe-heading {
    align-items: flex-start;
  }

  .health-recipe-heading .panel-note {
    display: none;
  }

  .health-recipe-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .health-recipe-context {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .health-recipe-context span {
    width: 100%;
  }
}
