@keyframes auth-visual-glow{0%{transform:translate(-3%,-2%)scale(1)}to{transform:translate(12%,10%)scale(1.15)}}:root{--cs-radius-bubble:18px;--cs-radius-card:14px;--cs-radius-pill:999px;--cs-radius-field:22px;--cs-accent:var(--primary,#32d066);--cs-accent-tint:color-mix(in srgb, var(--primary,#32d066) 12%, transparent);--cs-accent-tint-soft:color-mix(in srgb, var(--primary,#32d066) 6%, transparent);--cs-accent-edge:color-mix(in srgb, var(--primary,#32d066) 45%, var(--border-soft-2));--cs-fill:var(--surface-2,#7f7f7f1f);--cs-edge:var(--border-soft-2);--cs-gutter:16px;--cs-column:720px}html[data-locked-frame=true] #page-wrapper{flex-direction:column;display:flex}html[data-locked-frame=true] #page-content{flex-direction:column;flex:auto;min-height:0;display:flex}.smart-search{--ss-top:0px;height:calc(100dvh - var(--ss-top) - 12px);grid-template-columns:minmax(320px,3fr) 7fr;align-items:stretch;gap:24px;min-height:420px;display:grid}.smart-search-chat{border:1px solid color-mix(in srgb, var(--glass-gradient-start) 100%, transparent);background:color-mix(in srgb, var(--background-soft) 100%, transparent);height:100%;min-height:0;box-shadow:0 8px 20px -8px color-mix(in srgb, var(--ink-permanent) 22%, transparent);border-radius:12px;flex-direction:column;display:flex}:root.theme-light .smart-search-chat{background:color-mix(in srgb, var(--background-1) 100%, transparent)}:root:has(.theme-light) .smart-search-chat{background:color-mix(in srgb, var(--background-1) 100%, transparent)}@media (prefers-color-scheme:light){:root:not(.theme-dark) .smart-search-chat{background:color-mix(in srgb, var(--background-1) 100%, transparent)}}.smart-search-chat{border-radius:20px;overflow:hidden}.smart-search-chat__header{padding:14px var(--cs-gutter) 10px;flex:none;align-items:center;gap:10px;display:flex}.smart-search-chat__header .smart-search-view-toggle{padding:8px}.smart-search-chat__header .smart-search-view-toggle span{display:none}.smart-search-chat__badge{width:28px;height:28px;color:var(--cs-accent);background:var(--cs-accent-tint);border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex}.smart-search-chat__badge svg{font-size:16px}.smart-search-chat__heading{flex-direction:column;gap:1px;min-width:0;display:flex}.smart-search-chat__title.custom{color:var(--text);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:15px;font-weight:600;line-height:1.25;display:-webkit-box;overflow:hidden}.smart-search-chat__subtitle.custom{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.smart-search-chat__criteria{padding:10px var(--cs-gutter) 12px;border-top:1px solid var(--cs-edge);border-bottom:1px solid var(--cs-edge);flex-direction:column;flex:none;gap:8px;display:flex}.smart-search-chat__criteria-head{color:var(--text-muted);justify-content:space-between;align-items:baseline;font-size:13px;display:flex}.smart-search-chat__criteria-count{color:var(--cs-accent);font-weight:500}.smart-search-chat__scroll{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-height:0;padding:20px var(--cs-gutter) 8px;flex-direction:column;flex:auto;padding-top:12px;display:flex;overflow-y:auto}.smart-search-chat__log{flex-direction:column;gap:8px;margin-top:auto;display:flex}.smart-search-chat__row{max-width:88%;animation:.22s ease-out both smart-search-rise;display:flex}.smart-search-chat__row--user{align-self:flex-end}.smart-search-chat__row--user .smart-search-chat__bubble{background:var(--cs-accent);color:#fff;border-bottom-right-radius:6px}.smart-search-chat__row--assistant{align-self:flex-start}.smart-search-chat__row--assistant .smart-search-chat__bubble{background:var(--cs-fill);border-bottom-left-radius:6px}.smart-search-chat__bubble{border-radius:var(--cs-radius-bubble);white-space:pre-wrap;overflow-wrap:anywhere;padding:10px 14px;font-size:14px;line-height:1.45}.smart-search-chat__bubble.is-past{color:var(--text-muted)}.smart-search-chat__bubble--choice{white-space:normal;align-items:center;gap:6px;display:inline-flex}.smart-search-chat__bubble--choice.is-removed .smart-search-chat__choice-title{text-decoration:line-through}.smart-search-chat__choice-icon{font-size:16px!important}.smart-search-chat__choice-type{opacity:.8;font-size:12px}.smart-search-chat__choice-type:after{content:":"}.smart-search-chat__choice-title{font-weight:600}.smart-search-chat__typing{align-items:center;gap:4px;padding:14px;display:inline-flex}.smart-search-chat__typing span{background:var(--text-muted);border-radius:50%;width:6px;height:6px;animation:1.2s ease-in-out infinite smart-search-typing}.smart-search-chat__typing span:nth-child(2){animation-delay:.15s}.smart-search-chat__typing span:nth-child(3){animation-delay:.3s}.smart-search-chat__refine{flex-direction:column;gap:12px;margin-top:4px;animation:.22s ease-out both smart-search-rise;display:flex}.smart-search-chat__refine-label,.smart-search-chat__filter-label{color:var(--text-muted);font-size:13px}.smart-search-chat__filter{flex-direction:column;gap:6px;min-width:0;display:flex}.smart-search-chat__pills{overscroll-behavior-x:contain;scrollbar-width:none;margin-inline:calc(var(--cs-gutter)*-1);padding:0 var(--cs-gutter) 2px;gap:8px;display:flex;overflow-x:auto}.smart-search-chat__pills::-webkit-scrollbar{display:none}.smart-search-chat__pills{cursor:grab}.smart-search-chat__pills.is-dragging{cursor:grabbing;-webkit-user-select:none;user-select:none}.smart-search-chat__pills.is-dragging .smart-search-pill{pointer-events:none}.smart-search-chat__composer{padding:12px var(--cs-gutter) 16px;border-top:1px solid var(--cs-edge);flex:none;align-items:flex-end;gap:8px;display:flex}.smart-search-chat__field{resize:none;border:1px solid var(--cs-edge);border-radius:var(--cs-radius-field);min-width:0;max-height:140px;color:var(--text);font-family:var(--font-chefnotes),sans-serif;background:0 0;outline:none;flex:auto;padding:10px 14px;font-size:15px;line-height:1.4;transition:border-color .15s}.smart-search-chat__field::placeholder{color:var(--text-muted)}.smart-search-chat__field:focus{border-color:color-mix(in srgb, var(--primary,#32d066) 60%, var(--border-soft-2))}.smart-search-chat__send{appearance:none;cursor:pointer;color:#fff;background:var(--cs-accent);border:none;border-radius:50%;flex:none;justify-content:center;align-items:center;width:42px;height:42px;transition:opacity .15s,transform .12s;display:inline-flex}.smart-search-chat__send:active:not(:disabled){transform:scale(.94)}.smart-search-chat__send:disabled{opacity:.35;cursor:default}.smart-search-chat__send{border-radius:var(--cs-radius-card)}.filter-chips.smart-search-applied{overscroll-behavior-y:contain;scroll-snap-type:y proximity;flex-wrap:wrap;align-content:flex-start;max-height:62px;overflow:hidden auto}.filter-chips.smart-search-applied.is-overflowing:not(.is-at-end){-webkit-mask-image:linear-gradient(#000 65%,#0000);mask-image:linear-gradient(#000 65%,#0000)}.filter-chips.smart-search-applied .filter-chip,.filter-chips.smart-search-applied .clear-all-chip{scroll-snap-align:start}.filter-chips.smart-search-applied .filter-chip:disabled,.filter-chips.smart-search-applied .clear-all-chip:disabled{opacity:.5;cursor:default}.smart-search-view-toggle{appearance:none;cursor:pointer;border:1px solid var(--cs-edge);color:inherit;font:inherit;border-radius:var(--cs-radius-pill);text-align:left;background:0 0;padding:8px 14px;font-size:13px;line-height:1.35;transition:border-color .15s,background-color .15s,transform .12s}.smart-search-view-toggle:hover:not(:disabled){border-color:var(--cs-accent);background:var(--cs-accent-tint-soft)}.smart-search-view-toggle:active:not(:disabled){transform:scale(.97)}.smart-search-view-toggle:disabled{opacity:.5;cursor:default}.smart-search-view-toggle{white-space:nowrap;flex:none;align-items:center;gap:6px;display:inline-flex}.smart-search-view-toggle svg{color:var(--cs-accent);font-size:18px}.smart-search-pill{appearance:none;cursor:pointer;border:1px solid var(--cs-edge);color:inherit;font:inherit;border-radius:var(--cs-radius-pill);text-align:left;background:0 0;padding:8px 14px;font-size:13px;line-height:1.35;transition:border-color .15s,background-color .15s,transform .12s}.smart-search-pill:hover:not(:disabled){border-color:var(--cs-accent);background:var(--cs-accent-tint-soft)}.smart-search-pill:active:not(:disabled){transform:scale(.97)}.smart-search-pill:disabled{opacity:.5;cursor:default}.smart-search-pill{white-space:nowrap;flex:none;align-items:center;gap:6px;display:inline-flex}.smart-search-pill:before{content:"+";color:var(--cs-accent);font-weight:600}.smart-search-pill.is-exclude:before{content:"−";color:var(--text-muted)}.smart-search-pill--all:before{content:none}.smart-search-pill--all{border-color:var(--cs-accent);color:var(--cs-accent)}.smart-search-pill--all .smart-search-pill__count{color:inherit;opacity:.75}.is-mobile .smart-search-pill--all .smart-search-pill__label{display:none}.smart-search-pill__icon{width:16px;height:16px;display:inline-flex}.smart-search-pill__icon svg{width:100%;height:100%}.smart-search-pill__count{color:var(--text-muted);font-size:11px}.smart-search-results__grid--recipes .recipe-card .card-body .recipe-title-container .recipe-title,.smart-search-turn-results__rail .recipe-card .card-body .recipe-title-container .recipe-title{letter-spacing:-.2px;font-size:16px;line-height:1.25}.is-desktop .smart-search-results__grid--recipes .recipe-card .card-header .recipe-image,.is-desktop .smart-search-turn-results__rail .recipe-card .card-header .recipe-image,.is-tablet .smart-search-results__grid--recipes .recipe-card .card-header .recipe-image,.is-tablet .smart-search-turn-results__rail .recipe-card .card-header .recipe-image{height:150px;min-height:0}.is-mobile .smart-search-results__grid--recipes .recipe-card .card-header .recipe-image,.is-mobile .smart-search-turn-results__rail .recipe-card .card-header .recipe-image{aspect-ratio:auto;height:128px;min-height:0;max-height:none}.smart-search-results__grid--mealPlans .plan-card,.smart-search-turn-results__rail .plan-card{gap:8px}.smart-search-results__grid--mealPlans .plan-card .card-body,.smart-search-turn-results__rail .plan-card .card-body{gap:6px;padding-bottom:10px}.smart-search-results__grid--mealPlans .plan-card .recipes-preview-container .recipe-preview-image-btn,.smart-search-turn-results__rail .plan-card .recipes-preview-container .recipe-preview-image-btn{width:32px;height:32px}.smart-search-results__grid--mealPlans .plan-card .card-header .plan-image,.smart-search-turn-results__rail .plan-card .card-header .plan-image{height:120px}.is-mobile .smart-search-results__grid--mealPlans .plan-card .card-header .plan-image,.is-mobile .smart-search-turn-results__rail .plan-card .card-header .plan-image{height:112px}.smart-search-results__grid--products .facts-card,.smart-search-turn-results__rail .facts-card{gap:8px}.smart-search-results__grid--products .facts-card__title,.smart-search-turn-results__rail .facts-card__title{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;min-height:2lh;display:-webkit-box;overflow:hidden}.smart-search-results__grid--products .facts-card__label,.smart-search-turn-results__rail .facts-card__label{gap:8px}.smart-search-results__grid--products .facts-label__row th,.smart-search-results__grid--products .facts-label__row td,.smart-search-turn-results__rail .facts-label__row th,.smart-search-turn-results__rail .facts-label__row td{padding-top:2px;padding-bottom:2px}.smart-search-results__grid--products .facts-card__foot,.smart-search-turn-results__rail .facts-card__foot{padding:8px 11px 10px}.smart-search-results__grid--products .quality-index__figure,.smart-search-turn-results__rail .quality-index__figure{min-height:30px}.smart-search-results__grid--products .quality-index__value,.smart-search-turn-results__rail .quality-index__value{font-size:28px}.smart-search-results__grid--products .quality-index__peer,.smart-search-results__grid--products .quality-index__note,.smart-search-results__grid--products .quality-index__caption,.smart-search-turn-results__rail .quality-index__peer,.smart-search-turn-results__rail .quality-index__note,.smart-search-turn-results__rail .quality-index__caption{margin-top:4px}.smart-search-results{flex-direction:column;gap:16px;min-width:0;min-height:0;transition:opacity .2s;display:flex;overflow:hidden}.smart-search-results__scroll{overscroll-behavior:contain;flex:auto;min-height:0;padding-right:4px;overflow-y:auto}.smart-search-results.is-refreshing{opacity:.55;pointer-events:none}.smart-search-results__tabs{border:1px solid var(--cs-edge);border-radius:var(--cs-radius-pill);scrollbar-width:none;flex:none;align-self:flex-start;gap:4px;max-width:100%;padding:4px;display:inline-flex;overflow-x:auto}.smart-search-results__tab{appearance:none;cursor:pointer;border-radius:var(--cs-radius-pill);color:var(--text-muted);font-family:var(--font-chefnotes),sans-serif;white-space:nowrap;background:0 0;border:none;align-items:center;gap:6px;padding:8px 16px;font-size:14px;font-weight:500;transition:background-color .15s,color .15s;display:inline-flex}.smart-search-results__tab:hover:not(.is-active){color:var(--text)}.smart-search-results__tab.is-active{background:var(--cs-accent);color:#fff}.smart-search-results__tab.is-active .smart-search-results__tab-count{color:inherit;background:#ffffff38}.smart-search-results__tab-count{border-radius:var(--cs-radius-pill);background:var(--cs-accent-tint);min-width:20px;color:var(--cs-accent);text-align:center;padding:1px 6px;font-size:12px}.smart-search-results__grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px;display:grid}.smart-search-results__grid--recipes{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:24px 16px}.smart-search-results__grid--mealPlans{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}.smart-search-results__grid--products{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}.smart-search-results__grid--ingredients{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}.is-mobile .smart-search-results__grid{grid-template-columns:minmax(0,1fr)}.is-mobile .smart-search-results__grid--products{grid-template-columns:repeat(auto-fill,minmax(min(170px,50% - 6px),1fr))}.is-mobile .smart-search-results__grid--recipes,.is-mobile .smart-search-results__grid--products,.is-mobile .smart-search-results__grid--ingredients{grid-template-columns:repeat(2,minmax(0,1fr))}.smart-search-results__sentinel{height:1px}@keyframes smart-search-rise{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes smart-search-typing{0%,80%,to{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
