/* Рацион и корзина: экраны первого запуска. Все классы с префиксом .ob-, чтобы не пересекаться со styles.css.
   Каноны: один акцент (зелень) только у главной кнопки и выбранного, без эмодзи, без тире в надписях, контраст от 4,5:1. */
.ob { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font-family: var(--f-text); overflow: hidden; -webkit-font-smoothing: antialiased; }
.ob *, .ob *::before, .ob *::after { box-sizing: border-box; }
:where(.ob) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:where(.ob) input { font: inherit; color: var(--ink); background: none; border: 0; outline: none; min-width: 0; }
.ob input::placeholder { color: #6E645A; opacity: 1; font-weight: 600; }
.ob .ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ob .ico.sm { width: 15px; height: 15px; } .ob .ico.xs { width: 13px; height: 13px; stroke-width: 2.6; } .ob .ico.lg { width: 28px; height: 28px; stroke-width: 1.6; }
.ob button:focus-visible, .ob input:focus-visible { outline: 3px solid rgba(47, 107, 71, .45); outline-offset: 2px; }
.ob [inert] { pointer-events: none; }

/* ---------- верх: прогресс, назад, пропустить ---------- */
.ob-top { flex: none; padding: 6px 20px 0; }
.ob-prog { display: flex; gap: 6px; }
.ob-prog i { position: relative; flex: 1; height: 4px; border-radius: 2px; background: #DCD2BF; overflow: hidden; }
.ob-prog b { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.ob-nav { height: 44px; margin: 2px -10px 0; display: flex; align-items: center; justify-content: space-between; }
.ob-back, .ob-skip { height: 44px; padding: 0 10px; display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 800; color: var(--ink); border-radius: 12px; }
.ob-back .ico { margin-left: -4px; }
.ob-back[hidden], .ob-skip[hidden] { display: inline-flex; visibility: hidden; }

/* ---------- тело и подвал ---------- */
.ob-body { position: relative; flex: 1; min-height: 0; }
.ob-view { position: absolute; inset: 0; will-change: transform, opacity; }
.ob-scroll { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; padding: 4px 20px 120px; scrollbar-width: none; overscroll-behavior: contain; }
.ob-scroll::-webkit-scrollbar { display: none; }
.ob-foot { position: relative; z-index: 3; flex: none; padding: 10px 20px 34px; background: var(--bg); border-top: 1px solid var(--line); }
.ob-hint { min-height: 18px; margin: 0 2px 9px; display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; line-height: 1.25; color: var(--ink-2-bg); }
.ob-hint .ico { color: var(--accent); }
.ob-cta { width: 100%; height: 56px; border-radius: 18px; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; font-size: 16.5px; letter-spacing: .005em; box-shadow: 0 14px 22px -14px rgba(47, 107, 71, .95); transition: transform .12s, background .2s, color .2s, box-shadow .2s; }
.ob-cta:active:not([disabled]) { transform: scale(.985); }
.ob-cta[disabled] { background: var(--sand); color: var(--ink-2-bg); box-shadow: none; cursor: default; }
.ob-cta .ico { width: 21px; height: 21px; stroke-width: 1.8; }

/* ---------- общие блоки ---------- */
.ob-h { margin-top: 6px; font: 700 21px/1.2 var(--f-head); letter-spacing: -.01em; }
.ob-sub { margin-top: 6px; font-size: 14px; font-weight: 600; line-height: 1.38; color: var(--ink-2-bg); }
.ob-eye { margin: 20px 2px 9px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2-bg); }
.ob-lab { margin: 14px 2px 7px; font-size: 12px; font-weight: 800; color: var(--ink-2); }
.ob-card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); }
.ob-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ob-chip { position: relative; height: 40px; padding: 0 15px; border-radius: 20px; background: var(--sand); color: var(--ink); display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.ob-chip.on { background: var(--accent); color: var(--on-accent); font-weight: 800; box-shadow: 0 8px 14px -9px rgba(47, 107, 71, .9); }
.ob-chip .ico { width: 15px; height: 15px; stroke-width: 2.6; }
.ob-chip .ico.ck { display: none; } .ob-chip.on .ico.ck { display: block; }

/* сегмент с ползущей плашкой */
.ob-seg { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 16px; background: var(--sand); }
.ob-seg button { position: relative; z-index: 1; height: 38px; border-radius: 12px; font-size: 13.5px; font-weight: 800; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: color .25s; white-space: nowrap; }
.ob-seg button.on { color: var(--on-accent); }
.ob-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: 12px; background: var(--accent); box-shadow: 0 8px 14px -9px rgba(47, 107, 71, .9); }
.ob-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: none; align-items: center; justify-content: center; font-style: normal; font-size: 11.5px; font-weight: 800; line-height: 1; background: var(--ink); color: #fff; }
.ob-seg button.on .ob-n { background: #fff; color: var(--accent); }
.ob-n.has { display: inline-flex; }

/* ---------- шаг 1: кто ест ---------- */
.ob-people { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.ob-person { overflow: hidden; }
.ob-ph { display: flex; align-items: center; gap: 12px; padding: 12px 8px 12px 12px; cursor: pointer; }
.ob-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; font: 700 17px/1 var(--f-head); background: var(--tint-butter); color: var(--ink); }
.ob-av[data-t="1"] { background: var(--tint-sage); } .ob-av[data-t="2"] { background: var(--tint-rose); } .ob-av[data-t="3"] { background: var(--tint-sky); }
.ob-pn { flex: 1; min-width: 0; }
.ob-name { width: 100%; height: 26px; font-size: 16.5px; font-weight: 800; border-bottom: 1.5px dashed transparent; }
.ob-name:hover, .ob-name:focus { border-bottom-color: #B9AD97; }
.ob .ob-name:focus-visible { outline: none; }
.ob-psum { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ob-ib { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--ink-2); flex: none; }
.ob-ib:active { background: var(--sand); }
.ob-ib.tgl .ico { transition: transform .3s; }
.ob-person.open .ob-ib.tgl .ico { transform: rotate(180deg); }
.ob-pb { overflow: hidden; }
.ob-pbi { padding: 0 14px 16px; }
.ob-pbi .ob-lab:first-child { margin-top: 2px; }
.ob-kc { margin-top: 16px; padding: 12px; border-radius: 18px; background: var(--bg); display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; }
.ob-ring { position: relative; width: 92px; height: 92px; }
.ob-ring svg { width: 92px; height: 92px; transform: rotate(-90deg); }
.ob-ring circle { fill: none; stroke-width: 7; }
.ob-ring .t { stroke: #E3DACA; }
.ob-ring .k { stroke: var(--accent); stroke-linecap: round; }
.ob-ring .p { stroke: var(--ink); stroke-linecap: round; stroke-width: 6; }
.ob-ring .mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ob-ring .mid b { font: 700 13px/1 var(--f-head); letter-spacing: -.04em; white-space: nowrap; }
.ob-ring .mid span { margin-top: 3px; font-size: 9.5px; font-weight: 800; color: var(--ink-2-bg); }
.ob-ring .mid .ico { color: var(--ink-2-bg); }
.ob-kcl b { display: block; font-size: 15.5px; font-weight: 800; }
.ob-kcl span { display: block; margin-top: 2px; font-size: 13px; font-weight: 700; color: var(--ink-2-bg); }
.ob-kcl .ob-link { margin-top: 9px; height: 42px; padding: 0 13px; border-radius: 17px; background: var(--sand); display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; color: var(--ink); }
.ob-kcl .ob-link .ico { width: 15px; height: 15px; }
.ob-calc { overflow: hidden; }
.ob-calci { padding-top: 6px; }
.ob-sl { margin-top: 12px; }
.ob-sl-h { display: flex; justify-content: space-between; align-items: baseline; margin: 0 2px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.ob-sl-h b { font-size: 15px; font-weight: 800; color: var(--ink); }
.ob-cap { margin: 7px 2px 0; font-size: 12.5px; font-weight: 600; color: var(--ink-2); line-height: 1.3; }
.ob-addp { margin-top: 10px; width: 100%; height: 52px; border-radius: 18px; border: 1.5px dashed #B3A78F; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14.5px; font-weight: 800; color: var(--ink); }
.ob-addp:active { background: var(--sand); }

/* ползунок */
.ob-rng { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 8px; margin: 12px 0 6px; border-radius: 4px; outline: none; cursor: pointer;
  background: linear-gradient(to right, var(--accent) var(--p, 50%), transparent var(--p, 50%)), linear-gradient(to right, #E3DACA var(--a, 0%), #CFC3AB var(--a, 0%), #CFC3AB var(--b, 0%), #E3DACA var(--b, 0%)); }
.ob-rng::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--card); border: 3px solid var(--accent); box-shadow: 0 6px 10px -4px rgba(0, 0, 0, .35); cursor: grab; }
.ob-rng::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--card); border: 3px solid var(--accent); box-shadow: 0 6px 10px -4px rgba(0, 0, 0, .35); }
.ob-rng:focus-visible { outline: none; }
.ob-rng:focus-visible::-webkit-slider-thumb { outline: 3px solid rgba(47, 107, 71, .45); outline-offset: 2px; }

/* ---------- шаг 2: нельзя ---------- */
.ob-modes { margin-top: 16px; }
.ob-note { margin: 10px 2px 0; min-height: 36px; font-size: 13px; font-weight: 600; line-height: 1.38; color: var(--ink-2-bg); }
.ob-fchips { margin-top: 12px; }
.ob-fc { height: 42px; padding: 0 15px 0 11px; gap: 8px; }
.ob-fi { position: relative; width: 22px; height: 22px; flex: none; display: grid; place-items: center; }
.ob-fi .ico { width: 20px; height: 20px; }
.ob-fi .sl { position: absolute; inset: 0; width: 22px; height: 22px; fill: none; stroke-linecap: round; overflow: visible; }
.ob-fi .sl path { stroke-dasharray: 26; stroke-dashoffset: 26; transition: stroke-dashoffset .32s ease; }
.ob-fi .sl .cut { stroke: var(--cut, var(--sand)); stroke-width: 5; }
.ob-fi .sl .ln { stroke: currentColor; stroke-width: 2; }
.ob-fc.on, .ob-fc.ghost { --cut: var(--accent); }
.ob-fc.on .sl path, .ob-fc.ghost .sl path { stroke-dashoffset: 0; }
.ob-fc.ghost { background: var(--card); color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); --cut: var(--card); font-weight: 800; }
.ob-fc.ghost .ob-fi .ico { opacity: .85; }
.ob-find { margin-top: 12px; display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 8px 0 14px; }
.ob-find input { flex: 1; font-size: 15px; font-weight: 700; }
.ob-find:focus-within { box-shadow: var(--shadow), 0 0 0 2px rgba(47, 107, 71, .5); }
.ob-find input:focus-visible, .ob-fld input:focus-visible { outline: none; }
.ob-find .go { height: 38px; padding: 0 14px; border-radius: 13px; background: var(--sand); font-size: 13px; font-weight: 800; }
.ob-find .go:disabled { opacity: .5; cursor: default; }
.ob-alts { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ob-alt { height: 52px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow), inset 0 0 0 2px transparent; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 800; transition: box-shadow .2s, background .2s; }
.ob-alt.on { box-shadow: var(--shadow), inset 0 0 0 2px var(--accent); background: #E7EFE5; color: var(--ink); }
.ob-alt .ico { color: var(--accent); display: none; } .ob-alt.on .ico { display: block; }

/* ---------- шаг 3: вкусы ---------- */
.ob-legend { margin-top: 14px; padding: 10px 14px; border-radius: 16px; background: var(--sand); display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 13.5px; font-weight: 800; }
.ob-legend .sep { color: var(--ink-2-bg); }
.ob-mk { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; flex: none; }
.ob-mk.like { background: var(--accent); } .ob-mk.dis { background: #6F675D; }
.ob-mk .ico { width: 12px; height: 12px; stroke-width: 3; }
.ob-grid { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ob-tc { height: 56px; padding: 0 12px 0 8px; border-radius: 28px; background: var(--sand); display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 700; text-align: left; transition: background .2s, box-shadow .2s, color .2s; }
.ob-th { position: relative; width: 42px; height: 42px; border-radius: 50%; flex: none; background: var(--tint, var(--tint-straw)); display: grid; place-items: center; color: #5B5148; transition: filter .25s, opacity .25s; }
.ob-th img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; mix-blend-mode: multiply; display: block; }
.ob-th .ico { width: 22px; height: 22px; }
.ob-th .ob-mark { position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 2px solid var(--sand); transform: scale(0); }
.ob-th .ob-mark .ico { width: 12px; height: 12px; stroke-width: 3.2; }
.ob-tc.s1 { background: #E1EBDF; box-shadow: inset 0 0 0 2px var(--accent); font-weight: 800; }
.ob-tc.s1 .ob-mark { background: var(--accent); transform: scale(1); border-color: #E1EBDF; }
.ob-tc.s-1 { color: var(--ink-2-bg); }
.ob-tc.s-1 .ob-th { filter: grayscale(1); opacity: .6; }
.ob-tc.s-1 .ob-mark { background: #6F675D; transform: scale(1); }
.ob-tc.s-1 .ob-th .ob-mark { filter: none; }
.ob-skipped { margin: 14px 2px 0; font-size: 12.5px; font-weight: 600; color: var(--ink-2-bg); line-height: 1.35; }

/* ---------- шаг 4: кухня и время ---------- */
.ob-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ob-tile { position: relative; height: 92px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow), inset 0 0 0 2px transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; font-weight: 800; transition: background .2s, box-shadow .2s; }
.ob-tile > .ico { width: 30px; height: 30px; stroke-width: 1.5; transition: color .2s; }
.ob-tile .tk { position: absolute; top: 7px; right: 7px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; transform: scale(0); }
.ob-tile .tk .ico { width: 12px; height: 12px; stroke-width: 3.2; }
.ob-tile.on { background: #E7EFE5; box-shadow: var(--shadow), inset 0 0 0 2px var(--accent); }
.ob-tile.on > .ico { color: var(--accent); }
.ob-tile.on .tk { transform: scale(1); }
.ob-vols { overflow: visible; }
.ob-vol { margin-top: 8px; padding: 10px 12px; display: flex; align-items: center; gap: 12px; }
.ob-vol .ico { color: var(--accent); width: 24px; height: 24px; }
.ob-vol .tt { flex: 1; font-size: 14px; font-weight: 800; line-height: 1.2; }
.ob-vol .tt small { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.ob-step { display: inline-flex; align-items: center; gap: 4px; background: var(--sand); border-radius: 14px; padding: 3px; }
.ob-step button { width: 34px; height: 34px; border-radius: 11px; background: var(--card); display: grid; place-items: center; }
.ob-step span { min-width: 40px; text-align: center; font-weight: 800; font-size: 14.5px; }
.ob-times { padding: 4px 16px 10px; }
.ob-times .ob-sl:first-child { margin-top: 10px; }
.ob-times .ob-sl-h b { font: 700 18px/1 var(--f-head); letter-spacing: -.02em; }
.ob-rhy { display: flex; flex-direction: column; gap: 10px; }
.ob-rh { width: 100%; padding: 14px 16px; display: grid; grid-template-columns: 1fr 24px; gap: 4px 12px; align-items: center; text-align: left; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow), inset 0 0 0 2px transparent; transition: box-shadow .2s, background .2s; }
.ob-rh.on { box-shadow: var(--shadow), inset 0 0 0 2px var(--accent); background: #E7EFE5; }
.ob-rh b { font-size: 16px; font-weight: 800; }
.ob-rh .d { grid-column: 1; font-size: 13px; font-weight: 600; color: var(--ink-2-bg); line-height: 1.3; }
.ob-rh .rd { grid-row: 1 / span 2; grid-column: 2; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #A99E8A; display: grid; place-items: center; color: #fff; transition: all .2s; }
.ob-rh.on .rd { background: var(--accent); border-color: var(--accent); }
.ob-rh .rd .ico { width: 14px; height: 14px; stroke-width: 3; opacity: 0; } .ob-rh.on .rd .ico { opacity: 1; }
.ob-dots { grid-column: 1; display: flex; gap: 5px; margin-top: 4px; }
.ob-dots i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #A99E8A; transition: background .2s, border-color .2s; }
.ob-dots i.f { background: var(--ink); border-color: var(--ink); }
.ob-rh.on .ob-dots i.f { background: var(--accent); border-color: var(--accent); }

/* ---------- шаг 5: бюджет и адрес ---------- */
.ob-bud { margin-top: 16px; padding: 16px; }
.ob-bud .lab { font-size: 12px; font-weight: 800; color: var(--ink-2); }
.ob-bud .big { margin-top: 6px; font: 700 30px/1.1 var(--f-head); letter-spacing: -.03em; white-space: nowrap; }
.ob-bud .tip { margin-top: 8px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-2); line-height: 1.3; }
.ob-bud .tip i { width: 22px; height: 8px; border-radius: 4px; background: #CFC3AB; flex: none; }
.ob-bud .per { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.ob-fld { margin-top: 0; display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 8px 0 14px; transition: box-shadow .2s; }
.ob-fld:focus-within { box-shadow: var(--shadow), 0 0 0 2px rgba(47, 107, 71, .5); }
.ob-fld input { flex: 1; font-size: 15.5px; font-weight: 800; }
.ob-fld .clr { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--ink-2); }
.ob-sugs { margin-top: 8px; padding: 4px; overflow: hidden; }
.ob-sug { width: 100%; display: flex; gap: 10px; align-items: center; text-align: left; padding: 11px 10px; border-radius: 14px; font-weight: 700; font-size: 14px; }
.ob-sug small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-2); margin-top: 1px; }
.ob-sug.on { background: var(--sand); }
.ob-sug .ico:last-child { margin-left: auto; color: var(--accent); }
.ob-sug.none { cursor: default; color: var(--ink-2); }
.ob-shops { margin-top: 10px; padding: 14px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.ob-shops .hd { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 800; }
.ob-shops .hd .ico { color: var(--accent); }
.ob-shops .cs { display: flex; flex-wrap: wrap; gap: 6px; }
.ob-shops .cs span { height: 28px; padding: 0 11px; border-radius: 14px; background: var(--sand); display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 800; }
.ob-later { margin-top: 12px; width: 100%; height: 48px; border-radius: 16px; background: var(--sand); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 800; }
.ob-later:active { background: #E0D6C2; }

/* ---------- сборка недели ---------- */
.ob-asm .ob-h { margin-top: 10px; }
.ob-sky { position: relative; margin-top: 14px; padding: 12px 12px 10px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.ob-ings { display: flex; justify-content: space-between; height: 44px; }
.ob-ing { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--tint, var(--tint-straw)); display: grid; place-items: center; color: #5B5148; flex: none; }
.ob-ing img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; mix-blend-mode: multiply; }
.ob-ing .ico { width: 22px; height: 22px; }
.ob-dishes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ob-dish { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12.5px; font-weight: 800; line-height: 1.2; }
.ob-dish i { width: 58px; height: 58px; border-radius: 50%; background: var(--tint-straw); overflow: hidden; display: block; box-shadow: 0 8px 14px -10px rgba(70, 50, 20, .6); }
.ob-dish img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; display: block; }
.ob-dish b { font-weight: 800; min-height: 30px; display: block; }
.ob-wk { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 6px 4px; border-radius: 16px; background: var(--bg); }
.ob-wd { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ob-wd small { font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--ink-2-bg); }
.ob-wd .sl { width: 28px; height: 28px; border-radius: 50%; background: #E3DACA; display: block; overflow: hidden; }
.ob-wd .sl img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; display: block; }
.ob-facts { margin-top: 6px; }
.ob-fact { display: flex; align-items: flex-start; gap: 10px; padding: 5px 2px; font-size: 14px; font-weight: 700; line-height: 1.3; }
.ob-fact i { width: 20px; height: 20px; margin-top: 0; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; }
.ob-fact i .ico { width: 12px; height: 12px; stroke-width: 3.2; }
.ob-fact em { font-style: normal; color: var(--ink-2-bg); font-weight: 700; }

@media (prefers-reduced-motion: reduce) { .ob * { transition-duration: 0s !important; scroll-behavior: auto !important; } }
.ob-wait { margin: 14px 4px 0; height: 6px; border-radius: 3px; background: #E3DACA; overflow: hidden; }
.ob-wait i { display: block; height: 100%; width: 38%; border-radius: 3px; background: var(--accent); animation: obwait 1.3s ease-in-out infinite; }
@keyframes obwait { 0% { transform: translateX(-110%); } 100% { transform: translateX(300%); } }
@media (prefers-reduced-motion: reduce) { .ob-wait i { animation: none; width: 60%; } }
.ob-ctiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.ob-ct { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 4px 10px; border-radius: 16px; background: var(--card); border: 2px solid transparent; font-size: 12.5px; font-weight: 800; box-shadow: var(--shadow); transition: border-color .2s, background .2s; }
.ob-ct .cm { width: 40px; height: 40px; }
.ob-ct.on { border-color: var(--accent); background: #F1F6EE; }
.ob-ct em { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); padding: 2px 8px; border-radius: 9px; background: var(--accent); color: var(--on-accent); font-style: normal; font-size: 11px; font-weight: 800; white-space: nowrap; }
.ct.on.main, .ob-ct.on.main { border-color: var(--accent); background: #E3EEE1; }
.ct.on.sec, .ob-ct.on.sec { border-color: #B4CDBB; background: #F7FAF5; }
.ct .ord, .ob-ct .ord { position: absolute; top: 7px; right: 8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--sand); color: var(--ink-2-bg); font-style: normal; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.ob-cnote { margin: 6px 2px 0; font-size: 12.5px; font-weight: 600; line-height: 1.35; color: var(--ink-2-bg); }

/* ===== визуал, итерация 4: множественный выбор в анкете как плитки вкусов и техники ===== */
/* приёмы пищи и запреты: светлая зелень с кромкой, а не сплошная заливка. Сплошная остаётся у одиночного выбора и «Дальше» */
.ob-chip.on { background: #E7EFE5; color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.ob-fc.on { --cut: #E7EFE5; }
.ob-chip:active { transform: scale(.95); }
.ob-chip { transition: background .2s, color .2s, box-shadow .2s, transform .14s ease; }
@media (prefers-reduced-motion: no-preference) { .ob-chip.on .ico.ck { animation: ob-ck .3s cubic-bezier(.3, 1.6, .5, 1); } }
@keyframes ob-ck { from { transform: scale(0); } to { transform: none; } }

/* белок на выбор: пресеты и «Люблю / Ем / Не ем» по каждому виду */
.ob-prot { margin-top: 12px; padding: 4px 14px; }
.ob-pr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; }
.ob-pr + .ob-pr { border-top: 1px dashed rgba(0, 0, 0, .12); }
.ob-pn { font-size: 15px; font-weight: 800; min-width: 0; }
.ob-ps { display: inline-flex; padding: 3px; border-radius: 15px; background: var(--sand); gap: 2px; }
.ob-ps button { height: 30px; padding: 0 11px; border-radius: 12px; font-size: 12.5px; font-weight: 800; color: var(--ink-2-bg); white-space: nowrap; transition: background .2s, color .2s; }
.ob-ps button.on.love { background: var(--accent); color: var(--on-accent); }
.ob-ps button.on.eat { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.ob-ps button.on.no { background: var(--ink); color: #fff; }
@media (max-width: 360px) { .ob-ps button { padding: 0 8px; font-size: 12px; } }
