@font-face {
  font-family: Inter;
  src: url("/assets/inter-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #fff;
  --blue: #2854ce;
  --butter: #fff1c5;
  --ink: #202124;
  --muted: #575c67;
  --line: #dcdfe5;
  --wash: #f5f6f8;
  --blue-soft: #eaf0ff;
  --blue-strong: #2147b6;
  --radius: 20px;
  --control-radius: 8px;
  --serif: var(--sans);
  --sans: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
  font-optical-sizing: auto;
  font-size: 15px;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
a[href] {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.58;
}
a {
  color: var(--blue);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
img {
  max-width: 100%;
  display: block;
}
svg {
  vertical-align: middle;
  flex-shrink: 0;
}
button {
  border: 0;
}
input,
select,
textarea {
  min-width: 0;
}
[hidden] {
  display: none !important;
}
.skiplink {
  position: absolute;
  top: -100px;
  left: 20px;
  background: white;
  padding: 12px;
  z-index: 20;
}
.skiplink:focus {
  top: 5px;
}
.masthead {
  border-bottom: 1px solid var(--line);
}
.mast-in {
  width: min(1152px, calc(100% - 80px));
  margin: auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
  font-weight: 750;
  font-size: 32px;
  letter-spacing: -2.1px;
}
.brand-dot {
  color: var(--blue);
}
.topnav {
  display: flex;
  gap: 8px;
}
.nav-link,
.account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  gap: 8px;
  text-decoration: none;
}
.topnav .nav-link,
.account-link {
  padding: 12px 14px;
  border-radius: 100px;
  font-size: 14px;
}
.topnav .nav-link[aria-current="page"] {
  background: #e9edfb;
  color: var(--blue);
  font-weight: 700;
}
.account-link {
  border: 1px solid var(--line);
  color: var(--ink);
  min-height: 43px;
}
.account-link[aria-current="page"] {
  color: var(--blue);
  border-color: var(--blue);
}
.dock {
  display: none;
}
main {
  width: min(1152px, calc(100% - 80px));
  margin: 0 auto;
  padding: 36px 0 64px;
  outline: none;
}
.loading,
.empty {
  padding: 42px 0;
  color: var(--muted);
}
.heading-line {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 24px;
}
.heading-line h1,
.shop-head h1,
.sheet-inside h2 {
  font: 400 clamp(42px, 5vw, 72px) / 1.04 var(--serif);
  letter-spacing: -0.058em;
}
.eyeline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 7px;
}
.week-range {
  font: 400 clamp(28px, 3.8vw, 58px) / 1.04 var(--serif);
  color: var(--blue);
  letter-spacing: -0.055em;
  text-align: right;
}
.bttn,
.round,
.link-btn,
.week-row,
.swap-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
}
.bttn {
  border: 1px solid var(--line);
  border-radius: 9px;
  min-height: 44px;
  padding: 10px 15px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  color: var(--ink);
}
.bttn.primary {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}
.bttn.light {
  background: var(--paper);
}
.round {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 21px;
  flex-shrink: 0;
}
.link-btn {
  color: var(--blue);
  min-height: 44px;
  padding: 5px 0;
  font-weight: 650;
}
.bttn:not(:disabled):hover,
.round:hover {
  box-shadow: 0 0 0 1px currentColor inset;
}
.menu-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.85fr);
  gap: 30px;
  align-items: start;
}
.main-column,
.side-column {
  min-width: 0;
}
.side-column {
  display: grid;
  gap: 20px;
}
.days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  padding: 8px 0;
  gap: 6px;
  margin-bottom: 18px;
}
.day {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-direction: column;
  min-height: 59px;
  padding: 5px 2px;
  background: transparent;
  border-radius: 9px;
  position: relative;
  color: var(--muted);
}
.day small {
  font-size: 11px;
}
.day strong {
  font-size: 18px;
  font-weight: 650;
}
.day.has-plan:after {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--blue);
  border-radius: 50%;
  position: absolute;
  bottom: 2px;
}
.day[aria-pressed="true"] {
  background: var(--blue);
  color: white;
}
.day[aria-pressed="true"]:after {
  background: white;
}
.dish-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  background: #f1f2e9;
  margin: 0 0 18px;
}
.feature-photo {
  width: 100%;
  height: 100%;
  min-height: 288px;
  object-fit: cover;
}
.feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px 23px;
  gap: 10px;
}
.meal-label {
  font-size: 12px;
  font-weight: 700;
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--blue);
}
.feature-copy h2 {
  font: 400 clamp(30px, 3.1vw, 47px) / 1.02 var(--serif);
  letter-spacing: -0.047em;
}
.recipe-anchor {
  color: inherit;
  text-decoration: none;
}
.recipe-anchor:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.dish-meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.feature-copy .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 8px;
}
.feature-copy .round {
  background: transparent;
}
.week-list h2,
.aside-notes h2,
.purchase-list h2,
.free-day h2,
.prev-week summary {
  font: 400 29px/1.15 var(--serif);
  letter-spacing: -0.035em;
}
.week-list h2,
.aside-notes h2 {
  margin: 22px 0 8px;
}
.week-row {
  width: 100%;
  background: transparent;
  text-align: left;
  justify-content: flex-start;
  padding: 11px 0;
  gap: 13px;
  border-bottom: 1px solid var(--line);
}
.week-row:hover .row-title {
  text-decoration: underline;
}
.week-row img {
  width: 64px;
  height: 54px;
  object-fit: cover;
  border-radius: 7px;
}
.row-text {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 3px;
}
.row-title {
  font-weight: 650;
}
.row-detail,
.caption {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}
.week-row > svg {
  color: var(--blue);
}
.budget-panel {
  background: var(--butter);
  border-radius: 14px;
  padding: 23px;
  overflow: hidden;
  position: relative;
}
.budget-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}
.budget-head svg {
  width: 28px;
  height: 28px;
}
.budget-number {
  font: 400 clamp(34px, 3.7vw, 54px) / 1.08 var(--serif);
  letter-spacing: -0.055em;
  margin-top: 17px;
}
.budget-note {
  padding: 6px 0;
  color: #484b30;
  font-size: 13px;
  line-height: 1.4;
}
.meter {
  height: 5px;
  background: #d8c981;
  border-radius: 3px;
  overflow: hidden;
  margin: 9px 0;
}
.meter i {
  display: block;
  height: 100%;
  background: var(--blue);
}
.budget-panel .link-btn {
  margin-top: 3px;
  justify-content: space-between;
  width: 100%;
  border-top: 1px solid #d2c68d;
}
.budget-panel .credit {
  margin-top: 8px;
}
.credit {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.credit a {
  color: inherit;
}
.aside-notes {
  padding: 0 3px;
}
.aside-notes h2 {
  margin-top: 0;
}
.setting-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  color: inherit;
  text-decoration: none;
}
.setting-line > span {
  display: flex;
  gap: 10px;
  align-items: center;
}
.setting-line svg {
  color: var(--blue);
}
.setting-line small {
  color: var(--muted);
}
.free-day {
  background: var(--wash);
  padding: 30px;
  border-radius: 14px;
}
.free-day p {
  margin: 8px 0;
}
.prev-week {
  padding: 18px 0;
}
.prev-week summary {
  cursor: pointer;
}
.prev-week p {
  margin: 10px 0;
}
.shop-head {
  margin-bottom: 21px;
}
.shop-head .eyeline {
  margin-bottom: 10px;
}
.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.75fr);
  gap: 40px;
  align-items: start;
}
.shop-layout .side-column {
  position: sticky;
  top: 18px;
}
.purchase-list h2 {
  font-size: 25px;
  margin: 22px 0 4px;
}
.purchase-list section:first-child h2 {
  margin-top: 0;
}
.shop-row {
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.shop-row > .shop-check {
  width: 44px;
  min-width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: transparent;
  color: var(--blue);
}
.shop-check span {
  display: grid;
  place-items: center;
  border: 1.5px solid #788574;
  width: 23px;
  height: 23px;
  border-radius: 7px;
}
.shop-check.done span {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.shop-row .row-text {
  padding-top: 2px;
}
.shop-row .price-tag {
  padding-top: 4px;
  font-weight: 650;
  font-size: 14px;
  white-space: nowrap;
}
.shop-row details {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.shop-row details summary {
  padding: 5px 0;
  color: var(--blue);
  cursor: pointer;
}
.shop-row .row-text p {
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.manual-form {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}
.manual-form input {
  flex: 1;
  background: #fff;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.small-action {
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  padding: 4px 0;
  min-height: 44px;
}
.offline-flag,
#connection {
  padding: 10px 18px;
  color: #564b17;
  background: var(--butter);
  font-size: 13px;
  text-align: center;
}
.sheet-inside {
  position: relative;
  padding: 30px;
}
.sheet-inside h2 {
  font-size: 35px;
  padding-right: 42px;
  margin-bottom: 10px;
}
.sheet-inside > button {
  position: absolute;
  right: 13px;
  top: 13px;
}
.sheet-inside p {
  color: var(--muted);
  line-height: 1.5;
}
.swap-option {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.swap-option img {
  width: 58px;
  height: 56px;
  border-radius: 7px;
  object-fit: cover;
}
.sheet-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 9px 0;
}
dialog {
  background: var(--paper);
  color: var(--ink);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  width: min(510px, calc(100% - 24px));
  max-height: 82dvh;
}
dialog::backdrop {
  background: #101b1a78;
}
body:has(dialog[open]) {
  overflow: hidden;
}
#toast {
  position: fixed;
  z-index: 50;
  bottom: 23px;
  left: 50%;
  transform: translateX(-50%);
  background: #1c3028;
  color: white;
  border-radius: 10px;
  padding: 12px 18px;
  text-align: center;
  font-size: 14px;
  max-width: 90%;
  width: max-content;
  box-shadow: 0 4px 24px #0002;
}
@media (max-width: 900px) {
  .mast-in,
  main {
    width: calc(100% - 44px);
  }
  .mast-in {
    gap: 12px;
  }
  .topnav {
    gap: 0;
  }
  .topnav .nav-link {
    padding: 10px;
  }
  .menu-layout,
  .shop-layout {
    gap: 20px;
  }
  .dish-feature {
    grid-template-columns: 1fr;
  }
  .feature-photo {
    height: 240px;
    min-height: 0;
  }
  .feature-copy {
    padding: 19px;
  }
  .feature-copy .actions {
    margin: 0;
  }
}
@media (max-width: 700px) {
  .mast-in,
  main {
    width: calc(100% - 36px);
  }
  .mast-in {
    min-height: 61px;
  }
  .brand {
    font-size: 26px;
    gap: 6px;
    letter-spacing: -1.5px;
  }
  .brand img {
    width: 41px;
    height: 34px;
  }
  .topnav,
  .account-label {
    display: none;
  }
  .account-link {
    padding: 0;
    width: 44px;
    height: 44px;
    border-color: transparent;
  }
  .account-link svg {
    width: 23px;
    height: 23px;
  }
  .dock {
    position: fixed;
    z-index: 8;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 4px 7px max(5px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--paper);
  }
  .dock .nav-link {
    flex-direction: column;
    gap: 3px;
    font-size: 10.5px;
    font-weight: 600;
    min-height: 48px;
  }
  .dock .nav-link[aria-current="page"] {
    color: var(--blue);
  }
  main {
    padding: 22px 0 90px;
  }
  .heading-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 15px;
  }
  .heading-line h1,
  .shop-head h1 {
    font-size: 42px;
  }
  .heading-line .eyeline {
    margin-bottom: 6px;
  }
  .week-range {
    font: 400 17px/1.25 var(--sans);
    letter-spacing: -0.025em;
  }
  .menu-layout,
  .shop-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .main-column,
  .side-column,
  .purchase-list {
    width: 100%;
  }
  .days {
    gap: 3px;
    margin-bottom: 13px;
    padding: 4px 0;
  }
  .day {
    min-height: 52px;
    gap: 2px;
  }
  .day strong {
    font-size: 16px;
  }
  .dish-feature {
    grid-template-columns: 1fr;
    margin-bottom: 12px;
  }
  .feature-photo {
    height: auto;
    aspect-ratio: 1.78;
    object-position: 50% 51%;
  }
  .feature-copy {
    padding: 15px 17px;
    gap: 6px;
  }
  .feature-copy h2 {
    font-size: 33px;
    line-height: 1.05;
  }
  .feature-copy .actions {
    padding-top: 4px;
  }
  .week-list h2 {
    font-size: 27px;
    margin: 15px 0 3px;
  }
  .budget-panel {
    padding: 19px;
  }
  .budget-number {
    font-size: 39px;
    margin-top: 9px;
  }
  .shop-layout .side-column {
    position: static;
    order: -1;
  }
  .shop-layout .budget-panel .credit {
    margin-top: 2px;
  }
  .shop-layout {
    gap: 24px;
  }
  .shop-row {
    gap: 6px;
  }
  .sheet-inside {
    padding: 22px 18px;
  }
  .shop-row .price-tag {
    font-size: 13px;
  }
  #toast {
    bottom: calc(74px + env(safe-area-inset-bottom));
  }
}
@media (prefers-reduced-motion: no-preference) {
  .bttn,
  .nav-link,
  .day {
    transition:
      background 0.12s,
      color 0.12s;
  }
}
.pocket {
  display: none;
}
.feature-visual {
  min-width: 0;
  display: block;
  align-self: stretch;
}
.close-sheet {
  background: var(--paper);
}
.shop-row span.shop-check {
  min-width: 44px;
}
.example-edit {
  margin-left: 5px;
  font-size: 12px;
}
.taste-screen {
  max-width: 510px;
  margin: auto;
}
.taste-screen h1 {
  font: 400 44px/1.06 var(--serif);
  letter-spacing: -0.045em;
  margin: 8px 0;
}
.taste-count {
  color: var(--muted);
  margin: 5px 0 13px;
}
.taste-card {
  border-radius: 14px;
  overflow: hidden;
  background: var(--wash);
  touch-action: pan-y;
}
.taste-card img {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
}
.taste-copy {
  padding: 16px 20px;
}
.taste-copy span {
  color: var(--blue);
  font-size: 12px;
}
.taste-copy h2,
.taste-end h2 {
  font: 400 30px/1.1 var(--serif);
  letter-spacing: -0.03em;
  margin: 5px 0;
}
.taste-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 13px 0 0;
}
.taste-end {
  max-width: 450px;
}
.taste-end img {
  max-height: 160px;
  margin: 16px 0;
}
.taste-end p {
  line-height: 1.5;
  margin: 10px 0 16px;
}
.taste-end .bttn {
  margin: 0 8px 8px 0;
}
.actual-form {
  display: grid;
  gap: 16px;
  margin: 19px 0 0;
}
.actual-form label {
  display: grid;
  gap: 5px;
  font-size: 14px;
}
.actual-form input {
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
  padding: 10px;
}
@media (max-width: 700px) {
  .pocket {
    display: flex;
    align-items: center;
    gap: 8px;
    border-block: 1px solid var(--line);
    padding: 11px 0;
    min-height: 44px;
    color: var(--blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: 650;
  }
  .pocket span {
    flex: 1;
  }
  .shop-layout .setting-line {
    padding: 6px 0;
  }
  .shop-layout .side-column {
    gap: 6px;
  }
}
@media (max-width: 700px) {
  .shop-layout {
    gap: 14px;
  }
  .shop-head {
    margin-bottom: 14px;
  }
  .shop-head h1 {
    font-size: 38px;
  }
  .shop-budget {
    padding: 12px 15px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3px 9px;
    align-items: baseline;
  }
  .shop-budget .budget-head {
    grid-column: 1/-1;
    font-size: 12px;
  }
  .shop-budget .budget-head svg {
    width: 19px;
    height: 19px;
  }
  .shop-budget .budget-number {
    font-size: 32px;
    margin: 0;
    white-space: nowrap;
  }
  .shop-budget .budget-note {
    font-size: 12px;
    padding: 0;
  }
  .shop-budget .meter,
  .shop-budget .budget-note:last-of-type,
  .shop-budget .credit,
  .shop-budget .meter + .budget-note {
    grid-column: 1/-1;
  }
  .shop-budget .credit {
    font-size: 10px;
  }
  .shop-budget .meter {
    margin: 2px 0;
    height: 3px;
  }
  .shop-row {
    padding: 5px 0;
    align-items: center;
  }
  .shop-row .row-text {
    gap: 1px;
  }
  .shop-row details {
    margin: 0;
  }
  .shop-row details summary {
    padding: 4px 0;
  }
  .purchase-list h2 {
    margin: 15px 0 3px;
    font-size: 23px;
  }
  .shop-layout .side-column .setting-line {
    min-height: 44px;
  }
  .shop-layout .side-column {
    gap: 1px;
  }
  .example-edit {
    margin-left: auto;
  }
  .pocket {
    font-variant-numeric: tabular-nums;
  }
}
.compare-stores{background:none;font:inherit;cursor:pointer}.compare-option{padding-block:13px}.compare-option>b{white-space:nowrap}
