:root {
  --bg: #f5f0e8;
  --surface: #fffdf8;
  --ink: #10191a;
  --muted: #64706a;
  --green: #0f8f5b;
  --green-deep: #064e3b;
  --red: #b0122d;
  --line: rgba(6, 78, 59, .14);
  --paper: #fffdf8;
  --compact-topbar-height: 56px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 4%, rgba(184, 122, 28, .13), transparent 20rem),
    radial-gradient(circle at 12% 8%, rgba(193, 54, 58, .08), transparent 24rem),
    linear-gradient(135deg, #fffdf8, var(--bg));
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--green-deep);
  font-weight: 800;
}

.whatsapp-link {
  color: var(--green);
  text-decoration: none;
}

img,
svg,
video {
  max-width: 100%;
}

.page-shell {
  width: min(100%, 480px);
  margin: 0 auto;
  padding: 14px clamp(16px, 4vw, 32px) calc(108px + env(safe-area-inset-bottom, 0px));
}

.app-copyright {
  margin: 28px 0 4px;
  color: rgba(100, 112, 106, .78);
  text-align: center;
  font-size: 11px;
  font-weight: 750;
}

.chat-room-container .app-copyright {
  display: none;
}

.card {
  background: rgba(255, 253, 248, .92);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: clamp(20px, 5vw, 28px);
  box-shadow: 0 18px 46px rgba(6, 78, 59, .1);
  padding: clamp(16px, 4.5vw, 24px);
  min-width: 0;
}

.app-page {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.app-page > h1,
.app-page .invite-list-hero h1 {
  color: var(--ink);
  font-size: clamp(28px, 7vw, 38px);
  line-height: 1;
}

.app-page > .lead,
.app-page .invite-list-hero .lead {
  max-width: 620px;
}

.form-page {
  gap: 14px;
}

.form-page form {
  max-width: 640px;
}

.form-page > .lead {
  max-width: 640px;
}

.form-page .btn {
  width: fit-content;
  min-width: 150px;
}

.category-custom-input {
  margin-top: 8px;
}

.profile-logout-form {
  max-width: 640px;
}

.page-primary-action {
  width: fit-content;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(140deg, var(--green), var(--green-deep));
  box-shadow: 0 8px 18px rgba(24, 121, 107, .18);
  text-decoration: none;
  font-size: 12px;
  font-weight: 950;
}

.hero-card {
  margin-top: 10vh;
}

.auth-card {
  display: grid;
  gap: 14px;
}

.brand-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: transparent;
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.eyebrow {
  margin: 0;
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

h1 {
  margin: 0;
  color: var(--green-deep);
  font-size: clamp(30px, 7vw, 42px);
  line-height: .98;
  letter-spacing: -.05em;
}

p {
  color: var(--muted);
  line-height: 1.5;
}

.lead {
  margin: 0;
}

form {
  display: grid;
  gap: 13px;
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 253, 248, .9);
  border: 1px solid rgba(26, 23, 20, .09);
  box-shadow: 0 8px 24px rgba(26, 23, 20, .055);
}

.search-form label {
  min-width: 0;
  position: relative;
}

.search-form label::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-60%);
  pointer-events: none;
  opacity: .52;
  color: var(--muted);
  border: 2px solid currentColor;
  border-radius: 999px;
}

.search-form label::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 50%;
  width: 7px;
  height: 2px;
  transform: translateY(4px) rotate(45deg);
  pointer-events: none;
  opacity: .52;
  border-radius: 999px;
  background: var(--muted);
}

.search-form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.search-form .btn {
  min-height: 40px;
  min-width: 64px;
  padding-inline: 14px;
  color: #fff;
  background: linear-gradient(140deg, var(--red), #7a0d10);
  border: 0;
  box-shadow: 0 7px 18px rgba(176, 18, 45, .18);
}

.search-form input {
  min-height: 40px;
  padding: 9px 12px 9px 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  font-weight: 650;
}

.search-form input:focus {
  border-color: transparent;
  box-shadow: none;
  background: rgba(245, 240, 232, .55);
}

label {
  display: grid;
  gap: 6px;
}

label span {
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(15, 143, 91, .34);
  box-shadow: 0 0 0 4px rgba(15, 143, 91, .1);
  outline: 0;
}

input::placeholder,
textarea::placeholder {
  color: rgba(100, 112, 106, .45);
  font-weight: 500;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0 18px;
  text-decoration: none;
}

.btn.secondary {
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--green-deep);
}

.button-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 10px;
}

.button-row form {
  display: grid;
}

.profile-logout-form {
  margin-top: 12px;
}

.profile-logout-form .btn {
  width: 100%;
}

.account-page {
  display: grid;
  gap: 16px;
}

.account-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-profile-link {
  min-width: 0;
  max-width: 58%;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 0;
  color: inherit;
  text-decoration: none;
}

.account-profile-link img,
.account-profile-link .avatar-fallback {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 999px;
  object-fit: cover;
}

.account-profile-link .avatar-fallback {
  font-size: 13px;
}

.account-profile-link span {
  display: block;
  min-width: 0;
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-section {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.account-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.account-section-head h2 {
  margin: 2px 0 0;
  color: var(--green-deep);
  font-size: 20px;
  letter-spacing: -.03em;
}

.account-section-head > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.account-create-row {
  display: flex;
  justify-content: flex-start;
}

.account-create-row .btn {
  min-height: 34px;
  padding: 0 13px;
  font-size: 12px;
  box-shadow: 0 8px 18px rgba(6, 78, 59, .08);
}

.account-store-card {
  gap: 10px;
}

.account-store-products {
  display: grid;
  gap: 5px;
  padding: 10px 11px;
  border-radius: 16px;
  background: rgba(255, 253, 248, .72);
  border: 1px solid rgba(6, 78, 59, .08);
}

.account-store-products span {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.account-invite-products {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.25;
}

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

.store-operation-grid div {
  min-width: 0;
  padding: 9px 6px;
  border-radius: 15px;
  background: rgba(232, 248, 239, .62);
  border: 1px solid rgba(6, 78, 59, .08);
  text-align: center;
}

.store-operation-grid span,
.store-operation-grid strong {
  display: block;
}

.store-operation-grid span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  line-height: 1.15;
}

.store-operation-grid strong {
  margin-top: 5px;
  color: var(--green-deep);
  font-size: 17px;
  line-height: 1;
}

.store-prep-panel {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 17px;
  background: rgba(6, 78, 59, .045);
  border: 1px solid rgba(6, 78, 59, .08);
}

.store-prep-panel .responsive-table {
  padding-bottom: 2px;
}

.store-prep-table {
  min-width: 520px;
}

.store-prep-table th:first-child,
.store-prep-table td:first-child {
  width: 240px;
}

.dashboard-overview-section {
  padding-top: 12px;
}

.dashboard-subtabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
  width: 100%;
  padding: 3px;
  border-radius: 14px;
  background: rgba(6, 78, 59, .08);
  border: 1px solid rgba(6, 78, 59, .08);
  overflow: hidden;
}

.dashboard-subtabs a {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 32px;
  padding: 7px 2px;
  border-radius: 11px;
  color: var(--green-deep);
  background: rgba(255, 253, 248, .42);
  text-align: center;
  text-decoration: none;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
}

.dashboard-subtabs a.on {
  color: #fff;
  background: var(--green-deep);
  box-shadow: 0 8px 18px rgba(6, 78, 59, .18);
}

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

.dashboard-summary-grid > div {
  position: relative;
  min-width: 0;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 253, 248, .8);
  border: 1px solid rgba(6, 78, 59, .08);
  box-shadow: 0 8px 18px rgba(6, 78, 59, .05);
}

.dashboard-summary-grid span,
.dashboard-summary-grid strong {
  display: block;
}

.dashboard-summary-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.dashboard-summary-grid .metric-label {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.metric-help {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
  z-index: 8;
}

.metric-help summary {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--green-deep);
  background: rgba(6, 78, 59, .1);
  border: 1px solid rgba(6, 78, 59, .16);
  cursor: pointer;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  list-style: none;
  user-select: none;
}

.metric-help summary::-webkit-details-marker {
  display: none;
}

.metric-help[open] {
  z-index: 20;
}

.metric-help div {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  width: min(220px, 74vw);
  transform: translateX(-50%);
  padding: 9px 10px;
  border-radius: 12px;
  color: #fff;
  background: #12372f;
  box-shadow: 0 14px 30px rgba(6, 78, 59, .22);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
  white-space: normal;
}

.metric-help div::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px;
  height: 10px;
  transform: translateX(-50%) rotate(45deg);
  background: #12372f;
}

.dashboard-summary-grid strong {
  margin-top: 5px;
  color: var(--green-deep);
  font-size: 18px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.dashboard-table-shell {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  border-radius: 18px;
  background: rgba(6, 78, 59, .055);
  border: 1px solid rgba(6, 78, 59, .1);
}

.dashboard-table-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 2px;
}

.dashboard-table-top strong,
.dashboard-table-top span {
  display: block;
}

.dashboard-table-top strong {
  color: var(--green-deep);
  font-size: 13px;
}

.dashboard-table-top span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
}

.responsive-table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.dashboard-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0 6px;
}

.dashboard-table th {
  padding: 0 11px 3px;
  color: var(--muted);
  text-align: left;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}

.dashboard-table td {
  padding: 12px 12px;
  color: var(--green-deep);
  background: #fffdf8;
  border-top: 1px solid rgba(6, 78, 59, .08);
  border-bottom: 1px solid rgba(6, 78, 59, .08);
  font-size: 12px;
  font-weight: 850;
  vertical-align: top;
  white-space: nowrap;
}

.dashboard-table th:first-child,
.dashboard-table td:first-child {
  width: 300px;
  white-space: normal;
}

.dashboard-table td:first-child {
  border-left: 1px solid rgba(6, 78, 59, .08);
  border-radius: 16px 0 0 16px;
}

.dashboard-table td:last-child {
  border-right: 1px solid rgba(6, 78, 59, .08);
  border-radius: 0 16px 16px 0;
}

.dashboard-row-closed td {
  background: rgba(239, 246, 255, .96);
  border-color: rgba(29, 78, 216, .13);
}

.dashboard-row-success td {
  background: rgba(240, 253, 244, .96);
  border-color: rgba(22, 163, 74, .16);
}

.dashboard-table strong,
.dashboard-table small {
  display: block;
}

.dashboard-table small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.invoice-draw-row td {
  border-radius: 14px !important;
  color: #4c1d95;
  background: rgba(245, 243, 255, .88);
  border-color: rgba(109, 40, 217, .13);
  white-space: normal;
}

.invoice-draw-row span {
  display: inline-flex;
  margin: 5px 6px 0 0;
  padding: 5px 8px;
  border-radius: 999px;
  color: #6d28d9;
  background: #fff;
  font-size: 11px;
  font-weight: 850;
}

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

.pickup-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 253, 248, .88);
  border: 1px solid rgba(6, 78, 59, .09);
  box-shadow: 0 8px 18px rgba(6, 78, 59, .055);
}

.pickup-card.is-picked-up {
  background: rgba(240, 253, 244, .94);
  border-color: rgba(22, 163, 74, .15);
}

.pickup-avatar {
  width: 52px;
  height: 52px;
  border-radius: 17px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  font-size: 18px;
  font-weight: 950;
}

.pickup-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pickup-card-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.pickup-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pickup-card-title strong {
  min-width: 0;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pickup-card-main > span,
.pickup-card-main > small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.35;
}

.pickup-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.pickup-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--green-deep);
  background: rgba(232, 248, 239, .78);
  font-size: 10px;
  font-weight: 850;
}

.pickup-card-action {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.pickup-card-action .inline-action-form button {
  min-height: 34px;
}

.dashboard-table a {
  color: var(--green-deep);
  text-decoration: none;
}

.dashboard-progress-text,
.dashboard-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 28px;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
}

.dashboard-progress-text {
  color: #135f92;
  background: rgba(219, 234, 254, .78);
}

.dashboard-status {
  color: var(--green-deep);
  background: rgba(232, 248, 239, .78);
  border: 1px solid rgba(6, 78, 59, .08);
}

.dashboard-status.status-closed {
  color: #1d4ed8;
  background: rgba(219, 234, 254, .95);
  border-color: rgba(29, 78, 216, .16);
}

.dashboard-status.status-open {
  color: #047857;
  background: rgba(209, 250, 229, .92);
  border-color: rgba(4, 120, 87, .15);
}

.dashboard-status.status-canceled {
  color: #b91c1c;
  background: rgba(254, 226, 226, .9);
  border-color: rgba(185, 28, 28, .14);
}

.dashboard-status.status-finished {
  color: #6d28d9;
  background: rgba(237, 233, 254, .94);
  border-color: rgba(109, 40, 217, .14);
}

.dashboard-status.status-picked_up {
  color: #047857;
  background: rgba(209, 250, 229, .92);
  border-color: rgba(4, 120, 87, .15);
}

.dashboard-status.status-pending {
  color: #92400e;
  background: rgba(254, 243, 199, .92);
  border-color: rgba(146, 64, 14, .16);
}

.status-filter-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.status-filter-tabs::-webkit-scrollbar {
  display: none;
}

.status-filter-tabs a {
  flex: 0 0 auto;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 253, 248, .75);
  border: 1px solid rgba(6, 78, 59, .08);
  text-decoration: none;
  font-size: 11px;
  font-weight: 950;
}

.status-filter-tabs a.on {
  color: #fff;
  background: var(--green-deep);
  border-color: transparent;
}

.chat-page,
.chat-room-page {
  gap: 14px;
}

.chat-room-page {
  padding-bottom: 82px;
}

.page-shell.chat-room-standalone,
.page-shell.invite-detail-shell,
.page-shell.product-detail-shell,
.page-shell.detail-page-shell {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  padding: 0;
  background: var(--surface);
}

.page-shell.chat-room-standalone > br,
.page-shell.invite-detail-shell > br,
.page-shell.product-detail-shell > br,
.page-shell.detail-page-shell > br {
  display: none;
}

.chat-room-standalone .message-stack {
  position: fixed;
  left: 50%;
  top: calc(var(--compact-topbar-height) + env(safe-area-inset-top, 0px) + 8px);
  z-index: 45;
  width: min(calc(100% - 24px), 720px);
  transform: translateX(-50%);
  pointer-events: none;
}

.chat-room-standalone .message-stack .app-message,
.invite-detail-shell .message-stack .app-message,
.product-detail-shell .message-stack .app-message,
.detail-page-shell .message-stack .app-message {
  pointer-events: auto;
}

.invite-detail-shell > .message-stack,
.product-detail-shell > .message-stack,
.detail-page-shell > .message-stack {
  position: fixed;
  left: 50%;
  top: calc(var(--compact-topbar-height) + env(safe-area-inset-top, 0px) + 8px);
  z-index: 45;
  width: min(calc(100% - 24px), 720px);
  margin: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.chat-room-standalone .chat-room-page {
  width: min(100%, 760px);
  min-height: 100dvh;
  height: 100dvh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  gap: 0;
  padding: 0;
  background: var(--surface);
}

.chat-room-standalone .chat-message-list {
  grid-row: 3;
  max-height: none;
  min-height: 0;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 12px clamp(12px, 3.6vw, 18px) 14px;
}

.chat-room-standalone .direct-chat-message-list {
  width: 100%;
  justify-self: stretch;
}

.chat-room-standalone .chat-composer {
  grid-row: 5;
  position: static;
  left: auto;
  bottom: auto;
  width: 100%;
  max-width: none;
  transform: none;
  justify-self: stretch;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  box-shadow: 0 -8px 24px rgba(6, 78, 59, .08);
  padding: 10px clamp(12px, 3.6vw, 18px) calc(10px + env(safe-area-inset-bottom, 0px));
}

.chat-room-standalone .chat-composer input {
  min-width: 0;
}

.chat-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(6, 78, 59, .08);
}

.chat-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 -4px;
}

.chat-section-head span {
  color: rgba(6, 78, 59, .66);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .02em;
}

.chat-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 68px;
  padding: 10px 2px;
  color: inherit;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(6, 78, 59, .08);
  box-shadow: none;
}

.chat-card.unread {
  background: linear-gradient(90deg, rgba(232, 248, 239, .72), transparent 82%);
  border-color: rgba(6, 78, 59, .14);
  box-shadow: none;
}

.chat-card.unread .chat-main strong {
  font-weight: 950;
}

.chat-card.unread .chat-main small {
  color: var(--green-deep);
}

.chat-card.finished {
  background: linear-gradient(90deg, rgba(245, 243, 255, .72), transparent 82%);
}

.chat-title-row {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-title-row strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-unread-count {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 11px;
  font-weight: 950;
}

.chat-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  font-size: 14px;
  font-weight: 950;
}

.chat-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chat-product-thumb span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.chat-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.chat-main strong,
.chat-main span,
.chat-main small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-main strong {
  color: var(--green-deep);
  font-size: 14px;
}

.chat-main small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.3;
}

.chat-room-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.chat-room-meta span {
  width: fit-content;
}

.chat-room-topbar {
  grid-row: 1;
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) clamp(12px, 3.6vw, 18px) 10px;
  background: rgba(255, 253, 248, .96);
  border-bottom: 1px solid rgba(6, 78, 59, .08);
  backdrop-filter: blur(14px);
}

.direct-chat-topbar {
  grid-template-columns: minmax(0, 1fr);
}

.chat-room-actions {
  position: relative;
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.chat-join-wrap,
.chat-more-wrap {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.chat-join-button {
  min-width: 54px;
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--green-deep);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 950;
}

.chat-room-title-group {
  min-width: 0;
  width: 100%;
  min-height: 34px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}

.chat-back-button {
  width: 30px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: var(--green-deep);
  text-decoration: none;
  font-size: 19px;
  font-weight: 850;
  line-height: 1;
}

.chat-title-link {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 0;
  background: transparent;
  border: 0;
  color: inherit;
  text-decoration: none;
}

.compact-back-link.chat-title-link {
  width: 100%;
  min-height: 34px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}

.chat-title-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.chat-title-link strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-title-copy strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-title-link small {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-title-copy small {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-more-button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(6, 78, 59, .1);
  border-radius: 999px;
  color: var(--green-deep);
  background: rgba(232, 248, 239, .68);
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
}

.chat-room-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 150;
  width: min(250px, calc(100vw - 32px));
  display: grid;
  gap: 6px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(255, 253, 248, .98);
  border: 1px solid rgba(6, 78, 59, .1);
  box-shadow: 0 18px 42px rgba(6, 78, 59, .16);
}

.chat-join-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 150;
  width: min(210px, calc(100vw - 32px));
  padding: 8px;
  border-radius: 14px;
  background: rgba(255, 253, 248, .98);
  border: 1px solid rgba(6, 78, 59, .1);
  box-shadow: 0 18px 42px rgba(6, 78, 59, .16);
}

.chat-join-menu[hidden] {
  display: none;
}

.chat-join-menu form {
  display: grid;
  gap: 6px;
  margin: 0;
}

.chat-join-menu button {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: var(--green-deep);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-align: left;
}

.chat-room-menu[hidden],
.chat-participant-panel[hidden] {
  display: none;
}

.chat-room-menu a,
.chat-room-menu button {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 0;
  border-radius: 11px;
  color: var(--green-deep);
  background: rgba(232, 248, 239, .72);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
}

.chat-room-menu button.danger {
  color: #9f1239;
  background: rgba(255, 228, 230, .78);
}

.chat-room-menu form {
  margin: 0;
}

.chat-participant-panel {
  position: fixed;
  left: 50%;
  top: calc(62px + env(safe-area-inset-top, 0px));
  z-index: 80;
  width: min(calc(100% - 24px), 720px);
  max-height: min(68vh, 520px);
  transform: translateX(-50%);
  display: grid;
  gap: 10px;
  padding: 12px;
  overflow: auto;
  border-radius: 16px;
  background: rgba(255, 253, 248, .98);
  border: 1px solid rgba(6, 78, 59, .12);
  box-shadow: 0 22px 54px rgba(6, 78, 59, .18);
}

.chat-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chat-panel-head strong {
  color: var(--green-deep);
  font-size: 15px;
}

.chat-panel-head button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  color: var(--green-deep);
  background: rgba(232, 248, 239, .88);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.chat-participant-list {
  display: grid;
  gap: 8px;
}

.chat-participant-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 15px;
  background: rgba(6, 78, 59, .045);
}

.chat-participant-row strong,
.chat-participant-row span {
  display: block;
}

.chat-participant-row strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.chat-participant-row span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.chat-participant-row a {
  padding: 7px 9px;
  border-radius: 999px;
  color: var(--green-deep);
  background: rgba(232, 248, 239, .9);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.finished-invite-banner {
  grid-row: 2;
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border-radius: 0;
  border-right: 0;
  border-left: 0;
  color: #4c1d95;
  background: rgba(245, 243, 255, .92);
  border: 1px solid rgba(109, 40, 217, .18);
}

.finished-invite-banner strong {
  font-size: 13px;
  font-weight: 950;
}

.finished-invite-banner span {
  color: #6d28d9;
  font-size: 11px;
  font-weight: 850;
}

.chat-member-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.chat-member-strip::-webkit-scrollbar {
  display: none;
}

.chat-member-strip span {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--green-deep);
  background: rgba(232, 248, 239, .72);
  border: 1px solid rgba(6, 78, 59, .08);
  font-size: 11px;
  font-weight: 900;
}

.chat-message-list {
  display: grid;
  align-content: start;
  gap: 8px;
  max-height: min(54vh, 520px);
  overflow-y: auto;
  padding: 10px;
  border-radius: 20px;
  background: rgba(6, 78, 59, .045);
  border: 1px solid rgba(6, 78, 59, .08);
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.direct-chat-message-list {
  width: min(100%, 540px);
  justify-self: center;
  max-height: none;
}

.chat-message-list::-webkit-scrollbar {
  width: 6px;
}

.chat-message-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(6, 78, 59, .18);
}

.chat-date-separator {
  justify-self: center;
  margin: 7px 0 3px;
  padding: 5px 10px;
  border-radius: 999px;
  color: rgba(6, 78, 59, .74);
  background: rgba(255, 253, 248, .86);
  border: 1px solid rgba(6, 78, 59, .08);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .02em;
}

.chat-message {
  width: fit-content;
  max-width: min(82%, 430px);
  justify-self: start;
  padding: 9px 11px 10px;
  border-radius: 17px 17px 17px 6px;
  background: #fffdf8;
  border: 1px solid rgba(6, 78, 59, .08);
  box-shadow: 0 6px 14px rgba(6, 78, 59, .045);
}

.chat-message.mine {
  justify-self: end;
  border-radius: 17px 17px 6px 17px;
  color: var(--green-deep);
  background: #dff7e8;
  border-color: rgba(6, 78, 59, .12);
}

.chat-message strong,
.chat-message p,
.chat-message span {
  display: block;
}

.chat-message-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 3px;
}

.chat-message strong {
  color: rgba(6, 78, 59, .56);
  font-size: 10px;
  font-weight: 850;
}

.chat-message p {
  margin: 0;
  color: var(--green-deep);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.chat-message span {
  color: inherit;
  opacity: .5;
  font-size: 10px;
  font-weight: 800;
}

.chat-message.mine strong {
  color: rgba(6, 78, 59, .56);
}

.chat-message.mine p {
  color: var(--green-deep);
}

.chat-system-message {
  justify-self: center;
  max-width: 92%;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 253, 248, .78);
  border: 1px solid rgba(6, 78, 59, .08);
  font-size: 11px;
  font-weight: 850;
  text-align: center;
}

.chat-unread-button {
  grid-row: 4;
  justify-self: center;
  margin: -2px auto 0;
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  box-shadow: 0 10px 22px rgba(183, 28, 28, .18);
  font: inherit;
  font-size: 11px;
  font-weight: 950;
}

.chat-unread-button[hidden] {
  display: none;
}

.chat-composer {
  position: fixed;
  left: 50%;
  bottom: calc(66px + env(safe-area-inset-bottom, 0px));
  z-index: 49;
  width: min(100%, 540px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 253, 248, .94);
  border: 1px solid rgba(6, 78, 59, .1);
  box-shadow: 0 14px 30px rgba(6, 78, 59, .12);
}

.chat-composer input {
  min-height: 42px;
  border-radius: 999px;
}

.chat-composer button {
  min-height: 42px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--green-deep);
  font: inherit;
  font-size: 12px;
  font-weight: 950;
}

.account-profile-section {
  display: grid;
  gap: 16px;
  padding-top: 0;
}

.account-profile-identity {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.account-profile-avatar {
  width: 92px;
  height: 92px;
  border-radius: 30px;
  object-fit: cover;
}

.account-profile-copy {
  min-width: 0;
}

.account-profile-copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.account-profile-phone {
  display: inline-flex;
  max-width: 100%;
  margin-top: 5px;
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.account-profile-copy p {
  display: -webkit-box;
  max-width: 360px;
  margin: 7px auto 0;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.account-profile-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding-top: 4px;
  border-top: 1px solid rgba(6, 78, 59, .08);
}

.account-profile-info-row {
  min-width: 0;
  padding: 8px 0;
  border-bottom: 0;
  border-radius: 0;
  background: transparent;
}

.account-profile-info-row span,
.account-profile-info-row strong {
  display: block;
}

.account-profile-info-row span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.account-profile-info-row strong {
  margin-top: 3px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.account-profile-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 11px;
}

.simple-account-profile .account-profile-actions {
  margin-top: 11px;
}

.account-profile-actions form {
  display: inline-flex;
}

.account-profile-action {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid rgba(6, 78, 59, .13);
  border-radius: 999px;
  color: var(--green-deep);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.account-profile-action.primary {
  color: #fff;
  background: var(--green-deep);
  border-color: transparent;
}

.location-box {
  display: grid;
  gap: 8px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  padding: 12px;
}

.note-box {
  padding: 12px;
  border-radius: 18px;
  color: var(--green-deep);
  background: rgba(232, 248, 239, .7);
  border: 1.5px solid var(--red);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.message-stack {
  display: grid;
  gap: 8px;
  margin: 10px 0 12px;
}

body:has(.home-topbar[data-app-topbar]) .page-shell > .message-stack {
  margin-top: 12px;
}

.app-message {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 18px;
  color: var(--green-deep);
  background: rgba(232, 248, 239, .82);
  border: 1px solid rgba(6, 78, 59, .1);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.app-message-text {
  min-width: 0;
}

.app-message-close {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  margin: -4px -5px -2px 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: currentColor;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  opacity: .72;
}

.app-message-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, .82);
}

.app-message.warning {
  color: var(--red);
  background: rgba(255, 240, 243, .92);
  border-color: rgba(176, 18, 45, .24);
}

.location-box strong {
  color: var(--green-deep);
  font-size: 13px;
}

.location-box p,
.switch-link {
  margin: 0;
  font-size: 13px;
}

.profile-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(232, 248, 239, .55);
}

.profile-preview img,
.avatar-fallback {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 24px;
  object-fit: cover;
}

.avatar-fallback {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  font-size: 28px;
  font-weight: 900;
}

.profile-preview strong,
.profile-preview span,
.profile-preview small {
  display: block;
}

.profile-preview strong {
  color: var(--green-deep);
  font-size: 17px;
}

.profile-preview span,
.profile-preview small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.profile-edit-page {
  gap: 12px;
}

.profile-edit-page .profile-preview {
  align-items: center;
  padding: 8px 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.profile-edit-page .profile-preview img,
.profile-edit-page .avatar-fallback {
  width: 76px;
  height: 76px;
  flex-basis: 76px;
  border-radius: 24px;
}

.profile-edit-page form {
  width: auto;
  max-width: none;
}

.profile-edit-page label {
  margin: 0;
}

.profile-edit-page .location-box {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.profile-edit-page .location-box strong {
  color: var(--ink);
  font-size: 13px;
}

.profile-edit-page .btn {
  width: fit-content;
  min-width: 0;
  min-height: 36px;
  padding: 0 14px;
  font-size: 12px;
}

.profile-logout-form {
  margin-top: -6px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-row input {
  width: auto;
}

.check-row small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 2px;
}

.back-link {
  width: 100%;
  text-decoration: none;
}

.app-page > .back-link {
  position: sticky;
  top: 0;
  z-index: 48;
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: calc(10px + env(safe-area-inset-top, 0px)) clamp(12px, 3.6vw, 18px) 10px;
  background: var(--surface);
  border-bottom: 1px solid rgba(6, 78, 59, .08);
}

.errorlist {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #a3122d;
  font-size: 13px;
  font-weight: 750;
}

.stack {
  display: grid;
  gap: 10px;
}

.stack h2 {
  margin: 8px 0 0;
  color: var(--green-deep);
  font-size: 18px;
  letter-spacing: -.03em;
}

.list-tile {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .7);
}

.list-tile > .joined-invite-chip {
  top: 9px;
  right: 9px;
}

.list-tile:has(> .joined-invite-chip) {
  padding-top: 34px;
}

.list-tile > div:first-child:last-child,
.list-tile > div:first-child:nth-last-child(2) {
  grid-column: span 2;
}

.list-tile strong,
.list-tile span {
  display: block;
}

.list-tile strong {
  color: var(--green-deep);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.list-tile span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
  overflow-wrap: anywhere;
}

.tile-image {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  object-fit: cover;
}

.tile-image.fallback {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  font-size: 13px;
  font-weight: 900;
}

.tile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.tile-actions a {
  font-size: 12px;
  text-decoration: none;
}

.inline-action-form {
  display: block;
  justify-self: end;
}

.inline-action-form button {
  min-height: 34px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
}

.inline-action-form button.is-added {
  background: #135f92;
}

.inline-action-form button:disabled {
  cursor: default;
  opacity: .92;
}

.checkmark {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  border-radius: 999px;
  color: #135f92;
  background: #fff;
  font-size: 11px;
  font-weight: 950;
}

.added-products-panel {
  display: grid;
  gap: 8px;
  padding: 11px;
  border-radius: 20px;
  background: rgba(19, 95, 146, .08);
  border: 1px solid rgba(19, 95, 146, .16);
}

.added-products-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.added-products-head span {
  color: #135f92;
  font-size: 12px;
  font-weight: 900;
}

.added-products-head strong {
  color: var(--green-deep);
  font-size: 13px;
}

.added-products-list {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.added-products-list a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 220px;
  padding: 7px 9px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 253, 248, .88);
  border: 1px solid rgba(19, 95, 146, .12);
  text-decoration: none;
  font-size: 11px;
}

.added-products-list a span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.added-products-list a strong {
  color: #135f92;
  font-size: 11px;
}

.inline-login-link {
  justify-self: end;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--green-deep);
  background: rgba(232, 248, 239, .82);
  text-decoration: none;
  font-size: 11px;
  font-weight: 900;
}

.invite-cart-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 15px;
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 0, rgba(132, 204, 22, .28), transparent 42%),
    linear-gradient(145deg, var(--green-deep), #10231f);
  box-shadow: 0 16px 34px rgba(6, 78, 59, .16);
  text-decoration: none;
}

.invite-cart-strip span {
  color: #fff;
  font-size: 14px;
  font-weight: 950;
}

.invite-cart-strip strong {
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  font-weight: 900;
}

.product-list-ajak-mode h1 {
  font-size: 22px;
  letter-spacing: -.02em;
}

.product-list-ajak-mode .lead {
  color: var(--green-deep);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.3;
}

.invite-cart-page {
  display: grid;
  gap: 14px;
}

.small-add-link {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--green-deep);
  background: rgba(232, 248, 239, .72);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.home-shell .small-add-link {
  border: 1px solid rgba(6, 78, 59, .18);
}

.small-add-link.chat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.small-add-link.chat-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.invite-main-action {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.invite-builder-page {
  max-width: 860px;
}

.invite-builder-page h1 {
  margin-bottom: -4px;
}

.invite-builder-form {
  gap: 14px;
}

.invite-builder-section {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(6, 78, 59, .1);
  border-radius: 20px;
  background: rgba(255, 253, 248, .82);
}

.invite-builder-section h2 {
  margin: 0;
  color: var(--green-deep);
  font-size: 16px;
}

.invite-builder-section .section-title-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.invite-builder-products {
  display: grid;
  gap: 10px;
}

.invite-builder-product {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(12, 94, 72, .1);
  border-radius: 16px;
  background: #fffefb;
}

.page-shell.invite-cart-simple-shell {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  padding: 0;
  background: var(--surface);
}

.page-shell.invite-cart-simple-shell > br {
  display: none;
}

.invite-cart-page {
  width: min(100%, 760px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 0 0 92px;
  background: var(--surface);
  align-content: start;
}

.invite-simple-cart {
  gap: 2px;
  min-height: 100svh;
  align-content: start;
  grid-auto-rows: max-content;
}

.invite-simple-cart::before {
  content: none;
}

.invite-cart-top {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 52px;
  margin: 0;
  padding: calc(10px + env(safe-area-inset-top, 0px)) clamp(12px, 3.6vw, 18px) 10px;
  background: rgba(255, 253, 248, .96);
  border-bottom: 1px solid rgba(6, 78, 59, .08);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.invite-cart-title-group {
  min-width: 0;
  width: 100%;
  min-height: 34px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}

.invite-cart-back {
  width: 30px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  color: var(--green-deep);
  font-size: 19px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.invite-cart-title-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.invite-cart-title-copy strong,
.invite-cart-title-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invite-cart-title-copy strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.18;
}

.invite-cart-title-copy span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
}

.simple-cart-list,
.invite-settings-summary,
.invite-settings-summary-grid,
.invite-product-section,
.invite-product-picker,
.invite-product-picker-list,
.simple-product-form,
.simple-checkout-form {
  display: grid;
  gap: 6px;
}

.invite-settings-summary,
.invite-product-section {
  padding: 8px clamp(12px, 3.6vw, 18px);
  border-radius: 0;
  background: transparent;
  border: 0;
}

.invite-settings-summary {
  position: relative;
  padding-top: 7px;
  border-bottom: 1px solid rgba(6, 78, 59, .08);
}

.invite-product-section {
  margin-top: 0;
}

.invite-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.invite-summary-head span,
.invite-summary-head strong {
  display: block;
}

.invite-summary-head span {
  margin-top: 1px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 520;
  line-height: 1.12;
}

.invite-summary-head strong {
  margin-top: 0;
  color: var(--green-deep);
  font-size: 15px;
  font-weight: 720;
  line-height: 1.05;
}

.invite-summary-detail {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.invite-summary-detail span,
.invite-summary-detail small {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invite-summary-detail span {
  font-size: 12px;
  font-weight: 620;
  line-height: 1.15;
}

.invite-summary-detail small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 520;
  line-height: 1.1;
}

.invite-summary-head a,
.invite-settings-summary-actions a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(6, 78, 59, .16);
  background: rgba(255, 253, 248, .78);
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 720;
  text-decoration: none;
}

.invite-settings-summary .invite-settings-summary-grid > div:first-child {
  padding-right: 0;
}

.invite-settings-summary-grid > div {
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.invite-settings-summary-grid .wide {
  grid-column: 1 / -1;
}

.invite-settings-summary-grid span,
.invite-settings-summary-grid strong {
  display: block;
  min-width: 0;
}

.invite-settings-summary-grid span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 520;
  line-height: 1.05;
}

.invite-settings-summary-grid strong {
  margin-top: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.08;
}

.simple-cart-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 8px 0;
  border-radius: 0;
  background: transparent;
  border-bottom: 1px solid rgba(6, 78, 59, .06);
}

.simple-cart-item.is-highlighted {
  margin-inline: -8px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(232, 248, 239, .9);
  box-shadow: inset 0 0 0 1px rgba(6, 78, 59, .12);
}

.simple-cart-total-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 0 8px;
  border-bottom: 1px solid rgba(6, 78, 59, .08);
}

.simple-cart-total-summary span,
.simple-cart-total-summary strong {
  display: block;
}

.simple-cart-total-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 520;
}

.simple-cart-total-summary strong {
  color: var(--green-deep);
  font-size: 16px;
  font-weight: 760;
}

.invite-product-picker {
  padding: 1px 0;
}

.simple-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.simple-form-head strong,
.simple-form-head span {
  display: block;
}

.simple-form-head strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.08;
}

.simple-form-head span {
  margin-top: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 520;
  line-height: 1.12;
}

.simple-form-head a {
  flex: 0 0 auto;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(6, 78, 59, .16);
  background: rgba(255, 253, 248, .78);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 760;
  text-decoration: none;
}

.invite-product-picker-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 8px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(6, 78, 59, .06);
}

.invite-product-picker-item img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(232, 248, 239, .9);
}

.invite-product-picker-item strong,
.invite-product-picker-item span {
  display: block;
  min-width: 0;
}

.invite-product-picker-item strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 680;
  line-height: 1.14;
}

.invite-product-picker-item span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 520;
}

.invite-product-picker-item form {
  margin: 0;
}

.invite-product-picker-item button {
  border: 1px solid rgba(6, 78, 59, .18);
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(232, 248, 239, .86);
  color: var(--green-deep);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 720;
}

.simple-cart-item img,
.simple-cart-image-fallback {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(232, 248, 239, .9);
}

.simple-cart-image-fallback {
  display: grid;
  place-items: center;
  color: var(--green-deep);
  font-size: 22px;
  font-weight: 900;
}

.simple-cart-item strong,
.simple-cart-item span {
  display: block;
  min-width: 0;
}

.simple-cart-item strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 680;
  line-height: 1.12;
}

.simple-cart-item span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 520;
}

.simple-cart-item form {
  margin: 0;
}

.simple-cart-item button,
.simple-cart-edit-link,
.simple-cancel-link {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.simple-cart-edit-link {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(6, 78, 59, .16);
  border-radius: 999px;
  background: rgba(255, 253, 248, .78);
  color: var(--green-deep);
}

.cart-product-detail {
  display: grid;
  gap: 14px;
  padding: 12px clamp(12px, 3.6vw, 18px) 78px;
}

.cart-product-detail-image {
  width: 100%;
  max-height: 360px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  object-fit: cover;
  background: rgba(232, 248, 239, .9);
}

.cart-product-detail-image.fallback {
  display: grid;
  place-items: center;
  color: var(--green-deep);
  font-size: 52px;
  font-weight: 950;
}

.cart-product-facts {
  margin-top: 2px;
}

.cart-product-detail .cart-product-facts {
  gap: 8px 12px;
}

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

.cart-product-actions .btn {
  width: 100%;
}

.cart-product-actions form {
  display: grid;
  margin: 0;
}

.btn.danger {
  background: #fff;
  border: 1.5px solid rgba(180, 35, 24, .25);
  color: #b42318;
}

.cart-product-current-image {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}

.cart-product-current-image img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  object-fit: cover;
}

.cart-product-current-image strong,
.cart-product-current-image span {
  display: block;
}

.cart-product-current-image strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.cart-product-current-image span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.invite-publish-form {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 55;
  width: min(calc(100% - 28px), 732px);
  transform: translateX(-50%);
  margin: 2px 0 0;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 253, 248, .94);
  box-shadow: 0 16px 36px rgba(6, 78, 59, .16);
  backdrop-filter: blur(10px);
}

.invite-publish-form .btn {
  width: 100%;
  box-shadow: 0 14px 30px rgba(6, 78, 59, .18);
}

.simple-cart-empty {
  display: grid;
  gap: 2px;
  padding: 2px 0;
}

.simple-cart-empty strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 680;
}

.simple-cart-empty span {
  max-width: 420px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 520;
  line-height: 1.25;
}

.simple-add-product {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(232, 248, 239, .92);
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.invite-simple-cart .invite-cart-back {
  font-weight: 650;
}

.invite-simple-cart .invite-cart-title-copy strong {
  font-weight: 680;
}

.invite-simple-cart .invite-cart-title-copy span,
.invite-simple-cart .simple-form-head span,
.invite-simple-cart .invite-settings-summary-grid span,
.invite-simple-cart .simple-cart-total-summary span,
.invite-simple-cart .simple-cart-item span,
.invite-simple-cart .invite-product-picker-item span,
.invite-simple-cart .simple-cart-empty span {
  font-weight: 500;
}

.invite-simple-cart .simple-form-head strong,
.invite-simple-cart .invite-settings-summary-grid strong,
.invite-simple-cart .simple-cart-total-summary strong,
.invite-simple-cart .simple-cart-item strong,
.invite-simple-cart .invite-product-picker-item strong,
.invite-simple-cart .simple-cart-empty strong,
.invite-simple-cart .cart-product-current-image strong {
  font-weight: 650;
}

.invite-simple-cart .simple-form-head a,
.invite-simple-cart .invite-settings-summary-actions a,
.invite-simple-cart .simple-cart-edit-link,
.invite-simple-cart .invite-product-picker-item button,
.invite-simple-cart .invite-publish-form .btn,
.invite-simple-cart .simple-product-form .btn,
.invite-simple-cart .simple-checkout-form .btn {
  font-weight: 700;
}

.invite-simple-cart .simple-cart-image-fallback {
  font-weight: 650;
}

.invite-product-add-form,
.invite-settings-form {
  padding: 10px clamp(12px, 3.6vw, 18px) 78px;
}

.invite-product-add-form label,
.invite-settings-form label {
  gap: 4px;
}

.invite-product-add-form label span,
.invite-settings-form label span {
  font-size: 11px;
  line-height: 1.12;
}

.invite-product-add-form label small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 620;
  line-height: 1.2;
}

.invite-product-add-form label span small {
  margin-left: 4px;
  font-size: 9.5px;
  font-weight: 600;
}

.invite-product-add-form input,
.invite-product-add-form textarea,
.invite-settings-form input,
.invite-settings-form textarea {
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 13px;
  line-height: 1.2;
}

.invite-settings-form textarea {
  min-height: 62px;
}

.invite-product-add-form input[type="file"] {
  padding: 8px 10px;
  border-style: dashed;
  background: rgba(255, 253, 248, .9);
}

.simple-file-field {
  padding: 7px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(6, 78, 59, .08);
}

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

.simple-product-field-grid label {
  align-content: start;
}

.simple-product-field-grid .errorlist {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  color: #b42318;
  font-size: 11px;
  font-weight: 620;
  line-height: 1.25;
}

.simple-product-field-grid .wide {
  grid-column: 1 / -1;
}

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

.invite-settings-actions,
.invite-floating-action {
  position: fixed;
  left: 50%;
  bottom: 10px;
  z-index: 55;
  width: min(calc(100% - 22px), 732px);
  transform: translateX(-50%);
  display: grid;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 253, 248, .94);
  box-shadow: 0 16px 36px rgba(6, 78, 59, .16);
  backdrop-filter: blur(10px);
}

.invite-settings-actions .btn.subtle,
.invite-floating-action .btn.subtle {
  background: rgba(232, 248, 239, .9);
  color: var(--green-deep);
}

.invite-settings-actions .btn,
.invite-floating-action .btn {
  width: 100%;
  box-shadow: none;
}

.simple-delivery-row {
  justify-content: flex-start;
  width: fit-content;
}

.simple-location-note {
  color: var(--muted);
  font-size: 11px;
  font-weight: 520;
  line-height: 1.22;
}

.invite-location-picker {
  display: grid;
  gap: 5px;
}

.invite-location-picker-toggle {
  width: fit-content;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(6, 78, 59, .12);
  background: rgba(232, 248, 239, .72);
  color: var(--green-deep);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.invite-location-map-wrap {
  display: grid;
  gap: 6px;
}

.invite-location-map-wrap[hidden] {
  display: none;
}

.invite-location-map {
  height: 260px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(6, 78, 59, .1);
  background: #dfead7;
}

.invite-location-map-wrap span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

@media (max-width: 640px) {
  .simple-form-head {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .invite-simple-cart .simple-form-head {
    align-items: flex-start;
    flex-direction: row;
    gap: 8px;
  }

  .simple-form-head a {
    width: fit-content;
  }

  .invite-simple-cart .simple-form-head a {
    width: auto;
  }

  .simple-product-field-grid {
    grid-template-columns: 1fr;
  }

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

  .invite-settings-actions {
    grid-template-columns: 1fr;
  }

  .cart-product-actions {
    grid-template-columns: 1fr;
  }

  .cart-product-detail {
    gap: 10px;
    padding: 10px 12px 72px;
  }

  .cart-product-detail-image {
    border-radius: 14px;
  }

  .cart-product-detail .cart-product-facts {
    gap: 6px 10px;
  }

  .simple-product-grid {
    grid-template-columns: 1fr;
  }

  .simple-cart-item,
  .invite-product-picker-item {
    grid-template-columns: 52px minmax(0, 1fr) auto;
  }

  .simple-cart-item img,
  .simple-cart-image-fallback,
  .invite-product-picker-item img {
    width: 52px;
    height: 52px;
  }

  .page-shell.invite-cart-simple-shell {
    width: 100%;
    padding: 0;
  }

  .invite-cart-page {
    width: 100%;
    padding-bottom: 82px;
  }

  .invite-cart-top {
    height: calc(42px + env(safe-area-inset-top, 0px));
    min-height: calc(42px + env(safe-area-inset-top, 0px));
    max-height: calc(42px + env(safe-area-inset-top, 0px));
    padding: env(safe-area-inset-top, 0px) 12px 0;
    overflow: hidden;
  }

  .invite-cart-title-group {
    min-height: 42px;
    height: 42px;
    gap: 7px;
  }

  .invite-cart-back {
    width: 28px;
    height: 42px;
    font-size: 18px;
  }

  .invite-cart-title-copy {
    gap: 0;
  }

  .invite-cart-title-copy strong {
    font-size: 15px;
    line-height: 1.1;
  }

  .invite-cart-title-copy span {
    display: none;
  }

  .invite-settings-summary,
  .invite-product-section {
    padding: 8px 12px;
  }

  .invite-summary-head {
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
  }

  .invite-summary-head strong {
    font-size: 14px;
    line-height: 1.08;
  }

  .invite-summary-head span:not(.sr-only) {
    margin-top: 1px;
    font-size: 11px;
    line-height: 1.12;
  }

  .invite-summary-head span,
  .invite-summary-detail span,
  .invite-summary-detail small {
    white-space: nowrap;
  }

  .invite-summary-detail {
    gap: 1px;
  }

  .invite-summary-detail span:not(.sr-only) {
    font-size: 12px;
    line-height: 1.12;
  }

  .invite-summary-detail small {
    font-size: 10px;
    line-height: 1.1;
  }

  .invite-simple-cart .simple-form-head {
    align-items: center;
  }

  .invite-simple-cart .simple-form-head strong {
    font-size: 13px;
  }

  .invite-simple-cart .simple-form-head span {
    display: none;
  }

  .simple-cart-total-summary {
    padding: 1px 0 6px;
    line-height: 1.12;
  }

  .simple-cart-total-summary span,
  .simple-cart-total-summary strong {
    font-size: 12px;
  }

  .simple-cart-item,
  .invite-product-picker-item {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 6px 0;
  }

  .simple-cart-item img,
  .simple-cart-image-fallback,
  .invite-product-picker-item img {
    width: 46px;
    height: 46px;
    border-radius: 11px;
  }

  .simple-cart-item strong,
  .invite-product-picker-item strong {
    font-size: 13px;
    line-height: 1.12;
  }

  .simple-cart-item span,
  .invite-product-picker-item span {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.15;
  }

  .simple-cart-edit-link,
  .invite-product-picker-item button,
  .invite-summary-head a,
  .simple-form-head a {
    min-height: 28px;
    padding: 0 9px;
    font-size: 11px;
  }

  .invite-product-add-form,
  .invite-settings-form {
    padding: 10px 12px 72px;
  }

  .invite-product-add-form label,
  .invite-settings-form label {
    gap: 3px;
  }

  .invite-product-add-form input,
  .invite-product-add-form textarea,
  .invite-settings-form input,
  .invite-settings-form textarea {
    min-height: 38px;
    padding: 9px 11px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.18;
  }

  .invite-settings-form textarea {
    min-height: 56px;
  }

  .invite-settings-actions,
  .invite-floating-action,
  .invite-publish-form {
    bottom: 8px;
    width: calc(100% - 18px);
    padding: 5px;
  }
}

.builder-product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.builder-product-head strong {
  color: var(--ink);
  font-size: 13px;
}

.builder-product-head span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

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

.delivery-check-row {
  width: fit-content;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(232, 248, 239, .72);
}

.invite-delivery-note {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(6, 78, 59, .12);
  border-radius: 16px;
  color: var(--green-deep);
  background: rgba(232, 248, 239, .62);
  font-size: 12px;
  font-weight: 850;
}

.field-help {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

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

.split-datetime-part {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.split-datetime-field small {
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.split-datetime-field input {
  min-width: 0;
}

.invite-schedule-panel {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 22px;
  background: rgba(232, 248, 239, .64);
  border: 1px solid rgba(6, 78, 59, .08);
}

.invite-schedule-panel .pickup-highlight {
  padding: 12px;
  border: 1.5px solid rgba(6, 78, 59, .18);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 246, 214, .94), rgba(232, 248, 239, .9));
  box-shadow: 0 10px 22px rgba(6, 78, 59, .08);
}

.invite-schedule-panel span,
.invite-schedule-panel strong {
  display: block;
}

.invite-schedule-panel span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.invite-schedule-panel strong {
  color: var(--green-deep);
  font-size: 14px;
  margin-top: 2px;
}

.invite-schedule-panel .pickup-highlight span {
  color: var(--green-deep);
}

.invite-schedule-panel .pickup-highlight strong {
  color: var(--green-deep);
  font-size: 18px;
}

.pickup-date-chip {
  display: grid !important;
  width: fit-content;
  margin-top: 8px !important;
  padding: 6px 9px;
  border: 1.5px solid rgba(6, 78, 59, .18);
  border-radius: 999px;
  color: var(--green-deep) !important;
  background: linear-gradient(135deg, rgba(255, 246, 214, .96), rgba(232, 248, 239, .92));
  font-size: 11px !important;
  font-weight: 950;
  line-height: 1.18;
}

.pickup-date-chip span,
.pickup-date-chip small {
  display: block;
}

.pickup-date-chip small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
}

.joined-invite-chip {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  width: fit-content;
  margin-top: 0 !important;
  padding: 5px 8px;
  border-radius: 999px;
  color: #075985 !important;
  background: rgba(224, 242, 254, .96);
  border: 1px solid rgba(14, 116, 144, .22);
  font-size: 11px !important;
  font-weight: 950 !important;
  line-height: 1.1;
}

.invite-cancel-form {
  flex: 0 0 auto;
  display: inline-flex;
  justify-content: center;
  margin-top: 0;
}

.invite-cancel-form button {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(176, 18, 45, .18);
  border-radius: 999px;
  color: #9f1239;
  background: rgba(255, 245, 245, .58);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
}

.status-badge {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.status-badge.canceled {
  color: #fff;
  background: var(--red);
  box-shadow: 0 10px 22px rgba(176, 18, 45, .18);
}

.status-badge.closed {
  color: #fff;
  background: #135f92;
  box-shadow: 0 10px 22px rgba(19, 95, 146, .18);
}

.status-badge.finished {
  color: #fff;
  background: #6d28d9;
  box-shadow: 0 10px 22px rgba(109, 40, 217, .2);
}

.status-badge.open {
  color: var(--green-deep);
  background: rgba(232, 248, 239, .95);
  box-shadow: inset 0 0 0 1px rgba(6, 78, 59, .1);
}

.invite-join-form {
  display: grid;
}

.invite-detail-page .invite-join-form {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 60;
  width: min(calc(100% - 28px), 732px);
  transform: translateX(-50%);
  padding: 7px;
  border-radius: 24px;
  background: rgba(255, 253, 248, .94);
  box-shadow: 0 16px 36px rgba(6, 78, 59, .18);
  backdrop-filter: blur(10px);
}

.invite-detail-page .invite-join-form .btn,
.invite-detail-page .invite-login-action .btn {
  width: 100%;
  box-shadow: none;
}

.invite-join-choice-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.invite-join-choice-row.single {
  grid-template-columns: 1fr;
}

.invite-join-option {
  min-width: 0;
  min-height: 54px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 9px 12px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background: var(--green-deep);
  box-shadow: 0 8px 18px rgba(6, 78, 59, .14);
  text-align: left;
  cursor: pointer;
}

.invite-join-option strong,
.invite-join-option span {
  display: block;
  min-width: 0;
}

.invite-join-option strong {
  font-size: 13px;
  font-weight: 950;
  line-height: 1.1;
}

.invite-join-option span {
  color: rgba(255, 255, 255, .78);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.invite-join-choice-row .btn:disabled,
.invite-join-choice-row .btn[aria-disabled="true"],
.invite-join-choice-row .invite-join-option:disabled,
.invite-join-choice-row .invite-join-option[aria-disabled="true"] {
  cursor: not-allowed;
  color: var(--muted);
  background: rgba(226, 232, 240, .94);
  box-shadow: none;
  opacity: 1;
}

.invite-join-choice-row .invite-join-option:disabled span,
.invite-join-choice-row .invite-join-option[aria-disabled="true"] span {
  color: rgba(100, 116, 139, .78);
}

.reopen-schedule-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(110px, .7fr);
  gap: 8px;
  width: 100%;
  margin-bottom: 10px;
}

.reopen-schedule-fields label {
  min-width: 0;
  margin: 0;
}

.invite-detail-page {
  gap: 4px;
  padding-bottom: 96px;
}

.invite-detail-shell {
  padding-top: 0;
}

.invite-detail-shell .invite-detail-page,
.product-detail-shell .product-detail-page,
.detail-page-shell .account-page,
.detail-page-shell .notification-page,
.detail-page-shell .profile-edit-page,
.detail-page-shell .cart-overview-page,
.detail-page-shell .chat-page {
  width: min(100%, 760px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 0 0 24px;
  background: var(--surface);
}

.detail-page-with-bottom-nav .cart-overview-page,
.detail-page-with-bottom-nav .chat-page {
  padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px));
}

.invite-detail-page > :not(.back-link),
.product-detail-page > :not(.back-link),
.detail-page-shell .account-page > :not(.back-link),
.detail-page-shell .notification-page > :not(.back-link),
.detail-page-shell .profile-edit-page > :not(.back-link),
.detail-page-shell .cart-overview-page > :not(.back-link),
.detail-page-shell .chat-page > :not(.back-link) {
  margin-right: clamp(12px, 3.6vw, 18px);
  margin-left: clamp(12px, 3.6vw, 18px);
}

.invite-detail-shell .invite-detail-page {
  padding-bottom: 96px;
}

.compact-back-link {
  width: 100%;
  margin-bottom: 0;
}

.invite-detail-back-link,
.detail-title-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  color: inherit;
}

.app-page > .compact-back-link.detail-title-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
}

.app-page > .compact-back-link.invite-detail-back-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.back-link-arrow {
  color: var(--green-deep);
  font-size: 18px;
  font-weight: 850;
  line-height: 1;
}

.invite-detail-back-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.invite-detail-back-copy strong,
.invite-detail-back-copy small,
.detail-title-copy strong,
.detail-title-copy small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invite-detail-back-copy strong,
.detail-title-copy strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.16;
}

.invite-detail-back-copy small,
.detail-title-copy small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
}

.detail-title-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

@media (max-width: 420px) {
  .app-page > .compact-back-link.detail-title-link,
  .app-page > .compact-back-link.invite-detail-back-link {
    min-height: 50px;
    gap: 7px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .back-link-arrow {
    font-size: 17px;
  }

  .invite-detail-back-copy strong,
  .detail-title-copy strong {
    font-size: 14px;
  }

  .invite-detail-back-copy small,
  .detail-title-copy small {
    font-size: 10px;
  }

  .invite-detail-back-status .status-badge {
    padding: 4px 7px;
    font-size: 9px;
  }

  .app-page > .compact-back-link.invite-detail-back-link {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .invite-detail-back-status {
    display: none;
  }

  .profile-edit-page .profile-preview {
    gap: 10px;
  }

  .profile-edit-page .profile-preview img,
  .profile-edit-page .avatar-fallback {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
    border-radius: 24px;
  }
}

@media (max-width: 340px) {
  .app-page > .compact-back-link.detail-title-link,
  .app-page > .compact-back-link.invite-detail-back-link {
    padding-right: 10px;
    padding-left: 10px;
  }

  .invite-detail-back-copy strong,
  .detail-title-copy strong {
    font-size: 13px;
  }
}

.app-page > .compact-back-link.detail-title-link,
.app-page > .compact-back-link.invite-detail-back-link {
  height: calc(var(--compact-topbar-height) + env(safe-area-inset-top, 0px));
  min-height: calc(var(--compact-topbar-height) + env(safe-area-inset-top, 0px));
  max-height: calc(var(--compact-topbar-height) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: 0;
  overflow: hidden;
}

.app-page > .compact-back-link.detail-title-link {
  grid-template-columns: auto minmax(0, 1fr);
}

.app-page > .compact-back-link.invite-detail-back-link {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

@media (max-width: 420px) {
  :root {
    --compact-topbar-height: 54px;
  }
}

.invite-detail-back-status {
  display: flex;
  justify-content: flex-end;
  min-width: fit-content;
}

@media (max-width: 420px) {
  .app-page > .compact-back-link.invite-detail-back-link {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .invite-detail-back-status {
    display: none;
  }
}

.invite-detail-actions-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  position: relative;
  z-index: 3;
}

.invite-detail-actions-row .invite-chat-button {
  flex: 0 0 auto;
  min-width: 0;
}

.invite-mini-action,
.invite-chat-button {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--green-deep);
  background: transparent;
  border: 1px solid rgba(6, 78, 59, .14);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.invite-chat-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.invite-share-panel {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.invite-share-panel strong,
.invite-share-panel span {
  display: block;
}

.invite-share-panel strong {
  color: var(--green-deep);
  font-size: 13px;
}

.invite-share-panel span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.invite-share-toggle {
  border: 1px solid rgba(6, 78, 59, .1);
  font: inherit;
  cursor: pointer;
}

.invite-share-toggle svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.invite-share-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 80;
  display: grid;
  gap: 6px;
  min-width: 184px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 253, 248, .98);
  border: 1px solid rgba(6, 78, 59, .1);
  box-shadow: 0 16px 34px rgba(6, 78, 59, .16);
}

.invite-share-menu[hidden] {
  display: none;
}

.share-button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(6, 78, 59, .1);
  color: var(--green-deep);
  background: rgba(232, 248, 239, .72);
  text-decoration: none;
  font: inherit;
  font-size: 11px;
  font-weight: 950;
  cursor: pointer;
}

.share-button svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.share-button.whatsapp {
  color: #fff;
  background: #128c7e;
  border-color: transparent;
}

.invite-detail-summary-card {
  display: grid;
  gap: 10px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.invite-detail-quick-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: -20px;
  margin-bottom: -1px;
  min-height: 0;
  padding: 0;
  line-height: 1;
}

.invite-detail-quick-info span {
  width: fit-content;
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(232, 248, 239, .42);
  border: 1px solid rgba(6, 78, 59, .08);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.invite-detail-quick-info b {
  color: var(--green-deep);
  font-weight: 850;
}

.invite-detail-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.invite-detail-price span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.invite-detail-price strong {
  color: var(--green-deep);
  font-size: 22px;
  font-weight: 950;
}

.invite-detail-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
  border-top: 1px solid rgba(6, 78, 59, .08);
}

.invite-detail-summary-grid div {
  min-width: 0;
  padding: 9px 0;
  border-bottom: 1px solid rgba(6, 78, 59, .08);
}

.invite-detail-summary-grid span,
.invite-detail-summary-grid strong {
  display: block;
  min-width: 0;
}

.invite-detail-summary-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.invite-detail-summary-grid strong {
  margin-top: 2px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.25;
}

.invite-pickup-summary {
  grid-column: 1 / -1;
}

.invite-detail-map-link {
  color: var(--green-deep);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.invite-detail-product-list {
  display: grid;
  gap: 0;
  border-top: 0;
}

.invite-detail-product-head {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(86px, .72fr) minmax(64px, .52fr) 12px;
  gap: 8px;
  padding: 0 0 5px;
  border-bottom: 0;
}

.invite-detail-product-head span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.invite-detail-item {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(86px, .72fr) minmax(64px, .52fr) 12px;
  gap: 8px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(6, 78, 59, .08);
}

.invite-detail-item:last-child {
  border-bottom: 0;
}

.invite-detail-item strong,
.invite-detail-item span,
.invite-detail-item small {
  display: block;
  min-width: 0;
}

.invite-detail-product-cell {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
}

.invite-detail-item .tile-image {
  width: 48px;
  height: 48px;
  border-radius: 13px;
}

.invite-detail-item-copy {
  min-width: 0;
}

.invite-detail-item strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.22;
}

.invite-detail-item-copy > span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.invite-detail-item-price,
.invite-detail-item-qty {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

.invite-detail-item-qty {
  color: var(--muted);
  text-align: left;
}

.invite-detail-items-total {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 6px;
  padding: 10px 11px;
  border-radius: 14px;
  background: rgba(232, 248, 239, .72);
  border: 1px solid rgba(6, 78, 59, .08);
}

.invite-detail-items-total span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.1;
}

.invite-detail-items-total strong {
  display: block;
  margin-top: 2px;
  color: var(--green-deep);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.1;
}

.invite-detail-items-total > div:last-child {
  text-align: right;
}

.invite-detail-item-arrow {
  color: rgba(6, 78, 59, .32);
  font-size: 25px;
  font-weight: 650;
  line-height: 1;
}

@media (max-width: 420px) {
  .invite-detail-product-head {
    grid-template-columns: minmax(0, 1.35fr) minmax(76px, .72fr) minmax(54px, .48fr) 10px;
    gap: 6px;
  }

  .invite-detail-item {
    grid-template-columns: minmax(0, 1.35fr) minmax(76px, .72fr) minmax(54px, .48fr) 10px;
    gap: 6px;
  }

  .invite-detail-product-cell {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 7px;
  }

  .invite-detail-item .tile-image {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .invite-detail-item strong {
    font-size: 12px;
  }

  .invite-detail-item-price,
  .invite-detail-item-qty {
    font-size: 11px;
  }
}

.invite-progress-box {
  display: grid;
  gap: 6px;
  margin-top: 9px;
}

.invite-detail-logistics {
  display: grid;
  gap: 8px;
}

.invite-progress-overview {
  margin-top: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.invite-progress-overview .invite-progress {
  width: 100%;
  height: 7px;
}

.invite-progress-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.invite-progress-label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.invite-progress-label strong {
  color: #135f92;
  font-size: 12px;
  font-weight: 850;
}

.invite-progress {
  height: 13px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(19, 95, 146, .16);
  border: 1px solid rgba(19, 95, 146, .12);
}

.invite-progress div {
  height: 100%;
  min-width: 8px;
  border-radius: inherit;
  background: linear-gradient(90deg, #135f92, var(--green));
}

.invite-pickup-line {
  display: grid;
  gap: 3px;
  padding: 8px 0 0;
  border-top: 1px solid rgba(6, 78, 59, .08);
}

.invite-pickup-line span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
}

.invite-pickup-line a,
.invite-pickup-line strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.32;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .invite-detail-actions-row {
    gap: 6px;
  }

  .invite-mini-action,
  .invite-chat-button,
  .invite-cancel-form button {
    min-height: 30px;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 11px;
  }
}

.invite-list-progress {
  display: grid;
  gap: 6px;
  margin-top: 9px;
}

.invite-list-progress > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.invite-list-progress span,
.invite-list-progress strong {
  display: block;
  margin: 0;
}

.invite-list-progress span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.invite-list-progress strong {
  color: #135f92;
  font-size: 12px;
  white-space: nowrap;
}

.invite-list-page {
  gap: 16px;
}

.explore-page {
  padding-inline: 12px;
}

.invite-list-hero {
  display: grid;
  gap: 6px;
}

.explore-hero {
  padding-inline: 2px;
}

.explore-category-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 4px;
  -webkit-overflow-scrolling: touch;
}

.explore-category-scroll::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--green-deep);
  background: rgba(255, 253, 248, .84);
  border: 1.5px solid rgba(6, 78, 59, .1);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.filter-pill.on {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.explore-mode-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.explore-view-switch {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  min-width: 0;
  padding: 4px;
  border-radius: 999px;
  background: rgba(6, 78, 59, .055);
  border: 1px solid rgba(6, 78, 59, .08);
}

.vs-btn {
  min-width: 0;
  min-height: 31px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vs-btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vs-btn.on {
  color: #fff;
  background: var(--green-deep);
  box-shadow: 0 8px 18px rgba(6, 78, 59, .16);
}

.map-action-button {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 11px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  border: 1px solid rgba(6, 78, 59, .14);
  text-decoration: none;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(6, 78, 59, .12);
}

.map-action-button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 360px) {
  .explore-mode-row {
    gap: 6px;
  }

  .vs-btn {
    font-size: 9px;
  }

  .map-action-button {
    padding-inline: 9px;
    font-size: 10px;
  }
}

.explore-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(6, 78, 59, .08);
  border: 1px solid rgba(6, 78, 59, .08);
}

.explore-tabs a {
  display: grid;
  place-items: center;
  min-height: 38px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 950;
}

.explore-tabs a.on {
  color: var(--green-deep);
  background: var(--surface);
  box-shadow: 0 8px 18px rgba(6, 78, 59, .08);
}

.account-main-tabs {
  display: flex;
}

.account-main-tabs a {
  flex: 1 1 0;
}

.cart-overview-tabs {
  margin-bottom: 6px;
}

.pickup-date-groups {
  display: grid;
  gap: 16px;
}

.pickup-date-group {
  display: grid;
  gap: 9px;
}

.pickup-date-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-inline: 2px;
}

.pickup-date-heading strong {
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 950;
}

.pickup-date-heading span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.management-subtabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
}

.management-subtabs a {
  min-width: 0;
  padding-inline: 6px;
  white-space: nowrap;
}

.management-summary-grid {
  margin-top: 10px;
}

.inline-management-form,
.management-action-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.management-action-row {
  justify-content: flex-end;
  margin-top: 10px;
}

.compact-input,
.management-action-row input {
  width: min(180px, 100%);
  min-height: 32px;
  border: 1px solid rgba(6, 78, 59, .14);
  border-radius: 9px;
  padding: 6px 9px;
  font: inherit;
}

.danger-link {
  color: #b42318;
}

.invite-list-results {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.invite-card-grid,
.product-active-invite-list {
  grid-template-columns: 1fr;
}

.list-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 22px;
  color: inherit;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid rgba(6, 78, 59, .1);
  box-shadow: 0 8px 18px rgba(6, 78, 59, .07);
}

.list-card.is-past-pickup {
  color: #667085;
  background: #f2f4f7;
  border-color: rgba(102, 112, 133, .18);
  box-shadow: none;
}

.list-card.is-past-pickup .lc-icon {
  filter: grayscale(1);
  opacity: .72;
  box-shadow: none;
}

.list-card.is-past-pickup .lc-body h4,
.list-card.is-past-pickup .lc-price,
.list-card.is-past-pickup .dp-label .n {
  color: #475467;
}

.list-card.is-past-pickup .store,
.list-card.is-past-pickup .lc-tag,
.list-card.is-past-pickup .dp-label {
  color: #98a2b3;
}

.list-card.is-past-pickup .explore-type-chip,
.list-card.is-past-pickup .explore-category-chip,
.list-card.is-past-pickup .joined-invite-chip {
  color: #667085;
  background: #e4e7ec;
  border-color: rgba(102, 112, 133, .16);
  box-shadow: none;
}

.list-card.is-past-pickup .lc-fill {
  background: #98a2b3;
}

.lc-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  overflow: hidden;
  font-size: 24px;
  box-shadow: 0 10px 20px rgba(6, 78, 59, .12);
}

.lc-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lc-icon.has-image {
  background: rgba(255, 253, 248, .86);
  border: 1px solid rgba(6, 78, 59, .08);
}

.icon-red {
  background: linear-gradient(145deg, var(--red), #e85d75);
}

.icon-green {
  background: linear-gradient(145deg, var(--green), var(--green-deep));
}

.lc-body {
  min-width: 0;
  display: grid;
  gap: 0;
}

.lc-body h4 {
  display: -webkit-box;
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.invite-category-line {
  margin-bottom: 3px;
}

.invite-product-count-line {
  width: fit-content;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
}

.lc-body .store {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lc-prog {
  grid-column: 2 / -1;
  width: 100%;
  margin-bottom: 0;
  display: grid;
  gap: 5px;
}

.dp-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.dp-label .n {
  color: var(--green-deep);
}

.lc-bar {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(6, 78, 59, .1);
}

.lc-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-deep), var(--green));
}

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

.lc-tag {
  padding: 2px 7px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(6, 78, 59, .055);
  font-size: 10px;
  font-weight: 700;
}

.lc-right {
  display: grid;
  justify-items: end;
  gap: 4px;
  text-align: right;
  min-width: 82px;
}

.lc-price {
  color: var(--green-deep);
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.lc-price small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  line-height: 1.05;
}

.price-save-chip {
  width: fit-content;
  justify-self: end;
  padding: 2px 6px;
  border-radius: 999px;
  color: #047857;
  background: rgba(16, 185, 129, .12);
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.lc-dist {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.product-list-card,
.invite-list-card-new,
.home-invite-list-card {
  width: 100%;
}

.product-list-card .inline-action-form,
.product-list-card .inline-login-link {
  grid-column: 2 / -1;
  margin: 0;
}

.product-list-card .inline-action-form button,
.product-list-card .inline-login-link {
  width: 100%;
  min-height: 36px;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
}

.home-invite-list-card {
  box-shadow: 0 10px 24px rgba(6, 78, 59, .07);
}

.finished-invite-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 23px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: #6d28d9;
  box-shadow: 0 8px 18px rgba(109, 40, 217, .18);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .list-card {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
    border-radius: 19px;
  }

  .lc-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 21px;
  }

  .lc-right {
    grid-column: 2 / -1;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    justify-items: stretch;
    min-width: 0;
    text-align: left;
  }

  .lc-prog,
  .product-list-card .inline-action-form,
  .product-list-card .inline-login-link {
    grid-column: 1 / -1;
  }
}

.joined-invite-chip.inline {
  position: static;
  width: fit-content;
}

.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;
}

.explore-result-card {
  position: relative;
}

.explore-card-topline {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.explore-type-chip,
.explore-category-chip {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 950;
}

.explore-type-chip.invite {
  color: #fff;
  background: #047857;
  border: 1px solid rgba(4, 120, 87, .45);
  box-shadow: 0 7px 14px rgba(4, 120, 87, .18);
}

.explore-type-chip.product {
  color: var(--green-deep);
  background: rgba(232, 248, 239, .78);
  border: 1px solid rgba(6, 78, 59, .08);
}

.explore-type-chip.store {
  color: #365314;
  background: rgba(236, 252, 203, .9);
  border: 1px solid rgba(101, 163, 13, .18);
}

.explore-category-chip {
  color: var(--green-deep);
  background: rgba(232, 248, 239, .78);
  border: 1px solid rgba(6, 78, 59, .08);
}

.home-delivery-chip {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  color: #047857;
  background: rgba(236, 252, 203, .92);
  border: 1px solid rgba(101, 163, 13, .18);
  font-size: 10px;
  font-weight: 850;
}

.explore-map-panel {
  display: grid;
  gap: 10px;
}

.explore-map {
  min-height: 460px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(6, 78, 59, .1);
  box-shadow: 0 14px 30px rgba(6, 78, 59, .11);
  background: rgba(232, 248, 239, .7);
}

.invite-list-card {
  position: relative;
  display: grid;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(6, 78, 59, .12);
  border-radius: 20px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 10px 24px rgba(6, 78, 59, .07);
}

.invite-list-card.product-display-card {
  gap: 12px;
  padding: 13px;
  border-radius: 28px;
  box-shadow: 0 18px 38px rgba(6, 78, 59, .1);
}

.tb-product-card-visual {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(232, 248, 239, .72), rgba(255, 253, 248, .9));
  border: 1px solid rgba(6, 78, 59, .08);
}

.tb-product-card-visual img,
.tb-product-card-fallback {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.tb-product-card-fallback {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  font-size: 28px;
  font-weight: 950;
}

.tb-product-card-category {
  position: absolute;
  left: 0;
  top: 0;
  max-width: calc(100% - 94px);
  padding: 11px 14px;
  border-bottom-right-radius: 17px;
  color: var(--green-deep);
  background: rgba(255, 253, 248, .94);
  box-shadow: 6px 6px 16px rgba(6, 78, 59, .12);
  font-size: 11px;
  font-weight: 950;
}

.tb-product-card-price {
  position: absolute;
  right: 9px;
  bottom: 9px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--green-deep);
  box-shadow: 0 8px 18px rgba(6, 78, 59, .2);
  font-size: 11px;
  font-weight: 950;
}

.invite-image-pickup {
  position: absolute;
  left: 9px;
  bottom: 9px;
  max-width: calc(100% - 105px);
  display: grid;
  gap: 2px;
  padding: 7px 10px;
  border-radius: 14px;
  color: var(--green-deep);
  background: rgba(255, 253, 248, .94);
  border: 1px solid rgba(6, 78, 59, .1);
  box-shadow: 0 8px 18px rgba(6, 78, 59, .14);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.08;
}

.invite-image-pickup span,
.invite-image-pickup small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invite-image-pickup small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
}

.tb-product-card-copy {
  display: grid;
  gap: 5px;
}

.tb-product-card-copy strong {
  color: var(--green-deep);
  font-size: 18px;
  line-height: 1.18;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}

.tb-product-card-copy > span:not(.pickup-date-chip) {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.tb-product-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tb-product-card-tags span {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--green-deep);
  background: rgba(232, 248, 239, .75);
  border: 1px solid rgba(6, 78, 59, .08);
  font-size: 11px;
  font-weight: 900;
}

.tb-product-card-progress {
  margin-top: 0;
  padding: 10px;
  border-radius: 18px;
  background: rgba(232, 248, 239, .46);
  border: 1px solid rgba(6, 78, 59, .08);
}

.tb-product-card-action {
  display: grid;
}

.tb-product-card-action form {
  display: grid;
}

.tb-product-card-action button,
.tb-product-card-action a,
.tb-card-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--green-deep);
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.tb-product-card-action button:hover,
.tb-product-card-action a:hover {
  filter: brightness(.96);
}

.tb-card-state {
  cursor: default;
}

.tb-card-state.joined {
  color: #135f92;
  background: rgba(219, 234, 254, .92);
}

.tb-card-state.muted {
  color: var(--muted);
  background: rgba(100, 112, 106, .12);
}

.compact-invite-main {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
}

.compact-invite-main .tile-image {
  width: 96px;
  height: 96px;
  border-radius: 22px;
}

.compact-invite-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 10px;
}

.invite-product-list {
  display: grid;
  gap: 7px;
}

.invite-product-row {
  display: grid;
  gap: 2px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(6, 78, 59, .08);
}

.invite-product-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.invite-product-row strong {
  color: var(--green-deep);
  font-size: 16px;
  line-height: 1.22;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.invite-product-row span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.compact-invite-details {
  display: grid;
  gap: 5px;
}

.compact-invite-copy .pickup-date-chip {
  max-width: 100%;
  margin-top: 0 !important;
  padding: 5px 8px;
  font-size: 10px !important;
}

.compact-invite-line {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-invite-line.savings {
  color: #047857;
}

.compact-invite-state {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--green-deep);
  background: rgba(232, 248, 239, .72);
  border: 1px solid rgba(6, 78, 59, .07);
  font-size: 10px;
  font-weight: 900;
}

.compact-invite-progress .invite-progress {
  height: 10px;
}

.compact-invite-state {
  display: inline-flex;
  justify-content: center;
  width: fit-content;
}

.compact-invite-state.muted {
  color: var(--muted);
  background: rgba(100, 112, 106, .12);
}

.compact-invite-state.finished {
  color: #fff;
  background: #6d28d9;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(109, 40, 217, .18);
}

.invite-product-visual .invite-finished-overlay {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: #6d28d9;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .2);
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

.invite-list-card .tb-product-card-action button,
.invite-list-card .tb-product-card-action a,
.invite-list-card .tb-card-state,
.home-invite-card .tb-product-card-action button,
.home-invite-card .tb-product-card-action a,
.home-invite-card .tb-card-state {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 11px;
}

.product-display-card .inline-action-form {
  margin-top: 0;
}

.product-display-card .inline-action-form button,
.product-card-cta {
  width: 100%;
  justify-content: center;
}

.invite-list-card-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.invite-list-card-copy {
  min-width: 0;
  display: grid;
  justify-items: start;
  gap: 5px;
}

.invite-list-card-copy > span:not(.pickup-date-chip):not(.joined-invite-chip) {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.invite-list-progress-full {
  margin-top: 0;
  padding: 11px;
  border-radius: 18px;
  background: rgba(232, 248, 239, .5);
  border: 1px solid rgba(6, 78, 59, .08);
}

.invite-list-progress-full .invite-progress {
  width: 100%;
  height: 16px;
  background: rgba(19, 95, 146, .13);
}

.invite-list-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.invite-list-card-foot .product-mini-stats {
  margin-top: 0;
}

.invite-list-open {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--green-deep);
  background: rgba(255, 246, 214, .82);
  border: 1px solid rgba(6, 78, 59, .1);
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

.invite-list-empty {
  align-items: start;
}

.clickable-list-tile {
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.clickable-list-tile:hover,
.clickable-list-tile:focus-visible {
  border-color: rgba(15, 143, 91, .22);
  box-shadow: 0 14px 34px rgba(6, 78, 59, .1);
  outline: 0;
  transform: translateY(-1px);
}

.store-switcher {
  display: grid;
  gap: 12px;
}

.store-card {
  display: grid;
  gap: 14px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(34, 197, 94, .1), transparent 42%),
    rgba(255, 255, 255, .78);
  box-shadow: 0 10px 26px rgba(6, 78, 59, .06);
}

.store-card-link {
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.store-card-link:hover {
  border-color: rgba(15, 143, 91, .22);
  box-shadow: 0 14px 34px rgba(6, 78, 59, .1);
  transform: translateY(-1px);
}

.store-card-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.store-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  font-size: 13px;
  font-weight: 950;
}

.store-icon.image {
  object-fit: cover;
  background: transparent;
}

.store-card strong,
.store-card span,
.empty-panel strong,
.empty-panel span {
  display: block;
}

.store-card strong,
.empty-panel strong {
  color: var(--green-deep);
  font-size: 17px;
  letter-spacing: -.02em;
}

.store-card span,
.empty-panel span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.store-card-meta {
  display: grid;
  gap: 4px;
  padding: 10px 11px;
  border-radius: 16px;
  background: rgba(232, 248, 239, .55);
  border: 1px solid rgba(6, 78, 59, .08);
}

.store-card-meta span {
  margin: 0;
  overflow-wrap: anywhere;
}

.quiet-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.quiet-actions a {
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}

.empty-panel {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 22px;
  background: rgba(232, 248, 239, .42);
  text-align: center;
}

.dashboard-top-action {
  display: flex;
}

.home-topbar[data-app-topbar] {
  position: sticky;
  top: 0;
  z-index: 120;
  display: block;
  padding: max(10px, env(safe-area-inset-top, 0px)) clamp(12px, 4vw, 22px) 10px;
  background: rgba(245, 240, 232, .92);
  border-bottom: 1px solid rgba(26, 23, 20, .055);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.app-topbar-inner {
  width: min(100%, 480px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.app-brand-row .brand-mark {
  width: 38px;
  height: 38px;
  background: transparent;
  box-shadow: none;
}

.app-brand-row .eyebrow {
  color: var(--green-deep);
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.05;
}

.app-brand-row span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
}

.app-top-actions {
  flex: 0 0 auto;
}

.home-shell {
  display: grid;
  gap: 18px;
}

.home-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-topbar[data-app-topbar] {
  display: block;
}

.home-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-search-form {
  margin-top: 0;
}

.home-search-form input {
  background: transparent;
}

.top-icon-btn,
.top-profile-link {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  color: var(--green-deep);
  background: rgba(255, 253, 248, .9);
  border: 1px solid rgba(26, 23, 20, .09);
  box-shadow: 0 5px 14px rgba(26, 23, 20, .055);
  text-decoration: none;
}

.top-icon-btn {
  position: relative;
}

.top-icon-btn.on {
  color: #fff;
  background: var(--green-deep);
  border-color: transparent;
}

.top-profile-link.on {
  border-color: var(--green-deep);
  box-shadow: 0 0 0 3px rgba(6, 78, 59, .14), 0 8px 18px rgba(6, 78, 59, .12);
}

.top-notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #dc2626;
  border: 2px solid #f5f0e8;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
}

.top-icon-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.top-login-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.top-profile-link img,
.top-profile-link span {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.top-profile-link img {
  object-fit: cover;
}

.top-profile-link span {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, var(--green), var(--green-deep));
  font-size: 14px;
  font-weight: 950;
}

.top-notification-badge[hidden],
.bottom-notification-badge[hidden] {
  display: none;
}

.bottom-nav .nav-symbol {
  position: relative;
}

.bottom-notification-badge {
  position: absolute;
  top: -9px;
  right: -10px;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  color: #fff;
  background: #dc2626;
  border: 2px solid #fffdf8;
  font-size: 9px;
  font-weight: 950;
}

.live-notification {
  display: grid;
  gap: 2px;
}

.live-notification strong,
.live-notification span {
  display: block;
}

.live-notification span {
  font-size: 12px;
  font-weight: 800;
}

.notification-page {
  display: grid;
  align-content: start;
  grid-auto-rows: max-content;
  gap: 10px;
}

.notification-head-section {
  display: grid;
  gap: 6px;
}

.notification-head-section form {
  display: flex;
  justify-content: flex-end;
}

.button-reset {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.notification-stack {
  display: grid;
  gap: 0;
  align-content: start;
  border-top: 1px solid rgba(6, 78, 59, .08);
}

.notification-item {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 12px 28px 12px 2px;
  border: 0;
  border-bottom: 1px solid rgba(6, 78, 59, .08);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  text-decoration: none;
  box-shadow: none;
}

.notification-item.unread {
  border-color: rgba(6, 78, 59, .14);
  background: linear-gradient(90deg, rgba(232, 248, 239, .72), transparent 84%);
}

.notification-item strong,
.notification-item span,
.notification-item small {
  display: block;
}

.notification-item strong {
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 900;
}

.notification-item span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.38;
}

.notification-item small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.notification-dot {
  position: absolute;
  top: 17px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .12);
}

.home-hero-card {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 5vw, 28px);
  border-radius: clamp(24px, 6vw, 34px);
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(132, 204, 22, .28), transparent 40%),
    radial-gradient(circle at 16% 100%, rgba(255, 255, 255, .12), transparent 34%),
    linear-gradient(145deg, var(--green-deep), #0b1f1b);
  box-shadow: 0 24px 66px rgba(6, 78, 59, .22);
  overflow: hidden;
  position: relative;
}

.home-hero-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -60px;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: rgba(132, 204, 22, .14);
  border: 1px solid rgba(255, 255, 255, .14);
}

.home-hero-card > * {
  position: relative;
  z-index: 1;
}

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

.home-brand-row .brand-mark {
  box-shadow: none;
  flex: 0 0 auto;
}

.home-brand-row .eyebrow {
  color: var(--green-deep);
}

.home-hero-card h1,
.home-hero-card p {
  color: #fff;
}

.home-brand-row span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-brand-row .brand-mark {
  box-shadow: none;
}

.app-brand-row .eyebrow {
  color: var(--green-deep);
  font-size: 13px;
  letter-spacing: 0;
}

.app-brand-row span {
  font-size: 10px;
  font-weight: 650;
}

.home-hero-card h1 {
  max-width: 620px;
  font-size: clamp(38px, 10vw, 76px);
  letter-spacing: -.07em;
}

.home-hero-card p {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
}

.home-greeting {
  width: fit-content;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  font-weight: 850;
}

.home-hero-badge {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  font-weight: 900;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, .12);
}

.hero-stats-row div {
  padding: 12px 8px;
  text-align: center;
  background: rgba(0, 0, 0, .14);
}

.hero-stats-row strong,
.hero-stats-row span {
  display: block;
}

.hero-stats-row strong {
  color: #fff;
  font-size: 20px;
  letter-spacing: -.04em;
}

.hero-stats-row span {
  color: rgba(255, 255, 255, .66);
  font-size: 10px;
  font-weight: 750;
  margin-top: 2px;
}

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

.home-proof-grid div {
  padding: 11px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .13);
}

.home-proof-grid strong,
.home-proof-grid span {
  display: block;
}

.home-proof-grid strong {
  color: #fff;
  font-size: 13px;
}

.home-proof-grid span {
  color: rgba(255, 255, 255, .68);
  font-size: 11px;
  margin-top: 3px;
}

.home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.home-section-head h2 {
  margin: 2px 0 0;
  color: var(--green-deep);
  font-size: clamp(22px, 5vw, 30px);
  letter-spacing: -.05em;
}

.home-section-head a {
  flex: 0 0 auto;
  font-size: 13px;
  text-decoration: none;
}

.home-map-card {
  min-height: 220px;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .72);
  background:
    linear-gradient(145deg, #dfead7, #f7f0df);
  box-shadow: 0 18px 46px rgba(6, 78, 59, .1);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.home-map-card:focus-visible {
  outline: 3px solid rgba(15, 143, 91, .28);
  outline-offset: 3px;
}

.home-real-map {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.real-map-card .leaflet-container {
  width: 100%;
  height: 100%;
  background: #dfead7;
  font: inherit;
}

.home-map-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  background: transparent;
}

.home-map-fallback.show {
  display: block;
}

.tb-map-marker {
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  border: 3px solid #fff;
  box-shadow: 0 8px 22px rgba(6, 78, 59, .24);
  font-size: 10px;
  font-weight: 950;
}

.tb-map-marker.store {
  width: 26px !important;
  height: 26px !important;
  border-width: 2px;
  font-size: 8px;
}

.tb-map-marker.user {
  background: #135f92;
  width: 42px !important;
  height: 24px !important;
  border-width: 2px;
  font-size: 8px;
}

.tb-map-marker.invite {
  width: 18px;
  height: 18px;
  border-width: 2px;
  background: linear-gradient(145deg, #f59e0b, #92400e);
  box-shadow: 0 6px 16px rgba(146, 64, 14, .24);
  font-size: 12px;
  line-height: 1;
}

.tb-map-label-marker {
  cursor: pointer;
}

.tb-route-label-marker {
  pointer-events: none;
}

.tb-route-label {
  display: inline-block;
  width: max-content;
  padding: 3px 7px;
  border-radius: 999px;
  color: #ffffff;
  background: #047857;
  border: 1px solid rgba(255, 255, 255, .88);
  box-shadow: 0 6px 14px rgba(4, 120, 87, .28);
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.tb-map-label {
  position: absolute;
  max-width: 72px;
  padding: 2px 5px;
  border-radius: 999px;
  color: #ffffff;
  background: #064e3b;
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 6px 14px rgba(6, 78, 59, .2);
  backdrop-filter: blur(12px);
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  display: inline-block;
  width: max-content;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tb-map-label.invite {
  color: #ffffff;
  background: rgba(146, 64, 14, .92);
  border-color: rgba(255, 255, 255, .74);
}

.tb-map-label-marker.compact .tb-map-label {
  max-width: 56px;
  padding: 2px 4px;
  font-size: 7px;
  line-height: 1;
}

.home-map-card .leaflet-marker-icon .tb-map-label,
.full-map-panel .leaflet-marker-icon .tb-map-label {
  background: #064e3b !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .86) !important;
  max-width: 72px !important;
  padding: 2px 5px !important;
  font-size: 8px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  display: inline-block !important;
  width: max-content !important;
  box-shadow: 0 4px 10px rgba(6, 78, 59, .16) !important;
}

.home-map-card .leaflet-marker-icon .tb-map-label {
  max-width: 56px !important;
  font-size: 7px !important;
}

.tb-map-label::before {
  content: "";
  position: absolute;
  opacity: .82;
}

.tb-map-label.pos-right {
  top: 50%;
  transform: translate(8px, -25%);
}

.tb-map-label.pos-right::before {
  left: -8px;
  top: 50%;
  width: 8px;
  border-top: 1px solid rgba(6, 78, 59, .46);
}

.tb-map-label.pos-left {
  top: 50%;
  right: 0;
  transform: translate(-8px, -25%);
}

.tb-map-label.pos-left::before {
  right: -8px;
  top: 50%;
  width: 8px;
  border-top: 1px solid rgba(6, 78, 59, .46);
}

.leaflet-popup-content {
  color: var(--ink);
  font-family: inherit;
  font-size: 12px;
  line-height: 1.45;
}

.leaflet-popup-content strong {
  color: var(--green-deep);
}

.map-popup-button {
  display: inline-flex;
  margin-top: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--green-deep);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.map-page-shell {
  position: fixed;
  inset: 0;
  display: block;
  min-height: 100vh;
  overflow: hidden;
  background: #dfead7;
}

.map-page-container {
  width: 100vw;
  max-width: none;
  min-height: 100vh;
  padding: 0;
}

.map-page-header {
  position: fixed;
  z-index: 500;
  top: calc(12px + env(safe-area-inset-top, 0px));
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
}

.map-page-header .back-link {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 253, 248, .84);
  border: 1px solid var(--line);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.map-page-title {
  min-width: 0;
}

.map-page-header h1 {
  max-width: none;
  font-size: clamp(20px, 4vw, 28px);
  line-height: 1.02;
}

.map-page-header .eyebrow {
  text-align: right;
  margin-bottom: 2px;
  font-size: 10px;
}

.full-map-layout {
  display: block;
  width: 100vw;
  height: 100vh;
}

.full-map-panel {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  background: linear-gradient(145deg, #dfead7, #f7f0df);
  box-shadow: none;
}

.full-real-map {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.full-real-map .leaflet-container,
.full-map-panel .leaflet-container {
  width: 100%;
  height: 100%;
  background: #dfead7;
  font: inherit;
}

.full-map-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 24px;
  text-align: center;
  background:
    linear-gradient(rgba(6, 78, 59, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 78, 59, .07) 1px, transparent 1px),
    linear-gradient(145deg, #dfead7, #f7f0df);
  background-size: 38px 38px, 38px 38px, auto;
}

.full-map-fallback.show {
  display: grid;
}

.full-map-fallback strong {
  color: var(--green-deep);
  font-size: 18px;
}

.full-map-fallback span {
  color: var(--muted);
  font-size: 13px;
}

.full-map-floating {
  position: absolute;
  z-index: 4;
  left: 12px;
  top: calc(58px + env(safe-area-inset-top, 0px));
  max-width: min(calc(100% - 74px), 320px);
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(255, 253, 248, .92);
  border: 1px solid rgba(6, 78, 59, .09);
  box-shadow: 0 16px 34px rgba(6, 78, 59, .12);
  backdrop-filter: blur(16px);
}

.full-map-floating strong,
.full-map-floating span {
  display: block;
}

.full-map-floating strong {
  color: var(--green-deep);
  font-size: 13px;
}

.full-map-floating span {
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}

.map-store-panel {
  display: none;
  gap: 10px;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 253, 248, .86);
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(6, 78, 59, .06);
}

.full-map-panel .leaflet-control-attribution {
  font-size: 8px;
  line-height: 1.1;
  padding: 1px 4px;
}

.full-map-panel .leaflet-top.leaflet-right {
  top: 10px;
  right: 10px;
}

.full-map-panel .leaflet-control-zoom {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(6, 78, 59, .12);
}

.full-map-panel .leaflet-control-zoom a {
  width: 38px;
  height: 38px;
  line-height: 38px;
  color: var(--green-deep);
  border: 0;
}

.map-store-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.map-store-panel-head strong {
  color: var(--green-deep);
  font-size: 16px;
}

.map-store-panel-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.mapped-store-list {
  display: grid;
  gap: 8px;
}

.mapped-store-card {
  display: grid;
  gap: 3px;
  padding: 11px;
  border-radius: 18px;
  background: rgba(232, 248, 239, .48);
  border: 1px solid rgba(6, 78, 59, .08);
  text-decoration: none;
}

.mapped-store-card.invite {
  background: rgba(255, 251, 235, .72);
  border-color: rgba(146, 64, 14, .12);
}

.mapped-store-card small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.mapped-store-card strong {
  color: var(--green-deep);
  font-size: 14px;
}

.mapped-store-card.invite strong {
  color: #7c2d12;
}

.mapped-store-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.home-map-info {
  position: absolute;
  z-index: 4;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 13px;
  border-radius: 20px;
  background: rgba(255, 253, 248, .9);
  border: 1px solid rgba(6, 78, 59, .09);
  backdrop-filter: blur(16px);
}

.home-map-info strong,
.home-map-info span {
  display: block;
}

.home-map-info strong {
  color: var(--green-deep);
}

.home-map-info span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.home-card-grid {
  display: grid;
  gap: 10px;
}

.home-feed-shell {
  display: grid;
  gap: 14px;
}

.home-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.home-feed-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.home-feed-head h1 {
  margin: 0;
  color: var(--green-deep);
  font-size: 30px;
  letter-spacing: 0;
  line-height: 1;
}

.home-invite-feed {
  gap: 0;
  grid-template-columns: 1fr;
}

.home-highlight-anchor {
  display: block;
  height: 1px;
  margin-top: -84px;
  padding-top: 84px;
  pointer-events: none;
  scroll-margin-top: 104px;
}

.home-category-scroll {
  margin-top: -4px;
}

.home-feed-invite-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
  padding: 14px 0;
  border-radius: 0;
  color: inherit;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(6, 78, 59, .1);
  box-shadow: none;
}

.home-feed-invite-card.is-highlighted {
  margin-inline: -10px;
  padding-inline: 10px;
  border-radius: 18px;
  background: rgba(232, 248, 239, .9);
  border-bottom-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(6, 78, 59, .13), 0 10px 24px rgba(6, 78, 59, .08);
}

.home-feed-invite-card.is-joined {
  margin-inline: -10px;
  padding-inline: 10px;
  border-radius: 18px;
  background: rgba(224, 242, 254, .72);
  border-bottom-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(14, 116, 144, .16);
}

.home-feed-invite-card.is-highlighted {
  background: rgba(232, 248, 239, .9);
  box-shadow: inset 0 0 0 1px rgba(6, 78, 59, .13), 0 10px 24px rgba(6, 78, 59, .08);
}

.home-feed-invite-card:last-child {
  border-bottom: 0;
}

.home-feed-media {
  position: relative;
  display: grid;
  gap: 3px;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(232, 248, 239, .78);
}

.home-feed-media-count-1 {
  grid-template-columns: 1fr;
}

.home-feed-media-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-feed-media-count-3 {
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.home-feed-media-count-3 .home-feed-photo:first-child {
  grid-row: 1 / -1;
}

.home-feed-media-count-4,
.home-feed-media-many {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.home-feed-photo {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--green-deep);
  background: linear-gradient(145deg, rgba(232, 248, 239, .95), rgba(255, 246, 214, .7));
  font-size: 32px;
  font-weight: 950;
}

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

.home-feed-photo.has-more::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(6, 78, 59, .58);
}

.home-feed-photo.has-more b {
  position: absolute;
  z-index: 1;
  color: #fff;
  font-size: 28px;
  font-weight: 950;
}

.home-feed-copy {
  min-width: 0;
  min-height: 132px;
  display: grid;
  align-content: start;
  gap: 5px;
}

.home-feed-copy h2 {
  display: -webkit-box;
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-feed-copy .invite-product-count-line {
  margin-bottom: 0;
}

.home-feed-count-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.home-feed-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.home-feed-meta span {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  color: var(--green-deep);
  background: rgba(232, 248, 239, .78);
  font-size: 10px;
  font-weight: 850;
}

.home-feed-right {
  flex: 0 0 auto;
  min-width: 0;
  text-align: right;
}

.home-feed-right strong {
  color: var(--green-deep);
  font-size: 18px;
  font-weight: 950;
  white-space: nowrap;
}

.home-feed-right > span {
  width: fit-content;
  padding: 2px 6px;
  border-radius: 999px;
  color: #047857;
  background: rgba(16, 185, 129, .12);
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.home-feed-progress {
  margin-top: 1px;
}

.simple-cart-overview {
  gap: 14px;
}

.boronganku-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(6, 78, 59, .055);
  border: 1px solid rgba(6, 78, 59, .08);
}

.boronganku-toggle a {
  min-width: 0;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.boronganku-toggle a.on {
  color: var(--green-deep);
  background: var(--surface);
  box-shadow: 0 8px 18px rgba(6, 78, 59, .08);
}

.boronganku-toggle b {
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(232, 248, 239, .86);
  color: var(--green-deep);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.cart-overview-section {
  display: grid;
  gap: 8px;
}

.cart-overview-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-top: 2px;
}

.cart-overview-heading strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.cart-overview-heading span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.cart-overview-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.simple-cart-overview .home-feed-invite-card.is-joined {
  margin-inline: 0;
  padding-inline: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border-bottom-color: rgba(6, 78, 59, .1);
}

.simple-cart-overview .home-feed-invite-card.is-non-active {
  color: rgba(100, 112, 106, .78);
}

.simple-cart-overview .home-feed-invite-card.is-non-active .home-feed-media {
  opacity: .62;
  filter: grayscale(.75);
}

.simple-cart-overview .home-feed-invite-card.is-non-active .home-feed-copy h2,
.simple-cart-overview .home-feed-invite-card.is-non-active .home-feed-right strong,
.simple-cart-overview .home-feed-invite-card.is-non-active .dp-label .n {
  color: rgba(100, 112, 106, .82);
}

.simple-cart-overview .home-feed-invite-card.is-non-active .explore-category-chip,
.simple-cart-overview .home-feed-invite-card.is-non-active .home-delivery-chip,
.simple-cart-overview .home-feed-invite-card.is-non-active .joined-invite-chip,
.simple-cart-overview .home-feed-invite-card.is-non-active .home-feed-meta span {
  color: rgba(100, 112, 106, .82);
  background: rgba(226, 232, 240, .64);
  border-color: rgba(100, 116, 139, .16);
  box-shadow: none;
}

.simple-cart-overview .home-feed-invite-card.is-non-active .invite-category-line {
  color: rgba(100, 112, 106, .78);
}

.simple-cart-overview .home-feed-invite-card.is-non-active .invite-category-line > * {
  color: rgba(100, 112, 106, .82);
  background: rgba(226, 232, 240, .64);
  border-color: rgba(100, 116, 139, .16);
  box-shadow: none;
}

.simple-cart-overview .home-feed-invite-card.is-non-active .joined-invite-chip.inline {
  color: rgba(100, 112, 106, .82) !important;
  background: rgba(226, 232, 240, .64) !important;
  border-color: rgba(100, 116, 139, .16) !important;
  box-shadow: none !important;
}

.simple-cart-overview .home-feed-invite-card.is-non-active .lc-fill {
  background: rgba(100, 116, 139, .48);
}

.home-product-card,
.home-store-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, .86);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(6, 78, 59, .06);
}

.home-store-card {
  grid-template-columns: auto minmax(0, 1fr);
}

.home-product-card img,
.home-store-card img,
.home-product-fallback,
.home-store-fallback {
  width: 58px;
  height: 58px;
  border-radius: 19px;
  object-fit: cover;
}

.home-product-fallback,
.home-store-fallback {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  font-size: 13px;
  font-weight: 950;
}

.home-product-card strong,
.home-product-card span,
.home-store-card strong,
.home-store-card span {
  display: block;
  overflow-wrap: anywhere;
}

.home-product-card strong,
.home-store-card strong {
  color: var(--green-deep);
  font-size: 15px;
}

.home-product-card span,
.home-store-card span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.home-product-card b {
  color: var(--green);
  font-size: 14px;
  white-space: nowrap;
}

.home-invite-card {
  position: relative;
  display: grid;
  gap: 9px;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid rgba(6, 78, 59, .12);
  background: rgba(255, 253, 248, .88);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(6, 78, 59, .07);
}

.home-invite-card-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.home-invite-card-main img,
.home-invite-card-main .home-product-fallback {
  width: 58px;
  height: 58px;
  border-radius: 19px;
  object-fit: cover;
}

.home-invite-card-copy {
  min-width: 0;
  display: grid;
  justify-items: start;
  gap: 5px;
}

.home-invite-card-copy strong,
.home-invite-card-copy span {
  display: block;
  overflow-wrap: anywhere;
}

.home-invite-card-copy strong {
  color: var(--green-deep);
  font-size: 15px;
  line-height: 1.25;
}

.home-invite-card-copy > span:not(.pickup-date-chip):not(.joined-invite-chip) {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.home-invite-progress {
  margin-top: 0;
  padding: 10px 0 0;
  border-radius: 17px;
  background: transparent;
  border: 0;
}

.home-invite-progress .invite-progress {
  width: 100%;
  height: 16px;
}

.home-invite-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 900;
}

.home-invite-card-foot span {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 246, 214, .76);
  border: 1px solid rgba(6, 78, 59, .08);
}

.home-command-grid {
  display: grid;
  gap: 10px;
}

.home-command-grid a {
  display: grid;
  gap: 3px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 253, 248, .88);
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(6, 78, 59, .06);
  text-decoration: none;
}

.home-command-grid span {
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 950;
}

.home-command-grid strong {
  color: var(--muted);
  font-size: 12px;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.how-it-works-grid div {
  padding: 13px;
  border-radius: 20px;
  background: rgba(255, 253, 248, .82);
  border: 1px solid var(--line);
}

.how-it-works-grid strong,
.how-it-works-grid span {
  display: block;
}

.how-it-works-grid strong {
  color: var(--green-deep);
  font-size: 13px;
}

.how-it-works-grid span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  margin-top: 4px;
}

.home-account-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 253, 248, .76);
  border: 1px solid var(--line);
}

.home-account-strip form {
  display: block;
}

.home-account-strip button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 50;
  width: min(100%, 540px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
  gap: 8px;
  padding: 5px max(10px, env(safe-area-inset-left, 0px)) calc(5px + env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-right, 0px));
  border-radius: 26px 26px 0 0;
  background: rgba(255, 253, 248, .88);
  border: 1px solid rgba(6, 78, 59, .11);
  border-bottom: 0;
  box-shadow: 0 18px 46px rgba(6, 78, 59, .16);
  backdrop-filter: blur(22px);
}

.bottom-nav a,
.bottom-nav button {
  min-width: 0;
  min-height: 52px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  border-radius: 17px;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 8px;
  font-weight: 850;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}

.bottom-nav a.on,
.bottom-nav button.on {
  color: #fff;
  background: linear-gradient(145deg, var(--green-deep), #10231f);
}

.bottom-nav a:active,
.bottom-nav button:active {
  transform: scale(.96);
}

.bottom-nav .nav-create {
  color: #fff;
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  box-shadow: 0 10px 25px rgba(15, 143, 91, .2);
}

.nav-symbol {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 999px;
  color: currentColor;
}

.nav-symbol svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bottom-nav a.on .nav-symbol {
  background: rgba(255, 255, 255, .14);
}

.nav-avatar {
  width: 25px;
  height: 25px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(6, 78, 59, .12);
}

.store-home-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.store-home-page {
  gap: 14px;
}

.store-home-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 3px;
  padding: 3px;
  border-radius: 13px;
}

.store-home-tabs a {
  flex: 1 1 0;
  min-width: 0;
  min-height: 28px;
  padding: 6px 2px;
  border-radius: 9px;
  font-size: 9px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-home-image {
  width: 86px;
  height: 86px;
  border-radius: 28px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(6, 78, 59, .1);
}

.store-home-image.fallback {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  font-size: 18px;
  font-weight: 950;
}

.store-public-page {
  display: grid;
  gap: 16px;
}

.store-list-page {
  gap: 14px;
}

.store-list-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.store-list-hero h1 {
  margin: 2px 0 6px;
  color: var(--ink);
  font-size: clamp(28px, 7vw, 38px);
  line-height: 1;
  letter-spacing: -.05em;
}

.store-list-hero .lead {
  max-width: 620px;
  font-size: 13px;
}

.store-list-stats {
  flex: 0 0 auto;
  display: flex;
  gap: 6px;
}

.store-list-stats span {
  min-width: 72px;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 7px 10px;
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 253, 248, .82);
  border: 1px solid rgba(6, 78, 59, .08);
  font-size: 10px;
  font-weight: 850;
  text-align: center;
  box-shadow: 0 8px 18px rgba(6, 78, 59, .05);
}

.store-list-stats strong {
  display: block;
  color: var(--green-deep);
  font-size: 17px;
  line-height: 1;
}

.store-public-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.store-public-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border-radius: 22px;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 253, 248, .86);
  border: 1px solid rgba(6, 78, 59, .09);
  box-shadow: 0 9px 22px rgba(6, 78, 59, .055);
}

.store-public-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 11px;
}

.store-public-card-image {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(6, 78, 59, .08);
}

.store-public-card-image.fallback {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  font-size: 13px;
  font-weight: 950;
}

.store-public-card strong,
.store-public-card span,
.store-public-card small {
  display: block;
}

.store-public-card strong {
  color: var(--green-deep);
  font-size: 16px;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}

.store-public-card span,
.store-public-card small,
.store-public-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.store-public-card p {
  margin: 0;
  font-weight: 750;
}

.store-public-card small {
  padding-top: 8px;
  border-top: 1px solid rgba(6, 78, 59, .07);
}

.store-public-head {
  display: grid;
  grid-template-columns: minmax(110px, 150px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 10% 0, rgba(34, 197, 94, .1), transparent 42%),
    rgba(255, 253, 248, .78);
  border: 1px solid rgba(6, 78, 59, .08);
  box-shadow: 0 10px 26px rgba(6, 78, 59, .055);
}

.store-public-image {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.store-public-image.fallback {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  font-size: 16px;
  font-weight: 950;
}

.store-public-desc {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.store-home-meta {
  display: grid;
  gap: 4px;
  margin-top: 6px;
}

.store-home-meta span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.store-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-home-actions .btn {
  min-height: 36px;
  padding: 0 13px;
  font-size: 12px;
  box-shadow: 0 8px 18px rgba(6, 78, 59, .08);
}

.store-product-section {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.store-product-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.store-product-head h2 {
  margin: 2px 0 0;
  color: var(--green-deep);
  font-size: clamp(17px, 4vw, 22px);
  letter-spacing: -.02em;
}

.store-product-head > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.product-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.product-mini-stats span {
  width: fit-content;
  margin: 0;
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--green-deep);
  background: rgba(232, 248, 239, .68);
  border: 1px solid rgba(6, 78, 59, .08);
  font-size: 10px;
  font-weight: 850;
}

.info-panel,
.price-panel {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(232, 248, 239, .62);
  border: 1px solid var(--line);
}

.info-panel span,
.price-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.price-panel {
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
}

.price-panel strong {
  display: block;
  margin-top: 3px;
  color: var(--green-deep);
  font-size: 18px;
}

.product-hero-image {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--line);
}

.product-detail-page {
  display: grid;
  gap: 12px;
}

.product-detail-shell {
  padding-top: 0;
}

.product-detail-hero {
  display: grid;
  gap: 14px;
}

.product-detail-image {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 18px;
  border: 0;
  box-shadow: none;
}

.product-detail-image.fallback {
  display: grid;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(132, 204, 22, .34), transparent 36%),
    linear-gradient(145deg, var(--green), var(--green-deep));
  font-size: 30px;
  font-weight: 950;
}

.product-detail-copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1.07;
  letter-spacing: 0;
  max-width: none;
}

.product-detail-copy .lead {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.product-store-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--green-deep);
  background: transparent;
  border: 1px solid rgba(6, 78, 59, .12);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.product-detail-top-action {
  margin-top: 12px;
}

.product-detail-copy .product-detail-top-action {
  width: 100%;
}

.product-transaction-panel {
  display: grid;
  gap: 7px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.product-detail-stats {
  display: grid;
  gap: 6px;
}

.product-detail-stats-main {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(6, 78, 59, .08);
  border-bottom: 1px solid rgba(6, 78, 59, .08);
}

.product-detail-stats-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-detail-stats div {
  min-width: 0;
  padding: 11px 8px;
  border-radius: 0;
  background: transparent;
  border: 0;
  text-align: center;
}

.product-detail-stats-main div {
  background: transparent;
  box-shadow: none;
}

.product-detail-stats-compact div {
  padding: 10px 8px;
  border-radius: 18px;
  background: rgba(255, 253, 248, .76);
}

.product-detail-stats strong,
.product-detail-stats span {
  display: block;
}

.product-detail-stats strong {
  color: var(--green-deep);
  font-size: 24px;
  overflow-wrap: anywhere;
}

.product-detail-stats span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  margin-top: 2px;
}

.product-detail-stats-compact strong {
  font-size: 16px;
}

.product-detail-stats-compact span {
  font-size: 10px;
}

.product-detail-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.product-detail-facts span {
  width: fit-content;
  padding: 5px 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-size: 11px;
  font-weight: 850;
}

.product-detail-section {
  display: grid;
  gap: 8px;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.section-title-row > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.product-detail-section h2 {
  margin: 0;
  color: var(--green-deep);
  font-size: 17px;
}

.product-active-invites {
  padding-top: 4px;
}

.product-active-invite-list {
  display: grid;
  gap: 10px;
}

.product-active-invite-list .invite-list-card,
.product-active-invite-list .invite-list-card-new {
  padding: 9px 0;
  border-radius: 0;
  background: transparent;
  border-right: 0;
  border-left: 0;
  box-shadow: none;
}

.product-detail-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 8px;
}

select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  padding: 13px 14px;
}

@media (max-width: 420px) {
  .page-shell {
    padding: 10px;
  }

  .hero-card {
    margin-top: 4vh;
  }

  h1 {
    font-size: 32px;
  }

  .btn {
    width: 100%;
  }

  .search-form {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .search-form .btn {
    width: auto;
    min-width: 60px;
    padding-inline: 12px;
  }

  .store-list-hero {
    display: grid;
    align-items: start;
  }

  .store-list-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-proof-grid,
  .home-product-card,
  .how-it-works-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: 16px;
  }

  .hero-stats-row div {
    padding: 9px 4px;
  }

  .hero-stats-row strong {
    font-size: 16px;
  }

  .hero-stats-row span {
    font-size: 9px;
    line-height: 1.15;
  }

  .home-product-card img,
  .home-product-fallback {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .home-section-head {
    align-items: flex-start;
  }

  .home-account-strip {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .bottom-nav {
    width: 100%;
    bottom: 0;
    border-radius: 21px 21px 0 0;
  }

  .bottom-nav a,
  .bottom-nav button {
    min-height: 52px;
    font-size: 8px;
  }

  .profile-preview {
    align-items: flex-start;
  }

  .account-profile-identity,
  .profile-edit-page .profile-preview {
    align-items: center;
  }

  .account-profile-info,
  .account-profile-actions {
    grid-template-columns: 1fr;
  }

  .account-profile-actions {
    display: flex;
  }

  .account-profile-identity {
    gap: 9px;
  }

  .account-profile-avatar {
    width: 82px;
    height: 82px;
    border-radius: 26px;
  }

  .account-profile-copy h1 {
    font-size: 21px;
  }

  .list-tile {
    grid-template-columns: auto 1fr;
  }

  .invite-list-card-new,
  .explore-list-card:not(.product) {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .invite-list-card-new .lc-body,
  .invite-list-card-new .lc-right,
  .invite-list-card-new .lc-prog,
  .explore-list-card:not(.product) .lc-body,
  .explore-list-card:not(.product) .lc-right,
  .explore-list-card:not(.product) .lc-prog {
    grid-column: 2 / -1;
  }

  .invite-list-card-new .lc-right,
  .explore-list-card:not(.product) .lc-right {
    min-width: 0;
    justify-items: start;
    text-align: left;
  }

  .home-feed-invite-card {
    grid-template-columns: 106px minmax(0, 1fr);
    gap: 9px;
    padding: 12px 0;
  }

  .home-feed-copy {
    grid-column: 2 / -1;
  }

  .home-feed-copy {
    min-height: 106px;
  }

  .home-feed-right strong {
    font-size: 15px;
  }

  .home-feed-copy h2 {
    font-size: 14px;
  }

  .builder-product-grid,
  .split-datetime-field {
    grid-template-columns: 1fr;
  }

  .builder-product-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .tile-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .store-card-main {
    align-items: flex-start;
  }

  .store-home-head {
    grid-template-columns: 1fr;
  }

  .store-public-head {
    grid-template-columns: 1fr;
  }

  .store-home-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .store-home-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .store-home-actions .btn {
    padding: 0 8px;
  }

  .dashboard-top-action {
    display: grid;
  }
}

@media (min-width: 768px) {
  .page-shell {
    width: min(100%, 900px);
  }

  .app-topbar-inner {
    width: min(100%, 900px);
  }

  .store-public-grid {
    grid-template-columns: repeat(2, minmax(320px, 1fr));
  }

  .auth-card,
  .hero-card {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .home-shell {
    max-width: 900px;
    margin: 0 auto;
  }

  .map-page-shell {
    max-width: none;
    margin: 0;
  }

  .map-page-container {
    width: 100vw;
  }

  .store-switcher,
  .stack,
  .home-card-grid,
  .home-command-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stack h2,
  .stack > p,
  .stack > .empty-panel {
    grid-column: 1 / -1;
  }

  .invite-list-results {
    grid-template-columns: repeat(2, minmax(360px, 1fr));
  }

  .invite-card-grid,
  .product-active-invite-list {
    grid-template-columns: repeat(2, minmax(360px, 1fr));
  }

  .home-invite-feed {
    grid-template-columns: 1fr;
  }

  .invite-list-empty {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1100px) {
  .page-shell {
    width: min(100%, 1040px);
  }

  .app-topbar-inner {
    width: min(100%, 1040px);
  }

  .store-switcher,
  .stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .invite-list-results {
    grid-template-columns: repeat(2, minmax(420px, 1fr));
  }

  .invite-card-grid,
  .product-active-invite-list {
    grid-template-columns: repeat(2, minmax(420px, 1fr));
  }

  .home-invite-feed {
    grid-template-columns: 1fr;
  }

  .bottom-nav {
    width: min(100%, 680px);
  }

  .home-product-card,
  .home-store-card {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .home-product-card img,
  .home-store-card img,
  .home-product-fallback,
  .home-store-fallback {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .full-map-panel {
    min-height: 100vh;
  }
}
