:root {
  --berry: #C2557E;
  --petal: #F2C4D8;
  --blush: #FDF6F9;
  --plum: #2C1A24;
  --plum-grad: #a8456b;
  --mauve: #7A5068;
  --lavender: #D4C8E0;
  --white: #FFFFFF;
  --warm-gray: #F0EDEE;
  --mint: #3DB87A;

  --card-border: #F0E8EE;
  --qi-plum: #F0EBF4;
  --qi-lav: #F2F0F7;
  --qi-green: #EDF8F3;
  --qi-rose: #FFF0F5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--blush);
  color: var(--plum);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.app-frame {
  max-width: 440px;
  margin: 0 auto;
  background: var(--blush);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

@media (min-width: 480px) {
  .app-frame {
    box-shadow: 0 0 60px rgba(0,0,0,0.3);
  }
}

/* Beta upgrade banner: persistent top bar for Beta bakers only. */
.beta-banner {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px 9px 16px;
  background: linear-gradient(135deg, var(--petal) 0%, #F7DAE7 100%);
  border-bottom: 1px solid rgba(194, 85, 126, 0.22);
}
.beta-banner-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--plum);
}
.beta-banner-lead { font-weight: 500; }
.beta-banner-cta {
  flex: 0 0 auto;
  background: var(--berry);
  color: #fff;
  border: none;
  font-family: inherit;
  font-weight: 500;
  font-size: 12px;
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.beta-banner-cta:active { background: #a8456b; }
.beta-banner-x {
  flex: 0 0 auto;
  background: transparent;
  border: none;
  color: var(--mauve);
  font-size: 20px;
  line-height: 1;
  padding: 0 2px;
  cursor: pointer;
}

.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.app-logobar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px; background: var(--blush); flex-shrink: 0;
}
.app-logo-group { display: flex; align-items: center; gap: 6px; }
.app-logo { font-weight: 500; font-size: 20px; letter-spacing: -0.02em; line-height: 1; }
.app-logo-bkd { color: var(--berry); }
.app-logo-local { color: var(--plum); }
.app-logo-pin { color: var(--berry); font-size: 18px; line-height: 1; }
.app-logo-actions { display: flex; align-items: center; gap: 16px; }
.app-logo-icon {
  position: relative;
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--berry); display: flex; align-items: center; line-height: 1;
}
.app-logo-icon .ti { font-size: 22px; }
.app-logo-dot {
  position: absolute; top: -1px; right: -1px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--plum);
}

.top-nav {
  background: var(--blush); padding: 6px 20px 14px;
  display: flex; align-items: center; justify-content: space-between; flex-shrink: 0;
}
/* Shared screen-title pattern: small uppercase Mauve eyebrow above a large
   Deep Plum Poppins-500 heading. */
.greeting-sub {
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--mauve); margin-bottom: 3px;
}
.greeting-name { font-size: 22px; font-weight: 500; color: var(--plum); letter-spacing: -0.01em; }

.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--petal), var(--berry));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 500; color: white;
}

.scroll-content {
  padding: 0 16px 16px;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
}
.scroll-content::-webkit-scrollbar { display: none; }

.bottom-nav {
  background: #F9E4EE;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  flex-shrink: 0;
}
.nav-box {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: linear-gradient(160deg, #D4C8E0 0%, #F2C4D8 100%);
  border: 1.5px solid var(--berry);
  border-radius: 10px;
  cursor: pointer; user-select: none;
  padding: 0;
}
.nav-icon { font-size: 17px; color: var(--berry); line-height: 1; }
.nav-label { font-size: 7px; color: var(--berry); font-weight: 500; line-height: 1; }
.nav-dot {
  position: absolute; top: 5px; right: 5px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--plum);
}
/* Premium Magic Pricing box: gradient border (#D4C8E0 -> berry) instead of the
   solid berry border, while keeping the same ombre fill as the other boxes. */
/* Premium Magic Pricing box. Targeted by #id + !important so the shared
   .nav-box / .nav-icon / .nav-label styles can never win. */
#navMagicBox {
  background: linear-gradient(160deg, #2C1A24 0%, #7A5068 50%, #C2557E 100%) !important;
  border: 1.5px solid #C2557E !important;
  border-radius: 10px !important;
}
#navMagicBox .nav-icon { color: #ffffff !important; }
#navMagicBox .nav-label { color: #ffffff !important; }
.nav-magic-spark { position: absolute; line-height: 1; pointer-events: none; z-index: 1; }
.nav-magic-spark-tr { top: 3px; right: 18px; font-size: 9px; color: #F2C4D8; }
.nav-magic-spark-bl { bottom: 3px; left: 4px; font-size: 6px; color: #D4C8E0; }
.nav-magic-free {
  position: absolute; top: 2px; right: 2px; z-index: 2;
  background: #C2557E; color: #ffffff; font-size: 6px; font-weight: 500;
  line-height: 1; padding: 2px 4px; border-radius: 999px;
}
/* Dark jewel header on the Magic Pricing Calculator page */
.pmb-magic-header {
  position: relative; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(160deg, #2C1A24 0%, #7A5068 50%, #C2557E 100%);
  padding: 8px 16px 16px;
}
.pmb-magic-row { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; }
.pmb-magic-headtext { min-width: 0; }
.pmb-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.75);
}
.pmb-title { font-size: 20px; font-weight: 500; color: #ffffff; letter-spacing: -0.01em; }
.pmb-spark { position: absolute; z-index: 0; line-height: 1; pointer-events: none; }
.pmb-spark-1 { top: 12px;  right: 22px; font-size: 8px;  color: #F2C4D8; }
.pmb-spark-2 { top: 40px;  right: 54px; font-size: 11px; color: #D4C8E0; }
.pmb-spark-3 { bottom: 16px; left: 46%;  font-size: 6px;  color: #F2C4D8; }
/* "Free for Beta" highlight pill — prominent feature callout */
.pmb-free-badge {
  position: relative; z-index: 1;
  display: block; width: fit-content; margin: 14px auto 0;
  background: #ffffff; color: var(--berry);
  font-size: 13px; font-weight: 500;
  padding: 8px 20px; border-radius: 999px; text-align: center;
}

/* Bake Timer card — same dark jewel treatment as the header + profit summary */
.pmb-cutoff-banner {
  background: linear-gradient(135deg, var(--petal) 0%, #F7DAE7 100%);
  border: 1px solid rgba(194, 85, 126, 0.22);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pmb-cutoff-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--plum);
}
.pmb-cutoff-cta {
  align-self: flex-start;
  background: var(--berry);
  color: #fff;
  border: none;
  font-family: inherit;
  font-weight: 500;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
}
.pmb-cutoff-cta:active { background: #a8456b; }

.pmb-lock-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 30px 22px;
  text-align: center;
  margin-top: 8px;
  box-shadow: 0 4px 18px rgba(120, 80, 110, 0.08);
}
.pmb-lock-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--plum);
  margin-bottom: 10px;
}
.pmb-lock-body {
  font-size: 14px;
  font-weight: 400;
  color: var(--mauve);
  line-height: 1.55;
  margin: 0 auto 22px;
  max-width: 340px;
}
.pmb-lock-cta {
  display: inline-block;
  background: var(--berry);
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 12px 26px;
  border-radius: 999px;
}
.pmb-lock-cta:active { background: #A6406A; }

.pmb-timer-card {
  position: relative; overflow: hidden;
  margin: 0 0 24px !important;
  background: linear-gradient(160deg, #2C1A24 0%, #7A5068 50%, #C2557E 100%);
  border-radius: 16px;
  padding: 18px 18px 20px;
  text-align: center;
}
/* Guaranteed gap below the timer card regardless of sibling margins. */
.pmb-timer-card + * { margin-top: 4px; }
.pmb-timer-card > :not(.pmb-spark) { position: relative; z-index: 1; }
.pmb-timer-label {
  font-size: 12px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.12em; color: #ffffff;
}
.pmb-timer-sub { font-size: 11px; color: rgba(255, 255, 255, 0.8); margin-top: 4px; }
.pmb-timer-display {
  font-size: 32px; font-weight: 500; color: #ffffff;
  letter-spacing: 0.02em; margin: 14px 0; font-variant-numeric: tabular-nums;
}
.pmb-timer-actions { display: flex; gap: 10px; justify-content: center; }
.pmb-timer-start {
  background: #ffffff; color: var(--berry); border: 0;
  font-family: inherit; font-size: 14px; font-weight: 500;
  padding: 11px 22px; border-radius: 999px; cursor: pointer;
}
.pmb-timer-reset {
  background: transparent; color: #ffffff; border: 1.5px solid #ffffff;
  font-family: inherit; font-size: 14px; font-weight: 500;
  padding: 11px 22px; border-radius: 999px; cursor: pointer;
}
/* Dedicated result area: always present so the card reserves room (16px below
   the buttons, min-height for the text); card padding gives 16px+ below it. */
.pmb-timer-result {
  margin-top: 16px;
  min-height: 40px;
  color: #ffffff; font-weight: 500; font-size: 14px; line-height: 1.5;
  text-align: center;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; font-family: inherit;
  font-weight: 500; border-radius: 24px;
  background: var(--berry); color: white;
  padding: 12px 24px; font-size: 14px;
}
.btn:disabled { background: var(--warm-gray); color: var(--mauve); cursor: not-allowed; }

/* ── Dashboard hero ── */
.home-scroll { padding-top: 0; }
.dash-hero {
  margin: 0 -16px 16px;
  padding: 18px 20px 22px;
  background: linear-gradient(160deg, #D4C8E0 0%, #F2C4D8 55%, #FDF6F9 100%);
}
.dash-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--mauve); margin-bottom: 8px;
}
.dash-greeting {
  font-size: 26px; font-weight: 500; color: var(--plum);
  line-height: 1.2; letter-spacing: -0.01em; margin: 0;
}
.dash-name { color: var(--berry); }
.dash-subtitle { font-size: 13px; color: var(--mauve); margin: 6px 0 0; }
.dash-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: #fff; border: 0.5px solid var(--lavender); border-radius: 20px;
  padding: 16px 8px; margin-top: 18px;
}
.dash-stat { text-align: center; padding: 0 6px; }
.dash-stat + .dash-stat { border-left: 1px solid var(--lavender); }
.dash-stat-value { font-size: 17px; font-weight: 500; color: var(--plum); margin-bottom: 3px; white-space: nowrap; }
.dash-stat-label { font-size: 10px; color: var(--mauve); line-height: 1.3; }

.section-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px; margin-top: 14px;
}
.section-title-sm { font-size: 14px; font-weight: 500; color: var(--plum); }
.section-link { font-size: 12px; color: var(--berry); font-weight: 500; cursor: pointer; }

/* ── Dashboard grid cards ── */
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dash-card {
  background: #fff; border: 1.5px solid var(--petal); border-radius: 16px;
  padding: 16px 14px; display: flex; flex-direction: column; gap: 8px;
  cursor: pointer; text-align: left;
}
.dash-card-icon {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, #F2C4D8 0%, #D4C8E0 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--berry); font-size: 20px;
}
.dash-card-title { font-size: 14px; font-weight: 500; color: var(--plum); }
.dash-card-sub { font-size: 11px; color: var(--mauve); }
.order-detail-star { font-size: 11px; vertical-align: -1px; color: var(--berry); }

/* Full-width premium Magic Pricing tile below the 2x2 grid */
.dash-magic {
  position: relative; overflow: hidden;
  width: 100%; margin-top: 10px;
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(160deg, #2C1A24 0%, #7A5068 50%, #C2557E 100%);
  border: 0; border-radius: 16px; padding: 16px 18px;
  cursor: pointer; text-align: left;
}
.dash-magic-icon { display: flex; align-items: center; justify-content: center; color: #ffffff; }
.dash-magic-icon .ti { font-size: 22px; color: #ffffff; }
.dash-magic-text { display: flex; flex-direction: column; gap: 2px; }
.dash-magic-title { font-size: 15px; font-weight: 500; color: #ffffff; }
.dash-magic-sub { font-size: 12px; color: rgba(255, 255, 255, 0.8); }
.dash-magic-spark { position: absolute; color: #F2C4D8; line-height: 1; pointer-events: none; }
.dash-magic-spark-1 { top: 12px; right: 84px; font-size: 11px; }
.dash-magic-spark-2 { bottom: 12px; right: 130px; font-size: 7px; }
.dash-magic-free {
  position: absolute; top: 12px; right: 14px;
  background: #ffffff; color: var(--berry); font-size: 10px; font-weight: 500;
  padding: 3px 9px; border-radius: 999px; line-height: 1;
}

.order-card {
  background: white; border-radius: 12px; padding: 12px 14px;
  margin-bottom: 7px; border: 1.5px solid var(--petal);
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
}
.order-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-new { background: var(--berry); }
.dot-done { background: var(--mint); }
.order-info { flex: 1; min-width: 0; }
.order-name { font-size: 13px; font-weight: 500; color: var(--plum); margin-bottom: 2px; }
.order-detail { font-size: 11px; color: var(--mauve); }
.order-amount { font-size: 13px; font-weight: 500; color: var(--berry); }
.order-amount.done { color: var(--mint); }
.dot-progress { background: var(--petal); }

.filter-pills {
  display: flex;
  gap: 6px;
  margin: 0 -16px 14px;
  padding: 0 16px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-pills::-webkit-scrollbar { display: none; }
.pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.pill-active { background: var(--berry); color: white; }
.pill-inactive {
  background: white;
  color: var(--mauve);
  border: 1.5px solid var(--lavender);
}

.sub-label {
  font-size: 10px;
  font-weight: 500;
  color: #BBBBBB;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 14px 0 8px;
}
.sub-label:first-child { margin-top: 0; }

.order-card-full {
  background: white;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  border: 1.5px solid var(--petal);
}
.order-full-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.mini-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  color: white;
  flex-shrink: 0;
}
.order-detail-box {
  background: var(--blush);
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 8px;
}
.order-detail-title { font-size: 11px; color: var(--plum); font-weight: 500; margin-bottom: 1px; }
.order-detail-sub   { font-size: 11px; color: var(--mauve); }
.action-row { display: flex; gap: 6px; }
.btn-decline {
  flex: 1;
  background: var(--blush);
  border: 1.5px solid var(--petal);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  font-size: 12px;
  color: var(--mauve);
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}
.btn-accept {
  flex: 2;
  background: var(--berry);
  border: 0;
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  font-size: 12px;
  color: white;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}
.btn-decline:active { background: #F5E8EE; }
.btn-accept:active  { background: #a03868; }

/* ── Order Detail ── */
.detail-header {
  background: var(--blush);
  padding: 0 16px 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.detail-back {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--berry);
  cursor: pointer;
  background: none;
  border: 0;
  margin-left: -8px;
  font-family: inherit;
}
.detail-title-block { flex: 1; min-width: 0; }
.detail-title-sub { font-size: 11px; color: var(--mauve); margin-bottom: 1px; }
.detail-title { font-size: 20px; font-weight: 500; color: var(--plum); }

.detail-hero {
  background: white;
  border: 1.5px solid var(--petal);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.detail-hero-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.detail-hero-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 500; color: white; flex-shrink: 0;
}
.detail-hero-name { font-size: 15px; font-weight: 500; color: var(--plum); }
.detail-hero-city { font-size: 11px; color: var(--mauve); margin-top: 1px; }

.detail-money-row {
  display: flex;
  border-top: 1.5px solid var(--petal);
  padding-top: 12px;
  gap: 14px;
}
.detail-money-block { flex: 1; min-width: 0; }
.detail-money-label { font-size: 10px; color: var(--mauve); margin-bottom: 3px; }
.detail-money-value { font-size: 18px; font-weight: 500; color: var(--plum); }
.detail-money-value.net { color: var(--mint); }

.detail-section {
  background: white;
  border: 1.5px solid var(--petal);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
}
.detail-section-title {
  font-size: 10px;
  font-weight: 500;
  color: var(--mauve);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.detail-field { margin-bottom: 10px; }
.detail-field:last-child { margin-bottom: 0; }
.detail-field-label { font-size: 10px; color: var(--mauve); margin-bottom: 2px; }
.detail-field-value { font-size: 13px; color: var(--plum); line-height: 1.5; }
.detail-field-value.muted { color: var(--mauve); }

.status-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}
.status-chip.paid    { background: #EDF8F3; color: #2C6B47; }
.status-chip.pending { background: var(--qi-plum); color: var(--mauve); }
.status-chip.ready   { background: var(--qi-rose); color: var(--berry); }

.detail-actions {
  background: var(--blush);
  padding: 10px 16px calc(20px + env(safe-area-inset-bottom));
  display: flex;
  gap: 8px;
  border-top: 1.5px solid var(--petal);
  flex-shrink: 0;
}
.detail-actions > button {
  flex: 1;
  padding: 12px 16px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  border: 0;
  cursor: pointer;
}
.btn-secondary {
  background: white;
  border: 1.5px solid var(--petal) !important;
  color: var(--plum);
}
.btn-primary {
  background: var(--berry);
  color: white;
}
.btn-decline-lg {
  background: white;
  border: 1.5px solid var(--petal) !important;
  color: var(--mauve);
}
.btn-accept-lg {
  background: var(--berry);
  color: white;
  flex: 2 !important;
}
.btn-secondary:active, .btn-decline-lg:active { background: var(--warm-gray); }
.btn-primary:active, .btn-accept-lg:active   { background: #a03868; }

.review-stars-inline { font-size: 14px; margin-bottom: 6px; }
.review-text-inline {
  font-size: 13px;
  color: var(--plum);
  line-height: 1.5;
  font-style: italic;
}

/* ── Login ── */
/* Poppins (400/500 only) is scoped to the login screen so it matches the
   warmth of the customer-facing site; the rest of the baker app stays on Inter. */
.login-screen {
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(242, 196, 216, 0.45) 0%, rgba(242, 196, 216, 0) 60%),
    var(--blush);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}
.login-screen .login-title,
.login-screen .login-sub,
.login-screen .login-input,
.login-screen .login-submit,
.login-screen .login-forgot,
.login-screen .login-footer { font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif; }
.login-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 24px 48px;
  overflow-y: auto;
}
.login-brand { text-align: center; margin-bottom: 28px; }
.login-logo {
  font-size: 32px;
  font-weight: 500;
  color: var(--berry);
  letter-spacing: -0.02em;
  line-height: 1;
}
.login-tagline {
  font-size: 11px;
  color: var(--mauve);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 6px;
}
.login-card {
  background: white;
  border-radius: 24px;
  padding: 34px 26px 30px;
  border: 1.5px solid var(--petal);
  box-shadow: 0 18px 40px -16px rgba(194, 85, 126, 0.28), 0 2px 6px rgba(44, 26, 36, 0.04);
}
.login-hero { text-align: center; margin-bottom: 18px; }
.login-hero img { height: 56px; width: auto; vertical-align: middle; }
.login-title {
  font-size: 22px;
  font-weight: 500;
  color: var(--plum);
  text-align: center;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.login-sub {
  font-size: 13px;
  color: var(--mauve);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.5;
}
.login-form { display: flex; flex-direction: column; gap: 10px; }
.login-input {
  width: 100%;
  padding: 13px 16px;
  background: var(--blush);
  border: 1px solid var(--lavender);
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--plum);
  outline: none;
  -webkit-appearance: none;
}
.login-input:focus { border-color: var(--berry); background: white; }
.login-input::placeholder { color: var(--mauve); }
.login-submit {
  width: 100%;
  padding: 13px;
  background: var(--berry);
  color: white;
  border: 0;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
}
.login-submit:active:not(:disabled) { background: #a03868; }
.login-submit:disabled { background: var(--lavender); cursor: wait; }
.login-error {
  margin-top: 12px;
  padding: 10px 14px;
  background: #FFF0F5;
  border: 1px solid #F5C9D9;
  border-radius: 10px;
  font-size: 12px;
  color: var(--berry);
  line-height: 1.5;
}
.login-forgot {
  margin-top: 14px;
  background: none;
  border: 0;
  color: var(--berry);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.login-hint {
  margin-top: 16px;
  font-size: 11px;
  color: var(--mauve);
  text-align: center;
}
.login-hint strong { color: var(--plum); font-weight: 500; }
.login-footer {
  margin-top: 24px;
  font-size: 12px;
  color: var(--mauve);
  text-align: center;
}
.login-footer a { color: var(--berry); text-decoration: none; }

/* ── Profile placeholder logout ── */
.profile-placeholder-card {
  background: white;
  border: 1.5px solid var(--petal);
  border-radius: 16px;
  padding: 20px 24px;
  text-align: center;
}
.profile-placeholder-label { font-size: 11px; color: var(--mauve); margin-bottom: 4px; }
.profile-placeholder-email { font-size: 14px; color: var(--plum); font-weight: 500; margin-bottom: 16px; word-break: break-all; }
.btn-logout {
  background: white;
  border: 1.5px solid var(--petal);
  color: var(--berry);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 24px;
  cursor: pointer;
  font-family: inherit;
}
.btn-logout:active { background: var(--blush); }

/* ===== Availability screen ===== */

.avail-card {
  background: white;
  border: 1.5px solid var(--petal);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 14px;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.toggle-text { flex: 1; min-width: 0; }
.toggle-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--plum);
}
.toggle-sub {
  font-size: 12px;
  color: var(--mauve);
  margin-top: 3px;
  line-height: 1.4;
}

.switch {
  flex: 0 0 auto;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  position: relative;
  cursor: pointer;
  transition: background 0.18s ease;
  font-family: inherit;
}
.switch-on  { background: var(--berry); }
.switch-off { background: #C9C2C5; }
.switch-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px rgba(44, 26, 36, 0.2);
  transition: transform 0.18s ease;
}
.switch-on .switch-knob { transform: translateX(20px); }

/* ----- calendar ----- */

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cal-month {
  font-size: 15px;
  font-weight: 500;
  color: var(--plum);
}
.cal-nav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: var(--blush);
  color: var(--berry);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}
.cal-nav:active { background: var(--qi-rose); }

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 4px;
}
.cal-weekday {
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  color: var(--mauve);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 0;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day {
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--plum);
  position: relative;
}
.cal-blank { visibility: hidden; cursor: default; }

.cal-available { background: var(--petal); color: var(--plum); }
.cal-available:active { background: #ECB0CB; }

.cal-slot {
  background: var(--petal);
  color: var(--plum);
  box-shadow: inset 0 0 0 2px var(--berry);
}

.cal-selected {
  background: var(--berry);
  color: white;
}

.cal-past {
  background: transparent;
  color: var(--lavender);
  cursor: default;
}

.cal-today::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

/* ----- legend ----- */

.cal-legend {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 4px 0 14px;
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--mauve);
  font-weight: 500;
}
.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 4px;
}
.legend-selected  { background: var(--berry); }
.legend-available { background: var(--petal); }
.legend-past      { background: var(--lavender); }

/* ----- new availability model: default-day highlight + exceptions ----- */
.cal-plain { background: transparent; color: var(--plum); cursor: default; }
.cal-default { background: var(--petal); color: var(--plum); }
.cal-default:active { background: #ECB0CB; }
.cal-exception {
  background: #D5CED2;
  color: #8A7E86;
  text-decoration: line-through;
}
.legend-default   { background: var(--petal); }
.legend-exception { background: #D5CED2; }

/* day-of-week toggles */
.day-toggle-label { font-size: 11px; font-weight: 500; color: var(--mauve); margin-bottom: 10px; }
.day-toggle-row { display: flex; gap: 6px; }
.day-toggle {
  flex: 1; padding: 9px 0; border-radius: 999px;
  border: 1.5px solid var(--lavender); background: #fff;
  color: var(--mauve); font-family: inherit; font-size: 12px; font-weight: 500;
  cursor: pointer;
}
.day-toggle-on { background: var(--berry); border-color: var(--berry); color: #fff; }

/* helper copy */
.avail-helper {
  font-size: 12px; color: var(--mauve); line-height: 1.5;
  margin: 2px 4px 12px;
}

/* ----- add pickup / slot edit ----- */

.btn-add-pickup {
  display: block;
  width: 100%;
  background: var(--berry);
  color: white;
  border: 0;
  border-radius: 24px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  margin-bottom: 8px;
}
.btn-add-pickup:active { background: var(--plum-grad); }
.btn-add-pickup:disabled {
  background: var(--warm-gray);
  color: var(--mauve);
  cursor: default;
}

.action-hint {
  text-align: center;
  font-size: 12px;
  color: var(--mauve);
  margin-bottom: 18px;
}

.slot-edit-card { text-align: center; }
.slot-edit-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--plum);
}
.slot-edit-sub {
  font-size: 11px;
  color: var(--mauve);
  margin-top: 2px;
  letter-spacing: 0.04em;
}
.slot-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 14px 0 12px;
}
.step-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--petal);
  background: white;
  color: var(--berry);
  font-size: 18px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  line-height: 1;
}
.step-btn:active { background: var(--blush); }
.step-value {
  font-size: 22px;
  font-weight: 500;
  color: var(--plum);
  min-width: 32px;
  text-align: center;
}
.step-label {
  font-size: 12px;
  color: var(--mauve);
}
.btn-remove-slot {
  background: transparent;
  border: 0;
  color: var(--mauve);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
}

/* ----- upcoming pickups ----- */

.upcoming-section { margin-top: 4px; }
.upcoming-empty {
  text-align: center;
  font-size: 12px;
  color: var(--mauve);
  padding: 12px 0 4px;
  line-height: 1.5;
}

.upcoming-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1.5px solid var(--petal);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 8px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.upcoming-row:active { background: var(--blush); }

.upcoming-date {
  flex: 0 0 auto;
  width: 46px;
  text-align: center;
  background: var(--qi-rose);
  border-radius: 10px;
  padding: 6px 4px;
}
.upcoming-day {
  font-size: 18px;
  font-weight: 500;
  color: var(--berry);
  line-height: 1;
}
.upcoming-month {
  font-size: 9px;
  font-weight: 500;
  color: var(--berry);
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.upcoming-info { flex: 1; min-width: 0; }
.upcoming-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--plum);
}
.upcoming-sub {
  font-size: 11px;
  color: var(--mauve);
  margin-top: 2px;
}

.slot-badge {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
}
.badge-open { background: var(--qi-green); color: var(--mint); }
.badge-full { background: var(--qi-rose);  color: var(--berry); }

/* ===== Messages list ===== */

.conv-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: white;
  border: 1.5px solid var(--petal);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 8px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  position: relative;
}
.conv-row:active { background: var(--blush); }

.conv-unread {
  background: var(--blush);
  border-color: var(--petal);
}

.conv-avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 500;
  font-size: 16px;
}

.conv-body { flex: 1; min-width: 0; }

.conv-row-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.conv-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--plum);
}

.conv-time {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--mauve);
}

.conv-preview {
  font-size: 12px;
  color: var(--mauve);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conv-unread .conv-name,
.conv-unread .conv-preview {
  color: var(--plum);
}
.conv-unread .conv-preview { font-weight: 500; }

/* Custom-quote markers (baker side). Mirrors the customer "Quote" tag + banner,
   recolored to the brand Berry Rose accent. */
.conv-quote-tag {
  display: inline-block;
  margin-left: 6px;
  background: var(--qi-rose);
  color: var(--berry);
  font-size: 10px;
  font-weight: 500;
  padding: 1px 8px;
  border-radius: 999px;
  vertical-align: middle;
}
.conv-quote-banner {
  background: var(--qi-rose);
  border-bottom: 1.5px solid var(--petal);
  border-left: 3px solid var(--berry);
  color: var(--plum);
  padding: 10px 16px;
  font-size: 12px;
  line-height: 1.45;
}
.conv-quote-banner strong { color: var(--berry); font-weight: 500; }

.conv-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--berry);
  align-self: flex-start;
  margin-top: 6px;
}

.messages-empty {
  text-align: center;
  padding: 56px 24px;
}
.messages-empty-emoji {
  font-size: 40px;
  margin-bottom: 12px;
}
.messages-empty-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--plum);
  margin-bottom: 6px;
}
.messages-empty-sub {
  font-size: 12px;
  color: var(--mauve);
  line-height: 1.5;
  max-width: 260px;
  margin: 0 auto;
}

/* ===== Conversation thread ===== */

.conv-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 14px;
  border-bottom: 1.5px solid var(--petal);
  background: white;
}

.conv-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 500;
  font-size: 14px;
}

.conv-header-info { flex: 1; min-width: 0; }

.conv-header-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--plum);
}
.conv-header-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--mauve);
  margin-top: 1px;
}
.presence-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}

.conv-thread {
  padding-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.day-divider {
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  color: var(--mauve);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 12px 0 6px;
}

.bubble-row {
  display: flex;
  margin: 2px 0;
}
.bubble-row-customer { justify-content: flex-start; }
.bubble-row-baker    { justify-content: flex-end; }

.bubble {
  max-width: 78%;
  padding: 10px 13px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.45;
}

.bubble-customer {
  background: white;
  border: 1.5px solid var(--petal);
  color: var(--plum);
  border-bottom-left-radius: 4px;
}

.bubble-baker {
  background: var(--berry);
  color: white;
  border-bottom-right-radius: 4px;
}

.bubble-text { white-space: pre-wrap; word-wrap: break-word; }

.bubble-time {
  font-size: 10px;
  margin-top: 4px;
  opacity: 0.6;
  text-align: right;
}
.bubble-customer .bubble-time { color: var(--mauve); opacity: 1; }

/* ----- composer + smart reply ----- */

.conv-composer {
  border-top: 1.5px solid var(--petal);
  padding: 10px 12px 12px;
  background: var(--blush);
}

.smart-reply-card {
  background: white;
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 10px;
  border: 1.5px solid var(--petal);
}

.smart-reply-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--berry);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.smart-reply-bubble {
  display: block;
  width: 100%;
  text-align: left;
  background: linear-gradient(135deg, var(--petal), var(--lavender));
  border: 1.5px solid var(--berry);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 13px;
  font-family: inherit;
  color: var(--plum);
  line-height: 1.45;
  cursor: pointer;
}
.smart-reply-bubble:active { filter: brightness(0.97); }

.smart-reply-loading {
  font-style: italic;
  color: var(--mauve);
  background: var(--blush);
  border: 1px dashed var(--petal);
  cursor: default;
}

.smart-reply-hint {
  font-size: 10px;
  color: var(--mauve);
  margin-top: 6px;
  text-align: center;
}

.smart-reply-fetch {
  display: block;
  width: 100%;
  background: transparent;
  border: 1px dashed var(--petal);
  border-radius: 14px;
  padding: 10px;
  font-size: 12px;
  font-family: inherit;
  color: var(--berry);
  cursor: pointer;
}
.smart-reply-fetch:active { background: var(--blush); }

.composer-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.composer-input {
  flex: 1;
  min-height: 40px;
  max-height: 120px;
  resize: none;
  border: 1.5px solid var(--lavender);
  border-radius: 20px;
  padding: 10px 14px;
  font-size: 13px;
  font-family: inherit;
  color: var(--plum);
  background: white;
  line-height: 1.4;
}
.composer-input:focus {
  outline: none;
  border-color: var(--berry);
}

.composer-send {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--berry);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: inherit;
}
.composer-send:active { background: var(--plum-grad); }
.composer-send:disabled { background: var(--warm-gray); color: var(--mauve); }

/* ===== Menu & Pricing ===== */

.menu-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 12px;
}
.menu-add-btn {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--berry);
  color: white;
  font-size: 22px;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
}
.menu-add-btn:active { background: var(--plum-grad); }

.info-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--qi-green);
  border: 1px solid #C7E8D6;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.info-banner-icon { font-size: 16px; line-height: 1.4; }
.info-banner-text {
  font-size: 12px;
  color: #1F7A4C;
  line-height: 1.5;
  font-weight: 500;
}

.menu-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: white;
  border: 1.5px solid var(--petal);
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
}
.menu-card-unavailable { opacity: 0.65; }

.menu-card-main {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: white;
  border: 0;
  padding: 14px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.menu-card-main:active { background: var(--blush); }

.menu-type {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--mauve);
  margin-bottom: 4px;
}

.menu-price-btn {
  width: 100%;
  background: var(--qi-rose);
  border: 0;
  border-top: 1.5px solid var(--petal);
  padding: 11px 14px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--berry);
  cursor: pointer;
  letter-spacing: 0.01em;
}
.menu-price-btn:active { background: var(--petal); color: white; }

.menu-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px 32px;
  gap: 10px;
}
.menu-empty-emoji {
  font-size: 56px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--qi-rose);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.menu-empty-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--plum);
}
.menu-empty-sub {
  font-size: 13px;
  line-height: 1.55;
  color: var(--mauve);
  max-width: 280px;
}
.menu-empty-cta {
  margin-top: 14px;
  background: var(--berry);
  color: white;
  border: 0;
  padding: 12px 22px;
  border-radius: 24px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.menu-empty-cta:active { background: var(--plum-grad); }

.menu-emoji {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--qi-rose);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.menu-card-body { flex: 1; min-width: 0; }

.menu-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.menu-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--plum);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.menu-unavailable-chip {
  flex: 0 0 auto;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mauve);
  background: var(--warm-gray);
  padding: 3px 8px;
  border-radius: 999px;
}

.menu-price {
  font-size: 13px;
  font-weight: 500;
  color: var(--plum);
  margin-bottom: 2px;
}

.menu-profit {
  font-size: 12px;
  font-weight: 500;
  color: var(--mint);
}

.menu-recipe-needed {
  font-size: 12px;
  font-weight: 500;
  color: var(--berry);
}

.menu-add-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: transparent;
  border: 2px dashed var(--petal);
  border-radius: 16px;
  padding: 22px;
  margin-top: 4px;
  margin-bottom: 8px;
  cursor: pointer;
  font-family: inherit;
  color: var(--berry);
}
.menu-add-card:active { background: var(--blush); }
.menu-add-plus {
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 6px;
}
.menu-add-label {
  font-size: 13px;
  font-weight: 500;
}

/* ── Price My Bakes ─────────────────────────────────────────────────────── */

.pmb-top-nav {
  background: var(--blush);
  padding: 2px 16px 14px;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.pmb-back {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--petal);
  background: var(--white);
  color: var(--berry);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 0 0 2px 0;
}
.pmb-top-text { text-align: left; min-width: 0; }
.pmb-top-text .greeting-name { font-size: 18px; }
.pmb-top-spacer { width: 32px; }

.pmb-scroll { padding-bottom: 32px; }

.pmb-section {
  background: var(--white);
  border: 1.5px solid var(--petal);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 12px;
}
.pmb-section-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--mauve);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

/* Store selector */
.pmb-store-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pmb-store-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--petal);
  background: var(--white);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--plum);
  transition: background 0.15s, border-color 0.15s;
}
.pmb-store-card:active { background: var(--blush); }
.pmb-store-selected {
  background: var(--qi-rose);
  border-color: var(--berry);
}
.pmb-store-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pmb-store-name { flex: 1; text-align: left; }
.pmb-hint {
  font-size: 11px;
  color: var(--mauve);
  margin-top: 10px;
  line-height: 1.45;
}

/* Search */
.pmb-search-wrap {
  position: relative;
  margin-bottom: 4px;
}
.pmb-search-icon {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 0.5;
}
.pmb-search {
  width: 100%;
  padding: 12px 14px 12px 36px;
  border: 1.5px solid var(--petal);
  border-radius: 12px;
  background: var(--blush);
  font-family: inherit;
  font-size: 14px;
  color: var(--plum);
  outline: none;
}
.pmb-search:focus { border-color: var(--berry); }
.pmb-search-results:empty { display: none; }
.pmb-search-results {
  border: 1.5px solid var(--petal);
  border-radius: 12px;
  background: var(--white);
  margin-top: 6px;
  margin-bottom: 6px;
  max-height: 280px;
  overflow-y: auto;
}
.pmb-search-result {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--petal);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.pmb-search-result:last-child { border-bottom: none; }
.pmb-search-result:active { background: var(--blush); }
.pmb-search-emoji { font-size: 18px; flex-shrink: 0; width: 24px; text-align: center; }
.pmb-search-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pmb-search-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--plum);
}
.pmb-search-meta {
  font-size: 11px;
  color: var(--mauve);
}
.pmb-search-price {
  font-size: 12px;
  font-weight: 500;
  color: var(--berry);
  flex-shrink: 0;
}
.pmb-search-empty {
  padding: 14px;
  font-size: 12px;
  color: var(--mauve);
  text-align: center;
}

.pmb-custom-link {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  color: var(--berry);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 4px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
}

/* Magic Pricing Calculator entry point on the menu item editor: a fun feature
   CTA, not fine print. Matches the calculator's jewel gradient banner. */
.mi-price-magic-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 18px;
  background: linear-gradient(160deg, #2C1A24 0%, #7A5068 50%, #C2557E 100%);
  border: none;
  border-radius: 16px;
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 6px 18px rgba(194, 85, 126, 0.30);
}
.mi-price-magic-link:active { transform: scale(0.99); }
.mi-price-magic-spark {
  font-size: 18px;
  line-height: 1;
  color: var(--petal);
  flex-shrink: 0;
}
.mi-price-magic-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.mi-price-magic-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}
.mi-price-magic-sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
}
.mi-price-magic-arrow {
  color: rgba(255, 255, 255, 0.85);
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.pmb-custom-form {
  background: var(--qi-rose);
  border: 1px solid var(--petal);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
}
.pmb-custom-form-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--berry);
  margin-bottom: 10px;
}
.pmb-input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--lavender);
  border-radius: 10px;
  background: var(--white);
  font-family: inherit;
  font-size: 13px;
  color: var(--plum);
  margin-bottom: 8px;
  outline: none;
}
.pmb-input:focus { border-color: var(--berry); }
.pmb-form-row {
  display: flex;
  gap: 8px;
}
.pmb-input-half { flex: 1; }
.pmb-form-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.pmb-form-cancel,
.pmb-form-submit {
  flex: 1;
  padding: 10px 12px;
  border-radius: 24px;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.pmb-form-cancel {
  background: var(--white);
  border: 1.5px solid var(--petal);
  color: var(--mauve);
}
.pmb-form-submit {
  background: var(--berry);
  color: var(--white);
}

/* Ingredient rows */
.pmb-ingredient-list { margin-top: 8px; }
.pmb-empty {
  padding: 18px 12px;
  text-align: center;
  font-size: 12px;
  color: var(--mauve);
  background: var(--blush);
  border-radius: 12px;
}
.pmb-ing-row {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: var(--blush);
  margin-bottom: 8px;
}
.pmb-ing-emoji {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--qi-rose);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.pmb-star-badge {
  position: absolute;
  top: -4px; right: -4px;
  font-size: 12px;
}
.pmb-ing-body { flex: 1; min-width: 0; }
.pmb-ing-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
}
.pmb-ing-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--plum);
}
.pmb-ing-actions { display: flex; align-items: center; gap: 2px; }
.pmb-ing-edit {
  background: transparent;
  border: none;
  color: var(--mauve);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
}
.pmb-ing-edit:active { color: var(--berry); }
.pmb-ing-remove {
  background: transparent;
  border: none;
  color: var(--mauve);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  width: 24px; height: 24px;
  padding: 0;
}
.pmb-ing-remove:active { color: var(--berry); }
.pmb-ing-price {
  background: transparent;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 11px;
  color: var(--mauve);
  cursor: pointer;
  text-align: left;
  margin-bottom: 8px;
  text-decoration: underline dotted;
  text-underline-offset: 2px;
}
.pmb-ing-price-override { color: var(--berry); }
.pmb-ing-price-custom { text-decoration: none; cursor: default; }
.pmb-ing-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pmb-qty {
  width: 64px;
  padding: 6px 8px;
  border: 1.5px solid var(--petal);
  border-radius: 8px;
  background: var(--white);
  font-family: inherit;
  font-size: 13px;
  color: var(--plum);
  outline: none;
}
.pmb-qty:focus { border-color: var(--berry); }
.pmb-unit-pills {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.pmb-unit-pill {
  padding: 5px 10px;
  border-radius: 14px;
  border: 1.5px solid var(--petal);
  background: var(--white);
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  color: var(--mauve);
  cursor: pointer;
}
.pmb-unit-active {
  background: var(--berry);
  color: var(--white);
  border-color: var(--berry);
}
/* Custom ingredients are measured in "uses": this is a plain unit label, not
   a tappable control, so it must not look like the clickable unit pills. */
.pmb-unit-fixed {
  padding: 5px 2px;
  font-size: 11px;
  color: var(--mauve);
}
.pmb-ing-cost {
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--plum);
}

/* Supplies */
.pmb-supply-list { margin-bottom: 10px; }
.pmb-supply-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--blush);
  margin-bottom: 6px;
}
.pmb-supply-name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--plum);
}
.pmb-supply-price {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 11px;
  color: var(--mauve);
  cursor: pointer;
  text-decoration: underline dotted;
  text-underline-offset: 2px;
  padding: 0;
}
.pmb-supply-qty {
  width: 44px;
  padding: 6px 6px;
  border: 1.5px solid var(--petal);
  border-radius: 8px;
  background: var(--white);
  font-family: inherit;
  font-size: 13px;
  text-align: center;
  color: var(--plum);
  outline: none;
}
.pmb-supply-cost {
  font-size: 13px;
  font-weight: 500;
  color: var(--plum);
  min-width: 48px;
  text-align: right;
}
.pmb-supply-remove {
  background: transparent;
  border: none;
  color: var(--mauve);
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  width: 22px; height: 22px;
  padding: 0;
}
.pmb-supply-picker {
  background: var(--blush);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
}
.pmb-supply-picker summary {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--berry);
  list-style: none;
}
.pmb-supply-picker summary::-webkit-details-marker { display: none; }
.pmb-supply-options {
  border-top: 1.5px solid var(--petal);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pmb-supply-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  text-align: left;
}
.pmb-supply-option:active { background: var(--qi-rose); }
.pmb-supply-option-name { color: var(--plum); font-weight: 500; }
.pmb-supply-option-price { color: var(--mauve); font-size: 11px; }
.pmb-supply-add-custom {
  color: var(--berry);
  font-weight: 500;
  justify-content: center;
}

/* Summary card */
.pmb-summary-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #2C1A24 0%, #7A5068 50%, #C2557E 100%);
  border-radius: 20px;
  padding: 18px;
  color: var(--white);
  margin-top: 4px;
}
.pmb-summary-card::before,
.pmb-summary-card::after {
  content: "✦"; position: absolute; line-height: 1; pointer-events: none;
}
.pmb-summary-card::before { top: 12px;  right: 16px; font-size: 11px; color: #F2C4D8; }
.pmb-summary-card::after  { bottom: 14px; left: 16px; font-size: 7px;  color: #D4C8E0; }
.pmb-summary-title {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}
.pmb-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  padding: 5px 0;
}
.pmb-summary-line span:last-child {
  font-weight: 500;
  color: var(--white);
}
.pmb-summary-total {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  padding-top: 8px;
  margin-top: 2px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.pmb-summary-divider {
  height: 1px;
  background: rgba(255,255,255,0.18);
  margin: 10px 0;
}
.pmb-summary-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  padding: 5px 0;
}
.pmb-summary-price-input-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 4px 10px;
}
.pmb-summary-currency {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
}
.pmb-summary-price-input {
  width: 76px;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  text-align: right;
  outline: none;
}
.pmb-summary-price-input::-webkit-outer-spin-button,
.pmb-summary-price-input::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
.pmb-summary-takehome {
  background: rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  margin: 14px 0;
}
.pmb-takehome-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.8);
  margin-bottom: 6px;
}
.pmb-takehome-amount {
  font-size: 28px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}
.pmb-takehome-margin {
  font-size: 11px;
  color: rgba(255,255,255,0.8);
}
.pmb-save-btn {
  width: 100%;
  padding: 14px;
  border-radius: 24px;
  border: none;
  background: var(--white);
  color: var(--berry);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.pmb-save-btn:active { background: var(--qi-rose); }
.pmb-save-btn:disabled { opacity: 0.6; }
.pmb-save-note {
  margin-top: 10px;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.8);
}

/* ── My Reviews ───────────────────────────────────────────────────────── */
.reviews-summary-card {
  background: linear-gradient(135deg, var(--berry), #A6406A);
  border-radius: 18px;
  padding: 20px 18px 16px;
  color: var(--white);
  margin-bottom: 14px;
  box-shadow: 0 6px 20px rgba(194, 85, 126, 0.18);
}
.reviews-summary-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.reviews-summary-avg {
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.reviews-summary-stars {
  margin-bottom: 6px;
  color: #C2557E;
}
.reviews-summary-count {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 400;
}
.reviews-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.reviews-bar-row {
  display: grid;
  grid-template-columns: 32px 1fr 24px;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.88);
}
.reviews-bar-label { font-weight: 500; }
.reviews-bar-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  overflow: hidden;
}
.reviews-bar-fill {
  height: 100%;
  background: #C2557E;
  border-radius: 4px;
  transition: width 0.3s ease;
}
.reviews-bar-count {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.star-row {
  letter-spacing: 1px;
  color: #C2557E;
}
.star-row.star-lg { font-size: 18px; }
.star-row.star-md { font-size: 14px; }
.star-row.star-sm { font-size: 12px; }

.review-card {
  background: var(--white);
  border: 1.5px solid var(--petal);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.review-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  flex-shrink: 0;
}
.review-meta { min-width: 0; flex: 1; }
.review-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--plum);
  margin-bottom: 2px;
}
.review-sub {
  font-size: 11px;
  color: var(--mauve);
  display: flex;
  align-items: center;
  gap: 6px;
}
.review-dot { opacity: 0.5; }
.review-item-row {
  font-size: 11px;
  color: var(--mauve);
  margin-bottom: 8px;
}
.review-item-row span {
  color: var(--plum);
  font-weight: 500;
}
.review-text {
  background: var(--qi-rose);
  border-radius: 12px;
  padding: 11px 13px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--plum);
}

.reviews-empty {
  text-align: center;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.reviews-empty-emoji { font-size: 36px; margin-bottom: 4px; }
.reviews-empty-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--plum);
}
.reviews-empty-sub {
  font-size: 12px;
  color: var(--mauve);
  line-height: 1.6;
  max-width: 260px;
}

/* ── My Profile + Onboarding ──────────────────────────────────────────── */
.profile-scroll { padding-bottom: 32px; }

.profile-reset {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--petal);
  background: var(--white);
  color: var(--mauve);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

.profile-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--white);
  border: 1.5px solid var(--petal);
  border-radius: 18px;
  margin-bottom: 12px;
}
.profile-avatar-xl {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 24px;
  font-weight: 500;
  flex-shrink: 0;
  position: relative; overflow: hidden; cursor: pointer;
}
.profile-avatar-xl img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-edit {
  position: absolute; left: 0; right: 0; bottom: 0;
  font-size: 9px; line-height: 1.7; text-align: center;
  background: rgba(0, 0, 0, 0.45); color: #fff;
}
.profile-hero-info { min-width: 0; flex: 1; }
.profile-business {
  font-size: 16px;
  font-weight: 500;
  color: var(--plum);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-contact { font-size: 12px; color: var(--mauve); margin-bottom: 6px; }
.profile-hero-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.profile-tier {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 9px;
  border-radius: 12px;
  background: var(--qi-rose);
  color: var(--berry);
  font-size: 10px;
  font-weight: 500;
}
.profile-tier.charter {
  background: linear-gradient(135deg, var(--petal), var(--berry));
  color: var(--white);
}
.profile-status {
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.profile-status.live   { background: rgba(61, 184, 122, 0.12); color: var(--mint); }
.profile-status.setup  { background: rgba(122, 80, 104, 0.10); color: var(--mauve); }

.profile-banner {
  background: linear-gradient(135deg, var(--berry), #A6406A);
  border-radius: 18px;
  padding: 16px;
  color: var(--white);
  margin-bottom: 12px;
  box-shadow: 0 6px 20px rgba(194, 85, 126, 0.18);
}
.profile-banner-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.profile-banner-pct {
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.profile-banner-text { min-width: 0; flex: 1; }
.profile-banner-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 3px;
}
.profile-banner-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.5;
}
.profile-banner-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  overflow: hidden;
}
.profile-banner-fill {
  height: 100%;
  background: var(--white);
  border-radius: 4px;
  transition: width 0.4s ease;
}

.profile-section {
  background: var(--white);
  border: 1.5px solid var(--petal);
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.profile-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.profile-section-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--plum);
  display: flex;
  align-items: center;
  gap: 6px;
}
.faq-group-icon { font-size: 14px; }
.faq-group-count {
  font-size: 11px;
  color: var(--mauve);
  background: var(--blush);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 500;
}
.profile-link {
  background: none;
  border: none;
  color: var(--berry);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}

.profile-read-row {
  padding: 8px 0;
  border-bottom: 1px solid var(--blush);
}
.profile-read-row:last-child { border-bottom: none; }
.profile-field-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--mauve);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.profile-read-value {
  font-size: 13px;
  color: var(--plum);
  line-height: 1.5;
  word-break: break-word;
}
.profile-read-value.empty { color: var(--mauve); font-style: italic; }
.profile-read-value.muted { color: var(--mauve); }

.profile-field { display: block; margin-bottom: 12px; }
.profile-input,
.profile-textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1.5px solid var(--lavender);
  background: var(--blush);
  font-family: inherit;
  font-size: 13px;
  color: var(--plum);
  box-sizing: border-box;
  resize: vertical;
}
.profile-input:focus,
.profile-textarea:focus {
  outline: none;
  border-color: var(--berry);
  background: var(--white);
}
.profile-textarea { line-height: 1.5; min-height: 56px; }

.profile-save-btn {
  width: 100%;
  padding: 12px;
  border-radius: 24px;
  border: none;
  background: var(--berry);
  color: var(--white);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 4px;
}
.profile-save-btn:active { background: #A6406A; }

.profile-payouts-hint {
  font-size: 13px;
  color: var(--mauve);
  line-height: 1.5;
  margin: 0 0 10px;
}
.profile-referral-link {
  font-size: 12px;
  color: var(--plum);
  background: var(--blush);
  border: 1.5px solid var(--petal);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 0 0 10px;
  word-break: break-all;
  line-height: 1.4;
}
.profile-payouts-connected {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--plum);
}
.profile-payouts-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--white);
  font-size: 13px;
  line-height: 1;
}

.faq-section { padding: 14px 14px 6px; }

.faq-row {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--blush);
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 8px;
  cursor: pointer;
  font-family: inherit;
  color: var(--plum);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.faq-row:active { background: var(--qi-rose); }
.faq-row.faq-empty {
  background: var(--white);
  border: 1px dashed var(--petal);
}
.faq-row.faq-filled { background: var(--qi-rose); }
.faq-row.faq-editing {
  background: var(--white);
  border: 1px solid var(--berry);
  cursor: default;
}

.faq-row-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.faq-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--berry);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.faq-add {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--petal);
  color: var(--berry);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.faq-row-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--plum);
}
.faq-row-hint {
  font-size: 11px;
  color: var(--mauve);
  line-height: 1.5;
  margin-left: 26px;
}
.faq-row-value {
  font-size: 12px;
  color: var(--plum);
  line-height: 1.5;
  margin-left: 26px;
}

.faq-row.faq-editing .faq-row-label,
.faq-row.faq-editing .faq-row-hint { margin-left: 0; }
.faq-textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1.5px solid var(--lavender);
  background: var(--blush);
  font-family: inherit;
  font-size: 13px;
  color: var(--plum);
  line-height: 1.5;
  resize: vertical;
  box-sizing: border-box;
  margin-top: 8px;
}
.faq-textarea:focus { outline: none; border-color: var(--berry); background: var(--white); }
.faq-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 10px;
}
.faq-save-btn {
  padding: 8px 18px;
  border-radius: 24px;
  border: none;
  background: var(--berry);
  color: var(--white);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}
.faq-save-btn:active { background: #A6406A; }

.profile-footer {
  margin-top: 12px;
  padding: 4px 8px 8px;
  text-align: center;
}
.profile-go-live {
  width: 100%;
  padding: 14px;
  border-radius: 24px;
  border: none;
  background: linear-gradient(135deg, var(--berry), #A6406A);
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(194, 85, 126, 0.25);
  margin-bottom: 6px;
}
.profile-go-live:active { transform: scale(0.99); }
.profile-footer-hint {
  font-size: 11px;
  color: var(--mauve);
  margin-bottom: 16px;
}
.profile-live-note {
  font-size: 12px;
  color: var(--mint);
  margin-bottom: 16px;
  padding: 10px;
  background: rgba(61, 184, 122, 0.08);
  border-radius: 12px;
}
.btn-logout {
  width: 100%;
  padding: 12px;
  border-radius: 24px;
  border: 1.5px solid var(--petal);
  background: var(--white);
  color: var(--mauve);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.btn-logout:active { background: var(--blush); }

/* ===== Menu Item form (add/edit a product catalog entry) ===== */

.mi-scroll { padding-bottom: 40px; }

.mi-name-input { font-size: 15px; }

.mi-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mi-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: white;
  border: 1.5px solid var(--petal);
  border-radius: 14px;
  padding: 16px 10px;
  font-family: inherit;
  cursor: pointer;
  min-height: 86px;
}
.mi-type-card:active { background: var(--blush); }
.mi-type-selected {
  border-color: var(--berry);
  background: var(--qi-rose);
}
.mi-type-emoji { font-size: 28px; line-height: 1; }
.mi-type-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--plum);
  text-align: center;
  line-height: 1.3;
}

.mi-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.mi-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mi-hint {
  font-size: 11px;
  font-weight: 400;
  color: var(--mauve);
  margin-left: 6px;
}

.mi-narrow-input { max-width: 140px; }

.mi-textarea {
  min-height: 64px;
  resize: vertical;
  font-family: inherit;
}

.mi-addon-list { display: flex; flex-direction: column; gap: 12px; }
.mi-addon-row {
  display: grid;
  grid-template-columns: 1fr 28px;
  align-items: start;
  gap: 8px;
  padding: 10px;
  background: var(--blush-white);
  border: 1px solid var(--petal);
  border-radius: 10px;
}
.mi-addon-name { width: 100%; min-width: 0; }
.mi-addon-price-block {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mi-addon-price-label {
  font-size: 11px;
  color: var(--mauve);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.mi-addon-unit-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.mi-addon-price-input-row {
  display: flex;
  align-items: center;
  gap: 4px;
}
.mi-addon-dollar {
  color: var(--mauve);
  font-size: 13px;
  margin-left: 2px;
}
.mi-addon-price { width: 100px; flex: 0 0 auto; }
.mi-addon-remove {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: var(--warm-gray);
  color: var(--mauve);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}
.mi-addon-remove:active { background: var(--petal); color: white; }

.mi-chart {
  background: var(--qi-lav);
  border-radius: 14px;
  padding: 14px;
  margin-top: 12px;
}
.mi-chart-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--plum);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.mi-chart-section { margin-top: 8px; }
.mi-chart-section:first-of-type { margin-top: 0; }
.mi-chart-section-title {
  font-size: 11px;
  font-weight: 500;
  color: var(--mauve);
  margin-bottom: 4px;
}
.mi-chart-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--plum);
  padding: 3px 0;
  border-top: 1px solid rgba(122, 80, 104, 0.1);
}
.mi-chart-row:first-of-type { border-top: 0; }

.mi-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px 0;
}
.mi-save-btn {
  background: var(--berry);
  color: white;
  border: 0;
  padding: 14px;
  border-radius: 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.mi-save-btn:active { background: var(--plum-grad); }
.mi-save-disabled {
  background: var(--warm-gray);
  color: var(--mauve);
  cursor: not-allowed;
}
.mi-cancel-btn {
  background: white;
  color: var(--mauve);
  border: 1.5px solid var(--petal);
  padding: 12px;
  border-radius: 24px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.mi-cancel-btn:active { background: var(--blush); }
.mi-delete-btn {
  background: transparent;
  color: #B43A52;
  border: 0;
  padding: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.mi-delete-btn:active { color: #8E2A3E; }

/* ===== Price My Bakes — batch size + per-unit breakdown ===== */

.pmb-batch-section { padding-top: 12px; }
.pmb-batch-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pmb-batch-text {
  font-size: 13px;
  color: var(--plum);
  flex: 0 0 auto;
}
.pmb-batch-input {
  width: 64px;
  padding: 8px 10px;
  font-size: 14px;
  text-align: center;
  border: 1.5px solid var(--lavender);
  border-radius: 10px;
  font-family: inherit;
  flex: 0 0 auto;
}
.pmb-batch-unit {
  flex: 1 1 auto;
  min-width: 100px;
  padding: 8px 10px;
  font-size: 13px;
  background: white;
  border: 1.5px solid var(--petal);
  border-radius: 10px;
  font-family: inherit;
  color: var(--plum);
}

.pmb-perunit-card {
  background: var(--qi-rose);
  border: 1px solid var(--petal);
  border-radius: 16px;
  padding: 16px;
  margin: 12px 16px 0;
}
.pmb-perunit-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--berry);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pmb-suggested-line {
  background: white;
  border-radius: 10px;
  padding: 8px 10px;
  margin: 6px -2px;
  font-weight: 500;
}
.pmb-suggested-line span:last-child { color: var(--berry); }
.pmb-suggested-note {
  font-size: 10px;
  font-weight: 400;
  color: var(--mauve);
  letter-spacing: 0;
  text-transform: none;
  margin-left: 4px;
}

/* ── Share my profile (dashboard) ── */
.share-profile-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 18px;
  padding: 15px;
  background: var(--berry);
  border: 0;
  color: #fff;
  border-radius: 50px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.share-profile-btn:active { background: #a8456b; }
.share-profile-btn .ti { font-size: 17px; line-height: 1; }

.share-toast {
  position: absolute;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%) translateY(8px);
  background: var(--plum);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(44, 26, 36, 0.3);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
  pointer-events: none;
  white-space: nowrap;
  max-width: 88%;
  text-align: center;
}
.share-toast--visible { opacity: 1; transform: translateX(-50%) translateY(0); }


/* ── Tabler icon containers (former emoji slots) ── */
.mi-type-emoji, .menu-emoji, .menu-empty-emoji, .faq-group-icon { color: var(--berry); }
.menu-emoji .ti { font-size: 26px; }
.faq-group-icon { font-size: 16px; }

/* ── Baker FAQ widget (/app/faq) + dashboard link ── */
.faq-widget-app { padding-bottom: 8px; }
.faq-thread { display: flex; flex-direction: column; gap: 10px; min-height: 60px; margin: 8px 0 14px; }
.faq-suggestions { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-pill { background: #fff; border: 1.5px solid var(--lavender); color: var(--berry); border-radius: 999px; padding: 9px 14px; font-family: inherit; font-size: 12px; font-weight: 500; cursor: pointer; }
.faq-bubble { padding: 11px 14px; border-radius: 14px; font-size: 13px; line-height: 1.6; white-space: pre-wrap; max-width: 90%; }
.faq-user { align-self: flex-end; background: var(--berry); color: #fff; border-bottom-right-radius: 4px; }
.faq-bot { align-self: flex-start; background: var(--blush); color: var(--plum); border: 1px solid var(--card-border); border-bottom-left-radius: 4px; }
.faq-inputbar { display: flex; gap: 8px; }
.faq-inputbar input { flex: 1; min-width: 0; border: 1.5px solid var(--lavender); border-radius: 999px; padding: 12px 16px; font-family: inherit; font-size: 14px; color: var(--plum); background: #fff; outline: none; }
.faq-inputbar input::placeholder { color: var(--mauve); }
.faq-send { background: var(--berry); color: #fff; border: 0; border-radius: 999px; padding: 0 20px; font-family: inherit; font-weight: 500; font-size: 14px; cursor: pointer; }
.dash-faq-link { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 10px; padding: 13px; background: transparent; border: 1.5px solid var(--lavender); border-radius: 14px; color: var(--berry); font-family: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.dash-faq-link .ti { font-size: 17px; }

/* ── Onboarding wizard ───────────────────────────────────────────────────── */
.wiz-screen { display: flex; flex-direction: column; height: 100%; }
.wiz-progress { padding: 18px 20px 6px; }
.wiz-step-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--berry); margin-bottom: 8px;
}
.wiz-bar { height: 6px; border-radius: 999px; background: var(--warm-gray); overflow: hidden; }
.wiz-bar-fill { height: 100%; border-radius: 999px; background: var(--berry); transition: width 0.25s ease; }
.wiz-content { padding: 12px 20px 28px; }
.wiz-prompt {
  font-size: 17px; font-weight: 500; line-height: 1.5; color: var(--plum);
  margin: 6px 0 20px;
}
.wiz-input {
  width: 100%; box-sizing: border-box; font-family: inherit; font-size: 15px;
  color: var(--plum); background: #fff; border: 1.5px solid var(--lavender);
  border-radius: 14px; padding: 13px 16px;
}
.wiz-input:focus { outline: none; border-color: var(--berry); }
.wiz-input::placeholder { color: var(--mauve); }
.wiz-actions { display: flex; gap: 10px; margin-top: 24px; }
.wiz-actions .wiz-next { flex: 1; }
.wiz-back { flex: 0 0 auto; background: #fff; color: var(--berry); border: 1.5px solid var(--lavender); }
.wiz-err { margin-top: 12px; color: var(--berry); font-size: 13px; }

/* Photo step */
.wiz-photo {
  width: 100%; aspect-ratio: 1 / 1; max-width: 280px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: var(--petal); border: 2px dashed var(--berry); border-radius: 20px;
  color: var(--berry); cursor: pointer; background-size: cover; background-position: center;
  font-family: inherit;
}
.wiz-photo .ti { font-size: 34px; }
.wiz-photo-hint { font-size: 13px; font-weight: 500; }
.wiz-photo.has-photo { border-style: solid; align-items: flex-end; justify-content: flex-start; padding: 10px; }
.wiz-photo-edit {
  background: rgba(44, 26, 36, 0.62); color: #fff; font-size: 12px; font-weight: 500;
  padding: 5px 12px; border-radius: 999px;
}
.wiz-photo.uploading { opacity: 0.6; }

/* Wizard steps 3-8 */
.wiz-textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.wiz-row { display: flex; gap: 10px; margin-top: 12px; }
.wiz-row .wiz-input { margin-top: 0; }
.wiz-state { flex: 0 0 72px; text-align: center; background: var(--warm-gray); color: var(--mauve); }
.wiz-input + .wiz-input { margin-top: 12px; }
.wiz-field-label {
  font-size: 12px; font-weight: 500; color: var(--mauve); margin: 18px 0 8px;
}
.wiz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wiz-days { gap: 6px; }
.wiz-chip {
  font-family: inherit; font-size: 13px; font-weight: 500; cursor: pointer;
  padding: 9px 16px; border-radius: 999px; background: #fff;
  border: 1.5px solid var(--lavender); color: var(--plum);
}
.wiz-days .wiz-chip { flex: 1; padding: 9px 6px; text-align: center; min-width: 0; }
.wiz-chip.on { background: var(--berry); border-color: var(--berry); color: #fff; }
.wiz-photo-sm { aspect-ratio: auto; height: 150px; max-width: 100%; }

/* You're Live screen */
.wiz-live { text-align: center; padding-top: 28px; display: flex; flex-direction: column; align-items: center; }
.wiz-live-badge {
  width: 72px; height: 72px; border-radius: 50%; background: var(--petal);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.wiz-live-badge .ti { font-size: 40px; color: var(--berry); }
.wiz-live .wiz-prompt { text-align: center; }
.wiz-link {
  width: 100%; box-sizing: border-box; background: var(--blush);
  border: 1.5px solid var(--lavender); border-radius: 12px; padding: 12px 14px;
  font-size: 13px; color: var(--berry); word-break: break-all; margin-bottom: 16px;
}
.wiz-live .wiz-actions { width: 100%; }
.wiz-done { margin-top: 12px; }

/* Dashboard "You're so close" go-live nudge (not-yet-Live bakers) */
.go-live-cta {
  background: linear-gradient(135deg, var(--petal), #fff);
  border: 1.5px solid var(--berry); border-radius: 18px;
  padding: 18px 18px 20px; margin: 4px 0 18px;
}
.go-live-title { font-size: 18px; font-weight: 500; color: var(--plum); }
.go-live-sub { font-size: 13px; color: var(--mauve); line-height: 1.45; margin: 6px 0 14px; }
.go-live-btn { width: 100%; }
