@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}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#141413;--surface:#1f1e1c;--surface-2:#282725;--surface-3:#33322f;--border:#363431;--line:#2b2a27;--text:#faf9f5;--muted:#b0aea5;--muted-2:#8f8d85;--muted-3:#6c6a64;--accent:#d97757;--accent-fill:#c6613f;--accent-hover:#d06b49;--accent-text:#ec9a7a;--accent-contrast:#fff;--accent-tint:color-mix(in srgb, var(--accent) 18%, var(--surface));--danger:#ff6b6b;--success:#2e9d5e;--blue:#2563eb;--blue-text:#8db4ff;--now:#ff5c5c;--radius:12px;--radius-lg:20px;--page-w:1360px;-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}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{flex:none;width:1.25em;height:1.25em}.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(--accent-fill);color:var(--accent-contrast);box-shadow:0 6px 18px #c6613f4d}.btn.primary:hover{background:var(--accent-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}.appbar{padding-top:env(safe-area-inset-top);background:var(--surface);border-bottom:1px solid var(--border);flex:none}.appbar-inner{max-width:var(--page-w);align-items:center;gap:24px;height:64px;margin:0 auto;padding:0 24px;display:flex}.brand-name{letter-spacing:-.02em;font-size:1.25rem;font-weight:800}.view-tabs{gap:4px;display:flex}.view-tabs button{border-radius:var(--radius);height:40px;color:var(--muted);align-items:center;gap:8px;padding:0 14px;font-size:.9375rem;font-weight:600;transition:background-color .15s,color .15s;display:flex}.view-tabs button:hover{background:var(--surface-2);color:var(--text)}.view-tabs button[aria-pressed=true]{background:var(--accent-tint);color:var(--accent-text)}.tab-icon{place-items:center;display:grid}.tab-icon .icon{width:20px;height:20px}.new-btn{margin-left:auto}.menu-btn{border-radius:var(--radius);width:40px;height:40px;color:var(--text);flex:none;place-items:center;transition:background-color .15s;display:grid}@media (hover:hover){.menu-btn:hover{background:var(--surface-2)}}.menu-btn .icon{width:40px;height:40px}.section-page .appbar-inner{justify-content:space-between}.hero.section-hero,.hero-menu{display:none}.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}.eyebrow{letter-spacing:.14em;text-transform:uppercase;color:var(--accent-text);white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:.75rem;font-weight:700;overflow:hidden}.hero h1{letter-spacing:-.03em;white-space:nowrap;align-items:baseline;gap:.3em;margin:6px 0 0;font-size:2.5rem;font-weight:800;line-height:1.1;display:flex}.title-text{text-overflow:ellipsis;min-width:0;overflow:hidden}.title-week{letter-spacing:0;color:var(--text);flex:none;font-size:.7em;font-weight:500}.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:#ffffff08;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)}.view-toggle{display:none}.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,.add-pill,.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}button.tg-dayhead{transition:background-color .15s}button.tg-dayhead:hover{background:var(--surface-2)}.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-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}@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)}.app-menu-backdrop{z-index:30;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:#00000059;position:fixed;inset:0}.app-menu{border:1px solid var(--border);background:var(--surface-2);transform-origin:100% 0;border-radius:24px;width:min(336px,100vw - 16px);padding:10px;position:fixed;box-shadow:0 16px 40px #00000080}.app-menu-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;display:grid}.app-menu-tile{border-radius:16px;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:14px 4px 12px;transition:background-color .15s;display:flex}.app-menu-tile:active{background:color-mix(in srgb, var(--text) 8%, transparent)}.app-menu-tile:focus-visible{outline-offset:-2px}.app-menu-icon{background:var(--surface-3);width:52px;height:52px;color:var(--text);border-radius:16px;place-items:center;display:grid}.app-menu-icon .icon{width:28px;height:28px}.app-menu-tile[aria-current] .app-menu-icon{background:var(--accent-fill);color:var(--accent-contrast)}.app-menu-label{text-align:center;overflow-wrap:anywhere;max-width:100%;font-size:.8125rem;font-weight:500;line-height:1.25}.app-menu-tile[aria-current] .app-menu-label{font-weight:700}@media (hover:hover){.app-menu-tile:hover{background:color-mix(in srgb, var(--text) 6%, transparent)}}.gym-scroll{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--surface-3) transparent;flex:1;min-height:0;overflow-y:auto}.gym-inner{max-width:720px;min-height:100%;padding:14px 14px calc(92px + env(safe-area-inset-bottom));flex-direction:column;gap:10px;margin:0 auto;display:flex}.gym-tabs{background:var(--surface-2);border-radius:12px;flex:none;grid-auto-columns:1fr;grid-auto-flow:column;gap:2px;margin-bottom:4px;padding:3px;display:grid}.gym-tabs button{height:36px;color:var(--muted);border-radius:9px;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:0 1px 3px #0000004d}.gym-tabs button:focus-visible{outline-offset:-2px}.gym-item{border:1px solid var(--border);background:var(--surface);text-align:left;border-radius:16px;flex:none;align-items:center;gap:12px;width:100%;padding:14px 12px 14px 16px;transition:background-color .15s;display:flex}.gym-item:active{background:var(--surface-2)}.gym-item>.icon{width:20px;height:20px;color:var(--muted-2)}.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-size:.8125rem}.gym-page-head{flex:none;align-items:center;gap:2px;margin:-4px -6px 0;display:flex}.gym-page-title{min-width:0;height:44px;color:var(--text);font:inherit;letter-spacing:-.01em;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);margin:0 4px;font-size:.875rem;line-height:1.45}.gym-card{border:1px solid var(--border);background:var(--surface);border-radius:18px;flex:none;padding:12px 10px 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-open{text-align:left;border-radius:15px;flex-direction:column;gap:8px;width:100%;min-width:0;padding:14px 12px 10px 16px;display:flex}.gym-workout-open:focus-visible{outline-offset:-2px}.gym-workout-foot{justify-content:flex-end;padding:0 12px 12px;display:flex}.gym-cal-add{background:color-mix(in srgb, var(--blue) 22%, var(--surface));height:34px;color:var(--blue-text);border-radius:999px;align-items:center;gap:6px;padding:0 14px 0 10px;font-size:.875rem;font-weight:600;transition:background-color .15s;display:inline-flex}.gym-cal-add .icon{stroke-width:2.5px;width:17px;height:17px}.gym-cal-add:active{background:color-mix(in srgb, var(--blue) 34%, var(--surface))}.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-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);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-month{color:var(--muted-2);letter-spacing:.08em;text-transform:uppercase;flex:none;margin:8px 4px 0;font-size:.75rem;font-weight:700}.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{color:var(--accent-text);font-size:.9375rem;font-weight:650}.gym-running-meta{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.8125rem;overflow:hidden}.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-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 8px 7px 0}.gym-table>.gym-table-name{z-index:1;background:var(--card-bg);white-space:normal;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:13em;padding-right:12px;font-weight:500;display:-webkit-box;position:sticky;left:0;overflow:hidden}.gym-table>.gym-table-head.gym-table-name{display:block}.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);margin-left:1px;font-size:.78em}.gym-sets-line{color:var(--muted-2);font-variant-numeric:tabular-nums}.gym-sets-count{color:var(--muted)}.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}.gym-ex.open{border-color:color-mix(in srgb, var(--accent) 45%, var(--border))}.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-name{text-overflow:ellipsis;white-space:nowrap;font-size:1.0625rem;font-weight:650;overflow:hidden}.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:2px 10px 6px}.gym-ex-content .gym-sets{padding-top:10px}.gym-ex-previous{background:var(--surface-2);font-variant-numeric:tabular-nums;border-radius:12px;flex-wrap:wrap;align-items:baseline;gap:2px 10px;margin:10px 0 0;padding:8px 12px;font-size:.8125rem;display:flex}.gym-ex-previous-label{color:var(--muted)}.gym-ex-remove{width:100%;height:40px;color:var(--muted-2);border-radius:12px;justify-content:center;align-items:center;gap:6px;font-size:.875rem;font-weight:500;display:flex}.gym-ex-remove .icon{width:16px;height:16px}.gym-ex-remove:active{background:color-mix(in srgb, var(--danger) 14%, transparent);color:var(--danger)}@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)}}@media (prefers-reduced-motion:reduce){.gym-ex-body,.gym-ex-arrow{transition:none}}.gym-set-row{grid-template-columns:30px repeat(3,minmax(0,1fr)) 32px;align-items:center;gap:6px;display:grid}.gym-set-row+.gym-set-row{margin-top:6px}.gym-set-head{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;display:grid}.gym-set-input{background:var(--surface-2);width:100%;min-width:0;height:40px;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: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-remove{width:32px;height:32px;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)}.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:1.5px dashed color-mix(in srgb, var(--accent) 60%, var(--border));width:100%;height:52px;color:var(--accent-text);border-radius:16px;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{width:auto;margin-top:14px}.gym-history{flex-direction:column;gap:8px;margin-top:10px;display:flex}.gym-section-title{color:var(--muted-2);letter-spacing:.08em;text-transform:uppercase;margin:0;padding-left:4px;font-size:.75rem;font-weight:700}.gym-history-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.gym-history-item{border:1px solid var(--border);background:var(--surface);text-align:left;border-radius:16px;align-items:center;gap:12px;width:100%;padding:12px 12px 12px 16px;transition:background-color .15s;display:flex}.gym-history-item:active{background:var(--surface-2)}.gym-history-item>.icon{width:20px;height:20px;color:var(--muted-2)}.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-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:0 10px 30px #00000073}.gym-add-plus{background:var(--accent-fill);width:38px;height:38px;color:var(--accent-contrast);border-radius:50%;place-items:center;display:grid}.gym-add-plus .icon{stroke-width:2.5px;width:20px;height:20px}.gym:has(input:focus) .gym-add{display:none}@media (hover:hover){.gym-tabs button[aria-pressed=false]:hover{color:var(--text)}.gym-item:hover,.gym-add:hover{background:var(--surface-3)}.gym-workout:has(>.gym-workout-open:hover){--card-bg:var(--surface-3)}.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 14px 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(--accent-fill);width:100%;max-width:692px;height:52px;color:var(--accent-contrast);border-radius:999px;justify-content:center;align-items:center;gap:10px;margin:0 auto;font-size:1rem;font-weight:700;transition:background-color .15s;display:flex}.gym-primary:active{background:var(--accent-hover)}.gym-primary-count{background:#fff3;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-2);letter-spacing:.08em;text-transform:uppercase;padding-left:4px;font-size:.75rem;font-weight:700}.gym-field-input{background:var(--surface-2);width:100%;height:52px;color:var(--text);font:inherit;border:1.5px solid #0000;border-radius:14px;outline:none;margin:0;padding:0 16px;font-size:1.125rem;font-weight:600;transition:border-color .15s}.gym-field-input::placeholder{color:var(--muted-2);font-weight:400}.gym-field-input:focus{border-color:var(--accent)}.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 -14px -4px;padding:16px 14px 8px;position:sticky;top:0}.gym-field-label+.gym-search-wrap{margin-top:-12px;padding-top:8px}.gym-search{background:var(--surface-2);cursor:text;border:1.5px solid #0000;border-radius:14px;align-items:center;gap:10px;height:48px;padding:0 6px 0 14px;transition:border-color .15s;display:flex}.gym-search:focus-within{border-color:var(--accent)}.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:1.5px dashed color-mix(in srgb, var(--accent) 60%, 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(--accent-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{text-align:center;flex-direction:column;align-items:center;gap:6px;margin:auto;padding:24px;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 #00000080);width:min(168px,44vw);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{margin:0;font-size:1.25rem;font-weight:700}.gym-empty p{color:var(--muted);margin:0;font-size:.9375rem}.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;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 + env(safe-area-inset-bottom))}}@media (prefers-reduced-motion:no-preference){.event-menu{animation:.15s cubic-bezier(.2,.8,.2,1) menu-in}.app-menu{animation:.18s cubic-bezier(.2,.8,.2,1) menu-in}.app-menu-backdrop{animation:.18s fade-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:#00000080;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:36px;box-shadow:none;border-radius:999px;padding:0 16px}.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{background:var(--surface-2);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:0 1px 3px #0000004d}.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}.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='%238f8d85' 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){.hero{max-width:none;padding:calc(8px + env(safe-area-inset-top)) 10px 8px 12px;border-bottom:1px solid var(--border);background:var(--surface);align-items:center;gap:10px}.appbar{display:none}.eyebrow{letter-spacing:.12em;font-size:.625rem}.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}.view-toggle,.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}.view-toggle{place-items:center;display:grid}.view-toggle:active{background:var(--surface-2)}.view-toggle .icon{width:20px;height:20px}.today-btn .icon,.today-label{display:none}.hero-menu{border-radius:10px;width:36px;height:36px;margin-left:4px;display:grid}.hero-menu .icon{width:36px;height:36px}.hero-menu:active{background:var(--surface-2)}.hero.section-hero{display:flex}.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 .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}.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-band{background:color-mix(in srgb, var(--bg) 40%, #000);flex:1;min-height:0}.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)}.add-pill{left:50%;bottom:calc(16px + env(safe-area-inset-bottom));z-index:6;border:1px solid var(--border);background:var(--surface-2);width:min(100% - 48px,360px);height:52px;color:var(--muted);border-radius:999px;align-items:center;gap:12px;padding:0 7px 0 22px;font-size:.9375rem;font-weight:500;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 10px 30px #00000073}.add-pill-text{text-align:left;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.add-pill-plus{background:var(--accent-fill);width:38px;height:38px;color:var(--accent-contrast);border-radius:50%;flex:none;place-items:center;display:grid}.add-pill-plus .icon{stroke-width:2.5px;width:20px;height:20px}.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{background-color:var(--bg);background-image:linear-gradient(to bottom, transparent 55%, var(--bg)), radial-gradient(60% 100% at 88% 0%, #d9775721, transparent 70%), linear-gradient(100deg, #0e0e0d, #1c1b19);background-repeat:no-repeat;background-size:100% 420px}.content{width:100%;max-width:var(--page-w);margin:0 auto;padding:0 24px 24px}.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 18px 40px #00000059}.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){.appbar-inner{height:56px}.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,.view-toggle,.today-btn,.menu-btn,.ed-bar .icon-btn,.btn.ed-save,.ed-color,.ed-kinds button{position:relative}.period-nav .icon-btn:before,.view-toggle:before,.today-btn:before,.menu-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));place-items:center;display:grid;overflow-y:auto}.auth-card{width:min(420px,100%)}.auth-brand{align-items:center;gap:12px;display:flex}.auth-logo{background:var(--accent-fill);width:44px;height:44px;color:var(--accent-contrast);border-radius:14px;place-items:center;display:grid}.auth-logo .icon{width:26px;height:26px}.auth-name{font-size:1.125rem;font-weight:700}.auth-title{letter-spacing:-.01em;margin:32px 0 8px;font-size:1.75rem;font-weight:700}.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}.account{overscroll-behavior:contain;overflow-y:auto}.account-inner{width:100%;max-width:640px;padding:14px 14px calc(24px + env(safe-area-inset-bottom));flex-direction:column;gap:12px;margin:0 auto;display:flex}.account-card{border-radius:var(--radius-lg);background:var(--surface);flex-direction:column;gap:10px;padding:18px;display:flex}.account-label{color:var(--muted-2);letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.75rem;font-weight:700}.account-email{overflow-wrap:anywhere;margin:0;font-size:1.125rem;font-weight:600}.account-sync{align-items:center;gap:10px;margin:0;font-weight:500;line-height:1.4;display:flex}.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{animation:1s ease-in-out infinite alternate account-pulse}}@keyframes account-pulse{to{opacity:.35}}.account-text{color:var(--muted);margin:0;font-size:.875rem;line-height:1.5}.account-btn{background:var(--surface-2);width:100%;color:var(--text)}.account-inner>.account-btn{background:var(--surface)}.account-btn:disabled{opacity:.6}.account-btn-danger,.account-inner>.account-btn.account-btn-danger{background:color-mix(in srgb, var(--danger) 14%, var(--surface-2));color:var(--danger)}.account-delete{flex-direction:column;gap:12px;display:flex}.account-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}
