:root{--bg-color: #0b0f19;--surface-color: rgba(22, 30, 46, .7);--surface-border: rgba(255, 255, 255, .08);--primary-emerald: #10b981;--primary-glow: rgba(16, 185, 129, .3);--accent-cyan: #06b6d4;--accent-violet: #8b5cf6;--text-main: #f3f4f6;--text-muted: #9ca3af;--font-family: "Inter", system-ui, -apple-system, sans-serif}*{box-sizing:border-box;margin:0;padding:0}body{background-color:var(--bg-color);color:var(--text-main);font-family:var(--font-family);min-height:100vh;overflow-x:hidden;background-image:radial-gradient(circle at 20% 15%,rgba(16,185,129,.08) 0%,transparent 40%),radial-gradient(circle at 80% 70%,rgba(6,182,212,.06) 0%,transparent 40%)}html,body,#root{width:100%;height:100%}.glass-card{background:var(--surface-color);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid var(--surface-border);border-radius:16px;box-shadow:0 10px 30px #0000004d;transition:transform .2s ease,border-color .2s ease}.glass-card:hover{border-color:#10b9814d}.btn-primary{background:linear-gradient(135deg,#10b981,#059669);color:#fff;font-weight:600;padding:12px 24px;border-radius:10px;border:none;cursor:pointer;box-shadow:0 4px 14px var(--primary-glow);transition:all .2s ease}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #10b98180}*{box-sizing:border-box;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.app-viewport{background-color:#f4f6f8;display:flex;justify-content:center;align-items:center;height:100vh;height:100svh;height:100dvh;overflow:hidden;padding:0}.mobile-card{width:100%;max-width:min(390px,100%);height:100%;min-height:0;background-color:#fff;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;gap:clamp(8px,1.8dvh,16px);padding:clamp(12px,2.6dvh,24px) clamp(18px,5vw,24px);overflow:hidden;-webkit-user-select:none;user-select:none}@media(min-width:480px){.app-viewport{padding:clamp(12px,3vw,24px)}.mobile-card{min-height:auto;height:min(680px,calc(100dvh - 32px));border-radius:30px;box-shadow:0 20px 40px #00000014}}@media(min-width:480px)and (max-height:760px){.mobile-card{gap:10px;padding-top:18px;padding-bottom:18px}.logo-badge{width:72px;height:72px;margin-bottom:6px}.food-image-wrapper{width:132px;height:132px;margin-bottom:8px}.btn{min-height:40px}}.bg-leaf-top{position:absolute;top:-16px;right:-24px;width:clamp(120px,35vw,180px);opacity:.15;pointer-events:none}.bg-leaf-bottom{position:absolute;bottom:20%;left:-32px;width:clamp(100px,30vw,160px);opacity:.2;pointer-events:none}.content-header{display:flex;flex-direction:column;align-items:center;text-align:center;z-index:2;width:100%}.logo-badge{width:clamp(76px,18vw,96px);height:clamp(76px,18vw,96px);margin:0 auto clamp(6px,1.2vh,12px);border-radius:26px;overflow:hidden}.logo-badge img{width:100%;height:100%;display:block;object-fit:cover;transform:scale(1.45)}.app-title{font-size:clamp(22px,6vw,28px);font-weight:800;color:#000;letter-spacing:-.5px;margin-bottom:8px}.app-title span{color:#51a48c}.tagline{font-size:clamp(14px,3.6vw,17px);font-weight:700;color:#1a1a1a;margin-bottom:4px}.description{font-size:clamp(12px,3vw,13px);color:#666;line-height:1.5;max-width:min(260px,100%)}.media-section{display:flex;flex-direction:column;align-items:center;z-index:2;margin:0}.food-image-wrapper{width:clamp(118px,25dvh,170px);height:clamp(118px,25dvh,170px);border-radius:50%;overflow:hidden;position:relative;box-shadow:0 12px 24px #00000014;margin-bottom:clamp(6px,1.2dvh,12px)}.food-slide{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block;object-fit:cover;opacity:0;transform:scale(1.06);transition:opacity .75s ease,transform .75s ease;will-change:opacity,transform}.food-slide.active{opacity:1;transform:scale(1);z-index:1}.pagination{display:flex;gap:8px;align-items:center}.dot{width:8px;height:8px;border-radius:50%;background-color:#d1d5db;border:none;cursor:pointer;padding:0;transition:all .3s ease}.dot.active{width:10px;height:10px;background-color:#3b8770}.button-group{width:100%;display:flex;flex-direction:column;gap:clamp(8px,1.4dvh,10px);z-index:2;margin-top:0}.btn{width:100%;min-height:clamp(40px,5.6dvh,48px);padding:0 clamp(16px,4vw,20px);border-radius:14px;font-size:clamp(14px,3.5vw,16px);font-weight:600;cursor:pointer;transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .1s ease;border:none}.btn:active{transform:scale(.98)}.btn-primary{background-color:#51a48c;color:#fff;box-shadow:0 4px 12px #51a48c4d}.btn-primary:hover{background-color:#438e78}.btn-secondary{background-color:#eef8f4;color:#347f69;border:1px solid rgba(81,164,140,.28)}.btn-secondary:hover{background-color:#e4f3ee;border-color:#51a48c73}@media(max-height:600px){.logo-badge{width:58px;height:58px;margin-bottom:4px}.food-image-wrapper{width:96px;height:96px;margin-bottom:4px}.mobile-card{padding-top:10px;padding-bottom:10px;gap:6px}.app-title{margin-bottom:4px}.description{line-height:1.35}.btn{min-height:36px}}.splash-viewport{min-height:100dvh;height:100dvh;padding:0;background:#f4f7f6;overflow:hidden;overscroll-behavior:none}.splash-card{width:min(100%,430px);height:min(920px,100dvh);min-height:680px;justify-content:flex-start;gap:0;padding:clamp(42px,10dvh,86px) 26px 16px;border-radius:0;color:#14222b;overflow:hidden;overscroll-behavior:none;touch-action:manipulation}.splash-header{position:relative;gap:0}.splash-logo{width:96px;height:96px;margin-bottom:18px;border-radius:29px;box-shadow:0 12px 28px #264e431a}.splash-logo img{transform:scale(1.26)}.splash-card .app-title{margin-bottom:18px;font-size:clamp(39px,10vw,52px);line-height:1;letter-spacing:-1.8px;color:#14222b}.splash-card .app-title span{color:#43b696}.assistant-pill{display:inline-flex;align-items:center;gap:7px;margin-bottom:16px;padding:7px 12px;border-radius:999px;background:#eaf7f3;color:#249a7c;font-size:12px;font-weight:700}.assistant-pill svg{color:#28ae8c}.splash-card .tagline{margin-bottom:15px;color:#172a35;font-size:clamp(24px,6vw,31px);line-height:1.15;letter-spacing:-.65px}.splash-card .description{max-width:none;color:#71808b;font-size:18px;line-height:1.45}.splash-features{position:relative;z-index:2;display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;width:100%;margin:22px 0 18px}.splash-feature{display:flex;align-items:center;justify-content:center;gap:6px;color:#4c5b66;font-size:11px;line-height:1.35}.splash-feature span{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex:0 0 36px;border-radius:50%;background:#e9f7f3;color:#27a987}.splash-feature b{font-weight:600}.splash-features>i{width:1px;height:34px;background:#dbe7e4}.splash-media{position:relative;z-index:2;width:100%;margin-top:clamp(28px,5dvh,48px);transform:translateY(26px)}.splash-food-image{width:min(74vw,318px);height:min(74vw,318px);margin-bottom:20px;border:9px solid rgba(255,255,255,.92);background:#eaf7f3;box-shadow:0 16px 34px #28604f29,0 0 0 20px #e0f5ef8c}.splash-food-image .food-slide{object-fit:cover}.splash-pagination{gap:13px}.splash-pagination .dot{width:12px;height:12px;background:#d4dadd}.splash-pagination .dot.active{width:15px;height:15px;background:#2cad8b}.splash-actions{position:absolute;left:22px;right:22px;width:auto;bottom:44px;z-index:2;margin-top:0;gap:12px}.splash-card .btn{display:flex;align-items:center;justify-content:center;min-height:64px;border-radius:18px;font-size:22px;font-weight:700;text-decoration:none}.splash-primary{gap:14px;background:linear-gradient(100deg,#19aa86,#4cbd9d);box-shadow:0 10px 18px #25a9853d}.splash-secondary{background:#fff;border:1.5px solid #54bea1;color:#299d80}.splash-register-prompt{padding-top:3px;color:#71808b;text-align:center;font-size:13px}.splash-register-prompt a{color:#209c7d;font-weight:700;text-decoration:none}.splash-leaf{position:absolute;z-index:0;width:165px;height:105px;opacity:.56;pointer-events:none}.splash-leaf:before,.splash-leaf:after{content:"";position:absolute;width:75px;height:35px;border-radius:100% 0;background:#dcefe9;transform:rotate(25deg)}.splash-leaf:before{top:18px;left:40px;box-shadow:34px 35px #e4f3ef,66px 11px #d4ebe4}.splash-leaf:after{top:53px;left:7px;transform:rotate(-36deg) scale(.72)}.splash-leaf-top{top:62px;right:-35px;transform:rotate(-24deg)}.splash-leaf-side{bottom:175px;left:-55px;transform:rotate(45deg) scale(.9)}.splash-dot-grid{position:absolute;z-index:0;width:54px;height:105px;opacity:.7;background-image:radial-gradient(#ccebe3 2.5px,transparent 2.5px);background-size:18px 18px}.splash-dot-grid-left{top:255px;left:16px}.splash-dot-grid-right{right:18px;bottom:210px}@media(min-width:480px){.splash-card{height:min(900px,calc(100dvh - 28px));min-height:0;border-radius:34px;box-shadow:0 25px 60px #233f3624}}@media(max-height:760px){.splash-card{padding-top:26px;padding-bottom:12px}.splash-logo{width:72px;height:72px;margin-bottom:10px}.splash-card .app-title{font-size:34px;margin-bottom:10px}.splash-card .tagline{font-size:21px;margin-bottom:6px}.splash-card .description{font-size:13px}.splash-media{margin-top:20px;transform:translateY(16px)}.splash-food-image{width:218px;height:218px;margin-bottom:12px}.splash-card .btn{min-height:50px;font-size:18px}.splash-actions{left:22px;right:22px;bottom:30px;margin-top:0;gap:10px}.splash-register-prompt{font-size:11px}}.result-page{height:100vh;height:100svh;height:100dvh;width:100%;display:flex;justify-content:center;align-items:center;background-color:#f4f6f8;overflow:hidden}.result-card{width:100%;max-width:min(390px,100%);height:100%;min-height:0;margin:0 auto;background-color:#fff;display:flex;flex-direction:column;overflow:hidden}.result-card--empty{align-items:center;justify-content:center;text-align:center;padding:0 6%}.empty-text{color:#8a9a96;font-size:14px}.result-header{display:flex;align-items:center;justify-content:space-between;padding:clamp(12px,2.7dvh,20px) 5% clamp(8px,1.4dvh,12px);flex-shrink:0}.icon-btn{width:36px;height:36px;border-radius:50%;background-color:#fff;border:none;box-shadow:0 2px 8px #17332e14;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .15s ease}.icon-btn:active{transform:scale(.95)}.result-titles{padding:0 6%;flex-shrink:0}.result-title{font-size:clamp(20px,5.5vw,24px);font-weight:700;color:#17332e;line-height:1.25;margin:0}.result-subtitle{color:#8a9a96;font-size:clamp(12.5px,3.2vw,14px);margin:4px 0 0}.result-photo-wrapper{padding:0 6%;margin-top:clamp(10px,2dvh,18px);flex-shrink:0}.result-photo{width:100%;height:clamp(132px,27dvh,230px);border-radius:24px;overflow:hidden;object-fit:cover;display:block;box-shadow:0 10px 24px #17332e14}.macro-row{padding:0 6%;margin-top:clamp(12px,2.4dvh,22px);display:flex;align-items:flex-start;justify-content:space-between;flex-shrink:0}.macro-total-value{font-size:clamp(24px,7vw,30px);font-weight:700;color:#17332e;line-height:1}.macro-total-label,.macro-stat-label{color:#8a9a96;font-size:11px;margin-top:4px}.macro-stat{text-align:right}.macro-stat-value{font-size:clamp(13px,3.6vw,15px);font-weight:700;line-height:1}.macro-stat-value--protein{color:#2f9e8f}.macro-stat-value--carbs{color:#e8a33d}.macro-stat-value--fats{color:#e8734d}.detected-items-section{padding:0 6%;margin-top:clamp(14px,2.8dvh,24px);min-height:0;flex:1;display:flex;flex-direction:column}.detected-items-heading{font-size:15px;font-weight:600;color:#17332e;margin:0 0 clamp(8px,1.4dvh,12px);flex-shrink:0}.detected-items-list{display:flex;flex-direction:column;gap:10px;min-height:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;padding-right:4px;padding-bottom:2px;scrollbar-width:thin;scrollbar-color:rgba(81,164,140,.55) transparent}.detected-items-list--scrollable{max-height:none}.detected-items-list::-webkit-scrollbar,.detected-items-list--scrollable::-webkit-scrollbar{width:4px}.detected-items-list::-webkit-scrollbar-thumb,.detected-items-list--scrollable::-webkit-scrollbar-thumb{background-color:#51a48c8c;border-radius:999px}.detected-item-row{width:100%;min-height:68px;display:flex;align-items:center;gap:12px;background-color:#fff;border:none;border-radius:16px;padding:10px;box-shadow:0 4px 14px #17332e0d;text-align:left;cursor:pointer;flex-shrink:0;transition:transform .15s ease}.detected-item-row:active{transform:scale(.99)}.detected-item-thumb{width:48px;height:48px;border-radius:12px;overflow:hidden;flex-shrink:0;background-color:#f0f5f3}.detected-item-thumb img{width:100%;height:100%;object-fit:cover;display:block}.detected-item-info{flex:1;min-width:0}.detected-item-name{color:#17332e;font-weight:600;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.detected-item-meta{color:#8a9a96;font-size:12px;margin-top:2px}.detected-item-chevron{flex-shrink:0}.view-details-wrapper{padding:0 6%;margin-top:0;padding-top:clamp(12px,2.2dvh,20px);padding-bottom:clamp(12px,2.6dvh,24px);flex-shrink:0}.view-details-btn{width:100%;min-height:clamp(40px,5.6dvh,48px);padding:0 clamp(16px,4vw,20px);border-radius:16px;border:none;background-color:#51a48c;color:#fff;font-weight:600;font-size:clamp(14px,3.8vw,16px);box-shadow:0 4px 12px #51a48c4d;cursor:pointer;transition:transform .15s ease,background-color .15s ease}.view-details-btn:hover{background-color:#438e78}.view-details-btn:active{transform:scale(.98)}.view-details-btn:focus-visible{outline:2px solid #51a48c;outline-offset:2px}@media(max-height:700px){.result-photo{height:clamp(118px,23dvh,165px);border-radius:20px}.detected-items-list--scrollable{max-height:none}.detected-item-row{min-height:60px;padding:8px}.detected-item-thumb{width:44px;height:44px}}@media(max-height:600px){.result-header{padding-top:8px;padding-bottom:6px}.result-photo-wrapper{margin-top:8px}.result-photo{height:96px;border-radius:16px}.macro-row,.detected-items-section{margin-top:10px}.detected-items-list,.detected-items-list--scrollable{gap:8px}.detected-items-list--scrollable{max-height:none}.detected-item-row{min-height:56px}.view-details-wrapper{padding-top:10px;padding-bottom:10px}}@media(max-width:360px){.macro-stat-label,.macro-total-label{font-size:10px}.detected-item-thumb{width:44px;height:44px}}@media(min-width:480px){.result-page{padding:clamp(12px,3vw,24px)}.result-card{border-radius:30px;height:min(680px,calc(100dvh - 32px));box-shadow:0 20px 40px #00000014}}.result-page{background:linear-gradient(155deg,#dff7ed,#f4fbf8 42%,#e9f6f1);color:#173b32;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.result-card{max-width:420px;background:linear-gradient(180deg,#fbfffd,#f3faf7);font-weight:650}.result-header{padding:16px 5% 11px;border-bottom:1px solid #dcefe7;background:#fbfffdeb}.result-header-title{flex:1;text-align:center}.result-header-title small{display:block;color:#67a08c;font-size:8px;font-weight:900;letter-spacing:1.6px}.result-header-title strong{display:block;margin-top:4px;color:#173f34;font-size:14px;font-weight:850;letter-spacing:-.15px}.icon-btn{border:1px solid #c9e9da;background:#eaf8f1;color:#227b61;box-shadow:0 5px 12px #26825e14}.icon-btn:hover{background:#d9f3e7}.result-titles{padding-top:17px}.result-title{color:#153f34;font-size:clamp(22px,5.5vw,27px);font-weight:900;letter-spacing:-.7px}.result-subtitle{color:#6e9083;font-size:12px;font-weight:650}.result-card p,.result-card button,.result-card label,.result-card strong,.result-card span{font-weight:650}.result-card .result-title,.result-card .result-header-title strong,.result-card .macro-total-value,.result-card .macro-stat-value,.result-card .detected-item-name{font-weight:900}.result-photo-wrapper{margin-top:16px}.result-photo{height:clamp(155px,29dvh,240px);border:1px solid #cce9db;border-radius:24px;box-shadow:0 13px 28px #26755721}.result-card .macro-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:stretch;padding:0 6%;margin-top:18px}.result-card .macro-total,.result-card .macro-stat{min-width:0;min-height:59px;padding:10px 7px;border:1px solid #d7eee3;border-radius:14px;background:#effaf5;text-align:center;box-shadow:0 4px 10px #2675570d}.result-card .macro-total{grid-column:1 / -1;display:flex;align-items:center;justify-content:center;gap:11px;min-height:58px}.result-card .macro-total-value{color:#167f62;font-size:28px;line-height:1;font-weight:900}.result-card .macro-total-label,.result-card .macro-stat-label{margin-top:4px;color:#77968a;font-size:10.5px;line-height:1.1;font-weight:800}.result-card .macro-total-label{margin-top:0}.result-card .macro-stat-value{font-size:19px;line-height:1;font-weight:900}.result-card .macro-stat-value--protein{color:#5b74c3}.result-card .macro-stat-value--carbs{color:#b57a22}.result-card .macro-stat-value--fats{color:#8b62b4}.detected-items-section{margin-top:20px}.detected-items-heading{color:#19493a;font-size:15px;font-weight:900;letter-spacing:-.2px}.detected-item-row{min-height:68px;border:1px solid #d3ebe0;border-radius:16px;background:linear-gradient(145deg,#fff,#f3fbf7);box-shadow:0 7px 16px #26755712}.detected-item-row:hover{background:#eaf9f1;transform:translateY(-2px)}.detected-item-thumb{width:50px;height:50px;border-radius:14px;box-shadow:0 4px 10px #264b3d21}.detected-item-name{color:#245a49;font-size:12px;font-weight:850}.detected-item-meta{color:#78978b;font-size:10px;font-weight:600}.detected-item-chevron path{stroke:#6ca18f}.view-details-wrapper{padding-top:16px;padding-bottom:18px}.view-details-btn{min-height:48px;border-radius:14px;background:linear-gradient(135deg,#27b88b,#087b61);font-size:14px;font-weight:850;box-shadow:0 9px 18px #148b6538}.view-details-btn:hover{background:linear-gradient(135deg,#1fa97e,#076e56)}.result-page{align-items:flex-start;overflow-y:auto;overflow-x:hidden}.result-card{min-height:100dvh;height:auto;display:block;overflow:visible;padding-bottom:24px}.result-card .macro-total-calories{border-color:#bce8d3;background:#eaf9f2}.result-card .macro-stat-protein{border-color:#d5dcf7;background:#f0f3ff}.result-card .macro-stat-carbs{border-color:#f0ddb3;background:#fff6e4}.result-card .macro-stat-fats{border-color:#e4d2f5;background:#f7f0ff}.result-header{position:sticky;top:0;z-index:5}.result-titles,.result-photo-wrapper,.result-card .macro-row,.detected-items-section,.view-details-wrapper{width:100%;box-sizing:border-box}.result-titles,.result-photo-wrapper{padding-left:6%;padding-right:6%}.result-card .macro-row{margin-bottom:0}.detected-items-section{min-height:0;display:block;margin-left:6%;margin-right:6%;padding:16px 13px 13px;width:88%;border:1px solid #cfe9dd;border-radius:20px;background:linear-gradient(145deg,#fff,#f1faf6);box-shadow:0 10px 24px #26755717}.detected-items-heading{margin-bottom:12px}.detected-items-list,.detected-items-list--scrollable{max-height:none;height:auto;overflow:visible;padding:0}.detected-item-row{box-sizing:border-box}.detected-items-list,.detected-items-list--scrollable{max-height:260px;overflow-y:auto;padding-right:5px;scrollbar-width:thin;scrollbar-color:#8acdb2 transparent}.view-details-wrapper{padding-left:6%;padding-right:6%}.add-tracker-btn{position:relative;display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:50px;margin-bottom:10px;overflow:hidden;border:1.5px solid #087b5d;border-radius:15px;outline:1px solid rgba(122,231,193,.28);outline-offset:-4px;color:#fff;background:linear-gradient(135deg,#36c99a,#159875 52%,#087157);font-size:14px;font-weight:900;letter-spacing:.1px;cursor:pointer;box-shadow:0 10px 22px #12916747,inset 0 1px #ffffff59;transition:background .2s ease,transform .2s ease,box-shadow .2s ease,outline-color .2s ease}.add-tracker-btn:before{content:"+";display:grid;place-items:center;width:23px;height:23px;border:1px solid rgba(255,255,255,.55);border-radius:50%;background:#ffffff29;font-size:19px;font-weight:500;line-height:1}.add-tracker-btn:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(110deg,transparent 25%,rgba(255,255,255,.2) 48%,transparent 70%);transform:translate(-115%);transition:transform .55s ease;pointer-events:none}.add-tracker-btn:hover{background:linear-gradient(135deg,#48d5a7,#18a17b 52%,#087b60);transform:translateY(-2px);box-shadow:0 14px 27px #12916757,inset 0 1px #fff6}.add-tracker-btn:hover:after{transform:translate(115%)}.add-tracker-btn:active{transform:translateY(0);box-shadow:0 7px 14px #12916738}.add-tracker-btn.added{border-color:#168765;background:linear-gradient(135deg,#218e70,#126950);box-shadow:0 8px 18px #148b6533}.add-tracker-btn.added:before{content:"✓";font-size:14px}.detected-item-remove{width:24px;height:24px;display:grid;place-items:center;flex:0 0 24px;border:1px solid #f0c7c0;border-radius:8px;color:#bf675b;background:#fff5f2;font-size:17px;line-height:1;cursor:pointer;transition:background .2s ease,color .2s ease,transform .2s ease}.detected-item-remove:hover{color:#a7473c;background:#ffe7e1;transform:scale(1.05)}.remove-item-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:grid;place-items:center;padding:20px;background:#13372d6b;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:remove-dialog-fade .18s ease-out}.remove-item-dialog{width:min(100%,340px);padding:22px 20px 18px;border:1px solid #d8ebe2;border-radius:24px;background:linear-gradient(145deg,#fff,#f3fbf7);box-shadow:0 22px 60px #15473740;animation:remove-dialog-rise .2s ease-out}.remove-item-dialog-icon{display:grid;place-items:center;width:42px;height:42px;margin-bottom:14px;border:1px solid #f0c7c0;border-radius:14px;color:#bd6256;background:#fff1ee;font-size:26px;font-weight:500;line-height:1}.remove-item-dialog-copy>span{color:#bd756a;font-size:10px;font-weight:900;letter-spacing:1.1px}.remove-item-dialog-copy h2{margin:6px 0 7px;color:#173f34;font-size:19px;font-weight:900;letter-spacing:-.3px}.remove-item-dialog-copy p{margin:0;color:#6d8c81;font-size:12px;font-weight:600;line-height:1.55}.remove-item-dialog-actions{display:grid;grid-template-columns:1fr 1.15fr;gap:9px;margin-top:20px}.remove-item-dialog-actions button{min-height:43px;border-radius:12px;font-size:12px;font-weight:850;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.remove-item-dialog-actions button:hover{transform:translateY(-1px)}.remove-item-cancel{border:1px solid #cfe5da;color:#30725e;background:#eef9f4}.remove-item-cancel:hover{background:#e2f4ec}.remove-item-confirm{border:1px solid #c9786d;color:#fff;background:linear-gradient(135deg,#d78679,#b6574d);box-shadow:0 7px 15px #b6574d33}.remove-item-confirm:hover{box-shadow:0 10px 19px #b6574d47}.tracker-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:101;display:grid;place-items:center;padding:20px;background:#13372d6b;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:remove-dialog-fade .18s ease-out}.tracker-dialog{width:min(100%,340px);padding:22px 20px 18px;border:1px solid #b9e3d0;border-radius:24px;background:linear-gradient(145deg,#fff,#f0fbf6);box-shadow:0 22px 60px #15473740;animation:remove-dialog-rise .2s ease-out}.tracker-dialog-icon{display:grid;place-items:center;width:42px;height:42px;margin-bottom:14px;border:1px solid #95d8ba;border-radius:14px;color:#168765;background:#e3f8ed;font-size:20px;font-weight:900}.tracker-dialog-copy>span{color:#168765;font-size:10px;font-weight:900;letter-spacing:1.1px}.tracker-dialog-copy h2{margin:6px 0 7px;color:#173f34;font-size:19px;font-weight:900;letter-spacing:-.3px}.tracker-dialog-copy p{margin:0;color:#6d8c81;font-size:12px;font-weight:600;line-height:1.55}.tracker-dialog-summary{display:flex;gap:7px;margin-top:16px}.tracker-dialog-summary span{flex:1;padding:9px 5px;border:1px solid #d2ebe0;border-radius:11px;color:#6a8d80;background:#f7fcf9;font-size:10px;font-weight:700;text-align:center}.tracker-dialog-summary strong{display:block;margin-bottom:2px;color:#1b765b;font-size:13px;font-weight:900}.tracker-dialog-actions{display:grid;grid-template-columns:1fr 1.2fr;gap:9px;margin-top:20px}.tracker-dialog-actions button{min-height:43px;border-radius:12px;font-size:12px;font-weight:850;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.tracker-dialog-actions button:hover{transform:translateY(-1px)}.tracker-dialog-cancel{border:1px solid #cfe5da;color:#30725e;background:#eef9f4}.tracker-dialog-cancel:hover{background:#e2f4ec}.tracker-dialog-confirm{border:1px solid #087b5d;color:#fff;background:linear-gradient(135deg,#32bf91,#08765a);box-shadow:0 7px 15px #12916738}.tracker-dialog-confirm:hover{box-shadow:0 10px 19px #1291674d}@keyframes remove-dialog-fade{0%{opacity:0}to{opacity:1}}@keyframes remove-dialog-rise{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.icon-btn-saved{background:#d9f3e7;border-color:#8dd2b3;box-shadow:0 5px 14px #26825e29}.view-details-wrapper{display:flex;flex-direction:column;gap:10px}.view-details-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:46px;border:1.5px solid #a9cbbc;border-radius:14px;outline:1px solid rgba(255,255,255,.8);outline-offset:-4px;color:#397060;background:linear-gradient(145deg,#f8fcfa,#eaf4f0);box-shadow:0 5px 12px #26755714,inset 0 1px #ffffffe6;font-size:13px;font-weight:850;letter-spacing:.1px;cursor:pointer;transition:background .2s ease,border-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease}.view-details-btn:after{content:"↻";display:grid;place-items:center;width:23px;height:23px;border:1px solid #a9cbbc;border-radius:50%;color:#258267;background:#fff;font-size:16px;line-height:1}.view-details-btn:hover{color:#176b53;border-color:#8fc7b1;background:linear-gradient(145deg,#fff,#e1f3eb);transform:translateY(-1px);box-shadow:0 9px 17px #26755721,inset 0 1px #fffffff2}.view-details-btn:active{transform:translateY(0);box-shadow:0 4px 9px #26755714}.item-details-page{background-color:#f4f6f8;display:flex;justify-content:center;align-items:center;width:100%;height:100vh;height:100svh;height:100dvh;overflow:hidden;padding:0}.item-details-card{width:100%;max-width:min(390px,100%);height:100%;min-height:0;background-color:#fff;position:relative;display:flex;flex-direction:column;padding:clamp(12px,2.6dvh,24px) clamp(18px,5vw,24px);overflow:hidden;-webkit-user-select:none;user-select:none}.item-details-nav{display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.item-details-icon-btn{width:38px;height:38px;border-radius:50%;border:none;background-color:#fff;color:#17332e;box-shadow:0 2px 8px #17332e14;display:flex;align-items:center;justify-content:center;cursor:pointer}.item-details-hero{display:flex;align-items:center;gap:14px;margin-top:clamp(8px,1.8dvh,16px);flex-shrink:0}.item-details-image-wrap{width:clamp(92px,25vw,118px);height:clamp(76px,20vw,96px);border-radius:18px;overflow:hidden;flex-shrink:0}.item-details-image-wrap img{width:100%;height:100%;object-fit:cover}.item-details-title-block h1{color:#111827;font-size:clamp(19px,5.2vw,24px);font-weight:800;line-height:1.15;margin:0 0 6px}.item-details-title-block p{color:#6b7280;font-size:clamp(12px,3.3vw,14px);font-weight:700;margin:0}.item-details-top-metrics{display:grid;grid-template-columns:1.45fr 1fr;gap:12px;margin-top:clamp(18px,3.2dvh,28px);flex-shrink:0}.item-details-calorie-card,.item-details-protein-card,.item-details-macro-card{background-color:#f4fbf8;border-radius:14px;min-height:clamp(72px,13dvh,92px);display:flex;flex-direction:column;align-items:center;justify-content:center}.item-details-calorie-card{background-color:#fff;box-shadow:0 8px 24px #17332e14}.item-details-calorie-card strong{color:#111827;font-size:clamp(25px,7vw,32px);line-height:1}.item-details-calorie-card span{color:#6b7280;font-size:12px;font-weight:700;margin-top:6px}.item-details-protein-card strong,.item-details-protein-card span,.item-details-macro-card strong,.item-details-macro-card span{color:#3b8770}.item-details-protein-card strong,.item-details-protein-card span{font-size:14px;line-height:1.15;font-weight:800}.item-details-macro-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px;flex-shrink:0}.item-details-macro-card{min-height:clamp(58px,10dvh,76px)}.item-details-macro-card strong{font-size:clamp(16px,4.2vw,19px);line-height:1}.item-details-macro-card span{font-size:12px;font-weight:800;margin-top:6px}.item-details-nutrition{margin-top:clamp(20px,3.5dvh,28px);min-height:0;flex:1;display:flex;flex-direction:column;overflow:hidden}.item-details-nutrition h2{color:#111827;font-size:clamp(17px,4.6vw,20px);font-weight:800;margin:0;flex-shrink:0}.item-details-nutrition p{color:#6b7280;font-size:12px;font-weight:600;margin:4px 0 10px;flex-shrink:0}.item-details-table{display:flex;flex-direction:column;min-height:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;padding-right:4px;scrollbar-width:thin;scrollbar-color:rgba(81,164,140,.55) transparent}.item-details-table::-webkit-scrollbar{width:4px}.item-details-table::-webkit-scrollbar-thumb{background-color:#51a48c8c;border-radius:999px}.item-details-row{min-height:32px;border-bottom:1px solid #edf2f0;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.item-details-row span,.item-details-row strong{font-size:clamp(12px,3.2vw,14px);line-height:1.2}.item-details-row span{color:#374151;font-weight:700}.item-details-row strong{color:#111827;font-weight:800;letter-spacing:0}.item-details-row small{color:#6b7280;font-size:12px;font-weight:700}.item-details-edit-btn{width:100%;min-height:clamp(40px,5.6dvh,48px);border:none;border-radius:14px;background-color:#51a48c;color:#fff;font-size:clamp(14px,3.8vw,16px);font-weight:700;box-shadow:0 4px 12px #51a48c4d;flex-shrink:0;cursor:pointer}@media(min-width:480px){.item-details-page{padding:clamp(12px,3vw,24px)}.item-details-card{height:min(680px,calc(100dvh - 32px));border-radius:30px;box-shadow:0 20px 40px #00000014}}@media(max-height:600px){.item-details-card{padding-top:10px;padding-bottom:10px}.item-details-hero{margin-top:6px}.item-details-image-wrap{width:82px;height:66px}.item-details-top-metrics{margin-top:10px}.item-details-calorie-card,.item-details-protein-card{min-height:58px}.item-details-macro-card{min-height:48px}.item-details-nutrition{margin-top:12px}.item-details-row{min-height:27px}}:root{--dashboard-ink: #101817;--dashboard-muted: #5f6969;--dashboard-line: #edf0ef;--dashboard-mint: #58b89e;--dashboard-mint-dark: #268e78;--dashboard-bg: #f5f7f6}.dashboard-viewport{position:fixed;top:0;right:0;bottom:0;left:0;height:100dvh;background:var(--dashboard-bg);display:flex;justify-content:center;overflow:hidden;color:var(--dashboard-ink)}.dashboard-page{width:100%;max-width:420px;height:100%;min-height:0;background:#fff;padding:14px 18px 78px;position:relative}.dashboard-header,.dashboard-header-actions,.section-heading,.summary-card,.meal-row{display:flex;align-items:center}.dashboard-brandbar{display:flex;align-items:center;justify-content:space-between;margin:0 3px 18px}.dashboard-brand{display:inline-flex;align-items:center;gap:8px;color:#17201e;text-decoration:none}.dashboard-brand-mark{width:34px;height:34px;border-radius:11px;overflow:hidden;background:#effaf6;box-shadow:0 3px 8px #40977f29}.dashboard-brand-mark img{width:100%;height:100%;display:block;object-fit:cover;transform:scale(1.42)}.dashboard-brand-copy{display:flex;flex-direction:column;gap:2px}.dashboard-brand-copy strong{color:#17201e;font-size:17px;line-height:1;letter-spacing:-.5px}.dashboard-brand-copy strong span{color:var(--dashboard-mint-dark)}.dashboard-brand-copy small{color:var(--dashboard-muted);font-size:8px;line-height:1;letter-spacing:-.05px}.dashboard-header{justify-content:space-between;margin:0 3px 18px}.dashboard-header h1{color:#0d1413;font-size:21px;line-height:1.2;letter-spacing:-.55px;font-weight:850}.dashboard-header h1 span{font-size:17px}.dashboard-header p{color:var(--dashboard-muted);font-size:13px;margin-top:7px;letter-spacing:-.1px}.dashboard-profile-setup{display:block;margin:0 0 18px;padding:15px 16px;border:1px solid #9edfc1;border-radius:17px;color:#176d54;background:linear-gradient(135deg,#e8fbf1,#d7f4e6);text-decoration:none;box-shadow:0 7px 18px #1e825c1a}.dashboard-profile-setup strong,.dashboard-profile-setup span,.dashboard-profile-setup b{display:block}.dashboard-profile-setup strong{font-size:14px}.dashboard-profile-setup span{margin-top:4px;color:#5c8878;font-size:11px}.dashboard-profile-setup b{margin-top:10px;font-size:11px}.weekly-scans-card{overflow:hidden;padding:12px 10px 10px;border:1px solid #d7eee5;border-radius:18px;background:#fff;box-shadow:0 8px 20px #1f745812}.weekly-day-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;align-items:stretch;min-height:78px}.weekly-day{position:relative;display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:8px 2px;border:0;border-radius:15px;color:#556963;background:transparent;cursor:pointer;font:inherit;transition:background .2s ease,color .2s ease,transform .2s ease}.weekly-day:hover{background:#edf9f4;transform:translateY(-1px)}.weekly-day.selected{color:#fff;background:#4caf50;box-shadow:0 7px 14px #4caf503d}.weekly-day span{font-size:10px;font-weight:700}.weekly-day strong{font-size:19px;line-height:1}.weekly-day i{width:5px;height:5px;border-radius:50%;background:currentColor}.weekly-scans-empty{grid-column:1 / -1;display:grid;place-items:center;color:#789287;font-size:11px}.weekly-day-summary{display:flex;align-items:center;gap:8px;margin-top:9px;padding:8px 10px;border-top:1px solid #edf5f1;color:#6f8b81;font-size:10px}.weekly-day-summary strong{color:#188464;font-size:12px}.scanner-profile-gate{display:grid;place-items:center;padding:28px;text-align:center;color:#dff7ed;background:linear-gradient(145deg,#123f35,#087b61)}.scanner-profile-gate strong{display:block;font-size:20px}.scanner-profile-gate p{max-width:290px;margin:10px auto 18px;color:#b9e9d5;font-size:13px;line-height:1.5}.scanner-profile-gate a{display:inline-block;padding:12px 18px;border-radius:12px;color:#126d53;background:#e7faf1;font-size:13px;font-weight:800;text-decoration:none}.dashboard-header-actions{gap:17px}.icon-button{border:0;background:transparent;color:#222b2a;padding:4px;cursor:pointer}.icon-button svg{width:22px;height:22px}.dashboard-avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;display:block}.dashboard-avatar-fallback{background:linear-gradient(145deg,#e7f5ef,#9bd4c1);color:var(--dashboard-mint-dark);display:flex;align-items:center;justify-content:center;position:relative}.dashboard-avatar-fallback span{position:absolute;font-size:7px;font-weight:800;bottom:2px;right:2px;background:#fff;border-radius:5px;padding:1px}.scan-hero{min-height:clamp(82px,24vw,121px);padding:18px 20px 18px 27px;border-radius:18px;background:linear-gradient(110deg,#80cbb6,#51ad97);color:#fff;display:flex;align-items:center;justify-content:space-between;text-decoration:none;box-shadow:0 8px 20px #50ac9433}.scan-hero strong,.scan-hero span{display:block}.scan-hero strong{font-size:clamp(18px,4.6vw,24px);margin-bottom:7px;letter-spacing:-.35px}.scan-hero div>span{font-size:clamp(11px,2.8vw,15px);opacity:.92}.scan-hero-icon{width:clamp(45px,11vw,68px);height:clamp(45px,11vw,68px);background:#fffffff0;color:var(--dashboard-mint);border-radius:50%;display:grid!important;place-items:center}.scan-hero-icon svg{width:25px;height:25px}.dashboard-section{margin-top:22px}.section-heading{justify-content:space-between;margin-bottom:10px}.section-heading h2{color:#101817;font-size:15px;font-weight:850;letter-spacing:-.2px}.section-heading button,.section-heading a{color:var(--dashboard-mint-dark);font-size:12px;font-weight:700;text-decoration:none;border:0;background:transparent}.summary-card{min-height:clamp(151px,44vw,218px);border:1px solid #edf0ef;border-radius:18px;padding:20px 15px;gap:20px;box-shadow:0 7px 20px #1f37300f}.summary-ring{width:clamp(101px,29vw,174px);height:clamp(101px,29vw,174px);flex:0 0 clamp(101px,29vw,174px);border-radius:50%;background:conic-gradient(var(--dashboard-mint-dark) 0 var(--progress),#e5eae8 var(--progress) 360deg);display:grid;place-items:center}.summary-ring-inner{width:80%;height:80%;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}.summary-ring strong{font-size:clamp(18px,4vw,25px)}.summary-ring span{color:var(--dashboard-muted);font-size:clamp(10px,2.5vw,14px);margin-top:3px}.summary-ring b{font-size:clamp(12px,3vw,17px);margin-top:5px}.macro-list{flex:1;min-width:0}.macro-row{position:relative;padding:2px 0 13px;border-bottom:1px solid #f0f2f1;margin-bottom:10px;font-size:clamp(12px,3vw,16px)}.macro-row:last-child{border-bottom:0;margin-bottom:0}.macro-label{display:inline-flex;align-items:center;gap:5px;font-weight:700}.macro-row strong{float:right;font-size:clamp(11px,2.8vw,15px)}.macro-row small{color:var(--dashboard-muted);font-size:clamp(10px,2.4vw,13px);font-weight:400}.macro-icon{font-size:clamp(17px,4vw,23px);line-height:1}.macro-icon.protein{color:#31ac8d}.macro-icon.carbs,.macro-icon.fat{color:#f59c2d}.macro-track{height:4px;background:#edf1ef;border-radius:10px;margin-top:8px}.macro-track span{display:block;height:100%;border-radius:inherit}.meal-list{border:1px solid #edf0ef;border-radius:16px;padding:5px 12px;box-shadow:0 6px 18px #1f37300e}.recent-section{margin-top:27px}.recent-section .section-heading{margin-bottom:13px}.recent-section .section-heading h2{color:#0d1413;font-size:clamp(16px,3.7vw,20px);letter-spacing:-.3px}.recent-section .section-heading a{font-size:clamp(12px,3vw,15px)}.meal-list{min-height:clamp(101px,22vw,122px);max-height:215px;overflow-y:auto;padding:9px 14px;border-radius:18px;scrollbar-width:thin;scrollbar-color:#a9d8ca transparent}.meal-row{min-height:clamp(85px,19vw,105px);gap:16px;border-bottom:1px solid #f0f2f1}.meal-row:last-child{border-bottom:0}.meal-row img{width:clamp(62px,16vw,91px);height:clamp(62px,16vw,91px);border-radius:50%;object-fit:cover;box-shadow:0 3px 8px #202f2b2e}.meal-copy{flex:1;min-width:0}.meal-copy strong,.meal-copy span{display:block}.meal-copy strong{color:#101817;font-size:clamp(14px,3.5vw,18px);font-weight:850;letter-spacing:-.2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.meal-copy span{color:var(--dashboard-muted);font-size:clamp(11px,2.7vw,14px);margin-top:6px}.meal-row>svg{color:#202a28}.meal-row>svg{width:24px;height:24px;stroke-width:1.8}.loading-row{color:var(--dashboard-muted);font-size:11px;padding:24px 0;text-align:center}.dashboard-empty-meals{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:22px 14px;text-align:center;gap:8px}.dashboard-empty-meals p{margin:0;color:#6d8e82;font-size:12px;font-weight:600}.dashboard-empty-scan-link{display:inline-flex;align-items:center;gap:6px;margin-top:4px;padding:8px 14px;border-radius:12px;background:linear-gradient(135deg,#27b88b,#0c7c62);color:#fff;font-size:11.5px;font-weight:800;text-decoration:none;box-shadow:0 4px 12px #178c6633;transition:transform .2s ease}.dashboard-empty-scan-link:hover{transform:translateY(-1px)}.dashboard-nav{position:fixed!important;z-index:9999!important;bottom:max(22px,calc(16px + env(safe-area-inset-bottom,0px)))!important;left:50%!important;transform:translate(-50%)!important;width:min(406px,calc(100vw - 24px))!important;height:70px!important;border:1px solid rgba(220,238,230,.95)!important;border-radius:22px!important;background:#fffffff7!important;box-shadow:0 10px 30px #183c3029!important;display:flex!important;align-items:center!important;justify-content:space-around!important;padding:0 6px!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important;pointer-events:auto!important}.dashboard-nav a{color:#7c8384;text-decoration:none;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:10px;font-weight:500;min-width:52px}.dashboard-nav a svg{width:23px;height:23px;stroke-width:1.8}.dashboard-nav a.active{color:var(--dashboard-mint-dark);font-weight:700}.dashboard-nav .scan-nav{position:relative;margin-top:-24px}.dashboard-nav .scan-nav>span{width:56px;height:56px;display:grid;place-items:center;position:relative;border-radius:50%;color:#fff;background:radial-gradient(circle at 35% 28%,#b6e8d9,#58b89e 58%,#39977f);box-shadow:0 8px 18px #238e7361;border:4px solid #fff;transition:transform .2s cubic-bezier(.2,1,.3,1),box-shadow .2s ease}.dashboard-nav .scan-nav:hover>span{transform:scale(1.06);box-shadow:0 10px 22px #238e7373}.dashboard-nav .scan-nav:active>span{transform:scale(.94)}.dashboard-nav .scan-nav>span b{position:absolute;top:7px;right:10px;color:#fff4bf;font-size:12px;line-height:1}.dashboard-nav .scan-nav small{font-size:10px;color:#7c8384}@media(min-width:480px){.dashboard-page{height:min(760px,calc(100dvh - 32px));margin:16px 0;border-radius:28px;box-shadow:0 16px 40px #162b251a;padding-top:28px}}.route-transition{min-height:100%;animation:route-page-in .2s ease-out}@keyframes route-page-in{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.route-transition{animation:none}}@property --progress{syntax: "<angle>"; inherits: false; initial-value: 0deg;}.dashboard-viewport{background:linear-gradient(145deg,#dff5eb,#f2f8f5 43%,#e8f3ef)}.dashboard-page{background:linear-gradient(180deg,#fbfffd,#f6fbf9);color:#173b32;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;overflow-y:auto;overflow-x:hidden;padding-bottom:138px;scrollbar-width:none}.dashboard-page::-webkit-scrollbar{display:none}.dashboard-brandbar{margin-bottom:24px}.dashboard-brand-mark{width:39px;height:39px;border-radius:13px;background:#e2f7ed;box-shadow:0 6px 14px #28916929}.dashboard-brand-copy strong{color:#173f34;font-size:18px;font-weight:850}.dashboard-brand-copy strong span{color:#25a47f}.dashboard-brand-copy small{color:#719589;font-size:8px;font-weight:700;letter-spacing:.05px}.dashboard-header{margin-bottom:20px}.dashboard-header h1{color:#153d33;font-size:23px;letter-spacing:-.7px}.dashboard-header p{color:#6b8a7f;font-size:12px;font-weight:600}.icon-button{color:#287b64}.dashboard-avatar-fallback{background:linear-gradient(145deg,#d9f5e9,#8bceb8);color:#177b60;box-shadow:0 5px 12px #2285602e}.scan-hero{position:relative;min-height:118px;overflow:hidden;border:1px solid rgba(49,160,121,.22);border-radius:22px;background:radial-gradient(circle at 93% 20%,rgba(171,246,213,.32),transparent 30%),linear-gradient(120deg,#2bb18a,#168a6b);box-shadow:0 12px 25px #1f8e6833;transition:transform .22s ease,box-shadow .22s ease}.scan-hero:after{content:"";position:absolute;width:150px;height:150px;right:-70px;bottom:-100px;border:1px solid rgba(255,255,255,.25);border-radius:50%;box-shadow:0 0 0 16px #ffffff0d,0 0 0 32px #ffffff0a;pointer-events:none}.scan-hero:hover{transform:translateY(-3px);box-shadow:0 17px 30px #1f8e6847}.scan-hero:active{transform:translateY(0) scale(.99)}.scan-hero-copy{position:relative;z-index:1}.scan-hero-copy small{margin-bottom:8px;color:#c9f7e3;font-size:9px;font-weight:900;letter-spacing:1.4px}.scan-hero strong{font-size:20px;font-weight:850;letter-spacing:-.5px}.scan-hero div>span{color:#e1fff3;font-size:11px;font-weight:600}.scan-hero-icon{position:relative;z-index:1;width:59px;height:59px;color:#158465;box-shadow:0 7px 14px #08563e1f}.scan-hero-icon b{position:absolute;top:6px;right:8px;color:#e8b957;font-size:11px;line-height:1}.dashboard-section{margin-top:24px}.section-heading{margin:0 3px 11px}.section-heading h2{color:#174437;font-size:16px;font-weight:850;letter-spacing:-.3px}.section-heading button,.section-heading a{color:#168363;font-size:11px;font-weight:850}.summary-card{min-height:178px;border:1px solid #cfe9dd;border-top:3px solid #2ab48c;border-radius:21px;padding:18px 14px;gap:17px;background:linear-gradient(145deg,#fff,#effaf5);box-shadow:0 12px 25px #247d5c1a}.summary-ring{background:conic-gradient(#189775 0 var(--progress),#dcece5 var(--progress) 360deg);box-shadow:inset 0 0 0 1px #18977514;transition:--progress .75s cubic-bezier(.22,1,.36,1)}.summary-ring-inner{background:#fbfffd}.summary-ring strong{color:#173f34;font-weight:850}.summary-ring span{color:#6d8d81;font-weight:600}.summary-ring b{color:#168363;font-weight:850}.macro-row{color:#24584a;padding-bottom:12px;border-bottom-color:#dfeee8}.macro-row strong{color:#1b5b49;font-weight:850}.macro-row small{color:#7a998e}.macro-track{height:6px;background:#dfeee8}.macro-icon{filter:saturate(.8)}.recent-section{margin-top:28px}.recent-section .section-heading h2{color:#174437;font-size:16px}.meal-list{border:1px solid #cfe9dd;border-top:3px solid #e8ae49;border-radius:20px;padding:8px 14px;background:#fffdf8;box-shadow:0 10px 23px #85682e14}.meal-row{min-height:82px;gap:13px;border-bottom-color:#f0eadc}.meal-row img{width:58px;height:58px;border-radius:16px;box-shadow:0 5px 11px #38483f29}.meal-copy strong{color:#254b40;font-size:13px;font-weight:850}.meal-copy span{color:#789287;font-size:10px;font-weight:600}.meal-row>svg{color:#b78a35;width:19px;height:19px}.loading-row{color:#6f8f82}.dashboard-modal-backdrop{position:fixed;z-index:40;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:18px;background:#113b2f4d;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.dashboard-goal-modal{width:min(100%,360px);padding:22px;border:1px solid #c5ead9;border-radius:24px;background:#fbfffd;box-shadow:0 22px 55px #13513b38;color:#214d3e}.dashboard-modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.dashboard-modal-heading span{color:#6ca18f;font-size:9px;font-weight:900;letter-spacing:1.3px}.dashboard-modal-heading h2{margin-top:4px;color:#173f34;font-size:19px;letter-spacing:-.4px}.dashboard-modal-heading button{width:30px;height:30px;border:0;border-radius:10px;color:#5b8174;background:#eaf7f1;font-size:21px;line-height:1;cursor:pointer}.dashboard-goal-modal>p{margin-top:13px;color:#6a897d;font-size:11px;line-height:1.55}.dashboard-goal-modal>label{display:block;margin-top:18px;color:#5e8375;font-size:10px;font-weight:850}.dashboard-goal-input-wrap{display:flex;align-items:center;gap:8px;margin-top:7px;padding:3px 12px;border:1px solid #cfe9dd;border-radius:12px;background:#f5fcf8}.dashboard-goal-input-wrap:focus-within{border-color:#36b88e;box-shadow:0 0 0 3px #36b88e21}.dashboard-goal-input-wrap input{width:100%;padding:9px 0;border:0;outline:0;color:#174c3c;background:transparent;font-size:20px;font-weight:850}.dashboard-goal-input-wrap span{color:#6d9586;font-size:11px;font-weight:800}.dashboard-goal-modal>small{display:block;margin-top:6px;color:#8aa49b;font-size:10px}.dashboard-goal-save{width:100%;margin-top:19px;padding:12px;border:0;border-radius:12px;color:#fff;background:linear-gradient(135deg,#27b88b,#087b61);font-size:12px;font-weight:850;cursor:pointer;box-shadow:0 7px 15px #148b6533}.dashboard-goal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.dashboard-goal-grid>label{color:#5e8375;font-size:10px;font-weight:850}.dashboard-goal-grid .dashboard-goal-input-wrap{margin-top:6px}.dashboard-goal-grid .dashboard-goal-input-wrap input{font-size:16px}.dashboard-goal-grid>label{padding:10px;border:1px solid transparent;border-radius:13px}.dashboard-goal-grid .goal-field-calories{color:#168363;background:#eaf9f2;border-color:#bce8d3}.dashboard-goal-grid .goal-field-protein{color:#6078c4;background:#f0f3ff;border-color:#d5dcf7}.dashboard-goal-grid .goal-field-carbs{color:#ad761f;background:#fff6e4;border-color:#f0ddb3}.dashboard-goal-grid .goal-field-fat{color:#8860b8;background:#f7f0ff;border-color:#e4d2f5}.macro-row.protein .macro-label{color:#536ebd}.macro-row.protein .macro-icon{color:#6684d9;background:#e9edff}.macro-row.carbs .macro-label{color:#a56f1d}.macro-row.carbs .macro-icon{color:#d08b26;background:#fff1d4}.macro-row.fat .macro-label{color:#8055ad}.macro-row.fat .macro-icon{color:#9667c7;background:#f1e7ff}.macro-row.protein,.macro-row.carbs,.macro-row.fat{padding-left:7px;border-left:3px solid transparent}.macro-row.protein{border-left-color:#6684d9}.macro-row.carbs{border-left-color:#e4a139}.macro-row.fat{border-left-color:#9a6bc9}.scanner-viewport{position:fixed;top:0;right:0;bottom:0;left:0;background:#edf0ef;display:flex;justify-content:center;overflow:hidden;color:#fff}.scanner-screen{width:100%;max-width:420px;height:100dvh;background:#5b6264;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}.scanner-preview{position:absolute;top:0;right:0;bottom:142px;left:0;overflow:hidden;background:#5b6264}.scanner-food-image,.scanner-video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.scanner-food-image{filter:saturate(.93) contrast(.95)}.scanner-food-image.has-preview{filter:none}.scanner-video{z-index:1}.scanner-camera-placeholder{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;background:linear-gradient(160deg,#566064,#2e3739);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#ffffffeb;text-align:center;padding:35px}.scanner-camera-placeholder strong{font-size:18px}.scanner-camera-placeholder span{max-width:250px;color:#ffffffbf;font-size:12px;line-height:1.5}.scanner-shade{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,#161d2085,#191e200a 38%,#191e200a 70%,#14181a61);z-index:2}.scanner-topbar{position:absolute;z-index:5;top:18px;left:16px;right:16px;display:flex;justify-content:space-between}.scanner-round-button{width:35px;height:35px;display:grid;place-items:center;border:0;border-radius:50%;background:#fffffff0;color:#1d2625;text-decoration:none;cursor:pointer}.scanner-round-button.flash-active{background:#62bea5;color:#fff}.scanner-frame{position:absolute;z-index:4;top:18%;right:8%;bottom:19%;left:8%;border:1px solid rgba(177,247,220,.22);border-radius:24px;box-shadow:0 0 0 999px #08181614,inset 0 0 28px #72e0bc14}.scanner-frame:before{content:"";position:absolute;z-index:1;left:4%;right:4%;top:0;height:2px;border-radius:99px;background:linear-gradient(90deg,transparent,#b8ffe4 18%,#35d9a3 50%,#b8ffe4 82%,transparent);box-shadow:0 0 12px #58e0aef2,0 0 28px #58e0ae80;animation:scanner-beam 2.6s ease-in-out infinite}.scanner-frame:after{content:"🍽  FOOD SCAN  •  LIVE";position:absolute;top:-30px;left:50%;transform:translate(-50%);padding:6px 11px;border:1px solid rgba(185,255,228,.32);border-radius:999px;color:#d7ffef;background:#0c30286b;box-shadow:0 4px 14px #0000001f;font-size:8px;font-weight:900;letter-spacing:1.1px;white-space:nowrap}.scanner-frame span{position:absolute;width:42px;height:42px;border-color:#ffffffe6}.scanner-frame span:nth-child(1){top:0;left:0;border-top:2px solid;border-left:2px solid;border-radius:17px 0 0}.scanner-frame span:nth-child(2){top:0;right:0;border-top:2px solid;border-right:2px solid;border-radius:0 17px 0 0}.scanner-frame span:nth-child(3){bottom:0;left:0;border-bottom:2px solid;border-left:2px solid;border-radius:0 0 0 17px}.scanner-frame span:nth-child(4){bottom:0;right:0;border-bottom:2px solid;border-right:2px solid;border-radius:0 0 17px}.scanner-hint{position:absolute;z-index:5;left:50%;bottom:18%;transform:translate(-50%);width:max-content;max-width:85%;padding:10px 20px 10px 14px;border:1px solid rgba(196,255,234,.22);border-radius:22px;background:#193933b8;color:#eafff7;font-size:11px;font-weight:700;text-align:center;box-shadow:0 8px 20px #0000001f}.scanner-hint:before{content:"🍴";margin-right:7px;color:#b9ffe5}.scanner-controls{position:absolute;z-index:6;left:0;right:0;bottom:0;height:142px;padding:23px 36px 22px;background:#616768;display:flex;align-items:center;justify-content:space-between}.scanner-side-control{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:54px}.scanner-side-control>span{color:#fff;font-size:14px}.scanner-action-button{width:50px;height:50px;display:grid;place-items:center;border:0;border-radius:13px;background:#fffffff5;color:#293130;cursor:pointer}.scanner-side-control input{display:none}.scanner-capture{width:80px;height:80px;padding:5px;border:0;border-radius:50%;background:#fff;box-shadow:0 2px 8px #0003;cursor:pointer}.scanner-capture>span{width:100%;height:100%;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 35% 30%,#a0dfcc,#58b89e 55%,#3f9e88);color:#fff}.capture-glow{width:100%;height:100%;display:block;border-radius:50%}.scanner-processing,.scanner-result,.scanner-error{position:absolute;z-index:7;left:20px;right:20px;bottom:28px;padding:13px 16px;border-radius:14px;background:#fffffff2;color:#1d2926;font-size:12px;display:flex;align-items:center;gap:8px}.scanner-analysis-overlay{position:absolute;z-index:8;left:50%;top:50%;display:flex;flex-direction:column;align-items:center;width:min(240px,72%);padding:22px 18px 20px;transform:translate(-50%,-50%);border:1px solid rgba(191,255,232,.45);border-radius:24px;color:#effff9;background:#0a322bd6;box-shadow:0 18px 45px #00000047,inset 0 1px #ffffff2e;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);text-align:center;animation:scanner-analysis-in .3s ease-out}.scanner-analysis-orbit{position:relative;display:grid;place-items:center;width:76px;height:76px;margin-bottom:13px;border:1px solid rgba(183,255,226,.5);border-radius:50%;background:radial-gradient(circle,#64cbaa 0%,#197a61 58%,rgba(22,93,73,.45) 59%,transparent 61%);box-shadow:0 0 0 8px #53cda41a,0 0 30px #4fdaa959;animation:scanner-food-pulse 1.7s ease-in-out infinite}.scanner-analysis-orbit>span{position:relative;z-index:2;font-size:31px;filter:drop-shadow(0 3px 5px rgba(0,0,0,.2))}.scanner-analysis-orbit i{position:absolute;width:7px;height:7px;border-radius:50%;background:#baffdf;box-shadow:0 0 10px #8effcb;animation:scanner-food-orbit 2.2s linear infinite}.scanner-analysis-orbit i:nth-child(2){animation-delay:-.7s}.scanner-analysis-orbit i:nth-child(3){animation-delay:-1.4s}.scanner-analysis-overlay strong{font-size:15px;font-weight:900;letter-spacing:-.2px}.scanner-analysis-overlay>span{margin-top:6px;color:#e7fff6bf;font-size:10px;font-weight:650;line-height:1.45}.scanner-analysis-dots{display:inline-block;width:18px;overflow:hidden;vertical-align:bottom;animation:scanner-dots 1.15s steps(4,end) infinite}.scanner-result{color:#247e68}.scanner-error{color:#b43333}.scanner-spin{animation:scanner-spin 1s linear infinite}@keyframes scanner-spin{to{transform:rotate(360deg)}}@keyframes scanner-beam{0%,to{top:3%;opacity:.45}50%{top:97%;opacity:1}}@keyframes scanner-analysis-in{0%{opacity:0;transform:translate(-50%,-46%) scale(.94)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@keyframes scanner-food-pulse{0%,to{transform:scale(.96)}50%{transform:scale(1.04)}}@keyframes scanner-food-orbit{0%{transform:rotate(0) translate(31px) rotate(0)}to{transform:rotate(360deg) translate(31px) rotate(-360deg)}}@keyframes scanner-dots{0%{width:0}to{width:18px}}@media(prefers-reduced-motion:reduce){.scanner-frame:before,.scanner-frame span{animation:none}}@media(min-width:480px){.scanner-screen{height:min(760px,calc(100dvh - 32px));margin:16px 0;border-radius:28px;box-shadow:0 16px 40px #162b252e}}.scanner-preview-controls{position:absolute;bottom:24px;left:16px;right:16px;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:12px}.scanner-image-preview-wrap{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;background:#000;display:flex;align-items:center;justify-content:center}.scanner-image-preview-wrap img{width:100%;height:100%;object-fit:cover}.scanner-preview-tag{position:absolute;top:24px;left:50%;transform:translate(-50%);background:#123b31d9;color:#4ade80;padding:6px 14px;border-radius:999px;font-size:11px;font-weight:800;border:1px solid rgba(74,222,128,.3);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:15;letter-spacing:.5px}.scanner-preview-btn-cancel{flex:1;min-height:48px;border-radius:14px;border:1px solid rgba(255,255,255,.25);background:#192320c7;color:#fff;font-weight:750;font-size:13px;cursor:pointer;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:background .2s ease}.scanner-preview-btn-scan{flex:2;min-height:48px;border-radius:14px;border:none;background:linear-gradient(135deg,#27b88b,#0c7c62);color:#fff;font-weight:850;font-size:14px;cursor:pointer;box-shadow:0 8px 20px #128c6659;display:flex;align-items:center;justify-content:center;gap:8px;transition:transform .2s ease,box-shadow .2s ease}.scanner-preview-btn-scan:hover{transform:translateY(-1px);box-shadow:0 10px 24px #128c6673}.goals-viewport{min-height:100dvh;background:linear-gradient(180deg,#e8f8f2,#f5faf8 45%,#eef7f3);display:flex;justify-content:center;color:#13201d;overflow-y:auto}.goals-page{width:100%;max-width:420px;min-height:100dvh;background:#fcfffe;padding:82px 18px 140px;position:relative;font-weight:500}.goals-sticky-header{position:fixed;top:0;left:50%;z-index:20;width:min(420px,100%);box-sizing:border-box;transform:translate(-50%);margin:0;padding:12px 18px 8px;background:#fcfffef7;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid #DCEFE8;box-shadow:0 5px 18px #22735a14;transition:padding .3s ease,box-shadow .3s ease}.goals-sticky-header.scrolled{padding-top:7px;padding-bottom:5px;box-shadow:0 9px 24px #22735a24}.goals-topbar{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:8px;margin:0 2px;transform:scale(.94);transform-origin:top center}.goals-back{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:#f3f8f5;color:#1c7661}.eyebrow{display:block;color:#69a894;font-size:9px;font-weight:800;letter-spacing:1.1px}.goals-topbar h1{font-size:22px;letter-spacing:-.7px;line-height:1.1;margin-top:3px;font-weight:850}.period-button{display:flex;align-items:center;gap:5px;border:1px solid #e9eeec;border-radius:20px;padding:9px 10px;color:#4b5a56;background:#fff;font-size:11px;font-weight:700;box-shadow:0 5px 14px #26453a0f;cursor:pointer}.period-picker{position:relative}.period-menu{position:absolute;z-index:10;top:calc(100% + 7px);right:0;width:116px;padding:5px;border:1px solid #e9eeec;border-radius:12px;background:#fff;box-shadow:0 10px 24px #26453a24}.period-menu button{display:block;width:100%;border:0;border-radius:8px;padding:8px 9px;background:transparent;color:#65736e;text-align:left;font-size:11px;cursor:pointer}.period-menu button:hover,.period-menu button.active{background:#eff8f4;color:#25846c;font-weight:700}.card-kicker{display:block;color:#69a894;font-size:9px;font-weight:800;letter-spacing:1.1px}.goal-card{border:1px solid #D9EEE7;border-radius:21px;padding:17px 15px;box-shadow:0 10px 26px #22735a17}.progress-card{border-top:3px solid #2AB894;background:linear-gradient(145deg,#fff,#f2fbf8)}.completion-card{border-top:3px solid #F0A62E;background:linear-gradient(145deg,#fff,#fffbf2)}.progress-card-heading,.completion-heading,.goal-stat-row{display:flex;justify-content:space-between;align-items:flex-start}.progress-card-heading{align-items:center}.goal-card h2{color:#123b32;font-size:15px;letter-spacing:-.25px;margin-top:5px;font-weight:850}.metric-switch{display:flex;padding:3px;border-radius:9px;background:#f0f5f2;gap:2px}.metric-switch button{display:flex;align-items:center;gap:4px;border:0;background:transparent;color:#82908b;padding:6px 8px;border-radius:7px;font-size:10px;font-weight:700;cursor:pointer}.metric-switch button.selected{color:#fff;background:#4cae91;box-shadow:0 3px 7px #4cae9140}.metric-switch button.selected.protein{background:#7a8dd8}.goal-stat-row{align-items:flex-end;margin-top:13px;padding-top:13px;border-top:1px solid #f0f3f1}.goal-stat-row strong{display:block;font-size:25px;letter-spacing:-.8px}.goal-stat-row strong small{font-size:12px;color:#71807b;font-weight:700}.goal-stat-row span{display:block;color:#66736e;font-size:11px;font-weight:600;margin-top:4px}.goal-target{text-align:right;margin-left:auto;margin-right:12px}.goal-target span{font-size:11px;color:#66736e;font-weight:700}.goal-target strong{font-size:18px;color:#35413d;letter-spacing:-.35px;margin-top:3px}.goal-change{display:flex!important;align-items:center;gap:3px;color:#41967d!important;font-weight:700}.goal-chart-wrap{margin-top:12px}.goal-chart-legend{display:flex;justify-content:space-between;color:#41685d;font-size:10px;font-weight:700;margin:0 4px 3px 42px}.goal-chart-legend span{display:flex;align-items:center;gap:4px}.goal-chart-legend i{width:7px;height:7px;border-radius:50%;display:inline-block}.goal-chart-legend i.goal-line{width:12px;height:0;border-top:1px dashed #b7c4bf;border-radius:0}.goal-chart{display:block;width:100%;height:auto;overflow:visible}.goal-chart-line{stroke-dasharray:1;stroke-dashoffset:1;animation:goal-line-draw 1.5s cubic-bezier(.22,1,.36,1) .25s forwards}.goal-chart-point{opacity:0;animation:goal-point-pop .38s cubic-bezier(.22,1,.36,1) forwards;animation-delay:calc(.85s + (var(--point-index) * 70ms))}.goal-peak-marker{opacity:0;animation:goal-peak-in .45s cubic-bezier(.22,1,.36,1) var(--peak-delay) forwards}.goal-peak-pulse{transform-box:fill-box;transform-origin:center;animation:goal-peak-pulse 1.4s ease-in-out var(--peak-delay) 2}.completion-fill{width:100%;animation:goal-completion-fill 1.25s cubic-bezier(.22,1,.36,1) forwards}.completion-card{animation:goal-card-in .55s cubic-bezier(.22,1,.36,1) .15s both}.completion-card .completion-total{animation:goal-total-pop .5s cubic-bezier(.22,1,.36,1) .45s both}.completion-card .completion-row{opacity:0;animation:goal-row-in .45s ease forwards}.completion-card .completion-row:nth-of-type(2){animation-delay:.45s}.completion-card .completion-row:nth-of-type(3){animation-delay:.55s}.completion-card .completion-row:nth-of-type(4){animation-delay:.65s}.completion-card .completion-row:nth-of-type(5){animation-delay:.75s}@keyframes goal-line-draw{to{stroke-dashoffset:0}}@keyframes goal-peak-line-draw{0%{opacity:0;stroke-dashoffset:.1}to{opacity:1;stroke-dashoffset:0}}@keyframes goal-point-pop{0%{opacity:0;transform:scale(.35);transform-origin:center}to{opacity:1;transform:scale(1);transform-origin:center}}@keyframes goal-completion-fill{0%{width:0}55%{width:100%}70%{width:100%}to{width:var(--target-width)}}@keyframes goal-peak-in{0%{opacity:0;transform:scale(.45);transform-origin:center}to{opacity:1;transform:scale(1);transform-origin:center}}@keyframes goal-peak-pulse{0%,to{transform:scale(.8);opacity:.16}50%{transform:scale(1.45);opacity:.38}}@keyframes goal-card-in{0%{opacity:.2;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes goal-total-pop{0%{opacity:0;transform:scale(.7)}to{opacity:1;transform:scale(1)}}@keyframes goal-row-in{0%{opacity:0;transform:translate(-8px)}to{opacity:1;transform:translate(0)}}.chart-grid{stroke:#edf2ef;stroke-width:1}.chart-goal-line{stroke:#bccac4;stroke-width:1;stroke-dasharray:4 4}.goal-peak-vertical{stroke:#f0a62e;stroke-width:2;stroke-linecap:round;stroke-dasharray:.06 .04;stroke-dashoffset:.1;opacity:0;animation:goal-peak-line-draw .9s ease 1.05s forwards}.chart-selection-line{stroke:#9bcfbe;stroke-width:1.5;stroke-dasharray:3 4;pointer-events:none}.chart-axis{fill:#527169;font-size:10px;font-weight:700}.chart-tooltip{fill:#fff;font-size:9px;font-weight:800}.chart-point{cursor:pointer;outline:none;transition:r .15s ease,stroke-width .15s ease}.chart-point:hover,.chart-point:focus,.chart-point.selected{stroke-width:3.5;filter:drop-shadow(0 2px 3px rgba(42,137,111,.25))}.completion-period{display:block;color:#7a8782;font-size:10px;font-weight:600;margin-top:3px}.completion-card{margin-top:16px;padding-bottom:14px}.completion-total{color:#2e9b7d;font-size:20px;font-weight:800}.completion-total small{display:block;color:#7a8782;font-size:10px;font-weight:600;text-align:right;margin-top:-1px}.completion-row{margin-top:16px}.completion-row>div:first-child{display:flex;justify-content:space-between;color:#28574b;font-size:11px;font-weight:800}.completion-row strong{color:#315e53;font-size:10px}.completion-track{height:7px;background:#dcefe8;border-radius:99px;overflow:hidden;margin-top:7px}.completion-track span{height:100%;display:block;border-radius:inherit}.goal-note{color:#77847f;font-size:11px;font-weight:600;line-height:1.5;text-align:center;margin:17px 25px 0}.goals-nav{position:fixed}.meal-row[role=button]{cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.meal-row[role=button]:hover{border-color:#b7dfcf;box-shadow:0 8px 18px #2675571a;transform:translateY(-1px)}.meal-row[role=button]:focus-visible{outline:3px solid rgba(44,167,127,.25);outline-offset:2px}@media(min-width:480px){.goals-page{min-height:min(800px,calc(100dvh - 32px));height:auto;margin:16px 0;border-radius:28px;box-shadow:0 16px 40px #162b251a;padding-top:142px}}.food-avatar{display:grid;place-items:center;width:58px;height:58px;flex:0 0 58px;overflow:hidden;border-radius:50%;background:#dff5e9;box-shadow:0 4px 10px #1c644a29}.food-avatar-image{width:100%;height:100%;display:block;object-fit:contain;border-radius:inherit}.dashboard-food-avatar{width:42px;height:42px;flex-basis:42px;border:3px solid #fff;box-shadow:0 3px 9px #202f2b2e}.profile-avatar .food-avatar{width:100%;height:100%;border-radius:20px;box-shadow:none}.food-avatar-editor{margin-bottom:15px;padding:13px;border:1px solid #bfe8d5;border-radius:16px;background:linear-gradient(135deg,#f3fcf7,#e4f8ed)}.food-avatar-editor strong{display:block;color:#215c49;font-size:12px}.food-avatar-editor small{display:block;margin-top:8px;color:#78958a;font-size:9px;line-height:1.4}.food-avatar-grid{display:flex;gap:8px;margin-top:10px}.food-avatar-choice{padding:3px;border:2px solid transparent;border-radius:50%;background:transparent;cursor:pointer}.food-avatar-choice.selected{border-color:#21a77f;box-shadow:0 0 0 3px #21a77f24}.food-avatar-choice .food-avatar{width:52px;height:52px;flex-basis:52px;box-shadow:none}.profile-picture-picker{display:none!important}.item-details-page{background:linear-gradient(180deg,#eaf8f2,#f5fbf8 48%,#edf7f3);align-items:flex-start;overflow-y:auto}.item-details-card{max-width:430px;min-height:100dvh;height:auto;padding:18px 18px 24px;background:#fffffff0;box-shadow:0 18px 46px #1e5b461a}.item-details-nav{position:sticky;top:0;z-index:20;min-height:40px;margin:-18px -18px 0;padding:12px 18px 10px;border-bottom:1px solid #dceee6;background:#fffffff0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 5px 18px #2675570f}.item-details-nav-spacer{width:40px;height:40px}.item-details-icon-btn{width:40px;height:40px;border:1px solid #d6ebe2;color:#17654f;background:#f8fdfb;box-shadow:0 6px 15px #26755717;transition:transform .2s ease,background .2s ease,border-color .2s ease}.item-details-icon-btn:hover{border-color:#9ed4bd;background:#e8f8f0;transform:translateY(-1px)}.item-details-hero{gap:16px;margin-top:18px;padding:12px;border:1px solid #d6ebe2;border-radius:22px;background:linear-gradient(135deg,#fff,#f0faf5);box-shadow:0 10px 22px #26755714}.item-details-image-wrap{width:108px;height:96px;border:3px solid #fff;border-radius:18px;box-shadow:0 8px 18px #264b3d29}.item-details-title-block h1{color:#153f34;font-size:24px;font-weight:900;letter-spacing:-.5px}.item-details-title-block p{color:#6e9183;font-size:12px;font-weight:750}.item-details-top-metrics{gap:10px;margin-top:16px}.item-details-calorie-card,.item-details-protein-card,.item-details-macro-card{min-height:82px;border:1px solid #d8ece3;border-radius:17px;box-shadow:0 7px 16px #2675570f}.item-details-calorie-card{align-items:flex-start;padding-left:20px;background:linear-gradient(135deg,#effaf5,#dff4e9)}.item-details-calorie-card strong{color:#167f62;font-size:31px;font-weight:950}.item-details-calorie-card span{color:#5c8b79;font-size:11px;font-weight:850}.item-details-protein-card{background:linear-gradient(135deg,#edf8ff,#dff0fa)}.item-details-protein-card strong{color:#347ea0;font-size:17px;font-weight:900}.item-details-protein-card span{color:#5e879b;font-size:11px;font-weight:850}.item-details-macro-grid{gap:8px;margin-top:10px}.item-details-macro-card{min-height:70px}.item-details-macro-card:nth-child(1){border-color:#b9e4d2;background:#eaf9f2}.item-details-macro-card:nth-child(1) strong,.item-details-macro-card:nth-child(1) span{color:#168765}.item-details-macro-card:nth-child(2){border-color:#f1d6a8;background:#fff7e8}.item-details-macro-card:nth-child(2) strong,.item-details-macro-card:nth-child(2) span{color:#b87821}.item-details-macro-card:nth-child(3){border-color:#d7c9ed;background:#f6f0ff}.item-details-macro-card:nth-child(3) strong,.item-details-macro-card:nth-child(3) span{color:#8060ac}.item-details-macro-card strong{font-size:19px;font-weight:950}.item-details-macro-card span{font-size:11px;font-weight:850}.item-details-nutrition{margin-top:20px;padding:17px 15px 10px;border:1px solid #d6ebe2;border-radius:20px;background:linear-gradient(145deg,#fff,#f4fbf7);box-shadow:0 9px 21px #26755712}.item-details-nutrition h2{color:#174a3b;font-size:17px;font-weight:900}.item-details-nutrition p{color:#78988c;font-size:11px;font-weight:700}.item-details-row{min-height:38px;border-bottom:1px solid #e3f0ea}.item-details-row span{color:#52776b;font-size:12px;font-weight:750}.item-details-row strong{color:#1f5746;font-size:13px;font-weight:900}.item-details-row small{color:#7c9b90;font-size:10px}.item-details-edit-btn{min-height:48px;margin-top:16px;border:1px solid #0c825f;border-radius:15px;color:#fff;background:linear-gradient(135deg,#35c59a,#087b61);font-size:14px;font-weight:900;box-shadow:0 10px 20px #148b6538,inset 0 1px #ffffff40;transition:transform .2s ease,box-shadow .2s ease}.item-details-edit-btn:hover{transform:translateY(-2px);box-shadow:0 14px 25px #148b654a,inset 0 1px #ffffff40}.planner-page{min-height:100dvh;display:flex;justify-content:center;color:#1f2937;background:#f8faf9;font-family:inherit}.planner-shell{width:min(100%,430px);min-height:100dvh;padding:12px 16px 80px;box-sizing:border-box;background:#fff;border-left:1px solid #edf2ef;border-right:1px solid #edf2ef}.planner-toast{position:fixed;top:18px;left:50%;transform:translate(-50%);z-index:99999;padding:9px 18px;border-radius:99px;background:#113f31;color:#fff;font-size:12px;font-weight:700;box-shadow:0 10px 25px #00000026;pointer-events:none;animation:fadeIn .2s ease}.planner-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:max(4px,env(safe-area-inset-top));margin-bottom:8px}.planner-back{display:grid;place-items:center;width:38px;height:38px;border:1px solid #eef3f0;border-radius:12px;color:#374151;background:#fff;box-shadow:0 2px 6px #00000005;cursor:pointer;transition:all .15s ease}.planner-back:hover{background:#f3f8f5;border-color:#d1e5db}.planner-header-title{flex:1;text-align:center}.planner-header-title h1{margin:0;color:#111827;font-size:18px;font-weight:800;letter-spacing:-.3px}.planner-header-actions{display:flex;align-items:center;gap:6px}.planner-action-btn{display:grid;place-items:center;width:38px;height:38px;border:1px solid #eef3f0;border-radius:12px;color:#374151;background:#fff;box-shadow:0 2px 6px #00000005;cursor:pointer;transition:all .15s ease}.planner-action-btn:hover{background:#f3f8f5;border-color:#d1e5db}.planner-action-btn.disabled{opacity:.7;cursor:not-allowed;background:#fbfbfb;border-color:#f3f4f6;color:#9ca3af}.cooldown-lock-icon{color:#9ca3af}.planner-cooldown-badge{display:flex;align-items:center;gap:6px;padding:6px 12px;margin-bottom:12px;border-radius:12px;background:#f3f4f6;border:1px solid #e5e7eb;color:#4b5563;font-size:11px;font-weight:600;animation:fadeIn .2s ease}.planner-cooldown-badge strong{color:#111827}.planner-date-section{margin:12px 0 16px}.date-header-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;padding:0 2px}.month-label{color:#1f2937;font-size:16px;font-weight:800;letter-spacing:-.2px}.days-badge{display:inline-block;padding:3px 9px;border-radius:99px;background:#e6f7ef;color:#065f46;font-size:10px;font-weight:800}.calendar-icon-btn{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:10px;color:#4b5563;background:#f3f7f5;cursor:pointer}.week-days-strip{display:flex;justify-content:space-between;align-items:center;gap:4px}.week-day-pill{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:44px;min-height:52px;padding:6px 2px;border:0;border-radius:16px;background:transparent;cursor:pointer;transition:all .2s cubic-bezier(.16,1,.3,1)}.day-name-bold{color:#1f2937;font-size:13px;font-weight:800;line-height:1.1}.day-sub-label{margin-top:3px;color:#9ca3af;font-size:10px;font-weight:650;text-transform:lowercase}.week-day-pill .today-dot{position:absolute;bottom:4px;width:4px;height:4px;border-radius:50%;background:#10b981}.week-day-pill.selected{min-height:62px;border-radius:20px;background:linear-gradient(145deg,#10b981,#059669);box-shadow:0 8px 18px #10b98161;transform:translateY(-2px)}.week-day-pill.selected .day-name-bold{color:#fff;font-size:14px}.week-day-pill.selected .day-sub-label{color:#ffffffe6;font-weight:750}.planner-loading-card{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:320px;padding:30px 20px;margin:16px 0;border:1px solid #edf4f0;border-radius:24px;background:#fbfdfc;text-align:center}.planner-loading-spinner{color:#10b981;margin-bottom:16px}.planner-loading-card h2{margin:0 0 6px;color:#111827;font-size:16px;font-weight:800}.planner-loading-card p{margin:0;color:#6b7280;font-size:12px}.planner-error-card{padding:24px 18px;margin:16px 0;border:1px solid #fecdd3;border-radius:20px;background:#fff5f5;text-align:center}.planner-error-card h3{margin:0 0 6px;color:#9f1239;font-size:15px;font-weight:800}.planner-error-card p{margin:0 0 16px;color:#881337;font-size:12px;line-height:1.45}.planner-error-actions{display:flex;justify-content:center;gap:8px}.planner-error-actions .btn-primary{padding:9px 16px;border:0;border-radius:12px;color:#fff;background:#e11d48;font-size:11px;font-weight:800;cursor:pointer}.planner-error-actions .btn-secondary{padding:9px 16px;border:1px solid #fda4af;border-radius:12px;color:#9f1239;background:#fff;font-size:11px;font-weight:800;cursor:pointer}.planner-empty-state{display:flex;flex-direction:column;align-items:center;padding:44px 20px;margin:16px 0;border:1px solid #edf4f0;border-radius:24px;background:#fafdfb;text-align:center}.planner-empty-icon{display:grid;place-items:center;width:56px;height:56px;margin-bottom:16px;border-radius:18px;color:#059669;background:#d1fae5}.planner-empty-state h2{margin:0 0 8px;color:#111827;font-size:19px;font-weight:800;letter-spacing:-.3px}.planner-empty-state p{max-width:310px;margin:0 0 16px;color:#6b7280;font-size:12px;line-height:1.5}.cooldown-info-note{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;margin-bottom:20px;border-radius:10px;background:#f0fdf4;border:1px solid #d1fae5;color:#065f46;font-size:11px;font-weight:600}.planner-create-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:13px 26px;border:0;border-radius:16px;color:#fff;background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 8px 20px #10b98152;font-size:13px;font-weight:800;cursor:pointer;transition:all .2s ease}.planner-create-btn:hover{transform:translateY(-2px);box-shadow:0 12px 24px #10b98166}.planner-view-tabs{display:flex;gap:6px;margin-bottom:14px}.view-tab-btn{padding:7px 14px;border:1px solid #e5e7eb;border-radius:99px;color:#6b7280;background:#fff;font-size:11px;font-weight:750;cursor:pointer;transition:all .15s ease}.view-tab-btn.active{color:#fff;background:#111827;border-color:#111827}.planner-summary-card{padding:20px;margin-bottom:16px;border:1px solid #edf4f0;border-radius:24px;background:#fff;box-shadow:0 10px 30px #0000000a}.summary-top-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.summary-title{display:flex;align-items:center;gap:6px}.summary-title strong{color:#111827;font-size:17px;font-weight:800}.flame-icon{font-size:15px}.details-link-btn{border:0;padding:0;color:#f97316;background:transparent;font-size:13px;font-weight:750;cursor:pointer}.summary-middle-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.summary-metrics-list{display:flex;flex-direction:column;gap:6px}.metric-row{display:flex;align-items:baseline;gap:20px}.metric-label{width:78px;color:#374151;font-size:14px;font-weight:650}.metric-val{color:#111827;font-size:15px;font-weight:850}.metric-val.muted{color:#9ca3af;font-weight:600}.summary-gauge-wrap{position:relative;width:86px;height:86px;flex-shrink:0;display:grid;place-items:center}.summary-gauge-svg{width:100%;height:100%;transform:rotate(-90deg)}.gauge-bg-track{fill:none;stroke:#e6f7ef;stroke-width:8}.gauge-progress-stroke{fill:none;stroke:#10b981;stroke-width:8;stroke-linecap:round;stroke-dasharray:238.76;transition:stroke-dashoffset .8s cubic-bezier(.16,1,.3,1)}.summary-gauge-inner{position:absolute;display:flex;flex-direction:column;align-items:center;text-align:center}.summary-gauge-inner strong{color:#111827;font-size:16px;font-weight:900;line-height:1}.summary-gauge-inner span{margin-top:1px;color:#9ca3af;font-size:10px;font-weight:650}.summary-macro-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding-top:14px;border-top:1px solid #f3f7f4}.macro-col{display:flex;flex-direction:column;gap:5px}.macro-title{color:#4b5563;font-size:12px;font-weight:750}.macro-progress-track{width:100%;height:5px;border-radius:99px;background:#eef5f1;overflow:hidden}.macro-progress-fill{height:100%;border-radius:99px;background:#10b981;transition:width .5s ease}.macro-ratio{display:flex;align-items:baseline;color:#9ca3af;font-size:12px;font-weight:650}.macro-ratio strong{color:#111827;font-size:13px;font-weight:850}.planner-ai-box{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;margin-bottom:16px;border:1px solid #d1fae5;border-radius:16px;background:#f0fdf4}.ai-box-icon{color:#10b981;flex-shrink:0;margin-top:1px}.ai-box-text strong{display:block;color:#065f46;font-size:11px;font-weight:800;margin-bottom:1px}.ai-box-text p{margin:0;color:#047857;font-size:11px;line-height:1.45}.planner-meals-section{display:flex;flex-direction:column;gap:12px}.meal-card-item{border:1px solid #edf4f0;border-radius:22px;background:#fff;box-shadow:0 6px 20px #00000008;transition:all .2s cubic-bezier(.16,1,.3,1);overflow:hidden}.meal-card-item:hover{transform:translateY(-2px);border-color:#d1e7dc;box-shadow:0 10px 24px #0000000f}.meal-card-item.completed{background:#fafdfc}.meal-card-item.completed .meal-dish-name{text-decoration:line-through;color:#9ca3af}.meal-card-main{display:flex;align-items:center;gap:14px;padding:14px 16px;cursor:pointer}.meal-plate{display:grid;place-items:center;width:50px;height:50px;flex-shrink:0;border-radius:50%;box-shadow:0 4px 12px #0000000d}.plate-svg{width:100%;height:100%}.meal-card-content{flex:1;min-width:0}.meal-type-title{margin:0;color:#111827;font-size:15px;font-weight:800;letter-spacing:-.2px}.meal-cal-line{display:flex;align-items:baseline;gap:3px;margin-top:1px}.meal-cal-num{color:#10b981;font-size:13px;font-weight:850}.meal-cal-unit{color:#6b7280;font-size:11px;font-weight:600}.meal-bullet{color:#d1d5db;font-size:10px;margin:0 2px}.meal-time-tag{color:#9ca3af;font-size:11px}.meal-dish-name{margin:2px 0 0;color:#6b7280;font-size:11px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.meal-card-actions{display:flex;align-items:center;gap:8px}.meal-check-pill{display:grid;place-items:center;width:24px;height:24px;border:1.5px solid #d1d5db;border-radius:50%;color:#fff;background:#fff;cursor:pointer;transition:all .15s ease}.meal-check-pill.checked{border-color:#10b981;background:#10b981}.meal-chevron{color:#9ca3af;display:grid;place-items:center}.meal-card-drawer{padding:12px 16px 14px;border-top:1px solid #f3f7f4;background:#fafcfb;animation:fadeIn .2s ease}.drawer-foods-list{margin-bottom:10px}.drawer-label{display:block;margin-bottom:6px;color:#4b5563;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.5px}.drawer-chips{display:flex;flex-wrap:wrap;gap:6px}.drawer-food-chip{padding:4px 8px;border:1px solid #e5e7eb;border-radius:8px;color:#374151;background:#fff;font-size:10px;font-weight:650}.drawer-macro-stats{display:flex;gap:14px;margin-bottom:12px;padding:8px 12px;border-radius:10px;background:#f3f7f4}.drawer-macro-item{display:flex;gap:4px;align-items:baseline;font-size:11px}.drawer-macro-item span{color:#6b7280}.drawer-macro-item strong{color:#111827}.drawer-bottom-actions{display:flex}.track-action-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;width:100%;min-height:36px;border:0;border-radius:10px;color:#fff;background:linear-gradient(135deg,#10b981,#059669);font-size:11px;font-weight:800;cursor:pointer;transition:all .15s ease}.track-action-btn:hover{opacity:.95}.track-action-btn.tracked{background:#d1fae5;color:#065f46;cursor:default}.planner-disclaimer{margin:16px 4px 0;color:#9ca3af;font-size:9px;line-height:1.4;text-align:center}.planner-grocery-card{padding:16px;border:1px solid #edf4f0;border-radius:22px;background:#fff;box-shadow:0 8px 24px #00000008}.grocery-card-header{display:flex;flex-direction:column;gap:10px;margin-bottom:14px}.grocery-filter-controls{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.grocery-filter-btn{padding:5px 10px;border:1px solid #e5e7eb;border-radius:8px;color:#4b5563;background:#fff;font-size:10px;font-weight:750;cursor:pointer;transition:all .15s ease}.grocery-filter-btn.active{color:#065f46;background:#e6f7ef;border-color:#a7f3d0}.grocery-card-header h2{margin:0;color:#111827;font-size:16px;font-weight:800}.grocery-card-header p{margin:2px 0 0;color:#6b7280;font-size:11px}.grocery-copy-btn{display:inline-flex;align-items:center;gap:4px;padding:5px 10px;border:1px solid #e5e7eb;border-radius:8px;color:#111827;background:#fff;font-size:10px;font-weight:750;cursor:pointer;margin-left:auto}.grocery-list-items{display:flex;flex-direction:column;gap:6px}.grocery-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #f3f4f6;border-radius:12px;background:#fff;cursor:pointer}.grocery-item.checked{background:#fafdfc}.grocery-box{display:grid;place-items:center;width:18px;height:18px;flex-shrink:0;border:1.5px solid #d1d5db;border-radius:4px;color:#fff;background:#fff;cursor:pointer}.grocery-box.checked{border-color:#10b981;background:#10b981}.grocery-item-info{flex:1}.grocery-item-info span{display:block;color:#1f2937;font-size:12px;font-weight:700}.grocery-item-info span.strikethrough{color:#9ca3af;text-decoration:line-through}.grocery-item-info small{display:block;color:#9ca3af;font-size:9px}.grocery-reset-link{display:block;margin:12px auto 0;border:0;color:#6b7280;background:transparent;font-size:10px;cursor:pointer}@keyframes planner-spin{to{transform:rotate(360deg)}}@keyframes fadeIn{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}.detected-item-row.health-item-caution{min-height:84px;align-items:flex-start;border-color:#f0c56e;background:#fffaf0}.detected-item-row.health-item-high-risk{min-height:84px;align-items:flex-start;border-color:#ee8c83;background:#fff4f2}.health-item-caution .detected-item-thumb,.health-item-high-risk .detected-item-thumb{margin-top:1px}.health-item-caution .detected-item-info,.health-item-high-risk .detected-item-info{padding-top:1px}.health-item-caution .detected-item-remove,.health-item-high-risk .detected-item-remove,.health-item-caution .detected-item-chevron,.health-item-high-risk .detected-item-chevron{margin-top:2px}.detected-item-health-warning{display:block;max-width:100%;margin-top:5px;color:#a86b16;font-size:10px;font-weight:800;line-height:1.3;white-space:normal;overflow-wrap:anywhere}.detected-item-health-warning span{display:inline-block;margin-right:4px;color:#e1a52d;font-size:8px;transform:translateY(-1px)}.health-item-high-risk .detected-item-health-warning{color:#bd4d45}.health-item-high-risk .detected-item-health-warning span{color:#df6258}.profile-modal-backdrop{position:fixed!important;z-index:100000!important;top:0!important;right:0!important;bottom:0!important;left:0!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:20px 16px calc(24px + env(safe-area-inset-bottom,0px))!important;background:#0a261e99!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important}.profile-modal{position:relative!important;z-index:100001!important;width:min(100%,420px)!important;max-height:min(85dvh,700px)!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;padding:24px 20px 30px!important;border:1px solid rgba(204,235,221,.95)!important;border-radius:24px!important;background:#fbfffd!important;box-shadow:0 24px 60px #12463459!important}
