.auth-page{min-height:100dvh;background:var(--bg);display:flex;align-items:center;justify-content:center;padding:24px 20px}.auth-card{width:100%;max-width:420px;display:flex;flex-direction:column;gap:24px}.auth-logo{display:flex;align-items:center;justify-content:center;gap:10px}.logo-icon{font-size:2.2rem}.logo-text{font-size:2rem;font-weight:900;color:var(--accent);letter-spacing:-.03em}.auth-tagline{text-align:center;color:var(--text-sub);font-size:.95rem;margin-top:-12px}.auth-form{display:flex;flex-direction:column;gap:16px}.auth-switch{text-align:center;color:var(--text-sub);font-size:.9rem}.auth-switch a{color:var(--accent);text-decoration:none;font-weight:600}.app-shell{display:flex;flex-direction:column;min-height:100dvh;max-width:480px;margin:0 auto;position:relative}.app-header{position:sticky;top:0;z-index:100;height:var(--header-height);background:var(--bg);border-bottom:1px solid var(--border);display:flex;align-items:center;padding:0 16px;gap:12px}.header-logo{display:flex;align-items:center;gap:8px;font-size:1.1rem}.header-brand{font-weight:800;color:var(--accent);font-size:1rem;letter-spacing:-.01em}.header-title{flex:1;font-size:1rem;font-weight:700;text-align:center;color:var(--text)}.header-spacer{width:60px}.back-btn{display:flex;align-items:center;gap:4px;color:var(--accent);font-size:.9rem;font-weight:600;padding:8px 0;min-width:60px}.app-main{flex:1;overflow-y:auto;overscroll-behavior:contain}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:480px;height:var(--nav-height);background:var(--surface);border-top:1px solid var(--border);display:flex;align-items:center;z-index:200}.nav-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:10px;color:var(--text-muted);font-size:.7rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;transition:color .15s}.nav-item.active{color:var(--accent)}.nav-item:active{opacity:.7}.home-page{padding:20px 16px 0;display:flex;flex-direction:column;gap:20px}.home-greeting{line-height:1.2}.greeting-sub{font-size:.9rem;color:var(--text-sub)}.greeting-name{font-size:1.8rem;font-weight:800;letter-spacing:-.02em}.stats-strip{display:flex;align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px 8px}.stat-card{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px}.stat-value{font-size:1.5rem;font-weight:800;line-height:1}.stat-value.accent{color:var(--accent)}.stat-label{font-size:.65rem;font-weight:600;color:var(--text-sub);text-transform:uppercase;letter-spacing:.05em;text-align:center}.stat-divider{width:1px;height:36px;background:var(--border)}.day-strip{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:2px 0}.day-strip::-webkit-scrollbar{display:none}.day-pill{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:40px;padding:10px 6px;border-radius:var(--radius-sm);background:var(--surface);border:1.5px solid transparent;flex-shrink:0}.day-pill.today{border-color:var(--accent)}.day-pill.done{background:var(--accent-dim)}.day-label{font-size:.7rem;font-weight:600;color:var(--text-sub)}.day-pill.today .day-label{color:var(--accent)}.day-dot{width:6px;height:6px;border-radius:50%;background:var(--text-muted)}.day-pill.today .day-dot,.day-pill.done .day-dot{background:var(--accent)}.week-header{display:flex;align-items:center;gap:10px}.section-heading{font-size:1.15rem;font-weight:800}.week-badge{font-size:.7rem;font-weight:700;color:var(--accent);background:var(--accent-dim);padding:3px 10px;border-radius:100px;letter-spacing:.04em;text-transform:uppercase}.subsection-heading{font-size:.95rem;font-weight:700;color:var(--text-sub);margin-bottom:-8px}.workout-list{display:flex;flex-direction:column;gap:10px}.workout-card{display:flex;align-items:center;gap:12px;background:var(--surface);border:1.5px solid var(--border);border-radius:var(--radius);padding:14px 12px 14px 14px;text-align:left;width:100%;transition:border-color .15s}.workout-card:active{opacity:.8;transform:scale(.99)}.workout-card.done{border-color:var(--accent-dim)}.workout-card.today-card{border-color:var(--accent)}.wcard-left{flex-shrink:0}.wcard-icon{width:44px;height:44px;border-radius:12px;background:var(--surface-2);display:flex;align-items:center;justify-content:center;font-size:1.1rem;font-weight:800;color:var(--accent);border:1.5px solid var(--border)}.wcard-icon.icon-done{background:var(--accent);color:#0a0a0a;border-color:var(--accent)}.mobility-icon{color:var(--accent-mob)}.wcard-icon.mobility-icon.icon-done{background:var(--accent-mob);color:#0a0a0a}.wcard-body{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}.wcard-top{display:flex;align-items:center;gap:8px}.wcard-name{font-size:1rem;font-weight:700}.today-tag{font-size:.65rem;font-weight:700;color:var(--accent);background:var(--accent-dim);padding:2px 8px;border-radius:100px;text-transform:uppercase;letter-spacing:.04em}.wcard-meta{font-size:.78rem;color:var(--text-sub)}.wcard-progress{height:3px;background:var(--surface-3);border-radius:2px;margin-top:4px;overflow:hidden}.wcard-progress-bar{height:100%;background:var(--accent);border-radius:2px;transition:width .4s}.mobility-bar{background:var(--accent-mob)}.wcard-arrow{flex-shrink:0;opacity:.5}.workout-detail-page{padding:0 0 20px}.workout-hero{padding:20px 16px 24px;background:var(--surface);border-bottom:1px solid var(--border);display:flex;flex-direction:column;gap:10px}.workout-hero-meta{display:flex;gap:8px;align-items:center}.workout-type-tag,.workout-day-tag{font-size:.7rem;font-weight:700;padding:3px 10px;border-radius:100px;letter-spacing:.04em;text-transform:uppercase}.tag-strength{background:var(--accent-dim);color:var(--accent)}.tag-mobility{background:#7ec8ff22;color:#7ec8ff}.workout-day-tag{background:var(--surface-3);color:var(--text-sub)}.workout-hero-title{font-size:1.6rem;font-weight:800;letter-spacing:-.02em}.workout-hero-stats{font-size:.85rem;color:var(--text-sub);display:flex;gap:6px}.workout-progress-wrap{display:flex;align-items:center;gap:10px;margin-top:4px}.workout-progress-track{flex:1;height:6px;background:var(--surface-3);border-radius:3px;overflow:hidden}.workout-progress-fill{height:100%;background:var(--accent);border-radius:3px;transition:width .4s}.workout-progress-label{font-size:.78rem;color:var(--text-sub);white-space:nowrap}.exercise-list{padding:12px 16px;display:flex;flex-direction:column;gap:8px}.exercise-row{display:flex;align-items:center;gap:12px;background:var(--surface);border:1.5px solid var(--border);border-radius:var(--radius);padding:14px 12px;width:100%;text-align:left;transition:border-color .15s}.exercise-row:active{opacity:.8}.exercise-row.ex-done{border-color:var(--accent-dim)}.ex-number{width:32px;height:32px;flex-shrink:0;border-radius:50%;background:var(--surface-2);border:1.5px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700;color:var(--text-sub)}.ex-done .ex-number{background:var(--accent);color:#0a0a0a;border-color:var(--accent)}.ex-info{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}.ex-name{font-size:.95rem;font-weight:700}.ex-meta{font-size:.78rem;color:var(--text-sub)}.ex-logged{color:var(--accent)}.ex-muscles{display:flex;flex-wrap:wrap;gap:4px;margin-top:2px}.muscle-tag{font-size:.62rem;font-weight:600;color:var(--text-muted);background:var(--surface-3);padding:2px 7px;border-radius:100px;text-transform:uppercase;letter-spacing:.04em}.workout-cta-wrap{padding:8px 16px 0}.workout-complete-banner{margin:16px;padding:16px;background:var(--accent-dim);border:1px solid var(--accent);border-radius:var(--radius);display:flex;align-items:center;justify-content:center;gap:10px;font-size:1rem;font-weight:700;color:var(--accent)}.ex-screen{display:flex;flex-direction:column;min-height:100dvh;max-width:480px;margin:0 auto;background:var(--bg);padding-bottom:80px}.ex-topbar{display:flex;align-items:center;height:var(--header-height);padding:0 16px;gap:10px;border-bottom:1px solid var(--border);background:var(--bg);position:sticky;top:0;z-index:100}.ex-back-btn{padding:8px 8px 8px 0}.ex-topbar-info{flex:1;display:flex;flex-direction:column;align-items:center}.ex-workout-name{font-size:.75rem;color:var(--text-sub);font-weight:600;text-transform:uppercase;letter-spacing:.05em}.ex-counter{font-size:.9rem;color:var(--text);font-weight:700}.ex-topbar-spacer{width:36px}.ex-progress-track{height:3px;background:var(--surface-2);overflow:hidden}.ex-progress-fill{height:100%;background:var(--accent);transition:width .4s}.ex-title-wrap{padding:20px 16px 14px;display:flex;flex-direction:column;gap:10px}.ex-title{font-size:1.5rem;font-weight:800;letter-spacing:-.02em}.ex-pills{display:flex;flex-wrap:wrap;gap:6px}.ex-pill{font-size:.72rem;font-weight:700;padding:4px 10px;border-radius:100px;background:var(--surface-2);border:1px solid var(--border);color:var(--text-sub);text-transform:uppercase;letter-spacing:.04em}.ex-pill.muscle{color:var(--text-muted)}.ex-tabs{display:flex;border-bottom:1px solid var(--border);padding:0 16px;gap:0}.ex-tab{flex:1;padding:12px 8px;font-size:.85rem;font-weight:700;color:var(--text-muted);border-bottom:2.5px solid transparent;transition:color .15s,border-color .15s;text-transform:uppercase;letter-spacing:.05em}.ex-tab.active{color:var(--accent);border-bottom-color:var(--accent)}.ex-tab-content{flex:1;padding:20px 16px}.log-header-row{display:grid;grid-template-columns:32px 1fr 1fr 28px;gap:8px;padding:0 4px 10px}.log-col-label{font-size:.65rem;font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;text-align:center}.set-row{display:grid;grid-template-columns:32px 1fr 1fr 28px;align-items:center;gap:8px;margin-bottom:10px}.set-number{width:32px;height:32px;border-radius:50%;background:var(--surface-2);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700;color:var(--text-sub)}.set-input-wrap{display:flex;align-items:center;background:var(--surface-2);border:1.5px solid var(--border);border-radius:var(--radius-sm);overflow:hidden}.set-stepper{width:36px;height:46px;font-size:1.2rem;font-weight:700;color:var(--text-sub);flex-shrink:0;display:flex;align-items:center;justify-content:center;transition:background .1s}.set-stepper:active{background:var(--surface-3)}.set-input{flex:1;min-width:0;text-align:center;background:transparent;border:none;color:var(--text);font-size:1rem;font-weight:700;padding:12px 2px;outline:none;-moz-appearance:textfield}.set-input::-webkit-inner-spin-button,.set-input::-webkit-outer-spin-button{-webkit-appearance:none}.set-remove{width:28px;height:28px;display:flex;align-items:center;justify-content:center;opacity:.6}.set-remove:active{opacity:1}.add-set-btn{width:100%;padding:12px;margin:4px 0 16px;border:1.5px dashed var(--border);border-radius:var(--radius-sm);color:var(--text-sub);font-size:.9rem;font-weight:600;transition:border-color .15s,color .15s}.add-set-btn:active{border-color:var(--accent);color:var(--accent)}.save-btn{margin-top:4px}.video-tab{display:flex;flex-direction:column;gap:16px}.video-wrap{position:relative;width:100%;padding-top:56.25%;border-radius:var(--radius);overflow:hidden;background:#000}.video-wrap iframe{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.video-caption{font-size:.82rem;color:var(--text-sub);text-align:center}.guide-tab{display:flex;flex-direction:column;gap:16px}.guide-heading{font-size:1rem;font-weight:700;color:var(--text-sub);text-transform:uppercase;letter-spacing:.06em}.guide-steps{list-style:none;display:flex;flex-direction:column;gap:12px}.guide-step{display:flex;gap:14px;align-items:flex-start}.step-num{flex-shrink:0;width:28px;height:28px;border-radius:50%;background:var(--accent);color:#0a0a0a;font-size:.8rem;font-weight:800;display:flex;align-items:center;justify-content:center}.guide-step p{flex:1;font-size:.95rem;line-height:1.5;color:var(--text);padding-top:3px}.ex-bottom-nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:480px;display:flex;gap:10px;padding:10px 16px 16px;background:var(--bg);border-top:1px solid var(--border);z-index:200}.ex-nav-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:14px;border-radius:var(--radius);font-size:.95rem;font-weight:700;transition:opacity .15s,transform .1s}.ex-nav-btn:active{transform:scale(.97)}.ex-nav-btn.prev{background:var(--surface-2);color:var(--text-sub);border:1.5px solid var(--border)}.ex-nav-btn.prev:disabled{opacity:.3;pointer-events:none}.ex-nav-btn.next{background:var(--accent);color:#0a0a0a}.ex-screen-error{padding:40px 24px;text-align:center;color:var(--text-sub)}.settings-page{padding:20px 16px;display:flex;flex-direction:column;gap:24px}.settings-section{display:flex;flex-direction:column;gap:14px}.section-title{font-size:.75rem;font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:.08em}.settings-form{display:flex;flex-direction:column;gap:14px}.info-row{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm)}.info-label{font-size:.9rem;color:var(--text-sub)}.info-value{font-size:.9rem;font-weight:600}.info-value.accent{color:var(--accent)}.logout-btn{width:100%;margin-top:8px}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--accent: #A2FF86;--accent-dim: #A2FF8633;--accent-mob: #7EC8FF;--bg: #0e0e0e;--surface: #181818;--surface-2: #222222;--surface-3: #2a2a2a;--border: #2e2e2e;--text: #f0f0f0;--text-sub: #888;--text-muted: #555;--red: #FF5C5C;--radius: 14px;--radius-sm: 8px;--nav-height: 64px;--header-height:56px}html{font-size:16px}body{background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;overscroll-behavior:none}button{cursor:pointer;border:none;background:none;font-family:inherit}input{font-family:inherit}.btn-primary{display:flex;align-items:center;justify-content:center;gap:8px;width:auto;padding:15px 28px;background:var(--accent);color:#0a0a0a;font-size:1rem;font-weight:700;border-radius:var(--radius);transition:opacity .15s,transform .1s;letter-spacing:.01em}.btn-primary:active{transform:scale(.97);opacity:.9}.btn-primary:disabled{opacity:.4;pointer-events:none}.btn-primary.saved{background:#4caf50}.btn-full{width:100%}.btn-danger{display:flex;align-items:center;justify-content:center;padding:15px 28px;background:transparent;color:var(--red);font-size:1rem;font-weight:600;border:1.5px solid var(--red);border-radius:var(--radius);transition:background .15s}.btn-danger:active{background:#ff5c5c22}.form-group{display:flex;flex-direction:column;gap:6px}.form-group label{font-size:.8rem;font-weight:600;color:var(--text-sub);letter-spacing:.06em;text-transform:uppercase}.form-group input{background:var(--surface-2);border:1.5px solid var(--border);color:var(--text);border-radius:var(--radius-sm);padding:14px 16px;font-size:1rem;outline:none;transition:border-color .2s;-webkit-appearance:none}.form-group input:focus{border-color:var(--accent)}.auth-error{color:var(--red);font-size:.875rem;text-align:center}.auth-success{color:var(--accent);font-size:.875rem;text-align:center}.btn-spinner{display:inline-block;width:18px;height:18px;border:2.5px solid #0a0a0a88;border-top-color:#0a0a0a;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.bottom-spacer{height:calc(var(--nav-height) + 24px)}.not-found{padding:40px 24px;text-align:center;color:var(--text-sub)}
