@font-face {
  font-family: MealIcons;
  src: url(assets/icons.otf) format("opentype");
  font-display: block;
}
:root {
  color-scheme: light;
  /* Frosted Aura swatches, with deeper steel tones for readable text and controls. */
  --steel: #5c7e8f;
  --pewter: #a2a2a2;
  --frost: #d4dde2;
  --white: #ffffff;
  --ink: #213640;
  --body: #2c404a;
  --muted: #4f626c;
  --action: #3e6072;
  --action-hover: #2d4d5d;
  --line: var(--frost);
  --soft: color-mix(in srgb, var(--frost) 58%, white);
  --paper: color-mix(in srgb, var(--frost) 32%, white);
  --serif: "Playfair Display", Georgia, serif;
  --sans: Chivo, "DM Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font: 1rem/1.48 var(--sans);
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button,
select,
summary,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: var(--action);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--action-hover);
  outline-offset: 3px;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.2;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(2.7rem, 5vw, 4rem);
}
h2 {
  font-size: 1.9rem;
}
h3 {
  font-size: 1.18rem;
}
h4 {
  font-size: 1.06rem;
}
small,
.soft,
.date-range,
.dialog-sub {
  color: var(--muted);
}
.icon {
  font-family: MealIcons;
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  display: inline-block;
  font-size: 0.91em;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  z-index: 10;
  top: 5px;
  left: 5px;
  background: white;
  padding: 10px;
}
.sitehead {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.bar,
main {
  width: min(1232px, calc(100% - 8vw));
  margin-inline: auto;
}
.bar {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 72px);
  min-height: 76px;
}
.brand {
  text-decoration: none;
  font: 600 1.54rem var(--serif);
  letter-spacing: -0.06em;
  display: flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
}
.brandmark {
  display: block;
}
nav {
  display: flex;
  gap: 5px;
}
nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--muted);
  padding: 10px 15px;
  border-radius: 7px;
  font-size: 0.94rem;
  white-space: nowrap;
}
nav a[aria-current] {
  background: var(--soft);
  color: var(--action);
  font-weight: 600;
}
nav a:hover,
.subtle:hover {
  background: var(--soft);
}
main {
  padding: clamp(25px, 3.2vw, 46px) 0 55px;
}
main:focus,
#dialog-title:focus {
  outline: none;
}
.page-head,
.section-title,
.part-head,
.meal-top,
.rail-title,
.actions,
.week-controls,
.part-fields,
.footer-actions,
.dialog-tools,
.tag-line,
.allocation,
.bundle-note,
.inline-form {
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-head,
.section-title,
.part-head,
.meal-top,
.footer-actions,
.allocation,
.bundle-note,
.dialog-tools {
  justify-content: space-between;
}
.page-head {
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.date-range {
  margin-top: 8px;
  color: var(--muted);
}
.date-range {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.02rem;
}
.button {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 15px;
  color: var(--action);
  font-weight: 550;
  font-size: 0.93rem;
  line-height: 1.3;
}
.button:hover {
  background: var(--soft);
  border-color: var(--steel);
}
.button.primary,
.button.active {
  background: var(--action);
  color: #fff;
  border-color: var(--action);
}
.button.primary:hover,
.button.active:hover {
  background: var(--action-hover);
}
.button.small {
  min-height: 36px;
  font-size: 0.88rem;
  padding: 6px 12px;
}
.button.subtle {
  background: transparent;
}
.button.square {
  font-size: 0;
  line-height: 0;
  gap: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  flex-shrink: 0;
}
.button.square .icon {
  font-size: 0.9rem;
}
.week-controls {
  gap: 5px;
}
.day-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  padding: 6px;
  gap: 5px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 13px;
}
.day-tab {
  border: 0;
  background: transparent;
  display: grid;
  justify-items: center;
  gap: 2px;
  min-height: 91px;
  line-height: 1.2;
  align-content: center;
  color: var(--muted);
  border-radius: 8px;
}
.day-tab > span:first-child {
  font-size: 0.82rem;
  font-weight: 600;
}
.day-tab strong {
  font: 500 1.8rem/1.12 var(--serif);
  color: var(--ink);
}
.day-tab:hover {
  background: var(--soft);
}
.day-tab.selected {
  background: var(--action);
  color: white;
}
.day-tab.selected strong {
  color: white;
}
.day-dots {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}
.day-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--frost);
}
.day-dots i.filled {
  background: var(--steel);
}
.selected .day-dots i {
  background: var(--steel);
}
.selected .day-dots i.filled {
  background: var(--white);
}
.columns {
  display: grid;
  grid-template-columns: minmax(0, 2.08fr) minmax(250px, 1fr);
  gap: 27px;
  align-items: start;
  margin-top: 29px;
}
.section-title {
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.section-title > span {
  color: var(--muted);
  font-size: 0.9rem;
}
.meal-stack,
aside {
  display: grid;
  gap: 14px;
}
.meal-card,
.rail-card,
.recipe-card,
.empty {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.meal-card {
  padding: 19px 22px 17px;
  --tint: var(--soft);
  --accent: var(--action-hover);
}
.meal-card.lunch {
  --tint: var(--frost);
  --accent: var(--action);
}
.meal-card.dinner {
  --tint: var(--steel);
  --accent: var(--white);
}
.meal-type {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tile {
  background: var(--tint);
  color: var(--accent);
  height: 38px;
  width: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.meal-type h3 {
  font: 600 1.22rem var(--sans);
  letter-spacing: -0.035em;
}
.meal-body {
  margin: 12px 0 0 50px;
}
.meal-summary + .meal-summary {
  margin-top: 8px;
}
.meal-summary strong,
.meal-summary small {
  display: block;
}
.meal-summary strong {
  font-size: 1.02rem;
}
.meal-summary small {
  font-size: 0.86rem;
  margin-top: 3px;
}
.rail-card {
  padding: 20px;
}
.rail-title {
  margin: 0 0 13px;
}
.rail-title .icon {
  color: var(--steel);
}
.rail-title h2 {
  font: 600 1.1rem var(--sans);
  letter-spacing: -0.025em;
}
.dinner-line {
  width: 100%;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  padding: 9px 6px;
  border: 0;
  border-bottom: 1px solid var(--soft);
  text-align: left;
  background: transparent;
  gap: 7px;
}
.dinner-line:last-child {
  border-bottom: 0;
}
.dinner-line span {
  color: var(--muted);
  font-size: 0.85rem;
}
.dinner-line strong {
  font-size: 0.92rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.dinner-line.current,
.dinner-line:hover {
  background: var(--soft);
  border-radius: 4px;
}
.breakfasts {
  background: var(--frost);
}
.breakfasts p {
  font-size: 0.91rem;
  margin-bottom: 12px;
}
.shop-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--action);
  background: white;
  text-align: left;
  font-weight: 600;
}
.shop-link .icon:last-child {
  margin-left: auto;
}
label {
  display: grid;
  gap: 5px;
  color: var(--body);
  font-size: 0.91rem;
  font-weight: 550;
  min-width: 0;
}
input:not([type="checkbox"]),
select,
textarea {
  min-width: 0;
  width: 100%;
  min-height: 43px;
  background: #fff;
  border: 1px solid var(--pewter);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 1rem;
  font-weight: 400;
}
select {
  padding-right: 26px;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--action);
  flex-shrink: 0;
}
.filters,
.fields {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}
.filters {
  margin: 0 0 18px;
}
.filters .search {
  position: relative;
  flex: 1 1 200px;
}
.search .icon {
  position: absolute;
  left: 13px;
  top: 15px;
  color: var(--muted);
}
.search input {
  padding-left: 37px;
}
.filters select {
  width: 100%;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px), 1fr));
  gap: 14px;
}
.recipe-card {
  padding: 19px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: start;
}
.recipe-card small,
.part-head small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 550;
}
.text-title {
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  border: 0;
  background: transparent;
  text-align: left;
  padding: 3px 0;
  line-height: 1.3;
}
.text-title:hover {
  text-decoration: underline;
}
.recipe-card p {
  font-size: 0.91rem;
  color: var(--muted);
}
.tags,
.choices,
.group-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tag {
  padding: 3px 9px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--action-hover);
  font-size: 0.82rem;
}
.empty {
  text-align: center;
  padding: 28px 18px;
}
.empty-icon {
  color: var(--steel);
  font-size: 1.6rem;
  display: block;
  margin-bottom: 10px;
}
dialog {
  width: min(730px, 94vw);
  max-width: 100vw;
  max-height: 90dvh;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
  padding: 0;
  color: var(--body);
  box-shadow: 0 24px 80px #21364033;
}
dialog::backdrop {
  background: #21364080;
}
body:has(dialog[open]) {
  overflow: hidden;
}
#panel {
  padding: 19px clamp(16px, 3vw, 33px) 30px;
}
#panel > * + *,
form > * + * {
  margin-top: 15px;
}
.dialog-tools {
  margin-bottom: 5px;
}
#dialog-title {
  font-size: 2.15rem;
  margin-top: 5px;
}
#panel .dialog-sub {
  margin-top: 5px;
}
.fields > * {
  flex: 1 1 140px;
}
fieldset {
  min-width: 0;
  border: 0;
  padding: 0;
  margin-inline: 0;
}
legend {
  font-size: 1rem;
  font-weight: 600;
  padding: 0 0 6px;
  color: var(--ink);
}
.choices label {
  font-weight: 450;
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
}
.choices label:has(:checked) {
  background: var(--soft);
  border-color: var(--steel);
}
fieldset > label {
  margin-top: 10px;
}
.actions,
.footer-actions,
.tag-line,
.part-fields {
  flex-wrap: wrap;
}
.form-section {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.form-section > .actions {
  margin-top: 12px;
}
.part {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 14px;
  background: #fff;
  margin: 10px 0;
}
.part-fields {
  align-items: end;
  gap: 15px;
  margin-top: 10px;
}
.part-fields input {
  max-width: 130px;
}
.part > .tags,
.part > .button,
.allocation {
  margin-top: 9px;
}
.part-fields > label {
  font-size: 0.86rem;
}
.footer-actions {
  justify-content: flex-start;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.bundle-note,
.nutrition {
  padding: 13px 16px;
  background: var(--soft);
  border-radius: 9px;
}
.nutrition p,
.recipe-meta {
  color: var(--muted);
  font-size: 0.9rem;
}
.nutrition dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 13px;
}
.nutrition dt {
  font-size: 0.82rem;
  color: var(--muted);
}
.nutrition dd {
  font-weight: 650;
  margin: 0;
}
.cook-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.cook-grid > :only-child {
  grid-column: 1 / -1;
}
.cook-grid h3 {
  margin-bottom: 6px;
}
.ingredient-list {
  list-style: none;
  padding: 0;
}
.ingredient-list li {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.ingredient-list strong {
  white-space: nowrap;
}
.directions {
  padding-left: 1.4em;
}
.directions li {
  margin-bottom: 9px;
  padding-left: 3px;
}
.directions li::marker {
  color: var(--action);
  font-weight: 700;
}
.ingredient-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)) auto;
  gap: 8px;
  align-items: end;
  margin: 8px 0;
}
.inline-form {
  align-items: end;
}
.inline-form label {
  flex: 1;
}
.inline-form > * + * {
  margin-top: 0;
}

/* The shopping sheet shares the same four columns at every viewport width. */
.shop-heading,
.shop-dates-bar,
.shopping-toolbar,
.shop-tools,
.shop-progress {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.shop-heading {
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 22px;
}
.shop-dates-bar,
.shop-tools {
  gap: 12px;
}
.shopping-dates,
.notes-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  padding: 0 2px;
  background: transparent;
  color: var(--action);
  min-height: 44px;
  font-size: 0.94rem;
  font-weight: 550;
}
.shopping-dates span:nth-child(2),
.notes-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.shopping-dates .icon:last-child {
  font-size: 0.75rem;
}
.shopping-toolbar {
  justify-content: space-between;
  gap: 3px 12px;
  padding: 5px 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}
.shop-progress {
  gap: 9px;
}
.shop-progress strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.shop-progress span {
  color: var(--muted);
  font-size: 0.86rem;
}
.shop-progress progress {
  appearance: none;
  width: 68px;
  height: 5px;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
  color: var(--steel);
}
.shop-progress progress::-webkit-progress-bar {
  background: var(--white);
}
.shop-progress progress::-webkit-progress-value {
  background: var(--steel);
}
.shop-progress progress::-moz-progress-bar {
  background: var(--steel);
}
.needed-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  cursor: pointer;
}
.needed-filter input {
  margin: 0;
}
.shopping-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0 0 10px 10px;
}
.grocery-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  table-layout: fixed;
}
.grocery-table:only-child {
  grid-column: 1 / -1;
}
.grocery-table + .grocery-table {
  border-left: 1px solid var(--line);
}
.grocery-table .mark-col {
  width: 56px;
}
.grocery-table .quantity-col {
  width: 24%;
}
.grocery-table th,
.grocery-table td {
  padding: 0 8px;
  text-align: left;
  vertical-align: middle;
}
.grocery-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding-block: 7px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 550;
}
.grocery-table th:first-child {
  padding-left: 16px;
}
.grocery-table thead th:nth-last-child(-n + 2),
.grocery-table .mark-cell {
  text-align: center;
  padding-inline: 0;
}
.shop-row + .shop-row > * {
  border-top: 1px solid var(--soft);
}
.shop-row:focus-within {
  background: var(--paper);
}
.grocery-name {
  display: block;
  min-height: 44px;
  width: 100%;
  padding: 4px 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: 550;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--pewter);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.grocery-name:hover {
  color: var(--action);
  text-decoration-color: currentColor;
}
.grocery-quantity {
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}
.shop-row[data-checked="true"] .grocery-name {
  text-decoration: line-through;
  color: var(--muted);
}
.shop-row[data-checked="true"] .grocery-quantity {
  color: var(--muted);
}
.grocery-mark {
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  min-height: 44px;
  width: 100%;
  color: var(--action);
}
.mark-box {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 1.5px solid var(--steel);
  border-radius: 5px;
  font-size: 0.75rem;
}
.grocery-mark:hover .mark-box {
  box-shadow: 0 0 0 3px var(--soft);
}
.grocery-mark[aria-pressed="true"] .mark-box {
  background: var(--action);
  border-color: var(--action);
  color: var(--white);
}
.shopping-ledger button:focus-visible {
  outline-offset: -3px;
  border-radius: 4px;
}
.shopping-toolbar + .empty {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.list-notes {
  margin-top: 16px;
  color: var(--body);
  scroll-margin-top: 12px;
}
.list-notes h2 {
  font: 600 1rem var(--sans);
  letter-spacing: normal;
}
.list-notes ul {
  margin-top: 5px;
  padding-left: 20px;
  font-size: 0.92rem;
}
.list-notes li + li {
  margin-top: 4px;
}
.source-lines li span {
  overflow-wrap: anywhere;
  min-width: 0;
}
.source-lines strong {
  white-space: normal;
  text-align: right;
}
#notice:not(:empty) {
  position: fixed;
  z-index: 20;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  border-radius: 8px;
  padding: 11px 16px;
  max-width: 90vw;
  width: max-content;
  box-shadow: 0 5px 20px #0002;
}
@media (max-width: 850px) {
  .bar {
    gap: 18px;
  }
  nav a {
    padding-inline: 10px;
  }
  .columns {
    grid-template-columns: minmax(0, 1.6fr) minmax(210px, 1fr);
    gap: 16px;
  }
  .meal-card,
  .rail-card {
    padding: 15px;
  }
}
@media (max-width: 650px) {
  .bar,
  main {
    width: calc(100% - 28px);
  }
  .bar {
    align-items: stretch;
    flex-direction: column;
    gap: 5px;
    padding-top: 12px;
  }
  .brand {
    font-size: 1.34rem;
  }
  .brandmark {
    height: 32px;
    width: 32px;
  }
  nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
    margin: 4px 0 7px;
  }
  nav a {
    justify-content: center;
    gap: 5px;
    padding: 7px 2px;
    min-height: 44px;
    font-size: 0.82rem;
  }
  nav a .icon {
    display: none;
  }
  main {
    padding-top: 22px;
  }
  h1 {
    font-size: 2.4rem;
  }
  h2 {
    font-size: 1.55rem;
  }
  .page-head {
    gap: 12px;
    margin-bottom: 17px;
    align-items: center;
  }
  .date-range {
    margin-top: 4px;
    font-size: 0.88rem;
  }
  .week-controls {
    gap: 2px;
  }
  .week-controls .button {
    min-height: 44px;
    padding: 6px 8px;
  }
  .button.square {
    width: 40px;
    height: 44px;
  }
  .day-strip {
    padding: 3px;
    gap: 2px;
  }
  .day-tab {
    min-height: 75px;
  }
  .day-tab strong {
    font-size: 1.48rem;
  }
  .columns {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 18px;
  }
  .meal-card,
  .rail-card {
    padding: 14px 16px;
  }
  .section-title {
    margin-bottom: 10px;
  }
  .section-title > span {
    font-size: 0.85rem;
  }
  .meal-body {
    margin-left: 0;
    margin-top: 10px;
  }
  .meal-stack {
    gap: 10px;
  }
  .button,
  .button.small,
  .text-title,
  .dinner-line,
  .choices label {
    min-height: 44px;
  }
  .meal-type {
    gap: 9px;
  }
  dialog {
    max-height: 94dvh;
    width: calc(100% - 12px);
  }
  #panel {
    padding: 12px 14px 22px;
  }
  .filters {
    gap: 8px;
  }
  .filters .search {
    flex-basis: 100%;
  }
  .filters > label:not(.search) {
    flex: 1;
  }
  .cook-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .shop-heading {
    display: block;
    margin-bottom: 9px;
  }
  .shop-dates-bar {
    gap: 10px;
    justify-content: space-between;
    margin-top: 2px;
  }
  .shop-dates-bar .button.small {
    min-height: 44px;
  }
  .shopping-toolbar {
    padding: 2px 10px;
  }
  .shop-progress {
    gap: 7px;
  }
  .shop-progress progress {
    width: 35px;
  }
  .shop-tools {
    gap: 7px;
  }
  .needed-filter,
  .notes-link,
  .shop-progress span {
    font-size: 0.84rem;
  }
  .grocery-table .mark-col {
    width: 50px;
  }
  .grocery-table th:first-child {
    padding-left: 10px;
  }
  .grocery-table th,
  .grocery-table td {
    padding-inline: 4px;
  }
  .ingredient-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px;
  }
  .ingredient-row > label:first-child {
    grid-column: 1/-1;
  }
  .nutrition dl {
    gap: 7px;
  }
  .nutrition dd {
    font-size: 0.94rem;
  }
  .part-fields label {
    flex: 1;
  }
  .part-fields input {
    max-width: 100%;
  }
}
@media (max-width: 370px) {
  .week-controls {
    width: 100%;
  }
  .meal-type h3 {
    font-size: 1.04rem;
  }
  .bar,
  main {
    width: calc(100% - 20px);
  }
}
.leftover-action:not(:empty) {
  margin-top: 10px;
}
