@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Figtree Variable;font-style:normal;font-display:swap;font-weight:300 900;src:url(/assets/figtree-latin-ext-wght-normal-DCwSJGxG.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Figtree Variable;font-style:normal;font-display:swap;font-weight:300 900;src:url(/assets/figtree-latin-wght-normal-D_ZTVpCC.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#000;--surface:#0e0f11;--surface-2:#17191c;--surface-3:#212428;--border:#25282c;--line:#1a1c1f;--text:#f0f0f0;--muted:#a1a4a5;--muted-2:#7d8285;--muted-3:#555a5e;--accent:#3b9eff;--accent-fill:#0b6ff0;--accent-hover:#2580f5;--accent-text:#70b8ff;--accent-contrast:#fff;--accent-tint:color-mix(in srgb, var(--accent) 16%, var(--surface));--primary:#f0f0f0;--primary-hover:#fff;--on-primary:#000;--danger:#ff6b6b;--success:#30a46c;--success-text:#4cc38a;--blue:var(--accent-fill);--blue-text:var(--accent-text);--now:#ff5c5c;--heading-fill:linear-gradient(to bottom right, #fff 30%, #ffffff8c);--radius:10px;--radius-lg:16px;--page-w:1360px;--sidebar-w:248px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter Variable,Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}#root{position:relative;overflow:clip}body{background:var(--bg);color:var(--text);-webkit-tap-highlight-color:transparent;overscroll-behavior:none}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.icon{stroke-width:1.8px;flex:none;width:1.25em;height:1.25em}.hero h1 .title-text,.gym-empty h2,.auth-title{background:var(--heading-fill);-webkit-text-fill-color:transparent;color:#0000;-webkit-background-clip:text;background-clip:text}.btn{border-radius:var(--radius);white-space:nowrap;justify-content:center;align-items:center;gap:8px;height:44px;padding:0 18px;font-size:.9375rem;font-weight:600;transition:background-color .15s,color .15s;display:inline-flex}.btn .icon{width:18px;height:18px}.btn.primary{background:var(--primary);color:var(--on-primary);box-shadow:0 0 4px #ffffff0f,0 1px 14px #ffffff1a}.btn.primary:hover{background:var(--primary-hover)}.btn.primary .icon{stroke-width:2.5px}.icon-btn{border-radius:var(--radius);width:40px;height:40px;color:var(--muted);flex:none;place-items:center;transition:background-color .15s,color .15s;display:grid}.icon-btn:hover{background:var(--surface-2);color:var(--text)}.icon-btn .icon{width:22px;height:22px}.today-btn{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);align-items:center;gap:8px;height:40px;padding:0 14px;font-size:.875rem;font-weight:600;transition:background-color .15s;display:inline-flex}.today-btn:hover{background:var(--surface-2)}.today-btn .icon{width:18px;height:18px;color:var(--accent-text)}.app-error{max-width:420px;padding:calc(48px + env(safe-area-inset-top)) 24px 24px;flex-direction:column;align-items:flex-start;gap:12px;margin:0 auto;display:flex}.app-error h1{margin:0;font-size:1.25rem}.app-error p{color:var(--muted);margin:0 0 8px}.app{height:100%;padding:0 env(safe-area-inset-right) 0 env(safe-area-inset-left);flex-direction:column;display:flex}.content{flex-direction:column;flex:1;min-height:0;display:flex}.sidebar{display:none}.sidebar-account,.sidebar-item,.sidebar-foot{text-align:left;border-radius:8px;align-items:center;gap:10px;width:100%;min-width:0;transition:background-color .15s,color .15s;display:flex}.sidebar-account{height:40px;padding:0 10px;font-size:.9375rem;font-weight:600}.sidebar-account-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.avatar{background:linear-gradient(to bottom right, var(--accent), var(--accent-fill));color:#fff;border-radius:6px;flex:none;place-items:center;width:24px;height:24px;font-size:.8125rem;font-weight:700;line-height:1;display:grid;box-shadow:inset 0 1px #ffffff40}.sidebar-group{flex-direction:column;gap:2px;display:flex}.sidebar-item{height:36px;color:var(--muted);padding:0 10px;font-size:.9375rem;font-weight:500}.sidebar-item .icon{width:18px;height:18px}.sidebar-live{background:var(--accent);border-radius:50%;width:8px;height:8px;margin-left:auto}.sidebar-item[aria-current],.sidebar-account[aria-current]{background:var(--surface-2);color:var(--text)}.sidebar-item[aria-current] .icon{color:var(--accent)}.sidebar-sep{background:var(--border);border:0;width:calc(100% - 20px);height:1px;margin:14px 10px}.sidebar-foot{height:36px;color:var(--muted-2);margin-top:auto;padding:0 10px;font-size:.8125rem;font-weight:500}.sidebar-foot .account-dot{width:8px;height:8px}.sidebar :is(button):focus-visible{outline-offset:-2px}@media (hover:hover){.sidebar-item:hover,.sidebar-account:hover,.sidebar-foot:hover{background:var(--surface-2);color:var(--text)}}.new-btn{border-radius:8px;height:36px;padding:0 14px;font-size:.875rem}.hero{width:100%;max-width:var(--page-w);flex:none;align-items:flex-end;gap:24px;margin:0 auto;padding:28px 24px 20px;display:flex}.hero-text{flex:1;min-width:0}.hero h1{letter-spacing:-.035em;white-space:nowrap;align-items:baseline;gap:.3em;margin:6px 0 0;font-size:2.5rem;font-weight:650;line-height:1.15;display:flex}.title-text{text-overflow:ellipsis;min-width:0;overflow:hidden}.stats{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.stat{border:1px solid var(--border);height:32px;color:var(--muted);white-space:nowrap;background:#ffffff05;border-radius:999px;align-items:center;gap:7px;padding:0 12px;font-size:.875rem;display:inline-flex}.stat b{color:var(--text);font-weight:700}.stat .icon{width:16px;height:16px}.period-nav{align-items:center;gap:8px;display:flex}.period-nav .icon-btn{border:1px solid var(--border);background:var(--surface);color:var(--text)}.period-nav .icon-btn:hover{background:var(--surface-2)}.month{--tile:var(--surface);--tile-inset:2px;--chip-h:18px;--chip-past-h:12px;--chip-cols:2;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:pan-y;flex-direction:column;flex:none;padding:0 6px 6px;display:flex}.weekdays{letter-spacing:.08em;text-transform:uppercase;color:var(--muted-2);text-align:center;grid-template-columns:repeat(7,1fr);padding:5px 0 3px;font-size:.6875rem;font-weight:600;line-height:14px;display:grid}.grid-clip{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.grid{grid-template-rows:repeat(var(--rows), minmax(0, 1fr));flex:1;grid-template-columns:repeat(7,minmax(0,1fr));min-height:0;display:grid}.day{isolation:isolate;text-align:left;flex-direction:column;align-items:stretch;gap:2px;min-width:0;padding:4px 3px 3px;display:flex;position:relative;overflow:hidden}.day:before{content:"";inset:var(--tile-inset);z-index:-1;background:var(--tile);border-radius:10px;position:absolute}.day.outside{color:var(--muted-2)}.day.outside:before{background:color-mix(in srgb, var(--tile) 40%, transparent)}.day.outside .chip{opacity:.55}@media (hover:hover){.day:hover:before{background:var(--surface-3)}}.day.selected:before{background:var(--accent-tint);box-shadow:inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 65%, transparent)}.day-number{font-variant-numeric:tabular-nums;border-radius:7px;flex:none;align-self:center;place-items:center;width:26px;height:26px;font-size:.8125rem;font-weight:500;display:grid}.day.today .day-number{background:var(--accent-fill);color:var(--accent-contrast);font-weight:700}.chips{gap:var(--chip-gap,2px);flex:1;min-width:0;min-height:0;display:flex;overflow:hidden}.chip-col{gap:var(--chip-gap,2px);flex-direction:column;flex:1 1 0;min-width:0;display:flex}.chip{min-width:0;height:var(--chip-h,18px);background:var(--c);color:var(--on-c,#fff);font-size:.6875rem;font-weight:600;line-height:var(--chip-h,18px);white-space:nowrap;border-radius:5px;flex:none;align-items:center;gap:3px;padding:0 6px;display:flex;overflow:hidden}.chip-title{text-overflow:ellipsis;min-width:0;overflow:hidden}.chip-icon{width:12px;height:12px;color:color-mix(in oklab, var(--c) 30%, var(--on-c,#fff));stroke-width:2.3px;margin-left:-2px}.chip.birthday{container-type:inline-size}.chip-age{background:color-mix(in srgb, var(--on-c,#fff) 22%, transparent);font-variant-numeric:tabular-nums;border-radius:4px;flex:none;padding:0 4px;font-size:.625rem;font-weight:700;line-height:13px}@container (width<=64px){.chip-age{display:none}}.month .chip.past{height:var(--chip-past-h,12px);font-size:.5625rem;line-height:var(--chip-past-h,12px);border-radius:3px}.month .chip.past .chip-icon{width:9px;height:9px;margin-left:-3px}.month .chip.past .chip-age{border-radius:3px;padding:0 3px;font-size:.5rem;line-height:9px}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.more{font-size:.6875rem;font-weight:600;line-height:var(--chip-h,18px);color:var(--muted);padding:0 6px}@media (hover:hover){.month.chips-draggable .chip{cursor:grab}.month.chips-draggable .chip.birthday{cursor:inherit}}.day.drop-target:before{background:color-mix(in srgb, var(--accent) 22%, var(--tile));box-shadow:inset 0 0 0 2px var(--accent)}.day.landed:before{animation:.9s ease-out landed}@keyframes landed{0%{background-color:color-mix(in srgb, var(--accent) 40%, var(--tile));box-shadow:inset 0 0 0 2px var(--accent)}}.day-cake,.today-num{display:none}.month .day.in-range:before{background:color-mix(in srgb, var(--accent) 30%, var(--tile));box-shadow:inset 0 0 0 1.5px var(--accent);transition:none}.timegrid{--gutter:48px;--grid-bg:var(--bg);touch-action:pan-y;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;min-height:0;padding-bottom:calc(88px + env(safe-area-inset-bottom));background:var(--grid-bg);scrollbar-width:thin;scrollbar-color:var(--surface-3) transparent;flex:1;overflow-y:auto}.tg-row{grid-template-columns:var(--gutter) repeat(var(--cols), minmax(0, 1fr));display:grid}.tg-head{z-index:5;background:var(--grid-bg);border-bottom:1px solid var(--border);position:sticky;top:0}.tg-dayhead{letter-spacing:.08em;text-transform:uppercase;color:var(--muted-2);flex-direction:column;align-items:center;gap:3px;padding:10px 0 8px;font-size:.6875rem;font-weight:600;display:flex}.tg-date{letter-spacing:0;width:32px;height:32px;color:var(--text);font-variant-numeric:tabular-nums;border-radius:9px;place-items:center;font-size:1.0625rem;font-weight:600;display:grid}.tg-dayhead.today{color:var(--accent-text)}.tg-dayhead.today .tg-date{background:var(--accent-fill);color:var(--accent-contrast);font-weight:700}.tg-allday{border-top:1px solid var(--line);max-height:100px;overflow-y:auto}.tg-allday-cell{flex-direction:column;gap:2px;min-width:0;padding:3px 2px;display:flex}.tg-allday .chip{text-align:left;width:100%}.tg-hours{position:relative}.tg-hour{height:var(--hour-h);position:relative}.tg-hour span{color:var(--muted-2);font-variant-numeric:tabular-nums;font-size:.6875rem;font-weight:500;position:absolute;top:0;right:8px;transform:translateY(-50%)}.tg-drag-time{z-index:1;background:var(--accent-fill);color:var(--accent-contrast);font-variant-numeric:tabular-nums;border-radius:6px;padding:2px 5px;font-size:.6875rem;font-weight:700;position:absolute;right:2px;transform:translateY(-50%)}.tg-col{height:calc(24 * var(--hour-h));border-left:1px solid var(--line);background-image:linear-gradient(to bottom, transparent calc(var(--hour-h) - 1px), var(--line) 0);background-size:100% var(--hour-h);cursor:pointer;position:relative}.tg-event,.tg-card{background:var(--c);color:var(--on-c,#fff);text-align:left;border-radius:8px;font-size:.6875rem;line-height:1.3;display:flex}.tg-event{border:1px solid var(--grid-bg);position:absolute}@media (prefers-reduced-motion:no-preference){.timegrid:is(.dragging-move,.dragging-resize) .tg-event{transition:left .12s,width .12s}}.tg-event-inner{flex-direction:column;flex:1;min-width:0;min-height:0;padding:3px 6px;display:flex;overflow:hidden;container-type:inline-size}.tg-event.continues .tg-event-inner{top:var(--head-h,0px);align-self:flex-start;max-height:100%;position:sticky}.tg-event-title{overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto;font-weight:700}.tg-event-icon{vertical-align:-.22em;stroke-width:2.3px;width:1.1em;height:1.1em;margin-right:3px}.tg-event.one-line .tg-event-inner{white-space:nowrap;flex-direction:row;gap:4px}.tg-event.one-line .tg-event-title{text-overflow:ellipsis;overflow:hidden}.tg-event-time{opacity:.85;font-variant-numeric:tabular-nums}.tg-event-head{flex-wrap:wrap;flex:none;align-items:baseline;column-gap:6px;min-width:0;display:flex}.tg-event.one-line .tg-event-head{flex-wrap:nowrap;overflow:hidden}.tg-event-exercises{flex:1 1 0;min-height:0;margin-top:3px;container:tg-exercises/size}.tg-event-exercise-list{border-top:1px solid color-mix(in srgb, currentColor 22%, transparent);flex-flow:column wrap;align-content:flex-start;height:100%;padding-top:2px;font-weight:500;display:flex;overflow:hidden}.tg-event-exercise{opacity:.9;text-overflow:ellipsis;white-space:nowrap;flex:none;width:100%;overflow:hidden}@container tg-exercises (height<=2.85em){.tg-event-exercise-list{text-overflow:ellipsis;white-space:nowrap;display:block}.tg-event-exercise{display:inline}.tg-event-exercise+.tg-event-exercise:before{content:" · " / ""}}@container tg-exercises (height<=1.55em){.tg-event-exercise-list{display:none}}.tg-event.one-line .tg-event-exercises,.tg-time-short{display:none}@container (width<=80px){.tg-time-long{display:none}.tg-time-short{display:inline}}.tg-handle{cursor:ns-resize;height:6px;position:absolute;left:0;right:0}.tg-handle.top{top:-1px}.tg-handle.bottom{bottom:-1px}.tg-event.armed,.tg-event.menu-open{z-index:3;box-shadow:0 0 0 2px var(--grid-bg), 0 0 0 4px var(--c)}.tg-allday .chip.menu-open{box-shadow:0 0 0 1px var(--grid-bg), 0 0 0 2.5px var(--c)}.tg-event:is(.armed,.resizing) .tg-handle{height:28px}.tg-event:is(.armed,.resizing) .tg-handle.top{top:-20px}.tg-event:is(.armed,.resizing) .tg-handle.bottom{bottom:-20px}.tg-event:is(.armed,.resizing) .tg-handle:after{content:"";border:3px solid var(--c);background:var(--grid-bg);border-radius:50%;width:12px;height:12px;position:absolute;right:4px}.tg-event:is(.armed,.resizing) .tg-handle.top:after{top:14px}.tg-event:is(.armed,.resizing) .tg-handle.bottom:after{top:2px}.tg-event.drag-source{visibility:hidden}.tg-event.drop-target{z-index:4;border:2px dashed var(--c);background:color-mix(in srgb, var(--c) 22%, var(--grid-bg));color:var(--text);pointer-events:none}.tg-event.resizing{z-index:4;pointer-events:none;box-shadow:0 8px 20px #00000073}.tg-event.placing,.tg-allday .chip.placing{z-index:4;pointer-events:none;box-shadow:0 6px 16px #00000073}@media (prefers-reduced-motion:no-preference){.tg-event.placing,.tg-allday .chip.placing{animation:.16s ease-out tg-place}.timegrid .tg-event.placing{transition:top 70ms ease-out,left .12s,width .12s}@keyframes tg-place{0%{opacity:.7;transform:scale(1.04);box-shadow:0 14px 32px #00000080}}}.tg-card{z-index:20;opacity:.95;will-change:transform;pointer-events:none;position:fixed;transform:scale(1.06);box-shadow:0 14px 32px #00000080}@media (prefers-reduced-motion:no-preference){.tg-card{animation:.14s ease-out tg-lift}}.tg-card.over-day{border-radius:5px}.tg-card.over-day .tg-event-inner{white-space:nowrap;flex-direction:row;align-items:center;gap:4px;padding:0 6px}.tg-card.over-day .tg-event-title{text-overflow:ellipsis;overflow:hidden}@keyframes tg-lift{0%{transform:scale(1);box-shadow:0 0 #0000}}.tg-flip{z-index:21;pointer-events:none;justify-content:center;align-items:center;animation:.14s ease-out 90ms both tg-flip-in;display:flex;position:fixed}.tg-flip.left{background:linear-gradient(to right, color-mix(in srgb, var(--accent) 34%, transparent), transparent)}.tg-flip.right{background:linear-gradient(to left, color-mix(in srgb, var(--accent) 34%, transparent), transparent)}@property --flip-progress{syntax:"<angle>";inherits:false;initial-value:0deg}.tg-flip-ring{background:conic-gradient(var(--accent) var(--flip-progress), color-mix(in srgb, var(--accent) 28%, var(--grid-bg)) 0);width:38px;height:38px;animation:tg-flip-charge var(--flip-ms) linear forwards;border-radius:50%;place-items:center;padding:3px;display:grid;box-shadow:0 6px 16px #00000073}.tg-flip-arrow{background:var(--accent-fill);width:100%;height:100%;color:var(--accent-contrast);border-radius:50%;place-items:center;display:grid}@keyframes tg-flip-in{0%{opacity:0}}@keyframes tg-flip-charge{to{--flip-progress:360deg}}@media (hover:hover){.timegrid.dragging-move,.timegrid.dragging-move *{cursor:grabbing!important}.timegrid.dragging-resize,.timegrid.dragging-resize *{cursor:ns-resize!important}}.tg-now{z-index:2;background:var(--now);pointer-events:none;height:2px;margin-top:-1px;position:absolute;left:0;right:0}.tg-now:before{content:"";background:var(--now);border-radius:50%;width:10px;height:10px;position:absolute;top:-4px;left:-5px}.tg-head .tg-dayhead.in-range{background:color-mix(in srgb, var(--accent) 22%, transparent)}.tg-head .tg-dayhead.range-start{border-top-left-radius:10px;border-bottom-left-radius:10px}.tg-head .tg-dayhead.range-end{border-top-right-radius:10px;border-bottom-right-radius:10px}.tg-allday-cell.in-range,.tg-col.in-range{background-color:color-mix(in srgb, var(--accent) 8%, transparent)}.day-sheet{background:var(--surface);flex-direction:column;min-height:0;display:flex;overflow:hidden}.day-sheet .timegrid{--grid-bg:var(--surface)}.sheet-handle{display:none}.day-panel .tg-head>.tg-row:first-child{grid-template-columns:minmax(0,1fr)}.day-panel .tg-head>.tg-row:first-child>:first-child{display:none}.day-panel .tg-dayhead{color:var(--text);letter-spacing:0;text-transform:none;flex-direction:row;justify-content:flex-start;align-items:baseline;gap:6px;padding:14px 10px 12px;font-size:1rem}.day-panel .tg-dayhead .tg-date{width:auto;height:auto;color:var(--text);letter-spacing:-.02em;background:0 0;border-radius:0;order:-1;font-size:1.375rem;font-weight:800;line-height:1;display:block}.menu-backdrop{z-index:30;padding:max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;position:fixed;inset:0}.event-menu{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);outline:none;flex-direction:column;min-width:180px;padding:5px;display:flex;position:fixed;box-shadow:0 16px 40px #00000080}.event-menu button{text-align:left;white-space:nowrap;border-radius:8px;padding:8px 12px;font-size:.875rem;font-weight:500}.event-menu button:focus-visible{outline-offset:-2px}.event-menu button.danger{color:var(--danger)}@media (hover:hover){.event-menu button:hover{background:var(--surface-3)}}.event-menu.touch{background:var(--surface-3);border:0;border-radius:24px;min-width:172px;padding:8px 0}.event-menu.touch button{border-radius:0;padding:14px 24px;font-size:1.0625rem;font-weight:400}.event-menu.touch button:active{background:color-mix(in srgb, var(--text) 8%, transparent)}.tab-bar{display:none}.overlay.add-overlay{align-items:flex-end;padding:0}.sheet.add-sheet{max-width:520px;padding:20px 16px calc(20px + env(safe-area-inset-bottom));border-bottom:0;border-radius:24px 24px 0 0;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid;box-shadow:0 -12px 40px #00000080}.add-tile{border:1px solid var(--border);background:var(--surface-2);min-height:136px;color:var(--text);text-align:center;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:18px 12px;font-size:1rem;font-weight:600;line-height:1.3;transition:background-color .15s,transform .15s;display:flex}.add-tile:active{background:var(--surface-3);transform:scale(.98)}.add-tile-noun{display:block}.add-tile.wide{text-align:left;flex-direction:row;grid-column:1/-1;justify-content:flex-start;gap:14px;height:68px;min-height:0;padding:0 18px}.add-tile-icon{color:#fff;border-radius:50%;flex:none;place-items:center;width:56px;height:56px;display:grid}.add-tile-icon .icon{width:27px;height:27px}.add-tile.wide .add-tile-icon{width:40px;height:40px}.add-tile.wide .add-tile-icon .icon{width:22px;height:22px}.add-tile-icon.event{background:var(--accent-fill);box-shadow:0 0 18px #0b6ff059}.add-tile-icon.workout{background:#db2777;box-shadow:0 0 18px #db27774d}.add-tile-icon.exercise{background:#ea580c;box-shadow:0 0 14px #ea580c4d}.add-tile-icon.food{background:#16a34a;box-shadow:0 0 14px #16a34a4d}@media (hover:hover){.add-tile:hover{background:var(--surface-3)}}@media (prefers-reduced-motion:no-preference){.sheet.add-sheet{animation:.3s cubic-bezier(.2,.8,.2,1) add-sheet-up}@keyframes add-sheet-up{0%{transform:translateY(100%)}}}.gym-scroll{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--surface-3) transparent;flex:1;min-height:0;position:relative;overflow-y:auto}.gym-inner{max-width:720px;min-height:100%;padding:14px 16px calc(96px + env(safe-area-inset-bottom));flex-direction:column;gap:12px;margin:0 auto;display:flex}.gym[data-page] .gym-inner{padding-top:0}.gym-tabs-bar{z-index:3;background:var(--bg);flex:none;margin:-12px -16px 0;padding:12px 16px 4px;position:sticky;top:0}.gym-tabs-bar:after{content:"";background:linear-gradient(var(--bg), transparent);pointer-events:none;height:10px;position:absolute;top:100%;left:0;right:0}.gym-tabs{border:1px solid var(--border);background:var(--surface);border-radius:12px;grid-auto-columns:1fr;grid-auto-flow:column;gap:2px;padding:3px;display:grid}.gym-tabs button{height:36px;color:var(--muted);border-radius:8px;font-size:.9375rem;font-weight:600;transition:background-color .15s,color .15s}.gym-tabs button[aria-pressed=true]{background:var(--surface-3);color:var(--text);box-shadow:inset 0 1px #ffffff0d,0 1px 3px #0006}.gym-tabs button:focus-visible{outline-offset:-2px}.gym-select-bar{border:1px solid var(--border);background:var(--surface);border-radius:12px;align-items:center;gap:2px;height:44px;padding:0 1px;display:flex}.gym-select-count{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;padding:0 4px;font-size:.9375rem;font-weight:600;overflow:hidden}.gym-select-all{height:34px;color:var(--accent-text);border-radius:8px;padding:0 12px;font-size:.9375rem;font-weight:600;transition:background-color .15s}.gym-select-all[aria-pressed=true],.gym-select-all:active{background:var(--accent-tint)}.gym-group{border:1px solid var(--border);background:var(--surface);border-radius:16px;flex-direction:column;flex:none;display:flex;overflow:hidden}.gym-item{background:var(--surface);text-align:left;flex:none;align-items:center;gap:12px;width:100%;min-height:64px;padding:12px 14px 12px 16px;transition:background-color .15s;display:flex;position:relative}.gym-item+.gym-item:before{content:"";border-top:1px solid var(--border);position:absolute;top:0;left:16px;right:0}.gym-item:focus-visible{outline-offset:-2px}.gym-item:active{background:var(--surface-2)}.gym-item>.icon{width:18px;height:18px;color:var(--muted-3)}.gym-item-text{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.gym-item-name{text-overflow:ellipsis;white-space:nowrap;font-size:1.0625rem;font-weight:650;overflow:hidden}.gym-item-name.unnamed{color:var(--muted-2);font-weight:500}.gym-item-meta{color:var(--muted);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;font-size:.8125rem;overflow:hidden}.gym-page-head{z-index:4;background:var(--bg);border-bottom:1px solid #0000;flex:none;align-items:center;gap:2px;min-height:60px;margin:0 -16px;padding:8px 10px 8px 6px;display:flex;position:sticky;top:0}@supports (animation-timeline:scroll()){.gym-page-head{animation:linear both page-head-line;animation-timeline:scroll();animation-range:0 24px}@keyframes page-head-line{to{border-bottom-color:var(--border)}}}.gym-page-head>.icon-btn{flex:none}.gym-page-title{min-width:0;height:44px;color:var(--text);font:inherit;letter-spacing:-.02em;text-overflow:ellipsis;background:0 0;border:0;border-radius:10px;outline:none;flex:1;margin:0;padding:0 8px;font-size:1.375rem;font-weight:700;transition:background-color .15s}.gym-page-title:focus{background:var(--surface-2)}.gym-page-title::placeholder{color:var(--muted-2);font-weight:500}.gym-delete:active{background:color-mix(in srgb, var(--danger) 14%, transparent);color:var(--danger)}.gym-hint{color:var(--muted-2);text-wrap:pretty;margin:0 4px;font-size:.8125rem;line-height:1.45}.gym-hint.live{color:var(--accent-text)}.gym-page-intro{flex-direction:column;flex:none;gap:4px;margin:-6px 0 2px;display:flex}.gym-page-facts{color:var(--muted);font-variant-numeric:tabular-nums;margin:0 4px;font-size:.875rem}.gym-section{flex-direction:column;flex:none;gap:8px;display:flex}.gym-card{border:1px solid var(--border);background:var(--surface);border-radius:16px;flex:none;padding:12px 12px 4px}.gym-workout{--card-bg:var(--surface);border:1px solid var(--border);background:var(--card-bg);border-radius:16px;flex-direction:column;flex:none;transition:background-color .15s;display:flex}.gym-workout:has(>.gym-workout-open:active){--card-bg:var(--surface-2)}.gym-workout[data-chosen]{--card-bg:var(--accent-tint);border-color:color-mix(in srgb, var(--accent) 55%, transparent)}.gym-item[data-chosen]{border-color:color-mix(in srgb, var(--accent) 55%, transparent);background:var(--accent-tint)}.gym-workout-foot[inert]{opacity:.4}.gym-select-mark{border:2px solid var(--muted-3);border-radius:50%;flex:none;place-items:center;width:22px;height:22px;transition:background-color .15s,border-color .15s;display:grid}.gym-select-mark .icon{width:14px;height:14px;color:var(--accent-contrast);stroke-width:3px;transition:transform .15s;transform:scale(0)}.gym-select-mark[data-on]{border-color:var(--accent-fill);background:var(--accent-fill)}.gym-select-mark[data-on] .icon{transform:none}.gym-workout,.gym-item{-webkit-touch-callout:none}.gym-workout-open.gym-unit-open{flex-direction:row;align-items:flex-start;gap:14px;padding:14px 14px 12px}.gym-unit-picture{object-fit:contain;flex:none;width:52px;height:52px}.gym-unit-text{flex-direction:column;flex:1;gap:3px;min-width:0;padding-top:3px;display:flex}.gym-unit-meta{min-width:0;color:var(--muted);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;font-size:.8125rem;overflow:hidden}.gym-unit-meta.live{color:var(--accent-text);align-items:center;gap:6px;font-weight:600;display:flex}.gym-unit-meta .gym-running-dot{width:8px;height:8px;box-shadow:none;animation:none}.gym-unit-exercises{color:var(--muted-2);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:5px;font-size:.8125rem;line-height:1.4;display:-webkit-box;overflow:hidden}.gym-unit-open>.icon{width:18px;height:18px;color:var(--muted-3);flex:none;margin-top:4px}.gym-unit-open>.gym-select-mark{margin-top:2px}.gym-workout-open{text-align:left;border-radius:15px;flex-direction:column;gap:8px;width:100%;min-width:0;padding:14px 14px 12px 16px;display:flex}.gym-workout-open:focus-visible{outline-offset:-2px}.gym-workout-foot{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 14px 14px;display:grid}.gym-workout-foot:has(>:only-child){grid-template-columns:auto;justify-content:end}.gym-start,.gym-cal-add{white-space:nowrap;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-width:0;height:40px;padding:0 16px;font-size:.875rem;font-weight:600;transition:background-color .15s,border-color .15s;display:inline-flex}.gym-start{background:var(--accent-fill);color:var(--accent-contrast)}.gym-start .icon{width:15px;height:15px}.gym-start:active{background:var(--accent-hover)}.gym-start.running{box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 50%, transparent);background:var(--accent-tint);color:var(--accent-text)}.gym-start.running .gym-running-dot{width:8px;height:8px;box-shadow:none}.gym-cal-add{border:1px solid var(--border);background:var(--surface-2);color:var(--text)}.gym-cal-add .icon{width:17px;height:17px;color:var(--accent-text)}.gym-cal-add:active{background:var(--surface-3)}.gym-plan{outline:none}.gym-plan-rows{padding:4px 24px 0}.gym-plan-note{color:var(--muted);margin:0;padding:4px 24px 8px;font-size:.8125rem}.gym-plan-note.error{color:var(--danger);font-weight:500}.gym-plan .ed-text-btn:disabled{opacity:.45;cursor:default}.gym-plan-repeat{border-top:1px solid var(--line);margin-top:4px}.gym-plan-custom .ed-weekdays{gap:2px}.gym-plan-custom .ed-weekdays button{aspect-ratio:1;flex:0 38px;width:auto;height:auto}.gym-plan-custom .ed-choice .ed-radio:checked{box-shadow:inset 0 0 0 3px var(--surface-3)}.gym-plan-custom .ed-summary{margin-bottom:4px}.gym-workout-head{align-items:center;gap:10px;min-width:0;display:flex}.gym-workout-head .gym-item-name{flex:1;min-width:0}.gym-workout-count{background:var(--surface-2);color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:999px;flex:none;padding:3px 10px;font-size:.8125rem;font-weight:600}.gym-workout-count.live{background:var(--accent-tint);color:var(--accent-text)}.gym-session-meta{color:var(--muted);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:2px 0;margin-top:-3px;font-size:.8125rem;display:flex}.gym-session-meta>span{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.gym-session-meta>span+span:before{content:"·";color:var(--muted-3);margin:0 7px}.gym-session-records{color:var(--accent-text);font-weight:600}.gym-session-records .icon{width:14px;height:14px}.gym-month{color:var(--muted);letter-spacing:.01em;flex:none;margin:12px 4px -2px;font-size:.8125rem;font-weight:600}.gym-running{border:1px solid color-mix(in srgb, var(--accent) 50%, var(--border));background:var(--accent-tint);text-align:left;border-radius:16px;flex:none;align-items:center;gap:14px;width:100%;padding:12px 12px 12px 18px;transition:background-color .15s;display:flex}.gym-running:active{background:color-mix(in srgb, var(--accent) 26%, var(--surface))}.gym-running-dot{background:var(--accent);width:10px;height:10px;box-shadow:0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent);border-radius:50%;flex:none}.gym-running-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.gym-running-title{align-items:baseline;gap:10px;min-width:0;font-size:.9375rem;font-weight:650;display:flex}.gym-running-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.gym-running-meta{color:var(--accent-text);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;font-size:.8125rem;overflow:hidden}.gym-running-clock{color:var(--text);font-variant-numeric:tabular-nums;flex:none}.gym-running-text>.gym-segments{margin-top:8px}.gym-running>.icon{width:20px;height:20px;color:var(--accent-text)}@media (hover:hover){.gym-running:hover{background:color-mix(in srgb, var(--accent) 24%, var(--surface))}}@media (prefers-reduced-motion:no-preference){.gym-running-dot{animation:2s ease-in-out infinite running-breathe}@keyframes running-breathe{50%{box-shadow:0 0 0 7px color-mix(in srgb, var(--accent) 8%, transparent)}}}.gym-session-when{color:var(--muted);margin:-6px 8px 2px;font-size:.875rem}.gym-session-when>span:before{content:" · ";color:var(--muted-2)}.gym-session-when>.gym-session-live{color:var(--accent-text);font-weight:600}.gym-page-name{letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;margin:0;padding:0 8px;font-size:1.375rem;font-weight:700;line-height:44px;overflow:hidden}.gym-page-name.unnamed{color:var(--muted-2);font-weight:500}.gym-page-head>.btn.tr-edit{flex:none;margin-right:6px}.gym-head-clock{background:var(--accent-tint);height:30px;color:var(--accent-text);font-variant-numeric:tabular-nums;border-radius:999px;flex:none;align-items:center;gap:7px;margin-right:4px;padding:0 11px 0 10px;font-size:.875rem;font-weight:650;display:inline-flex}@media (prefers-reduced-motion:no-preference){.gym-head-clock{animation:.2s ease-out head-clock-in}@keyframes head-clock-in{0%{opacity:0;transform:scale(.9)}}}.gym-segments{gap:4px;min-width:0;display:flex}.gym-segments>span{background:linear-gradient(var(--accent), var(--accent)) left / var(--fill,0%) 100% no-repeat, color-mix(in srgb, var(--text) 12%, transparent);border-radius:3px;flex:1;height:6px;transition:background-size .3s cubic-bezier(.2,.8,.2,1)}.gym-segments>span.on{background:var(--accent)}.gym-segments.small>span{height:4px}.gym-live{border:1px solid color-mix(in srgb, var(--accent) 35%, var(--border));background:radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%), var(--surface);border-radius:18px;flex-direction:column;flex:none;gap:12px;padding:14px 16px 16px;transition:border-color .25s,box-shadow .25s;display:flex}.gym-live.complete{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.gym-live-top{justify-content:space-between;align-items:center;gap:10px;display:flex}.gym-live-badge{background:var(--accent-tint);color:var(--accent-text);letter-spacing:.08em;text-transform:uppercase;border-radius:999px;align-items:center;gap:7px;padding:3px 10px 3px 8px;font-size:.6875rem;font-weight:700;display:inline-flex}.gym-live-dot{background:var(--accent);border-radius:50%;width:8px;height:8px}.gym-live-since{color:var(--muted);font-size:.8125rem}.gym-live-clock{font-variant-numeric:tabular-nums;letter-spacing:-.035em;margin:-2px 0 2px;font-size:2.75rem;font-weight:700;line-height:1}.gym-live-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin:2px 0 0;display:grid}.gym-live-stats>div{min-width:0;padding:0 12px}.gym-live-stats>div:first-child{padding-left:0}.gym-live-stats>div+div{border-left:1px solid var(--border)}.gym-live-stats dt{color:var(--muted-2);letter-spacing:.06em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;font-size:.6875rem;font-weight:650;overflow:hidden}.gym-live-stats dd{font-variant-numeric:tabular-nums;letter-spacing:-.02em;text-overflow:ellipsis;white-space:nowrap;margin:3px 0 0;font-size:1.1875rem;font-weight:700;overflow:hidden}.gym-live-stats dd small{color:var(--muted);letter-spacing:0;margin-left:1px;font-size:.72em;font-weight:600}.gym-live-hint{border-top:1px solid var(--border);color:var(--muted);margin:0;padding-top:12px;font-size:.875rem;line-height:1.4}.gym-live.complete .gym-live-hint{color:var(--accent-text);font-weight:600}@media (prefers-reduced-motion:no-preference){.gym-live-dot{animation:1.6s ease-in-out infinite live-blink}@keyframes live-blink{50%{opacity:.35}}}.gym-edit-note{border:1px dashed color-mix(in srgb, var(--accent) 45%, var(--border));background:var(--accent-tint);color:var(--accent-text);border-radius:12px;flex:none;margin:0;padding:10px 12px;font-size:.8125rem;line-height:1.4}.gym-finish{border:1px solid color-mix(in srgb, var(--accent) 35%, var(--border));background:radial-gradient(100% 120% at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), var(--surface);text-align:center;border-radius:20px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:22px 16px 12px;display:flex}.gym-finish-badge{background:linear-gradient(to bottom right, var(--accent), var(--accent-fill));color:#fff;border-radius:50%;place-items:center;width:64px;height:64px;margin-bottom:6px;display:grid;box-shadow:inset 0 1px #ffffff40,0 10px 30px #0b6ff073}.gym-finish-badge .icon{stroke-width:2.5px;width:32px;height:32px}.gym-finish-title{letter-spacing:-.01em;margin:0;font-size:1.375rem;font-weight:700}.gym-finish-text{color:var(--muted);margin:0;font-size:.9375rem;line-height:1.4}.gym-finish-undo{height:36px;color:var(--accent-text);border-radius:999px;margin-top:4px;padding:0 14px;font-size:.875rem;font-weight:600;transition:background-color .15s}.gym-finish-undo:active{background:color-mix(in srgb, var(--accent) 14%, transparent)}@media (prefers-reduced-motion:no-preference){.gym-finish-badge{animation:.5s cubic-bezier(.2,.8,.2,1.2) both finish-pop}@keyframes finish-pop{0%{opacity:0;transform:scale(.4)}}}.gym-takeover{border:1px solid color-mix(in srgb, var(--accent) 35%, var(--border));background:var(--accent-tint);color:var(--accent-text);border-radius:16px;flex:none;align-items:center;gap:8px;margin:0;padding:14px;font-size:.875rem;font-weight:600;line-height:1.4;display:flex}.gym-takeover .icon{flex:none;width:18px;height:18px}@media (hover:hover){.gym-finish-undo:hover{background:color-mix(in srgb, var(--accent) 10%, transparent)}}.gym-workout-head>.icon{width:20px;height:20px;color:var(--muted-2);flex:none}.gym-table-scroll{overscroll-behavior-x:contain;scrollbar-width:none;margin-right:-4px;display:block;overflow-x:auto}.gym-table-scroll::-webkit-scrollbar{display:none}.gym-table-scroll[data-more]{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 32px),#0000);mask-image:linear-gradient(90deg,#000 calc(100% - 32px),#0000)}.gym-table{font-variant-numeric:tabular-nums;width:100%;font-size:.875rem;display:grid}.gym-table>span{border-top:1px solid var(--line);white-space:nowrap;padding:7px 6px 7px 0}.gym-table>.gym-table-name{z-index:1;background:var(--card-bg);align-items:center;gap:5px;min-width:0;max-width:13em;padding-right:12px;font-weight:500;display:flex;position:sticky;left:0}.gym-table-name-text{text-overflow:ellipsis;min-width:0;overflow:hidden}.gym-table>.gym-table-head.gym-table-name{display:block}.gym-table-name .icon.gym-table-tick{width:14px;height:14px;color:var(--accent-text);stroke-width:3px}.gym-table>.gym-table-cell.missed{color:var(--muted-3)}.gym-table-cell.missed small{color:inherit}.gym-table>.gym-table-head{color:var(--muted-2);letter-spacing:.08em;text-transform:uppercase;border-top:0;padding-top:4px;padding-bottom:5px;font-size:.6875rem;font-weight:700}.gym-table-cell small{color:var(--muted);font-size:.75em}.gym-sets-line{color:var(--muted-2);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.gym-sets-count{color:var(--muted)}.gym-sets-count strong{color:var(--text);font-weight:650}.gym-sets-values{color:var(--text);word-spacing:.15em}.gym-entries{flex-direction:column;flex:none;gap:10px;display:flex}.gym-entries[data-sorting]>.gym-ex{transition:transform .2s cubic-bezier(.2,.8,.2,1)}.gym-entries>.gym-ex.dragging{z-index:2;border-color:color-mix(in srgb, var(--accent) 60%, var(--border));box-shadow:0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent), 0 16px 36px #0009;position:relative}@media (prefers-reduced-motion:reduce){.gym-entries[data-sorting]>.gym-ex{transition:none}}.gym-card.gym-ex{padding:0;transition:border-color .2s,box-shadow .2s}.gym-ex.open{border-color:color-mix(in srgb, var(--accent) 45%, var(--border))}.gym-ex.done{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.gym-ex-top{align-items:stretch;display:flex}.gym-ex-grip{width:34px;color:var(--muted-3);cursor:grab;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;border-radius:12px;flex:none;place-items:center;margin:8px -6px 8px 6px;transition:color .15s,background-color .15s;display:grid}.gym-ex-grip .icon{width:20px;height:20px}.gym-ex-grip:active,.gym-ex.dragging .gym-ex-grip{color:var(--accent-text);cursor:grabbing}.gym-ex-grip:focus-visible{outline-offset:-2px}.gym-ex-head{text-align:left;border-radius:17px;flex:1;align-items:center;gap:12px;min-width:0;min-height:64px;padding:12px 12px 12px 16px;transition:background-color .15s;display:flex}.gym-ex-grip+.gym-ex-head{padding-left:10px}.gym-ex-head:active{background:var(--surface-2)}.gym-ex-head:focus-visible{outline-offset:-2px}.gym-ex-text{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.gym-ex-title{align-items:center;gap:7px;min-width:0;display:flex}.gym-ex-name{text-overflow:ellipsis;white-space:nowrap;font-size:1.0625rem;font-weight:650;overflow:hidden}.gym-ex-tick{background:var(--accent-fill);width:18px;height:18px;color:var(--accent-contrast);border-radius:50%;flex:none;place-items:center;display:grid}.gym-ex-tick .icon{stroke-width:3px;width:12px;height:12px}.gym-ex-head .gym-sets-line{font-size:.8125rem}.gym-ex-arrow{background:var(--surface-2);width:34px;height:34px;color:var(--muted);border-radius:50%;flex:none;place-items:center;transition:transform .24s cubic-bezier(.2,.8,.2,1),background-color .15s,color .15s;display:grid;transform:rotate(180deg)}.gym-ex-arrow .icon{stroke-width:2.5px;width:18px;height:18px}.gym-ex.open .gym-ex-arrow{background:var(--accent-tint);color:var(--accent-text);transform:none}.gym-ex-body{grid-template-rows:0fr;transition:grid-template-rows .24s cubic-bezier(.2,.8,.2,1);display:grid}.gym-ex.open .gym-ex-body{grid-template-rows:1fr}.gym-ex-clip{min-height:0;overflow:hidden}.gym-ex-content{border-top:1px solid var(--line);padding:0 12px 6px}.gym-ex-content .gym-sets{padding-top:12px}.gym-ex-previous{background:var(--surface-2);font-variant-numeric:tabular-nums;border-radius:12px;flex-direction:column;gap:7px;margin:12px 0 0;padding:10px 12px 11px;font-size:.8125rem;display:flex}.gym-ex-previous-label{color:var(--muted);font-size:.75rem;font-weight:600}.gym-ex-previous-sets{color:var(--muted);flex-wrap:wrap;gap:6px;display:flex}.gym-ex-previous-set{background:var(--surface-3);color:var(--text);white-space:nowrap;border-radius:7px;padding:3px 8px;font-weight:550}.gym-ex-foot{align-items:center;gap:4px;margin:6px -4px 0;display:flex}.gym-ex-action{white-space:nowrap;border-radius:10px;flex:none;align-items:center;gap:6px;height:40px;padding:0 12px;font-size:.875rem;font-weight:600;transition:background-color .15s,color .15s;display:inline-flex}.gym-ex-action .icon{width:17px;height:17px}.gym-add-set.gym-ex-action{justify-content:flex-start;width:auto;margin:0;font-size:.875rem}.gym-ex-remove{color:var(--muted-2);margin-left:auto;font-weight:500}.gym-ex-remove:active{background:color-mix(in srgb, var(--danger) 14%, transparent);color:var(--danger)}.gym-ex-check{color:var(--accent-text)}.gym-ex-check[aria-pressed=true]{background:var(--accent-fill);color:var(--accent-contrast)}@media (hover:hover){.gym-ex-head:hover{background:color-mix(in srgb, var(--text) 4%, transparent)}.gym-ex-head:hover .gym-ex-arrow{color:var(--text)}.gym-ex-grip:hover{background:color-mix(in srgb, var(--text) 4%, transparent);color:var(--text)}.gym-ex-remove:hover{background:color-mix(in srgb, var(--danger) 10%, transparent);color:var(--danger)}.gym-ex-check[aria-pressed=false]:hover{background:color-mix(in srgb, var(--accent) 10%, transparent)}}@media (prefers-reduced-motion:reduce){.gym-ex-body,.gym-ex-arrow{transition:none}}.gym-set-row{grid-template-columns:28px repeat(3,minmax(0,1fr)) 34px;align-items:center;gap:6px;display:grid}.gym-sets[data-ticks] .gym-set-row{grid-template-columns:28px repeat(3,minmax(0,1fr)) 44px}.gym-set-row+.gym-set-row{margin-top:6px}.gym-set-head{min-height:20px;color:var(--muted-2);letter-spacing:.08em;text-align:center;text-transform:uppercase;font-size:.6875rem;font-weight:700}.gym-set-num{background:var(--surface-2);width:26px;height:26px;color:var(--muted);font-variant-numeric:tabular-nums;border-radius:50%;place-items:center;margin:0 auto;font-size:.8125rem;font-weight:700;transition:background-color .15s,color .15s;display:grid}button.gym-set-num{position:relative}button.gym-set-num:after{content:"";position:absolute;inset:-9px -3px}.gym-set-input{background:var(--surface-2);width:100%;min-width:0;height:44px;color:var(--text);font:inherit;font-variant-numeric:tabular-nums;text-align:center;border:0;border-radius:10px;outline:none;margin:0;padding:0 6px;font-size:1rem;font-weight:600;transition:background-color .2s,box-shadow .15s}.gym-set-input::placeholder{color:var(--muted-3);font-weight:500}.gym-set-input:focus{box-shadow:inset 0 0 0 2px var(--accent)}.gym-set-row[data-done] .gym-set-input{background:var(--accent-tint)}.gym-set-row[data-done] .gym-set-num{background:var(--accent-fill);color:var(--accent-contrast)}.gym-set-tick{border:2px solid var(--muted-3);width:40px;height:40px;color:var(--muted-2);border-radius:50%;place-items:center;margin-left:auto;transition:background-color .15s,border-color .15s,color .15s,transform .12s;display:grid}.gym-set-tick .icon{stroke-width:2.6px;width:20px;height:20px}.gym-set-tick:active{transform:scale(.9)}.gym-set-tick[aria-pressed=true]{border-color:var(--accent-fill);background:var(--accent-fill);color:var(--accent-contrast)}.gym-set-tick.all{border-width:1.5px;width:32px;height:32px;margin-right:4px}.gym-set-tick.all .icon{stroke-width:2.2px;width:18px;height:18px}.gym-set-remove{width:34px;height:34px;color:var(--muted-2);border-radius:50%;place-items:center;display:grid}.gym-set-remove .icon{width:18px;height:18px}.gym-set-remove:active{background:color-mix(in srgb, var(--danger) 14%, transparent);color:var(--danger)}@media (hover:hover){.gym-set-tick[aria-pressed=false]:hover{border-color:var(--accent);color:var(--accent-text)}.gym-set-tick[aria-pressed=true]:hover{border-color:var(--accent-hover);background:var(--accent-hover)}button.gym-set-num:hover{background:var(--surface-3);color:var(--text)}.gym-set-row[data-done] button.gym-set-num:hover{background:var(--accent-hover);color:var(--accent-contrast)}}@media (prefers-reduced-motion:no-preference){.gym-set-tick[aria-pressed=true] .icon{animation:.28s cubic-bezier(.2,.8,.2,1) set-tick-pop}@keyframes set-tick-pop{0%{transform:scale(.4)}60%{transform:scale(1.2)}}}@media (prefers-reduced-motion:reduce){.gym-set-tick,.gym-set-input{transition:none}}.event-menu.gym-set-menu{min-width:190px}.event-menu.gym-set-menu button{padding:12px 14px;font-size:.9375rem}.gym-add-set{width:100%;height:44px;color:var(--accent-text);border-radius:12px;justify-content:center;align-items:center;gap:6px;margin-top:4px;font-size:.9375rem;font-weight:600;display:flex}.gym-add-set .icon{stroke-width:2.5px;width:18px;height:18px}.gym-add-entry{border:1px dashed color-mix(in srgb, var(--accent) 45%, var(--border));width:100%;height:52px;color:var(--accent-text);border-radius:14px;flex:none;justify-content:center;align-items:center;gap:8px;padding:0 22px;font-size:.9375rem;font-weight:600;transition:background-color .15s;display:flex}.gym-add-entry .icon{stroke-width:2.5px;width:18px;height:18px}.gym-add-entry:active{background:color-mix(in srgb, var(--accent) 14%, transparent)}.gym-empty .gym-add-entry{background:var(--primary);width:auto;height:36px;color:var(--on-primary);border:0;border-radius:8px;margin-top:16px;padding:0 14px;font-size:.875rem;box-shadow:0 1px 14px #ffffff1a}.gym-empty .gym-add-entry .icon{width:16px;height:16px}.gym-empty .gym-add-entry:active{background:#d8d8d8}.gym-history{flex-direction:column;gap:8px;margin-top:10px;display:flex}.gym-section-title{color:var(--muted);margin:0;padding-left:4px;font-size:.8125rem;font-weight:600}.gym-history-list{border:1px solid var(--border);background:var(--surface);border-radius:16px;flex-direction:column;margin:0;padding:0;list-style:none;display:flex;overflow:hidden}.gym-history-list>li+li .gym-history-item:before{content:"";border-top:1px solid var(--border);position:absolute;top:0;left:16px;right:0}.gym-history-item{background:var(--surface);text-align:left;align-items:center;gap:12px;width:100%;padding:12px 14px 12px 16px;transition:background-color .15s;display:flex;position:relative}.gym-history-item:focus-visible{outline-offset:-2px}.gym-history-item:active{background:var(--surface-2)}.gym-history-item>.icon{width:18px;height:18px;color:var(--muted-3)}.gym-history-text{flex-direction:column;flex:1;gap:3px;min-width:0;font-size:.8125rem;display:flex}.gym-history-head{align-items:baseline;gap:8px;min-width:0;display:flex}.gym-history-date{flex:none;font-size:.9375rem;font-weight:650}.gym-history-name{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media (hover:hover){.gym-add-entry:hover{background:color-mix(in srgb, var(--accent) 10%, transparent)}.gym-empty .gym-add-entry:hover{background:var(--primary-hover)}.gym-history-item:hover{background:var(--surface-2)}}.gym-add-set:active{background:color-mix(in srgb, var(--accent) 14%, transparent)}.gym-add{left:50%;bottom:calc(16px + env(safe-area-inset-bottom));z-index:6;border:1px solid var(--border);background:var(--surface-2);white-space:nowrap;border-radius:999px;align-items:center;gap:14px;height:52px;padding:0 7px 0 22px;font-size:.9375rem;font-weight:600;display:flex;position:fixed;transform:translate(-50%);box-shadow:inset 0 1px #ffffff0f,0 10px 30px #0009}.gym-add-plus{background:var(--accent-fill);width:38px;height:38px;color:var(--accent-contrast);border-radius:50%;place-items:center;display:grid;box-shadow:0 0 16px #3b9eff66}.gym-add-plus .icon{stroke-width:2.5px;width:20px;height:20px}.gym:has(input:focus) .gym-add{display:none}.gym-add.emphasized{background:var(--accent-fill);color:var(--accent-contrast);border-color:#0000;box-shadow:inset 0 1px #fff3,0 10px 30px #0b6ff073}.gym-add.emphasized .gym-add-plus{box-shadow:none;background:#fff3}@media (prefers-reduced-motion:no-preference){.gym-add.emphasized{animation:.42s cubic-bezier(.2,.8,.2,1.3) pill-pop}@keyframes pill-pop{0%{transform:translate(-50%)scale(.92)}}}@media (hover:hover){.gym-tabs button[aria-pressed=false]:hover{color:var(--text)}.gym-item:hover,.gym-add:hover{background:var(--surface-3)}.gym-add.emphasized:hover,.gym-start:not(.running):hover{background:var(--accent-hover)}.gym-start.running:hover{background:color-mix(in srgb, var(--accent) 26%, var(--surface))}.gym-workout:has(>.gym-workout-open:hover){--card-bg:var(--surface-3)}.gym-workout[data-chosen]:has(>.gym-workout-open:hover){--card-bg:color-mix(in srgb, var(--accent) 22%, var(--surface))}.gym-item[data-chosen]:hover{background:color-mix(in srgb, var(--accent) 22%, var(--surface))}.gym-select-all[aria-pressed=false]:hover{background:var(--surface-2)}.gym-cal-add:hover{background:color-mix(in srgb, var(--blue) 30%, var(--surface))}.gym-set-remove:hover,.gym-delete:hover{background:color-mix(in srgb, var(--danger) 10%, transparent);color:var(--danger)}.gym-add-set:hover{background:color-mix(in srgb, var(--accent) 10%, transparent)}}.gym-full{z-index:15;padding:0 env(safe-area-inset-right) 0 env(safe-area-inset-left);background:var(--bg);flex-direction:column;display:flex;position:fixed;inset:0}.gym-full-bar{padding:calc(8px + env(safe-area-inset-top)) 12px 8px 6px;border-bottom:1px solid var(--border);background:var(--surface);flex:none;align-items:center;gap:6px;display:flex}.gym-full-bar .icon-btn{color:var(--text)}.gym-full-title{flex:1;min-width:0}.gym-full-title h2,.gym-full-title p{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.gym-full-title h2{font-size:1.125rem;font-weight:700}.gym-full-title p{color:var(--muted);font-size:.8125rem}.gym-full-body{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--surface-3) transparent;flex:1;min-height:0;overflow-y:auto}.gym-full-inner{flex-direction:column;gap:12px;max-width:720px;margin:0 auto;padding:16px 16px 24px;display:flex}.gym-full-foot{padding:10px 14px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--surface);flex:none}.gym-primary{background:var(--primary);width:100%;max-width:692px;height:50px;color:var(--on-primary);border-radius:12px;justify-content:center;align-items:center;gap:10px;margin:0 auto;font-size:1rem;font-weight:650;transition:background-color .15s;display:flex;box-shadow:0 0 4px #ffffff0f,0 1px 14px #ffffff1a}.gym-primary:active{background:#d8d8d8}.gym-primary-count{background:#0000001a;border-radius:999px;padding:3px 10px;font-size:.8125rem;font-weight:600}.gym-field{flex-direction:column;gap:8px;display:flex}.gym-field-label{color:var(--muted);padding-left:2px;font-size:.875rem;font-weight:500}.gym-field-input{border:1px solid var(--border);background:var(--surface);width:100%;height:48px;color:var(--text);font:inherit;border-radius:10px;outline:none;margin:0;padding:0 14px;font-size:1.0625rem;font-weight:500;transition:border-color .15s,box-shadow .15s}.gym-field-input::placeholder{color:var(--muted-2);font-weight:400}.gym-field-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent)}.gym-field-input[aria-invalid=true]{border-color:var(--danger)}.gym-field-error{color:var(--danger);margin:-2px 0 0;padding-left:4px;font-size:.8125rem;font-weight:500}.gym-search-wrap{z-index:1;background:var(--bg);margin:-16px -16px -4px;padding:16px 16px 8px;position:sticky;top:0}.gym-field-label+.gym-search-wrap{margin-top:-12px;padding-top:8px}.gym-search{border:1px solid var(--border);background:var(--surface);cursor:text;border-radius:10px;align-items:center;gap:10px;height:46px;padding:0 6px 0 14px;transition:border-color .15s,box-shadow .15s;display:flex}.gym-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent)}.gym-search>.icon{width:20px;height:20px;color:var(--muted-2)}.gym-search input{min-width:0;height:100%;color:var(--text);font:inherit;appearance:none;background:0 0;border:0;outline:none;flex:1;margin:0;padding:0;font-size:1rem}.gym-search input::placeholder{color:var(--muted-2)}.gym-search input::-webkit-search-cancel-button{display:none}.gym-search-clear{width:36px;height:36px;color:var(--muted);border-radius:50%;flex:none;place-items:center;display:grid}.gym-search-clear .icon{width:18px;height:18px}.gym-search-clear:active{background:var(--surface-3)}.gym-choices{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.gym-choice{border:1px solid var(--border);background:var(--surface);text-align:left;border-radius:16px;align-items:center;gap:12px;width:100%;min-height:66px;padding:10px 12px 10px 16px;transition:background-color .15s,border-color .15s;display:flex}.gym-choice:active{background:var(--surface-2)}.gym-choice[aria-pressed=true]{border-color:color-mix(in srgb, var(--success) 55%, var(--border));background:color-mix(in srgb, var(--success) 9%, var(--surface))}.gym-choice-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.gym-choice-name{text-overflow:ellipsis;white-space:nowrap;font-size:1rem;font-weight:600;overflow:hidden}.gym-choice-meta{color:var(--muted);font-size:.8125rem}.gym-choice-mark{border:2px solid var(--accent);width:38px;height:38px;color:var(--accent-text);border-radius:50%;flex:none;place-items:center;transition:background-color .15s,border-color .15s,color .15s;display:grid}.gym-choice-mark .icon{stroke-width:2.75px;width:20px;height:20px}.gym-choice[aria-pressed=true] .gym-choice-mark{border-color:var(--success);background:var(--success);color:#fff}.gym-choice-new{border:1px dashed color-mix(in srgb, var(--accent) 45%, var(--border));background:0 0}.gym-choice-new .gym-choice-name{color:var(--accent-text)}.gym-choice-new .gym-choice-mark{background:var(--accent-tint);border:0}.gym-choice-none{color:var(--muted);text-align:center;margin:8px 0;font-size:.9375rem}@media (hover:hover){.gym-choice:hover{background:var(--surface-2)}.gym-choice[aria-pressed=true]:hover{background:color-mix(in srgb, var(--success) 14%, var(--surface))}.gym-choice-new:hover{background:color-mix(in srgb, var(--accent) 8%, transparent)}.gym-primary:hover{background:var(--primary-hover)}.gym-search-clear:hover{background:var(--surface-3)}}@media (prefers-reduced-motion:no-preference){.gym-full{animation:.22s cubic-bezier(.2,.8,.2,1) page-in}.gym-choice[aria-pressed=true] .gym-choice-mark{animation:.26s cubic-bezier(.2,.8,.2,1) tick-pop}@keyframes page-in{0%{opacity:0;transform:translateY(24px)}}@keyframes tick-pop{0%{transform:scale(.6)}60%{transform:scale(1.12)}}}.gym-empty{border:1px solid var(--border);border-radius:var(--radius-lg);background:radial-gradient(240px 180px at 50% 32%, #ffffff0f, transparent), radial-gradient(420px 260px at 50% 30%, #3b9eff0d, transparent), var(--bg);text-align:center;flex-direction:column;flex:none;align-items:center;gap:6px;width:100%;padding:52px 24px 48px;display:flex}.gym-empty-icon{background:var(--accent-tint);width:72px;height:72px;color:var(--accent-text);border-radius:22px;place-items:center;margin-bottom:10px;display:grid}.gym-empty-icon .icon{width:38px;height:38px}.gym-empty-picture{filter:drop-shadow(0 16px 28px #0009);width:min(120px,34vw);height:auto;margin-bottom:14px}@media (prefers-reduced-motion:no-preference){.gym-empty-picture{animation:.45s cubic-bezier(.2,.8,.2,1) both gym-picture-in}}@keyframes gym-picture-in{0%{opacity:0;transform:translateY(8px)scale(.96)}}.gym-empty h2{letter-spacing:-.02em;margin:0;font-size:1.25rem;font-weight:650}.gym-empty p{max-width:300px;color:var(--muted);margin:0;font-size:.9375rem;line-height:1.45}.toast{left:50%;bottom:calc(24px + env(safe-area-inset-bottom));z-index:31;border:1px solid var(--border);background:var(--surface-3);pointer-events:none;border-radius:999px;width:max-content;max-width:calc(100% - 32px);padding:10px 18px;font-size:.875rem;font-weight:500;position:fixed;transform:translate(-50%);box-shadow:0 10px 30px #00000073}@media (width<=899.98px){.toast{bottom:calc(80px + var(--tab-bar-h) + env(safe-area-inset-bottom))}}@media (prefers-reduced-motion:no-preference){.event-menu{animation:.15s cubic-bezier(.2,.8,.2,1) menu-in}.toast{animation:.18s ease-out toast-in}@keyframes menu-in{0%{opacity:0;transform:scale(.9)}}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}}}.overlay{z-index:10;background:#000000a6;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{width:100%;max-width:480px;max-height:calc(100vh - 12px);max-height:calc(100dvh - max(12px, env(safe-area-inset-top)));border:1px solid var(--border);background:var(--surface);border-bottom:0;border-radius:20px 20px 0 0;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 -12px 40px #0006}.ed-bar{border-bottom:1px solid var(--line);flex:none;align-items:center;gap:8px;padding:8px 12px 8px 6px;display:flex}.ed-bar h2{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;margin:0;font-size:1.0625rem;font-weight:600;overflow:hidden}.btn.ed-save{height:34px;box-shadow:none;border-radius:8px;padding:0 16px;font-size:.875rem}.ed-error{background:color-mix(in srgb, var(--danger) 12%, var(--surface));color:var(--danger);flex:none;margin:0;padding:10px 16px;font-size:.875rem;font-weight:500}.ed-body{overscroll-behavior:contain;min-height:0;padding:0 16px calc(12px + env(safe-area-inset-bottom));scrollbar-width:thin;scrollbar-color:var(--surface-3) transparent;flex:auto;overflow-y:auto}.ed-float{display:none}.ed-title,.ed-input{width:100%;color:var(--text);font:inherit;background:0 0;border:0;outline:none;margin:0;display:block}.ed-head{border-bottom:1px solid var(--line)}.ed-title-row{align-items:center;gap:8px;display:flex}.ed-title{flex:1;min-width:0;padding:14px 0 12px;font-size:1.375rem;font-weight:600}.ed-input{text-align:left;padding:13px 0;font-size:1rem;line-height:1.45}.ed-title::placeholder,.ed-input::placeholder{color:var(--muted-2);font-weight:400}.ed-notes{resize:none;field-sizing:content;min-height:4.5rem}.ed-field{cursor:text;align-items:flex-start;gap:14px;width:100%;display:flex}.ed-field>.icon{width:20px;height:20px;color:var(--text);margin-top:14.5px}.ed-field:has(:placeholder-shown)>.icon{color:var(--muted-2)}.ed-repeat{cursor:pointer}.ed-repeat:focus-visible{outline-offset:-2px}.ed-repeat.inactive>.icon,.ed-repeat.inactive>.ed-input{color:var(--muted-3)}.ed-kinds{border:1px solid var(--border);background:var(--bg);border-radius:10px;grid-auto-columns:1fr;grid-auto-flow:column;gap:2px;margin:14px 0;padding:3px;display:grid}.ed-kinds button{height:32px;color:var(--muted);white-space:nowrap;border-radius:7px;font-size:.875rem;font-weight:600;transition:background-color .15s,color .15s}.ed-kinds button[aria-pressed=true]{background:var(--surface-3);color:var(--text);box-shadow:inset 0 1px #ffffff0d,0 1px 3px #0006}.ed-kinds button:focus-visible{outline-offset:-2px}.ed-section{border-top:1px solid var(--line)}.ed-row{align-items:center;gap:8px;min-height:48px;display:flex}.ed-label{min-width:0;color:var(--muted);flex-direction:column;flex:1;font-size:.9375rem;display:flex}.ed-hint{color:var(--accent-text);margin-top:2px;font-size:.8125rem;font-weight:500}.ed-chip{background-color:var(--surface-2);min-width:0;height:34px;color:var(--text);font:inherit;font-variant-numeric:tabular-nums;white-space:nowrap;appearance:none;border:0;border-radius:8px;outline:none;flex:none;justify-content:center;align-items:center;margin:0;padding:0 10px;font-size:.9375rem;font-weight:500;display:inline-flex;position:relative}@media (hover:hover){.ed-chip:hover{background-color:var(--surface-3)}}.ed-date input{border-radius:inherit;background:inherit;width:100%;height:100%;color:var(--text);font:inherit;opacity:0;cursor:pointer;appearance:none;border:0;outline:none;margin:0;padding:0 8px;position:absolute;inset:0}.ed-date input::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}.ed-time{text-align:center;width:4.75em}.ed-time::-webkit-date-and-time-value{text-align:center;margin:0}.ed-time::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer;margin-left:4px}@media (pointer:coarse){.ed-time::-webkit-calendar-picker-indicator{display:none}}@media (hover:hover) and (pointer:fine){.ed-chip:focus-within{box-shadow:0 0 0 2px var(--accent)}.ed-date{min-width:8.5em}.ed-date input:focus{opacity:1}.ed-time{width:auto}}.ed-select{cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d8285' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-position:right 9px center;background-repeat:no-repeat;background-size:14px;padding:0 28px 0 10px}.ed-select option{background:var(--surface-2);color:var(--text)}.ed-year{text-align:center;width:5.75em}.ed-year::placeholder{color:var(--muted-2);font-weight:400}.ed-color{border-radius:999px;flex:none;align-items:center;gap:4px;height:36px;margin-right:-6px;padding:0 6px 0 10px;display:flex}.ed-color:active{background:var(--surface-2)}.ed-dot{background:var(--c);border-radius:50%;flex:none;width:20px;height:20px}.ed-chevron{width:18px;height:18px;color:var(--muted-2);transform:rotate(180deg)}@media (prefers-reduced-motion:no-preference){.ed-chevron{transition:transform .2s}}.ed-color[aria-expanded=true] .ed-chevron{transform:none}.ed-palette{grid-template-columns:repeat(9,minmax(0,30px));justify-content:space-between;gap:12px 6px;padding:2px 3px 16px;display:grid}.ed-swatch{aspect-ratio:1;background:var(--c);width:100%;color:var(--on-c,#fff);border-radius:50%;place-items:center;font-size:.875rem;font-weight:700;display:grid}.ed-swatch[aria-checked=true]{box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--text)}.ed-swatch[aria-checked=true]:after{content:"✓"}.ed-delete{width:100%;height:48px;color:var(--danger);border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-top:6px;font-size:.9375rem;font-weight:600;display:flex}.ed-delete .icon{width:18px;height:18px}.ed-delete:active{background:color-mix(in srgb, var(--danger) 14%, transparent)}.ed-popup-backdrop{z-index:20;background:#0006;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.ed-popup{background:var(--surface-3);border-radius:24px;width:min(100%,340px);max-height:100%;padding:8px 0;overflow-y:auto;box-shadow:0 16px 40px #00000080}.ed-option{text-align:left;align-items:center;gap:16px;width:100%;min-height:50px;padding:12px 24px;font-size:1rem;line-height:1.35;display:flex}.ed-option:active{background:color-mix(in srgb, var(--text) 8%, transparent)}.ed-option:focus-visible{outline-offset:-2px}.ed-option-text{flex-direction:column;gap:2px;display:flex}.ed-option-text small{color:var(--muted);font-size:.875rem}.ed-popup-title{overflow-wrap:anywhere;margin:0;padding:16px 24px 4px;font-size:1.125rem;font-weight:600}.ed-popup-text{color:var(--muted);margin:0;padding:0 24px 8px;font-size:.875rem}.ed-popup-actions{justify-content:flex-end;padding:4px 12px 0;display:flex}.ed-text-btn{height:40px;color:var(--accent-text);border-radius:999px;padding:0 16px;font-size:.9375rem;font-weight:600}.ed-text-btn:active{background:color-mix(in srgb, var(--accent) 14%, transparent)}.ed-text-btn.danger{color:var(--danger)}.ed-text-btn.danger:active{background:color-mix(in srgb, var(--danger) 14%, transparent)}.ed-radio,.ed-radio-space{flex:none;width:20px;height:20px;margin:0}.ed-radio{border:2px solid var(--muted-2);appearance:none;border-radius:50%;transition:border-color .15s,box-shadow .15s}.ed-radio:checked,[aria-checked=true]>.ed-radio{border-color:var(--accent);background:var(--accent);box-shadow:inset 0 0 0 3px var(--surface-3)}.ed-body.ed-custom{padding-top:6px}.ed-subhead{color:var(--muted);margin:14px 0 4px;font-size:.8125rem;font-weight:600}.ed-number{text-align:center;width:3.5em}.ed-weekdays{justify-content:space-between;gap:4px;padding:6px 0 16px;display:flex}.ed-weekdays button{background:var(--surface-2);width:38px;height:38px;color:var(--muted);border-radius:50%;place-items:center;font-size:.875rem;font-weight:600;transition:background-color .15s,color .15s;display:grid}.ed-weekdays button[aria-pressed=true]{background:var(--accent-fill);color:var(--accent-contrast)}.ed-choice{cursor:pointer;align-items:center;gap:14px;min-height:48px;font-size:1rem;display:flex}.ed-choice .ed-radio:checked{box-shadow:inset 0 0 0 3px var(--surface)}.ed-choice-end{color:var(--muted);align-items:center;gap:10px;margin-left:auto;display:flex}.ed-summary{border-top:1px solid var(--line);color:var(--muted);margin:6px 0 0;padding-top:14px;font-size:.875rem}@media (hover:hover){.ed-kinds button:hover{color:var(--text)}.ed-delete:hover{background:color-mix(in srgb, var(--danger) 10%, transparent)}.ed-color:hover{background:var(--surface-2)}.ed-weekdays button[aria-pressed=false]:hover{background:var(--surface-3)}.ed-option:hover{background:color-mix(in srgb, var(--text) 6%, transparent)}}@media (prefers-reduced-motion:no-preference){.overlay,.ed-popup-backdrop{animation:.18s fade-in}.sheet{animation:.24s cubic-bezier(.2,.8,.2,1) sheet-up}.ed-popup{animation:.16s cubic-bezier(.2,.8,.2,1) menu-in}}@keyframes sheet-up{0%{opacity:0;transform:translateY(24px)}}@keyframes fade-in{0%{opacity:0}}@media (width>=600px){.overlay{align-items:center;padding:24px}.sheet{border-bottom:1px solid var(--border);border-radius:16px;max-height:calc(100dvh - 48px);box-shadow:0 24px 60px #00000080}.ed-bar{padding:10px 16px 10px 10px}.ed-error{padding:10px 24px}.ed-body{padding:0 24px 16px}}@media (width<=899.98px){:root{--tab-bar-h:60px}.tab-bar{padding-bottom:env(safe-area-inset-bottom);border-top:1px solid var(--border);background:var(--bg);flex:none;display:flex}.app:has(:is(input,textarea):focus)>.tab-bar{display:none}.tab-bar-item{min-width:0;height:var(--tab-bar-h);color:var(--muted-2);white-space:nowrap;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:4px;font-size:.75rem;font-weight:600;transition:color .15s;display:flex}.tab-bar-item[aria-current]{color:var(--text)}.tab-bar-item[aria-current] .icon{color:var(--accent-text)}.tab-bar-item:active .tab-bar-icon{background:var(--surface-2)}.tab-bar-item:focus-visible{outline-offset:-4px}.tab-bar-icon{border-radius:999px;place-items:center;width:56px;height:30px;transition:background-color .15s;display:grid;position:relative}.tab-bar-icon .icon{width:25px;height:25px}.tab-bar-dot{background:var(--danger);width:9px;height:9px;box-shadow:0 0 0 2px var(--bg);border-radius:50%;position:absolute;top:1px;right:13px}.tab-bar-dot.live{background:var(--accent)}.tab-bar-add{width:68px;height:var(--tab-bar-h);flex:none;place-items:center;padding-right:4px;display:grid}.tab-bar-add-circle{background:var(--accent-fill);width:50px;height:50px;color:var(--accent-contrast);border-radius:50%;place-items:center;transition:background-color .15s,transform .15s;display:grid;box-shadow:inset 0 1px #fff3,0 0 18px #3b9eff66}.tab-bar-add .icon{stroke-width:2.5px;width:26px;height:26px}.tab-bar-add:active .tab-bar-add-circle{background:var(--accent-hover);transform:scale(.92)}.tab-bar-add:focus-visible{outline-offset:-4px}.timegrid{padding-bottom:16px}.gym-inner{padding-bottom:92px}.more-inner,.mac-inner{padding-bottom:28px}.gym-add{bottom:calc(16px + var(--tab-bar-h) + env(safe-area-inset-bottom))}.hero{max-width:none;padding:calc(8px + env(safe-area-inset-top)) 10px 8px 12px;border-bottom:1px solid var(--border);background:var(--bg);align-items:center;gap:10px}.new-btn{display:none}.hero h1{letter-spacing:-.02em;margin-top:1px;font-size:1.1875rem}.stats{display:none}.period-nav{gap:0}.period-nav .icon-btn{width:36px;height:36px;color:var(--muted);background:0 0;border:0}.today-btn{border:1.5px solid var(--muted-2);background:0 0;border-radius:10px;justify-content:center;width:36px;height:36px;margin-right:4px;padding:0}.today-btn .icon,.today-label{display:none}.section-page>.content:not([data-page]){padding-top:env(safe-area-inset-top)}.content[data-page] .gym-page-head{min-height:calc(60px + env(safe-area-inset-top));padding-top:calc(8px + env(safe-area-inset-top))}.today-num{font-variant-numeric:tabular-nums;font-size:.9375rem;font-weight:700;display:block}.month{--month-chrome:28px;--row-h:calc((var(--half,25vh) - var(--month-chrome)) / var(--rows));--chip-h:4px;--chip-past-h:2px;--chip-gap:3px;--more-h:0px;height:var(--half,50%);overflow:hidden}.month .grid{grid-template-rows:repeat(var(--rows), var(--row-h))}.month.sheet-over{margin-bottom:calc(var(--month-chrome) + var(--row-h) - var(--half,25vh))}.month.week-only .grid{transform:translateY(calc(var(--week,0) * var(--row-h) * -1))}.month.week-only:not(.sliding) .grid-clip{height:var(--row-h);flex:none}.month .day{padding:4px 6px}.month .day-number{width:24px;height:24px}.month .day.sunday:not(.today) .day-number{color:var(--danger)}.month .day.sunday.outside:not(.today) .day-number{color:color-mix(in srgb, var(--danger) 55%, transparent)}.month .chips{margin-top:3px}.month .chip{border-radius:2px;padding:0}.month .chip>*{display:none}.month .chip.past{border-radius:1px}.month .more{padding:0;font-size:.5rem;line-height:1;position:absolute;top:6px;left:5px}.day-cake{color:color-mix(in oklab, var(--c) 70%, #fff);display:grid;position:absolute;top:6px;right:5px}.day-cake .icon{stroke-width:2.4px;width:10px;height:10px}.page-band{overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;position:relative;overflow:auto hidden}.page-band::-webkit-scrollbar{display:none}.page-band[data-gliding]{scroll-snap-type:none}.band-page{scroll-snap-align:start;scroll-snap-stop:always;flex-direction:column;width:100%;display:flex;position:absolute;top:0;bottom:0}.band-end{pointer-events:none;width:100%;height:1px;position:absolute;top:0}.page-band .timegrid{touch-action:pan-x pan-y}.page-band .sheet-handle{touch-action:pan-x}.app:not(.section-page)>.content{overflow:clip}.sheet-band-frame{z-index:1;background:var(--bg);flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.sheet-band-frame:before{content:"";pointer-events:none;background:linear-gradient(#0000,#0000004d);height:22px;position:absolute;bottom:100%;left:0;right:0}.sheet-band{flex:1;min-height:0}.sheet-band .day-sheet{box-shadow:none}.day-sheet{z-index:1;border-top:1px solid var(--border);border-radius:24px 24px 0 0;flex:1;position:relative;box-shadow:0 -6px 20px #0000004d}.sheet-handle{text-align:left;touch-action:none;border-radius:24px 24px 0 0;flex-direction:column;flex:none;align-items:stretch;gap:2px;padding:6px 18px 10px;display:flex}.sheet-handle:active{background:var(--surface-2)}.day-sheet .tg-head>.tg-row:first-child{display:none}.sheet-day{align-items:baseline;gap:8px;display:flex}.sheet-date{letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:1.875rem;font-weight:800;line-height:1.1}.sheet-weekday{letter-spacing:.06em;text-transform:uppercase;font-size:.8125rem;font-weight:700}.sheet-day.today .sheet-date,.sheet-day.today .sheet-weekday{color:var(--accent-text)}.sheet-pill{background:var(--surface-3);width:48px;height:20px;color:var(--muted);border-radius:10px;align-self:center;place-items:center;display:grid}@media (hover:hover){.sheet-handle:hover{background:var(--surface-2)}.sheet-handle:hover .sheet-pill{background:var(--border);color:var(--text)}}.sheet-chevron{stroke-width:2.5px;width:18px;height:18px}.day-sheet.expanded .sheet-chevron{transform:rotate(180deg)}.sheet{position:relative}.btn.ed-save{display:none}.ed-body{padding-bottom:calc(88px + env(safe-area-inset-bottom));scroll-padding-bottom:104px}.ed-float{z-index:2;padding:36px 16px calc(14px + env(safe-area-inset-bottom));pointer-events:none;background:linear-gradient(#0000,#0006 45%,#000000bf);justify-content:center;display:flex;position:absolute;bottom:0;left:0;right:0}.ed-pill{-webkit-backdrop-filter:blur(20px)saturate(160%);backdrop-filter:blur(20px)saturate(160%);pointer-events:auto;background:linear-gradient(#ffffff29,#ffffff14);border:1px solid #ffffff24;border-radius:999px;align-items:center;padding:4px;transition:transform .15s;display:flex;box-shadow:inset 0 1px #ffffff1f,0 10px 30px #00000059}.ed-pill:has(.btn:active){transform:scale(.97)}.ed-pill .btn{color:#ffffffd9;border-radius:999px;min-width:120px;height:46px;padding:0 22px;font-size:1rem;position:relative}.ed-pill .ed-pill-save{color:var(--accent-text);font-weight:700}.ed-pill .btn+.btn:before{content:"";background:#fff3;width:1px;height:20px;position:absolute;top:50%;left:0;transform:translateY(-50%)}.ed-pill .btn:active{background:#ffffff1a}@media (prefers-reduced-motion:no-preference){.month.sliding .grid{transition:transform .32s cubic-bezier(.2,.8,.2,1)}.month .day:before{transition:background-color .2s,box-shadow .2s}.sheet-chevron{transition:transform .32s cubic-bezier(.2,.8,.2,1)}}}@media (width>=900px){.app{grid-template-columns:var(--sidebar-w) minmax(0, 1fr);background-color:var(--bg);background-image:radial-gradient(640px 340px at 82% -120px,#3b9eff29,#0000 70%),radial-gradient(560px 300px at 45% -160px,#ffffff0f,#0000 70%);background-repeat:no-repeat;grid-template-rows:auto minmax(0,1fr);display:grid}.app.section-page{background-image:none}.sidebar{min-height:0;padding:calc(16px + env(safe-area-inset-top)) 14px 14px;border-right:1px solid var(--border);background:var(--bg);scrollbar-width:none;flex-direction:column;grid-area:1/1/-1;display:flex;overflow-y:auto}.sidebar-account{margin-bottom:20px}.hero{grid-area:1/2}.content{width:100%;max-width:var(--page-w);grid-area:2/2;margin:0 auto;padding:0 24px 24px}.section-page>.content{padding-top:20px}.gym-add,.toast{left:calc(50% + var(--sidebar-w) / 2)}.app.view-month .content{grid-template-rows:minmax(0,1fr);grid-template-columns:340px minmax(0,1fr);gap:16px;display:grid}.month,.day-sheet,.content>.timegrid{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:0 24px 48px #00000080}.month{--tile:var(--surface-2);--tile-inset:3px;grid-area:1/2;height:auto;padding:6px 10px 10px}.weekdays{padding:10px 0 8px}.day{padding:8px 8px 6px}.day-number{align-self:flex-start}.day-sheet{grid-area:1/1}.content>.timegrid{--grid-bg:var(--surface);padding-bottom:12px}.day-sheet .timegrid{padding-bottom:12px}}@media (width>=900px) and (height<=860px){.hero{padding:16px 24px 14px}.hero h1{margin-top:4px;font-size:2rem}.stats{margin-top:10px}.stat{height:28px}.content{padding-bottom:16px}.weekdays{padding:8px 0 6px}.day{padding:6px 7px 5px}.day-number{width:24px;height:24px}}@media (width>=900px){.app:is(.view-month,.view-week) .hero{align-items:center;gap:16px;padding:14px 24px 16px}.app:is(.view-month,.view-week) .hero-text{align-items:center;gap:14px;display:flex}.app:is(.view-month,.view-week) .hero h1{flex:none;order:-1;margin:0;font-size:1.75rem;line-height:36px}.app:is(.view-month,.view-week) .stats{flex-wrap:wrap;flex:1;gap:0 2px;min-width:0;height:26px;margin:0;overflow:hidden}.app:is(.view-month,.view-week) .stats:before{content:"";width:0;margin-right:-2px}.app:is(.view-month,.view-week) .stat{background:0 0;border:0;border-radius:0;height:26px;padding:0 8px;font-size:.8125rem}.app:is(.view-month,.view-week) .stat:first-child{border-left:1px solid var(--border);margin-left:2px;padding-left:16px}.app:is(.view-month,.view-week) .stat .icon{color:var(--muted-2)}.app:is(.view-month,.view-week) .period-nav{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);gap:2px;padding:3px}.app:is(.view-month,.view-week) .period-nav :is(.today-btn,.icon-btn){background:0 0;border:0;border-radius:9px;height:32px}.app:is(.view-month,.view-week) .period-nav :is(.today-btn,.icon-btn):hover{background:var(--surface-3)}.app:is(.view-month,.view-week) .period-nav .today-btn{margin-right:5px;padding:0 12px;position:relative}.app:is(.view-month,.view-week) .period-nav .today-btn:after{content:"";background:var(--border);width:1px;position:absolute;top:8px;bottom:8px;right:-4px}.app:is(.view-month,.view-week) .period-nav .icon-btn{width:34px}.app:is(.view-month,.view-week) .period-nav .icon-btn .icon{width:20px;height:20px}}@media (width>=900px) and (width<=1099.98px){.app:is(.view-month,.view-week) .stat-noun{display:none}}@media (width>=900px) and (height<=860px){.app:is(.view-month,.view-week) .hero{padding:10px 24px 12px}}@media (pointer:coarse){body{-webkit-user-select:none;user-select:none}input,textarea{-webkit-user-select:text;user-select:text}.period-nav .icon-btn,.today-btn,.ed-bar .icon-btn,.btn.ed-save,.ed-color,.ed-kinds button{position:relative}.period-nav .icon-btn:before,.today-btn:before,.btn.ed-save:before,.ed-color:before,.ed-kinds button:before{content:"";position:absolute;inset:-6px 0}.ed-bar .icon-btn:before{content:"";position:absolute;inset:-4px}.ed-date input{height:auto;inset:-7px 0}}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.auth{min-height:100%;padding:calc(24px + env(safe-area-inset-top)) calc(20px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(20px + env(safe-area-inset-left));background:radial-gradient(620px 380px at 50% -160px, #3b9eff33, transparent 70%), radial-gradient(420px 240px at 50% -60px, #ffffff0d, transparent 70%), var(--bg);place-items:center;display:grid;overflow-y:auto}.auth-card{width:min(400px,100%)}.auth-brand{align-items:center;gap:12px;display:flex}.auth-logo{background:linear-gradient(to bottom right, var(--accent), var(--accent-fill) 70%);width:44px;height:44px;color:var(--accent-contrast);border-radius:12px;place-items:center;display:grid;box-shadow:inset 0 1px #ffffff4d,0 8px 28px #0b6ff066}.auth-logo .auth-mark{width:32px;height:32px}.auth-name{font-size:1.0625rem;font-weight:600}.auth-title{letter-spacing:-.035em;margin:36px 0 8px;font-size:2rem;font-weight:650;line-height:1.15}.auth-text{color:var(--muted);margin:0;line-height:1.5}.auth-form{flex-direction:column;gap:18px;margin-top:24px;display:flex}.auth-code{letter-spacing:.3em;font-variant-numeric:tabular-nums;font-size:1.5rem}.auth-hint{color:var(--muted-2);margin:-2px 0 0;padding-left:4px;font-size:.8125rem}.auth-error{color:var(--danger);margin:0;padding-left:4px;font-size:.875rem;font-weight:500;line-height:1.4}.auth-submit{margin-top:6px}.auth-submit:disabled{opacity:.65}.auth-links{flex-direction:column;align-items:center;gap:2px;margin-top:20px;display:flex}.auth-link{border-radius:var(--radius);color:var(--accent-text);padding:10px 12px;font-size:.9375rem;font-weight:600}.auth-link:disabled{opacity:.6}.more-scroll,.mac-scroll{overscroll-behavior:contain;flex:1;min-height:0;position:relative;overflow-y:auto}.more-inner{width:100%;max-width:640px;padding:16px 16px calc(28px + env(safe-area-inset-bottom));flex-direction:column;gap:24px;margin:0 auto;display:flex}.more-profile{border:1px solid var(--border);background:radial-gradient(340px 180px at 0% 0%, #3b9eff29, transparent 70%), radial-gradient(260px 160px at 100% 100%, #ffffff0a, transparent 70%), var(--surface);border-radius:20px;align-items:center;gap:16px;padding:18px;display:flex}.more-avatar{background:linear-gradient(to bottom right, var(--accent), var(--accent-fill));color:#fff;border-radius:18px;flex:none;place-items:center;width:56px;height:56px;font-size:1.5rem;font-weight:700;line-height:1;display:grid;box-shadow:inset 0 1px #ffffff40,0 8px 24px #0b6ff059}.more-profile-text{flex-direction:column;gap:3px;min-width:0;display:flex}.more-profile-name,.more-profile-email{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.more-profile-name{letter-spacing:-.01em;font-size:1.1875rem;font-weight:700}.more-profile-email{color:var(--muted);font-size:.875rem}.more-section{flex-direction:column;gap:8px;display:flex}.more-caption{color:var(--muted-2);letter-spacing:.06em;text-transform:uppercase;margin:0;padding:0 4px;font-size:.75rem;font-weight:700}.more-group{border:1px solid var(--border);background:var(--surface);border-radius:16px;flex-direction:column;display:flex;overflow:hidden}.more-row{text-align:left;align-items:center;gap:14px;width:100%;min-height:60px;padding:10px 14px;transition:background-color .15s;display:flex;position:relative}.more-row+.more-row:before{content:"";border-top:1px solid var(--border);position:absolute;top:0;left:60px;right:0}button.more-row:not(:disabled):active{background:var(--surface-2)}button.more-row:disabled{cursor:default}button.more-row:disabled>:not(.more-tile){opacity:.5}.more-row:focus-visible{outline-offset:-2px}.more-tile{--tile:var(--accent);background:color-mix(in srgb, var(--tile) 18%, var(--surface));width:32px;height:32px;color:color-mix(in srgb, var(--tile) 80%, #fff);border-radius:9px;flex:none;place-items:center;display:grid}.more-tile .icon{width:18px;height:18px}.more-tile.grey,.more-tile.sync-offline{--tile:var(--muted)}.more-tile.red,.more-tile.sync-error{--tile:var(--danger)}.more-tile.sync-idle{--tile:var(--success)}.more-row-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.more-row-title{font-size:1rem;font-weight:600}.more-row>.more-row-title{flex:1}.more-row-meta{color:var(--muted);font-size:.8125rem;line-height:1.4}.more-row.danger .more-row-title{color:var(--danger)}.more-row-arrow{width:18px;height:18px;color:var(--muted-3)}.more-note{color:var(--muted-2);margin:0;padding:0 4px;font-size:.8125rem;line-height:1.5}.more-page-inner{padding-top:0}.delete-intro{text-align:center;flex-direction:column;align-items:center;gap:8px;padding:4px 12px 0;display:flex}.delete-badge{background:color-mix(in srgb, var(--danger) 16%, var(--surface));width:64px;height:64px;box-shadow:0 0 0 1px color-mix(in srgb, var(--danger) 28%, transparent), 0 10px 30px #ff6b6b2e;color:var(--danger);border-radius:22px;place-items:center;margin-bottom:6px;display:grid}.delete-badge .icon{width:30px;height:30px}.delete-title{letter-spacing:-.02em;margin:0;font-size:1.25rem;font-weight:700}.delete-text{max-width:420px;color:var(--muted);margin:0;font-size:.9375rem;line-height:1.5}.delete-list,.delete-steps{margin:0;padding:0;list-style:none}.delete-list .more-row{min-height:56px}.delete-step{gap:14px;padding:16px 14px;display:flex}.delete-step+.delete-step{border-top:1px solid var(--border)}.delete-step-num{background:var(--surface-3);font-variant-numeric:tabular-nums;border-radius:50%;flex:none;place-items:center;width:32px;height:32px;font-size:.9375rem;font-weight:700;transition:background-color .2s,color .2s;display:grid}.delete-step[data-done] .delete-step-num{background:color-mix(in srgb, var(--success) 20%, var(--surface));color:var(--success-text)}.delete-step-num .icon{stroke-width:2.4px;width:18px;height:18px}.delete-step-body,.delete-fieldset{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.delete-step-body{padding-top:5px}.delete-fieldset{border:0;margin:0;padding:0}.delete-step[data-off]>.delete-step-body{opacity:.45}.delete-step-body>.btn,.delete-fieldset>.btn{margin-top:10px}.delete-code{text-align:center;margin-top:10px}.delete-step-body .auth-error{margin-top:6px;padding-left:0}.delete-resend{color:var(--accent-text);font-variant-numeric:tabular-nums;border-radius:8px;align-self:flex-start;margin:6px -8px 0;padding:6px 8px;font-size:.875rem;font-weight:600}.delete-resend:disabled{color:var(--muted-2);cursor:default}.delete-resend:not(:disabled):active{background:var(--surface-2)}.delete-final-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000000a6}.ed-popup.delete-final{border:1px solid color-mix(in srgb, var(--danger) 30%, var(--border));background:var(--surface-2);text-align:center;flex-direction:column;align-items:center;width:min(100%,360px);padding:24px 20px 20px;display:flex}.delete-final-icon{background:color-mix(in srgb, var(--danger) 18%, var(--surface-2));width:56px;height:56px;box-shadow:0 0 0 6px color-mix(in srgb, var(--danger) 8%, transparent);color:var(--danger);border-radius:50%;place-items:center;margin-bottom:14px;display:grid}.delete-final-icon .icon{width:28px;height:28px}.delete-final-title{letter-spacing:-.02em;margin:0 0 8px;font-size:1.25rem;font-weight:700}.delete-final-text{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:.9375rem;line-height:1.5}.delete-final-text strong{color:var(--text);font-weight:600}.delete-final-warn{border:1px solid color-mix(in srgb, var(--danger) 35%, transparent);background:color-mix(in srgb, var(--danger) 10%, var(--surface-2));color:color-mix(in srgb, var(--danger) 70%, #fff);text-align:left;border-radius:12px;align-items:flex-start;gap:10px;margin:16px 0 0;padding:12px 14px;font-size:.875rem;font-weight:600;line-height:1.45;display:flex}.delete-final-warn .icon{width:18px;height:18px;margin-top:1px}.delete-final-actions{flex-direction:column;gap:10px;width:100%;margin-top:20px;display:flex}.delete-final-actions .btn{width:100%}.delete-final-confirm{color:#fff;background:#dc2626;box-shadow:0 0 18px #dc262659}.delete-final-confirm:not(:disabled):active{background:#b91c1c}.delete-final-actions .btn:disabled{opacity:.6}@media (hover:hover){.delete-final-confirm:not(:disabled):hover{background:#c81e1e}}@media (prefers-reduced-motion:no-preference){.ed-popup.delete-final{animation:.22s cubic-bezier(.2,.8,.2,1) delete-final-in}@keyframes delete-final-in{0%{opacity:0;transform:scale(.94)}}}.more-btn{border:1px solid var(--border);background:var(--surface-2);width:100%;color:var(--text)}.more-btn.danger{border-color:color-mix(in srgb, var(--danger) 30%, var(--border));background:color-mix(in srgb, var(--danger) 12%, var(--surface));color:var(--danger)}.more-btn:disabled{opacity:.6}.more-foot{color:var(--muted-3);text-align:center;margin:-4px 0 0;font-size:.75rem;font-weight:500}@media (hover:hover){button.more-row:not(:disabled):hover{background:var(--surface-2)}.more-btn:not(:disabled):hover{background:var(--surface-3)}.more-btn.danger:not(:disabled):hover{background:color-mix(in srgb, var(--danger) 18%, var(--surface))}}.account-dot{background:var(--success);border-radius:50%;flex:none;width:10px;height:10px}.account-dot-syncing{background:var(--accent)}.account-dot-offline{background:var(--muted-3)}.account-dot-error{background:var(--danger)}@media (prefers-reduced-motion:no-preference){.account-dot-syncing,.more-tile.sync-syncing .icon{animation:1s ease-in-out infinite alternate account-pulse}}@keyframes account-pulse{to{opacity:.35}}.macros-page,.mac-streak-card{font-family:Figtree Variable,Inter Variable,Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.app.section-macros,.mac-streak-card{--accent:#4f7dff;--accent-fill:#3a6df0;--accent-hover:#4a7af5;--accent-text:#93b1ff}.macros-page{--kcal:var(--accent);--carbs:#34d399;--fat:#f472b6;--protein:#fbbf24;--glass:linear-gradient(180deg, #fff1, #ffffff09);--glass-rim:#ffffff14;--glass-glint:inset 0 1px 0 #ffffff0d;--action-bg:color-mix(in srgb, var(--accent) 15%, transparent);--action-bg-pressed:color-mix(in srgb, var(--accent) 26%, transparent);--action-rim:color-mix(in srgb, var(--accent) 32%, transparent);--accent-glow:0 6px 18px #3a6df04d;--card-radius:22px}.app.section-macros .tab-bar-add-circle{box-shadow:inset 0 1px #fff3,0 0 18px #4f7dff73}.macros-page .gym-page-head>.icon-btn:not(.mac-confirm){border:1px solid var(--glass-rim);width:40px;height:40px;color:var(--text);background:#ffffff0f;border-radius:50%;transition:background-color .15s,transform .15s}.macros-page .gym-page-head>.icon-btn .icon{width:20px;height:20px}.macros-page .gym-page-head>.icon-btn:not(.mac-confirm):active,.macros-page .mac-day-switch .icon-btn:active{background:var(--surface-3);transform:scale(.94)}.app.section-macros{background:linear-gradient(#2e3845 0%,#1d232c 45%,#10141a 100%)}.app.section-macros>.tab-bar{background:0 0;border-top-color:#ffffff14}.app.section-macros:has(>.macros-page[data-page])>.tab-bar{display:none}.macros-page{--bg:#2b3440;--bg-low:#10141a;--surface:#ffffff0d;--surface-2:#ffffff17;--surface-3:#ffffff21;--border:#ffffff14;--line:#ffffff12;--muted:#c0c6ce;--muted-2:#a8b0ba;--muted-3:#7c8591;--accent-tint:color-mix(in srgb, var(--accent) 20%, transparent)}.macros-page :is(.menu-backdrop,.ed-popup-backdrop,.overlay,.toast){--bg:#161b22;--surface:#1d232b;--surface-2:#252c35;--surface-3:#2e3640;--border:#39424d;--line:#2a313a;--accent-tint:color-mix(in srgb, var(--accent) 18%, #1d232b)}.macros-page .mac-bar-mark{background:#232a34}.macros-page .mac-edit-bar{background:color-mix(in srgb, var(--bg-low) 88%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.macros-page .mac-copy-bar{background:linear-gradient(transparent, var(--bg-low) 35%)}.macros-page .mac-field-input{background:#00000038}.mac-inner{width:100%;max-width:640px;padding:8px 16px calc(28px + env(safe-area-inset-bottom));flex-direction:column;gap:14px;margin:0 auto;display:flex}.mac-page-inner{padding-top:0}.macros-page .gym-page-head{grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:8px;padding:10px 16px;display:grid}.macros-page .gym-page-head>:first-child{grid-column:1}.macros-page .gym-page-name{letter-spacing:-.01em;text-align:center;grid-column:2;padding:0;font-size:1.125rem;font-weight:600}.macros-page .gym-page-head .mac-head-spacer{width:40px}.macros-page .mac-confirm{border:1px solid var(--action-rim);background:var(--action-bg);width:40px;height:40px;color:var(--accent-text);border-radius:50%;transition:background-color .15s,transform .15s}.macros-page .mac-confirm:active{background:var(--action-bg-pressed);transform:scale(.94)}.macros-page .mac-confirm:disabled{opacity:.5}.macros-page .more-caption{color:var(--muted);letter-spacing:0;text-transform:none;padding:0 4px;font-size:.9375rem;font-weight:600}.macros-page .gym-primary{background:var(--accent-fill);height:52px;box-shadow:var(--accent-glow);color:#fff;border-radius:999px;font-weight:600;transition:background-color .15s,transform .15s}.macros-page .gym-primary:not(:disabled):active{background:var(--accent-hover);transform:scale(.98)}.macros-page .gym-primary:disabled{opacity:.55}.macros-page .gym-primary-count{background:#ffffff2e}.macros-page .btn{border-radius:999px}.macros-page .toast{border-color:#ffffff1a;padding:12px 20px;font-weight:550}.macros-page .ed-popup{border:1px solid #ffffff1a;border-radius:24px;box-shadow:0 24px 60px #0000008c}.macros-page .ed-popup-backdrop{background:#00000080}.mac-day-inner{position:relative}.mac-head-marker{pointer-events:none;width:1px;height:20px;position:absolute;top:0;left:0}.mac-day-head{z-index:4;justify-content:space-between;align-items:center;gap:12px;margin:-8px -16px -6px;padding:12px 16px 6px;transition:padding .22s,background-color .22s,box-shadow .22s;display:flex;position:sticky;top:0}.mac-day-head[data-small]{background:color-mix(in srgb, var(--bg) 82%, transparent);box-shadow:0 1px 0 var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);padding-block:8px}.mac-day-title .mac-day-label{padding-left:4px}.mac-day-head .mac-day-text{letter-spacing:-.025em;font-size:1.875rem;font-weight:600;line-height:1.2;transition:font-size .22s}.mac-day-head[data-small] .mac-day-text{font-size:1.1875rem}.mac-day-head .mac-day-label .icon{color:var(--accent-text);transition:width .22s,height .22s}.mac-day-head[data-small] .mac-day-label .icon{width:16px;height:16px}.mac-streak{color:var(--text);font-variant-numeric:tabular-nums;letter-spacing:-.02em;border-radius:999px;flex:none;align-items:center;gap:5px;margin:-6px -6px -6px 0;padding:6px 10px;font-size:1.375rem;font-weight:650;line-height:1;transition:font-size .22s,background-color .15s;display:inline-flex}.mac-streak .icon{stroke-width:2px;width:1.05em;height:1.05em}.mac-day-head[data-small] .mac-streak{font-size:1.0625rem}.mac-streak:active,.mac-streak[aria-expanded=true]{background:var(--surface-2)}.mac-streak-card{background:linear-gradient(#2b3440,#222932);border:1px solid #ffffff1a;border-radius:22px;outline:none;flex-direction:column;gap:12px;width:min(320px,100vw - 24px);padding:18px;display:flex;position:fixed;box-shadow:inset 0 1px #ffffff0f,0 18px 44px #0000008c}.mac-streak-card:before{content:"";top:-7px;left:var(--tip,50%);background:#2b3440;border-top:1px solid #ffffff1a;border-left:1px solid #ffffff1a;border-radius:3px 0 0;width:12px;height:12px;position:absolute;transform:translate(-50%)rotate(45deg)}.mac-streak-card-head{align-items:center;gap:12px;display:flex}.mac-streak-card-flame{color:#fb923c;background:#fb923c29;border-radius:50%;flex:none;place-items:center;width:44px;height:44px;display:grid}.mac-streak-card-flame .icon{stroke-width:2px;width:24px;height:24px}.mac-streak-card-title{color:#c0c6ce;margin:0;font-size:.8125rem;font-weight:600}.mac-streak-card-days{letter-spacing:-.015em;margin:1px 0 0;font-size:1.375rem;font-weight:600}.mac-streak-card-text{color:#c0c6ce;margin:0;font-size:.875rem;line-height:1.45}.mac-streak-card-today{background:#ffffff0d;border:1px solid #ffffff12;border-radius:18px;align-items:flex-start;gap:10px;margin:0;padding:12px 14px;font-size:.875rem;font-weight:550;line-height:1.4;display:flex}.mac-streak-card-today .icon{width:18px;height:18px;color:var(--accent-text);stroke-width:2.5px;margin-top:1px}.mac-streak-card-dot{background:#fb923c;border-radius:50%;flex:none;width:8px;height:8px;margin:6px 5px 0}.mac-streak-card-best{color:#c0c6ce;border-top:1px solid #ffffff14;justify-content:space-between;align-items:baseline;gap:12px;margin:0;padding-top:12px;font-size:.875rem;display:flex}.mac-streak-card-best b{color:var(--text);font-variant-numeric:tabular-nums;font-weight:700}@media (prefers-reduced-motion:no-preference){.mac-streak-card{animation:.16s cubic-bezier(.2,.8,.2,1) streak-card-in}@keyframes streak-card-in{0%{opacity:0;transform:scale(.94)}}}.mac-days{flex-direction:column;gap:8px;display:flex}.mac-week{grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;margin:0;padding:0;list-style:none;display:grid}.mac-week-day{width:100%;color:var(--muted-2);border-radius:14px;flex-direction:column;align-items:center;gap:4px;padding:5px 0 7px;transition:background-color .15s;display:flex}.mac-week-letter{font-size:.6875rem;font-weight:600}.mac-week-dot{background:var(--text);visibility:hidden;border-radius:50%;width:4px;height:4px;margin-bottom:3px}.mac-week-circle{width:28px;height:28px;color:var(--text);font-variant-numeric:tabular-nums;border:1.5px solid #ffffffd9;border-radius:50%;place-items:center;font-size:.75rem;font-weight:650;transition:background-color .15s,border-color .15s;display:grid}.mac-week-day[data-state=done] .mac-week-circle{--done-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cmask id='m'%3E%3Crect width='24' height='24' fill='%23fff'/%3E%3Cpath d='M7.9 12.4l2.7 2.7 5.5-5.6' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3Ccircle cx='12' cy='12' r='12' mask='url(%23m)'/%3E%3C/svg%3E");border-color:var(--text);background:var(--text);-webkit-mask:var(--done-mask) center / 100% 100% no-repeat;-webkit-mask:var(--done-mask) center / 100% 100% no-repeat;mask:var(--done-mask) center / 100% 100% no-repeat}.mac-week-day[data-state=today] .mac-week-circle{border-width:2px;border-color:var(--text);font-weight:750}.mac-week-day[data-state=today] .mac-week-dot{visibility:visible}.mac-week-day[data-state=future] .mac-week-circle{color:var(--muted-2);border-color:#fff3}.mac-week-day[aria-current=date] .mac-week-letter,.mac-week-day[aria-pressed=true] .mac-week-letter{color:var(--text)}.mac-week-day[aria-pressed=true]:not([aria-current]){background:var(--surface-2)}.mac-card{border:1px solid var(--glass-rim);border-radius:var(--card-radius);background:var(--glass);box-shadow:var(--glass-glint);flex-direction:column;gap:14px;padding:18px;display:flex;position:relative}.mac-card-title{color:var(--muted);align-items:center;gap:8px;margin:0;font-size:.9375rem;font-weight:600;display:flex}.mac-card-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.mac-card-link{color:var(--accent-text);flex:none;align-items:center;gap:1px;margin-right:-4px;font-size:.875rem;font-weight:600;display:inline-flex}.mac-card-link .icon{width:16px;height:16px}.mac-kcal{text-align:left;width:100%;transition:background-color .15s}.mac-kcal:active{background:var(--surface-2)}.mac-kcal-row{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;margin-top:-4px;display:flex}.mac-kcal-value{font-variant-numeric:tabular-nums;white-space:nowrap;margin:0}.mac-kcal-value b{letter-spacing:-.02em;font-size:1.5rem;font-weight:650;line-height:1.1}.mac-of{color:var(--muted-2);font-size:.9375rem;font-weight:500}.mac-left{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;margin:0;font-size:.9375rem}.mac-left b{color:var(--text);font-size:1.0625rem;font-weight:650}.mac-left.over b{color:var(--danger)}.mac-bar{--bar:var(--kcal);background:#ffffff1a;border-radius:999px;height:10px;display:block;position:relative;overflow:hidden}.mac-bar.carbs{--bar:var(--carbs)}.mac-bar.fat{--bar:var(--fat)}.mac-bar.protein{--bar:var(--protein)}.mac-bar-fill,.mac-bar-over{position:absolute;top:0;bottom:0}.mac-bar-fill{background:var(--bar);box-shadow:0 0 12px color-mix(in srgb, var(--bar) 40%, transparent);border-radius:999px;transition:width .45s cubic-bezier(.2,.8,.2,1);left:0}.mac-bar:has(.mac-bar-over) .mac-bar-fill{border-radius:999px 0 0 999px}.mac-bar-over{background:repeating-linear-gradient(-45deg, var(--bar) 0 3px, color-mix(in srgb, var(--bar) 35%, var(--surface)) 3px 6px);border-radius:0 999px 999px 0}.mac-bar-mark{background:var(--surface);width:2px;margin-left:-1px;position:absolute;top:0;bottom:0}.mac-macro-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid;container:mac-macros/inline-size}.mac-macro{flex-direction:column;gap:6px;min-width:0;display:flex}.mac-macro-label{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;font-weight:550;overflow:hidden}.mac-macro-short{display:none}@container mac-macros (width<=314.98px){.mac-macro-long{display:none}.mac-macro-short{display:inline}}.mac-macro-value{font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:baseline;column-gap:4px;margin-bottom:6px;display:flex}.mac-macro-value b{letter-spacing:-.01em;white-space:nowrap;font-size:1.0625rem;font-weight:650}.mac-macro-value .mac-of{white-space:nowrap;font-size:.875rem}.mac-macro .mac-bar{height:8px;margin-top:auto}@container mac-macros (width<=259.98px){.mac-macro-label{font-size:.8125rem}.mac-macro-value b{font-size:.9375rem}.mac-macro-value .mac-of{font-size:.8125rem}}.mac-dot{--dot:var(--kcal);background:var(--dot);border-radius:50%;flex:none;width:8px;height:8px}.mac-dot.carbs{--dot:var(--carbs)}.mac-dot.fat{--dot:var(--fat)}.mac-dot.protein{--dot:var(--protein)}.mac-meals{flex-direction:column;gap:10px;margin-top:8px;display:flex}.mac-section-head{justify-content:space-between;align-items:center;gap:12px;min-height:32px;padding:0 4px;display:flex}.mac-section-head h2{letter-spacing:-.02em;margin:0;font-size:1.25rem;font-weight:650}.mac-section-head span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.875rem}.mac-meal-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.mac-meal{border:1px solid var(--glass-rim);background:var(--glass);box-shadow:var(--glass-glint);border-radius:20px;transition:background-color .15s;position:relative}.mac-meal:has(>.mac-meal-main:active){background:var(--surface-2)}.mac-meal-main{text-align:left;border-radius:20px;align-items:center;gap:14px;width:100%;min-height:76px;padding:12px 16px 14px;display:flex}.mac-meal-main:focus-visible{outline-offset:-2px}.mac-meal-icon{color:var(--text);flex:none;place-items:center;display:grid}.mac-meal-icon .icon{width:26px;height:26px}.mac-meal-text{flex-direction:column;gap:2px;min-width:0;display:flex}.mac-meal-name{letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;padding-right:114px;font-size:1.0625rem;font-weight:650;line-height:38px;overflow:hidden}.mac-meal-foods{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;overflow:hidden}.mac-meal[data-empty] .mac-meal-foods{color:var(--muted-2)}.mac-meal-figures{color:var(--muted-2);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:0 10px;margin-top:2px;font-size:.8125rem;display:flex}.mac-meal-figures>*{white-space:nowrap}.mac-meal-figures b{color:var(--text);font-weight:600}.mac-meal-add{border:1px solid var(--action-rim);background:var(--action-bg);height:34px;color:var(--accent-text);border-radius:999px;justify-content:center;align-items:center;gap:5px;padding:0 14px 0 10px;font-size:.875rem;font-weight:650;transition:background-color .15s,transform .15s;display:inline-flex;position:absolute;top:14px;right:12px}.mac-meal-add:active{background:var(--action-bg-pressed);transform:scale(.96)}.mac-meal-add .icon{stroke-width:2.2px;width:17px;height:17px}.mac-meal:has(>.mac-meal-again) .mac-meal-main{min-height:0;padding-bottom:4px}.mac-meal-again{text-align:left;border-radius:0 0 20px 20px;align-items:center;gap:12px;width:100%;padding:4px 14px 14px 56px;display:flex}.mac-meal-again:focus-visible{outline-offset:-2px}.mac-meal-again-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.mac-meal-again-title{color:var(--muted);align-items:center;gap:5px;font-size:.875rem;font-weight:500;display:flex}.mac-meal-again-title .icon{width:14px;height:14px;color:var(--accent-text);stroke-width:1px}.mac-meal-again-foods{color:var(--muted-2);text-overflow:ellipsis;white-space:nowrap;font-size:.8125rem;overflow:hidden}.mac-meal-again-plus{border:1px solid var(--action-rim);background:var(--action-bg);width:32px;height:32px;color:var(--accent-text);border-radius:50%;flex:none;place-items:center;transition:background-color .15s,transform .15s;display:grid}.mac-meal-again-plus .icon{stroke-width:2.2px;width:16px;height:16px}.mac-meal-again:active .mac-meal-again-plus{background:var(--action-bg-pressed);transform:scale(.92)}.mac-entry{text-align:left;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;align-items:center;gap:10px;width:100%;min-height:60px;padding:10px 10px 10px 16px;transition:background-color .15s;display:flex}.mac-entry:focus-visible{outline-offset:-2px}.mac-entry:active,.mac-entry[aria-pressed=true],.mac-entry[data-held]{background:var(--surface-2)}.mac-entry[aria-pressed=true]{box-shadow:inset 3px 0 0 var(--accent)}.mac-entry-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.mac-entry-name{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.mac-entry-figures{color:var(--muted-2);font-variant-numeric:tabular-nums;font-size:.8125rem}.mac-entry-kcal{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.875rem}.mac-entry-kcal b{color:var(--text);font-size:1rem;font-weight:650}.macros-page .event-menu.mac-entry-menu{border:1px solid #ffffff14;border-radius:20px;min-width:200px}.macros-page .event-menu.mac-entry-menu:not(.touch){border-radius:14px}.mac-empty{color:var(--muted);text-align:center;border:1px dashed #ffffff24;border-radius:22px;margin:0;padding:20px;font-size:.9375rem;line-height:1.5}.mac-intro{color:var(--muted);margin:0;padding:0 4px;font-size:.9375rem;line-height:1.5}.mac-form{flex-direction:column;gap:8px;display:flex}.mac-fields{border:1px solid var(--glass-rim);background:var(--glass);box-shadow:var(--glass-glint);border-radius:20px;flex-direction:column;display:flex;overflow:hidden}.mac-field{align-items:center;gap:8px;min-height:62px;padding:8px 12px 8px 18px;display:flex;position:relative}.mac-field+.mac-field:before{content:"";border-top:1px solid var(--line);position:absolute;top:0;left:18px;right:0}.mac-field-label{-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word;flex:1;align-items:center;gap:8px;min-width:0;font-size:.9375rem;font-weight:500;display:flex}.mac-field-box{flex:none;align-items:center;gap:6px;display:flex}.mac-field-input{border:1px solid var(--glass-rim);background:var(--bg);width:92px;height:42px;color:var(--text);font:inherit;font-variant-numeric:tabular-nums;text-align:right;border-radius:12px;outline:none;margin:0;padding:0 12px;font-size:1.0625rem;font-weight:600;transition:border-color .15s,box-shadow .15s}.mac-field-input::placeholder{color:var(--muted-3);font-weight:500}.mac-field-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent)}.mac-field-input[aria-invalid=true]{border-color:var(--danger)}.mac-field-unit{width:30px;color:var(--muted);font-size:.875rem}.mac-field-aside{width:38px;color:var(--muted-2);font-variant-numeric:tabular-nums;text-align:right;flex:none;font-size:.8125rem}.mac-form-hint{color:var(--muted-2);margin:0;padding:0 4px;font-size:.8125rem;line-height:1.5}.mac-form .gym-field-error{margin:0}.mac-link{color:var(--accent-text);font-size:.875rem;font-weight:600}@media (hover:hover){.mac-entry:hover,.mac-kcal:hover{background:var(--surface-2)}.mac-meal:has(>.mac-meal-main:hover){background:var(--surface-2)}.mac-meal-add:hover,.mac-diary-link:hover,.mac-meal-trigger:hover,.mac-sort:hover,.mac-paste:hover,.mac-edit-bar .btn.mac-clip-done:hover,.macros-page .mac-confirm:hover,.mac-meal-again:hover .mac-meal-again-plus{background:var(--action-bg-pressed)}.mac-tab[aria-selected=false]:hover,.mac-streak:hover,.macros-page .gym-page-head>.icon-btn:not(.mac-confirm):hover,.macros-page .mac-day-switch .icon-btn:hover{background:var(--surface-2)}.macros-page .gym-primary:not(:disabled):hover{background:var(--accent-hover)}}@media (width<=379.98px){.mac-meal-add:not(.static){width:34px;padding:0}.mac-meal-name{padding-right:38px}.mac-meal-add:not(.static) .mac-meal-add-text{display:none}.mac-field-input{width:80px}}@media (prefers-reduced-motion:no-preference){.mac-bar-fill{animation:.7s cubic-bezier(.2,.8,.2,1) both mac-bar-in}@keyframes mac-bar-in{0%{width:0}}}.mac-day-switch{flex:1;justify-content:center;align-items:center;gap:4px;min-width:0;display:flex}.mac-day-pick{border-radius:10px;min-width:0;display:flex;position:relative}.mac-day-label{white-space:nowrap;align-items:center;gap:4px;min-width:0;padding:4px 4px 4px 8px;display:flex}.mac-day-text{color:var(--text);letter-spacing:-.015em;text-overflow:ellipsis;font-size:1.25rem;font-weight:600;line-height:1.3;overflow:hidden}.mac-day-label .icon{width:20px;height:20px;color:var(--muted)}.mac-day-pick input{opacity:0;cursor:pointer;border:0;width:100%;height:100%;margin:0;padding:0;position:absolute;inset:0}.mac-day-pick:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}.mac-head-spacer{flex:none;width:40px}.gym-page-head .mac-day-switch{gap:2px}.macros-page .mac-day-switch .icon-btn{border-radius:50%;width:36px;height:36px;transition:background-color .15s,transform .15s}.macros-page .mac-day-switch .icon-btn .icon{width:20px;height:20px}.macros-page .mac-day-switch .mac-day-label .icon{color:var(--accent-text)}.mac-diary-link{border-radius:999px;align-items:center;gap:1px;height:32px;margin-right:-8px;padding:0 6px 0 10px;transition:background-color .15s;display:inline-flex}.mac-diary-link:active{background:var(--action-bg)}.mac-diary-link .icon{width:16px;height:16px}.mac-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.mac-tile{border:1px solid var(--glass-rim);background:var(--glass);min-height:84px;box-shadow:var(--glass-glint);color:var(--accent-text);text-align:center;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:12px 10px;font-size:.9375rem;font-weight:650;line-height:1.25;transition:background-color .15s,transform .15s;display:flex;position:relative}.mac-tile:not(:disabled):active{background:var(--surface-2);transform:scale(.98)}.mac-tile:disabled{opacity:.4;cursor:default}.mac-tile-icon{background:var(--action-bg);border-radius:50%;place-items:center;width:36px;height:36px;display:grid}.mac-tile-icon .icon{width:20px;height:20px}.mac-tile-soon{background:var(--surface-3);color:var(--muted);letter-spacing:.02em;border-radius:999px;padding:2px 8px;font-size:.6875rem;font-weight:700;position:absolute;top:8px;right:8px}.mac-diary-meal{gap:0;padding:0;scroll-margin-top:72px;overflow:hidden}.mac-diary-meal-head{align-items:center;gap:12px;min-height:68px;padding:12px 14px 12px 16px;display:flex}.mac-diary-meal-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.mac-diary-meal-text h2{letter-spacing:-.01em;margin:0;font-size:1.0625rem;font-weight:650}.mac-diary-meal-text span{color:var(--muted-2);font-variant-numeric:tabular-nums;font-size:.8125rem}.mac-diary-kcal{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;font-size:.875rem}.mac-diary-kcal b{color:var(--text);font-size:1.0625rem;font-weight:650}.mac-diary-list{border-top:1px solid var(--line);margin:0;padding:0;list-style:none}.mac-diary-list li{position:relative}.mac-diary-list li+li:before{content:"";border-top:1px solid var(--line);position:absolute;top:0;left:16px;right:0}.mac-diary-list .mac-entry{gap:12px;padding-right:16px}.mac-diary[data-editing] .mac-entry{scroll-margin-bottom:80px}.mac-diary-foot{justify-content:flex-end;padding:2px 14px 14px;display:flex}.mac-meal-add.static{flex:none;position:static}.mac-paste-wrap{padding:10px 12px 12px}.mac-diary-list+.mac-paste-wrap,.mac-diary-meal[data-empty] .mac-paste-wrap{padding-top:0}.mac-diary-meal[data-empty]:has(.mac-paste-wrap) .mac-diary-meal-head{min-height:60px}.mac-paste{width:100%;height:48px;color:var(--muted);border:1.5px dashed #ffffff38;border-radius:14px;justify-content:center;align-items:center;gap:8px;font-size:.9375rem;font-weight:600;transition:background-color .15s,border-color .15s,color .15s;display:flex}.mac-paste .icon{width:20px;height:20px;color:var(--muted-2)}.mac-paste:active{border-color:var(--action-rim);background:var(--action-bg);color:var(--accent-text)}.mac-paste:active .icon{color:inherit}.mac-clip-bar{gap:12px}.mac-clip-icon{background:var(--action-bg);width:36px;height:36px;color:var(--accent-text);border-radius:50%;flex:none;place-items:center;display:grid}.mac-clip-icon .icon{width:18px;height:18px}.mac-clip-text{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.mac-clip-what,.mac-clip-hint{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mac-clip-what{font-size:.9375rem;font-weight:600}.mac-clip-hint{color:var(--muted-2);font-size:.8125rem}.mac-edit-bar .btn.mac-clip-done{border:1px solid var(--action-rim);background:var(--action-bg);color:var(--accent-text);flex:none;padding:0 20px}.mac-edit-bar .btn.mac-clip-done:active{background:var(--action-bg-pressed)}.mac-diary-total{border:1px solid var(--glass-rim);background:var(--glass);box-shadow:var(--glass-glint);border-radius:20px;flex-wrap:wrap;align-items:center;gap:4px 12px;padding:14px 18px;display:flex}.mac-diary-total-label{font-weight:650}.mac-diary-total-figures{color:var(--muted-2);font-variant-numeric:tabular-nums;flex:1;font-size:.8125rem}.mac-check{border:2px solid var(--muted-3);color:#0000;border-radius:50%;flex:none;place-items:center;width:24px;height:24px;transition:background-color .15s,border-color .15s;display:grid}.mac-check .icon{stroke-width:3px;width:14px;height:14px}.mac-check[data-on]{border-color:var(--accent-fill);background:var(--accent-fill);color:#fff}.mac-edit-bar{z-index:3;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--bg);align-items:center;gap:8px;margin:0 -16px;display:flex;position:sticky;bottom:0}.mac-edit-all{white-space:nowrap;flex:none;align-items:center;gap:8px;min-width:96px;height:44px;font-size:.875rem;font-weight:600;display:inline-flex}.mac-edit-all:disabled{opacity:.5}.mac-edit-bar .btn{flex:1;width:auto;min-width:0;height:46px;padding:0 12px}.mac-edit-bar .btn .icon{width:17px;height:17px}.mac-meal-trigger{border-radius:12px;flex-direction:column;justify-content:center;justify-self:center;align-items:center;min-width:0;max-width:100%;min-height:44px;padding:0 12px;line-height:1.2;transition:background-color .15s;display:flex}.mac-meal-trigger:active,.mac-meal-trigger[aria-expanded=true]{background:var(--action-bg)}.mac-meal-trigger-name{color:var(--accent-text);letter-spacing:-.01em;align-items:center;gap:4px;font-size:1.1875rem;font-weight:650;display:inline-flex}.mac-meal-trigger-name .icon{width:18px;height:18px}.mac-meal-trigger-day{color:var(--muted);font-size:.75rem;font-weight:500}.mac-search{border:1px solid var(--glass-rim);background:var(--glass);height:52px;box-shadow:var(--glass-glint);border-radius:999px;align-items:center;gap:10px;padding:0 8px 0 18px;transition:border-color .15s,box-shadow .15s;display:flex}.mac-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent)}.mac-search>.icon{width:20px;height:20px;color:var(--muted)}.mac-search-input{min-width:0;height:100%;color:var(--text);font:inherit;background:0 0;border:0;outline:none;flex:1;margin:0;padding:0;font-size:1rem}.mac-search-input::placeholder{color:var(--muted-2)}.mac-search-input::-webkit-search-cancel-button{-webkit-appearance:none;display:none}.mac-search-clear{width:36px;height:36px;color:var(--muted);border-radius:50%;flex:none;place-items:center;display:grid}.mac-search-clear .icon{width:18px;height:18px}.mac-tabs{scrollbar-width:none;gap:4px;margin:-2px -16px 0;padding:0 16px;display:flex;overflow-x:auto}.mac-tabs::-webkit-scrollbar{display:none}.mac-tab{height:36px;color:var(--muted-2);white-space:nowrap;border-radius:999px;flex:none;padding:0 14px;font-size:.9375rem;font-weight:550;transition:background-color .15s,color .15s;position:relative}.mac-tab[aria-selected=true]{color:var(--text);background:#ffffff21;font-weight:650}.mac-tab:focus-visible{outline-offset:-2px}.mac-add-all,.mac-history{flex-direction:column;display:flex}.mac-add-all{gap:20px}.mac-history{gap:10px}.mac-sort{height:32px;color:var(--accent-text);border-radius:999px;align-items:center;gap:3px;margin-right:-8px;padding:0 8px 0 10px;font-size:.875rem;font-weight:600;transition:background-color .15s;display:inline-flex}.mac-sort:active{background:var(--action-bg)}.mac-sort .icon{width:16px;height:16px}.mac-food-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.mac-food{border:1px solid var(--glass-rim);background:var(--glass);box-shadow:var(--glass-glint);border-radius:18px;align-items:center;transition:background-color .15s;display:flex}.mac-food:has(>.mac-food-main:active){background:var(--surface-2)}.mac-food-main{text-align:left;border-radius:18px;flex-direction:column;flex:1;gap:3px;min-width:0;padding:13px 8px 13px 16px;display:flex}.mac-food-main:focus-visible{outline-offset:-2px}.mac-food-name-text,.mac-food-figures{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mac-food-name{align-items:center;gap:6px;min-width:0;font-weight:600;display:flex}.mac-verified{background:var(--accent);color:#fff;vertical-align:-2px;border-radius:50%;flex:none;place-items:center;width:16px;height:16px;display:inline-grid}.mac-verified .icon{color:#fff;stroke-width:3.2px;width:11px;height:11px}.mac-food-title h3 .mac-verified{vertical-align:1px;width:20px;height:20px}.mac-food-title h3 .mac-verified .icon{width:13px;height:13px}.mac-more{border:1px solid var(--glass-rim);background:var(--glass);width:100%;height:46px;box-shadow:var(--glass-glint);color:var(--accent-text);border-radius:999px;font-size:.9375rem;font-weight:600;transition:background-color .15s}.mac-more:active{background:var(--surface-2)}.mac-more:disabled{color:var(--muted)}.mac-food-figures{color:var(--muted-2);font-variant-numeric:tabular-nums;font-size:.8125rem}.mac-food-figures b{color:var(--muted);font-weight:600}.mac-food-add{border:1px solid var(--action-rim);background:var(--action-bg);width:40px;height:40px;color:var(--accent-text);border-radius:50%;flex:none;place-items:center;margin-right:12px;transition:background-color .15s,color .15s,transform .15s;display:grid}.mac-food-add:active{transform:scale(.92)}.mac-food-add .icon{width:20px;height:20px}.mac-food-add[data-added]{background:var(--success);color:#fff;border-color:#0000}.mac-soon-card{border:1px solid var(--glass-rim);border-radius:var(--card-radius);background:var(--glass);box-shadow:var(--glass-glint);text-align:center;flex-direction:column;align-items:center;gap:8px;padding:32px 24px 28px;display:flex}.mac-soon-icon,.mac-missing-icon{width:56px;height:56px;color:var(--text);background:#ffffff14;border-radius:50%;place-items:center;margin-bottom:4px;display:grid}.mac-soon-icon .icon{width:28px;height:28px}.mac-soon-card h2{margin:4px 0 0;font-size:1.1875rem;font-weight:600}.mac-soon-card p{max-width:340px;color:var(--muted);margin:0;font-size:.9375rem;line-height:1.5}.mac-badge{background:var(--surface-3);color:var(--muted);letter-spacing:.02em;border-radius:999px;padding:4px 10px;font-size:.75rem;font-weight:650}.mac-confirm{color:var(--accent-text)}.mac-confirm .icon{stroke-width:2.6px;width:22px;height:22px}.mac-rows{border:1px solid var(--glass-rim);background:var(--glass);box-shadow:var(--glass-glint);border-radius:20px;flex-direction:column;display:flex;overflow:hidden}.mac-row{text-align:left;align-items:center;gap:12px;width:100%;min-height:58px;padding:0 16px;transition:background-color .15s;display:flex;position:relative}.mac-row+.mac-row:before{content:"";border-top:1px solid var(--line);position:absolute;top:0;left:16px;right:0}.mac-row:focus-within,.mac-row-button:active{background:var(--surface-2)}.mac-row:focus-within:after{content:"";background:var(--accent);border-radius:0 3px 3px 0;width:3px;position:absolute;top:12px;bottom:12px;left:0}.mac-row-button:focus-visible{outline-offset:-2px}.mac-row-label{flex:none;align-items:center;gap:8px;font-size:1rem;font-weight:500;display:flex}.mac-row-unit{color:var(--muted-2);font-weight:400}.mac-row-sub{background:var(--surface-3);color:var(--muted);border-radius:999px;padding:2px 8px;font-size:.75rem;font-weight:600}.mac-row-value{flex:1;justify-content:flex-end;align-items:center;gap:8px;min-width:0;font-size:1rem;font-weight:600;display:flex}.mac-row-value .mac-meal-icon .icon{width:20px;height:20px}.mac-row-value>.icon{width:18px;height:18px;color:var(--muted)}.mac-row-button .mac-row-value,.mac-row-button .mac-row-value>.icon{color:var(--accent-text)}.mac-row-input{min-width:0;height:58px;color:var(--text);font:inherit;font-variant-numeric:tabular-nums;text-align:right;background:0 0;border:0;outline:none;flex:1;margin:0;padding:0;font-size:1.0625rem;font-weight:600}.mac-row-input::placeholder{color:var(--muted-3);font-weight:400}.mac-row[data-invalid] .mac-row-input{color:var(--danger)}.mac-form-note{margin:0;padding:0 4px}.mac-delete{width:100%;height:50px;margin-top:6px}.mac-menu{background:linear-gradient(180deg, var(--surface-2), var(--surface));border:1px solid #ffffff1a;border-radius:20px;flex-direction:column;width:240px;padding:6px;display:flex;position:fixed;box-shadow:inset 0 1px #ffffff0f,0 18px 44px #0000008c}.mac-menu button{text-align:left;border-radius:18px;align-items:center;gap:12px;min-height:52px;padding:0 12px 0 10px;font-size:1rem;font-weight:550;display:flex}.mac-menu button:active{background:var(--surface-3)}.mac-menu button:focus-visible{outline-offset:-2px}.mac-menu .mac-meal-icon .icon{width:22px;height:22px}.mac-menu-label{flex:1}.mac-menu-tick{width:20px;height:20px;color:var(--accent-text)}.mac-copy-days{border:1px solid var(--glass-rim);background:var(--glass);box-shadow:var(--glass-glint);border-radius:20px;flex-direction:column;margin:0;padding:0;list-style:none;display:flex;overflow:hidden}.mac-copy-day{position:relative}.mac-copy-day+.mac-copy-day:before{content:"";border-top:1px solid var(--line);position:absolute;top:0;left:18px;right:0}.mac-copy-day[data-on]{background:color-mix(in srgb, var(--accent) 6%, var(--surface))}.mac-copy-pick{text-align:left;align-items:center;gap:12px;width:100%;min-height:64px;padding:10px 18px;display:flex}.mac-copy-pick:focus-visible,.mac-copy-meal:focus-visible{outline-offset:-2px}.mac-radio{border:2px solid var(--muted-3);border-radius:50%;flex:none;width:22px;height:22px;transition:border .15s}.mac-copy-day[data-on] .mac-radio{border:7px solid var(--accent)}.mac-copy-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.mac-copy-name{font-weight:600}.mac-copy-meta{color:var(--muted-2);text-overflow:ellipsis;white-space:nowrap;font-size:.8125rem;overflow:hidden}.mac-copy-meals{flex-direction:column;gap:2px;margin:0;padding:0 10px 12px 42px;list-style:none;display:flex}.mac-copy-meal{text-align:left;border-radius:16px;align-items:center;gap:10px;width:100%;min-height:54px;padding:6px 10px;display:flex}.mac-copy-meal:active{background:var(--surface-2)}.mac-copy-meal .mac-meal-icon .icon{width:22px;height:22px}.mac-copy-meal[aria-checked=false]>:not(.mac-check){opacity:.45}.mac-copy-kcal{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;font-size:.8125rem}.mac-copy-bar{z-index:3;padding:16px 16px calc(12px + env(safe-area-inset-bottom));background:linear-gradient(transparent, var(--bg) 35%);margin:0 -16px;position:sticky;bottom:0}@media (hover:hover){.mac-tile:not(:disabled):hover,.mac-row-button:hover,.mac-copy-meal:hover,.mac-sort:hover{background:var(--surface-2)}.mac-food:has(>.mac-food-main:hover){background:var(--surface-2)}.mac-menu button:hover,.mac-food-add:not([data-added]):hover{background:var(--surface-3)}}@media (width<=379.98px){.mac-edit-all{min-width:48px}.mac-edit-word,.mac-edit-bar .btn .icon{display:none}}@media (prefers-reduced-motion:no-preference){.mac-menu{animation:.16s cubic-bezier(.2,.8,.2,1) mac-menu-in}@keyframes mac-menu-in{0%{opacity:0;transform:scale(.95)}}}.mac-food-title{flex-direction:column;gap:4px;padding:2px 4px 4px;display:flex}.mac-food-title h3{letter-spacing:-.02em;overflow-wrap:anywhere;margin:0;font-size:1.5rem;font-weight:650;line-height:1.2}.mac-food-title span{color:var(--muted);font-size:.875rem}.mac-row-value.accent{color:var(--accent-text)}.mac-portion-total{color:var(--muted-2);margin:-4px 0 0;padding:0 4px;font-size:.8125rem}.mac-portion-total b{color:var(--muted);font-weight:600}.mac-split{flex-direction:row;align-items:center;gap:16px}.mac-split-ring{flex:none;place-items:center;width:96px;height:96px;display:grid;position:relative}.mac-split-ring svg{width:100%;height:100%;position:absolute;inset:0;transform:rotate(-90deg)}.mac-split-ring circle{fill:none;stroke-width:10px}.mac-split-track{stroke:#ffffff1a}.mac-split-part{stroke-linecap:round}.mac-split-part.carbs{stroke:var(--carbs)}.mac-split-part.fat{stroke:var(--fat)}.mac-split-part.protein{stroke:var(--protein)}.mac-split-kcal{color:var(--muted);flex-direction:column;align-items:center;font-size:.75rem;font-weight:600;line-height:1.1;display:flex;position:relative}.mac-split-kcal b{color:var(--text);letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:1.5rem;font-weight:600}.mac-split-list{flex-direction:column;flex:1;gap:10px;min-width:0;margin:0;padding:0;list-style:none;display:flex}.mac-split-list li{font-variant-numeric:tabular-nums;align-items:center;gap:8px;font-size:.875rem;display:flex}.mac-split-label{min-width:0;color:var(--muted);-webkit-hyphens:auto;hyphens:auto;overflow-wrap:anywhere;flex:1;line-height:1.25}.mac-split-grams{white-space:nowrap;font-weight:650}.mac-split-share{text-align:right;white-space:nowrap;width:46px;font-weight:650}.mac-split-share.carbs{color:var(--carbs)}.mac-split-share.fat{color:var(--fat)}.mac-split-share.protein{color:var(--protein)}.mac-preview{gap:16px}.mac-preview[data-loading]{visibility:hidden}.mac-preview-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 12px;display:flex}.mac-preview-legend{color:var(--muted-2);flex-wrap:wrap;gap:4px 12px;margin:0;padding:0;font-size:.75rem;list-style:none;display:flex}.mac-preview-legend li{white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.mac-preview-key{background:var(--muted);border-radius:999px;width:16px;height:6px}.mac-preview-key.added{background:repeating-linear-gradient(-45deg, var(--muted) 0 2px, transparent 2px 4px)}.mac-preview-kcal{flex-direction:column;gap:8px;display:flex;position:relative}.mac-preview .mac-kcal-row{margin-top:0}.mac-preview .mac-kcal-value b{font-size:1.5rem}.mac-preview .mac-macro{position:relative}.mac-preview .mac-macro-value[data-over] b{color:var(--danger)}.mac-bar-added{min-width:3px;transition:left .45s cubic-bezier(.2,.8,.2,1),width .45s cubic-bezier(.2,.8,.2,1)}.mac-bar-added:first-child{border-radius:999px}.mac-preview-sum{color:var(--muted-2);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.75rem}.mac-preview-sum b{font-weight:650}.mac-preview-sum.kcal b{color:var(--accent-text)}.mac-preview-sum.carbs b{color:var(--carbs)}.mac-preview-sum.fat b{color:var(--fat)}.mac-preview-sum.protein b{color:var(--protein)}.mac-nutrients{flex-direction:column;gap:8px;display:flex}.mac-nutrient-list{border:1px solid var(--glass-rim);background:var(--glass);box-shadow:var(--glass-glint);border-radius:20px;flex-direction:column;margin:0;padding:0;list-style:none;display:flex;overflow:hidden}.mac-nutrient{justify-content:space-between;align-items:center;gap:12px;min-height:50px;padding:8px 18px;font-size:.9375rem;font-weight:550;display:flex;position:relative}.mac-nutrient+.mac-nutrient:before{content:"";border-top:1px solid var(--line);position:absolute;top:0;left:18px;right:0}.mac-nutrient.level-1{color:var(--muted);padding-left:34px;font-weight:450}.mac-nutrient.level-2{color:var(--muted);padding-left:50px;font-weight:450}.mac-nutrient-value{font-variant-numeric:tabular-nums;flex:none}.mac-nutrient[data-missing] .mac-nutrient-value{color:var(--muted-3)}.mac-portion{width:min(100%,360px)}.mac-portion-count{align-items:center;gap:12px;padding:10px 24px 6px;font-size:1rem;font-weight:600;display:flex}.mac-portion-count .mac-field-input{background:var(--surface-2);text-align:left;flex:none;width:108px}.mac-portion-count span{overflow-wrap:anywhere;min-width:0}.mac-portion-options{flex-direction:column;padding:6px 12px;display:flex}.mac-portion-options button{text-align:left;border-radius:16px;align-items:center;gap:14px;min-height:48px;padding:0 12px;font-size:.9375rem;font-weight:550;display:flex}.mac-portion-options button:active{background:color-mix(in srgb, var(--text) 8%, transparent)}.mac-portion-options button[aria-checked=true] .mac-radio{border:7px solid var(--accent)}.mac-portion-sum{color:var(--muted);margin:0;padding:4px 24px 8px;font-size:.875rem}.mac-portion-sum b{color:var(--text)}.mac-portion .ed-text-btn:disabled{opacity:.45}@media (width<=379.98px){.mac-split{flex-direction:column;align-items:stretch;gap:14px}.mac-split-ring{align-self:center;width:104px;height:104px}.mac-goal-grid{grid-template-columns:minmax(0,1fr);gap:14px}}.mac-warn{border:1px solid color-mix(in srgb, var(--accent) 35%, transparent);background:color-mix(in srgb, var(--accent) 12%, transparent);color:var(--accent-text);border-radius:20px;align-items:flex-start;gap:10px;margin:0;padding:14px 16px;font-size:.875rem;line-height:1.45;display:flex}.mac-warn .icon{width:18px;height:18px;margin-top:1px}.mac-source{color:var(--muted-2);margin:0;padding:0 4px;font-size:.8125rem;line-height:1.5}.mac-source b{color:var(--muted);font-weight:600}.mac-source .mac-link{font-size:.8125rem}.mac-edit-food{align-self:flex-start;align-items:center;gap:6px;min-height:36px;padding:0 4px;display:inline-flex}.mac-edit-food .icon{width:16px;height:16px}.mac-missing{border:1px solid var(--glass-rim);border-radius:var(--card-radius);background:var(--glass);box-shadow:var(--glass-glint);text-align:center;flex-direction:column;align-items:center;gap:10px;padding:32px 22px 26px;display:flex}.mac-missing h2{letter-spacing:-.01em;margin:6px 0 0;font-size:1.3125rem;font-weight:600}.mac-missing p{max-width:380px;color:var(--muted);margin:0 0 10px;font-size:.9375rem;line-height:1.55}.mac-missing p b{color:var(--text);overflow-wrap:anywhere;font-weight:600}.mac-missing-icon{width:64px;height:64px}.mac-missing-icon .icon{width:30px;height:30px}.mac-missing>.mac-link{min-height:40px}.mac-search-empty{padding-top:28px}.mac-cta{background:var(--accent-fill);color:#fff;width:100%;max-width:420px;height:52px;box-shadow:var(--accent-glow);border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:0 22px;font-size:1rem;font-weight:600;transition:background-color .15s,transform .15s;display:inline-flex}.mac-add-all>.mac-cta{max-width:none}.mac-cta:active{background:var(--accent-hover);transform:scale(.98)}.mac-cta .icon{width:20px;height:20px}.mac-cta-second{width:100%;max-width:420px;height:52px}.mac-spinner{border:4px solid #ffffff1a;border-top-color:var(--accent);border-radius:50%;width:44px;height:44px;animation:.8s linear infinite mac-spin}.mac-spinner.small{border-width:2px;align-self:center;width:16px;height:16px}.mac-food-list[data-stale]{opacity:.6;transition:opacity .15s}@keyframes mac-spin{to{transform:rotate(360deg)}}.mac-caption-row{justify-content:space-between;align-items:center;gap:12px;margin:10px 0 -2px;display:flex}.mac-caption{margin-top:10px;margin-bottom:-2px}.mac-units{border:1px solid var(--glass-rim);background:#ffffff0d;border-radius:999px;padding:3px;display:flex}.mac-units button{min-width:44px;height:30px;color:var(--muted);border-radius:999px;padding:0 14px;font-size:.8125rem;font-weight:600}.mac-units button[aria-checked=true]{color:var(--text);background:#ffffff24}@media (hover:hover){.mac-portion-options button:hover{background:color-mix(in srgb, var(--text) 6%, transparent)}.mac-cta:hover{background:var(--accent-hover)}}.gym-trend{font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;gap:2px;font-size:.8125rem;font-weight:600;display:inline-flex}.gym-trend .icon{stroke-width:2.4px;width:14px;height:14px}.gym-trend.up{color:var(--success-text)}.gym-trend.down{color:var(--danger)}.gym-trend.same{color:var(--muted-2);padding-left:4px}.gym-trend.new{color:var(--accent-text);font-weight:500}.gym-trend .gym-trend-record{width:15px;height:15px;color:var(--accent);stroke-width:2px;margin-right:1px}.metrics{--chart-1:#3591fb;--scale-w:44px;flex-direction:column;gap:10px;min-width:0;display:flex}.metrics-top{flex-direction:column;gap:8px;display:flex}.metrics-periods{border:1px solid var(--border);background:var(--surface);border-radius:10px;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:2px;padding:3px;display:grid}.metrics-periods button{height:32px;color:var(--muted);white-space:nowrap;border-radius:7px;padding:0 8px;font-size:.8125rem;font-weight:600;transition:background-color .15s,color .15s}.metrics-periods button[aria-pressed=true]{background:var(--surface-3);color:var(--text);box-shadow:inset 0 1px #ffffff0d,0 1px 3px #0006}.metrics-periods button:focus-visible{outline-offset:-2px}.metrics-range{color:var(--muted-2);font-variant-numeric:tabular-nums;text-align:center;white-space:nowrap;font-size:.75rem}.stats-cheer{border:1px solid color-mix(in srgb, var(--accent) 30%, var(--border));background:linear-gradient(to right, color-mix(in srgb, var(--accent) 14%, var(--surface)), var(--surface) 80%);border-radius:12px;margin:0;padding:12px 14px;font-size:.9375rem;font-weight:550;line-height:1.4}.stats-card,.stats-kpi,.stats-highlight{border:1px solid var(--border);background:var(--surface);min-width:0}.stats-card{border-radius:var(--radius-lg);padding:14px 14px 12px}.stats-card-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.stats-label{color:var(--muted);margin:0;font-size:.8125rem;font-weight:550}.stats-meta{color:var(--muted-2);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.stats-hero{flex-wrap:wrap;align-items:center;gap:4px 10px;margin:4px 0 16px;display:flex}.stats-hero-value{letter-spacing:-.035em;font-size:2.25rem;font-weight:650;line-height:1.1}.stats-hero-value small,.stats-kpi-value small,.stats-highlight-value small{color:var(--muted);letter-spacing:0;margin-left:4px;font-size:.5em;font-weight:550}.stats-kpi-value small,.stats-highlight-value small{font-size:.6em}.stats-delta{font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:999px;align-items:center;gap:2px;height:22px;padding:0 7px 0 5px;font-size:.75rem;font-weight:600;display:inline-flex}.stats-delta .icon{stroke-width:2.4px;width:13px;height:13px}.stats-delta.up{background:color-mix(in srgb, var(--success) 16%, transparent);color:var(--success-text)}.stats-delta.down{background:color-mix(in srgb, var(--danger) 14%, transparent);color:var(--danger)}.stats-delta.flat{background:var(--surface-2);color:var(--muted);padding-left:7px}.stats-chart{margin:0}.stats-plot{height:112px;position:relative}.stats-gridline{left:0;right:var(--scale-w);border-top:1px solid var(--line);pointer-events:none;position:absolute}.stats-gridline>span{color:var(--muted-2);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.6875rem;line-height:1;position:absolute;top:0;left:calc(100% + 8px);transform:translateY(-50%)}.stats-bars{inset:0 var(--scale-w) 0 0;border-bottom:1px solid var(--border);display:grid;position:absolute}.stats-slot{justify-content:center;align-items:flex-end;min-width:0;height:100%;display:flex;position:relative}.stats-slot.trained{border-radius:4px 4px 0 0}.stats-slot.trained:focus-visible{outline-offset:0}.stats-slot.active{background:#ffffff0d}.stats-bar{background:var(--chart-1);border-radius:4px 4px 0 0;width:calc(100% - 3px);min-width:2px;max-width:14px;min-height:3px;transition:filter .15s}.stats-bar.stub{background:var(--muted-3);border-radius:2px 2px 0 0;height:3px}.stats-slot.active .stats-bar{filter:brightness(1.25)}.stats-tip{z-index:3;border:1px solid var(--border);background:var(--surface-3);max-width:220px;color:var(--muted);white-space:nowrap;pointer-events:none;border-radius:10px;flex-direction:column;gap:1px;padding:8px 10px;font-size:.75rem;display:flex;position:absolute;bottom:calc(100% + 8px);transform:translate(-50%);box-shadow:0 10px 24px #00000080}.stats-tip.start{transform:translate(-14px)}.stats-tip.end{transform:translate(calc(14px - 100%))}.stats-tip strong{color:var(--text);font-size:.9375rem;font-weight:650}.stats-tip span{text-overflow:ellipsis;overflow:hidden}.stats-axis{margin:6px var(--scale-w) 0 0;color:var(--muted-2);font-variant-numeric:tabular-nums;justify-content:space-between;font-size:.6875rem;display:flex}.metrics-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.stats-kpi{border-radius:14px;flex-direction:column;align-items:flex-start;gap:4px;padding:12px 14px;display:flex}.stats-kpi-value{letter-spacing:-.03em;white-space:nowrap;font-size:1.5rem;font-weight:650;line-height:1.15}.stats-hero.metrics-done-figure{margin:6px 0 12px}.metrics-done{align-items:center;gap:12px;display:flex}.metrics-done-track{background:color-mix(in srgb, var(--text) 8%, transparent);border-radius:4px;flex:1;height:8px;display:block;overflow:hidden}.metrics-done-bar{background:var(--accent);border-radius:4px;height:100%;display:block}.metrics-done-share{min-width:3.2em;color:var(--muted);font-variant-numeric:tabular-nums;text-align:right;font-size:.8125rem;font-weight:600}.metrics-highlights{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.stats-highlight{border-radius:14px;flex-direction:column;align-items:flex-start;gap:10px;padding:12px;display:flex}.stats-highlight-icon{background:var(--surface-2);width:36px;height:36px;color:var(--muted-2);border-radius:11px;flex:none;place-items:center;display:grid}.stats-highlight.on .stats-highlight-icon{background:linear-gradient(to bottom right, var(--accent), var(--accent-fill));color:#fff;box-shadow:inset 0 1px #ffffff40,0 6px 18px #0b6ff059}.stats-highlight-icon .icon{width:19px;height:19px}.stats-highlight-text{flex-direction:column;min-width:0;display:flex}.stats-highlight-value{letter-spacing:-.02em;font-size:1.25rem;font-weight:650;line-height:1.2}.stats-highlight-label{color:var(--muted);text-wrap:balance;font-size:.75rem;line-height:1.3}.metrics-grid{gap:10px;min-width:0;display:grid}.stats-list{flex-direction:column;margin:6px 0 0;padding:0;list-style:none;display:flex}.stats-row{border-top:1px solid var(--line);text-align:left;align-items:center;gap:12px;width:100%;padding:10px 0;display:flex}.stats-list>:first-child,.stats-list>:first-child>.stats-row{border-top:0}.metrics-row-btn{border-radius:10px;width:calc(100% + 16px);margin:0 -8px;padding:10px 8px;transition:background-color .15s}.metrics-row-btn:active{background:var(--surface-2)}.metrics-row-btn:focus-visible{outline-offset:-2px}.stats-list>li+li>.metrics-row-btn{border-top:1px solid var(--line);border-radius:0 0 10px 10px}.stats-row-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.stats-row-name,.stats-row-meta{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stats-row-name{font-size:.9375rem;font-weight:600}.stats-row-meta,.stats-row-date{color:var(--muted-2);font-size:.75rem}.stats-row-side{flex-direction:column;flex:none;align-items:flex-end;gap:2px;display:flex}.stats-row-value{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.9375rem;font-weight:650}.stats-change{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.75rem;font-weight:600}.stats-change.up{color:var(--success-text)}.stats-change.down{color:var(--danger)}.stats-change.flat{color:var(--muted-2)}.stats-spark{flex:none;overflow:visible}.stats-spark polyline{fill:none;stroke:var(--muted-2);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.stats-spark circle{fill:var(--chart-1);stroke:var(--surface);stroke-width:2px}.stats-record-icon{background:var(--accent-tint);width:32px;height:32px;color:var(--accent-text);border-radius:10px;flex:none;place-items:center;display:grid}.stats-record-icon .icon{width:17px;height:17px}.stats-more{width:100%;height:36px;color:var(--accent-text);border-radius:8px;margin-top:2px;font-size:.875rem;font-weight:600}.stats-more:active{background:var(--surface-2)}.stats-note{color:var(--muted-2);margin:2px 4px 0;font-size:.75rem;line-height:1.45}.metrics-detail{flex-direction:column;gap:12px;scroll-margin-top:12px;display:flex}.metrics-detail .stats-note{margin:0}.metrics-select{border:1px solid var(--border);background-color:var(--bg);width:100%;height:42px;color:var(--text);font:inherit;cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d8285' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:14px;border-radius:10px;outline:none;margin:0;padding:0 36px 0 12px;font-size:.9375rem;font-weight:600}.metrics-select:focus-visible{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent)}.metrics-select option{background:var(--surface-2);color:var(--text)}.metrics-chips{flex-wrap:wrap;gap:6px;display:flex}.metrics-chips button{border:1px solid var(--border);height:30px;color:var(--muted);white-space:nowrap;border-radius:999px;padding:0 11px;font-size:.8125rem;font-weight:550;transition:background-color .15s,border-color .15s,color .15s}.metrics-chips button[aria-pressed=true]{border-color:color-mix(in srgb, var(--accent) 55%, var(--border));background:var(--accent-tint);color:var(--accent-text)}.metrics-figures{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;display:grid}.metrics-figures>div{min-width:0}.metrics-figures dt{color:var(--muted-2);text-overflow:ellipsis;white-space:nowrap;font-size:.6875rem;overflow:hidden}.metrics-figures dd{text-overflow:ellipsis;white-space:nowrap;margin:2px 0 0;font-size:.9375rem;font-weight:650;overflow:hidden}.metrics-figures dd.stats-change{font-size:.9375rem}.metrics-line{margin:0}.metrics-line-plot{touch-action:pan-y;border-radius:6px;outline:none;height:168px;position:relative}.metrics-line-plot:focus-visible{box-shadow:0 0 0 2px var(--accent)}.metrics-line-plot svg{display:block;overflow:visible}.metrics-line-grid{stroke:var(--line);stroke-width:1px}.metrics-line-tick{fill:var(--muted-2);font-variant-numeric:tabular-nums;font-size:11px}.metrics-line-area{fill:var(--chart-1);opacity:.1}.metrics-line-path{fill:none;stroke:var(--chart-1);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.metrics-line-cross{stroke:var(--muted-3);stroke-width:1px}.metrics-line-dot{fill:var(--chart-1);stroke:var(--surface);stroke-width:2px}.metrics-line-dot.active{fill:#fff;stroke:var(--chart-1)}.metrics-line-axis{margin-right:52px}.metrics-ranked{flex-direction:column;gap:10px;margin:12px 0 4px;padding:0;list-style:none;display:flex}.metrics-ranked li{grid-template-columns:minmax(0,7.5em) minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.metrics-ranked-name{text-overflow:ellipsis;white-space:nowrap;font-size:.8125rem;font-weight:550;overflow:hidden}.metrics-ranked-track{height:10px;display:block}.metrics-ranked-bar{background:var(--chart-1);border-radius:0 4px 4px 0;min-width:3px;height:100%;display:block}.metrics-ranked-value{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.75rem;font-weight:600}.metrics-week{margin:12px 0 0}.metrics-week-bars{border-bottom:1px solid var(--border);grid-template-columns:repeat(7,minmax(0,1fr));height:104px;padding-top:18px;display:grid}.metrics-week-slot{justify-content:center;align-items:flex-end;display:flex;position:relative}.metrics-week-bar{background:var(--chart-1);border-radius:4px 4px 0 0;width:min(22px,60%);min-height:3px}.metrics-week-bar.none{min-height:0}.metrics-week-value{color:var(--text);font-variant-numeric:tabular-nums;font-size:.75rem;font-weight:650;position:absolute;bottom:calc(100% + 4px)}.metrics-week-labels{color:var(--muted-2);text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));margin-top:6px;font-size:.6875rem;display:grid}@media (hover:hover){.stats-slot.trained:hover{background:#ffffff0d}.stats-slot.trained:hover .stats-bar{filter:brightness(1.25)}.stats-more:hover,.metrics-row-btn:hover{background:var(--surface-2)}.metrics-periods button[aria-pressed=false]:hover,.metrics-chips button[aria-pressed=false]:hover{color:var(--text)}}@media (width>=600px){.metrics-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.stats-highlight{flex-direction:row;align-items:center;gap:12px;padding:12px 14px}}@media (width>=1240px){.gym[data-wide] .gym-inner{max-width:1160px}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.metrics-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}.section-gym:has(.gym[data-wide]) .hero{max-width:1180px}}.btn.tr-edit{border:1px solid var(--border);background:var(--surface-2);border-radius:8px;height:34px;padding:0 14px;font-size:.875rem}.btn.tr-edit:hover{background:var(--surface-3)}.ed-body.tr-body{padding-bottom:calc(20px + env(safe-area-inset-bottom))}.tr-top{border-bottom:1px solid var(--line);flex:none;padding:0 16px 12px}.tr-head{align-items:flex-start;gap:12px;padding:16px 0 14px;display:flex}.tr-picture{object-fit:contain;flex:none;width:64px;height:64px;margin:-2px 0 -4px -4px}.tr-head-text{flex:1;min-width:0}.tr-title-row{flex-wrap:wrap;align-items:center;gap:4px 10px;display:flex}.tr-title{letter-spacing:-.01em;overflow-wrap:anywhere;min-width:0;margin:0;font-size:1.375rem;font-weight:600;line-height:1.25}.tr-status{border:1px solid var(--border);background:var(--surface-2);color:var(--muted);white-space:nowrap;border-radius:999px;flex:none;padding:2px 9px;font-size:.75rem;font-weight:600;line-height:18px}.tr-status.planned,.tr-status.running{border-color:color-mix(in srgb, var(--accent) 35%, transparent);background:var(--accent-tint);color:var(--accent-text)}.tr-status.done{border-color:color-mix(in srgb, var(--success) 35%, transparent);background:color-mix(in srgb, var(--success) 14%, var(--surface));color:var(--success-text)}.tr-when{color:var(--text);margin:4px 0 0;font-size:.9375rem}.tr-note{color:var(--muted);margin:3px 0 0;font-size:.8125rem}.tr-note.live{color:var(--accent-text)}.tr-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.tr-kpis:has(>:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}.tr-kpis:has(>:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}.tr-kpi{border:1px solid var(--border);background:var(--surface-2);border-radius:12px;flex-direction:column;gap:2px;min-width:0;padding:10px 12px;display:flex}.tr-kpi-label{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;font-weight:550;overflow:hidden}.tr-kpi-value{font-variant-numeric:tabular-nums;letter-spacing:-.02em;white-space:nowrap;font-size:1.25rem;font-weight:650;line-height:1.2}.tr-kpi-value small,.tr-stat-value small{color:var(--muted);letter-spacing:0;margin-left:2px;font-size:.65em;font-weight:550}.tr-records{background:var(--accent-tint);color:var(--accent-text);border-radius:12px;align-items:center;gap:8px;margin:10px 0 0;padding:10px 12px;font-size:.875rem;font-weight:600;display:flex}.tr-records .icon{width:18px;height:18px}.tr-section{color:var(--muted);margin:14px 0 8px;font-size:.8125rem;font-weight:600}.tr-exercises{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.tr-exercise{--card-bg:var(--surface-2);border:1px solid var(--border);background:var(--card-bg);border-radius:14px;padding:12px 14px}.tr-exercise.done{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.tr-exercise-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.tr-exercise-head .gym-ex-tick,.tr-open-note{margin-right:auto}.tr-open-note{background:var(--surface-3);color:var(--muted);white-space:nowrap;border-radius:999px;flex:none;padding:2px 8px;font-size:.6875rem;font-weight:600}.tr-action{border:1px solid var(--border);background:var(--surface-2);width:100%;height:44px;color:var(--text);border-radius:12px;justify-content:center;align-items:center;gap:8px;margin-top:10px;font-size:.9375rem;font-weight:600;transition:background-color .15s;display:flex}.tr-action .icon{width:18px;height:18px}.tr-action.primary{background:var(--accent-fill);color:var(--accent-contrast);border-color:#0000}.tr-action:active{background:var(--surface-3)}.tr-action.primary:active{background:var(--accent-hover)}@media (hover:hover){.tr-action:hover{background:var(--surface-3)}.tr-action.primary:hover{background:var(--accent-hover)}}.tr-exercise-name{overflow-wrap:anywhere;min-width:0;font-size:.9375rem;font-weight:600}.tr-sets{border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums;width:100%;margin-top:8px;font-size:.875rem}.tr-sets th{color:var(--muted-2);letter-spacing:.04em;text-align:center;text-transform:uppercase;padding:0 0 5px;font-size:.6875rem;font-weight:600}.tr-sets td{border-top:1px solid var(--border);text-align:center;padding:6px 0}.tr-sets :is(th,td):first-child{width:3.25em;color:var(--muted);text-align:left}.tr-sets .tr-set-state{text-align:right;width:28px}.tr-set-state .icon{width:16px;height:16px;color:var(--accent-text);stroke-width:2.8px;vertical-align:-3px}.tr-sets tr.missed td{color:var(--muted-3)}.tr-stats{border-top:1px solid var(--border);grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:8px;margin:10px 0 0;padding-top:10px;display:grid}.tr-stats:has(>:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}.tr-stat{min-width:0}.tr-stat dt{color:var(--muted-2);letter-spacing:.04em;text-transform:uppercase;font-size:.6875rem;font-weight:600}.tr-stat dd{flex-direction:column;margin:2px 0 0;display:flex}.tr-stat-value{font-variant-numeric:tabular-nums;font-size:.9375rem;font-weight:600}.tr-stat-sub{color:var(--muted);font-size:.75rem}.tr-muted{color:var(--muted-2);margin:8px 0 0;font-size:.8125rem}.tr-empty{border:1px dashed var(--border);color:var(--muted);text-align:center;border-radius:12px;margin:8px 0 4px;padding:16px;font-size:.875rem}@media (width>=600px){.tr-top{padding:0 24px 14px}}@media (width<=419.98px){.tr-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}.app.section-gym,.gym-full{--accent:#3b7bff;--accent-fill:#2563f5;--accent-hover:#3470ff;--accent-text:#8cb0ff;--blue:var(--accent-fill);background:radial-gradient(120% 46% at 50% -8%,#2563f52b,#0000 64%),linear-gradient(#0c1226 0%,#070a17 48%,#020308 100%)}.app.section-gym>.tab-bar{background:0 0;border-top-color:#96afff17}.app.section-gym .tab-bar-add-circle{box-shadow:inset 0 1px #fff3,0 0 20px #2563f580}.gym,.gym-full{--bg:#0b1124;--bg-low:#020308;--surface:#0f1529;--surface-2:#161d35;--surface-3:#1e2742;--border:#96afff1a;--line:#96afff14;--text:#eef1f8;--muted:#b3bbd2;--muted-2:#8f99b6;--muted-3:#5f6985;--accent-tint:color-mix(in srgb, var(--accent) 18%, var(--surface));--success:#16a34a;--success-text:#4ade80;--card-glint:inset 0 1px 0 #c8d7ff0f, 0 8px 24px #00000040;--action-bg:color-mix(in srgb, var(--accent) 17%, var(--surface));--action-bg-pressed:color-mix(in srgb, var(--accent) 28%, var(--surface));--action-rim:color-mix(in srgb, var(--accent) 38%, transparent);--accent-glow:0 8px 22px #2563f566;font-family:Figtree Variable,Inter Variable,Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}:is(.gym,.gym-full) :is(.menu-backdrop,.ed-popup-backdrop,.overlay,.toast){--surface:#141b33;--surface-2:#1a2240;--surface-3:#222c4d;--border:#2b3659;--line:#222b48}.gym .gym-page-head,.gym .gym-tabs-bar{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#080c1ad1}.gym .gym-tabs-bar:after{display:none}@supports (animation-timeline:scroll()){.gym .gym-page-head,.gym .gym-tabs-bar{background:0 0;animation:linear both gym-head-veil;animation-timeline:scroll();animation-range:0 24px}@keyframes gym-head-veil{to{border-bottom-color:var(--border);background-color:#080c1ad1}}}.gym .gym-page-head{gap:10px;padding:8px 16px}.gym .gym-page-head>.icon-btn{border:1px solid var(--border);width:40px;height:40px;color:var(--text);background:#96afff12;border-radius:50%;transition:background-color .15s,color .15s,transform .15s}.gym .gym-page-head>.icon-btn .icon{width:20px;height:20px}.gym .gym-page-head>.icon-btn:active{background:var(--surface-3);transform:scale(.94)}.gym .gym-page-head>.gym-delete{color:var(--muted)}.gym .gym-page-head:not(:has(>:nth-child(3))):after{content:"";flex:none;width:40px}.gym .gym-page-title,.gym .gym-page-name{letter-spacing:-.01em;text-align:center;padding:0 4px;font-size:1.1875rem;font-weight:650}.gym .gym-page-head>.btn.tr-edit{border:1px solid var(--action-rim);background:var(--action-bg);height:38px;color:var(--accent-text);border-radius:999px;margin-right:0;padding:0 16px}.gym-full .gym-full-bar{border-bottom-color:var(--border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#080c1ab3;gap:10px;padding-left:12px}.gym-full .gym-full-bar .icon-btn{border:1px solid var(--border);background:#96afff12;border-radius:50%;width:40px;height:40px}.gym-full .gym-full-title h2{font-weight:650}.gym-full .gym-full-foot{border-top-color:var(--border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#04060ecc}.gym .gym-tabs,.gym .metrics-periods,.gym .gym-select-bar{border-color:var(--border);background:var(--surface);box-shadow:var(--card-glint);border-radius:999px}.gym .gym-tabs button,.gym .metrics-periods button{border-radius:999px}.gym .gym-tabs button[aria-pressed=true],.gym .metrics-periods button[aria-pressed=true]{box-shadow:none;color:var(--text);background:#dce4ff21}.gym .gym-select-all{border-radius:999px}.gym :is(.gym-group,.gym-card,.gym-workout,.gym-history-list,.gym-choice,.stats-card,.stats-kpi,.stats-highlight),.gym-full :is(.gym-group,.gym-card,.gym-choice){border-color:var(--border);box-shadow:var(--card-glint);border-radius:20px}.gym .gym-workout-open,.gym .gym-ex-head{border-radius:19px}.gym :is(.gym-item,.gym-history-item){background:0 0}.gym :is(.gym-item,.gym-history-item):active{background:var(--surface-2)}.gym .gym-workout[data-chosen]{--card-bg:var(--surface-2);border-color:#dce4ff47}.gym .gym-item[data-chosen]{background:var(--surface-2);border-color:#0000}.gym .gym-start,.gym .gym-cal-add{border-radius:999px;height:42px}.gym .gym-start:not(.running){box-shadow:0 6px 18px #2563f552}.gym .gym-cal-add{border-color:var(--action-rim);background:var(--action-bg);color:var(--accent-text)}.gym .gym-cal-add .icon{color:inherit}.gym .gym-cal-add:active{background:var(--action-bg-pressed)}.gym .gym-add{background:var(--accent-fill);color:#fff;border:0;flex-direction:row-reverse;gap:10px;height:54px;padding:0 24px 0 20px;font-size:1rem;box-shadow:inset 0 1px #ffffff2e,0 10px 30px #2563f56b,0 10px 30px #00000073}.gym .gym-add-plus,.gym .gym-add.emphasized .gym-add-plus{width:auto;height:auto;box-shadow:none;color:inherit;background:0 0}.gym .gym-add:active{background:var(--accent-hover)}.gym .gym-add.quiet{border:1px solid var(--action-rim);background:color-mix(in srgb, var(--accent) 22%, #0b1124);color:var(--accent-text);box-shadow:inset 0 1px #c8d7ff14,0 10px 30px #0000008c}.gym .gym-add.quiet:active{background:color-mix(in srgb, var(--accent) 32%, #0b1124)}.gym .gym-add.emphasized{box-shadow:inset 0 1px #ffffff38,0 0 0 6px #2563f52e,0 12px 34px #2563f58c}:is(.gym,.gym-full) .gym-primary{background:var(--accent-fill);height:52px;box-shadow:var(--accent-glow);color:#fff;border-radius:999px;font-weight:600}:is(.gym,.gym-full) .gym-primary:active{background:var(--accent-hover)}:is(.gym,.gym-full) .gym-primary-count{background:#ffffff2e}:is(.gym,.gym-full) .btn{border-radius:999px}.gym .gym-add-entry{border-radius:18px}.gym .gym-empty .gym-add-entry{background:var(--accent-fill);box-shadow:var(--accent-glow);color:#fff;border-radius:999px}.gym .gym-empty .gym-add-entry:active{background:var(--accent-hover)}.gym .gym-empty{border-color:var(--border);background:radial-gradient(240px 180px at 50% 32%, #c8d7ff0d, transparent), radial-gradient(420px 260px at 50% 30%, #2563f514, transparent), var(--surface);box-shadow:var(--card-glint);border-radius:22px}.gym .gym-ex-arrow,.gym .gym-ex.open .gym-ex-arrow{background:var(--action-bg);color:var(--accent-text)}.gym .gym-ex-previous{border-radius:14px}.gym .gym-ex-previous-set{border-radius:8px}.gym .gym-set-input{border-radius:12px}.gym .gym-set-tick[aria-pressed=true],.gym .gym-ex-check[aria-pressed=true]{border-color:var(--success);background:var(--success);color:#fff}.gym .gym-set-row[data-done] .gym-set-num{background:var(--success);color:#fff}.gym .gym-set-row[data-done] .gym-set-input{background:color-mix(in srgb, var(--success) 16%, var(--surface-2))}.gym .gym-ex-tick{background:var(--success);color:#fff}.gym .gym-ex.done,.gym .tr-exercise.done{border-color:color-mix(in srgb, var(--success) 55%, transparent);box-shadow:var(--card-glint)}.gym .gym-table-name .icon.gym-table-tick,.gym .tr-set-state .icon{color:var(--success-text)}.gym .gym-live.complete{border-color:var(--success);box-shadow:0 0 0 1px var(--success)}.gym .gym-live{background:radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%), var(--surface);box-shadow:var(--card-glint);border-radius:22px}.gym .gym-finish{border-color:var(--border);background:radial-gradient(100% 120% at 50% 0%, color-mix(in srgb, var(--success) 16%, transparent), transparent 70%), var(--surface);box-shadow:var(--card-glint);border-radius:22px}.gym .gym-finish-badge{background:linear-gradient(to bottom right, #22c55e, var(--success));box-shadow:inset 0 1px #ffffff40,0 10px 30px #16a34a66}.gym .gym-finish-title{font-weight:650}.gym .gym-takeover{border-color:var(--border);background:var(--surface);color:var(--text);border-radius:18px}.gym .gym-takeover .icon{color:var(--success-text)}.gym .tr-kpi{border-radius:16px}.gym .tr-exercise{border-radius:18px}.gym .tr-records{border-radius:16px}:is(.gym,.gym-full) .gym-field-input{border-radius:12px}:is(.gym,.gym-full) .gym-search{border-radius:999px;height:50px}:is(.gym,.gym-full) .gym-search-wrap{background:0 0}:is(.gym,.gym-full) .ed-popup{border:1px solid #96afff1f;box-shadow:0 24px 60px #0009}.gym .ed-popup-backdrop{background:#0000008c}.gym .metrics{--chart-1:#4a86ff}.gym .metrics-chips button{border-color:var(--border)}.gym .metrics-chips button[aria-pressed=true]{color:var(--text);background:#dce4ff21;border-color:#dce4ff4d}.gym .metrics-select{border-color:var(--border);background-color:var(--surface-2);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238cb0ff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-position:right 14px center;border-radius:999px}.gym .stats-cheer{border-color:var(--border);background:linear-gradient(to right, color-mix(in srgb, var(--accent) 12%, var(--surface)), var(--surface) 80%);box-shadow:var(--card-glint);border-radius:18px}.gym .stats-highlight-icon,.gym .stats-highlight.on .stats-highlight-icon,.gym .stats-record-icon{box-shadow:none;color:var(--text);background:#dce4ff17;border-radius:50%}.gym .stats-tip{border-radius:12px}@media (hover:hover){.gym .gym-page-head>.icon-btn:hover{background:var(--surface-3)}.gym .gym-page-head>.gym-delete:hover{color:var(--danger)}.gym .gym-cal-add:hover,.gym .gym-page-head>.btn.tr-edit:hover,.gym .gym-ex-arrow:hover{background:var(--action-bg-pressed)}.gym .gym-add.quiet:hover{background:color-mix(in srgb, var(--accent) 32%, #0b1124)}.gym .gym-add:not(.quiet):hover,:is(.gym,.gym-full) .gym-primary:not(:disabled):hover,.gym .gym-empty .gym-add-entry:hover{background:var(--accent-hover)}.gym .gym-workout[data-chosen]:has(>.gym-workout-open:hover){--card-bg:var(--surface-3)}.gym .gym-item[data-chosen]:hover{background:var(--surface-3)}}
