:root {
  --bg: #f7f8f3;
  --paper: #fff;
  --ink: #193b33;
  --muted: #6f8076;
  --line: #e0e7dd;
  --green: #176b5b;
  --pale: #edf3e8;
  --gold: #f3b35c;
  --danger: #aa3e32;
  --shadow: 0 8px 35px #1b483308;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #17261f;
  --paper: #20352c;
  --ink: #e2eddf;
  --muted: #a6b6ab;
  --line: #3b5043;
  --green: #78c8ad;
  --pale: #2c4535;
  --gold: #e4b36d;
  --danger: #ffb0a0;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: var(--green);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 620;
  letter-spacing: -0.05em;
}
h2 {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1rem;
}
p {
  line-height: 1.6;
}
.muted,
small {
  color: var(--muted);
}
small {
  font-size: 0.8rem;
}
.eyebrow {
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -0.04em;
  font-size: 1.15rem;
}
.brand-mark {
  display: inline-grid;
  place-content: center;
  position: relative;
  background: var(--green);
  color: var(--bg);
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.1em;
}
.brand-mark span {
  color: var(--gold);
  position: absolute;
  right: 5px;
  bottom: 1px;
}
.shell {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  border-right: 1px solid var(--line);
  background: var(--paper);
  padding: 32px 20px;
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.sidebar nav {
  display: grid;
  gap: 7px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 13px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 550;
}
.nav-link.active {
  background: var(--pale);
  color: var(--green);
}
.nav-link svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 23px;
  font-size: 0.8rem;
}
.sidebar-bottom p {
  overflow-wrap: anywhere;
  margin: 8px 0;
}
.sidebar-note {
  padding: 16px;
  background: var(--pale);
  border-radius: 12px;
  line-height: 1.65;
  font-size: 0.78rem;
  color: var(--muted);
}
.topbar {
  height: 78px;
  border-bottom: 1px solid var(--line);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  gap: 14px;
}
.topbar-title {
  font-size: 0.83rem;
  color: var(--muted);
}
.status {
  font-size: 0.76rem;
  display: flex;
  align-items: center;
  gap: 7px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.status.warning .dot {
  background: var(--gold);
}
.content {
  max-width: 1500px;
  margin: auto;
  padding: 40px;
}
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.page-heading p {
  color: var(--muted);
  margin-top: 10px;
  font-size: 0.9rem;
}
.actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 16px;
  background: var(--paper);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 650;
}
.btn svg {
  width: 17px;
  height: 17px;
}
.btn.primary {
  background: var(--green);
  color: var(--paper);
  border-color: var(--green);
}
:root[data-theme="dark"] .btn.primary {
  color: var(--bg);
}
.btn.danger {
  color: var(--danger);
}
.btn.quiet {
  border-color: transparent;
  background: transparent;
}
.btn.small {
  padding: 7px 11px;
  font-size: 0.76rem;
}
.icon-btn {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  padding: 9px;
  display: inline-grid;
  place-content: center;
}
.icon-btn svg {
  width: 16px;
  height: 16px;
}
.week-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 13px;
  margin-bottom: 22px;
}
.week-title {
  font-size: 1rem;
  font-weight: 700;
}
.week-navigate {
  display: flex;
  align-items: center;
  gap: 13px;
}
.progress {
  min-width: 180px;
}
.progress span {
  font-size: 0.73rem;
  color: var(--muted);
}
progress {
  width: 100%;
  height: 5px;
  accent-color: var(--green);
  display: block;
  margin-top: 8px;
}
.planner {
  display: grid;
  gap: 10px;
}
.plan-labels,
.plan-day {
  display: grid;
  grid-template-columns: 118px repeat(var(--meal-count, 3), minmax(0, 1fr));
  gap: 12px;
}
.plan-labels {
  padding: 0 18px 9px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.plan-day {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 18px;
  background: var(--paper);
  min-height: 103px;
  align-items: stretch;
}
.plan-day.today {
  border-color: var(--green);
  box-shadow: inset 3px 0 var(--green);
}
.day-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.day-label strong {
  font-size: 0.85rem;
}
.day-label small {
  font-size: 0.73rem;
}
.today-label {
  color: var(--green);
  font-size: 0.6rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.meal-cell {
  background: var(--pale);
  border: 1px solid transparent;
  text-align: left;
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}
.meal-cell:hover {
  border-color: var(--green);
}
.meal-cell.empty {
  background: transparent;
  border: 1px dashed var(--line);
  color: var(--muted);
}
.meal-cell strong {
  font-size: 0.82rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.meal-cell small {
  font-size: 0.68rem;
}
.meal-label-mobile {
  display: none;
}
.week-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 2px;
  font-size: 0.76rem;
  color: var(--muted);
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.panel h2 {
  margin-bottom: 15px;
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
}
.toolbar input {
  max-width: 380px;
  flex: 1;
  min-width: 150px;
}
.field {
  display: grid;
  gap: 7px;
  margin-bottom: 17px;
  font-size: 0.82rem;
  font-weight: 600;
}
input,
select,
textarea {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px;
  padding: 11px 13px;
  width: 100%;
  min-width: 0;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  flex-shrink: 0;
}
textarea {
  resize: vertical;
  min-height: 105px;
  line-height: 1.6;
}
.checks {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 10px 0 22px;
}
.checks label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 18px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
}
.card-body {
  padding: 22px;
}
.card h2 {
  font-size: 1rem;
  line-height: 1.45;
  margin-bottom: 8px;
}
.card p {
  color: var(--muted);
  font-size: 0.8rem;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}
.card-symbol {
  height: 75px;
  background: var(--pale);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1.65rem;
  color: var(--green);
}
.card-symbol small {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.chip {
  font-size: 0.65rem;
  background: var(--pale);
  color: var(--green);
  padding: 5px 8px;
  border-radius: 5px;
  display: inline-block;
  margin: 3px 3px 0 0;
}
.empty-state {
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 13px;
  padding: 60px 25px;
  grid-column: 1/-1;
}
.empty-state h2 {
  margin: 18px 0 10px;
}
.empty-state p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 22px;
}
.empty-state svg {
  width: 32px;
  height: 32px;
}
.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.list-row:last-child {
  border-bottom: 0;
}
.list-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.list-main div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.list-main strong {
  font-size: 0.9rem;
}
.list-main small {
  display: block;
  margin-top: 5px;
}
.list-row.bought .list-main strong {
  text-decoration: line-through;
  color: var(--muted);
}
.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-note {
  color: var(--muted);
  font-size: 0.78rem;
  margin: 10px 0 20px;
}
.error {
  color: var(--danger);
  font-size: 0.83rem;
  margin: 12px 0;
  line-height: 1.55;
}
.pre {
  white-space: pre-wrap;
  font-size: 0.87rem;
  line-height: 1.8;
}
.ingredient-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px 35px;
  gap: 8px;
  margin-bottom: 10px;
}
.ingredient-row button {
  padding: 5px;
}
.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.dialog-header h2 {
  font-size: 1.4rem;
}
.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 20px;
}
dialog {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 28px;
  width: min(650px, calc(100% - 24px));
  max-height: 90dvh;
  box-shadow: 0 30px 100px #0003;
}
dialog::backdrop {
  background: #0e2b2366;
  backdrop-filter: blur(3px);
}
dialog .content-scroll {
  max-height: 55vh;
  overflow: auto;
}
.login-page {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-story {
  padding: 55px clamp(30px, 6vw, 110px);
  background: #eaf0e3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 65px;
  color: #193b33;
}
.login-story .brand-mark {
  background: #176b5b;
  color: white;
}
.login-story h1 {
  font-family: Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1.12;
  max-width: 580px;
  letter-spacing: -0.055em;
}
.login-story h1 em {
  color: #176b5b;
  font-weight: 400;
}
.login-story p {
  margin-top: 25px;
  max-width: 380px;
  color: #60705f;
}
.login-visual {
  display: grid;
  gap: 10px;
  margin: 35px 0;
  max-width: 390px;
  transform: rotate(-3deg);
}
.login-mini {
  padding: 18px 22px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 5px 20px #243c2910;
}
.login-mini span {
  font-size: 1.6rem;
}
.login-mini strong {
  font-size: 0.85rem;
}
.login-mini small {
  display: block;
  font-size: 0.75rem;
  margin-top: 4px;
}
.login-form-area {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 25px;
}
.login-form {
  width: 100%;
  max-width: 370px;
}
.login-form h2 {
  font-size: 1.8rem;
  letter-spacing: -0.045em;
  margin: 14px 0;
}
.login-form > p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 30px;
}
.login-form .btn.primary {
  width: 100%;
  margin-top: 8px;
}
.login-switch {
  margin-top: 28px;
  text-align: center;
  font-size: 0.82rem;
}
.login-footer {
  font-size: 0.75rem;
  margin-top: 45px;
  color: var(--muted);
  line-height: 1.8;
}
.login-footer a {
  color: inherit;
}
.login-form .forgot {
  display: block;
  margin: 15px 0 20px;
  text-align: right;
  font-size: 0.8rem;
}
.skip {
  position: fixed;
  top: -100px;
  background: var(--paper);
  z-index: 10;
  padding: 12px;
}
.skip:focus {
  top: 5px;
}
.loading {
  padding: 20vh 25px;
  text-align: center;
}
.loading h1 {
  margin: 25px 0 12px;
}
#notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 22px;
  border-radius: 10px;
  max-width: calc(100% - 30px);
  box-shadow: 0 10px 35px #0002;
  font-size: 0.85rem;
}
#notice:empty {
  display: none;
}
.banner {
  background: var(--pale);
  border: 1px solid var(--line);
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 22px;
  font-size: 0.82rem;
  line-height: 1.6;
}
.conflict {
  border-left: 3px solid var(--gold);
  padding: 15px;
  margin: 15px 0;
  background: var(--pale);
}
.mobile-brand {
  display: none;
}
.text-link {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--green);
  font-size: inherit;
  text-decoration: underline;
}
.amount {
  font-size: 0.8rem;
  color: var(--muted);
}
.browse-count {
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 0.78rem;
}
.shopping-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 26px 0 5px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (min-width: 1250px) {
  .content {
    padding: 45px 50px;
  }
  .plan-day {
    min-height: 112px;
  }
}
@media (max-width: 1000px) {
  .shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .sidebar {
    padding: 28px 13px;
  }
  .sidebar .brand {
    font-size: 0.96rem;
  }
  .content {
    padding: 28px 22px;
  }
  .topbar {
    padding: 0 22px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .plan-labels,
  .plan-day {
    grid-template-columns: 90px repeat(var(--meal-count, 3), minmax(0, 1fr));
    gap: 8px;
  }
  .meal-cell {
    padding: 10px;
  }
  .columns {
    grid-template-columns: 1fr;
  }
  .progress {
    min-width: 130px;
  }
}
@media (max-width: 700px) {
  .shell {
    display: block;
  }
  .sidebar {
    height: auto;
    position: static;
    padding: 17px 18px;
    gap: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
    gap: 5px;
    margin: 0 -18px;
    padding: 0 14px;
  }
  .nav-link {
    padding: 10px;
    white-space: nowrap;
    gap: 6px;
    font-size: 0.75rem;
  }
  .nav-link svg {
    width: 16px;
    height: 16px;
  }
  .sidebar-note,
  .sidebar-bottom {
    display: none;
  }
  .topbar {
    height: 50px;
    padding: 0 18px;
  }
  .topbar-title {
    font-size: 0.73rem;
  }
  .content {
    padding: 25px 15px;
  }
  .page-heading {
    margin-bottom: 22px;
    gap: 18px;
  }
  .page-heading .actions {
    width: 100%;
  }
  .page-heading .actions .btn {
    flex: 1;
    padding: 10px;
  }
  .week-summary {
    padding: 16px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .progress {
    width: 100%;
  }
  .week-navigate {
    width: 100%;
    justify-content: space-between;
  }
  .plan-labels {
    display: none;
  }
  .plan-day {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
  }
  .day-label {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 3px 0 8px;
    gap: 10px;
  }
  .meal-cell {
    padding: 13px 14px;
    min-height: 66px;
  }
  .meal-label-mobile {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .meal-cell small {
    display: none;
  }
  .week-footer {
    flex-direction: column;
    gap: 8px;
  }
  .login-page {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 25px;
    gap: 25px;
  }
  .login-story h1 {
    font-size: 2.6rem;
    max-width: 390px;
  }
  .login-story p {
    margin-top: 15px;
    font-size: 0.85rem;
  }
  .login-visual,
  .login-story footer {
    display: none;
  }
  .login-form-area {
    padding: 35px 25px;
  }
  .login-footer {
    margin-top: 25px;
  }
  .panel {
    padding: 20px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .toolbar input {
    max-width: none;
  }
  .list-row {
    align-items: flex-start;
  }
  .ingredient-row {
    grid-template-columns: minmax(0, 1fr) 85px 30px;
  }
  dialog {
    padding: 22px;
  }
  .status {
    font-size: 0.68rem;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a {
    transition:
      background 0.15s,
      border-color 0.15s;
  }
  dialog[open] {
    animation: appear 0.15s ease-out;
  }
  @keyframes appear {
    from {
      opacity: 0;
      transform: translateY(7px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.toolbar select {
  width: auto;
  min-width: 170px;
}
.brand-mark {
  flex-shrink: 0;
}
.sidebar .brand {
  font-size: 1.05rem;
}
.sidebar nav .nav-link {
  line-height: 1.35;
}
.toolbar #sort {
  max-width: 240px;
}
@media (max-width: 700px) {
  .toolbar select {
    flex: 1;
    min-width: 130px;
  }
}

/* The welcome tour shares the app's calendar, recipe, basket and people icons. */
.app-icon {
  vertical-align: middle;
  flex-shrink: 0;
}
.brand-logo {
  display: inline-flex;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 13px;
  overflow: hidden;
}
.brand-logo > .app-icon {
  width: 100%;
  height: 100%;
}
.brand > .brand-logo {
  width: 42px;
  height: 42px;
}
.loading > .brand-logo {
  width: 72px;
  height: 72px;
  border-radius: 21px;
}
.plan-labels svg {
  width: 18px;
  height: 18px;
  margin-right: 5px;
}
.meal-label-mobile svg {
  width: 18px;
  height: 18px;
  margin-right: 5px;
}
.card-symbol .app-icon {
  width: 48px;
  height: 48px;
}
.list-main > .app-icon {
  width: 34px;
  height: 34px;
}
.ingredient-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ingredient-label .app-icon {
  width: 30px;
  height: 30px;
}
@media (max-width: 700px) {
  .brand > .brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
}

.list-controls {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  padding: 17px;
  margin-bottom: 20px;
}
.list-controls .toolbar {
  margin-bottom: 0;
  align-items: end;
}
.control-field {
  display: grid;
  gap: 7px;
  font-size: 0.73rem;
  color: var(--muted);
  min-width: 145px;
  flex: 1;
}
.control-search {
  flex: 2;
  min-width: 190px;
}
.list-controls .toolbar input {
  max-width: none;
  width: 100%;
}
.list-controls .toolbar select {
  width: 100%;
  min-width: 0;
}
.tag-filters {
  margin: 15px 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px;
  font-size: 0.82rem;
}
.tag-filters summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--green);
}
.tag-filters summary svg {
  width: 18px;
  height: 18px;
  margin-right: 5px;
}
.tag-filter-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 10px;
  margin-top: 15px;
  max-height: 240px;
  overflow: auto;
  padding: 3px;
}
.tag-filter-options label,
.filter-bottom label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  line-height: 1.5;
}
.filter-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.list-controls .form-note {
  margin-bottom: 0;
}
#meal-controls .control-field {
  min-width: 150px;
}
#meal-controls-slot {
  margin-bottom: 15px;
}
@media (max-width: 700px) {
  .list-controls {
    padding: 13px;
  }
  .control-field {
    min-width: 120px;
  }
  .control-search {
    min-width: 100%;
  }
  .week-navigate {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .week-navigate .week-title {
    flex: 1;
    font-size: 0.88rem;
  }
  .tag-filter-options {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .tag-filter-options label {
    font-size: 0.73rem;
  }
  .tag-filter-options input {
    width: 16px;
    height: 16px;
  }
}
.dish-tags {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  margin-left: 6px;
  font-size: 1rem;
  vertical-align: middle;
}
.product-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
  gap: 8px;
  max-height: 220px;
  overflow: auto;
  padding: 4px;
}
.product-icon-grid button {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  min-height: 48px;
  display: grid;
  place-content: center;
}
.product-icon-grid button[hidden] {
  display: none;
}
.product-icon-grid button[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--pale);
}
.product-icon-grid .app-icon {
  width: 34px;
  height: 34px;
}
#selected-product-icon svg {
  width: 28px;
  height: 28px;
  margin-left: 8px;
}
.ingredient-editor-row {
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 10px;
  margin: 10px 0;
}
.ingredient-editor-row .ingredient-row {
  margin-bottom: 0;
}
.ingredient-product-controls {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.ingredient-product-controls input {
  flex: 1;
  min-width: 0;
}
.ingredient-product-controls select {
  width: 45%;
}
