body.ob-active { overflow: hidden !important; }
body.ob-active .notification-banner { display: none !important; }
body.ob-active > .app-container, body.ob-active .sidebar, body.ob-active .mobile-header { visibility: hidden; }
.ob-root { position: fixed; inset: 0; z-index: 950; height: 100dvh; background: var(--bg-main); color: var(--text-primary); font-family: var(--font-family, Inter, sans-serif); overflow: hidden; }
.ob-root *, .ob-root *::before, .ob-root *::after { box-sizing: border-box; }
.ob-root button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ob-root button:focus-visible, .ob-wheel:focus-visible, .ob-root input:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
.ob-root button:disabled { cursor: default; }
.ob-shell { max-width: 460px; height: 100%; margin: auto; display: flex; flex-direction: column; padding: max(16px, env(safe-area-inset-top)) 24px 0; }
.ob-header { display: flex; align-items: center; gap: 18px; height: 40px; flex-shrink: 0; margin: 0 0 22px; }
.ob-back { border: 0; background: transparent; color: var(--text-primary); width: 32px; height: 40px; display: grid; place-items: center; padding: 0; }
.ob-back svg { width: 23px; height: 23px; stroke-width: 2; }
.ob-back:disabled { visibility: hidden; }
.ob-progress { height: 5px; background: var(--border-color); border-radius: 12px; flex: 1; overflow: hidden; }
.ob-progress span { display: block; height: 100%; background: var(--primary); border-radius: inherit; transition: width .25s ease; }
.ob-content { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; outline: none; padding: 0 0 16px; overscroll-behavior: contain; }
.ob-root h1 { margin: 0; font-size: clamp(28px, 7.5vw, 34px); font-weight: 750; letter-spacing: -1.2px; line-height: 1.12; text-align: left; text-wrap: balance; }
.ob-subtitle { margin: 13px 0 0; color: var(--text-secondary); font-size: 15px; line-height: 1.45; }
.ob-body { margin-top: 30px; }
.ob-footer { padding: 16px 0 max(18px, env(safe-area-inset-bottom)); flex-shrink: 0; background: var(--bg-main); }
.ob-next { display: block; width: 100%; min-height: 56px; padding: 16px 20px; border: none; border-radius: 30px; background: var(--primary); color: white; font-size: 16px; font-weight: 650; transition: background .15s; }
.ob-next:disabled { background: var(--border-color); color: var(--text-muted); }
.ob-login { display: block; margin: 15px auto 0; border: none; background: transparent; color: var(--text-secondary); padding: 5px; font-size: 13px; }
.ob-options { display: grid; gap: 11px; }
.ob-option { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 66px; padding: 16px; color: var(--text-primary); background: var(--bg-card); border: 1.5px solid transparent; border-radius: 16px; text-align: left; line-height: 1.3; }
.ob-option.ob-selected { background: color-mix(in srgb, var(--primary) 9%, var(--bg-card)); border-color: var(--primary); }
.ob-option-icon { display: grid; place-items: center; width: 25px; flex-shrink: 0; }
.ob-option-icon svg { width: 23px; height: 23px; stroke-width: 1.7; }
.ob-option-copy { flex: 1; font-size: 15px; font-weight: 560; }
.ob-option-copy small { display: block; margin-top: 5px; font-weight: 400; font-size: 11px; color: var(--text-secondary); }
.ob-check { display: grid; place-items: center; width: 20px; height: 20px; flex-shrink: 0; border: 1.5px solid var(--border-color); border-radius: 50%; background: var(--bg-panel); }
.ob-selected .ob-check { border: 6px solid var(--primary); }
.ob-square { border-radius: 5px; }
.ob-square svg { width: 14px; height: 14px; visibility: hidden; }
.ob-selected .ob-square { border: 0; background: var(--primary); color: white; }
.ob-selected .ob-square svg { visibility: visible; }
.ob-yesno { display: flex; gap: 14px; }
.ob-yesno .ob-option { flex: 1; flex-direction: column; min-height: 150px; justify-content: center; position: relative; }
.ob-yesno .ob-option-icon { height: 40px; }
.ob-yesno .ob-option-copy { flex: 0; font-size: 20px; }
.ob-yesno .ob-check { position: absolute; right: 12px; top: 12px; width: 17px; height: 17px; }
.ob-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ob-chips .ob-option { width: auto; min-height: 45px; border-radius: 24px; padding: 11px 13px; gap: 7px; }
.ob-chips .ob-option-copy { font-size: 13px; }
.ob-chips .ob-check { width: 16px; height: 16px; }
.ob-group-label { width: 100%; margin: 5px 0; font-weight: 600; color: var(--text-secondary); font-size: 13px; }
.ob-group-label:not(:first-child) { margin-top: 16px; }
.ob-validation { color: var(--text-secondary); font-size: 13px; line-height: 1.4; margin: 12px 0 0; }
.ob-validation:empty { display: none; }
.ob-wheel-wrap { position: relative; margin: 42px auto 20px; width: 100%; max-width: 290px; }
.ob-wheel-wrap::before { content: ''; pointer-events: none; position: absolute; top: 96px; height: 48px; width: 100%; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); background: color-mix(in srgb,var(--primary) 5%,transparent); border-radius: 10px; }
.ob-wheel { position: relative; height: 240px; overflow-y: auto; scrollbar-width: none; scroll-snap-type: y mandatory; overscroll-behavior: contain; mask-image: linear-gradient(transparent,#000 35%,#000 65%,transparent); touch-action: pan-y; }
.ob-wheel::-webkit-scrollbar { display: none; }
.ob-wheel-list { padding: 96px 0; }
.ob-wheel-row { height: 48px; line-height: 48px; scroll-snap-align: center; text-align: center; font-size: 30px; font-weight: 650; color: var(--text-muted); }
.ob-wheel-row.ob-current { color: var(--text-primary); font-size: 35px; }
.ob-wheel-unit { position: absolute; left: 72%; top: 110px; font-size: 16px; color: var(--text-secondary); pointer-events: none; }
.ob-wheel-hint { text-align: center; font-size: 13px; color: var(--primary); line-height: 1.5; }
.ob-pace { padding: 45px 0 20px; text-align: center; }
.ob-rate { font-size: 52px; font-weight: 750; letter-spacing: -2px; }
.ob-recommended { min-height: 26px; margin: 10px 0 24px; color: var(--primary); font-size: 13px; font-weight: 600; }
.ob-pace input { width: 100%; min-height: 44px; accent-color: var(--primary); cursor: pointer; }
.ob-pace-icons, .ob-range-labels, .ob-chart-labels, .ob-scale-labels { display: flex; justify-content: space-between; }
.ob-pace-icons { font-size: 30px; }
.ob-range-labels { font-size: 10px; color: var(--text-secondary); }
.ob-goal-date { margin-top: 36px; font-size: 17px; font-weight: 600; }
.ob-panel { border: 1px solid var(--border-color); background: var(--bg-card); border-radius: 19px; padding: 20px; margin: 14px 0; }
.ob-panel h2 { font-size: 17px; line-height: 1.3; font-weight: 650; margin: 0 0 16px; letter-spacing: -.3px; }
.ob-panel p { margin: 8px 0 0; color: var(--text-secondary); font-size: 13px; line-height: 1.55; }
.ob-panel > small { color: var(--text-secondary); }
.ob-info-cards { display: grid; gap: 13px; margin-top: 42px; }
.ob-info-cards .ob-panel { display: flex; align-items: center; gap: 12px; margin: 0; }
.ob-info-cards strong { flex: 1; font-size: 15px; font-weight: 550; }
.ob-info-cards span { color: var(--primary); font-size: 13px; }
.ob-info-cards svg { width: 25px; color: var(--primary); }
.ob-bars { height: 300px; display: flex; align-items: flex-end; justify-content: center; gap: 45px; padding-bottom: 30px; }
.ob-bars small { color: var(--text-secondary); }
/* «Без Muza / С Muza»: grey pops in, blue grows with «×2», then confetti (decision 2026-11-10). */
.ob-vb { height: 330px; gap: 34px; }
.ob-vb-col { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ob-vb-col small { font-size: 15px; font-weight: 550; }
.ob-vb-bar { position: relative; display: flex; flex-direction: column; align-items: center; width: 100px; border-radius: 30px 30px 10px 10px; transform-origin: 50% 100%; }
.ob-vb-without .ob-vb-bar { height: 100px; padding-top: 18px; background: var(--border-color); color: var(--text-secondary); animation: ob-vb-pop .5s cubic-bezier(.34,1.56,.64,1) .15s both; }
.ob-vb-with .ob-vb-bar { height: 220px; padding-top: 22px; background: var(--primary); color: #fff; box-shadow: 0 16px 32px rgba(10,124,255,.28); animation: ob-vb-grow .8s cubic-bezier(.3,1.35,.6,1) .65s both; }
.ob-vb-face { width: 40px; height: 24px; fill: currentColor; }
.ob-vb-face path { fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; }
.ob-vb-with .ob-vb-face { animation: ob-vb-fade .3s ease 1.3s both; }
.ob-vb-badge { margin-top: 16px; font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -1px; animation: ob-vb-badge .55s cubic-bezier(.34,1.9,.64,1) 1.35s both; }
.ob-vb-burst { position: absolute; left: 50%; top: 6px; width: 0; height: 0; }
.ob-vb-burst i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); transform: rotate(var(--a)) translateY(var(--d)); animation: ob-vb-spark .9s cubic-bezier(.2,.8,.3,1) calc(1.4s + var(--i) * 25ms) both; }
.ob-vb-burst i:nth-child(3n+1) { background: #77b6ff; width: 6px; height: 12px; border-radius: 3px; }
.ob-vb-burst i:nth-child(3n+2) { background: #ffc24b; }
.ob-vb-burst i:nth-child(4n) { width: 10px; height: 10px; border-radius: 2px; background: #b6d8ff; }
@keyframes ob-vb-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes ob-vb-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ob-vb-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes ob-vb-badge { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes ob-vb-spark { from { opacity: 0; transform: rotate(var(--a)) translateY(0) scale(.3); } 25% { opacity: 1; } to { opacity: 1; transform: rotate(var(--a)) translateY(var(--d)) scale(1); } }
.ob-vb-note { max-width: 300px; margin: 0 auto; color: var(--text-secondary); font-size: 13px; line-height: 1.5; text-align: center; animation: ob-vb-fade .4s ease 1.9s both; }
@media (prefers-reduced-motion: reduce) { .ob-vb *, .ob-vb-note { animation: none !important; } }
@media (max-width: 340px) { .ob-vb { gap: 20px; } .ob-vb-bar { width: 84px; } .ob-vb-badge { font-size: 38px; } }
.ob-illustration { display: block; width: min(100%, 340px); height: auto; margin: 34px auto; }
.ob-chart { margin-top: 60px; color: var(--text-primary); }
.ob-chart svg { width: 100%; overflow: visible; }
.ob-chart-labels { color: var(--text-secondary); font-size: 12px; }
/* The line draws slowly, then faster (ease-in); labels light up as it passes them. */
.ob-chart-line { stroke-dasharray: 1; stroke-dashoffset: 0; animation: ob-chart-draw 2.4s cubic-bezier(.6,0,.85,.35) .2s both; }
.ob-chart-goal { animation: ob-vb-pop .45s cubic-bezier(.34,1.56,.64,1) 2.55s both; transform-box: fill-box; transform-origin: center; }
.ob-chart-labels span { animation: ob-chart-label .3s ease both; }
.ob-chart-labels span:nth-child(1) { animation-delay: .3s; }
.ob-chart-labels span:nth-child(2) { animation-delay: 1.9s; }
.ob-chart-labels span:nth-child(3) { animation-delay: 2.55s; }
@keyframes ob-chart-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ob-chart-label { from { color: var(--text-secondary); } to { color: var(--primary); font-weight: 600; } }
/* The stairs: a dot climbs tread by tread to the flag; the weights pop up as it lands. */
.ob-climb { position: relative; width: min(100%, 340px); margin: 34px auto; }
.ob-climb .ob-illustration { margin: 0; width: 100%; }
.ob-climb-dot { position: absolute; left: 27.5%; top: 64%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; border: 4px solid var(--primary); box-shadow: 0 4px 12px rgba(10,124,255,.35); animation: ob-climb 2.4s ease-in-out .3s both; }
.ob-climb-chip { position: absolute; padding: 5px 10px; border-radius: 999px; background: var(--bg-panel); color: var(--text-primary); font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: 0 6px 16px #0000001c; animation: ob-vb-pop .4s cubic-bezier(.34,1.56,.64,1) both; animation-delay: calc(.3s + var(--i) * .72s); }
.ob-climb-goal { background: var(--primary); color: #fff; }
@keyframes ob-climb {
  0% { left: 27.5%; top: 64%; } 12% { left: 31%; top: 50%; } 30% { left: 40%; top: 48%; }
  42% { left: 44%; top: 33%; } 60% { left: 56%; top: 31%; } 75%, 100% { left: 63%; top: 28%; }
}
@media (prefers-reduced-motion: reduce) { .ob-chart-line, .ob-chart-goal, .ob-chart-labels span, .ob-climb-dot, .ob-climb-chip { animation: none !important; } .ob-climb-dot { left: 63%; top: 28%; } }
.ob-bmi { padding-top: 15px; text-align: center; }
.ob-bmi > strong { display: block; font-size: 65px; font-weight: 750; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.ob-bmi > span { display: block; font-size: 16px; font-weight: 600; animation: ob-vb-fade .4s ease 1.3s both; }
.ob-bmi-scale { position: relative; display: flex; height: 13px; margin-top: 48px; }
.ob-bmi-scale em { height: 100%; transition: opacity .4s ease, transform .4s ease; }
.ob-bmi-scale em:nth-child(1) { background: #8cceec; border-radius: 10px 0 0 10px; }
.ob-bmi-scale em:nth-child(2) { background: #78b47b; }
.ob-bmi-scale em:nth-child(3) { background: #e8c96a; }
.ob-bmi-scale em:nth-child(4) { background: #db837e; border-radius: 0 10px 10px 0; }
/* After the count the person's zone stays bright and a little taller, the others fade. */
.ob-bmi-scale:not(.is-counting) em:not(.is-you) { opacity: .35; }
.ob-bmi-scale:not(.is-counting) em.is-you { transform: scaleY(1.35); }
.ob-bmi-scale i { position: absolute; top: -5px; left: var(--at); width: 5px; height: 23px; background: var(--text-primary); border: 1px solid var(--bg-main); border-radius: 4px; transform: translateX(-50%); }
.ob-bmi-you { position: absolute; bottom: calc(100% + 14px); left: clamp(38px, var(--at), calc(100% - 38px)); transform: translateX(-50%); padding: 4px 10px; border-radius: 999px; background: var(--text-primary); color: var(--bg-main); font-size: 12px; font-weight: 650; white-space: nowrap; }
.ob-bmi-you::after { content: ''; position: absolute; top: 100%; left: calc(50% + (var(--at) - clamp(38px, var(--at), calc(100% - 38px)))); transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--text-primary); }
.ob-bmi-healthy { margin: 6px 0 12px; padding: 14px 18px; border-radius: 19px; background: color-mix(in srgb, var(--primary) 9%, var(--bg-card)); text-align: left; animation: ob-vb-fade .4s ease 1.5s both; }
.ob-bmi-healthy small { display: block; color: var(--text-secondary); font-size: 13px; }
.ob-bmi-healthy strong { display: block; margin: 4px 0 2px; font-size: 24px; font-weight: 750; letter-spacing: -.5px; }
.ob-bmi-healthy span { color: var(--primary); font-size: 14px; font-weight: 600; }
.ob-bmi-facts { padding: 4px 16px; border: 1px solid var(--border-color); border-radius: 19px; background: var(--bg-card); animation: ob-vb-fade .4s ease 1.7s both; }
.ob-bmi-facts > div { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.ob-bmi-facts > div + div { border-top: 1px solid var(--border-color); }
.ob-bmi-emoji { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--bg-main); font-size: 18px; line-height: 1; }
.ob-bmi-facts p { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.3; }
.ob-bmi-facts small { display: block; color: var(--text-secondary); font-size: 12px; font-weight: 500; }
/* Labels at their real places: 18,5 / 25 / 30 are the colour boundaries (14 / 40 / 60 %). */
.ob-bmi-labels { position: relative; display: block; height: 16px; }
.ob-bmi-labels span { position: absolute; top: 0; transform: translateX(-50%); }
.ob-bmi-labels span:first-child { transform: none; }
.ob-bmi-labels span:last-child { transform: translateX(-100%); }
@media (prefers-reduced-motion: reduce) { .ob-bmi > span, .ob-bmi-healthy, .ob-bmi-facts, .ob-bmi-scale em { animation: none !important; transition: none !important; } }
.ob-scale-labels { margin-top: 8px; color: var(--text-secondary); font-size: 10px; }
.ob-bmi-note { font-size: 14px; line-height: 1.55; margin: 22px 0; }
.ob-link { background: transparent; color: var(--primary); border: 0; padding: 8px 0; font-weight: 600; }
.ob-privacy-art { margin: 50px auto 40px; display: grid; place-items: center; width: 130px; height: 130px; border-radius: 35px; background: color-mix(in srgb,var(--primary) 9%,var(--bg-main)); color: var(--primary); }
.ob-privacy-art svg { width: 75px; height: 75px; stroke-width: 1.4; }
.ob-panel a { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; color: var(--primary); font-size: 12px; }
.ob-panel a svg { width: 14px; }
.ob-ring { --progress: 0%; width: 190px; height: 190px; padding: 9px; border-radius: 50%; margin: 38px auto; background: conic-gradient(var(--primary) var(--progress),var(--border-color) 0); }
.ob-percent { display: grid; place-items: center; height: 100%; border-radius: 50%; background: var(--bg-main); font-size: 45px; font-weight: 700; }
.ob-building-item { display: flex; align-items: center; gap: 13px; margin: 20px 0; color: var(--text-muted); font-size: 14px; line-height: 1.4; }
.ob-building-item svg { width: 22px; flex-shrink: 0; }
.ob-building-item.ob-done { color: var(--text-primary); }
.ob-building-item.ob-done svg { color: var(--primary); }
.ob-notice { font-size: 12px; line-height: 1.5; color: var(--text-secondary); }
.ob-result .ob-header { margin-bottom: 14px; }
.ob-result .ob-body { margin-top: 0; }
.ob-result .ob-content { padding-top: 4px; }
.ob-result-hero { text-align: center; margin: 0 0 24px; }
.ob-result-check { display: grid; place-items: center; width: 27px; height: 27px; margin: 0 auto 15px; border-radius: 50%; background: var(--primary); color: #fff; }
.ob-result-check svg { width: 18px; height: 18px; stroke-width: 3; }
.ob-result-hero h1 { text-align: center; font-size: 26px; line-height: 1.2; font-weight: 750; letter-spacing: -.7px; }
.ob-result-weekly { display: inline-block; color: var(--text-secondary); font-size: 12px; margin-top: 10px; }
.ob-result-section { padding: 16px; margin: 0 0 22px; border: 1px solid var(--border-color); border-radius: 23px; background: color-mix(in srgb,var(--primary) 2%,var(--bg-card)); }
.ob-result-section h2 { margin: 0 0 13px; font-size: 15px; line-height: 1.4; font-weight: 650; letter-spacing: -.2px; }
.ob-result-section:has(> .ob-result-hint) > h2 { margin-bottom: 3px; }
.ob-result-hint { font-size: 12px; color: var(--text-secondary); line-height: 1.5; margin: 0 0 14px; }
.ob-result-chart { display: block; width: 100%; height: auto; color: var(--text-primary); }
.ob-rc-line { stroke-dasharray: 1; animation: ob-chart-draw 1.5s cubic-bezier(.45,0,.25,1) .3s both; }
.ob-rc-area { animation: ob-rc-fade .7s ease-out 1.1s both; }
.ob-rc-end, .ob-rc-goal { transform-box: fill-box; transform-origin: center; animation: ob-vb-pop .45s cubic-bezier(.34,1.56,.64,1) 1.75s both; }
.ob-rc-goal { animation-delay: 1.95s; }
@keyframes ob-rc-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ob-rc-line, .ob-rc-area, .ob-rc-end, .ob-rc-goal { animation: none !important; } }
.ob-result-chart-labels { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; line-height: 1.4; }
.ob-result-chart-labels span:last-child { text-align: right; }
.ob-result-calories, .ob-result-macro, .ob-result-info, .ob-result-action, .ob-result-comparison { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: 16px; }
.ob-result-calories { display: flex; align-items: center; gap: 14px; padding: 15px; margin-bottom: 8px; }
.ob-result-calories strong { display: block; font-size: 34px; line-height: 1.1; letter-spacing: -.8px; font-weight: 700; }
.ob-result-calories small, .ob-result-macro small { color: var(--text-secondary); font-size: 10px; display: block; margin-top: 5px; }
.ob-result-nutrient-icon { display: grid; place-items: center; width: 32px; height: 32px; background: color-mix(in srgb,var(--primary) 4%,var(--bg-card)); border-radius: 10px; font-size: 15px; }
.ob-result-nutrient-icon svg { width: 19px; height: 19px; fill: currentColor; stroke-width: 1.5; }
.ob-result-macros { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.ob-result-macro { padding: 11px 9px; min-width: 0; }
.ob-result-macro .ob-result-nutrient-icon { width: 26px; height: 26px; font-size: 12px; margin-bottom: 7px; }
.ob-result-macro strong { display: block; font-size: 18px; line-height: 1.2; letter-spacing: -.5px; }
.ob-result-macro strong span { font-size: 12px; margin-left: 2px; }
.ob-result-info { padding: 14px; font-size: 12px; line-height: 1.45; }
.ob-result-info > div { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 13px; }
.ob-result-info > div:last-child { margin-bottom: 0; }
.ob-result-info svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.ob-result-info strong { font-weight: 500; }
.ob-result-info-emoji { display: inline-grid; place-items: center; width: 16px; height: 18px; flex-shrink: 0; font-size: 16px; line-height: 1; }
.ob-result-more { margin-top: 13px; font-size: 12px; line-height: 1.5; }
.ob-result-more summary { cursor: pointer; color: var(--text-secondary); }
.ob-result-actions { display: grid; gap: 11px; }
.ob-result-action { display: flex; align-items: center; gap: 13px; padding: 13px 12px; font-size: 13px; line-height: 1.4; min-height: 65px; }
.ob-result-action-art { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; }
.ob-result-action-art svg { width: 38px; height: 38px; }
.ob-result-emoji { font-size: 31px; line-height: 1; }
.ob-result-comparison { padding: 14px 12px; font-size: 12px; line-height: 1.4; margin-top: 12px; }
.ob-result-comparison h3 { margin: 0 0 9px; font-size: 13px; font-weight: 650; }
.ob-result-comparison p { display: flex; gap: 8px; align-items: flex-start; margin: 7px 0 0; }
.ob-result-comparison svg { width: 15px; height: 15px; flex-shrink: 0; color: #2aaa7c; margin-top: 1px; }
.ob-result-cross { color: #e25d62; font-size: 20px; line-height: 16px; width: 15px; flex-shrink: 0; }
.ob-result-trust-stats { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 12px; }
.ob-result-audience { display: flex; align-items: center; justify-content: center; gap: 3px; text-align: center; }
.ob-result-audience > svg { height: 51px; width: 22px; flex-shrink: 0; }
.ob-result-audience > svg:last-child { transform: scaleX(-1); }
.ob-result-audience strong, .ob-result-rating strong { font-size: 22px; font-weight: 750; white-space: nowrap; letter-spacing: -.8px; }
.ob-result-audience small, .ob-result-rating small { display: block; color: var(--text-secondary); font-size: 9px; line-height: 1.4; margin-top: 3px; }
.ob-result-rating > div { display: flex; align-items: center; gap: 4px; }
.ob-result-stars { letter-spacing: -2px; font-size: 13px; }
.ob-result-trust-caption { color: var(--text-secondary); font-size: 10px; line-height: 1.5; margin: 13px 0 0; }
.ob-result-method { color: var(--text-secondary); font-size: 12px; line-height: 1.6; margin: 2px 0 15px; }
.ob-result-method summary { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.ob-result-method summary::-webkit-details-marker { display: none; }
.ob-result-method svg { width: 15px; height: 15px; flex-shrink: 0; }
.ob-plan-row { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--border-color); padding: 13px 0; font-size: 13px; line-height: 1.4; }
.ob-plan-row span { color: var(--text-secondary); }.ob-plan-row strong { font-weight: 550; }
.ob-tip { display: flex; gap: 10px; }.ob-tip svg { color: var(--primary); width: 18px; flex-shrink: 0; }
/* Welcome scene (2026-11-10 v2): one pass, then the last frame stays. Sizes are in cqw
   (share of the scene width), so the whole scene scales as one picture. */
.ob-content:has(.ob-welcome-art) { display: flex; flex-direction: column; }
.ob-body:has(.ob-welcome-art) { flex: 1; display: flex; align-items: center; margin-top: 18px; }
.ob-welcome-art { width: 100%; }
.ob-scene { position: relative; width: min(100%, 360px); aspect-ratio: 100 / 110; margin: auto; container-type: inline-size; overflow: clip; border-radius: 22px; }
.ob-scene-meal { position: absolute; left: -17.5cqw; top: 2.4cqw; width: 130cqw; max-width: none; height: auto; animation: ob-scene-meal .6s cubic-bezier(.2,.8,.2,1) .1s both; }
.ob-scene-phone { position: absolute; left: 15cqw; top: 2cqw; width: 52cqw; height: 88cqw; border: 1.7cqw solid var(--text-primary); border-radius: 9cqw; overflow: hidden; box-shadow: 0 0 0 200cqw color-mix(in srgb, var(--bg-main) 50%, transparent), 0 4cqw 10cqw #0000002e; animation: ob-scene-phone .8s cubic-bezier(.2,.8,.2,1) .8s both; }
.ob-scene-notch { position: absolute; top: 0; left: 50%; width: 17cqw; height: 3.6cqw; transform: translateX(-50%); background: var(--text-primary); border-radius: 0 0 2.6cqw 2.6cqw; }
.ob-scene-corners { --c: var(--primary); --l: 7cqw; --w: 1cqw; position: absolute; inset: 8cqw 4cqw 6cqw; background:
  linear-gradient(var(--c), var(--c)) left top / var(--l) var(--w), linear-gradient(var(--c), var(--c)) left top / var(--w) var(--l),
  linear-gradient(var(--c), var(--c)) right top / var(--l) var(--w), linear-gradient(var(--c), var(--c)) right top / var(--w) var(--l),
  linear-gradient(var(--c), var(--c)) left bottom / var(--l) var(--w), linear-gradient(var(--c), var(--c)) left bottom / var(--w) var(--l),
  linear-gradient(var(--c), var(--c)) right bottom / var(--l) var(--w), linear-gradient(var(--c), var(--c)) right bottom / var(--w) var(--l);
  background-repeat: no-repeat; animation: ob-scene-corners .35s ease-out 1.55s both; }
.ob-scan-line { position: absolute; left: 0; right: 0; top: -14cqw; height: 14cqw; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--primary) 26%, transparent)); border-bottom: .7cqw solid var(--primary); box-shadow: 0 1.5cqw 4cqw color-mix(in srgb, var(--primary) 45%, transparent); opacity: 0; animation: ob-scan-line 1.2s cubic-bezier(.45,0,.55,1) 1.9s both; }
.ob-scan-tag { position: absolute; display: inline-flex; align-items: center; gap: 1.2cqw; padding: .9cqw 2.2cqw .9cqw 1.6cqw; border-radius: 999px; background: var(--bg-panel); color: var(--text-primary); font-size: max(10px, 3.2cqw); font-weight: 650; white-space: nowrap; box-shadow: 0 1.2cqw 3.4cqw #00000026; animation: ob-scan-tag .35s cubic-bezier(.2,.8,.2,1) calc(1.95s + var(--t, 0) * .014s) both; }
.ob-scan-tag i { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: var(--primary); }
/* Same card as the paywall's photo slide (.vnp-result in NutritionPaywall.js), scaled up. */
.ob-scan-card { position: absolute; left: 39cqw; top: 74cqw; width: 57cqw; display: flex; flex-direction: column; padding: 3.4cqw 3.8cqw 3.8cqw; border-radius: 4.4cqw; background: var(--bg-panel); color: var(--text-primary); box-shadow: 0 2.4cqw 7cqw #00000026; font-size: max(11px, 3.8cqw); line-height: 1.3; animation: ob-scan-card .5s cubic-bezier(.2,.8,.2,1) 3.2s both; }
.ob-scan-card b { font-size: 7.8cqw; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ob-scan-bars { display: flex; gap: 1cqw; margin-top: 2.2cqw; }
.ob-scan-bars i { height: 1.7cqw; border-radius: 1cqw; background: #0a7cff; flex: 3; transform-origin: left; animation: ob-scan-bar .5s ease-out 3.45s both; }
.ob-scan-bars i:nth-child(2) { flex: 2; background: #77b6ff; animation-delay: 3.55s; }
.ob-scan-bars i:nth-child(3) { flex: 4; background: #b6d8ff; animation-delay: 3.65s; }
@keyframes ob-scene-meal { from { opacity: 0; transform: scale(.86); } }
@keyframes ob-scene-phone { from { opacity: 0; transform: translateY(70cqw) rotate(9deg); box-shadow: 0 0 0 200cqw transparent, 0 4cqw 10cqw transparent; } }
@keyframes ob-scene-corners { from { opacity: 0; transform: scale(1.12); } }
@keyframes ob-scan-line { 0% { top: -14cqw; opacity: 0; } 10%, 88% { opacity: 1; } 100% { top: 86cqw; opacity: 0; } }
@keyframes ob-scan-tag { 0% { opacity: 0; transform: scale(.6); } 70% { opacity: 1; transform: scale(1.06); } 100% { opacity: 1; transform: none; } }
@keyframes ob-scan-card { from { opacity: 0; transform: translateY(12cqw); } }
@keyframes ob-scan-bar { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) {
  .ob-scene *, .ob-scene-corners { animation: none !important; }
  .ob-scan-line { display: none; }
}
.ob-error { position: absolute; bottom: 100px; left: 20px; right: 20px; max-width: 400px; margin: auto; padding: 18px; border: 1px solid var(--border-color); border-radius: 16px; background: var(--bg-panel); box-shadow: 0 10px 50px #0002; font-size: 14px; line-height: 1.4; z-index: 2; }
.ob-error button { display: block; margin-top: 12px; border: 0; border-radius: 18px; background: var(--primary); color: white; padding: 10px 16px; }
@media (min-width: 768px) { .ob-shell { padding-top: 32px; } .ob-header { margin-bottom: 32px; } .ob-content { scrollbar-gutter: stable; } }
@media (max-height: 700px) { .ob-scene { width: min(100%, 290px); } .ob-body { margin-top: 22px; } .ob-wheel-wrap { margin-top: 22px; } .ob-header { margin-bottom: 14px; } }
@media (max-height: 600px) { .ob-scene { width: min(100%, 240px); } }
@media (prefers-reduced-motion: reduce) { .ob-root * { transition: none !important; scroll-behavior: auto !important; } }

/* A signed-in person can close the quiz (decision 2026-11-10): the goal is set later from «Мой прогресс». */
.ob-shell { position: relative; }
.ob-close { position: absolute; top: 10px; right: 10px; z-index: 3; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--bg-secondary, rgba(0,0,0,.05)); color: var(--text-secondary); font: 400 24px/1 var(--font-family, sans-serif); cursor: pointer; }
.ob-close:hover { color: var(--text-primary); }
.ob-shell:has(.ob-close) .ob-header { padding-right: 44px; }

/* First screens by ad group (decision 2026-11-11): norm card, path chart, picture. */
.ob-welcome-chart { margin: 0 auto; width: min(100%, 360px); }
.ob-welcome-image { margin: 0 auto; width: min(100%, 320px); }
.ob-norm-card { width: min(100%, 340px); margin: auto; padding: 22px 22px 24px; border-radius: 22px; background: var(--bg-panel); color: var(--text-primary); box-shadow: 0 10px 30px #00000014; display: flex; flex-direction: column; gap: 4px; animation: ob-norm-card .5s cubic-bezier(.2,.8,.2,1) .15s both; }
.ob-norm-card > span { color: var(--text-secondary); font-size: 14px; }
.ob-norm-card b { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ob-norm-macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.ob-norm-macros div { display: flex; flex-direction: column; gap: 2px; }
.ob-norm-macros small { color: var(--text-secondary); font-size: 12px; }
.ob-norm-macros strong { font-size: 16px; font-variant-numeric: tabular-nums; }
.ob-norm-macros i { display: block; height: 6px; margin-top: 6px; border-radius: 4px; background: #0a7cff; transform-origin: left; animation: ob-scan-bar .5s ease-out calc(.6s + var(--i) * .1s) both; }
.ob-norm-macros div:nth-child(2) i { background: #77b6ff; }
.ob-norm-macros div:nth-child(3) i { background: #b6d8ff; }
@keyframes ob-norm-card { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) { .ob-norm-card, .ob-norm-macros i { animation: none !important; } }

/* Seller details and legal documents on the first and sign-up screens (decision 2026-11-11). */
.ob-legal { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 8px; color: var(--text-muted, var(--text-secondary)); font-size: 11px; line-height: 1.4; text-align: center; }
.ob-legal-toggle { border: 0; background: transparent; padding: 2px; color: inherit; font-size: 11px; text-decoration: underline; text-underline-offset: 2px; }
.ob-legal-docs { flex-basis: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; margin-top: 4px; }
.ob-legal-docs[hidden] { display: none; }
.ob-legal-docs a { color: var(--text-secondary); font-size: 12px; }

/* «Темп / Своя дата» on the pace screen (decision 2026-11-11), like «Изменить цель». */
.ob-pace-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 3px; border-radius: 12px; background: var(--prg-tile, rgba(15, 23, 42, .05)); }
.ob-pace-switch button { min-height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--text-secondary); font-size: 14px; font-weight: 500; }
.ob-pace-switch button[aria-selected="true"] { background: var(--bg-main); color: var(--text-primary); font-weight: 650; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.ob-pace-switch + .ob-pace { padding-top: 30px; }
.ob-recommended.ob-muted { color: var(--text-secondary); font-weight: 500; }
.ob-pace-date { display: flex; flex-direction: column; gap: 8px; align-items: center; color: var(--text-secondary); font-size: 13px; }
.ob-pace-date[hidden], [data-pace-slider][hidden] { display: none; }
.ob-pace-date input { width: min(100%, 260px); min-height: 48px; padding: 0 14px; border: 1px solid var(--border-color); border-radius: 14px; background: var(--bg-panel); color: var(--text-primary); font: 600 17px var(--font-family, Inter, sans-serif); text-align: center; -webkit-appearance: none; appearance: none; }
.ob-pace-safety { min-height: 8px; margin-top: 18px; }
.ob-pace-ambitious { padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--text-primary); font-size: 13px; line-height: 1.45; text-align: left; }
.ob-pace-ok { color: var(--prg-ok, #2f8a57); font-size: 13px; font-weight: 600; }
.ob-pace-note { margin: 0; color: var(--text-secondary); font-size: 13px; }
.ob-pace-safety + .ob-goal-date { margin-top: 20px; }
/* Fuller plan (decision 2026-11-16): the energy behind the norm, food vs trainings, the
   day by meals, daily steps and the way by weeks. */
.ob-energy { margin-top: 12px; }
.ob-energy h3 { margin: 0 0 2px; font-size: 13px; font-weight: 650; }
.ob-energy .ob-plan-row { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; font-size: 12px; }
.ob-energy .ob-plan-row strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.ob-energy .ob-plan-row small { color: var(--text-secondary); font-weight: 400; font-size: 10px; }
.ob-paths { display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 8px; }
.ob-path { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 13px 12px 12px; background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: 16px; font-size: 12px; line-height: 1.35; min-width: 0; }
.ob-path small { color: var(--text-secondary); font-size: 11px; }
.ob-path strong { font-size: 22px; line-height: 1.15; letter-spacing: -.5px; font-weight: 750; }
.ob-path > span { color: var(--text-secondary); font-size: 11px; }
.ob-path > span { margin-bottom: 8px; }
.ob-path-earlier { margin: -6px 0 8px; font-style: normal; font-size: 11px; font-weight: 600; color: var(--primary); }
.ob-path-bar { display: block; height: 6px; margin-top: auto; border-radius: 6px; background: color-mix(in srgb,var(--text-primary) 18%,transparent); width: var(--w); transform-origin: left; animation: ob-path-grow .9s cubic-bezier(.2,.8,.2,1) .2s both; }
.ob-path-best { border-color: color-mix(in srgb,var(--primary) 55%,var(--border-color)); background: color-mix(in srgb,var(--primary) 6%,var(--bg-panel)); }
.ob-path-best strong { color: var(--primary); }
.ob-path-best .ob-path-bar { background: var(--primary); }
.ob-path-badge { align-self: flex-start; margin-bottom: 2px; padding: 3px 8px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 10px; font-weight: 650; }
@keyframes ob-path-grow { from { transform: scaleX(0); } }
.ob-path-note { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: 12px; line-height: 1.5; }
.ob-paths-section > h2 + .ob-path-note { margin-top: 0; }
.ob-meals { display: grid; gap: 6px; }
.ob-meal { display: flex; align-items: center; gap: 11px; padding: 10px 12px; background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: 14px; font-size: 13px; }
.ob-meal-emoji { font-size: 19px; line-height: 1; width: 24px; text-align: center; }
.ob-meal-name { flex: 1; min-width: 0; }
.ob-meal-name small { display: block; color: var(--text-secondary); font-size: 10px; margin-top: 2px; }
.ob-meal strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.ob-meal strong small { color: var(--text-secondary); font-weight: 400; font-size: 10px; }
.ob-todo { display: grid; gap: 9px; }
.ob-todo p { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 11px 12px; background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: 14px; font-size: 12px; line-height: 1.45; }
.ob-todo p span { font-size: 15px; line-height: 1.1; width: 18px; flex-shrink: 0; text-align: center; }
.ob-timeline { list-style: none; margin: 0; padding: 0 0 0 18px; position: relative; }
.ob-timeline::before { content: ''; position: absolute; left: 5px; top: 8px; bottom: 14px; width: 2px; border-radius: 2px; background: color-mix(in srgb,var(--primary) 30%,transparent); }
.ob-timeline li { position: relative; padding: 0 0 15px; font-size: 12px; line-height: 1.45; }
.ob-timeline li:last-child { padding-bottom: 0; }
.ob-timeline li::before { content: ''; position: absolute; left: -17px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--bg-panel); border: 2px solid var(--primary); }
.ob-timeline li.ob-timeline-goal::before { background: var(--primary); }
.ob-timeline li > div { display: flex; justify-content: space-between; gap: 10px; }
.ob-timeline strong { font-weight: 600; }
.ob-timeline b { white-space: nowrap; font-weight: 700; }
.ob-timeline small { display: block; color: var(--text-secondary); font-size: 11px; margin-top: 2px; }
/* A/B «gate» (decision 2026-11-16): the norm stays visible; a soft blur starts halfway down
   the macros and flows into the blurred plan, and a narrower «Ваш план готов» card hangs over it. */
.ob-daily-locked { position: relative; overflow: hidden; margin-bottom: 0; }
.ob-daily-locked::after { content: ''; position: absolute; inset: auto 0 0; height: 84px; pointer-events: none;
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 80%); mask-image: linear-gradient(to bottom, transparent, #000 80%);
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--bg-main) 25%, transparent)); }
.ob-gate { position: relative; z-index: 2; width: 86%; margin: -22px auto 0; text-align: center; padding: 14px 14px 13px; border-radius: 20px; border: 1px solid color-mix(in srgb,var(--primary) 45%,var(--border-color)); background: color-mix(in srgb,var(--primary) 8%,var(--bg-card)); box-shadow: 0 14px 34px #00000055, 0 2px 8px #00000033; }
.ob-gate-lock { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; vertical-align: -6px; margin-right: 8px; }
.ob-gate-lock svg { width: 15px; height: 15px; }
.ob-gate h2 { display: inline; margin: 0; font-size: 18px; font-weight: 750; letter-spacing: -.3px; }
.ob-gate p { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: var(--text-secondary); }
.ob-result-hero:has(~ .ob-gate) { margin-bottom: 16px; }
.ob-gated { position: relative; z-index: 1; margin-top: -56px; max-height: 560px; overflow: hidden; user-select: none; pointer-events: none; }
.ob-gated > * { filter: blur(7px); opacity: .75; }
.ob-gated::after { content: ''; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(to bottom, transparent, var(--bg-main)); }
@media (prefers-reduced-motion: reduce) { .ob-path-bar { animation: none !important; } }
