:root {
  --ink: #161815;
  --ink-soft: #4f544d;
  --paper: #ffffff;
  --canvas: #f4f5ef;
  --line: #dfe2d9;
  --green: #2f6b4f;
  --green-light: #dceadf;
  --coral: #e86547;
  --yellow: #f4c84a;
  --blue: #3d6f8e;
  --header-height: 64px;
  --tab-bar-height: 70px;
  --content-width: 1180px;
  --shadow: 0 12px 30px rgb(22 24 21 / 10%);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family:
    Pretendard,
    "Noto Sans KR",
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    system-ui,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body,
button,
input {
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.28;
  letter-spacing: 0;
  text-wrap: balance;
}

button {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 9999;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  margin: 0;
  clip: auto;
  color: var(--paper);
  background: var(--ink);
}

.content-width {
  width: min(calc(100% - 32px), var(--content-width));
  margin-inline: auto;
}

.site-main {
  min-height: 70vh;
}

body.is-home-screen .site-main {
  display: flex;
  flex-direction: column;
}

body.is-home-screen .home-intro {
  order: 1;
}

body.is-home-screen .meal-plan-section {
  order: 2;
}

body.is-home-screen .today-feature {
  order: 3;
}

body.is-home-screen .category-section {
  order: 4;
}

body.is-home-screen .weekly-soup {
  order: 5;
}

body.is-home-screen .recent-section {
  order: 6;
}

.app-header {
  position: sticky;
  z-index: 300;
  top: 0;
  min-height: calc(var(--header-height) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  background: rgb(255 255 255 / 94%);
  border-bottom: 1px solid rgb(223 226 217 / 85%);
  backdrop-filter: blur(14px);
}

.app-header__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: min(calc(100% - 24px), var(--content-width));
  min-height: var(--header-height);
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  width: fit-content;
  font-weight: 800;
}

.brand__mark {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.brand__name {
  font-size: 18px;
  white-space: nowrap;
}

.desktop-nav {
  display: none;
  position: absolute;
  z-index: 140;
  top: 100%;
  right: 0;
  left: 0;
  max-height: calc(100vh - var(--header-height) - env(safe-area-inset-top));
  padding: 10px 10px calc(86px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 18px 38px rgb(21 39 28 / 16%);
}

.desktop-nav.is-open {
  display: flex;
  flex-direction: column;
}

.nav-group {
  border-bottom: 1px solid var(--line);
}

.nav-group:last-child {
  border-bottom: 0;
}

.nav-group__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
}

.nav-group__link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 12px;
  color: var(--ink);
  font-weight: 800;
}

.nav-group__link.is-current {
  color: var(--green);
}

.nav-group__toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.nav-group__toggle:hover,
.nav-group__toggle:focus-visible {
  color: var(--green);
  background: var(--green-light);
  outline: none;
}

.nav-group__toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 160ms ease;
}

.nav-group.is-open .nav-group__toggle svg {
  transform: rotate(180deg);
}

.nav-submenu {
  display: none;
  gap: 3px;
  padding: 0 8px 10px;
}

.nav-group.is-open .nav-submenu {
  display: grid;
}

.nav-submenu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 12px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  color: var(--green);
  background: var(--green-light);
  outline: none;
}

.nav-submenu a.is-current {
  color: var(--green);
  font-weight: 850;
  background: var(--green-light);
  box-shadow: inset 3px 0 0 var(--green);
}

.app-header__actions {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: end;
}

.app-store-links {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
}

.app-store-links--header {
  display: none;
  margin-right: 4px;
}

.app-store-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.app-store-icon:hover,
.app-store-icon:focus-visible {
  border-color: var(--green);
  outline: none;
  box-shadow: 0 0 0 3px rgb(47 107 79 / 12%);
}

.app-store-icon img {
  width: 30px;
  height: 30px;
}

.store-app-banner {
  position: fixed;
  z-index: 1200;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 12px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  max-width: 560px;
  margin-inline: auto;
  padding: 12px 12px 12px 14px;
  color: var(--ink);
  background: rgb(255 255 252 / 96%);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 42px rgb(24 38 30 / 20%);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 220ms ease;
  backdrop-filter: blur(16px);
}

.store-app-banner[hidden] { display: none; }
.store-app-banner.is-visible { opacity: 1; transform: translateY(0); }

.store-app-banner__close {
  position: absolute;
  top: -9px;
  right: -7px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 3px 12px rgb(24 38 30 / 12%);
}

.store-app-banner__close svg { width: 15px; height: 15px; }

.store-app-banner__icon {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.store-app-banner__copy { display: grid; gap: 2px; min-width: 0; }
.store-app-banner__copy strong { font-size: 14px; line-height: 1.25; }
.store-app-banner__copy span {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-app-banner__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  background: var(--green);
  border-radius: 12px;
}

.store-app-banner__action:hover,
.store-app-banner__action:focus-visible { color: #fff; background: #24553e; outline: none; }

@media (min-width: 901px), (pointer: fine) {
  .store-app-banner { display: none !important; }
}

@media (max-width: 420px) {
  .store-app-banner__copy span { max-width: 145px; }
}

@media (prefers-reduced-motion: reduce) {
  .store-app-banner { transition: none; }
}

.site-menu-toggle {
  display: inline-grid;
}

body.is-site-menu-open {
  overflow: hidden;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: var(--green-light);
  outline: none;
}

.icon-button.is-favorite {
  color: var(--coral);
  background: #fff0ec;
}

.icon-button.is-favorite svg {
  fill: currentColor;
}

.language-picker {
  position: relative;
}

.language-picker__toggle {
  display: inline-flex;
  gap: 4px;
  width: auto;
  min-width: 54px;
  padding: 0 8px;
  border-radius: 999px;
}

.language-picker__toggle svg {
  width: 18px;
  height: 18px;
}

.language-picker__toggle span {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.04em;
  line-height: 1;
}

.language-picker.is-open .language-picker__toggle {
  color: var(--green);
  background: var(--green-light);
}

.language-picker__menu {
  position: fixed;
  z-index: 400;
  top: calc(var(--header-height) + env(safe-area-inset-top) + 8px);
  right: 12px;
  left: 12px;
  max-height: calc(100vh - var(--header-height) - env(safe-area-inset-top) - 24px);
  padding: 8px;
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 38px rgb(21 39 28 / 18%);
}

.language-picker__menu[hidden] {
  display: none;
}

.language-picker__heading {
  display: grid;
  gap: 3px;
  padding: 7px 9px 10px;
  border-bottom: 1px solid var(--line);
}

.language-picker__heading strong {
  color: var(--ink);
  font-size: 14px;
}

.language-picker__heading small {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.45;
}

.language-picker__menu > a,
.language-picker__menu > button {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 9px 10px;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.language-picker__menu > a:hover,
.language-picker__menu > a:focus-visible,
.language-picker__menu > button:hover,
.language-picker__menu > button:focus-visible,
.language-picker__menu > a[aria-current="true"] {
  color: var(--green);
  background: var(--green-light);
  outline: none;
}

.language-picker__menu > a svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 750;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button--dark {
  color: var(--paper);
  background: var(--ink);
}

.button--dark:hover,
.button--dark:focus-visible {
  background: var(--green);
}

.button--light {
  color: var(--ink);
  background: var(--paper);
}

.button--light:hover,
.button--light:focus-visible {
  background: var(--yellow);
}

.text-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 750;
}

.text-link svg {
  width: 17px;
  height: 17px;
}

.text-link:hover {
  color: var(--green);
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.section-heading {
  display: flex;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: 24px;
}

.section-heading .eyebrow {
  margin-bottom: 4px;
}

.home-intro {
  padding-top: 24px;
  padding-bottom: 16px;
}

.home-intro h1 {
  margin-bottom: 5px;
  font-size: 30px;
}

.home-intro p:not(.eyebrow) {
  margin-bottom: 18px;
  color: var(--ink-soft);
}

.app-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 50px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.app-search:focus-within {
  color: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgb(47 107 79 / 12%);
}

.app-search input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 6px 0 16px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.app-search input::placeholder {
  color: #8b9089;
}

.app-search__submit {
  display: flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: currentcolor;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 6px;
}

.app-search__submit:hover {
  color: var(--green);
  background: rgb(47 107 79 / 8%);
}

.app-search__submit:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -4px;
}

.app-search__submit svg {
  width: 21px;
  height: 21px;
  pointer-events: none;
}

.today-feature {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.today-feature > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.today-feature__scrim,
.recipe-hero__scrim {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 34%);
}

.today-feature__content {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 24px;
  left: 22px;
  max-width: 680px;
  text-shadow: 0 2px 18px rgb(0 0 0 / 55%);
}

.feature-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
}

.today-feature h2 {
  max-width: 18ch;
  margin-bottom: 10px;
  font-size: 29px;
}

.today-feature p {
  max-width: 42ch;
  margin-bottom: 18px;
  color: rgb(255 255 255 / 82%);
  font-size: 14px;
}

.today-feature__favorite {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  color: var(--paper);
  background: rgb(0 0 0 / 28%);
  backdrop-filter: blur(8px);
}

.today-feature__favorite:hover,
.today-feature__favorite:focus-visible {
  background: rgb(0 0 0 / 55%);
}

.category-section {
  padding-top: 34px;
  padding-bottom: 38px;
}

.category-rail {
  display: grid;
  grid-auto-columns: 82px;
  grid-auto-flow: column;
  gap: 10px;
  padding-bottom: 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: inline mandatory;
}

.category-rail::-webkit-scrollbar {
  display: none;
}

.category-rail a {
  display: grid;
  gap: 8px;
  justify-items: center;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  scroll-snap-align: start;
}

.category-rail__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.category-rail a:nth-child(2) .category-rail__icon {
  background: #dfeaf2;
}

.category-rail a:nth-child(3) .category-rail__icon {
  background: #f7ded7;
}

.category-rail a:nth-child(4) .category-rail__icon {
  background: var(--green-light);
}

.category-rail a:nth-child(5) .category-rail__icon {
  background: #f6e8aa;
}

.category-rail a:hover,
.category-rail a:focus-visible {
  color: var(--green);
}

.meal-plan-section {
  padding: 34px 0 40px;
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.meal-day-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(44px, 1fr));
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.meal-day-tabs button {
  display: grid;
  place-content: center;
  gap: 1px;
  min-width: 0;
  height: 44px;
  padding: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}

.meal-day-tabs button span,
.meal-day-tabs button small {
  line-height: 1;
}

.meal-day-tabs button small {
  font-size: 10px;
  font-weight: 700;
  opacity: 0.66;
}

.meal-day-tabs button[aria-selected="true"] {
  color: var(--paper);
  background: var(--green);
}

.meal-panel {
  min-height: 0;
}

.meal-panel__header {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 12px;
}

.meal-panel__header strong {
  font-size: 18px;
}

.meal-panel__header span {
  color: var(--ink-soft);
  font-size: 12px;
}

.meal-panel__grid {
  display: grid;
  gap: 12px;
}

.meal-slot-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 112px;
  overflow: hidden;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.meal-slot-card__image {
  position: relative;
  display: block;
  min-height: 112px;
  overflow: hidden;
}

.meal-slot-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.meal-slot-card:hover .meal-slot-card__image img {
  transform: scale(1.025);
}

.meal-slot-card__image span {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 5px 8px;
  color: var(--paper);
  font-size: 11px;
  font-weight: 800;
  background: rgb(18 29 23 / 82%);
  border-radius: 4px;
}

.meal-slot-card__body {
  align-self: center;
  min-width: 0;
  padding: 14px;
}

.meal-slot-card h3 {
  display: -webkit-box;
  margin: 0 0 8px;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.meal-slot-card h3 a:hover,
.meal-slot-card h3 a:focus-visible {
  color: var(--green);
}

.meal-slot-card__body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
}

.meal-slot-card__body p span::before {
  content: " · ";
}

.weekly-soup {
  display: grid;
  margin-top: 38px;
  margin-bottom: 44px;
  overflow: hidden;
  background: #dfeaf2;
  border: 1px solid #cbdce8;
  border-radius: 8px;
}

.weekly-soup__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.weekly-soup__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.weekly-soup__body {
  align-self: center;
  padding: 24px;
}

.weekly-soup h2 {
  margin-bottom: 18px;
  font-size: 24px;
}

.weekly-soup h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.weekly-soup p:not(.eyebrow) {
  color: var(--ink-soft);
}

.recent-section {
  padding-bottom: 48px;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 12px;
}

.recipe-card {
  position: relative;
  min-width: 0;
}

.recipe-card__image-link {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e7e9e3;
  border-radius: 8px;
}

.recipe-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.recipe-card:hover .recipe-card__image {
  transform: scale(1.025);
}

.recipe-card__body {
  position: relative;
  padding: 10px 48px 0 1px;
}

.recipe-card__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 20px;
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
}

.icon-text {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  color: var(--ink-soft);
}

.icon-text svg {
  width: 13px;
  height: 13px;
}

.recipe-card__title {
  display: -webkit-box;
  margin: 4px 0 0;
  overflow: hidden;
  font-size: 15px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.recipe-card__title a:hover {
  color: var(--green);
}

.recipe-card .favorite-button {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  color: #5c625a;
}

.page-header {
  padding-top: 40px;
  padding-bottom: 22px;
}

.page-header h1 {
  margin-bottom: 12px;
  font-size: 34px;
}

.page-header > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.static-page {
  padding-bottom: 72px;
}

.static-page__article {
  max-width: 820px;
  margin-inline: auto;
}

.static-page__content {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.static-page__content > * {
  margin-top: 0;
  margin-bottom: 20px;
}

.static-page__content h2 {
  margin-top: 42px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(21px, 3vw, 26px);
  line-height: 1.35;
}

.static-page__content ul,
.static-page__content ol {
  padding-left: 1.5em;
}

.static-page__content li + li {
  margin-top: 8px;
}

.static-page__content a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.app-search--wide {
  max-width: 560px;
  margin-top: 24px;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  padding-bottom: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-tabs a {
  flex: 0 0 auto;
  padding: 8px 13px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.filter-tabs a:hover,
.filter-tabs a.is-active {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.archive-results {
  padding-top: 16px;
  padding-bottom: 60px;
}

.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 42px;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.pagination .current {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.empty-state {
  display: grid;
  justify-items: center;
  max-width: 580px;
  padding: 70px 24px;
  margin-inline: auto;
  text-align: center;
}

.empty-state > svg {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--green);
}

.empty-state--page {
  min-height: 62vh;
  align-content: center;
}

.recipe-hero {
  position: relative;
  min-height: 520px;
  color: var(--paper);
  background: var(--ink);
}

.recipe-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-hero__content {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 36px;
  left: 0;
}

.recipe-hero__content > a {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
}

.recipe-hero h1 {
  max-width: 820px;
  margin: 9px 0 12px;
  font-size: 32px;
}

.recipe-hero p {
  max-width: 640px;
  margin-bottom: 0;
  color: rgb(255 255 255 / 82%);
}

.recipe-summary {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.recipe-facts,
.recipe-actions {
  display: flex;
  align-items: center;
}

.recipe-facts {
  gap: 14px;
  min-width: 0;
}

.recipe-facts span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 12px;
}

.recipe-facts svg {
  width: 16px;
  height: 16px;
}

.recipe-facts b {
  color: var(--ink);
  white-space: nowrap;
}

.recipe-structured {
  display: grid;
  gap: 36px;
  padding-top: 42px;
  padding-bottom: 18px;
}

.ingredient-panel,
.steps-panel {
  min-width: 0;
}

.ingredient-panel .section-heading,
.steps-panel .section-heading {
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}

.ingredient-panel .section-heading span {
  color: var(--ink-soft);
  font-size: 13px;
}

.ingredient-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.ingredient-list li {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 13px 1px;
  border-bottom: 1px solid var(--line);
}

.ingredient-list b {
  color: var(--ink-soft);
  font-weight: 650;
  text-align: right;
}

.step-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.step-list li > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--paper);
  font-size: 14px;
  font-weight: 800;
  background: var(--green);
  border-radius: 50%;
}

.step-list h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.step-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.recipe-content {
  max-width: 820px;
  padding-top: 34px;
  padding-bottom: 50px;
}

.recipe-content > * {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

.recipe-content h2,
.recipe-content h3 {
  margin-top: 42px;
}

.recipe-content p {
  margin-bottom: 20px;
}

.recipe-content figure {
  max-width: 820px;
  margin-top: 28px;
  margin-bottom: 28px;
}

.recipe-content figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.recipe-content > .hankki-naver-body {
  max-width: 820px;
}

.hankki-naver-body {
  color: var(--ink);
}

.hankki-naver-text,
.hankki-naver-quote,
.hankki-naver-divider,
.hankki-source-link,
.hankki-naver-table-wrap,
.hankki-naver-formula,
.hankki-naver-legacy {
  width: min(100%, 720px);
  margin-right: auto;
  margin-left: auto;
}

.hankki-naver-text {
  margin-top: 24px;
  margin-bottom: 24px;
}

.recipe-content .hankki-naver-paragraph {
  min-height: 1.5em;
  margin: 0;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hankki-naver-paragraph.align-center {
  text-align: center;
}

.hankki-naver-paragraph.align-right {
  text-align: right;
}

.hankki-naver-paragraph.align-justify {
  text-align: justify;
}

.hankki-naver-paragraph.is-spacer {
  min-height: 0.9em;
  line-height: 0.9;
}

.recipe-content .hankki-naver-media {
  width: 100%;
  max-width: 820px;
  margin: 30px auto;
}

.hankki-naver-media__items {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  align-items: start;
}

.hankki-naver-media__items > br {
  display: none;
}

.hankki-naver-media--grid .hankki-naver-media__items {
  display: flex;
  align-items: flex-start;
}

.recipe-content .hankki-naver-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.recipe-content .hankki-naver-media--grid img {
  flex: var(--hankki-image-ratio, 1) 1 0;
  width: auto;
  min-width: 0;
  aspect-ratio: var(--hankki-image-ratio, 1);
  object-fit: contain;
}

.hankki-naver-media figcaption {
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.recipe-content .hankki-naver-quote {
  padding: 18px 22px;
  margin-top: 28px;
  margin-bottom: 28px;
  background: #f5f7f1;
  border: 0;
  border-left: 3px solid var(--green);
}

.hankki-naver-quote .hankki-naver-paragraph {
  color: inherit;
}

.hankki-naver-divider {
  margin-top: 38px;
  margin-bottom: 38px;
  border: 0;
  border-top: 1px solid var(--line);
}

.recipe-content .hankki-naver-sticker {
  width: 100px;
  margin: 24px auto;
}

.recipe-content .hankki-naver-sticker img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.hankki-naver-embed {
  position: relative;
  width: min(100%, 720px);
  aspect-ratio: 16 / 9;
  margin: 30px auto;
  overflow: hidden;
  background: #111;
}

.hankki-naver-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.recipe-content .hankki-naver-video {
  width: min(100%, 720px);
  margin: 30px auto;
}

.hankki-naver-video video,
.hankki-naver-video > a,
.hankki-naver-video > a img {
  display: block;
  width: 100%;
}

.hankki-naver-video video {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(80vh, 720px);
  margin-inline: auto;
  background: #111;
  border-radius: 6px;
}

.hankki-naver-video > a {
  position: relative;
  color: inherit;
}

.hankki-naver-video.is-media-missing > a {
  min-height: 180px;
  background: #f5f7f1;
  border: 1px solid var(--line);
}

.hankki-naver-video > a img {
  height: auto;
  border-radius: 0;
}

.hankki-naver-video > a > span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  place-items: center;
  background: rgb(0 0 0 / 65%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hankki-naver-video figcaption {
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.hankki-source-link {
  margin-top: 28px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
}

.hankki-source-link a,
.hankki-source-link > strong {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
}

.hankki-source-link small,
.hankki-source-link span {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.hankki-naver-table-wrap {
  margin-top: 28px;
  margin-bottom: 28px;
  overflow-x: auto;
}

.hankki-naver-table {
  width: 100%;
  border-collapse: collapse;
}

.hankki-naver-table td,
.hankki-naver-legacy td,
.hankki-naver-legacy th {
  padding: 10px 12px;
  border: 1px solid var(--line);
}

.hankki-naver-formula {
  padding: 14px 16px;
  margin-top: 24px;
  margin-bottom: 24px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  background: #f5f7f1;
}

.hankki-naver-legacy {
  font-size: 16px;
  line-height: 1.9;
}

.hankki-naver-legacy-block {
  margin: 0;
}

.hankki-naver-legacy img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 28px auto;
  border-radius: 0;
}

.nutrition-section {
  max-width: 820px;
  padding-bottom: 64px;
}

.nutrition-section__heading {
  display: flex;
  gap: 20px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 16px;
}

.nutrition-section__heading span {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.nutrition-section__heading h2 {
  margin: 0;
  font-size: 24px;
}

.nutrition-section__heading p {
  margin: 0 0 2px;
  color: var(--ink-soft);
  font-size: 13px;
}

.nutrition-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nutrition-grid__item {
  min-width: 0;
  padding: 18px;
  background: var(--paper);
}

.nutrition-grid dt {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.nutrition-grid dd {
  display: flex;
  gap: 4px;
  align-items: baseline;
  margin: 0;
  white-space: nowrap;
}

.nutrition-grid strong {
  font-size: 24px;
  line-height: 1;
}

.nutrition-grid dd span {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 650;
}

.nutrition-grid__item--calories strong {
  color: var(--coral);
}

.nutrition-grid__item--pending strong,
.nutrition-grid__item--calories.nutrition-grid__item--pending strong {
  color: #8d928d;
}

.nutrition-grid__item--pending dd {
  gap: 8px;
}

.nutrition-grid__item--pending dd span {
  font-weight: 700;
}

.nutrition-section--pending .nutrition-section__heading p {
  color: var(--green);
  font-weight: 700;
}

.nutrition-section__note {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.nutrition-section__note svg {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.nutrition-section__note span {
  display: block;
}

.nutrition-section__note small {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: inherit;
}

.tip-band {
  padding: 34px 0;
  background: #f6e8aa;
  border-block: 1px solid #e7d679;
}

.tip-band > div {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
}

.tip-band svg {
  width: 32px;
  height: 32px;
}

.tip-band h2 {
  font-size: 20px;
}

.tip-band ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.hankki-shopping-disclosure {
  width: min(calc(100% - 32px), 820px);
  padding: 10px 12px;
  margin: 14px auto 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.55;
  background: #eef3ed;
  border: 1px solid #d7e2d7;
  border-radius: 6px;
}

.hankki-shopping {
  width: min(calc(100% - 32px), var(--content-width));
  padding: 48px 0 68px;
  margin-inline: auto;
}

.hankki-shopping__heading {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.hankki-shopping__heading h2 {
  margin-bottom: 5px;
  font-size: 24px;
}

.hankki-shopping__heading p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.hankki-shopping__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.hankki-shopping-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-width: 0;
  min-height: 134px;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.hankki-shopping-card:hover {
  border-color: #b9c7b9;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.hankki-shopping-card:focus-visible {
  border-color: var(--green);
  outline: 3px solid rgb(47 107 79 / 25%);
  outline-offset: 2px;
}

.hankki-shopping-card__image {
  width: 112px;
  height: 100%;
  min-height: 134px;
  object-fit: cover;
  background: var(--canvas);
}

.hankki-shopping-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hankki-shopping-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px;
}

.hankki-shopping-card__ingredient {
  margin-bottom: 4px;
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
}

.hankki-shopping-card__title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hankki-shopping-card__meta {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.45;
}

.hankki-shopping-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
}

.hankki-shopping-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 6px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  background: var(--green-light);
  border-radius: 999px;
}

.hankki-shopping-card__cta {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  margin-top: auto;
  padding-top: 9px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.hankki-shopping__notice {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.6;
}

.cooking-mode {
  width: min(100%, 620px);
  height: min(100%, 820px);
  max-width: none;
  max-height: none;
  padding: 0;
  margin: auto;
  color: var(--ink);
  background: var(--canvas);
  border: 0;
}

.cooking-mode::backdrop {
  background: rgb(0 0 0 / 72%);
}

.cooking-mode__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 18px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.cooking-mode__progress {
  height: 4px;
  background: var(--line);
}

.cooking-mode__progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--coral);
  transition: width 180ms ease;
}

.cooking-mode__steps {
  display: grid;
  align-items: center;
  min-height: calc(100% - 144px);
  padding: 28px 24px 90px;
}

.cooking-mode__steps section > span {
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.cooking-mode__steps h2 {
  margin: 14px 0;
  font-size: 30px;
}

.cooking-mode__steps p {
  color: var(--ink-soft);
  font-size: 19px;
}

.cooking-mode__actions {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.cooking-mode__actions .button--light {
  border: 1px solid var(--line);
}

.toast {
  position: fixed;
  z-index: 500;
  right: 16px;
  bottom: calc(var(--tab-bar-height) + 18px + env(safe-area-inset-bottom));
  left: 16px;
  max-width: 420px;
  padding: 12px 16px;
  margin-inline: auto;
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  background: var(--ink);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 38px 0 calc(38px + var(--tab-bar-height) + env(safe-area-inset-bottom));
  color: #d9ddd5;
  background: var(--ink);
}

.site-footer__inner {
  display: grid;
  gap: 24px;
  width: min(calc(100% - 32px), var(--content-width));
  margin-inline: auto;
}

.site-footer strong {
  color: var(--paper);
}

.site-footer p {
  margin: 4px 0 0;
  font-size: 14px;
}

.app-store-links--footer {
  margin-top: 16px;
}

.app-store-button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-height: 46px;
  padding: 7px 13px 7px 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  background: var(--paper);
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 12px;
}

.app-store-button img {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
}

.site-footer .app-store-button:hover,
.site-footer .app-store-button:focus-visible {
  color: var(--ink);
  background: var(--yellow);
  outline: none;
}

.site-footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}

.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-footer a:hover {
  color: var(--yellow);
}

.back-to-top {
  position: fixed;
  z-index: 190;
  bottom: calc(var(--tab-bar-height) + 12px + env(safe-area-inset-bottom));
  right: 16px;
  left: auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  color: var(--paper);
  cursor: pointer;
  pointer-events: none;
  background: var(--green);
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgb(22 24 21 / 18%);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    background-color 160ms ease;
}

.back-to-top.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: #245c43;
  outline: 3px solid rgb(47 107 79 / 20%);
  outline-offset: 2px;
}

.back-to-top svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  stroke-width: 2.25;
}

.back-to-top span {
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
}

.mobile-tab-bar {
  position: fixed;
  z-index: 200;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tab-bar-height) + env(safe-area-inset-bottom));
  padding: 7px 8px env(safe-area-inset-bottom);
  background: rgb(255 255 255 / 96%);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgb(22 24 21 / 7%);
  backdrop-filter: blur(14px);
}

.mobile-tab-bar a,
.mobile-tab-bar button {
  display: grid;
  gap: 1px;
  place-items: center;
  min-width: 0;
  padding: 4px;
  color: #6f756d;
  font-size: 11px;
  font-weight: 700;
  background: transparent;
  border: 0;
}

.mobile-tab-bar svg {
  width: 21px;
  height: 21px;
}

.mobile-tab-bar .is-active {
  color: var(--green);
}

.meal-plan-page {
  padding: 34px 0 80px;
}

.meal-plan-page__header {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 30px;
}

.meal-plan-page__header h1 {
  margin-bottom: 8px;
  font-size: 34px;
}

.meal-plan-page__header p:not(.eyebrow) {
  margin: 0;
  color: var(--ink-soft);
}

.plan-view-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  padding: 4px;
  background: #e9ebe4;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.plan-view-tabs a {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 8px 18px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
  border-radius: 6px;
}

.plan-view-tabs a.is-active {
  color: #fff;
  background: var(--green);
}

.meal-plan-page__week {
  padding-bottom: 30px;
}

.month-plan {
  margin-bottom: 58px;
}

.month-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.month-toolbar .icon-button {
  color: var(--green);
  background: var(--paper);
  border: 1px solid var(--line);
}

.month-toolbar .icon-button.is-disabled {
  color: var(--ink-soft);
  opacity: 0.42;
  cursor: not-allowed;
}

.month-toolbar .icon-button.is-disabled:hover {
  background: var(--paper);
}

.month-toolbar > div {
  text-align: center;
}

.month-toolbar h2 {
  margin: 0;
  font-size: 23px;
}

.month-toolbar p {
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}

.month-weekdays {
  display: none;
}

.month-calendar__grid {
  display: grid;
  gap: 10px;
}

.month-day {
  display: grid;
  grid-template:
    "date date" auto
    "image meals" minmax(92px, auto)
    / 92px minmax(0, 1fr);
  gap: 10px 13px;
  min-width: 0;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.month-day--empty {
  display: none;
}

.month-day.is-today {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}

.month-day__header {
  grid-area: date;
  display: flex;
  gap: 7px;
  align-items: center;
  min-width: 0;
}

.month-day__header > span {
  font-size: 20px;
  font-weight: 850;
  line-height: 1;
}

.month-day--saturday .month-day__header > span {
  color: var(--blue);
}

.month-day--sunday .month-day__header > span {
  color: var(--coral);
}

.month-day__header small {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}

.month-day__header b {
  margin-left: auto;
  padding: 2px 7px;
  color: #fff;
  font-size: 10px;
  background: var(--green);
  border-radius: 999px;
}

.month-day__image {
  grid-area: image;
  align-self: stretch;
  overflow: hidden;
  min-height: 92px;
  background: #e7e9e2;
  border-radius: 6px;
}

.month-day__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.month-day__meals {
  grid-area: meals;
  display: grid;
  align-content: start;
  min-width: 0;
}

.month-day__meals a {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  min-width: 0;
  padding: 5px 0;
  border-bottom: 1px solid #eceee8;
}

.month-day__meals a:last-child {
  border-bottom: 0;
}

.month-day__meals strong {
  overflow: hidden;
  min-width: 0;
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meal-label {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 850;
}

.meal-label--breakfast {
  color: #9a6310;
}

.meal-label--lunch {
  color: var(--green);
}

.meal-label--dinner {
  color: var(--blue);
}

.shopping-plan {
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.shopping-plan__count {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
}

.shopping-week-tabs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.shopping-week-tabs::-webkit-scrollbar {
  display: none;
}

.shopping-week-tabs button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 15px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.shopping-week-tabs button[aria-selected="true"] {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.shopping-panel {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.shopping-panel > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.shopping-panel > header strong {
  font-size: 18px;
}

.shopping-panel > header span {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}

.shopping-groups {
  display: grid;
  gap: 22px;
  padding-top: 18px;
}

.shopping-group h3 {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
  font-size: 15px;
}

.shopping-group h3 svg {
  color: var(--green);
}

.shopping-group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.shopping-group li {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 6px 9px;
  font-size: 12px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.shopping-group li small {
  color: var(--green);
  font-size: 10px;
  font-weight: 850;
}

@media (min-width: 900px) {
  .meal-plan-page {
    padding-top: 52px;
  }

  .meal-plan-page__header {
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 42px;
  }

  .meal-plan-page__header h1 {
    font-size: 42px;
  }

  .plan-view-tabs {
    width: 260px;
  }

  .month-toolbar {
    margin-bottom: 20px;
  }

  .month-weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
  }

  .month-weekdays span {
    padding: 9px;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    background: #eceee8;
    border-right: 1px solid var(--line);
  }

  .month-weekdays span:last-child {
    border-right: 0;
  }

  .month-calendar__grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .month-day {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-height: 286px;
    padding: 10px;
    border-width: 0 1px 1px 0;
    border-radius: 0;
  }

  .month-day--empty {
    display: block;
    background: #eceee8;
  }

  .month-day.is-today {
    position: relative;
    z-index: 1;
    box-shadow: inset 0 0 0 2px var(--green);
  }

  .month-day__header small {
    display: none;
  }

  .month-day__header > span {
    font-size: 16px;
  }

  .month-day__image {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .month-day__meals {
    width: 100%;
  }

  .month-day__meals a {
    grid-template-columns: 31px minmax(0, 1fr);
    gap: 5px;
    padding: 4px 0;
  }

  .month-day__meals strong {
    font-size: 11px;
  }

  .meal-label {
    font-size: 9px;
  }

  .shopping-panel {
    padding: 24px;
  }

  .shopping-groups {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .shopping-group {
    min-width: 0;
    padding: 0 20px;
    border-right: 1px solid var(--line);
  }

  .shopping-group:first-child {
    padding-left: 0;
  }

  .shopping-group:last-child {
    padding-right: 0;
    border-right: 0;
  }
}

@media (min-width: 700px) {
  .content-width {
    width: min(calc(100% - 56px), var(--content-width));
  }

  .hankki-shopping-disclosure {
    width: min(calc(100% - 56px), 820px);
  }

  .hankki-shopping {
    width: min(calc(100% - 56px), var(--content-width));
  }

  .hankki-shopping__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .hankki-shopping-card {
    grid-template-columns: 128px minmax(0, 1fr);
  }

  .hankki-shopping-card__image {
    width: 128px;
  }

  .app-header__inner {
    width: min(calc(100% - 56px), var(--content-width));
  }

  .language-picker__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: 290px;
    max-height: min(520px, calc(100vh - var(--header-height) - 24px));
  }

  .home-intro {
    padding-top: 36px;
    padding-bottom: 22px;
  }

  .home-intro__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 28px;
    align-items: end;
  }

  .home-intro h1 {
    font-size: 38px;
  }

  .home-intro p:not(.eyebrow) {
    margin-bottom: 0;
  }

  .today-feature {
    min-height: 520px;
    border-radius: 8px;
  }

  .today-feature__content {
    right: 42px;
    bottom: 42px;
    left: 42px;
  }

  .today-feature h2 {
    font-size: 42px;
  }

  .today-feature p {
    font-size: 16px;
  }

  .category-rail {
    grid-auto-columns: 110px;
    gap: 24px;
  }

  .category-rail__icon {
    width: 68px;
    height: 68px;
  }

  .meal-panel__header {
    margin-bottom: 16px;
  }

  .meal-panel__header strong {
    font-size: 22px;
  }

  .meal-panel__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .meal-slot-card {
    display: block;
    min-height: 0;
  }

  .meal-slot-card__image {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .meal-slot-card__body {
    min-height: 104px;
    padding: 16px;
  }

  .meal-slot-card h3 {
    font-size: 17px;
  }

  .weekly-soup {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  }

  .weekly-soup__image {
    aspect-ratio: 4 / 3;
  }

  .weekly-soup__body {
    padding: 40px;
  }

  .recipe-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 18px;
  }

  .recipe-card__title {
    font-size: 17px;
  }

  .recipe-hero {
    min-height: 640px;
  }

  .recipe-hero h1 {
    font-size: 46px;
  }

  .recipe-structured {
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 64px;
  }

  .cooking-mode {
    height: min(88vh, 820px);
    border-radius: 8px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr auto;
    align-items: end;
    width: min(calc(100% - 56px), var(--content-width));
  }
}

@media (min-width: 980px) {
  .app-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .app-store-links--header {
    display: flex;
  }

  .hankki-shopping__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hankki-shopping-card {
    display: flex;
    flex-direction: column;
  }

  .hankki-shopping-card__image {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1;
  }

  .hankki-shopping-card__body {
    flex: 1;
  }

  .desktop-nav {
    display: flex;
    position: static;
    gap: 18px;
    justify-content: center;
    width: auto;
    max-height: none;
    padding: 0;
    overflow: visible;
    color: var(--ink-soft);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    font-weight: 700;
  }

  .desktop-nav.is-open {
    flex-direction: row;
  }

  .site-menu-toggle {
    display: none;
  }

  body.is-site-menu-open {
    overflow: auto;
  }

  .nav-group {
    position: relative;
    border: 0;
  }

  .nav-group__header {
    display: flex;
    align-items: center;
  }

  .nav-group__link {
    position: relative;
    min-height: 44px;
    padding: 8px 3px 7px 8px;
    color: var(--ink-soft);
    font-weight: 750;
  }

  .nav-group__link::after {
    position: absolute;
    right: 3px;
    bottom: 3px;
    left: 8px;
    height: 2px;
    background: var(--green);
    border-radius: 999px;
    content: "";
    opacity: 0;
    transform: scaleX(0.6);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .nav-group__link:hover,
  .nav-group__link:focus-visible,
  .nav-group__link.is-current {
    color: var(--green);
    outline: none;
  }

  .nav-group__link.is-current::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .nav-group__toggle {
    width: 34px;
    height: 44px;
    border-radius: 8px;
  }

  .nav-submenu {
    position: absolute;
    z-index: 150;
    top: calc(100% + 7px);
    left: 50%;
    display: grid;
    width: 220px;
    padding: 8px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 38px rgb(21 39 28 / 16%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 6px);
    transition:
      opacity 140ms ease,
      visibility 140ms ease,
      transform 140ms ease;
  }

  .nav-submenu::before {
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 9px;
    content: "";
  }

  .nav-group--recipes .nav-submenu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 410px;
  }

  .nav-group.is-open .nav-submenu,
  .nav-group:hover .nav-submenu,
  .nav-group:focus-within .nav-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .nav-submenu a {
    min-height: 42px;
    padding: 8px 10px;
  }

  .nav-submenu a.is-current {
    box-shadow: inset 3px 0 0 var(--green);
  }

  .recipe-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px 20px;
  }

  .mobile-tab-bar {
    display: none;
  }

  .back-to-top {
    bottom: 24px;
    right: 24px;
    left: auto;
  }

  .site-footer {
    padding-bottom: 38px;
  }

  .toast {
    right: 28px;
    bottom: 28px;
    left: auto;
    width: 360px;
  }
}

@media (max-width: 359px) {
  .brand__name {
    display: none;
  }
}

@media (max-width: 699px) {
  .today-feature {
    width: 100%;
  }

  .meal-plan-section .content-width {
    width: min(calc(100% - 24px), var(--content-width));
  }

  .section-heading .text-link {
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 0;
  }

  .section-heading .text-link svg {
    width: 20px;
    height: 20px;
  }

  .recipe-hero__content {
    width: calc(100% - 32px);
  }

  .recipe-hero p {
    display: none;
  }

  .recipe-summary {
    width: 100%;
    padding-inline: 16px;
  }

  .nutrition-section {
    width: calc(100% - 32px);
    padding-bottom: 46px;
  }

  .nutrition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nutrition-grid__item {
    padding: 16px;
  }

  .nutrition-grid__item--calories {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
