@charset "UTF-8";
:root {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: #293c34;
  background: #f6f4ee;
  font-size: 14px;
  font-synthesis: none;
  --paper: #f6f4ee;
  --panel: #fffefa;
  --ink: #293c34;
  --muted: #6c756b;
  --line: #e3e5dc;
  --green: #2d4139;
  --soft: #e9eee6;
  --orange: #b86a42;
  --danger: #a33f33;
  --radius: 20px;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
body:has(dialog[open]) {
  overflow: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #b68450;
  outline-offset: 3px;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 50;
  background: var(--green);
  color: white;
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.app-shell {
  display: flex;
  min-height: 100dvh;
}
.sidebar {
  width: 224px;
  flex-shrink: 0;
  background: #fdfcf8;
  border-right: 1px solid var(--line);
  padding: 38px 22px 24px;
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  text-decoration: none;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -1px;
}
.brand img {
  border-radius: 14px;
}
.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1px;
}
.nav-caption {
  font-size: 11px;
  color: #9a9f95;
  margin: 58px 14px 15px;
  letter-spacing: 1.5px;
}
.main-nav {
  display: grid;
  gap: 8px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  border-radius: 12px;
  padding: 14px;
  color: #737d72;
  font-weight: 550;
  transition: background 0.2s;
}
.nav-item:hover {
  background: #f0f1e9;
}
.nav-item[aria-current="page"] {
  background: var(--green);
  color: #fffefa;
}
.nav-item .nav-count {
  margin-left: auto;
  font-size: 11px;
  opacity: 0.75;
}
.sidebar-bottom {
  margin-top: auto;
  font-size: 11px;
  color: var(--muted);
  padding: 28px 10px 0;
}
.local-indicator {
  display: flex;
  gap: 7px;
  align-items: center;
}
.local-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #83a179;
}
.sidebar-bottom p {
  margin-top: 22px;
  color: #a0a399;
}
.install-link {
  border: 0;
  background: transparent;
  padding: 15px 0 0;
  color: var(--green);
  font-size: 12px;
}
.workspace {
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 88px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 46px;
  gap: 12px;
}
.topbar #page-label {
  font-size: 13px;
  color: var(--muted);
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 23px;
}
.connection-status {
  font-size: 11px;
  color: var(--muted);
}
.button {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 11px;
  padding: 11px 17px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 550;
  line-height: 1.5;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover {
  background: #ecefe6;
}
.button:active {
  transform: translateY(1px);
}
.button.primary {
  background: var(--green);
  color: var(--panel);
  border-color: var(--green);
}
.button.primary:hover {
  background: #425a4e;
}
.button.warm {
  background: #efe4d5;
  border-color: transparent;
  color: #7f5331;
}
.button.ghost {
  background: transparent;
  border-color: transparent;
  font-weight: 400;
  color: var(--muted);
}
.button.small {
  padding: 8px 12px;
  font-size: 12px;
  min-height: 40px;
}
.button.danger {
  color: var(--danger);
  border-color: #e8cdc6;
  background: #fff9f6;
}
.button.full {
  width: 100%;
}
.mobile-brand,
.mobile-nav {
  display: none;
}
#main {
  max-width: 1260px;
  margin: auto;
  padding: 42px 46px 24px;
  outline: none;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #8d977f;
  margin-bottom: 13px;
}
.eyebrow svg {
  width: 15px;
  height: 15px;
}
h1 {
  font-size: 35px;
  font-weight: 650;
  letter-spacing: -1.4px;
  line-height: 1.4;
}
.intro p {
  color: var(--muted);
  margin-top: 11px;
  line-height: 1.8;
  font-size: 13px;
}
.date-stamp {
  border-left: 1px solid #d9ddcf;
  padding-left: 22px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  text-align: right;
  flex-shrink: 0;
}
.date-stamp strong {
  display: block;
  font-size: 26px;
  font-weight: 450;
  color: var(--ink);
  letter-spacing: 1px;
}
.filter-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 19px 22px;
  background: #fbfaf6;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}
.filter-field {
  display: grid;
  gap: 7px;
  flex: 1;
  min-width: 120px;
}
.filter-field span {
  font-size: 11px;
  color: var(--muted);
}
.filter-field select {
  min-height: 38px;
  border: 0;
  padding: 6px 24px 6px 0;
  color: var(--ink);
  background: transparent;
  width: 100%;
  font-weight: 550;
  cursor: pointer;
}
.filter-tail {
  display: grid;
  gap: 11px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}
.switch-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}
.switch-label input {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
  margin: 0;
}
.section-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 30px 0 17px;
}
.section-line h2 {
  font-size: 16px;
  font-weight: 600;
}
.section-line .meta {
  margin-left: 9px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.section-line button {
  color: var(--muted);
}
.choices-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.choice-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 23px 22px 15px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.choice-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #d6dfc6;
}
.choice-card:nth-child(2)::before {
  background: #dfcbb5;
}
.choice-card:nth-child(3)::before {
  background: #cfdbdd;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}
.food-token {
  height: 64px;
  width: 64px;
  background: #edf0e4;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: #6d8158;
  font-size: 30px;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}
.choice-card:nth-child(2) .food-token {
  background: #f5ede2;
}
.choice-card:nth-child(3) .food-token {
  background: #eaf0ee;
}
.card-number {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #a8ad9f;
  padding-top: 5px;
}
.choice-card h3 {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.5px;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.card-subline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}
.dot-divider {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #a9afa0;
}
.price {
  font-size: 16px;
  color: var(--ink);
  font-weight: 550;
}
.price small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.dish-box {
  padding: 15px 0 14px;
  margin: 17px 0 3px;
  border-top: 1px dashed #e2e5da;
  line-height: 1.7;
  min-height: 77px;
  overflow-wrap: anywhere;
}
.dish-box span {
  font-size: 10px;
  color: #949c8b;
  display: block;
  letter-spacing: 1px;
  margin-bottom: 3px;
}
.tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.tag {
  background: #f0f2e9;
  border-radius: 5px;
  padding: 4px 7px;
  font-size: 10px;
  color: #78856d;
  line-height: 1.4;
}
.tag.wanted {
  background: #f6ebde;
  color: #a47646;
}
.tag.paused {
  background: #f0ebe8;
  color: #9b8272;
}
.card-reason {
  font-size: 11px;
  color: var(--muted);
  margin: 17px 0 18px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.card-reason svg {
  width: 13px;
  height: 13px;
}
.choice-actions {
  margin-top: auto;
}
.skip-choice {
  width: 100%;
  margin-top: 3px;
  font-size: 11px;
  min-height: 36px;
}
.more-line {
  display: flex;
  justify-content: center;
  margin-top: 17px;
}
.tip-line {
  text-align: center;
  font-size: 11px;
  color: #90998a;
  line-height: 1.8;
  margin: 12px 0 0;
}
.empty-state {
  background: var(--panel);
  border: 1px dashed #d6ddcc;
  border-radius: 20px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 38px 24px;
  text-align: center;
}
.empty-art {
  height: 85px;
  width: 85px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf0e4;
  margin-bottom: 22px;
}
.empty-art svg {
  height: 42px;
  width: 42px;
  stroke-width: 1.2;
  color: #7b8d69;
}
.empty-state h2 {
  font-size: 21px;
  line-height: 1.5;
  font-weight: 550;
}
.empty-state p {
  margin: 12px 0 22px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 380px;
  font-size: 13px;
}
.empty-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.welcome-note {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 26px 0 8px;
}
.welcome-note article {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}
.step-number {
  font-size: 11px;
  color: #98a38b;
  border: 1px solid #dce2d0;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.welcome-note strong {
  font-size: 12px;
  font-weight: 550;
}
.welcome-note p {
  font-size: 11px;
  line-height: 1.8;
  color: #959d8c;
  margin-top: 5px;
}
.recent-strip {
  border: 1px solid var(--line);
  background: #efeee5;
  padding: 19px 22px;
  border-radius: 15px;
  margin-top: 29px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.recent-strip .recent-copy {
  flex: 1;
  min-width: 0;
}
.recent-strip .overline {
  font-size: 10px;
  color: #949982;
  margin-bottom: 5px;
  display: block;
  letter-spacing: 1px;
}
.recent-strip strong {
  font-size: 13px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.recent-strip p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.recent-strip svg {
  color: #929c82;
}
.page-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 20px 46px 28px;
  max-width: 1260px;
  margin: auto;
  font-size: 10px;
  color: #a1a695;
}
.page-footer button {
  border: 0;
  background: transparent;
  font-size: 11px;
  color: #85917b;
  min-height: 36px;
}
.notice {
  margin: 15px 46px 0;
  padding: 12px 16px;
  background: #f2eadc;
  border: 1px solid #e8dcc8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  line-height: 1.8;
  font-size: 12px;
  color: #8d6038;
}
.notice.error {
  background: #fff0e9;
  color: #9d4838;
  border-color: #ecd7cc;
}
.notice button {
  flex-shrink: 0;
}
.demo-banner {
  background: #e9eddf;
  color: #657850;
  border-color: #d7dfc9;
}
.collection-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 24px 0 18px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 0 14px;
  border-radius: 11px;
  min-height: 46px;
  flex: 1;
  min-width: 180px;
}
.search-box svg {
  width: 17px;
  color: #8e9984;
}
.search-box input {
  background: transparent;
  border: 0;
  outline: none;
  min-width: 0;
  width: 100%;
  padding: 13px 0;
  color: var(--ink);
  font-size: 14px;
}
.search-box:focus-within {
  outline: 2px solid #b68450;
  outline-offset: 1px;
}
.status-tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.status-tabs button {
  border: 0;
  background: transparent;
  padding: 10px 13px;
  border-radius: 9px;
  min-height: 42px;
  color: #7f8976;
  font-size: 12px;
}
.status-tabs button[aria-pressed="true"] {
  background: #e5ebdc;
  color: var(--ink);
  font-weight: 600;
}
.store-list {
  display: grid;
  gap: 12px;
}
.store-row {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.store-row .food-token {
  height: 50px;
  width: 50px;
  flex-shrink: 0;
  border-radius: 15px;
  font-size: 23px;
}
.store-row-copy {
  min-width: 0;
  flex: 1;
}
.store-row h3 {
  font-size: 16px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.store-row p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin: 5px 0 6px;
  overflow-wrap: anywhere;
}
.store-row .tags {
  gap: 5px;
}
.store-row .row-budget {
  font-size: 17px;
  flex-shrink: 0;
  min-width: 48px;
}
.row-budget small {
  font-size: 11px;
  display: block;
  color: var(--muted);
  font-weight: 400;
}
.row-actions {
  display: flex;
  gap: 5px;
}
.icon-button {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  min-height: 42px;
  min-width: 42px;
  display: grid;
  place-items: center;
  color: #78836e;
}
.icon-button:hover {
  background: #f0f2ea;
}
.history-heading {
  font-size: 12px;
  color: #969c8b;
  margin: 25px 0 12px;
  font-weight: 400;
}
.history-row {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 15px;
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 12px;
}
.history-row .history-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.history-copy {
  flex: 1;
  min-width: 0;
}
.history-copy h3 {
  font-size: 16px;
  overflow-wrap: anywhere;
}
.history-copy p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.8;
}
.history-status {
  font-size: 11px;
  color: #708565;
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.settings-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 25px;
}
.settings-card.wide {
  grid-column: 1/-1;
}
.settings-card h2 {
  font-size: 17px;
  margin: 14px 0 12px;
  font-weight: 550;
}
.settings-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 18px;
}
.settings-card .setting-icon {
  height: 40px;
  width: 40px;
  background: var(--soft);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #718364;
}
.settings-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.stats-line {
  display: flex;
  gap: 24px;
  margin: 22px 0;
}
.stats-line strong {
  display: block;
  font-size: 25px;
  font-weight: 450;
}
.stats-line span {
  font-size: 11px;
  color: var(--muted);
}
.install-steps {
  padding-left: 21px;
  line-height: 2.3;
  color: var(--muted);
  font-size: 13px;
}
.storage-note {
  font-size: 11px;
  color: #9a9f90;
  line-height: 1.9;
  margin-top: 22px;
}
dialog {
  border: 1px solid #e1e4d8;
  border-radius: 23px;
  background: var(--panel);
  color: var(--ink);
  padding: 0;
  max-width: 580px;
  width: calc(100% - 32px);
  max-height: calc(100dvh - 48px);
  box-shadow: 0 24px 100px #20372b30;
}
dialog::backdrop {
  background: #26352a66;
  backdrop-filter: blur(4px);
}
.dialog-header {
  padding: 25px 27px 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.dialog-header h2 {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.6px;
}
.dialog-header p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin-top: 7px;
}
.dialog-body {
  padding: 5px 27px 25px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 15px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: #68775f;
  min-width: 0;
}
.field.wide {
  grid-column: 1/-1;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #dfe3d4;
  border-radius: 10px;
  background: #fffefa;
  color: var(--ink);
  padding: 12px 13px;
  min-height: 45px;
  font-size: 16px;
  outline-offset: 2px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #acb29f;
}
.field small {
  font-size: 10px;
  color: #939c87;
  line-height: 1.7;
}
.field-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.field-label em {
  font-style: normal;
  color: #9aa18e;
  font-size: 10px;
}
.tag-choices {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.tag-choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.tag-choice span {
  display: block;
  background: #f1f3ea;
  border: 1px solid #e2e7d6;
  border-radius: 8px;
  padding: 8px 11px;
  font-size: 12px;
  color: #7b876f;
  cursor: pointer;
  min-height: 36px;
}
.tag-choice input:checked + span {
  background: #e2ebd6;
  color: #4c663e;
  border-color: #aabd8e;
}
.tag-choice input:focus-visible + span {
  outline: 3px solid #b68450;
  outline-offset: 2px;
}
.form-more {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.form-more summary {
  color: #7d8b70;
  font-size: 12px;
  cursor: pointer;
  padding: 3px 0 10px;
}
.form-more .form-grid {
  margin-top: 8px;
}
.form-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
}
.form-footer .form-buttons {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.form-error {
  color: #a34e38;
  background: #fff0e8;
  border: 1px solid #ead3c2;
  border-radius: 9px;
  padding: 10px 12px;
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.7;
}
.detail-name {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.detail-name h3 {
  font-size: 23px;
  overflow-wrap: anywhere;
}
.detail-name p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 5px;
}
.detail-facts {
  display: grid;
  gap: 17px;
  margin-top: 20px;
}
.detail-facts dt {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 7px;
}
.detail-facts dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.detail-facts a {
  color: #627748;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dialog-copy {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}
.dialog-highlight {
  border-radius: 13px;
  background: #edf1e5;
  padding: 18px;
  margin: 18px 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.radio-option {
  display: flex;
  gap: 11px;
  padding: 13px 0;
  color: var(--ink);
  font-size: 13px;
  align-items: flex-start;
}
.radio-option input {
  accent-color: var(--green);
  margin-top: 4px;
}
.radio-option small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  margin-top: 4px;
}
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: var(--green);
  color: #fffefa;
  border: 1px solid #5d7166;
  padding: 13px 20px;
  box-shadow: 0 8px 30px #152d2126;
  border-radius: 12px;
  font-size: 13px;
  max-width: min(90%, 540px);
  line-height: 1.8;
  text-align: center;
}
.toast[hidden] {
  display: none;
}
.noscript {
  padding: 30px;
  background: #fff1d8;
  position: fixed;
  bottom: 0;
  width: 100%;
}
.loading-state {
  padding: 80px;
  text-align: center;
  color: var(--muted);
}
.skeleton-slot {
  border: 1px dashed #d9dfce;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  padding: 30px;
  min-height: 300px;
  color: #9da68f;
  text-align: center;
  font-size: 12px;
  line-height: 2;
}
.skeleton-slot svg {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
}
.reaction-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}
.reaction-buttons .button {
  flex: 1;
}
.muted {
  color: var(--muted);
}
.nowrap {
  white-space: nowrap;
}
.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;
}
.button svg {
  height: 17px;
  width: 17px;
}
.inline-link {
  border: 0;
  background: transparent;
  color: #5f754b;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 12px;
}
.backup-status {
  font-size: 11px;
  color: var(--muted);
  margin-top: 13px;
  line-height: 1.8;
}
@media (min-width: 1500px) {
  #main {
    padding-top: 58px;
  }
  .intro {
    margin-bottom: 40px;
  }
  .choices-grid {
    gap: 22px;
  }
  .choice-card {
    padding: 28px 26px 18px;
  }
  .card-top {
    margin-bottom: 32px;
  }
  .choice-card h3 {
    font-size: 23px;
  }
  .dish-box {
    margin-top: 22px;
  }
  .card-reason {
    margin-bottom: 24px;
  }
  .topbar {
    padding-left: 60px;
    padding-right: 60px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 192px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .brand {
    font-size: 22px;
  }
  .brand small {
    font-size: 9px;
  }
  .topbar {
    padding: 0 28px;
  }
  #main {
    padding: 34px 28px 20px;
  }
  .page-footer {
    padding: 18px 28px;
  }
  .notice {
    margin-left: 28px;
    margin-right: 28px;
  }
  .choice-card {
    padding: 20px 17px 13px;
  }
  .choice-card h3 {
    font-size: 18px;
  }
  .filter-panel {
    gap: 10px;
    padding: 16px;
  }
  .filter-field {
    min-width: 100px;
  }
  .filter-tail {
    padding-left: 12px;
  }
  .filter-tail .button {
    padding: 10px 12px;
    font-size: 12px;
  }
  .choices-grid {
    gap: 12px;
  }
  .card-subline {
    gap: 5px;
  }
  .brand img {
    width: 38px;
    height: 38px;
  }
  .recent-strip {
    padding: 16px;
  }
  .date-stamp {
    display: none;
  }
}
@media (max-width: 900px) {
  .sidebar {
    display: none;
  }
  .topbar {
    height: 76px;
    padding: 0 24px;
  }
  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 19px;
    font-weight: 700;
    text-decoration: none;
  }
  .mobile-brand img {
    border-radius: 9px;
  }
  #page-label {
    display: none;
  }
  .connection-status {
    display: none;
  }
  .topbar-right {
    gap: 12px;
  }
  .topbar .button {
    font-size: 12px;
    min-height: 40px;
    padding: 9px 12px;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fffefaee;
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    z-index: 15;
    justify-content: space-around;
  }
  .mobile-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 15px;
    min-height: 48px;
    border-radius: 10px;
    font-size: 10px;
    color: #8a947c;
  }
  .mobile-nav .nav-item[aria-current="page"] {
    background: #e9eee2;
    color: #3d5934;
  }
  .mobile-nav .nav-count {
    display: none;
  }
  .workspace {
    padding-bottom: 80px;
  }
  .toast {
    bottom: 100px;
  }
  .intro {
    margin-bottom: 26px;
  }
  h1 {
    font-size: 32px;
  }
  .page-footer {
    padding-bottom: 18px;
  }
  .settings-grid {
    gap: 14px;
  }
  .choices-grid {
    gap: 13px;
  }
  .choice-card {
    padding: 21px 17px 13px;
  }
  .food-token {
    width: 54px;
    height: 54px;
    border-radius: 17px;
    font-size: 27px;
  }
  .card-top {
    margin-bottom: 22px;
  }
}
@media (max-width: 640px) {
  .topbar {
    padding: 0 20px;
    height: 70px;
  }
  #main {
    padding: 28px 20px 16px;
  }
  h1 {
    font-size: 29px;
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 10px;
  }
  .intro p {
    font-size: 12px;
    margin-top: 9px;
  }
  .filter-panel {
    padding: 14px 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px 15px;
  }
  .filter-field {
    min-width: 0;
  }
  .filter-field span {
    font-size: 10px;
  }
  .filter-field select {
    font-size: 14px;
    min-height: 34px;
    padding-right: 6px;
  }
  .filter-field.mood-field {
    grid-column: 1/2;
  }
  .filter-tail {
    border-left: 0;
    padding-left: 0;
    gap: 9px;
    align-items: end;
  }
  .filter-tail .button {
    padding: 9px 10px;
    min-height: 41px;
  }
  .switch-label {
    font-size: 11px;
  }
  .section-line {
    margin: 24px 0 14px;
  }
  .section-line h2 {
    font-size: 15px;
  }
  .section-line .meta {
    display: block;
    margin: 5px 0 0;
  }
  .section-line .button {
    padding: 8px;
    font-size: 11px;
    min-height: 38px;
  }
  .choices-grid {
    grid-template-columns: 1fr;
  }
  .choice-card {
    padding: 20px;
    border-radius: 17px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 12px;
  }
  .choice-card::before {
    width: 3px;
    height: auto;
    right: auto;
    bottom: 0;
  }
  .card-top {
    grid-column: 2;
    grid-row: 1/5;
    margin: 0;
    align-items: flex-start;
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 10px;
  }
  .card-number {
    display: none;
  }
  .food-token {
    height: 58px;
    width: 58px;
    font-size: 28px;
    border-radius: 18px;
  }
  .choice-card h3 {
    font-size: 19px;
    grid-column: 1;
    margin: 1px 0 0;
  }
  .card-subline {
    grid-column: 1;
    font-size: 11px;
    margin-top: 6px;
  }
  .dish-box {
    grid-column: 1;
    margin: 13px 0 0;
    padding: 0 0 9px;
    border: 0;
    min-height: 0;
    font-size: 13px;
  }
  .dish-box span {
    display: none;
  }
  .choice-card .tags {
    grid-column: 1/-1;
    gap: 6px;
    margin-top: 2px;
  }
  .card-reason {
    grid-column: 1/-1;
    margin: 13px 0 14px;
    font-size: 10px;
  }
  .choice-actions {
    grid-column: 1/-1;
    display: flex;
    gap: 8px;
    border-top: 1px solid #eceee4;
    padding-top: 13px;
  }
  .choice-actions .button.primary {
    flex: 1;
    min-height: 42px;
  }
  .choice-actions .skip-choice {
    width: auto;
    margin: 0;
    min-height: 42px;
    font-size: 11px;
    flex: 0 0 auto;
    padding: 8px 10px;
  }
  .tip-line {
    font-size: 10px;
    padding: 0 15px;
  }
  .skeleton-slot {
    min-height: 120px;
  }
  .empty-state {
    min-height: 300px;
    padding: 30px 18px;
  }
  .empty-state h2 {
    font-size: 20px;
  }
  .empty-state p {
    font-size: 12px;
  }
  .welcome-note {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 25px 5px;
  }
  .welcome-note article {
    align-items: center;
  }
  .welcome-note p {
    margin-top: 3px;
  }
  .recent-strip {
    gap: 11px;
    flex-wrap: wrap;
  }
  .recent-strip > svg {
    display: none;
  }
  .recent-strip .button {
    font-size: 11px;
  }
  .recent-strip strong {
    font-size: 12px;
  }
  .page-footer {
    padding: 18px 20px;
    font-size: 9px;
  }
  .page-footer button {
    font-size: 10px;
  }
  .notice {
    margin: 12px 20px 0;
    padding: 10px 12px;
    font-size: 11px;
    flex-wrap: wrap;
  }
  .notice .button {
    min-height: 32px;
    padding: 5px 9px;
  }
  .collection-toolbar {
    gap: 12px;
    margin-top: 20px;
  }
  .search-box {
    flex-basis: 100%;
    min-height: 44px;
  }
  .status-tabs {
    width: 100%;
    justify-content: space-between;
    gap: 0;
  }
  .status-tabs button {
    font-size: 12px;
    padding: 9px 11px;
    min-height: 38px;
  }
  .store-row {
    padding: 17px 15px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .store-row .food-token {
    height: 43px;
    width: 43px;
    border-radius: 13px;
    font-size: 21px;
  }
  .store-row h3 {
    font-size: 15px;
  }
  .store-row p {
    font-size: 11px;
  }
  .store-row .row-budget {
    font-size: 15px;
    text-align: right;
  }
  .row-budget small {
    font-size: 10px;
  }
  .row-actions {
    width: 100%;
    justify-content: flex-end;
    border-top: 1px solid #eef0e6;
    padding-top: 10px;
    margin-top: 0;
  }
  .row-actions .button {
    min-height: 37px;
  }
  .row-actions .icon-button {
    min-height: 37px;
    min-width: 40px;
  }
  .history-row {
    padding: 17px 15px;
    gap: 11px;
    flex-wrap: wrap;
  }
  .history-copy h3 {
    font-size: 15px;
  }
  .history-copy p {
    font-size: 11px;
  }
  .history-row .button {
    min-height: 39px;
    font-size: 11px;
    margin-left: auto;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .settings-card {
    padding: 22px;
  }
  .settings-card.wide {
    grid-column: auto;
  }
  .settings-card h2 {
    font-size: 16px;
  }
  .stats-line {
    gap: 30px;
  }
  .settings-actions .button {
    font-size: 12px;
  }
  .install-steps {
    font-size: 12px;
  }
  .dialog-header {
    padding: 23px 21px 16px;
  }
  .dialog-header h2 {
    font-size: 21px;
  }
  .dialog-body {
    padding: 3px 21px 23px;
  }
  .form-grid {
    gap: 16px 12px;
  }
  .form-footer {
    flex-wrap: wrap;
    gap: 13px;
  }
  .form-footer > .button.danger {
    font-size: 11px;
  }
  .form-footer .form-buttons {
    flex: 1;
  }
  .form-footer .form-buttons .primary {
    flex: 1;
  }
  .field input,
  .field select,
  .field textarea {
    padding: 11px;
    font-size: 16px;
  }
  .form-error {
    font-size: 11px;
  }
  .reaction-buttons {
    gap: 7px;
  }
  .reaction-buttons .button {
    font-size: 12px;
    padding: 10px;
  }
  .detail-name .food-token {
    flex-shrink: 0;
  }
  .detail-name h3 {
    font-size: 21px;
  }
  .mobile-nav .nav-item {
    padding: 7px 6px;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    font-size: 11px;
  }
  .empty-actions .button {
    font-size: 12px;
  }
  .field small {
    font-size: 11px;
  }
  .tag-choice span {
    min-height: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
