:root{color:var(--text);background:var(--canvas);font-synthesis:none;-webkit-font-smoothing:antialiased;--canvas:#f5f6fa;--surface:#fff;--surface-soft:#f7f8fc;--text:#202b42;--muted:#667087;--line:#e5e8f0;--accent:#275de5;--accent-soft:#edf2ff;--violet:#7767c4;--violet-soft:#f1effb;--target:#8b92a9;--warning:#9c6723;--warning-soft:#fff3df;--error:#b63543;--error-soft:#fff0f1;--shadow:0 10px 36px #18213c07;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--nav-height:76px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0}button:disabled{opacity:.5;cursor:default}button:active:not(:disabled),a:active{filter:brightness(.92)}a{color:var(--accent);text-decoration:none}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{letter-spacing:-.035em}h1{font-size:1.85rem;font-weight:750;line-height:1.25}h2{font-size:1.2rem;font-weight:750;line-height:1.4}h3{font-size:1rem;font-weight:700;line-height:1.4}h4{font-size:.95rem;line-height:1.4}small{font-size:.78rem}svg{flex-shrink:0}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline-offset:3px;outline:3px solid #e8a63f}input,select{background:var(--surface);width:100%;min-height:48px;color:var(--text);border:1px solid #a8b1c2;border-radius:12px;min-width:0;padding:11px 13px;font-size:1rem}input::placeholder{color:var(--muted)}input[type=checkbox]{width:21px;height:21px;min-height:21px;accent-color:var(--accent)}input[type=number],b,strong{font-variant-numeric:tabular-nums}input[type=date],input[type=month]{appearance:none;min-width:0;max-width:100%}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23798095' stroke-width='1.5'%3E%3Cpath d='m5 7 4 4 4-4'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:36px}.button{border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:46px;padding:12px 18px;font-size:.85rem;font-weight:650;line-height:1.35;transition:background .15s;display:inline-flex}.primary{background:var(--accent);color:#fff}.secondary{background:var(--accent-soft);color:var(--accent)}.ghost{color:var(--accent);background:0 0;padding:10px 12px}.danger{background:var(--error-soft);color:var(--error)}.icon-button{width:44px;min-width:44px;height:44px;color:var(--muted);background:0 0;border-radius:12px;justify-content:center;align-items:center;display:inline-flex}.icon-button:hover{background:var(--surface-soft)}.icon-button.subtle{margin-top:-10px;margin-right:-10px}.add-circle{background:var(--accent-soft);color:var(--accent);border-radius:14px}.eyebrow{letter-spacing:.13em;color:var(--muted);font-size:.64rem;font-weight:750;line-height:1.5;display:block}.card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:20px}.app{max-width:1120px;margin:auto}.app-header{align-items:center;gap:18px;padding:23px 20px 19px;display:flex}.brand{color:var(--text);letter-spacing:-.08em;align-items:center;gap:9px;font-size:1.65rem;font-weight:800;display:flex}.brand-mark{background:var(--accent);color:#fff;letter-spacing:-.12em;border-radius:11px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;padding-bottom:5px;padding-right:5px;font-size:1.9rem;font-weight:800;line-height:1;display:inline-flex}.brand-dot{color:var(--accent)}.header-note{color:var(--muted);flex:1;font-size:.76rem;display:none}.demo-pill{border:1px solid var(--line);color:var(--muted);border-radius:8px;margin-left:auto;padding:5px 9px;font-size:.64rem;font-weight:600}.navigation{z-index:10;background:var(--surface);border-top:1px solid var(--line);padding:8px 6px calc(8px + env(safe-area-inset-bottom));min-height:var(--nav-height);grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.navigation a{min-height:52px;color:var(--muted);border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:5px;font-size:.64rem;font-weight:600;display:flex}.navigation a.active{color:var(--accent);background:var(--accent-soft);font-weight:750}.main{padding:6px 20px calc(100px + env(safe-area-inset-bottom))}.page-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:24px;display:flex}.page-heading .eyebrow{margin-bottom:8px}.page-heading p{color:var(--muted);margin-top:8px;font-size:.82rem;line-height:1.7}.page-heading>.button{width:100%}.day-toolbar{justify-content:space-between;align-items:center;margin:-2px -8px 10px;display:flex}.date-navigation{align-items:center;min-width:0;display:flex}.date-label{cursor:pointer;align-items:center;gap:8px;min-height:44px;font-size:.84rem;font-weight:700;display:flex;position:relative}.date-label input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.date-label input::-webkit-calendar-picker-indicator{cursor:pointer;width:auto;height:auto;position:absolute;inset:0}.date-label:focus-within{border-radius:6px;outline:3px solid #e8a63f}.week-strip{grid-template-columns:repeat(7,1fr);gap:5px;margin-bottom:22px;display:grid}.week-strip button{background:0 0;border-radius:14px;flex-direction:column;align-items:center;gap:6px;min-width:0;padding:10px 1px 8px;display:flex}.week-strip span{color:var(--muted);text-transform:capitalize;font-size:.67rem}.week-strip b{font-size:1rem}.week-strip i{background:0 0;border-radius:50%;width:4px;height:4px}.week-strip i.recorded{background:var(--accent)}.week-strip i.partial{background:var(--warning)}.week-strip button.selected{background:var(--accent);color:#fff;box-shadow:0 5px 14px #275de52a}.week-strip button.selected span,.week-strip button.selected i{color:#fff}.week-strip button.selected i{background:#fff}.day-grid{gap:16px;display:grid}.summary{padding:20px}.section-label{justify-content:space-between;align-items:center;gap:8px;font-size:.85rem;font-weight:700;display:flex}.status{background:var(--surface-soft);color:var(--muted);white-space:nowrap;border-radius:6px;align-items:center;gap:4px;padding:4px 7px;font-size:.63rem;font-weight:600;display:flex}.status.complete{background:var(--accent-soft);color:var(--accent)}.summary-center{align-items:center;gap:18px;padding:21px 0;display:flex}.calorie-ring{aspect-ratio:1;flex:1;width:160px;min-width:140px;max-width:55%;position:relative}.calorie-ring svg{fill:none;width:100%;height:100%;transform:rotate(-90deg)}.ring-track{stroke:var(--line);stroke-width:7px}.ring-plan{stroke:#b8b0e5;stroke-width:7px;stroke-linecap:round}.ring-fact{stroke:var(--accent);stroke-width:7px;stroke-linecap:round}.calorie-ring>div{flex-direction:column;justify-content:center;align-items:center;gap:1px;display:flex;position:absolute;inset:0}.calorie-ring small,.calorie-ring span{color:var(--muted);font-size:.7rem}.calorie-ring strong{letter-spacing:-.04em;font-size:1.75rem;font-weight:800}.summary-details{flex:1;gap:15px;min-width:0;display:grid}.summary-details>div{gap:4px;display:grid}.summary-details span{color:var(--muted);align-items:center;gap:6px;font-size:.72rem;display:flex}.summary-details b{white-space:nowrap;font-size:1rem}.summary-details small{color:var(--muted);font-size:.65rem;font-weight:500}.summary-details p{color:var(--muted);font-size:.65rem;line-height:1.5}.dot{border-radius:50%;flex-shrink:0;width:7px;height:7px;display:inline-block}.dot.plan{background:#b8b0e5}.dot.fact{background:var(--accent)}.dot.target{background:var(--target)}.dot.partial{background:var(--warning)}.dot.empty-dot{background:var(--line)}.summary-bottom{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;gap:8px;padding-top:15px;font-size:.66rem;display:flex}.daily-note{background:var(--accent-soft);border-radius:20px;padding:28px;display:none;position:relative;overflow:hidden}.note-icon{background:var(--surface);width:44px;height:44px;color:var(--accent);border-radius:14px;justify-content:center;align-items:center;margin-bottom:20px;display:flex}.daily-note h2{margin:9px 0;font-size:1.6rem;line-height:1.35}.daily-note p{max-width:310px;color:var(--muted);font-size:.8rem;line-height:1.7}.section-heading{justify-content:space-between;align-items:center;gap:10px;margin:28px 0 14px;display:flex}.section-heading h2{align-items:center;gap:9px;display:flex}.section-heading p{color:var(--muted);margin-top:4px;font-size:.75rem;line-height:1.6}.count-badge{background:var(--line);width:23px;height:23px;color:var(--muted);border-radius:8px;place-items:center;font-size:.7rem;font-weight:700;display:inline-grid}.meal-grid{align-items:start;gap:16px;display:grid}.meal{padding:19px 18px 0;overflow:hidden}.meal-header{align-items:center;gap:10px;margin-bottom:6px;display:flex}.meal-header>div{flex:1;min-width:0}.meal-header h3{overflow-wrap:anywhere}.meal-header small{color:var(--muted);margin-top:3px;font-size:.65rem;line-height:1.5;display:block}.meal-icon,.food-icon{background:var(--accent-soft);width:42px;height:42px;color:var(--accent);border-radius:13px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.tone-0{color:#aa742a;background:#fff1dc}.tone-1{color:#6b71b5;background:#eef1fc}.tone-2{color:#8b70b7;background:#f0edfa}.tone-3{color:#ad786b;background:#f9eae7}.meal-total{text-align:right;white-space:nowrap;font-size:1.05rem;font-weight:800}.meal-total small{font-size:.59rem;font-weight:500}.entry{border-bottom:1px solid var(--line);padding:16px 0}.entry-title{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.entry-title h4{overflow-wrap:anywhere;padding-top:1px}.ingredient-summary{color:var(--muted);margin:3px 0 13px;font-size:.67rem;line-height:1.65}.entry-columns{grid-template-columns:1fr 1fr;gap:10px;display:grid}.entry-value{background:var(--surface-soft);text-align:left;border-radius:10px;flex-direction:column;gap:4px;min-height:58px;padding:9px 12px;display:flex}.entry-value span{color:var(--muted);align-items:center;gap:5px;font-size:.62rem;display:flex}.entry-value b{font-size:.92rem}.entry-value small{font-size:.62rem;font-weight:500}.entry-value.fact{background:var(--accent-soft);color:var(--accent)}.entry-value.fact span{color:var(--accent)}.entry-value .no-plan{color:var(--muted);font-size:.78rem;font-weight:500}.confirm-fact{background:var(--surface);color:var(--accent);border:1px dashed #9aacd4;border-radius:10px;justify-content:center;align-items:center;gap:6px;min-height:58px;font-size:.78rem;font-weight:700;display:flex}.add-food{width:100%;color:var(--accent);background:0 0;justify-content:center;align-items:center;gap:7px;min-height:54px;margin-top:1px;font-size:.78rem;font-weight:700;display:flex}.meal-empty{color:var(--muted);padding:22px 0;font-size:.77rem;line-height:1.65}.complete-day{flex-wrap:wrap;align-items:center;gap:13px;margin-top:24px;padding:20px;display:flex}.complete-symbol{width:42px;height:42px;color:var(--accent);background:var(--accent-soft);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.complete-day>div{flex:1;min-width:170px}.complete-day p{color:var(--muted);margin-top:5px;font-size:.72rem;line-height:1.6}.complete-day>.button{width:100%}.page-footer{color:var(--muted);text-align:center;padding:30px 10px 0;font-size:.65rem;line-height:1.7}.catalog-toolbar{align-items:center;gap:9px;display:flex}.search{background:var(--surface);min-height:49px;color:var(--muted);border:1px solid #a8b1c2;border-radius:12px;flex:1;align-items:center;gap:9px;min-width:0;padding:0 13px;display:flex}.search input{background:0 0;border:0;outline:none;min-height:47px;padding:10px 0;font-size:.87rem}.search:focus-within{outline-offset:2px;outline:3px solid #e8a63f}.filter-button{border:1px solid var(--line);background:var(--surface);border-radius:12px;align-items:center;gap:7px;min-height:49px;padding:0 13px;font-size:.77rem;font-weight:700;display:flex}.filter-button.selected{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}.list-caption{color:var(--muted);justify-content:space-between;margin:17px 1px 13px;font-size:.68rem;display:flex}.product-grid{gap:10px;display:grid}.product-card{align-items:center;gap:12px;padding:15px 13px;display:flex}.product-info{flex:1;min-width:0}.product-info h3{overflow-wrap:anywhere;font-size:.84rem;line-height:1.5}.product-info p{color:var(--muted);margin-top:4px;font-size:.7rem}.product-info small{color:var(--muted);overflow-wrap:anywhere;margin-top:3px;font-size:.6rem;line-height:1.5;display:block}.product-card .food-icon{background:0 0;width:36px;height:42px}.recipe-grid{gap:18px;display:grid}.recipe-card{overflow:hidden}.recipe-art{background:#ecebf3;justify-content:flex-end;align-items:center;height:110px;padding-right:24px;display:flex;position:relative}.recipe-art-1{background:#ebeefa}.recipe-art-2{background:#f3e9e2}.recipe-art-3{background:#e7edf2}.recipe-tag{color:#516079;background:#fffc;border-radius:7px;padding:5px 8px;font-size:.59rem;font-weight:600;position:absolute;top:14px;left:15px}.plate{background:#fff;border-radius:50%;place-items:center;width:80px;height:80px;display:grid;transform:rotate(-18deg);box-shadow:0 8px 19px #40385617,inset 0 0 0 8px #fafafa,inset 0 0 0 9px #eae9ed}.plate-food{background:#f6e9d1;border-radius:50%;width:53px;height:53px;position:relative}.plate-food span{background:#c89464;border-radius:50% 30% 45% 25%;width:20px;height:23px;position:absolute;top:8px;left:7px;transform:rotate(20deg)}.plate-food span:nth-child(2){background:#e4b95e;top:24px;left:28px}.plate-food span:nth-child(3){background:#d88770;top:29px;left:6px}.plate-food span:nth-child(4){background:#e6c497;top:5px;left:27px}.recipe-content{padding:18px}.recipe-content>p{color:var(--muted);min-height:35px;margin:7px 0 15px;font-size:.7rem;line-height:1.7}.recipe-bottom{justify-content:space-between;align-items:center;font-size:.75rem;display:flex}.recipe-bottom b{font-size:1.15rem}.recipe-bottom small{color:var(--muted);font-size:.67rem}.empty{text-align:center;background:var(--surface);border:1px dashed var(--line);border-radius:20px;margin-top:18px;padding:38px 20px}.empty-icon{background:var(--accent-soft);width:48px;height:48px;color:var(--accent);border-radius:15px;place-items:center;margin:0 auto 16px;display:grid}.empty p{color:var(--muted);max-width:330px;margin:8px auto 20px;font-size:.8rem;line-height:1.7}.empty h3{font-size:1.1rem}.month-toolbar{justify-content:center;align-items:center;gap:12px;margin:-5px 0 24px;display:flex}.month-toolbar .field{gap:0;max-width:210px}.month-toolbar .field>span{clip-path:inset(50%);width:1px;height:1px;position:absolute}.stats-grid{gap:10px;margin-bottom:18px;display:grid}.stat{gap:7px;padding:18px 20px;display:grid}.stat>span{color:var(--muted);font-size:.7rem}.stat strong{letter-spacing:-.04em;font-size:1.8rem;line-height:1.2}.stat strong small{letter-spacing:0;color:var(--muted);font-size:.74rem;font-weight:500}.stat p{color:var(--muted);font-size:.65rem}.chart-card{margin-bottom:18px;padding:22px 16px 17px}.chart-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;padding:0 4px;display:flex}.chart-heading p{color:var(--muted);margin-top:5px;font-size:.7rem;line-height:1.5}.legend{color:var(--muted);flex-wrap:wrap;gap:15px;font-size:.62rem;display:flex}.legend span{align-items:center;gap:5px;display:flex}.chart-heading .legend{margin-top:6px}.chart{min-width:0;height:245px;margin:20px 0 9px}.weight-chart{height:210px}.chart-note{color:var(--muted);align-items:flex-start;gap:6px;margin:9px 4px 0;font-size:.65rem;line-height:1.6;display:flex}.chart-icon{background:var(--violet-soft);width:38px;height:38px;color:var(--violet);border-radius:12px;place-items:center;display:grid}.chart-empty{text-align:center;color:var(--muted);padding:70px 10px;font-size:.8rem}.calendar-card{margin-bottom:18px;padding:20px}.calendar-card .section-heading{margin:0 0 20px}.month-days{grid-template-columns:repeat(7,1fr);gap:7px;margin-bottom:19px;display:grid}.month-days button{background:var(--surface-soft);min-height:46px;color:var(--muted);border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:.77rem;display:flex}.month-days button.complete{background:var(--accent-soft);color:var(--accent)}.month-days button.partial{background:var(--warning-soft);color:var(--warning)}.month-days i{background:var(--warning);border-radius:50%;width:4px;height:4px;margin:4px 0}.day-dash{font-size:.7rem}.data-details{margin-bottom:18px;padding:18px 20px}details>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:10px;min-height:30px;font-size:.8rem;font-weight:700;list-style:none;display:flex}summary::-webkit-details-marker{display:none}.table-scroll{margin-top:20px;overflow-x:auto}table{border-collapse:collapse;white-space:nowrap;text-align:left;width:100%;font-size:.69rem}caption{text-align:left;color:var(--muted);padding-bottom:12px}th,td{border-bottom:1px solid var(--line);padding:11px 10px}th{color:var(--muted);font-weight:600}td:first-child,th:first-child{padding-left:0}.profile-grid{align-items:start;gap:20px;display:grid}.profile-form{padding:24px 20px}.profile-avatar{background:var(--accent-soft);width:56px;height:56px;color:var(--accent);border-radius:18px;place-items:center;margin-bottom:13px;font-size:1.5rem;font-weight:800;display:grid}.profile-form>.hint{margin:5px 0 24px}.profile-side{gap:18px;display:grid}.target-card{padding:23px}.target-card>strong{letter-spacing:-.05em;margin:12px 0;font-size:2.1rem;display:block}.target-card>strong small{letter-spacing:0;font-size:.72rem;font-weight:500}.target-card p{color:var(--muted);margin-top:10px;font-size:.75rem;line-height:1.75}.target-card details{border-top:1px solid var(--line);margin-top:19px;padding-top:13px}.measurement-card{padding:20px}.measurement-card .section-heading{margin:0 0 15px}.measurement-current{border-bottom:1px solid var(--line);grid-template-columns:1fr 1fr;gap:15px;padding-bottom:22px;display:grid}.measurement-current>div{gap:7px;display:grid}.measurement-current span{color:var(--muted);font-size:.7rem}.measurement-current strong{font-size:1.6rem}.measurement-current small{color:var(--muted);font-size:.75rem;font-weight:500}.history-list{max-height:290px;margin-top:5px;overflow:auto}.history-list>div{border-bottom:1px solid var(--line);justify-content:space-between;gap:14px;padding:13px 0;font-size:.75rem;display:flex}.history-list>div:last-child{border-bottom:0}.history-list span{gap:5px;display:grid}.history-list small{color:var(--muted);font-size:.64rem;font-weight:500;line-height:1.5}.history-list b{white-space:nowrap}.form{gap:19px;display:grid}.field{flex-direction:column;gap:7px;min-width:0;font-size:.75rem;font-weight:700;display:flex}.field small{color:var(--muted);font-size:.67rem;font-weight:400;line-height:1.6}.form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.hint{color:var(--muted);font-size:.74rem;line-height:1.7}.checkbox-field{align-items:flex-start;gap:10px;font-size:.75rem;font-weight:600;line-height:1.6;display:flex}.checkbox-field input{flex-shrink:0;margin:1px 0 0}.checkbox-field small{color:var(--muted);margin-top:4px;font-size:.66rem;font-weight:400;display:block}.modal{background:var(--surface);width:100%;max-width:560px;max-height:90dvh;color:var(--text);overscroll-behavior:contain;border:0;border-radius:24px 24px 0 0;margin:0 auto;padding:0;position:fixed;inset:auto 0 0;overflow:auto;box-shadow:0 -10px 80px #17213c22}.modal::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#15223e75}.modal-header{background:var(--surface);z-index:1;border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:22px 22px 17px;display:flex;position:sticky;top:0}.modal-header .eyebrow{margin-bottom:5px;font-size:.58rem}.modal-header h2{font-size:1.2rem}.modal-body{padding:22px 22px calc(24px + env(safe-area-inset-bottom))}.modal-body>.error{margin-bottom:18px}.segmented{background:var(--surface-soft);border:1px solid var(--line);border-radius:12px;gap:4px;padding:4px;display:flex}.segmented button{min-width:0;min-height:42px;color:var(--muted);background:0 0;border-radius:8px;flex:1;padding:8px;font-size:.75rem;font-weight:600;line-height:1.5}.segmented button[aria-pressed=true]{background:var(--surface);color:var(--accent);box-shadow:0 2px 5px #15213b0d}.segmented.compact{background:var(--accent-soft);border:0}.selection{border:1px solid var(--line);border-radius:15px;align-items:center;gap:12px;padding:15px;display:flex}.selection>div{flex:1;min-width:0}.selection b{overflow-wrap:anywhere;font-size:.9rem;line-height:1.5}.selection small{color:var(--muted);margin-top:4px;font-size:.67rem;display:block}.selection .button{padding:8px;font-size:.69rem}.preview-total{background:var(--accent-soft);color:var(--accent);border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:18px;display:flex}.preview-total>span{font-size:.78rem}.preview-total strong{white-space:nowrap;font-size:1.45rem}.preview-total small{font-size:.72rem;font-weight:500}.ingredient-list{display:grid}.ingredient{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:12px 0;display:flex}.ingredient>div{flex:1;min-width:0}.ingredient b{overflow-wrap:anywhere;font-size:.8rem;line-height:1.5}.ingredient small{color:var(--muted);margin-top:3px;font-size:.67rem;display:block}.quantity{background:var(--surface);border:1px solid #a8b1c2;border-radius:11px;align-items:center;max-width:120px;display:flex}.quantity input{text-align:right;background:0 0;border:0;width:76px;min-height:44px;padding:8px 5px 8px 9px}.quantity span{color:var(--muted);white-space:nowrap;padding-right:9px;font-size:.68rem}.picker-list{border:1px solid var(--line);border-radius:12px;max-height:300px;overflow:auto}.picker-list:empty{display:none}.picker-row{text-align:left;background:var(--surface);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;width:100%;min-height:65px;padding:13px 15px;display:flex}.picker-row:last-child{border-bottom:0}.picker-row b{overflow-wrap:anywhere;font-size:.8rem;line-height:1.5;display:block}.picker-row small{color:var(--muted);margin-top:3px;font-size:.66rem;display:block}.picker-row>svg{color:var(--accent)}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{background:var(--accent-soft);min-height:44px;color:var(--accent);border-radius:10px;padding:8px 12px;font-size:.76rem;font-weight:600}.error{background:var(--error-soft);color:var(--error);overflow-wrap:anywhere;border-radius:12px;padding:14px;font-size:.78rem;line-height:1.6}.global-error{justify-content:space-between;align-items:center;gap:8px;margin-bottom:20px;display:flex}.toast{bottom:calc(var(--nav-height) + 16px + env(safe-area-inset-bottom));background:var(--text);color:var(--surface);z-index:15;pointer-events:none;border-radius:12px;align-items:center;gap:8px;padding:12px 20px;font-size:.8rem;display:flex;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #0002}.loading-screen{flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:90dvh;display:flex}.loading-screen p{color:var(--muted);font-size:.8rem}.skeleton{background:var(--accent-soft);border-radius:2px;width:150px;height:4px;overflow:hidden}.skeleton:after{content:"";background:var(--accent);width:30%;height:100%;animation:1.5s infinite loading;display:block}.login-page{max-width:420px;min-height:90dvh;margin:auto;padding:55px 20px}.login-page>.brand{justify-content:center;margin:0 0 35px}.login-card{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:24px;padding:28px 24px}.lock-icon{background:var(--accent-soft);width:48px;height:48px;color:var(--accent);border-radius:15px;place-items:center;margin-bottom:20px;display:grid}.login-card h2{font-size:1.5rem}.login-card>p{color:var(--muted);margin-top:8px;font-size:.8rem;line-height:1.65}.login-card form{margin-top:24px}.login-footnote{text-align:center;color:var(--muted);margin-top:25px;font-size:.65rem;line-height:1.8;display:block}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes loading{to{transform:translate(400%)}}@media (width>=520px){.page-heading>.button{width:auto}.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-center{justify-content:center;gap:35px}.calorie-ring,.summary-details{max-width:180px}.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stat{padding:18px 15px}.stat strong{font-size:1.5rem}.stat p{line-height:1.6}.complete-day>.button{width:auto}.modal{border-radius:24px;height:fit-content;max-height:85dvh;margin:auto;inset:0}.month-days button{min-height:55px}}@media (width>=800px){.app{padding:0 30px}.app-header{padding:29px 0 23px}.header-note{display:block}.navigation{border:0;border-bottom:1px solid var(--line);background:0 0;justify-content:flex-start;gap:7px;min-height:0;margin-bottom:26px;padding:0 0 16px;display:flex;position:static}.navigation a{flex-direction:row;gap:8px;min-height:44px;padding:11px 20px;font-size:.8rem}.navigation a svg{width:18px;height:18px}.main{padding:0 0 36px}.page-heading{align-items:center;margin-bottom:27px}.page-heading h1{font-size:2rem}.day-toolbar{margin-bottom:14px}.week-strip{max-width:540px;margin-bottom:25px}.week-strip button{padding:11px 0}.day-grid{grid-template-columns:1.15fr 1fr;gap:20px}.daily-note{display:block}.summary{padding:24px}.summary-center{padding:25px 0}.calorie-ring{width:180px;max-width:180px}.calorie-ring strong{font-size:2rem}.meal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.meal{padding:22px 22px 0}.complete-day{padding:24px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-toolbar .search{max-width:540px}.profile-grid{grid-template-columns:1fr 1fr;gap:24px}.profile-form{padding:28px}.stats-grid{gap:18px}.stat{padding:24px}.stat strong{font-size:2rem}.chart-card{padding:26px}.chart{height:280px}.weight-chart{height:230px}.month-days{grid-template-columns:repeat(14,1fr)}.toast{bottom:30px}.month-toolbar{justify-content:flex-start}}@media (width<=359px){.main,.app-header{padding-left:14px;padding-right:14px}.summary{padding:16px}.summary-center{gap:10px}.calorie-ring{min-width:122px}.calorie-ring strong{font-size:1.5rem}.summary-details b{font-size:.88rem}.meal{padding-left:14px;padding-right:14px}.meal-header{gap:7px}.meal-icon{width:35px;height:37px}.modal-body,.modal-header{padding-left:16px;padding-right:16px}.ingredient{gap:5px}.quantity{max-width:105px}.quantity input{width:64px}.product-card{gap:8px}.product-card .food-icon{display:none}.navigation a{font-size:.6rem}.form-grid{gap:9px}.field{font-size:.69rem}}@media (prefers-color-scheme:dark){:root{--canvas:#101725;--surface:#192235;--surface-soft:#202b40;--text:#edf1fa;--muted:#a4afc5;--line:#303b51;--accent:#90b3ff;--accent-soft:#263957;--violet:#b8a7ed;--violet-soft:#34304d;--target:#b1b9d0;--warning:#e5b96f;--warning-soft:#423629;--error:#ffadb6;--error-soft:#442a35;--shadow:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.primary,.brand-mark,.week-strip button.selected{color:#fff;background:#426fe4}.tone-0{color:#dfb678;background:#3b332a}.tone-1{color:#adb5ea;background:#2a324b}.tone-2{color:#cab6ee;background:#363047}.tone-3{color:#deb0a4;background:#3d3032}.recipe-art{filter:brightness(.78)}.modal::backdrop{background:#0009}input,select,.search,.quantity{border-color:#6d7891}.ring-plan{stroke:#aa9edb}.dot.plan{background:#aa9edb}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
