:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#25222b;background:#fbf8ff;line-height:1.35}*{box-sizing:border-box}body{margin:0;background:#fbf8ff}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}.login{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(410px,100%);padding:34px;background:#fff;border:1px solid #e9e3f3;border-radius:24px;box-shadow:0 18px 45px #31274d16}.logo{width:62px;height:62px;border-radius:18px;background:#30294a;color:#fff;display:grid;place-items:center;font-size:30px;margin-bottom:16px}.login h1{margin:0 0 5px}.muted{color:#706a78}.field{display:grid;gap:6px;margin:16px 0}.field input,.field select,.field textarea{border:1px solid #d9d2e3;border-radius:12px;padding:11px 12px;background:#fff}.primary,.secondary,.danger{border-radius:12px;padding:11px 16px;font-weight:700}.primary{background:#634aa2;color:#fff}.secondary{background:#eee8f7;color:#4c377e}.danger{background:#fff0f0;color:#a12929}.wide{width:100%}.shell{min-height:100vh;display:grid;grid-template-columns:255px minmax(0,1fr)}.side{padding:22px 14px;border-right:1px solid #e9e4ef;background:#fff;position:sticky;top:0;height:100vh}.brand{font-size:20px;font-weight:800;padding:8px 10px 24px}.profile{width:100%;text-align:left;background:transparent;border-radius:10px;padding:11px;color:#3e374c}.profile.active{background:#eee8f7;color:#4c377e;font-weight:700}.section-nav{display:grid;gap:5px;margin:24px 0}.section-nav button{background:transparent;text-align:left;padding:12px;border-radius:10px;color:#4e475b}.section-nav button.active{background:#eee8f7;color:#513c86;font-weight:700}.logout{position:absolute;bottom:22px;left:14px;right:14px;background:transparent;color:#7a7380;text-align:left;padding:10px}.content{padding:32px;max-width:1320px;width:100%;margin:auto}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:26px}.topbar h1{margin:0;font-size:30px}.actions{display:flex;gap:10px;align-items:center}.sync{font-size:13px;color:#746d7d}.group{margin:26px 0}.group h2{color:#635094;font-size:19px;margin:0 0 10px}.item{display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:14px;background:#fff;border:1px solid #ece8f0;border-radius:15px;padding:10px 12px;margin:8px 0}.thumb{height:52px;width:52px;background:#edf0f6;border-radius:11px;object-fit:cover}.item-name{font-weight:800;font-size:17px}.note{color:#68616d;margin-top:3px}.qty{color:#675391;margin-right:8px}.row-actions{display:flex;gap:6px}.icon-button{height:36px;width:36px;border-radius:10px;background:#f1edf6;color:#4c377e;font-size:18px}.icon-button.delete{background:#fff0f0;color:#b32b2b}.shared{color:#80651d}.empty{padding:70px 12px;text-align:center;color:#756e7b}.meal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}.meal{background:#fff;border:1px solid #ece8f0;border-radius:16px;overflow:hidden;position:relative}.meal img,.meal-placeholder{width:100%;height:150px;object-fit:cover;background:#eeeaf2}.meal-title{padding:12px;font-weight:800}.star{position:absolute;right:10px;top:10px;background:#fff;border-radius:99px;width:32px;height:32px;color:#ffac00;font-size:19px}.day{position:absolute;left:10px;top:10px;padding:5px 9px;border-radius:9px;background:#6336aa;color:white;font-size:12px;font-weight:700}.dialog{border:0;border-radius:22px;padding:0;width:min(510px,calc(100% - 32px));box-shadow:0 18px 55px #2f254c44}.dialog::backdrop{background:#211a2f7a}.dialog-body{padding:24px}.dialog h2{margin:0 0 14px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.suggestions{border:1px solid #ded5ea;border-radius:11px;overflow:hidden;margin-top:4px}.suggestions button{display:block;width:100%;text-align:left;background:#fff;padding:10px 12px;border-bottom:1px solid #eee8f5}.suggestions button:last-child{border-bottom:0}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;transition:.2s;background:#30294a;color:#fff;padding:11px 16px;border-radius:12px;pointer-events:none;z-index:5}#toast.show{opacity:1;transform:translate(-50%,0)}@media(max-width:720px){.shell{grid-template-columns:1fr}.side{height:auto;position:static;border-right:0;border-bottom:1px solid #e9e4ef;padding:12px;display:flex;gap:8px;align-items:center;overflow:auto}.brand{padding:8px;white-space:nowrap}.profiles{display:flex}.profile{white-space:nowrap}.section-nav{display:flex;margin:0}.section-nav button{white-space:nowrap}.logout{position:static;white-space:nowrap}.content{padding:20px 14px}.item{grid-template-columns:46px minmax(0,1fr)}.thumb{height:44px;width:44px}.row-actions{grid-column:2;justify-content:flex-end}.topbar h1{font-size:25px}}
