:root{--bg: #111214;--card: #1c1d20;--line: #2c2e33;--text: #f2f2f2;--muted: #9a9ca3;--accent: #ffd60a;--accent-ink: #111214;--ok: #34c759;--danger: #ff6b5e;--rest: #449dd7;--btn: #2a2c31;--radius: 14px;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--text);font:16px/1.4 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;-webkit-tap-highlight-color:transparent}main{max-width:560px;margin:0 auto;padding:16px 16px calc(88px + env(safe-area-inset-bottom))}h1{font-size:28px;margin:4px 0}h2{font-size:19px;margin:2px 0;font-weight:600}a{color:inherit;text-decoration:none}.accent{color:var(--accent)}.muted{color:var(--muted)}.small{font-size:14px}.error{color:var(--danger)}.screen-head{margin-bottom:16px}.card{background:var(--card);border-radius:var(--radius);padding:16px;margin-bottom:12px;border:1px solid transparent}button{font:inherit;color:inherit;border:0;background:none;cursor:pointer}button:disabled{opacity:.4;cursor:default}.primary{background:var(--accent);color:var(--accent-ink);font-weight:700;border-radius:999px;padding:10px 20px}.big{padding:16px 24px;font-size:18px}.wide{display:block;width:100%;margin:12px 0}.ghost{border:1px dashed var(--line);border-radius:var(--radius);padding:14px;color:var(--muted)}.link{color:var(--accent);padding:8px 0}.link.danger{color:var(--danger)}input,select{font:inherit;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:10px 12px;width:100%}input:focus,select:focus{outline:2px solid var(--accent);outline-offset:-1px}.login{min-height:80vh;display:flex;flex-direction:column;justify-content:center;gap:16px}.login h1{font-size:40px;text-align:center;margin-bottom:16px}.workout,.resume,.row-link{display:flex;align-items:center;justify-content:space-between;gap:12px}.workout-info{flex:1;cursor:pointer}.resume{border-color:var(--accent)}.chev{color:var(--muted);font-size:24px}.machine{color:var(--muted);font-size:14px}.entry-head{display:flex;justify-content:space-between;align-items:flex-start}.badge{background:var(--accent);color:var(--accent-ink);font-weight:700;font-size:13px;padding:2px 8px;border-radius:6px}.last{margin:6px 0 12px;color:var(--muted);font-size:14px}.last strong{color:var(--text);font-weight:600}.entry.is-done{border-color:#ffd60a59}.set-row{display:flex;align-items:center;gap:6px;padding:6px 0;border-top:1px solid var(--line)}.set-row.done .stepper{opacity:.55}.set-label{width:18px;color:var(--muted);font-variant-numeric:tabular-nums}.set-tools{display:flex;gap:20px}.stepper{flex:1;display:flex;align-items:center;background:var(--bg);border-radius:10px;min-width:0}.stepper>button{width:34px;height:44px;font-size:22px;color:var(--accent);flex-shrink:0}.stepper label{flex:1;display:flex;align-items:baseline;justify-content:center;gap:2px;min-width:0;padding-right:2px}.stepper input{border:0;background:none;padding:0;width:3.2ch;text-align:right;font-weight:700;font-size:18px;font-variant-numeric:tabular-nums;-moz-appearance:textfield}.stepper input::-webkit-outer-spin-button,.stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.stepper span{color:var(--muted);font-size:13px}.check{width:44px;height:44px;border-radius:50%;border:2px solid var(--line);color:var(--muted);font-size:20px;flex-shrink:0}.check.on{background:var(--accent);border-color:var(--accent);color:var(--accent-ink);font-weight:700}.cardio{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}.cardio .field{flex:1;min-width:70px}.cardio .muted{width:100%}.field span{display:block;font-size:13px;color:var(--muted);margin-bottom:4px}.session-actions{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:20px}.session-actions .primary{width:100%}.title-input{font-size:24px;font-weight:700;margin:8px 0}.edit-row{display:flex;gap:8px;margin-bottom:8px}.edit-row select{width:auto}.order{display:flex}.order button{width:40px;color:var(--muted);font-size:18px}.edit-grid{display:flex;gap:8px;margin:10px 0 4px}.edit-grid .field{flex:1}.tabbar{position:fixed;bottom:0;left:0;right:0;display:flex;background:#111214f2;border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.tabbar a{flex:1;text-align:center;padding:16px 0;color:var(--muted);font-weight:600}.tabbar a.active{color:var(--accent)}.add-row{display:flex;gap:8px;margin:4px 0 8px}.add-row .ghost{flex:1}.push-right{margin-left:auto}.entry.flash{border-color:var(--accent);box-shadow:0 0 0 3px #ffd60a40}.overlay{position:fixed;inset:0;z-index:20}.sheet-backdrop{background:#0009;display:flex;align-items:flex-end;justify-content:center}.sheet{background:var(--card);width:100%;max-width:560px;max-height:85vh;overflow-y:auto;border-radius:18px 18px 0 0;padding:16px 16px calc(24px + env(safe-area-inset-bottom))}.sheet-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.pick-list{display:flex;flex-direction:column}.pick-item{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:12px 4px;border-bottom:1px solid var(--line)}.new-exercise{display:flex;flex-direction:column;gap:10px}.scanner{background:#000}.scanner video{width:100%;height:100%;object-fit:cover}.scan-frame{position:absolute;top:50%;left:50%;width:64vmin;height:64vmin;transform:translate(-50%,-50%);border:3px solid var(--accent);border-radius:18px;box-shadow:0 0 0 100vmax #00000073}.scan-bar{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 16px calc(16px + env(safe-area-inset-bottom));background:#000000b3}.home-actions{display:flex;gap:8px}.home-actions .ghost{flex:1}.workout .edit{color:var(--muted);padding:8px}.history-row{display:flex;justify-content:space-between;padding:10px 0;border-top:1px solid var(--line)}.entry-side{display:flex;align-items:center;gap:4px}.order button{height:36px}.order button:disabled{opacity:.2}.drag-handle{flex:1;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:grab}.hint{margin:-8px 0 12px}.reordering .entry>:not(.entry-head){display:none}.reordering .entry{padding:12px 16px;margin-bottom:8px}.reordering .order{display:none}.entry.dragging{border-color:var(--accent);transform:scale(1.02);box-shadow:0 8px 24px #00000080}.grip{display:flex;align-items:center;padding:0 6px;color:var(--muted);font-size:18px;letter-spacing:-3px;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:grab;touch-action:none}.reordering .edit-item>:not(.edit-row:first-child){display:none}.reordering .edit-item .order{display:none}.edit-item.dragging{border-color:var(--accent);box-shadow:0 8px 24px #00000080}.session-bar{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:10px;margin:-16px -16px 12px;padding:12px 16px;background:#111214f2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}.session-bar .link{font-size:26px;padding:0 6px 0 0}.session-title{flex:1;display:flex;flex-direction:column;min-width:0}.session-clock{font-size:24px;font-weight:700;color:var(--accent);font-variant-numeric:tabular-nums}.entry{scroll-margin-top:76px}.stepper.locked{opacity:.55}.stepper.locked button{visibility:hidden}.stepper input:disabled{color:var(--text);-webkit-text-fill-color:var(--text);opacity:1}.stopwatch{display:flex;align-items:center;gap:12px;margin-bottom:10px}.stopwatch-time{font-size:34px;font-weight:700;font-variant-numeric:tabular-nums}.stopwatch-time.running{color:var(--accent)}.stopwatch .muted{flex:1}.stopwatch .stop{background:var(--danger);color:#fff}.timed-fields{display:flex;gap:8px}.timed-fields .field{flex:1;min-width:0}.timed.done .timed-fields{opacity:.6}.stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}.stat{background:var(--card);border-radius:var(--radius);padding:14px;display:flex;flex-direction:column}.stat-value{font-size:26px;font-weight:700;font-variant-numeric:tabular-nums}.stat-value small{font-size:14px;color:var(--muted);font-weight:500}.stat-label{color:var(--muted);font-size:13px}.compact-list{padding:4px 16px}.compact-row{display:flex;align-items:center;gap:8px;width:100%;padding:12px 0;text-align:left;border-bottom:1px solid var(--line)}.compact-list>div:last-child .compact-row{border-bottom:0}.compact-name{flex:1;font-weight:600;min-width:0}.compact-stats{display:flex;gap:10px;color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.compact-detail{padding:4px 0 12px;line-height:1.7}.inline-form{display:flex;gap:8px;margin:12px 0}.history-row{align-items:center;gap:8px}.history-row span{flex:1}.rest-chip{font-size:14px;font-weight:700;color:var(--rest);background:#449dd71f;border:1px solid rgba(68,157,215,.5);border-radius:999px;padding:5px 10px;white-space:nowrap;font-variant-numeric:tabular-nums}.rest{z-index:30;background:#0a0b0cf7;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:24px}.rest-label{color:var(--rest);font-size:16px;font-weight:700;text-align:center;text-transform:uppercase;letter-spacing:1px}.rest-ring{max-width:80vw;height:auto}.rest-track{fill:none;stroke:var(--line);stroke-width:14}.rest-progress{fill:none;stroke:var(--rest);stroke-width:14;stroke-linecap:round;transform:rotate(-90deg);transform-origin:140px 140px;transition:stroke-dashoffset .5s linear}.rest-time{fill:var(--text);font-size:64px;font-weight:700;font-variant-numeric:tabular-nums}.rest-actions{display:flex;gap:12px}.rest-actions .ghost{min-width:100px;color:var(--text)}.rest .skip{min-width:220px;letter-spacing:1px;background:var(--rest);color:#fff}.rest-actions .ghost{border:1px solid rgba(68,157,215,.5);border-style:solid;color:var(--rest);font-weight:700}.edit-grid{flex-wrap:wrap}.edit-grid .field{min-width:70px}.btn{background:var(--btn);color:var(--text);font-weight:600;font-size:15px;border-radius:10px;padding:9px 14px;border:1px solid #3a3d44;box-shadow:0 1px #ffffff0a inset,0 2px 4px #0000004d}.btn:active{transform:translateY(1px);box-shadow:none}.btn-danger{color:var(--danger);border-color:#ff6b5e73;background:#ff6b5e1a}.btn-primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent);font-weight:700}.btn-danger-solid{background:var(--danger);color:#fff;border-color:var(--danger);font-weight:700}.set-tools{align-items:center;gap:8px;margin-top:10px}input[type=number]{-moz-appearance:textfield;appearance:textfield}input[type=number]::-webkit-outer-spin-button,input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.dialog-backdrop{align-items:center;padding:16px;z-index:40}.dialog{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:20px;width:100%;max-width:400px;display:flex;flex-direction:column;gap:14px;box-shadow:0 20px 60px #0009}.dialog h2{font-size:20px}.dialog p{margin:-6px 0 0}.dialog-input{font-size:18px;padding:14px}.dialog-actions{display:flex;gap:10px;margin-top:4px}.dialog-actions .btn{flex:1;padding:13px;font-size:16px}.dialog-stepper{display:flex;align-items:center;gap:12px}.dialog-stepper label{flex:1;display:flex;align-items:baseline;justify-content:center;gap:6px;background:var(--bg);border-radius:12px;padding:10px}.dialog-stepper input{border:0;background:none;padding:0;width:5ch;text-align:right;font-size:34px;font-weight:700;font-variant-numeric:tabular-nums}.dialog-stepper input:focus{outline:none}.dialog-stepper span{color:var(--muted)}.round{width:52px;height:52px;border-radius:50%;background:var(--btn);border:1px solid #3a3d44;font-size:26px;color:var(--accent);flex-shrink:0}.accent-blue .round{color:var(--rest)}.accent-blue .btn-primary{background:var(--rest);border-color:var(--rest);color:#fff}.presets{display:flex;flex-wrap:wrap;gap:8px}.chip{padding:8px 14px;border-radius:999px;background:var(--btn);border:1px solid #3a3d44;font-weight:600;font-variant-numeric:tabular-nums}.chip.on{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}.accent-blue .chip.on{background:var(--rest);color:#fff;border-color:var(--rest)}.segmented{display:flex;background:var(--bg);border-radius:10px;padding:3px;gap:3px;margin-bottom:8px}.segmented button{flex:1;padding:9px 4px;border-radius:8px;font-size:14px;color:var(--muted);font-weight:600}.segmented button.on{background:var(--btn);color:var(--text);box-shadow:0 1px 3px #0006}.entries>.swipe-wrap:nth-child(odd) .entry,.editor .edit-item:nth-child(odd){background:#26282d}.entries>.swipe-wrap:nth-child(2n) .entry,.editor .edit-item:nth-child(2n){background:#050506;border-color:#2c2e33}.entries>.swipe-wrap:nth-child(odd) .entry .stepper,.entries>.swipe-wrap:nth-child(odd) .entry input,.editor .edit-item:nth-child(odd) input,.editor .edit-item:nth-child(odd) .segmented{background:#16171a}.entries>.swipe-wrap:nth-child(2n) .entry .stepper,.entries>.swipe-wrap:nth-child(2n) .entry input,.editor .edit-item:nth-child(2n) input,.editor .edit-item:nth-child(2n) .segmented{background:#1c1d20}.entries .entry .stepper input{background:none}.entries .entry.flash,.entries .entry.dragging{border-color:var(--accent)}.swipe-wrap{position:relative;margin-bottom:12px;scroll-margin-top:76px}.swipe-wrap .entry{position:relative;margin-bottom:0;touch-action:pan-y;transition:transform .25s ease}.swipe-bg{position:absolute;inset:0;border-radius:var(--radius);background:var(--danger);display:flex;align-items:center;justify-content:flex-end;padding-right:28px}.swipe-bg-icon{font-size:28px}.reordering .swipe-wrap{margin-bottom:8px}.swipe-hint{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;opacity:.8}.swipe-hint-icon{display:inline-block;animation:swipe-nudge 1.6s ease-in-out infinite}@keyframes swipe-nudge{0%,to{transform:translate(0);opacity:1}50%{transform:translate(-14px);opacity:.5}}.last.first-time{font-size:12px;opacity:.55;margin:2px 0 8px}.tabbar a{display:flex;justify-content:center;align-items:center;padding:14px 0}.stepper input{width:4ch;min-width:2.5ch}.stepper input::placeholder{color:var(--muted);font-weight:400}.set-tools{flex-wrap:nowrap}.set-tools .btn{white-space:nowrap;padding:9px 12px}.swipe-hint{white-space:nowrap}.password-form{display:flex;flex-direction:column;gap:12px;margin-top:12px}.password-wrap{position:relative}.password-wrap input{padding-right:48px}.eye{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:40px;height:40px;color:var(--muted);display:flex;align-items:center;justify-content:center}.ok-text{color:var(--ok)}.password-form .btn-primary{padding:13px}.menu .segmented{margin-top:10px}.day-chips{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin-bottom:4px}.day-chip{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 0 6px;border-radius:12px;background:var(--card);border:1px solid #2c2e33;font-weight:700;font-size:14px}.day-chip .dot{width:6px;height:6px;border-radius:50%}.day-chip.today .dot{background:var(--accent)}.day-chip.on{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}.day-chip.on .dot{background:var(--accent-ink)}.day-title{font-size:26px;margin:16px 0 12px}.timeline{display:flex;flex-direction:column;gap:12px}.slot{display:grid;grid-template-columns:3.2rem minmax(0,1fr);gap:8px}.slot-time{color:var(--muted);font-weight:700;font-variant-numeric:tabular-nums;padding-top:14px;font-size:15px}.meal-card{display:block;background:var(--card);border:1px solid transparent;border-radius:var(--radius);padding:14px 16px;min-width:0}.timeline .slot:nth-child(2n) .meal-card{background:#26282d}.timeline .slot:nth-child(odd) .meal-card{background:#050506;border-color:#2c2e33}.meal-card.train{border-color:#ffd60a59!important}.meal-card.train.done{border-color:#34c75980!important}.meal-card.free{border-style:dashed!important}.meal-head{display:flex;justify-content:space-between;align-items:center}.kind{margin:0;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.dish{margin:2px 0 6px;font-size:19px;line-height:1.25}.portions{margin:0;color:var(--muted);font-size:15px}.tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.tag{border-radius:999px;padding:2px 10px;font-size:12px;font-weight:700;background:#2a2c31}.tag-legumi{color:#e0b15a}.tag-pesce{color:var(--rest)}.tag-carne{color:#ff8a75}.tag-uova{color:#f3e3a0}.tag-libero{color:var(--ok)}.how-toggle{color:var(--accent);font-weight:600;font-size:14px;padding:8px 0 0}.how{margin:6px 0 0;font-size:15px}.swap{width:36px;height:30px;border-radius:8px;background:var(--btn);border:1px solid #3a3d44;color:var(--accent);font-size:16px}.train-go{margin-top:10px}.rules ul{margin:8px 0 0;padding-left:1.1rem;display:flex;flex-direction:column;gap:4px}.rules p{margin:8px 0 0}.rule-stats{margin:10px 0 0}.rule-stats .stat{background:var(--bg)}.stat.warn .stat-value{color:var(--danger)}.shop-top{display:flex;flex-direction:column;gap:10px}.shop-line{display:flex;justify-content:space-between;align-items:center}.shop-count{font-size:18px;font-variant-numeric:tabular-nums}.bar{height:6px;border-radius:99px;background:var(--bg);overflow:hidden}.bar>i{display:block;height:100%;background:var(--accent);transition:width .25s ease}.group{padding:6px 16px 4px}.shopping .group:nth-of-type(odd){background:#26282d}.shopping .group:nth-of-type(2n){background:#050506;border-color:#2c2e33}.group-head{display:flex;justify-content:space-between;align-items:baseline;padding:10px 0 4px}.group-head h2{font-size:17px}.shop-row{display:grid;grid-template-columns:26px minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;min-height:54px;padding:8px 0;border-top:1px solid var(--line);text-align:left}.box{width:24px;height:24px;border-radius:7px;border:2px solid #4a4d55;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;color:var(--accent-ink)}.box.on{background:var(--accent);border-color:var(--accent)}.shop-name{font-weight:600}.shop-note{display:block;font-weight:400;font-size:13px;color:var(--muted)}.shop-qty{font-weight:700;font-variant-numeric:tabular-nums;text-align:right}.shop-row.done .shop-name,.shop-row.done .shop-qty{text-decoration:line-through;color:var(--muted)}.shop-row.done{opacity:.7}.swipe-front{position:relative;touch-action:pan-y;transition:transform .25s ease}.shop-swipe{background:inherit}.group .swipe-wrap{margin-bottom:0}.group .swipe-bg{border-radius:8px}.group .swipe-front{background:inherit}.shopping .group:nth-of-type(odd) .swipe-front{background:#26282d}.shopping .group:nth-of-type(2n) .swipe-front{background:#050506}.month-nav{display:flex;align-items:center;justify-content:space-between;margin-top:10px}.month-nav strong{font-size:18px}.month-nav .round,.date-stepper .round{width:44px;height:44px;font-size:22px}.total-stat{margin-bottom:12px}.total-stat .stat-value{font-size:34px}.cat-row{margin-top:12px}.cat-line{display:flex;justify-content:space-between;margin-bottom:4px;font-size:15px}.add-expense{padding:14px;font-size:17px}.expense-list .swipe-wrap{margin-bottom:8px}.expense-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:0}.expense-list .swipe-wrap:nth-child(odd) .expense-row{background:#26282d}.expense-list .swipe-wrap:nth-child(2n) .expense-row{background:#050506;border-color:#2c2e33}.expense-main{display:flex;flex-direction:column;min-width:0}.expense-amount{font-size:18px;font-variant-numeric:tabular-nums;white-space:nowrap}.amount-field{display:flex;align-items:baseline;gap:8px;background:var(--bg);border-radius:12px;padding:10px 14px}.amount-field span{font-size:28px;color:var(--muted);font-weight:700}.amount-field input{border:0;background:none;padding:0;font-size:34px;font-weight:700;font-variant-numeric:tabular-nums}.amount-field input:focus{outline:none}.date-stepper{display:flex;align-items:center;justify-content:space-between}.date-stepper strong{font-size:17px}.cat-item{background:var(--card)}.sheet .swipe-wrap{margin-bottom:0}.history-link{text-align:left;padding:14px 16px}.tabbar a{padding:14px 0}.entries>.swipe-wrap .entry.is-done{border:2px solid var(--accent)}.week-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-weight:700}.small-round{width:38px!important;height:38px!important;font-size:20px!important}.day-totals{margin:-4px 0 14px;display:flex;flex-direction:column;gap:6px}.day-totals-line{display:flex;justify-content:space-between;align-items:baseline}.day-totals-line strong{font-size:20px;font-variant-numeric:tabular-nums}.meal-kcal{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}.meal-actions{display:flex;gap:8px;margin-top:12px}.meal-actions .btn{padding:7px 12px;font-size:14px}.btn-ok{background:#34c75926;color:var(--ok);border-color:#34c75980}.meal-card.eaten{opacity:.75}.double-note{margin:-2px 0 6px;font-size:13px;color:var(--accent)}.office-chip{margin-left:8px;font-size:12px;vertical-align:middle;padding:2px 8px;border-radius:999px;background:var(--btn);color:var(--muted);font-weight:700}.meal-card.bonus{border:1px solid rgba(255,214,10,.6)!important;background:linear-gradient(135deg,#2a2410,#151617)!important}.treats{margin:4px 0 0;padding-left:1.1rem;display:flex;flex-direction:column;gap:4px}.expiring{display:flex;flex-direction:column;gap:2px;border-color:#ff6b5e80;background:#ff6b5e14}.expiring strong{color:var(--danger)}.pick-item.current strong{color:var(--accent)}.sheet .segmented{margin-bottom:8px}.shopping .segmented{margin-top:10px}.week-toggle{margin:0 0 8px}.covered{color:var(--muted);padding:10px 0 8px;border-top:1px solid var(--line);margin:0}.pantry-list .swipe-wrap{margin-bottom:8px}.pantry-row{padding:0;margin-bottom:0}.pantry-row.urgent{border-color:#ff6b5e99}.pantry-main{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:14px 16px;text-align:left}.pantry-list .swipe-wrap:nth-child(odd) .pantry-row{background:#26282d}.pantry-list .swipe-wrap:nth-child(2n) .pantry-row{background:#050506;border-color:#2c2e33}.pantry-list .swipe-wrap:nth-child(2n) .pantry-row.urgent{border-color:#ff6b5e99}.profile-sex{margin:10px 0}.profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.profile-field{display:flex;flex-direction:column;align-items:flex-start;gap:2px;background:var(--bg);border-radius:12px;padding:10px 12px;text-align:left;border:1px solid #2c2e33}.profile-field span{font-size:12px;color:var(--muted)}.profile-field strong{font-size:17px}.profile-result{margin:12px 0 0}.weight-chart{margin:10px 0 6px}.weight-summary{display:flex;gap:18px;margin-bottom:8px}.weight-summary>div{display:flex;flex-direction:column}.weight-summary .stat-value{font-size:20px}.stat-value.good{color:var(--ok)}.weight-chart svg{display:block}.weight-chart .grid{stroke:var(--line);stroke-width:1}.weight-chart .axis{fill:var(--muted);font-size:11px}.weight-chart .target{stroke:var(--ok);stroke-width:1.5;stroke-dasharray:5 4}.weight-chart .avg{fill:none;stroke:var(--accent);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.weight-chart .dot{fill:var(--rest)}.chart-legend{display:flex;align-items:center;gap:6px;color:var(--muted);margin:4px 0 0;flex-wrap:wrap}.lg-dot{width:8px;height:8px;border-radius:50%;background:var(--rest);display:inline-block}.lg-avg{width:16px;height:3px;background:var(--accent);display:inline-block;margin-left:8px}.lg-target{width:16px;border-top:2px dashed var(--ok);display:inline-block;margin-left:8px}.passkey-btn{padding:14px;font-size:16px}.passkey-row{background:var(--card)}.locked-card{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}.timeline .slot{grid-template-columns:minmax(0,1fr)}.meal-head{gap:8px}.meal-head .kind{flex:1}.meal-check{width:40px;height:40px;font-size:18px;flex-shrink:0}.eaten-at{margin:4px 0 0;font-size:13px;color:var(--ok);font-weight:600}.meal-card.eaten{opacity:1;border-color:#34c7598c!important}.meal-actions{align-items:center;flex-wrap:wrap}.portion-chips{display:flex;gap:4px}.chip.mini{padding:5px 9px;font-size:13px}.extras-card .btn{margin-top:8px}.extra-row,.extras-card .swipe-front{background:inherit}.recovery{display:flex;flex-direction:column;gap:2px;border-color:#449dd799;background:#449dd71a}.recovery strong{color:var(--rest)}.training-summary{display:flex;flex-direction:column;gap:4px;width:100%;text-align:left}.training-summary.done{border-color:#34c7598c}.training-summary.none{color:var(--muted)}.training-summary.pending{border-color:#ffd60a80}.ts-line{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap}.bonus-title{margin:6px 0 0;font-weight:700;color:var(--accent)}.strip{display:block;width:100%;text-align:left;padding:9px 14px;border-radius:12px;margin-bottom:12px;font-size:15px}.strip-done{background:#ffd60a24;color:var(--accent);border:1px solid rgba(255,214,10,.4)}.strip-done strong{font-weight:800}.strip-none{background:var(--card);color:var(--muted)}.strip-pending{background:#ffd60a14;border:1px solid rgba(255,214,10,.3)}.strip-treats{margin:-6px 0 12px 4px;font-size:14px}.start-workout{display:block;margin:-6px 0 8px;font-size:14px}.close-shopping{padding:14px;font-size:17px;margin-top:4px}.shop-closed{display:flex;flex-direction:column;align-items:flex-start;gap:8px;border-color:#34c75980}.shop-closed strong{color:var(--ok)}.strip-treats{margin:-6px 0 12px;display:flex;flex-direction:column}.receipt-result{width:100%;display:flex;flex-direction:column;gap:4px;border-top:1px solid var(--line);padding-top:8px}.receipt-result p{margin:0}.receipt-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid var(--line)}.receipt-actions{display:flex;align-items:center;gap:8px}.mini-btn{padding:5px 10px;font-size:13px}.suggest-fab{position:fixed;right:14px;bottom:calc(70px + env(safe-area-inset-bottom));z-index:6;width:44px;height:44px;border-radius:50%;background:var(--card);border:1px solid #3a3d44;font-size:20px;box-shadow:0 4px 14px #00000073}.suggest-fab.sent{background:var(--ok);color:#fff}.mcp-url{font-size:13px;margin:8px 0}.add-row .btn{flex:1}
