@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(data:font/woff2;base64,d09GMgABAAAAAAjYABQAAAAAD0wAAAhrAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhYbchwuP0hWQVKBCT9NVkFSOQZgP1NUQVSBHgBsL2wRCAqFDIQVCxoAMId0ATYCJAMuBCAFhVIHdgwHG1UNUdQsyukusq8SOCcq7Il9U8YYyc4hBYUZskZi+WMmWcM83sEXLlRE1Nrz9uwBfn4fKADMKopImEh2xMakYuOJfPo5fckYZWSJ1IhUAShEvz8D1/MjoYDsVM9nP4+b+V4CCc0nqFX8XOFUWx9M1MjSWXuu0noq4g3wvx8YUbx0A4Dxufr+L8Suffx+ru62IVU87zAJEVKllHvt3uYNUZlo+6Gyila6iWSaJQ95CSpbukVaRwJB/OuyMewc71QwA4qISgSjXRykOu4mWcR2H4iG7d+jBrbV8D+I3MoTA/MIolb0olescxzYxVaigGWIAv6uSWtxu9mt4H4VWlSDB9iDeFC2wtQ2uVAbGvNmS7RmwammcTTYG9th3bYr5O2eHIt369EoyE9jy9ptrmcaWXgg//rn4AKOcgYBvVjUkiiAYBZsynvMSNTlWObVDOX5SQCcep06VyDmL5K9dChe/VkvX4BrZasJfavjPtQfZxrgdQBlWfkKYCuDiF6wMGCT8qAoUYbFSlvYxQFOkNemuMVAKtcBJ9S+j2qyG1S+JW1egPJxfFWXXzChLxcph/SEsdrKc6qeA5Ta2hYquf5+7SKw0nKVYomtHO0D/sPWXwZNOgFT/UUodAVcYp7wl1klYMhmwXJFLAz6GXDDEPIC9KNPSiq4tcb3o7XhlkmbhxQ6+KWsZ4UMw/hXQkaqrSBTPQ8e+R81mME6TPgI4GewCQtQlP9Fh1I8+4jUdV+tWa9n0nlk6sQAXvEOH6Akn5KPuThlTDyfRJKTSCKhCUWSSUIil8RRHM0l/Jr67JKLrL1J0m4HkjUXnpDkOBJLkACJJzGJXBwHHHIxn+YoXrnzqF16fLfd5rcNu3uXUFhv53BL+qj88sO4et8tLvXKCQu3/vL95yTt6d2D4F+zw0CAiyGgXLIC/GdvkrTjp8t+884TXzyJ8aU+i2v3QPqIwrrC4oDsx9nAMZd+l1/yDVx+3E9MQdjC+aA6/94571s73J944j2fXdj3Ms+F9z7Y1OezvvF9P8N70G/W95vkTLVP06m7dFHrppFVk52gOqbf3uJdlueRYiUPsBfpw+7dJblT8mLzplAx5+2Xzr/kdjN55zoccz9n3DcbwUaO135Huii/+co9/dfvZlVNn95U41C/7Bti6/LFn2/E/3xlgjYyfKz2vZYu9m3c6jHTU7+b1XnxP67ShYz3uxwtw9IS4348OFENke/GAD02+whcdNVL5qxTFAjco+yAoDPmTPy9wbTypBeMlFd2/fUeF2EQBXuYwT6Y7OYQJ/lFSJelWcO4+zuRHDe4xgi9GU/LojxwjBTgJaRhTMFsndiE+eSM8fortjPrxQO+ErKFFDkhkJNjE5XVjCemUuaJ9RaFwdj5EVGQ37kDQUGiWBqYEGYAKEQKq7KRAQwdi2y8pkyLMGX9twFEMizztFCrlSRNUKVYw8w3erlA9uMWhu1oeZTe0NJhCmqqLamAekHE0lJB06Sg0Sjo7MHpNCoDAjpamTv2V+RNTpGpaCxNHBUd7YF/4V/8LH4UXIOTcBljvzakIXax5KSYsUMG//zTZ8mTaZvP3wK3A4Kf8Ii9euk+eAFfvxZ0r9MhPV1qZFleLcxTXZOULvYa4mD2+tFME/vqOSHZ2QZdfm2B1bS9MiHPHtfRRNb5PKOisa66hehKpcx8KBP8gAJWVmoeQAENBsGwENhsWllnZ2N9YyMQ7lumtYmk7FjO0CZEr/ej4N/dsM3xrc7nXxARJ/eMtirJ1Cnjh/YMM6lV06eN7g++idili0BpUvDxY8EwDzx48Ky4rQ1omVhp4LriZw/EtQf5iH4wCG9qpsGNq4X1hH8OkAoAI5uUZq2CZYmZYdr76YF4u92mlQHdVJyvNpi0TEdLXa3Mm/vocUN987n6+or8dLin3JKy8g6dubxIKqAqoU0QHI3lxRW1rFotSTZbZWW7xhYU2RXW7RIZERGoZf9y0gxHZPVlsZRCqXZqtaKqLD/9OW/w7MWrV3k1rSkjGUVHeTY0Z5SVdZ5WW2V5/PpSE81au/ZMf5FTQzMKU1R/6j584rQ+fYb/TsWDBg7GhwrnWXm9lNV3UN9QSgMuYSRiJ7Jqi0mj6d69tdVqtTRJD07sg7QnbtzIaqRoe7mstYbSmm22JEq202h0johhsxLIM3GG291VLwecGVCCcj7axOdVirSsoUF2TrxSO4twRglTRg4IgZB78PMWl6W6kYL2AHWRlFspqkJDFYitFEW1IjKmUDF1nerM7CCXBmpys4OCbQSKi4oo3+oMFHZenlpVVyQCIAAgwL1eRvZN9bB6BU0XAQBkhq82AQDkuKLpztiOBySSltAFaBUQvuy26bEU1Y0gCPaeyiYs5s2ipqkuw2r5MzlL+VM+AZTTEeb/K2Ewl6Ox7DLTNRkqLl3px7tHPeA19LkYY87DYmlOwMpe2cXaBv9g4xBfYmuDd3RLHeCebClmN2CldwXWFk7BxugoRdumLV25sP2wt9x2OOhtwtFK490nI46h6RlQXbtHET0XTJrhdWgBTye/QwqGLQ5dEieJJLSsv1lSJD27DBU8ChVOWsvIgT3FtWWAkA2mrk1IS2QaX/1OhCjsTDeSMgy8ESroHDyR0+sSovxmICWkmd6Xs7c97HXIf6gbCShTahu7hog9HEzlvqS8vL5CuMDy03uWmryCw/YD3/zz+F4yWR6Qkbdw9rGXlu1tq5kZzuP6YHcWwqR41wzKjubMl8EcX3DOTnNHaJBTl3L0hVzLpM+olK9llt6oq8LurL/Oq5Ai/x/E3GjGdn4Imyq1Kk3adOkztEf3/yjDY84x5EhidJQ1sV4RT4S9zPs/jEVGJRZ6A4fyv1tDhkhYJN5rwAns7MD0XAA=) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/onest-cyrillic-wght-normal-DXI_y_WF.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/onest-latin-ext-wght-normal-CnNj8hVb.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/onest-latin-wght-normal-CUIqqgP9.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--skeleton-base: color-mix(in srgb, var(--color-surface-muted) 78%, var(--color-border));--skeleton-highlight: rgb(255 255 255 / 72%)}:root[data-theme=dark]{--skeleton-base: #272727;--skeleton-highlight: rgb(255 255 255 / 10%)}.ui-skeleton,:is(.skeleton-card,.skeleton-row,.home-skeleton-line,.home-featured-skeleton,.journal-skeleton,.story-card-loading,.subscription-card-skeleton,.reels-quota-skeleton,.reels-sheet-quota-skeleton-line){position:relative;display:block;overflow:hidden;border-color:transparent;background:var(--skeleton-base);animation:none;isolation:isolate}.ui-skeleton:after,:is(.skeleton-card,.skeleton-row,.home-skeleton-line,.home-featured-skeleton,.journal-skeleton,.story-card-loading,.subscription-card-skeleton,.reels-quota-skeleton,.reels-sheet-quota-skeleton-line):after{position:absolute;z-index:1;inset:0;background:linear-gradient(100deg,transparent 18%,var(--skeleton-highlight) 48%,transparent 78%);content:"";transform:translate3d(-110%,0,0);animation:ui-skeleton-shimmer 1.4s var(--ease-in-out) infinite;will-change:transform}.ui-skeleton-group{min-width:0}.ui-skeleton-list{display:grid;gap:12px}.ui-skeleton-list-item{min-height:134px;border-radius:var(--radius-md)}.page-content-skeleton{display:grid;min-height:72dvh;align-content:start;gap:24px}.route-page-skeleton{min-height:100dvh;background:var(--color-background)}.route-page-skeleton--warm{--skeleton-base: rgb(255 255 255 / 20%);--skeleton-highlight: rgb(255 255 255 / 40%);background:var(--gradient-summary)}.app-shell .app-shell-content:has(>.route-page-skeleton--warm){min-height:100dvh;background:var(--gradient-summary)}:root[data-theme=dark] .route-page-skeleton--warm,:root[data-theme=dark] .app-shell .app-shell-content:has(>.route-page-skeleton--warm){--skeleton-base: #272727;--skeleton-highlight: rgb(255 255 255 / 10%);background:var(--color-background)}.route-content-skeleton{display:grid;width:min(100%,1180px);min-width:0;margin-inline:auto;gap:20px;padding-top:calc(78px + max(var(--tg-safe-top, 0px),env(safe-area-inset-top)))}.route-skeleton-inline-heading,.route-skeleton-metric-row,.route-skeleton-date-switcher,.route-skeleton-switcher,.route-skeleton-profile-card,.route-skeleton-profile-row,.route-skeleton-product-row,.route-skeleton-ai-panel{display:flex;min-width:0;align-items:center}.route-skeleton-text,.route-skeleton-label,.route-skeleton-action,.route-skeleton-caption,.route-skeleton-section-title,.route-skeleton-switcher-label,.route-skeleton-profile-heading,.route-skeleton-story-label,.route-skeleton-metric-suffix{height:12px;border-radius:999px}.route-skeleton-text{width:78%}.route-skeleton-text--strong{width:62%;height:17px}.route-skeleton-text--short{width:44%}.route-skeleton-label{width:112px}.route-skeleton-label--wide{width:168px}.route-skeleton-action{width:98px;margin-left:auto}.route-skeleton-caption{width:128px}.route-skeleton-section-title{width:148px;height:18px}.route-skeleton-card-lines{display:grid;min-width:0;flex:1 1 auto;gap:10px}.route-content-skeleton--home{gap:26px}.route-skeleton-stories{display:flex;gap:14px;overflow:hidden}.route-skeleton-story{display:grid;flex:0 0 62px;justify-items:center;gap:8px}.route-skeleton-story-avatar{width:58px;height:58px;border:2px solid rgb(255 255 255 / 24%);border-radius:50%}.route-skeleton-story-label{width:50px;height:8px}.route-skeleton-home-goal,.route-skeleton-journal-overview,.route-skeleton-ai-panel{padding:clamp(18px,4vw,24px);border:1px solid var(--glass-border);border-radius:var(--glass-radius);background:var(--glass-surface);box-shadow:var(--glass-shadow)}.route-skeleton-inline-heading{gap:18px}.route-skeleton-metric-row{gap:12px;margin-top:18px;align-items:flex-end}.route-skeleton-metric{width:min(44%,220px);height:clamp(40px,11vw,58px);border-radius:14px}.route-skeleton-metric-suffix{width:94px;margin-bottom:5px}.route-skeleton-progress{width:100%;height:8px;margin-top:15px;border-radius:999px}.route-skeleton-home-goal>.route-skeleton-caption{margin-top:11px}.route-skeleton-home-section{display:grid;gap:11px}.route-skeleton-home-cards,.route-skeleton-catalog-grid,.route-skeleton-product-list{display:grid;min-width:0;gap:12px}.route-skeleton-recipe-card,.route-skeleton-catalog-card{display:grid;min-width:0;align-items:stretch;border:1px solid var(--glass-inner-border);border-radius:20px;background:var(--glass-inner-surface);overflow:hidden}.route-skeleton-recipe-card{min-height:146px;grid-template-columns:118px minmax(0,1fr) 18px;gap:13px;padding-right:14px}.route-skeleton-recipe-media,.route-skeleton-catalog-media{width:100%;height:100%;border-radius:0}.route-skeleton-recipe-card .route-skeleton-card-lines{align-self:center}.route-skeleton-chevron{width:10px;height:24px;align-self:center;border-radius:999px}.route-content-skeleton--journal{gap:16px}.route-skeleton-journal-overview{display:grid;gap:13px;min-height:280px}.route-skeleton-journal-number{width:min(66%,390px);height:clamp(70px,20vw,118px);border-radius:20px}.route-skeleton-journal-toggle{width:100%;height:44px;margin-top:auto;border-radius:13px}.route-skeleton-date-switcher,.route-skeleton-switcher{min-height:48px;justify-content:space-between;gap:16px}.route-skeleton-date-control,.route-skeleton-product-action{width:36px;height:36px;flex:0 0 auto;border-radius:12px}.route-skeleton-date-label,.route-skeleton-switcher-label{width:148px;height:17px;border-radius:999px}.route-skeleton-meal-groups{overflow:hidden;border:1px solid var(--glass-border);border-radius:18px;background:var(--glass-surface)}.route-skeleton-meal-group{display:grid;gap:12px;padding:16px;border-bottom:1px solid var(--glass-inner-border)}.route-skeleton-meal-group:last-child{border-bottom:0}.route-skeleton-meal-row{width:100%;height:40px;border-radius:12px}.route-content-skeleton--catalog{gap:clamp(16px,2vw,24px)}.route-skeleton-search{width:100%;height:48px;border:1px solid var(--glass-control-border);border-radius:15px}.route-skeleton-chips{display:flex;gap:8px;overflow:hidden}.route-skeleton-chip{width:92px;height:44px;flex:0 0 auto;border:1px solid var(--glass-button-border);border-radius:14px}.route-skeleton-switcher-label{width:176px}.route-skeleton-catalog-card--recipe{min-height:158px;grid-template-columns:126px minmax(0,1fr);gap:15px;padding-right:16px}.route-skeleton-catalog-card .route-skeleton-card-lines{align-self:center}.route-skeleton-ai-panel{gap:14px}.route-skeleton-ai-icon,.route-skeleton-profile-icon{width:38px;height:38px;flex:0 0 auto;border-radius:12px}.route-skeleton-ai-action{width:152px;height:46px;flex:0 0 auto;border-radius:14px}.route-skeleton-product-row{min-height:82px;gap:14px;padding:15px 14px 15px 16px;border:1px solid var(--glass-inner-border);border-radius:20px;background:var(--glass-inner-surface)}.route-content-skeleton--profile{width:min(100%,760px);gap:24px}.route-skeleton-profile-card{min-height:104px;gap:16px;padding:18px;border:1px solid var(--color-border);border-radius:22px;background:var(--color-surface)}.route-skeleton-profile-avatar{width:64px;height:64px;flex:0 0 auto;border-radius:50%}.route-skeleton-profile-section{display:grid;gap:9px}.route-skeleton-profile-heading{width:92px;margin-left:12px}.route-skeleton-profile-list{overflow:hidden;border:1px solid var(--color-border);border-radius:20px;background:var(--color-surface)}.route-skeleton-profile-row{min-height:68px;gap:12px;padding:10px 16px;border-bottom:1px solid var(--color-border)}.route-skeleton-profile-row:last-child{border-bottom:0}.route-skeleton-profile-row .route-skeleton-text{flex:1 1 auto}@media(min-width:660px){.route-skeleton-catalog-grid,.route-skeleton-home-section:last-child .route-skeleton-home-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:760px){.route-skeleton-product-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:1024px){.route-content-skeleton{padding-top:0}.route-skeleton-recipe-card{grid-template-columns:180px minmax(0,1fr) 18px}.route-skeleton-catalog-card--recipe{grid-template-columns:172px minmax(0,1fr);min-height:178px}}@media(max-width:520px){.route-skeleton-ai-panel{align-items:stretch;flex-wrap:wrap}.route-skeleton-ai-panel .route-skeleton-card-lines{min-width:calc(100% - 54px)}.route-skeleton-ai-action{width:100%}}.page-content-skeleton-hero{min-height:clamp(270px,54vw,520px);border-radius:var(--radius-lg)}.page-content-skeleton-copy{display:grid;gap:14px;width:min(100%,920px);margin-inline:auto}.page-content-skeleton-title{width:min(62%,440px);height:42px;border-radius:12px}.page-content-skeleton-line{width:min(72%,620px);height:13px;border-radius:999px}.page-content-skeleton-line.is-long{width:min(92%,760px)}.page-content-skeleton-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.page-content-skeleton-field{min-height:92px;border-radius:var(--radius-md)}.page-content-skeleton--editor{width:min(100%,920px);margin-inline:auto;padding-top:24px}.profile-page-skeleton{display:grid;gap:12px}.food-picker-skeleton-list,.product-picker-skeleton-list{padding:8px}.food-picker-skeleton-row,.product-picker-skeleton-row{min-height:68px;border-radius:12px}@keyframes ui-skeleton-shimmer{to{transform:translate3d(110%,0,0)}}@keyframes ui-skeleton-breathe{to{opacity:.38}}@media(max-width:640px){.page-content-skeleton-grid{grid-template-columns:1fr}.page-content-skeleton-field{min-height:78px}}@media(prefers-reduced-motion:reduce){.ui-skeleton:after,:is(.skeleton-card,.skeleton-row,.home-skeleton-line,.home-featured-skeleton,.journal-skeleton,.story-card-loading,.subscription-card-skeleton,.reels-quota-skeleton,.reels-sheet-quota-skeleton-line):after{transform:none;animation:ui-skeleton-breathe 1.8s var(--ease-in-out) infinite alternate;will-change:opacity}}.has-open-overlay{overscroll-behavior:none}.overlay-backdrop{position:fixed;z-index:var(--overlay-layer, 1000);inset:0;display:grid;place-items:center;box-sizing:border-box;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));overflow:hidden;background:#4d251a75;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;animation:overlay-fade-in .18s ease-out both}.overlay-backdrop[data-overlay-top=false]{pointer-events:none}.overlay-backdrop[data-overlay-top=false] .overlay-panel{pointer-events:none;animation:overlay-panel-covered-out .22s var(--ease-out) forwards}.overlay-backdrop[data-overlay-top=true]:not([data-overlay-depth="0"]) .overlay-panel{animation-delay:.22s}.overlay-backdrop[data-overlay-top=true]:not([data-overlay-depth="0"]){animation-delay:.22s}.overlay-backdrop[data-placement=fullscreen]{padding:0}.overlay-panel{display:flex;box-sizing:border-box;width:min(100%,560px);max-width:100%;max-height:calc(100dvh - max(32px,env(safe-area-inset-top) + env(safe-area-inset-bottom)));min-width:0;flex-direction:column;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;border:1px solid rgb(255 255 255 / 62%);border-radius:20px;color:var(--color-text);background:var(--glass-sheet-dense-surface);box-shadow:inset 0 1px #ffffffdb,0 24px 72px #371f173d;-webkit-backdrop-filter:none;backdrop-filter:none;animation:overlay-panel-in .21s cubic-bezier(.2,.8,.2,1) both}.overlay-panel.overlay-matte-sheet{border-color:var(--glass-sheet-border);background:var(--glass-sheet-dense-surface);box-shadow:var(--glass-sheet-shadow);-webkit-backdrop-filter:none;backdrop-filter:none}.overlay-panel.overlay-matte-sheet>.overlay-header,.overlay-panel.overlay-matte-sheet>.overlay-footer{border-color:transparent;background:var(--glass-sheet-dense-surface)}.overlay-panel:focus-visible{outline:3px solid rgb(217 94 62 / 36%);outline-offset:-3px}.overlay-panel.overlay-flow-closing{pointer-events:none;animation:overlay-panel-covered-out .22s var(--ease-out) forwards}.overlay-backdrop:has(.overlay-flow-exiting){pointer-events:none;animation:overlay-fade-out .18s var(--ease-out) forwards}.overlay-panel.overlay-panel-sheet{width:min(100%,680px);border-color:var(--color-border);box-shadow:0 24px 72px #0000003d}.overlay-panel-sheet>.overlay-header{border-bottom:0}.overlay-panel-fullscreen{width:100%;height:100%;max-height:100%;border-radius:0}.overlay-header{position:sticky;z-index:2;top:0;display:flex;min-height:68px;flex:0 0 auto;align-items:flex-start;justify-content:space-between;gap:16px;box-sizing:border-box;padding:18px 18px 14px;border-bottom:1px solid rgb(255 255 255 / 42%);background:transparent}.overlay-heading{min-width:0}.overlay-heading h2{overflow-wrap:anywhere;margin:0;color:var(--color-text);font-family:inherit;font-size:clamp(1.1rem,4vw,1.35rem);font-weight:750;line-height:1.2;letter-spacing:-.02em}.overlay-heading p{margin:5px 0 0;color:var(--color-muted);font-size:.875rem;line-height:1.4}.overlay-header-actions{display:flex;min-width:0;flex:0 0 auto;align-items:center;gap:4px}.overlay-close{display:inline-grid;width:44px;height:44px;flex:0 0 44px;place-items:center;padding:0;border:1px solid transparent;border-radius:50%;color:var(--color-text);background:transparent;cursor:pointer}.overlay-close:hover{color:var(--color-primary-deep);background:transparent}.overlay-close:focus-visible,.overlay-button:focus-visible{outline:2px solid #fff;outline-offset:2px}.overlay-close svg{width:21px;height:21px}.overlay-footer{position:sticky;z-index:2;bottom:0;display:flex;flex:0 0 auto;justify-content:flex-end;gap:10px;padding:14px 18px max(14px,env(safe-area-inset-bottom));border-top:1px solid rgb(255 255 255 / 42%);background:transparent}.overlay-button{min-width:112px;min-height:48px;padding:10px 18px;border:1px solid transparent;border-radius:12px;font:inherit;font-weight:700;cursor:pointer}.overlay-button:disabled{cursor:wait;opacity:.58}.overlay-button-secondary{border-color:var(--color-border);color:var(--color-text);background:var(--color-surface-muted)}.overlay-button-primary{border-color:var(--glass-control-border);color:#fff;background:var(--glass-primary-surface);box-shadow:var(--glass-primary-shadow);-webkit-backdrop-filter:var(--glass-control-filter);backdrop-filter:var(--glass-control-filter);transition:border-color var(--motion-fast) ease,box-shadow var(--motion-fast) ease,filter var(--motion-fast) ease}.overlay-button-glass{border-color:var(--glass-button-border);color:var(--color-text);background:var(--glass-button-surface);box-shadow:var(--glass-button-shadow);-webkit-backdrop-filter:var(--glass-control-filter);backdrop-filter:var(--glass-control-filter);transition:border-color var(--motion-fast) ease,background-color var(--motion-fast) ease,box-shadow var(--motion-fast) ease}@media(hover:hover)and (pointer:fine){.overlay-button-primary:hover:not(:disabled){border-color:#fff;filter:brightness(1.04)}.overlay-button-glass:hover:not(:disabled){border-color:#fff;background:var(--glass-button-surface-hover);filter:none}}.overlay-button-danger{color:#fff;background:#c93838}.overlay-alert{width:min(100%,440px)}.overlay-alert>.overlay-header{padding-block-end:18px;border-bottom:0}.overlay-alert>.overlay-header .overlay-heading p{margin-top:10px;color:var(--color-muted);font-size:.95rem}.overlay-panel.scanner-sheet,.overlay-panel.food-camera-dialog,.overlay-panel.story-viewer{box-sizing:border-box;margin:0;background:#fff;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}.overlay-panel.scanner-sheet{width:min(100%,820px);padding:0 18px max(18px,env(safe-area-inset-bottom))}.overlay-panel.scanner-sheet>.overlay-header{margin:0 -18px 16px}.overlay-panel.scanner-sheet>p{margin:14px 2px 0}.overlay-panel .scanner-message{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}.overlay-panel.product-picker{padding:0 18px max(18px,env(safe-area-inset-bottom))}.overlay-panel.product-picker>.overlay-header{margin-inline:-18px;margin-bottom:14px}.overlay-panel.profile-dialog{width:min(100%,820px);padding:0}.overlay-panel.profile-dialog>.overlay-header{margin:0}.overlay-panel.journal-modal{width:min(100%,520px);padding:0}@keyframes overlay-fade-in{0%{opacity:0}}@keyframes overlay-panel-in{0%{opacity:0;transform:scale(.985)}}@keyframes overlay-panel-covered-out{to{opacity:0;transform:translateY(18px) scale(.985)}}@keyframes overlay-fade-out{to{opacity:0}}@media(max-width:640px){.overlay-backdrop[data-placement=sheet]{place-items:end center;padding:max(8px,env(safe-area-inset-top)) 0 0}.overlay-backdrop[data-placement=sheet] .overlay-panel-sheet{width:100%;max-height:calc(100dvh - max(8px,env(safe-area-inset-top)));border-right:0;border-bottom:0;border-left:0;border-radius:18px 18px 0 0;animation:overlay-sheet-in .24s var(--ease-drawer) both}.overlay-backdrop[data-placement=sheet][data-overlay-top=false] .overlay-panel-sheet,.overlay-backdrop[data-placement=sheet] .overlay-panel-sheet.overlay-flow-closing{animation:overlay-sheet-out .22s var(--ease-drawer) forwards}.overlay-backdrop[data-mobile-fullscreen=true]{padding:0}.overlay-backdrop[data-mobile-fullscreen=true] .overlay-panel{width:100%;height:calc(100% - 4px);max-height:calc(100% - 4px);padding-bottom:max(18px,env(safe-area-inset-bottom));border:0;border-radius:0}.overlay-backdrop[data-mobile-fullscreen=true] .overlay-header{padding-top:max(14px,env(safe-area-inset-top))}.overlay-footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.overlay-button{width:100%;min-width:0}}@keyframes overlay-sheet-in{0%{opacity:0;transform:translateY(100%)}}@keyframes overlay-sheet-out{to{opacity:.98;transform:translateY(100%)}}@media(prefers-reduced-motion:reduce){.overlay-backdrop,.overlay-panel{animation:none}.overlay-backdrop[data-overlay-top=false] .overlay-panel,.overlay-panel.overlay-flow-closing{opacity:0;animation:none;transform:none}}.system-status{display:inline-flex;min-height:30px;align-items:center;gap:6px;padding:5px 9px;border-radius:9px;font-size:.72rem;font-weight:650}.system-status svg{width:15px;height:15px}.system-status--success{color:var(--color-success);background:var(--color-success-soft)}.system-status--warning{color:var(--color-warning);background:var(--color-warning-soft)}.system-status--info{color:var(--color-info);background:var(--color-info-soft)}.system-feedback{display:grid;min-height:154px;align-content:start;gap:7px;padding:17px;border:1px solid var(--color-border);border-radius:14px;background:var(--color-surface)}.system-feedback>svg{width:23px;height:23px;color:var(--color-muted)}.system-feedback>b{font-size:.84rem}.system-feedback>p{margin:0;color:var(--color-muted);font-size:.74rem;line-height:1.45}.system-feedback--success>svg{color:var(--color-success)}.system-feedback--error>svg{color:var(--color-danger)}.system-feedback--error button{justify-self:start;padding:0;color:var(--color-danger);border:0;background:none;font:inherit;font-size:.74rem;font-weight:700;cursor:pointer}.system-feedback--loading>.ui-skeleton{height:12px;border-radius:5px}.system-feedback--loading .is-medium{width:72%}.system-feedback--loading .is-short{width:48%}.system-metric-summary{display:grid;grid-template-columns:auto 1fr;align-items:end;column-gap:14px}.system-metric-summary>span,.system-metric-summary>.system-metric-progress{grid-column:1 / -1}.system-metric-summary>span{margin-bottom:8px;font-size:.85rem;font-weight:650}.system-metric-summary>strong{font-family:var(--font-data);font-size:clamp(4.4rem,10vw,7rem);font-weight:var(--font-data-weight);font-variant-numeric:tabular-nums;letter-spacing:var(--font-data-tracking);line-height:.82}.system-metric-summary>b{padding-bottom:4px;font-size:1rem}.system-metric-progress{overflow:hidden;height:8px;margin-top:24px;border-radius:99px;background:#e5dfda}.system-metric-progress>span{display:block;height:100%;border-radius:inherit;background:var(--color-primary)}.system-macro-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.system-macro{display:grid;gap:8px;min-width:0;padding:14px;border-radius:14px;background:var(--color-surface)}.system-macro>span{color:var(--color-muted);font-size:.72rem}.system-macro>b{font-size:.82rem;font-variant-numeric:tabular-nums}.system-macro>i{overflow:hidden;height:6px;border-radius:99px;background:#eee9e4}.system-macro>i>span{display:block;height:100%;border-radius:inherit;background:var(--system-macro-color)}.system-macro--protein{--system-macro-color: var(--color-protein)}.system-macro--fat{--system-macro-color: var(--color-fat)}.system-macro--carbohydrate{--system-macro-color: var(--color-carbohydrate)}@media(max-width:360px){.system-macro-summary{grid-template-columns:1fr}.system-metric-summary>strong{font-size:4.2rem}}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.static{position:static}.sticky{position:sticky}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.block{display:block}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.border{border-style:var(--tw-border-style);border-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}}:root{color-scheme:light;--color-background:#fff7ef;--color-surface:#fffdf9;--color-surface-raised:#fff;--color-text:#2b1e17;--color-muted:#7d716a;--color-primary:#e4553d;--color-primary-deep:#ce3c27;--color-on-primary:#fff;--color-sage:#7fa37a;--color-sage-soft:#eaf1e5;--color-apricot:#ffe8cc;--color-border:#eaded3;--color-danger:#bf3829;--shadow-soft:0 12px 40px #42291917;--shadow-nav:0 -8px 28px #42291912;--radius-sm:12px;--radius-md:18px;--radius-lg:26px;--tg-safe-top:0px;--tg-safe-right:0px;--tg-safe-bottom:0px;--tg-safe-left:0px;font-synthesis:none;text-rendering:optimizelegibility;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{background:#efe9e2;min-width:320px;min-height:100%}body{min-width:320px;min-height:100dvh;color:var(--color-text);background:#efe9e2;margin:0}button,input,textarea,select{font:inherit}button,a,select,input[type=checkbox],label[for],.photo-drop{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}h1,h2,h3,p{margin-top:0}h1,h2{letter-spacing:-.035em;font-family:Georgia,Times New Roman,serif}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--color-primary)}@supports (color:color-mix(in lab,red,red)){button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid color-mix(in srgb,var(--color-primary) 45%,transparent)}}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:3px}.app-frame{width:min(100%,760px);min-height:100dvh;padding-left:max(var(--tg-safe-left),env(safe-area-inset-left));padding-right:max(var(--tg-safe-right),env(safe-area-inset-right));background:radial-gradient(circle at 86% 2%,var(--color-apricot),transparent 24rem),var(--color-background);margin:0 auto;position:relative}@supports (color:color-mix(in lab,red,red)){.app-frame{background:radial-gradient(circle at 86% 2%,color-mix(in srgb,var(--color-apricot) 42%,transparent),transparent 24rem),var(--color-background)}}.app-frame{overflow-x:clip;box-shadow:0 0 80px #4229191a}.page{width:100%;min-height:100dvh;padding:calc(22px + max(var(--tg-safe-top),env(safe-area-inset-top))) clamp(18px,5vw,32px) calc(40px + max(var(--tg-safe-bottom),env(safe-area-inset-bottom)))}.page-with-nav .page{padding-bottom:calc(112px + max(var(--tg-safe-bottom),env(safe-area-inset-bottom)))}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.icon-button{width:44px;height:44px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:inline-grid}.icon-button svg{stroke-width:1.8px;width:22px;height:22px}.button{border-radius:var(--radius-sm);min-height:50px;color:inherit;cursor:pointer;background:0 0;border:1px solid #0000;justify-content:center;align-items:center;gap:9px;padding:12px 20px;font-weight:700;transition:transform .16s,background-color .16s,box-shadow .16s;display:inline-flex}.button:active:not(:disabled){transform:translateY(1px)scale(.99)}.button:disabled{cursor:wait;opacity:.62}.button svg{width:20px}.button-primary{color:var(--color-on-primary);background:linear-gradient(135deg,#f2472e,var(--color-primary));box-shadow:0 9px 22px var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.button-primary{box-shadow:0 9px 22px color-mix(in srgb,var(--color-primary) 22%,transparent)}}.button-outline{border-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.button-outline{border-color:color-mix(in srgb,var(--color-primary) 46%,var(--color-border))}}.button-outline{color:var(--color-primary);background:var(--color-surface)}@supports (color:color-mix(in lab,red,red)){.button-outline{background:color-mix(in srgb,var(--color-surface) 82%,transparent)}}.button-ghost{color:var(--color-muted)}.button-danger{color:var(--color-danger);border-color:var(--color-danger)}@supports (color:color-mix(in lab,red,red)){.button-danger{border-color:color-mix(in srgb,var(--color-danger) 35%,var(--color-border))}}.text-button{min-height:44px;color:var(--color-sage);cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;padding:0;display:inline-flex}.text-button svg{width:18px}.spinner{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.center-state{text-align:center;background:var(--color-background);flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:100dvh;padding:32px;display:flex}.center-state h1{margin:0;font-size:2rem}.center-state p{max-width:420px;color:var(--color-muted);line-height:1.6}.yandex-login-button{min-width:min(100%,286px);color:var(--color-background);background:var(--color-text);box-shadow:var(--shadow-soft);border-color:#0000;justify-content:center;gap:10px;text-decoration:none}.yandex-login-button:hover{color:var(--color-background);background:var(--color-text)}@supports (color:color-mix(in lab,red,red)){.yandex-login-button:hover{background:color-mix(in srgb,var(--color-text) 90%,var(--color-primary))}}.yandex-login-logo{color:#111;background:#fc0;border-radius:9px;place-items:center;width:28px;height:28px;font-size:1rem;font-weight:850;display:grid}.brand-mark{color:#fff;background:var(--color-primary);border-radius:22px;place-items:center;width:68px;height:68px;display:grid}.connectivity-pill{z-index:50;top:calc(10px + max(var(--tg-safe-top),env(safe-area-inset-top)));border:1px solid var(--color-border);min-height:36px;color:var(--color-text);background:var(--color-surface-raised);border-radius:999px;align-items:center;gap:7px;padding:7px 12px;display:inline-flex;position:fixed;left:50%}@supports (color:color-mix(in lab,red,red)){.connectivity-pill{background:color-mix(in srgb,var(--color-surface-raised) 92%,transparent)}}.connectivity-pill{box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);cursor:pointer;transform:translate(-50%)}.connectivity-pill.offline{color:#8b551f;background:var(--color-apricot)}.connectivity-pill svg{width:16px}.bottom-nav{z-index:30;height:calc(76px + max(var(--tg-safe-bottom),env(safe-area-inset-bottom)));padding:10px 8px max(var(--tg-safe-bottom),env(safe-area-inset-bottom));border-top:1px solid var(--color-border);background:var(--color-surface);grid-template-columns:repeat(4,1fr);align-items:start;display:grid;position:fixed;bottom:0;left:max(0px,50vw - 380px);right:max(0px,50vw - 380px)}@supports (color:color-mix(in lab,red,red)){.bottom-nav{background:color-mix(in srgb,var(--color-surface) 94%,transparent)}}.bottom-nav{box-shadow:var(--shadow-nav);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.bottom-nav>a{min-height:54px;color:var(--color-muted);flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:.6rem;display:flex}.bottom-nav>a svg{stroke-width:1.8px;width:20px}.bottom-nav>a.active{color:var(--color-primary)}.home-info-page{min-height:calc(100dvh - 76px);padding-top:calc(30px + max(var(--tg-safe-top),env(safe-area-inset-top)));align-content:center;gap:24px;display:grid}.home-info-hero{border:1px solid var(--color-primary);padding:clamp(28px,7vw,46px) clamp(22px,6vw,42px);position:relative;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.home-info-hero{border:1px solid color-mix(in srgb,var(--color-primary) 18%,var(--color-border))}}.home-info-hero{background:radial-gradient(circle at 90% 10%,var(--color-primary),transparent 34%),radial-gradient(circle at 0 100%,var(--color-sage),transparent 38%),var(--color-surface);border-radius:30px}@supports (color:color-mix(in lab,red,red)){.home-info-hero{background:radial-gradient(circle at 90% 10%,color-mix(in srgb,var(--color-primary) 18%,transparent),transparent 34%),radial-gradient(circle at 0 100%,color-mix(in srgb,var(--color-sage) 18%,transparent),transparent 38%),var(--color-surface)}}.home-info-hero{box-shadow:0 20px 60px #42291917}.home-info-mark{color:#fff;background:linear-gradient(135deg,var(--color-primary),#d34d8f 58%,#665cf4);width:60px;height:60px;box-shadow:0 12px 30px var(--color-primary);border-radius:20px;place-items:center;margin-bottom:26px;display:grid}@supports (color:color-mix(in lab,red,red)){.home-info-mark{box-shadow:0 12px 30px color-mix(in srgb,var(--color-primary) 28%,transparent)}}.home-info-mark svg{width:28px}.home-info-eyebrow{color:var(--color-primary);letter-spacing:.1em;text-transform:uppercase;margin:0 0 8px;font-size:.74rem;font-weight:850}.home-info-hero h1{max-width:590px;margin:0;font-size:clamp(2.55rem,10vw,4.8rem);line-height:.98}.home-info-lead{max-width:570px;color:var(--color-muted);margin:20px 0 0;font-size:.95rem;line-height:1.6}.home-info-actions{flex-wrap:wrap;gap:10px;margin-top:28px;display:flex}.home-info-actions .button{flex:220px}.home-feature-list{gap:10px;display:grid}.home-feature-card{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);grid-template-columns:48px minmax(0,1fr);align-items:center;gap:14px;padding:15px;display:grid}@supports (color:color-mix(in lab,red,red)){.home-feature-card{background:color-mix(in srgb,var(--color-surface) 92%,transparent)}}.home-feature-card>span{width:46px;height:46px;color:var(--color-primary);background:var(--color-primary);border-radius:15px;place-items:center;display:grid}@supports (color:color-mix(in lab,red,red)){.home-feature-card>span{background:color-mix(in srgb,var(--color-primary) 9%,var(--color-surface))}}.home-feature-card>span svg{width:22px}.home-feature-card h2{margin:0 0 3px;font-family:inherit;font-size:.91rem}.home-feature-card p{color:var(--color-muted);margin:0;font-size:.72rem;line-height:1.45}.home-header{grid-template-columns:48px 1fr 44px;align-items:center;gap:12px;display:grid}.home-header p{margin:0;font-size:.95rem}.avatar{border:2px solid var(--color-surface-raised);color:#fff;background:linear-gradient(135deg,var(--color-sage),var(--color-primary));border-radius:50%;place-items:center;width:46px;height:46px;font-family:Georgia,serif;font-size:1.3rem;display:grid;overflow:hidden;box-shadow:0 4px 12px #4229191f}.avatar img{object-fit:cover;width:100%;height:100%}.home-title{text-align:center;margin:20px 0 12px;font-size:clamp(2.45rem,10vw,4rem);line-height:1.08}.meal-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.meal-shortcut{border-radius:var(--radius-sm);background:var(--color-apricot);flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:82px;font-size:.75rem;transition:transform .15s;display:flex}.meal-shortcut:hover{transform:translateY(-2px)}.meal-shortcut span{font-size:1.45rem;line-height:1}.meal-lunch{background:var(--color-sage-soft)}@supports (color:color-mix(in lab,red,red)){.meal-lunch{background:color-mix(in srgb,var(--color-sage-soft) 85%,white)}}.meal-dinner{background:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.meal-dinner{background:color-mix(in srgb,var(--color-primary) 9%,var(--color-surface))}}.meal-snack{background:var(--color-apricot)}@supports (color:color-mix(in lab,red,red)){.meal-snack{background:color-mix(in srgb,var(--color-apricot) 67%,var(--color-surface))}}.recent-section{margin-top:28px}.section-heading,.page-title-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.section-heading h2{margin:0;font-size:1.28rem}.section-heading>a{color:var(--color-sage);font-size:.84rem}.section-heading>span{color:var(--color-muted);font-size:.82rem}.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px;display:grid}.add-home-button{border-style:dashed;width:100%;margin-top:18px}.recipe-card{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);position:relative;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.recipe-card{background:color-mix(in srgb,var(--color-surface) 94%,transparent)}}.recipe-card-link{min-width:0}.recipe-card-grid .recipe-card-link{display:block}.recipe-card-media{background:var(--color-surface);min-width:0;position:relative;overflow:hidden}.recipe-card-media .recipe-card-image,.recipe-card-media .recipe-image-placeholder{object-fit:cover;object-position:center;width:100%;height:100%;display:block}.recipe-card-grid .recipe-card-media{height:136px}.recipe-card-copy{min-width:0;padding:12px}.recipe-card-copy h3{text-overflow:ellipsis;white-space:nowrap;margin:0 0 7px;font-family:inherit;font-size:.94rem;line-height:1.25;overflow:hidden}.recipe-card-nutrition{color:var(--color-muted);text-overflow:ellipsis;white-space:nowrap;margin:-1px 0 8px;font-size:.65rem;display:block;overflow:hidden}.recipe-card-meta{color:var(--color-muted);flex-wrap:wrap;gap:5px 10px;margin-bottom:8px;font-size:.72rem;display:flex}.recipe-card-meta span,.detail-meta span{align-items:center;gap:4px;display:inline-flex}.recipe-card-meta svg,.detail-meta svg{stroke-width:1.7px;width:14px;height:14px}.recipe-card-row .recipe-card-link{grid-template-columns:38% 1fr;min-height:180px;display:grid}.recipe-card-row .recipe-card-media{height:180px}.recipe-card-description{color:var(--color-muted);white-space:normal;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:.72rem;line-height:1.38;display:-webkit-box;overflow:hidden}.recipe-image-placeholder{color:#67736a;background:#edf1eb;display:block;position:relative;overflow:hidden}.recipe-image-placeholder svg{opacity:.78;width:clamp(42px,24%,84px);height:auto;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.recipe-image-loading-placeholder{z-index:0;opacity:1;pointer-events:none;min-height:0;transition:opacity .18s;position:absolute;inset:0}.recipe-image-loading-placeholder.is-hidden{opacity:0}.recipe-image-content{z-index:1;opacity:0;position:relative;background:0 0!important}.recipe-image-content.is-loaded{opacity:1;transition:opacity .18s}@media(prefers-reduced-motion:reduce){.recipe-image-loading-placeholder,.recipe-image-content.is-loaded{transition:none}}.skeleton-card,.skeleton-row,.detail-skeleton,.editor-skeleton{border-radius:var(--radius-md);background:linear-gradient(100deg,var(--color-border) 15%,var(--color-surface) 40%,var(--color-border) 65%);background-size:300% 100%;animation:1.6s linear infinite shimmer}.skeleton-card{height:228px}.skeleton-row{height:134px}.detail-skeleton{height:80vh}.editor-skeleton{height:90vh}@keyframes shimmer{to{background-position:-150% 0}}.page-title-row{flex-wrap:wrap;margin:9px 0 16px}.page-title-row h1{margin:0;font-size:clamp(2rem,8vw,3rem)}.recipes-header-actions{align-items:center;gap:8px;display:flex}.recipes-add-button{white-space:nowrap;border-radius:10px;min-height:44px;padding:8px 12px;font-size:.78rem}.recipes-add-button svg{width:18px}.recipe-category-rail{scrollbar-width:none;gap:9px;margin:0 calc(-1*clamp(18px,5vw,32px)) 15px;padding:0 clamp(18px,5vw,32px) 2px;display:flex;overflow-x:auto}.recipe-category-rail::-webkit-scrollbar{display:none}.recipe-category{border:1px solid var(--color-border);min-width:88px;min-height:68px;color:var(--color-text);background:var(--color-surface);cursor:pointer;border-radius:16px;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:6px;padding:9px 12px;font-size:.7rem;display:flex}.recipe-category>span{font-size:1.25rem}.recipe-category.selected{border-color:var(--color-primary);color:var(--color-primary);box-shadow:0 0 0 2px var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.recipe-category.selected{box-shadow:0 0 0 2px color-mix(in srgb,var(--color-primary) 9%,transparent)}}.search-field{border:1px solid var(--color-border);background:var(--color-surface);border-radius:11px;align-items:center;gap:10px;min-height:48px;padding:0 13px;display:flex}.search-field:focus-within{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.search-field:focus-within{box-shadow:0 0 0 3px color-mix(in srgb,var(--color-primary) 12%,transparent)}}.search-field svg{width:19px;color:var(--color-muted)}.search-field input{min-width:0;color:var(--color-text);background:0 0;border:0;outline:0;flex:1}.quick-filter-rail,.chip-group{scrollbar-width:none;gap:8px;display:flex;overflow-x:auto}.quick-filter-rail{margin:13px calc(-1*clamp(18px,5vw,32px)) 8px;padding:0 clamp(18px,5vw,32px)}.quick-filter-rail::-webkit-scrollbar{display:none}.chip-group::-webkit-scrollbar{display:none}.chip{border:1px solid var(--color-border);min-height:38px;color:var(--color-text);background:var(--color-surface);border-radius:999px;flex:none;padding:7px 12px}@supports (color:color-mix(in lab,red,red)){.chip{background:color-mix(in srgb,var(--color-surface) 88%,transparent)}}.chip{cursor:pointer}.chip.selected{border-color:var(--color-primary);color:var(--color-primary);background:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.chip.selected{background:color-mix(in srgb,var(--color-primary) 8%,var(--color-surface))}}.chip.selected.primary{color:#fff;background:var(--color-primary)}.chip.selected.sage{border-color:var(--color-sage);color:var(--color-sage)}@supports (color:color-mix(in lab,red,red)){.chip.selected.sage{color:color-mix(in srgb,var(--color-sage) 74%,var(--color-text))}}.chip.selected.sage{background:var(--color-sage-soft)}.chip.static{cursor:default}.sort-control{color:var(--color-muted);justify-content:space-between;align-items:center;margin:10px 0 14px;font-size:.78rem;display:flex}.sort-control select{color:var(--color-text);background:0 0;border:0}.recipe-list{content-visibility:auto;align-items:start;gap:10px;display:grid}input[type=checkbox]{width:22px;height:22px;accent-color:var(--color-primary)}.empty-state{text-align:center;flex-direction:column;align-items:center;padding:48px 18px;display:flex}.empty-state>span{margin-bottom:12px;font-size:2.8rem}.empty-state h2{margin-bottom:9px;font-size:1.55rem}.empty-state p{max-width:360px;color:var(--color-muted);line-height:1.5}.detail-page{min-height:100dvh;padding-bottom:calc(44px + env(safe-area-inset-bottom))}.detail-hero{background:var(--color-border);height:clamp(280px,60vw,460px);position:relative}.detail-image{object-fit:cover;width:100%;height:100%}.detail-hero:after{content:"";pointer-events:none;background:linear-gradient(#0000,#18110c57);height:38%;position:absolute;inset:auto 0 0}.detail-back{z-index:2;top:calc(18px + max(var(--tg-safe-top),env(safe-area-inset-top)));color:var(--color-text);background:var(--color-surface-raised);position:absolute}@supports (color:color-mix(in lab,red,red)){.detail-back{background:color-mix(in srgb,var(--color-surface-raised) 91%,transparent)}}.detail-back{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);left:18px}.elevated{box-shadow:0 5px 18px #1e140e33}.detail-hero-actions{z-index:2;top:calc(18px + max(var(--tg-safe-top),env(safe-area-inset-top)));gap:10px;display:flex;position:absolute;right:18px}.detail-action-button{color:var(--color-text);background:var(--color-surface-raised)}@supports (color:color-mix(in lab,red,red)){.detail-action-button{background:color-mix(in srgb,var(--color-surface-raised) 91%,transparent)}}.detail-action-button{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.detail-content{z-index:3;background:var(--color-background);border-radius:28px 28px 0 0;margin-top:-24px;padding:24px clamp(20px,5vw,34px) 0;position:relative}.detail-category{color:var(--color-sage);letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px;font-size:.78rem;font-weight:800}.detail-content>h1{margin-bottom:10px;font-size:clamp(2.3rem,9vw,4.2rem);line-height:1.02}.detail-description{color:var(--color-muted);margin-bottom:18px;line-height:1.55}.detail-meta{color:var(--color-muted);flex-wrap:wrap;gap:8px 16px;font-size:.82rem;display:flex}.nutrition-panel{border:1px solid var(--color-sage);margin-top:24px;padding:18px}@supports (color:color-mix(in lab,red,red)){.nutrition-panel{border:1px solid color-mix(in srgb,var(--color-sage) 35%,var(--color-border))}}.nutrition-panel{border-radius:var(--radius-md);background:var(--color-sage-soft)}.nutrition-source-label{color:var(--color-sage);margin:-6px 0 14px;font-size:.72rem;font-weight:700}.nutrition-panel h2{margin-bottom:14px;font-size:1.15rem}.nutrition-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.nutrition-grid>div{flex-wrap:wrap;align-items:baseline;gap:2px;min-width:0;display:flex}.nutrition-grid strong{font-size:1.05rem}.nutrition-grid span{color:var(--color-muted);font-size:.58rem}.nutrition-grid small{width:100%;color:var(--color-muted);margin-top:2px;font-size:.6rem}.source-panel{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);gap:8px;margin-top:28px;padding:16px;display:grid}.source-panel>span,.source-panel small{color:var(--color-muted);font-size:.72rem}.source-panel .source-author{color:var(--color-text);font-size:1rem}.source-panel a{color:var(--color-primary);align-items:center;gap:7px;font-weight:750;display:inline-flex}.source-panel a svg{width:18px}.reels-import-page{min-height:calc(100dvh - 76px);padding-top:calc(36px + max(var(--tg-safe-top),env(safe-area-inset-top)));flex-direction:column;display:flex}.reels-import-header{text-align:center}.reels-import-icon{color:#fff;background:linear-gradient(135deg,#ff654f,#c43b9e 58%,#665cf4);border-radius:18px;place-items:center;width:58px;height:58px;margin:0 auto 18px;display:grid;box-shadow:0 12px 30px #c43b9e33}.reels-import-icon svg{width:28px}.reels-import-header p{color:var(--color-primary);letter-spacing:.1em;text-transform:uppercase;margin:0 0 6px;font-size:.74rem;font-weight:800}.reels-import-header h1{margin-bottom:12px;font-size:clamp(2.4rem,11vw,4.2rem);line-height:1}.reels-import-header>span:last-child{max-width:480px;color:var(--color-muted);margin:0 auto;font-size:.88rem;line-height:1.55;display:block}.reels-import-form{width:100%;max-width:560px;margin:auto auto 16px;padding-top:38px}.url-input{position:relative}.url-input>svg{z-index:1;width:19px;color:var(--color-muted);pointer-events:none;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.url-input input{padding-left:50px}.reels-import-note{border-radius:var(--radius-sm);color:var(--color-muted);background:var(--color-sage-soft);gap:10px;margin:14px 0 24px;padding:13px;font-size:.72rem;line-height:1.45;display:flex}.reels-import-note svg{width:18px;color:var(--color-sage);flex:none}.reels-import-note p{margin:0}.reels-import-submit{width:100%}.reels-import-submit svg{width:20px}.reels-processing{text-align:center;place-items:center;max-width:470px;margin:auto;display:grid}.reels-processing-visual{color:#fff;background:linear-gradient(135deg,#ff654f,#c43b9e 58%,#665cf4);border-radius:38px;place-items:center;width:126px;height:126px;margin-bottom:26px;display:grid;position:relative;box-shadow:0 18px 46px #c43b9e40}.reels-processing-visual>svg:first-child{width:54px;height:54px}.reels-processing-visual>svg:last-child{width:34px;color:var(--color-primary);animation:1.4s ease-in-out infinite import-sparkle;position:absolute;top:-10px;right:-12px}.reels-processing h2{margin:14px 0 8px;font-size:1.5rem}.reels-processing p{color:var(--color-muted);font-size:.78rem;line-height:1.5}@keyframes import-sparkle{50%{transform:rotate(12deg)scale(1.16)}}.detail-section{margin-top:34px}.detail-section>h2{margin-bottom:15px;font-size:1.45rem}.step-list{margin:0;padding:0;list-style:none}.ingredient-table{border-spacing:0;table-layout:fixed;width:100%}.ingredient-table__check-column{width:44px}.ingredient-table__amount-column{width:clamp(76px,24vw,108px)}.ingredient-table td{border-bottom:1px solid var(--color-border);vertical-align:top;padding:14px 0}.ingredient-table__check{padding-right:10px}.ingredient-table__check label{cursor:pointer;place-items:center;width:24px;height:24px;display:grid;position:relative}.ingredient-table__check input{opacity:0;position:absolute}.ingredient-table__check input:focus-visible+.custom-check{outline:2px solid var(--color-primary);outline-offset:3px}.custom-check{border:1.5px solid var(--color-sage);color:#fff;border-radius:50%;place-items:center;width:23px;height:23px;display:grid}.custom-check:has(svg){background:var(--color-sage)}.custom-check svg{width:14px}.ingredient-copy{cursor:pointer;overflow-wrap:anywhere;gap:4px;min-width:0;padding-right:12px;display:grid}.ingredient-copy>span{font-size:.94rem;line-height:1.25}.ingredient-copy small{color:var(--color-muted);overflow-wrap:anywhere;white-space:pre-wrap;font-size:.72rem;font-weight:500;line-height:1.45}.ingredient-copy.checked{color:var(--color-muted);text-decoration:line-through}.ingredient-table__amount{color:var(--color-muted);text-align:right;white-space:nowrap;font-size:.82rem}.ingredient-table__amount strong{font-weight:500}.step-list{counter-reset:none;gap:17px;display:grid}.step-list li{grid-template-columns:34px 1fr;gap:12px;display:grid}.step-list>li>span{color:#fff;background:var(--color-primary);border-radius:50%;place-items:center;width:32px;height:32px;font-family:Georgia,serif;display:grid}.step-list p{margin:3px 0 5px;line-height:1.48}.step-list small{color:var(--color-muted);align-items:center;gap:4px;display:inline-flex}.step-list small svg{width:13px}.notes-panel{border-radius:var(--radius-md);background:var(--color-apricot);margin-top:28px;padding:18px}.notes-panel h2{margin-bottom:7px;font-size:1.2rem}.notes-panel p{margin:0;line-height:1.5}.random-page{min-height:100dvh;padding-bottom:calc(96px + max(var(--tg-safe-bottom),env(safe-area-inset-bottom)));flex-direction:column;display:flex}.random-page>h1{text-align:center;width:min(100%,620px);margin:12px auto 0;font-size:clamp(2.35rem,9.5vw,4.2rem);line-height:1.03}.random-choice-stage{flex:1;place-items:center;width:100%;min-height:330px;padding:24px 0;display:grid}.random-dice-display{border:1px solid var(--color-primary);align-content:center;place-items:center;gap:26px;width:min(100%,430px);min-height:290px;padding:34px 20px 24px;display:grid}@supports (color:color-mix(in lab,red,red)){.random-dice-display{border:1px solid color-mix(in srgb,var(--color-primary) 18%,var(--color-border))}}.random-dice-display{background:radial-gradient(circle at 50% 38%,var(--color-primary),transparent 42%),var(--color-surface);border-radius:32px}@supports (color:color-mix(in lab,red,red)){.random-dice-display{background:radial-gradient(circle at 50% 38%,color-mix(in srgb,var(--color-primary) 20%,transparent),transparent 42%),color-mix(in srgb,var(--color-surface) 94%,transparent)}}.random-dice-display{box-shadow:0 20px 54px #4126191a}.random-dice-display p{max-width:280px;color:var(--color-muted);text-align:center;margin:0;font-size:.82rem;line-height:1.45}.dice-scene{aspect-ratio:1;perspective:900px;filter:drop-shadow(0 22px 24px #552b1e33);width:clamp(148px,42vw,220px)}.dice-cube{width:100%;height:100%;transform-style:preserve-3d;position:relative;transform:rotateX(-18deg)rotateY(28deg)}.dice-scene.rolling .dice-cube{animation:.9s cubic-bezier(.2,.75,.25,1) both dice-roll}.dice-face{--dice-depth: calc(clamp(148px, 42vw, 220px)/2) ;border:2px solid var(--color-primary);grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(3,1fr);width:100%;height:100%;padding:17%;display:grid;position:absolute}@supports (color:color-mix(in lab,red,red)){.dice-face{border:2px solid color-mix(in srgb,var(--color-primary) 24%,white)}}.dice-face{backface-visibility:hidden;background:linear-gradient(145deg,#fffaf1,#f2d9c9);border-radius:24%;box-shadow:inset -11px -12px 24px #742b1c1a,inset 6px 7px 15px #ffffffc2}.dice-front{transform:translateZ(var(--dice-depth))}.dice-back{transform:rotateY(180deg) translateZ(var(--dice-depth))}.dice-right{transform:rotateY(90deg) translateZ(var(--dice-depth))}.dice-left{transform:rotateY(-90deg) translateZ(var(--dice-depth))}.dice-top{transform:rotateX(90deg) translateZ(var(--dice-depth))}.dice-bottom{transform:rotateX(-90deg) translateZ(var(--dice-depth))}.dice-pip{aspect-ratio:1;background:var(--color-primary);border-radius:50%;place-self:center;width:clamp(12px,3.7vw,19px);box-shadow:inset 0 2px 3px #741f1147}.pip-top-left{grid-area:1/1}.pip-top-right{grid-area:1/3}.pip-middle-left{grid-area:2/1}.pip-center{grid-area:2/2}.pip-middle-right{grid-area:2/3}.pip-bottom-left{grid-area:3/1}.pip-bottom-right{grid-area:3/3}@keyframes dice-roll{0%{transform:rotateX(-18deg)rotateY(28deg)}28%{transform:rotateX(195deg)rotateY(160deg)scale(1.07)}66%{transform:rotateX(462deg)rotateY(395deg)scale(.97)}to{transform:rotateX(702deg)rotateY(748deg)}}.random-choice-result{width:min(100%,520px);color:var(--color-text);text-align:center;flex-direction:column;align-items:center;animation:.35s both result-in;display:flex}@keyframes result-in{0%{opacity:0;transform:translateY(10px)}}.random-choice-result>img,.random-choice-result>.recipe-image-placeholder{aspect-ratio:16/10;object-fit:cover;border-radius:20px;width:100%;max-height:min(42dvh,410px);display:block;overflow:hidden;box-shadow:0 14px 38px #301f1433}.random-choice-result h2{margin:16px 0 0;font-size:clamp(1.8rem,7vw,3rem);line-height:1.08}.random-empty{padding:10px 0}.random-error{text-align:center;margin:0 0 12px}.random-action{flex:none;width:min(100%,520px);min-height:62px;margin:0 auto;font-size:1.1rem;transition:transform .18s,opacity .18s,box-shadow .18s}.random-action:active:not(:disabled){transform:scale(.985)}@media(prefers-reduced-motion:reduce){.dice-scene.rolling .dice-cube{animation:.7s ease-in-out infinite alternate dice-pulse}}@keyframes dice-pulse{to{transform:rotateX(-18deg)rotateY(28deg)scale(1.06)}}.editor-page{padding-bottom:calc(104px + max(var(--tg-safe-bottom),env(safe-area-inset-bottom)))}.editor-header{grid-template-columns:minmax(70px,1fr) auto minmax(70px,1fr);align-items:center;margin-bottom:18px;display:grid}.editor-header h1{letter-spacing:-.02em;text-align:center;margin:0;font-family:inherit;font-size:1.15rem}.editor-header .save-text-button{color:var(--color-primary);justify-self:end}.photo-editor{grid-template-columns:1fr;gap:10px;margin-bottom:18px;display:grid}.photo-drop,.photo-preview{border:1px dashed var(--color-muted);flex-direction:column;justify-content:center;align-items:center;min-height:128px;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.photo-drop,.photo-preview{border:1px dashed color-mix(in srgb,var(--color-muted) 45%,var(--color-border))}}.photo-drop,.photo-preview{border-radius:var(--radius-sm);text-align:center;cursor:pointer}.photo-drop input{opacity:0;width:1px;height:1px;position:absolute}.photo-drop svg{color:var(--color-muted);margin-bottom:8px}.photo-drop strong{font-size:.77rem}.photo-drop small{color:var(--color-muted);margin-top:3px;font-size:.66rem}.photo-preview{border-style:solid}.photo-preview img,.photo-preview .recipe-image-placeholder{object-fit:cover;width:100%;height:100%;min-height:128px}.photo-preview .icon-button{background:var(--color-surface-raised);width:32px;height:32px;position:absolute;top:5px;right:5px}.field{margin-bottom:13px;display:block}.field>span,.form-section .section-heading{color:var(--color-muted);margin-bottom:5px;font-size:.72rem;display:block}.field input,.field textarea,.field select,.dynamic-item input,.dynamic-item textarea{border:1px solid var(--color-border);width:100%;min-height:45px;color:var(--color-text);background:var(--color-surface);border-radius:9px;outline:0;padding:10px 12px}@supports (color:color-mix(in lab,red,red)){.field input,.field textarea,.field select,.dynamic-item input,.dynamic-item textarea{background:color-mix(in srgb,var(--color-surface) 94%,transparent)}}.field textarea,.dynamic-item textarea{resize:vertical}.field input:focus,.field textarea:focus,.field select:focus,.dynamic-item input:focus,.dynamic-item textarea:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.field input:focus,.field textarea:focus,.field select:focus,.dynamic-item input:focus,.dynamic-item textarea:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--color-primary) 10%,transparent)}}.field .url-input input{padding-left:50px}.field>small:not(.field-error){color:var(--color-muted);margin-top:4px;font-size:.66rem;display:block}.sage-select{border-color:var(--color-sage)!important}@supports (color:color-mix(in lab,red,red)){.sage-select{border-color:color-mix(in srgb,var(--color-sage) 58%,var(--color-border))!important}}.sage-select{background:var(--color-sage-soft)!important}.form-grid{gap:11px;display:grid}.form-grid.two{grid-template-columns:1fr 1fr}.form-section{margin:25px 0}.nutrition-editor{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);padding:15px}@supports (color:color-mix(in lab,red,red)){.nutrition-editor{background:color-mix(in srgb,var(--color-surface) 84%,transparent)}}.nutrition-inputs{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 11px;display:grid}.field-hint{color:var(--color-muted);margin:0;font-size:.66rem}.form-section .section-heading{color:var(--color-text);margin-bottom:8px}.form-section .section-heading h2{font-size:1.25rem}.dynamic-list{gap:9px;display:grid}.dynamic-item{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);gap:6px;padding:10px;display:grid;position:relative}@supports (color:color-mix(in lab,red,red)){.dynamic-item{background:color-mix(in srgb,var(--color-surface) 84%,transparent)}}.ingredient-item{grid-template-columns:18px minmax(0,1fr) 70px 58px}.ingredient-item .drag-icon{color:var(--color-muted);grid-row:1/span 2;align-items:center;display:grid}.drag-icon svg{width:17px}.ingredient-note,.ingredient-custom-unit{grid-column:2/5}.ingredient-unit{min-width:0;padding-right:24px}.ingredient-product-link{flex-wrap:wrap;grid-column:2/-1;align-items:center;gap:6px;display:flex}.ingredient-product-link button,.linked-product-badge{border:1px solid var(--color-sage);align-items:center;gap:5px;min-height:30px;padding:5px 8px;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.ingredient-product-link button,.linked-product-badge{border:1px solid color-mix(in srgb,var(--color-sage) 45%,var(--color-border))}}.ingredient-product-link button,.linked-product-badge{color:var(--color-sage);border-radius:999px}@supports (color:color-mix(in lab,red,red)){.ingredient-product-link button,.linked-product-badge{color:color-mix(in srgb,var(--color-sage) 82%,var(--color-text))}}.ingredient-product-link button,.linked-product-badge{background:var(--color-sage-soft);font-size:.67rem;font-weight:700}.ingredient-product-link button{cursor:pointer}.ingredient-product-link button svg,.linked-product-badge svg{width:14px}.product-calculation-hint{color:var(--color-muted);margin:9px 0 0;font-size:.68rem;line-height:1.45}.products-page .page-title-row>div p{max-width:320px;color:var(--color-muted);margin:5px 0 0;font-size:.72rem}.product-add-button{color:#fff;background:var(--color-primary);box-shadow:var(--shadow-soft);flex:none}.page-actions{align-items:center;gap:8px;display:flex}.product-scan-button{color:var(--color-primary);border:1px solid var(--color-border);background:var(--color-surface);box-shadow:var(--shadow-soft)}.product-list{gap:11px;margin-top:17px;display:grid}.product-catalog-section{margin-top:24px}.product-section-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.product-section-heading>div{align-items:center;gap:8px;display:flex}.product-section-heading h2{margin:0;font-family:inherit;font-size:1.05rem}.product-section-heading>span{color:var(--color-muted);font-size:.7rem}.product-section-empty,.inline-state{min-height:104px;color:var(--color-muted);text-align:center;border:1px dashed var(--color-border);border-radius:var(--radius-md);flex-direction:column;justify-content:center;align-items:center;gap:9px;margin-top:12px;padding:18px;display:flex}.product-section-empty p{margin:0;font-size:.75rem}.product-section-empty a{color:var(--color-primary);font-size:.75rem;font-weight:700}.product-load-more{min-height:70px;color:var(--color-muted);text-align:center;justify-content:center;align-items:center;gap:8px;font-size:.7rem;display:flex}.product-card{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);position:relative;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.product-card{background:color-mix(in srgb,var(--color-surface) 94%,transparent)}}.product-card-body{padding:16px}.product-card-actions{z-index:1;gap:7px;display:flex;position:absolute;top:12px;right:12px}.product-card-actions .icon-button{width:34px;min-width:34px;height:34px;color:var(--color-text);border:1px solid var(--color-border);background:var(--color-surface)}@supports (color:color-mix(in lab,red,red)){.product-card-actions .icon-button{background:color-mix(in srgb,var(--color-surface) 88%,transparent)}}.product-card-actions .icon-button{box-shadow:none;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.product-card-actions svg{width:16px}.product-card-actions .product-card-delete{color:var(--color-danger)}.product-card h2{margin:4px 0 0;font-family:inherit;font-size:1rem}.product-card-basis{gap:2px;margin-top:14px;display:grid}.product-card-basis span,.product-card-metadata small{color:var(--color-muted);font-size:.67rem}.product-card-basis strong{font-size:.75rem;font-weight:650}.product-card-description{color:var(--color-muted);overflow-wrap:anywhere;margin:0 0 2px;font-size:.75rem;line-height:1.4}.product-card-owned h2,.product-card-owned .product-card-description{padding-right:84px}.product-nutrition{grid-template-columns:repeat(4,1fr);gap:6px;margin:5px 0 10px;padding:0;display:grid}.product-nutrition>div{align-items:baseline;gap:3px;min-width:0;display:flex}.product-nutrition dt{color:var(--color-muted);order:2;font-size:.61rem}.product-nutrition dd{text-overflow:ellipsis;margin:0;font-size:.83rem;font-weight:800;overflow:hidden}.product-card-metadata{gap:4px;display:grid}.product-card-unit-weight{margin-top:4px}.product-basis-fieldset{border:0;gap:8px;margin:18px 0;padding:0;display:grid}.product-basis-fieldset legend{color:var(--color-muted);margin-bottom:7px;font-size:.72rem}.product-basis-fieldset label{border:1px solid var(--color-border);background:var(--color-surface);border-radius:10px;align-items:center;gap:10px;min-height:46px;padding:10px 12px;display:flex}@supports (color:color-mix(in lab,red,red)){.product-basis-fieldset label{background:color-mix(in srgb,var(--color-surface) 94%,transparent)}}.product-basis-fieldset label:has(input:checked){border-color:var(--color-primary);box-shadow:0 0 0 2px var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.product-basis-fieldset label:has(input:checked){box-shadow:0 0 0 2px color-mix(in srgb,var(--color-primary) 10%,transparent)}}.product-basis-fieldset input{accent-color:var(--color-primary)}.product-editor-header{display:block}.product-editor-header h1{width:100%}.product-editor-actions{z-index:20;right:max(clamp(12px,4vw,24px),50vw - 356px);bottom:calc(10px + max(var(--tg-safe-bottom),env(safe-area-inset-bottom)));border:1px solid var(--color-border);background:var(--color-surface);border-radius:22px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px;display:grid;position:fixed;left:max(clamp(12px,4vw,24px),50vw - 356px)}@supports (color:color-mix(in lab,red,red)){.product-editor-actions{background:color-mix(in srgb,var(--color-surface) 88%,transparent)}}.product-editor-actions{-webkit-backdrop-filter:blur(18px)saturate(160%);backdrop-filter:blur(18px)saturate(160%);box-shadow:0 14px 36px #0f141e33}.product-editor-actions-editing{grid-template-columns:repeat(3,minmax(0,1fr))}.product-editor-actions .button{white-space:nowrap;border-radius:15px;gap:6px;min-width:0;min-height:52px;padding:9px 7px;font-size:clamp(.68rem,3.3vw,.82rem)}.product-editor-actions .button svg{width:18px;min-width:18px}.barcode-input-row{grid-template-columns:minmax(0,1fr) 44px 44px;gap:8px;display:grid}.barcode-input-row .icon-button{border:1px solid var(--color-border);color:var(--color-primary);background:var(--color-surface)}.barcode-input-row .icon-button:disabled{opacity:.45}.lookup-status{color:var(--color-muted);line-height:1.4}.lookup-success{color:var(--color-sage)}@supports (color:color-mix(in lab,red,red)){.lookup-success{color:color-mix(in srgb,var(--color-sage) 78%,var(--color-text))}}.scanner-backdrop{z-index:110;padding-top:max(var(--tg-safe-top),env(safe-area-inset-top));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#080e1494;justify-content:center;align-items:end;display:flex;position:fixed;inset:0}.scanner-sheet{width:min(100%,760px);padding:20px clamp(18px,5vw,28px) calc(24px + max(var(--tg-safe-bottom),env(safe-area-inset-bottom)));background:var(--color-background);border:1px solid #ffffff4d;border-radius:28px 28px 0 0;box-shadow:0 -24px 70px #00000052}.scanner-sheet>header{justify-content:space-between;align-items:start;gap:16px;margin-bottom:16px;display:flex}.scanner-sheet h2{margin:5px 0 0;font-family:inherit;font-size:clamp(1.25rem,5vw,1.75rem)}.scanner-kicker{color:var(--color-primary);align-items:center;gap:6px;font-size:.7rem;font-weight:750;display:inline-flex}.scanner-kicker svg{width:17px}.scanner-sheet>p{color:var(--color-muted);margin:14px 2px 0;font-size:.72rem;line-height:1.45}.scanner-preview{aspect-ratio:4/3;background:#080a0d;border-radius:22px;position:relative;overflow:hidden}.scanner-preview video{object-fit:cover;width:100%;height:100%}.scanner-frame{border:2px solid #ffffffe0;border-radius:18px;width:min(82%,430px);height:38%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 999px #00000040}.scanner-preview-scanning .scanner-frame:after{content:"";background:#35c759;border-radius:999px;height:2px;animation:1.8s ease-in-out infinite alternate scanner-line;position:absolute;left:12px;right:12px;box-shadow:0 0 14px #35c759}.scanner-message{color:#fff;text-align:center;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#141418bd;border-radius:999px;padding:10px 14px;font-size:.72rem;position:absolute;bottom:18px;left:18px;right:18px}.scanner-error{border-radius:16px;line-height:1.4}@keyframes scanner-line{0%{top:16px}to{top:calc(100% - 18px)}}.modal-backdrop{z-index:80;padding-top:max(var(--tg-safe-top),env(safe-area-inset-top));-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#1e140e6b;justify-content:center;align-items:end;display:flex;position:fixed;inset:0}.product-picker{width:min(100%,760px);max-height:min(82dvh,720px);padding:20px clamp(18px,5vw,28px) calc(20px + max(var(--tg-safe-bottom),env(safe-area-inset-bottom)));background:var(--color-background);border-radius:26px 26px 0 0;flex-direction:column;display:flex;box-shadow:0 -14px 40px #1e140e38}.product-picker>header{justify-content:space-between;align-items:start;gap:14px;margin-bottom:14px;display:flex}.product-picker h2{margin:0;font-size:1.35rem}.product-picker header p{color:var(--color-muted);margin:4px 0 0;font-size:.7rem}.product-picker-results{overscroll-behavior:contain;min-height:180px;margin-top:12px;overflow:auto}.product-picker-results ul{margin:0;padding:0;list-style:none}.product-picker-results li{border-bottom:1px solid var(--color-border)}.product-picker-result-row{grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:4px;display:grid}.product-picker-results .product-picker-select{text-align:left;cursor:pointer;justify-content:space-between;align-items:center;gap:14px;width:100%;min-height:66px;padding:10px 2px;display:flex}.product-picker-results .product-picker-select>span:first-child{gap:3px;display:grid}.product-picker-results li small,.product-picker-results .product-picker-select>span:last-child{color:var(--color-muted);font-size:.68rem}.product-picker-results .product-picker-report{width:44px;height:44px;color:var(--color-muted);border-radius:50%;place-items:center;display:grid}.product-picker-results .product-picker-report svg{width:19px;height:19px}.picker-load-more{min-height:58px;color:var(--color-muted);text-align:center;justify-content:center;align-items:center;gap:8px;font-size:.68rem;display:flex}.picker-loading,.picker-empty{min-height:180px;color:var(--color-muted);text-align:center;align-content:center;place-items:center;gap:10px;display:grid}.picker-loading-modal{border-radius:var(--radius-md);width:min(100% - 36px,420px);min-height:150px;color:var(--color-text);background:var(--color-background);box-shadow:var(--shadow-soft);padding:24px}.picker-empty svg{width:38px;height:38px}.picker-empty p{margin:0}.picker-empty a{color:var(--color-primary);font-weight:800}@media(max-width:420px){.bottom-nav{padding-inline:2px}.bottom-nav>a{gap:2px;font-size:.53rem}.bottom-nav>a svg{width:18px}}.reorder-actions{grid-column:2/-1;justify-content:end;gap:4px;display:flex}.reorder-actions button{width:34px;height:34px;color:var(--color-muted);background:var(--color-border);border:0;border-radius:7px;place-items:center;padding:0;display:grid}@supports (color:color-mix(in lab,red,red)){.reorder-actions button{background:color-mix(in srgb,var(--color-border) 35%,transparent)}}.reorder-actions button:last-child{color:var(--color-danger)}.reorder-actions button:disabled{opacity:.25}.reorder-actions svg{width:16px}.item-error{grid-column:2/-1}.step-item{grid-template-columns:32px minmax(0,1fr) 64px}.step-duration-field{min-width:0;display:block;position:relative}.step-duration-field .step-duration{appearance:textfield;padding-right:30px}.step-duration-field .step-duration::-webkit-inner-spin-button{appearance:none;margin:0}.step-duration-field .step-duration::-webkit-outer-spin-button{appearance:none;margin:0}.step-duration-field>span:last-child{color:var(--color-muted);pointer-events:none;font-size:.68rem;font-weight:700;position:absolute;top:50%;right:9px;transform:translateY(-50%)}.step-number{color:#fff;background:var(--color-primary);border-radius:50%;place-items:center;width:28px;height:28px;margin-top:6px;font-size:.75rem;display:grid}.step-item .reorder-actions{grid-column:2/-1}.add-row-button{min-height:44px;color:var(--color-sage);cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;padding:8px 2px;display:inline-flex}.add-row-button svg{width:17px}.field-error,.form-error{font-size:.7rem;color:var(--color-danger)!important}.form-error{background:var(--color-danger);border-radius:9px;padding:12px}@supports (color:color-mix(in lab,red,red)){.form-error{background:color-mix(in srgb,var(--color-danger) 8%,transparent)}}.sticky-save{z-index:20;right:max(clamp(18px,5vw,32px),50vw - 348px);bottom:calc(14px + max(var(--tg-safe-bottom),env(safe-area-inset-bottom)));width:auto;position:fixed;left:max(clamp(18px,5vw,32px),50vw - 348px)}@media(min-width:700px){.home-page,.home-info-page,.recipes-page{padding-left:48px;padding-right:48px}.home-title{margin-top:30px}.recipe-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.recipe-card-grid .recipe-card-media{height:150px}.recipe-list{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-content{padding-left:64px;padding-right:64px}}@media(max-width:520px){.recipes-header-actions{width:100%}.recipes-header-actions>*{flex:1;justify-content:center}}@media(max-width:370px){.page{padding-left:14px;padding-right:14px}.meal-shortcuts{gap:7px}.meal-shortcut{min-height:76px;font-size:.68rem}.recipe-card-grid .recipe-card-media{height:118px}.recipe-card-copy{padding:10px}.bottom-nav{padding-left:2px;padding-right:2px}.bottom-nav>a{font-size:.57rem}.bottom-nav>a svg{width:20px}.ingredient-item{grid-template-columns:16px minmax(0,1fr) 62px 50px}.editor-header .cancel-button{font-size:0}.editor-header .cancel-button svg{width:22px}}@media(prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}:root{color-scheme:light;--color-background: #f5f2ee;--color-surface: #ffffff;--color-surface-raised: #ffffff;--color-surface-muted: #f3ece7;--color-text: #201b18;--color-muted: #756d68;--color-primary: #d95e3e;--color-primary-deep: #a9341d;--color-primary-action: #a9341d;--color-primary-action-hover: #872814;--color-on-primary: #ffffff;--color-sage: #d95e3e;--color-sage-soft: #fbe9e2;--color-apricot: #f4d3c3;--color-border: #e8ddd6;--color-danger: #b93b32;--color-warning: #956019;--color-success: #286b36;--color-success-soft: #e4f2e7;--color-warning-soft: #f8edd6;--color-info: #6c4938;--color-info-soft: #f3e7e0;--color-danger-soft: #f9e6e3;--color-carbohydrate: #8a5f3a;--color-protein: #d59b00;--color-fat: #d95e31;--ai-gradient: linear-gradient(135deg, #1677ff 0%, #5856e9 50%, #8b5cf6 100%);--ai-gradient-hover: linear-gradient(135deg, #2b85ff 0%, #665ff1 48%, #9a6cff 100%);--ai-gradient-shimmer: linear-gradient(120deg, rgb(22 119 255 / 0%) 12%, rgb(157 116 255 / 82%) 48%, rgb(73 179 255 / 42%) 72%, rgb(22 119 255 / 0%) 100%);--ai-glow: inset 0 1px 0 rgb(255 255 255 / 34%), 0 10px 26px rgb(72 64 220 / 34%);--ai-glow-hover: inset 0 1px 0 rgb(255 255 255 / 42%), 0 13px 32px rgb(72 64 220 / 44%);--gradient-summary: linear-gradient(180deg, #a9341d 0%, #b73f24 22%, #c44a2c 48%, #c14f32 72%, #b94d33 100%);--shadow-soft: 0 14px 36px rgb(87 49 34 / 9%);--shadow-nav: 0 -8px 26px rgb(87 49 34 / 8%);--radius-sm: 12px;--radius-md: 16px;--radius-lg: 20px;--content-max: 1180px;--sidebar-width: 220px;--ease-out: cubic-bezier(.22, .8, .24, 1);--ease-in-out: cubic-bezier(.77, 0, .175, 1);--ease-drawer: cubic-bezier(.32, .72, 0, 1);--motion-fast: .16s;--motion-base: .22s;--font-ui: "Onest Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-data: "Onest Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-data-weight: 650;--font-data-tracking: -.065em;--glass-surface: linear-gradient(145deg, rgb(255 255 255 / 20%) 0%, rgb(255 255 255 / 9%) 100%);--glass-reading-surface: linear-gradient(145deg, rgb(45 17 11 / 34%) 0%, rgb(70 23 12 / 24%) 100%);--glass-reading-surface-hover: linear-gradient(145deg, rgb(45 17 11 / 42%) 0%, rgb(70 23 12 / 30%) 100%);--glass-border: rgb(255 255 255 / 30%);--glass-inner-border: rgb(255 255 255 / 20%);--glass-inner-surface: rgb(255 255 255 / 10%);--glass-shadow: inset 0 1px 0 rgb(255 255 255 / 34%), 0 14px 34px rgb(83 30 18 / 10%);--glass-filter: blur(18px) saturate(125%);--glass-radius: 24px;--glass-control-surface: linear-gradient(145deg, rgb(255 255 255 / 58%) 0%, rgb(255 255 255 / 34%) 100%);--glass-control-border: rgb(255 255 255 / 68%);--glass-control-border-focus: #ffffff;--glass-control-shadow: inset 0 1px 0 rgb(255 255 255 / 78%), 0 8px 22px rgb(83 30 18 / 7%);--glass-control-shadow-focus: inset 0 1px 0 rgb(255 255 255 / 92%), 0 0 0 1px rgb(255 255 255 / 72%), 0 10px 26px rgb(83 30 18 / 9%);--glass-control-filter: blur(16px) saturate(116%);--glass-primary-surface: linear-gradient(145deg, rgb(217 94 62 / 92%) 0%, rgb(169 52 29 / 84%) 100%);--glass-primary-shadow: inset 0 1px 0 rgb(255 255 255 / 42%), 0 10px 26px rgb(116 39 21 / 20%);--glass-sheet-surface: linear-gradient(145deg, rgb(255 255 255 / 78%) 0%, rgb(255 255 255 / 58%) 100%);--glass-sheet-dense-surface: linear-gradient(145deg, rgb(255 255 255 / 99%) 0%, rgb(255 255 255 / 97%) 100%);--glass-sheet-border: rgb(255 255 255 / 62%);--glass-sheet-shadow: inset 0 1px 0 rgb(255 255 255 / 82%), 0 24px 60px rgb(42 26 20 / 24%);--glass-sheet-filter: blur(28px) saturate(112%);--glass-button-surface: rgb(255 255 255 / 38%);--glass-button-surface-hover: rgb(255 255 255 / 58%);--glass-button-border: rgb(255 255 255 / 52%);--glass-button-shadow: inset 0 1px 0 rgb(255 255 255 / 62%), 0 10px 24px rgb(42 26 20 / 9%);--recipe-card-radius: 20px;--inline-action-color: #ffffff;--inline-action-size: .78rem;--inline-action-weight: 650;--inline-action-opacity: 1;font-family:Onest Variable,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}.glass-date-input{position:relative;display:block;width:100%;min-width:0;border:1px solid var(--glass-control-border);border-radius:12px;background:var(--glass-control-surface);box-shadow:var(--glass-control-shadow);-webkit-backdrop-filter:var(--glass-control-filter);backdrop-filter:var(--glass-control-filter);transition:border-color var(--motion-fast) ease,box-shadow var(--motion-fast) ease}.glass-date-input:focus-within{border-color:var(--glass-control-border-focus);box-shadow:var(--glass-control-shadow-focus)}.glass-date-input>input{width:100%;min-width:0;min-height:48px;box-sizing:border-box;padding:10px 13px;color:var(--color-text);color-scheme:inherit;border:0;border-radius:inherit;outline:0;background:transparent;box-shadow:none;font:inherit;font-variant-numeric:tabular-nums}.glass-date-input>input::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.72}html,body{min-width:320px;min-height:100%;overflow-x:clip;background:var(--color-background);color:var(--color-text)}body{min-height:100dvh;font-size:16px;line-height:1.45;-webkit-font-smoothing:antialiased}::selection{color:#fff;background:var(--color-primary)}*{scrollbar-color:#b9c8bb transparent;scrollbar-width:thin}h1,h2,h3{font-family:inherit;letter-spacing:-.03em;text-wrap:balance}h1{font-size:clamp(2rem,7vw,3.25rem);font-weight:780;line-height:1.04}h2{font-weight:740;line-height:1.12}button,input,textarea,select{color:inherit;font:inherit}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgb(217 94 62 / 32%);outline-offset:2px}.app-frame{position:relative;width:100%;max-width:none;min-height:100dvh;margin:0;overflow:visible;background:var(--color-background);box-shadow:none}.page{width:min(100%,var(--content-max));max-width:var(--content-max);min-height:100dvh;margin-inline:auto;padding:calc(24px + max(var(--tg-safe-top),env(safe-area-inset-top))) clamp(16px,4vw,32px) calc(44px + max(var(--tg-safe-bottom),env(safe-area-inset-bottom)));animation:none}.page-with-nav .page{padding-bottom:calc(104px + max(var(--tg-safe-bottom),env(safe-area-inset-bottom)))}.page-title-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 22px}.page-title-row h1{margin:0}.icon-button{display:inline-grid;width:44px;min-width:44px;height:44px;min-height:44px;place-items:center;padding:0;border:1px solid var(--color-border);border-radius:12px;color:var(--color-text);background:var(--color-surface);box-shadow:none;cursor:pointer;transition:background-color var(--motion-fast) ease,transform var(--motion-fast) var(--ease-out),border-color var(--motion-fast) ease}.icon-button:hover{border-color:#d7c3b8;background:#fbf5f1}.icon-button:active:not(:disabled),.button:active:not(:disabled){transform:scale(.98)}.icon-button svg{width:21px;height:21px;stroke-width:1.8}.button{display:inline-flex;min-height:48px;align-items:center;justify-content:center;gap:9px;padding:11px 18px;border:1px solid transparent;border-radius:12px;font-size:.94rem;font-weight:720;line-height:1.15;white-space:nowrap;cursor:pointer;transition:background-color var(--motion-fast) ease,border-color var(--motion-fast) ease,transform var(--motion-fast) var(--ease-out)}.button-primary{color:var(--color-on-primary);background:var(--color-primary-action);box-shadow:none}.button-primary:hover{background:var(--color-primary-action-hover);filter:none}.form-primary-action{display:inline-flex;width:100%;min-width:0;min-height:52px;align-items:center;justify-content:center;gap:8px;padding:11px 18px;color:var(--color-text);border:1px solid var(--glass-button-border);border-radius:14px;background:var(--glass-button-surface);box-shadow:var(--glass-button-shadow);font:inherit;font-weight:720;line-height:1.15;cursor:pointer;backdrop-filter:var(--glass-control-filter);-webkit-backdrop-filter:var(--glass-control-filter);transition:background-color var(--motion-fast) ease,border-color var(--motion-fast) ease,transform var(--motion-fast) var(--ease-out)}.form-primary-action:hover:not(:disabled){color:var(--color-text);border-color:#fff;background:var(--glass-button-surface-hover)}.form-primary-action:focus-visible{outline:2px solid #fff;outline-offset:2px}.form-primary-action:active:not(:disabled){transform:scale(.98)}.form-primary-action:disabled{cursor:not-allowed;opacity:.56}.button.ai-action,.form-primary-action.ai-action{position:relative;isolation:isolate;color:#fff;border-color:#ffffff47;background:var(--ai-gradient);box-shadow:var(--ai-glow);backdrop-filter:none;-webkit-backdrop-filter:none;transition:filter var(--motion-fast) ease,box-shadow var(--motion-fast) ease,transform var(--motion-fast) var(--ease-out)}.button.ai-action:before,.form-primary-action.ai-action:before{position:absolute;z-index:-2;inset:-5px;border-radius:inherit;background:var(--ai-gradient-hover);content:"";opacity:.3;pointer-events:none;filter:blur(12px);transform:scale(.96);animation:ai-glow-breathe 3s var(--ease-in-out) infinite alternate}.button.ai-action:after,.form-primary-action.ai-action:after{position:absolute;z-index:-1;inset:0;border-radius:inherit;background:var(--ai-gradient-shimmer);content:"";opacity:.22;pointer-events:none;transform:scaleX(.94);animation:ai-gradient-breathe 4.8s var(--ease-in-out) infinite alternate}@keyframes ai-gradient-breathe{to{opacity:.82;transform:scaleX(1)}}@keyframes ai-glow-breathe{to{opacity:.56;transform:scale(1.03)}}.button.ai-action:hover:not(:disabled),.form-primary-action.ai-action:hover:not(:disabled){color:#fff;border-color:#ffffff6b;background:var(--ai-gradient-hover);box-shadow:var(--ai-glow-hover);filter:saturate(1.06)}@media(hover:hover)and (pointer:fine){.button.ai-action:hover:not(:disabled):before,.form-primary-action.ai-action:hover:not(:disabled):before{opacity:.66}}.button.ai-action:focus-visible,.form-primary-action.ai-action:focus-visible{outline:2px solid #c9d4ff;outline-offset:3px}.button.ai-action:disabled,.form-primary-action.ai-action:disabled{color:#ffffffd1;box-shadow:inset 0 1px #ffffff38,0 6px 16px #4840dc2e;filter:saturate(.7)}.button.ai-action:disabled:before,.button.ai-action:disabled:after,.form-primary-action.ai-action:disabled:before,.form-primary-action.ai-action:disabled:after{animation:none;opacity:.12;transform:none}.button-outline{border-color:var(--color-border);color:var(--color-text);background:var(--color-surface)}.button-outline:hover{border-color:#d3bdb1;background:#fbf5f1}.button-danger{border-color:#e7c4c1;color:var(--color-danger);background:#fff8f7}.button:disabled,.icon-button:disabled{cursor:not-allowed;opacity:.52}.field,.profile-field{display:grid;min-width:0;gap:7px}.field>span,.profile-field>span:first-child,.product-basis-fieldset legend{color:var(--color-text);font-size:.82rem;font-weight:700;line-height:1.25}.field input,.field textarea,.field select,.profile-field input,.profile-field select,.journal-meal-form input,.journal-meal-form select,.journal-quick-form input{width:100%;min-width:0;min-height:48px;padding:11px 13px;border:1px solid #d9cdc6;border-radius:12px;color:var(--color-text);background:var(--color-surface);box-shadow:none}.field textarea{min-height:96px;resize:vertical}.field input::placeholder,.field textarea::placeholder,.profile-field input::placeholder{color:#948983;opacity:1}.field input:focus,.field textarea:focus,.field select:focus,.profile-field input:focus,.profile-field select:focus{border-color:var(--color-primary);outline:3px solid rgb(217 94 62 / 14%);outline-offset:0}.field>small:not(.field-error),.field-hint,.product-calculation-hint,.profile-field small{color:var(--color-muted);font-size:.74rem;line-height:1.45}.field-error,.form-error{position:static;display:block;margin:0;color:var(--color-danger);font-size:.78rem;line-height:1.45}.form-error{padding:12px 14px;border:1px solid #eccdca;border-radius:12px;background:#fff8f7}.form-grid,.nutrition-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-section{display:grid;gap:16px;padding:clamp(16px,3vw,22px);border:1px solid var(--color-border);border-radius:16px;background:var(--color-surface);box-shadow:none}.section-heading,.form-section .section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.section-heading h2,.form-section .section-heading h2{margin:0;font-size:clamp(1.2rem,3vw,1.45rem)}.center-state,.empty-state,.inline-state{color:var(--color-text)}.empty-state,.inline-state{border-color:var(--color-border);border-radius:16px;background:var(--color-surface);box-shadow:none}.skeleton-row,.detail-skeleton,.editor-skeleton{border-radius:14px;background:#eee5df;animation:eb-pulse 1.35s ease-in-out infinite alternate}@keyframes eb-pulse{to{opacity:.52}}.spinner{animation:eb-spin .9s linear infinite}@keyframes eb-spin{to{transform:rotate(360deg)}}.connectivity-pill,.elevated,.product-picker,.bottom-nav{-webkit-backdrop-filter:none;backdrop-filter:none}@media(max-width:520px){.form-grid,.nutrition-inputs{grid-template-columns:minmax(0,1fr)}.page-title-row{align-items:flex-start}}@media(min-width:1024px){.page{min-height:100dvh;padding:36px 38px 56px}.page-with-nav .page{padding-bottom:56px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:1ms!important;animation-iteration-count:1!important;transition-duration:1ms!important}}.auth-screen{position:relative;isolation:isolate;display:grid;min-height:100dvh;grid-template-rows:auto 1fr;padding:calc(18px + max(var(--tg-safe-top, 0px),env(safe-area-inset-top))) clamp(18px,5vw,32px) calc(24px + max(var(--tg-safe-bottom, 0px),env(safe-area-inset-bottom)));overflow:hidden;color:#f7f5ef;background:#02040a}.auth-screen:before,.auth-screen:after{display:none}.auth-island{position:relative;z-index:1;display:flex;width:min(100%,520px);flex-direction:column;align-items:center;align-self:center;justify-self:center;gap:clamp(44px,7vh,64px);padding:clamp(36px,8vw,64px) 0;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:center}.auth-page-header{position:relative;z-index:1;display:flex;width:min(100%,720px);min-height:48px;align-items:center;margin-inline:auto}.auth-brand{display:inline-flex;flex-direction:row;align-items:center;gap:9px}.auth-island-logo{display:grid;width:36px;height:36px;place-items:center;border-radius:10px;overflow:hidden;background:transparent;box-shadow:none}.auth-island-logo img{display:block;width:100%;height:100%}.auth-brand-name{color:#f7f5ef;font-size:1rem;font-weight:780}.auth-copy{display:grid;justify-items:center;gap:18px}.auth-copy h1{margin:0;max-width:500px;color:#f7f5ef;font-size:clamp(2.25rem,8vw,3.4rem);line-height:1.02}.auth-copy p,.auth-island-loading p{max-width:420px;margin:0;color:#f7f5efb8;font-size:.98rem;line-height:1.5}.auth-copy .auth-tagline{max-width:410px;color:#f7f5efc7;font-size:clamp(.96rem,2.8vw,1.08rem);font-weight:520;line-height:1.48;text-wrap:balance}.auth-action,.auth-island .yandex-login-button{width:100%}.auth-action{display:grid;max-width:440px;gap:12px;margin-inline:auto}.auth-island .yandex-login-button{min-height:56px;color:#111;border-color:transparent;border-radius:14px;background:#f7f5ef;box-shadow:none}.auth-island .yandex-login-button:hover{color:#111;background:#fff}.auth-island .yandex-login-button:focus-visible,.auth-retry-button:focus-visible{outline-color:#9ac5ffc7}.auth-retry-button{width:100%;min-height:56px;color:#111;border-radius:14px;background:#f7f5ef}.auth-error{color:#f7f5ef;border-color:#f7f5ef38;background:#0000005c}.auth-island-loading{gap:18px}:root[data-theme=dark] .auth-island-logo img{filter:grayscale(1)}@media(max-width:520px){.auth-island{gap:42px;padding-block:32px}.auth-copy h1{max-width:360px}}.profile-page{--profile-accent: var(--color-primary);--profile-accent-soft: var(--color-sage-soft);display:grid;align-content:start;gap:16px}.profile-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.profile-page-header h1{margin:0;font-size:clamp(2.05rem,7vw,3.45rem)}.profile-page-header p{max-width:620px;margin:0;color:var(--color-muted)}.profile-eyebrow,.profile-dialog-kicker,.profile-section-heading>div>span{color:var(--color-primary-deep);font-size:.7rem;font-weight:780;letter-spacing:.07em;text-transform:uppercase}.profile-goal-icon,.profile-metric-icon{display:grid;flex:0 0 auto;place-items:center;color:var(--color-primary-deep);background:var(--color-sage-soft)}.profile-goal-card,.profile-panel,.profile-results{border:1px solid var(--color-border);border-radius:18px;background:var(--color-surface);box-shadow:none}.profile-goal-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:17px}.profile-goal-icon{width:50px;height:50px;border-radius:15px}.profile-goal-card>div{display:grid;min-width:0;gap:2px}.profile-goal-card>div>span,.profile-goal-card p{color:var(--color-muted);font-size:.78rem}.profile-goal-card strong{font-size:clamp(1.08rem,3.4vw,1.35rem);line-height:1.2}.profile-goal-card p{margin:2px 0 0}.profile-status,.profile-calculation-state{display:inline-flex;min-height:28px;align-items:center;padding:5px 9px;border-radius:999px;color:var(--color-primary-deep);background:var(--color-sage-soft);font-size:.67rem;font-weight:740;white-space:nowrap}.profile-status.stale,.profile-results.is-stale .profile-calculation-state{color:#825415;background:#fff3dc}.profile-panel,.profile-results{padding:clamp(17px,4vw,24px)}.profile-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:17px}.profile-section-heading h2{margin:2px 0 0;font-size:clamp(1.25rem,4vw,1.6rem)}.profile-method-link{min-height:44px;padding:4px 0;border:0;color:var(--color-primary-deep);background:transparent;font-weight:720;cursor:pointer}.profile-dialog-content{display:grid;gap:24px;min-width:0;padding:22px 24px 30px}.profile-dialog-content section{display:grid;min-width:0;gap:9px}.profile-dialog-content h3,.profile-dialog-content p{margin:0}.profile-dialog-content h3{overflow-wrap:anywhere;font-size:1rem}.profile-dialog-content p{color:var(--color-muted);font-size:.86rem;line-height:1.55}.method-transparency-intro{padding-bottom:18px;border-bottom:1px solid var(--color-border)}.formula-card,.method-limitation{border-radius:14px;background:var(--color-background)}.formula-card{display:grid;min-width:0;gap:7px;margin-top:3px;padding:14px;border:1px solid var(--color-border)}.formula-card strong{font-size:.75rem}.formula-card code,.method-personal-example code{overflow-wrap:anywhere;color:var(--color-text);font-size:.78rem;line-height:1.5;white-space:normal}.method-limitation{padding:11px 13px}.method-limitation strong,.method-disclaimer strong{color:var(--color-text)}.method-inline-sources{font-size:.76rem!important}.method-inline-sources a,.method-sources a{color:var(--color-primary-deep);font-weight:680;text-underline-offset:3px}.method-coefficient-grid,.method-macro-table,.method-sources{border:1px solid var(--color-border);border-radius:14px;overflow:hidden}.method-coefficient-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.method-coefficient-grid>span{display:flex;min-width:0;justify-content:space-between;gap:8px;padding:10px 12px;border-bottom:1px solid var(--color-border)}.method-coefficient-grid>span:nth-child(odd){border-right:1px solid var(--color-border)}.method-coefficient-grid>span:last-child:nth-child(odd){grid-column:1 / -1;border-right:0;border-bottom:0}.method-coefficient-grid strong,.method-coefficient-grid b{font-size:.74rem}.method-coefficient-grid strong{min-width:0;overflow-wrap:anywhere;color:var(--color-muted);font-weight:600}.method-macro-table{display:grid}.method-macro-table>div{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(68px,.7fr));gap:8px;padding:9px 12px;border-bottom:1px solid var(--color-border);font-size:.74rem}.method-macro-table>div:first-child{color:var(--color-muted);background:var(--color-background)}.method-macro-table>div:last-child{border-bottom:0}.method-macro-table span:not(:first-child),.method-macro-table strong:not(:first-child){text-align:right}.method-personal-example,.method-personal-empty{padding:16px;border:1px solid #cce2cf;border-radius:16px;background:var(--color-sage-soft)}.method-personal-example ol{display:grid;gap:0;margin:0;padding:0;list-style:none}.method-personal-example li{display:grid;min-width:0;gap:4px;padding:10px 0;border-bottom:1px solid #cce2cf}.method-personal-example li:last-child{border-bottom:0}.method-personal-example li strong{font-size:.74rem}.method-sources{display:grid;gap:0;margin:0;padding:0;list-style:none}.method-sources li{display:flex;min-width:0;align-items:center;gap:8px;padding:0 12px;border-bottom:1px solid var(--color-border)}.method-sources li:last-child{border-bottom:0}.method-sources a{display:flex;min-height:48px;flex:1;align-items:center;font-size:.79rem;line-height:1.4}.method-sources svg{width:16px;flex:0 0 auto;color:var(--color-muted)}.method-disclaimer{display:flex;align-items:flex-start;gap:11px;padding:14px;border-radius:16px;background:var(--color-sage-soft)}.method-disclaimer svg{width:20px;flex:0 0 auto;color:var(--color-primary-deep)}.profile-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.profile-field{display:grid;min-width:0;align-content:start;gap:8px;padding:14px;border:1px solid var(--color-border);border-radius:14px;background:#fbfcfb}.profile-field:focus-within{border-color:var(--color-primary);box-shadow:0 0 0 3px #d95e3e1f}.profile-field:has([aria-invalid=true]){border-color:#d8857f}.profile-field>span:first-child{display:flex;align-items:center;gap:7px;color:var(--color-muted);font-size:.76rem;font-weight:680}.profile-field>span:first-child svg{width:18px;height:18px;color:var(--color-primary-deep)}.profile-field input,.profile-field select{min-height:44px;padding:0;border:0;border-radius:0;outline:0;background:transparent;font-size:1.03rem;font-weight:690}.profile-field small{min-height:1em;color:var(--color-muted);font-size:.68rem;line-height:1.4}.profile-input-with-unit{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center!important;gap:8px!important}.profile-input-with-unit>span{color:var(--color-muted);font-size:.8rem}.profile-form-hint{margin:14px 0 0;color:var(--color-muted);font-size:.76rem}.profile-baseline-note{display:flex;align-items:flex-start;gap:9px;padding:12px 14px;margin:16px 0 0;color:var(--color-muted);border-radius:12px;background:var(--color-sage-soft);font-size:.76rem;line-height:1.45}.profile-baseline-note svg{width:19px;height:19px;flex:0 0 auto;color:var(--color-primary-deep)}.profile-results-content{display:grid;gap:12px}.profile-baseline-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.profile-baseline-grid article{display:grid;min-width:0;align-content:start;gap:4px;padding:14px;border-radius:14px;background:var(--color-sage-soft)}.profile-baseline-grid article>span,.profile-baseline-grid article>small{color:var(--color-muted);font-size:.68rem;line-height:1.4}.profile-baseline-grid strong{color:var(--color-text);font-size:clamp(1.08rem,3vw,1.35rem);line-height:1.15;font-variant-numeric:tabular-nums}.profile-baseline-grid strong small{color:var(--color-muted);font-size:.68rem;font-weight:600}.profile-target-mode{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid var(--color-border);border-radius:14px;background:#fbfcfb}.profile-target-mode div{display:grid;gap:3px}.profile-target-mode p{margin:0;color:var(--color-muted);font-size:.74rem;line-height:1.45}.profile-target-reset{display:inline-flex;min-height:44px;flex:0 0 auto;align-items:center;gap:7px;padding:0 13px;border:1px solid #a8caaa;border-radius:12px;color:var(--color-primary-deep);background:var(--color-surface);font-weight:700}.profile-target-reset svg{width:17px}.profile-target-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.profile-target-field{display:grid;min-width:0;align-content:start;gap:8px;padding:14px;border:1px solid var(--color-border);border-radius:14px;background:#fbfcfb}.profile-target-field:focus-within{border-color:var(--color-primary);box-shadow:0 0 0 3px #d95e3e1f}.profile-target-field:has([aria-invalid=true]){border-color:#d8857f}.profile-target-field>span:first-child{display:flex;align-items:center;gap:7px;color:var(--color-muted);font-size:.76rem;font-weight:680}.profile-target-field>span:first-child svg{width:18px;height:18px;color:var(--color-primary-deep)}.profile-target-field input{min-width:0;min-height:44px;padding:0;border:0;outline:0;background:transparent;font-size:1.3rem;font-weight:720}.profile-target-field small{min-height:1em;color:var(--color-muted);font-size:.68rem;line-height:1.4}.profile-energy-preview strong{font-size:clamp(1.1rem,3vw,1.45rem)}.profile-calorie-card,.profile-macro-grid>article,.profile-weight-plan,.profile-recommendation,.profile-results-empty{border:1px solid var(--color-border);background:#fbfcfb}.profile-calorie-card{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(180px,.8fr);align-items:center;gap:14px;padding:16px;border-radius:15px}.profile-metric-icon{width:42px;height:42px;border-radius:12px}.profile-calorie-card>div,.profile-macro-grid article>div{display:grid;min-width:0;gap:2px}.profile-calorie-card>div>span,.profile-macro-grid article>div>span,.profile-macro-grid article>small,.profile-weight-plan>div>span,.profile-weight-plan p{color:var(--color-muted);font-size:.72rem}.profile-calorie-card strong,.profile-macro-grid strong{font-size:clamp(1.36rem,4vw,1.8rem);line-height:1.1}.profile-calorie-card p,.profile-weight-plan p{margin:0;line-height:1.45}.profile-macro-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.profile-macro-grid>article{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:11px;padding:14px;border-radius:14px}.profile-macro-grid article>small{grid-column:2;margin-top:-6px}.profile-weight-plan{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:13px;padding:15px;border-radius:14px}.profile-weight-plan>div{display:grid;min-width:0;gap:3px}.profile-weight-plan strong{font-size:clamp(1.05rem,3vw,1.25rem)}.profile-recommendation{display:flex;align-items:flex-start;gap:11px;padding:14px;border-radius:14px}.profile-recommendation svg{width:21px;flex:0 0 auto;color:var(--color-primary-deep)}.profile-recommendation p{margin:0;color:var(--color-muted);font-size:.76rem;line-height:1.45}.profile-results-empty{display:flex;min-height:112px;align-items:center;gap:14px;padding:17px;border-radius:15px}.profile-results-empty p{margin:3px 0 0;color:var(--color-muted)}.profile-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-bottom:max(8px,env(safe-area-inset-bottom))}.profile-actions>:only-child{grid-column:1 / -1}.profile-save-button,.profile-recalculate-button{width:100%}.profile-account-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;border:1px solid var(--color-border);border-radius:18px;background:var(--color-surface)}.profile-admin-panel{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px;border:1px solid #cfe3cf;border-radius:18px;background:#f8fcf7}.profile-admin-panel h2,.profile-admin-panel p{margin:0}.profile-admin-panel h2{font-size:1rem}.profile-admin-panel p{margin-top:4px;color:var(--color-muted);font-size:.82rem}.profile-admin-icon{display:grid;width:46px;height:46px;place-items:center;border-radius:14px;color:var(--color-primary-deep);background:#e8f5e7}.profile-admin-icon svg{width:23px;height:23px}.profile-admin-button{white-space:nowrap;text-decoration:none}.profile-admin-button svg{width:18px;height:18px}.profile-account-details{display:grid;min-width:0;flex:1 1 auto;gap:4px}.profile-nickname-form{display:grid;gap:8px;margin-top:12px}.profile-nickname-form>label{color:var(--color-muted);font-size:.76rem;font-weight:680}.profile-nickname-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.profile-nickname-controls input{width:100%;min-width:0;min-height:48px;padding:0 14px;border:1px solid var(--color-border);border-radius:13px;color:var(--color-text);background:#fbfcfb;font-size:.95rem;font-weight:650}.profile-nickname-controls input:focus{border-color:var(--color-primary);outline:3px solid rgb(217 94 62 / 14%);outline-offset:0}.profile-nickname-controls input[aria-invalid=true]{border-color:#d8857f}.profile-nickname-save{min-height:48px;white-space:nowrap}.profile-nickname-save svg{width:17px;height:17px}.profile-subscription-card{display:grid;gap:18px;padding:clamp(18px,3vw,24px);border:1px solid var(--color-border);border-radius:20px;background:var(--color-surface)}.profile-subscription-heading{display:flex;min-width:0;align-items:center;gap:14px}.profile-subscription-copy{display:grid;justify-items:start;min-width:0}.profile-subscription-icon{display:grid;width:48px;height:48px;flex:0 0 auto;place-items:center;border-radius:15px;color:var(--color-primary-deep);background:var(--color-sage-soft)}.profile-subscription-icon svg{width:23px;height:23px}.profile-subscription-heading span,.profile-subscription-heading p{color:var(--color-muted);font-size:.82rem}.profile-subscription-heading h2,.profile-subscription-heading p{margin:0}.profile-subscription-heading h2{display:flex;width:fit-content;min-height:34px;align-items:center;margin-top:7px;padding:5px 12px;border:1px solid var(--color-border);border-radius:999px;font-size:clamp(1rem,3vw,1.16rem);line-height:1.15}.profile-subscription-heading p{margin-top:3px}.profile-subscription-quotas{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:10px}.profile-subscription-quotas article{display:grid;min-width:0;grid-template-columns:auto minmax(0,1fr);gap:2px 9px;padding:14px;border:1px solid transparent;border-radius:15px;background:linear-gradient(var(--color-surface-muted),var(--color-surface-muted)) padding-box,var(--ai-gradient) border-box;box-shadow:inset 0 1px #ffffffb8,0 7px 20px #4e46e21f}.profile-subscription-quotas svg{width:19px;height:19px;grid-row:1 / 3;color:var(--color-primary-deep)}.profile-subscription-quotas .profile-subscription-ai-icon{color:#655ee8}.profile-subscription-actions{display:grid;justify-items:center;gap:2px}.profile-subscription-cancel{display:inline-flex;min-height:44px;align-items:center;justify-content:center;padding:8px 12px;border:0;color:var(--color-muted);background:transparent;font:inherit;font-size:.86rem;font-weight:620;cursor:pointer;text-decoration:none;text-underline-offset:3px}.profile-subscription-cancel:hover{color:var(--color-text);text-decoration:underline}.profile-subscription-cancel:disabled{color:var(--color-muted);cursor:not-allowed;opacity:.5;text-decoration:none}.profile-subscription-cancel:focus-visible{outline:2px solid var(--glass-control-border-focus);outline-offset:-4px}.profile-subscription-action-notice{margin:2px 0 0;color:var(--color-muted);font-size:.78rem;line-height:1.4;text-align:center}.profile-subscription-quotas span{overflow:hidden;color:var(--color-muted);font-size:.76rem;text-overflow:ellipsis}.profile-subscription-quotas strong{font-size:.92rem;line-height:1.25}.profile-subscription-quotas .is-coming-soon strong,.profile-subscription-coming-soon>span{color:var(--color-primary-deep)}.profile-subscription-coming-soon{display:flex;align-items:flex-start;gap:12px;padding-top:14px;border-top:1px solid var(--color-border);font-size:.82rem}.profile-subscription-coming-soon>span{font-weight:750}.profile-subscription-coming-soon ul{display:flex;flex-wrap:wrap;gap:6px 18px;margin:0;padding:0;list-style:none}.profile-subscription-coming-soon li{color:var(--color-muted)}.profile-subscription-card.is-error{grid-template-columns:minmax(0,1fr) auto;align-items:center}.profile-subscription-card.is-loading{min-height:116px;align-content:center}.subscription-card-skeleton,.reels-quota-skeleton{display:block;width:60%;height:18px;border-radius:8px;background:linear-gradient(100deg,var(--color-border) 15%,var(--color-surface) 40%,var(--color-border) 65%);background-size:300% 100%;animation:shimmer 1.6s infinite linear}.subscription-card-skeleton.short,.reels-quota-skeleton.short{width:36%;height:12px}.profile-account-panel h2,.profile-account-panel p{margin:0}.profile-account-panel h2{font-size:1rem}.profile-account-panel p{margin-top:4px;color:var(--color-muted);font-size:.82rem}.profile-logout-button{flex:0 0 auto;border:1px solid #e4b5b5;color:#a43131;background:snow}.profile-logout-button svg{width:18px}.profile-save-button{color:#fff;background:var(--color-primary)}.profile-recalculate-button{border:1px solid #a8caaa;color:var(--color-primary-deep);background:var(--color-surface)}.profile-heading-skeleton{width:min(48%,320px);height:60px}.profile-goal-skeleton{height:88px}.profile-fields-skeleton{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.profile-fields-skeleton>div{height:118px}.detail-page{width:100%;max-width:none;min-height:100dvh;padding-bottom:max(52px,env(safe-area-inset-bottom));background:var(--color-background)}.detail-hero{position:relative;height:clamp(270px,54vw,520px);background:#e7ece7}.detail-image{width:100%;height:100%;object-fit:cover}.detail-hero:after{display:none}.detail-back,.detail-action-button{position:absolute;top:calc(18px + env(safe-area-inset-top));border-color:#ffffffd1;background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}.detail-back{z-index:2;left:max(18px,env(safe-area-inset-left))}.detail-hero-actions{position:absolute;z-index:2;top:calc(18px + env(safe-area-inset-top));right:max(18px,env(safe-area-inset-right));display:flex;gap:8px}.detail-hero-actions .detail-action-button{position:static}.detail-action-delete{color:var(--color-danger)}.detail-content{position:relative;z-index:1;width:min(calc(100% - 24px),980px);margin:-22px auto 0;padding:clamp(22px,5vw,38px);border:1px solid var(--color-border);border-radius:20px;background:var(--color-surface)}.detail-category{margin-bottom:7px;color:var(--color-primary-deep);font-size:.73rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.detail-content>h1{max-width:18ch;margin-bottom:12px;overflow-wrap:anywhere;font-size:clamp(2rem,7vw,4rem)}.detail-description{max-width:76ch;margin-bottom:18px;color:var(--color-muted);line-height:1.6}.nutrition-panel,.notes-panel,.source-panel{border:1px solid var(--color-border);border-radius:16px;background:#f8faf8}.nutrition-panel{margin-top:22px;padding:17px}.nutrition-source-label{color:var(--color-muted)}.nutrition-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.nutrition-grid>div{display:grid;min-width:0;gap:2px}.nutrition-grid strong{font-size:1.1rem}.nutrition-grid span,.nutrition-grid small{color:var(--color-muted)}.detail-section{margin-top:clamp(26px,5vw,38px)}.detail-section>h2{font-size:clamp(1.35rem,4vw,1.75rem)}.ingredient-table{table-layout:fixed}.ingredient-copy,.ingredient-copy>span,.ingredient-copy small{min-width:0;overflow-wrap:anywhere;white-space:normal}.ingredient-table__amount{overflow-wrap:anywhere}.step-list li{align-items:flex-start}.step-list p{overflow-wrap:anywhere}.editor-page{display:grid;width:min(100%,920px);align-content:start;gap:16px}.editor-header{position:static;display:grid;grid-template-columns:minmax(84px,1fr) auto minmax(84px,1fr);align-items:center;gap:8px;margin-bottom:2px}.editor-header h1{margin:0;overflow-wrap:anywhere;font-size:clamp(1.15rem,4vw,1.55rem);text-align:center}.editor-header .text-button{min-height:44px}.product-editor-header{display:grid}.app-shell .app-shell-content:has(>.product-editor-page){min-height:100dvh;background:var(--gradient-summary)}.product-editor-page{--color-text: #fff;--color-muted: rgb(255 255 255 / 72%);--color-border: var(--glass-control-border);width:min(100%,760px);color:#fff;font-family:var(--font-ui)}.product-editor-page .product-editor-header{min-height:48px;margin-bottom:4px}.product-editor-page .product-editor-header h1,.product-editor-page .product-editor-header .text-button{color:#fff}.product-editor-page .product-editor-header h1{font-family:var(--font-data);font-weight:720;letter-spacing:-.025em}.product-editor-page .product-editor-header .text-button{padding-inline:0;border:0;background:transparent;box-shadow:none}.product-editor-page .product-editor-header .text-button:hover{color:#fff;background:transparent}.product-editor-page .product-editor-form{display:grid;gap:14px}.product-editor-page:not(.product-editor-sheet){--color-text: #fff;--color-muted: rgb(255 255 255 / 64%)}.overlay-panel.product-editor-sheet{width:min(100%,520px);max-height:calc(100dvh - max(8px,env(safe-area-inset-top)));border-radius:18px 18px 0 0;background:var(--glass-sheet-dense-surface)}.product-editor-sheet>.overlay-header{min-height:48px;align-items:center;justify-content:flex-end;padding:4px 8px 0;background:var(--glass-sheet-dense-surface)}.product-editor-sheet>.overlay-header .overlay-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.product-editor-sheet .product-editor-form{padding:4px 18px max(18px,env(safe-area-inset-bottom))}.product-editor-sheet.product-editor-page{--color-text: #172019;--color-muted: #69736d}.product-editor-sheet.product-editor-page .field>span,.product-editor-sheet.product-editor-page .nutrition-editor .section-heading h2,.product-editor-sheet.product-editor-page .field-label-row>label{color:#172019}.product-editor-sheet.product-editor-page .field>input,.product-editor-sheet.product-editor-page .field>textarea,.product-editor-sheet.product-editor-page .barcode-input-row>input,.product-editor-sheet.product-editor-page .glass-select>select{color:#172019}.product-editor-sheet.product-editor-page .field>input::placeholder,.product-editor-sheet.product-editor-page .field>textarea::placeholder,.product-editor-sheet.product-editor-page .barcode-input-row>input::placeholder{color:#8b918d}.product-editor-sheet.product-editor-page .glass-select>svg,.product-editor-sheet.product-editor-page .field>small:not(.field-error),.product-editor-sheet.product-editor-page .lookup-status{color:#69736d}.product-editor-sheet.product-editor-page .barcode-input-row .icon-button,.product-editor-sheet.product-editor-page .product-editor-actions .button{color:#172019}.product-editor-sheet.product-editor-page .nutrition-editor{border:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}.product-editor-page .field{display:grid;gap:7px;margin:0}.product-editor-page .field-label-row{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px}.product-editor-page .field-label-row>label{color:inherit;font-size:.8rem;font-weight:690;line-height:1.3}.product-editor-page .field>span,.product-editor-page .product-category-fieldset legend,.product-editor-page .nutrition-editor .section-heading h2{margin:0;color:#fff;font-size:.8rem;font-weight:690;line-height:1.3}.product-editor-page .field>input,.product-editor-page .field>textarea,.product-editor-page .barcode-input-row>input{min-height:48px;padding:11px 13px;color:#fff;border:1px solid var(--glass-control-border);border-radius:12px;background:var(--glass-control-surface);box-shadow:var(--glass-control-shadow);backdrop-filter:var(--glass-control-filter);-webkit-backdrop-filter:var(--glass-control-filter)}.product-editor-page .field>textarea{min-height:92px}.product-editor-page .field>input::placeholder,.product-editor-page .field>textarea::placeholder,.product-editor-page .barcode-input-row>input::placeholder{color:#ffffff8a}.product-editor-page .field>input:focus,.product-editor-page .field>textarea:focus,.product-editor-page .barcode-input-row>input:focus{border-color:#fff;outline:0;box-shadow:var(--glass-control-shadow-focus)}.product-editor-page .glass-select{color:#fff}.product-editor-page .glass-select>select{color:#fff;border:0;background:transparent;box-shadow:none}.product-editor-page .glass-select>select option{color:#172019;background:#fff}.product-editor-page .glass-select>svg{color:#ffffffb8}.product-editor-page .barcode-input-row .icon-button{color:#fff;border:1px solid var(--glass-control-border);background:var(--glass-control-surface);box-shadow:var(--glass-control-shadow)}.product-editor-page .barcode-input-row .icon-button:hover{color:#fff;border-color:#fff;background:var(--glass-control-surface-hover)}.product-editor-page .field>small:not(.field-error),.product-editor-page .lookup-status,.product-editor-page .product-category-fieldset>p{color:#ffffffa6}.product-editor-page .field-error,.product-editor-page .form-error{color:#ffe0dc}.product-editor-page .product-category-options{gap:7px}.product-editor-page .product-category-options span{color:#ffffffb8;border-color:var(--glass-inner-border);background:var(--glass-inner-surface)}.product-editor-page .product-category-options input:checked+span{color:#fff;border-color:#fff;background:#ffffff40}.product-editor-page .product-category-options input:focus-visible+span{outline:2px solid #fff;outline-offset:2px}.product-editor-page .nutrition-editor{display:grid;gap:9px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}.product-editor-page .nutrition-inputs{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.product-editor-page .nutrition-inputs .field{min-width:0;gap:5px}.product-editor-page .nutrition-inputs .glass-number-input{width:100%;min-width:0}.product-editor-page .nutrition-inputs .field>span{overflow:hidden;font-size:.7rem;text-overflow:ellipsis;white-space:nowrap}.product-editor-page .nutrition-inputs input{width:100%;min-width:0;min-height:44px;font-family:var(--font-data);font-size:.92rem;font-variant-numeric:tabular-nums;text-align:center}.product-editor-page .nutrition-inputs .glass-number-input--compact>input{padding:8px 31px 8px 7px}.product-editor-page .nutrition-inputs .glass-number-input__clear{width:32px;height:40px}.product-editor-page .barcode-input-row>.glass-text-input{min-width:0}.product-editor-page .product-editor-actions{margin-top:4px}.product-editor-page .product-editor-actions .button:not(.form-primary-action){min-height:52px;color:#fff;border:1px solid var(--glass-button-border);border-radius:14px;background:var(--glass-button-surface);box-shadow:var(--glass-button-shadow)}.product-editor-page .product-editor-actions .button:not(.form-primary-action):hover{color:#fff;border-color:#fff;background:var(--glass-button-surface-hover)}.product-editor-page .product-editor-actions .button-danger{color:#ffe0dc}@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){.product-editor-page .field>input,.product-editor-page .field>textarea,.product-editor-page .barcode-input-row>input,.product-editor-page .barcode-input-row .icon-button,.product-editor-page .nutrition-editor{background:#ffffff38}}@media(max-width:360px){.product-editor-page .nutrition-inputs{gap:5px}.product-editor-page .nutrition-inputs .glass-number-input--compact>input{padding:7px 27px 7px 5px;font-size:.84rem}.product-editor-page .nutrition-inputs .glass-number-input__clear{width:28px}}.recipe-editor-sheet .section-heading .field-help{flex:0 0 auto}.recipe-editor-sheet .ingredient-item,.recipe-editor-sheet .step-item{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.recipe-editor-sheet .recipe-inline-icon-action:disabled{opacity:.3}.recipe-editor-sheet .ingredient-measure-row>*{width:100%;min-width:0}.recipe-editor-sheet .ingredient-note,.recipe-editor-sheet .ingredient-custom-unit,.recipe-editor-sheet .ingredient-product-link,.recipe-editor-sheet .ingredient-item .item-error{width:100%;grid-column:auto}.recipe-editor-sheet .ingredient-product-link{display:flex;min-height:0;align-items:center;gap:6px}.recipe-editor-sheet .ingredient-product-link button,.recipe-editor-sheet .linked-product-badge{min-height:36px;padding-block:6px}.recipe-editor-sheet .add-row-button{justify-self:center;width:auto}.recipe-editor-sheet .step-number{display:inline;width:auto;min-width:0;height:auto;min-height:0;grid-column:1;grid-row:1;justify-self:start;align-self:center;padding:0;border:0;border-radius:0;color:#172019;background:transparent;box-shadow:none;font-family:var(--font-data);font-size:1rem;font-weight:700;font-variant-numeric:tabular-nums}.recipe-editor-sheet .step-drag-handle{grid-column:2;cursor:grab;touch-action:none}.recipe-editor-sheet .step-drag-handle:active{cursor:grabbing}.recipe-editor-sheet .step-delete-action{grid-column:3}@media(max-width:520px){.recipe-editor-sheet .ingredient-item,.recipe-editor-sheet .step-item{grid-template-columns:minmax(0,1fr)}.recipe-editor-sheet .step-item{grid-template-columns:minmax(0,1fr) 44px 44px}.recipe-editor-sheet .ingredient-name-row,.recipe-editor-sheet .ingredient-measure-row,.recipe-editor-sheet .ingredient-note,.recipe-editor-sheet .ingredient-custom-unit,.recipe-editor-sheet .ingredient-product-link,.recipe-editor-sheet .ingredient-item .item-error,.recipe-editor-sheet .step-duration-field,.recipe-editor-sheet .step-item .item-error{grid-column:1 / -1}}.overlay-panel.recipe-detail-sheet{--color-text: #172019;--color-muted: #69736d;--color-border: #dce3dd;width:min(100%,560px);max-height:calc(100dvh - max(8px,env(safe-area-inset-top)));border-radius:18px 18px 0 0;color:var(--color-text);background:var(--glass-sheet-dense-surface)}.recipe-detail-sheet>.overlay-header{min-height:48px;align-items:center;justify-content:flex-end;padding:4px 8px 0;background:var(--glass-sheet-dense-surface)}.recipe-detail-sheet>.overlay-header .overlay-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.recipe-detail-sheet-content{display:grid;grid-template-columns:minmax(0,1fr);width:100%;max-width:100%;min-width:0;padding:4px 18px max(22px,env(safe-area-inset-bottom))}.recipe-detail-sheet .detail-hero{position:relative;width:100%;height:auto;min-height:0;aspect-ratio:4 / 3;overflow:hidden;border-radius:18px;background:#e7ece7}.recipe-detail-sheet .detail-image{position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:cover}.recipe-detail-sheet .detail-category{position:absolute;z-index:1;top:10px;left:10px;max-width:calc(100% - 120px);margin:0;padding:5px 8px;overflow:hidden;color:#fff;border:1px solid rgb(255 255 255 / 38%);border-radius:9px;background:#1f14106b;font-size:.68rem;font-weight:650;letter-spacing:0;line-height:1.15;text-overflow:ellipsis;text-transform:none;white-space:nowrap}.recipe-detail-sheet .detail-hero-actions{top:8px;right:8px;gap:4px}.recipe-detail-sheet .detail-hero-actions .detail-action-button{position:static;width:44px;height:44px;padding:0;border:0;color:#172019;background:#ffffffeb;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.recipe-detail-sheet .detail-hero-actions .detail-action-delete{color:var(--color-danger)}.recipe-detail-sheet .detail-content{display:grid;grid-template-columns:minmax(0,1fr);width:100%;max-width:100%;min-width:0;gap:0;margin:0;padding:18px 0 0;border:0;border-radius:0;background:transparent}.recipe-detail-sheet .detail-content>h1{max-width:none;margin:0 0 10px;color:var(--color-text);font-size:clamp(1.8rem,7vw,2.65rem);font-weight:760;letter-spacing:-.035em;line-height:1.04}.recipe-detail-sheet .detail-description{margin-bottom:18px;color:var(--color-muted)}.recipe-detail-sheet .detail-primary-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:18px 0 0}.recipe-detail-sheet .detail-primary-actions .form-primary-action{width:100%;min-height:52px;color:var(--color-text)}.recipe-detail-sheet .detail-primary-actions .form-primary-action:hover:not(:disabled){color:var(--color-text)}.recipe-detail-sheet .detail-primary-actions .form-primary-action:focus-visible{outline-color:var(--color-coral, #d95e3e)}.recipe-detail-sheet .detail-meta{margin-top:14px;color:var(--color-muted)}.recipe-detail-sheet .detail-primary-actions+.form-error+.detail-meta,.recipe-detail-sheet .detail-primary-actions+.detail-meta{margin-top:24px}.recipe-detail-sheet .nutrition-panel,.recipe-detail-sheet .notes-panel,.recipe-detail-sheet .source-panel{background:#f8faf8}.recipe-detail-sheet .step-list{gap:16px}.recipe-detail-sheet .step-list li{grid-template-columns:28px minmax(0,1fr);gap:8px}.recipe-detail-sheet .step-list>li>span{display:block;width:auto;height:auto;padding-top:3px;color:var(--color-text);border-radius:0;background:transparent;font-family:var(--font-data);font-size:1rem;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.4}.recipe-detail-sheet .step-list p{margin-top:2px}@media(min-width:641px){.overlay-panel.recipe-detail-sheet{border-radius:20px}}.photo-editor{margin-bottom:0}.photo-drop,.photo-preview{min-height:210px;border-color:#bfcabf;border-radius:16px;background:#f8faf8}.photo-preview img,.photo-preview .recipe-image-placeholder{min-height:210px;object-fit:cover}.photo-preview-from-analysis span{position:absolute;right:10px;bottom:10px;padding:6px 9px;border-radius:8px;color:#fff;background:#111713c7;font-size:.72rem;font-weight:720}.dynamic-list{gap:12px}.dynamic-item{gap:8px;padding:13px;border:1px solid var(--color-border);border-radius:14px;background:#fbfcfb}.dynamic-item input,.dynamic-item textarea,.dynamic-item select{min-width:0;min-height:48px;border-color:#cfd9d0;border-radius:11px;background:#fff}.ingredient-item{grid-template-columns:22px minmax(0,1fr) minmax(82px,.32fr) minmax(92px,.34fr)}.ingredient-note,.ingredient-custom-unit,.ingredient-product-link,.reorder-actions,.item-error{grid-column:2 / -1}.ingredient-product-link button,.linked-product-badge,.add-row-button{min-height:44px}.step-item{grid-template-columns:40px minmax(0,1fr) minmax(96px,.28fr)}.product-basis-fieldset{border-color:var(--color-border);border-radius:14px;background:var(--color-surface)}.product-basis-fieldset label{min-height:48px;border-radius:11px}.product-basis-fieldset label:has(input:checked){border-color:var(--color-primary);background:var(--color-sage-soft)}.product-category-fieldset{display:grid;gap:8px;padding:0;margin:0;border:0}.product-category-fieldset legend{padding:0;color:var(--color-text);font-size:.82rem;font-weight:700;line-height:1.25}.product-category-fieldset>p{margin:0;color:var(--color-muted);font-size:.74rem;line-height:1.45}.product-category-options{display:flex;flex-wrap:wrap;gap:8px}.product-category-options label{position:relative;display:inline-flex;min-height:44px;align-items:center;cursor:pointer}.product-category-options input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.product-category-options span,.product-category-list li{display:inline-flex;min-height:30px;align-items:center;padding:5px 10px;color:var(--color-muted);border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface);font-size:.72rem;font-weight:650;line-height:1.25}.product-category-options input:checked+span{color:var(--color-primary);border-color:#afd3b2;background:var(--color-sage-soft)}.product-category-options input:focus-visible+span{outline:3px solid rgb(217 94 62 / 18%);outline-offset:2px}.product-category-list{display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:10px 0 0;list-style:none}.product-category-list li{min-height:28px;padding:4px 9px;color:var(--color-primary);border-color:transparent;background:var(--color-sage-soft)}.scanner-product-brand{color:var(--color-muted);font-size:.82rem;font-weight:650}.barcode-input-row{display:grid;grid-template-columns:minmax(0,1fr) 44px 44px;align-items:center;gap:8px}.scanner-sheet .scanner-preview{margin:0;border:1px solid #dbe2dc;border-radius:16px}.scanner-manual-form{display:grid;gap:7px;margin-top:16px}.scanner-manual-form>label{color:var(--color-text);font-size:.82rem;font-weight:700}.scanner-manual-form>div{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:52px;padding:4px 4px 4px 14px;border:1px solid var(--color-border);border-radius:14px;background:var(--color-surface)}.scanner-manual-form>div:focus-within{border-color:var(--color-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--color-primary) 15%,transparent)}.scanner-manual-form svg{width:20px;height:20px;color:var(--color-muted)}.scanner-manual-form input{min-width:0;min-height:44px;padding:0;border:0;outline:0;background:transparent;font:inherit}.scanner-manual-form .button{min-height:44px;padding-inline:16px}.scanner-product-result,.scanner-not-found{display:grid;gap:9px;padding:16px;border:1px solid var(--color-border);border-radius:16px;background:var(--color-surface)}.scanner-lookup-state:not(:empty){margin-top:16px}.scanner-result-label{width:fit-content;padding:5px 9px;border-radius:999px;color:var(--color-primary);background:var(--color-sage-soft);font-size:.72rem;font-weight:750}.scanner-product-result h3,.scanner-not-found h3{margin:0;font-size:1.08rem;line-height:1.25;overflow-wrap:anywhere}.scanner-product-result p,.scanner-not-found p,.scanner-product-result small,.scanner-supported-codes{margin:0;color:var(--color-muted);font-size:.78rem;line-height:1.45}.scanner-product-result dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:2px 0}.scanner-product-result dl>div{min-width:0;padding:9px;border-radius:10px;background:var(--color-background)}.scanner-product-result dt{color:var(--color-muted);font-size:.66rem}.scanner-product-result dd{margin:3px 0 0;color:var(--color-text);font-size:.9rem;font-weight:750}.scanner-product-result .scanner-readonly-note{padding-top:9px;border-top:1px solid var(--color-border)}.scanner-not-found{justify-items:start}.scanner-not-found>span{font-size:1.6rem}.scanner-not-found .button,.scanner-reset-button{width:100%}.scanner-reset-button{margin-top:12px}.scanner-supported-codes{text-align:center}@media(max-width:430px){.scanner-sheet .scanner-preview{aspect-ratio:16 / 10}.scanner-manual-form>div{grid-template-columns:20px minmax(0,1fr)}.scanner-manual-form .button{grid-column:1 / -1;width:100%}.scanner-product-result dl{grid-template-columns:repeat(2,minmax(0,1fr))}}.product-editor-actions{position:static;display:grid;align-items:stretch;gap:10px;margin-top:24px;padding:0 0 max(8px,env(safe-area-inset-bottom));border:0;border-radius:0;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.product-editor-actions-create{grid-template-columns:minmax(0,1fr)}.product-editor-actions-editing{grid-template-columns:minmax(0,.42fr) minmax(0,1fr)}.product-editor-actions .button:not(.form-primary-action){width:100%;min-width:0;min-height:48px;padding-inline:12px}.product-editor-actions .button svg{width:19px;min-width:19px;height:19px}.editor-page .sticky-save{position:static;z-index:auto;width:100%;margin-top:4px}.reels-import-page{display:grid;width:min(100%,720px);min-height:100dvh;align-content:center;gap:22px}.reels-import-header{position:relative;min-height:58px;padding-inline-end:68px;text-align:left}.reels-import-close{position:absolute;top:0;right:0;display:grid;width:48px;height:48px;padding:0;place-items:center;border:1px solid var(--color-border);border-radius:50%;color:var(--color-text);background:var(--color-surface);cursor:pointer;transition:color .18s ease,background-color .18s ease,border-color .18s ease}.reels-import-close:hover{border-color:var(--color-primary);color:var(--color-primary-deep);background:var(--color-sage-soft)}.reels-import-close:focus-visible{outline:3px solid color-mix(in srgb,var(--color-primary) 34%,transparent);outline-offset:3px}.reels-import-close svg{width:22px;height:22px}.reels-import-icon{display:grid;width:58px;height:58px;margin:0 0 18px;place-items:center;border-radius:16px;color:#fff;background:var(--color-primary);box-shadow:none}.reels-import-header>span:last-child{color:var(--color-primary-deep)}.reels-import-header h1{margin-bottom:8px;font-size:clamp(2rem,7vw,3.2rem)}.reels-import-header p{color:var(--color-muted)}.reels-import-form,.reels-processing{padding:clamp(18px,4vw,26px);border:1px solid var(--color-border);border-radius:18px;background:var(--color-surface);box-shadow:none}.reels-quota-card{display:flex;min-height:76px;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;border:1px solid #bcd8bd;border-radius:16px;background:var(--color-sage-soft)}.reels-quota-card>div{display:grid;gap:3px}.reels-quota-card strong{font-size:1rem}.reels-quota-card span{color:var(--color-muted);font-size:.8rem}.reels-quota-card.is-exhausted{border-color:#e8cda3;background:#fff8e9}.reels-quota-card .button{min-height:42px;flex:0 0 auto}.reels-import-note,.reels-processing-visual{border-radius:14px;background:var(--color-sage-soft)}.reels-import-submit{width:100%;background:var(--color-primary)}.journal-page{--journal-green: var(--color-primary);--journal-green-strong: var(--color-primary-deep);--journal-green-soft: var(--color-sage-soft);--journal-bg: var(--color-background);--journal-surface: var(--color-surface);--journal-surface-muted: var(--color-surface-muted);--journal-text: var(--color-text);--journal-muted: var(--color-muted);--journal-border: var(--color-border)}.journal-date-strip,.journal-energy-card,.journal-macro-card,.journal-metric-card,.journal-meal-list,.journal-empty-meals,.journal-weight-card{box-shadow:none}.journal-week-days button.is-selected{color:var(--color-primary-deep);background:var(--color-sage-soft)}@media(max-width:760px){.profile-form-grid,.profile-target-grid,.profile-baseline-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-calorie-card{grid-template-columns:auto minmax(0,1fr)}.profile-calorie-card>:last-child{grid-column:1 / -1}.detail-content{width:calc(100% - 16px);padding:22px 16px 28px}}@media(max-width:560px){.profile-page-header p,.profile-eyebrow{display:none}.profile-goal-card{grid-template-columns:auto minmax(0,1fr)}.profile-goal-card .profile-status{grid-column:2;justify-self:start}.profile-form-grid,.profile-macro-grid,.profile-actions{grid-template-columns:minmax(0,1fr)}.profile-target-mode{align-items:stretch;flex-direction:column}.profile-target-reset{width:100%;justify-content:center}.profile-actions>:only-child{grid-column:auto}.profile-account-panel{align-items:stretch;flex-direction:column}.profile-admin-panel{grid-template-columns:auto minmax(0,1fr)}.profile-admin-button{grid-column:1 / -1;width:100%}.profile-nickname-controls{grid-template-columns:minmax(0,1fr)}.profile-nickname-save{width:100%}.profile-subscription-quotas{grid-template-columns:minmax(0,1fr)}.profile-subscription-card.is-error,.reels-quota-card{grid-template-columns:minmax(0,1fr);align-items:stretch}.profile-subscription-card.is-error,.reels-quota-card{display:grid}.reels-quota-card .button,.profile-logout-button{width:100%}.profile-section-heading{align-items:flex-start;flex-direction:column;gap:4px}.profile-method-link{margin-left:-4px}.profile-dialog-content{gap:20px;padding:18px 18px calc(26px + env(safe-area-inset-bottom))}.nutrition-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-header{grid-template-columns:70px minmax(0,1fr) 70px}.editor-header .text-button{overflow:hidden;padding-inline:0;text-overflow:ellipsis}.ingredient-item{grid-template-columns:22px minmax(0,1fr) minmax(76px,.4fr)}.ingredient-name{grid-column:2 / -1}.ingredient-amount{grid-column:2}.ingredient-unit{grid-column:3}.ingredient-note,.ingredient-custom-unit,.ingredient-product-link,.reorder-actions,.item-error{grid-column:2 / -1}.step-item{grid-template-columns:38px minmax(0,1fr)}.step-duration-field,.step-item .reorder-actions,.step-item .item-error{grid-column:2}.product-editor-actions-create{grid-template-columns:minmax(0,1fr)}.product-editor-actions-editing{grid-template-columns:minmax(0,.42fr) minmax(0,1fr)}}@media(min-width:1024px){.detail-page{padding-left:var(--sidebar-width)}.detail-hero{height:min(54vh,560px)}}.detail-label-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.detail-label-row .detail-category{margin:0}.detail-origin{margin:4px 0 0;color:var(--text-secondary);font-size:.9rem}.publication-notice{display:flex;align-items:flex-start;gap:10px;margin:18px 0 0;padding:14px 16px;border:1px solid #d9e4d8;border-radius:14px;background:#f6faf5;color:#254a2b}.publication-notice svg{flex:0 0 auto;width:20px;height:20px}.publication-notice p{margin:4px 0 0;color:var(--text-secondary);font-size:.86rem;line-height:1.45}.publication-notice-rejected{border-color:#efc9c4;background:#fff7f5;color:#8f2f27}.publication-notice-published{border-color:#cfe0d1;background:#f0f7ef;color:#246b31}.detail-primary-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 0}.detail-primary-actions .button{min-height:48px}.detail-primary-actions svg,.publication-editor-option svg{width:18px;height:18px}.publication-editor-option{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:12px;margin:20px 0;padding:16px;border:1px solid #d9e4d8;border-radius:14px;background:#f7faf6;cursor:pointer}.publication-editor-option>input{width:22px;height:22px;margin:1px 0 0;accent-color:var(--brand-green, #2f8f3a)}.publication-editor-option strong{display:flex;align-items:center;gap:8px;color:var(--text-primary);font-size:.95rem}.publication-editor-option small{display:block;margin-top:5px;color:var(--text-secondary);font-size:.82rem;line-height:1.45}.recipe-readonly-state{min-height:min(72vh,680px)}.profile-community-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:20px;border:1px solid var(--line-soft);border-radius:16px;background:var(--surface)}.profile-community-panel h2,.profile-community-panel p{margin:0}.profile-community-panel h2{color:var(--text-primary);font-size:1rem}.profile-community-panel p{margin-top:4px;color:var(--text-secondary);font-size:.86rem;line-height:1.45}.profile-community-panel .form-error{grid-column:1 / -1}.profile-preference-status{color:var(--text-secondary);font-size:.84rem}.profile-preference-switch{position:relative;display:inline-flex;align-items:center;width:52px;min-width:52px;height:32px;cursor:pointer}.profile-preference-switch input{position:absolute;width:1px;height:1px;opacity:0}.profile-preference-switch>span:last-child{width:52px;height:32px;border:1px solid #ccd5cc;border-radius:999px;background:#dfe4df;transition:background-color .18s ease,border-color .18s ease}.profile-preference-switch>span:last-child:after{display:block;width:26px;height:26px;margin:2px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #1428182e;content:"";transition:transform .18s ease}.profile-preference-switch input:checked+span{border-color:#2f8f3a;background:#2f8f3a}.profile-preference-switch input:checked+span:after{transform:translate(20px)}.profile-preference-switch input:focus-visible+span{outline:3px solid rgb(47 143 58 / 22%);outline-offset:2px}@media(max-width:560px){.detail-primary-actions,.detail-primary-actions .button{width:100%}.profile-community-panel{padding:16px}}@media(prefers-reduced-motion:reduce){.profile-preference-switch>span:last-child,.profile-preference-switch>span:last-child:after{transition:none}}.overlay-panel.recipe-editor-sheet{--color-text: #172019;--color-muted: #69736d;--color-border: #dce3dd;width:min(100%,520px);max-height:calc(100dvh - max(8px,env(safe-area-inset-top)));border-radius:18px 18px 0 0;color:#172019;background:var(--glass-sheet-dense-surface)}.recipe-editor-sheet>.overlay-header{min-height:48px;align-items:center;justify-content:flex-end;padding:4px 8px 0;background:var(--glass-sheet-dense-surface)}.recipe-editor-sheet>.overlay-header .overlay-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.recipe-editor-sheet .recipe-editor-form{display:grid;gap:14px;padding:4px 18px max(18px,env(safe-area-inset-bottom))}.recipe-editor-sheet .field{display:grid;gap:7px;margin:0}.recipe-editor-sheet .field>span,.recipe-editor-sheet .section-heading h2{margin:0;color:#172019;font-size:.8rem;font-weight:690;line-height:1.3}.recipe-editor-sheet .field>small:not(.field-error),.recipe-editor-sheet .field-hint,.recipe-editor-sheet .product-calculation-hint{color:#69736d}.recipe-editor-sheet .glass-number-input,.recipe-editor-sheet .glass-text-input,.recipe-editor-sheet .glass-textarea,.recipe-editor-sheet .glass-select,.recipe-editor-sheet .dynamic-item input,.recipe-editor-sheet .dynamic-item textarea,.recipe-editor-sheet .dynamic-item select{color:#172019;border-color:#dce3dd;background:#fff;box-shadow:0 8px 24px #4e2d2214;-webkit-backdrop-filter:none;backdrop-filter:none}.recipe-editor-sheet .glass-number-input>input,.recipe-editor-sheet .glass-text-input>input,.recipe-editor-sheet .glass-textarea>textarea,.recipe-editor-sheet .glass-select>select,.recipe-editor-sheet .dynamic-item input,.recipe-editor-sheet .dynamic-item textarea,.recipe-editor-sheet .dynamic-item select{color:#172019}.recipe-editor-sheet .glass-number-input>input::placeholder,.recipe-editor-sheet .glass-text-input>input::placeholder,.recipe-editor-sheet .glass-textarea>textarea::placeholder,.recipe-editor-sheet .dynamic-item input::placeholder,.recipe-editor-sheet .dynamic-item textarea::placeholder{color:#8b918d}.recipe-editor-sheet .glass-number-input__clear,.recipe-editor-sheet .glass-text-input__clear,.recipe-editor-sheet .glass-textarea__clear,.recipe-editor-sheet .glass-number-input__unit,.recipe-editor-sheet .glass-select>svg{color:#69736d}.recipe-editor-sheet .glass-select>select option,.recipe-editor-sheet .dynamic-item select option{color:#172019;background:#fff}.recipe-editor-sheet .photo-editor{margin:0}.recipe-editor-sheet .photo-drop,.recipe-editor-sheet .photo-preview{min-height:178px;border-color:#d1dad2;border-radius:14px;color:#172019;background:#fff}.recipe-editor-sheet .photo-preview img,.recipe-editor-sheet .photo-preview .recipe-image-placeholder{min-height:178px}.recipe-editor-sheet .form-grid.two{gap:10px}.recipe-editor-sheet .form-section{display:grid;gap:9px;margin:2px 0;padding:0;border:0;background:transparent;box-shadow:none}.recipe-editor-sheet .section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;color:#172019}.recipe-editor-sheet .section-heading>span{color:#69736d;font-family:var(--font-data);font-size:.76rem;font-variant-numeric:tabular-nums}.recipe-editor-sheet .nutrition-inputs{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.recipe-editor-sheet .nutrition-inputs .field{min-width:0;gap:5px}.recipe-editor-sheet .nutrition-inputs .field>span{overflow:hidden;font-size:.7rem;text-overflow:ellipsis;white-space:nowrap}.recipe-editor-sheet .nutrition-inputs input{min-width:0;font-family:var(--font-data);font-size:.9rem;font-variant-numeric:tabular-nums;text-align:center}.recipe-editor-sheet .nutrition-inputs .glass-number-input--compact>input{padding:8px 31px 8px 7px}.recipe-editor-sheet .nutrition-inputs .glass-number-input__clear{width:32px;height:40px}.recipe-editor-sheet .dynamic-list{gap:10px}.recipe-editor-sheet .dynamic-item{gap:8px;padding:12px;border:1px solid #e2e7e2;border-radius:14px;background:#fbfcfb}.recipe-editor-sheet .dynamic-item input,.recipe-editor-sheet .dynamic-item textarea,.recipe-editor-sheet .dynamic-item select{min-height:46px;border-radius:11px}.recipe-editor-sheet .dynamic-item input[type=number]{appearance:textfield;-moz-appearance:textfield}.recipe-editor-sheet .dynamic-item input[type=number]::-webkit-inner-spin-button,.recipe-editor-sheet .dynamic-item input[type=number]::-webkit-outer-spin-button{margin:0;appearance:none;-webkit-appearance:none}.recipe-editor-sheet .ingredient-product-link button,.recipe-editor-sheet .linked-product-badge{min-height:40px;color:#34443a;border-color:#dce3dd;background:#f2f5f2}.recipe-editor-sheet .reorder-actions button,.recipe-editor-sheet .add-row-button{color:#34443a;border:0;background:transparent;box-shadow:none}.recipe-editor-sheet .reorder-actions button:hover:not(:disabled),.recipe-editor-sheet .add-row-button:hover:not(:disabled){color:#172019;background:transparent}.recipe-editor-sheet .publication-editor-option{margin:2px 0;color:#172019;border-color:#dce3dd;background:#f8faf8}.recipe-editor-sheet .publication-editor-option strong{color:#172019}.recipe-editor-sheet .publication-editor-option small{color:#69736d}.recipe-editor-sheet .form-primary-action{width:100%;margin-top:4px;color:#172019}.recipe-editor-sheet .form-primary-action:hover:not(:disabled){color:#172019}@media(max-width:520px){.recipe-editor-sheet .ingredient-item{grid-template-columns:20px minmax(0,1fr) minmax(76px,.42fr)}.recipe-editor-sheet .ingredient-item>.glass-select{grid-column:2 / -1}.recipe-editor-sheet .ingredient-note,.recipe-editor-sheet .ingredient-custom-unit,.recipe-editor-sheet .ingredient-product-link,.recipe-editor-sheet .reorder-actions,.recipe-editor-sheet .item-error{grid-column:2 / -1}.recipe-editor-sheet .step-item{grid-template-columns:34px minmax(0,1fr)}.recipe-editor-sheet .step-duration-field,.recipe-editor-sheet .step-item .reorder-actions,.recipe-editor-sheet .step-item .item-error{grid-column:2 / -1}}@media(max-width:360px){.recipe-editor-sheet .recipe-editor-form{padding-inline:14px}.recipe-editor-sheet .nutrition-inputs{gap:5px}.recipe-editor-sheet .nutrition-inputs .glass-number-input--compact>input{padding:7px 27px 7px 5px;font-size:.82rem}.recipe-editor-sheet .nutrition-inputs .glass-number-input__clear{width:28px}}.recipe-editor-sheet .required-mark{color:var(--color-coral, #d95e3e)}.recipe-editor-sheet .section-heading h2{display:inline-flex;align-items:baseline;gap:.28em}.recipe-editor-sheet .section-heading .section-count{color:#69736d;font-family:var(--font-data);font-size:.84em;font-weight:620;font-variant-numeric:tabular-nums}.recipe-editor-sheet .photo-drop,.recipe-editor-sheet .photo-preview{width:100%;height:178px;min-height:178px;max-height:178px;overflow:hidden}.recipe-editor-sheet .photo-preview img,.recipe-editor-sheet .photo-preview .recipe-image-placeholder{width:100%;height:100%;min-height:0;object-fit:cover}.recipe-editor-sheet .ingredient-item{grid-template-columns:minmax(0,1fr)}.recipe-editor-sheet .ingredient-name-row{display:grid;grid-template-columns:minmax(0,1fr) repeat(3,44px);gap:6px;min-width:0}.recipe-editor-sheet .ingredient-name-row .ingredient-name{width:100%;grid-column:auto}.recipe-editor-sheet .ingredient-measure-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(104px,.55fr);gap:8px;min-width:0}.recipe-editor-sheet .ingredient-measure-row>*,.recipe-editor-sheet .ingredient-note,.recipe-editor-sheet .ingredient-custom-unit,.recipe-editor-sheet .ingredient-product-link,.recipe-editor-sheet .ingredient-item .item-error{width:100%;min-width:0;grid-column:auto}.recipe-editor-sheet .ingredient-product-link:empty{display:none}.recipe-editor-sheet .recipe-inline-icon-action,.recipe-editor-sheet .step-drag-handle{display:inline-grid;width:44px;min-width:44px;height:44px;min-height:44px;place-items:center;align-self:center;padding:0;border:0;border-radius:12px;color:#34443a;background:transparent;box-shadow:none}.recipe-editor-sheet .recipe-inline-icon-action svg,.recipe-editor-sheet .step-drag-handle svg{width:20px;height:20px}.recipe-editor-sheet .recipe-inline-icon-action:hover:not(:disabled),.recipe-editor-sheet .step-drag-handle:hover:not(:disabled){color:#172019;background:#ffffffad}.recipe-editor-sheet .recipe-inline-icon-action:focus-visible,.recipe-editor-sheet .step-drag-handle:focus-visible{outline:2px solid var(--color-coral, #d95e3e);outline-offset:1px}.recipe-editor-sheet .add-row-button{width:auto;justify-self:center}.recipe-editor-sheet .step-item{grid-template-columns:minmax(0,1fr) 44px 44px}.recipe-editor-sheet .step-number{align-self:center;color:#172019;font-family:var(--font-data);font-size:1rem;font-weight:700;font-variant-numeric:tabular-nums}.recipe-editor-sheet .step-drag-handle{grid-column:2;grid-row:1;cursor:grab}.recipe-editor-sheet .step-delete-action{grid-column:3;grid-row:1}.recipe-editor-sheet .step-item>textarea{grid-row:2}.recipe-editor-sheet .step-duration-field{grid-row:3}.recipe-editor-sheet .step-item>textarea,.recipe-editor-sheet .step-duration-field,.recipe-editor-sheet .step-item .item-error{grid-column:1 / -1}.recipe-editor-sheet .step-item.is-dragging{opacity:.58}@media(max-width:520px){.recipe-editor-sheet .ingredient-item{grid-template-columns:minmax(0,1fr)}.recipe-editor-sheet .ingredient-name-row,.recipe-editor-sheet .ingredient-measure-row,.recipe-editor-sheet .ingredient-note,.recipe-editor-sheet .ingredient-custom-unit,.recipe-editor-sheet .ingredient-product-link,.recipe-editor-sheet .ingredient-item .item-error{grid-column:1 / -1}.recipe-editor-sheet .step-item{grid-template-columns:minmax(0,1fr) 44px 44px}.recipe-editor-sheet .step-duration-field,.recipe-editor-sheet .step-item .item-error{grid-column:1 / -1}}@media(max-width:360px){.recipe-editor-sheet .ingredient-name-row{grid-template-columns:minmax(0,1fr) repeat(3,42px);gap:4px}.recipe-editor-sheet .ingredient-name-row .recipe-inline-icon-action{width:42px;min-width:42px}.recipe-editor-sheet .ingredient-measure-row{grid-template-columns:minmax(0,1fr) minmax(96px,.54fr)}}
