@font-face { font-family: 'Onest'; font-weight: 400 700; font-display: swap; src: url(f/onest-cyr.woff2) format('woff2'); unicode-range: U+0400-045F, U+2116; }
@font-face { font-family: 'Onest'; font-weight: 400 700; font-display: swap; src: url(f/onest-lat.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Unbounded'; font-weight: 500 800; font-display: swap; src: url(f/unb-cyr.woff2) format('woff2'); unicode-range: U+0400-045F, U+2116; }
@font-face { font-family: 'Unbounded'; font-weight: 500 800; font-display: swap; src: url(f/unb-lat.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
:root { --page: #fbf6fd; --card: #fff; --text: #2b1a35; --hint: #6f5c7d; --link: #7c3aed; --soft: #f0e2fb;
  --sep: #ecdcf1; --gradient: linear-gradient(120deg, #7c3aed, #db2777); --gradient-text: var(--gradient);
  --shadow: 0 1px 2px rgba(91,33,182,.06), 0 14px 44px rgba(91,33,182,.12);
  --display: "Unbounded", "Onest", system-ui, sans-serif; --body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
:root[data-theme="dark"] { color-scheme: dark; --page: #160f1c; --card: #231829; --text: #f7eefb; --hint: #b3a1bf;
  --link: #c9a6ff; --soft: #33224a; --sep: rgba(255,225,250,.11); --gradient-text: linear-gradient(120deg, #b88cff, #f472b6);
  --shadow: 0 14px 44px rgba(0,0,0,.35); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--text); font: 400 17px/1.55 var(--body); overflow-x: hidden; }
a { color: var(--link); }
h1, h2 { font-family: var(--display); letter-spacing: -.01em; text-wrap: balance; margin: 0; }
h1 { font-weight: 700; font-size: clamp(1.6rem, 1.1rem + 2.6vw, 2.4rem); line-height: 1.15; overflow-wrap: anywhere; }
h2 { font-weight: 600; font-size: clamp(1.2rem, 1rem + 1vw, 1.5rem); line-height: 1.25; margin: 36px 0 14px; }
p { margin: 0 0 12px; }
.wrap { max-width: 760px; margin-inline: auto; padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px; }
.brand { font: 700 17px/1.3 var(--display); text-decoration: none; color: var(--text); }  /* 2-я строка — перевод (168-ФЗ) */
.brand span, .grad { background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.crumbs { font-size: 14px; color: var(--hint); margin: 8px 0 14px; }
.crumbs a { color: var(--hint); }
.lead { color: var(--hint); font-size: 1.05rem; }
.card { background: var(--card); border-radius: 22px; box-shadow: var(--shadow); padding: 20px; }
.hero { position: relative; overflow: hidden; margin: 20px 0 8px; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--gradient); }
.kcal { font: 800 clamp(2.6rem, 2rem + 4vw, 3.6rem)/1 var(--display); }
.kcal small { font: 600 16px/1 var(--body); color: var(--hint); margin-left: 6px; }
.per { color: var(--hint); font-size: 14px; margin-top: 6px; }
.macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.macros div { background: var(--soft); border-radius: 14px; padding: 10px 12px; }
.macros b { display: block; font: 700 20px/1.2 var(--display); }
.macros span { font-size: 13px; color: var(--hint); }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--sep); }
th { font-size: 13px; color: var(--hint); font-weight: 600; }
td.n, th.n, .list td + td, .list th + th { text-align: right; white-space: nowrap; }
.list { font-size: 15px; }
.list td:first-child { overflow-wrap: anywhere; }
.list td:first-child a { text-decoration: none; color: var(--text); font-weight: 600; }
.list th button { all: unset; cursor: pointer; color: var(--hint); }
.list th button:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 4px; }
.list th button::after { content: " ⇅"; opacity: .45; }
.list th[aria-sort="ascending"] button::after { content: " ↑"; opacity: 1; }
.list th[aria-sort="descending"] button::after { content: " ↓"; opacity: 1; }
.list th[aria-sort] button { color: var(--link); }
.cta { margin: 32px 0 8px; text-align: center; }
.cta p { color: var(--hint); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px;
  border-radius: 16px; font: 600 16px/1.2 var(--body); text-decoration: none; }
.btn-main { background: var(--gradient); color: #fff; box-shadow: 0 8px 22px rgba(190,40,160,.28); }
.btn-soft { background: var(--soft); color: var(--link); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { background: var(--card); border: 1px solid var(--sep); border-radius: 999px; padding: 8px 14px;
  text-decoration: none; color: var(--text); font-size: 15px; }
.chips a i { font-style: normal; color: var(--hint); margin-left: 4px; }
.abc { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 8px; }
.abc a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 8px;
  border-radius: 12px; background: var(--card); border: 1px solid var(--sep); color: var(--text); text-decoration: none;
  font: 600 16px/1 var(--body); }
.abc a[aria-current] { background: var(--gradient); color: #fff; border-color: transparent; }
.pages { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0; color: var(--hint); font-size: 15px; }
.pages a, .pages b { padding: 6px 12px; border-radius: 10px; border: 1px solid var(--sep); text-decoration: none; }
.pages b { background: var(--soft); color: var(--link); border-color: transparent; }
.note { font-size: 14px; color: var(--hint); }
.src { margin-top: 18px; }
.checked { margin: 10px 0 0; }
.search { width: 100%; font: 400 17px/1.3 var(--body); padding: 14px 16px; border-radius: 14px; margin: 18px 0 4px;
  border: 1px solid var(--sep); background: var(--card); color: var(--text); }
.search:focus { outline: 2px solid var(--link); outline-offset: 1px; }
.found { margin: 6px 0 0; padding: 0; list-style: none; }
.found:empty { display: none; }
.found li { border-bottom: 1px solid var(--sep); }
.found a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 4px; text-decoration: none; color: var(--text); }
.found a i { font-style: normal; color: var(--hint); white-space: nowrap; }
.found a.on, .found a:hover { background: var(--soft); border-radius: 10px; }
.found small { font-size: 14px; color: var(--hint); }
.found .note { padding: 10px 4px; }
.go { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 520px; margin: 0 0 14px; }
.go span { grid-column: 1 / -1; font-size: 13px; line-height: 1.3; color: var(--hint); }
.go a { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 6px; border-radius: 12px;
  background: var(--soft); color: var(--link); font: 600 15px/1.1 var(--body); text-decoration: none; white-space: nowrap; }
.go a.go-main { background: var(--gradient); color: #fff; box-shadow: 0 6px 16px rgba(190,40,160,.22); }
.hero + .go { margin-top: 14px; }
.faq h3 { font: 600 16px/1.35 var(--body); margin: 0 0 4px; }
.faq p { margin: 0 0 16px; color: var(--hint); }
.faq p:last-child { margin-bottom: 0; }
.cmp { font-size: 1.05rem; margin: 0 0 6px; }
.more { margin: 14px 0 0; }
footer { background: #2b1a35; color: #e9dcf0; margin-top: 56px; padding-block: 28px 36px; font-size: 14px; }
footer a { color: #f3b6e2; }
@media (max-width: 420px) { .macros b { font-size: 17px; } th, td { padding: 9px 4px; } .card { padding: 16px; }
  .card:has(> .list) { padding: 6px 12px; } .list { font-size: 14px; } .list th { font-size: 12px; } }
