:root{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Inter,Arial,sans-serif;background:#f6f7f2;color:#202e28;font-synthesis:none;--ink:#20352d;--green:#ccf48d;--lime:#c6f08a;--cream:#f6f7f2;--muted:#829086;--line:#e9ede4;--white:#fff;--blue:#9ec7e9;--apricot:#ffceac;--lav:#c9baf4;--radius:24px;}
*{box-sizing:border-box}html{min-height:100%;scroll-behavior:smooth}body{margin:0;min-height:100vh;-webkit-tap-highlight-color:transparent}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #71a66c;outline-offset:3px}input,select{border:1px solid #e3e9df;background:#fff;border-radius:14px;padding:13px 15px;color:var(--ink);min-width:0;width:100%;outline:0}input:focus,select:focus{border-color:#9abf72}input[type=number]{font-variant-numeric:tabular-nums}svg{flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.055em}h1{font-size:clamp(32px,4vw,48px);font-weight:760;line-height:1.08}h2{font-size:22px;font-weight:750;line-height:1.15}h3{font-size:17px;font-weight:750}p{line-height:1.5}small,.muted{color:var(--muted)}.boot{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:22px}.brand-symbol{font-weight:900;letter-spacing:-.13em;font-size:70px;color:var(--ink)}.brand-symbol span{color:#9ed658}.boot p{color:var(--muted)}.app-frame{min-height:100vh;display:flex}.sidebar{width:248px;background:#1d332a;color:#fff;padding:30px 19px 24px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:12}.sidebar-logo{display:flex;align-items:center;gap:13px;padding:0 17px 44px}.logo-box{height:41px;width:41px;display:grid;place-items:center;background:#ccf38f;border-radius:13px;color:#183125;font-weight:880;letter-spacing:-.13em;font-size:25px}.logo-box .dot{color:#579936}.sidebar-logo .title{font-size:18px;font-weight:790;letter-spacing:-.06em}.sidebar-logo .subtitle{font-size:11px;color:#a8bdb0;margin-top:3px}.section-name{text-transform:uppercase;letter-spacing:.15em;font-size:10px;color:#91a79a;margin:0 15px 14px;font-weight:700}.nav-items{display:grid;gap:8px}.nav-item{display:flex;align-items:center;gap:13px;border:0;border-radius:15px;background:transparent;text-align:left;color:#b4c7b9;padding:15px 18px;font-size:14px;font-weight:680;width:100%;transition:.18s}.nav-item.active{color:#20352d;background:#ceef9e}.nav-item:not(.active):hover{background:#2b4537;color:white}.sidebar-bottom{margin-top:auto;border-top:1px solid #3c5547;padding:21px 10px 0}.avatar{width:39px;height:39px;background:#ffcc9c;color:#56361f;border-radius:50%;display:grid;place-items:center;font-size:16px;font-weight:800}.profile-area{display:flex;align-items:center;gap:12px}.profile-area .mini{color:#a8bbae;font-size:11px;margin-top:3px}.profile-area strong{font-size:14px}.sidebar-motto{color:#9eb3a5;font-size:11px;line-height:1.6;margin-top:29px}.content{margin-left:248px;min-width:0;width:calc(100% - 248px);padding:39px clamp(24px,4.4vw,74px) 90px;max-width:1550px}.topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:38px}.topline-date{font-size:13px;font-weight:670;color:#819185;display:flex;align-items:center;gap:8px}.pill-info{font-size:12px;color:#6d8875;background:#e7f1df;border-radius:999px;padding:9px 14px;font-weight:720;display:flex;align-items:center;gap:7px}.page-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}.eyebrow{text-transform:uppercase;letter-spacing:.16em;color:#7b977c;font-weight:800;font-size:11px;margin-bottom:10px}.subcopy{font-size:14px;color:#839188;margin-top:10px}.date-control{display:flex;align-items:center;gap:4px;background:white;border:1px solid #edf0e8;border-radius:16px;padding:5px;white-space:nowrap;box-shadow:0 6px 20px #20352d05}.date-control .date-text{font-size:12px;font-weight:740;min-width:95px;text-align:center}.icon-btn{border:0;background:transparent;display:grid;place-items:center;border-radius:11px;width:34px;height:34px;color:var(--ink)}.icon-btn:hover{background:#eef2e7}.main-grid{display:grid;grid-template-columns:minmax(0,1.63fr) minmax(295px,1fr);gap:21px;align-items:start}.column{display:grid;gap:20px;min-width:0}.card{background:white;border:1px solid #eef0e9;border-radius:26px;padding:24px;box-shadow:0 5px 25px #192f1e04;min-width:0}.hero-card{background:#e1f1cf;min-height:282px;border:0;position:relative;overflow:hidden;padding:29px 31px}.hero-card::after{content:'';position:absolute;right:-102px;top:-143px;width:370px;height:370px;border-radius:50%;border:60px solid #c5e6a7;opacity:.33;pointer-events:none}.hero-inner{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;height:100%}.hero-value{font-size:clamp(49px,5vw,76px);letter-spacing:-.075em;font-weight:820;line-height:1;margin:13px 0 5px;font-variant-numeric:tabular-nums}.hero-unit{font-weight:730;font-size:16px;letter-spacing:-.04em}.hero-target{font-size:13px;color:#698165}.hero-kicker{font-size:12px;color:#688465;font-weight:700}.hero-foot{display:flex;align-items:center;gap:8px;margin-top:28px;font-size:12px;color:#3b6241;font-weight:650}.hero-round{width:175px;height:175px;flex:0 0 175px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#335b3d var(--pct),#bfdcae var(--pct));box-shadow:0 15px 24px #4b78351c;transform:rotate(-90deg)}.hero-round-inner{transform:rotate(90deg);width:137px;height:137px;background:#e1f1cf;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.hero-round-inner strong{font-size:34px;font-weight:820;letter-spacing:-.06em}.hero-round-inner small{font-size:11px;color:#658064;font-weight:680}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:12px}.section-heading .hint{font-size:12px;color:#98a29a}.macro-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.macro-card{border:1px solid #eff0eb;background:white;border-radius:23px;padding:18px 17px;min-width:0}.macro-top{display:flex;justify-content:space-between;align-items:center;gap:5px}.macro-dot{width:9px;height:9px;border-radius:50%}.macro-name{font-size:12px;color:#7d897e;font-weight:700}.macro-icon{background:#f6f8f3;width:26px;height:26px;border-radius:8px;display:grid;place-items:center}.macro-amount{font-size:26px;letter-spacing:-.055em;font-weight:790;margin:17px 0 4px;white-space:nowrap}.macro-amount span{font-size:12px;color:#8b9c8d;font-weight:550;letter-spacing:0}.macro-progress{margin-top:14px;background:#edf1e9;height:7px;border-radius:10px;overflow:hidden}.macro-progress i{display:block;height:100%;border-radius:10px;width:var(--progress);background:var(--fill)}.macro-goal{font-size:11px;color:#9ca89c;margin-top:9px}.meals-card{padding:24px}.meal-list{display:grid;gap:10px}.meal-group{border:1px solid #edf0e9;border-radius:17px;overflow:hidden}.meal-head{width:100%;display:flex;align-items:center;gap:13px;padding:15px 17px;background:#fff;border:0;text-align:left}.meal-icon{height:40px;width:40px;display:grid;place-items:center;background:#f3f5ee;color:#556d58;border-radius:13px}.meal-title{flex:1}.meal-title strong{display:block;font-size:14px}.meal-title small{display:block;font-size:11px;color:#95a195;margin-top:3px}.meal-total{color:#435d48;font-size:13px;font-weight:750;white-space:nowrap}.meal-plus{height:30px;width:30px;border-radius:10px;background:#eaf4dc;color:#395e42;display:grid;place-items:center;margin-left:5px}.meal-entries{border-top:1px solid #f0f2ed;padding:5px 16px 9px}.entry-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #f2f3f0}.entry-row:last-child{border:0}.entry-dot{width:7px;height:7px;background:#bedf9f;border-radius:50%}.entry-info{flex:1;min-width:0}.entry-info strong{display:block;font-size:12px;font-weight:690;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entry-info span{display:block;font-size:11px;color:#94a197;margin-top:3px}.entry-kcal{font-size:12px;font-weight:700;white-space:nowrap}.entry-action{border:0;background:transparent;color:#a0aa9c;padding:6px;display:grid;place-items:center}.entry-action:hover{color:#ae5858}.quick-card{background:#253d32;color:#fff;overflow:hidden;position:relative;min-height:208px;border:0}.quick-card:after{content:'';width:240px;height:240px;position:absolute;right:-100px;bottom:-125px;border:48px solid #3b5d49;border-radius:50%;opacity:.45;pointer-events:none}.quick-card .quick-kicker{font-size:11px;color:#b4d29e;letter-spacing:.13em;text-transform:uppercase;font-weight:760}.quick-card h2{font-size:26px;max-width:260px;margin:15px 0 13px;line-height:1.1}.quick-card p{font-size:12px;max-width:265px;color:#bbcbbe;line-height:1.5;margin-bottom:24px}.quick-card>*{position:relative;z-index:1}.btn{border:0;border-radius:13px;padding:13px 17px;font-weight:740;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:13px;white-space:nowrap}.btn-primary{background:#c9f28d;color:#21352b}.btn-primary:hover{background:#bdf179}.btn-dark{background:#233b30;color:white}.btn-light{background:#f0f4e9;color:#3a5d43}.btn-ghost{background:transparent;border:1px solid #e5ebdf;color:#455b4b}.btn-wide{width:100%}.mini-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.mini-stat{background:white;border:1px solid #eff0eb;border-radius:21px;padding:20px}.mini-stat .label{font-size:12px;color:#91a094}.mini-stat .value{font-size:29px;letter-spacing:-.065em;font-weight:820;margin-top:16px}.mini-stat .foot{font-size:11px;color:#8da08f;margin-top:4px}.routine-card .routine-banner{background:#f6f7ef;border-radius:17px;padding:17px;display:flex;align-items:center;justify-content:space-between}.routine-card .routine-banner .icon{background:#ddecca;height:42px;width:42px;border-radius:14px;display:grid;place-items:center}.routine-card .routine-banner strong{font-size:14px}.routine-card .routine-banner p{font-size:12px;color:#89958a;margin-top:5px}.empty-hint{padding:18px 10px;color:#a0aca0;font-size:12px;text-align:center}.link-button{background:none;border:0;padding:0;color:#476c4b;font-weight:760;font-size:12px}.button-list{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.searchbar{display:flex;align-items:center;gap:11px;background:#fff;border:1px solid #e6ede3;border-radius:17px;padding:0 17px;box-shadow:0 4px 10px #14301203}.searchbar input{border:0;background:transparent;padding:18px 2px;font-size:14px;outline:0;flex:1}.searchbar:focus-within{border-color:#abc99f}.food-list{display:grid;gap:8px}.food-card{display:flex;align-items:center;gap:14px;padding:14px 17px;background:white;border:1px solid #edf0e8;border-radius:17px;transition:background .15s}.food-card:hover{background:#fbfdf7}.food-avatar{display:grid;place-items:center;width:46px;height:46px;background:#e9f2df;border-radius:14px;color:#526b4b;font-size:19px;font-weight:800}.food-card:nth-child(3n+2) .food-avatar{background:#f3eadc;color:#95775b}.food-card:nth-child(3n+3) .food-avatar{background:#e5ebf8;color:#7084b2}.food-info{min-width:0;flex:1}.food-info strong{font-size:14px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.food-info small{font-size:11px;margin-top:4px;display:block}.food-value{font-size:14px;white-space:nowrap;font-weight:760}.food-value small{display:block;font-size:10px;text-align:right;color:#93a293;font-weight:520;margin-top:3px}.fav-btn{background:transparent;border:0;padding:7px;color:#b4c1b3}.fav-btn.faved{color:#edb65a}.round-add{height:34px;width:34px;background:#e6f1d6;border:0;display:grid;place-items:center;border-radius:11px;color:#3a6244}.view-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:21px;flex-wrap:wrap}.toolbar-left{min-width:220px;flex:1}.catalog-container{max-width:1000px}.empty-state{display:flex;flex-direction:column;align-items:center;text-align:center;padding:52px 20px;background:#fff;border:1px dashed #d5e1d1;border-radius:24px;gap:12px;color:#627760}.empty-state h3{font-size:19px;color:var(--ink)}.empty-state p{max-width:360px;font-size:13px;color:#90a091}.empty-illustration{width:74px;height:74px;border-radius:25px;background:#e8f4da;color:#538052;display:grid;place-items:center}.overview-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:20px}.chart-card{min-height:325px}.chart-top{display:flex;justify-content:space-between;align-items:start}.chart-big{font-size:42px;font-weight:800;letter-spacing:-.055em;margin:18px 0 0}.chart-sub{color:#91a195;font-size:12px}.bar-chart{display:flex;align-items:end;gap:11px;height:190px;padding:18px 2px 0}.bar-col{flex:1;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:9px}.bar{width:100%;max-width:48px;min-height:3px;height:var(--barheight);background:#c8eb9e;border-radius:11px 11px 5px 5px;position:relative}.bar.active{background:#4b764f}.bar-label{font-size:11px;color:#9fae9f}.bar-value{font-size:10px;color:#557858;font-weight:720}.weight-list{display:grid;gap:9px;margin-top:22px}.weight-row{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #edf0e9;font-size:13px}.weight-row strong{font-weight:780}.input-label{font-size:12px;font-weight:740;display:block;margin-bottom:8px;color:#5d725f}.field{margin-bottom:17px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.settings-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;max-width:1050px}.settings-layout .card{height:fit-content}.settings-layout .card h2{margin-bottom:9px}.settings-desc{font-size:13px;color:#94a196;margin-bottom:22px}.settings-tip{font-size:12px;color:#687e6e;padding:16px;background:#f4f8ed;border-radius:15px;margin-top:14px}.toast{position:fixed;left:50%;bottom:26px;z-index:300;transform:translate(-50%,20px);background:#213a2c;color:#fff;border-radius:14px;padding:14px 20px;font-size:13px;box-shadow:0 15px 40px #1e38254d;opacity:0;pointer-events:none;transition:.23s;max-width:calc(100vw - 40px)}.toast.show{opacity:1;transform:translate(-50%,0)}.toast.error{background:#874843}.mobile-header,.mobile-nav{display:none}.overlay{position:fixed;inset:0;background:#14251dbc;display:flex;justify-content:center;align-items:center;z-index:100;padding:18px;backdrop-filter:blur(4px)}.modal{width:min(100%,520px);max-height:min(90dvh,850px);overflow:auto;border-radius:27px;background:white;padding:25px;box-shadow:0 25px 85px #0c1b1550}.modal-lg{width:min(100%,650px)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px;gap:10px}.modal-title{font-size:24px;font-weight:790;letter-spacing:-.055em}.modal-close{background:#f2f4ef;border:0;border-radius:11px;height:36px;width:36px;display:grid;place-items:center;color:#66816c}.modal-intro{font-size:13px;color:#90a093;margin:-8px 0 20px}.modal-actions{display:flex;gap:10px;margin-top:12px}.modal-actions .btn{flex:1}.meal-chooser{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:8px 0 20px}.meal-chip{font-size:11px;background:#f4f6f2;border:1px solid transparent;color:#7d8a7d;border-radius:12px;padding:11px 4px;font-weight:730}.meal-chip.active{background:#e6f3d7;border:1px solid #a9d68d;color:#2d6340}.item-pick{display:flex;gap:14px;padding:14px;background:#f5f8f1;border-radius:17px;margin-bottom:18px;align-items:center}.item-pick .food-avatar{background:#dcebc8}.item-pick strong{font-size:14px}.item-pick small{display:block;margin-top:3px;color:#81917e}.quantity-row{display:grid;grid-template-columns:1fr 85px;gap:11px}.quantity-row input{font-size:24px;font-weight:750;letter-spacing:-.04em}.quantity-row .unit-box{background:#f3f6ee;border-radius:14px;display:grid;place-items:center;font-size:14px;font-weight:700;color:#71826d}.nutri-preview{background:#f7f9f3;border-radius:15px;padding:16px;margin:16px 0;display:grid;grid-template-columns:repeat(4,1fr);text-align:center;gap:5px}.nutri-preview strong{display:block;font-size:17px;letter-spacing:-.04em}.nutri-preview small{display:block;font-size:10px;margin-top:5px;color:#96a295}.form-divider{border:0;border-top:1px solid #eef0ea;margin:18px 0}.tag{font-size:11px;border-radius:9px;padding:6px 9px;background:#f2f7e8;color:#647c5b;font-weight:750}.scan-box{display:flex;align-items:center;gap:11px;padding:14px;border:1px dashed #b9c8b6;border-radius:15px;margin-bottom:16px;background:#fbfcfa}.scan-box input{border:0;background:transparent;padding:3px;outline:0}.scan-box button{border:0;border-radius:10px;background:#e2f1cf;padding:10px 13px;font-size:12px;font-weight:760;color:#426445}.ocr-box{position:relative;display:flex;align-items:center;justify-content:center;gap:9px;width:100%;border:1px dashed #adcb9d;color:#476748;background:#f3faed;padding:18px;border-radius:15px;font-size:13px;font-weight:730;margin:12px 0;cursor:pointer}.ocr-box input{position:absolute;inset:0;opacity:0;cursor:pointer}.ocr-result{background:#fff6e9;border:1px solid #f1ddba;border-radius:13px;padding:13px 15px;margin:14px 0;color:#806b4d;font-size:12px;line-height:1.6}.ocr-result strong{display:block;color:#755f40;margin-bottom:4px}.auth-shell{min-height:100dvh;display:grid;grid-template-columns:1.05fr 1fr}.auth-left{background:#1d332a;color:white;padding:clamp(35px,6vw,100px);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-left:after{content:'';border:85px solid #416a45;border-radius:50%;width:430px;height:430px;position:absolute;right:-160px;bottom:-230px;opacity:.42}.auth-mark{font-size:40px;letter-spacing:-.12em;font-weight:900;color:#d1f397;position:relative;z-index:1}.auth-left h1{font-size:clamp(48px,6vw,84px);letter-spacing:-.075em;line-height:1.02;max-width:600px;position:relative;z-index:1}.auth-left p{font-size:14px;color:#c8d6c8;max-width:420px;margin-top:20px;position:relative;z-index:1}.auth-bottom{color:#a7c3a5;font-size:12px;position:relative;z-index:1}.auth-right{display:flex;align-items:center;justify-content:center;padding:35px 24px}.auth-form{width:min(100%,385px)}.auth-form h2{font-size:34px;margin-bottom:11px}.auth-form p{font-size:14px;color:#86998b;margin-bottom:31px}.auth-form .field input{text-align:center;font-weight:760;font-size:19px;letter-spacing:.1em;text-transform:uppercase}.auth-note{margin-top:24px;font-size:12px;color:#90a290;text-align:center;line-height:1.6}.auth-note strong{color:#587452}.wave-emoji{font-size:23px;display:inline-block;transform:rotate(-10deg)}.caption-bottom{text-align:center;color:#a6b2a6;font-size:11px;margin:32px 0 0}.busy{opacity:.55;pointer-events:none}.tiny-icon{height:17px;width:17px}.tabset{display:flex;gap:5px;background:#f0f3ec;border-radius:13px;padding:5px}.tab-btn{background:transparent;border:0;border-radius:10px;padding:11px 16px;color:#778977;font-size:12px;font-weight:720}.tab-btn.active{background:#fff;color:#294632;box-shadow:0 2px 10px #182c1709}.footer-credits{font-size:11px;color:#a4afa5;text-align:right;margin-top:35px}
@media (max-width:1180px){.sidebar{width:210px}.content{margin-left:210px;width:calc(100% - 210px);padding:31px 26px 88px}.main-grid{grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr)}.hero-round{width:140px;height:140px;flex-basis:140px}.hero-round-inner{width:110px;height:110px}.hero-value{font-size:55px}.hero-round-inner strong{font-size:26px}.macro-amount{font-size:21px}}
@media (max-width:920px){.sidebar{display:none}.content{margin:0;width:100%;padding:20px 25px 100px}.mobile-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:31px}.mobile-header .brand{font-size:28px;font-weight:890;letter-spacing:-.13em}.mobile-header .brand span{color:#91c64d}.mobile-header .userchip{display:flex;gap:8px;align-items:center;border:0;background:white;border-radius:14px;padding:5px 12px 5px 5px;color:#4e6655;font-size:12px;font-weight:720}.mobile-header .avatar{height:30px;width:30px;font-size:12px}.topline{display:none}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;padding:12px 15px calc(12px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -6px 30px #1c392008;z-index:30;justify-content:space-around;border-top:1px solid #e8efe3}.mobile-nav button{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;font-weight:720;color:#94a195;min-width:56px;padding:4px 5px}.mobile-nav button.active{color:#3c6343}.mobile-nav button .nav-ico{height:29px;width:35px;display:grid;place-items:center;border-radius:10px}.mobile-nav button.active .nav-ico{background:#e6f3d7}.mobile-nav button.create-nav .nav-ico{background:#213e30;color:#d6f4a2;width:47px;height:42px;margin-top:-16px;border-radius:14px;box-shadow:0 6px 15px #163e2735}.mobile-nav button.create-nav{color:#526e59}.footer-credits{display:none}}
@media(max-width:720px){.main-grid,.overview-grid,.settings-layout{grid-template-columns:1fr}.content{padding:19px 17px 102px}.page-head{align-items:start;margin-bottom:24px}.page-head h1{font-size:37px}.date-control{margin-left:auto}.main-grid{gap:16px}.column{gap:16px}.hero-card{min-height:245px;padding:24px 24px}.hero-value{font-size:57px}.hero-round{width:145px;height:145px;flex-basis:145px}.hero-round-inner{width:111px;height:111px}.hero-foot{margin-top:22px}.macro-grid{gap:9px}.macro-card{padding:14px 12px;border-radius:18px}.macro-name{font-size:10px}.macro-amount{font-size:21px}.macro-goal{font-size:10px}.card{padding:20px;border-radius:22px}.meal-head{padding:14px}.quick-card{min-height:189px}.sidebar-motto{display:none}.auth-shell{grid-template-columns:1fr;min-height:100dvh}.auth-left{padding:36px 28px;min-height:260px;gap:55px}.auth-left h1{font-size:41px}.auth-left p{font-size:12px}.auth-right{padding:38px 25px}.auth-bottom{display:none}}
@media(max-width:410px){.hero-value{font-size:50px}.hero-round{width:118px;height:118px;flex-basis:118px}.hero-round-inner{width:92px;height:92px}.hero-round-inner strong{font-size:23px}.hero-round-inner small{font-size:9px}.hero-card{padding:20px;min-height:230px}.hero-kicker{font-size:11px}.macro-amount{font-size:19px}.page-head h1{font-size:34px}.modal{padding:19px;border-radius:22px}.overlay{padding:10px}.meal-chooser{gap:5px}.meal-chip{font-size:10px}.form-grid{gap:0 9px}}
/* On narrow phones, let the greeting breathe instead of squeezing it beside the date. */
@media(max-width:720px){.page-head{flex-direction:column;align-items:flex-start;gap:15px}.page-head h1{font-size:36px}.date-control{margin-left:0;align-self:flex-start}}
@media(max-width:540px){
 .modal .food-card{gap:8px;padding:11px 10px}
 .modal .food-avatar{width:36px;height:36px;flex:0 0 36px;border-radius:11px}
 .modal .food-avatar svg{width:16px;height:16px}
 .modal .food-value{font-size:12px}
 .modal .food-value small{font-size:9px}
 .modal .food-info strong{font-size:12px}
 .modal .food-info small{font-size:10px}
 .modal .fav-btn{display:none}
 .modal .round-add{flex:0 0 34px}
}

/* KT 1.1 — persistent, actionable diagnostics for EAN and OCR. */
.integration-status{margin:13px 0;padding:13px 15px;border-radius:14px;display:flex;flex-direction:column;gap:5px;font-size:12px;line-height:1.5;border:1px solid #dce9d1;color:#476449;background:#f1f8eb}
.integration-status.working{flex-direction:row;align-items:center;gap:10px;font-weight:700}
.integration-status.error{background:#fff3ef;border-color:#ebc9c0;color:#8b4537}
.integration-status strong{font-size:12px}
.ocr-raw{margin-top:10px;padding-top:10px;border-top:1px solid #ecd6b7}
.ocr-raw summary{cursor:pointer;font-weight:700;color:#755f40}
.ocr-raw pre{margin-top:10px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto;font-size:11px;font-family:ui-monospace,monospace;color:#564630}
