:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:#183632;background:#f8f7f0;font-synthesis:none;--deep:#123b34;--teal:#1c6253;--mint:#d7ebdb;--cream:#f8f7f0;--border:#e6e8df;--gray:#6f7d76}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,textarea{font:inherit}button{cursor:pointer}input,textarea{width:100%;border:1px solid #cbd7ce;background:white;border-radius:14px;padding:13px 14px;color:#183632;outline-offset:2px}input:focus,textarea:focus{outline:2px solid #2d8972}button:focus-visible{outline:3px solid #71cbb0;outline-offset:2px}button:disabled{opacity:.45;cursor:default}[hidden]{display:none!important}.auth-wrap{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 15% 10%,#377d66,#143a33 55%,#102d2b);padding:24px}.auth-card{width:100%;max-width:440px;padding:30px 25px;background:#fffdf8;border-radius:28px;box-shadow:0 30px 90px #04130f40}.logo{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:850;letter-spacing:-.6px}.logo img{width:52px;height:52px}.logo small{font-size:18px}.auth-card h1{font-size:34px;letter-spacing:-1px;line-height:1.08;margin:28px 0 12px}.muted{color:var(--gray)}.auth-card p{line-height:1.55}.field{margin:15px 0}.field label{display:block;font-size:13px;font-weight:700;margin:0 0 7px}.btn{border:0;border-radius:14px;padding:13px 18px;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:transform .1s,background .2s}.btn:active{transform:scale(.98)}.btn.primary{background:#145845;color:white}.btn.secondary{background:var(--mint);color:var(--deep)}.btn.outline{border:1px solid var(--border);background:white;color:var(--deep)}.auth-card .btn{width:100%;margin-top:7px}.hint{font-size:12px;text-align:center;color:var(--gray);margin-top:20px}.form-error{color:#a52e32;font-size:13px;min-height:16px}.topbar{background:var(--deep);color:white;display:flex;align-items:center;justify-content:space-between;padding:14px max(18px,calc((100vw - 680px)/2));height:78px}.branding{display:flex;align-items:center;gap:10px}.branding img{width:46px;height:46px}.branding strong{display:block;font-size:19px;letter-spacing:-.45px}.branding span{display:block;font-size:11px;color:#bcdfd1}.round{width:42px;height:42px;border:1px solid #7ba89980;background:#ffffff15;border-radius:50%;color:white;font-size:29px;line-height:1}main{max-width:680px;margin:auto;padding:22px 18px 112px}.eyebrow{font-size:12px;letter-spacing:1.1px;text-transform:uppercase;font-weight:800;color:var(--teal)}h1,h2,h3{letter-spacing:-.6px;line-height:1.16}h1{font-size:30px;margin:9px 0}h2{font-size:21px;margin:0 0 10px}h3{font-size:17px;margin:0}.subtext{color:var(--gray);font-size:14px;line-height:1.5}.hero{background:linear-gradient(130deg,#1e6a58,#143b35);border-radius:22px;padding:24px;color:white;margin-bottom:18px;position:relative;overflow:hidden}.hero:after{content:"✦";position:absolute;font-size:170px;color:#ffffff10;right:-15px;top:-47px}.hero h1{font-size:31px;position:relative;z-index:1}.hero p{color:#d5eee4;margin-bottom:0;max-width:270px;position:relative;z-index:1}.hero .eyebrow{color:#bce6d0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:18px}.stat{background:white;border:1px solid var(--border);border-radius:16px;padding:16px 12px}.stat b{display:block;font-size:21px;color:var(--deep)}.stat span{font-size:11px;color:var(--gray);font-weight:600}.section-head{display:flex;align-items:center;justify-content:space-between;margin:25px 0 12px}.section-head h2{margin:0}.kcal{color:var(--teal);font-weight:750;font-variant-numeric:tabular-nums}.meal{background:white;border:1px solid var(--border);border-radius:18px;padding:17px 17px;margin-bottom:10px}.meal-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.meal-head .kind{font-size:12px;letter-spacing:.2px;color:var(--teal);font-weight:800}.meal h3{margin:8px 0}.meal .ingredients{font-size:14px;line-height:1.55;margin:6px 0}.recipe{margin-top:10px;padding-top:10px;border-top:1px solid var(--border);color:#66716b;font-size:13px;line-height:1.6}.card{background:white;border:1px solid var(--border);border-radius:19px;padding:20px;margin-bottom:14px}.card p{margin:8px 0}.days{display:flex;overflow:auto;gap:8px;padding-bottom:10px;margin:10px -18px 16px;padding-left:18px;padding-right:18px;scrollbar-width:none}.daybtn{flex-shrink:0;min-width:62px;padding:12px 9px;border:1px solid var(--border);background:white;border-radius:13px;color:var(--deep)}.daybtn strong{display:block;font-size:20px}.daybtn small{font-size:10px;color:var(--gray)}.daybtn.active{background:var(--deep);color:white}.daybtn.active small{color:#d4e6db}.pill{border:0;border-radius:999px;padding:8px 13px;background:#e6efe7;color:var(--teal);font-weight:750;font-size:12px}.week-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.week-tabs button{background:#fff;border:1px solid var(--border);border-radius:12px;padding:10px 13px;font-size:13px;font-weight:650;color:var(--deep)}.week-tabs button.active{background:var(--deep);color:white}.subtle-box{background:#e8f2e8;border-radius:17px;padding:16px;font-size:14px;color:#31574a;line-height:1.55}.form-row{display:flex;align-items:end;gap:10px}.form-row>div{flex:1}.form-row .btn{flex:none}.data-row{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--border);gap:10px}.data-row:last-child{border:0}.data-row strong{font-size:17px}.data-row span{font-size:13px;color:var(--gray)}.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;background:#fffdfa;border-top:1px solid var(--border);padding:8px 4px calc(8px + env(safe-area-inset-bottom));z-index:5}.bottom-nav button{background:transparent;border:0;color:#71827a;flex:1;max-width:170px;display:flex;flex-direction:column;align-items:center;gap:1px;font-size:11px;font-weight:700;padding:4px 2px}.bottom-nav button span{font-size:24px;font-weight:500}.bottom-nav button.active{color:#145845}.update-banner{background:#fce5aa;padding:12px 18px;text-align:center;color:#634713;font-size:13px;font-weight:700}.update-banner a{color:#634713}#toast{position:fixed;top:86px;left:50%;transform:translateX(-50%);padding:12px 18px;background:#183d35;color:white;border-radius:14px;box-shadow:0 6px 25px #183d3555;z-index:50;display:none;max-width:90%;font-size:13px}#toast.show{display:block}.caption{font-size:12px;color:var(--gray);line-height:1.6}.track-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.select{background:white;border:1px solid var(--border);padding:12px;border-radius:12px;width:100%}.line-chart{display:flex;align-items:end;gap:5px;min-height:130px;padding:13px 0 0;border-bottom:1px solid var(--border)}.bar{flex:1;background:#6bb4a0;border-radius:6px 6px 0 0;min-height:4px;position:relative}.bar small{position:absolute;bottom:100%;font-size:9px;left:50%;transform:translateX(-50%);color:var(--gray);white-space:nowrap}.barlabel{font-size:10px;text-align:center;color:var(--gray)}.footer-info{margin-top:22px;color:#77877e;text-align:center;font-size:11px;line-height:1.6}.nowrap{white-space:nowrap}@media(min-width:750px){main{padding-top:32px}.topbar{padding-left:calc((100vw - 680px)/2);padding-right:calc((100vw - 680px)/2)}}