@font-face {
  font-family: "Newsreader";
  src: url("./assets/fonts/newsreader-latin-wght-normal.woff2?v=type-system") format("woff2-variations");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("./assets/fonts/public-sans-latin-wght-normal.woff2?v=type-system") format("woff2-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #fbf7ef;
  --paper-strong: #fffdf8;
  --ink: #232525;
  --muted: #6d6a61;
  --line: #ded6c7;
  --basil: #2d6b4f;
  --basil-dark: #174836;
  --tomato: #c84630;
  --eggplant: #4f365f;
  --mustard: #d1a33a;
  --cool: #d7e9e6;
  --shadow: 0 18px 60px rgba(38, 34, 29, 0.14);
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-ui: "Public Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --paper-texture: url("./assets/textures/grocery-paper.jpg?v=real-materials");
  --canvas-texture: url("./assets/textures/green-canvas.jpg?v=real-materials");
  color-scheme: light;
  font-family: var(--font-ui);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  width: 100%;
  min-height: 100%;
  max-width: 100%;
  overflow: hidden;
  background-color: var(--paper);
  background-image: var(--paper-texture);
  background-size: 560px 560px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  min-height: 100vh;
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  display: grid;
  place-items: center;
  padding: 12px;
  overflow: hidden;
}

body.drawer-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(200, 70, 48, 0.45);
  outline-offset: 3px;
}

.app-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  width: min(430px, 100%);
  height: min(932px, calc(100vh - 24px));
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(35, 37, 37, 0.16);
  border-radius: 30px;
  background-color: var(--paper);
  background-image: var(--paper-texture);
  background-size: 560px 560px;
  box-shadow:
    0 30px 90px rgba(35, 37, 37, 0.22),
    inset 0 0 0 6px rgba(255, 253, 248, 0.72);
}

.plan-build-stage {
  position: absolute;
  inset: 0;
  z-index: 60;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 16px;
  padding: 20px 18px calc(18px + env(safe-area-inset-bottom));
  overflow: hidden;
  background-color: var(--basil-dark);
  background-image: var(--canvas-texture);
  background-size: 480px 480px;
  background-blend-mode: soft-light;
  color: #ffffff;
}

.plan-build-stage[hidden] {
  display: none;
}

.plan-build-stage.is-open {
  animation: buildStageIn 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.plan-build-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.plan-build-head .section-kicker {
  color: #f0c75e;
}

.plan-build-head h2 {
  max-width: 265px;
  margin: 3px 0 0;
  color: #ffffff;
  font-size: 30px;
  line-height: 0.98;
}

.plan-build-head button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: transparent;
  color: #ffffff;
  font-size: 11px;
  font-weight: 850;
}

.plan-build-scene {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(235px, 1fr);
  gap: 10px;
  min-height: 0;
}

.plan-build-rules,
.plan-build-pantry {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
}

.plan-build-rules > span,
.plan-build-pantry > span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-build-rules div,
.plan-build-pantry div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.plan-build-rules strong,
.plan-build-pantry strong {
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--paper-strong);
  color: var(--ink);
  font-size: 10px;
  line-height: 1.1;
}

.plan-build-rules strong {
  border: 1px solid rgba(200, 70, 48, 0.48);
  color: var(--tomato);
}

.plan-build-pantry {
  opacity: 0.26;
  transform: translateY(5px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.plan-build-stage:is([data-phase="pantry"], [data-phase="dinners"], [data-phase="store"], [data-phase="ready"]) .plan-build-pantry {
  opacity: 1;
  transform: translateY(0);
}

.plan-build-table {
  position: relative;
  min-height: 0;
  padding: 34px 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: #376f5a;
  background-image: var(--canvas-texture);
  background-size: 420px 420px;
  background-blend-mode: soft-light;
  box-shadow: inset 0 0 0 5px rgba(23, 72, 54, 0.34);
}

.table-label {
  position: absolute;
  top: 9px;
  left: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-place-settings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: center;
  gap: 14px 8px;
  height: 100%;
}

.plan-place {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 0;
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  transition:
    opacity 360ms ease calc(var(--place-index) * 75ms),
    transform 520ms cubic-bezier(0.18, 0.86, 0.26, 1.24) calc(var(--place-index) * 75ms);
}

.plan-build-stage:is([data-phase="dinners"], [data-phase="store"], [data-phase="ready"]) .plan-place {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.plan-plate {
  position: relative;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 6px double rgba(23, 72, 54, 0.18);
  border-radius: 50%;
  background: var(--paper-strong);
  box-shadow: 0 8px 16px rgba(18, 42, 33, 0.22);
  overflow: hidden;
}

.plan-plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plan-plate span {
  position: absolute;
  right: 2px;
  bottom: 2px;
  display: grid;
  min-width: 25px;
  min-height: 20px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--tomato);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
}

.plan-place > strong {
  max-width: 105px;
  overflow: hidden;
  color: #ffffff;
  font-size: 9px;
  line-height: 1.15;
  text-align: center;
}

.plan-build-receipt {
  position: absolute;
  right: 10px;
  bottom: 12px;
  display: grid;
  gap: 3px;
  width: 142px;
  padding: 12px;
  border-top: 5px solid var(--mustard);
  background: var(--paper-strong);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(18, 42, 33, 0.34);
  opacity: 0;
  transform: translateY(30px) rotate(3deg);
  transition: opacity 320ms ease, transform 520ms cubic-bezier(0.18, 0.86, 0.26, 1.16);
}

.plan-build-stage:is([data-phase="store"], [data-phase="ready"]) .plan-build-receipt {
  opacity: 1;
  transform: translateY(0) rotate(1.5deg);
}

.plan-build-receipt span {
  color: var(--tomato);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-build-receipt strong {
  font-family: var(--font-display);
  font-size: 29px;
  line-height: 1;
}

.plan-build-receipt p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.25;
}

.plan-build-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-build-steps li {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding-top: 7px;
  border-top: 2px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  text-align: center;
  transition: color 220ms ease, border-color 220ms ease;
}

.plan-build-steps li span {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.plan-build-steps li.current {
  border-color: var(--mustard);
  color: #ffffff;
}

.plan-build-steps li.complete {
  border-color: #8bc7aa;
  color: #bde2cf;
}

.plan-build-steps li.complete span {
  background: rgba(139, 199, 170, 0.18);
}

.plan-build-status {
  min-height: 34px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.plan-build-footer {
  display: grid;
  gap: 10px;
}

.plan-build-continue {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #f0c75e;
  border-radius: 8px;
  background: #f0c75e;
  color: var(--basil-dark);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(10, 36, 27, 0.28);
  animation: planContinueIn 420ms cubic-bezier(0.18, 0.86, 0.26, 1.14) both;
}

.plan-build-continue[hidden] {
  display: none;
}

.plan-build-stage[data-phase="ready"] .plan-build-table {
  box-shadow:
    inset 0 0 0 5px rgba(23, 72, 54, 0.34),
    0 0 0 1px rgba(240, 199, 94, 0.5),
    0 18px 34px rgba(10, 36, 27, 0.24);
}

@keyframes planContinueIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.topbar {
  position: relative;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(35, 37, 37, 0.1);
  background: rgba(251, 247, 239, 0.92);
  backdrop-filter: blur(18px);
}

.topbar-command,
.topbar-add {
  min-height: 38px;
  border: 1px solid rgba(35, 37, 37, 0.16);
  border-radius: 8px;
  font-weight: 850;
}

.topbar-command {
  padding: 0 10px;
  background: rgba(255, 253, 248, 0.86);
  color: var(--ink);
  font-size: 11px;
}

.topbar-add {
  display: grid;
  width: 38px;
  padding: 0;
  place-items: center;
  border-color: var(--basil-dark);
  background: var(--basil-dark);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
}

.onboarding-guide {
  position: absolute;
  inset: 0;
  z-index: 70;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  background-color: var(--paper-strong);
  background-image: var(--paper-texture);
  background-size: 560px 560px;
}

.onboarding-guide[hidden] {
  display: none;
}

.onboarding-track {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.onboarding-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(300px, 56%) minmax(0, 1fr);
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 260ms ease, transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
  visibility: hidden;
}

.onboarding-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}

.onboarding-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.onboarding-slide > div {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 10px;
  min-width: 0;
  padding: 24px 22px;
  border-top: 1px solid rgba(35, 37, 37, 0.12);
  background-color: rgba(255, 253, 248, 0.98);
  background-image: var(--paper-texture);
  background-size: 560px 560px;
  box-shadow: 0 -22px 44px rgba(35, 37, 37, 0.18);
}

.onboarding-slide span {
  color: var(--tomato);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.onboarding-slide h2 {
  max-width: 340px;
  margin: 0;
  font-size: 36px;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.onboarding-slide p {
  max-width: 350px;
  margin: 0;
  color: #504d46;
  font-size: 15px;
  line-height: 1.5;
}

.onboarding-controls {
  display: grid;
  grid-template-columns: minmax(68px, auto) 1fr minmax(90px, auto);
  align-items: center;
  gap: 12px;
  padding: 14px 18px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(35, 37, 37, 0.12);
  background: rgba(255, 253, 248, 0.96);
}

.onboarding-controls > button:first-child {
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.guide-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.guide-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(35, 37, 37, 0.18);
}

.guide-dots button.active {
  width: 24px;
  border-radius: 8px;
  background: var(--basil);
}

.flow-coach {
  display: grid;
  gap: 8px;
  padding: 10px 12px 11px;
  border-bottom: 1px solid rgba(35, 37, 37, 0.12);
  background-color: #edf3ed;
  background-image: var(--paper-texture);
  background-size: 560px 560px;
}

.flow-coach-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.flow-coach-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.flow-coach-copy span {
  color: var(--tomato);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-coach-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flow-coach-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.coach-action {
  min-width: 72px;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid var(--basil-dark);
  border-radius: 8px;
  background: var(--basil-dark);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.coach-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.coach-rail button {
  display: grid;
  gap: 2px;
  min-width: 0;
  min-height: 42px;
  padding: 5px 4px;
  border: 1px solid rgba(35, 37, 37, 0.1);
  border-top: 4px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  color: var(--muted);
  letter-spacing: 0;
  text-align: center;
}

.coach-rail button.done {
  border-top-color: var(--basil);
  background: rgba(45, 107, 79, 0.08);
  color: var(--basil-dark);
}

.coach-rail button.current {
  border-top-color: var(--tomato);
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 7px 18px rgba(35, 37, 37, 0.08);
}

.coach-rail span {
  overflow: hidden;
  font-size: 9px;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.coach-rail strong {
  overflow: hidden;
  font-size: 10px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
}

.brand small {
  display: none;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 39px;
  height: 39px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(35, 37, 37, 0.08);
  object-fit: contain;
}

.topbar-actions,
.section-row,
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.planner-layout {
  display: block;
  min-height: 0;
  padding: 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
}

.control-panel {
  align-self: start;
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(35, 37, 37, 0.14);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 12px 34px rgba(35, 37, 37, 0.08);
}

.app-tabbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(35, 37, 37, 0.12);
  background: rgba(255, 253, 248, 0.96);
}

.app-tabbar button {
  display: grid;
  gap: 6px;
  min-width: 0;
  min-height: 52px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.app-tabbar button span {
  width: 22px;
  height: 4px;
  border-radius: 999px;
  background: rgba(35, 37, 37, 0.12);
}

.app-tabbar button.active {
  background: rgba(45, 107, 79, 0.1);
  color: var(--basil-dark);
}

.app-tabbar button.active span {
  background: var(--basil);
}

.panel-section {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(35, 37, 37, 0.1);
}

.panel-section:last-of-type {
  border-bottom: 0;
}

.setup-progress-card {
  display: grid;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(35, 37, 37, 0.12);
  border-left: 5px solid var(--basil);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(45, 107, 79, 0.08), transparent 44%),
    #ffffff;
}

.setup-progress-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.setup-progress-head strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 28px;
  line-height: 1;
}

.setup-meter {
  height: 12px;
  border: 1px solid rgba(35, 37, 37, 0.14);
  border-radius: 999px;
  background: rgba(45, 107, 79, 0.1);
  overflow: hidden;
}

.setup-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--basil);
  transition: width 240ms ease;
}

.setup-momentum-list {
  display: grid;
  gap: 7px;
}

.setup-momentum-list span {
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid rgba(35, 37, 37, 0.1);
  border-left: 4px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.74);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.setup-momentum-list span.done {
  border-left-color: var(--basil);
  background: rgba(45, 107, 79, 0.08);
}

.setup-momentum-list span.next {
  border-left-color: var(--mustard);
}

.setup-momentum-list strong {
  color: var(--ink);
}

.profile-cockpit {
  display: grid;
  gap: 10px;
}

.profile-cockpit-card {
  display: grid;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(35, 37, 37, 0.12);
  border-top: 5px solid var(--eggplant);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(79, 54, 95, 0.09), rgba(255, 253, 248, 0.92) 54%),
    #ffffff;
}

.profile-cockpit-card strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.05;
}

.profile-cockpit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.profile-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.profile-stat-grid span {
  display: grid;
  gap: 2px;
  min-width: 0;
  min-height: 52px;
  align-content: center;
  padding: 7px;
  border: 1px solid rgba(35, 37, 37, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.profile-stat-grid span strong {
  overflow: hidden;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.1;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.trust-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.trust-actions .loss-button {
  min-height: 42px;
}

.demo-households {
  display: grid;
  gap: 10px;
}

.demo-household-grid {
  display: grid;
  gap: 8px;
}

.demo-household-grid button {
  display: grid;
  gap: 3px;
  min-height: 74px;
  padding: 10px;
  border: 1px solid rgba(35, 37, 37, 0.13);
  border-left: 5px solid var(--mustard);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
}

.demo-household-grid button:nth-child(2) {
  border-left-color: var(--basil);
}

.demo-household-grid button:nth-child(3) {
  border-left-color: var(--tomato);
}

.demo-household-grid span {
  color: var(--tomato);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-household-grid strong {
  font-size: 14px;
  line-height: 1.15;
}

.demo-household-grid small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.guided-step {
  position: relative;
  padding-left: 14px;
}

.guided-step::before {
  position: absolute;
  top: 0;
  bottom: 14px;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--basil), var(--mustard));
  content: "";
}

.setup-step-label {
  width: max-content;
  margin-bottom: 8px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(45, 107, 79, 0.1);
  color: var(--basil-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker,
.field-label,
.micro-label {
  margin: 0 0 8px;
  color: var(--tomato);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.micro-label {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
}

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

h1,
h2,
h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
}

h3 {
  font-weight: 650;
}

h1 {
  font-size: 31px;
  line-height: 0.98;
}

h2 {
  font-size: 24px;
  line-height: 1.05;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.2;
}

.intro-copy,
.microcopy {
  color: var(--muted);
  line-height: 1.5;
}

.intro-copy {
  margin-bottom: 0;
  font-size: 15px;
}

.microcopy {
  margin-bottom: 10px;
  font-size: 13px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(35, 37, 37, 0.16);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
}

input {
  padding: 0 12px;
}

textarea {
  min-height: 190px;
  padding: 12px;
  line-height: 1.45;
  letter-spacing: 0;
  resize: vertical;
  text-transform: none;
}

select {
  padding: 0 34px 0 12px;
}

.money-input {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(35, 37, 37, 0.16);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.money-input span {
  padding-left: 12px;
  color: var(--basil);
  font-weight: 900;
}

.money-input input {
  border: 0;
  border-radius: 0;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(35, 37, 37, 0.14);
  border-radius: 10px;
  background: #ffffff;
}

.segmented-control label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
}

.segmented-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  opacity: 0;
  pointer-events: none;
}

.segmented-control span {
  display: grid;
  min-height: 40px;
  place-items: center;
  border-radius: 7px;
}

.segmented-control input:checked + span {
  background: var(--basil);
  color: #ffffff;
}

.chip-input {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 32px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  min-height: 32px;
  padding: 5px 8px 5px 11px;
  border: 1px solid rgba(35, 37, 37, 0.14);
  border-radius: 999px;
  background: var(--cool);
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.chip button {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(35, 37, 37, 0.1);
  color: inherit;
  line-height: 1;
}

.empty-hint {
  display: block;
  width: 100%;
  min-height: 38px;
  padding: 9px 10px;
  border: 1px dashed rgba(35, 37, 37, 0.16);
  border-left: 4px solid var(--mustard);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.84);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.empty-hint.banned {
  border-left-color: var(--tomato);
}

.empty-hint.pantry {
  border-left-color: var(--basil);
}

.family-section {
  display: grid;
  gap: 12px;
}

.preference-grid {
  display: grid;
  gap: 10px;
}

.family-member-cards {
  display: grid;
  gap: 8px;
}

.family-member-card {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(35, 37, 37, 0.12);
  border-left: 4px solid var(--line);
  background: #ffffff;
}

.family-member-card.active {
  border-left-color: var(--eggplant);
}

.setup-nudge {
  display: grid;
  gap: 6px;
  padding: 11px;
  border: 1px dashed rgba(35, 37, 37, 0.16);
  border-left: 4px solid var(--mustard);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(209, 163, 58, 0.1), transparent 50%),
    #ffffff;
}

.setup-nudge span {
  color: var(--tomato);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.setup-nudge strong {
  font-size: 13px;
}

.setup-nudge p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.family-member-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.family-member-top strong {
  font-size: 14px;
}

.family-member-top span,
.preference-lines span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.preference-lines {
  display: grid;
  gap: 8px;
}

.preference-lines > div {
  display: grid;
  gap: 5px;
}

.preference-lines > div > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.preference-lines em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.preference-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 5px 7px 5px 10px;
  border: 1px solid rgba(35, 37, 37, 0.1);
  border-radius: 999px;
  background: rgba(79, 54, 95, 0.08);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.preference-chip button {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(35, 37, 37, 0.1);
  color: inherit;
  line-height: 1;
}

.primary-button,
.ghost-button,
.icon-button,
.meal-action,
.icon-close {
  border: 1px solid rgba(35, 37, 37, 0.16);
  border-radius: 8px;
  font-weight: 850;
}

.primary-button {
  min-height: 52px;
  border-color: var(--basil-dark);
  background: var(--basil-dark);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(23, 72, 54, 0.2);
}

.family-plus {
  position: relative;
  gap: 14px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(23, 72, 54, 0.34);
  border-radius: 8px;
  background-color: #245c46;
  background-image: var(--canvas-texture);
  background-size: 420px 420px;
  background-blend-mode: soft-light;
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.family-plus .section-kicker {
  color: #f2c75b;
}

.family-plus h2 {
  margin-bottom: 6px;
  color: #ffffff;
}

.family-plus-copy > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.5;
}

.family-plus-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.family-plus-benefits span {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 750;
}

.family-plus-benefits span::before {
  position: absolute;
  top: 5px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f2c75b;
  content: "";
}

.family-plus-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 10px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 12px;
  font-size: 0.78rem;
}

.legal-links a {
  color: var(--muted);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  color: var(--basil);
}

.plus-legal-links {
  justify-content: center;
  margin-top: 16px;
}

.plus-button,
.plus-restore {
  min-height: 44px;
  border-radius: 8px;
  font-weight: 850;
}

.plus-button {
  border: 1px solid #f2c75b;
  background: #f2c75b;
  color: #232525;
}

.plus-restore {
  border: 1px solid rgba(255, 255, 255, 0.34);
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

#subscriptionStatus {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.internal-only {
  display: none !important;
}

.ghost-button,
.meal-action {
  min-height: 38px;
  padding: 0 12px;
  background: var(--paper-strong);
  color: var(--ink);
}

.wide-button {
  width: 100%;
}

.icon-button {
  display: grid;
  min-height: 42px;
  place-items: center;
  background: var(--tomato);
  color: #ffffff;
  font-size: 20px;
}

.state-pill,
.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(35, 37, 37, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.state-pill.safe {
  border-color: rgba(45, 107, 79, 0.18);
  background: rgba(45, 107, 79, 0.08);
  color: var(--basil-dark);
}

.state-pill.warn {
  border-color: rgba(200, 70, 48, 0.24);
  background: rgba(200, 70, 48, 0.08);
  color: var(--tomato);
}

.state-pill.warm {
  border-color: rgba(209, 163, 58, 0.24);
  background: rgba(209, 163, 58, 0.12);
  color: #735312;
}

.workspace {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.start-here,
.evening-path,
.evening-ease,
.tonight-handoff,
.pilot-review,
.budget-rescue,
.recipe-inbox,
.meal-board,
.pantry-sprint,
.leftover-board,
.grocery-board {
  border: 1px solid rgba(35, 37, 37, 0.12);
  background-color: rgba(255, 253, 248, 0.94);
  background-image: var(--paper-texture);
  background-size: 560px 560px;
  box-shadow: 0 12px 40px rgba(35, 37, 37, 0.08);
}

.evening-path {
  display: grid;
  gap: 13px;
  padding: 14px;
  border-left: 5px solid var(--tomato);
  background-color: #f8f0e9;
  background-image: var(--paper-texture);
  overflow: hidden;
}

.evening-path-heading {
  align-items: flex-start;
}

.evening-path-rail {
  display: flex;
  gap: 10px;
  margin: 0 -14px;
  padding: 0 14px 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.evening-path-card {
  position: relative;
  display: grid;
  flex: 0 0 min(286px, calc(100% - 34px));
  grid-template-rows: 112px 1fr auto;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid rgba(35, 37, 37, 0.14);
  border-top: 5px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  scroll-snap-align: center;
}

.evening-path-card.current {
  border-top-color: var(--tomato);
  box-shadow: 0 12px 28px rgba(35, 37, 37, 0.13);
}

.evening-path-card.done {
  border-top-color: var(--basil);
}

.evening-path-data-visual {
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 16px;
  border-bottom: 1px solid rgba(35, 37, 37, 0.1);
  background-color: #e8efe9;
  background-image: var(--paper-texture);
  color: var(--basil-deep);
}

.evening-path-card.current .evening-path-data-visual {
  background-color: #f4ded4;
  color: #8b3025;
}

.evening-path-data-visual strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 750;
  line-height: 1;
}

.evening-path-data-visual span {
  color: currentColor;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.evening-path-copy {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 12px 12px 8px;
}

.evening-path-copy span,
.carousel-hint {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.evening-path-copy span {
  color: var(--tomato);
  text-transform: uppercase;
}

.evening-path-copy strong {
  font-size: 15px;
  line-height: 1.2;
}

.evening-path-copy p,
.carousel-hint {
  margin: 0;
  line-height: 1.4;
}

.evening-path-card > button {
  min-height: 42px;
  margin: 0 12px 12px;
  border: 1px solid rgba(35, 37, 37, 0.14);
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-size: 12px;
  font-weight: 850;
}

.start-here {
  display: grid;
  gap: 13px;
  padding: 16px;
  background-color: #f3f6ef;
  background-image: var(--paper-texture);
}

.start-here h2 {
  margin-bottom: 8px;
}

.start-here p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.start-here,
.evening-ease,
.tonight-handoff,
.pilot-review,
.budget-rescue,
.recipe-inbox,
.meal-board,
.pantry-sprint,
.leftover-board,
.grocery-board {
  padding: clamp(16px, 2.4vw, 24px);
}

.evening-ease {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(420px, 1.22fr);
  gap: clamp(12px, 2vw, 18px);
  align-items: stretch;
  background-color: #eef5f1;
  background-image: var(--paper-texture);
  background-size: 560px 560px;
  overflow: hidden;
}

.landing-story,
.landing-counter {
  display: grid;
  min-width: 0;
}

.landing-story {
  align-content: space-between;
  gap: 14px;
}

.landing-counter {
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(35, 37, 37, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

.counter-top span,
.check-step,
.check-state {
  color: var(--tomato);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.counter-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.counter-top div {
  display: grid;
  gap: 2px;
}

.counter-top strong {
  font-family: var(--font-ui);
  font-size: 42px;
  line-height: 0.9;
}

.counter-top p {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  text-align: right;
}

.checks-explainer {
  margin: -2px 0 0;
  padding: 10px 11px;
  border: 1px solid rgba(45, 107, 79, 0.16);
  border-radius: 8px;
  background: rgba(45, 107, 79, 0.08);
  color: var(--basil-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.ease-promise {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.landing-next-move {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(35, 37, 37, 0.13);
  border-left: 5px solid var(--mustard);
  background-color: #fffdf8;
  background-image: var(--paper-texture);
  background-size: 480px 480px;
}

.landing-next-move span {
  color: var(--tomato);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-next-move strong {
  font-size: 15px;
  line-height: 1.25;
}

.landing-next-move p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.landing-next-move button,
.landing-station button {
  justify-self: start;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(35, 37, 37, 0.16);
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-size: 12px;
  font-weight: 850;
}

.plan-check-route {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.plan-route-step {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 4px;
  min-width: 0;
  min-height: 70px;
  padding: 8px 6px;
  border: 1px solid rgba(35, 37, 37, 0.1);
  border-top: 4px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  color: var(--muted);
  letter-spacing: 0;
  place-items: center;
  text-align: center;
  text-transform: none;
}

.plan-route-step.settled {
  border-top-color: var(--basil);
  background: rgba(45, 107, 79, 0.08);
  color: var(--basil-dark);
}

.plan-route-step.open {
  border-top-color: var(--mustard);
  background: rgba(209, 163, 58, 0.1);
  color: #735312;
}

.plan-route-step span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: rgba(35, 37, 37, 0.08);
  color: inherit;
  font-size: 11px;
  font-weight: 900;
}

.plan-route-step strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.08;
}

.plan-route-step small {
  color: inherit;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.landing-station button {
  margin-top: 8px;
  background: var(--paper-strong);
  color: var(--ink);
}

.landing-stations {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 8px;
}

.landing-station {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 11px;
  border: 1px solid rgba(35, 37, 37, 0.12);
  border-left: 5px solid var(--muted);
  background: rgba(255, 255, 255, 0.78);
}

.check-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.check-step,
.check-state {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(35, 37, 37, 0.08);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
  white-space: nowrap;
}

.check-step {
  background: transparent;
  padding-left: 0;
  color: var(--muted);
  text-transform: none;
}

.check-state {
  justify-content: center;
  text-transform: uppercase;
}

.landing-station.settled {
  border-color: rgba(45, 107, 79, 0.2);
  border-left-color: var(--basil);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(45, 107, 79, 0.08);
}

.landing-station.settled .check-state {
  background: rgba(45, 107, 79, 0.1);
  color: var(--basil-dark);
}

.landing-station.open {
  border-left-color: var(--mustard);
}

.landing-station.open .check-state {
  background: rgba(209, 163, 58, 0.12);
  color: #735312;
}

.landing-station strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  line-height: 1.2;
}

.landing-station p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.tonight-handoff {
  display: grid;
  gap: 13px;
  border-left: 5px solid var(--basil);
  background-color: #f3f6ef;
  background-image: var(--paper-texture);
}

.handoff-summary {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(45, 107, 79, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.handoff-summary strong {
  font-size: 15px;
  line-height: 1.2;
}

.handoff-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.handoff-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.handoff-card-grid article {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 178px;
  padding: 11px;
  border: 1px solid rgba(35, 37, 37, 0.12);
  border-top: 4px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.handoff-meal-photo,
.meal-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #e4e1d7;
}

.handoff-meal-photo {
  aspect-ratio: 16 / 9;
}

.handoff-meal-photo img,
.meal-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.handoff-card-grid article.safe {
  border-top-color: var(--basil);
}

.handoff-card-grid article.warn {
  border-top-color: var(--tomato);
}

.handoff-card-grid article.open {
  border-top-color: var(--mustard);
}

.handoff-card-grid span {
  color: var(--tomato);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.handoff-card-grid strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.18;
}

.handoff-card-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.34;
}

.handoff-card-grid small {
  color: var(--basil-dark);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
}

.handoff-card-grid button {
  justify-self: start;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(35, 37, 37, 0.16);
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-size: 12px;
  font-weight: 850;
}

.handoff-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.copy-fallback {
  width: 100%;
  min-height: 148px;
  resize: vertical;
  border: 1px dashed rgba(45, 107, 79, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
}

.copy-fallback[hidden] {
  display: none;
}

.pilot-review {
  display: grid;
  gap: 14px;
  border-left: 5px solid var(--eggplant);
  background-color: #f7f3f7;
  background-image: var(--paper-texture);
}

.pilot-checklist {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.pilot-checklist span {
  display: grid;
  gap: 4px;
  min-height: 58px;
  align-content: center;
  padding: 8px;
  border: 1px solid rgba(35, 37, 37, 0.11);
  border-top: 4px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
}

.pilot-checklist span.done {
  border-top-color: var(--basil);
  background: rgba(45, 107, 79, 0.08);
}

.pilot-checklist span.open {
  border-top-color: var(--mustard);
}

.pilot-checklist strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pilot-feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pilot-notes-label {
  grid-column: 1 / -1;
}

.pilot-notes-label textarea {
  min-height: 92px;
}

.pilot-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.pilot-actions .microcopy {
  grid-column: 1 / -1;
  margin: 0;
}

.budget-rescue {
  display: grid;
  gap: 14px;
}

.budget-rescue-list {
  display: grid;
  gap: 10px;
}

.rescue-feedback {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(45, 107, 79, 0.18);
  border-left: 5px solid var(--basil);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(45, 107, 79, 0.09), transparent 52%),
    #ffffff;
}

.rescue-feedback > span {
  color: var(--basil-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rescue-feedback > div {
  display: grid;
  gap: 7px;
}

.rescue-feedback article {
  display: grid;
  gap: 3px;
  padding: 8px;
  border: 1px solid rgba(35, 37, 37, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
}

.rescue-feedback article.swap {
  border-left: 4px solid var(--mustard);
}

.rescue-feedback article.pantry {
  border-left: 4px solid var(--basil);
}

.rescue-feedback article.store {
  border-left: 4px solid var(--eggplant);
}

.rescue-feedback strong {
  font-size: 13px;
  line-height: 1.25;
}

.rescue-feedback p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.stress-note {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(35, 37, 37, 0.12);
  border-left: 5px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.86);
}

.stress-note span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stress-note strong {
  font-size: 14px;
  line-height: 1.25;
}

.stress-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.stress-note.safe {
  border-left-color: var(--basil);
  background: rgba(45, 107, 79, 0.07);
}

.stress-note.warn,
.stress-note.empty {
  border-left-color: var(--mustard);
  background: rgba(209, 163, 58, 0.08);
}

.stress-note.blocked {
  border-left-color: var(--tomato);
  background: rgba(200, 70, 48, 0.06);
}

.budget-rescue-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 96px;
  padding: 13px;
  border: 1px dashed rgba(35, 37, 37, 0.18);
  border-left: 5px solid var(--mustard);
  background:
    linear-gradient(90deg, rgba(209, 163, 58, 0.08), transparent 42%),
    #ffffff;
}

.budget-rescue-row.passes,
.budget-rescue-row.steady {
  border-left-color: var(--basil);
}

.budget-rescue-row.blocked {
  border-left-color: var(--tomato);
}

.rescue-label {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--tomato);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.budget-rescue-row strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
  line-height: 1.25;
}

.budget-rescue-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.rescue-action {
  display: grid;
  justify-items: end;
  gap: 8px;
  min-width: 96px;
}

.rescue-action span {
  color: var(--basil-dark);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.rescue-action button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(35, 37, 37, 0.16);
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-size: 13px;
  font-weight: 850;
}

.recipe-inbox-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(300px, 1.2fr);
  gap: 12px;
  align-items: stretch;
}

.recipe-paste-label {
  align-content: start;
  gap: 8px;
}

.recipe-result {
  display: grid;
  gap: 14px;
  min-height: 254px;
  padding: 14px;
  border: 1px solid rgba(35, 37, 37, 0.13);
  border-left: 5px solid var(--muted);
  background-color: #fffdf8;
  background-image: var(--paper-texture);
  background-size: 480px 480px;
}

.recipe-result.safe {
  border-left-color: var(--basil);
}

.recipe-result.blocked {
  border-left-color: var(--tomato);
}

.import-summary strong {
  display: block;
  margin: 6px 0;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.05;
}

.import-summary p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.import-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.import-list {
  padding: 10px;
  border: 1px solid rgba(35, 37, 37, 0.1);
  background: rgba(255, 253, 248, 0.72);
}

.import-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}

.import-list ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.blocked-list {
  border-color: rgba(200, 70, 48, 0.2);
}

.import-swaps {
  padding: 10px 12px;
  border: 1px solid rgba(200, 70, 48, 0.22);
  border-left: 4px solid var(--tomato);
  background: rgba(200, 70, 48, 0.05);
}

.import-swaps strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

.import-swaps ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.import-swaps li {
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.import-cost,
.recipe-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.import-cost {
  padding-top: 10px;
  border-top: 1px solid rgba(35, 37, 37, 0.1);
  color: var(--muted);
  font-size: 13px;
}

.import-cost strong {
  color: var(--ink);
}

.recipe-actions {
  margin-top: 12px;
  flex-wrap: wrap;
}

.recipe-actions .microcopy {
  margin: 0;
}

.import-workflow-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 12px;
}

.import-step {
  display: grid;
  gap: 4px;
  min-height: 68px;
  padding: 10px;
  border: 1px solid rgba(35, 37, 37, 0.1);
  border-top: 4px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.import-step strong {
  color: var(--ink);
  font-size: 12px;
}

.import-step.done {
  border-top-color: var(--basil);
  background: rgba(45, 107, 79, 0.08);
}

.import-step.current {
  border-top-color: var(--mustard);
  background: rgba(209, 163, 58, 0.09);
}

.import-step.blocked {
  border-top-color: var(--tomato);
  background: rgba(200, 70, 48, 0.06);
}

.import-step.locked {
  opacity: 0.64;
}

.import-history {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.import-history-empty,
.import-history-head {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px dashed rgba(35, 37, 37, 0.16);
  border-left: 5px solid var(--mustard);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.84);
}

.import-history-empty > span,
.import-history-head span,
.import-history-card > span {
  color: var(--tomato);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.import-history-empty strong,
.import-history-head strong,
.import-history-card strong {
  font-size: 14px;
  line-height: 1.25;
}

.import-history-empty p,
.import-history-head p,
.import-history-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.import-history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.import-history-card {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(35, 37, 37, 0.12);
  border-left: 5px solid var(--eggplant);
  border-radius: 8px;
  background: #ffffff;
}

.import-history-card.on-board {
  border-left-color: var(--basil);
  background:
    linear-gradient(90deg, rgba(45, 107, 79, 0.08), transparent 48%),
    #ffffff;
}

.import-history-meta,
.import-history-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.import-history-meta span {
  min-height: 24px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(45, 107, 79, 0.1);
  color: var(--basil-dark);
  font-size: 11px;
  font-weight: 850;
}

.import-history-actions button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(35, 37, 37, 0.16);
  border-radius: 8px;
  background: var(--paper-strong);
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.import-history-actions button:first-child {
  background: var(--ink);
  color: #ffffff;
}

.import-history-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.compact-button {
  min-height: 42px;
  padding: 0 16px;
}

.planner-empty-state {
  display: grid;
  grid-column: 1 / -1;
  gap: 9px;
  padding: 14px;
  border: 1px dashed rgba(35, 37, 37, 0.18);
  border-left: 5px solid var(--mustard);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(209, 163, 58, 0.12), transparent 56%),
    #ffffff;
}

.planner-empty-state.warn,
.planner-empty-state.plan-error {
  border-left-color: var(--tomato);
}

.planner-empty-state span {
  color: var(--tomato);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.planner-empty-state strong {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.05;
}

.planner-empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.planner-empty-state div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.planner-empty-state button {
  min-height: 36px;
  border: 1px solid rgba(35, 37, 37, 0.16);
  border-radius: 8px;
  background: var(--paper-strong);
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.planner-empty-state button:first-child {
  background: var(--ink);
  color: #ffffff;
}

.app-shell.is-building .flow-coach,
.app-shell.is-building .profile-cockpit-card {
  box-shadow: inset 0 0 0 2px rgba(209, 163, 58, 0.24);
}

.dinner-ops-rail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(130px, 0.72fr);
  gap: 10px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(35, 37, 37, 0.12);
  border-left: 5px solid var(--basil);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(45, 107, 79, 0.09), transparent 56%),
    #ffffff;
}

.dinner-ops-main {
  display: grid;
  align-content: center;
  gap: 5px;
  min-width: 0;
}

.dinner-ops-main span,
.dinner-ops-counts span,
.dinner-mini-rail span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.dinner-ops-main > span {
  color: var(--tomato);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dinner-ops-main strong {
  font-size: 15px;
  line-height: 1.22;
}

.dinner-ops-main p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.dinner-ops-counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.dinner-ops-counts span {
  display: grid;
  min-height: 50px;
  place-items: center;
  padding: 7px;
  border: 1px solid rgba(35, 37, 37, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.84);
  text-align: center;
}

.dinner-ops-counts strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 22px;
  line-height: 0.95;
}

.dinner-mini-rail {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.dinner-mini-rail span {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid rgba(35, 37, 37, 0.1);
  border-top: 4px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.8);
  text-align: center;
  line-height: 1.2;
}

.dinner-mini-rail span.cooked {
  border-top-color: var(--basil);
  background: rgba(45, 107, 79, 0.08);
}

.dinner-mini-rail span.skipped {
  border-top-color: var(--tomato);
  background: rgba(200, 70, 48, 0.06);
}

.dinner-mini-rail span.leftover-saved {
  box-shadow: inset 0 -4px 0 rgba(79, 54, 95, 0.16);
}

.dinner-mini-rail strong {
  color: var(--ink);
  font-size: 12px;
}

.meal-grid {
  display: flex;
  gap: 12px;
  margin: 0 -14px;
  padding: 0 14px 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.meal-card {
  display: grid;
  flex: 0 0 min(330px, calc(100% - 38px));
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(35, 37, 37, 0.13);
  border-top: 5px solid var(--line);
  background: #ffffff;
  scroll-snap-align: center;
}

.meal-grid > .planner-empty-state {
  flex: 1 0 100%;
}

.meal-photo {
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(35, 37, 37, 0.08);
}

.meal-card.cooked .meal-photo img {
  filter: saturate(0.88) contrast(0.96);
}

.meal-card.skipped .meal-photo img {
  filter: grayscale(0.35) opacity(0.78);
}

.meal-card.cooked {
  border-top-color: var(--basil);
}

.meal-card.skipped {
  border-top-color: var(--tomato);
}

.meal-card.leftover-saved {
  box-shadow: inset 0 -5px 0 rgba(79, 54, 95, 0.12);
}

.meal-status-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dinner-status-pill {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 4px 7px;
  border: 1px solid rgba(35, 37, 37, 0.1);
  border-radius: 999px;
  background: rgba(35, 37, 37, 0.06);
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.meal-card.cooked .dinner-status-pill {
  background: rgba(45, 107, 79, 0.1);
  color: var(--basil-dark);
}

.meal-card.skipped .dinner-status-pill {
  background: rgba(200, 70, 48, 0.08);
  color: var(--tomato);
}

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

.pantry-card {
  display: grid;
  gap: 12px;
  min-height: 210px;
  padding: 14px;
  border: 1px solid rgba(35, 37, 37, 0.13);
  border-left: 5px solid var(--mustard);
  background: #ffffff;
}

.pantry-card.pantry-empty {
  grid-column: 1 / -1;
  min-height: 170px;
  border-left-color: var(--basil);
  background:
    linear-gradient(90deg, rgba(45, 107, 79, 0.09), transparent 52%),
    #ffffff;
}

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

.leftover-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 210px;
  padding: 14px;
  border: 1px solid rgba(35, 37, 37, 0.13);
  border-top: 5px solid var(--eggplant);
  background: #ffffff;
}

.leftover-impact {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.leftover-impact strong {
  color: var(--ink);
}

.pantry-lines {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.pantry-lines strong {
  color: var(--ink);
}

.meal-day {
  color: var(--tomato);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.meal-meta span {
  min-height: 24px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(45, 107, 79, 0.12);
  color: var(--basil-dark);
  font-size: 12px;
  font-weight: 800;
}

.trust-label {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 24px;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid rgba(45, 107, 79, 0.16);
  border-radius: 8px;
  background: rgba(45, 107, 79, 0.08);
  color: var(--basil-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.meal-reason {
  min-height: 58px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.family-fit-strip,
.detail-family-fit {
  display: grid;
  gap: 7px;
}

.family-fit-strip span,
.detail-family-fit span {
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid rgba(35, 37, 37, 0.1);
  border-left: 4px solid var(--line);
  background: rgba(255, 253, 248, 0.72);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.family-fit-strip span.match,
.detail-family-fit span.match {
  border-left-color: var(--basil);
}

.family-fit-strip span.watch,
.detail-family-fit span.watch {
  border-left-color: var(--mustard);
}

.family-fit-strip strong,
.detail-family-fit strong {
  color: var(--ink);
}

.meal-ingredients {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.meal-action {
  width: 100%;
}

.meal-actions {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 10px;
}

.dinner-status-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.dinner-status-actions button,
.dinner-status-actions span {
  display: grid;
  min-height: 38px;
  place-items: center;
  padding: 6px 7px;
  border: 1px solid rgba(35, 37, 37, 0.13);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.86);
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
}

.dinner-status-actions button.active {
  border-color: rgba(45, 107, 79, 0.2);
  background: rgba(45, 107, 79, 0.1);
  color: var(--basil-dark);
}

.drawer-backdrop,
.reset-backdrop,
.plus-backdrop,
.resource-backdrop,
.action-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(35, 37, 37, 0.38);
}

.drawer-backdrop[hidden],
.meal-drawer[hidden],
.reset-backdrop[hidden],
.reset-sheet[hidden],
.plus-backdrop[hidden],
.plus-preview-sheet[hidden],
.resource-backdrop[hidden],
.resource-sheet[hidden],
.action-backdrop[hidden],
.quick-action-sheet[hidden] {
  display: none;
}

.quick-action-sheet {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 50;
  display: grid;
  gap: 14px;
  width: min(410px, calc(100% - 24px));
  max-height: min(720px, calc(100vh - 36px));
  padding: 18px;
  overflow-y: auto;
  border: 1px solid rgba(35, 37, 37, 0.16);
  border-top: 6px solid var(--basil);
  border-radius: 8px;
  background-color: var(--paper-strong);
  background-image: var(--paper-texture);
  background-size: 480px 480px;
  box-shadow: 0 24px 70px rgba(35, 37, 37, 0.3);
  transform: translateX(-50%);
}

.quick-action-sheet header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.quick-action-sheet h2 {
  margin: 2px 0 0;
  font-size: 25px;
}

.quick-action-list {
  display: grid;
  gap: 8px;
}

.quick-action-list > button {
  display: grid;
  gap: 4px;
  min-height: 66px;
  padding: 11px 12px;
  border: 1px solid rgba(35, 37, 37, 0.13);
  border-left: 5px solid var(--basil);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  color: var(--ink);
  text-align: left;
}

.quick-action-list strong {
  font-size: 13px;
}

.quick-action-list span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.quick-action-list > .quick-action-danger {
  border-left-color: var(--tomato);
}

.quick-action-resources {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid rgba(35, 37, 37, 0.13);
  border-bottom: 1px solid rgba(35, 37, 37, 0.13);
}

.quick-action-resources > div {
  display: grid;
  gap: 3px;
}

.quick-action-resources strong {
  font-size: 13px;
}

.quick-action-resources span {
  color: var(--muted);
  font-size: 11px;
}

.resource-link-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.resource-link-list a,
.resource-restore {
  display: grid;
  place-items: center;
  min-height: 40px;
  border: 1px solid rgba(35, 37, 37, 0.16);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.9);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.resource-restore {
  width: 100%;
  color: var(--basil-dark);
}

.resource-sheet {
  position: fixed;
  inset: 18px;
  z-index: 55;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  width: min(680px, calc(100% - 36px));
  max-height: calc(100vh - 36px);
  margin: auto;
  padding: 16px;
  border: 1px solid rgba(35, 37, 37, 0.16);
  border-top: 6px solid var(--basil);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 0 24px 70px rgba(35, 37, 37, 0.3);
}

.resource-sheet header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.resource-sheet h2 {
  margin: 2px 0 0;
  font-size: 25px;
}

.resource-sheet iframe {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 1px solid rgba(35, 37, 37, 0.13);
  background: #fffdf8;
}

.plus-preview-sheet {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 50;
  display: grid;
  gap: 12px;
  width: min(410px, calc(100% - 24px));
  padding: 20px;
  border: 1px solid rgba(35, 37, 37, 0.16);
  border-top: 6px solid var(--basil);
  border-radius: 16px;
  background-color: var(--paper-strong);
  background-image: var(--paper-texture);
  background-size: 480px 480px;
  box-shadow: 0 24px 70px rgba(35, 37, 37, 0.3);
  transform: translateX(-50%);
}

.plus-preview-sheet h2,
.plus-preview-sheet p {
  margin-bottom: 0;
}

.plus-preview-sheet > p:not(.section-kicker) {
  color: var(--muted);
  line-height: 1.45;
}

.plus-preview-close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.plus-price-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.plus-price-row article {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(35, 37, 37, 0.13);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
}

.plus-price-row article.recommended {
  border-color: rgba(45, 107, 79, 0.42);
  box-shadow: inset 0 4px 0 var(--basil);
}

.plus-price-row span,
.plus-price-row small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.plus-price-row strong {
  font-size: 23px;
  font-variant-numeric: tabular-nums;
}

.plus-preview-note {
  font-size: 11px;
}

.meal-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-rows: auto 1fr;
  width: min(520px, 100%);
  height: 100vh;
  border-left: 1px solid rgba(35, 37, 37, 0.16);
  background: var(--paper-strong);
  box-shadow: -24px 0 70px rgba(35, 37, 37, 0.22);
}

.reset-sheet {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 50;
  display: grid;
  gap: 12px;
  width: min(390px, calc(100% - 32px));
  padding: 18px;
  border: 1px solid rgba(35, 37, 37, 0.16);
  border-radius: 16px;
  background: var(--paper-strong);
  box-shadow: 0 24px 70px rgba(35, 37, 37, 0.28);
  transform: translateX(-50%);
}

.reset-sheet h2 {
  margin-bottom: 0;
}

.reset-sheet p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.reset-actions {
  display: grid;
  gap: 9px;
}

.loss-button {
  min-height: 44px;
  border: 1px solid rgba(200, 70, 48, 0.24);
  border-radius: 8px;
  background: rgba(200, 70, 48, 0.08);
  color: var(--tomato);
  font-weight: 900;
}

.drawer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid rgba(35, 37, 37, 0.12);
}

.drawer-top h2 {
  margin-bottom: 0;
}

.icon-close {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  background: #ffffff;
  color: var(--ink);
}

.drawer-body {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px;
  overflow: auto;
}

.drawer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.drawer-meta span {
  min-height: 28px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(45, 107, 79, 0.12);
  color: var(--basil-dark);
  font-size: 12px;
  font-weight: 850;
}

.drawer-reason,
.drawer-section p {
  color: var(--muted);
  line-height: 1.55;
}

.drawer-section {
  padding: 16px;
  border: 1px solid rgba(35, 37, 37, 0.12);
  background: #ffffff;
}

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

.detail-columns strong {
  display: block;
  margin-bottom: 8px;
}

.detail-columns ul,
.step-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.step-list {
  display: grid;
  gap: 10px;
}

.grocery-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.price-summary {
  display: grid;
  grid-template-columns: minmax(150px, 0.78fr) minmax(180px, 1fr) minmax(160px, 0.92fr);
  align-items: end;
  gap: 14px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(35, 37, 37, 0.12);
  background: #ffffff;
}

.cart-total,
.value-anchor,
.store-progress {
  display: grid;
  gap: 4px;
}

.price-summary strong {
  display: block;
  margin: 3px 0 4px;
  font-family: var(--font-ui);
  font-size: 32px;
  line-height: 1;
}

.value-anchor {
  padding: 12px;
  border: 1px solid rgba(35, 37, 37, 0.1);
  border-left: 5px solid var(--mustard);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(209, 163, 58, 0.1), transparent 48%),
    rgba(255, 253, 248, 0.82);
}

.value-anchor > span {
  color: var(--tomato);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.value-anchor strong {
  color: var(--eggplant);
  font-size: 28px;
}

.store-progress {
  position: relative;
  align-self: stretch;
  align-content: end;
  padding: 12px;
  border-left: 5px solid var(--basil);
  background:
    linear-gradient(90deg, rgba(45, 107, 79, 0.1), transparent 52%),
    rgba(255, 253, 248, 0.82);
}

.store-progress > span {
  color: var(--basil-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-progress strong {
  color: var(--ink);
  font-size: 24px;
}

.store-progress button {
  width: max-content;
  min-height: 32px;
  margin-top: 6px;
  padding: 0 10px;
  border: 1px solid rgba(35, 37, 37, 0.16);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.store-progress button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.price-summary p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.estimate-basis {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(35, 37, 37, 0.18);
}

.estimate-basis-copy {
  display: grid;
  align-content: start;
  gap: 5px;
}

.estimate-basis-copy > span {
  color: var(--tomato);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.estimate-basis-copy > strong {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.2;
}

.estimate-basis-copy p,
.estimate-basis-copy small,
.price-calibration small {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.42;
}

.estimate-basis-copy small {
  color: var(--basil-dark);
  font-weight: 800;
}

.price-calibration {
  display: grid;
  gap: 8px;
  align-content: start;
}

.price-calibration label {
  display: grid;
  gap: 5px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.compact-money-input,
.compact-money-input input {
  min-height: 38px;
}

.price-calibration > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.price-calibration button {
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid rgba(35, 37, 37, 0.16);
  border-radius: 8px;
  background: var(--basil-dark);
  color: #ffffff;
  font-size: 11px;
  font-weight: 850;
}

.price-calibration button[data-clear-price-calibration] {
  background: #ffffff;
  color: var(--ink);
}

.price-calibration button:only-child {
  grid-column: 1 / -1;
}

.budget-meter {
  height: 14px;
  border: 1px solid rgba(35, 37, 37, 0.14);
  background: rgba(45, 107, 79, 0.1);
  overflow: hidden;
}

.budget-meter span {
  display: block;
  height: 100%;
  background: var(--basil);
}

.section-meter {
  height: 10px;
  border: 1px solid rgba(35, 37, 37, 0.14);
  border-radius: 999px;
  background: rgba(35, 37, 37, 0.07);
  overflow: hidden;
}

.section-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--basil);
  transition: width 180ms ease;
}

.grocery-section {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(35, 37, 37, 0.12);
  background: #ffffff;
}

.grocery-section.section-complete {
  border-color: rgba(45, 107, 79, 0.22);
  background:
    linear-gradient(90deg, rgba(45, 107, 79, 0.08), transparent 46%),
    #ffffff;
}

.grocery-section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.grocery-section h3 {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.grocery-section h3 span {
  color: var(--muted);
  font-size: 12px;
  font-family: var(--font-ui);
}

.grocery-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.grocery-section ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 0;
  color: var(--muted);
  list-style: none;
}

.grocery-section li {
  display: block;
}

.grocery-check-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 7px 8px;
  border: 1px solid rgba(35, 37, 37, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
}

.grocery-check-row input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  opacity: 0;
  pointer-events: none;
}

.grocery-checkmark {
  position: relative;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 2px solid rgba(35, 37, 37, 0.2);
  border-radius: 7px;
  background: #ffffff;
}

.grocery-checkmark::after {
  width: 9px;
  height: 5px;
  border-bottom: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  content: "";
  opacity: 0;
  transform: rotate(-45deg) translate(1px, -1px);
}

.grocery-check-row input:focus-visible + .grocery-checkmark {
  outline: 3px solid rgba(200, 70, 48, 0.45);
  outline-offset: 2px;
}

.grocery-check-row input:checked + .grocery-checkmark {
  border-color: var(--basil);
  background: var(--basil);
}

.grocery-check-row input:checked + .grocery-checkmark::after {
  opacity: 1;
}

.grocery-item-name {
  min-width: 0;
}

.grocery-section li.checked .grocery-item-name {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.grocery-section li.checked .grocery-check-row {
  background: rgba(45, 107, 79, 0.07);
}

.grocery-section li.just-checked .grocery-check-row {
  animation: cartItemLand 520ms cubic-bezier(0.18, 0.86, 0.26, 1.2);
}

.grocery-section li.just-unchecked .grocery-check-row {
  animation: cartItemReturn 300ms ease-out;
}

.grocery-section.just-completed {
  animation: aisleComplete 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.grocery-section.just-completed::after {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 8px;
  border: 2px solid var(--basil);
  color: var(--basil-dark);
  content: "Aisle complete";
  background: var(--paper-strong);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  transform: rotate(-3deg);
  animation: receiptStamp 920ms cubic-bezier(0.16, 0.84, 0.24, 1.24) both;
}

.price-summary.store-run-complete .store-progress {
  animation: storeRunComplete 820ms cubic-bezier(0.18, 0.86, 0.26, 1.18);
}

.price-summary.store-run-complete .store-progress::after {
  display: block;
  width: max-content;
  margin-top: 8px;
  padding: 5px 8px;
  border: 2px solid var(--basil);
  color: var(--basil-dark);
  content: "Ready for home";
  background: #ffffff;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  animation: receiptStamp 920ms cubic-bezier(0.16, 0.84, 0.24, 1.24) both;
}

.grocery-section li strong {
  color: var(--ink);
  font-size: 13px;
  white-space: nowrap;
}

[data-screen-panel] {
  display: none;
}

[data-screen-panel].active-screen {
  display: grid;
  animation: screenIn 180ms ease-out;
}

.control-panel[data-screen-panel].active-screen {
  display: grid;
}

.topbar-actions .state-pill {
  display: none;
}

.workspace,
[data-screen-panel].active-screen,
.form-grid,
.segmented-control,
.preference-grid,
.evening-ease,
.handoff-card-grid,
.handoff-actions,
.landing-stations,
.pilot-checklist,
.pilot-feedback-grid,
.pilot-actions,
.dinner-ops-rail,
.budget-rescue-row,
.recipe-inbox-grid,
.import-columns,
.import-history-grid,
.meal-grid,
.meal-actions,
.pantry-grid,
.leftover-grid,
.price-summary,
.grocery-list,
.detail-columns {
  grid-template-columns: 1fr;
}

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

.workspace {
  gap: 14px;
}

.evening-ease,
.tonight-handoff,
.pilot-review,
.budget-rescue,
.recipe-inbox,
.meal-board,
.pantry-sprint,
.leftover-board,
.grocery-board {
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(35, 37, 37, 0.07);
}

.control-panel,
.landing-counter,
.tonight-handoff,
.handoff-summary,
.handoff-card-grid article,
.pilot-review,
.dinner-ops-rail,
.dinner-ops-counts span,
.dinner-mini-rail span,
.budget-rescue-row,
.rescue-feedback,
.recipe-result,
.import-list,
.import-step,
.import-history-empty,
.import-history-head,
.import-history-card,
.meal-card,
.pantry-card,
.leftover-card,
.grocery-section,
.store-progress,
.price-summary,
.drawer-section {
  border-radius: 8px;
}

.budget-rescue-row {
  align-items: stretch;
}

.rescue-action {
  justify-items: stretch;
}

.rescue-action span {
  white-space: normal;
}

.counter-top {
  flex-direction: column;
}

.counter-top p {
  max-width: none;
  text-align: left;
}

.compact-button,
.meal-action {
  width: 100%;
}

.meal-drawer {
  top: 50%;
  right: 50%;
  width: min(430px, calc(100% - 24px));
  height: min(932px, calc(100vh - 24px));
  overflow: hidden;
  border: 1px solid rgba(35, 37, 37, 0.16);
  border-radius: 30px;
  transform: translate(50%, -50%);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 20;
  width: min(390px, calc(100% - 40px));
  padding: 13px 15px;
  border: 1px solid rgba(35, 37, 37, 0.14);
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.planner-layout {
  view-transition-name: planner-view;
}

::view-transition-group(planner-view) {
  animation-duration: 340ms;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

::view-transition-group(tab-indicator) {
  animation-duration: 420ms;
  animation-timing-function: cubic-bezier(0.18, 0.86, 0.26, 1.18);
}

::view-transition-group(meal-detail) {
  animation-duration: 460ms;
  animation-timing-function: cubic-bezier(0.18, 0.86, 0.26, 1);
}

html[data-nav-direction="forward"]::view-transition-old(planner-view) {
  animation: navOldForward 340ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

html[data-nav-direction="forward"]::view-transition-new(planner-view) {
  animation: navNewForward 340ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

html[data-nav-direction="back"]::view-transition-old(planner-view) {
  animation: navOldBack 340ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

html[data-nav-direction="back"]::view-transition-new(planner-view) {
  animation: navNewBack 340ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes buildStageIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cartItemLand {
  0% {
    transform: translateX(0) scale(1);
  }

  45% {
    transform: translateX(8px) scale(0.985);
  }

  100% {
    transform: translateX(0) scale(1);
  }
}

@keyframes cartItemReturn {
  from {
    opacity: 0.64;
    transform: translateX(-6px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes aisleComplete {
  0%, 100% {
    box-shadow: none;
  }

  45% {
    box-shadow: 0 0 0 5px rgba(45, 107, 79, 0.13);
  }
}

@keyframes storeRunComplete {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.025);
    box-shadow: 0 10px 26px rgba(45, 107, 79, 0.18);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes receiptStamp {
  0% {
    opacity: 0;
    transform: translateY(-8px) rotate(-8deg) scale(1.5);
  }

  55% {
    opacity: 1;
    transform: translateY(0) rotate(-3deg) scale(0.94);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotate(-3deg) scale(1);
  }
}

@keyframes navOldForward {
  to {
    opacity: 0;
    transform: translateX(-22px) scale(0.985);
  }
}

@keyframes navNewForward {
  from {
    opacity: 0;
    transform: translateX(28px) scale(0.985);
  }
}

@keyframes navOldBack {
  to {
    opacity: 0;
    transform: translateX(22px) scale(0.985);
  }
}

@keyframes navNewBack {
  from {
    opacity: 0;
    transform: translateX(-28px) scale(0.985);
  }
}

@keyframes screenIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .planner-layout {
    grid-template-columns: 1fr;
  }

  .control-panel {
    position: static;
  }

  .landing-stations {
    grid-template-columns: 1fr;
  }

  .dinner-ops-rail,
  .meal-grid,
  .recipe-inbox-grid,
  .pantry-grid,
  .leftover-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .section-heading,
  .recipe-actions,
  .import-cost {
    align-items: flex-start;
    flex-direction: column;
  }

  body {
    padding: 0;
  }

  .app-shell {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .topbar {
    position: relative;
    padding: calc(14px + env(safe-area-inset-top)) 14px 12px;
  }

  .topbar,
  .topbar-actions {
    align-items: center;
    flex-direction: row;
  }

  .planner-layout {
    padding: 12px;
  }

  .evening-ease,
  .handoff-card-grid,
  .handoff-actions,
  .form-grid,
  .segmented-control,
  .pilot-checklist,
  .pilot-feedback-grid,
  .pilot-actions,
  .budget-rescue-row,
  .meal-grid,
  .recipe-inbox-grid,
  .import-columns,
  .pantry-grid,
  .leftover-grid,
  .price-summary,
  .grocery-list {
    grid-template-columns: 1fr;
  }

  .counter-top {
    flex-direction: column;
  }

  .counter-top p {
    max-width: none;
    text-align: left;
  }

  .landing-stations {
    grid-template-columns: 1fr;
  }

  .rescue-action {
    justify-items: stretch;
  }

  .rescue-action span {
    white-space: normal;
  }

  .meal-actions,
  .dinner-status-actions,
  .detail-columns {
    grid-template-columns: 1fr;
  }

  .compact-button {
    width: 100%;
  }

  .meal-drawer {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    top: 0;
    right: 0;
    border-radius: 0;
    transform: none;
  }

  .toast {
    bottom: calc(76px + env(safe-area-inset-bottom));
    width: calc(100% - 24px);
  }

  .resource-sheet {
    inset: 0;
    width: 100%;
    max-width: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    padding: calc(14px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
  }
}

/* Calm 1.0.1 hierarchy: keep capability deep, make the next decision obvious. */
.flow-coach,
.evening-path,
.start-here[hidden],
.budget-rescue:not(.needs-attention),
.import-workflow-rail.is-idle {
  display: none !important;
}

.app-shell {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.topbar {
  min-height: 64px;
  padding-block: 10px;
}

.brand small {
  display: none;
}

.brand strong {
  font-size: 14px;
}

.planner-layout,
.workspace {
  min-width: 0;
}

.planner-layout {
  scrollbar-width: none;
}

.planner-layout::-webkit-scrollbar {
  display: none;
}

.workspace {
  gap: 10px;
}

.evening-ease {
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0;
  border: 0;
  background: #ffffff;
  box-shadow: none;
}

.landing-story {
  gap: 10px;
}

.landing-story > .section-heading {
  padding: 2px 2px 0;
}

.landing-story > .section-heading h2 {
  margin: 0;
  font-size: 25px;
}

.landing-next-move {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(35, 37, 37, 0.12);
  border-left: 0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(35, 37, 37, 0.09);
}

.tonight-meal-photo {
  display: block;
  width: 100%;
  height: clamp(190px, 46vw, 250px);
  margin: 0;
  overflow: hidden;
  background: #e8e4da;
}

.tonight-meal-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tonight-meal-copy {
  display: grid;
  gap: 7px;
  padding: 15px;
}

.tonight-meal-copy > span {
  color: var(--tomato);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.tonight-meal-copy > strong {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.04;
}

.tonight-meal-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.tonight-meal-meta,
.tonight-meal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tonight-meal-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.tonight-meal-actions {
  margin-top: 4px;
}

.tonight-meal-actions button {
  flex: 1 1 120px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(35, 37, 37, 0.16);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.tonight-meal-actions button:first-child {
  border-color: var(--basil-dark);
  background: var(--basil-dark);
  color: #ffffff;
}

.landing-counter.plan-proof {
  display: block;
  padding: 0;
  border: 1px solid rgba(35, 37, 37, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.plan-proof > summary,
.setup-disclosure > summary,
.setup-utility > summary,
.week-secondary > summary,
.tonight-handoff > summary,
.estimate-basis > summary,
.grocery-section > summary {
  cursor: pointer;
  list-style: none;
}

.plan-proof > summary::-webkit-details-marker,
.setup-disclosure > summary::-webkit-details-marker,
.setup-utility > summary::-webkit-details-marker,
.week-secondary > summary::-webkit-details-marker,
.tonight-handoff > summary::-webkit-details-marker,
.estimate-basis > summary::-webkit-details-marker,
.grocery-section > summary::-webkit-details-marker {
  display: none;
}

.plan-proof > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 11px 12px;
}

.plan-proof > summary strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 14px;
}

.plan-proof > summary .ease-promise {
  margin-top: 3px;
  font-size: 12px;
}

.plan-proof-body {
  display: grid;
  gap: 10px;
  padding: 0 12px 12px;
  border-top: 1px solid rgba(35, 37, 37, 0.09);
}

.plan-proof-body .checks-explainer {
  margin-top: 12px;
}

.plan-proof .plan-check-route {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.plan-proof .landing-stations {
  grid-template-columns: 1fr;
}

.plan-proof .landing-station {
  min-height: 0;
}

.tonight-handoff {
  display: block;
  padding: 0;
  border-left: 0;
  background: #ffffff;
  box-shadow: none;
}

.tonight-handoff > summary {
  position: relative;
  padding: 13px 14px;
}

.tonight-handoff > summary h2 {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 15px;
}

.tonight-handoff[open] > :not(summary) {
  margin-right: 14px;
  margin-left: 14px;
}

.tonight-handoff[open] .handoff-actions {
  margin-bottom: 14px;
}

.family-plus {
  padding: 14px;
  border-radius: 8px;
  box-shadow: none;
}

.family-plus-copy h2 {
  font-size: 19px;
}

.family-plus-benefits {
  display: none;
}

.setup-progress-card {
  gap: 8px;
  border-left-width: 3px;
}

.setup-progress-head strong {
  font-size: 20px;
}

.setup-momentum-list {
  display: none;
}

.setup-utility {
  display: block;
  padding: 0;
}

.setup-disclosure {
  display: block;
  padding: 0 0 0 16px;
}

.setup-disclosure::before {
  left: 2px;
  width: 3px;
}

.setup-utility > summary,
.setup-disclosure > summary {
  position: relative;
  display: grid;
  gap: 3px;
  min-height: 58px;
  align-content: center;
  padding: 10px 30px 10px 0;
}

.setup-utility > summary::after,
.setup-disclosure > summary::after,
.week-secondary > summary::after,
.tonight-handoff > summary::after,
.estimate-basis > summary::after,
.grocery-section > summary::after {
  position: absolute;
  right: 8px;
  top: 50%;
  content: "+";
  color: var(--muted);
  font-size: 20px;
  font-weight: 600;
  transform: translateY(-50%);
}

.setup-utility[open] > summary::after,
.setup-disclosure[open] > summary::after,
.week-secondary[open] > summary::after,
.tonight-handoff[open] > summary::after,
.estimate-basis[open] > summary::after,
.grocery-section[open] > summary::after {
  content: "-";
}

.setup-disclosure > summary span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.setup-disclosure > summary small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

.setup-disclosure[open],
.setup-utility[open] {
  padding-bottom: 14px;
}

.setup-disclosure[open] > summary,
.setup-utility[open] > summary {
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(35, 37, 37, 0.08);
}

.profile-cockpit-card {
  border-top-width: 3px;
  background: #ffffff;
}

.dinner-ops-rail {
  display: grid;
  gap: 7px;
  padding: 0;
  border: 0;
  border-left: 0;
  background: transparent;
}

.dinner-day-picker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.dinner-day-picker button {
  display: grid;
  gap: 3px;
  min-width: 0;
  min-height: 48px;
  place-items: center;
  padding: 6px 3px;
  border: 1px solid rgba(35, 37, 37, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  font-size: 10px;
}

.dinner-day-picker button:first-child,
.dinner-day-picker button.cooked {
  border-color: rgba(45, 107, 79, 0.25);
  background: rgba(45, 107, 79, 0.08);
  color: var(--basil-dark);
}

.dinner-day-picker strong {
  color: var(--ink);
  font-size: 12px;
}

.dinner-history-summary {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.meal-card .trust-label,
.meal-card .meal-reason,
.meal-card .family-fit-strip,
.meal-card .meal-ingredients {
  display: none;
}

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

.week-secondary {
  display: block;
  padding: 0;
  background: #ffffff;
  box-shadow: none;
}

.week-secondary:not(.active-screen),
.tonight-handoff:not(.active-screen) {
  display: none;
}

.week-secondary > summary {
  position: relative;
  padding: 13px 36px 13px 14px;
}

.week-secondary > summary h2 {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 15px;
}

.week-secondary[open] > div:last-child {
  padding: 0 14px 14px;
}

[data-screen-panel="store"].grocery-board {
  order: 1;
}

[data-screen-panel="store"].budget-rescue {
  order: 2;
}

.price-summary {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 10px;
  padding: 12px;
}

.price-summary strong {
  font-size: 26px;
}

.store-progress {
  padding: 9px 10px;
  border-left-width: 3px;
}

.store-progress strong {
  font-size: 17px;
}

.estimate-basis {
  grid-column: 1 / -1;
  padding: 0;
  border-top: 1px solid rgba(35, 37, 37, 0.1);
}

.estimate-basis > summary {
  position: relative;
  min-height: 42px;
  padding: 12px 32px 8px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.estimate-basis-content {
  display: grid;
  gap: 12px;
  padding-top: 8px;
}

.grocery-list {
  grid-template-columns: 1fr;
  gap: 8px;
}

.grocery-section {
  padding: 0;
  border-radius: 8px;
}

.grocery-section-head {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 62px;
  margin: 0;
  padding: 11px 36px 11px 12px;
}

.grocery-section > ul {
  padding: 0 10px 10px;
}

.grocery-section > summary::after {
  right: 13px;
}

.recipe-inbox-grid {
  grid-template-columns: 1fr;
}

.recipe-result.empty {
  display: none;
}

@media (max-width: 760px) {
  .topbar {
    min-height: 68px;
    padding: calc(14px + env(safe-area-inset-top)) 14px 10px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand strong {
    font-size: 13px;
  }

  .planner-layout {
    padding: 10px 12px 12px;
    overflow-x: hidden;
  }

  .evening-ease,
  .tonight-handoff,
  .family-plus,
  .meal-board,
  .week-secondary,
  .recipe-inbox,
  .grocery-board,
  .budget-rescue {
    border-radius: 8px;
  }

  .meal-board,
  .recipe-inbox,
  .grocery-board,
  .budget-rescue {
    padding: 14px;
  }

  .plan-proof .plan-check-route {
    grid-template-columns: 1fr;
  }

  .plan-proof .plan-route-step {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: 1fr;
    min-height: 44px;
    justify-items: start;
    text-align: left;
  }

  .price-summary {
    grid-template-columns: 1fr 1fr;
  }

  .estimate-basis {
    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;
  }
}

/* Sentence-case UI copy keeps the operational screens calm and easy to scan. */
.flow-coach-copy span,
.coach-rail span,
.profile-stat-grid span,
.demo-household-grid span,
.setup-step-label,
.field-label,
.micro-label,
label,
.setup-nudge span,
.family-member-top span,
.preference-lines span,
.counter-top span,
.check-step,
.check-state,
.landing-next-move span,
.plan-route-step small,
.handoff-card-grid span,
.rescue-feedback > span,
.stress-note span,
.rescue-label,
.import-history-empty > span,
.import-history-head span,
.import-history-card > span,
.planner-empty-state span,
.dinner-ops-main > span,
.meal-day,
.trust-label,
.value-anchor > span,
.store-progress > span,
.estimate-basis-copy > span {
  letter-spacing: 0;
  text-transform: none;
}

.setup-progress-head strong,
.counter-top strong,
.dinner-ops-counts strong,
.price-summary strong,
.value-anchor strong,
.store-progress strong {
  font-variant-numeric: tabular-nums;
}

/* Hybrid navigation 1.1: stable destinations, guided setup, focused details. */
.setup-journey {
  position: static;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 0 2px 88px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.setup-journey-header {
  position: sticky;
  top: -10px;
  z-index: 4;
  display: grid;
  gap: 12px;
  margin: -10px -2px 0;
  padding: 16px 2px 12px;
  border-bottom: 1px solid rgba(35, 37, 37, 0.1);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(12px);
}

.setup-journey-header h1 {
  max-width: 310px;
  margin: 2px 38px 3px 0;
  font-size: 27px;
  line-height: 1.05;
}

.setup-journey-header p:not(.section-kicker) {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.setup-journey-header > .icon-close {
  position: absolute;
  top: 14px;
  right: 2px;
}

.setup-journey-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
}

.setup-journey-steps button {
  display: grid;
  grid-template-columns: 22px minmax(0, auto);
  gap: 4px;
  min-width: 0;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 5px 3px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.setup-journey-steps button span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(35, 37, 37, 0.18);
  border-radius: 50%;
  background: #ffffff;
  font-size: 10px;
}

.setup-journey-steps button.active {
  border-bottom-color: var(--basil);
  color: var(--basil-dark);
}

.setup-journey-steps button.active span,
.setup-journey-steps button.complete span {
  border-color: var(--basil);
  background: var(--basil);
  color: #ffffff;
}

.setup-journey .setup-intro,
.setup-journey .setup-momentum {
  display: none;
}

.setup-journey .panel-section,
.setup-journey .setup-build-actions {
  min-width: 0;
  margin: 0;
}

.setup-journey .setup-disclosure {
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(35, 37, 37, 0.1);
}

.setup-journey .setup-disclosure::before {
  display: none;
}

.setup-journey .setup-disclosure > summary {
  padding-left: 0;
}

.setup-journey [data-setup-step][hidden] {
  display: none !important;
}

.setup-review {
  order: 1;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(35, 37, 37, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.setup-review-heading {
  display: flex;
  gap: 10px;
  align-items: start;
  justify-content: space-between;
}

.setup-review-heading p,
.setup-review-heading strong {
  margin: 0;
}

.setup-review-grid {
  display: grid;
  border-top: 1px solid rgba(35, 37, 37, 0.1);
}

.setup-review-grid button {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 3px 10px;
  min-width: 0;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(35, 37, 37, 0.1);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.setup-review-grid button span {
  grid-row: 1 / span 2;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.setup-review-grid button strong,
.setup-review-grid button small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.setup-review-grid button strong {
  font-size: 13px;
}

.setup-review-grid button small {
  color: var(--muted);
  font-size: 11px;
}

.setup-review-note {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.setup-build-actions {
  order: 2;
  display: grid;
  gap: 8px;
}

.setup-journey .setup-utility {
  order: 3;
}

.setup-journey-nav {
  position: absolute;
  right: 12px;
  bottom: calc(72px + env(safe-area-inset-bottom));
  left: 12px;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(78px, auto) 1fr minmax(78px, auto);
  gap: 8px;
  align-items: center;
  padding: 11px 2px 8px;
  border-top: 1px solid rgba(35, 37, 37, 0.1);
  background: var(--paper);
}

.app-shell[data-active-screen="setup"] .planner-layout {
  padding-bottom: 98px;
}

.setup-journey-nav button {
  width: auto;
}

.setup-journey-steps button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.setup-build-actions .primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.week-complete-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(46, 105, 79, 0.2);
  border-radius: 8px;
  background: #eef5ef;
}

.week-complete-action div {
  display: grid;
  gap: 3px;
}

.week-complete-action span {
  color: var(--basil-deep);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.week-complete-action strong {
  font-size: 14px;
  line-height: 1.25;
}

.week-complete-action button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--basil);
  color: #ffffff;
  font-weight: 800;
}

@media (max-width: 420px) {
  .week-complete-action {
    grid-template-columns: 1fr;
  }

  .week-complete-action button {
    width: 100%;
  }
}

.setup-journey-nav span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-align: center;
}

.today-week-strip {
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(35, 37, 37, 0.11);
  border-radius: 8px;
  background: #ffffff;
}

.today-week-heading {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.today-week-heading > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.today-week-heading span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.today-week-heading strong {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.today-week-heading button {
  flex: 0 0 auto;
  padding: 7px 9px;
  border: 0;
  background: transparent;
  color: var(--basil-dark);
  font-size: 11px;
  font-weight: 850;
}

.today-week-days {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  min-width: 0;
}

.today-week-days > button {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 0 0 6px;
  overflow: hidden;
  border: 1px solid rgba(35, 37, 37, 0.1);
  border-radius: 7px;
  background: var(--paper-strong);
  color: var(--muted);
  text-align: center;
}

.today-week-photo {
  width: 100%;
  height: 42px;
  margin: 0;
  overflow: hidden;
  background: var(--cool);
}

.today-week-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.today-week-days span,
.today-week-days strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.today-week-days span {
  font-size: 9px;
  font-weight: 800;
}

.today-week-days strong {
  padding-inline: 2px;
  color: var(--ink);
  font-size: 9px;
}

.today-week-days button.cooked {
  border-color: rgba(45, 107, 79, 0.35);
  background: rgba(45, 107, 79, 0.08);
}

.week-progress-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(35, 37, 37, 0.1);
  border-radius: 8px;
  background: #ffffff;
}

.week-progress-summary > div:first-child {
  display: grid;
  gap: 2px;
}

.week-progress-summary span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.week-progress-summary strong {
  font-size: 13px;
}

.meal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  overflow: visible;
  scroll-snap-type: none;
}

.meal-card {
  display: grid;
  gap: 0;
  width: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(35, 37, 37, 0.11);
  background: #ffffff;
  box-shadow: none;
  scroll-snap-align: none;
}

.week-meal-open {
  display: grid;
  grid-template-columns: 38px 68px minmax(0, 1fr) 14px;
  gap: 9px;
  min-width: 0;
  align-items: center;
  padding: 9px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.week-meal-day {
  display: grid;
  gap: 1px;
  text-align: center;
}

.week-meal-day strong {
  color: var(--basil-dark);
  font-size: 12px;
}

.week-meal-day small {
  color: var(--muted);
  font-size: 10px;
}

.week-meal-open .meal-photo {
  width: 68px;
  height: 62px;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--cool);
}

.week-meal-open .meal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.week-meal-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.week-meal-copy > strong {
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.2;
}

.week-meal-copy > small {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.week-meal-copy .dinner-status-pill {
  width: max-content;
  max-width: 100%;
  padding: 2px 5px;
  font-size: 8px;
}

.week-meal-chevron {
  color: var(--muted);
  font-size: 20px;
}

.week-meal-actions,
.meal-card .dinner-status-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 7px 9px;
  border-top: 1px solid rgba(35, 37, 37, 0.08);
}

.week-meal-actions {
  justify-content: space-between;
  background: rgba(251, 247, 239, 0.65);
}

.week-meal-actions span {
  color: var(--muted);
  font-size: 10px;
}

.week-meal-actions .meal-action,
.meal-card .dinner-status-actions button {
  width: auto;
  min-height: 30px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 10px;
}

.meal-card .dinner-status-actions {
  justify-content: flex-end;
  padding-top: 0;
  border-top: 0;
  background: rgba(251, 247, 239, 0.65);
}

.meal-card .dinner-status-actions span {
  margin-right: auto;
  color: var(--muted);
  font-size: 10px;
}

.price-summary {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  padding: 10px;
}

.price-summary .cart-total,
.price-summary .store-progress {
  min-width: 0;
}

.price-summary .cart-total strong {
  font-size: 23px;
}

.price-summary .cart-total p {
  font-size: 10px;
  line-height: 1.35;
}

.store-run-dock {
  position: absolute;
  right: 12px;
  bottom: calc(72px + env(safe-area-inset-bottom));
  left: 12px;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 10px 10px 10px 12px;
  border: 1px solid rgba(35, 37, 37, 0.16);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 10px 28px rgba(35, 37, 37, 0.16);
  backdrop-filter: blur(14px);
}

.app-shell:not([data-active-screen="store"]) .store-run-dock {
  display: none;
}

.app-shell[data-active-screen="store"] .planner-layout {
  padding-bottom: 104px;
}

.store-run-dock-progress,
.store-run-dock-total {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.store-run-dock span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
}

.store-run-dock strong {
  min-width: 0;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-run-dock-total {
  padding-left: 10px;
  border-left: 1px solid rgba(35, 37, 37, 0.12);
}

.store-run-dock button {
  min-height: 34px;
  padding: 7px 9px;
  border: 0;
  border-radius: 6px;
  background: var(--basil);
  color: #ffffff;
  font-size: 10px;
  font-weight: 850;
}

.store-run-dock.complete button {
  background: var(--ink);
}

@media (max-width: 370px) {
  .setup-journey-steps button {
    grid-template-columns: 22px;
    font-size: 0;
  }

  .today-week-days {
    gap: 4px;
  }

  .week-meal-open {
    grid-template-columns: 32px 58px minmax(0, 1fr) 12px;
    gap: 7px;
    padding-inline: 7px;
  }

  .week-meal-open .meal-photo {
    width: 58px;
    height: 56px;
  }

  .store-run-dock-total {
    display: none;
  }
}
