.action-modal.log-modal{background:var(--4ma-surface);box-shadow:none;border-radius:22px;gap:18px;padding:20px}.action-modal.log-modal .modal-heading{align-items:center;gap:12px;margin:0 0 16px}.action-modal.log-modal .modal-heading h2{font-size:1.05rem;font-weight:600}.action-modal.log-modal .modal-heading>button{width:44px;min-width:44px;height:44px;box-shadow:none;background:0 0;border:0;border-radius:10px}.modal-backdrop:has(>.food-log-sheet){place-items:end center;padding:0}.action-modal.log-modal.food-log-sheet{--4ma-surface:#000;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;box-sizing:border-box;overscroll-behavior:contain;width:min(100%,460px);max-height:min(92dvh,640px);padding:16px 16px max(18px, env(safe-area-inset-bottom));direction:rtl;border-bottom:0;border-radius:26px 26px 0 0;position:relative}.food-log-sheet:before{content:"";background:var(--4ma-border-strong);border-radius:999px;width:42px;height:4px;margin:0 auto;display:block}.action-modal.food-log-sheet>.modal-heading{color:var(--4ma-text);margin:0 0 4px}.food-log-choices{gap:10px;display:grid}.food-log-choices>button{border:1px solid var(--4ma-border);background:var(--4ma-surface-2);min-height:74px;color:var(--4ma-text);text-align:start;font:inherit;cursor:pointer;border-radius:16px;grid-template-columns:minmax(0,1fr) 42px;align-items:center;gap:12px;padding:10px 14px;display:grid}.food-log-choices>button:active{border-color:var(--4ma-accent)}.food-log-choices>button:focus-visible{outline:2px solid var(--4ma-accent);outline-offset:2px}.food-log-choices>button:disabled{opacity:.55;cursor:default}.food-log-choices b,.food-log-choices small{display:block}.food-log-choices b{font-size:.95rem;font-weight:700;line-height:1.4}.food-log-choices small{color:var(--4ma-muted);margin-block-start:3px;font-size:.78rem;line-height:1.5}.food-log-choice-icon{background:var(--4ma-surface-3);width:42px;height:42px;color:var(--4ma-text);border-radius:12px;place-items:center;display:grid}.action-modal.log-modal .simple-log-weight{text-align:center;gap:8px;padding:8px 0 12px;display:grid}.action-modal.log-modal .progress-media-editor{gap:14px}.action-modal.log-modal .progress-media-pick{grid-template-columns:1fr 1fr;gap:8px;display:grid}.action-modal.log-modal .progress-media-pick button{background:var(--4ma-surface-2);min-height:48px;color:var(--4ma-text);font:inherit;box-shadow:none;border:0;border-radius:12px;gap:8px;padding:8px;font-size:.9rem}.action-modal.log-modal .progress-media-pick svg{stroke-width:1.7px;width:19px;height:19px}.action-modal.log-modal .progress-media-preview{border-radius:12px;max-height:160px}.action-modal.log-modal .simple-log-details{border-top:1px solid var(--4ma-border);padding-top:2px}.action-modal.log-modal .simple-log-details>summary{cursor:pointer;min-height:44px;color:var(--4ma-muted);justify-content:space-between;align-items:center;gap:8px;font-size:.8rem;list-style:none;display:flex}.action-modal.log-modal .simple-log-details>summary::-webkit-details-marker{display:none}.action-modal.log-modal .simple-log-details>summary:after{content:"+";font-size:1.1rem}.action-modal.log-modal .simple-log-details[open]>summary:after{content:"−"}.action-modal.log-modal .simple-log-details>summary>span{margin-inline-start:auto;font-size:.75rem}.action-modal.log-modal .simple-log-details>label{color:var(--4ma-muted);gap:5px;padding-block:8px;font-size:.8rem;display:grid}.action-modal.log-modal .simple-log-details input{box-sizing:border-box;border:0;border-bottom:1px solid var(--4ma-border);width:100%;min-width:0;min-height:44px;color:var(--4ma-text);font:inherit;border-radius:0;padding:8px 4px;font-size:1rem;box-shadow:none!important;background:0 0!important}.action-modal.log-modal .simple-log-details input:focus-visible{border-bottom-color:var(--4ma-text)!important;outline:0!important}.action-modal.log-modal :is(.modal-primary,.progress-media-editor .ma-button-primary){background:var(--4ma-text);min-height:46px;color:var(--4ma-bg);box-shadow:none;border:0;border-radius:12px;margin:0;padding:10px 16px;font-size:.95rem;font-weight:500}.action-modal.log-modal .simple-log-form{gap:18px;display:grid}.action-modal.log-modal .progress-media-editor footer>button:not(:first-child){background:0 0;border:0;font-size:.85rem}@media (width<=380px){.action-modal.log-modal{padding:16px}}.action-modal.log-modal .weight-wheel-field{gap:0;padding:4px 0 8px;position:relative}.action-modal.log-modal .weight-wheel-field>span{color:var(--4ma-muted);text-align:center;font-size:.8rem}.action-modal.log-modal .weight-wheel-field .ob-wheel-wrap{width:min(100%,260px);height:176px;margin:8px auto 0}.action-modal.log-modal .weight-wheel-field .ob-wheel{box-sizing:border-box;touch-action:pan-y;overflow-anchor:none;scroll-behavior:auto;height:176px;padding:66px 0;-webkit-mask-image:linear-gradient(#0000,#000 25% 75%,#0000);mask-image:linear-gradient(#0000,#000 25% 75%,#0000)}.action-modal.log-modal .weight-wheel-field .ob-wheel-selection{border-color:color-mix(in srgb,var(--4ma-text) 18%,transparent);background:color-mix(in srgb,var(--4ma-text) 5%,transparent);height:44px;box-shadow:none;border-radius:12px;top:66px;left:10%;right:10%}.action-modal.log-modal .weight-wheel-field .ob-wheel>button{height:44px;min-height:44px;color:var(--4ma-muted);box-shadow:none;font-variant-numeric:tabular-nums;background:0 0;border:0;border-radius:0;gap:6px;padding:0;transition:color .12s}.action-modal.log-modal .weight-wheel-field .ob-wheel strong{font-size:20px;font-weight:400}.action-modal.log-modal .weight-wheel-field .ob-wheel button.selected{color:var(--4ma-text)}.action-modal.log-modal .weight-wheel-field .ob-wheel button.selected strong{font-size:34px;font-weight:600;animation:.14s ease-out log-weight-settle}.action-modal.log-modal .weight-wheel-field .ob-wheel button span{color:var(--4ma-muted);font-size:.75rem;font-weight:400}.action-modal.log-modal .weight-wheel-field .ob-wheel:focus-visible{box-shadow:inset 0 -2px var(--4ma-text);outline:0!important}.action-modal.log-modal .weight-wheel-field[aria-disabled=true]{opacity:.5}@keyframes log-weight-settle{0%{opacity:.8;transform:scale(.97)}to{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.action-modal.log-modal .weight-wheel-field .ob-wheel button.selected strong{animation:none}.action-modal.log-modal .weight-wheel-field .ob-wheel>button{transition:none}}.action-modal.log-modal .photo-change-source{min-height:44px;color:var(--4ma-muted);font:inherit;box-shadow:none;background:0 0;border:0;align-self:center;padding:6px 12px;font-size:.8rem}.action-modal.log-modal .photo-date-row{gap:6px;display:grid}.action-modal.log-modal .photo-date-row>button{width:100%;min-height:44px;color:var(--4ma-muted);font:inherit;box-shadow:none;text-align:start;background:0 0;border:0;border-radius:0;align-items:center;gap:8px;padding:6px 0;font-size:.85rem;display:flex}.action-modal.log-modal .photo-date-row>button small{margin-inline-start:auto;font-size:.75rem}.action-modal.log-modal .photo-date-row input{box-sizing:border-box;border:1px solid var(--4ma-border);width:100%;min-width:0;min-height:44px;color:var(--4ma-text);font:inherit;border-radius:10px;padding:8px 12px;box-shadow:none!important;background:0 0!important}
