@font-face { font-family: "Onest"; font-weight: 100 900; font-display: swap; src: url(../fonts/onest-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 100 900; font-display: swap; src: url(../fonts/onest-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair"; font-weight: 600; font-display: swap; src: url(../fonts/playfair-cyrillic-600.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair"; font-weight: 600; font-display: swap; src: url(../fonts/playfair-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2212; }
@font-face { font-family: "Playfair"; font-weight: 700; font-display: swap; src: url(../fonts/playfair-cyrillic-700.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair"; font-weight: 700; font-display: swap; src: url(../fonts/playfair-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2212; }
@font-face { font-family: "Marck"; font-display: swap; src: url(../fonts/marck-cyrillic.woff2) format("woff2"); unicode-range: U+0400-045F; }
@font-face { font-family: "Marck"; font-display: swap; src: url(../fonts/marck-latin.woff2) format("woff2"); unicode-range: U+0000-00FF; }

:root {
  --bg: #F4EFE7;
  --surface: #FFFFFF;
  --surface-2: #FAF7F2;
  --ink: #231B19;
  --ink-2: #5E5450;
  --muted: #8B7F78;
  --line: #E8E0D6;
  --line-soft: #F0EAE2;
  --brand: #A4123F;
  --brand-deep: #7A0D30;
  --brand-soft: #F7E4EA;
  --brand-ink: #FFF5F8;
  --gold: #B98A3E;
  --gold-deep: #8A6425;
  --gold-soft: #F3E7D0;
  --ok: #2F7D5B;
  --ok-soft: #E2F0E8;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgb(58 20 31 / 5%), 0 14px 32px -20px rgb(58 20 31 / 28%);
  --shadow-lift: 0 2px 4px rgb(58 20 31 / 8%), 0 24px 48px -24px rgb(58 20 31 / 40%);
  --display: "Playfair", Georgia, "Times New Roman", serif;
  --body: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;
  --hand: "Marck", cursive;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tabbar-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
:focus-visible { outline: 3px solid rgb(164 18 63 / 35%); outline-offset: 2px; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.noscript { padding: 40px 20px; text-align: center; }

/* ---------- App shell ---------- */
.app { min-height: 100dvh; padding-bottom: calc(var(--tabbar-h) + var(--safe-bottom) + 24px); }
.app-bar {
  position: sticky; top: 0; z-index: 20;
  padding-top: var(--safe-top);
  background: rgb(244 239 231 / 88%);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.app-bar.is-scrolled { border-bottom-color: var(--line); }
.app-bar__inner { max-width: 1120px; margin: 0 auto; height: 60px; padding: 0 16px; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 12px; background: var(--brand); color: #fff;
  display: grid; place-items: center; box-shadow: 0 6px 14px -8px var(--brand);
}
.brand__mark svg { width: 26px; height: 26px; fill: currentColor; stroke: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__name { font: 700 17px/1.1 var(--display); letter-spacing: .06em; }
.brand__sub { font-size: 12px; color: var(--muted); white-space: nowrap; }
.topnav { display: none; }
.icon-btn {
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2);
  display: inline-grid; place-items: center; transition: background .15s, color .15s;
}
.icon-btn:hover { background: var(--brand-soft); color: var(--brand); }
.icon-btn:active { transform: scale(.94); }

.demo-banner {
  max-width: 1120px; margin: 6px 16px 0; padding: 14px 16px; display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: center;
  background: linear-gradient(135deg, #FBF1DE, var(--gold-soft)); color: var(--gold-deep); border-radius: 20px;
  box-shadow: 0 10px 24px -18px rgb(138 100 37 / 60%); border: 1px solid #E9D3AB;
}
.demo-banner__icon { width: 42px; height: 42px; border-radius: 14px; background: #fff; display: grid; place-items: center; color: var(--gold); }
.demo-banner__text { font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.demo-banner__text b { display: block; font-size: 15px; color: var(--gold-deep); }
.demo-banner__actions { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.demo-banner__actions .btn { height: auto; min-height: 44px; padding-block: 8px; line-height: 1.2; flex: 1; min-width: 200px; font-size: 14px; }

.screens { max-width: 1120px; margin: 0 auto; padding: 8px 16px 0; }
.screen { animation: screen-in .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes screen-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 6px 8px calc(6px + var(--safe-bottom));
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgb(255 255 255 / 92%);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-top: 1px solid var(--line);
}
.tab {
  border: 0; background: none; height: 52px; border-radius: 16px; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .01em; position: relative;
}
.tab svg { width: 24px; height: 24px; }
.tab[aria-current="page"] { color: var(--brand); }
.tab[aria-current="page"]::before {
  content: ""; position: absolute; top: 4px; width: 44px; height: 30px; border-radius: 999px; background: var(--brand-soft); z-index: -1;
}
.tab__badge {
  position: absolute; top: 4px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--brand); color: #fff; font-size: 11px; line-height: 18px; text-align: center;
}

/* ---------- Typography ---------- */
.h-display { font: 700 30px/1.08 var(--display); margin: 0; letter-spacing: -.01em; }
.h-section { font: 700 21px/1.15 var(--display); margin: 0; }
.eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hand { font-family: var(--hand); color: var(--brand); }

/* ---------- Cards & blocks ---------- */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 14px; }
.card__pad { padding: 18px; }
.card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 18px 10px; }
.card__head p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.stack { display: grid; gap: 14px; }
.note { font-size: 13px; color: var(--ink-2); line-height: 1.55; padding: 12px 14px; background: var(--surface-2); border-radius: 14px; }
.note--gold { background: var(--gold-soft); color: var(--gold-deep); }
.note b { color: var(--ink); }

/* Hero summary */
.hero {
  position: relative; overflow: hidden; color: #fff; border-radius: 26px; padding: 20px 18px 18px; margin-bottom: 14px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgb(255 255 255 / 14%) 0 30%, transparent 31%),
    radial-gradient(80% 80% at 0% 100%, rgb(185 138 62 / 35%), transparent 70%),
    linear-gradient(150deg, #B3164A, var(--brand) 45%, var(--brand-deep));
  box-shadow: 0 20px 40px -24px rgb(122 13 48 / 80%);
}
.hero__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hero__name {
  display: inline-flex; align-items: center; gap: 6px; border: 0; background: rgb(255 255 255 / 14%); color: #fff;
  border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; max-width: 70%;
}
.hero__name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero__name svg { width: 15px; height: 15px; opacity: .8; }
.hero__count { font-size: 12.5px; opacity: .85; }
.hero__mass { font: 700 52px/1 var(--display); margin: 16px 0 2px; letter-spacing: -.02em; }
.hero__mass small { font: 500 18px var(--body); margin-left: 6px; opacity: .8; letter-spacing: 0; }
.hero__sub { font-size: 13.5px; opacity: .88; }
.hero__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.hero__stat span { display: flex; align-items: center; gap: 6px; font-size: 12px; opacity: .85; }
.hero__stat strong { display: block; font: 700 22px/1.2 var(--display); margin-top: 2px; }
.hero__stat strong small { font: 500 12px var(--body); opacity: .8; margin-left: 2px; }
.dot { width: 8px; height: 8px; border-radius: 3px; display: inline-block; }
.dot--p { background: #FFD9A8; } .dot--f { background: #F6A9BF; } .dot--c { background: #CFE0AE; }
.energy-bar { display: flex; height: 8px; border-radius: 8px; overflow: hidden; gap: 3px; margin-top: 16px; background: rgb(255 255 255 / 18%); }
.energy-bar i { display: block; height: 100%; transition: flex-grow .4s cubic-bezier(.2, .8, .2, 1); }
.energy-bar .p { background: #FFD9A8; } .energy-bar .f { background: #F6A9BF; } .energy-bar .c { background: #CFE0AE; }
.hero__foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 12px; opacity: .85; }
.portion-pill {
  margin-top: 16px; width: 100%; border: 0; border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 12px;
  background: rgb(255 255 255 / 95%); color: var(--ink); text-align: left;
}
.portion-pill__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.portion-pill__icon svg { width: 26px; height: 26px; fill: var(--brand); stroke: none; }
.portion-pill b { font: 700 20px/1.1 var(--display); color: var(--brand); }
.portion-pill small { display: block; font-size: 12px; color: var(--muted); }
.portion-pill > svg { margin-left: auto; color: var(--muted); }

/* Ingredient list */
.ing-list { list-style: none; margin: 0; padding: 0 6px; }
.ing {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 40px; align-items: center; gap: 8px;
  padding: 8px 6px 8px 12px; border-top: 1px solid var(--line-soft);
}
.ing:first-child { border-top: 0; }
.ing__main { border: 0; background: none; padding: 6px 0; text-align: left; min-width: 0; width: 100%; display: block; overflow: hidden; }
.ing__name { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qty { position: relative; display: flex; align-items: center; }
.qty input {
  width: 96px; height: 46px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2);
  padding: 0 28px 0 10px; text-align: right; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums;
  transition: border-color .15s, box-shadow .15s, background .15s; appearance: none; -moz-appearance: textfield;
}
.qty input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-soft); }
.qty input[aria-invalid="true"] { border-color: var(--brand); background: var(--brand-soft); }
.qty input:disabled { opacity: 1; color: var(--ink-2); background: var(--surface-2); }
.qty__unit { position: absolute; right: 10px; font-size: 13px; color: var(--muted); pointer-events: none; }
.ing__del { color: var(--muted); }
.add-btn {
  margin: 8px 12px 14px; width: calc(100% - 24px); height: 54px; border-radius: 16px; border: 1.5px dashed #D2C6B8;
  background: transparent; color: var(--brand); font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .15s, border-color .15s;
}
.add-btn:hover { background: var(--brand-soft); border-color: var(--brand); }
.list-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 18px 16px; font-size: 13px; color: var(--muted); }
.text-btn { border: 0; background: none; padding: 8px 0; color: var(--brand); font-weight: 700; font-size: 13.5px; }
.empty { padding: 26px 20px 8px; text-align: center; color: var(--muted); font-size: 14px; }
.empty strong { display: block; font: 700 19px var(--display); color: var(--ink); margin-bottom: 4px; }
.error-line { margin: 0 18px 12px; padding: 10px 12px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-deep); font-size: 13px; }

/* Buttons */
.btn {
  height: 50px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px;
  transition: background .15s, border-color .15s, color .15s, transform .1s; text-decoration: none;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 10px 20px -12px var(--brand); }
.btn--primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn--soft { background: var(--brand-soft); border-color: transparent; color: var(--brand); }
.btn--block { width: 100%; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-row .btn { flex: 1; min-width: 140px; height: auto; min-height: 50px; padding-block: 8px; line-height: 1.25; text-align: center; }

/* Segmented control & chips */
.seg { display: flex; padding: 4px; gap: 4px; background: #ECE5DB; border-radius: 999px; }
.seg button {
  flex: 1; white-space: nowrap; border: 0; background: none; border-radius: 999px; min-height: 40px; padding: 6px 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  line-height: 1.2;
}
.seg button[aria-pressed="true"] { background: #fff; color: var(--brand); box-shadow: 0 2px 8px rgb(35 27 25 / 10%); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 10px; margin: 0 -16px; scrollbar-width: none; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; font-size: 13.5px;
  font-weight: 600; color: var(--ink-2); scroll-snap-align: start; white-space: nowrap;
}
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Search */
.search { position: relative; margin-bottom: 12px; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input {
  width: 100%; height: 52px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface);
  padding: 0 44px 0 48px; font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.search__clear { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); }

/* Product rows */
.plist { list-style: none; margin: 0; padding: 0; }
.prow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line-soft); }
.prow:first-child { border-top: 0; }
.prow__main { flex: 1; min-width: 0; border: 0; background: none; text-align: left; padding: 2px 0; }
.prow__name { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.prow__meta { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; font-variant-numeric: tabular-nums; }
.prow__add { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.prow__add:hover { background: var(--brand); color: #fff; }
.prow__tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--gold-soft); color: var(--gold-deep); vertical-align: 1px; }
.count-line { font-size: 13px; color: var(--muted); margin: 2px 2px 10px; }

/* Analysis */
.cat-card { display: grid; gap: 14px; }
.cat-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cat-row label { font-weight: 600; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--ink-2); }
.stepper input {
  width: 84px; height: 46px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--surface-2); text-align: center;
  font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums;
}
.stepper input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.kcal-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--ink-2); }
.kcal-line input { width: 92px; height: 40px; border-radius: 12px; border: 1.5px solid var(--line); text-align: center; font-weight: 700; background: var(--surface-2); font-variant-numeric: tabular-nums; }
.kcal-line input:focus { outline: none; border-color: var(--brand); }
.portion-result { display: grid; gap: 2px; padding: 14px 16px; border-radius: 18px; background: var(--brand-soft); color: var(--brand-deep); }
.portion-result__value { display: flex; align-items: baseline; gap: 8px; }
.portion-result b { font: 700 36px/1 var(--display); color: var(--brand); }
.portion-result span { font-size: 14px; }
.portion-result strong { font-size: 17px; font-weight: 700; color: var(--brand); }

.guides { padding: 4px 0; }
.guide-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line-soft); }
.guide-row:first-child { border-top: 0; }
.guide-row__label { font-weight: 600; font-size: 15px; }
.guide-row__target { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.guide-row__right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.guide-row__value { font: 700 22px/1.1 var(--display); }
.guide-row .status { margin-top: 0; }
.status { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 3px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.status svg { width: 13px; height: 13px; stroke-width: 2.4; }
.status--ok { background: var(--ok-soft); color: var(--ok); }
.status--low { background: var(--gold-soft); color: var(--gold-deep); }
.status--high { background: var(--brand-soft); color: var(--brand-deep); }

.nut-group { padding: 6px 0 4px; }
.nut-group__title { padding: 14px 18px 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.nut { border-top: 1px solid var(--line-soft); }
.nut__btn { width: 100%; border: 0; background: none; text-align: left; padding: 12px 18px; display: grid; gap: 8px; }
.nut__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.nut__name { font-weight: 600; font-size: 15px; }
.nut__amount { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 15px; white-space: nowrap; }
.nut__amount small { font-weight: 500; color: var(--muted); font-size: 12.5px; margin-left: 3px; }
.meter { display: grid; grid-template-columns: minmax(0, 1fr) 54px; align-items: center; gap: 10px; }
.meter__track { position: relative; height: 8px; border-radius: 8px; background: var(--line-soft); }
.meter__fill { position: absolute; inset: 0 auto 0 0; border-radius: 8px; background: var(--ok); max-width: 100%; transition: width .4s cubic-bezier(.2, .8, .2, 1); }
.meter__fill.is-low { background: var(--gold); }
.meter__norm { position: absolute; top: -3px; bottom: -3px; width: 2px; border-radius: 2px; background: var(--ink); opacity: .55; }
.meter__fediaf { position: absolute; top: 50%; width: 10px; height: 10px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; border: 2px solid var(--brand); }
.meter__pct { font-size: 13px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.meter__pct.is-low { color: var(--gold-deep); }
.meter__pct.is-ok { color: var(--ok); }
.nut__none { font-size: 12.5px; color: var(--muted); }
.nut__detail { padding: 0 18px 14px; display: none; }
.nut.is-open .nut__detail { display: block; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 13.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0 18px 14px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; vertical-align: middle; margin-right: 5px; }
.legend .l-norm { width: 2px; height: 12px; background: var(--ink); opacity: .55; }
.legend .l-fediaf { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--brand); }
.legend .l-ok { width: 14px; height: 6px; border-radius: 3px; background: var(--ok); }
.legend .l-low { width: 14px; height: 6px; border-radius: 3px; background: var(--gold); }

/* Help / author */
.author { display: grid; grid-template-columns: 116px 1fr; gap: 14px; align-items: end; overflow: hidden; }
.author__photo { position: relative; height: 150px; }
.author__photo::before { content: ""; position: absolute; inset: 22px 0 0; border-radius: 60px 60px 18px 18px; background: linear-gradient(160deg, var(--gold-soft), #E9D3AB); }
.author__photo img { position: relative; display: block; width: 116px; height: 150px; object-fit: cover; object-position: 50% 0; }
.author__text { padding-bottom: 12px; }
.author__name { font: 400 32px/1.1 var(--hand); color: var(--brand); margin: 4px 0 6px; }
.author__role { font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.bullets { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.bullets li::marker { color: var(--brand); }
.sources { font-size: 13px; color: var(--ink-2); line-height: 1.55; display: grid; gap: 8px; }
.sources p { margin: 0; }
details.fold { border-top: 1px solid var(--line-soft); }
details.fold summary { list-style: none; cursor: pointer; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; }
details.fold summary::-webkit-details-marker { display: none; }
details.fold summary svg { color: var(--muted); transition: transform .2s; }
details.fold[open] summary svg { transform: rotate(180deg); }
details.fold > div { padding: 0 18px 18px; }
.install-steps { display: grid; gap: 10px; font-size: 14px; }
.install-steps b { color: var(--brand); }
.foot { text-align: center; font-size: 12px; color: var(--muted); padding: 14px 0 6px; }


/* Welcome */
.welcome {
  position: relative; overflow: hidden; border-radius: 28px; margin-bottom: 16px; padding: 22px 18px 0;
  display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 4px 10px;
  background:
    radial-gradient(90% 80% at 100% 100%, rgb(164 18 63 / 12%), transparent 60%),
    linear-gradient(160deg, #FFFFFF, #FBF3EE);
  box-shadow: var(--shadow);
}
.welcome__text { padding-bottom: 20px; min-width: 0; }
.welcome__title { font: 700 28px/1.08 var(--display); margin: 8px 0 10px; letter-spacing: -.01em; }
.welcome__title em { font-style: normal; color: var(--brand); }
.welcome__lead { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.welcome__facts { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.welcome__facts li { font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.welcome__facts b { color: var(--brand); }
.welcome__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.welcome__actions .btn { height: 46px; font-size: 14.5px; }
.welcome__photo { position: relative; align-self: end; height: 150px; }
.welcome__photo::before { content: ""; position: absolute; left: -6px; right: -6px; bottom: 0; height: 128px; border-radius: 70px 70px 0 0;
  background: linear-gradient(165deg, #C21A52, var(--brand) 55%, var(--brand-deep)); }
.welcome__photo img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: 150px; width: auto; filter: drop-shadow(0 10px 14px rgb(35 27 25 / 25%)); }
.welcome__close { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; z-index: 2; background: rgb(255 255 255 / 80%); }
.welcome__sign { font-size: 21px; margin-top: 12px; }
@media (max-width: 899px) {
  .welcome { display: block; padding: 18px 16px 16px; }
  .welcome__head { min-height: 158px; padding-right: 118px; }
  .welcome__title { font-size: 26px; margin-bottom: 12px; }
  .welcome__actions .btn svg { display: none; }
  .welcome__text { padding-bottom: 0; }
  .welcome__lead { font-size: 14px; }
  .welcome__photo { position: absolute; right: 8px; top: 44px; width: 116px; height: 128px; }
  .welcome__photo::before { left: 8px; right: 8px; height: 104px; border-radius: 52px 52px 16px 16px; }
  .welcome__photo img { height: 128px; }
  .welcome__actions .btn { flex: 1; padding: 0 12px; }
  .welcome__sign { display: none; }
}
@media (max-width: 380px) {
  .welcome__actions .btn { font-size: 13.5px; padding: 0 8px; }
}

/* Footer */
.site-footer { max-width: 1120px; margin: 24px auto 0; padding: 0 16px; }
.site-footer__card { background: var(--ink); color: #F4EFE7; border-radius: 26px; padding: 22px 20px; display: grid; gap: 16px; }
.site-footer__brand { display: flex; align-items: center; gap: 12px; }
.site-footer__brand .brand__mark { box-shadow: none; }
.site-footer__name { font: 700 18px/1.1 var(--display); letter-spacing: .06em; }
.site-footer__sub { font-size: 12.5px; color: #C9BDB3; margin-top: 3px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer__links a, .site-footer__links button {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid #4A3F3B;
  background: #2E2522; color: #F4EFE7; font-size: 14px; font-weight: 600; text-decoration: none;
}
.site-footer__links a:hover, .site-footer__links button:hover { border-color: #E9D3AB; }
.site-footer__links svg { width: 18px; height: 18px; }
.site-footer__fine { font-size: 12px; color: #A89C94; line-height: 1.6; }

/* ---------- Sheet ---------- */
.sheet-layer { position: fixed; inset: 0; z-index: 60; }
.sheet-backdrop { position: absolute; inset: 0; background: rgb(35 27 25 / 38%); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fade-in .2s ease-out; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: calc(100dvh - var(--safe-top) - 24px);
  display: flex; flex-direction: column; background: var(--bg); border-radius: 26px 26px 0 0;
  box-shadow: var(--shadow-lift); animation: sheet-in .28s cubic-bezier(.2, .8, .2, 1); outline: none;
}
.sheet--tall { height: calc(100dvh - var(--safe-top) - 24px); }
.sheet__grip { width: 40px; height: 5px; border-radius: 3px; background: #D8CEC2; margin: 8px auto 0; flex: none; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px 6px 20px; flex: none; }
.sheet__title { font: 700 22px/1.2 var(--display); margin: 0; }
.sheet__body { overflow-y: auto; overscroll-behavior: contain; padding: 4px 16px calc(20px + var(--safe-bottom)); -webkit-overflow-scrolling: touch; }
.sheet__sticky { position: sticky; top: -4px; z-index: 2; background: var(--bg); padding-top: 4px; }
@keyframes sheet-in { from { transform: translateY(100%); } to { transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
body.has-sheet { overflow: hidden; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input {
  height: 52px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--surface); padding: 0 14px; font-size: 16px;
}
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field__hint { font-size: 12.5px; color: var(--muted); }
.recipe { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line-soft); }
.recipe:first-child { border-top: 0; }
.recipe__main { flex: 1; min-width: 0; border: 0; background: none; text-align: left; padding: 2px 0; }
.recipe__name { display: block; font-weight: 700; }
.recipe__meta { display: block; font-size: 12.5px; color: var(--muted); }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list button { width: 100%; border: 0; background: none; display: flex; align-items: center; gap: 14px; padding: 14px 16px; font-weight: 600; text-align: left; border-top: 1px solid var(--line-soft); }
.menu-list li:first-child button { border-top: 0; }
.menu-list svg { color: var(--brand); }
.menu-list small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); }

/* ---------- Gate (access) ---------- */
.gate { min-height: 100dvh; padding: calc(var(--safe-top) + 12px) 20px calc(var(--safe-bottom) + 24px); display: flex; flex-direction: column; align-items: center; }
.gate__inner { width: 100%; max-width: 420px; display: flex; flex-direction: column; flex: 1; }
.gate__hero { position: relative; height: 300px; margin: 8px 0 -8px; display: flex; justify-content: center; }
.gate__arch { position: absolute; bottom: 0; width: 290px; height: 280px; border-radius: 145px 145px 28px 28px; background: linear-gradient(165deg, #C21A52, var(--brand) 55%, var(--brand-deep)); box-shadow: 0 30px 60px -30px rgb(122 13 48 / 80%); }
.gate__arch::after { content: ""; position: absolute; inset: 12px; border-radius: 133px 133px 20px 20px; border: 1.5px solid rgb(233 211 171 / 55%); }
.gate__hero img { position: relative; height: 300px; width: auto; filter: drop-shadow(0 18px 24px rgb(35 27 25 / 25%)); }
.gate__card { background: var(--surface); border-radius: 26px; padding: 22px 20px 20px; box-shadow: var(--shadow-lift); position: relative; }
.gate__title { font: 700 27px/1.1 var(--display); margin: 6px 0 8px; }
.gate__lead { margin: 0 0 18px; color: var(--ink-2); font-size: 14.5px; }
.gate__error { margin: -4px 0 12px; font-size: 13.5px; color: var(--brand-deep); background: var(--brand-soft); border-radius: 12px; padding: 10px 12px; }
.gate__error p { margin: 0; }
.contact-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.contact-chips a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--brand); font-weight: 600; font-size: 13.5px; text-decoration: none;
}
.contact-chips svg { width: 16px; height: 16px; }
.hero-sign {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%) rotate(-5deg); white-space: nowrap;
  font-size: 26px; color: #fff; text-shadow: 0 2px 10px rgb(60 0 20 / 55%);
}
.gate__wait { margin: -4px 0 12px; font-size: 13.5px; color: var(--gold-deep); background: var(--gold-soft); border-radius: 12px; padding: 10px 12px; }
.gate__alt { display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.gate__alt-title { margin: 0 0 2px; text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.gate__back { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
.gate__paid { width: 52px; height: 52px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin-bottom: 10px; }
.gate__paid svg { width: 28px; height: 28px; stroke-width: 2.4; }
.gate__ios { margin: -6px 0 16px; }
.gate__help { text-align: center; margin: 20px 0 8px; font-size: 13.5px; color: var(--ink-2); }
.gate__contacts { justify-content: center; }
.gate__sign { text-align: center; margin-top: 18px; color: var(--muted); font-size: 12.5px; }
.gate__sign .hand { font-size: 22px; display: block; }

/* ---------- Landing: the gate for someone who has not bought yet ---------- */
.btn--light { background: #FBF6EF; border-color: #FBF6EF; color: var(--ink); }
.btn--light:hover { background: #fff; }
.gate[data-view="landing"] { display: block; padding: 0 0 calc(var(--safe-bottom) + 28px); }
.land { max-width: 1120px; margin: 0 auto; padding: 0 16px; display: grid; gap: 16px; }
.land .card { margin: 0; }
.land-bar {
  position: sticky; top: 0; z-index: 20; margin: 0 -16px; padding: var(--safe-top) 16px 0;
  background: rgb(244 239 231 / 90%); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.land-bar__inner { height: 60px; display: flex; align-items: center; gap: 12px; }
.land-bar__login { height: 42px; padding: 0 16px; font-size: 14px; gap: 6px; flex: none; }
.land-bar__login svg { width: 18px; height: 18px; }

.land-hero { display: grid; }
.land-hero__photo { position: relative; height: 230px; display: flex; justify-content: center; }
.land-hero__photo .gate__arch { width: 226px; height: 212px; border-radius: 113px 113px 24px 24px; }
.land-hero__photo .gate__arch::after { border-radius: 101px 101px 16px 16px; }
.land-hero__photo img { position: relative; height: 230px; width: auto; filter: drop-shadow(0 18px 24px rgb(35 27 25 / 25%)); }
.land-hero__text { position: relative; margin-top: -8px; background: var(--surface); border-radius: 26px; padding: 22px 20px 18px; box-shadow: var(--shadow-lift); }
.land-hero__title { font: 700 30px/1.08 var(--display); margin: 8px 0 10px; letter-spacing: -.01em; text-wrap: balance; }
.land-hero__title em { font-style: normal; color: var(--brand); }
.land-hero__lead { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.land-cta { display: grid; gap: 8px; margin-top: 18px; }
.land-cta .btn { gap: 8px; }
.land-terms { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--muted); text-wrap: balance; }

.land-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.land-facts li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.land-facts b { display: block; font: 700 22px/1.15 var(--display); color: var(--brand); margin-bottom: 2px; }

.land-dark { background: var(--ink); color: #F4EFE7; border-radius: 26px; padding: 24px 20px; display: grid; gap: 18px; }
.land-dark__hand { margin: 0; font-size: 26px; color: #F0B9CB; }
.land-dark__title { font: 700 26px/1.12 var(--display); margin: 4px 0 14px; text-wrap: balance; }
.land-dark__side { display: grid; gap: 14px; align-content: start; }
.land-dark__side p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #C9BDB3; }
.land-mix { display: flex; flex-wrap: wrap; gap: 6px; }
.land-mix span { padding: 6px 12px; border-radius: 999px; border: 1px solid #4A3F3B; background: #2E2522; font-size: 13.5px; font-weight: 600; }
.land-mix--light { margin: 8px 0; }
.land-mix--light span { border-color: var(--line); background: var(--surface-2); color: var(--ink-2); font-size: 12.5px; }
.land-questions { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.land-questions li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15.5px; }
.land-questions li::before {
  content: "?"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #F4EFE7; color: var(--brand);
  display: grid; place-items: center; font-size: 14px; font-weight: 800;
}
.land-dark .btn { justify-self: start; gap: 8px; }

.land-pair { display: grid; gap: 16px; align-items: start; }
.land-card { display: grid; gap: 14px; }
.land-h2 { font: 700 24px/1.15 var(--display); margin: -6px 0 0; text-wrap: balance; }
.land-p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.land-card .note { margin: 0; }
.land-card__cta { display: grid; }
.land-faq { gap: 0; overflow: hidden; }
.land-faq__head { display: grid; gap: 14px; padding-bottom: 12px; }
.land-answer { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.land-answer p { margin: 0 0 8px; }
.land-answer p:last-child { margin-bottom: 0; }
.land-author .author { margin-left: -18px; }
.land-contacts { display: flex; flex-wrap: wrap; gap: 8px; }
.land-contacts .btn { height: 44px; padding: 0 16px; font-size: 14px; gap: 8px; }
.land-contacts svg { width: 18px; height: 18px; color: var(--brand); }

.land-final {
  border-radius: 26px; padding: 28px 20px; text-align: center; color: #fff; display: grid; justify-items: center; gap: 6px;
  background: radial-gradient(120% 90% at 100% 0%, rgb(255 255 255 / 12%), transparent 55%), linear-gradient(150deg, #B3164A, var(--brand) 45%, var(--brand-deep));
}
.land-final__hand { margin: 0; font-size: 24px; color: #FFD9E4; text-wrap: balance; }
.land-final__title { font: 700 28px/1.12 var(--display); margin: 0; text-wrap: balance; }
.land-final__facts { margin: 2px 0 12px; font-size: 13.5px; color: rgb(255 255 255 / 78%); text-wrap: balance; }
.land-final__cta { display: grid; gap: 4px; width: 100%; max-width: 360px; }
.land-final__login { color: #fff; min-height: 44px; }
.land-fine { margin: 0; text-align: center; font-size: 12px; line-height: 1.6; color: var(--muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + var(--safe-bottom) + 18px); transform: translateX(-50%); z-index: 80;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-lift); max-width: calc(100vw - 32px); text-align: center; animation: toast-in .25s ease-out;
}
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- Wide screens ---------- */
@media (min-width: 900px) {
  :root { --tabbar-h: 0px; }
  .tabbar { display: none; }
  .app { padding-bottom: 40px; }
  .app-bar__inner { height: 72px; padding: 0 28px; }
  .topnav { display: flex; gap: 4px; padding: 4px; background: #ECE5DB; border-radius: 999px; }
  .topnav .tab { flex-direction: row; height: 42px; padding: 0 16px; gap: 8px; font-size: 14px; border-radius: 999px; }
  .topnav .tab svg { width: 20px; height: 20px; }
  .topnav .tab[aria-current="page"] { background: #fff; box-shadow: 0 2px 8px rgb(35 27 25 / 10%); }
  .topnav .tab[aria-current="page"]::before { display: none; }
  .topnav .tab__badge { position: static; }
  .screens { padding: 18px 28px 0; }
  .demo-banner { margin: 8px auto 0; max-width: 1064px; grid-template-columns: auto 1fr auto; }
  .demo-banner__actions { grid-column: auto; flex-wrap: nowrap; }
  .demo-banner__actions .btn { flex: none; }
  .welcome { grid-template-columns: minmax(0, 1fr) 300px; padding: 34px 36px 0; margin-bottom: 20px; }
  .welcome__title { font-size: 44px; }
  .welcome__lead { font-size: 16px; max-width: 560px; }
  .welcome__photo { height: 280px; }
  .welcome__photo::before { height: 230px; border-radius: 130px 130px 0 0; left: 10px; right: 10px; }
  .welcome__photo img { height: 280px; }
  .welcome__text { padding-bottom: 32px; }
  .site-footer { padding: 0 28px; }
  .site-footer__card { grid-template-columns: 1fr auto; align-items: center; padding: 26px 30px; }
  .site-footer__fine { grid-column: 1 / -1; }
  .split { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; }
  .split > .sticky { position: sticky; top: 92px; grid-column: 2; grid-row: 1; }
  .split > :not(.sticky) { grid-column: 1; grid-row: 1; }
  .sheet { left: 50%; right: auto; bottom: 50%; width: min(620px, 92vw); transform: translate(-50%, 50%); border-radius: 26px; max-height: 86vh; animation: fade-in .2s ease-out; }
  .sheet--tall { height: 86vh; }
  .sheet__grip { display: none; }
  .toast { bottom: 28px; }
  .h-display { font-size: 38px; }
  .gate { justify-content: center; }
  .land { padding: 0 28px; gap: 22px; }
  .land-bar { margin: 0 -28px; padding-inline: 28px; }
  .land-bar__inner { height: 72px; }
  .land-hero {
    grid-template-columns: minmax(0, 1fr) 400px; align-items: end; margin-top: 6px;
    background: var(--surface); border-radius: 30px; box-shadow: var(--shadow-lift); overflow: hidden;
  }
  .land-hero__text { order: -1; margin: 0; background: none; box-shadow: none; padding: 48px 12px 44px 48px; }
  .land-hero__title { font-size: 50px; }
  .land-hero__lead { font-size: 17px; max-width: 580px; }
  .land-cta { grid-auto-flow: column; justify-content: start; }
  .land-terms { text-align: left; }
  .land-hero__photo { height: 400px; }
  .land-hero__photo .gate__arch { width: 340px; height: 350px; border-radius: 170px 170px 0 0; }
  .land-hero__photo .gate__arch::after { inset: 12px 12px -2px; border-radius: 158px 158px 0 0; }
  .land-hero__photo img { height: 390px; }
  .land-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .land-dark { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 40px 44px; }
  .land-dark__title { font-size: 34px; }
  .land-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
  .land-final { padding: 44px; }
  .land-final__title { font-size: 40px; }
}
/* Large monitors: scale the whole interface instead of leaving a small island in the middle. */
@media (min-width: 1400px) { body { zoom: 1.1; } .sheet { max-height: calc(86vh / 1.1); } .sheet--tall { height: calc(86vh / 1.1); } }
@media (min-width: 1800px) { body { zoom: 1.25; } .sheet { max-height: calc(86vh / 1.25); } .sheet--tall { height: calc(86vh / 1.25); } }
@media (min-width: 2300px) { body { zoom: 1.45; } .sheet { max-height: calc(86vh / 1.45); } .sheet--tall { height: calc(86vh / 1.45); } }
@media (max-width: 360px) {
  .hero__mass { font-size: 44px; }
  .qty input { width: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Print ---------- */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; font-size: 11pt; }
  .app { padding: 0; }
  .app-bar { position: static; background: none; backdrop-filter: none; }
  .tabbar, .icon-btn, .add-btn, .list-foot, .demo-banner, .welcome, .site-footer, .portion-pill > svg, .prow__add, .ing__del, .toast, .sheet-layer, .search, .chips, .no-print { display: none !important; }
  .screen[hidden] { display: block !important; }
  #screen-products, #screen-help { display: none !important; }
  .card, .guide, .hero { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
  .hero { background: #fff; color: var(--ink); }
  .hero__name { background: none; color: var(--ink); padding: 0; }
  .energy-bar { background: #eee; }
  .qty input { border: 0; background: none; }
  .screen { animation: none; }
  .nut-group, .legend, .seg, .stepper button, .kcal-line small, #screen-analysis .card__head p, .hero__name svg { display: none !important; }
  .print-only { display: table !important; }
  .print-table { width: 100%; border-collapse: collapse; font-size: 9.5pt; margin: 8px 0 12px; break-inside: auto; }
  .print-table th, .print-table td { border-bottom: 1px solid #ddd; padding: 4px 6px; text-align: right; font-variant-numeric: tabular-nums; }
  .print-table th:first-child, .print-table td:first-child { text-align: left; }
  .print-table th { font-size: 8.5pt; color: #666; }
}
.print-only { display: none; }
