*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #080a0b;
  --bg-soft: #0c0f10;
  --surface: #111416;
  --surface-2: #171b1d;
  --surface-3: #1d2224;
  --line: #2a3034;
  --line-soft: #1f2528;
  --text: #f5f6f2;
  --text-soft: #d9ddd7;
  --muted: #a9afb2;
  --muted-2: #747d80;
  --accent: #9ad83d;
  --accent-deep: #5f8f1c;
  --warm: #f2a13b;
  --danger: #ff806d;
  --max: 1280px;
}

/* Светлая v2: сохраняет геометрию первого экрана, меняет только цветовую систему. */
body.light-v2 {
  --bg: #fcfcf8;
  --bg-soft: #f7faf2;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --surface-3: #ddebcf;
  --line: #c9d8b7;
  --line-soft: #e1ead6;
  --text: #203426;
  --text-soft: #51634d;
  --muted: #667467;
  --muted-2: #899487;
  --accent: #7ebd37;
  --accent-deep: #426f28;
  --warm: #f0b639;
  --danger: #c84662;
  background: #fcfcf8;
  color: var(--text);
}

body.light-v2 .topbar {
  background: rgba(252, 252, 248, 0.94);
  border-bottom-color: rgba(32, 52, 38, 0.1);
}

body.light-v2 .account-login {
  color: var(--text-soft);
}

body.light-v2 .account-login:hover {
  border-color: rgba(83, 126, 36, 0.45);
  color: var(--text);
}

body.light-v2 .section-note {
  background: #eaf4dd;
  color: #365f27;
}

body.light-v2 .cta {
  color: #18331a;
}

body.light-v2 .cta:hover {
  background: #8ccc45;
}

body.light-v2 .benefit-list li {
  background: #ffffff;
  border: 1px solid #e1ead6;
  color: var(--text-soft);
}

body.light-v2 .benefit-list span {
  background: #eaf4dd;
  color: #365f27;
}

body.light-v2 .product-showcase {
  background: #ddebcf;
}

body.light-v2 .product-showcase::before {
  border-color: rgba(32, 52, 38, 0.18);
}

body.light-v2 .product-card {
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(56, 78, 46, 0.1);
}

body.light-v2 .pill {
  background: #eaf4dd;
  color: #365f27;
}

body.light-v2 .day-tabs span {
  background: #f1f5eb;
  color: var(--muted);
}

body.light-v2 .day-tabs .active {
  color: #18331a;
}

body.light-v2 .telegram-row {
  background: #eaf4dd;
  color: var(--text-soft);
}

body.light-v2 .recipe-card {
  background: #ffffff;
  color: #203426;
}

body.light-v2 .recipe-card .muted {
  color: #667467;
}

body.light-v2 .recipe-body h2 {
  color: #203426;
}

body.light-v2 .recipe-meta span {
  background: #f1f5eb;
  color: #51634d;
}

body.light-v2 .nutrition-row div {
  border: 1px solid #d4e0c5;
  background: #f1f5eb;
  color: #203426;
}

body.light-v2 .nutrition-row dt {
  color: #657765;
}

body.light-v2 .cookie-banner {
  border-color: #c9d8b7;
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(56, 78, 46, 0.12);
}

body.light-v2 .cookie-banner p {
  color: #51634d;
}

body.light-v2 .cookie-banner a,
body.light-v2 .cookie-text {
  color: #365f27;
}

body.light-v2 .cookie-button:hover {
  border-color: #7ebd37;
}

body.light-v2 .cookie-dialog {
  background: #ffffff;
  box-shadow: 0 8px 16px rgba(56, 78, 46, 0.16);
}

body.light-v2 .cookie-modal-backdrop {
  background: rgba(32, 52, 38, 0.28);
}

/* Cabinet concept: preview-first dashboard, with a distinct and honest demo state. */
.cabinet-page {
  min-height: 100vh;
  background: var(--bg);
}

.cabinet-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: 192px;
  display: flex;
  flex-direction: column;
  padding: 18px 14px;
  border-right: 1px solid var(--line-soft);
  background: #f7faf2;
}

.cabinet-brand {
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 0 34px 8px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.cabinet-brand img { width: 54px; height: 54px; object-fit: contain; }

.cabinet-nav { display: grid; gap: 5px; }
.cabinet-nav a,
.cabinet-signout {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 7px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.cabinet-nav a span { width: 16px; color: var(--accent-deep); font-size: 18px; line-height: 1; text-align: center; }
.cabinet-nav a:hover { background: #edf4e3; color: var(--text); }
.cabinet-nav a.is-active { background: #e3efda; color: var(--text); }
.cabinet-nav .is-muted,
.archive-link.is-muted { opacity: .46; cursor: not-allowed; pointer-events: none; }
.cabinet-signout { margin-top: auto; border: 1px solid var(--line); justify-content: space-between; color: var(--text); }
.cabinet-signout:hover { border-color: var(--accent); }
.cabinet-version { margin: 0; color: color-mix(in srgb, var(--muted) 38%, transparent); font-size: 8px; line-height: 1.35; letter-spacing: .02em; }
.cabinet-version span { color: color-mix(in srgb, var(--muted) 28%, transparent); }
.cabinet-footer { display:flex; flex-wrap:wrap; gap:12px 18px; margin-top:42px; padding-top:18px; border-top:1px solid var(--line); color:var(--muted); font-size:12px; }
.cabinet-footer a { color:var(--muted); text-decoration:none; }
.cabinet-footer a:hover { color:var(--text); }
.cabinet-footer .cookie-settings-link { padding:0; border:0; background:none; color:var(--muted); font:inherit; cursor:pointer; }

.cabinet-main { min-height: 100vh; margin-left: 192px; }
.cabinet-topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 72px);
  border-bottom: 1px solid var(--line-soft);
}
.cabinet-topbar p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 750; }
.cabinet-user { display: flex; align-items: center; gap: 9px; color: var(--text-soft); font-size: 13px; font-weight: 800; text-decoration:none; }
.cabinet-user:hover { color:var(--text); }
.cabinet-user b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e3efda; color: #365f27; }
.cabinet-content { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 34px 0 72px; }

.cabinet-hero {
  position: relative;
  min-height: 278px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #2f9a70;
  color: #fff;
}
.cabinet-hero::before { content: ""; position: absolute; inset: 0; background: #258b64; opacity: .56; }
.cabinet-hero-copy { position: relative; z-index: 2; width: min(610px, 56%); padding: 40px clamp(28px, 5vw, 64px); }
.cabinet-kicker,
.cabinet-eyebrow { margin: 0 0 8px; color: #b9de85; font-size: 12px; font-weight: 850; }
.cabinet-hero h1 { max-width: 510px; margin: 0; color: #fff; font-size: clamp(29px, 3.2vw, 48px); line-height: 1.08; letter-spacing: 0; }
.cabinet-hero p:not(.cabinet-kicker) { max-width: 510px; margin: 14px 0 22px; color: #eef5e9; font-size: 14px; line-height: 1.55; }
.cabinet-hero .cta { padding: 13px 18px; }

.cabinet-hero-dishes { position:absolute; z-index:1; top:12px; right:clamp(18px, 4vw, 56px); bottom:12px; width:min(40%, 430px); }
.cabinet-hero-dishes img { position:absolute; overflow:hidden; border:5px solid rgba(255,255,255,.9); border-radius:50%; box-shadow:0 12px 22px rgba(21,77,55,.22); object-fit:cover; }
.hero-dish-a { top:6%; right:15%; width:58%; aspect-ratio:1; transform:rotate(8deg); }
.hero-dish-b { right:2%; bottom:4%; width:39%; aspect-ratio:1; transform:rotate(-8deg); }
.hero-dish-c { bottom:4%; left:2%; width:40%; aspect-ratio:1; transform:rotate(9deg); }

.cabinet-demo-data { position:relative; padding-top:20px; }
.demo-overlay { position:absolute; z-index:3; top:0; left:50%; display:flex; align-items:center; gap:10px; width:min(620px, calc(100% - 32px)); padding:11px 15px; border:1px solid #d88798; border-radius:7px; background:rgba(255,245,246,.96); box-shadow:0 4px 12px rgba(130,44,65,.1); color:#743142; transform:translateX(-50%); }
.demo-overlay span { padding:4px 7px; border-radius:4px; background:#c84662; color:#fff; font-size:11px; font-weight:900; }
.demo-overlay p { flex:1; margin:0; font-size:12px; line-height:1.35; font-weight:750; }
.demo-overlay a { color:#9b3150; font-size:12px; font-weight:900; white-space:nowrap; }

.cabinet-section { margin-top: 38px; }
.cabinet-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.cabinet-section-head h2 { margin: 0; font-size: 29px; letter-spacing: 0; }
.archive-link { color: #365f27; font-size: 13px; font-weight: 850; text-decoration: none; }
.archive-link:hover { color: var(--accent-deep); }
.shopping-count { padding: 7px 10px; border-radius: 999px; background: #eaf4dd; color: #365f27; font-size: 12px; font-weight: 850; }

.menu-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.menu-controls button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
}
.menu-controls button:not(:disabled):hover { border-color: var(--accent); background: #f7fbf1; cursor: pointer; }
.menu-controls button:disabled { border-color: #e0e3dd; background: #f3f4f1; color: #9ca49c; }
.menu-controls button.active-cook { border-color:#a8d17a; background:#eaf4dd; color:#365f27; }
.menu-controls button.active-cook:disabled { border-color:#d3dfc7; background:#edf3e7; color:#809173; }
.menu-controls span:last-child { color: var(--muted); font-size: 13px; }
.cook-session-card { border:1px solid var(--line-soft); border-radius:8px; background:#fff; overflow:hidden; }
.cook-session-card.is-demo { opacity:.64; }
.cook-session-title { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:17px 20px; border-bottom:1px solid var(--line-soft); }
.cook-session-title p { margin:0 0 3px; color:var(--muted); font-size:12px; }
.cook-session-title h3 { margin:0; color:var(--text); font-size:18px; }
.cook-session-title h3 span { color:var(--muted); font-weight:650; }
.cook-session-title > b { padding:7px 10px; border-radius:999px; background:#eaf4dd; color:#365f27; font-size:12px; }
.meal-plan-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); }
.meal-plan-grid article { min-height:124px; padding:18px 20px; border-right:1px solid var(--line-soft); }
.meal-plan-grid article:last-child { border-right:0; }
.meal-plan-grid span { display:block; margin-bottom:13px; color:#365f27; font-size:12px; font-weight:900; }
.meal-plan-grid b { display:block; margin:0 0 7px; color:var(--text); font-size:13px; line-height:1.4; }

.shopping-section { padding: 26px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fff; }
.result-shopping-grid { display:grid; grid-template-columns:minmax(0,1fr) 218px; gap:24px; }
.result-shopping-grid.is-demo { opacity:.64; }
.shopping-table-wrap { min-width:0; }
.cabinet-shopping-table { width:100%; border-collapse:collapse; font-size:13px; }
.cabinet-shopping-table th { padding:0 10px 10px; color:var(--muted); font-size:11px; font-weight:800; text-align:left; }
.cabinet-shopping-table th:not(:first-child), .cabinet-shopping-table td:not(:first-child) { text-align:right; white-space:nowrap; }
.cabinet-shopping-table td { padding:11px 10px; border-top:1px solid var(--line-soft); color:var(--text-soft); }
.cabinet-shopping-table td:first-child { color:var(--text); font-weight:800; }
.cabinet-shopping-total { display:flex; justify-content:flex-end; gap:14px; margin:13px 10px 0; color:var(--text-soft); font-size:13px; }
.cabinet-shopping-total b { color:var(--text); font-size:17px; }
.shopping-actions { display: grid; align-content: start; gap: 8px; padding: 16px; border-radius: 7px; background: #edf4e3; }
.shopping-actions p { margin: 0 0 4px; color: #365f27; font-size: 12px; font-weight: 850; }
.shopping-actions button { display: flex; justify-content: space-between; align-items: center; min-height: 38px; padding: 0 10px; border: 1px solid #bfd7a7; border-radius: 6px; background: #fff; color: #365f27; font-family: inherit; font-size: 13px; font-weight: 850; }
.shopping-actions button:not(:disabled):hover { border-color: var(--accent); cursor: pointer; }
.shopping-actions button:disabled { border-color: #dbe4d0; background: #f7f8f4; color: #a1ac99; }
.shopping-layout.is-demo { opacity: .64; }

.cabinet-mobile-nav { display: none; }

.profile-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:24px; }
.profile-heading p, .transactions-head p { margin:0 0 7px; color:#365f27; font-size:12px; font-weight:850; }
.profile-heading h1 { margin:0; color:var(--text); font-size:34px; letter-spacing:0; }
.profile-back { color:#365f27; font-size:13px; font-weight:850; text-decoration:none; }
.profile-back:hover { color:var(--accent-deep); }
.profile-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:16px; }
.profile-panel, .transactions-section { border:1px solid var(--line-soft); border-radius:8px; background:#fff; }
.profile-panel { padding:22px; }
.profile-panel-password { grid-column:1 / -1; }
.profile-panel-head { display:flex; align-items:flex-start; gap:12px; margin-bottom:22px; }
.profile-icon { display:grid; flex:0 0 auto; place-items:center; width:32px; height:32px; border-radius:50%; background:#eaf4dd; color:#365f27; font-size:15px; font-weight:900; }
.profile-icon.telegram { background:#e3eff8; color:#2b7bb7; }
.profile-panel h2 { margin:0 0 3px; color:var(--text); font-size:18px; letter-spacing:0; }
.profile-panel-head p, .telegram-connect p { margin:0; color:var(--muted); font-size:13px; line-height:1.45; }
.profile-form { display:grid; grid-template-columns:1fr 1fr; gap:9px 14px; }
.profile-form label { grid-column:1 / -1; color:var(--text-soft); font-size:12px; font-weight:800; }
.profile-form input { grid-column:1 / -1; min-width:0; height:42px; padding:0 12px; border:1px solid var(--line); border-radius:6px; background:#fff; color:var(--text); font:inherit; font-size:14px; }
.profile-form input:focus { outline:2px solid rgba(126,189,55,.35); border-color:var(--accent); }
.profile-form-actions { grid-column:1 / -1; display:flex; align-items:center; gap:12px; margin-top:5px; }
.profile-save { min-height:38px; padding:0 13px; border:1px solid var(--accent); border-radius:6px; background:var(--accent); color:#15210f; font:inherit; font-size:13px; font-weight:850; cursor:pointer; }
.profile-save:hover { background:#91d72c; border-color:#91d72c; }
.profile-feedback { color:#365f27; font-size:12px; font-weight:800; }
.telegram-connect { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:88px; }
.telegram-connect b { display:block; margin-bottom:5px; color:var(--text); font-size:14px; }
.telegram-button.is-connected { border-color:#a8d17a; background:#eaf4dd; color:#365f27; }
.transactions-section { margin-top:16px; overflow:hidden; }
.profile-legal-links { display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:16px; padding:16px 2px 4px; border-top:1px solid var(--line-soft); }
.profile-legal-links a { color:var(--muted); font-size:12px; font-weight:750; text-decoration:none; }
.profile-legal-links a:hover { color:#365f27; }
.transactions-head { display:flex; align-items:end; justify-content:space-between; gap:16px; padding:22px; border-bottom:1px solid var(--line-soft); }
.transactions-head h2 { margin:0; color:var(--text); font-size:21px; letter-spacing:0; }
.transactions-head > span { padding:6px 9px; border-radius:999px; background:#f1f4ee; color:var(--muted); font-size:12px; font-weight:800; }
.transactions-table { width:100%; border-collapse:collapse; font-size:13px; }
.transactions-table th { padding:13px 22px; background:#fafbf8; color:var(--muted); font-size:11px; font-weight:850; text-align:left; }
.transactions-table td { padding:16px 22px; border-top:1px solid var(--line-soft); color:var(--text-soft); }
.transactions-table td:nth-child(3) { color:var(--text); font-weight:850; white-space:nowrap; }
.payment-status { display:inline-flex; align-items:center; min-height:26px; padding:0 8px; border-radius:999px; font-size:11px; font-weight:850; white-space:nowrap; }
.payment-status.paid { background:#eaf4dd; color:#365f27; }.payment-status.processing { background:#fff0d4; color:#965f0b; }.payment-status.unpaid { background:#f9e1e6; color:#a62f4d; }

.archive-heading { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:18px; }
.archive-heading p, .plans-heading > p { margin:0 0 7px; color:#365f27; font-size:12px; font-weight:850; }
.archive-heading h1, .plans-heading h1 { margin:0; color:var(--text); font-size:34px; letter-spacing:0; }
.archive-summary { display:flex; align-items:center; gap:12px; padding:15px 17px; border:1px solid #dce7d1; border-radius:8px; background:#f6faef; color:#416632; }
.archive-summary > span { display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:#e1f0d4; font-size:15px; }.archive-summary p { margin:0; font-size:13px; line-height:1.45; font-weight:700; }
.archive-list { display:grid; gap:10px; margin-top:22px; }
.archive-card { display:grid; grid-template-columns:76px 1fr auto; align-items:center; gap:20px; padding:18px 20px; border:1px solid var(--line-soft); border-radius:8px; background:#fff; }
.archive-card.current { border-color:#b7d29e; background:#fbfdf8; }.archive-card-date { display:flex; align-items:center; gap:8px; }.archive-card-date > span { color:var(--text); font-size:30px; font-weight:900; line-height:1; }.archive-card-date small { color:var(--muted); font-size:11px; font-weight:750; line-height:1.25; }
.archive-card-main p { margin:0 0 3px; color:var(--muted); font-size:12px; font-weight:750; }.archive-card-main h2 { margin:0 0 4px; color:var(--text); font-size:18px; letter-spacing:0; }.archive-card-main > span { color:var(--text-soft); font-size:13px; }
.archive-card-meta { display:flex; align-items:center; gap:20px; }.archive-card-meta a { color:#365f27; font-size:13px; font-weight:850; text-decoration:none; white-space:nowrap; }.archive-card-meta i, .plan-option-action i { font-style:normal; font-size:16px; }.archive-tag { padding:6px 8px; border-radius:999px; background:#f1f4ee; color:var(--muted); font-size:11px; font-weight:850; white-space:nowrap; }.archive-tag.active { background:#eaf4dd; color:#365f27; }
.plan-selection-content { max-width:920px; padding-top:52px; }.plans-heading { margin:22px 0 28px; }.plans-heading h1 { max-width:570px; font-size:40px; line-height:1.08; text-wrap:balance; }.plans-heading > span { display:block; margin-top:12px; color:var(--muted); font-size:14px; }
.plan-options { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:16px; }.plan-option { position:relative; display:flex; flex-direction:column; min-height:356px; padding:26px; border:1px solid var(--line-soft); border-radius:8px; background:#fff; }.plan-option.is-recommended { border-color:#a8c886; background:#fbfdf8; }.plan-recommendation { position:absolute; top:23px; right:24px; padding:6px 9px; border-radius:999px; background:#e4f1d7; color:#365f27; font-size:11px; font-weight:850; }.plan-option p { margin:0 0 12px; color:var(--text-soft); font-size:14px; font-weight:800; }.plan-option h2 { margin:0; color:var(--text); font-size:46px; line-height:1; letter-spacing:0; }.plan-option div > span { display:block; margin-top:10px; color:var(--muted); font-size:13px; }.plan-option ul { display:grid; gap:10px; margin:28px 0; padding:0; list-style:none; color:var(--text-soft); font-size:13px; font-weight:750; }.plan-option li { display:flex; align-items:center; gap:9px; }.plan-option li::before { content:'•'; color:var(--accent-deep); font-size:20px; line-height:0; }.plan-option-action { display:flex; align-items:center; justify-content:space-between; min-height:44px; margin-top:auto; padding:0 13px; border:1px solid #bfd7a7; border-radius:6px; color:#365f27; font-size:13px; font-weight:850; text-decoration:none; }.plan-option-action:hover { border-color:var(--accent); background:#eef7e6; }.is-recommended .plan-option-action { border-color:var(--accent); background:var(--accent); color:#15210f; }

@media (max-width: 840px) {
  .cabinet-sidebar { display: none; }
  .cabinet-main { margin-left: 0; padding-bottom: 64px; }
  .cabinet-topbar { height: 62px; padding: 0 18px; }
  .cabinet-content { width: min(100% - 32px, 640px); padding: 18px 0 38px; }
  .cabinet-hero { min-height: 312px; }
  .cabinet-hero-copy { width:62%; padding:28px 24px; }
  .cabinet-hero-dishes { right:8px; width:42%; }
  .cabinet-section { margin-top: 30px; }
  .cabinet-section-head h2 { font-size: 25px; }
  .demo-overlay { align-items:flex-start; flex-wrap:wrap; }
  .demo-overlay a { width:100%; }
  .shopping-section { padding: 19px; }
  .result-shopping-grid { grid-template-columns:1fr; gap:16px; }
  .cabinet-mobile-nav { position: fixed; z-index: 30; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 7px 10px max(7px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line-soft); background: rgba(252, 252, 248, .96); backdrop-filter: blur(8px); }
  .cabinet-mobile-nav a { display: grid; justify-items: center; gap: 3px; padding: 4px 0; color: var(--muted); font-size: 10px; font-weight: 800; text-decoration: none; }
  .cabinet-mobile-nav a span { color: var(--accent-deep); font-size: 17px; line-height: 1; }
  .cabinet-mobile-nav a.is-active { color: var(--text); }
  .cabinet-mobile-nav .is-muted { opacity: .42; pointer-events: none; }
  .profile-grid { grid-template-columns:1fr; }.profile-panel-password { grid-column:auto; }.transactions-table-wrap { overflow-x:auto; }.transactions-table { min-width:630px; }
  .archive-card { grid-template-columns:64px 1fr; }.archive-card-meta { grid-column:2; justify-content:space-between; gap:12px; }.plan-selection-content { padding-top:28px; }.plan-options { grid-template-columns:1fr; }
}

@media (max-width: 430px) {
  .cabinet-content { width: min(100% - 24px, 640px); }
  .cabinet-topbar { padding: 0 12px; }
  .cabinet-user span { display: none; }
  .cabinet-hero { min-height: 330px; }
  .cabinet-hero h1 { font-size: 30px; }
  .cabinet-hero-copy { width:72%; }
  .cabinet-hero-dishes { right:-12px; width:42%; opacity:.76; }
  .cabinet-section-head { align-items: start; flex-direction: column; gap: 8px; }
  .menu-controls { gap: 7px; }
  .menu-controls span:last-child { flex-basis: 100%; }
  .cabinet-demo-data { padding-top:32px; }
  .demo-overlay { top:5px; }
  .meal-plan-grid { grid-template-columns:1fr; }
  .meal-plan-grid article { min-height:0; border-right:0; border-bottom:1px solid var(--line-soft); }
  .meal-plan-grid article:last-child { border-bottom:0; }
  .cabinet-shopping-table { min-width:500px; }
  .profile-heading { align-items:start; flex-direction:column; gap:10px; }.profile-heading h1 { font-size:29px; }.profile-panel { padding:18px; }.telegram-connect { align-items:start; flex-direction:column; min-height:0; }.profile-form-actions { align-items:start; flex-direction:column; gap:8px; }.transactions-head, .transactions-table th, .transactions-table td { padding-left:16px; padding-right:16px; }
  .archive-heading { align-items:start; flex-direction:column; gap:14px; }.archive-heading h1 { font-size:29px; }.archive-card { grid-template-columns:1fr; gap:12px; padding:17px; }.archive-card-meta { grid-column:auto; }.archive-card-date { order:2; }.archive-card-main { order:1; }.archive-card-meta { order:3; }.plans-heading h1 { font-size:32px; }.plan-option { min-height:0; padding:21px; }.plan-option h2 { font-size:40px; }
  .shopping-table-wrap { overflow-x:auto; }
}

/* Active cabinet: rendered from the real result structure, one cooking session at a time. */
.cabinet-active-page .cabinet-content { padding-top:28px; }
.active-menu-banner { position:relative; min-height:272px; overflow:hidden; border-radius:8px; background:#365f27; }
.active-menu-banner > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }
.active-menu-banner::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(31,52,38,.9) 0%, rgba(31,52,38,.58) 37%, rgba(31,52,38,.08) 66%, rgba(31,52,38,0) 100%); }
.active-banner-copy { position:relative; z-index:1; width:min(510px, 55%); padding:46px clamp(30px, 5vw, 64px); color:#fff; }
.active-banner-copy p { margin:0 0 10px; color:#d9efbd; font-size:12px; font-weight:850; }
.active-banner-copy h1 { margin:0; color:#fff; font-size:clamp(35px,4vw,52px); line-height:1.06; letter-spacing:0; }
.active-banner-copy .cta { margin-top:24px; }

.current-menu { margin-top:42px; }
.current-menu-head { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:20px; }
.current-menu-head p { margin:0 0 5px; color:var(--muted); font-size:13px; font-weight:750; }
.current-menu-head h2 { margin:0; color:var(--text); font-size:30px; letter-spacing:0; }
.week-tabs, .cook-tabs { display:flex; flex-wrap:wrap; gap:8px; }
.week-tabs { margin-bottom:11px; }
.week-tabs button, .cook-tabs button { min-height:42px; padding:0 15px; border:1px solid var(--line); border-radius:6px; background:#fff; color:var(--text-soft); font-family:inherit; font-size:13px; font-weight:850; }
.week-tabs button.is-active { border-color:#426f28; background:#426f28; color:#fff; }
.cook-tabs { margin-bottom:22px; }
.cook-tabs button { display:grid; justify-items:start; gap:1px; min-width:152px; padding:8px 14px; text-align:left; }
.cook-tabs button span { color:var(--text); }
.cook-tabs button small { color:var(--muted); font-size:11px; font-weight:700; }
.cook-tabs button.is-active { border-color:#a4c889; background:#edf5e6; }
.cook-tabs button.is-active span { color:#365f27; }
.cook-view-head { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:0 0 16px; padding:22px 24px; border:1px solid var(--line-soft); border-radius:8px; background:#fff; }
.cook-view-head > div:first-child p { margin:0 0 4px; color:#365f27; font-size:12px; font-weight:850; }
.cook-view-head h3 { margin:0; color:var(--text); font-size:22px; letter-spacing:0; }
.nutrition-overview { display:flex; align-items:center; gap:15px; }
.macro-chart { display:grid; place-items:center; width:88px; aspect-ratio:1; border-radius:50%; background:conic-gradient(#c84662 0 32%, #f0b639 32% 64%, #7ebd37 64% 100%); }
.macro-chart::before { content:""; position:absolute; width:62px; aspect-ratio:1; border-radius:50%; background:#fff; }
.macro-chart { position:relative; }
.macro-chart span { position:relative; z-index:1; color:var(--text); font-size:15px; font-weight:900; text-align:center; }
.macro-chart small { display:block; color:var(--muted); font-size:10px; font-weight:750; }
.macro-values p { margin:0 0 5px; color:var(--muted); font-size:11px; font-weight:800; }
.macro-values ul { display:flex; gap:8px; margin:0; padding:0; list-style:none; }
.macro-values li { display:grid; grid-template-columns:15px auto; column-gap:4px; align-items:center; font-size:10px; }
.macro-values li i { display:grid; place-items:center; grid-row:span 2; width:15px; height:15px; border-radius:50%; color:#fff; font-size:9px; font-style:normal; font-weight:900; }
.macro-values li span { color:var(--muted); }
.macro-values li b { color:var(--text); font-size:11px; }
.macro-values .protein i { background:#c84662; }.macro-values .fat i { background:#d79420; }.macro-values .carbs i { background:#6eac34; }
.meal-cards { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:12px; }
.meal-card { display:flex; flex-direction:column; min-height:390px; padding:18px; border:1px solid var(--line-soft); border-top:4px solid #9abf79; border-radius:8px; background:#fff; }
.meal-card.soup { border-top-color:#e7b144; }.meal-card.main-course { border-top-color:#c84662; }.meal-card.dinner { border-top-color:#658d67; }
.meal-card-top { display:flex; align-items:center; gap:8px; }.meal-symbol { display:grid; place-items:center; width:25px; height:25px; border-radius:50%; background:#eaf4dd; color:#426f28; font-size:13px; font-weight:900; }.meal-card.soup .meal-symbol { background:#fff2d3; color:#ad7510; }.meal-card.main-course .meal-symbol { background:#f9e1e6; color:#a62f4d; }.meal-card.dinner .meal-symbol { background:#e0ede1; color:#406c45; }
.meal-cards{grid-template-columns:repeat(5,minmax(0,1fr))}.meal-card.salad{border-top-color:#4c9986}.meal-card.salad .meal-symbol{background:#e0f2ee;color:#287061}.result-meal-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.result-meal-grid .result-meal-card.salad{border-top:4px solid #4c9986}.result-meal-grid .result-meal-card.salad p{color:#287061}
.meal-card-top p { margin:0; color:var(--muted); font-size:12px; font-weight:800; }
.meal-card h4 { min-height:59px; margin:13px 0 12px; color:var(--text); font-size:19px; line-height:1.23; letter-spacing:0; }
.ingredient-list { display:grid; gap:6px; margin:0; padding:0; list-style:none; }.ingredient-list li { display:flex; justify-content:space-between; gap:8px; color:var(--text-soft); font-size:12px; line-height:1.3; }.ingredient-list b { color:var(--text); white-space:nowrap; }
.more-ingredients { display:block; margin-top:9px; color:#426f28; font-size:12px; font-weight:850; }
.meal-kbju { display:flex; flex-wrap:wrap; gap:5px; margin-top:auto; padding-top:16px; }.meal-kbju span { padding:5px 7px; border-radius:4px; background:#f3f6ef; color:var(--text-soft); font-size:10px; font-weight:800; }.meal-kbju span:first-child { background:#f0efe4; color:#6f5a18; }.meal-kbju .protein { background:#f9e1e6; color:#a62f4d; }.meal-kbju .fat { background:#fff0d4; color:#a66d10; }.meal-kbju .carbs { background:#eaf4dd; color:#426f28; }
.meal-recipe-link { display:flex; justify-content:space-between; margin-top:13px; color:#365f27; font-size:12px; font-weight:900; text-decoration:none; }.meal-recipe-link:hover { color:var(--accent-deep); }

@media (max-width:1080px) { .meal-cards,.result-meal-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.meal-card { min-height:335px; } }
@media (max-width:840px) { .cabinet-active-page .cabinet-content { padding-top:18px; }.active-menu-banner { min-height:300px; }.active-banner-copy { width:min(70%, 440px); padding:34px 26px; }.active-menu-banner::after { background:linear-gradient(90deg, rgba(31,52,38,.92) 0%, rgba(31,52,38,.62) 50%, rgba(31,52,38,.18) 100%); }.current-menu { margin-top:29px; }.cook-view-head { align-items:flex-start; flex-direction:column; padding:19px; }.nutrition-overview { width:100%; justify-content:space-between; }.macro-values ul { gap:11px; } }
@media (max-width:540px) { .active-menu-banner { min-height:330px; }.active-banner-copy { width:82%; padding:28px 24px; }.active-banner-copy h1 { font-size:34px; }.current-menu-head { align-items:flex-start; flex-direction:column; gap:8px; }.current-menu-head h2 { font-size:26px; }.week-tabs button { flex:1; }.cook-tabs { display:grid; grid-template-columns:1fr 1fr; }.cook-tabs button { min-width:0; padding:9px 10px; }.cook-view-head h3 { font-size:20px; }.nutrition-overview { align-items:flex-start; }.macro-values ul { display:grid; grid-template-columns:1fr; gap:4px; }.meal-cards { grid-template-columns:1fr; }.meal-card { min-height:0; }.meal-card h4 { min-height:0; }.ingredient-list { margin-bottom:4px; } }

/* New user: the actual example remains visible below a single interaction-blocking layer. */
.cabinet-demo-page .cabinet-content { padding-top:28px; }
.cabinet-demo-page .active-banner-copy h1 { max-width:430px; }
.cabinet-demo-page .week-tabs button:disabled { border-color:#426f28; background:#426f28; color:#fff; opacity:1; }
.cabinet-demo-page .cook-tabs button:disabled { cursor:not-allowed; opacity:.62; }
.demo-data-stack { position:relative; margin-top:42px; }
.demo-data-stack::after { content:""; position:absolute; z-index:3; inset:0; border-radius:8px; background:rgba(252,252,248,.46); backdrop-filter:grayscale(.45) blur(.35px); pointer-events:auto; }
.demo-data-stack > *:not(.demo-data-overlay) { opacity:.7; }
.demo-data-overlay { position:absolute; z-index:4; inset:0; display:flex; justify-content:flex-end; align-items:flex-start; padding:22px 22px 24px; pointer-events:none; }
.demo-data-overlay > div { width:min(430px,calc(100% - 40px)); padding:18px 20px; border:1px solid #cc6a80; border-radius:8px; background:rgba(255,247,248,.97); box-shadow:0 12px 26px rgba(111,42,58,.16); color:#742f42; text-align:left; pointer-events:auto; }
.demo-data-overlay span { display:inline-block; padding:5px 8px; border-radius:4px; background:#c84662; color:#fff; font-size:11px; font-weight:900; }
.demo-data-overlay p { max-width:385px; margin:10px 0 16px; font-size:14px; font-weight:800; line-height:1.45; }
.demo-data-overlay .cta { min-height:43px; padding:0 15px; }
@media (max-width:840px) { .cabinet-demo-page .cabinet-content { padding-top:18px; }.demo-data-stack { margin-top:29px; }.demo-data-overlay { padding:14px; } }
@media (max-width:540px) { .demo-data-overlay { padding:12px; }.demo-data-overlay > div { width:100%; padding:17px 16px; }.demo-data-overlay p { font-size:13px; } }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 8%, rgba(154, 216, 61, 0.12), transparent 28rem),
    linear-gradient(180deg, #080a0b 0%, #090c0d 46%, #0a0d0e 100%);
  color: var(--text);
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  background: rgba(8, 10, 11, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand,
.account-actions {
  display: flex;
  align-items: center;
}

.brand {
  width: 66px;
  height: 66px;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.account-actions {
  gap: 10px;
}

.design-switch {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: #365f27;
  font-size: 20px;
  font-weight: 760;
  text-decoration: none;
}

.design-switch:hover {
  border-color: #7ebd37;
  color: #203426;
}

.topbar > .legal-back + .design-switch {
  margin-left: auto;
}

.topbar > .legal-back {
  margin-left: auto;
  margin-right: 12px;
}

.account-actions a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}

.account-login {
  color: var(--text-soft);
}

.account-register {
  border-color: var(--accent) !important;
  background: var(--accent);
  color: #101410;
}

.account-login:hover {
  border-color: rgba(154, 216, 61, 0.55);
  color: var(--text);
}

.screen {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 8vw, 118px) 24px;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(560px, 1.08fr);
  gap: clamp(44px, 6vw, 80px);
  align-items: center;
  padding-top: clamp(54px, 7vw, 86px);
}

.hero-copy,
.product-showcase,
.product-card,
.routine-column,
.menu-week,
.dish-card {
  min-width: 0;
  max-width: 100%;
}

.section-note {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(154, 216, 61, 0.12);
  color: #c9f27d;
  font-size: 13px;
  font-weight: 760;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
.section-heading h2,
.variety-copy h2 {
  text-wrap: balance;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
}

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(42px, 5.3vw, 68px);
  line-height: 1.02;
}

.lead {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.62;
  text-wrap: pretty;
}

.hero-actions {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 58px;
  padding: 0 24px;
  gap: 18px;
  border-radius: 14px;
  background: var(--accent);
  color: #11150d;
  font-size: 17px;
  font-weight: 850;
  text-decoration: none;
}

.cta:hover {
  background: #abe85a;
}

.benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  max-width: 650px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 5px 11px 5px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.2;
}

.benefit-list span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(154, 216, 61, 0.14);
  color: #c9f27d;
  font-size: 13px;
  font-weight: 900;
}

.product-showcase {
  position: relative;
  min-height: 650px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(154, 216, 61, 0.1), transparent 34%),
    linear-gradient(180deg, #111517, #090c0d);
  overflow: hidden;
}

.product-showcase::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 18px;
  pointer-events: none;
}

.showcase-rail {
  position: absolute;
  top: 30px;
  left: 34px;
  right: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.showcase-rail b {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.product-card,
.routine-column,
.menu-week {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: 16px;
}

.product-card {
  position: absolute;
  overflow: hidden;
}

.product-card header,
.week-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.product-card header > div,
.week-header > div,
.meal div,
.dish-card div {
  min-width: 0;
}

.product-card header {
  padding: 18px 18px 12px;
}

.muted {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.product-card h2,
.week-header h3 {
  margin: 4px 0 0;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(154, 216, 61, 0.12);
  color: #d7f7a0;
  font-size: 12px;
  font-weight: 750;
  max-width: 48%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-card {
  left: 34px;
  top: 110px;
  width: 318px;
}

.shopping-card {
  z-index: 2;
  right: 44px;
  top: 78px;
  width: 318px;
}

.recipe-card {
  z-index: 3;
  left: 184px;
  bottom: 42px;
  width: 380px;
  background: #f5f6f2;
  color: #121614;
}

.recipe-card .muted {
  color: #5d6664;
}

.day-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 0 18px 12px;
}

.day-tabs span {
  display: grid;
  place-items: center;
  min-height: 32px;
  border-radius: 10px;
  background: #0e1213;
  color: var(--muted);
  font-size: 12px;
}

.day-tabs .active {
  background: var(--accent);
  color: #11150d;
  font-weight: 850;
}

.meal-list {
  display: grid;
}

.meal {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 18px;
  border-top: 1px solid var(--line-soft);
}

.meal img {
  width: 68px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
}

.meal small,
.dish-card small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
}

.meal strong,
.dish-card strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
}

.shopping-list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 8px 18px 16px;
  list-style: none;
}

.shopping-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-soft);
  font-size: 14px;
}

.shopping-list b {
  color: var(--text);
}

.telegram-row {
  margin: 0 18px 18px;
  padding: 13px 14px;
  border-radius: 12px;
  background: #0c1011;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.recipe-card > img {
  width: 100%;
  height: 214px;
  object-fit: cover;
}

.recipe-body {
  padding: 18px;
}

.recipe-body h2 {
  margin: 5px 0 10px;
  color: #11150d;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.recipe-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: #e8ebe4;
  color: #4c5652;
  font-size: 12px;
  font-weight: 760;
}

.nutrition-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 0;
}

.nutrition-row div {
  min-width: 0;
  padding: 8px 7px;
  border-radius: 10px;
  background: #111614;
  color: #f5f6f2;
}

.nutrition-row dt {
  margin-bottom: 3px;
  color: #aeb6b0;
  font-size: 10px;
  font-weight: 760;
}

.nutrition-row dd {
  margin: 0;
  font-size: 13px;
  font-weight: 880;
  line-height: 1.05;
}

.problem {
  padding-top: clamp(88px, 10vw, 132px);
}

.section-heading {
  display: grid;
  justify-items: center;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.section-heading h2,
.variety-copy h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(36px, 4.7vw, 62px);
  line-height: 1.06;
}

.section-heading > p:last-child,
.variety-copy > p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.routine-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 58px;
}

.routine-column {
  padding: 24px;
  animation: routine-column-in 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.routine-column.new {
  animation-delay: 220ms;
}

.routine-column h3 {
  margin-bottom: 18px;
  font-size: 22px;
  letter-spacing: -0.015em;
}

.routine-column ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.routine-column li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px 12px 46px;
  border-radius: 12px;
  background: #0d1112;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.3;
  animation: routine-step-in 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(90ms * var(--step, 1));
}

.routine-column li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 12px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 850;
}

.routine-column li:nth-child(1) { --step: 1; }
.routine-column li:nth-child(2) { --step: 2; }
.routine-column li:nth-child(3) { --step: 3; }
.routine-column li:nth-child(4) { --step: 4; }
.routine-column li:nth-child(5) { --step: 5; }
.routine-column li:nth-child(6) { --step: 6; }

.old h3 {
  color: #ffb1a6;
}

.old li::before {
  background: rgba(255, 128, 109, 0.14);
  color: #ffb1a6;
}

.new h3 {
  color: #d7f7a0;
}

.new li {
  background: rgba(154, 216, 61, 0.08);
  color: var(--text);
}

.new li::before {
  background: var(--accent);
  color: #11150d;
}

.routine-shift {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  justify-items: center;
  align-items: center;
  color: var(--accent);
}

.routine-shift span {
  width: 1px;
  height: 100%;
  min-height: 72px;
  background: var(--line);
}

.routine-shift b {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #11150d;
  font-size: 22px;
  overflow: hidden;
  animation: pulse-shift 1800ms ease-in-out infinite;
}

.routine-shift b::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: translateX(-100%);
  animation: shine-shift 2200ms ease-in-out infinite;
}

.routine-shift i {
  position: relative;
  z-index: 1;
  font-style: normal;
}

.result-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 760px;
  min-height: 84px;
  margin: 48px auto 0;
  padding: 18px 24px;
  border: 1px solid rgba(154, 216, 61, 0.32);
  border-radius: 16px;
  background: rgba(154, 216, 61, 0.1);
}

.result-strip span {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #11150d;
  font-weight: 900;
}

.result-strip p {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.variety {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
  padding-bottom: clamp(92px, 9vw, 132px);
}

.variety-copy h2 {
  margin-bottom: 18px;
}

.menu-week {
  padding: 22px;
  overflow: hidden;
}

.week-header {
  padding-bottom: 20px;
}

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

.dish-card {
  min-height: 208px;
  border-radius: 14px;
  overflow: hidden;
  background: #0e1213;
}

.dish-card img {
  width: 100%;
  height: 118px;
  object-fit: cover;
}

.dish-card div {
  padding: 12px;
}

.dish-card.featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 428px;
}

.dish-card.featured img {
  height: 316px;
}

.dish-card.featured strong {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.variety-caption {
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.5;
}

.process {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(40px, 8vw, 112px);
  align-items: start;
  padding-top: clamp(98px, 11vw, 156px);
  padding-bottom: clamp(98px, 11vw, 156px);
}

.process-copy {
  position: sticky;
  top: 124px;
}

.process-copy h2,
.shopping-intro h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.process-copy > p:last-child,
.shopping-intro > p:last-child {
  max-width: 480px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.process-flow {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  list-style: none;
  background: var(--line);
}

.process-flow li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  min-height: 154px;
  padding: 24px;
  background: var(--surface);
}

.process-flow li:hover {
  background: #161d19;
}

.process-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(154, 216, 61, 0.35);
  border-radius: 50%;
  color: #d7f7a0;
  font-size: 12px;
  font-weight: 850;
}

.process-flow small {
  display: block;
  margin-bottom: 7px;
  color: #c9f27d;
  font-size: 12px;
  font-weight: 760;
}

.process-flow h3 {
  margin-bottom: 7px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.process-flow p {
  max-width: 500px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.52;
}

.shopping {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(38px, 7vw, 94px);
  align-items: center;
  padding-top: clamp(96px, 10vw, 144px);
  padding-bottom: clamp(110px, 12vw, 170px);
}

.shopping-calculator {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.ingredient-heading {
  padding: 24px 26px 22px;
  border-bottom: 1px solid var(--line);
}

.ingredient-heading span,
.shopping-total span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.ingredient-heading h3 {
  margin: 5px 0 0;
  font-size: 28px;
  letter-spacing: -0.025em;
}

.recipe-amounts {
  display: grid;
  padding: 8px 26px;
}

.recipe-amounts div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 52px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-soft);
  font-size: 15px;
}

.recipe-amounts b {
  color: var(--text);
}

.shopping-total {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 8px;
  background: var(--line);
}

.shopping-total > div {
  min-height: 112px;
  padding: 20px 24px;
  background: #0d1112;
}

.shopping-total strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 28px;
  letter-spacing: -0.03em;
}

.shopping-total .buy-total {
  background: var(--accent);
}

.shopping-total .buy-total span,
.shopping-total .buy-total strong,
.shopping-total .buy-total small {
  color: #11150d;
}

.shopping-total small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 760;
}

.shopping-benefits {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.shopping-benefits li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-size: 14px;
}

.shopping-benefits li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.personalization,
.result {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(400px, 1.18fr);
  gap: clamp(40px, 8vw, 108px);
  align-items: center;
  padding-top: clamp(98px, 11vw, 158px);
  padding-bottom: clamp(98px, 11vw, 158px);
}

.personalization-copy h2,
.result-intro h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.personalization-copy > p:last-child,
.result-intro > p:last-child {
  max-width: 470px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.preferences-form {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}

.survey-topline {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 14px 22px;
  background: #0d1112;
}

.survey-title {
  display: flex;
  align-items: center;
  gap: 11px;
}

.question-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(154, 216, 61, 0.12);
  color: #c9f27d;
}

.question-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.survey-title small {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 11px;
}

.survey-title strong {
  display: block;
  font-size: 15px;
}

.survey-progress {
  color: #c9f27d;
  font-size: 12px;
  font-weight: 760;
}

.form-section {
  min-width: 0;
  margin: 0;
  padding: 22px;
  border: 0;
  background: var(--surface);
}

.form-section.wide {
  grid-column: span 2;
}

.field-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 780;
}

.field-title .question-icon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}

.field-title .question-icon svg {
  width: 14px;
  height: 14px;
}

.choice-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.choice-row label,
.tag-row label {
  position: relative;
  cursor: pointer;
}

.choice-row input,
.tag-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-row span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0d1112;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.choice-row.compact span {
  min-height: 34px;
  padding: 0 10px;
}

.choice-row input:checked + span,
.tag-row input:checked + span {
  border-color: var(--accent);
  background: var(--accent);
  color: #11150d;
}

.exclusions input:checked + span {
  border-color: rgba(255, 128, 109, 0.6);
  background: rgba(255, 128, 109, 0.14);
  color: #ffb1a6;
}

.household-summary {
  display: grid;
  gap: 4px;
  margin-top: 16px;
}

.household-summary strong {
  color: #d7f7a0;
  font-size: 15px;
}

.household-summary span {
  color: var(--muted);
  font-size: 13px;
}

.form-summary {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 18px 22px;
  background: #142015;
}

.form-summary span {
  color: #c9f27d;
  font-size: 14px;
}

.form-summary strong {
  color: var(--text);
  font-size: 17px;
}

.result-overview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.result-overview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.result-overview-head > div > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.result-overview-head h3 {
  margin: 5px 0 0;
  font-size: 28px;
  letter-spacing: -0.025em;
}

.result-list {
  display: grid;
}

.result-list article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 112px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.result-list article:last-child {
  border-bottom: 0;
}

.result-index {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(154, 216, 61, 0.12);
  color: #d7f7a0;
  font-size: 12px;
  font-weight: 850;
}

.result-list h4 {
  margin: 0 0 5px;
  color: var(--text);
  font-size: 19px;
  letter-spacing: -0.015em;
}

.result-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.budget-saved {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-top: 9px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(154, 216, 61, 0.12);
  color: #c9f27d;
  font-size: 12px;
  font-weight: 760;
}

.benefits {
  padding-top: clamp(82px, 8vw, 112px);
  padding-bottom: clamp(82px, 8vw, 112px);
}

.benefits-heading {
  max-width: 840px;
  margin: 0 auto 34px;
  text-align: center;
}

.benefits-heading h2,
.proof-copy h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.benefits-heading p {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.benefit-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.benefit-summary li {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 178px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.benefit-summary li:last-child { border-right: 0; }

.benefit-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(154, 216, 61, 0.44);
  border-radius: 50%;
  background: rgba(154, 216, 61, 0.12);
  color: #c9f27d;
}

.benefit-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.benefit-summary p,
.benefit-summary h3 {
  margin: 0;
}

.benefit-summary h3 {
  color: var(--text);
  font-size: 18px;
  line-height: 1.18;
}

.benefit-summary h3 + p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  padding-top: clamp(84px, 9vw, 124px);
  padding-bottom: clamp(88px, 10vw, 136px);
}

.proof-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.proof-copy h2 {
  max-width: 740px;
}

.proof-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}

.proof-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 15px;
  font-weight: 760;
}

.proof-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.proof-brand img {
  width: 48px;
  height: 48px;
  padding: 4px;
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
}

.proof-people {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}

.avatar-stack {
  display: flex;
  padding-left: 2px;
}

.avatar {
  width: 38px;
  height: 38px;
  margin-left: -8px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  object-fit: cover;
}

.avatar:first-child { margin-left: 0; }

.proof-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-metrics article {
  min-height: 108px;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}

.proof-metrics article:last-child {
  border-right: 0;
}

.proof-metrics strong {
  display: block;
  margin-bottom: 14px;
  color: #d7f7a0;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.proof-metrics span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.38;
}

.pricing {
  padding-top: clamp(100px, 11vw, 156px);
  padding-bottom: clamp(100px, 11vw, 156px);
}

.pricing-heading,
.faq-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.pricing-heading h2,
.faq-heading h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

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

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.price-card-featured {
  border-color: rgba(154, 216, 61, 0.55);
  background: linear-gradient(145deg, rgba(154, 216, 61, 0.12), var(--surface) 48%);
}

.price-card-top span,
.price-card-top p,
.price-card ul { margin: 0; }

.price-card-top span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.price-card-top em {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(154, 216, 61, 0.16);
  color: #c9f27d;
  font-size: 11px;
  font-style: normal;
}

.price-card-top strong {
  display: block;
  margin-top: 14px;
  color: var(--text);
  font-size: clamp(42px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.price-card-top p { margin-top: 10px; color: var(--muted); font-size: 15px; }

.price-card ul {
  display: grid;
  gap: 13px;
  margin-top: 38px;
  padding: 0;
  list-style: none;
}

.price-card li { color: var(--text-soft); font-size: 15px; }
.price-card li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 10px 1px 0; border-radius: 50%; background: var(--accent); }

.price-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid rgba(154, 216, 61, 0.5);
  border-radius: 10px;
  color: #c9f27d;
  font-size: 16px;
  font-weight: 800;
}

.price-action-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #101410;
}

.faq {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(400px, 1.25fr);
  gap: clamp(50px, 10vw, 150px);
  align-items: start;
  padding-top: clamp(100px, 11vw, 156px);
  padding-bottom: clamp(100px, 11vw, 156px);
}

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; color: var(--text); font-size: 18px; font-weight: 720; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: #c9f27d; font-size: 26px; font-weight: 400; transition: transform 220ms ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { max-width: 620px; margin: -3px 42px 22px 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

.final-cta {
  padding-top: clamp(106px, 12vw, 170px);
  padding-bottom: clamp(106px, 12vw, 170px);
}

.final-cta-inner {
  max-width: 940px;
  padding: clamp(38px, 7vw, 86px);
  border: 1px solid rgba(154, 216, 61, 0.45);
  border-radius: 18px;
  background: linear-gradient(130deg, rgba(154, 216, 61, 0.17), rgba(154, 216, 61, 0.04) 62%, var(--surface));
  text-align: center;
}

.final-cta-inner .section-note { margin-right: auto; margin-left: auto; }
.final-cta-inner > p:not(.section-note) { max-width: 520px; margin: 20px auto 30px; color: var(--muted); font-size: 18px; line-height: 1.5; }

.site-footer {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 1fr;
  align-items: center;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px clamp(24px, 4vw, 48px) 36px;
  border-top: 1px solid var(--line);
}

.not-found {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 100vh;
  max-width: 760px;
}

.not-found h1 {
  margin: 16px 0;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.not-found > p:not(.section-note) {
  max-width: 480px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.footer-product { max-width: 260px; }
.footer-product b { display: block; color: var(--text); font-size: 16px; }
.footer-product p { margin: 7px 0 16px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.footer-product small { color: var(--muted); font-size: 11px; line-height: 1.55; }
.footer-column { display: grid; align-content: start; justify-items: start; gap: 9px; }
.footer-column > b { margin-bottom: 4px; color: var(--text); font-size: 12px; }
.site-footer a, .footer-meta { color: var(--muted); font-size: 13px; }
.site-footer a:hover, .footer-meta a:hover { color: var(--text); }
.footer-documents { justify-self: end; }

@media (prefers-reduced-motion: no-preference) {
  .proof.is-visible .proof-metrics article {
    animation: proof-metric-in 500ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .proof.is-visible .proof-metrics article:nth-child(2) {
    animation-delay: 90ms;
  }

  .proof.is-visible .proof-metrics article:nth-child(3) {
    animation-delay: 180ms;
  }
}

@keyframes proof-metric-in {
  from {
    opacity: 0.25;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes routine-column-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes routine-step-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-shift {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes shine-shift {
  0%,
  35% {
    transform: translateX(-100%);
  }
  70%,
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 1060px) {
  .hero,
  .variety,
  .process,
  .shopping,
  .personalization,
  .result,
  .proof,
  .faq {
    grid-template-columns: 1fr;
  }

  .product-showcase {
    min-height: 610px;
  }

  .routine-map {
    grid-template-columns: 1fr;
  }

  .routine-shift {
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto;
    min-height: 52px;
  }

  .routine-shift span {
    width: 100%;
    height: 1px;
    min-height: 1px;
  }

  .routine-shift b {
    transform: rotate(90deg);
  }

  .process-copy {
    position: static;
  }

  .shopping-benefits {
    grid-column: auto;
  }

  .form-section.wide,
  .form-summary,
  .survey-topline {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .topbar {
    height: 64px;
    padding: 0 20px;
  }

  .brand {
    width: 58px;
    height: 58px;
  }

  .account-actions {
    gap: 7px;
  }

  .account-actions a {
    padding: 8px 10px;
    font-size: 12px;
  }

  .screen {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-copy,
  .product-showcase,
  .section-heading,
  .variety-copy,
  .menu-week,
  .process-copy,
  .process-flow,
  .shopping-intro,
  .shopping-calculator,
  .shopping-benefits,
  .personalization-copy,
  .preferences-form,
  .result-intro,
  .result-overview,
  .proof-copy,
  .proof-panel {
    width: 100%;
    max-width: calc(100vw - 40px);
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(34px, 9.6vw, 40px);
    line-height: 1.06;
  }

  .cta {
    width: 100%;
  }

  .product-showcase {
    display: grid;
    gap: 14px;
    min-height: auto;
    padding: 16px;
    border-radius: 18px;
  }

  .product-showcase::before,
  .showcase-rail {
    display: none;
  }

  .product-card {
    position: relative;
    inset: auto;
    width: auto;
  }

  .shopping-card {
    order: 2;
  }

  .menu-card {
    order: 1;
  }

  .recipe-card {
    order: 3;
  }

  .recipe-card > img {
    height: 160px;
  }

  .nutrition-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading {
    justify-items: start;
    text-align: left;
  }

  .section-heading h2,
  .variety-copy h2 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .section-heading > p:last-child,
  .variety-copy > p:last-child {
    font-size: 16px;
  }

  .routine-column {
    padding: 18px;
  }

  .result-strip {
    justify-content: flex-start;
  }

  .dish-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dish-card,
  .dish-card.featured {
    grid-column: auto;
    grid-row: auto;
    min-height: 206px;
  }

  .dish-card img,
  .dish-card.featured img {
    height: 120px;
  }

  .dish-card.featured strong {
    font-size: 14px;
    letter-spacing: 0;
  }

  .process,
  .shopping,
  .personalization,
  .result,
  .proof {
    gap: 34px;
  }

  .process-copy h2,
  .shopping-intro h2 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .process-copy > p:last-child,
  .shopping-intro > p:last-child {
    font-size: 16px;
  }

  .process-flow li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 18px;
  }

  .process-number {
    width: 36px;
    height: 36px;
    font-size: 11px;
  }

  .process-flow h3 {
    font-size: 21px;
  }

  .shopping-calculator {
    border-radius: 14px;
  }

  .ingredient-heading,
  .recipe-amounts {
    padding-right: 18px;
    padding-left: 18px;
  }

  .shopping-total > div {
    min-height: 96px;
    padding: 18px;
  }

  .preferences-form {
    grid-template-columns: 1fr;
  }

  .form-section,
  .form-section.wide,
  .form-summary,
  .survey-topline {
    grid-column: auto;
  }

  .form-summary {
    min-height: 64px;
  }

  .personalization-copy h2,
  .result-intro h2 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .personalization-copy > p:last-child,
  .result-intro > p:last-child {
    font-size: 16px;
  }

  .result-list article {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 18px;
  }

  .benefits-heading {
    margin-bottom: 38px;
    text-align: left;
  }

  .benefits-heading h2,
  .proof-copy h2,
  .pricing-heading h2,
  .faq-heading h2,
  .final-cta h2 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .proof-copy {
    display: block;
  }

  .benefits-heading p { margin-top: 14px; font-size: 16px; }
  .benefit-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-summary li { min-height: 156px; padding: 20px; }
  .benefit-summary li:nth-child(2) { border-right: 0; }
  .benefit-summary li:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .benefit-summary h3 { font-size: 17px; }

  .proof-people { margin-top: 20px; font-size: 14px; }

  .proof-metrics { grid-template-columns: 1fr; }
  .proof-metrics article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-metrics article:last-child { border-bottom: 0; }

  .proof-metrics article {
    min-height: 126px;
    padding: 18px 14px;
  }

  .proof-metrics strong {
    font-size: 36px;
  }

  .proof-metrics span {
    font-size: 12px;
  }

  .pricing-heading,
  .faq-heading { margin-bottom: 32px; }

  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { min-height: 0; padding: 26px 22px; }
  .price-card ul { margin-top: 28px; }
  .price-action { margin-top: 30px; padding-top: 0; }
  .price-action-primary { padding: 15px 18px; }

  .faq { gap: 28px; }
  .faq-list summary { padding: 18px 0; font-size: 16px; }
  .faq-list p { margin-right: 18px; font-size: 14px; }

  .final-cta-inner { padding: 42px 24px; }
  .final-cta-inner > p:not(.section-note) { font-size: 16px; }

  .site-footer { grid-template-columns: 1fr; justify-items: start; gap: 24px; padding: 22px 20px 32px; }
  .footer-column { gap: 10px; }
  .footer-documents { justify-self: start; }
  .footer-meta { flex-wrap: wrap; justify-content: flex-start; gap: 8px 16px; }

}

/* Account access */
.auth-page { min-height: 100vh; background: var(--bg); }
.auth-topbar { max-width: 1280px; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, 510px); gap: clamp(60px, 10vw, 150px); align-items: center; min-height: calc(100vh - 160px); padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(64px, 8vw, 110px); }
.auth-intro { max-width: 520px; }
.auth-intro h1 { margin: 16px 0; font-size: clamp(46px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.04em; }
.auth-intro > p:not(.section-note) { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.52; }
.auth-intro ul { display: grid; gap: 11px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--text); font-size: 15px; }
.auth-intro li { display: flex; align-items: center; gap: 10px; }
.auth-intro li::before { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); content: ''; }
.auth-panel { padding: clamp(24px, 4vw, 38px); border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.auth-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 9px; background: #0d1210; }
.auth-switch button { min-height: 40px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 780; cursor: pointer; }
.auth-switch button[aria-selected="true"] { background: var(--accent); color: #10150e; }
.auth-pane { padding-top: 32px; }
.auth-eyebrow { margin: 0 0 8px; color: #c9f27d; font-size: 13px; font-weight: 760; }
.auth-pane h2 { margin: 0; color: var(--text); font-size: clamp(31px, 4vw, 40px); line-height: 1.08; letter-spacing: -0.03em; }
.auth-copy { margin: 10px 0 24px; color: var(--muted); font-size: 15px; line-height: 1.48; }
.auth-form { display: grid; gap: 14px; }
.auth-form .cta { justify-content: center; width: 100%; margin-top: 8px; }
.auth-recovery { justify-self: start; color: #d7f7a0; font-size: 13px; font-weight: 720; text-decoration: underline; text-underline-offset: 3px; }
.consent-optional { margin-top: 2px; }

@media (max-width: 820px) {
  .auth-layout { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .auth-intro { max-width: 620px; }
  .auth-panel { max-width: 540px; width: 100%; }
}

@media (max-width: 430px) {
  .auth-layout { padding-top: 58px; padding-bottom: 58px; }
  .auth-intro h1 { font-size: 42px; }
  .auth-intro > p:not(.section-note) { font-size: 16px; }
  .auth-intro ul { display: none; }
  .auth-panel { padding: 18px; }
  .auth-pane { padding-top: 24px; }
}

@media (max-width: 430px) {
  .screen {
    padding-top: 70px;
    padding-bottom: 82px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-copy,
  .product-showcase,
  .section-heading,
  .variety-copy,
  .menu-week,
  .process-copy,
  .process-flow,
  .shopping-intro,
  .shopping-calculator,
  .shopping-benefits,
  .personalization-copy,
  .preferences-form,
  .result-intro,
  .result-overview,
  .proof-copy,
  .proof-panel {
    width: min(100%, 330px);
    max-width: 330px;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }

  .section-note {
    margin-bottom: 16px;
    font-size: 12px;
  }

  .benefit-list {
    gap: 8px;
  }

  .benefit-list li {
    min-height: 32px;
    font-size: 13px;
  }

  .product-showcase {
    padding: 14px;
  }

  .product-card header,
  .recipe-body {
    padding: 16px;
  }

  .shopping-list {
    padding: 4px 16px 14px;
  }

  .telegram-row {
    margin: 0 16px 16px;
  }

  .meal {
    grid-template-columns: 62px 1fr;
    padding: 10px 16px;
  }

  .meal img {
    width: 62px;
    height: 52px;
  }

  .day-tabs {
    padding-right: 16px;
    padding-left: 16px;
  }

  .dish-grid {
    gap: 10px;
  }

  .menu-week {
    padding: 16px;
  }
}

/* Legal pages and consent UI */
.legal-page { min-height: 100vh; background: var(--bg); }
.legal-topbar { max-width: 1280px; }
.legal-back { color: var(--muted); font-size: 14px; font-weight: 720; }
.legal-back:hover { color: var(--text); }
.legal-content { max-width: 900px; padding-top: clamp(72px, 8vw, 112px); }
.legal-content h1 { max-width: 760px; margin: 16px 0 34px; font-size: clamp(42px, 6vw, 72px); line-height: 1.03; letter-spacing: -0.035em; }
.legal-content > p { max-width: 720px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.legal-content section { max-width: 760px; margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal-content h2 { margin: 0 0 16px; color: var(--text); font-size: clamp(24px, 3vw, 32px); line-height: 1.16; letter-spacing: -0.02em; }
.legal-content h3 { margin: 24px 0 8px; color: var(--text); font-size: 18px; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 16px; line-height: 1.62; }
.legal-content ul, .legal-content ol { display: grid; gap: 8px; margin: 0; padding-left: 22px; }
.legal-content a { color: #c9f27d; text-decoration: underline; text-underline-offset: 3px; }
.legal-placeholder { padding: 14px 16px; border-left: 2px solid #c9f27d; background: rgba(154, 216, 61, 0.07); color: #d7f7a0 !important; }
.legal-placeholder b { color: #efffcf; }
.legal-notice { padding: 0 18px 2px; border-left: 2px solid var(--accent); }
.legal-notice p { color: var(--text); }
.legal-requisites { padding-bottom: 10px; }
.legal-footer { display: flex; flex-wrap: wrap; gap: 12px 20px; max-width: 1280px; margin: 0 auto; padding: 28px clamp(24px, 4vw, 48px) 38px; border-top: 1px solid var(--line); }
.legal-footer a, .cookie-settings-link { color: var(--muted); font-size: 13px; }
.legal-footer a:hover, .cookie-settings-link:hover { color: var(--text); }
.cookie-settings-link { padding: 0; border: 0; background: transparent; cursor: pointer; font-family: inherit; text-decoration: underline; text-underline-offset: 3px; }

.cookie-banner { position: fixed; right: 24px; bottom: 24px; z-index: 20; width: min(560px, calc(100vw - 48px)); padding: 20px; border: 1px solid rgba(201, 242, 125, 0.35); border-radius: 14px; background: #141a17; box-shadow: 0 20px 64px rgba(0, 0, 0, 0.42); }
.cookie-banner[hidden], .cookie-modal[hidden] { display: none; }
.cookie-banner p { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.cookie-banner a { color: #d7f7a0; text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner-actions, .cookie-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-button { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--text); font: inherit; font-size: 13px; font-weight: 760; cursor: pointer; }
.cookie-button:hover { border-color: rgba(201, 242, 125, 0.5); }
.cookie-primary { border-color: var(--accent); background: var(--accent); color: #10150e; }
.cookie-text { border-color: transparent; color: #d7f7a0; }
.cookie-modal { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 20px; }
.cookie-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(4px); }
.cookie-dialog { position: relative; width: min(620px, 100%); max-height: min(760px, calc(100vh - 40px)); overflow: auto; padding: clamp(24px, 5vw, 36px); border: 1px solid var(--line); border-radius: 14px; background: #121715; box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5); }
.cookie-dialog h2 { margin: 10px 0 8px; font-size: clamp(30px, 5vw, 42px); letter-spacing: -0.03em; }
.cookie-dialog-copy { margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.cookie-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; }
.cookie-category { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); cursor: pointer; }
.cookie-category input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.cookie-category b { display: block; color: var(--text); font-size: 16px; }
.cookie-category small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.42; }
.cookie-dialog-actions { margin-top: 18px; }
.has-cookie-modal { overflow: hidden; }

.mvp-states { max-width: 1180px; }
.states-heading { max-width: 720px; margin-bottom: 64px; }
.states-heading h1 { margin: 16px 0; font-size: clamp(42px, 6vw, 72px); line-height: 1.03; letter-spacing: -0.035em; }
.states-heading > p:not(.section-note) { color: var(--muted); font-size: 17px; line-height: 1.55; }
.state-section { margin-top: 24px; padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.state-section-head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.state-section-head > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(154, 216, 61, 0.13); color: #c9f27d; font-size: 12px; font-weight: 850; }
.state-section-head h2 { margin: 0; font-size: 24px; letter-spacing: -0.02em; }
.consent-form { display: grid; max-width: 670px; gap: 14px; margin-top: 24px; }
.form-label { display: grid; gap: 8px; color: var(--text); font-size: 14px; font-weight: 720; }
.form-label input { min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: #0c100f; color: var(--text); font: inherit; }
.consent-check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: var(--muted); font-size: 14px; line-height: 1.45; cursor: pointer; }
.consent-check input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--accent); }
.consent-check a { color: #d7f7a0; text-decoration: underline; text-underline-offset: 2px; }
.consent-form .cta { justify-self: start; margin-top: 6px; }
.consent-form .cta:disabled { cursor: not-allowed; opacity: 0.42; filter: grayscale(1); }
.form-message { margin: 0; padding: 12px 14px; border-left: 2px solid var(--accent); background: rgba(154, 216, 61, 0.08); color: #d7f7a0; font-size: 14px; line-height: 1.45; }
.checkout-grid { display: grid; grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; margin-top: 24px; }
.checkout-summary { padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: #0e1311; }
.checkout-summary h3 { margin: 8px 0; font-size: 25px; }
.checkout-summary > b { color: #d7f7a0; font-size: 28px; }
.checkout-summary .legal-placeholder { margin: 18px 0 0; font-size: 13px; line-height: 1.45; }
.status-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.status-card, .empty-state { padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #0e1311; }
.status-card > span { color: var(--muted); font-size: 13px; }
.status-card h3, .empty-state h3 { margin: 9px 0 8px; font-size: 20px; letter-spacing: -0.015em; }
.status-card p, .empty-state p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.status-success { border-color: rgba(154, 216, 61, 0.45); }
.status-success h3 { color: #d7f7a0; }
.status-pending { border-color: rgba(240, 190, 91, 0.46); }
.status-pending h3 { color: #f2cc85; }
.status-error { border-color: rgba(226, 120, 114, 0.5); }
.status-error h3, .status-cancelled h3 { color: #f1b0aa; }
.status-cancelled { border-color: rgba(226, 120, 114, 0.3); }
.text-action { margin-top: 14px; padding: 0; border: 0; background: transparent; color: #d7f7a0; font: inherit; font-size: 14px; font-weight: 760; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.empty-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.empty-state { display: grid; justify-items: start; min-height: 220px; }
.empty-state > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(154, 216, 61, 0.12); color: #c9f27d; }
.empty-state .cta { align-self: end; margin-top: 20px; }

@media (max-width: 720px) {
  .legal-content { padding-top: 64px; }
  .legal-content h1 { font-size: clamp(37px, 11vw, 52px); }
  .legal-content p, .legal-content li { font-size: 15px; }
  .legal-footer { padding: 24px 20px 32px; }
  .cookie-banner { right: 12px; bottom: 12px; width: calc(100vw - 24px); padding: 16px; }
  .cookie-banner-actions, .cookie-dialog-actions { display: grid; grid-template-columns: 1fr; }
  .cookie-button { width: 100%; }
  .checkout-grid, .status-grid, .empty-grid { grid-template-columns: 1fr; }
  .state-section { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .routine-column,
  .routine-column li,
  .routine-shift b,
  .routine-shift b::before {
    animation: none !important;
  }
}

/* Full light theme: color only, shared layout remains unchanged. */
body.light-v2 .routine-column,
body.light-v2 .menu-week,
body.light-v2 .shopping-calculator,
body.light-v2 .result-overview,
body.light-v2 .proof-panel,
body.light-v2 .price-card,
body.light-v2 .auth-panel,
body.light-v2 .state-section {
  background: #ffffff;
}

body.light-v2 .routine-column li,
body.light-v2 .dish-card,
body.light-v2 .shopping-total > div,
body.light-v2 .survey-topline,
body.light-v2 .choice-row span,
body.light-v2 .tag-row span,
body.light-v2 .form-summary,
body.light-v2 .auth-switch,
body.light-v2 .form-label input,
body.light-v2 .checkout-summary,
body.light-v2 .status-card,
body.light-v2 .empty-state {
  background: #f7faf2;
}

body.light-v2 .routine-column.old li {
  background: #fff3f5;
}

body.light-v2 .old h3,
body.light-v2 .old li::before,
body.light-v2 .exclusions input:checked + span,
body.light-v2 .status-error h3,
body.light-v2 .status-cancelled h3 {
  color: #a73550;
}

body.light-v2 .old li::before {
  background: #f8dce3;
}

body.light-v2 .new h3,
body.light-v2 .process-flow small,
body.light-v2 .price-card-top em,
body.light-v2 .budget-saved,
body.light-v2 .household-summary strong,
body.light-v2 .survey-progress {
  color: #365f27;
}

body.light-v2 .new li {
  background: #eef7e6;
}

body.light-v2 .new li::before,
body.light-v2 .routine-shift b,
body.light-v2 .result-strip span {
  color: #18331a;
}

body.light-v2 .process-flow li:hover {
  background: #f1f7e9;
}

body.light-v2 .process-number,
body.light-v2 .benefit-icon,
body.light-v2 .result-index,
body.light-v2 .question-icon,
body.light-v2 .state-section-head > span,
body.light-v2 .empty-state > span {
  border-color: #bcd49f;
  background: #eaf4dd;
  color: #365f27;
}

body.light-v2 .dish-card strong,
body.light-v2 .meal strong {
  color: #203426;
}

body.light-v2 .shopping-total .buy-total {
  background: #7ebd37;
}

body.light-v2 .shopping-total .buy-total span,
body.light-v2 .shopping-total .buy-total strong,
body.light-v2 .shopping-total .buy-total small,
body.light-v2 .choice-row input:checked + span,
body.light-v2 .tag-row input:checked + span {
  color: #18331a;
}

body.light-v2 .form-summary {
  border-top: 1px solid #c9d8b7;
}

body.light-v2 .form-summary span {
  color: #365f27;
}

body.light-v2 .exclusions input:checked + span {
  border-color: #d47b8d;
  background: #fff0f3;
}

body.light-v2 .proof-metrics strong {
  color: #365f27;
}

body.light-v2 .price-card-featured {
  border-color: #a9cb85;
  background: #f4faed;
}

body.light-v2 .price-action {
  border-color: #b8d69a;
  color: #365f27;
}

body.light-v2 .price-action-primary {
  border-color: #7ebd37;
  background: #7ebd37;
  color: #18331a;
}

body.light-v2 .faq-list summary span,
body.light-v2 .auth-eyebrow,
body.light-v2 .auth-recovery,
body.light-v2 .consent-check a,
body.light-v2 .text-action {
  color: #365f27;
}

body.light-v2 .legal-content a {
  color: #365f27;
}

body.light-v2 .legal-placeholder,
body.light-v2 .form-message {
  border-left-color: #f0b639;
  background: #fff7df;
  color: #69531c !important;
}

body.light-v2 .legal-placeholder b {
  color: #564214;
}

body.light-v2 .cookie-banner,
body.light-v2 .cookie-dialog {
  border-color: #c9d8b7;
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(56, 78, 46, 0.12);
}

body.light-v2 .cookie-banner p,
body.light-v2 .cookie-dialog-copy {
  color: #51634d;
}

body.light-v2 .cookie-banner a,
body.light-v2 .cookie-text {
  color: #365f27;
}

body.light-v2 .cookie-modal-backdrop {
  background: rgba(32, 52, 38, 0.28);
}

body.light-v2 .status-success h3 {
  color: #365f27;
}

body.light-v2 .status-pending h3 {
  color: #8d6517;
}

.generation-ready[hidden] { display: none; }

.result-actions{align-items:center}.result-actions .result-back{display:inline-flex;align-items:center;gap:7px;border-color:#bfd7a7;color:#365f27}.result-actions .result-back span{font-size:16px;line-height:1}.result-actions button{display:inline-flex;align-items:center;gap:7px}.result-action-icon{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#edf5e6;color:#365f27;font-size:11px;line-height:1}.result-action-icon.telegram{background:#e4f1f8;color:#2777b0;font-size:10px}.result-shopping-head>div:last-child button{display:inline-flex;align-items:center;gap:6px}

.result-page{background:#fcfcf8}.result-document{width:min(1160px,calc(100% - 48px));margin:auto;padding:24px 0 70px}.result-topbar{display:flex;align-items:center;justify-content:space-between;padding-bottom:20px;border-bottom:1px solid var(--line-soft)}.result-brand{display:flex;align-items:center;gap:10px;color:var(--text);font-size:15px;font-weight:900;text-decoration:none}.result-brand img{border-radius:7px}.result-actions{display:flex;gap:10px}.result-actions a,.result-actions button,.result-shopping button{min-height:38px;padding:0 12px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--text-soft);font:inherit;font-size:12px;font-weight:850;text-decoration:none}.result-actions button{color:#365f27;cursor:pointer}.result-intro{display:flex;align-items:end;justify-content:space-between;gap:24px;padding:48px 0 30px}.result-intro p,.result-cook-head p,.result-shopping-head p{margin:0 0 7px;color:#365f27;font-size:12px;font-weight:850}.result-intro h1{margin:0;color:var(--text);font-size:44px;line-height:1.04;letter-spacing:0}.result-intro>div>span{display:block;margin-top:12px;color:var(--muted);font-size:13px}.result-intro aside{display:grid;gap:4px;padding:14px 16px;border-radius:7px;background:#edf5e6}.result-intro aside b{color:#365f27;font-size:18px}.result-intro aside span{color:#527142;font-size:12px;font-weight:750}.result-tabs,.result-cooks{display:flex;gap:8px}.result-tabs{margin-bottom:11px}.result-tabs button,.result-cooks button{min-height:42px;padding:0 15px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--text-soft);font:inherit;font-size:13px;font-weight:850}.result-tabs .is-active{background:#426f28;border-color:#426f28;color:#fff}.result-cooks{margin-bottom:22px}.result-cooks button{display:grid;justify-items:start;gap:2px;min-width:152px;padding:8px 14px;text-align:left}.result-cooks button span{color:var(--muted);font-size:11px}.result-cooks .is-active{border-color:#a4c889;background:#edf5e6;color:#365f27}.result-cook-head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 22px;border:1px solid var(--line-soft);border-radius:8px;background:#fff}.result-cook-head h2,.result-shopping h2{margin:0;color:var(--text);font-size:22px;letter-spacing:0}.result-nutrition{display:flex;align-items:center;gap:14px}.result-donut{position:relative;display:grid;place-items:center;width:82px;aspect-ratio:1;border-radius:50%}.result-donut:before{content:'';position:absolute;width:57px;aspect-ratio:1;border-radius:50%;background:#fff}.result-donut span{position:relative;color:var(--text);font-size:13px;font-weight:900;text-align:center}.result-donut small{display:block;color:var(--muted);font-size:9px}.result-nutrition ul{display:flex;gap:7px;margin:0;padding:0;list-style:none}.result-nutrition li{padding:5px 7px;border-radius:4px;font-size:10px;font-weight:800}.result-nutrition .protein{background:#f9e1e6;color:#a62f4d}.result-nutrition .fat{background:#fff0d4;color:#a66d10}.result-nutrition .carbs{background:#eaf4dd;color:#426f28}.result-meal-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}.result-meal-grid article{display:flex;flex-direction:column;min-height:250px;padding:17px;border:1px solid var(--line-soft);border-radius:8px;background:#fff}.result-meal-grid p{margin:0;color:#527142;font-size:12px;font-weight:850}.result-meal-grid h3{min-height:48px;margin:12px 0;color:var(--text);font-size:18px;line-height:1.2;letter-spacing:0}.result-meal-grid ul{display:grid;gap:6px;margin:0;padding:0;list-style:none}.result-meal-grid li{display:flex;justify-content:space-between;gap:7px;color:var(--text-soft);font-size:11px}.result-meal-grid li b{color:var(--text);white-space:nowrap}.result-meal-grid a{margin-top:auto;padding-top:15px;color:#365f27;font-size:12px;font-weight:850;text-decoration:none}.result-shopping{margin-top:34px;padding:22px;border:1px solid var(--line-soft);border-radius:8px;background:#fff}.result-shopping-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:16px}.result-shopping-head>div:last-child{display:flex;gap:8px}.result-shopping table{width:100%;border-collapse:collapse;font-size:13px}.result-shopping th{padding:0 10px 10px;color:var(--muted);font-size:11px;text-align:left}.result-shopping td{padding:11px 10px;border-top:1px solid var(--line-soft);color:var(--text-soft)}.result-shopping th:not(:first-child),.result-shopping td:not(:first-child){text-align:right}.result-total{display:flex;justify-content:flex-end;gap:13px;margin:14px 10px 0;color:var(--text-soft);font-size:13px}.result-total b{color:var(--text);font-size:17px}@media(max-width:900px){.result-meal-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:580px){.result-document{width:min(100% - 24px,640px);padding-top:14px}.result-topbar{align-items:start}.result-brand span,.result-actions a{display:none}.result-intro{align-items:start;flex-direction:column;padding:32px 0 24px}.result-intro h1{font-size:34px}.result-cook-head{align-items:start;flex-direction:column;padding:18px}.result-nutrition{width:100%;justify-content:space-between}.result-meal-grid{grid-template-columns:1fr}.result-meal-grid article{min-height:0}.result-meal-grid h3{min-height:0}.result-shopping{padding:18px}.result-shopping-head{align-items:start;flex-direction:column}.result-shopping table{min-width:500px}.result-shopping{overflow-x:auto}}@media print{.result-actions,.result-tabs,.result-cooks,.result-shopping-head>div:last-child{display:none!important}.result-document{width:100%;padding:0}.result-topbar{padding-bottom:12px}.result-intro{padding:24px 0}.result-cook[hidden]{display:none!important}.result-meal-grid{gap:8px}.result-meal-grid article{min-height:190px;padding:12px}.result-shopping{break-inside:avoid}.result-page{background:#fff}}

.questionnaire-content{max-width:1060px;padding-top:30px}.questionnaire-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.questionnaire-progress{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px;font-weight:850}.questionnaire-progress>div{width:150px;height:5px;overflow:hidden;border-radius:999px;background:#edf0e9}.questionnaire-progress i{display:block;width:25%;height:100%;border-radius:inherit;background:var(--accent);transition:width .2s ease}.questionnaire-layout{display:grid;grid-template-columns:minmax(0,1fr) 258px;gap:22px;align-items:start}.questionnaire-form{min-height:520px;padding:32px;border:1px solid var(--line-soft);border-radius:8px;background:#fff}.question-kicker{margin:0 0 9px;color:#365f27;font-size:12px;font-weight:850}.question-step h1{margin:0;color:var(--text);font-size:32px;letter-spacing:0}.question-description{margin:9px 0 28px;color:var(--muted);font-size:14px;line-height:1.5}.question-step fieldset{margin:0 0 24px;padding:0;border:0}.question-step legend{margin:0 0 10px;color:var(--text-soft);font-size:13px;font-weight:850}.answer-row{display:flex;flex-wrap:wrap;gap:8px}.answer-row button,.exclusion-chips button{min-height:42px;padding:0 14px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--text-soft);font:inherit;font-size:13px;font-weight:800;cursor:pointer}.answer-row button:hover,.exclusion-chips button:hover{border-color:#a5c986;background:#f8fbf3}.answer-row button.is-selected,.exclusion-chips button.is-selected{border-color:#426f28;background:#426f28;color:#fff}.answer-row-wide button{flex:1 1 160px}.answer-row-wide small{display:block;margin-top:4px;color:var(--muted);font-size:11px}.answer-row-wide .is-selected small{color:#e8f4dd}.container-note{display:flex;align-items:center;gap:11px;padding:14px 15px;border-radius:7px;background:#f5f8f1;color:#426f28}.container-note p{margin:0;font-size:12px;line-height:1.45}.exclusion-groups{display:grid;gap:18px}.exclusion-groups p{margin:0 0 8px;color:var(--muted);font-size:12px;font-weight:800}.exclusion-chips{display:flex;flex-wrap:wrap;gap:7px}.exclusion-chips button{min-height:36px;padding:0 10px;font-size:12px}.budget-options button{display:grid;justify-items:start;min-height:76px}.budget-options b{color:var(--accent-deep);font-size:17px}.budget-options .is-selected b{color:#d7f7a1}.question-review{padding:16px;border-radius:7px;background:#f6f9f2}.question-review p{margin:0 0 9px;color:#365f27;font-size:12px;font-weight:850}.question-review ul{display:grid;gap:6px;margin:0;padding:0;list-style:none;color:var(--text-soft);font-size:13px}.question-review li::before{content:'•';margin-right:8px;color:var(--accent-deep)}.question-actions{display:flex;justify-content:space-between;gap:12px;margin-top:30px}.question-actions .cta{min-width:160px;margin-left:auto}.question-back{min-height:44px;padding:0 10px;border:0;background:transparent;color:var(--muted);font:inherit;font-size:13px;font-weight:850;cursor:pointer}.question-summary{position:sticky;top:22px;padding:20px;border:1px solid #dce7d1;border-radius:8px;background:#f8fbf4}.question-summary>p{margin:0 0 7px;color:#365f27;font-size:12px;font-weight:850}.question-summary h2{margin:0 0 20px;color:var(--text);font-size:22px}.question-summary dl{display:grid;gap:14px;margin:0}.question-summary dl div{display:grid;gap:3px}.question-summary dt{color:var(--muted);font-size:11px;font-weight:750}.question-summary dd{margin:0;color:var(--text-soft);font-size:13px;font-weight:800;line-height:1.35}
.answer-row-wide button{flex:0 1 164px}.budget-options button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:64px;text-align:center}.budget-options b{line-height:1}.exclusion-chips button.is-selected{position:relative;border-color:#b42318;background:#fff1f0;color:#9c1c16}.exclusion-chips button.is-selected:hover{border-color:#8d1e16;background:#ffe5e2}.exclusion-chips button.is-diet-exclusion{padding-right:30px}.exclusion-chips button.is-diet-exclusion::after{content:'×';position:absolute;right:10px;font-size:17px;font-weight:500;line-height:1}.exclusion-chips button:disabled{opacity:1}.exclusion-chips button.is-limit-disabled{border-color:#e4e7e3;background:#f6f7f5;color:#969c96;cursor:not-allowed}.exclusion-limit{margin:12px 0 0;color:#7a4540;font-size:12px;line-height:1.4}
.result-meal-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.result-meal-grid .result-meal-card.salad{border-top:4px solid #4c9986}.result-meal-grid .result-meal-card.salad p{color:#287061}
@media(max-width:900px){.result-meal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:580px){.result-meal-grid{grid-template-columns:1fr}}
.more-ingredients-row{display:block!important}.more-ingredients{display:inline-flex;align-items:center;gap:6px;margin-top:9px;padding:0;border:0;background:transparent;color:#365f27;font:inherit;font-size:12px;font-weight:900;cursor:pointer}.more-ingredients:hover{background:transparent;color:var(--accent-deep)}.more-ingredients span{font-size:15px;line-height:1}.ingredient-extra{display:flex;animation:ingredient-reveal .18s ease-out}.ingredient-extra[hidden]{display:none}.meal-kbju-100{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:10px;padding:9px;border:1px solid #dce8d5;border-radius:6px;background:#f8fbf5;color:#365f27;font-size:10px;font-weight:800}.meal-kbju-100 span{flex:0 0 100%;color:#6b7c70;font-size:10px;font-weight:850}.meal-kbju-100 b{flex:1 1 68px;min-width:0;padding:5px 6px;border-radius:999px;text-align:center;white-space:normal;overflow-wrap:anywhere}.meal-kbju-100 b:nth-of-type(1){background:#e7f0df}.meal-kbju-100 b:nth-of-type(2){background:#f9e1e6;color:#a62f4d}.meal-kbju-100 b:nth-of-type(3){background:#fff0d4;color:#a66d10}.meal-kbju-100 b:nth-of-type(4){background:#eaf4dd;color:#426f28}.result-meal-card,.meal-card{transition:transform .2s ease,box-shadow .2s ease}.result-meal-card:hover,.meal-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(52,78,42,.12)}.meal-symbol{width:32px;height:32px;font-size:0;border:1px solid rgba(66,111,40,.12);box-shadow:0 2px 6px rgba(52,78,42,.08)}.meal-symbol::before{font-size:17px}.meal-card.breakfast .meal-symbol::before{content:'☀️'}.meal-card.salad .meal-symbol::before{content:'🥗'}.meal-card.soup .meal-symbol::before{content:'🍲'}.meal-card.main-course .meal-symbol::before{content:'🍽️'}.meal-card.dinner .meal-symbol::before{content:'🌙'}.result-meal-card{border-top:4px solid #9abf79!important}.result-meal-card.salad{border-top-color:#4c9986!important}.result-meal-card.soup{border-top-color:#e7b144!important}.result-meal-card.main-course{border-top-color:#c84662!important}.result-meal-card.dinner{border-top-color:#658d67!important}.result-meal-grid .result-meal-card .meal-kbju-100{margin-top:auto}.shopping-disclaimer{max-width:760px;margin:14px 10px 0;color:var(--muted);font-size:12px;line-height:1.45}.result-actions button span,.result-shopping button span{font-size:16px;line-height:1}.result-page [data-result-view][hidden],.shopping-section[data-shopping-view][hidden]{display:none!important}@keyframes ingredient-reveal{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.ingredient-extra,.result-meal-card,.meal-card{animation:none;transition:none}.result-meal-card:hover,.meal-card:hover{transform:none;box-shadow:none}}
@media(max-width:840px){.questionnaire-layout{grid-template-columns:1fr}.question-summary{position:static;order:-1;display:flex;align-items:center;gap:16px}.question-summary h2{margin:0}.question-summary dl{display:flex;flex-wrap:wrap;gap:12px 18px}.question-summary dl div{display:block}.question-summary dt{display:none}}
@media(max-width:430px){.questionnaire-content{padding-top:20px}.questionnaire-top{align-items:start;flex-direction:column;gap:14px}.questionnaire-form{min-height:0;padding:22px 18px}.question-step h1{font-size:29px}.question-summary{display:block;padding:16px}.question-summary h2{margin:0 0 13px}.question-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:10px}.question-summary dl div{display:grid;gap:2px}.question-summary dt{display:block}.question-actions .cta{flex:1;min-width:0}.answer-row-wide button{flex:1 1 calc(50% - 4px)}.budget-options{display:grid;grid-template-columns:1fr 1fr}.budget-options button{min-width:0}}

.generating-page{min-height:100vh;background:#fcfcf8}.generating-shell{position:relative;display:grid;grid-template-columns:minmax(280px,1fr) minmax(420px,1.15fr);align-items:center;gap:60px;min-height:100vh;width:min(1120px,calc(100% - 64px));margin:auto}.generating-brand{position:absolute;top:26px;left:0}.generating-brand img{display:block;border-radius:8px}.generating-copy h1{margin:0;color:var(--text);font-size:54px;line-height:1.02;letter-spacing:0}.generating-text{min-height:24px;margin:22px 0 30px;color:var(--text-soft);font-size:16px;font-weight:750}.generating-error{min-height:20px;margin:18px 0 0;color:#a33d3d;font-size:13px;font-weight:750}.generating-retry{display:inline-block;margin-top:8px;color:#365f27;font-size:13px;font-weight:850}.generation-steps{display:flex;gap:9px}.generation-steps span{padding:7px 9px;border-radius:999px;background:#eef1eb;color:var(--muted);font-size:11px;font-weight:850}.generation-steps .is-current{background:#e3f1d5;color:#365f27}.generation-visual{position:relative;display:grid;place-items:center;min-height:460px;overflow:hidden;border:1px solid #dbe6d0;border-radius:8px;background:#f7fbf2}.generation-orbit{position:absolute;border:1px solid #d8e8cd;border-radius:50%}.orbit-one{width:390px;aspect-ratio:1}.orbit-two{width:290px;aspect-ratio:1;border-style:dashed}.visual-stage{position:absolute;display:grid;opacity:0;transform:translateY(12px) scale(.96);transition:opacity .38s ease,transform .38s ease}.visual-stage.is-active{opacity:1;transform:none}.preferences-stage{grid-template-columns:repeat(2,1fr);gap:10px;width:280px}.preference-chip{padding:14px;border:1px solid #cbdcc0;border-radius:7px;background:#fff;color:#365f27;font-size:13px;font-weight:850}.preference-chip:last-child{grid-column:1 / -1}.menu-stage{grid-template-columns:1fr 1fr;gap:10px;width:320px}.menu-stage article{display:grid;gap:7px;min-height:104px;padding:16px;border:1px solid #dbe5d3;border-radius:7px;background:#fff}.menu-stage article:nth-child(3){grid-column:1 / -1}.menu-stage span{color:#6eac34;font-size:12px;font-weight:850}.menu-stage b{color:var(--text);font-size:15px}.nutrition-stage{justify-items:center;gap:20px}.generation-donut{position:relative;display:grid;place-items:center;width:190px;aspect-ratio:1;border-radius:50%;background:conic-gradient(#c84662 0 32%,#f0b639 32% 64%,#7ebd37 64% 100%)}.generation-donut i{position:absolute;width:132px;aspect-ratio:1;border-radius:50%;background:#f7fbf2}.generation-donut span{position:relative;color:var(--text);font-size:18px;font-weight:900;text-align:center}.generation-donut small{display:block;margin-top:3px;color:var(--muted);font-size:10px}.generation-macros{display:flex;gap:9px}.generation-macros b{display:flex;align-items:center;gap:5px;color:var(--text-soft);font-size:11px}.generation-macros i{width:8px;aspect-ratio:1;border-radius:50%;background:#c84662}.generation-macros b:nth-child(2) i{background:#f0b639}.generation-macros b:nth-child(3) i{background:#7ebd37}.shopping-stage{gap:8px;width:280px}.shopping-stage div{display:flex;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #e0e8da;background:#fff;color:var(--text-soft);font-size:13px}.shopping-stage div:first-child{border-radius:7px 7px 0 0}.shopping-stage div:last-child{border:0;border-radius:0 0 7px 7px}.shopping-stage b{color:var(--text)}.generation-ready{position:absolute;z-index:4;display:flex;align-items:center;gap:11px;padding:16px 18px;border:1px solid #a8c886;border-radius:8px;background:#fff}.generation-ready span{display:grid;place-items:center;width:30px;aspect-ratio:1;border-radius:50%;background:#426f28;color:#fff;font-weight:900}.generation-ready b,.generation-ready small{display:block}.generation-ready small{margin-top:3px;color:var(--muted);font-size:12px}@media(max-width:720px){.generating-shell{grid-template-columns:1fr;gap:24px;align-content:center;width:min(100% - 32px,520px);padding:80px 0 42px}.generating-brand{top:18px}.generating-copy h1{font-size:42px}.generation-visual{min-height:360px}.orbit-one{width:310px}.orbit-two{width:230px}.generation-steps{flex-wrap:wrap}}
