@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#f6f7f2;--paper:#fff;--ink:#283b2e;--muted:#8a9289;--line:#e8ebe3;--green:#5d7750;--sage:#edf1e7;--orange:#ce8b62;--blue:#839dbe;--radius:22px;--shadow:0 8px 36px #273b2e06}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Manrope,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px;line-height:1.5}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit;border:0;background:none}button:disabled{opacity:.4;cursor:not-allowed}a{color:inherit;text-decoration:none}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sprite{position:absolute;width:0;height:0;overflow:hidden}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b4c89c;outline-offset:3px}[hidden]{display:none!important}.app-shell{max-width:1680px;margin:auto;min-height:100vh;display:grid;grid-template-columns:226px minmax(0,1fr)}.sidebar{padding:38px 22px 24px;background:var(--sidebar-bg);border-right:1px solid var(--line);display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:9px;font-size:29px;letter-spacing:-1.7px;font-weight:800}.brand-mark{display:flex;align-items:center;justify-content:center;background:var(--green);color:#fff;width:37px;height:37px;border-radius:13px;transform:rotate(-8deg)}.brand-mark svg{width:26px;height:26px}.brand-dot{color:var(--orange);margin-left:-10px}.sidebar-label{font-size:8px;letter-spacing:1.35px;margin:30px 0 18px 9px;color:var(--muted);font-weight:800}.desktop-nav{display:grid;gap:7px}.nav-item{height:48px;border-radius:12px;display:flex;align-items:center;gap:12px;padding:0 14px;text-align:left;color:var(--secondary-text);font-size:13px;font-weight:700;transition:background .15s}.nav-item:hover{background:#f2f3ed}.nav-item.active{background:var(--active-bg);color:#4e6844}.nav-dot{display:none}.active .nav-dot{display:block;margin-left:auto;width:5px;height:5px;border-radius:50%;background:var(--green)}.sidebar-note{margin:auto 0 35px;padding:22px 13px 8px}.note-leaf{color:#a1af7b;font-size:42px;display:inline-block;transform:rotate(15deg)}.sidebar-note p{font-size:17px;line-height:1.65;font-weight:600;margin:8px 0;color:#6a7b61}.sidebar-note>span:last-child{font-size:10px;color:#9ca393}.profile{border-top:1px solid var(--line);padding-top:22px;display:flex;align-items:center;gap:9px}.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#eee9de;color:#8c7b60;font-size:12px;font-weight:700}.profile strong{display:block;font-size:11px}.profile small{display:block;font-size:8px;color:var(--muted);margin-top:3px}.status-dot{height:6px;width:6px;background:#9aaa83;border-radius:100%;margin-left:auto}.main-area{min-width:0}.topbar{height:85px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:0 42px;font-size:10px}.topbar-path{color:var(--muted)}.topbar-path span{padding:0 12px;color:#bcc1b7}.topbar-path strong{color:#647160;font-weight:600}.prototype-badge{display:flex;align-items:center;gap:7px;font-size:10px;color:#7e8975;border:1px solid var(--line);border-radius:20px;padding:6px 10px}.prototype-badge span{width:5px;height:5px;border-radius:50%;background:#a4b58f}.content{padding:35px 42px 0;max-width:1320px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:28px}.eyebrow{font-size:9px;letter-spacing:1.6px;color:#929b87;font-weight:800;text-transform:uppercase}.page-heading h1{font-size:35px;letter-spacing:-1.7px;line-height:1.2;margin:8px 0 10px;font-weight:800}.page-heading h1>span{color:var(--orange)}.page-heading p{font-size:11px;color:var(--muted);margin:0}.primary-btn,.dark-btn,.secondary-btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:11px;font-size:11px;padding:0 17px;font-weight:700;transition:transform .15s,background .15s}.primary-btn{background:var(--green);color:white;box-shadow:0 4px 12px #5d775014}.primary-btn:hover{background:var(--accent-hover);transform:translateY(-1px)}.primary-btn svg{width:17px;height:17px}.secondary-btn{border:1px solid var(--line);background:#fff}.secondary-btn:hover{background:var(--bg)}.dark-btn{background:var(--dark-btn);color:white;width:100%}.dark-btn:hover{background:#273c25}.dark-btn svg{width:17px;height:17px}.diary-grid{display:grid;grid-template-columns:minmax(0,1fr) 259px;gap:25px}.diary-main{min-width:0}.balance-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.balance-top{padding:21px 24px 0;display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:700}.tiny-spark{font-size:19px;color:#8c9d71;vertical-align:middle;margin-right:5px}.text-btn{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:var(--secondary-text);font-weight:700;padding:5px 0}.text-btn:hover{color:#3e5933}.text-btn svg{width:14px;height:14px}.balance-body{display:flex;align-items:center;justify-content:space-between;padding:19px 27px 25px;gap:25px}.calorie-ring{position:relative;width:177px;height:177px;flex-shrink:0}.ring-svg{width:100%;height:100%;transform:rotate(-90deg)}.ring-track,.ring-progress{fill:none;stroke-width:9}.ring-track{stroke:#f0f2e9}.ring-progress{stroke:#849d63;stroke-linecap:round;stroke-dasharray:483.81;transition:stroke-dashoffset .4s}.ring-copy{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column}.ring-copy svg{width:20px;height:20px;color:#a6b28f;margin-bottom:3px}.ring-copy strong{font-size:34px;letter-spacing:-1.8px;line-height:1.3;font-weight:800}.ring-copy>span{font-size:10px;color:#929b86}.ring-copy b{font-weight:500}.macro-summary{flex:1;max-width:310px}.remaining>span{font-size:10px;color:#929b86}.remaining>strong{display:block;font-size:24px;letter-spacing:-1px;margin:2px 0 18px;line-height:1.3}.remaining small{font-size:11px;font-weight:500;letter-spacing:0;color:#a0a68f}.macro-row{margin-top:10px}.macro-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;margin-bottom:5px}.macro-label>span:first-child{display:flex;align-items:center;gap:6px}.macro-label>span:last-child{color:var(--muted);font-size:9px;white-space:nowrap}.macro-label b{color:var(--secondary-text);font-weight:700}.macro-dot{width:5px;height:5px;border-radius:50%}.macro-track{height:5px;background:var(--soft-bg);border-radius:9px;overflow:hidden}.macro-track>span{display:block;height:100%;border-radius:9px;transition:width .4s}.balance-footer{display:flex;align-items:center;gap:7px;background:var(--subtle-bg);border-top:1px solid var(--line);padding:11px 24px;font-size:9px;color:#8c967e}.balance-dot{height:5px;width:5px;background:#a6b78d;border-radius:50%;flex-shrink:0}.date-section{margin:26px 0 25px}.date-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.date-heading>strong{font-size:12px}.date-controls{display:flex;align-items:center;gap:14px}.icon-btn{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;font-size:22px}.icon-btn:hover{background:#ecefe4}.icon-btn svg{width:16px;height:16px}.date-controls .text-btn{font-size:9px;color:#9ca58d}.week-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}.date-button{border:1px solid transparent;border-radius:13px;min-height:70px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--secondary-text);position:relative}.date-button span{font-size:9px}.date-button strong{font-size:15px;font-weight:700;line-height:1.5}.date-button:hover{background:#eaeedf}.date-button.active{background:var(--green);color:white;box-shadow:0 5px 12px #5d775018}.date-button.is-today:not(.active){border-color:#d6dfcb}.date-button .date-point{height:3px;width:3px;border-radius:50%;background:currentColor;position:absolute;bottom:7px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.section-heading h2{font-size:14px;margin:0;letter-spacing:-.3px;font-weight:800;display:flex;align-items:center;gap:7px}.section-heading h2>span{font-size:9px;color:#9da790;background:#e9ede2;border-radius:7px;padding:1px 6px;min-width:18px;text-align:center}.section-heading .text-btn{font-size:10px}.demo-notice{display:flex;align-items:center;justify-content:space-between;gap:8px;border-radius:10px;background:var(--active-bg);padding:6px 12px;margin-bottom:12px;font-size:9px;color:#889378}.demo-notice .text-btn{font-size:9px}.meal-card{background:var(--paper);border-radius:17px;border:1px solid var(--line);padding:17px;margin-bottom:11px;position:relative;transition:border-color .15s;cursor:pointer}.meal-card:hover{border-color:#c6d2b9}.meal-topline{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:var(--muted);margin-bottom:12px}.meal-category{display:flex;align-items:center;gap:5px;color:var(--secondary-text);font-weight:700}.meal-category svg{width:12px;height:12px}.meal-card-body{display:flex;align-items:center;gap:14px}.food-thumb{width:66px;height:66px;flex-shrink:0;border-radius:13px;overflow:hidden;display:grid;place-items:center;background:#f3f1e7}.food-thumb img{width:100%;height:100%;object-fit:cover}.food-thumb svg{width:66px;height:66px;stroke:none}.meal-info{flex:1;min-width:0}.meal-info h3{font-size:12px;font-weight:800;line-height:1.5;margin:0 0 5px;overflow-wrap:anywhere}.meal-details{color:var(--muted);font-size:9px;margin:0 0 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:300px}.meal-macros{display:flex;gap:6px;flex-wrap:wrap}.macro-chip{font-size:8px;padding:2px 6px;border-radius:5px;white-space:nowrap}.chip-p{color:#6e8657;background:#f0f3e8}.chip-f{color:#bf8f66;background:#faf1e7}.chip-c{color:#8097b2;background:#edf2f7}.meal-calories{text-align:right;min-width:55px;align-self:center}.meal-calories strong{display:block;font-size:18px;letter-spacing:-.5px}.meal-calories>span{font-size:9px;color:#a1a891}.meal-edit{margin:7px 0 -4px auto;display:flex;gap:4px;font-size:8px;color:#9ca58e}.meal-edit svg{width:10px;height:10px}.add-meal-dashed{border:1px dashed #d6deca;width:100%;height:47px;border-radius:13px;font-size:11px;color:var(--secondary-text);display:flex;align-items:center;justify-content:center;gap:7px;margin-top:16px}.add-meal-dashed:hover{background:#edf1e5}.add-meal-dashed svg{height:16px;width:16px}.local-note{font-size:9px;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:6px;margin:18px 0}.local-note svg{width:12px;height:12px}.camera-card{border-radius:var(--radius);background:var(--feature-bg);padding:20px;text-align:center;overflow:hidden}.camera-art{height:147px;position:relative;margin:0 auto 7px;max-width:210px}.art-plate{position:absolute;width:119px;height:119px;border-radius:50%;background:#fcfcf6;border:9px solid #f4f5e9;box-shadow:1px 8px 15px #62774b19;top:12px;left:50%;transform:translateX(-50%) rotate(-20deg)}.art-rice{position:absolute;width:47px;height:67px;left:9px;top:17px;background:radial-gradient(ellipse,#e3dab9 1px,transparent 2px) 0 0/7px 6px,#eee8d2;border-radius:50% 30% 45% 50%}.art-food{position:absolute;width:45px;height:46px;background:repeating-linear-gradient(35deg,#c68d57 0 10px,#a86f40 11px 13px);border:3px solid #d6a474;border-radius:38% 45% 30% 35%;top:12px;right:6px}.art-tomato{position:absolute;width:19px;height:19px;background:radial-gradient(circle,#e5b376 2px,transparent 3px),#cc7e5e;border:3px solid #dd9574;border-radius:50%;z-index:2}.tomato-one{right:8px;bottom:19px}.tomato-two{right:27px;bottom:8px}.art-green{position:absolute;width:31px;height:35px;background:#839d58;bottom:11px;left:36px;border-radius:5px 90% 7px 90%;transform:rotate(55deg)}.green-two{bottom:30px;left:45px;transform:rotate(110deg);background:#a0af6a;width:24px;height:31px}.art-leaf{position:absolute;width:25px;height:44px;border-radius:0 100% 0 100%;background:#b9c99a;right:9px;top:18px;transform:rotate(-15deg)}.leaf-two{right:4px;top:56px;transform:rotate(40deg);width:20px;height:32px;background:#ced9b4}.leaf-three{left:8px;top:91px;transform:rotate(80deg);width:20px;height:32px;background:#bbc998}.art-spark{position:absolute;color:#a2b680}.spark-one{font-size:24px;left:12px;top:5px}.spark-two{font-size:18px;right:15px;bottom:4px}.mini-label{font-size:8px;letter-spacing:1.7px;font-weight:800;color:#91a278}.camera-card h2{font-size:19px;line-height:1.4;letter-spacing:-.5px;margin:10px 0;color:#415638}.camera-card p{color:var(--secondary-text);font-size:10px;line-height:1.8;margin:0 0 18px}.camera-caption{font-size:8px;display:block;color:#9aa78b;margin:10px -10px 0}.water-card{margin-top:19px;background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:19px}.water-card .section-heading{margin-bottom:12px}.water-card h2{font-size:12px}.water-card h2 svg{width:17px;height:17px;color:#93aac5}.muted{color:var(--muted);font-size:11px}.water-card .muted{font-size:9px}.water-total{display:flex;align-items:baseline;gap:7px}.water-total strong{font-size:26px;font-weight:800;letter-spacing:-1px}.water-total>span{font-size:9px;color:#a1a994}.water-cups{display:flex;gap:5px;margin:16px 0}.water-cup{height:24px;flex:1;border:1.5px solid #e0e7ec;border-top:0;border-radius:1px 1px 5px 5px;position:relative;overflow:hidden;transform:perspective(80px) rotateX(-8deg)}.water-cup:after{content:"";position:absolute;bottom:0;left:1px;right:1px;background:#d2deeb;border-radius:2px;top:100%;transition:top .2s}.water-cup.filled:after{top:6px}.water-cup.filled{border-color:#b6c9df}.water-controls{display:flex;gap:8px}.water-controls .icon-btn{border:1px solid var(--line);width:36px;height:34px;font-size:18px}.water-plus{background:var(--water-bg);color:#8b9fb7;flex:1;border-radius:8px;font-size:10px;font-weight:700;display:flex;justify-content:center;align-items:center;gap:4px}.water-plus svg{width:13px;height:13px}.water-plus:hover{background:#e7eef5}.tip-card{padding:24px 9px;position:relative}.tip-card>span{font-size:8px;letter-spacing:1.2px;color:#a3a88f;font-weight:800}.tip-card h3{font-size:12px;letter-spacing:-.2px;margin:9px 0 6px;color:#7e886d}.tip-card p{font-size:10px;line-height:1.9;color:var(--muted);max-width:195px}.tip-card>svg{position:absolute;right:9px;top:47px;width:27px;height:27px;color:#c0c9ac;transform:rotate(20deg)}.app-footer{max-width:1320px;margin:15px auto 0;padding:23px 42px;display:flex;justify-content:space-between;color:#a5ad97;font-size:9px}.app-footer>span:first-child{font-weight:800;font-size:13px;letter-spacing:-.5px;color:#8f9e7e}.mobile-nav{display:none}.empty-state{padding:45px 20px;background:var(--paper);border:1px solid var(--line);border-radius:17px;text-align:center}.empty-state>svg{width:38px;height:38px;color:#abbc94;margin-bottom:10px}.empty-state h3{font-size:16px;margin:0 0 7px}.empty-state p{font-size:11px;color:var(--muted);max-width:260px;margin:0 auto 18px}.settings-card{background:var(--paper);padding:27px;border:1px solid var(--line);border-radius:var(--radius);max-width:760px;margin-bottom:20px}.settings-card h2{font-size:17px;margin:0 0 8px}.settings-card .muted{line-height:1.8;margin:0 0 24px}.goals-fields{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin:20px 0 25px}label{display:flex;flex-direction:column;font-size:10px;font-weight:700;gap:7px;color:#7d8973}input,select{min-width:0;width:100%;border:1px solid var(--line);border-radius:9px;background:var(--input-bg);color:var(--ink);height:41px;padding:0 11px;font-size:12px}input::placeholder{color:#b1b7a5}input:focus,select:focus{border-color:#a2b58b;outline:none;box-shadow:0 0 0 3px #a2b58b20}.data-card{display:flex;align-items:center;justify-content:space-between;gap:15px}.data-card .muted{margin:0}.about-prototype{display:flex;gap:10px;max-width:730px;color:var(--muted);font-size:10px;line-height:1.9;padding:0 10px}.about-prototype svg{width:17px;height:17px;margin-top:2px}.about-prototype p{margin:0}.stats-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:25px}.stat-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:23px}.stat-card>span{font-size:10px;color:var(--muted);display:block}.stat-card strong{font-size:29px;letter-spacing:-1.2px;display:block;margin:10px 0 2px}.stat-card small{font-size:10px;color:#a1ab91}.chart-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:27px;margin-bottom:20px}.chart-card h2{font-size:15px;margin:0 0 4px}.chart-card p{font-size:10px;color:var(--muted);margin:0}.chart{display:flex;align-items:flex-end;gap:20px;height:240px;padding:25px 10px 0;margin-top:15px;border-bottom:1px solid var(--line)}.chart-day{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%;min-width:0}.chart-value{font-size:10px;color:#7d8d6c;margin-bottom:7px}.chart-bar{width:100%;max-width:50px;min-height:3px;background:var(--chart-bar);border-radius:8px 8px 0 0}.chart-day:last-child .chart-bar{background:#829e64}.chart-day-label{font-size:10px;color:#8a977c;padding:9px 0;display:flex;flex-direction:column;text-align:center}.chart-day-label small{font-size:8px;color:#b0b7a3}.stats-empty{padding:16px 0 0;font-size:11px;color:#9aab89}.chart-legend{display:flex;gap:7px;align-items:center;font-size:10px;color:var(--muted);margin:20px 0 0}.chart-legend span{width:7px;height:7px;background:var(--chart-accent);border-radius:2px}dialog{max-width:585px;width:calc(100% - 32px);border:0;border-radius:24px;padding:0;color:var(--ink);box-shadow:0 20px 100px #18281430;max-height:90dvh;overflow:auto}dialog::backdrop{background:#1f30294d;backdrop-filter:blur(5px)}.modal-header{padding:25px 27px 18px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.modal-header .eyebrow{font-size:8px}.modal-header h2{font-size:23px;letter-spacing:-.8px;margin:5px 0 0}.modal-body{padding:23px 27px}.photo-and-title{display:flex;gap:17px}.photo-upload{width:98px;height:122px;flex-shrink:0;border:1px dashed #cdd8c0;background:var(--subtle-bg);border-radius:14px;overflow:hidden;cursor:pointer;position:relative;display:grid;place-items:center}.photo-upload input{position:absolute;inset:0;opacity:0;cursor:pointer;height:100%;z-index:2}.photo-upload:focus-within{outline:3px solid #b4c89c}.photo-upload>span{display:flex;flex-direction:column;align-items:center;gap:8px;color:#93a57f;font-size:9px}.photo-upload svg{width:26px;height:26px}.photo-upload img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.meal-basics{flex:1;min-width:0;display:grid;gap:10px}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:10px}.photo-note{font-size:9px;color:var(--muted);line-height:1.7;margin:12px 0 18px}.photo-note button{font-size:9px;text-decoration:underline;color:#bc8d73;margin-left:5px}.input-tabs{display:flex;gap:5px;border-radius:10px;padding:4px;background:var(--soft-bg);margin-bottom:18px}.input-tabs button{flex:1;border-radius:7px;padding:8px;font-size:10px;color:#909b84;font-weight:700}.input-tabs button.active{background:var(--paper);color:var(--accent-text);box-shadow:0 2px 4px #213b2410}.ingredient-labels,.ingredient-row{display:grid;grid-template-columns:minmax(0,1fr) 80px 25px;gap:9px}.ingredient-labels{font-size:9px;color:#909b83;margin-bottom:6px}.ingredient-row{margin-bottom:8px}.ingredient-row select,.ingredient-row input{height:39px;font-size:10px;padding:0 8px}.ingredient-row .remove-ingredient{width:25px;height:39px;color:#a8ad9e}.ingredient-row .remove-ingredient svg{width:13px;height:13px}.ingredient-add{font-size:10px;margin-top:3px}.ingredient-add svg{width:14px;height:14px}.field-hint{font-size:9px;color:var(--muted);line-height:1.7;margin:12px 0 5px}.custom-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.custom-grid label:first-child{grid-column:1/-1}.meal-preview{margin-top:22px;padding:17px;border:1px solid var(--line);border-radius:13px;background:var(--subtle-bg);display:grid;grid-template-columns:1fr auto;gap:6px;align-items:center}.meal-preview>span{font-size:10px;color:#89967a}.meal-preview>strong{font-size:11px;font-weight:500;color:#849375}.meal-preview>strong b{font-size:22px;color:var(--accent-text);font-weight:800;letter-spacing:-.5px}.meal-preview>div{grid-column:1/-1;display:flex;gap:15px;font-size:9px;color:#9ba68c}.meal-preview>div b{color:var(--accent-text);font-weight:700}.modal-footer{display:flex;justify-content:flex-end;align-items:center;gap:16px;padding:18px 27px;border-top:1px solid var(--line);position:sticky;bottom:0;background:var(--paper);z-index:3}.modal-footer .primary-btn{min-width:180px}.delete-btn{display:flex;align-items:center;gap:6px;font-size:10px;color:#bd8d7a;margin-right:auto}.delete-btn svg{width:14px;height:14px}.form-error{font-size:10px;color:#b06c52;margin-bottom:0}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);background:var(--dark-btn);color:#fff;padding:12px 22px;border-radius:12px;font-size:12px;z-index:20;box-shadow:0 8px 30px #1b302030;opacity:0;pointer-events:none;transition:.2s;max-width:90vw;text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1450px){.app-shell{grid-template-columns:245px minmax(0,1fr)}.sidebar{padding-left:30px;padding-right:30px}.content{padding:42px 55px 0}.topbar{padding:0 55px}.diary-grid{grid-template-columns:minmax(0,1fr) 285px;gap:30px}.balance-body{padding:25px 35px 30px;gap:35px}.calorie-ring{width:195px;height:195px}.camera-card{padding:23px}.camera-art{height:160px}.meal-details{max-width:400px}.meal-card{padding:19px}.food-thumb,.food-thumb svg{width:74px;height:74px}}
@media(max-width:1180px){.app-shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:32px 15px 22px}.brand{font-size:25px}.brand-mark{width:32px;height:32px;border-radius:10px}.sidebar-label{font-size:7px;letter-spacing:1px}.content{padding:30px 26px 0}.topbar{padding:0 26px}.diary-grid{grid-template-columns:minmax(0,1fr) 225px;gap:19px}.balance-body{padding:20px 17px;gap:15px}.calorie-ring{width:151px;height:151px}.ring-copy strong{font-size:29px}.balance-top{padding:18px 18px 0}.macro-label{font-size:9px}.macro-label>span:last-child{font-size:8px}.balance-footer{padding:11px 18px}.camera-card{padding:17px}.camera-art{height:133px;transform:scale(.94)}.camera-card h2{font-size:18px}.page-heading h1{font-size:31px}.meal-details{max-width:210px}.meal-info h3{font-size:11px}.meal-card{padding:14px}.meal-card-body{gap:10px}.food-thumb,.food-thumb svg{width:58px;height:58px}.app-footer{padding:23px 26px}.profile small{font-size:7px}.nav-item{font-size:12px;padding:0 10px}}
@media(max-width:960px){.diary-grid{grid-template-columns:minmax(0,1fr)}.right-rail{display:grid;grid-template-columns:1fr 1fr;gap:16px}.camera-card{display:none}.water-card{margin:0}.tip-card{padding:17px 5px}.tip-card p{max-width:none;padding-right:15px}.tip-card>svg{display:none}.balance-body{padding:20px 27px 25px;gap:30px}.calorie-ring{width:177px;height:177px}.ring-copy strong{font-size:34px}.macro-summary{max-width:none}.meal-info h3{font-size:13px}.meal-details{max-width:340px}.food-thumb,.food-thumb svg{width:66px;height:66px}.meal-card{padding:17px}.stats-summary{gap:10px}.stat-card{padding:17px}.stat-card strong{font-size:25px}.stat-card>span{font-size:9px}}
@media(max-width:700px){.app-shell{display:block}.sidebar{display:none}.topbar{height:62px;padding:0 22px}.topbar-path{font-size:10px}.topbar-path:before{content:"BJUTrack";font-weight:800;font-size:20px;letter-spacing:-1px;color:var(--accent-text);margin-right:12px}.topbar-path>span,.topbar-path>strong{display:none}.topbar-path{font-size:0}.prototype-badge{font-size:8px;padding:5px 8px}.content{padding:26px 20px 0}.page-heading{margin-bottom:22px;align-items:flex-start}.eyebrow{font-size:8px;letter-spacing:1.4px}.page-heading h1{font-size:30px;margin:7px 0 9px}.page-heading p{font-size:10px}.desktop-add{display:none}.diary-grid{gap:17px}.balance-card{border-radius:21px}.balance-top{padding:17px 19px 0;font-size:11px}.balance-top .text-btn{font-size:9px}.balance-body{padding:19px 19px 23px;gap:22px;justify-content:initial}.calorie-ring{width:152px;height:152px}.ring-copy strong{font-size:30px}.ring-copy>span{font-size:8px}.ring-copy svg{width:17px;height:17px}.macro-summary{flex:1}.remaining>span{font-size:8px}.remaining>strong{font-size:22px;margin-bottom:15px}.remaining small{font-size:10px}.macro-label{font-size:9px}.macro-label>span:last-child{font-size:8px}.macro-row{margin-top:10px}.macro-track{height:4px}.balance-footer{font-size:8px;padding:10px 19px}.date-section{margin:21px 0 22px}.date-heading>strong{font-size:11px}.date-controls{gap:12px}.date-button{min-height:63px;border-radius:12px}.week-strip{gap:4px}.date-button strong{font-size:14px}.date-button span{font-size:8px}.section-heading h2{font-size:13px}.section-heading{margin-bottom:13px}.meal-card{border-radius:15px;padding:15px;margin-bottom:10px}.meal-card-body{gap:12px}.food-thumb,.food-thumb svg{width:60px;height:60px}.meal-info h3{font-size:11px}.meal-details{max-width:190px;font-size:8px;margin-bottom:6px}.meal-calories strong{font-size:17px}.meal-calories{min-width:44px}.meal-calories>span{font-size:8px}.macro-chip{font-size:7px;padding:2px 5px}.meal-macros{gap:4px}.meal-topline{font-size:8px;margin-bottom:10px}.meal-edit{font-size:7px}.demo-notice{font-size:8px;padding:6px 10px}.demo-notice .text-btn{font-size:8px}.local-note{font-size:8px;margin:17px 0 0}.right-rail{gap:15px}.water-card{padding:17px;border-radius:17px}.water-card h2{font-size:11px}.water-total{gap:5px}.water-total strong{font-size:23px}.water-total>span{font-size:7px}.water-cups{gap:4px}.water-cup{height:22px}.water-card .muted{font-size:8px}.water-controls{gap:6px}.water-plus{font-size:9px}.tip-card{padding:16px 2px}.tip-card>span{font-size:7px;letter-spacing:.7px}.tip-card h3{font-size:11px}.tip-card p{font-size:9px;padding-right:0;line-height:1.9}.app-footer{padding:24px 20px 106px;margin:4px 0 0;font-size:8px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:5;background:var(--nav-bg);border-top:1px solid #e9ede2;backdrop-filter:blur(14px);padding:10px 18px calc(10px + env(safe-area-inset-bottom));justify-content:space-around;align-items:center;gap:10px}.mobile-nav button{display:flex;align-items:center;flex-direction:column;gap:4px;font-size:8px;color:#a3ad97;min-width:58px}.mobile-nav button.active{color:#587346}.mobile-nav svg{width:21px;height:21px}.mobile-nav .mobile-add{background:var(--green);color:#fff;border-radius:15px;min-width:48px;height:48px;justify-content:center;box-shadow:0 5px 10px #4c6c3d20}.mobile-add svg{width:24px;height:24px}.stats-summary{grid-template-columns:1fr 1fr;gap:11px}.stat-card{padding:19px}.stat-card:last-child{grid-column:1/-1;display:flex;align-items:center;gap:15px;justify-content:space-between}.stat-card:last-child strong{margin:0}.stat-card:last-child small{display:none}.stat-card strong{font-size:27px}.chart-card{padding:20px}.chart{gap:10px;height:210px;padding:20px 0 0}.chart-value{font-size:8px}.chart-day-label{font-size:9px}.settings-card{padding:22px;border-radius:18px}.settings-card h2{font-size:15px}.goals-fields{gap:15px}.data-card{align-items:flex-start;flex-direction:column}.about-prototype{font-size:9px}.toast{bottom:95px;font-size:10px;padding:11px 18px}.modal-header{padding:22px}.modal-body{padding:20px 22px}.modal-footer{padding:16px 22px}dialog{border-radius:23px;max-height:91dvh}.photo-upload{width:80px;height:118px}.photo-and-title{gap:13px}.meal-basics input,.meal-basics select{font-size:10px;padding:0 8px}.modal-header h2{font-size:21px}.two-cols{gap:8px}.meal-basics label{font-size:9px}.modal-footer .primary-btn{min-width:150px;padding:0 12px;font-size:10px}}
@media(max-width:370px){.content{padding-left:14px;padding-right:14px}.balance-body{padding:18px 14px;gap:14px}.calorie-ring{width:138px;height:138px}.ring-copy strong{font-size:27px}.macro-label{font-size:8px}.macro-label>span:last-child{font-size:7px}.macro-label{gap:5px}.meal-card{padding:12px}.meal-card-body{gap:8px}.food-thumb,.food-thumb svg{width:52px;height:52px}.meal-info h3{font-size:10px}.meal-details{max-width:140px}.meal-preview{padding:13px}.modal-body{padding:18px}.modal-header,.modal-footer{padding:18px}.photo-upload{width:67px}.photo-and-title{gap:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
