:root {
  --pp-phone-radius: 34px;
  --pp-demo-transition-ms: 340ms;
  --pp-redaction-opacity: 0.72;
  --pp-splash-overlay: rgba(255, 248, 237, 0.72);

  /* App-simulator tokens (mirrors Flutter theme intent). */
  --pp-app-parchment: #f4e7d6;
  --pp-app-parchment-dark: #e9d6bf;
  --pp-app-ink: #3a2a1a;
  --pp-app-ink-soft: #6a5642;
  --pp-app-wood: #4a2f1b;
  --pp-app-basil: #4f7c4a;
  --pp-app-outline: rgba(74, 47, 27, 0.18);
  --pp-app-radius-md: 14px;
  --pp-app-radius-lg: 18px;
  --pp-app-control-h: 48px;
}

html.pp-tour-locked,
html.pp-tour-locked body {
  overflow: hidden;
  overscroll-behavior: none;
}

#guided-tour {
  scroll-margin-top: calc(var(--nav-height) + 1.35rem);
}

.pp-scrolly.section {
  padding: 0;
}

.pp-scrolly {
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
  --pp-step-count: 6;
  --pp-tour-bg-image: url("../backgrounds/bg_home.jpg");
  --pp-tour-bg-position: center top;
  --pp-tour-bg-opacity: 0.1;
}

.pp-scrolly[data-pp-bg="home"] {
  --pp-tour-bg-image: url("../backgrounds/bg_home.jpg");
  --pp-tour-bg-position: center top;
  --pp-tour-bg-opacity: 0.1;
}

.pp-scrolly[data-pp-bg="pantry"] {
  --pp-tour-bg-image: url("../backgrounds/bg_pantry.jpg");
  --pp-tour-bg-position: center 18%;
  --pp-tour-bg-opacity: 0.12;
}

.pp-scrolly[data-pp-bg="cookbook"] {
  --pp-tour-bg-image: url("../backgrounds/bg_cookbook.jpg");
  --pp-tour-bg-position: center 12%;
  --pp-tour-bg-opacity: 0.12;
}

.pp-scrolly[data-pp-bg="shopping"] {
  --pp-tour-bg-image: url("../backgrounds/bg_shopping.jpg");
  --pp-tour-bg-position: center top;
  --pp-tour-bg-opacity: 0.12;
}

.pp-scrolly::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: var(--pp-tour-bg-image);
  background-size: cover;
  background-position: var(--pp-tour-bg-position);
  opacity: var(--pp-tour-bg-opacity);
  filter: saturate(0.92) contrast(1.03);
  transform: scale(1.04);
  transform-origin: center;
}

.pp-scrolly > * {
  position: relative;
}

@media (max-width: 900px) {
  .pp-scrolly::before {
    inset: 0;
    opacity: 0.06;
    transform: scale(1.06);
  }
}

.pp-scrolly-sticky {
  box-sizing: border-box;
  position: sticky;
  top: var(--nav-height);
  z-index: 2;
  height: calc(100vh - var(--nav-height));
  padding: clamp(0.9rem, 2vh, 1.5rem) 0;
  display: flex;
  align-items: flex-start;
}

.pp-scrolly-spacer {
  height: calc((var(--pp-step-count) - 1) * (100vh - var(--nav-height)));
}

.pp-scrolly-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, clamp(340px, 27vw, 470px));
  gap: clamp(1rem, 1.8vw, 1.8rem);
  align-items: start;
}

.pp-tour-left {
  display: grid;
  gap: 1rem;
  align-content: start;
  align-self: start;
  min-width: 0;
}

.pp-tour-right {
  align-self: start;
  display: grid;
  justify-items: start;
  width: 100%;
  min-width: 0;
}

.pp-tour-mobile-demo {
  display: none;
}

.pp-tour-stack {
  display: grid;
  width: 100%;
  justify-items: stretch;
}

.pp-scrolly.pp-tour-static .pp-scrolly-sticky {
  position: static;
  height: auto;
  padding: 1.1rem 0;
  display: block;
}

.pp-scrolly.pp-tour-static .pp-scrolly-grid {
  grid-template-columns: 1fr;
  align-items: start;
}

.pp-scrolly.pp-tour-static .pp-tour-stack {
  gap: 1rem;
}

.pp-scrolly.pp-tour-static .pp-tour-right {
  width: 100%;
  justify-items: center;
  gap: 0.75rem;
}

.pp-scrolly.pp-tour-static .pp-demo-hero-mount {
  justify-items: center;
  margin-inline: auto;
}

.pp-scrolly.pp-tour-static .pp-tour-tip {
  text-align: center;
  margin-inline: auto;
}

.pp-scrolly.pp-tour-static .pp-tour-step {
  grid-area: auto;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition: none;
}

.pp-scrolly.pp-tour-static .pp-scrolly-spacer {
  display: none;
  height: 0;
}

.pp-tour-step {
  grid-area: 1 / 1;
  width: 100%;
  padding: clamp(1rem, 1.4vw, 1.45rem) clamp(1rem, 1.5vw, 1.4rem);
  position: relative;
  overflow: hidden;
  align-self: start;
  justify-self: stretch;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 420ms ease, transform 420ms ease;
}

.pp-tour-step::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at 10% 15%,
    rgba(210, 122, 61, 0.12),
    transparent 55%
  );
  opacity: 0.9;
}

.pp-tour-step > * {
  position: relative;
}

.pp-tour-step.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  border-color: rgba(210, 122, 61, 0.45);
  box-shadow: var(--shadow-strong);
}

.pp-tour-step h2 {
  max-width: min(100%, 19ch);
  font-size: clamp(2.2rem, 2vw + 1.2rem, 4rem);
  line-height: 0.98;
  text-wrap: balance;
}

.pp-tour-step .hero-lead,
.pp-tour-step .muted,
.pp-tour-step .pp-tour-bullets {
  max-width: 64ch;
}

.pp-tour-step .pp-tour-sections {
  max-width: 76ch;
}

.pp-tour-kicker {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 900;
  color: rgba(45, 58, 49, 0.72);
}

.pp-tour-bullets {
  margin-top: 0.65rem;
  display: grid;
  gap: 0.35rem;
}

.pp-tour-sections {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.75rem;
}

.pp-tour-section-card {
  padding: 0.8rem 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(58, 42, 26, 0.12);
  background: rgba(255, 249, 238, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.pp-tour-section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 780;
  letter-spacing: -0.015em;
}

.pp-tour-section-text {
  margin: 0.25rem 0 0;
  color: var(--ink-500);
  font-size: 0.95rem;
  line-height: 1.45;
}

.pp-tour-note {
  margin-top: 0.25rem;
}

.pp-tour-tip {
  margin-top: 0.85rem;
  max-width: min(46ch, 100%);
}

.pp-tour-sentinels {
  position: relative;
  z-index: 1;
  pointer-events: none;
  /* Remove the extra "dead scroll" caused by the pinned sticky shell taking space in flow. */
  margin-top: calc(-1 * (100vh - var(--nav-height)));
}

.pp-tour-sentinel {
  height: 100vh;
  scroll-margin-top: calc(var(--nav-height) + 1.35rem);
  pointer-events: none;
}

.pp-demo-hero-mount {
  width: min(100%, 560px);
  display: grid;
  justify-items: start;
  margin-inline: 0;
}

.pp-demo-hero-mount .pp-phone {
  width: var(--pp-phone-demo-w, 360px);
  max-width: 100%;
}

@media (max-width: 1280px), (max-height: 900px) {
  .pp-scrolly-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 410px);
    gap: clamp(0.9rem, 1.9vw, 1.5rem);
  }

  .pp-tour-step {
    padding: 1rem 1rem;
  }

  .pp-tour-step h2 {
    max-width: min(100%, 17ch);
    font-size: clamp(2rem, 1.55vw + 1rem, 3.25rem);
  }

  .pp-tour-step .hero-lead,
  .pp-tour-step .muted,
  .pp-tour-step .pp-tour-bullets {
    max-width: 58ch;
  }
}

@media (max-width: 1120px), (max-height: 820px) {
  .pp-scrolly-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 1rem;
  }

  .pp-tour-step {
    padding: 0.95rem 0.95rem;
  }

  .pp-tour-step h2 {
    max-width: min(100%, 15.5ch);
    font-size: clamp(1.9rem, 1.2vw + 1rem, 2.7rem);
  }
}

.pp-demo-hero-mount .pp-demo-caption {
  display: none;
}

.pp-demo {
  display: grid;
  gap: 0.85rem;
}

.pp-phone {
  border-radius: var(--pp-phone-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0f1511;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.32);
}

.pp-phone-frame {
  background: #111;
  padding: 14px;
}

.pp-phone-screen {
  position: relative;
  border-radius: calc(var(--pp-phone-radius) - 10px);
  overflow: hidden;
  background: var(--pp-app-parchment);
  aspect-ratio: 1170 / 2532;
  touch-action: pan-y;
  /* Ensure in-phone overlays (scrims, sheets) cannot visually bleed beyond the phone. */
  isolation: isolate;
  contain: paint;
}

.pp-phone-screen-root {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: calc(var(--pp-phone-radius) - 10px);
}

.pp-phone-screen .pp-phone-scene {
  width: 100%;
  height: 100%;
  /* Screenshots match the stage aspect ratio; contain prevents accidental cropping. */
  object-fit: contain;
  display: block;
}

.pp-phone-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 15% 10%, rgba(210, 122, 61, 0.2), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(95, 127, 87, 0.2), transparent 48%);
  opacity: 0.55;
}

.pp-phone-redaction {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--pp-redaction-opacity);
}

.pp-phone-redaction[data-preset="light"] {
  opacity: 0.18;
}

.pp-phone-redaction[data-preset="none"] {
  opacity: 0;
}

.pp-phone-redaction[data-preset="medium"] {
  opacity: 0.38;
}

.pp-phone-redaction[data-preset="strong"] {
  opacity: 0.62;
}

.pp-phone-redaction::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 248, 237, 0.08) 0%,
    rgba(255, 248, 237, 0.02) 30%,
    rgba(255, 248, 237, 0.7) 68%,
    rgba(255, 248, 237, 0.92) 100%
  );
}

.pp-phone-preview-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 132px;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
  opacity: 0.92;
}

.pp-phone-hotspots {
  position: absolute;
  inset: 0;
  pointer-events: auto;
}

.pp-phone-hotspot {
  position: absolute;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(31, 38, 32, 0.08);
  cursor: pointer;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.pp-phone-hotspot:hover {
  transform: translateY(-1px);
  background: rgba(210, 122, 61, 0.12);
  border-color: rgba(210, 122, 61, 0.34);
}

.pp-phone-hotspot:focus-visible {
  outline: 3px solid rgba(182, 99, 46, 0.32);
  outline-offset: 2px;
}

.pp-demo-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 21, 17, 0.86);
  transition: opacity 340ms ease, transform 340ms ease;
}

.pp-demo-tabs.is-hidden {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.pp-demo-tab {
  min-height: 44px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.15rem;
  padding: 0.45rem 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font: inherit;
  font-weight: 760;
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease;
}

.pp-demo-tab-icon {
  width: 18px;
  height: 18px;
  opacity: 0.92;
  filter: brightness(0) invert(1);
}

.pp-demo-tab-label {
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  line-height: 1;
}

.pp-demo-tab[aria-selected="true"] {
  background: rgba(95, 127, 87, 0.24);
  border-color: rgba(95, 127, 87, 0.46);
}

.pp-demo-tab:focus-visible {
  outline: 3px solid rgba(95, 127, 87, 0.4);
  outline-offset: 2px;
}

.pp-demo-caption {
  margin-top: 0.85rem;
  padding: 0.9rem;
}

.pp-demo-caption h3 {
  margin: 0;
  font-size: 1.05rem;
}

.pp-demo-caption p {
  margin-top: 0.35rem;
  color: var(--ink-700);
}

.pp-demo--appsim .pp-demo-tabs {
  display: none;
}

.pp-demo--appsim .pp-demo-caption {
  display: none;
}

.pp-demo--appsim .pp-phone-overlay {
  display: none;
}

.pp-demo--appsim .pp-phone-preview-badge {
  display: none;
}

.pp-app {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr 88px;
  color: var(--pp-app-ink);
  font-family: var(--font-body);
  /* Unified in-phone type scale across Home, Pantry, Cookbook, Plan, and Shop. */
  --pp-type-display-xl: clamp(18px, calc(var(--pp-phone-demo-w, 360px) * 0.052), 21px);
  --pp-type-display-lg: clamp(16px, calc(var(--pp-phone-demo-w, 360px) * 0.047), 18px);
  --pp-type-display-md: clamp(14px, calc(var(--pp-phone-demo-w, 360px) * 0.042), 16px);
  --pp-type-body-md: clamp(12px, calc(var(--pp-phone-demo-w, 360px) * 0.036), 13.5px);
  --pp-type-body-sm: clamp(11px, calc(var(--pp-phone-demo-w, 360px) * 0.032), 12px);
  --pp-type-caption: clamp(10px, calc(var(--pp-phone-demo-w, 360px) * 0.028), 11px);
}

.pp-app :where(button) {
  -webkit-appearance: none;
  appearance: none;
  color: inherit;
  -webkit-text-fill-color: currentColor;
}

.pp-app[aria-hidden="true"] {
  display: none;
}

.pp-app-stage {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.pp-app-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  transform: scale(1.02);
  filter: saturate(1.02) contrast(1.03);
}

.pp-app[data-pp-bg="home"] .pp-app-bg {
  background-image: url("../backgrounds/bg_home.jpg");
}

.pp-app[data-pp-bg="pantry"] .pp-app-bg {
  background-image: url("../backgrounds/bg_pantry.jpg");
  background-position: center 18%;
}

.pp-app[data-pp-bg="cookbook"] .pp-app-bg {
  background-image: url("../backgrounds/bg_cookbook.jpg");
  background-position: center 12%;
}

.pp-app[data-pp-bg="shopping"] .pp-app-bg {
  background-image: url("../backgrounds/bg_shopping.jpg");
  background-position: center top;
}

.pp-app-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(244, 231, 214, 0.08) 0%,
    rgba(244, 231, 214, 0.0) 38%,
    rgba(244, 231, 214, 0.12) 100%
  );
}

.pp-app-objects {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.pp-app-objects .pp-obj {
  position: absolute;
  display: block;
  height: auto;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.16));
}

.pp-obj--fridge-note {
  top: 34px;
  left: 40px;
  width: 120px;
  transform: rotate(-1.5deg);
}

.pp-obj--fridge-pic {
  top: 18px;
  left: 18px;
  width: 84px;
  transform: rotate(-4deg);
}

.pp-obj--fridge-calendar {
  top: 40px;
  right: 22px;
  width: 215px;
}

.pp-obj--unicorn {
  top: 100px;
  left: 16px;
  width: 23px;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.2));
}

.pp-obj--cookbook {
  top: 76px;
  left: 50%;
  width: 290px;
  transform: translateX(-50%);
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.24));
}

.pp-obj--pantry-shelf {
  top: 18%;
  left: 50%;
  width: 64%;
  max-width: 340px;
  transform: translateX(-50%);
}

.pp-obj--pantry-board-top {
  top: 42%;
  left: 50%;
  width: 74%;
  max-width: 380px;
  transform: translateX(-50%);
}

.pp-obj--pantry-board-bottom {
  top: 69%;
  left: 50%;
  width: 74%;
  max-width: 380px;
  transform: translateX(-50%);
}

.pp-app-content {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 18px 16px 140px;
}

.pp-app-content[data-pp-scrollable="true"]::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.pp-app-content.pp-app-content--fixed {
  overflow: hidden;
  padding: 16px 14px 0;
}

.pp-screen {
  width: 100%;
  min-width: 0;
  min-height: 100%;
  display: grid;
  align-content: start;
  gap: 14px;
  overflow-x: hidden;
}

.pp-screen > * {
  min-width: 0;
}

.pp-screen-pantry,
.pp-screen-shop {
  grid-template-rows: auto auto 1fr;
  align-content: stretch;
  height: 100%;
  min-height: 0;
}

.pp-screen-pantry-spice {
  grid-template-rows: auto auto 1fr;
  align-content: stretch;
  height: 100%;
  min-height: 0;
  gap: 4px;
}

.pp-app-section {
  display: grid;
  gap: 10px;
}

.pp-app-card {
  background: rgba(244, 231, 214, 0.92);
  border: 1px solid rgba(58, 42, 26, 0.16);
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.14);
}

.pp-app-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--pp-type-display-xl);
  font-weight: 820;
  letter-spacing: -0.02em;
}

.pp-app-card-kicker {
  margin: 0;
  font-size: var(--pp-type-caption);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(74, 47, 27, 0.78);
}

.pp-app-card-sub {
  margin: 6px 0 0;
  font-size: var(--pp-type-body-sm);
  font-weight: 650;
  color: rgba(58, 42, 26, 0.7);
}

.pp-app-card-row {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: var(--pp-type-body-sm);
}

.pp-app-divider {
  height: 1px;
  background: rgba(58, 42, 26, 0.12);
  margin: 12px 0;
}

.pp-app-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pp-app-pill {
  min-height: clamp(44px, calc(var(--pp-phone-demo-w, 360px) * 0.135), 54px);
  padding: clamp(8px, calc(var(--pp-phone-demo-w, 360px) * 0.02), 12px)
    clamp(12px, calc(var(--pp-phone-demo-w, 360px) * 0.05), 18px);
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 26, 0.18);
  background: rgba(244, 231, 214, 0.92);
  color: var(--pp-app-ink);
  font: inherit;
  font-weight: 760;
  font-size: var(--pp-type-body-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
  min-width: 0;
  max-width: 100%;
  /* Never truncate button text in the demo. Wrap if needed. */
  overflow: visible;
  text-align: center;
}

.pp-app-pill > span {
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  line-height: 1.14;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.pp-app-pill:active {
  transform: translateY(1px);
}

.pp-app-pill--primary {
  background: rgba(74, 47, 27, 0.92);
  color: var(--pp-app-parchment);
  border-color: rgba(74, 47, 27, 0.92);
}

.pp-app-pill--dark {
  background: rgba(74, 47, 27, 0.92);
  color: var(--pp-app-parchment);
  border-color: rgba(74, 47, 27, 0.92);
}

.pp-app-pill--wide {
  width: 100%;
}

.pp-app-pill--title {
  font-family: var(--font-display);
  font-size: var(--pp-type-display-md);
  font-weight: 780;
  letter-spacing: -0.02em;
}

.pp-app-pill svg {
  width: 20px;
  height: 20px;
  display: block;
}

.pp-home-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pp-home-cta-row > * {
  min-width: 0;
}

.pp-home-cta-row .pp-app-pill {
  padding: 0 14px;
}

.pp-home-cta-row .pp-app-pill--title {
  font-size: var(--pp-type-display-md);
  letter-spacing: -0.01em;
}

.pp-home-cta-row .pp-app-pill > span {
  /* Never truncate key CTAs. Allow wrap instead of ellipses. */
  white-space: normal;
}

.pp-top-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(8px, calc(var(--pp-phone-demo-w, 360px) * 0.026), 12px);
  align-items: center;
  padding-left: 0;
  padding-right: 0;
  overflow: visible;
}

.pp-top-row > * {
  min-width: 0;
}

.pp-view-toggle {
  width: clamp(84px, calc(var(--pp-phone-demo-w, 360px) * 0.28), 104px);
  min-width: 0;
  justify-self: start;
  flex: 0 0 auto;
}

.pp-top-row .pp-app-pill {
  min-height: clamp(42px, calc(var(--pp-phone-demo-w, 360px) * 0.13), 48px);
  padding: 0 clamp(11px, calc(var(--pp-phone-demo-w, 360px) * 0.038), 16px);
}

.pp-top-row .pp-top-pill {
  font-size: var(--pp-type-body-md);
  letter-spacing: -0.01em;
}

.pp-top-row .pp-top-pill--view {
  padding-inline: clamp(12px, calc(var(--pp-phone-demo-w, 360px) * 0.04), 15px);
}

.pp-top-row .pp-top-pill > span {
  white-space: nowrap;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pp-top-row .pp-top-pill--main {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}

.pp-top-row .pp-top-pill svg {
  width: clamp(15px, 1.3vw, 18px);
  height: clamp(15px, 1.3vw, 18px);
}

.pp-top-row--spice .pp-top-pill--main {
  font-size: var(--pp-type-body-md);
  letter-spacing: -0.012em;
}

.pp-top-row .pp-app-circle {
  width: clamp(40px, calc(var(--pp-phone-demo-w, 360px) * 0.125), 46px);
  height: clamp(40px, calc(var(--pp-phone-demo-w, 360px) * 0.125), 46px);
  justify-self: end;
}

.pp-top-row .pp-app-circle svg {
  width: clamp(18px, 2vw, 21px);
  height: clamp(18px, 2vw, 21px);
}

.pp-chip-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -4px;
}

.pp-cookbook-row .pp-app-pill,
.pp-cookbook-row--filters .pp-app-pill {
  width: 100%;
}

.pp-app-circle {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 26, 0.18);
  background: rgba(244, 231, 214, 0.92);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  color: rgba(58, 42, 26, 0.92);
}

.pp-app-circle--muted {
  color: rgba(58, 42, 26, 0.75);
}

.pp-app-circle--danger {
  color: rgba(154, 53, 37, 0.95);
}

.pp-app-circle svg {
  width: 24px;
  height: 24px;
  display: block;
}

.pp-app-chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(233, 214, 191, 0.9);
  border: 1px solid rgba(74, 47, 27, 0.14);
  font-size: var(--pp-type-body-sm);
  font-weight: 800;
  color: rgba(74, 47, 27, 0.88);
}

.pp-demo-list-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 0 0 126px;
}

.pp-demo-list-scroll--shop {
  padding-bottom: var(--pp-demo-list-scroll-shop-pad, 184px);
}

.pp-demo-list-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.pp-demo-list-stack {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 2px 2px 10px;
}

.pp-demo-list-card {
  border-radius: 24px;
  border: 1px solid rgba(58, 42, 26, 0.16);
  background: rgba(244, 231, 214, 0.9);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
  padding: 14px;
}

.pp-demo-list-card--summary {
  background:
    radial-gradient(circle at 12% 14%, rgba(210, 122, 61, 0.15), transparent 48%),
    rgba(244, 231, 214, 0.92);
}

.pp-demo-list-summary-eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(74, 47, 27, 0.72);
}

.pp-demo-list-summary-title {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 820;
  letter-spacing: -0.02em;
  color: rgba(58, 42, 26, 0.94);
}

.pp-demo-list-summary-sub {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.35;
  color: rgba(58, 42, 26, 0.72);
}

.pp-demo-list-summary-stats {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pp-demo-list-summary-stat {
  border-radius: 18px;
  border: 1px solid rgba(58, 42, 26, 0.12);
  background: rgba(255, 255, 255, 0.52);
  padding: 10px 8px;
  text-align: center;
}

.pp-demo-list-summary-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 820;
  color: rgba(58, 42, 26, 0.92);
}

.pp-demo-list-summary-stat span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(74, 47, 27, 0.62);
}

.pp-demo-list-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.pp-demo-list-section-copy {
  min-width: 0;
}

.pp-demo-list-section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 820;
  letter-spacing: -0.015em;
  color: rgba(58, 42, 26, 0.92);
}

.pp-demo-list-section-sub {
  margin: 3px 0 0;
  font-size: 11px;
  font-weight: 760;
  color: rgba(58, 42, 26, 0.7);
}

.pp-demo-list-section-count {
  min-width: 34px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 26, 0.12);
  background: rgba(233, 214, 191, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 820;
  color: rgba(58, 42, 26, 0.88);
}

.pp-demo-list-rows {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.pp-demo-list-row {
  width: 100%;
  text-align: left;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 11px;
  border-radius: 20px;
  border: 1px solid rgba(58, 42, 26, 0.12);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
  font: inherit;
  color: var(--pp-app-ink);
  cursor: pointer;
}

.pp-demo-list-row--static {
  cursor: default;
}

.pp-demo-list-row:focus-visible {
  outline: 3px solid rgba(95, 127, 87, 0.32);
  outline-offset: 2px;
}

.pp-demo-list-row-media {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(58, 42, 26, 0.1);
  background:
    radial-gradient(circle at 30% 20%, rgba(210, 122, 61, 0.12), transparent 52%),
    rgba(244, 231, 214, 0.9);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.pp-demo-list-row-media-img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.pp-demo-list-row-media svg {
  width: 20px;
  height: 20px;
  color: rgba(58, 42, 26, 0.72);
}

.pp-demo-list-row-copy {
  min-width: 0;
}

.pp-demo-list-row-title {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: rgba(58, 42, 26, 0.92);
}

.pp-demo-list-row-sub {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 760;
  color: rgba(74, 47, 27, 0.72);
}

.pp-demo-list-row-tail {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.pp-demo-list-row-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.pp-demo-list-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 26, 0.12);
  background: rgba(233, 214, 191, 0.76);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(58, 42, 26, 0.76);
}

.pp-demo-list-pill.is-sage {
  background: rgba(95, 127, 87, 0.16);
  color: rgba(50, 82, 45, 0.92);
}

.pp-demo-list-pill.is-alert {
  background: rgba(154, 53, 37, 0.14);
  color: rgba(124, 38, 26, 0.92);
}

.pp-demo-list-pill.is-copper {
  background: rgba(210, 122, 61, 0.16);
  color: rgba(136, 74, 34, 0.94);
}

.pp-demo-list-pill.is-muted {
  background: rgba(106, 86, 66, 0.12);
  color: rgba(88, 69, 52, 0.88);
}

.pp-demo-list-check {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1.5px solid rgba(58, 42, 26, 0.18);
  background: rgba(255, 255, 255, 0.72);
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  color: transparent;
}

.pp-demo-list-check.is-checked {
  background: rgba(95, 127, 87, 0.9);
  border-color: rgba(63, 94, 57, 0.9);
  color: #fff;
}

.pp-demo-list-row-chevron {
  width: 16px;
  height: 16px;
  color: rgba(58, 42, 26, 0.52);
  flex: none;
}

.pp-demo-list-scroll--shop .pp-demo-list-row {
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-areas:
    "media copy"
    "media tail";
  align-items: start;
  row-gap: 6px;
  column-gap: 10px;
  padding: 10px 11px 12px;
}

.pp-demo-list-scroll--shop .pp-demo-list-row-media {
  grid-area: media;
  width: 44px;
  height: 44px;
  border-radius: 13px;
}

.pp-demo-list-scroll--shop .pp-demo-list-row-copy {
  grid-area: copy;
  padding-top: 1px;
}

.pp-demo-list-scroll--shop .pp-demo-list-row-title {
  font-size: 13px;
  line-height: 1.04;
}

.pp-demo-list-scroll--shop .pp-demo-list-row-sub {
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.24;
  text-wrap: pretty;
}

.pp-demo-list-scroll--shop .pp-demo-list-row-tail {
  grid-area: tail;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px;
}

.pp-demo-list-scroll--shop .pp-demo-list-row-tags {
  justify-content: flex-start;
}

.pp-demo-list-scroll--shop .pp-demo-list-pill {
  min-height: 24px;
  padding: 0 9px;
  font-size: 9px;
  line-height: 1;
}

.pp-app-list {
  display: grid;
  gap: 8px;
}

.pp-app-list-row {
  width: 100%;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 14px 14px;
  border-radius: 26px;
  border: 1px solid rgba(58, 42, 26, 0.14);
  background: rgba(244, 231, 214, 0.88);
  font: inherit;
  color: var(--pp-app-ink);
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.pp-app-list-row:focus-visible {
  outline: 3px solid rgba(95, 127, 87, 0.35);
  outline-offset: 2px;
}

.pp-app-list-row-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 900;
}

.pp-app-list-row-sub {
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: rgba(106, 86, 66, 0.85);
}

.pp-app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pp-app-recipe-card {
  width: 100%;
  text-align: left;
  border-radius: 26px;
  border: 1px solid rgba(58, 42, 26, 0.16);
  background: rgba(244, 231, 214, 0.9);
  padding: 12px;
  display: grid;
  gap: 10px;
  cursor: pointer;
  font: inherit;
  color: var(--pp-app-ink);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.pp-app-recipe-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  background:
    radial-gradient(circle at 30% 20%, rgba(210, 122, 61, 0.18), transparent 55%),
    radial-gradient(circle at 80% 55%, rgba(95, 127, 87, 0.18), transparent 58%),
    rgba(233, 214, 191, 0.85);
  border: 1px solid rgba(58, 42, 26, 0.12);
  overflow: hidden;
}

.pp-app-recipe-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pp-app-recipe-title {
  margin: 0;
  font-size: var(--pp-type-body-md);
  font-weight: 860;
}

.pp-app-recipe-meta {
  margin: 0;
  font-size: var(--pp-type-body-sm);
  font-weight: 700;
  color: rgba(106, 86, 66, 0.85);
}

.pp-app-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  background: rgba(244, 231, 214, 0.96);
  border-top: 1px solid rgba(74, 47, 27, 0.16);
  padding: 10px 12px 14px;
  z-index: 3;
  transition: opacity 240ms ease, transform 240ms ease;
}

.pp-app-nav.is-hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.pp-app-objects.is-hidden,
.pp-app-fabs.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.pp-app-nav-btn {
  position: relative;
  border: 0;
  background: transparent;
  padding: 8px 4px 4px;
  border-radius: 18px;
  cursor: pointer;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  color: rgba(58, 42, 26, 0.62);
  font: inherit;
}

.pp-app-nav-btn > :not(.pp-app-nav-indicator) {
  position: relative;
  z-index: 1;
}
.pp-app-nav-btn[aria-selected="true"] {
  color: var(--pp-app-wood);
}

.pp-app-nav-icon {
  width: 30px;
  height: 30px;
  display: block;
}

.pp-app-nav-btn[aria-selected="true"] .pp-app-nav-icon {
  width: 32px;
  height: 32px;
}

.pp-app-nav-label {
  font-size: clamp(9px, calc(var(--pp-phone-demo-w, 360px) * 0.026), 10.5px);
  font-weight: 800;
  line-height: 1.14;
  max-width: 100%;
  white-space: nowrap;
  overflow: visible;
  text-align: center;
}

.pp-app-nav-indicator {
  position: absolute;
  /* A squared selection plate behind the icon+label (closer to the app). */
  inset: 2px 4px 2px 4px;
  /* Always stay behind the icon+label. */
  z-index: 0;
  pointer-events: none;
  border-radius: 20px;
  background: rgba(233, 214, 191, 0.86);
  border: 1px solid rgba(58, 42, 26, 0.12);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
  opacity: 0;
}

.pp-app-nav-btn[aria-selected="true"] .pp-app-nav-indicator {
  opacity: 1;
}

.pp-app-fabs {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.pp-app-fab {
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 24px;
  border: 1px solid rgba(58, 42, 26, 0.16);
  background: rgba(244, 231, 214, 0.92);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  color: rgba(58, 42, 26, 0.92);
  pointer-events: auto;
}

.pp-app-fab svg {
  width: 22px;
  height: 22px;
  display: block;
}

.pp-app-fab--gear {
  right: 16px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  border-radius: 22px;
  background: rgba(74, 47, 27, 0.92);
  color: var(--pp-app-parchment);
  border-color: rgba(74, 47, 27, 0.92);
}

.pp-app-fab--plus {
  right: 16px;
  bottom: 22px;
  border-radius: 999px;
  width: 56px;
  height: 56px;
}

.pp-app-fab--spice {
  left: 16px;
  bottom: 22px;
  border-radius: 999px;
  width: 50px;
  height: 50px;
  background: rgba(244, 231, 214, 0.88);
}

.pp-app-fab--spice img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.pp-home-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.pp-home-action {
  border-radius: 26px;
  border: 1px solid rgba(58, 42, 26, 0.14);
  background: rgba(244, 231, 214, 0.92);
  padding: 18px 12px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  font: inherit;
  color: var(--pp-app-ink);
  cursor: pointer;
}

.pp-home-action-icon {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(233, 214, 191, 0.92);
  border: 1px solid rgba(58, 42, 26, 0.12);
}

.pp-home-action-icon svg {
  width: 20px;
  height: 20px;
}

.pp-home-action-label {
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--pp-type-display-md);
  font-weight: 760;
  line-height: 1.05;
  color: rgba(58, 42, 26, 0.92);
}

.pp-plan-hud {
  position: sticky;
  top: 12px;
  z-index: 5;
  display: grid;
  gap: 12px;
  padding-top: 2px;
}

.pp-plan-week-row {
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  gap: 12px;
  align-items: center;
}

.pp-plan-week-pill {
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--pp-type-display-lg);
  font-weight: 780;
  letter-spacing: -0.02em;
}

.pp-plan-autofill-pill {
  justify-self: center;
  width: fit-content;
  max-width: calc(100% - 96px);
  min-height: 46px;
  padding: 0 16px;
  gap: 6px;
  font-size: var(--pp-type-display-md);
  font-weight: 760;
  letter-spacing: -0.01em;
}

.pp-meal-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  grid-template-areas:
    "thumb meta"
    "actions actions";
  gap: 14px;
  align-items: start;
}

.pp-meal-thumb {
  grid-area: thumb;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(210, 122, 61, 0.22), transparent 55%),
    rgba(233, 214, 191, 0.92);
  border: 1px solid rgba(58, 42, 26, 0.12);
}

.pp-meal-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pp-meal-meta {
  grid-area: meta;
  display: grid;
  gap: 2px;
  min-width: 0;
}

.pp-meal-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--pp-type-display-md);
  font-weight: 800;
  line-height: 1.05;
}

.pp-meal-sub {
  margin: 0;
  font-size: var(--pp-type-body-sm);
  font-weight: 650;
  color: rgba(58, 42, 26, 0.72);
  overflow-wrap: anywhere;
}

.pp-meal-actions {
  grid-area: actions;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
}

.pp-meal-actions .pp-app-pill {
  width: 100%;
  min-height: 44px;
  font-size: var(--pp-type-body-sm);
  padding: 0 12px;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
}

.pp-cookbook-topline {
  display: grid;
  grid-template-columns: 1fr 54px;
  gap: 10px;
  align-items: center;
  padding-top: 8px;
}

.pp-cookbook-searchbar {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 26, 0.16);
  background: rgba(244, 231, 214, 0.9);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.13);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  font: inherit;
  font-size: var(--pp-type-body-md);
  font-weight: 720;
  letter-spacing: 0.01em;
  color: rgba(58, 42, 26, 0.78);
  cursor: pointer;
}

.pp-cookbook-searchbar svg {
  width: 18px;
  height: 18px;
  color: rgba(58, 42, 26, 0.78);
  flex: 0 0 auto;
}

.pp-cookbook-searchbar > span {
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
  overflow: visible;
  text-overflow: unset;
}

.pp-cookbook-menu-btn {
  width: 54px;
  height: 54px;
}

.pp-cookbook-filters {
  display: grid;
  gap: 12px;
  align-content: start;
}

.pp-cookbook-filter-section {
  margin: 0;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 880;
  letter-spacing: 0.01em;
  color: rgba(58, 42, 26, 0.7);
}

.pp-cookbook-filter-search {
  min-height: 58px;
  border-radius: 24px;
  border: 1px solid rgba(58, 42, 26, 0.16);
  background: rgba(244, 231, 214, 0.95);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  color: rgba(58, 42, 26, 0.78);
}

.pp-cookbook-filter-search svg {
  width: 24px;
  height: 24px;
  color: rgba(58, 42, 26, 0.82);
  flex: 0 0 auto;
}

.pp-cookbook-filter-search span {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.pp-cookbook-source-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pp-cookbook-source-chip {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 26, 0.22);
  background: rgba(86, 57, 35, 0.92);
  color: rgba(255, 251, 245, 0.96);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 860;
  letter-spacing: -0.01em;
  display: grid;
  place-items: center;
  padding: 0 10px;
  text-align: center;
}

.pp-cookbook-dropdown-group {
  display: grid;
  gap: 10px;
}

.pp-cookbook-filter-dropdown {
  width: 100%;
  min-height: 56px;
  border-radius: 24px;
  border: 1px solid rgba(58, 42, 26, 0.16);
  background: rgba(244, 231, 214, 0.95);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  font: inherit;
  cursor: pointer;
}

.pp-cookbook-filter-dropdown span {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 760;
  color: rgba(58, 42, 26, 0.9);
}

.pp-cookbook-filter-dropdown svg {
  width: 20px;
  height: 20px;
  color: rgba(58, 42, 26, 0.68);
  flex: 0 0 auto;
}

.pp-cookbook-filter-toggle-row {
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pp-cookbook-filter-toggle-row span {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 860;
  color: rgba(58, 42, 26, 0.96);
}

.pp-cookbook-filter-toggle {
  width: 62px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 26, 0.12);
  background: rgba(58, 42, 26, 0.14);
  position: relative;
  padding: 0;
  cursor: pointer;
}

.pp-cookbook-filter-toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f4f4f4;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.24);
}

.pp-recipe-overlays {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pp-recipe-overlay-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 26, 0.14);
  background: rgba(244, 231, 214, 0.92);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.14);
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  color: rgba(58, 42, 26, 0.82);
}

.pp-recipe-overlay-btn svg {
  width: 20px;
  height: 20px;
}

.pp-pantry-stage {
  position: relative;
  height: 100%;
  min-height: clamp(300px, calc(var(--pp-phone-demo-w, 360px) * 1.06), 420px);
  overflow: visible;
}

.pp-pantry-item {
  position: absolute;
  display: block;
  width: 150px;
  height: auto;
  filter: drop-shadow(0 18px 16px rgba(0, 0, 0, 0.18));
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.pp-pantry-item-img {
  width: 100%;
  height: auto;
  display: block;
}

.pp-pantry-item--apple {
  top: 34%;
  left: 18%;
  width: 20%;
  max-width: 130px;
}

.pp-pantry-item--banana {
  top: 33%;
  right: 14%;
  width: 24%;
  max-width: 155px;
}

.pp-pantry-item--avocado {
  top: 65%;
  left: 50%;
  transform: translateX(-50%);
  width: 26%;
  max-width: 160px;
}

.pp-pantry-label {
  position: absolute;
  width: clamp(92px, 29%, 122px);
  min-height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 26, 0.16);
  background: rgba(244, 231, 214, 0.92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  padding: 7px 10px;
  box-sizing: border-box;
  font: inherit;
  color: var(--pp-app-ink);
  cursor: pointer;
}

.pp-pantry-label strong {
  font-family: var(--font-display);
  font-size: clamp(12px, calc(var(--pp-phone-demo-w, 360px) * 0.034), 13px);
  letter-spacing: -0.01em;
  line-height: 1.04;
}

.pp-pantry-label span {
  margin-top: 1px;
  font-size: clamp(9px, calc(var(--pp-phone-demo-w, 360px) * 0.026), 10px);
  font-weight: 750;
  color: rgba(58, 42, 26, 0.72);
}

.pp-pantry-label--apple {
  top: 52%;
  left: 6%;
}

.pp-pantry-label--banana {
  top: 52%;
  right: 6%;
}

.pp-pantry-label--avocado {
  top: 88%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(116px, 36%, 146px);
}

.pp-spice-scroll {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 0 0 126px;
}

.pp-spice-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.pp-spice-stage {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 0 8px 6px;
}

.pp-spice-section {
  display: grid;
  align-content: start;
  gap: 4px;
}

.pp-spice-hero-rack {
  width: min(96%, 336px);
  height: auto;
  justify-self: center;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.pp-spice-section-chip {
  justify-self: center;
  min-height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 26, 0.16);
  background: rgba(244, 231, 214, 0.9);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
}

.pp-spice-section-chip-label {
  font-family: var(--font-display);
  font-size: var(--pp-type-display-md);
  font-weight: 820;
  letter-spacing: -0.012em;
  color: rgba(58, 42, 26, 0.92);
}

.pp-spice-section-count {
  min-width: 44px;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 26, 0.1);
  background: rgba(222, 205, 183, 0.72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--pp-type-display-md);
  font-weight: 820;
  letter-spacing: -0.01em;
  color: rgba(58, 42, 26, 0.84);
}

.pp-spice-rows {
  display: grid;
  gap: 8px;
}

.pp-spice-row {
  position: relative;
  min-height: clamp(166px, 20.5vw, 194px);
  overflow: visible;
}

.pp-spice-shelf-img {
  position: absolute;
  left: 50%;
  bottom: 64px;
  transform: translateX(-50%);
  width: 90%;
  max-width: 332px;
  height: auto;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.16));
  pointer-events: none;
  user-select: none;
}

.pp-spice-jar {
  position: absolute;
  border: 0;
  padding: 0;
  background: transparent;
  width: 72px;
  cursor: pointer;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.16));
}

.pp-spice-jar-img {
  width: 100%;
  height: auto;
  display: block;
}

.pp-spice-jar.is-unavailable {
  opacity: 0.62;
  filter: grayscale(0.32) saturate(0.58) drop-shadow(0 12px 14px rgba(0, 0, 0, 0.14));
}

.pp-spice-label {
  position: absolute;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 26, 0.16);
  background: rgba(244, 231, 214, 0.92);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 8px 5px;
  box-sizing: border-box;
  font: inherit;
  font-family: var(--font-display);
  font-size: clamp(8px, calc(var(--pp-phone-demo-w, 360px) * 0.024), 10px);
  font-weight: 810;
  letter-spacing: -0.012em;
  line-height: 1;
  color: rgba(58, 42, 26, 0.9);
  text-align: center;
  cursor: pointer;
  max-width: min(30%, 108px);
  min-width: 0;
}

.pp-spice-label-text {
  display: block;
  min-width: 0;
  line-height: 1.04;
  text-wrap: pretty;
}

.pp-spice-label-chevron {
  width: 12px;
  height: 12px;
  flex: none;
  color: rgba(58, 42, 26, 0.56);
}

.pp-spice-label.is-unavailable {
  color: rgba(106, 86, 66, 0.68);
  background: rgba(244, 231, 214, 0.78);
}

.pp-pantry-detail {
  display: grid;
  gap: 16px;
}

.pp-pantry-detail-hero {
  position: relative;
  height: 240px;
  border-radius: 28px;
  border: 1px solid rgba(58, 42, 26, 0.14);
  background:
    radial-gradient(circle at 20% 10%, rgba(210, 122, 61, 0.14), transparent 58%),
    rgba(244, 231, 214, 0.6);
  overflow: hidden;
}

.pp-pantry-detail-shelf {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: 94%;
  max-width: 360px;
  height: auto;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.18));
}

.pp-pantry-detail-img {
  position: absolute;
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%);
  width: 46%;
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 16px 16px rgba(0, 0, 0, 0.2));
}

.pp-pantry-detail-hero[data-item="apple"] .pp-pantry-detail-img {
  width: 38%;
  bottom: 48px;
}

.pp-pantry-detail-hero[data-item="banana"] .pp-pantry-detail-img {
  width: 56%;
  bottom: 52px;
}

.pp-pantry-detail-card {
  display: grid;
  gap: 10px;
  padding: 18px 18px 16px;
}

.pp-pantry-detail-name {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.012em;
}

.pp-pantry-detail-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.pp-pantry-detail-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 26, 0.14);
  background: rgba(106, 86, 66, 0.14);
  font-size: 14px;
  font-weight: 820;
  color: rgba(58, 42, 26, 0.86);
  letter-spacing: -0.01em;
}

.pp-pantry-detail-useitup {
  border-radius: 28px;
  border: 1px solid rgba(58, 42, 26, 0.16);
  background: rgba(244, 231, 214, 0.82);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
  padding: 18px;
  display: grid;
  gap: 12px;
}

.pp-pantry-detail-section-title {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.012em;
}

.pp-pantry-detail-section-sub {
  margin: -6px 0 0;
  text-align: center;
  font-size: 13px;
  font-weight: 750;
  color: rgba(58, 42, 26, 0.72);
}

.pp-nutrition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pp-nutrition-cell {
  border-radius: 20px;
  border: 1px solid rgba(58, 42, 26, 0.12);
  background: rgba(255, 255, 255, 0.54);
  padding: 12px 12px 10px;
}

.pp-nutrition-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(58, 42, 26, 0.62);
}

.pp-nutrition-value {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: rgba(58, 42, 26, 0.92);
}

.pp-useitup-recipe {
  width: 100%;
  text-align: left;
  border-radius: 26px;
  border: 1px solid rgba(58, 42, 26, 0.16);
  background: rgba(244, 231, 214, 0.88);
  padding: 12px;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  font: inherit;
  color: var(--pp-app-ink);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.pp-useitup-thumb {
  position: relative;
  overflow: hidden;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 20%, rgba(210, 122, 61, 0.18), transparent 55%),
    radial-gradient(circle at 80% 55%, rgba(95, 127, 87, 0.18), transparent 58%),
    rgba(233, 214, 191, 0.85);
  border: 1px solid rgba(58, 42, 26, 0.12);
}

.pp-useitup-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pp-useitup-title {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.pp-useitup-sub {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 720;
  color: rgba(106, 86, 66, 0.85);
}

.pp-useitup-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pp-useitup-action {
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 26, 0.16);
  background: rgba(255, 255, 255, 0.52);
  padding: 12px 14px;
  font: inherit;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
  color: rgba(58, 42, 26, 0.9);
}

@media (min-width: 1025px) and (min-height: 761px) and (hover: hover) and (pointer: fine) {
  .pp-app[data-pp-tab="pantry"][data-pp-pantry-view="items"][data-pp-pantry-display="cards"] .pp-screen-pantry {
    grid-template-rows: auto auto auto;
    align-content: start;
    height: auto;
    min-height: 100%;
  }

  .pp-app[data-pp-tab="pantry"][data-pp-pantry-view="items"][data-pp-pantry-display="cards"] .pp-pantry-stage {
    height: auto;
  }
}

.pp-shop-stage {
  position: relative;
  height: 100%;
  min-height: 0;
  padding-top: 4px;
  padding-bottom: 8px;
}

.pp-shop-hero {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.pp-shop-prefs {
  width: auto;
  max-width: 92%;
  background: rgba(244, 231, 214, 0.9);
  border: 1px solid rgba(58, 42, 26, 0.14);
  border-radius: 26px;
  padding: 12px 14px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
}

.pp-shop-prefs-sub {
  margin: 4px 0 0;
  font-size: var(--pp-type-body-sm);
  font-weight: 720;
  color: rgba(58, 42, 26, 0.72);
}

.pp-shop-prefs-chips {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pp-shop-prefs .pp-app-chip {
  padding: 7px 12px;
  font-size: var(--pp-type-caption);
}

.pp-shop-recipe-pill {
  margin-top: 6px;
  justify-self: center;
  width: auto;
  max-width: 88%;
  min-height: 44px;
  padding-inline: 14px;
  font-size: clamp(11px, calc(var(--pp-phone-demo-w, 360px) * 0.032), 13px);
  line-height: 1.08;
}

.pp-shop-items {
  position: relative;
  height: 100%;
  min-height: 0;
}

.pp-shop-section-chip {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 26, 0.14);
  background: rgba(233, 214, 191, 0.86);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--pp-type-body-sm);
  font-weight: 820;
  color: rgba(58, 42, 26, 0.84);
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
  line-height: 1.12;
  text-align: center;
}

.pp-shop-section-chip--household {
  top: 66%;
}

.pp-shop-item {
  position: absolute;
  width: 120px;
  height: auto;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.18));
}

.pp-shop-item--garlic {
  top: 4%;
  left: 10%;
  width: 20%;
  max-width: 110px;
}

.pp-shop-item--jalapeno {
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: 24%;
  max-width: 135px;
}

.pp-shop-item--salt {
  top: 5%;
  right: 10%;
  width: 15%;
  max-width: 80px;
}

.pp-shop-item--oliveoil {
  top: 42%;
  left: 14%;
  width: 10%;
  max-width: 60px;
}

.pp-shop-item--onion {
  top: 40%;
  left: 52%;
  transform: translateX(-50%);
  width: 28%;
  max-width: 160px;
}

.pp-shop-item--dishdetergent {
  top: 71%;
  left: 28%;
  transform: translateX(-50%);
  width: 18%;
  max-width: 92px;
}

.pp-shop-item--trashbags {
  top: 71%;
  left: 74%;
  transform: translateX(-50%);
  width: 18%;
  max-width: 92px;
}

.pp-shop-label {
  position: absolute;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 26, 0.16);
  background: rgba(244, 231, 214, 0.92);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.08;
  font-family: var(--font-display);
  font-size: var(--pp-type-body-md);
  font-weight: 790;
  color: rgba(58, 42, 26, 0.88);
}

.pp-shop-label--garlic {
  top: 22%;
  left: 6%;
  width: 130px;
}

.pp-shop-label--jalapeno {
  top: 23%;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
}

.pp-shop-label--salt {
  top: 22%;
  right: 6%;
  width: 140px;
}

.pp-shop-label--oliveoil {
  top: 55%;
  left: 4%;
  width: 150px;
}

.pp-shop-label--onion {
  top: 61%;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
}

.pp-shop-label--dishdetergent {
  top: 85%;
  left: 28%;
  transform: translateX(-50%);
  width: 174px;
}

.pp-shop-label--trashbags {
  top: 85%;
  left: 74%;
  transform: translateX(-50%);
  width: 142px;
}

.pp-shop-bar {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 14px;
  z-index: 3;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 10px;
  align-items: center;
}

.pp-shop-bar .pp-app-pill {
  min-height: 44px;
  padding: 0 10px;
  font-size: clamp(10px, calc(var(--pp-phone-demo-w, 360px) * 0.03), 12px);
  font-family: var(--font-display);
  font-weight: 790;
  letter-spacing: -0.01em;
  line-height: 1.02;
  text-wrap: balance;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.18);
}

.pp-shop-stage {
  display: flex;
  flex-direction: column;
}

.pp-shop-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 8px 8px var(--pp-shop-scroll-pad-bottom, 236px);
}

.pp-shop-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.pp-shop-scroll-spacer {
  height: var(--pp-shop-scroll-pad-bottom, 236px);
  flex: 0 0 auto;
}

.pp-shop-items--stacked {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 2px 2px 12px;
  min-width: 0;
}

.pp-shop-items--stacked .pp-shop-row {
  display: grid;
  align-items: end;
  gap: 8px;
  min-width: 0;
}

.pp-shop-items--stacked .pp-shop-row--food-top {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pp-shop-items--stacked .pp-shop-row--food-bottom {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-inline: clamp(16px, 7%, 32px);
  margin-top: 2px;
}

.pp-shop-items--stacked .pp-shop-row--household {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-inline: clamp(14px, 6%, 28px);
}

.pp-shop-items--stacked .pp-shop-cell {
  --pp-shop-item-scale: 1;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 5px;
  min-width: 0;
}

.pp-shop-items--stacked .pp-shop-cell-asset {
  width: 100%;
  height: clamp(52px, 16vw, 72px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  pointer-events: none;
}

.pp-shop-items--stacked .pp-shop-item-img {
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform-origin: center bottom;
  transform: scale(var(--pp-shop-item-scale));
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.pp-shop-items--stacked .pp-shop-cell--garlic {
  --pp-shop-item-scale: 0.98;
}

.pp-shop-items--stacked .pp-shop-cell--jalapeno {
  --pp-shop-item-scale: 1.02;
}

.pp-shop-items--stacked .pp-shop-cell--salt {
  --pp-shop-item-scale: 0.98;
}

.pp-shop-items--stacked .pp-shop-cell--oliveoil {
  --pp-shop-item-scale: 1.14;
}

.pp-shop-items--stacked .pp-shop-cell--onion {
  --pp-shop-item-scale: 0.84;
}

.pp-shop-items--stacked .pp-shop-cell--dishdetergent {
  --pp-shop-item-scale: 0.92;
}

.pp-shop-items--stacked .pp-shop-cell--trashbags {
  --pp-shop-item-scale: 0.92;
}

.pp-shop-items--stacked .pp-shop-section-chip {
  position: static;
  left: auto;
  top: auto;
  transform: none;
  justify-self: center;
  margin: 4px auto 0;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 26, 0.18);
  background: rgba(244, 231, 214, 0.92);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
  font-size: clamp(11px, calc(var(--pp-phone-demo-w, 360px) * 0.031), 12px);
  font-weight: 760;
  color: var(--pp-app-ink);
  text-align: center;
}

.pp-shop-items--stacked .pp-shop-label {
  position: static;
  left: auto;
  right: auto;
  top: auto;
  transform: none;
  width: min(100%, 156px);
  margin: 0 auto;
  min-height: 36px;
  padding: 0 10px;
  white-space: normal;
  text-align: center;
  justify-content: center;
  font-size: clamp(10px, calc(var(--pp-phone-demo-w, 360px) * 0.028), 11px);
  line-height: 1.04;
  text-wrap: balance;
}

.pp-shop-bar .pp-app-circle {
  width: 48px;
  height: 48px;
}

.pp-shop-bar .pp-app-circle svg {
  width: 19px;
  height: 19px;
}

@media (max-width: 420px) {
  .pp-shop-items--stacked {
    gap: 10px;
  }

  .pp-shop-items--stacked .pp-shop-row {
    gap: 8px;
  }

  .pp-shop-items--stacked .pp-shop-row--food-bottom {
    margin-top: 4px;
  }

  .pp-shop-items--stacked .pp-shop-cell-asset {
    height: clamp(56px, 18vw, 74px);
  }

  .pp-shop-items--stacked .pp-shop-label {
    min-height: 40px;
    font-size: var(--pp-type-caption);
    padding: 0 11px;
  }
}
.pp-app-modal {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
}

.pp-app-modal[aria-hidden="true"] {
  display: none;
}

.pp-app-scrim {
  position: absolute;
  inset: 0;
  background: rgba(17, 14, 10, 0.42);
  opacity: 0;
  transition: opacity 220ms ease;
}

.pp-app-sheet {
  background: rgba(244, 231, 214, 0.98);
  border-radius: 34px;
  border: 1px solid rgba(74, 47, 27, 0.18);
  box-shadow: 0 34px 86px rgba(0, 0, 0, 0.35);
  padding: 10px 16px 14px;
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 12px;
  top: clamp(54px, 10%, 86px);
  transform: translateY(18px);
  transition: transform 260ms ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: contain;
}

.pp-app-sheet[data-pp-scrollable="true"]::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.pp-app-sheet-handle {
  width: 74px;
  height: 6px;
  border-radius: 999px;
  background: rgba(58, 42, 26, 0.16);
  margin: 6px auto 10px;
}

.pp-app-modal.is-open {
  pointer-events: auto;
}

.pp-app-modal.is-open .pp-app-scrim {
  opacity: 1;
}

.pp-app-modal.is-open .pp-app-sheet {
  transform: none;
}

.pp-app-sheet-header {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 10px;
}

.pp-app-sheet[data-pp-align="left"] .pp-app-sheet-header,
.pp-app-sheet[data-pp-align="right"] .pp-app-sheet-header {
  grid-template-columns: 1fr 40px;
}

.pp-app-sheet[data-pp-align="left"] .pp-app-sheet-spacer,
.pp-app-sheet[data-pp-align="right"] .pp-app-sheet-spacer {
  display: none;
}

.pp-app-sheet[data-pp-align="left"] .pp-app-sheet-title,
.pp-app-sheet[data-pp-align="right"] .pp-app-sheet-title {
  grid-column: 1;
  text-align: left;
}

.pp-app-sheet[data-pp-align="right"] {
  left: auto;
  right: 0;
  top: 12px;
  bottom: 12px;
  width: min(92%, 320px);
  border-radius: 30px 0 0 30px;
  border-right: 0;
  padding: 8px 14px 14px;
  transform: translateX(18px);
}

.pp-app-sheet[data-pp-align="right"] .pp-app-sheet-handle {
  display: none;
}

.pp-app-sheet[data-pp-align="right"] .pp-app-sheet-header {
  margin-top: 4px;
}

.pp-app-sheet[data-pp-align="right"] .pp-app-sheet-body {
  padding-top: 8px;
}

.pp-app-sheet-title {
  margin: 0;
  font-size: 32px;
  font-weight: 950;
  letter-spacing: -0.01em;
  text-align: center;
  grid-column: 2;
}

.pp-app-sheet-close {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: rgba(58, 42, 26, 0.8);
}

.pp-app-sheet-close svg {
  width: 26px;
  height: 26px;
  display: block;
}

.pp-app-sheet-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding: 12px 2px 8px;
}

.pp-app-sheet-body > * {
  min-width: 0;
}

.pp-app-sheet-body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.pp-app-sheet-footer {
  flex: none;
  display: grid;
  gap: 12px;
  padding-top: 12px;
}

.pp-app-sheet-footer .pp-app-sheet-btn {
  width: 100%;
}

.pp-app-sheet-btn {
  border-radius: 28px;
  border: 1px solid rgba(58, 42, 26, 0.18);
  background: rgba(255, 255, 255, 0.62);
  padding: 16px 18px;
  font: inherit;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(58, 42, 26, 0.92);
}

.pp-app-sheet-btn[disabled] {
  opacity: 0.45;
  cursor: default;
}

.pp-app-sheet-btn--primary {
  background: rgba(255, 255, 255, 0.72);
}

.pp-app-sheet-btn--secondary {
  background: rgba(233, 214, 191, 0.62);
}

.pp-app-sheet-btn svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.pp-app-seg {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: 10px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(233, 214, 191, 0.72);
  border: 1px solid rgba(58, 42, 26, 0.16);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.26);
}

.pp-app-seg.pp-app-seg--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pp-app-seg.pp-app-seg--count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pp-app-seg.pp-app-seg--count-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pp-app-seg-btn {
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 26, 0.14);
  background: rgba(255, 255, 255, 0.64);
  padding: 12px 10px;
  font: inherit;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: rgba(58, 42, 26, 0.92);
  cursor: pointer;
  min-width: 0;
  min-height: clamp(34px, calc(var(--pp-phone-demo-w, 360px) * 0.1), 44px);
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
  hyphens: none;
  line-height: 1.08;
  text-align: center;
  overflow: visible;
  text-overflow: unset;
  text-wrap: balance;
}

.pp-app-seg-btn[aria-selected="true"] {
  background: rgba(150, 140, 130, 0.48);
}

.pp-app-field {
  width: 100%;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 26px;
  border: 1px solid rgba(58, 42, 26, 0.14);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.12);
  min-width: 0;
}

.pp-app-field svg {
  width: 22px;
  height: 22px;
  opacity: 0.72;
}

.pp-app-field input,
.pp-app-field textarea {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: rgba(58, 42, 26, 0.86);
  outline: none;
  min-width: 0;
}

.pp-app-field textarea {
  resize: none;
  min-height: 78px;
}

.pp-app-field input::placeholder,
.pp-app-field textarea::placeholder {
  color: rgba(58, 42, 26, 0.46);
}

.pp-app-sheet-sub {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 820;
  color: rgba(58, 42, 26, 0.8);
  line-height: 1.2;
}

.pp-app-sheet-tip {
  margin: 14px 0 0;
  font-size: 18px;
  font-weight: 780;
  color: rgba(58, 42, 26, 0.58);
  line-height: 1.25;
  text-align: center;
}

.pp-app-sheet-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.pp-app-sheet-row > * {
  min-width: 0;
}

.pp-app-sheet-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pp-app-sheet-grid2 > * {
  min-width: 0;
}

.pp-app-sheet-pill {
  width: 100%;
  text-align: left;
  border-radius: 28px;
  border: 1px solid rgba(58, 42, 26, 0.16);
  background: rgba(233, 214, 191, 0.62);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font: inherit;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: rgba(58, 42, 26, 0.92);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
  cursor: pointer;
}

.pp-app-sheet-pill svg {
  width: 22px;
  height: 22px;
  opacity: 0.7;
}

.pp-app-circle--sheet {
  width: 58px;
  height: 58px;
  border-radius: 26px;
  background: rgba(233, 214, 191, 0.62);
  border: 1px solid rgba(58, 42, 26, 0.16);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
}

.pp-app-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pp-app-tile {
  border-radius: 26px;
  border: 1px solid rgba(58, 42, 26, 0.16);
  background: rgba(255, 255, 255, 0.58);
  padding: 14px 10px 12px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
  display: grid;
  justify-items: center;
  gap: 10px;
  font: inherit;
  cursor: pointer;
}

.pp-app-tile-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  background: rgba(244, 231, 214, 0.68);
  border: 1px solid rgba(58, 42, 26, 0.12);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.pp-app-tile-media img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.pp-app-tile-label {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: rgba(58, 42, 26, 0.88);
  line-height: 1.1;
  text-align: center;
}

.pp-app-sheet-section {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: rgba(58, 42, 26, 0.82);
}

/* -------------------------------------------------------------------------- */
/* App Simulator: Detail/Overlay UI (website demo only)                        */
/* -------------------------------------------------------------------------- */

/* When overlays are open, prevent background app-content scrolling. */
.pp-app.is-overlay-open .pp-app-content {
  overflow: hidden;
}

/* Sheet sizing tuned closer to the reference screenshots. */
.pp-app-sheet-title {
  font-size: clamp(16px, calc(var(--pp-phone-demo-w, 360px) * 0.047), 20px);
  font-weight: 950;
  letter-spacing: -0.01em;
  line-height: 1.02;
  text-wrap: balance;
}

.pp-app-sheet-close {
  width: 40px;
  height: 40px;
}

.pp-app-sheet-close svg {
  width: 22px;
  height: 22px;
}

.pp-app-sheet-body {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px 2px 6px;
}

.pp-app-sheet-footer {
  gap: 10px;
  padding-top: 10px;
}

.pp-app-sheet-btn {
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 22px;
  font-size: 16px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
}

.pp-app-sheet-btn svg {
  width: 18px;
  height: 18px;
}

.pp-app-sheet-btn.is-soft-disabled {
  opacity: 0.55;
}

.pp-app-seg {
  gap: 8px;
  padding: 8px;
}

.pp-app-seg-btn {
  padding: 8px 8px;
  font-size: clamp(10px, calc(var(--pp-phone-demo-w, 360px) * 0.03), 12px);
  line-height: 1.03;
}

.pp-app-seg--compact .pp-app-seg-btn {
  min-height: 30px;
  padding: 6px 3px;
  font-size: clamp(8.5px, calc(var(--pp-phone-demo-w, 360px) * 0.024), 10px);
  font-weight: 840;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-wrap: nowrap;
}

.pp-app-seg--compact {
  gap: 4px;
  padding: 4px;
}

.pp-app-field {
  grid-template-columns: 24px 1fr;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 20px;
}

.pp-app-field svg {
  width: 16px;
  height: 16px;
}

.pp-app-field input,
.pp-app-field textarea {
  font-size: clamp(12px, calc(var(--pp-phone-demo-w, 360px) * 0.033), 14px);
  font-weight: 760;
}

.pp-app-field input {
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pp-app-field textarea {
  min-height: 62px;
  line-height: 1.2;
}

.pp-app-field--noicon {
  grid-template-columns: 1fr;
}

.pp-app-field--noicon > span {
  display: none;
}

.pp-app-sheet-sub {
  margin: 0;
  font-size: clamp(12px, calc(var(--pp-phone-demo-w, 360px) * 0.033), 14px);
  font-weight: 850;
  color: rgba(58, 42, 26, 0.82);
  line-height: 1.15;
}

.pp-app-sheet-row {
  gap: 10px;
}

.pp-app-sheet-grid2 {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 10px;
}

.pp-app-sheet-grid2 .pp-app-field {
  padding-inline: 10px;
}

.pp-app-sheet-grid2 .pp-app-field input {
  font-size: clamp(11px, calc(var(--pp-phone-demo-w, 360px) * 0.03), 13px);
}

.pp-app-sheet-tip {
  margin: 0;
  font-size: 12px;
  font-weight: 750;
  color: rgba(58, 42, 26, 0.58);
}

.pp-app-sheet-section {
  margin: 0;
  font-size: 14px;
}

.pp-app-sheet-stack {
  display: grid;
  gap: 8px;
}

.pp-app-sheet-pill {
  padding: 11px 12px;
  border-radius: 22px;
  font-size: clamp(12px, calc(var(--pp-phone-demo-w, 360px) * 0.033), 13px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.pp-app-sheet-pill svg {
  width: 18px;
  height: 18px;
}

.pp-app-sheet-pill--filter {
  background: rgba(233, 214, 191, 0.58);
}

.pp-app-circle--sheet {
  width: 46px;
  height: 46px;
  border-radius: 20px;
}

.pp-app-circle--sheet svg {
  width: 20px;
  height: 20px;
}

.pp-app-tile-grid {
  gap: 12px;
}

.pp-app-tile {
  border-radius: 20px;
  padding: 12px 10px 10px;
  gap: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.pp-app-tile.is-selected {
  border-color: rgba(95, 127, 87, 0.55);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12), 0 10px 22px rgba(95, 127, 87, 0.12);
}

.pp-app-tile-media {
  border-radius: 18px;
}

.pp-app-tile-label {
  font-size: 13px;
}

.pp-app-sheet-menu-wrap {
  position: relative;
}

.pp-app-sheet-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 6px);
  z-index: 100;
  border-radius: 22px;
  border: 1px solid rgba(58, 42, 26, 0.16);
  background: #fff;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.pp-app-sheet-menu-item {
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border: 0;
  background: transparent;
  font: inherit;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  color: rgba(58, 42, 26, 0.9);
  cursor: pointer;
}

.pp-app-sheet-menu-item + .pp-app-sheet-menu-item {
  border-top: 1px solid rgba(58, 42, 26, 0.12);
}

.pp-app-sheet-menu-item:hover {
  background: rgba(233, 214, 191, 0.52);
}

.pp-app-sheet-surface {
  margin: 0;
  box-sizing: border-box;
  min-width: 0;
  border-radius: 20px;
  border: 1px solid rgba(58, 42, 26, 0.14);
  background: rgba(233, 214, 191, 0.62);
  padding: 10px 10px 9px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.22);
}

.pp-app-sheet-surface-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.pp-app-sheet-surface-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  color: rgba(58, 42, 26, 0.82);
}

.pp-app-sheet-surface-note {
  margin-top: 8px;
  font-size: clamp(10px, calc(var(--pp-phone-demo-w, 360px) * 0.026), 11px);
  font-weight: 750;
  text-align: center;
  color: rgba(58, 42, 26, 0.68);
}

.pp-app-mini-seg {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border-radius: 18px;
  border: 1px solid rgba(58, 42, 26, 0.14);
  background: rgba(244, 231, 214, 0.62);
  min-width: 0;
}

.pp-app-mini-seg-btn {
  position: relative;
  min-width: 0;
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 26, 0.14);
  background: rgba(255, 255, 255, 0.68);
  padding: 8px 8px 8px 24px;
  font: inherit;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  color: rgba(58, 42, 26, 0.9);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pp-app-mini-seg-btn[aria-selected="true"] {
  background: rgba(150, 140, 130, 0.26);
}

.pp-app-mini-seg-btn[aria-selected="true"]::before {
  content: "\2713";
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-52%);
  font-size: 11px;
  color: rgba(58, 42, 26, 0.88);
}

.pp-app-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 20px;
  border: 1px solid rgba(58, 42, 26, 0.14);
  background: rgba(233, 214, 191, 0.62);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.22);
}

.pp-app-stepper-label {
  font-family: var(--font-display);
  font-size: clamp(12px, calc(var(--pp-phone-demo-w, 360px) * 0.031), 13px);
  font-weight: 900;
  color: rgba(58, 42, 26, 0.82);
}

.pp-app-stepper-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pp-app-stepper-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 26, 0.18);
  background: rgba(255, 255, 255, 0.7);
  color: rgba(58, 42, 26, 0.9);
  font: inherit;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.pp-app-stepper-val {
  min-width: 28px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 950;
  color: rgba(58, 42, 26, 0.9);
}

.pp-app-stepper-val.is-bump {
  animation: ppAppBump 180ms ease;
}

@keyframes ppAppBump {
  0% {
    transform: none;
  }
  50% {
    transform: scale(1.12);
  }
  100% {
    transform: none;
  }
}

.pp-app-inline-add {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pp-app-inline-add .pp-app-field {
  flex: 1;
}

.pp-app-inline-add-btn {
  width: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 18px;
}

.pp-app-inline-link {
  margin-top: 8px;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  color: rgba(58, 42, 26, 0.76);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pp-app-inline-link svg {
  width: 16px;
  height: 16px;
  opacity: 0.78;
}

/* -------------------------------------------------------------------------- */
/* App Page Overlays (Recipe view + Cook view)                                 */
/* -------------------------------------------------------------------------- */

.pp-app-page {
  position: absolute;
  inset: 0;
  z-index: 25;
  pointer-events: none;
}

.pp-app-page[aria-hidden="true"] {
  display: none;
}

.pp-app-page.is-open {
  pointer-events: auto;
}

.pp-page {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  color: var(--pp-app-ink);
  overflow: hidden;
}

.pp-page--recipe {
  background-image: url("../backgrounds/bg_onboarding_wood.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.pp-page--cook {
  background: rgba(244, 231, 214, 0.98);
}

.pp-page-scroll {
  flex: 1;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 12px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 10px 12px 18px;
  scrollbar-width: none;
}

.pp-page-scroll > * {
  min-width: 0;
}

.pp-page--recipe .pp-page-scroll {
  padding-bottom: 12px;
}

.pp-page-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.pp-page-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 6px 0 10px;
}

.pp-page-topbar-btn {
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: rgba(58, 42, 26, 0.9);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 12px;
}

.pp-page-topbar-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}

.pp-page-topbar-btn:active {
  transform: translateY(1px);
}

.pp-page--recipe .pp-app-card,
.pp-page--cook .pp-app-card {
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

/* Recipe view */
.pp-recipe-head {
  display: block;
}

.pp-recipe-head-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pp-recipe-fav {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(58, 42, 26, 0.14);
  background: rgba(233, 214, 191, 0.52);
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  color: rgba(58, 42, 26, 0.78);
  flex: none;
}

.pp-recipe-fav svg {
  width: 18px;
  height: 18px;
  display: block;
}

.pp-recipe-head-text {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.pp-recipe-title {
  font-family: var(--font-display);
  font-size: clamp(14px, calc(var(--pp-phone-demo-w, 360px) * 0.041), 16px);
  font-weight: 950;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-wrap: balance;
}

.pp-recipe-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(58, 42, 26, 0.82);
}

.pp-recipe-rating svg {
  width: 14px;
  height: 14px;
  display: block;
}

.pp-recipe-rating-sub {
  color: rgba(58, 42, 26, 0.62);
  font-weight: 780;
}

.pp-recipe-hero {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  border: 0;
  overflow: hidden;
  background: rgba(244, 231, 214, 0.92);
  aspect-ratio: 1.38;
  min-height: inherit;
  position: relative;
}

.pp-recipe-hero-card {
  padding: 0 !important;
  overflow: hidden;
  min-height: clamp(150px, calc(var(--pp-phone-demo-w, 360px) * 0.46), 190px);
}

.pp-recipe-hero-ph {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 20%, rgba(210, 122, 61, 0.18), transparent 55%),
    radial-gradient(circle at 80% 55%, rgba(95, 127, 87, 0.18), transparent 58%),
    rgba(233, 214, 191, 0.82);
}

.pp-recipe-hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.pp-recipe-nut {
  background: rgba(244, 231, 214, 0.97);
}

.pp-recipe-nut-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pp-recipe-nut-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  color: rgba(58, 42, 26, 0.88);
}

.pp-recipe-nut-title svg {
  width: 16px;
  height: 16px;
  opacity: 0.78;
}

.pp-recipe-nut-servings {
  font-size: 12px;
  font-weight: 850;
  color: rgba(58, 42, 26, 0.68);
}

.pp-recipe-nut-pills {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pp-recipe-pill {
  border-radius: 24px;
  border: 1px solid rgba(58, 42, 26, 0.14);
  background: rgba(255, 255, 255, 0.42);
  min-height: 68px;
  padding: 10px 10px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  text-align: center;
}

.pp-recipe-pill-k {
  font-size: 10px;
  font-weight: 850;
  color: rgba(58, 42, 26, 0.68);
  line-height: 1.08;
  text-wrap: balance;
}

.pp-recipe-pill-v {
  font-size: 11px;
  font-weight: 900;
  color: rgba(58, 42, 26, 0.88);
  line-height: 1.08;
  text-wrap: balance;
}

.pp-recipe-tags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pp-recipe-tag {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 26, 0.14);
  background: rgba(233, 214, 191, 0.52);
  font-size: 11px;
  font-weight: 850;
  color: rgba(58, 42, 26, 0.78);
}

.pp-recipe-nut-note {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 750;
  color: rgba(58, 42, 26, 0.64);
}

.pp-recipe-section-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 950;
  letter-spacing: -0.01em;
}

.pp-recipe-ing-subrow {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pp-recipe-ing-sub {
  font-size: 12px;
  font-weight: 780;
  color: rgba(58, 42, 26, 0.7);
}

.pp-recipe-addall {
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 26, 0.18);
  background: rgba(255, 255, 255, 0.62);
  padding: 8px 12px;
  font: inherit;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(58, 42, 26, 0.9);
}

.pp-recipe-addall svg {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}

.pp-recipe-ing-list {
  margin-top: 10px;
  display: grid;
  gap: 2px;
}

.pp-ing-row {
  display: grid;
  grid-template-columns: 20px 32px 1fr 32px;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(58, 42, 26, 0.1);
}

.pp-ing-check {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid rgba(58, 42, 26, 0.28);
  background: rgba(255, 255, 255, 0.32);
  padding: 0;
  cursor: pointer;
  position: relative;
}

.pp-ing-check[aria-pressed="true"] {
  background: rgba(95, 127, 87, 0.88);
  border-color: rgba(95, 127, 87, 0.88);
}

.pp-ing-check[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 9px;
  left: 6px;
  top: 2px;
  border: solid rgba(255, 255, 255, 0.96);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.pp-ing-ico {
  width: 32px;
  height: 32px;
  border-radius: 14px;
  border: 1px solid rgba(58, 42, 26, 0.12);
  background: rgba(233, 214, 191, 0.52);
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 18px;
}

.pp-ing-ico-img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.pp-ing-mid {
  display: grid;
  gap: 2px;
}

.pp-ing-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 950;
  color: rgba(58, 42, 26, 0.9);
  line-height: 1.12;
}

.pp-ing-sub {
  font-size: 12px;
  font-weight: 750;
  color: rgba(58, 42, 26, 0.68);
}

.pp-ing-cart {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  color: rgba(58, 42, 26, 0.78);
}

.pp-ing-cart svg {
  width: 18px;
  height: 18px;
  opacity: 0.82;
}

.pp-ing-row.is-checked .pp-ing-name {
  text-decoration: line-through;
  opacity: 0.65;
}

.pp-ing-row.is-checked .pp-ing-sub {
  opacity: 0.55;
}

.pp-recipe-actions {
  display: grid;
  gap: 10px;
}

.pp-recipe-action-btn {
  border-radius: 999px;
}

.pp-dir-list {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.pp-dir-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
}

.pp-dir-num {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(58, 42, 26, 0.12);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  color: rgba(58, 42, 26, 0.72);
}

.pp-dir-text {
  font-size: 12px;
  font-weight: 760;
  color: rgba(58, 42, 26, 0.84);
  line-height: 1.25;
}

/* Gated / obscured content blocks (demo tease). */
.pp-gated {
  position: relative;
}

.pp-page--recipe .pp-gated {
  max-height: 148px;
  overflow: hidden;
}

.pp-gated-content {
  filter: blur(7px);
  opacity: 0.55;
  pointer-events: none;
}

.pp-gated-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 14px 0 10px;
  background: linear-gradient(
    180deg,
    rgba(244, 231, 214, 0) 0%,
    rgba(244, 231, 214, 0.92) 50%,
    rgba(244, 231, 214, 1) 100%
  );
}

.pp-page--recipe .pp-gated-overlay {
  padding: 10px 0 8px;
}

.pp-gated-cta {
  width: min(94%, 320px);
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 26, 0.18);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
  font: inherit;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: -0.01em;
  color: rgba(58, 42, 26, 0.92);
  cursor: pointer;
  padding: 10px 14px;
}

/* Cook view */
.pp-cook-topbar {
  position: sticky;
  top: 0;
  z-index: 6;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  padding: 6px 0 10px;
}

.pp-cook-topbar-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 950;
  color: rgba(58, 42, 26, 0.9);
  text-align: left;
  min-width: 0;
  white-space: nowrap;
}

.pp-cook-topbar-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 4px;
  min-width: 0;
}

.pp-cook-finish {
  border: 0;
  background: transparent;
  padding: 0 0 0 2px;
  font: inherit;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 950;
  color: rgba(58, 42, 26, 0.86);
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}

.pp-cook-progress-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 950;
  letter-spacing: -0.01em;
  color: rgba(58, 42, 26, 0.9);
  line-height: 1.1;
}

.pp-cook-progress-row {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pp-cook-progress-sub {
  font-size: 12px;
  font-weight: 800;
  color: rgba(58, 42, 26, 0.68);
}

.pp-cook-allsteps {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 950;
  color: rgba(58, 42, 26, 0.82);
  cursor: pointer;
}

.pp-cook-bar {
  margin-top: 10px;
  height: 6px;
  border-radius: 999px;
  background: rgba(58, 42, 26, 0.14);
  overflow: hidden;
}

.pp-cook-bar-fill {
  height: 100%;
  width: 18%;
  background: rgba(58, 42, 26, 0.72);
  border-radius: 999px;
  transition: width 260ms ease;
}

.pp-cook-callout {
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(58, 42, 26, 0.12);
  background: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  font-weight: 780;
  color: rgba(58, 42, 26, 0.72);
  line-height: 1.25;
}

.pp-cook-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pp-cook-step-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 950;
  color: rgba(58, 42, 26, 0.88);
}

.pp-page-topbar-btn.pp-cook-iconbtn {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(58, 42, 26, 0.12);
  background: rgba(255, 255, 255, 0.42);
}

.pp-page-topbar-btn.pp-cook-iconbtn svg {
  width: 18px;
  height: 18px;
}

.pp-cook-step-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pp-cook-step-text {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(58, 42, 26, 0.86);
  line-height: 1.25;
}

.pp-cook-ing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pp-cook-ing-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 950;
  color: rgba(58, 42, 26, 0.88);
}

.pp-cook-viewall {
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 26, 0.14);
  background: rgba(233, 214, 191, 0.52);
  padding: 6px 10px;
  font: inherit;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 950;
  color: rgba(58, 42, 26, 0.82);
  cursor: pointer;
}

.pp-cook-ing-list {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.pp-cook-ing-row {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 10px;
  align-items: baseline;
  font-size: 12px;
  font-weight: 800;
  color: rgba(58, 42, 26, 0.82);
}

.pp-cook-ing-qty {
  color: rgba(58, 42, 26, 0.68);
  font-weight: 850;
}

.pp-cook-next-text {
  font-size: 12px;
  font-weight: 850;
  color: rgba(58, 42, 26, 0.78);
  line-height: 1.25;
}

.pp-cook-bottom {
  position: sticky;
  bottom: 0;
  padding-top: 12px;
  background: linear-gradient(
    180deg,
    rgba(244, 231, 214, 0) 0%,
    rgba(244, 231, 214, 0.92) 25%,
    rgba(244, 231, 214, 0.98) 100%
  );
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pp-cook-navbtn {
  border-radius: 999px;
}

/* -------------------------------------------------------------------------- */
/* In-Phone Download CTA Overlay                                               */
/* -------------------------------------------------------------------------- */

/* Legacy safeguard: never allow an old global download overlay to appear. */
.pp-download-cta {
  display: none !important;
}

.pp-app-download {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 14px;
  pointer-events: none;
}

.pp-app-download[aria-hidden="true"] {
  display: none;
}

.pp-app-download.is-open {
  pointer-events: auto;
}

.pp-app-download-scrim {
  position: absolute;
  inset: 0;
  background: rgba(17, 14, 10, 0.42);
  opacity: 0;
  transition: opacity 220ms ease;
}

.pp-app-download-card {
  position: relative;
  width: min(360px, 100%);
  transform: translateY(8px) scale(0.98);
  opacity: 0;
  transition: transform 260ms ease, opacity 260ms ease;
  background: rgba(244, 231, 214, 0.98);
  border-radius: 26px;
  border: 1px solid rgba(74, 47, 27, 0.18);
  box-shadow: 0 34px 86px rgba(0, 0, 0, 0.35);
  padding: 14px;
}

.pp-app-download.is-open .pp-app-download-scrim {
  opacity: 1;
}

.pp-app-download.is-open .pp-app-download-card {
  opacity: 1;
  transform: none;
}

.pp-app-download-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pp-app-download-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 950;
  letter-spacing: -0.01em;
  color: rgba(58, 42, 26, 0.92);
}

.pp-app-download-close {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  color: rgba(58, 42, 26, 0.82);
}

.pp-app-download-close svg {
  width: 22px;
  height: 22px;
  display: block;
}

.pp-app-download-body {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 780;
  color: rgba(58, 42, 26, 0.72);
  line-height: 1.25;
}

.pp-app-download-btns {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.pp-app-download-btn {
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 26, 0.18);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: -0.01em;
  color: rgba(58, 42, 26, 0.92);
  text-decoration: none;
}

.pp-app-download-note {
  margin: 10px 0 0;
  font-size: 11px;
  font-weight: 780;
  color: rgba(58, 42, 26, 0.6);
  text-align: center;
}

.pp-redact-fade {
  position: relative;
}

.pp-redact-fade::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(244, 231, 214, 0) 0%,
    rgba(244, 231, 214, 0.9) 85%,
    rgba(244, 231, 214, 1) 100%
  );
}

.pp-demo-toast {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 999;
  width: min(520px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(31, 38, 32, 0.18);
  background: rgba(255, 248, 237, 0.92);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
  display: none;
}

.pp-demo-toast[aria-hidden="false"] {
  display: block;
}

.pp-demo-toast strong {
  display: block;
  font-weight: 800;
}

.pp-demo-toast p {
  margin: 0.25rem 0 0;
  color: var(--ink-700);
}

.pp-demo.pp-demo--boot .pp-phone-screen {
  animation: ppDemoBoot 820ms var(--transition);
}

@keyframes ppDemoBoot {
  0% {
    transform: scale(1.03);
    filter: brightness(1.03) saturate(1.02);
  }
  100% {
    transform: none;
    filter: none;
  }
}

.pp-demo.pp-demo--tab-swap .pp-phone-screen {
  animation: ppDemoTabSwap 520ms var(--transition);
}

@keyframes ppDemoTabSwap {
  0% {
    transform: translateX(12px);
  }
  100% {
    transform: none;
  }
}

.pp-demo.pp-demo--detail .pp-phone-screen {
  animation: ppDemoDetail 420ms ease;
}

@keyframes ppDemoDetail {
  0% {
    transform: translateY(6px);
  }
  100% {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pp-scrolly-sticky {
    position: static;
    height: auto;
    padding: 1.1rem 0;
    display: block;
  }

  .pp-tour-stack {
    gap: 1rem;
  }

  .pp-tour-step {
    grid-area: auto;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
  }

  .pp-tour-sentinels {
    display: none;
  }

  /* When sticky is disabled, remove the artificial stage scroll height. */
  .pp-scrolly-spacer {
    display: none;
    height: 0;
  }
}

@media (max-width: 1024px), (max-height: 760px), (hover: none) and (pointer: coarse) {
  .pp-scrolly-sticky {
    position: static;
    height: auto;
    display: block;
  }

  .pp-scrolly-grid {
    grid-template-columns: 1fr;
  }

  .pp-tour-sentinels {
    display: none;
  }

  .pp-tour-stack {
    gap: 1rem;
  }

  .pp-tour-step {
    grid-area: auto;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
  }

  /* When sticky is disabled, remove the artificial stage scroll height. */
  .pp-scrolly-spacer {
    display: none;
    height: 0;
  }
}

@media (max-width: 860px) {
  .pp-demo-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
