.home-page{gap:56px;display:grid}.home-page .welcome-layout{background:var(--soft);border-radius:32px;grid-template-columns:1fr 1fr;min-height:0;margin:0;overflow:clip}.home-page .welcome-photo{height:650px;min-height:0}.home-page .welcome-photo img{object-fit:cover;width:100%;height:100%}.home-page .welcome-content{padding:36px}.home-current,.home-final{padding:32px}.home-current{grid-template-columns:1fr 1fr;align-items:center;gap:24px;display:grid}.home-current h2,.home-how h2,.home-final h2{margin:12px 0;font-size:clamp(22px,3vw,32px);line-height:1.4}.home-thumbnails{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.home-thumbnails a{aspect-ratio:1;background:var(--soft);border-radius:18px;overflow:hidden}.home-thumbnails img{object-fit:cover;width:100%;height:100%}.home-how>h2{color:var(--surface);max-width:25ch;margin-bottom:28px}.home-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.home-step{padding:28px}.home-step .designer-illustration{object-fit:contain;width:110px;height:110px;margin-bottom:20px}.home-step h3{margin:12px 0;font-size:20px;line-height:1.5}.home-step p,.home-current p,.home-final p{line-height:1.7}.home-final{justify-content:space-between;align-items:center;gap:24px;display:flex}.home-final .btn{flex-shrink:0}@media (width<=700px){.home-page .welcome-layout{grid-template-columns:1fr}.home-page .welcome-photo{height:240px}.home-page .welcome-content{padding:30px 24px}.home-page .welcome-brand{display:none}.home-page{gap:32px}.home-current,.home-steps{grid-template-columns:1fr}.home-final{flex-direction:column;align-items:stretch}.home-step{padding:24px}.home-thumbnails{max-width:420px}}.skip-link{z-index:200;background:var(--surface);border-radius:12px;padding:12px 20px;position:fixed;top:-100px;left:20px}.skip-link:focus{outline-color:var(--fg);top:16px}.skip-link:not(:focus){clip-path:inset(50%);width:1px;height:1px;padding:0;overflow:hidden}.stack{gap:20px;display:grid}.stack>label,.stack fieldset{min-width:0}label{overflow-wrap:anywhere}.stack>label{gap:8px;display:grid}input:not([type=checkbox]):not([type=radio]),textarea{border:1px solid var(--control-border);background:var(--soft);border-radius:12px;width:100%;min-width:0;padding:12px 14px}textarea{resize:vertical;min-height:120px}input[type=checkbox],input[type=radio]{accent-color:var(--success)}fieldset{border:0;margin:0;padding:0}legend{margin-bottom:12px}.button{border:1px solid var(--control-border);background:var(--soft);border-radius:99px;justify-content:center;align-items:center;gap:10px;min-height:52px;padding:12px 24px;font-weight:600;line-height:1.5;display:inline-flex}.button:hover{background:var(--surface);border-color:var(--fg)}.button.primary{background:var(--accent);color:var(--surface);border-color:#0000}.button.primary:hover{background:var(--accent-hover)}.text-button{text-underline-offset:4px;background:0 0;border:0;align-items:center;gap:8px;min-height:44px;padding:0;font-size:13px;text-decoration:underline;display:inline-flex}.notice{background:var(--success-bg);color:var(--success);overflow-wrap:anywhere;border-radius:16px;margin-block:16px;padding:16px 20px;font-size:14px}.notice a{text-decoration:underline}.notice-error{background:var(--danger-bg);color:var(--danger)}.notice :focus-visible{outline-color:currentColor}.boot-layout{gap:24px;max-width:600px;margin:12vh auto;padding:24px;display:grid}.loading{justify-content:center;align-items:center;gap:16px;padding:28px;display:flex}.spinner{border:3px solid var(--border);border-top-color:var(--success);border-radius:50%;width:24px;height:24px;animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.section{margin-top:24px}.panel.stack,.panel.narrow-panel,.help-panel{padding:32px}.narrow-panel{max-width:720px}.button-row{flex-wrap:wrap;gap:12px;display:flex}.field-hint{color:var(--muted);font-size:13px;font-weight:400;display:block}.choice{background:var(--soft);border-radius:14px;align-items:flex-start;gap:12px;padding:16px;font-size:14px;display:flex!important}.choice input{flex:none;width:20px;height:20px;min-height:20px;margin:2px 0 0}.link-list{margin-top:16px;display:grid}.link-list a{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;min-height:56px;padding-block:12px;font-size:14px;display:flex}.link-list a:last-child{border-bottom:0}.link-list a:hover{text-underline-offset:4px;text-decoration:underline}.line-items{margin:0;padding:0;list-style:none}.line-items li{border-bottom:1px solid var(--border);justify-content:space-between;gap:20px;padding:14px 0;display:flex}.line-items small{color:var(--muted);display:block}.confirm-box{background:var(--soft);border-radius:16px;padding:20px}.rating>div{gap:10px;display:flex}.rating label{cursor:pointer;position:relative}.rating input{opacity:0;width:1px;height:1px;position:absolute}.rating span{border:1px solid var(--control-border);background:var(--soft);border-radius:50%;place-items:center;width:48px;height:48px;display:grid}.rating .selected span{background:var(--accent)}.rating label:has(:focus-visible){outline:3px solid var(--fg);outline-offset:3px;border-radius:50%}.on-green-title{color:var(--surface);margin-block:24px}.multiline{white-space:pre-line}.image-placeholder{width:100%;min-height:140px;color:var(--muted);place-items:center;display:grid}.image-placeholder svg{width:48px;height:48px}.recipe-feature .image-placeholder{min-height:300px}.recipe-meta{color:var(--muted);flex-wrap:wrap;gap:12px;margin-top:12px;font-size:13px;display:flex}.recipe-meta span{align-items:center;gap:6px;display:inline-flex}.recipe-meta svg{width:18px;height:18px}.equipment{color:var(--muted);margin-block:20px;font-size:13px}.nutrition{gap:24px;margin-block:20px;font-size:13px;display:flex}.nutrition dt{color:var(--muted)}.nutrition dd{margin:0;font-weight:600}.usage-prompt{margin-top:28px;padding:24px}.alternative-list{gap:20px;display:grid}.alternative-list .replacement{border:0;padding:24px}.replacement h2{font-size:20px}.replacement-search{background:var(--surface);border-radius:99px;align-items:center;gap:12px;max-width:600px;margin-bottom:24px;padding:5px 20px;display:flex}.replacement-search input{background:0 0!important;border:0!important}.shopping-export{flex-wrap:wrap;gap:12px;display:flex}.shopping-paper>.price-estimate{color:var(--fg);margin:0 0 22px;font-size:20px}.shopping-paper .all-collected{color:var(--success);margin:0}.item-amount{overflow-wrap:anywhere;max-width:35%}.mini-dish .image-placeholder{flex:none;width:58px;min-width:58px;min-height:60px}.mini-dish .image-placeholder svg{width:32px;height:32px}.onboarding-steps{padding:0;list-style:none}.quiz-text-answer{margin-top:24px}.quiz-option{cursor:pointer}.quiz-exclusion[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--fg);background:var(--soft)}.quiz-exclusion.finish-option{background:var(--accent);color:var(--surface);border-color:#0000;flex-basis:100%;margin-top:10px}.person-option{cursor:pointer;place-items:center;display:grid}.person-option:has(input:checked){background:var(--soft);border-color:var(--fg)}.person-option:has(input:focus-visible){outline:3px solid var(--fg);outline-offset:3px}.history-link{margin-left:20px}.help-art{width:100px}.help-video{border-radius:16px;width:100%}.logout-button{margin-top:24px;display:flex}.auth-welcome{background:var(--soft)}.auth-welcome .welcome-content{gap:18px;padding-block:40px}.auth-welcome .welcome-content>h1{font-size:25px}.auth-welcome .welcome-description,.auth-welcome .welcome-note{display:none}.auth-welcome .welcome-brand{font-size:40px}.auth-welcome .welcome-brand img{width:72px}.sign-in{text-align:left;gap:16px;width:100%;max-width:360px}.sign-in h2{text-align:center;font-size:23px}.sign-in>.small{text-align:center}.sign-in .stack{gap:16px}.auth-code-actions{flex-wrap:wrap;justify-content:space-between;gap:4px 12px;display:flex}.divider{color:var(--muted);align-items:center;gap:12px;font-size:13px;display:flex}.divider:before,.divider:after{content:"";background:var(--border);flex:1;height:1px}.content:has(>.welcome-layout){max-width:none;padding:0}.content>.welcome-layout{background:var(--soft);border-radius:32px;min-height:calc(100dvh - 112px);overflow:clip}.content>.welcome-layout .welcome-photo{min-height:calc(100dvh - 112px)}html[data-telegram] .app-header{padding-top:calc(20px + max(env(safe-area-inset-top), var(--tg-safe-top,0px)))}html[data-telegram] .mobile-nav{bottom:calc(20px + max(env(safe-area-inset-bottom), var(--tg-safe-bottom,0px)))}@media (width<=600px){:is(body:has(.auth-welcome),body:has(.onboarding-shell)){padding-bottom:0}body:has(.auth-welcome):before{display:none}.panel.stack,.panel.narrow-panel,.help-panel{padding:24px 20px}.auth-welcome .welcome-photo{height:24dvh}.auth-welcome .welcome-content{min-height:76dvh;padding:24px 20px}.auth-welcome .welcome-brand{flex-direction:row;gap:10px;font-size:30px}.auth-welcome .welcome-brand img{width:48px}.auth-welcome .welcome-content>h1{font-size:21px}.content>.welcome-layout{border-radius:0}.content>.welcome-layout .welcome-photo{min-height:0}.shopping-export{display:grid}.shopping-export .btn{width:100%}.history-grid{grid-template-columns:1fr;display:grid;overflow:visible}.history-link{margin-left:0;display:flex}.recipe-meta{justify-content:center}.alternative-list .replacement{padding:20px}.alternative-list .recipe-meta{justify-content:start}.recipe-document .notice{margin-inline:16px}.onboarding-layout{margin-bottom:max(24px, var(--tg-safe-bottom,0px))}}.person-option:has(input:checked) img{filter:none;opacity:1}@media (width<=600px){.menu-heading p{display:none}}.guest-sign-in{margin-left:auto;margin-right:24px;text-decoration:none}@media (width<=600px){.onboarding-shell.has-account-nav{padding-bottom:calc(100px + var(--tg-safe-bottom,env(safe-area-inset-bottom)))}}@media (width<=700px){.guest-sign-in{margin-right:12px}}.access-remaining{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.provider-vk{color:#fff;background:#07f}.provider-yandex{color:#fff;background:#000}.provider-yandex span{color:#f43;font-size:1.5em}.link-qr{width:220px;height:220px;display:block}@media (width<=600px){.link-qr{display:none}}.store-estimate{width:fit-content;max-width:100%;color:var(--fg);background:var(--surface);border-radius:20px;align-items:center;gap:12px;margin-block-end:clamp(20px,3vw,32px);padding:8px 16px 8px 10px;display:flex}.store-estimate img{object-fit:contain;border-radius:12px}.store-estimate p{margin:0;font-size:15px;font-weight:600}.list-progress{margin:8px 0 24px}.list-progress .progress-caption{align-items:center;min-height:32px}.list-progress .text-btn{min-height:44px}.list-progress progress{appearance:none;background:var(--soft);width:100%;height:8px;color:var(--success);accent-color:var(--success);border:0;border-radius:8px;display:block;overflow:hidden}.list-progress progress::-webkit-progress-bar{background:var(--soft)}.list-progress progress::-webkit-progress-value{background:var(--success)}.list-progress progress::-moz-progress-bar{background:var(--success)}.page-back{background:var(--surface);min-height:44px;color:var(--fg);border-radius:99px;padding:8px 16px}.app-header .guest-sign-in,.app-header .trial-sign-in{min-height:44px;color:var(--fg);background:var(--surface);border:1px solid;border-radius:99px;align-items:center;padding:6px 20px;font-weight:700;text-decoration:none;display:inline-flex}.profile-layout{grid-template-areas:"details pin""details side"}.profile-details{grid-area:details}.profile-side{grid-area:side}.profile-panel.pin-panel{background:var(--success-bg);grid-area:pin}@media (width<=760px){.profile-layout{grid-template-areas:"pin""details""side"}}.pin-panel .profile-account{margin-top:18px}.pin-panel h3{margin:0}.profile-shortcut{border-top:1px solid var(--control-border);margin-top:18px;padding-top:18px}.profile-shortcut>:last-child{margin:8px 0 0}.profile-shortcut summary{cursor:pointer;align-content:center;min-height:44px;font-weight:700}.shortcut-steps{gap:8px;margin:12px 0;padding:0;list-style:none;display:grid}.shortcut-steps li{align-items:center;gap:12px;display:flex}.shortcut-steps li>span{background:var(--success-bg);height:42px;color:var(--success);border-radius:12px;flex:0 0 42px;place-items:center;display:grid}.shortcut-steps svg{width:23px;height:23px}.shortcut-steps .vertical-dots svg{transform:rotate(90deg)}
