@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@700;800&display=swap";:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#15233b;background:#f4f7fb;font-synthesis:none;--navy: #123566;--navy-2: #1b4f8f;--blue: #2877d4;--blue-50: #eef5ff;--blue-100: #dceaff;--ink: #15233b;--muted: #65758b;--line: #dbe4f0;--card: #ffffff;--danger: #b83b4b;--shadow: 0 14px 36px rgba(23, 55, 94, .08);--radius: 20px;--control-h: 44px}*{box-sizing:border-box}html{background:#f4f7fb}body{margin:0;min-width:320px;background:#f4f7fb}button,input,select,textarea{font:inherit}input,select,textarea{font-size:16px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.62}svg{flex:0 0 auto}.app-shell{min-height:100vh;padding-bottom:34px}.topbar{height:76px;padding:0 max(20px,calc((100vw - 1180px)/2));display:flex;align-items:center;gap:14px;position:sticky;top:0;z-index:30;background:#fffffff0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;min-width:0}.plain{border:0;background:none;padding:0}.brandmark{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;color:#fff;background:linear-gradient(145deg,var(--navy),var(--blue));box-shadow:0 8px 20px #12356633}.brandmark svg{width:21px}.brand>div{display:flex;flex-direction:column;min-width:0;text-align:left}.brand strong{font:800 18px Manrope,sans-serif;color:var(--navy)}.brand small{color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}.header-kcal{margin-left:auto;display:flex;flex-direction:column;text-align:right;line-height:1.15}.header-kcal span{font:800 16px Manrope,sans-serif;color:var(--navy)}.header-kcal small{margin-top:3px;color:var(--muted);font-size:11px}.add-head,.primary,.secondary,.link-btn,.status,.recipe-actions button{min-height:var(--control-h);border-radius:12px;font-weight:700;font-size:14px;transition:transform .15s ease,background .15s ease,border-color .15s ease}.add-head,.primary{border:1px solid var(--navy);background:var(--navy);color:#fff;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.add-head:hover,.primary:hover{background:#0d2a53;transform:translateY(-1px)}.add-head svg,.primary svg{width:18px}.avatar{width:40px;height:40px;border:1px solid #cbdaf0;border-radius:50%;background:var(--blue-50);color:var(--navy);font-weight:800}.main-nav{position:sticky;top:76px;z-index:25;display:flex;justify-content:center;gap:4px;padding:7px 14px;background:#f8fbfff5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.main-nav button{min-height:42px;border:0;border-radius:11px;background:transparent;color:var(--muted);padding:0 14px;display:flex;align-items:center;gap:7px;font-weight:700;font-size:13px}.main-nav button svg{width:18px}.main-nav button:hover{color:var(--navy);background:#edf4fd}.main-nav button.active{color:var(--navy);background:var(--blue-100)}main{max-width:1180px;margin:auto;padding:24px 22px}.notice{min-height:44px;margin-bottom:16px;padding:11px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #c8daf2;border-radius:13px;background:#eef5ff;color:#244c7e;font-size:13px}.notice button{border:0;background:none;color:inherit}.notice button svg{width:18px}.error{color:var(--danger);font-size:13px}.empty{color:#8796aa;font-size:13px}.eyebrow{color:#58779e;text-transform:uppercase;letter-spacing:.11em;font-size:11px;font-weight:800}.date-nav{display:flex;justify-content:center;align-items:center;gap:12px;margin-bottom:20px}.date-nav>div{min-width:210px;display:flex;justify-content:center;align-items:center;gap:8px;font-weight:700;color:var(--navy)}.date-nav button,.icon-btn{width:40px;height:40px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--navy);display:grid;place-items:center}.date-nav button:hover,.icon-btn:hover{background:var(--blue-50);border-color:#bfd3ef}.date-nav svg,.icon-btn svg{width:18px}.hero-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:18px}.calorie-card,.macros-card,.diary,.page-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.calorie-card{padding:30px;display:flex;align-items:center;gap:30px;background:linear-gradient(145deg,#fff,#f1f6fd)}.ring{width:164px;height:164px;flex:0 0 auto;border-radius:50%;background:conic-gradient(var(--blue) calc(var(--p) * 3.6deg),#dfe9f5 0);display:grid;place-items:center;position:relative}.ring:before{content:"";position:absolute;top:13px;right:13px;bottom:13px;left:13px;border-radius:50%;background:#fff}.ring>div{position:relative;display:flex;align-items:center;flex-direction:column}.ring svg{width:24px;color:var(--blue)}.ring strong{font:800 32px Manrope,sans-serif;color:var(--navy)}.ring span{color:var(--muted);font-size:12px}.calorie-card h1,.section-head h2,.sheet h2,.page-card h2{font:800 26px Manrope,sans-serif;color:var(--navy)}.calorie-card h1{margin:7px 0;font-size:clamp(22px,3vw,31px)}.calorie-card p{margin:0;color:var(--muted)}.macros-card{padding:27px;display:flex;flex-direction:column;justify-content:center;gap:22px}.macro-top{display:flex;justify-content:space-between;gap:12px}.macro-top span{font-weight:700}.macro-top strong{font-size:13px;color:var(--navy)}.bar{height:9px;margin-top:9px;border-radius:99px;background:#e9eff7;overflow:hidden}.bar i{display:block;height:100%;border-radius:inherit;background:#2778d4}.carbs .bar i{background:#5f8fc7}.fat .bar i{background:#88a6c8}.diary{margin-top:18px;padding:26px}.page-card{padding:27px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.section-head h2,.page-card h2{margin:5px 0 0;font-size:25px}.secondary{border:1px solid #c7d6e9;background:#fff;color:var(--navy);padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:7px}.secondary:hover{background:var(--blue-50)}.meal-list{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}.meal{position:relative;overflow:hidden;min-height:118px;border:1px solid var(--line);border-top:4px solid;border-radius:16px;padding:16px}.meal-breakfast{border-top-color:#e4a73c;background:#fffbf2}.meal-lunch{border-top-color:#4c9a7d;background:#f5fbf9}.meal-dinner{border-top-color:#4f79bc;background:#f5f8fd}.meal-snack{border-top-color:#9b6fae;background:#fbf7fd}.meal-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.meal h3{margin:0;font:800 16px Manrope,sans-serif;color:var(--navy)}.meal-head strong{color:var(--muted);font-size:13px}.entry{display:grid;grid-template-columns:1fr auto 32px;gap:10px;align-items:center;padding-top:11px;margin-top:11px;border-top:1px solid rgba(120,141,168,.22)}.entry>div{min-width:0;display:flex;flex-direction:column}.entry>div strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14px}.entry>div span{margin-top:3px;color:var(--muted);font-size:11px}.entry b{font-size:12px;color:var(--navy)}.entry button{width:32px;height:32px;border:0;border-radius:9px;background:transparent;color:var(--danger);display:grid;place-items:center}.entry button:hover{background:#fff0f2}.entry button svg{width:17px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;padding:20px;display:flex;align-items:center;justify-content:center;background:#12233d7a;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.sheet{width:min(560px,100%);max-height:min(92dvh,820px);overflow:auto;padding:24px;border-radius:22px;background:#fff;box-shadow:0 30px 80px #0e213b40}.sheet-wide{width:min(820px,100%)}.sheet-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.sheet h2{margin:0;font-size:24px}.sheet-intro{margin:8px 0 18px;color:var(--muted);font-size:14px}.add-options{display:grid;gap:10px}.add-options>button{width:100%;min-height:76px;padding:13px;display:grid;grid-template-columns:46px 1fr 22px;align-items:center;gap:12px;text-align:left;border:1px solid var(--line);border-radius:15px;background:#fff;color:var(--ink)}.add-options>button:hover{border-color:#a9c5e8;background:#f6f9fe}.add-options>button>span:nth-child(2){display:flex;flex-direction:column;gap:4px}.add-options strong{color:var(--navy);font-size:15px}.add-options small{color:var(--muted);font-size:12px}.option-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:13px;background:var(--blue-50);color:var(--blue)}.option-icon svg{width:21px}.scanner-frame{min-height:260px;margin-top:14px;overflow:hidden;border-radius:16px;background:#17243a}.scanner-hint{display:flex;align-items:center;gap:8px;margin:12px 2px;color:var(--muted);font-size:13px}.manual-row{display:grid;grid-template-columns:24px 1fr auto;align-items:center;padding-left:12px;border:1px solid var(--line);border-radius:12px;overflow:hidden}.manual-row input{min-width:0;height:var(--control-h);border:0;outline:0;padding:0 8px}.manual-row button{height:var(--control-h);border:0;background:var(--blue-50);color:var(--navy);padding:0 14px;font-weight:700}.searchbox{display:grid;grid-template-columns:24px 1fr auto;align-items:center;margin:14px 0;padding-left:12px;border:1px solid var(--line);border-radius:13px;overflow:hidden}.searchbox input{min-width:0;height:var(--control-h);border:0;outline:0;padding:0 8px}.searchbox button{height:var(--control-h);border:0;padding:0 14px;display:flex;align-items:center;gap:6px;background:var(--blue-50);color:var(--navy);font-weight:700}.searchbox button svg{width:17px}.food-results{max-height:54vh;overflow:auto}.food-row{width:100%;min-height:64px;padding:11px 5px;display:flex;align-items:center;justify-content:space-between;gap:15px;border:0;border-bottom:1px solid var(--line);background:#fff;text-align:left}.food-row:hover{background:#f6f9fd}.food-row>div{min-width:0;display:flex;flex-direction:column}.food-row strong{color:var(--navy)}.food-row span{margin-top:4px;color:var(--muted);font-size:12px}.food-row b{white-space:nowrap;color:var(--navy);font-size:13px}.auth-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at top,#dcecff,#f4f7fb 48%)}.auth-card{width:min(430px,100%);padding:34px;border:1px solid #d8e3f1;border-radius:24px;background:#fff;box-shadow:0 24px 70px #18396126}.auth-card h1{margin:20px 0 8px;font:800 29px Manrope,sans-serif;color:var(--navy)}.auth-card p{color:var(--muted);line-height:1.55}.auth-card label,.form-grid label,.inline-form label,.field{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700;color:#30445e}.auth-card label{margin:14px 0}.auth-card input,.form-grid input,.form-grid select,.inline-form input,.inline-form select,.field input,.field select,.ingredient-list input{width:100%;height:var(--control-h);min-width:0;border:1px solid #cad7e7;border-radius:11px;background:#fff;color:var(--ink);padding:0 12px;outline:none}.auth-card input:focus,.form-grid input:focus,.form-grid select:focus,.inline-form input:focus,.inline-form select:focus,.field input:focus,.field select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2877d41f}.link-btn{width:100%;border:0;background:transparent;color:var(--blue)}.wide{width:100%}.inline-form,.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.inline-form{padding:15px;border:1px solid #dce7f4;border-radius:15px;background:#f5f8fd}.chips{display:flex;flex-wrap:wrap;gap:7px}.chips button{min-height:34px;padding:0 11px;border:1px solid #bcd1ec;border-radius:99px;background:var(--blue-50);color:var(--navy);font-size:12px;font-weight:700}.product-summary{display:flex;gap:16px;align-items:center;margin:14px 0;padding:15px;border-radius:15px;background:#f1f6fd}.product-summary>div{display:flex;flex-direction:column}.product-summary span,.product-summary small{color:var(--muted)}.product-summary strong{margin:3px 0;font:800 22px Manrope,sans-serif;color:var(--navy)}.field{margin-top:15px}.nutri-preview{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:18px 0}.nutri-preview>div{padding:11px 7px;border:1px solid #dce7f4;border-radius:12px;background:#f6f9fd;text-align:center;display:flex;flex-direction:column}.nutri-preview span{color:var(--muted);font-size:11px}.nutri-preview strong{margin-top:4px;color:var(--navy);font-size:13px}.recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.recipe-grid article{padding:18px;border:1px solid var(--line);border-radius:16px;background:#f8fafd}.recipe-grid h3{margin:0;font:800 18px Manrope,sans-serif;color:var(--navy)}.recipe-grid p{color:var(--muted);font-size:13px}.recipe-actions button{border:1px solid var(--navy);background:var(--navy);color:#fff;padding:0 12px}.ingredient-list{margin:15px 0}.ingredient-list>div{display:grid;grid-template-columns:1fr 90px 20px 34px;gap:8px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}.ingredient-list button{border:0;background:none;color:var(--danger)}.ingredient-list button svg{width:17px}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:18px}.history{margin-top:18px}.history>div,.user-table>div{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.history span,.user-table span{color:var(--muted);font-size:13px}.user-table>div>div{min-width:0;display:flex;flex-direction:column}.user-table select,.status{height:38px;border:1px solid #cad7e7;border-radius:10px;background:#fff;color:var(--ink);padding:0 9px}.status.active{border-color:#afcbed;background:var(--blue-50);color:var(--navy)}.loading{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;background:#ffffffbd}.loading span{width:42px;height:42px;border:4px solid #dce7f4;border-top-color:var(--blue);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:780px){.topbar{height:66px;padding:0 14px}.brand small{display:none}.brandmark{width:38px;height:38px}.main-nav{top:66px;justify-content:flex-start;overflow-x:auto}.main-nav button{min-width:62px;padding:0 9px;flex-direction:column;justify-content:center;gap:2px;font-size:10px}.main-nav button:last-child{margin-left:auto}main{padding:17px 14px}.hero-grid,.two-cols{grid-template-columns:1fr}.calorie-card{padding:22px;gap:20px}.ring{width:132px;height:132px}.ring strong{font-size:27px}.meal-list,.recipe-grid{grid-template-columns:1fr}.diary,.page-card{padding:20px}.inline-form,.form-grid{grid-template-columns:1fr 1fr}.header-kcal span{font-size:13px}.header-kcal small{display:none}.add-head{padding:0 12px}}@media(max-width:480px){:root{--control-h: 42px}.brand>div{display:none}.header-kcal{text-align:center}.add-head span{display:none}.add-head{width:42px;padding:0}.avatar{width:38px;height:38px}.main-nav{justify-content:space-between;padding-inline:5px}.main-nav button{min-width:50px}.main-nav button:last-child{display:none}.date-nav>div{min-width:170px}.calorie-card{align-items:flex-start}.ring{width:110px;height:110px}.ring strong{font-size:21px}.calorie-card h1{font-size:20px}.calorie-card p{font-size:12px}.section-head{align-items:flex-start}.section-head .primary{padding:0 12px}.inline-form,.form-grid{grid-template-columns:1fr}.nutri-preview{grid-template-columns:1fr 1fr}.modal-backdrop{padding:8px}.sheet{padding:20px}.scanner-frame{min-height:225px}.entry{grid-template-columns:1fr 32px}.entry>b{display:none}.add-options>button{grid-template-columns:42px 1fr 18px}}.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 8px}.search-control{min-width:260px;flex:1;height:var(--control-h);display:grid;grid-template-columns:24px 1fr;align-items:center;gap:7px;padding:0 12px;border:1px solid #cad7e7;border-radius:11px;background:#fff}.search-control svg{width:18px;color:var(--muted)}.search-control input{width:100%;height:100%;border:0;outline:0;color:var(--ink);background:transparent}.list-toolbar>label{height:var(--control-h);display:flex;align-items:center;gap:7px;padding-left:11px;border:1px solid #cad7e7;border-radius:11px;color:var(--muted);font-size:12px;font-weight:700;background:#fff}.list-toolbar>label svg{width:17px}.list-toolbar select{height:100%;border:0;outline:0;padding:0 11px 0 2px;color:var(--navy);background:transparent;font-weight:700}.recipe-list{display:grid;gap:10px;margin-top:14px}.recipe-list article{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 16px;border:1px solid var(--line);border-radius:15px;background:#f9fbfe}.recipe-main{min-width:0}.recipe-main h3{margin:0;color:var(--navy);font:800 17px Manrope,sans-serif}.recipe-main p{margin:5px 0 3px;color:var(--muted);font-size:13px}.recipe-main small{color:#7b8ba0}.recipe-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.compact{min-height:38px!important;height:38px;padding:0 11px!important;font-size:12px!important}.danger-btn{min-height:var(--control-h);display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #e5bcc3;border-radius:12px;background:#fff7f8;color:var(--danger);padding:0 14px;font-weight:700}.danger-btn:hover{background:#ffedef}.danger-btn svg,.compact svg{width:16px}.entry{grid-template-columns:1fr auto auto}.entry-actions{display:flex;align-items:center;gap:2px}.entry-actions button:first-child{color:var(--blue)}@media(max-width:780px){.list-toolbar{align-items:stretch;flex-direction:column}.search-control{min-width:0}.list-toolbar>label{justify-content:space-between}.recipe-list article{align-items:flex-start;flex-direction:column}.recipe-row-actions{width:100%;justify-content:flex-start}}@media(max-width:480px){.recipe-row-actions{display:grid;grid-template-columns:1fr 1fr}.recipe-row-actions .primary{grid-column:1 / -1}.recipe-row-actions button{width:100%}.entry{grid-template-columns:1fr auto}.entry-actions{grid-column:2;grid-row:1 / span 2}}.inline-form{align-items:end}.inline-form>button{height:var(--control-h);min-height:var(--control-h);align-self:end}.inline-form .primary{width:auto}.brandmark{position:relative;overflow:hidden}.brandmark img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;background:#fff;z-index:2}.user-menu{position:relative}.user-trigger{min-height:46px;display:flex;align-items:center;gap:9px;padding:3px 8px 3px 4px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink)}.user-trigger:hover{background:var(--blue-50)}.user-trigger>svg{width:16px;color:var(--muted)}.user-trigger-text{max-width:150px;display:flex;flex-direction:column;text-align:left;line-height:1.2}.user-trigger-text strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--navy);font-size:13px}.user-trigger-text small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:10px}.menu-scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:43;border:0;background:transparent}.user-popover{position:absolute;z-index:44;top:calc(100% + 10px);right:0;width:260px;padding:8px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 20px 50px #12356629}.user-popover-head{padding:10px 11px 13px;display:flex;flex-direction:column;border-bottom:1px solid var(--line)}.user-popover-head strong{color:var(--navy)}.user-popover-head span{margin-top:3px;color:var(--muted);font-size:12px}.user-popover>button{width:100%;min-height:42px;padding:0 10px;display:flex;align-items:center;gap:10px;border:0;border-radius:10px;background:transparent;color:var(--ink);text-align:left;font-size:13px;font-weight:700}.user-popover>button:hover{background:var(--blue-50);color:var(--navy)}.user-popover>button svg{width:17px}.user-popover .logout-item{margin-top:4px;color:var(--danger)}.clickable-row{cursor:pointer;transition:background .15s ease,border-color .15s ease}.clickable-row:hover{background:#f5f9ff!important}.entry.clickable-row:focus-visible,.data-row:focus-visible,.recipe-list article:focus-visible{outline:3px solid rgba(40,119,212,.22);outline-offset:2px}.entry-actions{display:flex}.entry-actions button,.row-delete{width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:10px;background:transparent;color:var(--danger)}.entry-actions button:hover,.row-delete:hover{background:#fff0f2}.entry-actions svg,.row-delete svg{width:17px}.modal-actions{display:flex;justify-content:space-between;gap:10px;margin-top:18px}.danger-btn{min-height:var(--control-h);padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #e4a8b0;border-radius:12px;background:#fff4f5;color:var(--danger);font-weight:700;font-size:13px}.danger-btn:hover{background:#ffe8eb}.danger-btn svg{width:17px}.danger-btn.wide+.primary.wide{margin-top:10px}.data-list{margin-top:8px}.data-row{min-height:70px;display:grid;grid-template-columns:minmax(0,1fr) auto 42px;align-items:center;gap:16px;padding:10px 5px;border-bottom:1px solid var(--line)}.data-row>div:first-child,.data-macros{display:flex;flex-direction:column}.data-row strong{color:var(--navy)}.data-row span{margin-top:4px;color:var(--muted);font-size:12px}.data-macros{text-align:right}.data-macros b{color:var(--navy)}.list-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;margin:16px 0}.search-control{height:var(--control-h);padding:0 12px;display:flex;align-items:center;gap:8px;border:1px solid #cad7e7;border-radius:11px;background:#fff}.search-control input{width:100%;min-width:0;border:0;outline:0;background:transparent}.search-control svg,.list-toolbar label>svg{width:17px;color:var(--muted)}.list-toolbar label{height:var(--control-h);display:flex;align-items:center;gap:7px;padding-left:11px;border:1px solid #cad7e7;border-radius:11px;background:#fff;color:var(--muted);font-size:12px;font-weight:700}.list-toolbar select{height:100%;border:0;outline:0;background:transparent;color:var(--ink);font-weight:700}.range-tabs{display:flex;gap:6px;padding:4px;border-radius:12px;background:var(--blue-50)}.range-tabs button{min-height:34px;padding:0 12px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-weight:700;font-size:12px}.range-tabs button.active{background:#fff;color:var(--navy);box-shadow:0 3px 10px #1235661a}.summary-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.summary-strip>div{padding:14px;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;background:#f7faff}.summary-strip span{color:var(--muted);font-size:11px}.summary-strip strong{margin-top:4px;color:var(--navy);font:800 20px Manrope,sans-serif}.charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.charts .chart-card:last-child{grid-column:1/-1}.chart-card{padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff}.chart-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.chart-head>div{display:flex;flex-direction:column}.chart-head span,.chart-head small{color:var(--muted);font-size:11px}.chart-head strong{margin-top:3px;color:var(--navy);font:800 18px Manrope,sans-serif}.chart-scroll{width:100%;overflow:hidden}.chart-scroll svg{display:block;width:100%;height:250px;min-width:0}.axis{stroke:#dbe4f0;stroke-width:1}.value-line{fill:none;stroke:var(--blue);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.goal-line{fill:none;stroke:var(--navy);stroke-width:2;stroke-dasharray:9 7;opacity:.75}.value-dot{fill:#fff;stroke:var(--blue);stroke-width:3}.week-table{margin-top:18px;border:1px solid var(--line);border-radius:14px;overflow:hidden}.week-row{min-height:44px;padding:0 14px;display:grid;grid-template-columns:1.4fr repeat(4,1fr);align-items:center;gap:10px;border-bottom:1px solid var(--line);font-size:12px}.week-row:last-child{border-bottom:0}.week-head{background:var(--blue-50);color:var(--muted);font-weight:800}.app-footer{max-width:1180px;margin:10px auto 0;padding:20px 22px;color:#7b899d;text-align:center;font-size:11px}.recipe-list article{cursor:pointer}.recipe-row-actions{position:relative;z-index:2}@media(max-width:780px){.user-trigger-text{display:none}.user-trigger{padding-right:4px}.user-trigger>svg{display:none}.topbar .header-kcal{display:none}.list-toolbar{grid-template-columns:1fr}.data-row{grid-template-columns:minmax(0,1fr) auto 38px;gap:8px}.data-macros span{display:none}.summary-strip{grid-template-columns:1fr 1fr}.summary-strip>div:last-child{grid-column:1/-1}.week-row{min-width:560px}.week-table{overflow-x:auto}.modal-actions{flex-direction:column-reverse}.modal-actions>button{width:100%}}@media(max-width:620px){.topbar{height:86px;padding:7px 12px 6px;display:grid;grid-template-columns:minmax(0,1fr) 42px 42px;grid-template-rows:44px 25px;column-gap:8px;row-gap:4px;align-items:center}.brand{grid-column:1;grid-row:1;width:100%;overflow:hidden}.brandmark{width:38px;height:38px;border-radius:12px}.brand>div{display:flex;overflow:hidden}.brand strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px}.brand small{display:none}.add-head{grid-column:2;grid-row:1;width:42px;min-width:42px;height:42px;min-height:42px;padding:0;border-radius:12px}.add-head span{display:none}.user-menu{grid-column:3;grid-row:1}.user-trigger{width:42px;height:42px;min-height:42px;padding:2px;justify-content:center;border-radius:12px}.user-trigger .avatar{width:34px;height:34px}.header-kcal,.topbar .header-kcal{grid-column:1 / -1;grid-row:2;width:100%;height:25px;margin:0;padding:0 9px;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:5px;border-radius:8px;background:var(--blue-50);text-align:center}.header-kcal span{font-size:12px}.header-kcal small{display:inline;margin:0;font-size:10px}.main-nav{top:86px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;width:100%;padding:5px 4px;overflow:visible}.main-nav button,.main-nav button:last-child{width:100%;min-width:0;min-height:48px;margin:0;padding:4px 2px;display:flex;flex-direction:column;justify-content:center;gap:2px;border-radius:10px;font-size:9.5px;line-height:1.05;white-space:nowrap}.main-nav button svg{width:17px;height:17px}}@media(max-width:355px){.brand>div{display:none}.main-nav button{font-size:8.5px}}@media(max-width:780px){.charts{grid-template-columns:1fr}.charts .chart-card:last-child{grid-column:auto}.chart-scroll svg{height:230px}.sheet{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:18px}}@media(max-width:620px){input,select,textarea,.search-control input,.list-toolbar select{font-size:16px!important}.modal-backdrop{padding:8px;align-items:flex-end}.sheet{padding:18px;border-radius:18px 18px 0 0;width:100%;max-height:88dvh}.chart-card{padding:12px}.chart-head{flex-direction:column;gap:4px}.chart-scroll svg{height:210px}.summary-strip{grid-template-columns:1fr 1fr}}
