@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/nunito-cyrillic-400-normal-xAOo5cBP.woff2)format("woff2"),url(/assets/nunito-cyrillic-400-normal-D1j0u8EH.woff)format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/nunito-cyrillic-600-normal-DJGQ2h05.woff2)format("woff2"),url(/assets/nunito-cyrillic-600-normal-BUjmtIuu.woff)format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/nunito-cyrillic-700-normal-DP36NgGt.woff2)format("woff2"),url(/assets/nunito-cyrillic-700-normal-DfHRUDv-.woff)format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/nunito-cyrillic-800-normal-D3igD7Kl.woff2)format("woff2"),url(/assets/nunito-cyrillic-800-normal-DymMgApb.woff)format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/nunito-latin-400-normal-r8SDr6Up.woff2)format("woff2"),url(/assets/nunito-latin-400-normal-DKg4f3fz.woff)format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/nunito-latin-600-normal-Br8yIETf.woff2)format("woff2"),url(/assets/nunito-latin-600-normal-Cd0eNu1l.woff)format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/nunito-latin-700-normal-Dort48En.woff2)format("woff2"),url(/assets/nunito-latin-700-normal-OcDqTBcA.woff)format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/nunito-latin-800-normal-Dz8SOQK_.woff2)format("woff2"),url(/assets/nunito-latin-800-normal-D-J0wlBY.woff)format("woff")}:root{color:#202125;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--bg:#fff;--paper:#f8f8fc;--ink:#202125;--muted:#656474;--line:#ebe9f3;--lav:#efecfe;--sun:#feecba;--accent:#d6d0fd;--deep:#62518e;--danger:#a43c50;--shadow:0 3px 11px #2e214717;--font-scale:1;background:#efecfe;font-family:Nunito,sans-serif}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#22212a;--paper:#2b2935;--ink:#f4f1fa;--muted:#bcb6cc;--line:#403b4e;--lav:#3a334f;--sun:#51452d;--deep:#c6b8f4;--danger:#f2a6b2;color:var(--ink);background:#17151d}:root[data-large=true]{--font-scale:1.12;font-size:18px}*{box-sizing:border-box}body{font-size:calc(14px * var(--font-scale));margin:0;line-height:1.4}button,input,textarea,select{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;background:0 0;border:0}button:disabled{opacity:.45;cursor:default}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--deep);outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:26px;font-weight:700;line-height:1.25}h2{font-size:19px;font-weight:800;line-height:1.4}h3{font-size:16px;font-weight:700}p{line-height:1.5}small{font-size:12px}strong{font-weight:800}svg{flex-shrink:0}input,select,textarea{min-width:0}input[type=checkbox]{accent-color:var(--accent);cursor:pointer;flex-shrink:0;width:20px;height:20px}img{max-width:100%;display:block}.app-shell{background:var(--bg);width:100%;max-width:430px;min-height:100dvh;padding:calc(env(safe-area-inset-top) + 16px) 20px calc(env(safe-area-inset-bottom) + 100px);isolation:isolate;margin:0 auto;position:relative;overflow:clip}.app-shell.with-nav{padding-bottom:125px}.paper-page{background:var(--paper)}.app-shell main{z-index:1;position:relative}.decoration{pointer-events:none;z-index:0;width:170.17px;max-width:none;height:72.38px;position:absolute;top:0;right:0}.mode-badge{z-index:1;text-align:center;color:var(--muted);background:var(--lav);border-radius:10px;margin:0 0 4px;padding:2px 8px;font-size:10px;position:relative}.page-header{align-items:center;gap:12px;min-height:48px;margin:0 0 22px;display:flex}.page-header h1{flex:1;min-width:0;font-size:23px;line-height:30px}.page-header>button:last-child:not(.icon-button){font-size:11px}.icon-button{background:var(--paper);border:0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;min-width:40px;height:40px;padding:8px;display:inline-flex}.page-header .icon-button{background:0 0}.button{text-align:center;border:1px solid var(--line);background:var(--accent);color:#202125;border-radius:20px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:48px;margin:10px 0;padding:12px 18px;font-size:13px;font-weight:700;display:flex}.button.quiet{background:var(--paper);color:var(--ink)}.button.dark{color:#fff;background:#202125;border-color:#202125}.button.danger{background:var(--paper);color:var(--danger)}.button:active,.icon-button:active{filter:brightness(.96)}.card{background:var(--bg);border:1px solid var(--line);border-radius:20px;margin:12px 0;padding:16px}.paper-page .card{border-color:#0000}.card>p{margin-top:8px}.card h2{margin-bottom:6px}.card small{color:var(--muted)}.stack{flex-direction:column;gap:12px;display:flex}.stack>.card,.stack .button{margin:0}.section{margin-top:22px}.section-title{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.section-title>span{color:var(--muted);font-size:11px;font-weight:600}.section-title>button{color:var(--muted);font-size:12px}.section-title h2{margin:0}.row{text-align:left;background:0 0;align-items:center;gap:12px;width:100%;min-height:58px;padding:8px 0;display:flex}.row+.row{border-top:1px solid var(--line)}.row-copy{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.row-copy strong{font-size:15px;font-weight:700}.row-copy small{color:var(--muted);font-size:12px;font-weight:400}.row>svg{color:var(--muted)}.row-icon{background:var(--lav);width:40px;height:40px;color:var(--deep);border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.field{flex-direction:column;gap:7px;margin:17px 0;font-size:13px;font-weight:700;display:flex}.field input,.field select,.field textarea{background:var(--paper);border:1px solid var(--line);outline-offset:1px;border-radius:16px;width:100%;min-height:48px;padding:13px 15px;font-size:16px;font-weight:400}.field input[type=date],.field input[type=time]{min-height:49px}.field textarea{resize:vertical;min-height:100px}.field small{font-weight:400}.error{color:var(--danger)}.two-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.three-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.two-grid>.card,.three-grid>.card{margin:0}.two-grid .field{min-width:0}.segments{background:var(--lav);scrollbar-width:none;border-radius:22px;gap:2px;margin:14px 0;padding:4px;display:flex;overflow-x:auto}.segments button{white-space:nowrap;min-height:34px;color:var(--muted);border-radius:20px;flex:1;padding:8px;font-size:12px;font-weight:600}.segments .selected{background:var(--accent);color:#202125;font-weight:800}.paper-page .segments{background:var(--bg)}.chips{scrollbar-width:none;gap:8px;margin:16px 0 18px;display:flex;overflow-x:auto}.chips button{white-space:nowrap;border:1px solid var(--line);background:var(--paper);border-radius:24px;min-height:36px;padding:8px 16px;font-size:12px}.chips button.selected{background:var(--accent);color:#202125}.search-box{border:1px solid var(--line);background:var(--paper);min-height:50px;color:var(--muted);border-radius:28px;align-items:center;gap:10px;margin:14px 0;padding:12px 16px;font-size:13px;display:flex}.search-box input{background:0 0;border:0;outline:none;width:100%;font-size:16px}.search-box input::placeholder{font-size:13px}.search-box button{padding:0;display:flex}.empty{text-align:center;color:var(--muted);padding:30px 14px}.empty h2{color:var(--ink);margin:12px 0 8px;font-size:19px}.empty-icon{background:var(--lav);width:58px;height:58px;color:var(--deep);border-radius:22px;justify-content:center;align-items:center;margin:auto;display:flex}.notice{background:var(--lav);border-radius:16px;margin:14px 0;padding:14px 16px;font-size:13px;line-height:1.5}.notice.is-error{color:#8e3445;background:#fbeef0}.muted{color:var(--muted)}.tiny{font-size:11px}.center{text-align:center}.center>svg{color:var(--deep);margin:10px auto}.bottom-action{width:100%;max-width:430px;padding:12px 20px calc(env(safe-area-inset-bottom) + 16px);background:linear-gradient(transparent, var(--bg) 20%);z-index:20;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.paper-page .bottom-action{background:linear-gradient(transparent, var(--paper) 20%)}.bottom-action .button{margin:4px 0 0}.bottom-nav{bottom:calc(env(safe-area-inset-bottom) + 18px);z-index:40;align-items:center;gap:9px;width:calc(100% - 26px);max-width:404px;display:flex;position:fixed;left:50%;transform:translate(-50%)}.bottom-nav:before{content:"";background:linear-gradient(transparent, var(--bg) 20%);z-index:-1;position:absolute;inset:-14px -13px -30px}.paper-page .bottom-nav:before{background:linear-gradient(transparent, var(--paper) 20%)}.nav-tabs{background:var(--paper);border-radius:30px;flex:1;min-width:0;height:53px;padding:5px;display:flex}.nav-tabs a{color:var(--muted);border-radius:24px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:3px;font-size:10px;display:flex}.nav-tabs a.selected{background:var(--accent);color:#202125}.nav-tabs img{width:18px;height:18px}.nav-plus{background:var(--accent);width:53px;height:53px;box-shadow:var(--shadow);color:#202125;border-radius:50%;justify-content:center;align-items:center;display:flex}.brand{background:var(--paper);border-radius:11px;align-items:center;gap:8px;min-height:37px;padding:4px 10px;font-size:15px;display:flex}.brand-mark{flex-shrink:0;width:20px;height:23px;display:inline-block;position:relative}.brand-mark i{background:var(--sun);border-radius:50%;width:13px;height:13px;position:absolute;top:1px;left:0}.brand-mark i+i{background:var(--accent);top:8px;left:7px}.profile-pill{border:1px solid var(--line);background:var(--paper);border-radius:18px;margin-left:auto;padding:6px 12px;font-size:12px}.day-page{padding:8px 13px 125px}.day-heading{justify-content:space-between;align-items:center;margin:3px 3px 12px;display:flex}.day-heading small{color:var(--muted);font-size:10px;font-weight:700}.day-heading h1{margin-top:6px;font-size:32px;font-weight:600}.stat-link{background:var(--accent);color:#202125;border-radius:21px;margin-top:21px;padding:9px 14px;font-size:12px;font-weight:800}.date-selector{grid-template-columns:1fr 1.2fr 1fr;gap:6px;margin-bottom:15px;display:grid}.date-selector button,.current-date{text-align:center;min-height:37px;color:var(--muted);white-space:nowrap;border-radius:13px;justify-content:center;align-items:center;padding:7px 3px;font-size:12px;display:flex;position:relative}.current-date{background:var(--lav);color:var(--ink);font-weight:800}.current-date:after{content:"";background:var(--accent);border-radius:2px;height:3px;position:absolute;bottom:0;left:36%;right:36%}.current-date input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.daily-rings{gap:8px;margin-bottom:15px;display:flex}.daily-ring{text-align:center;flex:1;min-width:0;height:95px;position:relative}.daily-ring svg{width:76px;height:72px;position:absolute;top:0;left:50%;transform:translate(-50%)}.daily-ring>b{white-space:nowrap;padding-top:22px;font-size:17px;display:block;position:relative}.daily-ring>img{background:var(--bg);width:17px;height:17px;margin:9px auto 4px;position:relative}.daily-ring>small{color:var(--muted);font-size:10px;font-weight:700;position:relative}.day-content>.section{margin-top:15px}.day-content>.section>.section-title{margin-bottom:10px}.nutrition-overview{gap:10px;display:flex}.calorie-card{background:var(--lav);text-align:center;border-radius:21px;flex:1.05;min-width:0;height:152px;position:relative;box-shadow:0 3px 10px #2621360d}.calorie-card svg{width:100%;height:105px;position:absolute;top:6px;left:0}.calorie-card strong{padding-top:51px;font-size:35px;line-height:45px;display:block;position:relative}.calorie-card>span{color:var(--muted);font-size:12px;font-weight:700;position:relative}.calorie-card footer{color:var(--muted);justify-content:space-between;padding:16px 13px 0;font-size:10px;font-weight:700;display:flex}.calorie-card footer small{font-size:10px}.macro-card{background:var(--sun);border-radius:21px;flex-direction:column;flex:1;justify-content:space-between;min-width:0;height:152px;padding:17px 12px;display:flex;box-shadow:0 3px 10px #2621360d}.macro-card>div>div{white-space:nowrap;justify-content:space-between;gap:5px;font-size:11px;display:flex}.macro-card b{font-size:12px}.macro-card span{color:var(--muted);font-weight:600}progress{appearance:none;background:var(--line);border:0;border-radius:10px;width:100%;height:5px;display:block;overflow:hidden}progress::-webkit-progress-bar{background:var(--line);border-radius:10px}progress::-webkit-progress-value{background:var(--accent);border-radius:10px}progress::-moz-progress-bar{background:var(--accent);border-radius:10px}.macro-card progress{background:var(--bg);margin-top:8px}.macro-card progress::-webkit-progress-bar{background:var(--bg)}.meal-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.meal-mini{background:var(--bg);border:1px solid var(--line);border-radius:18px;height:85px;padding:7px 9px;box-shadow:0 3px 7px #26213608}.meal-mini>div{justify-content:space-between;align-items:center;gap:3px;display:flex}.meal-mini>div>button:first-child{min-width:22px;min-height:24px;padding:0}.meal-mini img{width:20px;height:20px}.mini-plus{background:var(--accent);color:#202125;border-radius:50%;width:25px;min-width:25px;height:25px;padding:3px}.meal-mini>button{text-align:left;flex-direction:column;gap:4px;width:100%;padding:5px 0 0;display:flex}.meal-mini b{font-size:10px}.meal-mini small{color:var(--muted);white-space:nowrap;font-size:11px}.water-card{border-radius:22px;margin:10px 0 0;padding:10px 15px 12px}.water-card strong{font-size:25px}.water-card .section-title{margin:0 0 16px}.water-card .section-title small{margin-left:4px;font-weight:800}.water-glasses{justify-content:space-between;gap:10px;display:flex}.water-glasses button{background:var(--paper);width:44px;height:44px;color:var(--muted);border-radius:50%;justify-content:center;align-items:center;padding:6px;display:flex;position:relative}.water-glasses .filled{background:var(--lav);color:var(--deep)}.water-glasses button>svg+svg{background:var(--lav);position:absolute;bottom:6px;right:3px}.entry-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;padding:10px 0;display:flex}.entry-row:last-child{border:0}.entry-row>a,.entry-row>button:first-child{text-align:left;flex-direction:column;flex:1;gap:3px;padding:0;display:flex}.entry-row b{font-size:13px}.entry-row small{color:var(--muted);font-size:12px}.entry-row>select{background:var(--paper);border:1px solid var(--line);border-radius:10px;max-width:85%;padding:10px}.water-hero{background:var(--lav);text-align:center;padding:28px 20px}.water-hero>svg{color:var(--deep);margin:auto}.water-hero>strong{font-size:46px;display:block}.water-hero>h2{margin:4px 0}.water-hero p{color:var(--muted);font-size:13px}.water-hero progress{margin-top:20px}.quick-water .button{flex-direction:column;min-height:78px;padding:12px 6px;font-size:13px}.quick-water small{font-size:11px;font-weight:400}.weight-summary{background:var(--lav);padding:24px}.weight-summary>strong{font-size:38px;display:block}.weight-summary>strong small{font-size:18px}.chart{align-items:flex-end;gap:4px;width:100%;height:150px;padding:12px 0 0;display:flex}.chart-column{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:6px;min-width:0;height:100%;display:flex}.chart-column>small{white-space:nowrap;font-size:9px}.bar-space{border-bottom:1px solid var(--line);justify-content:center;align-items:flex-end;width:100%;height:105px;display:flex}.bar-space i{border-radius:7px 7px 0 0;width:70%;max-width:30px;min-height:0;display:block}.stats-summary{text-align:center;padding:4px 0}.stats-summary>div{flex-direction:column;align-items:center;gap:4px;display:flex}.stats-summary svg{color:var(--deep);width:23px;margin-bottom:3px}.stats-summary strong{white-space:nowrap;font-size:18px;font-weight:700}.stats-summary small{font-size:11px}.badge-card{text-align:center;opacity:.55;flex-direction:column;align-items:center;gap:12px;min-height:180px;display:flex}.badge-card svg{color:var(--muted)}.badge-card.earned{opacity:1;background:var(--sun)}.badge-card.earned svg{color:var(--deep)}.badge-card b{font-size:14px}.badge-card small,.badge-card span{font-size:11px}.achievement-hero{background:var(--lav);text-align:center;padding:25px}.achievement-hero svg{color:var(--deep);margin:0 auto 12px}.result{text-align:center;flex-direction:column;align-items:center;gap:18px;padding:40px 0 10px;display:flex}.result>.button,.result>.card{width:100%;margin:0}.result>h1{font-size:27px}.result>p{color:var(--muted)}.success-icon{background:var(--lav);width:100px;height:100px;color:var(--deep);border-radius:50%;justify-content:center;align-items:center;margin:12px 0 8px;display:flex}.food-add{min-height:100dvh;margin:-16px -20px -100px;position:relative}.sheet-background{pointer-events:none;height:100dvh;padding:8px 13px;overflow:hidden}.sheet-scrim{z-index:50;background:#20212555;position:fixed;inset:0}.bottom-sheet{z-index:51;background:var(--bg);border-radius:30px 30px 0 0;min-height:70dvh;margin-top:-70dvh;padding:10px 20px 25px;position:relative}.bottom-sheet .page-header{margin:5px 0}.sheet-handle{background:var(--line);border-radius:3px;width:38px;height:4px;margin:0 auto 8px}.bottom-sheet .field{margin:10px 0}.bottom-sheet .field span{font-size:11px}.bottom-sheet .field input{min-height:38px;padding:7px 12px;font-size:13px}.scan-actions a{background:var(--lav);text-align:center;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:95px;padding:15px 8px;font-size:12px;font-weight:700;display:flex}.scan-actions a:nth-child(2){background:var(--sun)}.food-row-action{text-align:center;grid-template-columns:1fr 20px;column-gap:12px;font-size:13px;display:grid}.food-row-action>small{grid-area:2/1;font-size:10px}.food-row-action svg{background:var(--lav);border-radius:50%;grid-area:1/2/3;align-self:center}.recognition-banner{background:var(--lav);border-radius:20px;gap:10px;margin-top:18px;padding:14px;display:flex}.recognition-banner b{font-size:13px}.recognition-banner small{color:var(--muted);margin-top:4px;font-size:11px;display:block}.nutrition-grid{text-align:center;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;display:grid}.nutrition-grid>div{flex-direction:column;gap:4px;padding:7px 2px;display:flex}.nutrition-grid>div:first-child{background:var(--sun);border-radius:14px}.nutrition-grid small{font-size:11px}.nutrition-grid b{font-size:16px}.quantity{justify-content:center;align-items:center;gap:12px;padding:12px;display:flex}.quantity input{text-align:center;border:1px solid var(--line);background:var(--paper);border-radius:18px;width:50%;padding:12px;font-size:32px}.camera-placeholder,.barcode-placeholder{background:var(--paper);height:330px;color:var(--muted);text-align:center;border-radius:24px;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:24px;display:flex}.camera-placeholder h2{color:var(--ink)}.scan-photo,.camera-video{aspect-ratio:1;object-fit:cover;background:#202125;border-radius:22px;width:100%;max-height:400px}.recipe-catalog{margin:-8px -4px 0}.recipe-catalog>.muted{margin:7px 0 8px;font-size:12px;display:block}.catalog-heading{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.catalog-heading h1{font-size:32px;font-weight:600}.lavender{background:var(--lav)}.catalog-heading .icon-button{box-shadow:var(--shadow)}.featured-recipe{background:var(--lav);border-radius:22px;overflow:hidden}.featured-recipe>.media,.featured-recipe>a>.media{height:188px}.media{isolation:isolate;border-radius:16px;position:relative;overflow:hidden}.media img{object-fit:cover;width:100%;height:100%}.featured-recipe .media{border-radius:0}.featured-copy{padding:12px 16px 14px}.featured-copy .section-title{min-height:23px;margin:0}.featured-copy .icon-button{background:0 0;width:27px;min-width:27px;height:27px;padding:0}.featured-copy h2{margin:6px 0 7px;font-size:22px;font-weight:700;line-height:1.3}.featured-copy p{color:var(--muted);font-size:12px}.pill{background:var(--lav);color:var(--ink);border-radius:16px;padding:4px 12px;font-size:11px;display:inline-block}.pill.yellow{background:var(--sun)}.recipe-categories{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.recipe-categories button{background:var(--paper);border:1px solid var(--line);border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:12px;height:84px;font-size:12px;display:flex}.recipe-categories button>span{background:var(--sun);border-radius:50%;width:32px;height:32px;padding:6px}.recipe-categories button:nth-child(2n)>span{background:var(--lav)}.recipe-categories img{width:20px;height:20px}.recipe-categories button.selected{background:var(--lav);border-color:var(--accent)}.recipe-catalog .section h2{font-size:20px;font-weight:700}.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px;display:grid}.recipe-tile{background:var(--paper);border-radius:20px;min-width:0;padding:8px;position:relative}.recipe-tile .media{border-radius:15px;height:126px}.recipe-tile h3{min-height:42px;margin:10px 4px 4px;font-size:15px;font-weight:700;line-height:1.4}.recipe-tile p{color:var(--muted);margin:3px 4px 6px;font-size:11px}.tile-heart{background:var(--bg);opacity:.9;border-radius:50%;justify-content:center;align-items:center;width:30px;height:30px;display:flex;position:absolute;top:12px;right:12px}.recipe-search-fixed{bottom:calc(env(safe-area-inset-bottom) + 82px);z-index:25;background:linear-gradient(transparent, var(--bg) 12%);align-items:center;gap:10px;width:calc(100% - 32px);max-width:398px;padding:6px 0;display:flex;position:fixed;left:50%;transform:translate(-50%)}.recipe-search-fixed .search-box{flex:1;min-width:0;height:52px;margin:0}.recipe-search-fixed .icon-button{width:48px;height:48px}.recipe-catalog{padding-bottom:50px}.recipe-search{align-items:center;gap:10px;display:flex}.recipe-search .search-box{flex:1}.recipe-detail{background:var(--paper);min-height:100dvh;margin:-16px -20px 0;padding-bottom:20px}.recipe-hero{color:#fff;background:#4b4b46;border-radius:0;height:263px;position:relative;overflow:hidden}.recipe-hero>.media{border-radius:0;height:100%}.recipe-hero:after{content:"";pointer-events:none;background:linear-gradient(#0000,#000b);position:absolute;inset:35% 0 0}.hero-buttons{z-index:2;justify-content:space-between;display:flex;position:absolute;inset:20px 16px auto}.hero-buttons .icon-button{color:#202125;background:#fff}.recipe-hero-text{z-index:2;position:absolute;bottom:22px;left:18px;right:18px}.recipe-hero-text h1{margin-top:12px;font-size:26px;font-weight:800}.recipe-hero-text .pill{color:#202125;font-weight:800}.recipe-detail-body{padding:0 16px}.recipe-detail-body>.segments{margin:13px 0 10px}.recipe-detail-body>.card{padding:5px}.recipe-detail-body>.card .nutrition-grid{padding:0}.recipe-detail-body>.card p{margin:4px 0}.ingredient-list{padding:0 12px!important}.ingredient-list label{border-bottom:1px solid var(--line);align-items:center;gap:12px;min-height:36px;padding:7px 0;font-size:12px;display:flex}.ingredient-list label:last-child{border:0}.ingredient-list label>span{flex:1}.ingredient-list input{width:18px;height:18px}.ingredient-list small{white-space:nowrap;font-size:12px}.step-number{float:left;background:var(--lav);text-align:center;border-radius:50%;width:30px;height:30px;margin-right:12px;line-height:30px}.recipe-detail .bottom-action{background:linear-gradient(transparent, var(--paper) 20%)}.salmon-crop img{width:303.33%;max-width:none;height:848.89%;position:absolute;top:-674.44%;left:-34.17%}.photo-upload{background:var(--paper);border:1px dashed var(--line);cursor:pointer;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:140px;margin:16px 0;display:flex;overflow:hidden}.photo-upload>img{object-fit:cover;width:100%;max-height:220px}.photo-upload b{font-size:14px}.photo-upload small{color:var(--muted);font-size:12px}.ingredient-edit{border-bottom:1px solid var(--line);align-items:center;gap:8px;padding:8px 0;display:flex}.ingredient-edit>b{flex:1;font-size:13px}.ingredient-edit>.field{width:75px;margin:0}.ingredient-edit .field input{padding:8px;font-size:14px}.ingredient-edit .icon-button{width:30px;min-width:30px;padding:4px}.checkbox-row{align-items:center;gap:12px;margin:16px 0;font-size:13px;display:flex}.checkbox-row a{color:var(--deep);text-decoration:underline}.calendar{margin-top:16px;padding:12px}.calendar>.section-title{margin:0 2px 15px}.calendar>.section-title b{text-transform:capitalize;font-size:15px}.date-icon{color:var(--muted);justify-content:center;align-items:center;width:34px;height:30px;display:flex;position:relative}.date-icon input{opacity:0;width:100%;position:absolute;inset:0}.week{text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.week>button{flex-direction:column;align-items:center;gap:7px;padding:0;display:flex}.week small{color:var(--muted);font-size:12px}.week b{border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;font-size:15px;font-weight:700;display:flex}.week b.selected{background:var(--accent);color:#202125}.paper-page .section{margin-top:22px}.training-thumb{border-radius:10px;width:50px;height:50px;overflow:hidden}.row-icon:has(.training-thumb){border-radius:10px;width:50px;height:50px}.training-thumb .media{border-radius:0;width:50px;height:50px}.training-thumb-crop img{object-fit:cover}.reorder-actions{justify-content:flex-end;display:flex}.reorder-actions .icon-button{background:var(--paper);min-width:36px;height:36px}.set-table{margin:0 -8px}.set-head,.set-row{align-items:center;gap:8px;padding:8px;display:flex}.set-head{color:var(--muted);font-size:11px}.set-head>span,.set-row>input:not([type=checkbox]){text-align:center;flex:1;width:0;min-width:0}.set-head>span:first-child,.set-row>span:first-child{text-align:left;flex:0 0 23px}.set-head>span:last-child{flex:0 0 38px}.set-row{background:var(--paper);border-radius:12px;min-height:40px;margin:6px 0;font-size:14px;font-weight:800}.set-row.done{background:var(--lav)}.set-row input:not([type=checkbox]){background:0 0;border:0;border-radius:4px;padding:3px 2px;font-size:16px;font-weight:800}.set-row input[type=checkbox]{width:22px;height:22px;margin:0 5px}.set-row>button{width:20px;height:24px;color:var(--muted)}.set-table+.button{min-height:35px;margin:10px 0 0;font-size:12px}.bridge-crop{border-radius:15px;width:100%;height:190px}.bridge-crop img{object-fit:fill;width:724.53%;max-width:none;height:867.8%;position:absolute;top:-550%;left:-372.17%}.session-progress{margin:12px 0 16px}.session-progress::-webkit-progress-value{background:var(--deep)}.exercise-title{margin:18px 0 12px;font-size:21px;font-weight:700}.technique{background:var(--lav);flex-direction:column;justify-content:center;gap:12px;min-height:190px;display:flex}.technique p{color:var(--muted);font-size:14px}.rest-card{background:var(--lav);border-radius:20px;align-items:center;gap:18px;margin-top:20px;padding:18px 12px;display:flex}.rest-card>.row-icon{background:var(--accent);width:46px;height:46px}.rest-card>div{flex:1}.rest-card progress{margin-top:10px}.rest-timer{text-align:center;border:8px solid var(--accent);border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:12px;width:260px;max-width:100%;height:260px;margin:48px auto;display:flex}.rest-timer>strong{font-size:56px;line-height:1.2}.rest-timer>span{color:var(--muted);font-size:13px}.summary-hero{background:var(--lav);text-align:center;padding:24px 12px}.summary-hero>svg{color:var(--deep);margin:0 auto 12px}.summary-hero>.three-grid{margin-top:24px}.summary-hero .three-grid>div{flex-direction:column;gap:5px;display:flex}.summary-hero strong{font-size:23px}.two-grid>.card>strong{font-size:25px;display:block}.two-grid>.card>small{display:block}.toast{bottom:calc(env(safe-area-inset-bottom) + 94px);width:calc(100% - 40px);max-width:390px;box-shadow:var(--shadow);color:#fff;text-align:center;z-index:100;background:#202125;border-radius:18px;padding:14px 18px;font-size:13px;position:fixed;left:50%;transform:translate(-50%)}.sync-status{z-index:1;background:var(--sun);color:var(--ink);text-align:center;border-radius:12px;margin-bottom:8px;padding:8px;font-size:11px;position:relative}.welcome{background:var(--bg);flex-direction:column;min-height:100dvh;margin:-16px -20px -100px;display:flex}.welcome-photo{background:var(--lav);height:60dvh;min-height:390px;position:relative;overflow:hidden}.welcome-photo>img{object-fit:cover;width:100%;height:100%}.welcome-photo:after{content:"";background:linear-gradient(#0004,#0000 30%);position:absolute;inset:0}.welcome-top{color:#fff;z-index:1;justify-content:space-between;align-items:center;display:flex;position:absolute;inset:24px 20px auto}.welcome-brand{font-size:25px;font-weight:800}.welcome-top button{color:#202125;background:#ffffffc9;border-radius:20px;padding:8px 14px;font-size:13px}.welcome-sheet{background:var(--bg);z-index:2;border-radius:30px 30px 0 0;flex:1;margin-top:-30px;padding:28px 24px 30px;position:relative}.welcome-sheet h1{margin:18px 0 12px;font-size:30px;font-weight:800;line-height:1.2}.welcome-sheet p{color:var(--muted);margin:0 0 25px;font-size:16px}.welcome-sheet .section-title>.button{width:auto;min-width:140px;min-height:56px}.pager{gap:6px;display:flex}.pager button{background:var(--line);border-radius:8px;width:8px;height:8px;padding:0}.pager button.selected{background:var(--accent);width:28px}.auth-brand{justify-content:center;align-items:center;gap:15px;margin:18px 0 35px;font-size:30px;display:flex}.auth-brand .brand-mark{margin:8px;transform:scale(1.6)}.auth-title{margin-bottom:12px;font-size:30px;line-height:1.2}.auth-title+.muted{margin-bottom:25px}.password-field{position:relative}.password-field .field input{padding-right:45px}.password-field>button{color:var(--muted);position:absolute;bottom:13px;right:16px}.text-link{color:var(--deep);margin:10px 0;font-size:13px;font-weight:700;display:block}.auth-or{color:var(--muted);text-align:center;align-items:center;gap:12px;margin:20px 0 5px;font-size:12px;display:flex}.auth-or:before,.auth-or:after{content:"";background:var(--line);flex:1;height:1px}.auth-or+.two-grid+.center{margin:20px 0;font-size:13px}.auth-or+.two-grid+.center a{display:inline}.local-card{background:var(--paper);margin-top:24px}.local-card p{color:var(--muted);font-size:12px}.setup-title{margin:25px 0 20px;font-size:28px;font-weight:800}.choice-card{text-align:left;background:var(--paper);border:1px solid var(--line);border-radius:20px;align-items:center;gap:14px;width:100%;min-height:90px;padding:18px 16px;display:flex}.choice-card.selected{background:var(--lav);border-color:var(--accent)}.choice-card>span:first-of-type{flex-direction:column;flex:1;gap:5px;display:flex}.choice-card b{font-size:16px}.choice-card small{color:var(--muted);font-size:12px}.radio-dot{border:1px solid var(--line);border-radius:50%;flex-shrink:0;width:20px;height:20px}.choice-card.selected .radio-dot{border:6px solid var(--accent);background:var(--bg)}.setup-actions{gap:12px;margin-top:35px;display:flex}.plan-ready{text-align:center;background:var(--lav);padding:35px 20px}.plan-ready>svg{color:var(--deep);margin:auto}.plan-ready>p{margin-top:25px}.plan-ready>strong{font-size:64px;line-height:1.2;display:block}.plan-ready>span{color:var(--muted)}.plan-ready .three-grid{margin:25px 0 10px}.plan-ready .three-grid>div{flex-direction:column;gap:5px;display:flex}.avatar{background:var(--accent);color:#202125;border-radius:50%;justify-content:center;align-items:center;width:76px;height:76px;margin:0 auto 12px;font-size:27px;font-weight:800;display:flex;overflow:hidden}.avatar>img{object-fit:cover;width:100%;height:100%}.profile-hero h1{font-size:26px}.profile-hero>p{color:var(--muted);font-size:13px}.profile-hero>.three-grid{margin-top:25px}.profile-hero .three-grid>div{flex-direction:column;gap:5px;display:flex}.profile-hero small{font-size:11px}.avatar-upload{cursor:pointer;flex-direction:column;align-items:center;margin:25px 0;display:flex}.avatar-upload b{color:var(--deep);font-size:13px}.pro-banner{background:var(--sun);border-radius:20px;align-items:center;gap:14px;margin:18px 0;padding:16px;display:flex}.pro-banner span{flex-direction:column;flex:1;gap:4px;display:flex}.pro-banner small{color:var(--muted);font-size:11px}.themes button{border:1px solid var(--line);background:var(--paper);border-radius:18px;flex-direction:column;align-items:center;gap:10px;padding:12px 3px;font-size:12px;display:flex}.themes button.selected{border-color:var(--accent);background:var(--lav)}.theme-preview{border:3px solid var(--line);color:#202125;background:#fff;border-radius:14px;justify-content:center;align-items:center;width:60px;height:82px;display:flex}.theme-preview.dark{color:#e2d9f3;background:#282331}.theme-preview.system{color:#a38fcc;background:linear-gradient(90deg,#fff 50%,#282331 50%)}.accent-colors{justify-content:space-between;gap:15px;padding:5px 0;display:flex}.accent-colors button{color:#202125;border:3px solid var(--bg);width:44px;height:44px;box-shadow:0 0 0 1px var(--line);border-radius:50%;justify-content:center;align-items:center;display:flex}.switch-row{justify-content:space-between;align-items:center;gap:16px;min-height:56px;font-size:13px;display:flex}.switch-row+.switch-row{border-top:1px solid var(--line)}.switch{background:var(--line);border-radius:18px;align-items:center;width:48px;min-width:48px;height:28px;padding:4px;display:flex}.switch i{background:#fff;border-radius:50%;width:20px;height:20px;transition:transform .2s;display:block;box-shadow:0 1px 3px #0001}.switch.on{background:var(--accent)}.switch.on i{transform:translate(20px)}.week-days{justify-content:space-between;gap:4px;margin:16px 0;display:flex}.week-days button{background:var(--paper);border-radius:50%;width:34px;height:34px;font-size:12px}.week-days button.selected{background:var(--accent);color:#202125}.unread-dot{position:relative}.unread-dot:after{content:"";background:var(--deep);border-radius:50%;width:7px;height:7px;position:absolute;top:0;right:0}.pro-hero{background:var(--lav);text-align:center;border-radius:24px;padding:35px 10px}.pro-hero>svg{color:var(--deep);margin:auto}.pro-hero h1{margin:25px 0 15px}.pro-hero p{color:var(--muted);font-size:12px}details{border-bottom:1px solid var(--line);padding:16px 0}details:last-child{border:0}summary{cursor:pointer;font-size:13px;font-weight:700;line-height:1.5}details p{color:var(--muted);margin-top:12px;font-size:13px}.modal{border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:24px;width:calc(100% - 40px);max-width:390px;padding:20px}.modal::backdrop{background:#20212566}.modal-title{justify-content:space-between;align-items:center;display:flex}.loading{flex-direction:column;justify-content:center;align-items:center;gap:15px;min-height:100dvh;font-size:35px;font-weight:800;display:flex}.loading span{color:var(--muted);font-size:14px;font-weight:400}@media (width>=550px){body{padding:22px 0}.app-shell{border-radius:28px;min-height:calc(100dvh - 44px);box-shadow:0 12px 60px #6c568f16}.bottom-nav{bottom:28px}.bottom-action{border-radius:0 0 28px 28px;bottom:22px}.recipe-search-fixed{bottom:92px}.welcome{min-height:calc(100dvh - 44px)}.welcome-photo{height:56dvh}.sheet-scrim{border-radius:28px;max-width:430px;left:50%;transform:translate(-50%)}}@media (width<=359px){.app-shell{padding-left:14px;padding-right:14px}.day-page{padding-left:10px;padding-right:10px}.page-header{gap:8px}.page-header h1{font-size:21px}.day-heading h1{font-size:29px}.stat-link{padding:9px 10px;font-size:11px}.date-selector button,.current-date{font-size:10px}.macro-card{padding:17px 8px}.macro-card>div>div{font-size:9px}.macro-card b{font-size:10px}.daily-ring svg{width:68px}.daily-ring>b{font-size:15px}.daily-ring small{font-size:9px}.calorie-card footer{padding:16px 8px 0}.calorie-card footer small{font-size:9px}.meal-cards{gap:5px}.meal-mini{padding:7px}.meal-mini>div{gap:0}.mini-plus{width:23px;min-width:23px;height:23px}.meal-mini b{font-size:9px}.meal-mini small{font-size:10px}.recipe-catalog{margin-left:0;margin-right:0}.recipe-hero-text h1{font-size:23px}.nutrition-grid b{font-size:14px}.scan-actions a{font-size:10px}.bottom-sheet{padding-left:14px;padding-right:14px}.themes button{font-size:11px}.accent-colors{gap:8px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}:root[data-reduced=true] *{scroll-behavior:auto!important;transition:none!important;animation:none!important}.mode-badge{z-index:45;opacity:.75;pointer-events:none;border-radius:0 0 0 9px;width:auto;max-width:210px;margin:0;padding:1px 6px;font-size:9px;position:fixed;top:0;right:0}.day-heading{margin:3px 3px 6px}.day-heading small{line-height:14px;display:block}.day-heading h1{margin-top:6px}.water-glasses button>img,.water-card .section-title .icon-button img{width:auto;max-width:none;height:auto}.training-thumb-crop img,.program-thumb-crop img{object-fit:fill;width:3200%;max-width:none;height:2625.64%;position:absolute;top:-653.85%;left:-1354.17%}.program-thumb-crop img{top:-520.51%}.paper-page .section>.card:has(.training-thumb){padding:3px 12px}.training-thumb,.training-thumb .media{width:52px;height:52px}.row-icon:has(.training-thumb){width:52px;height:52px}.paper-page .row:has(.training-thumb){min-height:68px}.recipe-catalog>.muted{margin-top:5px}.recipe-catalog .catalog-heading{margin-bottom:9px}.recipe-catalog .section{margin-top:20px}.water-bottle-area{text-align:center;margin:10px 0 18px}.water-bottle{background:var(--bg);border:2px solid var(--line);border-radius:48px;width:180px;height:260px;margin:10px auto 22px;position:relative;overflow:hidden;box-shadow:0 8px 24px #17210d12}.water-level{background:linear-gradient(#d6d0fd,#2e9bea);width:100%;position:absolute;bottom:0;left:0}.water-wave{max-width:none;position:absolute;top:-16px;left:-42px}.bubble{max-width:none;position:absolute}.bubble-0{bottom:92px;left:28px}.bubble-1{bottom:52px;left:118px}.bubble-2{bottom:22px;left:68px}.bubble-3{bottom:122px;left:138px}.bottle-number{color:#fff;text-shadow:0 1px 2px #58478630;position:absolute;top:134px;left:0;right:0}.bottle-number.low{color:var(--deep);text-shadow:none}.bottle-number strong{font-size:36px;line-height:1.15}.bottle-number h2{font-size:13px;font-weight:600}.quick-water .button:first-child{color:#fff;background:#584786}.quick-water .button:nth-child(2){background:var(--bg);color:var(--ink)}.statistics-rings{align-items:center;gap:5px;margin-top:15px;display:flex}.statistics-rings>svg{width:50%;min-width:0}.ring-legend{flex-direction:column;flex:1;gap:8px;padding-left:8px;display:flex}.ring-legend>div{flex-direction:column;padding-left:12px;display:flex;position:relative}.ring-legend>div:before{content:"";background:var(--accent);border-radius:2px;width:6px;height:6px;position:absolute;top:5px;left:0}.ring-legend>div:nth-child(2):before{background:var(--sun)}.ring-legend>div:nth-child(3):before{background:var(--deep)}.ring-legend strong{font-size:21px;line-height:1.3}.ring-legend small{font-size:11px}.ring-legend span{color:var(--muted);font-size:10px}.line-chart{width:100%}.line-chart svg{width:100%;margin:15px 0 0;display:block}.result-heading{font-size:27px}:root[data-keyboard=true] .bottom-nav,:root[data-keyboard=true] .recipe-search-fixed{display:none}:root[data-keyboard=true] .bottom-action{background:0 0;width:100%;padding:15px 0;position:static;transform:none}.paper-page .field input,.paper-page .field select,.paper-page .field textarea{background:var(--bg)}.media-expand{color:#202125;z-index:2;background:#fff;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;display:flex;position:absolute;bottom:12px;right:12px}.compact-recipe-cover{background:var(--paper);border-radius:20px;gap:14px;height:150px;margin:14px 0 12px;padding:8px;display:flex}.compact-recipe-cover .media{border-radius:14px;flex-shrink:0;width:134px;height:134px}.compact-recipe-cover>div:last-child{flex-direction:column;gap:10px;min-width:0;padding:0;display:flex}.compact-recipe-cover h3{font-size:16px;line-height:22px}.compact-recipe-cover strong{font-size:23px;line-height:29px}.compact-recipe-cover p{font-size:12px}.compact-recipe>.card{background:var(--paper);border:0;margin:12px 0}.compact-recipe .ingredient-list{margin:8px 0;padding:0!important}.compact-recipe .ingredient-list label{font-size:12px}.compact-recipe ol{color:var(--muted);padding-left:18px;font-size:12px;line-height:1.55}.profile-hero{background:var(--bg);text-align:left;padding:16px}.profile-main{align-items:center;gap:14px;display:flex}.profile-main .avatar{flex-shrink:0;width:64px;height:64px;margin:0;font-size:22px}.profile-main h1{font-size:20px}.profile-main p{color:var(--muted);margin:4px 0;font-size:12px}.profile-main .pill{padding:2px 8px;font-size:10px}.profile-hero .three-grid{text-align:center;margin-top:16px}.profile-hero .three-grid>div{background:var(--paper);border-radius:16px;padding:12px 3px}.profile-hero .three-grid b{font-size:16px}.pro-banner{background:var(--lav)}@media (width<=359px){.compact-recipe-cover{gap:10px}.compact-recipe-cover .media{width:114px}.compact-recipe-cover strong{font-size:20px}}.exercise-video{object-fit:contain;background:#202125;border-radius:16px;width:100%;max-height:350px;display:block}:root[data-auth-page=true]{background:var(--bg)}.auth-page{padding-bottom:max(20px, env(safe-area-inset-bottom));min-height:100svh}.auth-page:before{content:"";height:env(safe-area-inset-top,0px);background:var(--bg);z-index:50;pointer-events:none;position:fixed;top:0;left:0;right:0}.auth-page input,.auth-page textarea,.auth-page select{font-size:16px}.auth-page .auth-brand{margin:12px 0 24px}.auth-page .auth-title+.muted{margin-bottom:20px}.auth-page .auth-or+.two-grid+.center{margin:16px 0 0}@media (height<=740px){.auth-page .auth-brand{margin:4px 0 16px;font-size:27px}.auth-page .auth-title{margin-bottom:8px;font-size:27px}.auth-page .auth-title+.muted{margin-bottom:16px}.auth-page .field{margin-bottom:14px}.auth-page .auth-or{margin-top:16px}}
