:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;color:#292326;background:#fbf7f7;font-synthesis:none;--wine: #6d233c;--wine-light: #91445c;--pink: #d9a6b2;--rose: #f3e2e6;--cream: #fbf7f7;--text: #292326;--muted: #75686e;--white: #fff;--line: #eee5e8;--radius: 24px;--shadow: 0 5px 24px #6d233c05}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #91445c;outline-offset:3px}button{border:0}a{color:var(--wine);text-underline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:2.15rem;letter-spacing:-1.2px;line-height:1.2;font-weight:650;margin:8px 0 10px}h2{font-size:1.2rem;font-weight:630;letter-spacing:-.35px;line-height:1.4}h3{font-size:1.05rem;font-weight:630;line-height:1.5}p{line-height:1.65}small{font-size:.81rem;line-height:1.5}.small{font-size:.875rem}.muted{color:var(--muted)}.eyebrow{font-size:.71rem;letter-spacing:1.7px;font-weight:700;color:var(--wine-light)}.stack{display:flex;flex-direction:column;gap:24px}.stack>header p{margin-top:8px}.app-shell{max-width:1400px;margin:auto;min-height:100dvh}.sidebar{display:none}.main-shell{min-width:0}.desktop-bar{display:none}main{max-width:740px;margin:auto;padding:30px 22px calc(108px + env(safe-area-inset-bottom))}.card{border-radius:var(--radius);background:var(--white);padding:24px;border:1px solid #f1e9ec;box-shadow:var(--shadow)}.card>h3{margin-bottom:12px}.card p+button,.card small+button{margin-top:16px}.card .field{margin:16px 0}.soft{background:#f7ebee;border-color:#f1e1e6}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.icon-title{display:flex;align-items:center;gap:10px;color:var(--wine)}.icon-title h2,.icon-title h3{color:var(--text)}.icon-title svg{flex-shrink:0}.button{display:flex;align-items:center;justify-content:center;gap:9px;padding:15px 20px;min-height:50px;border-radius:15px;background:var(--wine);color:#fff;font-size:.94rem;font-weight:600;transition:background .2s,transform .2s;width:100%;line-height:1.4;text-align:center}.button:hover{background:#592033}.button:active{transform:scale(.985)}.button.secondary{background:#faf4f5;border:1px solid #eadce1;color:var(--wine)}.button.secondary:hover{background:var(--rose)}.icon-button{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border-radius:50%;background:transparent;color:var(--wine);flex-shrink:0}.icon-button:hover{background:#f7ecef}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;background:transparent;color:var(--wine);padding:5px 0;font-size:.875rem;font-weight:600;flex-shrink:0}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}.three-col{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}.inline{display:flex;gap:10px;align-items:center}.inline input{min-width:0}.inline .button{width:auto;flex-shrink:0}.inline>span{flex-shrink:0}.field{display:flex;flex-direction:column;gap:8px;font-size:.9rem;font-weight:500;min-width:0}.field small{font-weight:400;color:var(--muted)}input:not([type=checkbox]),select,textarea{width:100%;min-width:0;min-height:48px;border:1px solid #e6dce0;border-radius:12px;background:#fff;padding:11px 13px;color:var(--text);font-size:1rem}textarea{resize:vertical;line-height:1.6}input[type=checkbox]{width:22px;height:22px;accent-color:var(--wine);flex-shrink:0}.check-row{display:flex;gap:12px;align-items:center;min-height:48px;font-size:.95rem}.check-row small{display:block;color:var(--muted)}.check-row input{margin:0}.progress{height:7px;background:#f0e3e8;border-radius:99px;overflow:hidden;margin:18px 0}.progress>div{height:100%;background:var(--wine-light);border-radius:99px;transition:width .4s ease}.empty{text-align:center;border:1px dashed #e3d3d9;border-radius:20px;padding:26px 18px;color:var(--muted);background:#ffffff60}.empty>p:first-child{font-weight:600;color:var(--text);margin-bottom:8px}.empty .button{margin-top:16px}.gentle{background:#f4e7eb;padding:14px 18px;border-radius:14px;color:var(--wine)}.notice{background:#f5eef0;color:#66505a;padding:15px 17px;border-radius:14px;line-height:1.6;font-size:.9rem}.notice svg{vertical-align:middle;margin-right:6px}.error{background:#f4e7eb;color:var(--wine);border-left:3px solid var(--wine);padding:15px;border-radius:10px}.list-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid var(--line)}.list-row:last-child{border-bottom:none}.list-row>div:first-child{min-width:0}.list-row small{display:block;color:var(--muted);margin-top:5px}.list-row .button{width:auto;flex-shrink:0;max-width:130px}.greeting{display:flex;justify-content:space-between;align-items:center}.greeting p{color:var(--muted);text-transform:capitalize;font-size:.93rem}.greeting h1{display:flex;gap:10px;align-items:center}.greeting-flower{color:var(--pink);font-size:2rem;font-weight:400}.sun-button{background:#f0e1e6;width:49px;height:49px;min-width:49px}.welcome{display:flex;gap:12px;align-items:center;padding:16px;background:#f5e9ed;color:var(--wine)}.welcome>div{flex:1}.welcome p{font-size:.875rem}.checkin h2{font-size:1rem}.checkin .section-heading{margin-bottom:12px}.energy-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.energy-grid button{background:#fff;border:1px solid #eee3e7;border-radius:17px;min-height:78px;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;font-size:.81rem;color:#675960;transition:border .2s,background .2s}.energy-grid button>span{font-size:1.45rem}.energy-grid button.selected{background:var(--rose);border-color:var(--pink);color:var(--wine)}.nutrition{background:linear-gradient(120deg,#fff 40%,#faf0f3);padding:24px 25px}.nutrition .section-heading{color:var(--wine-light);margin-bottom:16px}.calorie-value{font-size:2.65rem;letter-spacing:-1.6px;color:var(--wine);font-weight:630;line-height:1.15}.calorie-value span{font-size:.86rem;letter-spacing:0;font-weight:400;color:var(--muted)}.nutrition p{font-size:.84rem;color:var(--muted);margin-top:10px}.nutrition small{color:var(--muted);font-size:.77rem}.main-actions{display:flex;flex-direction:column;gap:11px}.main-actions>button{display:flex;align-items:center;gap:17px;text-align:left;border-radius:20px;padding:21px 23px;min-height:87px;transition:transform .2s}.main-actions>button>span{flex:1;font-size:1.18rem;font-weight:620}.main-actions small{display:block;font-size:.8rem;font-weight:400;line-height:1.6;margin-top:5px}.eat-action{color:#fff;background:var(--wine);box-shadow:0 9px 24px #6d233c18}.eat-action small{color:#f0d6df}.hunger-action{background:#f0dfe5;color:var(--wine)}.hunger-action small{color:#805565}.recipe-card{position:relative;border-radius:22px;overflow:hidden;background:#fff;border:1px solid #ece3e7;box-shadow:var(--shadow)}.recipe-photo{display:block;width:100%;height:240px;object-fit:cover}.recipe-heart{position:absolute;right:15px;top:15px;background:#fffffff0;border-radius:50%;width:42px;height:42px;color:var(--wine);display:flex;align-items:center;justify-content:center}.recipe-heart.loved{background:#f5e3e9}.recipe-info{padding:21px}.recipe-info h3{font-size:1.25rem;letter-spacing:-.35px;margin:7px 0}.recipe-info>.eyebrow{font-size:.66rem}.recipe-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:var(--muted);font-size:.86rem;line-height:1.7;margin-bottom:7px}.recipe-info .button{margin-top:16px}.recipe-placeholder{min-height:105px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:linear-gradient(145deg,#f5e9ed,#eee1e7);color:var(--wine-light);font-size:.82rem}.recipe-grid{display:grid;gap:18px}.hydration{background:#fff}.water-value{font-size:2rem;color:var(--wine);font-weight:620;letter-spacing:-.8px}.water-value span{font-size:1rem;color:var(--muted);font-weight:400;letter-spacing:0}.water-actions{margin-top:10px}.water-actions .button{padding:12px 5px;font-size:.87rem}.journal{display:flex;flex-direction:column;gap:12px}.meal-row{display:flex;gap:14px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:18px}.meal-row>img{width:75px;height:80px;border-radius:12px;object-fit:cover}.meal-symbol{width:55px;height:55px;background:#f5e9ed;color:var(--wine-light);border-radius:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.meal-content{flex:1;min-width:0}.meal-content>small{color:var(--muted);font-size:.76rem}.meal-title{display:block;background:none;padding:5px 0;text-align:left;font-weight:620;line-height:1.4}.meal-content p{color:var(--muted);font-size:.85rem}.meal-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.meal-actions .text-button{font-size:.76rem}.date-picker{width:auto!important;max-width:165px;min-height:40px!important;font-size:.83rem!important;padding:8px!important}.mini-card{display:grid;grid-template-columns:1fr 20px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;gap:8px}.mini-card>svg:first-child{grid-column:1/-1;color:var(--wine-light);width:23px}.mini-card strong{font-size:.9rem;grid-column:1/-1}.mini-card small{color:var(--muted);font-size:.75rem}.mini-card>svg:last-child{color:var(--wine-light)}.week-link{display:flex;align-items:center;gap:14px;padding:21px 18px;background:transparent;border:1px solid #e6d6dc;border-radius:20px;text-align:left}.week-link>span{font-size:1.6rem}.week-link>div{flex:1}.week-link small{display:block;color:var(--muted);margin-top:5px}.week-link svg{color:var(--wine-light)}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:20;background:#fffffff2;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);border-top:1px solid #efe4e8;display:flex;justify-content:space-around;padding:11px 8px calc(10px + env(safe-area-inset-bottom))}.bottom-nav>button{background:none;color:#897680;min-width:57px;display:flex;flex-direction:column;align-items:center;gap:7px;padding:3px 2px;min-height:48px;font-size:.65rem;letter-spacing:-.1px}.bottom-nav>button.active{color:var(--wine);font-weight:650}.bottom-nav>button.active svg{stroke-width:2.3}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#30222965;z-index:40;display:flex;align-items:flex-end;justify-content:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.sheet{width:100%;max-width:680px;max-height:94dvh;border-radius:27px 27px 0 0;background:var(--cream);display:flex;flex-direction:column;outline:none;animation:slidein .2s ease}.sheet-header{padding:20px 23px 14px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px;flex-shrink:0}.sheet-header h2{font-size:1.23rem}.sheet-body{padding:24px 23px calc(28px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain}.sheet-body .stack{gap:20px}.capture-placeholder{min-height:215px;border-radius:24px;background:#f1e2e8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center;color:var(--wine)}.capture-placeholder p{font-size:.9rem;color:var(--muted)}.photo-preview{position:relative}.photo-preview img{width:100%;max-height:300px;object-fit:cover;border-radius:19px}.photo-remove{position:absolute;right:10px;top:10px;background:#fff}.food-edit{padding:16px;border:1px solid #e9dce1;background:#fff;border-radius:17px}.food-edit .three-col{margin:14px 0}.food-edit>.field{margin-bottom:10px}.food-edit .field{font-size:.78rem}.food-edit input{padding:10px}.choice{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;min-height:64px;background:#fff;border:1px solid var(--line);border-radius:16px;text-align:left;font-weight:550;font-size:1rem}.choice>span:first-child{font-size:1.3rem}.choice>span:nth-child(2){flex:1}.choice small{display:block;color:var(--muted);font-size:.83rem;margin-top:5px}.choice.selected{background:var(--rose);border-color:var(--pink)}.chips{display:flex;gap:9px;flex-wrap:wrap}.chips button{background:#fff;border:1px solid #e8dbe1;padding:10px 14px;min-height:44px;border-radius:12px;display:flex;align-items:center;gap:7px;font-size:.86rem}.chips button.selected,.ratings button.selected{background:var(--rose);border-color:var(--pink);color:var(--wine)}.scroll-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px}.scroll-chips button{white-space:nowrap;flex-shrink:0}.search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:0 15px;color:var(--muted)}.search input{border:0!important;background:transparent}.search input:focus-visible{outline:none}.detail-photo{width:100%;border-radius:20px;max-height:300px;object-fit:cover}.detail-meta{display:flex;gap:18px;flex-wrap:wrap;color:var(--wine);font-size:.9rem}.detail-meta span{display:flex;align-items:center;gap:7px}.ingredient-row{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid var(--line);font-size:.9rem}.ingredient-row strong{white-space:nowrap}.ingredient-row:last-child{border:0}.ratings{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ratings button{display:flex;gap:8px;align-items:center;justify-content:center;padding:15px 8px;border:1px solid #e7dbe0;background:#fff;border-radius:12px;font-size:.83rem;min-height:48px}details{border:1px solid var(--line);padding:17px;border-radius:17px;background:#fff}summary{font-weight:550;cursor:pointer;min-height:32px;line-height:1.5}details[open] summary{margin-bottom:15px}details p{margin:12px 0}ol{padding-left:22px;margin:0}li{line-height:1.6;margin-bottom:12px}.plan-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.plan-row>div{flex:1}.plan-row small{display:block;color:var(--muted);margin-bottom:6px}.plan-row strong{font-size:.93rem}.step-card{background:#fff;padding:30px 26px}.step-card h2{font-size:1.45rem;font-weight:500;white-space:pre-line;line-height:1.7}.cook-symbol{font-size:2.2rem;color:var(--pink);display:block;margin-bottom:18px}.timer-value{font-size:2.2rem;color:var(--wine);margin:18px 0 10px;font-variant-numeric:tabular-nums}.shopping-row{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line)}.shopping-row:last-child{border:0}.shopping-row label{min-height:67px;display:flex;align-items:center;gap:14px;flex:1;cursor:pointer}.shopping-row label>span{font-size:.96rem;line-height:1.5}.shopping-row small{display:block;font-size:.81rem;color:var(--muted)}.shopping-row.checked label>span{text-decoration:line-through;color:var(--muted)}.shopping-row.checked input{opacity:.7}.cycle-card{background:#f0e1e7;border:0;text-align:center;padding:32px 20px}.cycle-card svg{color:var(--wine);margin-bottom:12px}.cycle-card p{color:#735762;font-size:.9rem;margin:10px 0}.cycle-card small{color:#735762;font-size:.77rem}.weight-chart{width:100%;margin:20px 0}.settings-list{border:1px solid var(--line);border-radius:22px;overflow:hidden;background:#fff}.settings-row{width:100%;min-height:70px;background:#fff;padding:17px 19px;display:flex;align-items:center;gap:15px;border-bottom:1px solid var(--line);text-align:left;font-size:.94rem}.settings-row:last-child{border:0}.settings-row span{flex:1}.settings-row svg{color:var(--wine-light);flex-shrink:0}.settings-row:hover{background:#fbf5f7}.profile-card{display:flex;align-items:center;gap:16px}.profile-card>div:nth-child(2){flex:1}.profile-card p{font-size:.86rem;color:var(--muted)}.profile-card>svg{color:var(--pink)}.avatar{background:var(--wine);color:#fff;border-radius:50%;width:60px;height:60px;display:flex;align-items:center;justify-content:center;font-size:1.6rem}.switch-label{display:flex;align-items:center;gap:8px;font-size:.85rem}.connection-path{text-align:center;line-height:1.9;color:var(--wine)}.status-pill{display:inline-block;background:#ecdce2;border-radius:99px;padding:9px 13px;color:var(--wine);font-size:.8rem}.toast{position:fixed;bottom:calc(92px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:calc(100% - 30px);max-width:620px;padding:16px 18px;background:#3e2932;color:#fff;border-radius:15px;box-shadow:0 8px 25px #3e293222;display:flex;align-items:center;gap:15px;z-index:60;font-size:.88rem;line-height:1.5}.toast>span{flex:1}.toast button{background:transparent;color:#f7d5e0;padding:6px;font-size:.87rem;font-weight:600;min-height:40px}.floating-timer{position:fixed;left:50%;transform:translate(-50%);bottom:calc(85px + env(safe-area-inset-bottom));z-index:25;display:flex;gap:12px;align-items:center;background:var(--wine);color:#fff;border-radius:14px;padding:13px 16px;font-size:.84rem;width:max-content;max-width:95%}.floating-timer button{background:none;color:#fff}.demo-banner,.storage-alert{background:#ead5df;color:var(--wine);padding:12px 20px;font-size:.85rem;text-align:center;position:sticky;top:0;z-index:22}.demo-banner button{background:transparent;font-weight:600;text-decoration:underline;color:var(--wine);margin-left:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.startup{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;text-align:center;padding:30px}.startup img{width:85px;border-radius:22px}.startup p{max-width:450px}.startup button{max-width:300px}.destructive{color:var(--wine)}@keyframes slidein{0%{transform:translateY(25px);opacity:.6}to{transform:translateY(0);opacity:1}}@media(min-width:700px){main{padding-top:40px;padding-left:32px;padding-right:32px}.recipe-grid{grid-template-columns:1fr 1fr}.sheet{max-height:88dvh;border-radius:26px;margin:0 20px 4dvh}.overlay{align-items:center}.recipe-card.compact .recipe-photo{height:170px}.sheet .recipe-grid{grid-template-columns:1fr}.calorie-value{font-size:3.2rem}}@media(min-width:1050px){.app-shell{display:flex}.sidebar{display:flex;flex-direction:column;width:260px;padding:40px 28px 30px;position:sticky;top:0;height:100dvh;border-right:1px solid var(--line);background:#fff8fa;flex-shrink:0}.brand{display:flex;align-items:center;gap:12px;font-size:1.6rem;font-weight:600;letter-spacing:-.8px;color:var(--wine)}.brand img{width:40px;height:40px;border-radius:12px}.sidebar-note{margin:17px 0 35px;font-size:.84rem;color:var(--muted)}.sidebar nav{display:flex;flex-direction:column;gap:9px}.sidebar nav button{display:flex;align-items:center;gap:16px;background:none;padding:16px 18px;border-radius:15px;color:#82707a;text-align:left;font-size:.93rem}.sidebar nav button.active{background:var(--rose);color:var(--wine);font-weight:600}.sidebar-hunger{background:var(--wine);color:#fff;padding:16px 18px;border-radius:15px;margin-top:35px;font-size:1rem}.sidebar-bottom{display:flex;align-items:center;gap:11px;color:var(--muted);font-size:.73rem;line-height:1.6;margin-top:auto}.main-shell{flex:1}.desktop-bar{height:90px;border-bottom:1px solid var(--line);padding:0 38px;display:flex;align-items:center;justify-content:space-between;font-size:.68rem;letter-spacing:1.7px;color:var(--muted)}.desktop-bar button{background:none;display:flex;align-items:center;gap:8px;font-size:.77rem;color:var(--muted)}.bottom-nav{display:none}main{padding-bottom:60px}.toast,.floating-timer{bottom:25px}.sheet{max-width:650px}.greeting h1{font-size:2.5rem}}@media(max-width:370px){main{padding-left:16px;padding-right:16px}.card{padding:19px}.greeting h1{font-size:1.85rem}.energy-grid{gap:6px}.energy-grid button{font-size:.74rem}.sheet-body{padding-left:16px;padding-right:16px}.main-actions>button{padding:18px}.section-heading h2{font-size:1.06rem}.date-picker{max-width:140px}.bottom-nav>button{font-size:.59rem}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.update-notice{position:fixed;bottom:calc(85px + env(safe-area-inset-bottom));left:16px;right:16px;z-index:100;background:var(--cream, #fff5f5);border:1px solid #d9bbc5;border-radius:20px;padding:16px;box-shadow:0 8px 25px #56203420;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.grocery-review textarea{min-height:140px}
