:root{--navy:#16212e;--navy2:#253549;--paper:#f7f7f9;--soft:#edf0f4;--coral:#cd3f3e;--coral2:#e3574d;--white:#fff;--ink:#192334;--muted:#798394;--line:#e7e9ed;--safe-bottom:env(safe-area-inset-bottom,0px);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink)}
*{box-sizing:border-box}body{margin:0;background:var(--paper)}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #efb8b3;outline-offset:2px}h1,h2,h3,p{margin-top:0}p{line-height:1.52}h1{font-size:29px;letter-spacing:-1.15px;line-height:1.14}h2{font-size:21px;letter-spacing:-.55px}h3{font-size:16px;letter-spacing:-.2px}small{font-size:12px}.app-shell{max-width:700px;min-height:100dvh;margin:0 auto;background:var(--paper);box-shadow:0 0 60px #15283a10;position:relative}.topbar{height:77px;position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:10px 22px;background:rgba(247,247,249,.96);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;font-size:24px;letter-spacing:-.9px;font-weight:900;color:var(--navy)}.brand img{width:43px;height:43px;object-fit:contain;margin-right:7px}.brand-red{color:var(--coral)}.top-right{display:flex;align-items:center;gap:11px}.demo-chip{color:#ad3434;background:#fbe6e5;border-radius:8px;font-size:11px;font-weight:900;letter-spacing:1px;padding:6px 9px}.profile-dot{display:grid;place-items:center;width:33px;height:33px;border-radius:50%;background:var(--navy2);color:#fff;font-weight:800}#page{padding:20px 19px 116px;min-height:calc(100dvh - 77px)}.bottom-nav{position:fixed;bottom:0;z-index:21;left:50%;transform:translateX(-50%);width:min(100%,700px);height:calc(76px + var(--safe-bottom));background:rgba(255,255,255,.98);border-top:1px solid var(--line);display:flex;align-items:flex-start;padding:8px 6px var(--safe-bottom);box-shadow:0 -6px 20px #18283c0b}.nav-btn{flex:1;border:0;background:transparent;color:#8e96a4;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10.5px;font-weight:800;white-space:nowrap;padding:3px 0 5px}.nav-icon{font-size:24px;line-height:30px;display:block;height:31px}.nav-btn.active{color:var(--coral)}.intro-line{font-size:13px;font-weight:800;color:var(--coral);letter-spacing:.6px;text-transform:uppercase;margin-bottom:10px}.subtext{font-size:14px;color:var(--muted)}.hero{background:var(--navy);border-radius:24px;min-height:235px;display:flex;position:relative;overflow:hidden;isolation:isolate;margin-bottom:18px;color:#fff}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(22,33,46,1) 3%,rgba(22,33,46,.96) 42%,rgba(22,33,46,.2)),url('/assets/hero.webp') center right/cover;z-index:-1}.hero-content{max-width:75%;padding:27px 23px}.hero h1{font-size:30px;margin-bottom:10px}.hero p{font-size:12px;color:#dbe1e8;margin-bottom:18px}.pill-tag{display:inline-flex;color:#fff;background:var(--coral);padding:6px 10px;border-radius:7px;text-transform:uppercase;letter-spacing:.7px;font-size:10px;font-weight:900;margin-bottom:11px}.btn{border:0;border-radius:13px;padding:13px 16px;display:inline-flex;justify-content:center;align-items:center;gap:7px;font-weight:800;font-size:14px}.btn-primary{background:var(--coral);color:white}.btn-dark{background:var(--navy);color:#fff}.btn-soft{background:#f8e8e6;color:#ae3030}.btn-outline{background:#fff;border:1px solid var(--line);color:var(--navy)}.btn-small{padding:9px 12px;border-radius:10px;font-size:12px}.btn-full{width:100%}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px 15px;min-height:118px}.stat-num{font-size:27px;font-weight:900;letter-spacing:-1px;color:var(--navy);line-height:1.17;margin:7px 0}.stat-top{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);font-weight:700;gap:8px}.stat-icon{color:var(--coral);background:#fae9e6;border-radius:8px;padding:3px 6px;font-weight:900}.section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:25px 1px 13px}.section-head h2{margin:0}.plain-link{border:0;background:transparent;color:var(--coral);font-size:13px;font-weight:800}.white-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:17px;margin-bottom:12px}.row-between{display:flex;justify-content:space-between;align-items:center;gap:10px}.muted{color:var(--muted)}.tiny{font-size:12px}.bold{font-weight:800}.progress-bar{height:8px;border-radius:100px;background:#eef1f4;overflow:hidden;margin-top:12px}.progress-fill{height:100%;border-radius:100px;background:var(--coral)}.empty{background:#fff;border:1px dashed #d2d6dd;border-radius:18px;padding:32px 20px;text-align:center;color:var(--muted)}.empty-icon{font-size:35px;color:var(--coral);margin-bottom:7px}.day-strip{display:flex;gap:8px;overflow-x:auto;padding-bottom:8px;scrollbar-width:none;margin-bottom:16px}.day-strip::-webkit-scrollbar{display:none}.day{min-width:64px;flex-shrink:0;background:#fff;border:1px solid var(--line);border-radius:13px;padding:12px 6px;text-align:center;color:var(--ink)}.day strong{display:block;font-size:16px;margin-top:4px}.day span{font-size:11px;color:var(--muted);font-weight:800}.day.selected{background:var(--navy);border-color:var(--navy);color:#fff}.day.selected span{color:#bbc6d3}.item-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:15px;margin-bottom:10px;display:flex;align-items:center;justify-content:space-between;gap:12px}.item-card h3{margin:0 0 4px;font-size:15px}.item-card p{margin:0;color:var(--muted);font-size:12px}.exercise-icon{width:43px;height:43px;flex-shrink:0;border-radius:12px;display:grid;place-items:center;background:#fae9e6;color:var(--coral);font-size:20px;font-weight:900}.item-info{flex:1;min-width:0}.item-card.done h3{text-decoration:line-through;color:#8c9aab}.check-btn{width:36px;height:36px;flex-shrink:0;border-radius:11px;border:1.5px solid #d0d6dd;color:#98a0ac;background:#fff;font-size:18px}.done .check-btn{background:#dcf6e6;border-color:#c3e9d2;color:#148c55}.delete-btn{border:0;background:transparent;color:#a2a7af;font-size:19px}.meal-emoji{font-size:23px;background:#fff3eb;border-radius:12px;width:43px;height:43px;display:grid;place-items:center;flex-shrink:0}.category{font-size:11px;letter-spacing:.7px;font-weight:900;color:var(--coral);text-transform:uppercase;margin-bottom:8px}.macro-mini{display:flex;gap:8px;margin-top:10px}.macro-mini span{font-size:11px;background:#f1f3f7;border-radius:8px;padding:6px 8px;color:#6d7786;font-weight:750}.kcal-hero{display:flex;align-items:center;justify-content:space-between;background:var(--navy);color:white;border-radius:19px;padding:22px;margin-bottom:17px}.kcal-hero h2{color:#fff;font-size:32px;margin:0}.kcal-hero p{color:#bdc8d6;font-size:12px;margin:0}.kcal-circle{border:7px solid #40546a;border-top-color:var(--coral);border-right-color:var(--coral);border-radius:50%;height:74px;width:74px;display:grid;place-items:center;font-size:12px;color:#fff;font-weight:900}.chart-wrap{display:flex;align-items:flex-end;gap:8px;height:135px;padding:12px 0 6px}.chart-col{display:flex;flex:1;min-width:0;flex-direction:column;justify-content:end;align-items:center;gap:5px;height:100%}.chart-col div{width:65%;max-width:38px;min-height:3px;border-radius:7px 7px 2px 2px;background:linear-gradient(var(--coral2),var(--coral));transition:height .15s}.chart-col span{font-size:10px;color:#8993a0}.form-row{margin-bottom:14px}.form-row label{display:block;font-weight:800;font-size:12px;margin-bottom:6px;color:#606c7a}.form-row input,.form-row select{border:1px solid #dfe3e8;border-radius:11px;background:#fff;padding:12px 13px;width:100%;min-height:44px;color:var(--ink)}.help-note{background:#fff7f0;border:1px solid #f6e1d6;color:#7e6651;padding:13px 14px;border-radius:13px;font-size:12px;line-height:1.48;margin:16px 0}.feature-line{padding:15px 0;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:center}.feature-line:last-child{border:0}.feature-line .bubble{width:40px;height:40px;border-radius:11px;background:#f5e4e2;color:#a62f2e;display:grid;place-items:center;font-size:20px}.feature-line h3{margin:0 0 4px}.feature-line p{font-size:12px;color:var(--muted);margin:0}.toast{position:fixed;z-index:90;left:50%;bottom:calc(92px + var(--safe-bottom));transform:translateX(-50%);background:#203044;color:#fff;max-width:calc(100vw - 28px);padding:10px 14px;border-radius:11px;box-shadow:0 5px 25px #0002;font-size:13px}.modal-backdrop{position:fixed;inset:0;z-index:40;background:rgba(7,16,27,.66);display:flex;align-items:end;justify-content:center}.modal-panel{width:min(100%,700px);max-height:90dvh;overflow:auto;background:var(--paper);border-radius:25px 25px 0 0;padding:23px 20px calc(25px + var(--safe-bottom));box-shadow:0 -10px 55px #0002}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.modal-header h2{margin:0}.close-btn{height:32px;width:32px;border-radius:10px;background:#e7e9ed;border:0;color:#526171;font-size:22px}.split-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.separator{height:1px;background:var(--line);margin:19px 0}.secondary{color:var(--muted)}@media(min-width:720px){.app-shell{border-left:1px solid var(--line);border-right:1px solid var(--line)}.hero{min-height:285px}.hero-content{padding:34px}.hero h1{font-size:38px}#page{padding:25px 28px 130px}}@media(max-width:365px){#page{padding:17px 13px 112px}.topbar{padding:10px 14px}.stat-card{padding:13px 12px}.nav-btn{font-size:9.5px}.hero-content{max-width:85%}.hero h1{font-size:27px}}
