:root {
  --paper: #f6f5ef;
  --surface: #fffef9;
  --ink: #283c30;
  --muted: #6b7468;
  --line: #dfe2d6;
  --green: #3c5d45;
  --soft: #e9efdf;
  --gold: #f1e5c6;
  --error: #a6392c;
  --radius: 15px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
  line-height: 1.55;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
input,
select,
textarea {
  min-width: 0;
  max-width: 100%;
  color: var(--ink);
}
a {
  color: var(--green);
  text-underline-offset: 4px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #86a66c;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
.serif {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
h1 {
  font-size: clamp(32px, 3vw, 46px);
  letter-spacing: -1.2px;
  line-height: 1.12;
}
h2 {
  font-size: 27px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 16px;
}
small,
.small {
  font-size: 13px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.9px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.brand {
  font-family: Georgia, serif;
  font-size: 35px;
  font-style: italic;
  letter-spacing: -2px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
}
.brand .icon {
  width: 29px;
  height: 29px;
}
.topbar {
  height: 85px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 35px;
  background: var(--surface);
}
.topright {
  display: flex;
  align-items: center;
  gap: 22px;
}
.household {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.shell {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  min-height: calc(100vh - 85px);
}
.sidebar {
  border-right: 1px solid var(--line);
  padding: 29px 17px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: sticky;
  top: 0;
  align-self: start;
  height: calc(100vh - 85px);
}
.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--muted);
  min-height: 47px;
  border-radius: 9px;
  padding: 10px 15px;
  font-size: 13px;
}
.nav[aria-current="page"] {
  color: var(--green);
  background: var(--soft);
  font-weight: 650;
}
.nav:hover {
  background: var(--soft);
}
.nav .badge {
  margin-left: auto;
}
.sidebar-foot {
  margin-top: auto;
  padding: 30px 14px 0;
}
.sidebar-foot p {
  font:
    italic 22px/1.3 Georgia,
    serif;
}
.sidebar-foot .small {
  margin-top: 13px;
}
.content {
  width: 100%;
  max-width: 1300px;
  min-width: 0;
  padding: 43px 48px 72px;
}
.heading {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  margin-bottom: 29px;
}
.heading h1 {
  margin: 8px 0 11px;
}
.heading p {
  color: var(--muted);
  max-width: 640px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 16px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
  white-space: normal;
}
.button:hover {
  border-color: #93a18b;
  background: #f1f3e9;
}
.primary {
  background: var(--green);
  border-color: var(--green);
  color: #fffef9;
}
.primary:hover {
  background: #2d4935;
  color: #fffef9;
}
.quiet {
  background: transparent;
  border-color: transparent;
  padding-inline: 7px;
}
.small-button {
  font-size: 12px;
  padding: 7px 10px;
  min-height: 36px;
}
.icon-button {
  width: 44px;
  min-width: 44px;
  padding: 10px;
}
.danger {
  color: var(--error);
}
.row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.between {
  justify-content: space-between;
}
.stack {
  display: grid;
  gap: 18px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.panel,
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 23px;
  min-width: 0;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.card h2 {
  font-size: 27px;
}
.card p {
  color: var(--muted);
  font-size: 13px;
}
.card .card-end {
  margin-top: auto;
  padding-top: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.card a.title {
  color: var(--ink);
  text-decoration: none;
}
.card a.title:hover {
  text-decoration: underline;
}
.soft {
  background: var(--soft);
}
.warm {
  background: var(--gold);
}
.callout {
  border-radius: 10px;
  padding: 16px 20px;
  background: var(--soft);
  margin-bottom: 22px;
  font-size: 13px;
}
.callout.warning {
  background: var(--gold);
}
.callout .icon {
  vertical-align: middle;
  margin-right: 8px;
}
.tag,
.badge {
  font-size: 10px;
  letter-spacing: 0.4px;
  background: var(--soft);
  color: var(--green);
  border-radius: 5px;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 650;
}
.tag.warm {
  background: var(--gold);
  color: #785d24;
}
.tag.neutral {
  background: #f0f1e9;
  color: var(--muted);
}
.meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}
.meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.meta .icon {
  width: 15px;
  height: 15px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 31px 0 17px;
}
.section-heading h2 {
  font-size: 25px;
}
.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 35px;
  align-items: center;
  border-radius: 19px;
  background: var(--soft);
  padding: 33px;
  margin-bottom: 24px;
  overflow: hidden;
}
.hero h2 {
  font-size: 35px;
  line-height: 1.14;
  margin: 10px 0 14px;
  max-width: 470px;
}
.hero p {
  font-size: 13px;
  max-width: 400px;
  color: #52644e;
}
.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 170px;
}
.plate {
  width: 172px;
  height: 172px;
  border: 2px solid #8f9f7b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow:
    0 0 0 13px #e2e9d4,
    0 0 0 14px #adba9b;
  transform: rotate(-15deg);
}
.plate .icon {
  width: 100px;
  height: 100px;
  stroke: #708b56;
  stroke-width: 0.8;
}
.plate:after {
  content: "A little less waste.\A A little more joy.";
  white-space: pre;
  position: absolute;
  right: -32px;
  bottom: -28px;
  font:
    italic 17px/1.25 Georgia,
    serif;
  color: #657852;
  transform: rotate(15deg);
}
.filters {
  display: grid;
  gap: 17px;
}
.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.field {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 550;
  min-width: 0;
}
.field input,
.field select,
.field textarea,
.input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  min-height: 44px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 400;
}
.field textarea {
  resize: vertical;
  line-height: 1.65;
  min-height: 110px;
}
.field .help {
  font-weight: 400;
  color: var(--muted);
  font-size: 11px;
}
.check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  cursor: pointer;
}
.check input {
  width: 19px;
  height: 19px;
  accent-color: var(--green);
  flex-shrink: 0;
}
.chips {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.chips .check {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 24px;
  padding: 8px 13px;
  min-height: 42px;
}
.chips .check:has(input:checked) {
  background: var(--soft);
  border-color: #a5b695;
}
.chips input {
  width: 16px;
  height: 16px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.form-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.divider {
  height: 1px;
  border: 0;
  background: var(--line);
  margin: 20px 0;
}
.list-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.list-row:last-child {
  border-bottom: 0;
}
.grow {
  flex: 1;
  min-width: 0;
}
.list-row .actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.list-row p,
.list-row small {
  color: var(--muted);
  font-size: 12px;
}
.list-row.done .item-title {
  text-decoration: line-through;
  color: var(--muted);
}
.avatar {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  flex-shrink: 0;
}
.number {
  font-family: Georgia, serif;
  font-size: 40px;
  line-height: 1.2;
}
.stat {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.ingredient {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
  font-size: 14px;
}
.ingredient:last-child {
  border: 0;
}
.amount {
  font-weight: 600;
  white-space: nowrap;
}
.recipe-columns {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.4fr);
  gap: 30px;
  align-items: start;
}
.recipe-columns .method {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: steps;
}
.method li {
  counter-increment: steps;
  position: relative;
  padding: 0 0 24px 38px;
  white-space: pre-wrap;
}
.method li:before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 3px;
  font-size: 11px;
  font-weight: 650;
  color: #8a987e;
}
.source-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.7;
  max-height: 450px;
  overflow: auto;
}
.source-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: contain;
  background: white;
  border-radius: 8px;
}
.review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 24px;
  align-items: start;
}
.source-pane {
  position: sticky;
  top: 20px;
  max-height: 90vh;
  overflow: auto;
}
.source-pane h3 {
  margin-bottom: 16px;
}
.empty {
  text-align: center;
  padding: 45px 24px;
  display: grid;
  gap: 13px;
  justify-items: center;
}
.empty .icon {
  width: 36px;
  height: 36px;
  color: #839878;
}
.empty p {
  max-width: 400px;
  color: var(--muted);
  font-size: 13px;
}
.empty h2 {
  font-size: 28px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.note {
  border-left: 3px solid #97aa82;
  padding: 6px 0 6px 15px;
  font-size: 13px;
  margin: 13px 0;
}
.note p {
  white-space: pre-wrap;
}
.note small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}
.timeline {
  display: grid;
  gap: 12px;
}
.day {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  padding: 20px;
  display: grid;
  grid-template-columns: 85px minmax(0, 1fr);
  gap: 15px;
}
.day-name {
  font-family: Georgia, serif;
  font-size: 24px;
}
.day small {
  color: var(--muted);
}
.timer {
  background: var(--gold);
  border: 1px solid #e7d5a6;
  border-radius: 11px;
  padding: 14px 18px;
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
}
.timer strong {
  font-variant-numeric: tabular-nums;
  font-size: 21px;
}
.timer.ready {
  border-color: var(--error);
}
.timer.ready strong {
  color: var(--error);
}
.task-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 145px 40px;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.task-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
}
.task-row select {
  font-size: 12px;
  min-height: 40px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 5px;
}
.task-row.done .task-title {
  text-decoration: line-through;
  color: var(--muted);
}
.progress {
  height: 7px;
  border-radius: 10px;
  background: var(--line);
  overflow: hidden;
  margin: 13px 0;
}
.progress-fill {
  height: 100%;
  background: var(--green);
}
progress {
  width: 100%;
  height: 10px;
  accent-color: var(--green);
}
.upload {
  border: 1.5px dashed #b3bea8;
  border-radius: 12px;
  min-height: 200px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 14px;
  padding: 25px;
  background: #f8f9f2;
}
.upload input {
  max-width: 100%;
  font-size: 12px;
}
.upload .icon {
  width: 34px;
  height: 34px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background: var(--ink);
  color: #fffef9;
  box-shadow: 0 8px 28px #20301b24;
  border-radius: 10px;
  padding: 13px 20px;
  max-width: min(630px, 92vw);
  font-size: 13px;
  display: flex;
  gap: 15px;
  align-items: center;
}
.toast[hidden] {
  display: none;
}
.toast.error {
  background: #873b30;
}
.toast button {
  background: none;
  color: inherit;
  border: 0;
  font-weight: 650;
  text-decoration: underline;
  padding: 6px;
}
.error-message {
  color: var(--error);
  font-size: 13px;
  white-space: pre-wrap;
}
.busy {
  opacity: 0.65;
  pointer-events: none;
}
.sync-note {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 10px 20px;
  background: var(--gold);
  font-size: 12px;
  text-align: center;
}
.sync-note[hidden] {
  display: none;
}
.loading {
  padding: 80px;
  text-align: center;
  color: var(--muted);
}
.skip {
  position: absolute;
  left: 10px;
  top: -100px;
  background: var(--surface);
  z-index: 50;
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
.login {
  max-width: 430px;
  margin: 10vh auto;
  padding: 30px;
}
.nowrap {
  white-space: nowrap;
}
details summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 550;
  padding: 10px 0;
}
details[open] summary {
  margin-bottom: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th,
td {
  text-align: left;
  padding: 12px 9px;
  border-bottom: 1px solid var(--line);
}
th {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.cost-unknown {
  color: #856326;
}
.shopping-quantity {
  min-width: 60px;
  text-align: right;
}
.inline-number {
  width: 85px !important;
}
.spacer {
  margin-top: 24px;
}
.preline {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 23px;
}
.search-bar input {
  flex: 1;
}
.pill-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 22px;
}
.pill-nav a {
  padding: 8px 14px;
  min-height: 40px;
  border-radius: 20px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 12px;
}
.pill-nav a.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
@media (min-width: 1500px) {
  .content {
    margin-inline: auto;
  }
}
@media (max-width: 1050px) {
  .content {
    padding: 30px 26px 60px;
  }
  .shell {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .sidebar {
    padding-inline: 10px;
  }
  .nav {
    padding-inline: 12px;
  }
  .grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    gap: 25px;
    padding: 27px;
  }
  .plate {
    width: 130px;
    height: 130px;
  }
  .plate .icon {
    width: 75px;
    height: 75px;
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
  .source-pane {
    position: static;
    max-height: none;
    order: -1;
  }
  .source-pane img {
    max-height: 300px;
  }
  .source-pane pre {
    max-height: 200px;
  }
  .form-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 73px;
    padding: 0 20px;
  }
  .topright {
    gap: 8px;
  }
  .household {
    display: none;
  }
  .brand {
    font-size: 30px;
  }
  .shell {
    display: block;
    min-height: calc(100vh - 73px);
  }
  .sidebar {
    position: static;
    height: auto;
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 8px 12px;
    gap: 3px;
    scrollbar-width: thin;
  }
  .nav {
    flex-shrink: 0;
    padding: 9px 12px;
    min-height: 44px;
    font-size: 12px;
    gap: 7px;
  }
  .nav .icon {
    width: 17px;
    height: 17px;
  }
  .sidebar-foot {
    display: none;
  }
  .content {
    padding: 27px 20px 80px;
  }
  .heading {
    align-items: flex-start;
    margin-bottom: 24px;
  }
  .heading h1 {
    font-size: 34px;
  }
  .heading p {
    font-size: 13px;
  }
  .hero {
    grid-template-columns: 1fr 0.4fr;
    padding: 25px;
    gap: 10px;
  }
  .hero h2 {
    font-size: 29px;
  }
  .hero-art {
    min-height: 150px;
  }
  .plate {
    width: 90px;
    height: 90px;
    box-shadow:
      0 0 0 7px #e2e9d4,
      0 0 0 8px #adba9b;
  }
  .plate .icon {
    width: 57px;
    height: 57px;
  }
  .plate:after {
    font-size: 12px;
    right: -12px;
    bottom: -38px;
  }
  .recipe-columns {
    grid-template-columns: 1fr;
  }
  .grid,
  .grid.three {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .panel,
  .card {
    padding: 19px;
  }
  .card h2 {
    font-size: 24px;
  }
  .task-row {
    grid-template-columns: 22px minmax(0, 1fr) 110px 32px;
    gap: 8px;
  }
  .form-grid.three {
    grid-template-columns: 1fr 1fr;
  }
  .toast {
    bottom: 16px;
  }
  .day {
    grid-template-columns: 65px minmax(0, 1fr);
    padding: 16px;
    gap: 12px;
  }
  .day-name {
    font-size: 21px;
  }
  .topbar .button {
    padding: 9px 12px;
  }
  .topbar .button .icon {
    width: 17px;
    height: 17px;
  }
  .table-wrap {
    margin-inline: -5px;
  }
  input,
  textarea,
  select,
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  .content {
    padding-inline: 16px;
  }
  .topbar {
    padding-inline: 16px;
  }
  .grid,
  .grid.three {
    grid-template-columns: 1fr;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 23px;
  }
  .hero-art {
    display: none;
  }
  .form-grid,
  .form-grid.three,
  .form-grid.four {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .heading {
    flex-wrap: wrap;
  }
  .heading .actions {
    width: 100%;
  }
  .panel,
  .card {
    padding: 18px;
  }
  .task-row {
    grid-template-columns: 22px minmax(0, 1fr) 34px;
  }
  .task-row select {
    grid-column: 2;
    grid-row: 2;
  }
  .task-row .remove-task {
    grid-column: 3;
    grid-row: 1;
  }
  .source-pane {
    padding: 14px;
  }
  .day {
    grid-template-columns: 1fr;
  }
  .day > div:first-child {
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .form-grid .mobile-full {
    grid-column: 1/-1;
  }
  .section-heading {
    flex-wrap: wrap;
  }
  .stat {
    padding-left: 12px;
  }
  .number {
    font-size: 33px;
  }
  .filter-grid {
    gap: 10px;
  }
  .card-end .button {
    flex: 1;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .button,
  .nav {
    transition:
      background 0.15s ease,
      border-color 0.15s ease;
  }
  .card {
    animation: appear 0.25s ease;
  }
  @keyframes appear {
    from {
      opacity: 0;
      transform: translateY(4px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
