.meal-edit-head .soft-btn{background:#4a90e233;flex-shrink:0;width:auto;margin-top:0;padding:5px 12px;font-size:12px}.meal-edit{flex-direction:column;min-height:calc(100vh - 80px);padding-bottom:70px;display:flex}.meal-edit .plate-wrap{z-index:10;background:linear-gradient(#000000f2 0%,#000000d9 85%,#0000 100%);margin-bottom:0;padding-bottom:12px;position:sticky;top:0}.meal-edit-head{align-items:center;gap:8px;margin-bottom:6px;padding:0;display:flex}.meal-edit-head .icon-btn{flex-shrink:0;width:32px;height:32px;font-size:14px}.meal-edit-title{flex:1;min-width:0;overflow:hidden}.meal-edit-name{-webkit-line-clamp:1;text-overflow:ellipsis;-webkit-box-orient:vertical;font-size:14px;font-weight:600;line-height:1.2;display:-webkit-box;overflow:hidden}.meal-edit-sub{color:var(--text-muted);white-space:nowrap;margin-top:1px;font-size:11px}.plate-wrap{margin:8px 0 10px;padding:0}.plate{filter:drop-shadow(0 6px 16px #00000059);width:100%;max-width:190px;height:auto;margin:0 auto;display:block}.plate-swiper{scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;border-radius:12px;padding:2px 0;display:flex;overflow-x:auto}.plate-swiper::-webkit-scrollbar{display:none}.plate-page{scroll-snap-align:center;flex:0 0 100%;justify-content:center;align-items:center;display:flex}.plate-pagination{justify-content:center;gap:4px;margin-top:4px;padding:2px 0;display:flex}.plate-page-dot{background:#ffffff26;border-radius:999px;width:5px;height:5px;transition:all .15s}.plate-page-dot.is-active{background:var(--accent);width:12px}.ingredients{scroll-behavior:smooth;flex:1;grid-auto-rows:max-content;align-content:start;align-items:start;gap:6px;margin-top:8px;padding-bottom:20px;display:grid;overflow-y:auto}.ing-card{background:#ffffff0a;border:none;border-radius:12px;flex-wrap:wrap;align-items:flex-start;scroll-margin-top:10px;transition:background .15s;display:flex;position:relative;overflow:hidden}.ing-card--open{background:#ffffff0f}.ing-head{min-width:0;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:none;flex:1;justify-content:space-between;align-items:center;gap:10px;min-height:32px;padding:6px 10px;display:flex}.ing-head:active{background:#ffffff0a}.ing-name{color:var(--text);font-size:13px;font-weight:500;line-height:1.3}.ing-grams-inline{color:var(--text-muted);white-space:nowrap;font-size:12px}.ing-card--open .ing-head{min-height:36px;padding:8px 10px}.ing-card>.trash-btn{color:#ff7878d9;opacity:1;cursor:pointer;background:#ff50501f;border:none;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin:4px 6px 4px 0;padding:6px 8px;font-size:14px;line-height:1;transition:background .15s,transform .1s;display:flex}.ing-card>.trash-btn:active{color:#ff6464;background:#ff505040;transform:scale(.95)}@media (hover:hover){.ing-card>.trash-btn:hover{color:#ff6464;background:#ff505038}}.ing-body{flex-basis:100%;width:100%;padding:6px 10px 10px}.ing-stats{border-top:1px solid #ffffff0f;justify-content:center;gap:16px;margin-bottom:4px;padding:2px 0;display:flex}.ing-grams-val{color:var(--accent-strong);font-size:20px;font-weight:700}.ing-kcal-val{color:var(--text-muted);font-size:20px;font-weight:500}.ing-slider{-webkit-appearance:none;appearance:none;background:#ffffff1a;border-radius:999px;outline:none;width:100%;height:4px}.ing-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:var(--accent-strong);cursor:pointer;border-radius:50%;width:20px;height:20px;box-shadow:0 2px 8px #00000040}.ing-slider::-moz-range-thumb{background:var(--accent-strong);cursor:pointer;border:none;border-radius:50%;width:20px;height:20px;box-shadow:0 2px 8px #00000040}.sheet.sheet-confirm{padding:14px}.sheet-text{color:var(--text-muted);margin:8px 4px 12px;font-size:13px}.sheet-btn.danger{color:var(--text);background:#ff50502e}.workout-detail-screen{flex-direction:column;gap:16px;padding-bottom:100px;display:flex}.workout-detail-header{align-items:center;display:flex}.workout-detail-back{color:var(--accent);cursor:pointer;background:0 0;border:none;padding:8px 0;font-size:14px;font-weight:500}.workout-detail-info{background:var(--card-bg);border:1px solid var(--card-border);border-radius:var(--radius-md);text-align:center;padding:20px}.workout-detail-icon{margin-bottom:12px;font-size:48px}.workout-detail-title{color:var(--text);margin:0 0 8px;font-size:22px;font-weight:700}.workout-detail-desc{color:var(--text-muted);margin:0 0 16px;font-size:14px}.workout-detail-stats{border-top:1px solid #ffffff14;justify-content:center;gap:24px;padding-top:16px;display:flex}.workout-detail-stat{flex-direction:column;align-items:center;display:flex}.workout-detail-stat-value{color:var(--text);font-size:24px;font-weight:700}.workout-detail-stat-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;font-size:11px}.workout-detail-exercises{background:var(--card-bg);border:1px solid var(--card-border);border-radius:var(--radius-md);padding:16px}.workout-detail-section-title{color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;margin:0 0 12px;font-size:14px;font-weight:600}.workout-exercise-item{border-bottom:1px solid #ffffff0f;align-items:center;gap:12px;padding:12px 0;display:flex}.workout-exercise-item:last-child{border-bottom:none}.workout-exercise-card{border-bottom:1px solid #ffffff0f}.workout-exercise-card:last-child{border-bottom:none}.workout-exercise-num{color:#818cf8;background:#6366f126;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;font-size:12px;font-weight:600;display:flex}.workout-exercise-info{flex:1;min-width:0}.workout-exercise-name{color:var(--text);margin-bottom:2px;font-size:14px;font-weight:600}.workout-exercise-details{color:var(--text-muted);font-size:12px}.workout-exercise-rest{color:var(--text-muted);background:#ffffff0d;border-radius:6px;padding:4px 8px;font-size:11px}.workout-exercise-summary{color:var(--text-muted);padding:0 0 12px 40px;font-size:12px}.workout-static-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.workout-static-field{flex-direction:column;gap:6px;display:flex}.workout-static-field span{color:var(--text-muted);font-size:12px}.workout-static-field strong{color:var(--text);background:#ffffff0a;border:1px solid #ffffff14;border-radius:10px;padding:12px 14px;font-size:14px}.workout-detail-footer{background:linear-gradient(to top,var(--bg-app)80%,transparent);padding:16px;position:fixed;bottom:0;left:0;right:0}.workout-detail-footer-actions{max-width:360px;margin:0 auto;display:flex}.workout-detail-done-btn{color:#22c55e;cursor:pointer;background:#22c55e29;border:1px solid #22c55e59;border-radius:14px;flex:1;padding:16px 10px;font-size:14px;font-weight:700;transition:opacity .15s,transform .1s,background .15s}.workout-detail-done-btn:hover{background:#22c55e3d}.workout-detail-done-btn:active{transform:scale(.98)}.workout-detail-done-btn:disabled{opacity:.65;cursor:default}@media (max-width:640px){.workout-static-grid{grid-template-columns:1fr}.workout-exercise-summary{padding-left:0}.workout-detail-stats{gap:14px}}.workout-active-screen{background:var(--bg-app);flex-direction:column;min-height:100vh;padding:16px;display:flex}.workout-active-header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.workout-active-title{color:var(--text);font-size:18px;font-weight:700}.workout-active-time{color:var(--accent);font-family:monospace;font-size:16px;font-weight:600}.workout-active-progress{background:#ffffff1a;border-radius:3px;height:6px;overflow:hidden}.workout-active-progress-fill{background:linear-gradient(90deg,#22c55e,#4ade80);border-radius:3px;height:100%;transition:width .3s}.workout-active-progress-text{color:var(--text-muted);text-align:center;margin-top:8px;font-size:12px}.workout-active-main{flex-direction:column;flex:1;justify-content:center;align-items:center;padding:40px 20px;display:flex}.workout-rest-screen{text-align:center}.workout-rest-label{color:var(--text-muted);margin-bottom:16px;font-size:18px}.workout-rest-timer{color:var(--accent);font-family:monospace;font-size:80px;font-weight:700;line-height:1}.workout-rest-next{color:var(--text-muted);margin-top:24px;font-size:14px}.workout-exercise-screen{text-align:center}.workout-current-exercise{color:var(--text);margin-bottom:12px;font-size:26px;font-weight:700}.workout-current-set{color:var(--accent);margin-bottom:8px;font-size:16px}.workout-current-reps{color:var(--text-muted);font-size:20px}.workout-active-controls{gap:12px;padding:16px 0;display:flex}.workout-control-skip{color:var(--text-muted);cursor:pointer;background:0 0;border:1px solid #ffffff26;border-radius:12px;flex:1;padding:16px;font-size:14px;font-weight:600;transition:background .15s}.workout-control-skip:hover{background:#ffffff0d}.workout-control-done{color:#fff;cursor:pointer;background:linear-gradient(135deg,#22c55e 0%,#16a34a 100%);border:none;border-radius:12px;flex:2;padding:16px;font-size:16px;font-weight:700;transition:opacity .15s,transform .1s}.workout-control-done:hover{opacity:.95}.workout-control-done:active{transform:scale(.98)}.workout-finished{justify-content:center;align-items:center}.workout-finish-content{text-align:center;padding:40px 20px}.workout-finish-icon{margin-bottom:16px;font-size:64px}.workout-finish-title{color:var(--text);margin:0 0 8px;font-size:32px;font-weight:700}.workout-finish-subtitle{color:var(--text-muted);margin:0 0 32px;font-size:16px}.workout-finish-stats{justify-content:center;gap:40px;margin-bottom:40px;display:flex}.workout-finish-stat{flex-direction:column;align-items:center;display:flex}.workout-finish-stat-value{color:var(--accent);font-size:28px;font-weight:700}.workout-finish-stat-label{color:var(--text-muted);font-size:12px}.workout-finish-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#6366f1 0%,#8b5cf6 100%);border:none;border-radius:14px;padding:16px 48px;font-size:16px;font-weight:700;transition:opacity .15s}.workout-finish-btn:hover{opacity:.95}.badge-soft{color:var(--text);background:#ffffff0f;border-color:#ffffff1a}.meal-section{border:1px solid var(--chip-border);background:var(--chip-bg);border-radius:14px;margin-bottom:10px;overflow:hidden}.meal-section--disabled{opacity:.55}.meal-section-head{width:100%;color:var(--text);background:0 0;border:none;justify-content:space-between;align-items:center;padding:12px;display:flex}.meal-section-title{font-size:14px;font-weight:600}.meal-section-meta{color:var(--text-muted);align-items:center;gap:8px;font-size:13px;display:inline-flex}.meal-section-body{border-top:1px solid #ffffff0f;padding:10px 12px 12px}.meal-item{border-bottom:1px solid #ffffff0f;justify-content:space-between;padding:8px 0;display:flex}.meal-item:last-child{border-bottom:none}.meal-item-name{font-size:13px}.meal-item-cal{color:var(--text-muted);font-size:13px}.soft-btn{width:100%;color:var(--text);background:#4a90e226;border:1px solid #6aa8ff40;border-radius:999px;margin-top:8px;padding:8px 10px;font-size:13px;font-weight:600}.soft-btn:active{background:#4a90e240}.nutrition-topline{justify-content:space-between;align-items:center;margin:10px 2px 12px;display:flex}.meal-card{padding:0;overflow:hidden}.meal-card-head{width:100%;color:var(--text);cursor:pointer;background:0 0;border:none;justify-content:space-between;align-items:center;padding:14px 12px;display:flex}.dish-row{width:100%;color:var(--text);cursor:pointer;background:0 0;border:none;justify-content:space-between;align-items:center;padding:10px 12px;display:flex}.sheet.sheet-nutrition{padding:14px}.sheet-block{background:#ffffff0f;border:1px solid #ffffff14;border-radius:14px;margin-top:10px;padding:12px}.sheet-rowline{justify-content:space-between;align-items:baseline;margin-bottom:10px;display:flex}.sheet-label{color:var(--text-muted);font-size:12px}.sheet-value{font-size:16px;font-weight:800}.grams-controls{grid-template-columns:44px 1fr 44px;align-items:center;gap:10px;margin-bottom:10px;display:grid}.step-btn{height:44px;color:var(--text);background:#ffffff0f;border:1px solid #ffffff1a;border-radius:999px;font-size:20px;font-weight:700}.grams-input{height:44px;color:var(--text);text-align:center;background:#00000040;border:1px solid #ffffff1a;border-radius:12px;font-size:16px;font-weight:700}.grams-slider{width:100%}.sheet-hint{color:var(--text-muted);margin-top:8px;font-size:12px}.sheet-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:12px;display:grid}.sheet-btn{border:1px solid #ffffff1a;border-radius:14px;height:44px;font-weight:800}.sheet-btn.ghost{color:var(--text);background:#ffffff0f}.sheet-btn.primary{color:var(--text);background:#4a90e238}.empty-state{padding:18px 6px}.nutrition-topline{justify-content:space-between;margin:10px 2px 12px;display:flex}.nutrition-total-label{color:var(--text-muted);font-size:12px}.nutrition-total-value{letter-spacing:-.02em;font-size:20px;font-weight:800}.meal-cards{gap:8px;display:grid}.meal-card{border-radius:var(--radius-md);padding:0;overflow:hidden}.meal-card-head{width:100%;color:var(--text);cursor:pointer;background:0 0;border:none;justify-content:space-between;align-items:center;min-height:36px;padding:10px 12px;display:flex}.meal-card-head:active{background:#ffffff05}.meal-card-title{font-size:14px;font-weight:700}.meal-card-sub{color:var(--text-muted);margin-top:2px;font-size:11px}.meal-card-right{color:var(--text-muted);font-size:12px}.meal-card-body{border-top:1px solid #ffffff0d;padding:4px 0}.dish-row{width:100%;color:var(--text);background:0 0;border:none;justify-content:space-between;align-items:center;min-height:32px;padding:6px 8px;display:flex}.dish-row:active{background:#ffffff05}.dish-row+.dish-row{border-top:1px solid #ffffff0a}.dish-name{font-size:13px;font-weight:600}.dish-sub{color:var(--text-muted);margin-top:2px;font-size:11px}.dish-row-right{color:var(--text-muted);font-size:16px}.nutrition-screen{flex-direction:column;gap:16px;display:flex}.nutrition-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:60px 20px;animation:.4s fadeIn;display:flex}.nutrition-empty-icon{margin-bottom:16px;font-size:56px;animation:3s ease-in-out infinite float}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.nutrition-empty-title{color:var(--text);margin-bottom:8px;font-size:18px;font-weight:700}.nutrition-empty-sub{color:var(--text-muted);max-width:260px;font-size:14px;line-height:1.5}.nutrition-summary{background:linear-gradient(135deg,#ffffff0d 0%,#ffffff05 100%);border:1px solid #ffffff14;border-radius:20px;padding:20px;animation:.35s slideIn}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.nutrition-summary-main{align-items:center;gap:20px;display:flex}.nutrition-calorie-ring{flex-shrink:0;width:100px;height:100px;position:relative}.nutrition-ring-svg{width:100%;height:100%;transform:rotate(0)}.nutrition-ring-progress{transition:stroke-dasharray .6s cubic-bezier(.4,0,.2,1)}.nutrition-ring-content{text-align:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.nutrition-ring-value{color:var(--text);font-size:22px;font-weight:800;line-height:1}.nutrition-ring-label{color:var(--text-muted);margin-top:2px;font-size:11px}.nutrition-macros-bars{flex-direction:column;flex:1;gap:10px;display:flex}.nutrition-macro-row{align-items:center;gap:8px;display:flex}.nutrition-macro-icon{text-align:center;width:20px;font-size:14px}.nutrition-macro-name{color:var(--text-muted);flex-shrink:0;width:65px;font-size:12px}.nutrition-macro-bar{background:#ffffff14;border-radius:3px;flex:1;height:6px;overflow:hidden}.nutrition-macro-fill{border-radius:3px;height:100%;transition:width .5s cubic-bezier(.4,0,.2,1)}.nutrition-macro-fill--protein{background:linear-gradient(90deg,#ef4444,#f87171)}.nutrition-macro-fill--fat{background:linear-gradient(90deg,#f59e0b,#fbbf24)}.nutrition-macro-fill--carbs{background:linear-gradient(90deg,#3b82f6,#60a5fa)}.nutrition-macro-value{color:var(--text);text-align:right;width:36px;font-size:12px;font-weight:600}.nutrition-meals{flex-direction:column;gap:10px;display:flex}.nutrition-meal-card{background:var(--card-bg);border:1px solid var(--card-border);border-radius:16px;transition:transform .15s,box-shadow .15s;animation:.35s both cardAppear;overflow:hidden}@keyframes cardAppear{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.nutrition-meal-card:active{transform:scale(.99)}.nutrition-meal-header{width:100%;color:var(--text);cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:12px;padding:14px 16px;transition:background .15s;display:flex}.nutrition-meal-header:active{background:#ffffff08}.nutrition-meal-icon{background:#ffffff0d;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;font-size:28px;display:flex}.nutrition-meal-info{flex:1;min-width:0}.nutrition-meal-title{color:var(--text);font-size:15px;font-weight:700}.nutrition-meal-meta{color:var(--text-muted);margin-top:2px;font-size:12px}.nutrition-meal-calories{flex-direction:column;align-items:flex-end;margin-right:4px;display:flex}.nutrition-meal-kcal{color:var(--accent);font-size:18px;font-weight:800;line-height:1}.nutrition-meal-unit{color:var(--text-muted);margin-top:2px;font-size:10px}.nutrition-meal-chevron{color:var(--text-muted);justify-content:center;align-items:center;transition:transform .25s;display:flex}.nutrition-meal-chevron--open{transform:rotate(180deg)}.nutrition-meal-body{opacity:0;max-height:0;transition:max-height .3s cubic-bezier(.4,0,.2,1),opacity .25s,padding .25s;overflow:hidden}.nutrition-meal-body--open{opacity:1;max-height:600px;padding-bottom:8px}.nutrition-meal-dishes{border-top:1px solid #ffffff0f;flex-direction:column;gap:6px;padding:10px 12px 0;display:flex}.nutrition-dish-card{width:100%;color:var(--text);cursor:pointer;text-align:left;background:#ffffff08;border:none;border-radius:10px;align-items:center;gap:10px;padding:10px 12px;transition:background .15s,transform .1s;animation:.2s both dishAppear;display:flex}@keyframes dishAppear{0%{opacity:0;transform:translate(-8px)}to{opacity:1;transform:translate(0)}}.nutrition-dish-card:active{background:#ffffff0f;transform:scale(.99)}.nutrition-dish-plate{background:#ffffff0d;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;font-size:20px;display:flex}.nutrition-dish-info{flex:1;min-width:0}.nutrition-dish-name{color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600;overflow:hidden}.nutrition-dish-components{color:var(--text-muted);margin-top:1px;font-size:11px}.nutrition-dish-kcal{color:var(--accent);white-space:nowrap;font-size:13px;font-weight:600}.nutrition-dish-arrow{color:var(--text-muted);opacity:.6;margin-left:4px;font-size:18px}@media (hover:hover){.nutrition-meal-card:hover{box-shadow:0 4px 20px #0003}.nutrition-meal-header:hover{background:#ffffff05}.nutrition-dish-card:hover{background:#ffffff0f}}.nutrition-screen-minimal{flex-direction:column;gap:12px;display:flex}.nutrition-empty-minimal{text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:80px 20px;display:flex}.nutrition-empty-minimal .nutrition-empty-title{color:var(--text);margin-bottom:4px;font-size:16px;font-weight:600}.nutrition-empty-minimal .nutrition-empty-sub{color:var(--text-muted);font-size:13px}.nutrition-meals-minimal{flex-direction:column;gap:8px;display:flex}.nutrition-card-minimal{background:var(--card-bg);border:1px solid var(--card-border);border-radius:12px;transition:background .15s;overflow:hidden}.nutrition-card-header{width:100%;color:var(--text);cursor:pointer;text-align:left;background:0 0;border:none;justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.nutrition-card-header:active{background:#ffffff05}.nutrition-card-left{align-items:baseline;gap:10px;display:flex}.nutrition-card-title{color:var(--text);font-size:15px;font-weight:600}.nutrition-card-time{color:var(--text-muted);font-size:12px}.nutrition-card-kcal{color:var(--accent);font-size:15px;font-weight:600}.nutrition-card-body{opacity:0;max-height:0;transition:max-height .25s,opacity .2s;overflow:hidden}.nutrition-card-body--open{opacity:1;max-height:400px}.nutrition-dish-minimal{width:100%;color:var(--text);cursor:pointer;text-align:left;background:#ffffff05;border:none;border-top:1px solid #ffffff0a;justify-content:space-between;align-items:center;padding:10px 16px;transition:background .1s;display:flex}.nutrition-dish-minimal:active{background:#ffffff0d}.nutrition-dish-minimal .nutrition-dish-name{color:var(--text);white-space:nowrap;text-overflow:ellipsis;flex:1;margin-right:12px;font-size:14px;overflow:hidden}.nutrition-dish-kcal-minimal{color:var(--text-muted);white-space:nowrap;font-size:13px}@media (hover:hover){.nutrition-card-minimal:hover{background:#ffffff03}.nutrition-card-header:hover{background:#ffffff05}.nutrition-dish-minimal:hover{background:#ffffff0a}}.nutrition-screen-v2{flex-direction:column;gap:12px;display:flex}.nutrition-header{background:linear-gradient(135deg,#6366f126 0%,#8b5cf61a 100%);border:1px solid #6366f133;border-radius:16px;justify-content:space-between;align-items:center;margin-bottom:4px;padding:12px 8px;display:flex}.nutrition-nav-btn{width:36px;height:36px;color:var(--text);cursor:pointer;background:#ffffff14;border:none;border-radius:10px;justify-content:center;align-items:center;font-size:18px;transition:background .15s,transform .1s;display:flex}.nutrition-nav-btn:active{background:#ffffff1f;transform:scale(.95)}.nutrition-date-display{flex-direction:column;align-items:center;gap:2px;display:flex}.nutrition-date-label{color:var(--text);font-size:18px;font-weight:700}.nutrition-date-stats{color:var(--text-muted);font-size:12px}.nutrition-empty-v2{text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:60px 20px;display:flex}.nutrition-empty-v2 .nutrition-empty-title{color:var(--text);margin-bottom:4px;font-size:16px;font-weight:600}.nutrition-empty-v2 .nutrition-empty-sub{color:var(--text-muted);font-size:13px}.nutrition-meals-v2{flex-direction:column;gap:10px;display:flex}.nutrition-meal-v2{background:var(--card-bg);border:1px solid var(--card-border);border-radius:14px;transition:border-color .15s;overflow:hidden}.nutrition-meal-v2--open{border-color:#6366f14d}.nutrition-meal-header-v2{width:100%;color:var(--text);cursor:pointer;text-align:left;background:0 0;border:none;padding:14px 16px;transition:background .15s}.nutrition-meal-header-v2:active{background:#ffffff05}.nutrition-meal-main{flex-direction:column;gap:6px;display:flex}.nutrition-meal-title-row{justify-content:space-between;align-items:center;display:flex}.nutrition-meal-name{color:var(--text);font-size:16px;font-weight:700}.nutrition-meal-kcal-v2{color:var(--accent);font-size:16px;font-weight:700}.nutrition-meal-details{color:var(--text-muted);align-items:center;gap:6px;font-size:13px;display:flex}.nutrition-meal-dot{opacity:.4}.nutrition-meal-macros{gap:12px;margin-top:4px;display:flex}.nutrition-macro-item{background:#ffffff0d;border-radius:6px;padding:3px 8px;font-size:12px;font-weight:500}.nutrition-macro-item--p{color:#f87171;background:#f871711a}.nutrition-macro-item--f{color:#fbbf24;background:#fbbf241a}.nutrition-macro-item--c{color:#60a5fa;background:#60a5fa1a}.nutrition-meal-body-v2{opacity:0;max-height:0;transition:max-height .25s,opacity .2s;overflow:hidden}.nutrition-meal-body-v2--open{opacity:1;max-height:500px}.nutrition-dish-v2{width:100%;color:var(--text);cursor:pointer;text-align:left;background:#ffffff05;border:none;border-top:1px solid #ffffff0d;flex-direction:column;gap:4px;padding:12px 16px;transition:background .1s;display:flex}.nutrition-dish-v2:active{background:#ffffff0d}.nutrition-dish-main{justify-content:space-between;align-items:center;display:flex}.nutrition-dish-name-v2{color:var(--text);white-space:nowrap;text-overflow:ellipsis;flex:1;margin-right:12px;font-size:14px;font-weight:500;overflow:hidden}.nutrition-dish-kcal-v2{color:var(--accent);font-size:14px;font-weight:600}.nutrition-dish-macros{color:var(--text-muted);gap:10px;font-size:11px;display:flex}@media (hover:hover){.nutrition-nav-btn:hover{background:#ffffff1f}.nutrition-meal-v2:hover{border-color:#ffffff1a}.nutrition-meal-header-v2:hover{background:#ffffff05}.nutrition-dish-v2:hover{background:#ffffff0a}}.nutrition-clean{flex-direction:column;gap:16px;display:flex}.nutrition-date-row{justify-content:center;align-items:center;gap:16px;padding:8px 0;display:flex}.nutrition-date-arrow{width:28px;height:28px;color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:6px;font-size:18px;transition:color .15s}.nutrition-date-arrow:active{color:var(--text)}.nutrition-date-text{color:var(--text-muted);text-align:center;min-width:80px;font-size:15px;font-weight:500}.nutrition-empty-clean{text-align:center;color:var(--text-muted);padding:40px 20px;font-size:14px}.nutrition-list{flex-direction:column;gap:2px;display:flex}.nutrition-item{background:var(--card-bg);border-radius:10px;overflow:hidden}.nutrition-item-header{cursor:pointer;text-align:left;background:0 0;border:none;justify-content:space-between;align-items:center;width:100%;padding:14px 16px;display:flex}.nutrition-item-header:active{background:#ffffff05}.nutrition-item-name{color:var(--text);font-size:15px;font-weight:600}.nutrition-item-kcal{color:var(--text-muted);font-size:14px}.nutrition-item-body{opacity:0;max-height:0;transition:max-height .2s,opacity .15s;overflow:hidden}.nutrition-item-body--open{opacity:1;max-height:400px}.nutrition-dish{cursor:pointer;text-align:left;background:#ffffff05;border:none;border-top:1px solid #ffffff0a;justify-content:space-between;align-items:center;width:100%;padding:12px 16px;display:flex}.nutrition-dish:active{background:#ffffff0a}.nutrition-dish-title{color:var(--text);flex:1;margin-right:12px;font-size:14px}.nutrition-dish-cal{color:var(--text-muted);font-size:13px}@media (hover:hover){.nutrition-date-arrow:hover{color:var(--text)}.nutrition-item-header:hover{background:#ffffff05}.nutrition-dish:hover{background:#ffffff0a}}.nutrition-workout-style{flex-direction:column;align-items:stretch;gap:12px;width:100%;padding:0 0 20px;display:flex}.nutrition-date-simple{justify-content:center;align-items:center;gap:16px;padding:8px 0;display:flex}.nutrition-arrow{width:28px;height:28px;color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:6px;font-size:18px}.nutrition-arrow:active{color:var(--text)}.nutrition-date{color:var(--text-muted);text-align:center;min-width:70px;font-size:14px}.nutrition-empty-simple{text-align:center;color:var(--text-muted);padding:40px 20px;font-size:14px}.nutrition-cards{flex-direction:column;gap:8px;width:100%;display:flex}.meal-card-ws{background:var(--card-bg);border:1px solid var(--card-border);border-radius:var(--radius-md);cursor:pointer;box-sizing:border-box;width:100%;padding:14px;transition:transform .1s,background .15s}.meal-card-ws:active{transform:scale(.99)}.meal-card-ws-main{align-items:center;gap:12px;display:flex}.meal-card-ws-info{flex:1;min-width:0}.meal-card-ws-title{color:var(--text);margin-bottom:2px;font-size:15px;font-weight:600}.meal-card-ws-time{color:var(--text-muted);margin-left:6px;font-size:12px;font-weight:400}.meal-card-ws-meta{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.meal-card-ws-kcal{color:var(--text);flex-shrink:0;font-size:20px;font-weight:700}.meal-card-ws-kcal-badge{background:#ffffff0f;border-radius:10px;flex-direction:column;flex-shrink:0;align-items:flex-end;gap:2px;padding:6px 8px;display:flex}.meal-card-ws-kcal-value{color:var(--text);font-size:16px;font-weight:700;line-height:1}.meal-card-ws-kcal-label{color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;font-size:10px}.meal-card-ws-dishes{border-top:1px solid #ffffff0f;flex-direction:column;gap:4px;margin-top:12px;padding-top:12px;display:flex}.meal-dish-ws{cursor:pointer;text-align:left;background:#ffffff08;border:none;border-radius:8px;justify-content:space-between;align-items:center;width:100%;padding:8px 10px;transition:background .1s;display:flex}.meal-dish-ws:active{background:#ffffff0f}.meal-dish-ws-name{color:var(--text);flex:1;margin-right:10px;font-size:13px}.meal-dish-ws-kcal{color:var(--text-muted);font-size:12px}@media (hover:hover){.nutrition-arrow:hover{color:var(--text)}.meal-card-ws:hover{background:#ffffff05}.meal-dish-ws:hover{background:#ffffff0f}}body.theme-light .meal-section-body{border-top:1px solid #0f172a14}body.theme-light .meal-item{border-bottom:1px solid #0f172a0f}body.theme-light .meal-card-body{border-top:1px solid #0f172a14}body.theme-light .dish-row+.dish-row{border-top:1px solid #0f172a0f}body.theme-light .nutrition-summary{background:linear-gradient(135deg,#0f172a0a 0%,#0f172a05 100%);border:1px solid #0f172a14}body.theme-light .nutrition-macro-bar{background:#0f172a14}body.theme-light .nutrition-meal-header:active{background:#0f172a0a}body.theme-light .nutrition-meal-dishes{border-top:1px solid #0f172a14}body.theme-light .nutrition-dish-card{background:#0f172a0a}body.theme-light .nutrition-dish-card:active{background:#0f172a14}body.theme-light .nutrition-dish-plate{background:#0f172a0f}body.theme-light .nutrition-macro-item{background:#0f172a0a}body.theme-light .nutrition-dish-v2{background:#0f172a08;border-top:1px solid #0f172a0f}body.theme-light .nutrition-dish-v2:active{background:#0f172a0f}body.theme-light .nutrition-dish-minimal,body.theme-light .nutrition-dish{background:#0f172a08;border-top:1px solid #0f172a0f}body.theme-light .nutrition-dish-minimal:active,body.theme-light .nutrition-dish:active{background:#0f172a0f}body.theme-light .meal-card-ws-dishes{border-top:1px solid #0f172a14}body.theme-light .meal-dish-ws{background:#0f172a0a}body.theme-light .meal-dish-ws:active{background:#0f172a14}body.theme-light .sheet-block{background:#fff;border:1px solid #0f172a14}body.theme-light .step-btn{background:#f8fafc;border:1px solid #0f172a1a}body.theme-light .grams-input{background:#fff;border:1px solid #0f172a1f}body.theme-light .sheet-btn.ghost{background:#f8fafc;border:1px solid #0f172a1a}body.theme-light .sheet-btn.primary{color:#0f172a;background:#2563eb2e;border:1px solid #2563eb33}.profile-screen-new{flex-direction:column;gap:18px;width:100%;min-width:0;padding:4px 10px 18px;display:flex}.profile-new-header{align-items:center;gap:12px;width:100%;min-width:0;padding:8px 0;display:flex}.profile-new-avatar{color:#fff;background:linear-gradient(135deg,#6366f1 0%,#8b5cf6 100%);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:56px;height:56px;font-size:22px;font-weight:700;display:flex}.profile-new-avatar img{object-fit:cover;border-radius:50%;width:100%;height:100%}.profile-new-info{flex:1;min-width:0}.profile-new-name{color:var(--text);font-size:14px;font-weight:700}.profile-new-meta{color:var(--text-muted);font-size:13px}.profile-settings-btn{cursor:pointer;background:#ffffff0f;border:none;border-radius:50%;width:40px;height:40px;font-size:14px;transition:background .15s}.profile-settings-btn:hover{background:#ffffff1a}.profile-card{background:var(--card-bg);border:1px solid var(--card-border);border-radius:var(--radius-md);cursor:pointer;flex-direction:column;gap:12px;width:100%;min-width:0;padding:16px;transition:border-color .2s,background .2s;display:flex;overflow:hidden}.profile-card+.profile-card{margin-top:6px}.profile-stats-card{cursor:pointer;width:100%;min-width:0}.profile-stats-title{color:var(--text);margin-bottom:6px;font-size:14px;font-weight:700}.profile-stats-card .card-body{padding:10px 12px}.profile-stats-card .macros-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px}.profile-stats-card .macros-item{min-width:0}.profile-stats-card .macros-value-compact{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.profile-card--open{border-color:#6366f14d}.profile-card-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.profile-card-title{color:var(--text);font-size:15px;font-weight:700}.profile-card-subtitle{color:var(--text-muted);margin-top:3px;font-size:12px}.profile-card-body{opacity:0;max-height:0;transition:max-height .3s,opacity .2s;overflow:hidden}.profile-card-body--open{opacity:1;max-height:600px;padding-top:6px}@media (hover:hover){.profile-card:hover{background:#ffffff05}}.profile-stat-details{gap:8px;margin:4px 0 12px;display:grid}.profile-stat-detail{color:var(--text-muted);justify-content:space-between;align-items:center;font-size:12px;display:flex}.profile-stat-detail strong{color:var(--text);font-weight:600}.profile-stat-section{margin-top:12px}.profile-section-header{color:var(--text-muted);justify-content:space-between;align-items:center;margin-bottom:8px;font-size:12px;display:flex}.profile-section-meta{color:var(--accent);font-weight:600}.profile-chart{align-items:flex-end;gap:8px;height:70px;padding:0 4px;display:flex}.profile-chart-bar-wrap{flex:1;align-items:flex-end;height:100%;display:flex}.profile-chart-bar{background:linear-gradient(#6366f1 0%,#4f46e5 100%);border-radius:4px 4px 0 0;width:100%;min-height:12px;transition:height .3s}.profile-chart-labels{color:var(--text-muted);justify-content:space-between;margin-top:6px;font-size:11px;display:flex}.profile-week-chart{grid-template-columns:repeat(4,1fr);align-items:end;gap:10px;display:grid}.profile-week-bar-wrap{flex-direction:column;align-items:center;gap:6px;display:flex}.profile-week-bar{background:#6366f140;border-radius:8px;width:100%;height:60px;display:block}.profile-week-label{color:var(--text-muted);font-size:10px}.profile-achievement-preview{justify-content:space-between;align-items:center;gap:12px;display:flex}.profile-achievement-preview-row{align-items:center;gap:8px;min-width:0;display:flex}.profile-achievement-mini{opacity:.5;background:#ffffff0f;border:1px solid #ffffff14;border-radius:10px;justify-content:center;align-items:center;width:42px;height:42px;padding:0;display:flex;overflow:hidden}.profile-achievement-mini--unlocked{opacity:1;background:#6366f11f;border-color:#6366f14d}.profile-achievement-preview-glyph{letter-spacing:-.4px;white-space:nowrap;justify-content:center;align-items:center;width:100%;height:100%;font-size:12px;line-height:1.2;display:inline-flex}.profile-achievement-preview-glyph--stacked{flex-direction:column;gap:1px;line-height:1}.profile-achievement-preview-glyph-top,.profile-achievement-preview-glyph-bottom{letter-spacing:-.4px;display:block}.profile-achievement-count{color:var(--text-muted);flex-shrink:0;margin-left:auto;font-size:12px}.profile-achievements-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:8px;display:grid}.profile-achievement{text-align:center;opacity:.4;background:#ffffff0d;border:1px solid #ffffff14;border-radius:12px;padding:10px 8px;transition:opacity .2s,transform .1s}.profile-achievement--unlocked{opacity:1;background:#6366f114;border-color:#6366f14d}.profile-achievement-icon{margin-bottom:4px;font-size:22px}.profile-achievement-name{color:var(--text);word-break:break-word;min-height:24px;font-size:10px;font-weight:600;line-height:1.2}.profile-achievement-progress{color:var(--text-muted);margin-top:4px;font-size:9px}.profile-target-settings{cursor:default;min-width:0;display:block}.sheet .sheet-row.profile-target-settings,.sheet .sheet-row.training-prefs-block,.sheet .sheet-row.reminder-settings{justify-content:flex-start!important;align-items:stretch!important;display:block!important}.profile-target-label{margin-bottom:6px;font-size:12px;display:block}.profile-target-controls{align-items:center;gap:8px;min-width:0;display:flex}.profile-target-input{min-width:0;height:38px;color:var(--text);background:#ffffff0a;border:1px solid #ffffff24;border-radius:10px;flex:1;padding:0 10px;font-size:14px}.profile-target-save{height:38px;color:var(--text);white-space:nowrap;background:#6366f11f;border:1px solid #6366f161;border-radius:10px;padding:0 10px;font-size:12px;font-weight:600}.profile-target-save:disabled{opacity:.6;cursor:default}.profile-target-msg{margin-top:6px;display:block}.training-prefs-block{cursor:default;min-width:0;display:block}.choice-chips{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.choice-chip{min-height:34px;color:var(--text);background:#ffffff0a;border:1px solid #ffffff24;border-radius:999px;padding:0 12px;font-size:12px;font-weight:600}.choice-chip--active{background:#6366f124;border-color:#6366f161}.reminder-settings{cursor:default;width:100%;min-width:0;display:block}.sheet .sheet-row.reminder-settings{width:100%}.reminder-settings-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;min-width:0;margin-bottom:8px;display:flex}.reminder-line{border-top:1px solid #ffffff0d;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-width:0;margin-bottom:10px;padding:8px 0;font-size:12px;display:grid}.reminder-line>span{overflow-wrap:break-word;word-break:keep-all;white-space:normal;writing-mode:horizontal-tb;min-width:0;max-width:100%;font-size:12px;line-height:1.35;display:block}.reminder-line>input[type=checkbox]{flex:none;align-self:center}.reminder-field{width:100%;min-width:0;margin-bottom:10px;display:block}.reminder-field>span{color:var(--text-muted);margin-bottom:4px;font-size:12px;display:block}.reminder-field select,.reminder-field input{box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:36px;color:var(--text);background:#ffffff0a;border:1px solid #ffffff24;border-radius:10px;padding:0 10px;font-size:13px;display:block}.reminder-field select{-webkit-appearance:none;appearance:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.reminder-field option{color:#f5f7fb;background:#1e1f24}.reminder-hours{grid-template-columns:1fr 1fr;gap:8px;width:100%;min-width:0;display:grid}.reminder-save{width:100%;margin-top:4px}@media (max-width:480px){.profile-target-controls{flex-direction:column;align-items:stretch}.profile-target-save{width:100%}.reminder-line{grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px;display:grid}.reminder-line>span{width:auto}.reminder-hours{grid-template-columns:1fr}.training-prefs-block .choice-chips{gap:6px}.choice-chip{min-height:32px;padding:0 10px;font-size:11px}}body.theme-light .profile-settings-btn{background:#0f172a0a}body.theme-light .profile-settings-btn:hover{background:#0f172a14}body.theme-light .profile-achievement,body.theme-light .profile-achievement-mini{background:#0f172a0a;border:1px solid #0f172a14}body.theme-light .profile-target-input,body.theme-light .reminder-field select,body.theme-light .reminder-field input{background:#fff;border:1px solid #0f172a24}body.theme-light .reminder-field select{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}body.theme-light .reminder-field option{color:#111827;background:#fff}body.theme-light .profile-target-save{background:#2563eb1f;border:1px solid #2563eb42}body.theme-light .choice-chip{background:#fff;border:1px solid #0f172a1f}body.theme-light .choice-chip--active{background:#2563eb1f;border:1px solid #2563eb42}@media (min-width:360px){.profile-achievements-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:359px){.profile-target-controls{flex-direction:column;align-items:stretch}.reminder-hours{grid-template-columns:1fr}}.streak-card{margin-top:10px}.streak-header{align-items:center;gap:10px;margin-bottom:10px;display:flex}.streak-number{font-size:24px;font-weight:700}.streak-label{color:var(--text-muted);font-size:13px}.streak-display{flex-direction:column;align-items:center;gap:6px;width:auto;height:auto;margin:10px 0 0;display:inline-flex}.streak-label{color:var(--text-muted);font-size:12px;line-height:1}.streak-content{flex-direction:column;gap:2px;display:flex}.streak-display .streak-number{font-size:20px;font-weight:700;line-height:1}.streak-display .streak-label{color:var(--text-muted);font-size:12px;line-height:1}.streak-icon-wrapper{place-items:center;width:56px;height:56px;display:grid;position:relative}.streak-icon{width:56px;height:56px;box-shadow:none;place-items:center;font-size:40px;display:grid}.streak-badge{color:#fff;text-shadow:none;pointer-events:none;place-items:center;font-size:13px;font-weight:900;display:grid;position:absolute;top:0;bottom:0;left:0;right:0;transform:translateY(10px)}.streak-display--inactive .streak-icon{filter:grayscale()saturate(.25);opacity:.72}.streak-display--inactive .streak-badge{color:#ffffffeb;text-shadow:none}.calendar-header{color:var(--text-muted);justify-content:space-between;align-items:center;margin:4px 0 6px;padding:0 26px;font-size:13px;display:flex}.calendar-month{font-weight:500}.calendar-nav{color:var(--text-muted);cursor:pointer;background:0 0;border:none;font-size:16px}.calendar-grid{grid-template-columns:repeat(7,1fr);place-items:stretch stretch;gap:4px;margin-top:4px;display:grid}.calendar-grid>*{aspect-ratio:1;justify-content:center;align-items:center;width:100%;max-width:44px;max-height:44px;display:flex}.calendar-cell,.calendar-cell-btn,.calendar-cell-other-month{place-items:center!important;height:100%!important;margin:0!important;padding:0!important;line-height:1!important;display:grid!important}.calendar-cell{color:var(--text);background:0 0;border:none;border-radius:999px;justify-content:center;align-items:center;font-size:13px}.calendar-cell-header{color:var(--text-muted);background:0 0;border:none;font-weight:500;display:none}.calendar-cell-header.weekend-header{display:none}.calendar-cell-empty{display:none!important}.calendar-cell-other-month{color:#f5f5f740;background:0 0;border:none;justify-content:center;align-items:center;width:100%;font-size:13px;font-weight:600}.calendar-cell-other-month:disabled{opacity:1;cursor:default}.calendar-cell-btn.calendar-cell-today{background:var(--accent-soft)!important;color:var(--text)!important;opacity:1!important;border-radius:999px!important;justify-content:center!important;align-items:center!important;width:34px!important;height:34px!important;margin:0!important;padding:0!important;display:inline-flex!important}.calendar-cell-btn{cursor:pointer;color:inherit;background:0 0;border:none;justify-content:center;align-items:center;width:100%;font-size:13px;font-weight:600}.calendar-cell-btn.calendar-cell-selected{background:var(--accent-strong)!important;color:#fff!important;border-radius:999px!important;justify-content:center!important;align-items:center!important;width:34px!important;height:34px!important;margin:0!important;padding:0!important;font-weight:700!important;display:inline-flex!important}.center-card{text-align:center}.ring-wrap{place-items:center;min-height:300px;padding:8px 0 70px;display:grid;position:relative}.ring{display:block}.ring-center{text-align:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ring-value{letter-spacing:-.02em;font-size:34px;font-weight:700}.ring-sub{color:var(--text-muted);margin-top:2px;font-size:13px}.ring-meta{color:var(--text-muted);margin-top:6px;font-size:12px}.gauge-wrap .streak-display{z-index:5;margin:0;position:absolute;top:72%;left:50%;transform:translate(-50%,-50%)}.gauge-wrap .streak-label{display:none}.gauge-wrap .streak-display{z-index:3;margin:0;position:absolute;bottom:10px;left:50%;transform:translate(-50%)}.macros-card .card-body{padding:10px 14px}.macros-grid{grid-template-columns:1fr 1fr;gap:4px 12px;display:grid}.macros-item{color:var(--text);padding:6px 4px}.macros-item .macros-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.3px;margin-bottom:2px;font-size:10px}.macros-card{cursor:pointer;transition:background .2s}.macros-card:hover{background:#ffffff08}.macros-card--expanded{background:#ffffff05}.macros-grid{opacity:1;max-height:200px;transition:max-height .3s,opacity .2s;overflow:hidden}.macros-grid--hidden{opacity:0;max-height:0;margin:0}.macros-value-compact{color:var(--text);font-size:16px;font-weight:700}.macros-value-compact .macros-target{color:var(--text-muted);font-size:12px;font-weight:400}.macros-value-compact .macros-unit{color:var(--text-muted);margin-left:1px;font-size:11px;font-weight:400}.macros-expanded{opacity:0;max-height:0;transition:max-height .3s,opacity .2s;overflow:hidden}.macros-expanded--visible{opacity:1;max-height:300px}.macros-progress-section{flex-direction:column;gap:12px;display:flex}.macros-progress-item{flex-direction:column;gap:6px;display:flex}.macros-progress-header{justify-content:space-between;align-items:center;display:flex}.macros-progress-label{color:var(--text-muted);font-size:13px}.macros-progress-value{color:var(--text);font-size:12px;font-weight:500}.macros-progress-bar{background:#ffffff1a;border-radius:2px;height:4px;overflow:hidden}.macros-progress-fill{border-radius:2px;height:100%;transition:width .4s}.macros-progress-fill--calories{background:linear-gradient(90deg,#4ade80,#fbbf24,#f87171)}.macros-progress-fill--protein{background:#60a5fa}.macros-progress-fill--fat{background:#fbbf24}.macros-progress-fill--carbs{background:#a78bfa}.activity-summary-card .card-body{padding:10px 14px}.activity-summary-card{border:1px solid var(--card-border);background:var(--card-bg);cursor:pointer;transition:background .2s,border-color .2s}.activity-summary-card:hover{background:#ffffff08}.activity-summary-card--expanded{background:#ffffff05}.activity-summary-compact{opacity:1;max-height:220px;transition:max-height .28s,opacity .2s,transform .2s;overflow:hidden;transform:translateY(0)}.activity-summary-compact--hidden{opacity:0;max-height:0;transform:translateY(-8px)}.activity-summary-grid{grid-template-columns:1fr 1fr;gap:6px 12px;display:grid}.activity-summary-item{min-width:0;padding:8px 0}.activity-summary-item--accent{grid-column:1}.activity-summary-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.3px;margin-bottom:4px;font-size:10px}.activity-summary-value{color:var(--text);font-size:16px;font-weight:700}.activity-summary-value--accent{color:#4ade80}.activity-summary-expanded{opacity:0;max-height:0;margin-top:0;transition:max-height .28s,opacity .2s,margin-top .2s,transform .2s;overflow:hidden;transform:translateY(8px)}.activity-summary-expanded--visible{opacity:1;max-height:360px;margin-top:12px;transform:translateY(0)}.activity-breakdown-row{border-top:1px solid #ffffff0f;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.activity-breakdown-main{min-width:0}.activity-breakdown-label{color:var(--text);font-size:13px;font-weight:600}.activity-breakdown-meta{color:var(--text-muted);margin-top:2px;font-size:12px}.activity-breakdown-kcal{color:#4ade80;flex-shrink:0;font-size:13px;font-weight:700}.activity-breakdown-empty{color:var(--text-muted);padding:8px 0 2px;font-size:13px}.calendar-card{transition:max-height .35s,padding .1s;overflow:hidden}.calendar-card--compact{cursor:pointer;max-height:140px}.calendar-card--expanded{max-height:400px}.calendar-card--compact:hover{background:#ffffff08}.calendar-weekdays-header{grid-template-columns:repeat(7,1fr);gap:4px;padding:6px 4px 0;display:grid}.calendar-weekday{text-align:center;color:var(--text-muted);text-transform:uppercase;letter-spacing:.3px;justify-content:center;align-items:center;height:24px;font-size:10px;font-weight:600;display:flex}.calendar-weekday--weekend{color:#d64545;opacity:.9}.calendar-header-expanded{justify-content:space-between;align-items:center;display:flex}.calendar-title-clickable{cursor:pointer;border-radius:8px;padding:4px 12px;transition:background .15s}.calendar-title-clickable:hover{background:#ffffff14}.calendar-card .calendar-grid{gap:4px;padding:4px 4px 8px;transition:all .3s}.calendar-cell-btn{flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:2px!important;padding:4px 0!important;display:flex!important}.calendar-day-num{line-height:1}.activity-dot{border-radius:50%;flex-shrink:0;width:4px;height:4px}.activity-dot--good{background:#4ade80}.activity-dot--average{background:#fbbf24}.activity-dot--bad{background:#fb923c}.activity-dot--empty{background:#fff3}.today-screen{flex-direction:column;gap:12px;padding:0 0 20px;display:flex}.today-workout-slot{min-height:0}.today-workout-card{cursor:pointer;background:linear-gradient(135deg,#6366f126 0%,#8b5cf61a 100%);border:1px solid #8b5cf640;padding:14px 16px;transition:opacity .22s,transform .22s,filter .22s}.today-workout-card--completing{opacity:0;filter:saturate(.9);pointer-events:none;transform:translateY(-8px)scale(.985)}.today-workout-content{align-items:center;gap:12px;display:flex}.today-workout-info{flex:1;min-width:0}.today-workout-name{color:var(--text);margin-bottom:2px;font-size:15px;font-weight:600}.today-workout-meta{color:var(--text-muted);font-size:12px}.today-workout-status{white-space:nowrap;border-radius:6px;padding:4px 8px;font-size:11px}.today-workout-status--planned{color:var(--text-muted);background:#ffffff1a}.today-workout-status--completed{color:#4ade80;background:#4ade8033}.today-workout-status--skipped{color:#fb923c;background:#fb923c33}.today-workout-actions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.today-workout-done-btn{color:#4ade80;cursor:pointer;background:#4ade8029;border:1px solid #4ade8059;border-radius:10px;min-width:128px;padding:10px 12px;font-size:13px;font-weight:700;transition:opacity .2s,transform .1s,background .2s}.today-workout-done-btn:hover{background:#4ade803d}.today-workout-done-btn:active{transform:scale(.98)}.today-workout-done-btn:disabled{opacity:.65;cursor:default}.today-burned-card{background:linear-gradient(135deg,#4ade801a 0%,#10b98114 100%);border:1px solid #4ade802e;padding:14px 16px}.today-burned-top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.today-burned-title{color:var(--text);font-size:15px;font-weight:700}.today-burned-sub{color:var(--text-muted);margin-top:4px;font-size:12px}.today-burned-kcal{color:#4ade80;flex-shrink:0;font-size:18px;font-weight:800}.today-burned-note{color:var(--text-muted);margin-top:10px;font-size:12px}.gauge-wrap{place-items:center;padding:6px 0;display:grid;position:relative}.gauge{display:block}.gauge-pointer{fill:#fff9;filter:drop-shadow(0 2px 6px #0000008c)}.gauge-center{text-align:center;position:absolute}.gauge-value{letter-spacing:-.02em;font-size:34px;font-weight:800}.gauge-sub{color:var(--text-muted);margin-top:2px;font-size:13px}.gauge-meta{color:var(--text-muted);margin-top:6px;font-size:12px}.gauge-pointer-line{stroke:#ffffffbf;stroke-width:2px;stroke-linecap:round;filter:drop-shadow(0 2px 6px #0000008c)}.gauge-pointer-tip{fill:var(--text);stroke:#0009;stroke-width:1px;vector-effect:non-scaling-stroke;filter:drop-shadow(0 3px 8px #000000a6);pointer-events:none;z-index:2;transition:filter .18s,transform .18s}.gauge-conic{width:var(--size);height:var(--size);margin:0 auto;position:relative}.gauge-conic-ring{-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - var(--thickness)),#000 calc(100% - var(--thickness) + 1px));-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - var(--thickness)),#000 calc(100% - var(--thickness) + 1px));mask:radial-gradient(farthest-side,transparent calc(100% - var(--thickness)),#000 calc(100% - var(--thickness) + 1px));filter:saturate(1.05);background:conic-gradient(from -135deg,#ff8a3d 0deg,#ffd36a 45deg,#2fe7a1 95deg 175deg,#ffd36a 225deg,#ff8a3d 270deg,#0000 270deg 360deg);border-radius:50%;position:absolute;top:0;bottom:0;left:0;right:0}.gauge-cap{width:var(--thickness);height:var(--thickness);pointer-events:none;background:#ff8a3d8c;border-radius:999px;position:absolute;transform:translate(-50%,-50%)}.gauge-pointer{pointer-events:none;width:0;height:0;position:absolute;top:50%;left:50%}.gauge-pointer-tip{left:50%;top:calc(-1*var(--pointerLen));border-left:8px solid #0000;border-right:8px solid #0000;border-bottom:13px solid var(--text);filter:drop-shadow(0 3px 6px #00000073);pointer-events:none;z-index:2;width:0;height:0;position:absolute;transform:translate(-50%,-50%)}.meal-card-body.anim-collapse{opacity:0;max-height:0;transition:max-height .26s,opacity .2s,transform .2s;overflow:hidden;transform:translateY(-4px)}.meal-card-body.anim-collapse.is-open{opacity:1;max-height:520px;transform:translateY(0)}.meal-card-body-inner{border-top:1px solid #ffffff0f;padding:6px 0 4px}.plate-dot{fill:#ffdc78d9;stroke:#ffffff40;stroke-width:2px;filter:drop-shadow(0 3px 8px #00000080);transition:all .2s}.plate-dot--active{fill:#ffc850;stroke:#ffffff80;filter:drop-shadow(0 4px 12px #ffc85066)}.plate--bowl{opacity:.95}body.theme-light .streak-icon{box-shadow:none}body.theme-light .gauge-pointer{fill:#0f172a59;filter:drop-shadow(0 1px 3px #0f172a26)}body.theme-light .gauge-pointer-line{stroke:#0f172a59;filter:drop-shadow(0 1px 3px #0f172a1f)}body.theme-light .gauge-pointer-tip{fill:#94a3b8;stroke:#0f172a33;filter:drop-shadow(0 1px 3px #0f172a24);border-bottom-color:#94a3b8}body.theme-light .today-workout-card,body.theme-light .activity-summary-card{background:var(--card-bg);border:1px solid var(--card-border)}body.theme-light .activity-summary-card:hover{background:#0f172a05}body.theme-light .activity-breakdown-row{border-top-color:#0f172a0f}body.theme-light .today-workout-status--planned{color:#0f172a99;background:#0f172a0f;border:none}body.theme-light .macros-card:hover{background:#0f172a08}body.theme-light .macros-card--expanded{background:#0f172a05}body.theme-light .activity-dot--empty{background:#0f172a33}body.theme-light .calendar-cell-other-month{color:#0f172a47}.workouts-screen{flex-direction:column;gap:12px;display:flex}.workouts-days-scroll{scrollbar-width:none;gap:8px;padding:4px 0;display:flex;overflow-x:auto}.workouts-days-scroll::-webkit-scrollbar{display:none}.workouts-day-chip{color:var(--text-muted);cursor:pointer;background:0 0;border:1px solid #ffffff1a;border-radius:16px;flex-direction:column;flex-shrink:0;align-items:center;gap:4px;padding:8px 14px;font-size:13px;font-weight:500;transition:all .15s;display:flex}.workouts-day-chip:hover{background:#ffffff0d}.workouts-day-chip--selected{background:var(--accent);color:#fff;border-color:var(--accent)}.workouts-day-chip--has-workout:not(.workouts-day-chip--selected){border-color:var(--accent)}.workouts-day-dot{background:var(--accent);border-radius:50%;width:5px;height:5px}.workouts-day-chip--selected .workouts-day-dot{background:#fff}.workouts-list{flex-direction:column;gap:16px;display:flex}.workouts-day-section{flex-direction:column;gap:8px;display:flex}.workouts-day-divider{align-items:center;gap:12px;padding-left:4px;display:flex}.workouts-day-label{color:var(--text);white-space:nowrap;font-size:13px;font-weight:600}.workouts-day-line{background:linear-gradient(to right,var(--card-border),transparent);flex:1;height:1px}.workout-card{background:var(--card-bg);border:1px solid var(--card-border);border-radius:var(--radius-md);flex-direction:column;gap:12px;padding:14px;display:flex}.workout-card-main{align-items:center;gap:12px;display:flex}.workout-card-icon{background:#ffffff0d;border-radius:10px;justify-content:center;align-items:center;width:40px;height:40px;font-size:24px;display:flex}.workout-card-info{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.workout-card-title{color:var(--text);font-size:15px;font-weight:600}.workout-card-meta{color:var(--text-muted);font-size:12px}.workout-card-status{white-space:nowrap;border-radius:8px;padding:4px 8px;font-size:11px;font-weight:500}.workout-status--planned{color:var(--text-muted);background:#ffffff14}.workout-status--done{color:#22c55e;background:#22c55e26}.workout-status--skipped{color:#fb923c;background:#fb923c26}.workout-card-actions{gap:8px;width:100%;display:flex}.workout-card-start-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#6366f1 0%,#8b5cf6 100%);border:none;border-radius:10px;flex:2;padding:12px;font-size:14px;font-weight:600;transition:opacity .15s,transform .1s}.workout-card-start-btn:hover{opacity:.9}.workout-card-start-btn:active{transform:scale(.98)}.workout-card-done-btn{color:#22c55e;cursor:pointer;background:#22c55e26;border:1px solid #22c55e4d;border-radius:10px;flex:1;padding:12px;font-size:13px;font-weight:700;transition:opacity .15s,transform .1s,background .15s}.workout-card-done-btn:hover{background:#22c55e38}.workout-card-done-btn:active{transform:scale(.98)}.workout-card-done-btn:disabled{opacity:.65;cursor:default}.workouts-empty{text-align:center;padding:40px 20px}.workouts-empty .empty-icon{margin-bottom:12px;font-size:40px}.workout-card{cursor:pointer;transition:transform .1s,background .15s}.workout-card:hover{background:#ffffff08}.workout-card:active{transform:scale(.99)}body.theme-light .workouts-day-chip{color:#0f172a99;border:1px solid #0f172a1f}body.theme-light .workouts-day-chip:hover,body.theme-light .workout-card-icon{background:#0f172a0a}body.theme-light .workout-status--planned{color:#0f172a99;background:#0f172a0f}body.theme-light .workout-card:hover{background:#0f172a05}:root{--bg-body:radial-gradient(circle at top,#0b0b0f 0,#000 60%);--bg-app:linear-gradient(180deg,#000000eb,#000000eb);--card-bg:#1c1c1eeb;--card-border:#2c2c2eb3;--chip-bg:#242426e6;--chip-border:#3a3a3ce6;--accent:#4a90e2;--accent-soft:#3384e04d;--accent-strong:#6aa8ff;--text:#f5f5f7;--text-muted:#f5f5f7b3;--radius-lg:14px;--radius-md:12px;--radius-sm:999px;--shadow-soft:0 12px 32px #00000073;--ring-track:#ffffff1a;--ring-green:#34d399;--ring-yellow:#fbbf24;--ring-orange:#fb923c}body.theme-light{--bg-body:#eef1f5;--bg-app:#f6f7fb;--card-bg:#fff;--card-border:#0f172a14;--chip-bg:#f1f5f9;--chip-border:#0f172a14;--accent:#2563eb;--accent-soft:#2563eb2e;--accent-strong:#1d4ed8;--text:#0f172a;--text-muted:#0f172a99;--shadow-soft:0 12px 32px #0f172a14;--ring-track:#0f172a1f}body.theme-telegram.tg-bg{--bg-body:var(--tg-bg-color,#0b0b0f);--bg-app:var(--tg-secondary-bg-color,#000000eb)}body.theme-telegram.tg-cards{--card-bg:#182331f5;--card-border:#ffffff0d;--chip-bg:#121b27f0;--chip-border:#ffffff0f}body.theme-telegram.tg-buttons{--accent:var(--tg-button-color,#4a90e2);--accent-strong:var(--tg-button-color,#4a90e2);--accent-soft:var(--tg-button-color-soft,#4a90e24d)}body.theme-telegram.tg-text{--text:var(--tg-text-color,#f5f5f7);--text-muted:var(--tg-hint-color,#f5f5f7b3)}*{box-sizing:border-box}body{background:var(--bg-body);color:var(--text);padding:16px;padding-bottom:calc(8px + env(safe-area-inset-bottom,0px));justify-content:center;margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,SF Pro Text,sans-serif;transition:background .3s,color .2s;display:flex}#root{width:100%;max-width:360px}.app{background:var(--bg-app);width:100%;max-width:360px;min-height:100vh;box-shadow:var(--shadow-soft);border-radius:18px;padding:0 0 66px;transition:background .2s;position:relative;overflow:hidden}.app-header{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.app-title{letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);font-size:16px;font-weight:600}.ask-bot-btn{border-radius:var(--radius-sm);color:#e5e7eb;cursor:default;background:#0f172ae6;border:1px solid #94a3b866;align-items:center;gap:6px;padding:6px 10px;font-size:12px;display:inline-flex}body.theme-light .ask-bot-btn{color:#0f172a;background:#e5f0ff;border-color:#94a3b899}.ask-bot-btn span.icon{background:radial-gradient(circle at 20% 20%,#38bdf8,#0f172a);border-radius:999px;width:16px;height:16px}body.theme-light .ask-bot-btn span.icon{background:radial-gradient(circle at 20% 20%,#38bdf8,#1d4ed8)}.screen{padding-bottom:16px;display:none}.screen--active{display:block}.screen-title{margin:6px 2px 14px;font-size:20px;font-weight:600}.screen-header-row{justify-content:space-between;align-items:center;margin-bottom:6px;display:flex}.card{background:var(--card-bg);border-radius:var(--radius-md);border:1px solid var(--card-border);margin-bottom:10px;padding:12px;transition:background .2s,border-color .2s;position:relative;overflow:hidden}.card-header,.card-body,.card-footer{z-index:1;position:relative}.card-header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.card-title{font-size:14px;font-weight:600}.card-subtitle{color:var(--text-muted);font-size:12px}.card--flat{box-shadow:none!important;border:1px solid var(--card-border)!important;background:var(--card-bg)!important}.badge{color:var(--text-muted);background:var(--chip-bg);border:1px solid #94a3b866;border-radius:999px;padding:3px 8px;font-size:11px}.badge-accent{border-color:var(--accent-soft);background:var(--accent-soft);color:var(--accent-strong)}.metrics-row{gap:10px;margin-top:6px;margin-bottom:2px;display:flex}.metric{background:var(--chip-bg);border:1px solid var(--chip-border);border-radius:12px;flex:1;padding:8px 10px;font-size:12px;transition:background .3s,border-color .3s}.metric-label{color:var(--text-muted);margin-bottom:3px;font-size:11px}.metric-value{font-size:13px;font-weight:600}.primary-btn{background:var(--accent-strong);color:#fff;cursor:pointer;border:none;border-radius:12px;justify-content:center;align-items:center;gap:8px;width:100%;margin-top:8px;padding:10px 16px;font-size:15px;font-weight:600;display:inline-flex}body.theme-light .primary-btn{color:#0b1120}body.theme-telegram.tg-buttons .primary-btn{color:var(--tg-button-text-color,#fff)}.primary-btn small{opacity:.85;font-size:11px;font-weight:500}.primary-btn-icon{background:#0f172a33;border-radius:999px;width:20px;height:20px;display:inline-block}.link-btn{color:var(--accent-strong);cursor:pointer;background:0 0;border:none;border-bottom:1px dashed #38bdf880;margin:6px 0 0;padding:0 0 1px;font-size:12px;text-decoration:none}.section-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;margin:10px 4px 6px;font-size:13px}.week-strip{justify-content:space-between;gap:4px;margin-top:8px;display:flex}.week-day{background:var(--chip-bg);border:1px solid var(--chip-border);text-align:center;border-radius:14px;flex:1;padding:6px 4px;font-size:10px;transition:background .3s,border-color .3s}.week-day-name{color:var(--text-muted);margin-bottom:3px}.week-day-plan{font-size:11px;line-height:1.1}.week-day--active{border-color:var(--accent-soft);background:radial-gradient(circle at top,#38bdf81f,var(--chip-bg))}.quick-actions{gap:8px;margin-top:8px;display:flex}.quick-action{background:var(--chip-bg);border:1px solid var(--chip-border);text-align:center;color:var(--text-muted);border-radius:14px;flex:1;padding:8px 6px;font-size:11px;transition:background .3s,border-color .3s}.quick-action strong{color:var(--text);font-size:12px;display:block}.plan-row{border-radius:var(--radius-md);background:var(--chip-bg);border:1px solid var(--chip-border);justify-content:space-between;align-items:center;margin-bottom:6px;padding:8px 10px;font-size:12px;transition:background .3s,border-color .3s;display:flex}.plan-row-main{flex-direction:column;gap:2px;display:flex}.plan-row-title{font-size:13px;font-weight:500}.plan-row-meta{color:var(--text-muted);font-size:11px}.pill{color:var(--text-muted);background:0 0;border:1px solid #94a3b859;border-radius:999px;padding:4px 10px;font-size:11px}.macro-row{gap:8px;margin-top:6px;display:flex}.macro{background:var(--chip-bg);border:1px solid var(--chip-border);text-align:left;border-radius:12px;flex:1;padding:7px 8px;font-size:11px;transition:background .3s,border-color .3s}.macro span.value{font-size:12px;font-weight:600;display:block}.meal-row{border-radius:var(--radius-md);background:var(--chip-bg);border:1px solid var(--chip-border);margin-bottom:6px;padding:8px 10px;font-size:12px;transition:background .3s,border-color .3s}.meal-title{margin-bottom:2px;font-weight:500}.meal-meta{color:var(--text-muted);font-size:11px}.icon-btn{border:1px solid var(--card-border);background:var(--card-bg);width:36px;height:36px;color:var(--text);border-radius:999px;font-size:16px}.icon-btn:hover{border-color:var(--accent-soft)}.icon-btn:active{background:#ffffff0d}.settings-panel{margin-bottom:8px;display:none}.settings-panel--open{display:block}.settings-row{border-radius:var(--radius-md);background:var(--chip-bg);border:1px solid var(--chip-border);justify-content:space-between;align-items:center;padding:8px 10px;font-size:13px;display:flex}.settings-row-label{color:var(--text-muted)}.settings-row strong{color:var(--text)}.theme-toggle{color:#e5e7eb;cursor:pointer;background:#0f172ae6;border:1px solid #94a3b899;border-radius:999px;justify-content:space-between;align-items:center;width:64px;height:28px;padding:0 6px;font-size:13px;display:flex;position:relative;overflow:hidden}body.theme-light .theme-toggle{color:#0f172a;background:#e5f0ff}.theme-toggle-label{z-index:1;opacity:.7;position:relative}.theme-toggle-knob{z-index:0;background:radial-gradient(circle at 20% 20%,#38bdf8,#0f172a);border-radius:999px;width:22px;height:22px;transition:transform .2s;position:absolute;top:3px;left:3px}body.theme-light .theme-toggle-knob{background:radial-gradient(circle at 20% 20%,#38bdf8,#1d4ed8)}.theme-toggle--light .theme-toggle-knob{transform:translate(32px)}.theme-toggle--dark .theme-toggle-label--dark,.theme-toggle--light .theme-toggle-label--light{opacity:1;font-weight:600}.tabbar{background:var(--card-bg);width:min(400px,100vw - 24px);height:56px;margin-bottom:env(safe-area-inset-bottom,0px);border:1px solid var(--card-border);-webkit-backdrop-filter:blur(12px);box-shadow:var(--shadow-soft);z-index:50;border-radius:18px;grid-template-columns:repeat(4,1fr);gap:4px;padding:6px;display:grid;position:fixed;bottom:10px;left:50%;transform:translate(-50%)}.tabbar-item{color:var(--text-muted);background:0 0;border:0;border-radius:12px;place-items:center;gap:2px;padding:4px 2px;display:grid}.tabbar-item:active{background:var(--chip-bg)}.tabbar-item.is-active{background:var(--accent-soft);color:var(--text)}.tabbar-icon{place-items:center;width:24px;height:24px;display:grid}.tabbar-img{object-fit:contain;opacity:.9;width:20px;height:20px}.tabbar-item.is-active .tabbar-img{opacity:1}.tabbar-label{font-size:10px;font-weight:600;line-height:1}.tabbar-avatar{object-fit:cover;border:1px solid var(--card-border);border-radius:999px;width:22px;height:22px}.date-nav{grid-template-columns:40px 1fr 40px;align-items:center;gap:6px;margin:6px 0 8px;display:grid}.date-nav-center{border:1px solid var(--card-border);background:var(--card-bg);color:var(--text);border-radius:999px;padding:8px 10px;font-size:12px}.empty-card{padding:16px}.empty-title{margin-bottom:6px;font-size:16px;font-weight:650}.empty-sub{color:var(--text-muted);font-size:13px;line-height:1.35}.workout-row{border-bottom:1px solid #ffffff0f;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;display:flex}.workout-row:last-child{border-bottom:none}.workout-title{font-weight:650}.workout-meta{color:var(--text-muted);font-size:12px}.sheet-backdrop{padding:max(14px,env(safe-area-inset-top,0px))14px calc(88px + env(safe-area-inset-bottom,0px));box-sizing:border-box;z-index:1000;background:#0000008c;justify-content:center;align-items:flex-end;display:flex;position:fixed;top:0;bottom:0;left:0;right:0;overflow:hidden}.sheet{box-sizing:border-box;border:1px solid var(--card-border);background:var(--card-bg);width:100%;max-width:430px;max-height:min(78vh,calc(100dvh - 120px - env(safe-area-inset-bottom,0px)));overscroll-behavior:contain;-webkit-overflow-scrolling:touch;box-shadow:var(--shadow-soft);border-radius:18px;padding:12px;overflow:hidden auto}.sheet-title{margin:6px 4px 10px;font-size:16px;font-weight:750}.sheet-row{box-sizing:border-box;border:1px solid var(--chip-border);background:var(--chip-bg);width:100%;color:var(--text);border-radius:14px;justify-content:space-between;align-items:center;gap:12px;min-width:0;margin-bottom:10px;padding:12px;display:flex}.sheet-row-meta{color:var(--text-muted);overflow-wrap:anywhere;word-break:break-word;text-align:right;min-width:0}.sheet-close{box-sizing:border-box;border:1px solid var(--chip-border);background:var(--chip-bg);width:100%;color:var(--text);border-radius:14px;padding:12px;font-weight:650}@media (max-width:480px){.sheet-backdrop{padding-left:10px;padding-right:10px;padding-bottom:calc(86px + env(safe-area-inset-bottom,0px))}.sheet{max-height:min(74vh,calc(100dvh - 112px - env(safe-area-inset-bottom,0px)));border-radius:16px}}.top-total{justify-content:space-between;align-items:center;margin:10px 2px 12px;display:flex}.top-total-label{color:var(--text-muted);font-size:12px}.meal-card-meta{color:var(--text-muted);align-items:center;gap:6px;font-size:12px;display:inline-flex}.soft-status-banner{color:#fff4d6eb;letter-spacing:.01em;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#d6a34a1f;border:1px solid #d6a34a38;border-radius:14px;margin:10px 16px 0;padding:10px 12px;font-size:13px;line-height:1.35}body.theme-light .soft-status-banner{color:#684413eb;background:#d6a34a1a;border-color:#ad7b2638}
