:root{--text:#57534e;--text-h:#1c1917;--bg:#f7f6f2;--surface:#fffefb;--border:#e2ded6;--code-bg:#edeae2;--accent:#9a6210;--on-accent:#fdfcf9;--accent-bg:#9a621017;--accent-border:#9a621073;--danger:#b3362a;--shadow:#1c191714 0 10px 15px -3px, #1c19170d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;font-variant-numeric:tabular-nums;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#a8adb8;--text-h:#f2f3f5;--bg:#17181c;--surface:#1f2126;--border:#2c2e35;--code-bg:#22242b;--accent:#e8a33d;--on-accent:#1c1408;--accent-bg:#e8a33d1f;--accent-border:#e8a33d80;--danger:#e07a6a;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}}#root{box-sizing:border-box;flex-direction:column;width:100%;max-width:480px;min-height:100svh;margin:0 auto;display:flex}*,:before,:after{box-sizing:border-box}body{margin:0}button{font:inherit;-webkit-tap-highlight-color:transparent}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}h1,h2,h3{font-family:var(--heading);color:var(--text-h);font-weight:600}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:20px;line-height:118%}h3{margin:0 0 8px;font-size:17px}p{margin:0}ul{margin:0;padding:0;list-style:none}code{font-family:var(--mono);color:var(--text-h);background:var(--code-bg);border-radius:4px;padding:4px 8px;font-size:15px;line-height:135%;display:inline-flex}.app{flex-direction:column;min-height:100svh;display:flex}.app__main{padding:16px 16px calc(16px + env(safe-area-inset-bottom,0px));flex:1;overflow-y:auto}.app button{cursor:pointer;transition:background-color .15s,border-color .15s,color .15s,opacity .15s,transform .1s}.app button:active:not(:disabled){transform:translateY(1px)}.app button:disabled{cursor:default}@media (prefers-reduced-motion:reduce){.app button{transition:none}.app button:active:not(:disabled){transform:none}}.app__tabs{border-top:1px solid var(--border);background:var(--bg);padding-bottom:env(safe-area-inset-bottom,0px);display:flex}.app__tab{min-height:52px;color:var(--text);background:0 0;border:none;flex:1;font-size:13px;position:relative}.app__tab--active{color:var(--accent);font-weight:600}.app__tab--active:after{content:"";background:var(--accent);height:2px;position:absolute;top:-1px;left:20%;right:20%}.app-boot-loading,.boot-aborted{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:100svh;padding:24px;display:flex}.boot-aborted button{border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--text-h);border-radius:8px;padding:0 16px}.boot-aborted button:disabled{opacity:.5}.boot-aborted__export-error{color:var(--danger);font-size:13px}.app-boot-loading p,.today-entry__loading{color:var(--text);animation:1.6s ease-in-out infinite loading-pulse}@keyframes loading-pulse{0%,to{opacity:1}50%{opacity:.45}}@media (prefers-reduced-motion:reduce){.app-boot-loading p,.today-entry__loading{animation:none}}.today-entry__sets,.today-menu__sets,.workout-recorder__counter{align-items:center;gap:12px;margin:8px 0;display:flex}.today-entry__sets button,.today-menu__sets button,.workout-recorder__counter button{border:1px solid var(--border);background:var(--code-bg);min-width:44px;min-height:44px;color:var(--text-h);border-radius:8px;font-size:20px}.today-entry__sets button:disabled,.today-menu__sets button:disabled,.workout-recorder__counter button:disabled{opacity:.4}.workout-recorder__executing-note{color:var(--accent);font-size:13px;font-weight:600}.workout-recorder__target-label{color:var(--text);margin:0 0 8px;font-size:13px}.today-entry,.today-menu__item{border:1px solid var(--border);background:var(--surface);border-radius:12px;margin-bottom:12px;padding:12px}.today-entry__actions{flex-direction:column;gap:8px;margin-top:8px;display:flex}.today-entry__actions button,.program-selector__item,.workout-recorder__save,.workout-recorder__set-controls button{border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--text-h);border-radius:8px}.today-entry__actions button,.workout-recorder__save,.promotion-suggestion__actions .promotion-suggestion__approve{background:var(--accent);border-color:var(--accent);color:var(--on-accent);font-weight:600}.today-entry__actions button:disabled,.workout-recorder__save:disabled,.promotion-suggestion__actions .promotion-suggestion__approve:disabled{opacity:.5}.week-calendar{grid-template-columns:repeat(7,1fr);gap:4px;margin-bottom:16px;display:grid}.week-calendar__cell{border:1px solid #0000;border-radius:8px;flex-direction:column;align-items:center;gap:2px;min-height:76px;padding:6px 2px;display:flex}.week-calendar__cell--today{border-color:var(--accent);background:var(--accent-bg)}.week-calendar__cell--rest .week-calendar__day{color:var(--text)}.week-calendar__weekday{color:var(--text);font-size:11px}.week-calendar__cell--today .week-calendar__weekday{color:var(--accent);font-weight:600}.week-calendar__day{color:var(--text-h);font-size:14px;font-weight:600}.week-calendar__exercises{flex-direction:column;gap:1px;display:flex}.week-calendar__exercise{letter-spacing:0;color:var(--text-h);text-align:center;font-size:10px;line-height:1.3}.week-calendar__rest{color:var(--text);opacity:.7;font-size:10px}.today-menu--rest,.today-screen--rest,.today-screen--no-program,.today-screen--error{text-align:center;padding:32px 16px}.today-screen__debug-note{color:var(--text);margin-bottom:8px;font-size:12px}.motion-sprite-wrapper{position:relative}.motion-sprite__probe{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute;overflow:hidden}.motion-sprite{aspect-ratio:1;background-color:var(--code-bg);background-position:0 0;background-repeat:no-repeat;border-radius:8px;width:100%;max-width:220px;margin:8px 0}.motion-sprite--animated{--sprite-frames:4;background-size:calc(var(--sprite-frames) * 100%) 100%;animation:motion-sprite-play 3s steps(var(--sprite-frames), end) infinite}@keyframes motion-sprite-play{0%{background-position-x:0%}to{background-position-x:calc(var(--sprite-frames) / (var(--sprite-frames) - 1) * 100%)}}@media (prefers-reduced-motion:reduce){.motion-sprite--animated{background-position-x:0%;animation:none}}.motion-sprite--placeholder{color:var(--text);text-align:center;justify-content:center;align-items:center;padding:8px;font-size:13px;display:flex}.workout-recorder__sets{margin:8px 0}.workout-recorder__set{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:4px;display:flex}.workout-recorder__set-controls{gap:8px;margin:8px 0;display:flex}.live-set-guide{border:2px solid var(--accent);background:var(--accent-bg);text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:8px;margin:8px 0;padding:12px;display:flex}.live-set-guide__preparing{color:var(--text);font-size:13px}.live-set-guide__status{flex-direction:column;align-items:center;display:flex}.live-set-guide__countdown{font-family:var(--mono);color:var(--text-h);font-variant-numeric:tabular-nums;font-size:56px;font-weight:700;line-height:1.1}.live-set-guide__phase-label,.live-set-guide__rep-number{color:var(--text);font-size:14px}.live-set-guide__stop{border:1px solid var(--border);background:var(--surface);min-width:88px;min-height:44px;color:var(--text-h);border-radius:8px}.workout-recorder__memo{flex-direction:column;gap:4px;margin:8px 0;font-size:13px;display:flex}.workout-recorder__memo textarea{font:inherit;border:1px solid var(--border);background:var(--surface);color:var(--text-h);border-radius:8px;min-height:60px;padding:8px}.promotion-suggestion{border:2px solid var(--accent);background:var(--accent-bg);border-radius:12px;padding:12px}.promotion-suggestion__actions{gap:8px;margin-top:12px;display:flex}.promotion-suggestion__actions button{border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--text-h);border-radius:8px;flex:1}.steps-screen__exercise-tabs{gap:8px;margin-bottom:8px;padding-bottom:8px;display:flex;overflow-x:auto}.steps-screen__exercise-tabs button{border:1px solid var(--border);background:var(--surface);white-space:nowrap;border-radius:20px;flex:none;min-height:40px;padding:0 12px}.steps-screen__exercise-tabs button[aria-selected=true]{background:var(--accent);color:var(--on-accent);border-color:var(--accent);font-weight:600}.steps-screen__item{border-bottom:1px solid var(--border)}.steps-screen__item button{text-align:left;width:100%;min-height:48px;color:var(--text-h);background:0 0;border:none}.steps-screen__item--current button{color:var(--accent);font-weight:600}.steps-screen__current-badge{background:var(--accent-bg);color:var(--accent);border-radius:10px;margin-left:8px;padding:2px 6px;font-size:11px}.steps-screen__detail{padding:8px 0 16px}.steps-screen__description{color:var(--text-h);margin:8px 0 16px;font-size:14px;line-height:1.6}.steps-screen__standards th,.steps-screen__standards td{text-align:left;padding:4px 12px 4px 0;font-size:14px}.program-selector li{margin-bottom:12px}.program-selector__item{text-align:left;flex-direction:column;gap:4px;width:100%;padding:12px;display:flex}.program-selector__item--selected{border-color:var(--accent);background:var(--accent-bg)}.program-selector__english-name,.program-selector__transition-note{color:var(--text);font-size:12px}.dashboard-screen__section{margin-bottom:32px}.dashboard-screen__section>h2{border-bottom:1px solid var(--border);margin:0 0 12px;padding-bottom:6px;font-size:18px}.progress-screen section{margin-bottom:24px}.progress-screen li{border-bottom:1px solid var(--border);padding:6px 0;font-size:14px}.settings-screen__section{margin-bottom:24px}.settings-screen__section button:not(.program-selector__item){border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--text-h);border-radius:8px;padding:0 16px}.settings-screen__file-label{flex-direction:column;gap:4px;margin:8px 0;font-size:13px;display:flex}.settings-screen__error{color:var(--danger);margin-top:8px;font-size:13px}.settings-screen__preview{border:1px solid var(--border);background:var(--surface);border-radius:12px;margin-top:12px;padding:12px}.settings-screen__warning{color:var(--text);font-size:13px}.settings-screen__preview-actions{gap:8px;margin-top:12px;display:flex}.settings-screen__preview-actions button{flex:1}
