/*
 * Styles for the /admin panel. Scoped under .admin-* classes so this can live
 * in the same "application" bundle as the marketing/wizard styles (see
 * application.css's require_tree) without leaking into them. Reuses the
 * color/radius tokens from tokens.css instead of redefining a palette.
 *
 * Mobile-first: single-column, full-bleed. From 768px up we widen the
 * content well and give the topbar breathing room for desktop use.
 */

.admin-shell {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

/* Visually hidden but still readable by screen readers (the toggle button's label). */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/*
 * Topbar: a two-row stack on mobile — brand + hamburger toggle on top, the
 * collapsible menu (nav link, email, log out) below it, hidden until
 * toggled. From 768px up the menu is always shown inline as a single row
 * and the toggle disappears (see the breakpoint at the bottom of this file).
 */

.admin-topbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.admin-topbar-brand {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.admin-topbar-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.admin-topbar-toggle-bars,
.admin-topbar-toggle-bars::before,
.admin-topbar-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--ink-soft);
}

.admin-topbar-toggle-bars {
  position: relative;
}

.admin-topbar-toggle-bars::before,
.admin-topbar-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.admin-topbar-toggle-bars::before {
  top: -6px;
}

.admin-topbar-toggle-bars::after {
  top: 6px;
}

.admin-topbar-menu {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.admin-topbar-menu.is-open {
  display: flex;
}

.admin-topbar-link {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}

.admin-topbar-link:hover {
  color: var(--ink);
}

.admin-topbar-admin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.admin-topbar-email {
  font-size: 13px;
  color: var(--ink-softer);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 40vw;
}

.admin-main {
  flex: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

.admin-flash {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 16px;
}

.admin-flash-notice {
  background: var(--primary-soft-bg);
  color: var(--primary-text);
  border: 1px solid var(--primary-border);
}

.admin-flash-alert {
  background: oklch(0.97 0.03 25);
  color: oklch(0.4 0.15 25);
  border: 1px solid oklch(0.8 0.1 25);
}

.admin-empty-state {
  border: 1px dashed var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  color: var(--ink-softer);
  background: #fff;
}

.admin-empty-state h1 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--ink);
}

.admin-empty-state p {
  margin: 0;
  font-size: 14px;
}

/* Auth (login) screen */

.admin-auth-shell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.admin-auth-card {
  width: 100%;
  max-width: 360px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.admin-auth-card h1 {
  margin: 0 0 20px;
  font-size: 18px;
  color: var(--ink);
}

.admin-field {
  margin-bottom: 16px;
}

.admin-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.admin-field input[type="email"],
.admin-field input[type="password"],
.admin-field input[type="number"],
.admin-field select {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
}

.admin-field-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-field-checkbox label {
  margin: 0;
  font-weight: 500;
}

/* Admin management (list / new / reset) */

.admin-page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.admin-page-header h1 {
  margin: 0;
  font-size: 20px;
  color: var(--ink);
}

.admin-page-header-action {
  width: auto;
  padding: 10px 18px;
  font-size: 14px;
}

.admin-callout {
  background: var(--primary-soft-bg);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.admin-callout p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--primary-text);
}

.admin-callout .generated-password {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  word-break: break-all;
}

.admin-callout-copy {
  display: block;
  width: 100%;
  margin-top: 12px;
}

@media (min-width: 480px) {
  .admin-callout-copy {
    width: auto;
    margin-left: 12px;
  }
}

.admin-search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.admin-search-input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
}

.admin-search-form .btn-secondary {
  width: auto;
  flex-shrink: 0;
}

.admin-filter-check {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
  cursor: pointer;
}

/* Destructive actions (QA delete-account) — unmistakably not a normal button */
.btn-danger {
  padding: 12px 18px;
  font-size: 16px;
  border: 1px solid oklch(0.5 0.19 25);
  border-radius: var(--radius-sm);
  background: oklch(0.55 0.21 25);
  color: #fff;
  cursor: pointer;
}

.btn-danger:hover {
  background: oklch(0.5 0.21 25);
}

/* Pagy's own markup: .pagy.info (info_tag) and .pagy.series-nav (series_nav) */

.pagy.info {
  display: block;
  font-size: 13px;
  color: var(--ink-softer);
  margin-bottom: 12px;
}

.pagy.series-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.pagy.series-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  color: var(--ink-soft);
  font-size: 13px;
  text-decoration: none;
  background: #fff;
}

.pagy.series-nav a[aria-current="page"] {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}

.pagy.series-nav a[aria-disabled="true"] {
  color: var(--ink-faint);
  border-color: transparent;
  background: none;
}

.admin-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 12px 16px;
  white-space: nowrap;
  border-bottom: 1px solid var(--border-soft);
}

.admin-table th {
  color: var(--ink-softer);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-form-card {
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.admin-hint {
  font-size: 13px;
  color: var(--ink-softer);
  margin: -6px 0 16px;
}

/* Recipe detail page (/admin/recipes/:id) */

.admin-detail-back {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--primary-link);
  text-decoration: none;
}

.admin-detail-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.admin-detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
}

.admin-detail-card h2,
.admin-detail-section h2 {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--ink-softer);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.admin-detail-list {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  font-size: 14px;
}

.admin-detail-list dt {
  color: var(--ink-softer);
}

.admin-detail-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

.admin-detail-note {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--ink-softer);
}

.admin-detail-empty {
  margin: 0;
  font-size: 13px;
  color: var(--ink-faint);
}

.admin-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.admin-badge-flag {
  background: oklch(0.93 0.05 60);
  color: oklch(0.4 0.1 60);
}

.admin-badge-warning {
  background: oklch(0.92 0.08 25);
  color: oklch(0.45 0.15 25);
  margin-left: 8px;
}

.admin-badge-paid {
  background: oklch(0.93 0.07 155);
  color: oklch(0.35 0.1 155);
}

.admin-badge-pending {
  background: oklch(0.93 0.06 85);
  color: oklch(0.4 0.1 85);
}

.admin-badge-failed {
  background: oklch(0.92 0.08 25);
  color: oklch(0.45 0.15 25);
}

.admin-badge-none {
  background: oklch(0.93 0.01 145);
  color: oklch(0.45 0.02 145);
}

/* Orders & Leads (/admin/assessments) */

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.admin-tab {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}

.admin-tab:hover {
  border-color: var(--primary-border);
}

.admin-tab.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}

.admin-lead-link {
  color: inherit;
  text-decoration: none;
}

.admin-lead-link strong {
  display: block;
  color: var(--primary-link);
}

.admin-lead-contact {
  display: block;
  font-size: 12px;
  color: var(--ink-softer);
}

.admin-payment {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.admin-payment:last-child {
  border-bottom: none;
}

.admin-payment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

.admin-json {
  margin: 12px 0 0;
  padding: 12px;
  background: oklch(0.97 0.01 145);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.admin-detail-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 16px;
}

.admin-note-form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.admin-note-textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-family: inherit;
  font-size: 13px;
  margin-bottom: 8px;
}

.admin-note-entry {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.admin-note-entry:last-child {
  border-bottom: none;
}

.admin-day-block {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--border);
}

.admin-day-block:last-of-type {
  border-bottom: none;
}

.admin-ingredient-group {
  margin: 16px 0 8px;
  font-size: 13px;
  color: var(--ink-softer);
}

.admin-ingredient-group:first-child {
  margin-top: 0;
}

.admin-ingredient-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.admin-ingredient-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14px;
}

.admin-ingredient-line:last-child {
  border-bottom: none;
}

.admin-ingredient-matched {
  font-size: 12px;
  color: var(--ink-softer);
}

.admin-steps-list {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .admin-detail-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-topbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
  }

  .admin-topbar-toggle {
    display: none;
  }

  .admin-topbar-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .admin-main {
    padding: 32px 32px 56px;
  }

  .admin-auth-card {
    padding: 36px 32px;
  }

  .admin-form-card {
    padding: 32px;
  }
}

/* Veny simulator (admin) — WhatsApp-style chat for manual pipeline testing. */
.veny-sim {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.veny-sim-toolbar {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.veny-sim-label {
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 280px;
}

.veny-sim-hint {
  font-size: 13px;
  color: #6b7280;
}

.veny-sim-log {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
  min-height: 320px;
  max-height: 480px;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.veny-sim-bubble {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.veny-sim-bubble--user {
  align-self: flex-end;
  background: #dcfce7;
  color: #14532d;
}

.veny-sim-bubble--veny {
  align-self: flex-start;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #111827;
}

.veny-sim-form {
  display: flex;
  gap: 8px;
}

.veny-sim-input {
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
}

.veny-sim-input--grow {
  flex: 1;
}

.veny-sim-send {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  background: #059669;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}
/* Full plan after payment — "MealPilot Setelah Pembayaran", screen 4
   (assessments/_meal_plan). Values follow the design file. */

.fp {
  /* Takes over .wizard-content's padding so the sticky tab bar runs edge to edge. */
  margin: -22px -22px -32px;
  padding-bottom: 110px;
}

.fp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 10px;
}
.fp-logo { height: 30px; width: auto; }
.fp-day-pill {
  font-size: 11.5px;
  font-weight: 700;
  color: oklch(0.4 0.1 150);
  background: var(--primary-soft-bg);
  padding: 5px 10px;
  border-radius: 999px;
}

/* Sticky tabs */
.fp-tabs {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, .94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 8px 20px;
  border-bottom: 1px solid oklch(0.92 0.015 145);
}
.fp-tabs-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  background: oklch(0.95 0.015 145);
  border-radius: 12px;
  padding: 4px;
}
.fp-tab {
  border: none;
  border-radius: 9px;
  padding: 8px 0;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: var(--ink-softer);
}
.fp-tab.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}

/* Sections */
.fp-section { padding: 0 20px 28px; }
.fp-section-today { padding-top: 14px; }
.fp-h2 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 4px; }
.fp-lead { font-size: 12.5px; color: var(--ink-softer); margin: 0 0 12px; }

.fp-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 14px;
}
.fp-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink-softer);
  margin-bottom: 6px;
}
.fp-eyebrow-green { color: var(--primary); margin-bottom: 0; }
.fp-muted-sm { font-size: 11.5px; color: var(--ink-softer); }
.fp-muted-xs { display: block; font-size: 11px; color: var(--ink-softer); }
.fp-nowrap { white-space: nowrap; }

/* Payment banner */
.fp-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-soft-bg);
  border: 1px solid oklch(0.55 0.15 150 / 0.3);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 14px;
}
.fp-banner-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: oklch(0.6 0.17 142);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex: none;
}
.fp-banner-text { flex: 1; min-width: 0; }
.fp-banner-title { font-size: 13.5px; font-weight: 700; color: var(--primary-text); }
.fp-banner-sub { font-size: 12px; color: oklch(0.4 0.1 150); }
.fp-banner-close {
  border: none;
  background: none;
  font-size: 18px;
  color: oklch(0.5 0.05 150);
  cursor: pointer;
  padding: 4px;
}

/* Today */
.fp-today-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2px; }
.fp-today-kcal { font-size: 12px; color: var(--ink-soft); margin-bottom: 10px; }
.fp-today-kcal b { color: var(--ink); }
.fp-today-meals { display: flex; flex-direction: column; }
.fp-today-meal {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border: none;
  border-top: 1px solid oklch(0.94 0.01 145);
  background: none;
  text-align: left;
  color: inherit;
  cursor: pointer;
  width: 100%;
}
.fp-today-meal-text { flex: 1; min-width: 0; }
.fp-slot-sm { display: block; font-size: 10.5px; font-weight: 700; color: var(--ink-softer); }
.fp-today-meal-name,
.fp-meal-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fp-soft-btn {
  width: 100%;
  margin-top: 8px;
  padding: 11px;
  border-radius: 12px;
  border: none;
  background: var(--bg-soft);
  color: oklch(0.3 0.02 145);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* Thumbnails */
.fp-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  overflow: hidden;
  border: none;
  padding: 0;
  background: repeating-linear-gradient(135deg, oklch(0.8 0.08 120) 0 14px, oklch(0.76 0.09 120) 14px 28px);
  cursor: pointer;
}
.fp-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fp-thumb-sm { width: 56px; height: 40px; border-radius: 8px; }
.fp-thumb-md { width: 84px; height: 48px; border-radius: 8px; }
.fp-thumb-wide { width: 100%; aspect-ratio: 16 / 9; }
.fp-play {
  position: relative;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.fp-play-sm { width: 20px; height: 20px; font-size: 8px; padding-left: 1px; }
.fp-play-lg { width: 52px; height: 52px; font-size: 18px; padding-left: 3px; background: rgba(0, 0, 0, .6); }

/* Target */
.fp-target-kcal { display: flex; align-items: baseline; gap: 6px; margin-bottom: 14px; font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.fp-target-kcal span { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.fp-macros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fp-macro-label { font-size: 11.5px; color: var(--ink-softer); margin-bottom: 3px; }
.fp-macro-value { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.fp-macro-track { height: 5px; border-radius: 3px; background: oklch(0.93 0.02 145); }
.fp-macro-bar { height: 100%; border-radius: 3px; }
.fp-macro-bar-protein { background: oklch(0.6 0.17 142); }
.fp-macro-bar-carbs { background: oklch(0.72 0.13 85); }
.fp-macro-bar-fat { background: oklch(0.65 0.14 45); }

/* Veny */
.fp-veny {
  background: var(--primary-soft-bg);
  border: 1px solid oklch(0.55 0.15 150 / 0.3);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-top: 14px;
}
.fp-veny-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.fp-veny-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}
.fp-veny-title-wrap { flex: 1; min-width: 0; }
.fp-veny-title { font-size: 14px; font-weight: 700; color: var(--primary-text); }
.fp-veny-sub { font-size: 11.5px; color: oklch(0.4 0.1 150); }
.fp-veny-badge {
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  background: var(--primary);
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.fp-veny-badge.is-limited { background: oklch(0.6 0.12 60); }
.fp-veny-text { font-size: 12px; color: oklch(0.35 0.08 150); line-height: 1.45; margin: 0 0 8px; }
.fp-veny-prompts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.fp-veny-prompt {
  background: #fff;
  border: 1px solid oklch(0.55 0.15 150 / 0.3);
  border-radius: 12px 12px 12px 4px;
  padding: 6px 10px;
  font-size: 11.5px;
  color: oklch(0.3 0.05 150);
  text-decoration: none;
}
.fp-veny-wa {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  text-decoration: none;
}
.fp-veny-wa-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: oklch(0.65 0.16 145);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.fp-veny-wa-text { flex: 1; }
.fp-veny-wa-number { display: block; font-size: 13px; font-weight: 700; color: oklch(0.25 0.02 145); }
.fp-chevron { color: var(--ink-softer); font-size: 16px; }

/* Mid-period upgrade (inside the Veny card) */
.fp-upgrade {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid oklch(0.55 0.15 150 / 0.2);
  scroll-margin-top: 80px;
}
.fp-upgrade-title { font-size: 13.5px; font-weight: 700; color: var(--primary-text); }
.fp-upgrade-text { font-size: 12px; color: oklch(0.35 0.08 150); margin: 2px 0 8px; }
.fp-upgrade-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 6px;
  padding: 10px 12px;
  border: 1.5px solid oklch(0.55 0.15 150 / 0.35);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.fp-upgrade-option:disabled { opacity: .6; cursor: wait; }
.fp-upgrade-main { flex: 1; min-width: 0; font-size: 13px; }
.fp-upgrade-main b { display: block; }
.fp-upgrade-price { font-size: 13px; font-weight: 800; color: var(--primary); white-space: nowrap; }
.fp-upgrade-error { font-size: 12px; color: oklch(0.5 0.15 30); margin-top: 4px; }
.fp-upgrade-error[hidden] { display: none; }

/* Weekly menu */
.fp-week-tabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 -20px 12px; padding: 0 20px; }
.fp-week-tab {
  flex: none;
  border-radius: 12px;
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  text-align: left;
  color: inherit;
}
.fp-week-tab.is-active { border-color: var(--primary); background: var(--primary-soft-bg); }
.fp-week-tab-label { display: block; font-size: 12.5px; font-weight: 700; }
.fp-week-panel { display: flex; flex-direction: column; gap: 12px; }
.fp-week-panel[hidden] { display: none; }
.fp-week-meal {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.fp-slot-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  background: #fff;
  color: oklch(0.25 0.02 145);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
}
.fp-week-meal-body { padding: 12px 14px 14px; }
.fp-week-meal-name { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.fp-week-meal-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.fp-week-meal-macros { font-size: 12px; color: oklch(0.35 0.02 145); font-variant-numeric: tabular-nums; }
.fp-link-btn {
  border: none;
  background: none;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  color: oklch(0.5 0.15 150);
  cursor: pointer;
}

/* 30 days */
.fp-days { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 6px; }
.plan-day { border-radius: 12px; margin-bottom: 2px; }
.fp-day-summary,
.fp-meal-summary,
.fp-shop-summary { list-style: none; cursor: pointer; }
.fp-day-summary::-webkit-details-marker,
.fp-meal-summary::-webkit-details-marker,
.fp-shop-summary::-webkit-details-marker { display: none; }
.fp-day-summary { display: flex; align-items: center; gap: 10px; padding: 12px 10px; border-radius: 12px; }
.fp-day-summary.is-today { background: var(--primary-soft-bg); }
.fp-day-title { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; }
.fp-day-num { font-size: 14px; font-weight: 700; }
.fp-today-badge {
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  background: oklch(0.6 0.17 142);
  padding: 2px 7px;
  border-radius: 999px;
}
.fp-caret { font-size: 12px; color: var(--ink-softer); }
.fp-day-meals { padding: 6px 4px 10px; display: flex; flex-direction: column; gap: 6px; }

.fp-meal { border: 1px solid oklch(0.92 0.015 145); border-radius: var(--radius-md); background: #fff; }
.fp-meal-summary { display: flex; align-items: center; gap: 10px; padding: 11px 12px; }
.fp-meal-title { flex: 1; min-width: 0; }
.fp-slot-up { display: block; font-size: 10.5px; font-weight: 700; color: oklch(0.5 0.15 150); letter-spacing: .04em; }
.fp-meal-name { font-size: 13.5px; }
.fp-meal-body { padding: 0 12px 12px; }
.fp-warn {
  background: oklch(0.96 0.04 75);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 11.5px;
  color: oklch(0.4 0.08 60);
  margin-bottom: 10px;
  line-height: 1.4;
}
.fp-warn .meal-unmatched-note { color: inherit; font-size: inherit; margin: 0; }
.fp-meal-macros {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 8px 4px;
  text-align: center;
  margin-bottom: 10px;
}
.fp-meal-macros b { display: block; font-size: 13px; }
.fp-meal-macros span { display: block; font-size: 10px; color: var(--ink-softer); }
.fp-sides { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.fp-side-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  background: var(--primary-soft-bg);
  border: 1px solid var(--primary-border);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11.5px;
  color: oklch(0.35 0.1 150);
}
.fp-side-chip span { color: oklch(0.5 0.05 150); }
.fp-video-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 10px;
  padding: 0;
  border: none;
  background: none;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
.fp-video-row-text { flex: 1; min-width: 0; }
.fp-video-row-title { display: block; font-size: 12px; font-weight: 700; }
.fp-recipe { border-top: 1px solid oklch(0.94 0.01 145); padding-top: 10px; margin-bottom: 10px; }
.fp-recipe .fp-eyebrow { font-size: 10.5px; font-weight: 800; }
.fp-ingredients { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.fp-ingredient { font-size: 11.5px; background: var(--bg-soft); border-radius: 8px; padding: 4px 8px; }
.fp-ingredient.is-unmatched { background: oklch(0.96 0.04 75); color: oklch(0.4 0.08 60); }
.fp-steps { list-style: none; counter-reset: fp-step; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fp-steps li {
  counter-increment: fp-step;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  line-height: 1.5;
  color: oklch(0.3 0.02 145);
}
.fp-steps li::before {
  content: counter(fp-step);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-soft-bg);
  color: oklch(0.4 0.12 150);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.fp-chat-link { font-size: 12px; font-weight: 700; text-decoration: none; color: oklch(0.5 0.15 150); }

/* Groceries */
.fp-shop { display: flex; flex-direction: column; gap: 8px; }
.fp-shop-week { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.fp-shop-summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.fp-shop-title { flex: 1; font-size: 14px; font-weight: 700; }
.fp-shop-body { padding: 0 16px 14px; }
.fp-shop-cat { margin-bottom: 10px; }
.fp-shop-cat-name { font-size: 10.5px; font-weight: 800; padding: 6px 0 4px; margin: 0; }
.fp-shop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid oklch(0.95 0.01 145);
  cursor: pointer;
}
.fp-shop-item input { width: 18px; height: 18px; margin: 0; accent-color: var(--primary); flex: none; }
.fp-shop-name { flex: 1; font-size: 13px; }
.fp-shop-qty { font-size: 12.5px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.fp-shop-item input:checked ~ .fp-shop-name { text-decoration: line-through; color: var(--ink-faint); }

/* Floating Veny button (design: dark pill, two lines) */
.fp .veny-float-cta {
  bottom: 22px;
  gap: 8px;
  background: var(--dark);
  padding: 6px 14px 6px 6px;
  font-size: 12.5px;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(20, 40, 20, .3);
}
.fp .veny-float-cta[hidden] { display: none; }
.fp .veny-float-cta-avatar { width: 34px; height: 34px; border: 2px solid oklch(0.6 0.17 142); }
.veny-float-cta-accent { color: oklch(0.8 0.12 145); }

/* Video modal with the recipe underneath */
.fp-video-panel { background: #fff; border-radius: var(--radius-lg); overflow: hidden; }
.fp-video-panel .video-modal-frame { border-radius: 0; }
.fp-video-body { padding: 14px 16px 16px; }
.fp-video-name { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.fp-video-steps {
  max-height: 220px;
  overflow-y: auto;
  border-top: 1px solid oklch(0.94 0.01 145);
  padding-top: 10px;
  margin-top: 12px;
}
.fp-video-steps[hidden] { display: none; }
.fp-video-actions { display: flex; gap: 8px; margin-top: 12px; }
.fp-btn-outline,
.fp-btn-green {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  font-size: 13px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}
.fp-btn-outline { border: 1px solid var(--border-soft); background: #fff; font-weight: 600; color: oklch(0.3 0.02 145); }
.fp-btn-green { border: none; background: oklch(0.6 0.17 142); color: #fff; font-weight: 700; }
.navbar {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}

.navbar .logo-img {
  height: 32px;
  width: auto;
}

.hero {
  padding: 20px 24px 36px;
}

.hero-photo-block {
  position: relative;
  overflow: hidden;
  margin: -20px -24px 0;
  padding: 20px 24px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, oklch(0.98 0.01 145 / 0.55) 0%, oklch(0.98 0.01 145 / 0.7) 45%, var(--bg) 92%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-cta-form {
  margin-bottom: 10px;
}

.hero h1 {
  font-size: 32px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.hero p.lede {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 24px;
}

.hero .guarantee {
  text-align: center;
  font-size: 12px;
  color: var(--ink-softer);
  margin: 0 0 18px;
}

.chef-row-label {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 0 0 10px;
  line-height: 1.35;
}

.chef-row-viewport {
  overflow: hidden;
  margin: 0 -24px;
}

.chef-row {
  display: flex;
  width: max-content;
  animation: chef-scroll 22s linear infinite;
}

.chef-card {
  flex: 0 0 auto;
  width: 132px;
  margin-left: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
  text-align: center;
}

.chef-card .avatar {
  width: 52px;
  height: 52px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: var(--bg-soft);
  overflow: hidden;
}

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

.chef-card .name { font-size: 12.5px; font-weight: 700; color: oklch(0.25 0.02 145); }
.chef-card .channel { font-size: 11px; color: var(--ink-softer); margin-top: 1px; }
.chef-card .subs { font-size: 11px; color: var(--primary-link); font-weight: 600; margin-top: 3px; }

.fine-print {
  font-size: 12px;
  color: var(--ink-softer);
  margin: 0 0 16px;
  line-height: 1.45;
}

.stats-bar {
  padding: 20px 24px 8px;
}

.stats-bar-inner {
  display: flex;
  justify-content: space-around;
  text-align: center;
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 16px 8px;
}

.stats-bar .value { font-size: 20px; font-weight: 700; }
.stats-bar .label { font-size: 11px; color: var(--ink-softer); }

.section {
  padding: 28px 24px 8px;
}

.section h2 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.section > p.intro {
  font-size: 14px;
  color: oklch(0.45 0.02 145);
  margin: 0 0 16px;
  line-height: 1.45;
}

.recipe-row-viewport {
  position: relative;
  margin: 0 -24px;
}

.recipe-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 24px 6px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.recipe-card {
  flex: 0 0 auto;
  width: 160px;
  scroll-snap-align: start;
  display: block;
  color: inherit;
  text-decoration: none;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.recipe-thumb {
  position: relative;
  height: 110px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-soft);
}

.recipe-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-thumb .play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipe-thumb .play-btn span {
  width: 34px;
  height: 24px;
  background: rgba(0, 0, 0, .72);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipe-thumb .play-btn span::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #fff;
  margin-left: 2px;
}

.recipe-thumb .duration {
  position: absolute;
  left: 6px;
  bottom: 6px;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.recipe-card .name { font-size: 13.5px; font-weight: 600; margin-top: 8px; }
.recipe-card .meta { font-size: 12px; color: var(--ink-softer); }
.recipe-card .chef { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--primary-link); font-weight: 600; margin-top: 4px; }
.recipe-card .chef .chef-avatar { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; flex: none; }
.recipe-card .chef span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.recipe-nav-btn {
  position: absolute;
  top: 55px;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.recipe-nav-btn.prev { left: 2px; }
.recipe-nav-btn.next { right: 2px; }

.ai-card {
  background: var(--primary-soft-bg);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.ai-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.ai-card-head img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}

.ai-card-head h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

.ai-card > p {
  font-size: 13.5px;
  line-height: 1.5;
  color: oklch(0.35 0.05 150);
  margin: 0 0 12px;
}

.chat-mock {
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chat-bubble {
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 12px 12px 4px 12px;
  max-width: 85%;
}

.chat-bubble.user {
  align-self: flex-end;
  background: var(--primary);
  color: #fff;
}

.chat-bubble.user.reveal-bubble {
  opacity: 0;
  animation: chat-bubble-in .4s ease forwards;
}

.chat-bubble.ai {
  align-self: flex-start;
  background: var(--bg-soft);
  color: oklch(0.3 0.02 145);
  border-radius: 12px 12px 12px 4px;
}

.chat-typing-stack {
  display: grid;
}

.typing-dots {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-soft);
  border-radius: 12px 12px 12px 4px;
  padding: 9px 10px;
  width: 44px;
  animation: typing-fade 2.4s ease forwards;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: oklch(0.5 0.02 145);
  animation: chat-bubble-in 1s ease infinite alternate;
}

.typing-dots span:nth-child(2) { animation-delay: .15s; }
.typing-dots span:nth-child(3) { animation-delay: .3s; }

.chat-bubble.ai.reveal-reply {
  grid-area: 1 / 1;
  align-self: start;
  justify-self: start;
  opacity: 0;
  animation: chat-bubble-in .4s ease 2s forwards;
}

.ai-card .chat-mock-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: oklch(0.5 0.06 150);
  margin-bottom: 6px;
}

.ai-card .disclaimer {
  font-size: 10.5px;
  color: oklch(0.45 0.06 150);
  margin: 8px 0 0;
  text-align: center;
}

.community-strip-section { padding-top: 12px; }

.community-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--primary-soft-bg);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.community-faces {
  display: flex;
  flex: none;
}

.community-faces .face {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-right: -10px;
  overflow: hidden;
}

.community-faces .face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.community-text {
  font-size: 12.5px;
  color: var(--primary-text);
  line-height: 1.4;
}

.reason-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.reason-card {
  display: flex;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.reason-card img {
  width: 36px;
  height: 36px;
  flex: none;
}

.reason-card .title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.reason-card .body {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.how-it-works-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.how-it-works-item {
  display: flex;
  gap: 12px;
}

.how-it-works-item .num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-soft-bg);
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.how-it-works-item .title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.how-it-works-item .body {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.quote-section {
  padding: 36px 24px;
  text-align: center;
  background: var(--dark) url(/assets/marketing/progress-section-bg-125b0af1721a99c05e93bf18ba1afe3c541761a1226a2149f9861a390f3f4034.webp) center/cover no-repeat;
}

.quote-section .mark {
  font-size: 30px;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
  font-family: Georgia, serif;
}

.quote-section .quote {
  font-size: 17px;
  font-weight: 600;
  color: var(--bg);
  line-height: 1.45;
  margin: 0 0 10px;
  font-style: italic;
}

.quote-section .source {
  font-size: 11.5px;
  color: oklch(0.65 0.02 145);
  margin: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  margin-top: 14px;
}

.faq-item {
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--ink-softer);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item .answer {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-top: 8px;
}

.medical-disclaimer {
  padding: 0 24px 32px;
  text-align: center;
}

.medical-disclaimer p {
  font-size: 10.5px;
  color: oklch(0.6 0.02 145);
  line-height: 1.5;
  margin: 0;
}

.results-band {
  padding: 28px 24px 8px;
  background: var(--dark);
}

.results-band h2 { color: var(--bg); }
.results-band > p.intro { color: var(--dark-text); margin: 0 0 16px; }
.results-band > p.fine-print { color: oklch(0.65 0.02 145); margin: 12px 0 0; }

.chat-testimonial-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  overflow-x: auto;
  margin: 0 -24px;
  padding: 0 24px 4px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.chat-testimonial-img {
  flex: 0 0 auto;
  width: 200px;
  height: auto;
  border-radius: 14px;
  scroll-snap-align: start;
}

.testimonial-scroll-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  margin: 16px -24px 0;
  padding: 0 24px 4px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.testi-scroll-card {
  flex: 0 0 auto;
  width: 210px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
}

.testi-scroll-card .photos {
  display: flex;
  gap: 4px;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}

.testi-scroll-card .photos img {
  width: 50%;
  height: 100%;
  flex: none;
  object-fit: contain;
  background: var(--bg-soft);
}

.testi-scroll-card .caption {
  font-size: 12.5px;
  color: oklch(0.35 0.02 145);
  line-height: 1.35;
}

.footer-cta {
  padding: 32px 24px 40px;
  text-align: center;
}

.footer-cta h2 {
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.footer-cta-form {
  margin-bottom: 8px;
}

.footer-cta .sub {
  font-size: 12px;
  color: var(--ink-softer);
  margin: 0;
}

.footer-cta .guarantee {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
  margin: 6px 0 0;
}

.social-notification-viewport {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 40;
  pointer-events: none;
  display: flex;
  justify-content: center;
}

.social-notification-inner {
  width: 100%;
  max-width: 430px;
  padding: 0 16px;
  display: flex;
  justify-content: flex-end;
}

.social-notification-inner .social-notification {
  pointer-events: auto;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.video-modal[hidden] {
  display: none;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .8);
}

.video-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

.video-modal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.result-back-row {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 8px;
}

.result-header {
  text-align: center;
  padding: 6px 0 4px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
}

.insight-card {
  background: var(--primary-soft-bg);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
}

.insight-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.insight-head img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.insight-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-text);
}

.insight-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: oklch(0.3 0.05 150);
}

.projection-card {
  background: oklch(0.55 0.15 150 / 0.12);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 12px;
  text-align: center;
}

.projection-card .headline { font-size: 13px; font-weight: 600; color: var(--primary-text); }
.projection-card .note { font-size: 10.5px; color: oklch(0.4 0.08 150); margin-top: 4px; }

.weekly-breakdown { display: flex; gap: 6px; margin-top: 10px; }
.week-chip { flex: 1; background: #fff; border: 1px solid var(--primary-border); border-radius: 10px; padding: 6px 4px; }
.week-label { font-size: 9.5px; color: var(--ink-softer); font-weight: 600; }
.week-amount { font-size: 12.5px; font-weight: 800; color: var(--primary-text); margin-top: 2px; }

.timeline-card, .targets-card, .percentile-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
}

.timeline-title, .targets-title {
  font-size: 13px;
  font-weight: 700;
  color: oklch(0.3 0.02 145);
  margin-bottom: 10px;
  text-align: center;
}

.compare-photo-spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2.5px solid oklch(0.85 0.02 145);
  border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.timeline-sub { font-size: 11px; color: var(--ink-softer); text-align: center; margin: 0 0 14px; }
.timeline-track { position: relative; height: 4px; background: oklch(0.92 0.015 145); border-radius: 999px; margin: 0 8px 6px; }
.timeline-track::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--primary);
  border-radius: 999px;
}
.timeline-point {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary);
}
.timeline-labels { display: flex; margin: 0 8px; }
.timeline-label { flex: 1; text-align: center; }
.timeline-label .wk { font-size: 10px; font-weight: 700; color: var(--ink-soft); }
.timeline-label .kg { font-size: 9.5px; color: oklch(0.55 0.02 145); margin-top: 1px; }

.targets-sub { font-size: 10.5px; color: oklch(0.55 0.02 145); text-align: center; margin: 0 0 12px; line-height: 1.4; }
.targets-grid { display: flex; justify-content: space-around; text-align: center; }
.targets-grid .value { font-size: 20px; font-weight: 700; }
.targets-grid .label { font-size: 10.5px; color: var(--ink-softer); }
.targets-footnote { font-size: 11.5px; color: var(--ink-softer); text-align: center; margin: 0 0 14px; }

/* Protein-ceiling disclosure — sits directly under the targets card, in the
   same visual space as the numbers it qualifies (not a tooltip). */
.protein-ceiling-note {
  margin: 10px 0 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: oklch(0.97 0.03 85);
  border: 1px solid oklch(0.85 0.06 85);
}
.protein-ceiling-title { font-size: 12.5px; font-weight: 700; color: oklch(0.45 0.09 60); margin-bottom: 4px; }
.protein-ceiling-note p { font-size: 11.5px; color: var(--ink-soft); margin: 0; line-height: 1.5; }


.percentile-card { text-align: center; }
.percentile-title { font-size: 13px; font-weight: 700; color: oklch(0.3 0.02 145); margin-bottom: 8px; }

.percentile-chart {
  display: block;
  width: 100%;
  height: 90px;
  margin-bottom: 2px;
}
.curve-track { fill: none; stroke: oklch(0.85 0.02 145); stroke-width: 2; }
.curve-fill { fill: none; stroke: var(--primary); stroke-width: 2.5; }
.curve-marker-line { stroke: var(--primary); stroke-width: 1.5; stroke-dasharray: 3, 2; }
.curve-marker-dot { fill: var(--primary); }

.percentile-value { font-size: 26px; font-weight: 800; color: var(--primary); margin-bottom: 2px; }
.percentile-sub { font-size: 11.5px; color: var(--ink-soft); margin: 0 0 8px; }
.percentile-explainer { font-size: 11.5px; color: oklch(0.35 0.02 145); margin: 0 0 8px; line-height: 1.45; text-align: left; background: var(--bg-soft); border-radius: 10px; padding: 8px 10px; }
.percentile-note { font-size: 9.5px; color: oklch(0.55 0.02 145); text-align: center; margin: 0; line-height: 1.4; }

.plan-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
  margin-bottom: 14px;
}
.plan-title { font-size: 12.5px; font-weight: 700; color: oklch(0.3 0.02 145); padding: 8px 8px 4px; }

details.day-accordion { border-radius: 10px; overflow: hidden; margin-bottom: 4px; }
details.day-accordion > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 10px;
  background: var(--bg-soft);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  color: oklch(0.25 0.02 145);
}
details.day-accordion > summary::-webkit-details-marker { display: none; }
details.day-accordion > summary::after { content: "▾"; color: var(--ink-softer); }
details.day-accordion[open] > summary::after { content: "▴"; }

.day-meals { padding: 8px 6px 4px; }

details.meal-accordion {
  border: 1px solid oklch(0.92 0.02 145);
  border-radius: 12px;
  margin-bottom: 6px;
  overflow: hidden;
}
details.meal-accordion > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  cursor: pointer;
}
details.meal-accordion > summary::-webkit-details-marker { display: none; }
details.meal-accordion > summary::after { content: "▾"; color: var(--ink-softer); flex: none; }
details.meal-accordion[open] > summary::after { content: "▴"; }
.meal-label { font-size: 10.5px; color: var(--primary-link); font-weight: 700; margin-bottom: 2px; }
.meal-name { font-size: 13.5px; font-weight: 600; color: oklch(0.25 0.02 145); }
.meal-unmatched-note { font-size: 10.5px; color: oklch(0.5 0.08 60); margin-top: 2px; line-height: 1.4; }

.meal-detail { padding: 0 12px 12px; }
.meal-macros {
  display: flex;
  justify-content: space-around;
  text-align: center;
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 8px 4px;
  margin-bottom: 10px;
}
.meal-macros .value { font-size: 14px; font-weight: 700; }
.meal-macros .label { font-size: 9.5px; color: var(--ink-softer); }
.meal-sides { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.meal-side-chip {
  font-size: 10.5px;
  color: var(--primary-text);
  background: var(--primary-soft-bg);
  border: 1px solid var(--primary-border);
  border-radius: 999px;
  padding: 3px 9px;
}
.meal-video { display: flex; gap: 10px; align-items: center; }
/* Combined with the shared .recipe-thumb (marketing.css) for the img/play-btn/
   duration layout — these overrides just resize it to fit the meal card. */
.meal-thumb {
  width: 96px;
  height: 66px;
  flex: none;
  border-radius: 10px;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
}
.meal-thumb .duration { font-size: 8px; padding: 1px 5px; }
.meal-thumb .play-btn span { width: 26px; height: 18px; }
.meal-thumb .play-btn span::after { border-width: 4px 0 4px 6px; }
.meal-chef { font-size: 11.5px; color: var(--ink-softer); line-height: 1.4; }
.meal-video-link {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--primary-link);
  text-decoration: none;
  border: none;
  background: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}
.meal-video-link:hover { text-decoration: underline; }

.day-locked {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 4px;
  background: oklch(0.98 0.005 145);
  color: oklch(0.6 0.02 145);
  font-size: 13px;
  font-weight: 600;
}
.day-locked-note { color: oklch(0.6 0.02 145); font-size: 11.5px; text-align: center; padding: 8px 6px 0; }

.grocery-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 14px;
}
.grocery-title { font-size: 13px; font-weight: 700; color: oklch(0.3 0.02 145); margin-bottom: 8px; }
.grocery-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid oklch(0.95 0.01 145);
}
.grocery-check { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid oklch(0.7 0.05 150); flex: none; }
.grocery-name { flex: 1; font-size: 12.5px; color: oklch(0.35 0.02 145); }
.grocery-qty { font-size: 11.5px; font-weight: 700; color: var(--ink-softer); }
.grocery-locked { color: oklch(0.6 0.02 145); font-size: 11.5px; padding: 8px 0 0; }
.grocery-unweighable { font-size: 10.5px; color: oklch(0.5 0.08 60); margin: 0 0 6px; line-height: 1.4; }
.meal-chat-veny {
  display: block;
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: oklch(0.45 0.1 150);
  text-decoration: none;
}

.testimonial-strip-viewport { overflow: hidden; margin: 0 0 14px; }
.testimonial-strip { display: flex; gap: 10px; width: max-content; animation: testi-scroll 26s linear infinite; padding-bottom: 4px; }
.testi-card {
  flex: 0 0 auto;
  width: 210px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
}
/* Source photos are full-body portraits (some as tall as 400x1200) — cover
   + object-position: top keeps faces in frame instead of center-cropping
   into the torso. */
.testi-photo { height: 200px; border-radius: 10px; margin-bottom: 8px; background: var(--bg-soft); display: flex; gap: 4px; overflow: hidden; }
.testi-photo img { width: 50%; height: 100%; object-fit: cover; object-position: top; display: block; }
.testi-text { font-size: 12.5px; color: oklch(0.35 0.02 145); line-height: 1.35; }

.consult-teaser {
  background: var(--primary-soft-bg);
  border: 1px solid oklch(0.55 0.15 150 / 0.3);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 14px;
}
.consult-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.consult-head img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; }
.consult-title { font-size: 13px; font-weight: 700; flex: 1; }
.consult-body { font-size: 11.5px; color: oklch(0.35 0.05 150); line-height: 1.4; margin-bottom: 10px; }
.consult-lock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--dark);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
}

.subscribe-bar {
  background: var(--dark);
  border-radius: 14px;
  margin: 0 0 8px;
  padding: 16px 18px 20px;
  text-align: center;
}
.subscribe-social { color: oklch(0.75 0.1 150); font-size: 10.5px; font-weight: 600; margin-bottom: 8px; }
.subscribe-btn {
  padding: 13px;
  border-radius: 12px;
  background: var(--primary-strong);
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 6px;
}
.subscribe-pending {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  padding: 10px 0;
}
.subscribe-pending-hint { font-size: 11px; font-weight: 500; color: var(--dark-text); margin-top: 2px; }
.subscribe-error { color: oklch(0.8 0.1 45); font-size: 11.5px; margin-bottom: 6px; }
.subscribe-error[hidden] { display: none; }
.subscribe-price { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.subscribe-price .was { color: oklch(0.6 0.02 145); font-size: 12.5px; text-decoration: line-through; }
.subscribe-price .now { color: #fff; font-size: 15px; font-weight: 800; }
.subscribe-price .countdown {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: oklch(0.62 0.15 45);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 999px;
}
.subscribe-fine { color: oklch(0.7 0.02 145); font-size: 10px; }

.plan-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.plan-modal[hidden] { display: none; }
.plan-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 25, 20, .55);
}
.plan-modal-sheet {
  position: relative;
  z-index: 1;
  width: 390px;
  max-width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 22px;
  box-sizing: border-box;
  animation: planModalPop .35s ease both;
}
@keyframes planModalPop {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.plan-modal-handle { width: 36px; height: 4px; background: oklch(0.88 0.01 145); border-radius: 99px; margin: 0 auto 16px; }
.plan-modal-title { font-size: 17px; font-weight: 700; margin: 0 0 4px; letter-spacing: -0.01em; }
.plan-modal-body { font-size: 12px; color: oklch(0.45 0.02 145); line-height: 1.45; margin: 0 0 14px; }

.plan-option {
  position: relative;
  border: 2px solid oklch(0.88 0.02 145);
  background: #fff;
  border-radius: 16px;
  cursor: pointer;
}
.plan-option.is-selected { border-color: var(--primary-strong); background: var(--primary-soft-bg); }
.plan-option-yearly { padding: 16px 14px 12px; margin-bottom: 10px; }
.plan-option-monthly { padding: 12px 14px; margin-bottom: 14px; }
.plan-option-ribbon {
  position: absolute;
  top: -11px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: oklch(0.62 0.15 45);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.plan-option-row { display: flex; align-items: flex-start; gap: 10px; }
.plan-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid oklch(0.88 0.02 145);
  flex: none;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plan-option.is-selected .plan-radio { border-color: var(--primary-strong); }
.plan-option.is-selected .plan-radio::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-strong);
}
.plan-option-main { flex: 1; min-width: 0; }
.plan-option-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan-option-monthly .plan-option-head { align-items: baseline; }
.plan-option-name { font-size: 14.5px; font-weight: 700; }
.plan-option-save { background: var(--primary-strong); color: #fff; font-size: 10px; font-weight: 800; padding: 3px 7px; border-radius: 6px; }
.plan-option-prices { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 2px; flex-wrap: wrap; }
.plan-option-price { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.plan-option-was { font-size: 12px; color: oklch(0.6 0.02 145); text-decoration: line-through; }
.plan-option-note { font-size: 11.5px; color: var(--ink-soft); margin-bottom: 8px; }
.plan-option-perks { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; color: oklch(0.3 0.02 145); }
.plan-option-perks > div { display: flex; gap: 6px; }
.plan-option-perks .check { color: var(--primary); font-weight: 800; }
.plan-option-proof {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed oklch(0.85 0.03 150);
  font-size: 10.5px;
  color: oklch(0.4 0.08 150);
  font-weight: 600;
}
.plan-option-monthly-price { font-size: 15px; font-weight: 800; }
.plan-option-monthly-price span { font-size: 11px; font-weight: 600; color: var(--ink-softer); }
.plan-option-sub { font-size: 11.5px; color: oklch(0.45 0.02 145); margin-top: 3px; }
.plan-addon {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  border: 1.5px dashed oklch(0.8 0.02 145);
  cursor: pointer;
}
.plan-option-monthly:not(.is-selected) .plan-addon { display: none; }
.plan-addon.is-checked { border-color: var(--primary-strong); }
.plan-addon-box {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid oklch(0.8 0.02 145);
  background: #fff;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.plan-addon.is-checked .plan-addon-box { border-color: var(--primary-strong); background: var(--primary-strong); }
.plan-addon.is-checked .plan-addon-box::after { content: "✓"; }
.plan-addon-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; }
.plan-addon-main { flex: 1; min-width: 0; }
.plan-addon-title { font-size: 12px; font-weight: 700; }
.plan-addon-sub { font-size: 10.5px; color: var(--ink-softer); }
.plan-addon-price { font-size: 12px; font-weight: 800; white-space: nowrap; }

.plan-modal-cta {
  padding: 14px;
  border-radius: 12px;
  background: var(--primary-strong);
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 8px;
}
.plan-modal-guarantee { text-align: center; font-size: 10.5px; color: var(--ink-softer); }

.pdf-status-note { text-align: center; color: var(--ink-softer); font-size: 11px; margin-top: 8px; }

/* Fixed to the viewport, not .app-shell — so `right` is clamped with
   max() to the shell's own centered edge (430px wide, margin:auto) on
   wide screens, falling back to a plain 14px viewport inset on narrow
   ones where the shell fills the full width anyway. */
.veny-float-cta {
  position: fixed;
  bottom: 16px;
  right: max(14px, calc(50% - 229px));
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 6px;
  background: oklch(0.65 0.16 145);
  color: #fff;
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 700;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .18);
}
.veny-float-cta-avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid #fff; }

/* Paywall for a lapsed subscriber renewing after a progress check-in. */
.renewal-note {
  background: var(--primary-soft-bg);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--primary-text);
  margin-bottom: 14px;
}
.social-notification {
  max-width: 260px;
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
  transition: opacity .35s ease, transform .35s ease;
}

.social-notification.is-hidden {
  opacity: 0;
  transform: translateY(6px);
}

.social-notification-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.social-notification-text {
  font-size: 11.5px;
  font-weight: 600;
  color: oklch(0.25 0.02 145);
  line-height: 1.35;
}

.social-notification-time {
  font-weight: 400;
  color: oklch(0.55 0.02 145);
}

.social-notification--inline {
  position: sticky;
  top: 0;
  z-index: 4;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .1);
  margin: 0 0 12px auto;
}
:root {
  --ink: oklch(0.22 0.02 145);
  --ink-soft: oklch(0.4 0.02 145);
  --ink-softer: oklch(0.5 0.02 145);
  --ink-faint: oklch(0.55 0.02 145);

  --bg: #fbfaf7;
  --bg-soft: oklch(0.97 0.015 145);
  --border: oklch(0.9 0.02 145);
  --border-soft: oklch(0.85 0.02 145);

  --primary: oklch(0.55 0.15 150);
  --primary-strong: oklch(0.62 0.15 150);
  --primary-soft-bg: oklch(0.97 0.03 150);
  --primary-border: oklch(0.55 0.15 150 / 0.25);
  --primary-text: oklch(0.3 0.1 150);
  --primary-link: oklch(0.55 0.12 150);

  --dark: oklch(0.24 0.03 145);
  --dark-text: oklch(0.8 0.02 145);

  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

button {
  font-family: inherit;
}

.app-shell {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
}

.btn-primary {
  display: block;
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.btn-primary.is-generating {
  opacity: 0.75;
  cursor: wait;
}

.btn-secondary {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: #fff;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

@keyframes chef-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes testi-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes chat-bubble-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes typing-fade {
  0% { opacity: 0; }
  15% { opacity: 1; }
  75% { opacity: 1; }
  100% { opacity: 0; }
}
.wizard-content {
  padding: 22px 22px 32px;
}

.wizard-progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.wizard-back {
  border: none;
  background: none;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  flex: none;
}

.wizard-progress-track {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.wizard-progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  transition: width .3s ease;
}

.wizard-nav {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.wizard-nav [hidden] {
  display: none;
}

.wizard-nav .wizard-next {
  flex: 1;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  margin: 4px 0 4px;
  letter-spacing: -0.01em;
}

.step-subtitle {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.chip-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chip-list.wrap {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.chip-label {
  display: block;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  background: #fff;
  color: var(--ink-soft);
  border: 1px solid var(--border-soft);
}

.chip-desc {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0.75;
}

.chip-input:checked + .chip-label {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.chip-input:disabled + .chip-label {
  opacity: 0.45;
  cursor: not-allowed;
}

.chip-input:focus-visible + .chip-label {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.chip-label.small {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
}

.goal-photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.goal-photo-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.goal-photo-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
}

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

.goal-photo-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 12px 14px;
  background: oklch(0.24 0.03 145 / 0.88);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.goal-photo-arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex: none;
}

.goal-photo-input:checked + .goal-photo-card {
  border-color: var(--primary);
}

.goal-photo-input:checked + .goal-photo-card .goal-photo-bar {
  background: var(--primary);
}

.goal-photo-input:focus-visible + .goal-photo-card {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.field {
  display: block;
  margin-bottom: 14px;
}

.field-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.field input[type="text"],
.field input[type="number"],
.field input[type="email"],
.field input[type="tel"] {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  font-size: 14px;
  background: #fff;
}

.basics-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pref-group {
  margin-bottom: 16px;
}

.pref-group .group-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.pref-group .group-hint,
.field-hint {
  font-size: 11px;
  line-height: 1.4;
  color: var(--ink-softer);
  margin: -4px 0 8px;
}

.field-hint {
  margin: 6px 0 0;
}

.goal-bmi-warning {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: oklch(0.96 0.05 85);
  border: 1px solid oklch(0.85 0.1 85);
  color: oklch(0.35 0.07 70);
  font-size: 12.5px;
  line-height: 1.5;
}

.goal-bmi-warning strong {
  display: block;
  margin-bottom: 2px;
}

.goal-bmi-warning a {
  color: inherit;
  font-weight: 700;
}

.bmi-suggestion-card {
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 14px;
  margin-top: 14px;
}

.bmi-suggestion-card .line {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.bmi-suggestion-card .line strong {
  font-weight: 700;
  color: oklch(0.25 0.02 145);
}

.bmi-suggestion-card button {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.photo-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  max-width: 220px;
  margin: 0 auto;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
  font-size: 12px;
  text-align: center;
  cursor: pointer;
}

.photo-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px;
}

.photo-placeholder[hidden] {
  display: none;
}

.photo-placeholder-icon {
  font-size: 26px;
}

.photo-input {
  display: none;
}

.photo-note {
  font-size: 11px;
  color: oklch(0.55 0.02 145);
  text-align: center;
  margin: 10px 0 0;
}

.photo-example {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-top: 16px;
}

.photo-example-title {
  font-size: 12px;
  font-weight: 700;
  color: oklch(0.3 0.02 145);
  margin-bottom: 4px;
}

.photo-example-desc {
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--ink-softer);
}

.photo-example-thumbs {
  display: flex;
  gap: 8px;
}

.photo-example-thumb {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.photo-example-thumb img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  object-fit: cover;
  display: block;
}

.photo-example-label {
  font-size: 10px;
  color: var(--ink-softer);
  text-align: center;
}

.photo-example-hint {
  margin: 8px 0 0;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--primary-link);
  text-align: center;
}

.field-error {
  color: #c0392b;
  font-size: 12px;
  margin-top: 4px;
}

.contact-privacy-note {
  text-align: center;
  font-size: 11px;
  color: var(--ink-faint);
  margin: 14px 0 0;
}

.contact-benefits {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-benefits li {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: oklch(0.3 0.02 145);
  line-height: 1.4;
}

.contact-benefits li span:first-child {
  color: var(--primary);
  font-weight: 700;
  flex: none;
}

.contact-social-proof {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-link);
  margin: 16px 0 0;
}

.processing-screen {
  min-height: 100vh;
  padding: 56px 24px 40px;
  text-align: center;
}

.processing-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
}

.processing-checklist {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  text-align: left;
}

.processing-step {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.processing-step-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.processing-step-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  transition: color .2s ease;
}

.processing-step-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink-faint);
  flex: none;
  transition: color .2s ease;
}

.processing-step-bar {
  height: 3px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}

.processing-step-fill {
  height: 100%;
  width: 0%;
  background: var(--primary);
  border-radius: 999px;
  transition: width .3s ease;
}

.processing-step.is-active .processing-step-label,
.processing-step.is-complete .processing-step-label {
  color: var(--ink);
}

.processing-step.is-complete .processing-step-status {
  color: var(--primary);
}

.processing-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.processing-error[hidden] {
  display: none;
}

.processing-error p {
  margin: 0;
  font-size: 13px;
  color: #c0392b;
}

.processing-social-stat {
  font-size: 13px;
  font-weight: 700;
  color: oklch(0.3 0.02 145);
  text-align: center;
  margin: 0 0 14px;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
