:root{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#f3f5ef;background:#101311;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--bg: #101311;--panel: #181d19;--panel-raised: #1d241f;--border: rgba(232, 241, 229, .09);--muted: #9da69f;--lime: #c8f169;--lime-dark: #25351b;--danger: #ff847b}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0;background:radial-gradient(ellipse at 9% 0%,rgba(115,150,69,.09),transparent 34rem),var(--bg)}button,input{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid var(--lime);outline-offset:3px}a{color:inherit;text-decoration:none}.muted{color:var(--muted)}.eyebrow{margin:0 0 10px;color:var(--lime);font-size:.7rem;font-weight:700;letter-spacing:.16em}.brand{display:inline-flex;align-items:center;gap:10px;font-family:ui-sans-serif,system-ui,sans-serif;font-size:1.2rem;font-weight:700;letter-spacing:-.06em;white-space:nowrap}.brand-accent{color:var(--lime)}.brand-mark{display:flex;align-items:end;gap:3px;width:25px;height:23px;padding:3px;border:1px solid rgba(200,241,105,.6);border-radius:7px;transform:skew(-8deg)}.brand-mark span{width:4px;border-radius:3px;background:var(--lime)}.brand-mark span:nth-child(1){height:7px}.brand-mark span:nth-child(2){height:13px}.brand-mark span:nth-child(3){height:9px}.button{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:12px;padding:0 17px;font-weight:700;cursor:pointer;transition:transform .12s ease,background .12s ease,border-color .12s ease}.button:hover:not(:disabled){transform:translateY(-1px)}.button:disabled{cursor:not-allowed;opacity:.55}.button-primary{color:#16200e;background:var(--lime)}.button-primary:hover:not(:disabled){background:#d7ff86}.button-secondary{border-color:var(--border);background:#ffffff09}.button-secondary:hover:not(:disabled){border-color:#c8f16966;background:#c8f16912}.button-quiet{min-height:38px;padding:0 12px;color:var(--muted);background:transparent}.button-quiet:hover:not(:disabled){color:#f3f5ef;background:#ffffff0d}.button-wide{width:100%}.text-button{display:block;margin:17px auto 0;border:0;padding:5px;color:var(--lime);background:transparent;font-size:.9rem;cursor:pointer}.icon-button{display:inline-grid;width:38px;height:38px;place-items:center;border:1px solid var(--border);border-radius:10px;background:transparent;font-size:1.4rem;cursor:pointer}.danger-icon{color:var(--muted)}.danger-icon:hover{border-color:#ff847b66;color:var(--danger)}.auth-page{position:relative;display:grid;min-height:100svh;place-items:center;overflow:hidden;padding:32px 18px}.auth-glow{position:absolute;top:5%;left:50%;width:min(700px,100vw);height:500px;transform:translate(-50%);background:radial-gradient(ellipse,rgba(152,195,86,.12),transparent 70%);pointer-events:none}.auth-card{position:relative;width:min(100%,430px);border:1px solid var(--border);border-radius:24px;padding:38px;background:#181d19eb;box-shadow:0 24px 80px #00000052}.auth-card .brand{margin-bottom:42px}.auth-card h1{margin:0 0 9px;font-family:ui-sans-serif,system-ui,sans-serif;font-size:2rem;letter-spacing:-.055em}.auth-card>.muted{margin:0;font-size:.92rem;line-height:1.55}.auth-form{display:grid;gap:17px;margin-top:27px}.auth-form label,.builder-form label{display:grid;gap:8px;color:#e7ece5;font-size:.84rem;font-weight:600}input{width:100%;min-width:0;border:1px solid var(--border);border-radius:11px;padding:12px 13px;color:#f3f5ef;background:#111512}input::placeholder{color:#657069}.auth-form input{min-height:48px}.auth-form input[type=password]{letter-spacing:.22em}.inline-error{margin:0;color:var(--danger);font-size:.86rem}.auth-note{margin:24px 0 0;color:#818a83;font-size:.75rem;line-height:1.55;text-align:center}.app-shell{width:min(1120px,calc(100% - 48px));min-height:100vh;margin:0 auto;padding:27px 0 22px}.topbar,.account-area{display:flex;align-items:center;justify-content:space-between}.topbar{min-height:45px}.account-area{gap:16px}.account-name{display:flex;align-items:center;gap:8px;color:#d1d8d0;font-size:.83rem}.online-dot{width:7px;height:7px;border-radius:50%;background:var(--lime);box-shadow:0 0 12px #c8f169a6}.welcome-row{display:flex;align-items:center;justify-content:space-between;margin:58px 0 36px}.welcome-row h1{margin:0;font-family:ui-sans-serif,system-ui,sans-serif;font-size:clamp(2.4rem,5vw,3.8rem);line-height:1.05;letter-spacing:-.07em}.welcome-row .muted{margin:14px 0 0;font-size:.96rem}.welcome-badge{display:grid;width:92px;height:92px;place-items:center;border:1px solid rgba(200,241,105,.2);border-radius:28px;background:linear-gradient(145deg,#c8f1691f,#c8f16905);transform:rotate(4deg)}.welcome-badge span{color:var(--lime);font-size:2.8rem;transform:rotate(-4deg)}.tabs{display:flex;align-items:center;gap:28px;border-bottom:1px solid var(--border)}.tab{position:relative;display:inline-flex;min-height:48px;align-items:center;gap:8px;border:0;padding:0 0 3px;color:var(--muted);background:transparent;font-size:.87rem;cursor:pointer}.tab>span{display:grid;min-width:20px;height:20px;place-items:center;border-radius:7px;padding:0 5px;background:#ffffff12;color:#bdc5bd;font-size:.68rem}.tab.active{color:#f3f5ef}.tab.active:after{position:absolute;right:0;bottom:-1px;left:0;height:2px;background:var(--lime);content:""}.tab.active>span{color:var(--lime);background:var(--lime-dark)}.save-status{margin-left:auto;color:#849086;font-size:.74rem}.notice{margin-top:18px;border:1px solid rgba(200,241,105,.18);border-radius:10px;padding:10px 13px;color:#cbd6c1;background:#c8f1690e;font-size:.84rem}.notice-error{border-color:#ff847b47;color:#ffaaa3;background:#ff847b0f}.content-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);gap:24px;padding-top:24px}.list-column{min-width:0}.card-list{display:grid;gap:12px}.workout-card,.builder-card{border:1px solid var(--border);border-radius:17px;background:linear-gradient(145deg,#1d241ff0,#171c18eb)}.workout-card{padding:19px 20px}.workout-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.workout-card h3,.history-row h3{margin:0;font-family:ui-sans-serif,system-ui,sans-serif;font-size:1.02rem;letter-spacing:-.025em}.workout-card .muted{margin:7px 0 0;font-size:.78rem}.duration-pill{flex:0 0 auto;border:1px solid rgba(200,241,105,.13);border-radius:8px;padding:6px 9px;color:var(--lime);background:#c8f1690f;font-size:.75rem;font-variant-numeric:tabular-nums}.card-actions{display:flex;align-items:center;gap:9px;margin-top:17px}.card-actions .button{min-height:39px;padding:0 13px;font-size:.8rem}.card-actions .danger-icon{margin-left:auto}.builder-card{padding:21px}.section-heading{display:flex;align-items:center;gap:12px}.section-heading h2,.section-intro h2,.empty-state h2{margin:0;font-family:ui-sans-serif,system-ui,sans-serif;letter-spacing:-.045em}.section-heading h2{font-size:1.05rem}.section-heading .muted{margin:4px 0 0;font-size:.76rem}.section-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:12px;color:var(--lime);background:#c8f1691a;font-size:1.4rem}.builder-form{display:grid;gap:15px;margin-top:21px}.builder-form input{padding:10px 11px}.builder-form small{color:var(--muted);font-size:.7rem;font-weight:400}.input-row{display:grid;grid-template-columns:1fr 1fr;gap:11px}.builder-form .button{margin-top:2px}.empty-state{display:grid;min-height:250px;align-content:center;justify-items:center;border:1px dashed rgba(232,241,229,.13);border-radius:17px;padding:26px;text-align:center}.empty-state h2{margin-top:13px;font-size:1.25rem}.empty-state .muted{margin:8px 0 18px;font-size:.84rem}.empty-icon{display:grid;width:46px;height:46px;place-items:center;border-radius:15px;color:var(--lime);background:#c8f1691a;font-size:1.5rem}.section-content{padding-top:30px}.section-intro{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.section-intro h2{font-size:1.75rem}.section-intro .muted{max-width:330px;margin:0;font-size:.84rem;text-align:right}.compact-empty{min-height:210px}.history-list{overflow:hidden;border:1px solid var(--border);border-radius:16px;background:#181d19bf}.history-row{display:flex;align-items:center;gap:14px;padding:17px 19px}.history-row+.history-row{border-top:1px solid var(--border)}.history-row>div{min-width:0;flex:1}.history-check{display:grid;width:35px;height:35px;flex:0 0 auto;place-items:center;border-radius:50%;color:var(--lime);background:#c8f1691a}.history-row .muted{margin:5px 0 0;font-size:.76rem}.app-footer{margin-top:48px;color:#707a72;font-size:.75rem;text-align:center}.app-footer span{margin:0 7px;color:var(--lime)}.loading-screen{display:grid;min-height:100svh;align-content:center;justify-items:center;gap:17px;color:var(--muted)}.loading-screen .brand{margin-bottom:8px;color:#f3f5ef}.loading-orb{width:30px;height:30px;border:2px solid rgba(200,241,105,.2);border-top-color:var(--lime);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.timer-page{min-height:100svh;padding:22px max(24px,env(safe-area-inset-left));background:radial-gradient(ellipse at 50% 40%,rgba(133,167,72,.13),transparent 36rem),var(--bg);transition:background .3s ease}.timer-page.is-rest{background:radial-gradient(ellipse at 50% 40%,rgba(83,144,167,.13),transparent 36rem),var(--bg)}.timer-topbar{display:flex;align-items:center;justify-content:space-between}.timer-stage{display:grid;width:min(720px,100%);min-height:calc(100svh - 110px);align-content:center;justify-items:center;margin:0 auto;padding:22px 0 30px}.timer-notice{width:100%;margin:0 0 16px}.timer-title-row{display:flex;width:100%;align-items:center;justify-content:space-between;gap:14px}.timer-title-row .eyebrow{margin-bottom:4px;font-size:.78rem}.timer-title-row .muted{margin:0;font-size:.8rem}.sound-toggle{display:inline-flex;min-height:37px;align-items:center;gap:7px;border:1px solid var(--border);border-radius:10px;padding:0 11px;color:var(--muted);background:#ffffff06;font-size:.76rem;cursor:pointer}.sound-toggle.sound-on{color:var(--lime);border-color:#c8f16933}.timer-face{width:100%;margin:30px 0 22px;border:1px solid var(--border);border-radius:32px;padding:clamp(28px,6vw,55px) 25px 28px;background:linear-gradient(145deg,#1d241fde,#121713e6);text-align:center;box-shadow:0 25px 70px #0000003d}.timer-phase{color:var(--lime);font-size:.8rem;font-weight:700;letter-spacing:.18em}.is-rest .timer-phase{color:#88d3eb}.timer-count{margin:6px 0 17px;font-family:ui-sans-serif,system-ui,sans-serif;font-size:clamp(5rem,18vw,10.6rem);font-variant-numeric:tabular-nums;font-weight:600;line-height:1;letter-spacing:-.08em}.timer-progress{overflow:hidden;width:min(410px,86%);height:7px;margin:0 auto;border-radius:10px;background:#ffffff14}.timer-progress span{display:block;height:100%;border-radius:inherit;background:var(--lime);transition:width .2s linear}.is-rest .timer-progress span{background:#88d3eb}.timer-next{min-height:20px;margin:15px 0 0;color:var(--muted);font-size:.85rem}.timer-controls{display:flex;align-items:center;justify-content:center;gap:12px}.timer-main-button{min-width:175px;min-height:55px;border-radius:15px;font-size:1rem}.timer-controls .button-secondary{min-height:50px}.timer-total{margin:20px 0 0;color:#879087;font-size:.78rem}@media(max-width:780px){.app-shell{width:min(100% - 32px,600px);padding-top:19px}.welcome-row{margin:40px 0 27px}.welcome-badge{width:72px;height:72px;border-radius:22px}.welcome-badge span{font-size:2.2rem}.content-grid{grid-template-columns:1fr}.builder-card{order:-1}}@media(max-width:520px){.auth-card{padding:27px 22px}.auth-card .brand{margin-bottom:34px}.app-shell{width:calc(100% - 28px)}.topbar .brand{font-size:1.05rem}.account-area{gap:6px}.account-name{max-width:112px;overflow:hidden;font-size:.75rem;text-overflow:ellipsis}.account-area .button{padding:0 8px;font-size:.75rem}.welcome-row{margin-top:34px}.welcome-row h1{font-size:2.55rem}.welcome-row .muted{max-width:280px;font-size:.84rem;line-height:1.5}.welcome-badge{width:56px;height:56px;border-radius:18px}.welcome-badge span{font-size:1.7rem}.tabs{gap:clamp(12px,4vw,23px)}.tab{gap:5px;font-size:.75rem}.tab>span{min-width:17px;height:17px;font-size:.62rem}.save-status{display:none}.workout-card{padding:16px}.workout-card .muted{max-width:230px;line-height:1.4}.section-intro{display:block}.section-intro h2{font-size:1.55rem}.section-intro>.muted{margin-top:10px;text-align:left}.timer-page{padding:15px max(14px,env(safe-area-inset-left))}.timer-topbar .brand{font-size:1rem}.timer-topbar .button{min-height:36px;padding:0 8px;font-size:.75rem}.timer-stage{min-height:calc(100svh - 72px)}.timer-face{border-radius:23px}}@media(orientation:landscape)and (max-height:560px){.timer-page{min-height:100svh;padding-top:max(10px,env(safe-area-inset-top));padding-bottom:max(10px,env(safe-area-inset-bottom))}.timer-topbar{min-height:33px}.timer-topbar .brand{font-size:.98rem}.timer-topbar .brand-mark{width:21px;height:20px}.timer-topbar .button{min-height:32px}.timer-stage{width:min(1050px,100%);min-height:calc(100svh - 46px);grid-template-columns:minmax(0,1fr) minmax(240px,1.05fr);grid-template-rows:1fr auto;align-items:center;justify-items:stretch;gap:0 34px;padding:5px 0}.timer-title-row{grid-column:1;align-self:end}.timer-face{grid-column:2;grid-row:1 / 3;margin:0;padding:20px 16px;border-radius:24px}.timer-phase{font-size:.68rem}.timer-count{margin:4px 0 10px;font-size:clamp(4.5rem,16vh,7.5rem)}.timer-next{margin-top:9px;font-size:.73rem}.timer-progress{height:5px}.timer-controls{grid-column:1;align-self:start;justify-content:flex-start;margin-top:14px}.timer-main-button{min-width:140px;min-height:46px}.timer-controls .button-secondary{min-height:44px}.timer-total{grid-column:1;align-self:start;margin-top:12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
