@charset "UTF-8";:root{--bg-page:linear-gradient(135deg,#f8fafc,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%,#f8fafc);--bg-card:#fff;--bg-section:#f8fafc;--text-primary:#1e293b;--text-secondary:#475569;--border:#e2e8f0;--input-bg:#fff;--input-border:#202c444d;--shadow:0 4px 12px #00000014;--radius-sm:2px;--radius-md:4px;--radius-lg:6px;--radius-xl:8px}[data-theme=dark]{--bg-page:linear-gradient(135deg,#0f172a,#1e293b 25%,#334155 50%,#1e293b 75%,#0f172a);--bg-card:#1e293b;--bg-section:#334155;--text-primary:#f1f5f9;--text-secondary:#94a3b8;--border:#475569;--input-bg:#334155;--input-border:#475569;--shadow:0 4px 12px #0000004d}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(135deg,#f8fafc,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%,#f8fafc);background:var(--bg-page);color:#1e293b;color:var(--text-primary);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;min-height:100vh;transition:background .3s ease,color .2s ease}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.loading-spinner{animation:loading-spin .8s linear infinite;border:3px solid #e2e8f0;border-top-color:#1e293b;border:3px solid var(--border);border-radius:50%;border-top-color:var(--text-primary);display:inline-block;height:28px;margin-right:.75rem;vertical-align:middle;width:28px}.loading-state{align-items:center;color:#475569;color:var(--text-secondary);display:flex;justify-content:center;padding:2rem}@keyframes loading-spin{to{transform:rotate(1turn)}}.App{background:var(--bg-page);background-attachment:fixed;color:var(--text-primary);min-height:100vh;padding-bottom:2rem}.app-header{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#202c44!important;border-bottom:1px solid #ffffff1a;box-shadow:0 8px 32px #0003;opacity:1!important;padding:0;position:-webkit-sticky;position:sticky;top:0;z-index:1000}.header-content{gap:2rem;justify-content:space-between;padding:.4rem 2rem}.header-content,.header-logo{align-items:center;display:flex}.header-logo{flex-shrink:0}.header-logo .logo-container{margin:0;padding:0}.lang-select{background:#ffffff1a;border:1px solid #ffffff4d;border-radius:var(--radius-sm);color:#e2e8f0;cursor:pointer;font-size:.875rem;padding:.4rem .5rem}.lang-select:focus,.lang-select:hover{background:#ffffff26;border-color:#fff6;outline:none}.lang-select-mobile{margin-right:.5rem}.user-info{align-items:center;display:flex;flex-shrink:0;gap:1rem;white-space:nowrap}.user-info span{color:#e2e8f0;font-size:.9rem;font-weight:500}.user-info .btn{background:#ffffff1a;border:1px solid #fff3;color:#e2e8f0;font-size:.85rem;padding:.4rem .9rem}.user-info .btn:hover{background:#fff3;border-color:#ffffff4d}.nav-tabs{align-items:center;display:flex;flex:1 1;flex-wrap:wrap;gap:0;justify-content:flex-start;padding:0}.nav-tabs button{background:#0000;border:none;border-bottom:3px solid #0000;border-radius:0;color:#cbd5e1;cursor:pointer;font-size:.875rem;font-weight:500;overflow:visible;padding:.5rem 1.25rem;position:relative;transition:all .2s ease;white-space:nowrap}.nav-tabs button:hover:not(:disabled){background:#ffffff0d;color:#fff}.nav-tabs button.active{background:#ffffff1a;border-bottom-color:#202c44;color:#fff;font-weight:600}.nav-tabs button.active:before{background:linear-gradient(90deg,#2a3a58,#202c44);content:"";height:2px;left:0;position:absolute;right:0;top:0}.nav-tabs button:disabled{cursor:not-allowed;opacity:.4}.nav-tabs .nav-badge{background-color:#ef4444;border:2px solid #1e293b;border-radius:50%;box-shadow:0 0 6px #ef4444e6;display:block;height:10px;position:absolute;right:2px;top:2px;width:10px;z-index:1000}.header-hamburger{background:#ffffff1a;border:none;border-radius:var(--radius-md);cursor:pointer;display:none;flex-direction:column;gap:5px;height:44px;justify-content:center;margin-left:auto;margin-right:.5rem;padding:0;width:44px}.header-hamburger span{background:#e2e8f0;border-radius:1px;display:block;height:2px;margin:0 auto;width:22px}.header-hamburger:hover{background:#fff3}.user-info-mobile{flex-shrink:0}.user-info-mobile .user-info-name{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width:768px){.header-hamburger{display:flex}}.mobile-menu-overlay{background:#0006;inset:0;opacity:0;position:fixed;transition:opacity .25s ease,visibility .25s ease;visibility:hidden;z-index:1100}.mobile-menu-overlay--open{opacity:1;visibility:visible}.mobile-nav-drawer{background:linear-gradient(180deg,#1e293b,#334155);box-shadow:-4px 0 24px #0000004d;display:flex;flex-direction:column;height:100vh;max-width:320px;overflow:hidden;position:fixed;right:0;top:0;transform:translateX(100%);transition:transform .3s ease;width:min(280px,85vw);z-index:1101}.mobile-nav-drawer--open{transform:translateX(0)}.mobile-nav-header{align-items:center;border-bottom:1px solid #ffffff26;display:flex;flex-shrink:0;justify-content:space-between;padding:1rem 1.25rem}.mobile-nav-header span{color:#e2e8f0;font-size:1.1rem;font-weight:600}.mobile-nav-close{align-items:center;background:#ffffff1a;border:none;border-radius:var(--radius-md);color:#e2e8f0;cursor:pointer;display:flex;font-size:1.75rem;height:44px;justify-content:center;line-height:1;padding:0;width:44px}.mobile-nav-close:hover{background:#fff3}.mobile-nav-tabs{display:flex;flex-direction:column;overflow-y:auto;padding:1rem 0}.mobile-nav-tabs button{background:#0000;border:none;border-left:4px solid #0000;border-radius:0;color:#cbd5e1;cursor:pointer;display:block;font-size:1rem;font-weight:500;margin:0;padding:1rem 1.25rem;position:relative;text-align:left;transition:background .2s ease;width:100%}.mobile-nav-tabs button:hover:not(:disabled){background:#ffffff14;color:#fff}.mobile-nav-tabs button.active{background:#ffffff1f;border-left-color:#202c44;color:#fff}.mobile-nav-tabs button:disabled{cursor:not-allowed;opacity:.5}.mobile-nav-tabs .nav-badge{position:absolute;right:1.25rem;top:50%;transform:translateY(-50%)}.app-main{margin:2rem auto;max-width:1200px;padding:0 1rem}.card{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-xl);box-shadow:0 10px 30px #00000014;margin-bottom:2rem;padding:2rem;transition:background .3s ease,border-color .2s ease}.theme-toggle{align-items:center;background:#ffffff1a;border:1px solid #fff3;border-radius:var(--radius-md);cursor:pointer;display:flex;flex-shrink:0;font-size:1.1rem;height:36px;justify-content:center;padding:0;width:36px}.theme-toggle:hover{background:#fff3}.mobile-nav-actions{align-items:center;display:flex;gap:.5rem}.theme-toggle-mobile{font-size:1.25rem;height:40px;width:40px}.card h2{font-size:1.75rem;margin-bottom:1.5rem}.card h2,.card h3{color:var(--text-primary)}.card h3{font-size:1.25rem;margin-bottom:1rem}.btn{align-items:center;display:inline-flex;gap:.5rem;transition:all .3s ease}.btn-primary{background:linear-gradient(135deg,#202c44,#2a3a58);border:2px solid #202c4480}.btn-primary:hover{background:linear-gradient(135deg,#2a3a58,#202c44);box-shadow:0 6px 20px #202c444d}.btn-secondary{background:var(--bg-section);border:2px solid var(--border);color:var(--text-primary)}.btn-secondary:hover{background:var(--border);border-color:var(--text-secondary);box-shadow:var(--shadow)}.btn-danger{background:#8b0000;border:1px solid #8b0000}.btn-danger:hover{background:brown;box-shadow:0 6px 20px #8b000066;transform:translateY(-2px)}.input-group{margin-bottom:1.5rem}.input-group label{font-weight:600}.input-group input,.input-group textarea{border:2px solid var(--input-border);transition:border-color .3s ease,background .2s ease,color .2s ease}.input-group input:focus,.input-group textarea:focus{background:var(--input-bg);border-color:var(--border);box-shadow:0 0 10px #00000026}.input-group textarea{min-height:100px;resize:vertical}.grid-2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}@media (max-width:768px){.header-content{flex-wrap:nowrap;gap:.75rem;padding:.5rem 1rem}.header-logo{border:none;justify-content:flex-start;padding:0;width:auto}.app-header h1{font-size:1.5rem}.app-main{margin:1rem auto;padding:0 .75rem}.card{padding:1.25rem}.grid-2{grid-template-columns:1fr}}[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea{background:var(--input-bg)!important;border-color:var(--border)!important;color:var(--text-primary)!important}[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:var(--text-secondary);opacity:.8}[data-theme=dark] .card,[data-theme=dark] .dashboard-section,[data-theme=dark] .progress-view-card,[data-theme=dark] .stat-card,[data-theme=dark] .workout-item{background:var(--bg-card)!important;border-color:var(--border)!important;color:var(--text-primary)}[data-theme=dark] .stat-card:hover,[data-theme=dark] .workout-item:hover{border-color:var(--text-secondary)!important}[data-theme=dark] .card h2,[data-theme=dark] .card h3,[data-theme=dark] .dashboard-header h2,[data-theme=dark] .dashboard-section h3,[data-theme=dark] .stat-content h3,[data-theme=dark] .stat-content p,[data-theme=dark] .workout-date,[data-theme=dark] .workout-exercises,[data-theme=dark] .workout-item-content h4,[data-theme=dark] h1,[data-theme=dark] h2,[data-theme=dark] h3,[data-theme=dark] h4{color:var(--text-primary)!important}[data-theme=dark] .dashboard-subtitle,[data-theme=dark] .workout-date,[data-theme=dark] p{color:var(--text-secondary)}[data-theme=dark] .stat-icon,[data-theme=dark] .stat-icon svg{color:var(--text-primary)!important}[data-theme=dark] .dashboard-section h3{border-bottom-color:var(--border)}[data-theme=dark] .modal-content{background:var(--bg-card)!important;border-color:var(--border)}[data-theme=dark] .modal-content h3,[data-theme=dark] .modal-content label,[data-theme=dark] .modal-content p,[data-theme=dark] select{color:var(--text-primary)!important}[data-theme=dark] select{background:var(--input-bg)!important;border-color:var(--border)!important}.workout-builder{width:100%}.workout-builder .builder-header{margin-bottom:2rem}.workout-flow-steps{border-bottom:2px solid #f0f0f0;border-bottom:2px solid var(--border,#f0f0f0);border-top:2px solid #f0f0f0;border-top:2px solid var(--border,#f0f0f0);display:flex;flex-wrap:wrap;gap:1rem 2rem;justify-content:center;margin:2rem 0;padding:2rem 0}.flow-step{align-items:center;display:flex;flex-direction:column;gap:.5rem;opacity:.5;transition:opacity .3s ease}.flow-step.active{opacity:1}.flow-step.completed{opacity:.8}.step-number{align-items:center;background:var(--bg-section);border-radius:50%;color:var(--text-secondary);display:flex;font-size:1.1rem;font-weight:700;height:40px;justify-content:center;transition:all .3s ease;width:40px}.flow-step.active .step-number{background:var(--text-primary);color:#fff;transform:scale(1.1)}.flow-step.completed .step-number{background:#10b981;color:#fff}.step-label{color:var(--text-secondary);font-size:.875rem;font-weight:600}.flow-step.active .step-label{color:var(--text-primary)}.name-step-actions{align-items:center;border-top:2px solid var(--border);display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;margin-top:2rem;padding-top:2rem}.overview-sections{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));margin:1.5rem 0}.overview-section-block{background:#f8fafc;background:var(--bg-section,#f8fafc);border-left:4px solid #202c44;border-left:4px solid var(--text-primary,#202c44);border-radius:var(--radius-lg);padding:1.25rem}.overview-section-title{color:var(--text-primary);font-size:1.1rem;margin:0 0 .75rem}.overview-exercise-list{list-style:disc;margin:0;padding-left:1.25rem}.overview-exercise-list li{margin-bottom:.35rem}.overview-meta{color:var(--text-secondary);font-size:.9em;font-weight:400}.overview-superset-list{font-size:.95em;list-style:circle;margin:.25rem 0 0 1rem;padding-left:1rem}.overview-empty{color:var(--text-secondary);font-size:.9rem;font-style:italic;margin:0}@media (max-width:768px){.workout-flow-steps{gap:1rem}.step-label{font-size:.75rem}}.workout-builder .builder-header h2{color:var(--text-primary);margin-top:1rem}.exercises-section{border-top:2px solid var(--border);margin-top:2rem;padding-top:2rem}.exercises-list{display:flex;flex-direction:column;gap:1.5rem}.exercise-card{background:var(--bg-card);border-left:4px solid var(--border);border-radius:var(--radius-lg);color:var(--text-primary);padding:1.5rem}.exercise-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.exercise-header h4{color:var(--text-primary);font-size:1.1rem;margin:0}.save-section{border-top:2px solid var(--border);display:flex;gap:1rem;justify-content:center;margin-top:2rem;padding-top:2rem}.saved-plans-card{min-width:0;overflow:hidden}.saved-plans-list{display:flex;flex-direction:column;gap:1rem;margin-top:1.5rem;min-width:0}.saved-plan-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg);color:var(--text-primary);min-width:0;overflow:hidden;padding:1.5rem;transition:transform .3s ease}.saved-plan-card:hover{transform:translateX(4px)}.saved-plan-header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;min-width:0}.saved-plan-header>div:first-child{min-width:0}.saved-plan-header h4{color:var(--text-primary);font-size:1.2rem;margin:0 0 .5rem}.plan-description{color:var(--text-secondary);margin-bottom:.5rem}.plan-meta{color:var(--text-secondary);font-size:.85rem}.plan-actions{gap:.35rem;max-width:100%}.plan-actions .btn{font-size:.72rem;line-height:1.2;padding:.3rem .45rem;white-space:nowrap}.session-details-box{background:var(--bg-section);border:2px solid var(--border);border-radius:var(--radius-md);margin-top:2rem;padding:1.5rem}.session-details-box h3{color:var(--text-primary);margin-bottom:1rem;margin-top:0}.session-details-intro{color:var(--text-secondary);font-size:.9rem;margin-bottom:1rem}.client-selector-box{background:var(--bg-section);border:1px solid var(--border);border-radius:var(--radius-md);margin-bottom:1.5rem;padding:1rem}.client-selector-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.75rem}.client-selector-header label{color:var(--text-primary);font-weight:600;margin:0}.client-selector-grid{grid-gap:.75rem;background:var(--bg-card);border-radius:var(--radius-sm);display:grid;gap:.75rem;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));max-height:200px;overflow-y:auto;padding:.5rem}.client-checkbox-label{align-items:center;border-radius:var(--radius-sm);cursor:pointer;display:flex;gap:.5rem;padding:.5rem;transition:background .2s}.client-checkbox-label:hover{background:var(--bg-section)}.client-checkbox-label input{cursor:pointer;flex-shrink:0;height:18px;width:18px}.client-name-span{color:var(--text-primary);font-size:.9rem}.client-selector-hint{color:var(--text-secondary);font-size:.85rem;font-style:italic;margin-top:.75rem}.client-selector-count{color:var(--text-primary);font-size:.85rem;font-weight:500;margin-top:.75rem}.exercise-selector-wrapper{align-items:flex-start;display:flex;gap:.5rem}.exercise-selector-wrapper input{flex:1 1}.exercise-category-selector{background:var(--bg-section);border:2px solid var(--border);border-radius:var(--radius-md);margin-top:1rem;padding:1rem}.equipment-tabs{border-bottom:2px solid var(--border);display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem;padding-bottom:1rem}.equipment-tabs button{background:var(--bg-card);border:1px solid var(--border);border-radius:6px;color:var(--text-primary);cursor:pointer;font-size:.8rem;font-weight:600;padding:.4rem .8rem;transition:all .2s ease}.equipment-tabs button:hover{background:var(--bg-section)}.equipment-tabs button.active{background:var(--text-primary);border-color:var(--text-primary);color:var(--bg-card)}.equipment-group{margin-bottom:1rem}.equipment-group:last-child{margin-bottom:0}.equipment-badge{background:var(--bg-section);border:1px solid var(--border);color:var(--text-primary);letter-spacing:.5px;margin-bottom:.5rem;text-transform:uppercase}.category-tabs{border-bottom:2px solid var(--border);display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem;padding-bottom:1rem}.category-tabs button{background:var(--bg-card);border:2px solid var(--border);border-radius:6px;color:var(--text-primary);cursor:pointer;font-size:.875rem;font-weight:600;padding:.5rem 1rem;transition:all .2s ease}.category-tabs button:hover{background:var(--bg-section)}.category-tabs button.active{background:var(--text-primary);border-color:var(--text-primary);color:var(--bg-card)}.exercise-options{max-height:300px;overflow-y:auto}.category-group{margin-bottom:1.5rem}.category-group:last-child{margin-bottom:0}.category-label{color:var(--text-primary);font-size:1rem;font-weight:700;letter-spacing:.5px;margin-bottom:.75rem;text-transform:uppercase}.exercise-buttons{display:flex;flex-wrap:wrap;gap:.5rem}.exercise-option-btn{background:var(--bg-card);border:1px solid var(--border);border-radius:6px;color:var(--text-primary);cursor:pointer;font-size:.875rem;padding:.5rem 1rem;transition:all .2s ease}.exercise-option-btn:hover{background:var(--text-primary);border-color:var(--text-primary);box-shadow:0 2px 8px #0003;color:var(--bg-card);transform:translateY(-2px)}[data-theme=dark] .workout-builder .builder-header h2,[data-theme=dark] .workout-builder .card{color:var(--text-primary)}[data-theme=dark] .workout-builder .input-group input,[data-theme=dark] .workout-builder .input-group label,[data-theme=dark] .workout-builder .input-group textarea{color:var(--text-primary)!important}[data-theme=dark] .workout-builder .input-group input,[data-theme=dark] .workout-builder .input-group textarea{background:var(--input-bg)!important;border-color:var(--border)!important}[data-theme=dark] .flow-step .step-label{color:var(--text-secondary)}[data-theme=dark] .flow-step.active .step-label{color:var(--text-primary)}[data-theme=dark] .step-number{background:var(--border);color:var(--text-secondary)}[data-theme=dark] .exercise-card,[data-theme=dark] .saved-plan-card{background:var(--bg-card)!important;border-left-color:var(--border);color:var(--text-primary)}[data-theme=dark] .exercise-header h4,[data-theme=dark] .saved-plan-header h4{color:var(--text-primary)!important}[data-theme=dark] .plan-description,[data-theme=dark] .plan-meta{color:var(--text-secondary)}[data-theme=dark] .exercise-category-selector{background:var(--bg-section)!important;border-color:var(--border)}[data-theme=dark] .category-tabs button,[data-theme=dark] .equipment-tabs button{background:var(--bg-card)!important;border-color:var(--border);color:var(--text-primary)!important}[data-theme=dark] .category-tabs button:hover,[data-theme=dark] .equipment-tabs button:hover{background:var(--bg-section)!important}[data-theme=dark] .category-label{color:var(--text-primary)}[data-theme=dark] .exercise-option-btn{background:var(--bg-section)!important;border-color:var(--border);color:var(--text-primary)!important}[data-theme=dark] .equipment-badge{background:var(--border);color:var(--text-primary)}[data-theme=dark] .exercises-section,[data-theme=dark] .name-step-actions,[data-theme=dark] .save-section,[data-theme=dark] .workout-flow-steps{border-color:var(--border)}@media (max-width:768px){.grid-4{grid-template-columns:1fr}.saved-plan-header{flex-direction:column}.plan-actions{width:100%}.save-section{flex-direction:column}.save-section button{width:100%}.exercise-selector-wrapper{flex-direction:column}.exercise-selector-wrapper button{width:100%}.category-tabs,.exercise-buttons{justify-content:center}}.notification{animation:slideIn .3s ease-out;border-radius:var(--radius-md);box-shadow:0 4px 12px #00000026;max-width:500px;min-width:300px;overflow:hidden;position:fixed;right:20px;top:80px;z-index:10000}@keyframes slideIn{0%{opacity:0;transform:translateX(100%)}to{opacity:1;transform:translateX(0)}}.notification-success{background:linear-gradient(135deg,#10b981,#059669);border-left:4px solid #047857;color:#fff}.notification-error{background:linear-gradient(135deg,#ef4444,#dc2626);border-left:4px solid #b91c1c;color:#fff}.notification-info{background:linear-gradient(135deg,#3b82f6,#2563eb);border-left:4px solid #1d4ed8;color:#fff}.notification-content{align-items:center;display:flex;gap:.75rem;padding:1rem 1.25rem}.notification-icon{align-items:center;background:#fff3;border-radius:50%;display:flex;flex-shrink:0;font-size:1.25rem;font-weight:700;height:24px;justify-content:center;width:24px}.notification-message{flex:1 1;font-size:.95rem;line-height:1.4}.notification-close{align-items:center;background:none;border:none;color:#fff;cursor:pointer;display:flex;flex-shrink:0;font-size:1.5rem;height:24px;justify-content:center;line-height:1;opacity:.8;padding:0;transition:opacity .2s;width:24px}.notification-close:hover{opacity:1}.notification+.notification{margin-top:.75rem}.muscle-diagram-container{align-items:center;background:#fff;border:2px solid #e0e0e0;border-radius:var(--radius-md);display:flex;flex-direction:column;margin-top:1rem;padding:1rem}.muscle-diagram{align-items:center;display:flex;height:225px;justify-content:center;width:150px}.muscle-svg{height:100%;width:100%}.muscle-group-label{color:#202c44;font-size:.9rem;font-weight:600;letter-spacing:.5px;margin-top:.5rem;text-transform:uppercase}@media (max-width:768px){.muscle-diagram{height:180px;width:120px}}.exercise-gallery{display:flex;gap:2rem;min-height:600px}.exercise-gallery-empty-card{margin:0 auto;max-width:480px;padding:3rem;text-align:center}.exercise-gallery-empty-card h2{margin-bottom:.75rem}.exercise-gallery-empty-hint{color:#666;margin-top:1rem}.exercise-gallery-empty-actions{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;margin-top:2rem}.gallery-main{background:#fff;border-radius:var(--radius-xl);box-shadow:0 4px 12px #0000001a;flex:1 1;max-height:calc(100vh - 250px);overflow-y:auto;padding:2rem}.gallery-header{margin-bottom:2rem}.gallery-header h2{color:#333;margin-bottom:.5rem}.gallery-header p{color:#666;font-size:.95rem}.gallery-filters{border-bottom:2px solid #f0f0f0;flex-wrap:wrap;gap:1.5rem;margin-bottom:2rem;padding-bottom:1.5rem}.filter-group,.gallery-filters{align-items:center;display:flex}.filter-group{gap:.5rem}.filter-group label{color:#555;font-size:.9rem;font-weight:600}.filter-group select{border:2px solid #e0e0e0;border-radius:var(--radius-md);cursor:pointer;font-size:.9rem;padding:.5rem 1rem;transition:border-color .2s ease}.filter-group select:focus{border-color:#202c44;outline:none}.filter-group-search{flex:1 1;min-width:180px}.gallery-search-input{background:#fff;background:var(--input-bg,#fff);border:2px solid #e0e0e0;border-radius:var(--radius-md);color:#1e293b;color:var(--text-primary,#1e293b);font-size:.9rem;max-width:260px;padding:.5rem 1rem;width:100%}.gallery-search-input:focus{border-color:#202c44;outline:none}.selected-count{background:#202c44;border-radius:var(--radius-lg);color:#fff;font-size:.9rem;font-weight:600;margin-left:auto;padding:.5rem 1rem}.exercises-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.exercise-card-gallery{background:#fff;border:2px solid #e0e0e0;border-radius:12px;cursor:pointer;overflow:hidden;padding:1rem;position:relative;transition:all .3s ease}.exercise-card-gallery:hover{border-color:#202c44;box-shadow:0 8px 24px #667eea4d;transform:translateY(-4px)}.exercise-card-gallery.selected{background:#fff5f5;border-color:#202c44;box-shadow:0 4px 16px #ff6b6b33}.exercise-image-placeholder{background:linear-gradient(135deg,#f5f7fa,#c3cfe2);height:150px;margin-bottom:1rem;min-height:150px;overflow:hidden;position:relative;width:100%}.exercise-image-placeholder .exercise-thumbnail{border-radius:var(--radius-md);display:block;height:100%;object-fit:cover;transition:opacity .3s ease;width:100%}.exercise-image-placeholder video.exercise-thumbnail{height:100%;inset:0;object-fit:cover;position:absolute;width:100%}.gif-preview-modal{transition:opacity .2s ease}.gif-preview-content{background:var(--bg-card);border:2px solid var(--border)}.gif-preview-content,.gif-preview-content h4{color:var(--text-primary)}.exercise-image-placeholder .muscle-diagram-container{height:100%;margin:0;padding:.5rem;width:100%}.exercise-image-placeholder .muscle-diagram{height:100%;width:100%}.exercise-card-info h4{color:#333;font-size:1rem;margin:0 0 .5rem;text-align:center}.exercise-tags{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}[data-theme=dark] .gif-preview-content .tag-category{background:#3b82f640;color:#93c5fd}[data-theme=dark] .gif-preview-content .tag-equipment{background:#8b5cf640;color:#c4b5fd}.selected-indicator{align-items:center;background:#202c44;border-radius:50%;box-shadow:0 2px 8px #ff6b6b66;color:#fff;display:flex;font-size:1.5rem;font-weight:700;height:32px;justify-content:center;position:absolute;right:.5rem;top:.5rem;width:32px}.gallery-sidebar{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-xl);box-shadow:var(--shadow);color:var(--text-primary);display:flex;flex-direction:column;max-height:calc(100vh - 250px);padding:1.5rem;width:350px}.sidebar-header{align-items:center;border-bottom:2px solid #f0f0f0;display:flex;justify-content:space-between;margin-bottom:1.5rem;padding-bottom:1rem}.sidebar-header h3{color:#333;margin:0}.count-badge{background:#202c44;border-radius:var(--radius-lg);color:#fff;font-size:.875rem;font-weight:600;padding:.25rem .75rem}.sidebar-empty{align-items:center;color:var(--text-secondary);display:flex;flex:1 1;flex-direction:column;justify-content:center;padding:2rem;text-align:center}.sidebar-empty .hint{font-size:.85rem;margin-top:.5rem}.sidebar-exercises{display:flex;flex:1 1;flex-direction:column;gap:1rem;margin-bottom:1.5rem;overflow-y:auto}.sidebar-exercise-item{background:var(--bg-section);border-left:3px solid var(--border);border-radius:var(--radius-md);color:var(--text-primary);padding:1rem;transition:transform .2s ease}.sidebar-exercise-item:hover{transform:translateX(4px)}.sidebar-exercise-header{align-items:center;display:flex;gap:.75rem;margin-bottom:.5rem}.exercise-number{align-items:center;border-radius:50%;display:flex;height:24px;justify-content:center;width:24px}.sidebar-exercise-header h5{color:var(--text-primary);flex:1 1;font-size:.95rem;margin:0}.remove-btn{align-items:center;background:#ef4444;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:1.2rem;height:24px;justify-content:center;line-height:1;transition:background .2s ease;width:24px}.remove-btn:hover{background:#dc2626}.sidebar-exercise-tags{display:flex;gap:.5rem}.tag-small{background:#fff;border-radius:var(--radius-md);color:#666;font-size:.75rem;padding:.2rem .5rem}.sidebar-actions{border-top:2px solid #f0f0f0;display:flex;flex-direction:column;gap:.75rem;padding-top:1.5rem}.sidebar-actions .btn{width:100%}@media (max-width:1024px){.exercise-gallery{flex-direction:column}.gallery-sidebar{max-height:400px;width:100%}.exercises-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}@media (max-width:768px){.exercises-grid{gap:1rem;grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.exercise-image-placeholder{height:120px}.gallery-filters{align-items:stretch;flex-direction:column}.selected-count{margin-left:0;text-align:center}}[data-theme=dark] .gallery-main{background:var(--bg-card);color:var(--text-primary)}[data-theme=dark] .filter-group label,[data-theme=dark] .gallery-header h2,[data-theme=dark] .gallery-header p{color:var(--text-primary)}[data-theme=dark] .gallery-filters{border-bottom-color:var(--border)}[data-theme=dark] .filter-group select,[data-theme=dark] .gallery-search-input{background:var(--input-bg);border-color:var(--border);color:var(--text-primary)}[data-theme=dark] .exercise-card-gallery{background:var(--bg-section);border-color:var(--border);color:var(--text-primary)}[data-theme=dark] .exercise-card-gallery.selected{background:var(--bg-card);border-color:#202c44}[data-theme=dark] .exercise-card-info h4{color:var(--text-primary)}[data-theme=dark] .tag-category,[data-theme=dark] .tag-equipment{color:var(--text-secondary)}.exercise-editor{margin:0 auto;max-width:1000px}.editor-header{margin-bottom:2rem}.editor-header h2{color:#333;margin:1rem 0 .5rem}.editor-header p{color:#666;font-size:.95rem}.exercises-edit-list{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.exercise-edit-table-header{grid-gap:1rem;background:#f8fafc;border-bottom:2px solid #e2e8f0;border-radius:var(--radius-md) var(--radius-md) 0 0;color:#202c44;display:grid;font-weight:600;gap:1rem;grid-template-columns:50px 1fr 80px 80px 100px 80px auto;margin-bottom:.5rem;padding:1rem}.exercise-edit-card{background:linear-gradient(135deg,#f5f7fa,#c3cfe2);border-left:4px solid #202c44;border-radius:var(--radius-lg);padding:1rem}.exercise-edit-header{align-items:flex-start;display:flex;gap:.75rem;margin-bottom:1rem}.exercise-number-large{align-items:center;background:#202c44;border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:1.2rem;font-weight:700;height:40px;justify-content:center;width:40px}.exercise-edit-title{flex:1 1}.exercise-edit-title h3{color:#333;font-size:1.3rem;margin:0 0 .5rem}.exercise-edit-fields{margin-left:56px;margin-top:0}.exercise-edit-title h3{font-size:1.1rem;margin-bottom:.25rem}.grid{grid-gap:1.5rem;gap:1.5rem}.grid-4{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.grid-4-compact{gap:.5rem;grid-template-columns:repeat(4,1fr);margin-bottom:0}.input-compact{margin-bottom:0}.input-compact label{color:#555;display:block;font-size:.75rem;font-weight:600;margin-bottom:.2rem}.input-small{border:1px solid #ddd;border-radius:var(--radius-sm);font-size:.85rem;max-width:80px;padding:.35rem .5rem;width:100%}.input-small:focus{border-color:#202c44;box-shadow:0 0 0 2px #667eea1a;outline:none}@media (max-width:768px){.grid-4-compact{grid-template-columns:repeat(2,1fr)}.input-small{max-width:100%}}.editor-actions{border-top:2px solid #f0f0f0;gap:1rem}@media (max-width:768px){.exercise-edit-fields{margin-left:0;margin-top:1rem}.exercise-edit-header{flex-direction:column}.grid-4{grid-template-columns:1fr}.editor-actions{flex-direction:column}.editor-actions button{width:100%}}.notes-section{margin-top:.75rem}.btn-notes-toggle{background:#f0f0f0;border:1px solid #d0d0d0;border-radius:6px;color:#666;cursor:pointer;font-size:.875rem;font-weight:500;padding:.5rem 1rem;text-align:left;transition:all .2s ease;width:100%}.btn-notes-toggle:hover{background:#e0e0e0;border-color:silver}.notes-input{animation:slideDown .2s ease;margin-top:.75rem}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.exercise-image-wrapper{background:linear-gradient(135deg,#f5f7fa,#c3cfe2);border-radius:var(--radius-md);cursor:pointer;overflow:hidden;position:relative;transition:transform .2s ease}.exercise-image-wrapper:hover{transform:scale(1.05)}.exercise-image-small{height:60px;width:60px}.exercise-image-medium{height:100px;width:100px}.exercise-image-large{height:150px;width:150px}.exercise-thumbnail-image{border-radius:var(--radius-md);display:block;height:100%;object-fit:cover;width:100%}.exercise-image-wrapper video.exercise-thumbnail-image{height:100%;inset:0;object-fit:cover;position:absolute;width:100%}.exercise-video-play-btn{align-items:center;background:#000000b3;border:none;border-radius:50%;bottom:4px;color:#fff;cursor:pointer;display:flex;height:40px;justify-content:center;padding:0;position:absolute;right:4px;transition:background .2s,transform .2s;width:40px;z-index:2}.exercise-video-play-btn:hover{background:#0ea5e9e6;transform:scale(1.1)}.exercise-video-play-btn svg{margin-left:3px}.gif-preview-backdrop{animation:fadeInPreview .2s ease;background:#00000059;inset:0;pointer-events:auto;position:fixed;z-index:999}.gif-preview-modal{animation:fadeInPreview .3s ease;max-width:300px;pointer-events:none;position:fixed;transform:translate(-50%,-50%);width:300px;z-index:1000}@media (max-width:768px){.gif-preview-modal{left:50%!important;max-width:min(300px,90vw);pointer-events:auto;top:50%!important;width:min(300px,90vw)}}.gif-preview-modal.gif-preview-modal-touch{pointer-events:auto}@keyframes fadeInPreview{0%{opacity:0;transform:translate(-50%,-50%) scale(.9)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}.gif-preview-content{background:#fff;border:2px solid #667eea;border-radius:var(--radius-xl);box-shadow:0 12px 40px #0000004d;padding:1.5rem}.gif-preview-content h4{color:#333;font-size:1.1rem;margin:0 0 1rem;text-align:center}.gif-preview-image{aspect-ratio:3/4;background:linear-gradient(135deg,#f5f7fa,#c3cfe2);border-radius:12px;margin-bottom:1rem;max-height:420px;overflow:hidden;width:100%}.gif-preview-image .gif-preview-animated{height:100%;object-fit:cover;width:100%}.gif-preview-tags{display:flex;gap:.5rem;justify-content:center}.tag-category,.tag-equipment{border-radius:12px;font-size:.75rem;font-weight:600;letter-spacing:.5px;padding:.25rem .75rem;text-transform:uppercase}.tag-category{background:#e8f0fe;color:#1976d2}.tag-equipment{background:#f3e5f5;color:#7b1fa2}.gif-preview-detail{color:#444;font-size:.85rem;margin-top:.75rem}.gif-preview-detail strong{color:#333;display:block;margin-bottom:.25rem}.gif-preview-cues{margin:.25rem 0 0;padding-left:1.25rem}.gif-preview-cues li{margin-bottom:.15rem}[data-theme=dark] .gif-preview-content{background:var(--bg-card);border-color:var(--border);color:var(--text-primary)}[data-theme=dark] .gif-preview-content h4{color:var(--text-primary)}[data-theme=dark] .gif-preview-detail{color:var(--text-secondary)}[data-theme=dark] .gif-preview-detail strong{color:var(--text-primary)}[data-theme=dark] .tag-category{background:#3b82f640;color:#93c5fd}[data-theme=dark] .tag-equipment{background:#8b5cf640;color:#c4b5fd}.workout-structure-editor{margin:0 auto;max-width:1400px;padding:2rem}.selection-actions{align-items:center;background:var(--bg-section);border:1px solid var(--border);border-radius:var(--radius-md);display:flex;gap:1rem;margin-top:1rem;padding:1rem}.section-tabs{border-bottom:2px solid var(--border);display:flex;gap:.5rem;margin-bottom:2rem;position:relative}.section-tab-wrapper{position:relative;transition:all .2s ease}.section-tab-wrapper.drag-over-tab{background:var(--bg-section);border-radius:8px 8px 0 0;padding:.25rem}.drop-indicator{animation:pulse 1s infinite;background:var(--text-primary);border-radius:0 0 8px 8px;color:#fff;font-size:.85rem;font-weight:600;left:0;padding:.5rem;position:absolute;right:0;text-align:center;top:100%;z-index:10}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.section-tab{background:none;border:none;border-bottom:3px solid #0000;bottom:-2px;color:var(--text-secondary);cursor:pointer;font-size:1rem;font-weight:600;padding:1rem 1.5rem;position:relative;transition:all .2s ease}.section-tab:hover{background:var(--bg-section);color:var(--text-primary)}.section-tab.active{border-bottom-color:var(--text-primary);color:var(--text-primary)}.item-count{color:var(--text-secondary);font-size:.85rem;font-weight:400;margin-left:.5rem}.section-content{margin-bottom:2rem}.section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1.5rem}.section-header h3{color:var(--text-primary);font-size:1.5rem;margin:0}.section-actions{display:flex;gap:.5rem}.empty-section{background:var(--bg-section);border:2px dashed var(--border);border-radius:var(--radius-md);color:var(--text-secondary);padding:3rem;text-align:center}.section-items{grid-gap:0 .75rem;align-items:center;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-md);display:grid;gap:0 .75rem;grid-template-columns:28px 32px 24px 48px minmax(100px,1fr) 56px 112px 72px 56px -webkit-min-content;grid-template-columns:28px 32px 24px 48px minmax(100px,1fr) 56px 112px 72px 56px min-content;min-height:100px;overflow-x:auto;overflow-y:hidden;padding:0;transition:background .2s ease}.section-items.drag-over{background:var(--bg-section);border:2px dashed var(--text-primary)}.workout-item-card{background:var(--bg-card);border:none;border-radius:0;border-top:1px solid var(--border);color:var(--text-primary);transition:all .2s ease}.workout-item-card:first-of-type{border-top:none}.section-items .workout-item-card.compact{display:contents}.workout-item-card.compact{border:none;border-radius:0;border-top:1px solid var(--border);box-sizing:border-box;margin:0;padding:0;width:100%}.workout-item-card.compact:first-of-type{border-top:none}.workout-item-card.selected{background:var(--bg-section);border-color:var(--text-primary);box-shadow:0 0 0 3px #00000026}.workout-item-card.dragging{opacity:.5;transform:scale(.95)}.exercise-item-compact{display:flex;flex-direction:column;gap:0;width:100%}.exercise-table-header{display:contents}.exercise-table-header>*{background:var(--bg-section);border-bottom:2px solid var(--border);color:var(--text-primary);font-size:.85rem;font-weight:600;padding:.6rem .25rem}.exercise-table-header .exercise-col-actions,.exercise-table-header .exercise-col-checkbox,.exercise-table-header .exercise-col-drag,.exercise-table-header .exercise-col-image,.exercise-table-header .exercise-col-name,.exercise-table-header .exercise-col-number,.exercise-table-header .exercise-col-reps,.exercise-table-header .exercise-col-rest,.exercise-table-header .exercise-col-sets,.exercise-table-header .exercise-col-weight{align-items:center;display:flex;justify-content:flex-start}.exercise-table-header .exercise-col-checkbox,.exercise-table-header .exercise-col-drag,.exercise-table-header .exercise-col-number{justify-content:center}.exercise-item-compact{display:contents}.exercise-row{align-items:center;border-top:1px solid var(--border);display:grid;grid-column:1/-1;grid-template-columns:subgrid;padding:.5rem 0}.exercise-row>*{padding:0 .25rem}.section-items .exercise-details-expanded,.section-items .exercise-notes-expanded,.section-items .move-to-section-row{grid-column:1/-1;margin-left:0}.exercise-col-checkbox{align-items:center;display:flex;justify-content:center}.exercise-col-checkbox input[type=checkbox]{cursor:pointer;height:20px;width:20px}.exercise-col-number{color:#64748b;font-size:.9rem;font-weight:600;text-align:center}.exercise-col-drag{align-items:center;color:var(--text-secondary);cursor:grab;display:flex;font-size:1.2rem;justify-content:center;-webkit-user-select:none;user-select:none}.exercise-col-drag:active{cursor:grabbing}.drag-handle{display:inline-block;line-height:1}.exercise-col-name{min-width:0}.exercise-col-reps,.exercise-col-rest,.exercise-col-sets,.exercise-col-weight{align-items:center;display:flex}.exercise-col-reps.exercise-col-reps-time{align-items:center;display:flex;gap:.25rem}.exercise-col-reps-time .compact-input{min-width:0}.exercise-col-reps-time .reps-time-unit{flex-shrink:0;width:4rem}.compact-input{background:var(--input-bg);border:1px solid var(--border);border-radius:6px;color:var(--text-primary);font-size:.9rem;padding:.5rem;transition:border-color .2s ease;width:100%}.compact-input:focus{border-color:var(--text-primary);box-shadow:0 0 0 2px #00000026;outline:none}.exercise-col-actions{align-items:center;display:flex;gap:.25rem;justify-content:flex-end}.btn-icon{align-items:center;background:var(--bg-card);border:1px solid var(--border);color:var(--text-secondary);display:flex;font-size:.9rem;height:28px;justify-content:center;min-width:28px}.btn-icon:hover:not(:disabled){background:var(--bg-section);border-color:var(--border);color:var(--text-primary)}.btn-icon:disabled{cursor:not-allowed;opacity:.4}.btn-icon-danger{border-color:#fecaca;color:#ef4444}.btn-icon-danger:hover{background:#fee2e2;border-color:#ef4444}.exercise-col-image{align-items:center;display:flex;justify-content:center}.exercise-image-preview{margin-top:.25rem;padding-left:100px}.exercise-details-expanded{background:var(--bg-section);border:1px solid var(--border);border-radius:6px;color:var(--text-primary);font-size:.9rem;margin-left:100px;margin-top:.5rem;padding:.75rem}.exercise-details-expanded ul{margin:.25rem 0 0 1rem;padding:0}.exercise-notes-expanded{background:var(--bg-section);border:1px solid var(--border);border-radius:6px;margin-left:100px;margin-top:.5rem;padding:.75rem}.exercise-notes-expanded label{color:var(--text-secondary);display:block;font-size:.85rem;font-weight:600;margin-bottom:.5rem}.compact-textarea{background:var(--input-bg);border:1px solid var(--border);border-radius:6px;color:var(--text-primary);font-family:inherit;font-size:.9rem;padding:.5rem;resize:vertical;width:100%}.compact-textarea:focus{border-color:var(--text-primary);box-shadow:0 0 0 2px #00000026;outline:none}.superset-item{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-md);color:var(--text-primary);padding:1rem}.superset-item-header{align-items:center;display:flex;gap:1rem;margin-bottom:1rem}.superset-badge{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:var(--radius-sm);color:#fff;font-size:.75rem;font-weight:700;letter-spacing:.5px;padding:.25rem .75rem;text-transform:uppercase}.superset-item-header h4{color:var(--text-primary);flex:1 1;margin:0}.superset-actions{align-items:center;display:flex;gap:.5rem}.superset-item-info{display:flex;flex-direction:column;gap:1rem}.info-item{background:var(--bg-section);border:1px solid var(--border);border-radius:6px;color:var(--text-primary);padding:.5rem}.superset-exercises-list{margin-top:.5rem}.superset-exercises-list ul{color:var(--text-secondary);margin:.5rem 0 0;padding-left:1.5rem}.superset-exercises-list li{margin:.25rem 0}.superset-exercises-preview{border-top:1px solid var(--border);display:flex;flex-wrap:wrap;gap:1rem;margin-top:1rem;padding-top:1rem}.superset-exercise-preview{align-items:center;display:flex;flex-direction:column;gap:.5rem}.exercise-name-small{color:var(--text-secondary);font-size:.85rem;max-width:100px;text-align:center}.modal-overlay{padding:2rem}.modal-content{background:var(--bg-card);border:1px solid var(--border);box-shadow:0 20px 60px #0000004d;color:var(--text-primary);max-width:800px;width:100%}.modal-header{align-items:center;border-bottom:2px solid var(--border);display:flex;justify-content:space-between;padding:1.5rem}.modal-header h3{color:var(--text-primary);margin:0}.modal-close{align-items:center;background:none;border:none;border-radius:var(--radius-sm);color:var(--text-secondary);cursor:pointer;display:flex;font-size:2rem;height:32px;justify-content:center;padding:0;transition:all .2s ease;width:32px}.modal-close:hover{background:var(--bg-section);color:var(--text-primary)}.modal-body,.modal-footer{padding:1.5rem}.modal-footer{border-top:2px solid var(--border);display:flex;gap:1rem;justify-content:flex-end}.superset-exercises{margin-top:1.5rem}.superset-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.superset-header h4{color:var(--text-primary);margin:0}.superset-exercise-card{background:var(--bg-section);border:2px solid var(--border);border-radius:var(--radius-md);color:var(--text-primary);margin-bottom:1rem;padding:1rem}.superset-exercise-header{align-items:center;justify-content:space-between;margin-bottom:1rem}.superset-exercise-header h5{color:var(--text-primary);margin:0}.input-group{margin-bottom:1rem}.input-group label{color:var(--text-primary);display:block;font-size:.95rem;font-weight:500;margin-bottom:.5rem}.input-group input,.input-group textarea{background:var(--input-bg);border:2px solid var(--border);border-radius:var(--radius-md);color:var(--text-primary);font-family:inherit;font-size:1rem;padding:.75rem;transition:border-color .2s ease;width:100%}.input-group input:focus,.input-group textarea:focus{border-color:var(--text-primary);outline:none}.input-group small{color:var(--text-secondary);display:block;font-size:.85rem;margin-top:.25rem}.grid{grid-gap:1rem;display:grid;gap:1rem}.grid-2{grid-template-columns:repeat(2,1fr)}.grid-4{grid-template-columns:repeat(4,1fr)}.workout-structure-editor--mobile .workout-structure-editor{padding:1rem}.workout-structure-editor--mobile .editor-header{flex-wrap:wrap;gap:.75rem}.workout-structure-editor--mobile .editor-header h2{font-size:1.35rem}.workout-structure-editor--mobile .section-tabs{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;gap:.25rem;margin-bottom:1.25rem;overflow-x:auto;padding-bottom:.5rem}.workout-structure-editor--mobile .section-tab{font-size:.95rem;padding:.75rem 1rem;white-space:nowrap}.workout-structure-editor--mobile .selection-actions{align-items:stretch;flex-direction:column;gap:.75rem}.workout-structure-editor--mobile .section-header{flex-wrap:wrap;gap:.75rem}.workout-structure-editor--mobile .section-header h3{font-size:1.2rem}.workout-structure-editor--mobile .exercise-table-header{display:none}.workout-structure-editor--mobile .exercise-row{grid-gap:.75rem;align-items:stretch;border-bottom:1px solid #e2e8f0;gap:.75rem;grid-template-rows:auto;padding:1rem}.workout-structure-editor--mobile .exercise-col-drag,.workout-structure-editor--mobile .exercise-col-number{display:none}.workout-structure-editor--mobile .exercise-col-checkbox{flex-direction:row;gap:.5rem;justify-content:flex-start;order:.5}.workout-structure-editor--mobile .exercise-col-checkbox input[type=checkbox]{height:22px;width:22px}.workout-structure-editor--mobile .exercise-col-image{justify-content:center;order:-1}.workout-structure-editor--mobile .exercise-col-name{order:0}.workout-structure-editor--mobile .exercise-col-name .compact-input{font-size:1rem;padding:.6rem}.workout-structure-editor--mobile .exercise-col-reps,.workout-structure-editor--mobile .exercise-col-rest,.workout-structure-editor--mobile .exercise-col-sets,.workout-structure-editor--mobile .exercise-col-weight{order:1}.workout-structure-editor--mobile .exercise-col-reps:before,.workout-structure-editor--mobile .exercise-col-rest:before,.workout-structure-editor--mobile .exercise-col-sets:before,.workout-structure-editor--mobile .exercise-col-weight:before{color:var(--text-secondary);display:block;font-size:.75rem;font-weight:600;margin-bottom:.25rem}.workout-structure-editor--mobile .exercise-col-sets:before{content:"Sets"}.workout-structure-editor--mobile .exercise-col-reps:before{content:"Reps"}.workout-structure-editor--mobile .exercise-col-weight:before{content:"Weight (kg)"}.workout-structure-editor--mobile .exercise-col-rest:before{content:"Rest (sec)"}.workout-structure-editor--mobile .exercise-col-reps,.workout-structure-editor--mobile .exercise-col-rest,.workout-structure-editor--mobile .exercise-col-sets,.workout-structure-editor--mobile .exercise-col-weight{display:block}.workout-structure-editor--mobile .exercise-col-image{min-height:60px}.workout-structure-editor--mobile .exercise-col-actions{border-top:1px solid var(--border);flex-wrap:wrap;gap:.5rem;justify-content:flex-start;order:2;padding-top:.5rem}.move-to-section-row{align-items:center;background:var(--bg-section);border-bottom:1px solid var(--border);display:flex;flex-wrap:wrap;gap:.5rem;padding:.5rem .75rem;width:100%}.move-to-section-row .move-to-section-label{color:var(--text-primary);flex-shrink:0;font-size:.8rem;font-weight:600}.move-to-section-row .move-to-section-btns{display:flex;flex-wrap:wrap;gap:.35rem}.move-to-section-row .move-to-section-btn{font-size:.85rem;padding:.35rem .65rem}.workout-structure-editor--mobile .move-to-section-row{align-items:center;background:#f0f9ff;border-bottom:1px solid #e0f2fe;display:flex;flex-wrap:wrap;gap:.5rem;padding:.75rem 1rem;width:100%}.workout-structure-editor--mobile .move-to-section-row .move-to-section-label{color:#0c4a6e;flex-shrink:0;font-size:.85rem;font-weight:600}.workout-structure-editor--mobile .move-to-section-btns{display:flex;flex-wrap:wrap;gap:.5rem}.workout-structure-editor--mobile .move-to-section-row .move-to-section-btn,.workout-structure-editor--mobile .move-to-section-wrap{font-size:.9rem;min-height:40px;padding:.5rem .9rem}.workout-structure-editor--mobile .move-to-section-label{color:var(--text-secondary);font-size:.85rem;font-weight:600}.workout-structure-editor--mobile .move-to-section-btn{font-size:.9rem;min-height:40px;padding:.5rem .9rem}.superset-move-to{margin-bottom:0;width:auto}.superset-item-header .superset-move-to .move-to-section-btn{font-size:.8rem;padding:.35rem .6rem}.workout-structure-editor--mobile .btn-icon{font-size:1rem;height:40px;min-width:40px}.workout-structure-editor--mobile .exercise-details-expanded,.workout-structure-editor--mobile .exercise-notes-expanded{margin-left:0;margin-top:.75rem}.workout-structure-editor--mobile .workout-item-card{border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:0 1px 3px #0000001a;margin-bottom:.75rem;overflow:hidden}.workout-structure-editor--mobile .workout-item-card.compact{border-top:1px solid var(--border)}.workout-structure-editor--mobile .section-items{background:#0000;border:none;display:flex;flex-direction:column;gap:.75rem}.workout-structure-editor--mobile .workout-item-card.compact{display:block}.workout-structure-editor--mobile .exercise-table-header{display:grid;grid-template-columns:28px 32px 24px 48px minmax(100px,1fr) 56px 112px 72px 56px -webkit-min-content;grid-template-columns:28px 32px 24px 48px minmax(100px,1fr) 56px 112px 72px 56px min-content}.workout-structure-editor--mobile .exercise-item-compact{display:block}.workout-structure-editor--mobile .exercise-row{border-top:none;display:grid;grid-column:unset;grid-template-columns:1fr}.workout-structure-editor--mobile .empty-section{font-size:.95rem;padding:2rem 1rem}.workout-structure-editor--mobile .superset-item{padding:1rem}.workout-structure-editor--mobile .superset-item-header{flex-wrap:wrap;gap:.5rem}.workout-structure-editor--mobile .modal-overlay{align-items:flex-end;padding:1rem}.workout-structure-editor--mobile .modal-content{border-radius:12px 12px 0 0;max-height:85vh}.workout-structure-editor--mobile .editor-actions{flex-direction:column;gap:1rem;margin-top:1.5rem}.workout-structure-editor--mobile .editor-actions .btn{font-size:1rem;justify-content:center;min-height:48px;padding:.875rem 1rem;width:100%}.workout-structure-editor--mobile .editor-actions .btn-primary{font-weight:600}.workout-structure-editor--mobile .editor-header .btn{min-height:44px;padding:.5rem .75rem}@media (max-width:768px){.grid-4{grid-template-columns:repeat(2,1fr)}.workout-structure-editor{padding:1rem}}.btn-primary:hover{background:#1d4ed8;box-shadow:0 4px 12px #202c444d;transform:translateY(-2px)}.editor-actions{border-top:2px solid var(--border);display:flex;justify-content:space-between;margin-top:2rem;padding-top:2rem}.toggle-slider-label{align-items:center;cursor:pointer;display:inline-flex;gap:.6rem;-webkit-user-select:none;user-select:none}.toggle-slider-label:has(.toggle-slider-input:disabled){cursor:not-allowed;opacity:.7}.toggle-slider-input{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.toggle-slider-track{background:linear-gradient(135deg,#cbd5e1,#94a3b8);border-radius:999px;box-shadow:inset 0 1px 2px #0000001a;flex-shrink:0;height:24px;position:relative;transition:background .25s ease,box-shadow .2s ease;width:44px}.toggle-slider-input:focus-visible+.toggle-slider-track{outline:2px solid #2a3a58;outline-offset:2px}.toggle-slider-input:checked+.toggle-slider-track{background:linear-gradient(135deg,#202c44,#2a3a58);box-shadow:inset 0 1px 2px #0003,0 0 0 1px #ffffff1a}.toggle-slider-knob{background:#fff;border-radius:50%;box-shadow:0 1px 3px #00000040;height:18px;left:3px;position:absolute;top:3px;transition:transform .25s ease;width:18px}.toggle-slider-input:checked+.toggle-slider-track .toggle-slider-knob{transform:translateX(20px)}.toggle-slider-text{color:#475569;font-size:.9rem}.toggle-slider-input:disabled~.toggle-slider-text{color:#94a3b8}.library-section{margin-bottom:2.5rem}.library-section:last-child{margin-bottom:0}.library-section-title{border-bottom:2px solid var(--border);color:var(--text-primary);font-size:1.2rem;margin:0 0 1rem;padding-bottom:.5rem}.library-badge{border-radius:6px;display:inline-block;font-size:.75rem;font-weight:600;margin-top:.25rem;padding:.2rem .5rem}.library-badge.global{background:#0ea5e9;color:#fff}.library-badge.client{background:#10b981;color:#fff}.library-badge.trainer{background:#8b5cf6;color:#fff}[data-theme=dark] .library-badge.global{background:#0284c7;color:#fff}[data-theme=dark] .library-badge.client{background:#059669;color:#fff}[data-theme=dark] .library-badge.trainer{background:#7c3aed;color:#fff}.plans-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));margin-top:1rem}.plan-card{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-lg);min-width:0;overflow:hidden;padding:1.5rem;position:relative;transition:all .3s ease}.plan-card,.plan-card-clickable{cursor:pointer}.plan-card-view-hint{color:var(--text-secondary);font-size:.85rem;margin:.5rem 0 0}.plan-card:hover{border-color:#202c44;box-shadow:0 8px 24px #202c4426;transform:translateY(-4px)}.plan-view-modal{max-height:90vh;max-width:560px;overflow-y:auto}.plan-view-modal .plan-view-modal-header{align-items:flex-start;display:flex;gap:1rem;justify-content:space-between;margin-bottom:1rem}.plan-view-modal .plan-view-modal-header h2{font-size:1.4rem;margin:0}.modal-close-btn{background:none;border:none;color:var(--text-secondary);cursor:pointer;font-size:1.5rem;line-height:1;padding:.25rem}.modal-close-btn:hover{color:var(--text-primary)}.plan-card.expanded{border-color:#202c44;box-shadow:0 8px 24px #202c444d}.plan-card-header{align-items:flex-start;display:flex;gap:1rem;justify-content:space-between}.plan-card-header h3{color:var(--text-primary);font-size:1.3rem;margin:0 0 .5rem}.client-name{color:var(--text-primary);font-size:.9rem;font-weight:600;margin-bottom:.5rem}.scheduled-date{color:var(--text-secondary)}.completed-date,.scheduled-date{font-size:.85rem;font-weight:500;margin:.25rem 0}.completed-date{color:#51cf66}.modal-content h3{color:#333}.modal-content p{color:#666}.modal-form .input-group label{color:#333}.modal-form .input-group input[type=date],.modal-form .input-group input[type=time]{border:2px solid #e0e0e0;border-radius:var(--radius-md);font-size:1rem;padding:.75rem;transition:border-color .3s ease}.modal-form .input-group input[type=date]:focus,.modal-form .input-group input[type=time]:focus{border-color:#202c44;outline:none}.plan-description{color:#666;font-size:.9rem;margin-top:.5rem}.plan-badge{background:#202c44;border-radius:20px;color:#fff;font-size:.85rem;font-weight:600;padding:.5rem 1rem;white-space:nowrap}.plan-details{border-top:2px solid #202c4433;margin-top:1.5rem;overflow:visible;padding-top:1.5rem;width:100%}.exercises-preview{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.exercise-preview{background:var(--bg-section);border-left:3px solid var(--border);border-radius:var(--radius-md);color:var(--text-primary);padding:1rem}.exercise-preview-header{align-items:center;display:flex;gap:1rem;margin-bottom:.5rem}.exercise-preview-info{align-items:center;display:flex;flex:1 1;flex-wrap:wrap;gap:.5rem;justify-content:space-between}.exercise-preview-header strong{color:#333;font-size:1rem}.exercise-specs{color:#666;font-size:.9rem}.exercise-preview-detail{color:#334155;font-size:.9rem;margin:.5rem 0 0}.exercise-preview-cues{margin:.25rem 0 0 1rem;padding:0}.exercise-notes{color:var(--text-secondary);font-size:.85rem;margin:0}.plan-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem;min-width:0;width:100%}.plan-actions button{flex:1 1 auto;font-size:.85rem;max-width:100%;min-width:0;padding:.5rem .75rem;white-space:nowrap}@media (max-width:768px){.plans-grid{grid-template-columns:1fr}.plan-card-header{flex-direction:column}.plan-badge{align-self:flex-start}.exercise-preview-header{align-items:flex-start;flex-direction:column}.plan-actions{flex-direction:column}.plan-actions button{min-width:100%;width:100%}}[data-theme=dark] .plan-card{background:var(--bg-card);border-color:var(--border);color:var(--text-primary)}[data-theme=dark] .plan-card.expanded,[data-theme=dark] .plan-card:hover{border-color:var(--text-secondary)}[data-theme=dark] .client-name,[data-theme=dark] .exercise-preview strong,[data-theme=dark] .exercise-preview-header strong,[data-theme=dark] .plan-card-header h3,[data-theme=dark] .scheduled-date{color:var(--text-primary)!important}[data-theme=dark] .modal-content,[data-theme=dark] .modal-content h3,[data-theme=dark] .modal-content p{color:var(--text-primary)}.calendar-view{width:100%}.todays-workout-cta{align-items:center;background:linear-gradient(135deg,#202c44,#2a3a58);border-radius:var(--radius-lg);color:#fff;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:1.25rem;padding:1rem 1.25rem}.todays-workout-cta-content{display:flex;flex-direction:column;gap:.25rem}.todays-workout-cta-label{font-size:.85rem;opacity:.9}.todays-workout-cta-name{font-size:1.25rem;font-weight:700}.todays-workout-cta-btn{background:#fffffff2!important;border:none!important;color:#202c44!important;font-size:1.1rem;font-weight:600;min-height:48px;min-width:180px;padding:.75rem 1.5rem}.todays-workout-cta-btn:hover{background:#fff!important}@media (max-width:768px){.todays-workout-cta{align-items:stretch;flex-direction:column;text-align:center}.todays-workout-cta-btn{min-width:0;width:100%}}.calendar-header{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:1.5rem}.calendar-controls{display:flex;gap:.5rem}.view-btn{background:#fff;border:2px solid #202c44;border-radius:6px;color:#202c44;cursor:pointer;font-size:.875rem;font-weight:600;padding:.5rem 1rem;transition:all .2s ease}.view-btn:hover{background:#f0f9ff}.view-btn.active{background:#202c44;color:#fff}.calendar-container{background:var(--bg-card);border-radius:var(--radius-lg);padding:1rem}.rbc-calendar{background:var(--bg-card);border-radius:var(--radius-md);color:var(--text-primary)}.rbc-toolbar{margin-bottom:1rem}.rbc-toolbar button{background:var(--bg-card);border:1px solid var(--border);border-radius:6px;color:var(--text-primary);cursor:pointer;padding:.5rem 1rem}.rbc-toolbar button:hover{background:var(--bg-section)}.rbc-toolbar-label{color:var(--text-primary)}.rbc-toolbar button.rbc-active{background:#202c44;border-color:#202c44;color:#fff}[data-theme=dark] .rbc-toolbar{background:var(--bg-card);color:var(--text-primary)}[data-theme=dark] .rbc-toolbar button{background:var(--bg-section)!important;border-color:var(--border);color:var(--text-primary)!important}[data-theme=dark] .rbc-toolbar button:hover{background:var(--border)!important}[data-theme=dark] .rbc-toolbar button.rbc-active{background:#3b82f6!important;border-color:#3b82f6;color:#fff!important}[data-theme=dark] .rbc-toolbar-label{color:var(--text-primary)!important}.rbc-event{border-radius:var(--radius-sm);padding:2px 5px}.rbc-event.rbc-selected{background-color:#2a3a58}.modal-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.modal-content{background:#fff;border-radius:var(--radius-lg);max-height:90vh;max-width:600px;overflow-y:auto;padding:2rem;width:90%}.modal-content h3{color:var(--text-primary);margin-top:0}.modal-content p{color:var(--text-secondary);margin-bottom:1.5rem}.modal-form{display:flex;flex-direction:column;gap:1.5rem;margin-bottom:1.5rem}.modal-form .input-group{display:flex;flex-direction:column;gap:.5rem}.modal-form .input-group label{color:var(--text-primary);font-size:.9rem;font-weight:600}.modal-form .input-group input[type=date],.modal-form .input-group input[type=time],.modal-form .input-group select{background:var(--input-bg);border:2px solid var(--border);border-radius:var(--radius-md);color:var(--text-primary);font-size:1rem;padding:.75rem;transition:border-color .3s ease}.modal-form .input-group input[type=date]:focus,.modal-form .input-group input[type=time]:focus,.modal-form .input-group select:focus{border-color:#202c44;outline:none}.no-plans-message{background:#dbeafe;border:2px solid #2a3a58;border-radius:var(--radius-md);color:#1e40af;font-size:.9rem;padding:1rem}.modal-actions{display:flex;flex-wrap:wrap;gap:1rem;justify-content:flex-end;margin-top:1.5rem}.modal-actions button{min-width:120px}@media (max-width:768px){.calendar-header{align-items:stretch;flex-direction:column}.calendar-header h2{font-size:1.25rem}.calendar-controls{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:1fr 1fr;width:100%}.calendar-controls .btn,.view-btn{font-size:1rem;min-height:44px;padding:.75rem 1rem}.calendar-container{margin:0 -.25rem;overflow-x:auto;padding:.5rem}.calendar-view--mobile .rbc-calendar{min-width:320px}.calendar-view--mobile .rbc-toolbar{flex-wrap:wrap;gap:.5rem}.calendar-view--mobile .rbc-toolbar button{font-size:.95rem;min-height:44px;padding:.6rem 1rem}.calendar-view--mobile .rbc-toolbar-label{font-size:1rem;font-weight:600;order:-1;text-align:center;width:100%}.calendar-view--mobile .rbc-month-view .rbc-day-bg,.calendar-view--mobile .rbc-time-view .rbc-day-slot{min-height:44px}.calendar-view--mobile .rbc-event{font-size:.75rem;padding:4px 6px}.calendar-view--mobile .rbc-date-cell{font-size:.85rem;padding:4px}.modal-overlay{align-items:flex-end;padding:1rem}.calendar-view--mobile .modal-content{border-radius:12px 12px 0 0;max-height:85vh;width:100%}}[data-theme=dark] .modal-content{background:var(--bg-card)}[data-theme=dark] .no-plans-message{background:var(--bg-section);border-color:var(--border);color:var(--text-primary)}[data-theme=dark] .rbc-date-cell,[data-theme=dark] .rbc-day-bucket,[data-theme=dark] .rbc-month-view,[data-theme=dark] .rbc-time-view{background:var(--bg-card);border-color:var(--border);color:var(--text-primary)}[data-theme=dark] .rbc-off-range-bg{background:var(--bg-section)}[data-theme=dark] .rbc-header{background:var(--bg-section);border-color:var(--border);color:var(--text-primary)}[data-theme=dark] .rbc-allday-cell,[data-theme=dark] .rbc-day-slot,[data-theme=dark] .rbc-label,[data-theme=dark] .rbc-time-content,[data-theme=dark] .rbc-time-header-content,[data-theme=dark] .rbc-time-slot,[data-theme=dark] .rbc-time-view,[data-theme=dark] .rbc-timeslot-group{background:var(--bg-card)!important;border-color:var(--border);color:var(--text-primary)!important}[data-theme=dark] .rbc-time-header-gutter{color:var(--text-primary)!important}[data-theme=dark] .rbc-day-slot .rbc-time-slot{border-color:var(--border)}[data-theme=dark] .rbc-current-time-indicator{background-color:#ef4444}.rbc-btn{color:inherit;font:inherit;margin:0}button.rbc-btn{-webkit-appearance:button;appearance:button;cursor:pointer;overflow:visible;text-transform:none}button[disabled].rbc-btn{cursor:not-allowed}button.rbc-input::-moz-focus-inner{border:0;padding:0}.rbc-calendar{align-items:stretch;box-sizing:border-box;display:flex;flex-direction:column;height:100%}.rbc-m-b-negative-3{margin-bottom:-3px}.rbc-h-full{height:100%}.rbc-calendar *,.rbc-calendar :after,.rbc-calendar :before{box-sizing:inherit}.rbc-abs-full,.rbc-row-bg{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:0}.rbc-ellipsis,.rbc-event-label,.rbc-row-segment .rbc-event-content,.rbc-show-more{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rbc-rtl{direction:rtl}.rbc-off-range{color:#999}.rbc-off-range-bg{background:#e6e6e6}.rbc-header{border-bottom:1px solid #ddd;flex:1 0;font-size:90%;font-weight:700;min-height:0;overflow:hidden;padding:0 3px;text-align:center;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.rbc-header+.rbc-header{border-left:1px solid #ddd}.rbc-rtl .rbc-header+.rbc-header{border-left-width:0;border-right:1px solid #ddd}.rbc-header>a,.rbc-header>a:active,.rbc-header>a:visited{color:inherit;text-decoration:none}.rbc-button-link{background:none;border:none;color:inherit;cursor:pointer;margin:0;padding:0;-webkit-user-select:text;user-select:text}.rbc-row-content{position:relative;user-select:none;-webkit-user-select:none;z-index:4}.rbc-row-content-scrollable{display:flex;flex-direction:column;height:100%}.rbc-row-content-scrollable .rbc-row-content-scroll-container{-ms-overflow-style:none;height:100%;overflow-y:scroll;scrollbar-width:none}.rbc-row-content-scrollable .rbc-row-content-scroll-container::-webkit-scrollbar{display:none}.rbc-today{background-color:#eaf6ff}.rbc-toolbar{align-items:center;display:flex;flex-wrap:wrap;font-size:16px;justify-content:center;margin-bottom:10px}.rbc-toolbar .rbc-toolbar-label{flex-grow:1;padding:0 10px;text-align:center}.rbc-toolbar button{background:none;background-image:none;border:1px solid #ccc;border-radius:4px;color:#373a3c;display:inline-block;line-height:normal;margin:0;padding:.375rem 1rem;text-align:center;vertical-align:middle;white-space:nowrap}.rbc-toolbar button.rbc-active,.rbc-toolbar button:active{background-color:#e6e6e6;background-image:none;border-color:#adadad;box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.rbc-toolbar button.rbc-active:focus,.rbc-toolbar button.rbc-active:hover,.rbc-toolbar button:active:focus,.rbc-toolbar button:active:hover{background-color:#d4d4d4;border-color:#8c8c8c;color:#373a3c}.rbc-toolbar button:focus,.rbc-toolbar button:hover{background-color:#e6e6e6;border-color:#adadad;color:#373a3c}.rbc-toolbar button:hover{cursor:pointer}.rbc-btn-group{display:inline-block;white-space:nowrap}.rbc-btn-group>button:first-child:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.rbc-btn-group>button:last-child:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.rbc-rtl .rbc-btn-group>button:first-child:not(:last-child){border-radius:4px;border-bottom-left-radius:0;border-top-left-radius:0}.rbc-rtl .rbc-btn-group>button:last-child:not(:first-child){border-radius:4px;border-bottom-right-radius:0;border-top-right-radius:0}.rbc-btn-group>button:not(:first-child):not(:last-child){border-radius:0}.rbc-btn-group button+button{margin-left:-1px}.rbc-rtl .rbc-btn-group button+button{margin-left:0;margin-right:-1px}.rbc-btn-group+.rbc-btn-group,.rbc-btn-group+button{margin-left:10px}@media (max-width:767px){.rbc-toolbar{flex-direction:column}}.rbc-day-slot .rbc-background-event,.rbc-event{background-color:#3174ad;border:none;border-radius:5px;box-shadow:none;box-sizing:border-box;color:#fff;cursor:pointer;margin:0;padding:2px 5px;text-align:left;width:100%}.rbc-day-slot .rbc-slot-selecting .rbc-background-event,.rbc-slot-selecting .rbc-day-slot .rbc-background-event,.rbc-slot-selecting .rbc-event{cursor:inherit;pointer-events:none}.rbc-day-slot .rbc-selected.rbc-background-event,.rbc-event.rbc-selected{background-color:#265985}.rbc-day-slot .rbc-background-event:focus,.rbc-event:focus{outline:5px auto #3b99fc}.rbc-event-label{font-size:80%}.rbc-event-overlaps{box-shadow:-1px 1px 5px 0 #33333380}.rbc-event-continues-prior{border-bottom-left-radius:0;border-top-left-radius:0}.rbc-event-continues-after{border-bottom-right-radius:0;border-top-right-radius:0}.rbc-event-continues-earlier{border-top-left-radius:0;border-top-right-radius:0}.rbc-event-continues-later{border-bottom-left-radius:0;border-bottom-right-radius:0}.rbc-row{display:flex;flex-direction:row}.rbc-row-segment{padding:0 1px 1px}.rbc-selected-cell{background-color:#0000001a}.rbc-show-more{background-color:#ffffff4d;color:#3174ad;font-size:85%;font-weight:700;height:auto;line-height:normal;z-index:4}.rbc-show-more:focus,.rbc-show-more:hover{color:#265985}.rbc-month-view{border:1px solid #ddd;display:flex;flex:1 0;flex-direction:column;height:100%;position:relative;user-select:none;-webkit-user-select:none;width:100%}.rbc-month-header{display:flex;flex-direction:row}.rbc-month-row{display:flex;flex:1 0;flex-basis:0px;flex-direction:column;height:100%;overflow:hidden;position:relative}.rbc-month-row+.rbc-month-row{border-top:1px solid #ddd}.rbc-date-cell{flex:1 1;min-width:0;padding-right:5px;text-align:right}.rbc-date-cell.rbc-now{font-weight:700}.rbc-date-cell>a,.rbc-date-cell>a:active,.rbc-date-cell>a:visited{color:inherit;text-decoration:none}.rbc-row-bg{display:flex;flex:1 0;flex-direction:row;overflow:hidden;right:1px}.rbc-day-bg{flex:1 0}.rbc-day-bg+.rbc-day-bg{border-left:1px solid #ddd}.rbc-rtl .rbc-day-bg+.rbc-day-bg{border-left-width:0;border-right:1px solid #ddd}.rbc-overlay{background-color:#fff;border:1px solid #e5e5e5;box-shadow:0 5px 15px #00000040;padding:10px;position:absolute;z-index:5}.rbc-overlay>*+*{margin-top:1px}.rbc-overlay-header{border-bottom:1px solid #e5e5e5;margin:-10px -10px 5px;padding:2px 10px}.rbc-agenda-view{display:flex;flex:1 0;flex-direction:column;overflow:auto}.rbc-agenda-view table.rbc-agenda-table{border:1px solid #ddd;border-collapse:collapse;border-spacing:0;width:100%}.rbc-agenda-view table.rbc-agenda-table tbody>tr>td{padding:5px 10px;vertical-align:top}.rbc-agenda-view table.rbc-agenda-table .rbc-agenda-time-cell{padding-left:15px;padding-right:15px;text-transform:lowercase}.rbc-agenda-view table.rbc-agenda-table tbody>tr>td+td{border-left:1px solid #ddd}.rbc-rtl .rbc-agenda-view table.rbc-agenda-table tbody>tr>td+td{border-left-width:0;border-right:1px solid #ddd}.rbc-agenda-view table.rbc-agenda-table tbody>tr+tr{border-top:1px solid #ddd}.rbc-agenda-view table.rbc-agenda-table thead>tr>th{border-bottom:1px solid #ddd;padding:3px 5px;text-align:left}.rbc-rtl .rbc-agenda-view table.rbc-agenda-table thead>tr>th{text-align:right}.rbc-agenda-time-cell{text-transform:lowercase}.rbc-agenda-time-cell .rbc-continues-after:after{content:" »"}.rbc-agenda-time-cell .rbc-continues-prior:before{content:"« "}.rbc-agenda-date-cell,.rbc-agenda-time-cell{white-space:nowrap}.rbc-agenda-event-cell{width:100%}.rbc-time-column{display:flex;flex-direction:column;min-height:100%}.rbc-time-column .rbc-timeslot-group{flex:1 1}.rbc-timeslot-group{border-bottom:1px solid #ddd;display:flex;flex-flow:column nowrap;min-height:40px}.rbc-header-gutter,.rbc-time-gutter{flex:none}.rbc-label{padding:0 5px}.rbc-day-slot{position:relative}.rbc-day-slot .rbc-events-container{bottom:0;left:0;margin-right:10px;position:absolute;right:0;top:0}.rbc-day-slot .rbc-events-container.rbc-rtl{left:10px;right:0}.rbc-day-slot .rbc-background-event,.rbc-day-slot .rbc-event{align-items:flex-start;border:1px solid #265985;display:flex;flex-flow:column wrap;max-height:100%;min-height:20px;overflow:hidden;position:absolute}.rbc-day-slot .rbc-background-event{opacity:.75}.rbc-day-slot .rbc-event-label{flex:none;padding-right:5px;width:auto}.rbc-day-slot .rbc-event-content{word-wrap:break-word;flex:1 1;height:100%;line-height:1;min-height:1em;width:100%}.rbc-day-slot .rbc-time-slot{border-top:1px solid #f7f7f7}.rbc-time-view-resources .rbc-time-gutter,.rbc-time-view-resources .rbc-time-header-gutter{background-color:#fff;border-right:1px solid #ddd;left:0;margin-right:-1px;position:-webkit-sticky;position:sticky;z-index:10}.rbc-time-view-resources .rbc-time-header{overflow:hidden}.rbc-time-view-resources .rbc-time-header-content{flex:1 0;flex-basis:0px;min-width:auto}.rbc-time-view-resources .rbc-time-header-cell-single-day{display:none}.rbc-time-view-resources .rbc-day-slot{min-width:140px}.rbc-time-view-resources .rbc-day-bg,.rbc-time-view-resources .rbc-header{flex:1 1;flex-basis:0 px;width:140px}.rbc-time-header-content+.rbc-time-header-content{margin-left:-1px}.rbc-time-slot{flex:1 0}.rbc-time-slot.rbc-now{font-weight:700}.rbc-day-header{text-align:center}.rbc-slot-selection{background-color:#00000080;color:#fff;font-size:75%;padding:3px;position:absolute;width:100%;z-index:10}.rbc-slot-selecting{cursor:move}.rbc-time-view{border:1px solid #ddd;display:flex;flex:1 1;flex-direction:column;min-height:0;width:100%}.rbc-time-view .rbc-time-gutter{text-align:right;white-space:nowrap}.rbc-time-view .rbc-allday-cell{box-sizing:initial;height:100%;position:relative;width:100%}.rbc-time-view .rbc-allday-cell+.rbc-allday-cell{border-left:1px solid #ddd}.rbc-time-view .rbc-allday-events{position:relative;z-index:4}.rbc-time-view .rbc-row{box-sizing:border-box;min-height:20px}.rbc-time-header{display:flex;flex:0 0 auto;flex-direction:row}.rbc-time-header.rbc-overflowing{border-right:1px solid #ddd}.rbc-rtl .rbc-time-header.rbc-overflowing{border-left:1px solid #ddd;border-right-width:0}.rbc-time-header>.rbc-row.rbc-row-resource,.rbc-time-header>.rbc-row:first-child{border-bottom:1px solid #ddd}.rbc-time-header-cell-single-day{display:none}.rbc-time-header-content{border-left:1px solid #ddd;display:flex;flex:1 1;flex-direction:column;min-width:0}.rbc-rtl .rbc-time-header-content{border-left-width:0;border-right:1px solid #ddd}.rbc-time-header-content>.rbc-row.rbc-row-resource{border-bottom:1px solid #ddd;flex-shrink:0}.rbc-time-content{align-items:flex-start;border-top:2px solid #ddd;display:flex;flex:1 0;overflow-y:auto;position:relative;width:100%}.rbc-time-content>.rbc-time-gutter{flex:none}.rbc-time-content>*+*>*{border-left:1px solid #ddd}.rbc-rtl .rbc-time-content>*+*>*{border-left-width:0;border-right:1px solid #ddd}.rbc-time-content>.rbc-day-slot{user-select:none;-webkit-user-select:none;width:100%}.rbc-current-time-indicator{background-color:#74ad31;height:1px;left:0;pointer-events:none;position:absolute;right:0;z-index:3}.rbc-resource-grouping.rbc-time-header-content{display:flex;flex-direction:column}.rbc-resource-grouping .rbc-row .rbc-header{width:141px}.workout-execution{display:flex;flex-direction:column;gap:1.5rem;margin:0 auto;max-width:900px}.execution-header{background:#fff;border-radius:var(--radius-lg);box-shadow:0 4px 12px #0000001a;padding:1.5rem}.execution-header h2{color:#333;margin:1rem 0}.execution-estimated-time{color:#64748b;color:var(--text-secondary,#64748b);font-size:.85em;font-weight:500;margin-left:.25rem}.execution-section-strip{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0 0}.execution-section-pill{background:var(--bg-section);border:2px solid var(--border);border-radius:var(--radius-lg);color:var(--text-secondary);font-size:.875rem;font-weight:600;padding:.5rem 1rem;transition:background .2s,border-color .2s,color .2s}.execution-section-pill.active{background:#202c44;border-color:#202c44;color:#fff}.execution-section-strip .execution-section-pill:first-child.active{background:#f59e0b;border-color:#f59e0b}.execution-section-strip .execution-section-pill:nth-child(2).active{background:#202c44;border-color:#202c44}.execution-section-strip .execution-section-pill:nth-child(3).active{background:#10b981;border-color:#10b981}[data-theme=dark] .execution-section-pill.active{color:var(--text-primary)}[data-theme=dark] .execution-section-strip .execution-section-pill:first-child.active{background:#f59e0b;border-color:#f59e0b;color:#1c1917}[data-theme=dark] .execution-section-strip .execution-section-pill:nth-child(2).active{background:#3b82f6;border-color:#3b82f6;color:#fff}[data-theme=dark] .execution-section-strip .execution-section-pill:nth-child(3).active{background:#10b981;border-color:#10b981;color:#fff}.progress-bar-wrap{margin-top:1rem}.progress-bar-label{color:var(--text-primary);display:block;font-size:.9rem;font-weight:600;margin-bottom:.5rem}.progress-bar{background:var(--border);border-radius:14px;height:28px;overflow:hidden;width:100%}.progress-fill{background:linear-gradient(90deg,#202c44,#2a3a58);height:100%;transition:width .3s ease}[data-theme=dark] .progress-fill{background:linear-gradient(90deg,#3b82f6,#2563eb)}.rest-timer-overlay{align-items:center;background:#000c;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:2000}.rest-timer{background:#fff;border-radius:var(--radius-lg);min-width:300px;padding:3rem;text-align:center}.rest-timer h3{color:#333;margin-bottom:1rem}.timer-display{color:#202c44;font-size:4rem;font-weight:700;margin:1rem 0}.exercise-card-current{background:#fff;border-radius:var(--radius-lg);box-shadow:0 4px 12px #0000001a;padding:2rem}.exercise-header-exec{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.exercise-title-with-image{align-items:center;display:flex;gap:1rem}.exercise-image-placeholder{align-items:center;background:linear-gradient(135deg,#e2e8f0,#cbd5e1);border-radius:var(--radius-md);color:var(--text-secondary);display:flex;flex-shrink:0;font-size:.75rem;height:100px;justify-content:center;line-height:1.2;padding:.5rem;text-align:center;width:100px}.exercise-header-exec h3{color:#333;font-size:1.5rem;margin:0}.exercise-number{background:#202c44;border-radius:var(--radius-lg);color:#fff;flex-shrink:0;font-size:.875rem;font-weight:600;min-width:4.5rem;padding:.5rem 1rem;text-align:center;white-space:nowrap}[data-theme=dark] .exercise-number{background:var(--bg-section);border:1px solid var(--border);color:var(--text-primary)}.sets-list{flex-direction:column;margin-top:1.5rem}.set-item,.sets-list{display:flex;gap:1rem}.set-item{align-items:center;background:#f8f9fa;border:2px solid #0000;border-radius:var(--radius-md);padding:1rem;transition:all .2s ease}.set-item.completed{background:#d1fae5;border-color:#10b981}.set-checkbox{align-items:center;cursor:pointer;display:flex;gap:.5rem;min-width:100px}.set-checkbox input[type=checkbox]{cursor:pointer;height:24px;width:24px}.set-number{color:#333;font-weight:600}.set-inputs{display:flex;flex:1 1;gap:.5rem}.set-input{border:2px solid #e0e0e0;border-radius:var(--radius-md);flex:1 1;font-size:1rem;padding:.75rem}.set-input:focus{border-color:#202c44;outline:none}.rpe-input{max-width:80px}.navigation-buttons{display:flex;gap:1rem;justify-content:space-between}.navigation-buttons button{flex:1 1}.exercise-list-mini{border-radius:var(--radius-lg);box-shadow:0 4px 12px #0000001a;flex-wrap:wrap;padding:1rem}.exercise-list-mini,.mini-exercise{background:#fff;display:flex;gap:.5rem}.mini-exercise{align-items:center;border:2px solid #e0e0e0;border-radius:var(--radius-lg);cursor:pointer;font-size:.875rem;padding:.5rem 1rem;transition:all .2s ease}.mini-exercise:hover{border-color:#202c44;transform:translateY(-2px)}.mini-exercise.active{background:#202c44;border-color:#202c44;color:#fff}.mini-progress{font-size:.75rem;opacity:.8}.section-badge{border-radius:var(--radius-lg);color:#fff;display:inline-block;font-size:.875rem;font-weight:600;margin-top:.5rem;padding:.5rem 1rem}.superset-header-exec{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:1.5rem}.superset-badge-exec{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:var(--radius-md);color:#fff;font-size:.75rem;font-weight:700;letter-spacing:1px;padding:.5rem 1rem;text-transform:uppercase}.superset-header-exec h3{color:#333;flex:1 1;margin:0}.superset-info{background:#f8fafc;border-left:4px solid #667eea;border-radius:var(--radius-md);margin-bottom:1.5rem;padding:1rem}.superset-info p{color:#64748b;margin:0 0 .5rem}.completed-rounds{color:#10b981;font-weight:600;margin-top:.5rem}.superset-exercises-list{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));margin-bottom:2rem}@media (max-width:768px){.superset-exercises-list{grid-template-columns:1fr}}.superset-exercise-item{background:#fff;border:2px solid #e2e8f0;border-radius:var(--radius-lg);box-shadow:0 2px 8px #0000000d;padding:1.5rem;transition:all .2s ease}.superset-exercise-item.completed{background:#d1fae5;border-color:#10b981}.superset-exercise-header{align-items:flex-start;display:flex;gap:1rem}.superset-exercise-number{align-items:center;background:#667eea;border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:1rem;font-weight:700;height:36px;justify-content:center;width:36px}.superset-exercise-content{flex:1 1}.superset-exercise-content h4{color:#1e293b;font-size:1.25rem;margin:0 0 .5rem}.superset-exercise-details{color:#64748b;display:flex;font-size:.9rem;gap:1rem;margin:.5rem 0}.superset-exercise-notes{color:#64748b;font-size:.9rem;font-style:italic;margin:.5rem 0 0}.superset-checkbox{align-items:center;cursor:pointer;display:flex;flex-direction:column;flex-shrink:0;gap:.5rem}.superset-checkbox input[type=checkbox]{cursor:pointer;height:32px;width:32px}.superset-checkbox span{color:#64748b;font-size:.75rem;font-weight:600}.superset-mini{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea;color:#fff}.superset-mini:hover{background:linear-gradient(135deg,#764ba2,#667eea);border-color:#764ba2}.superset-label{background:#fff3;border-radius:var(--radius-sm);font-size:.75rem;font-weight:700;padding:.25rem .5rem}.superset-completion-actions{display:flex;justify-content:center;margin-top:2rem}.btn-large{font-size:1.1rem;font-weight:600;padding:1rem 2rem}.btn-success{background:linear-gradient(135deg,#10b981,#059669);border:none;color:#fff}.btn-success:hover{background:linear-gradient(135deg,#059669,#047857);box-shadow:0 4px 12px #10b9814d;transform:translateY(-2px)}.superset-instructions{color:#1e293b!important;font-size:1rem!important;font-weight:500!important;line-height:1.6}.exercise-reps,.exercise-weight{background:#e0e7ff;border-radius:var(--radius-sm);font-weight:600;padding:.25rem .75rem}.equipment-badge{background:#e2e8f0;border-radius:var(--radius-lg);color:#475569;display:inline-block;font-size:.75rem;font-weight:600;margin:.5rem 0;padding:.25rem .75rem}.exercise-notes{color:#64748b;font-style:italic;margin:.5rem 0}.exercise-target-exec{color:var(--text-primary);font-size:1rem;font-weight:600;margin:.75rem 0 .5rem}.exercise-notes-for-client{background:linear-gradient(135deg,#e0f2fe,#bae6fd);border:2px solid #0ea5e9;border-radius:var(--radius-lg);box-shadow:0 2px 8px #0ea5e926;margin:1.25rem 0;padding:1.25rem 1.5rem}.exercise-notes-for-client.superset-notes{margin:.75rem 0;padding:.75rem 1rem}.exercise-notes-heading{align-items:center;color:#0369a1;display:flex;font-size:1.05rem;font-weight:700;gap:.5rem;letter-spacing:.02em;margin:0 0 .75rem}.exercise-notes-for-client .exercise-key-cues,.exercise-notes-for-client .exercise-purpose,.exercise-notes-for-client .exercise-regression{margin:.4rem 0 0}.exercise-notes-for-client .exercise-field-empty{color:#94a3b8;font-style:italic}.exercise-notes-placeholder{color:#64748b;font-size:.85rem;font-style:italic;margin:.5rem 0 0}.exercise-purpose,.exercise-regression{color:#1e293b;font-size:.95rem;line-height:1.5;margin:.5rem 0 0}.exercise-notes-for-client .exercise-key-cues ul{margin:.35rem 0 0;padding-left:1.25rem}.exercise-notes-for-client .exercise-key-cues li{margin:.2rem 0}.exercise-key-cues{color:#334155;font-size:.9rem;margin:.5rem 0 0}.exercise-key-cues ul{margin:.25rem 0 0 1rem;padding:0}.superset-exercise-cues,.superset-exercise-purpose{color:#334155;font-size:.85rem;margin:.35rem 0 0}.superset-exercise-cues ul{margin:.2rem 0 0 1rem;padding:0}@media (max-width:768px){.set-item{align-items:stretch;flex-direction:column;padding:1.25rem}.set-checkbox{min-height:48px;padding:.25rem 0}.set-checkbox input[type=checkbox]{height:32px;min-height:32px;min-width:32px;width:32px}.set-inputs{flex-direction:column}.rpe-input{max-width:100%}.navigation-buttons{background:#fff;background:var(--bg-card,#fff);border-top:2px solid #e2e8f0;border-top:2px solid var(--border,#e2e8f0);bottom:0;box-shadow:0 -4px 12px #00000014;flex-direction:column;gap:.75rem;left:0;margin:0 -1rem -1rem;padding:1rem;position:-webkit-sticky;position:sticky;right:0}.navigation-buttons button{font-size:1.1rem;font-weight:600;min-height:52px;padding:.875rem 1.25rem}.navigation-buttons .btn-primary{order:-1}.superset-exercise-header{flex-direction:column}.superset-checkbox{align-self:flex-end}.superset-checkbox input[type=checkbox]{height:32px;min-height:32px;min-width:32px;width:32px}.exercise-card-current{padding-bottom:1rem}}.exercise-video-modal-overlay{align-items:center;background:#000000d9;display:flex;inset:0;justify-content:center;padding:1rem;position:fixed;z-index:2000}.exercise-video-modal{background:#1e293b;border-radius:var(--radius-lg);box-shadow:0 20px 60px #00000080;max-height:85vh;max-width:90vw;padding:.5rem;position:relative}.exercise-video-modal-close{align-items:center;background:#fff3;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:1.5rem;height:36px;justify-content:center;line-height:1;padding:0;position:absolute;right:.5rem;top:.5rem;width:36px;z-index:1}.exercise-video-modal-close:hover{background:#ffffff4d}.exercise-video-player{border-radius:var(--radius-md);display:block;max-height:80vh;max-width:100%}[data-theme=dark] .execution-header,[data-theme=dark] .exercise-card-current,[data-theme=dark] .rest-timer,[data-theme=dark] .superset-exercise-item{background:var(--bg-card)!important;border-color:var(--border);color:var(--text-primary)}[data-theme=dark] .execution-header h2,[data-theme=dark] .exercise-header-exec h3,[data-theme=dark] .rest-timer h3,[data-theme=dark] .set-number,[data-theme=dark] .superset-exercise-content h4,[data-theme=dark] .superset-header-exec h3,[data-theme=dark] .timer-display{color:var(--text-primary)!important}[data-theme=dark] .progress-bar{background:var(--border)}[data-theme=dark] .progress-bar-label{color:var(--text-primary)}[data-theme=dark] .exercise-image-placeholder{background:linear-gradient(135deg,var(--bg-section) 0,var(--border) 100%);color:var(--text-secondary)}[data-theme=dark] .set-item{background:var(--bg-section)!important;border-color:var(--border);color:var(--text-primary)}[data-theme=dark] .set-item.completed{background:#10b98133!important;border-color:#10b981}[data-theme=dark] .set-input{background:var(--input-bg)!important;border-color:var(--border)!important;color:var(--text-primary)!important}[data-theme=dark] .superset-info{background:var(--bg-section)!important;border-left-color:#818cf8;color:var(--text-primary)}[data-theme=dark] .superset-exercise-details,[data-theme=dark] .superset-exercise-notes,[data-theme=dark] .superset-info p,[data-theme=dark] .superset-instructions{color:var(--text-secondary)!important}[data-theme=dark] .superset-exercise-item{border-color:var(--border)}[data-theme=dark] .exercise-reps,[data-theme=dark] .exercise-weight{background:var(--border);color:var(--text-primary)}[data-theme=dark] .exercise-notes-for-client{background:var(--bg-section)!important;border-color:var(--border)!important;color:var(--text-primary)}[data-theme=dark] .exercise-notes-for-client .exercise-field-empty,[data-theme=dark] .exercise-notes-for-client .exercise-key-cues,[data-theme=dark] .exercise-notes-for-client .exercise-key-cues li,[data-theme=dark] .exercise-notes-for-client .exercise-notes-heading,[data-theme=dark] .exercise-notes-for-client .exercise-notes-placeholder,[data-theme=dark] .exercise-notes-for-client .exercise-purpose,[data-theme=dark] .exercise-notes-for-client .exercise-regression,[data-theme=dark] .exercise-notes-for-client h4{color:var(--text-primary)!important}[data-theme=dark] .exercise-list-mini{background:var(--bg-card)!important;border:2px solid var(--border);color:var(--text-primary)}[data-theme=dark] .mini-exercise{background:var(--bg-section)!important;border-color:var(--border);color:var(--text-primary)!important}[data-theme=dark] .mini-exercise.active{background:var(--bg-card)!important;border-color:var(--text-primary)}[data-theme=dark] .mini-exercise.superset-mini{background:var(--bg-section)!important;border-color:var(--border);color:var(--text-primary)!important}[data-theme=dark] .mini-exercise.superset-mini.active{background:var(--bg-card)!important;border-color:var(--text-primary)}.dashboard{width:100%}.dashboard-header{margin-bottom:2rem;text-align:center}.dashboard-header h2{color:#202c44;font-size:2rem;font-weight:700;margin-bottom:.5rem}.dashboard-subtitle{color:#64748b;font-size:1rem}.stats-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:1.5rem}.stat-card{align-items:center;background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);display:flex;gap:1rem;padding:1.5rem;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.stat-card:hover{border-color:#202c4466;box-shadow:0 8px 20px #202c4433,0 0 0 1px #202c444d;transform:translateY(-4px)}.stat-icon{align-items:center;color:#202c44;display:flex;font-size:2.5rem;justify-content:center;line-height:1}.stat-icon svg{height:32px;width:32px}.stat-content h3{color:var(--text-primary);font-size:2rem;font-weight:700;margin:0}.stat-content p{color:var(--text-secondary);font-size:.9rem;font-weight:500;margin:.25rem 0 0}.stat-primary{border-left:4px solid #202c44}.stat-success{border-left:4px solid #10b981}.stat-info{border-left:4px solid #2a3a58}.stat-info .stat-icon{color:#2a3a58}.stat-warning{border-left:4px solid #f59e0b}.stat-warning .stat-icon{color:#f59e0b}.stat-secondary{border-left:4px solid #6366f1}.stat-secondary .stat-icon{color:#6366f1}.dashboard-sections{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));margin-bottom:2rem}.dashboard-section{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);padding:1.5rem}.dashboard-section h3{border-bottom:2px solid var(--border);color:var(--text-primary);font-size:1.5rem;font-weight:600;margin-bottom:1rem;padding-bottom:.75rem}.progress-view-card .progress-view-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.progress-view-item{display:flex;flex-direction:column;gap:.5rem}.progress-view-label{color:#64748b;color:var(--text-secondary,#64748b);font-size:.9rem;font-weight:600}.progress-view-value{color:#202c44;color:var(--text-primary,#202c44);font-size:1.75rem;font-weight:700}.progress-view-weight-mini{max-height:180px;overflow:hidden}.progress-view-weight-mini svg{max-height:180px}.progress-view-empty{color:#64748b;color:var(--text-secondary,#64748b);font-size:.9rem;margin:0}.progress-view-last-list{display:flex;flex-direction:column;gap:.5rem;list-style:none;margin:0;padding:0}.progress-view-last-list li{align-items:center;display:flex;font-size:.9rem;gap:.75rem;justify-content:space-between}.progress-view-last-list li strong{flex:1 1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.progress-view-last-list li span{color:#64748b;color:var(--text-secondary,#64748b);flex-shrink:0;font-size:.85rem}.workout-list{display:flex;flex-direction:column;gap:1rem}.workout-item{align-items:center;background:var(--bg-section);border:2px solid var(--border);border-radius:8px;color:var(--text-primary);display:flex;justify-content:space-between;padding:1rem;transition:all .2s ease}.workout-item:hover{background:var(--bg-card);border-color:var(--text-secondary);box-shadow:var(--shadow)}.workout-item.completed{background:#10b9811a;border-color:#10b9814d}.workout-item.upcoming{background:#202c441a;border-color:#202c444d}.workout-item-content h4{color:var(--text-primary);font-size:1.1rem;font-weight:600;margin:0 0 .5rem}.workout-date{color:var(--text-secondary);font-size:.9rem;margin:0 0 .25rem}.workout-exercises{color:var(--text-secondary);font-size:.85rem;margin:0}.empty-state{color:#64748b;padding:2rem;text-align:center}.empty-state p{margin-bottom:1rem}.dashboard-empty-state{margin-bottom:2rem;padding:2rem;text-align:center}.dashboard-empty-state h3{color:var(--text-primary);margin-bottom:.75rem}.dashboard-empty-state p{color:var(--text-secondary);margin-bottom:1.25rem;margin-left:auto;margin-right:auto;max-width:480px}.dashboard-empty-state-actions{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}.dashboard-section-hint{color:var(--text-secondary);font-size:.9rem;margin:-.5rem 0 .75rem}.workout-history-list{list-style:none;margin:0;padding:0}.workout-history-item{align-items:center;border-bottom:1px solid var(--border);display:flex;font-size:.95rem;justify-content:space-between;padding:.5rem 0}.workout-history-item:last-child{border-bottom:none}.workout-history-date{color:var(--text-secondary);margin-right:1rem}.workout-history-name{color:var(--text-primary);font-weight:500}.quick-actions{background:linear-gradient(135deg,#fff,#f8fafc);border:2px solid #202c4433;border-radius:var(--radius-lg);box-shadow:0 4px 12px #202c441a,0 0 0 1px #202c440d;padding:1.5rem}.quick-actions h3{color:#202c44;font-size:1.5rem;font-weight:600;margin-bottom:1rem}.actions-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.action-btn{align-items:center;background:#fffc;border:2px solid #202c444d;border-radius:var(--radius-lg);color:#1e293b;cursor:pointer;display:flex;flex-direction:column;font-size:1rem;font-weight:600;gap:.75rem;padding:1.5rem;transition:all .3s ease}.action-btn:hover{box-shadow:0 8px 16px #202c4426;transform:translateY(-4px)}.action-primary{background:var(--bg-card);border-color:var(--border);color:var(--text-primary)}.action-primary:hover{background:var(--bg-section);border-color:var(--text-secondary);box-shadow:var(--shadow)}.action-secondary{background:var(--bg-section);border-color:var(--border);color:var(--text-primary)}.action-secondary:hover{background:var(--bg-card);border-color:var(--text-secondary)}.dashboard-weight-form-box{background:var(--bg-section);border-radius:8px;color:var(--text-primary);margin-bottom:1rem;padding:1.5rem}.dashboard-weight-empty{background:var(--bg-section);border-radius:8px;color:var(--text-secondary);margin-bottom:2rem;padding:1rem;text-align:center}.dashboard-weight-title{margin-bottom:1rem}.dashboard-weight-title,.trainer-info-section h3,.trainer-info-section h4,.trainer-info-section strong{color:var(--text-primary)}.trainer-email{color:var(--text-secondary);margin:.25rem 0 0}.trainer-hour-chip{background:var(--bg-section);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-primary);font-size:.9rem;padding:.5rem 1rem}.action-icon{align-items:center;display:flex;font-size:2rem;justify-content:center}.action-icon svg{height:20px;width:20px}@media (max-width:768px){.dashboard-sections{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,1fr)}.actions-grid{grid-template-columns:1fr}}.health-graph-wrapper{border-radius:8px}.trainer-dashboard{width:100%}.trainer-header{margin-bottom:2rem;text-align:center}.trainer-header h2{color:var(--text-primary);font-size:2rem;font-weight:700;margin-bottom:.5rem}.trainer-subtitle{color:var(--text-secondary);font-size:1rem}.trainer-metrics{display:flex;flex-wrap:wrap;gap:1.25rem;margin:1.5rem 0 1rem}.trainer-metric-card{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);min-width:140px;padding:1rem 1.5rem;text-align:center}.trainer-metric-value{color:var(--text-primary);display:block;font-size:1.75rem;font-weight:700;line-height:1.2}.trainer-metric-label{color:var(--text-secondary);display:block;font-size:.8rem;margin-top:.25rem}.trainer-header-actions{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1rem}.session-requests-card{background:#fbbf241f;border:2px solid #fbbf2480;margin-bottom:2rem}.session-requests-title{color:var(--text-primary);font-size:1.1rem;margin-bottom:1rem}.session-requests-list{display:flex;flex-direction:column;gap:1rem}.session-request-item{background:var(--bg-card);border:1px solid var(--border);border-radius:8px;padding:1rem}.session-request-row{align-items:flex-start;display:flex;gap:1rem;justify-content:space-between}.session-request-client{color:var(--text-primary);font-size:1.1rem}.session-request-meta{color:var(--text-secondary);font-size:.95rem;margin:.25rem 0}.session-request-date{color:var(--text-secondary);font-size:.85rem;margin:0}.session-request-actions{display:flex;flex-shrink:0;gap:.5rem}[data-theme=dark] .session-requests-card{background:#fbbf2426;border-color:#fbbf2466}[data-theme=dark] .session-requests-title{color:var(--text-primary)}.session-feedback-card{margin-bottom:2rem}.session-feedback-title{color:var(--text-primary);font-size:1.1rem;margin-bottom:.25rem}.session-feedback-subtitle{color:var(--text-secondary);font-size:.9rem;margin-bottom:1rem}.session-feedback-empty,.session-feedback-loading{color:var(--text-secondary);padding:1rem}.session-feedback-list{display:flex;flex-direction:column;gap:1rem}.session-feedback-item{background:var(--bg-section);border:1px solid var(--border);border-radius:var(--radius-md);padding:1rem}.session-feedback-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.5rem}.session-feedback-header strong{color:var(--text-primary)}.session-feedback-date{color:var(--text-secondary);font-size:.85rem}.session-feedback-workout{color:var(--text-primary);font-size:.95rem;margin-bottom:.5rem}.session-feedback-meta{color:var(--text-secondary);display:flex;font-size:.85rem;gap:1rem;margin-bottom:.25rem}.session-feedback-notes,.session-feedback-pain{color:var(--text-secondary);font-size:.85rem;margin-top:.5rem}.trainer-analytics-card{margin-bottom:2rem}.trainer-analytics-title{color:var(--text-primary);font-size:1.1rem;margin-bottom:.25rem}.trainer-analytics-subtitle{color:var(--text-secondary);font-size:.9rem;margin-bottom:1rem}.trainer-analytics-table-wrap{overflow-x:auto}.trainer-analytics-table{border-collapse:collapse;font-size:.9rem;width:100%}.trainer-analytics-table td,.trainer-analytics-table th{border-bottom:1px solid var(--border);padding:.5rem .75rem;text-align:left}.trainer-analytics-table th{color:var(--text-secondary);font-weight:600}.trainer-analytics-table td{color:var(--text-primary)}.trainer-analytics-table tbody tr:hover{background:var(--bg-section)}.trainer-layout{grid-gap:2rem;align-items:start;display:grid;gap:2rem;grid-template-columns:350px 1fr}.clients-panel,.workouts-panel{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);padding:1.5rem}.panel-header{align-items:center;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;margin-bottom:1.5rem;padding-bottom:1rem}.panel-header h3{color:var(--text-primary);font-size:1.5rem;margin:0}.client-info{color:var(--text-secondary);font-size:.9rem;margin:.25rem 0 0}.client-form-card{background:var(--bg-section);border:2px solid var(--border);border-radius:8px;color:var(--text-primary);margin-bottom:1.5rem;padding:1.5rem}.client-form-card h4{color:var(--text-primary);margin-bottom:1rem}.form-actions{display:flex;gap:.75rem;margin-top:1rem}.clients-list{display:flex;flex-direction:column;gap:.75rem;max-height:calc(100vh - 400px);overflow-y:auto}.client-card{background:var(--bg-section);border:2px solid var(--border);border-radius:8px;color:var(--text-primary);cursor:pointer;padding:1rem;transition:all .2s ease}.client-card:hover{background:var(--bg-card);border-color:var(--text-secondary)}.client-card.selected{background:var(--bg-card);border-color:#202c44;box-shadow:0 0 0 2px #202c444d}.client-card-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.5rem}.client-card-header h4{color:var(--text-primary);font-size:1.1rem;margin:0}.client-card-actions{display:flex;gap:.5rem}.btn-icon{background:#0000;border:none;border-radius:var(--radius-sm);cursor:pointer;font-size:1.2rem;padding:.25rem .5rem;transition:all .2s ease}.btn-icon:hover{background:#d4af371a;transform:scale(1.1)}.client-email,.client-phone,.client-training-frequency{color:#b8b8b8;font-size:.85rem;margin:.25rem 0 0}.empty-panel{color:#b8b8b8;padding:4rem 2rem;text-align:center}.workouts-list{display:flex;flex-direction:column;gap:1rem;max-height:calc(100vh - 250px);overflow-y:auto}.workout-card{background:#fffc;border:1px solid #d4af3733;border-radius:8px;padding:1.25rem;transition:all .2s ease}.workout-card:hover{background:#fff;border-color:#d4af3766;box-shadow:0 4px 8px #d4af371a}.workout-card-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:1rem}.workout-card-header h4{color:#202c44;font-size:1.2rem;margin:0 0 .5rem}.workout-description{color:#b8b8b8;font-size:.9rem;margin:0}.workout-actions{display:flex;gap:.5rem}.workout-meta{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1rem}.workout-badge{background:#d4af371a;border:1px solid #d4af374d;border-radius:var(--radius-lg);color:#202c44;font-size:.85rem;font-weight:600;padding:.35rem .75rem}.workout-badge.scheduled{background:#f4d03f1a;border-color:#f4d03f4d;color:#2a3a58}.workout-badge.completed{background:#d4af3733;border-color:#d4af3780;color:#202c44}.workout-exercises-preview{color:#b8b8b8;font-size:.9rem}.workout-exercises-preview strong{color:#202c44;display:block;margin-bottom:.5rem}.workout-exercises-preview ul{list-style:none;margin:0;padding:0}.workout-exercises-preview li{color:var(--text-secondary);padding:.25rem 0}.more-exercises{color:var(--text-primary)!important;font-style:italic}.btn-small{font-size:.875rem}@media (max-width:1024px){.trainer-layout{grid-template-columns:1fr}.clients-list,.workouts-list{max-height:400px}}[data-theme=dark] .workout-card,[data-theme=dark] .workouts-panel{background:var(--bg-card);border-color:var(--border);color:var(--text-primary)}[data-theme=dark] .workout-card .workout-meta,[data-theme=dark] .workout-card h4{color:var(--text-primary)}[data-theme=dark] .workout-description{color:var(--text-secondary)}[data-theme=dark] .workout-badge{background:var(--bg-section);border-color:var(--border);color:var(--text-primary)}[data-theme=dark] .workout-exercises-preview,[data-theme=dark] .workout-exercises-preview strong{color:var(--text-primary)}[data-theme=dark] .workout-exercises-preview li{color:var(--text-secondary)}.unscheduled-workouts-section{margin-top:2rem}.client-info-modal,.client-info-modal h2{color:var(--text-primary)}.client-info-modal h2{border-bottom:2px solid var(--border);margin-bottom:1.5rem;padding-bottom:.5rem}.client-info-modal h3,.client-info-modal h5{color:var(--text-primary);margin-bottom:1rem}.client-info-modal .client-info-section{background:var(--bg-section);border-radius:8px;color:var(--text-primary);margin-bottom:2rem;padding:1.5rem}.client-info-modal .client-info-section h3{margin-bottom:1rem}.client-info-modal .client-info-muted{color:var(--text-secondary);line-height:1.6}.client-info-modal .client-info-parq-box{background:var(--bg-section);border:2px solid var(--border);border-radius:8px;color:var(--text-primary);margin-bottom:2rem;padding:1.5rem}.client-info-modal .client-info-parq-box h3{color:var(--text-primary);margin-bottom:1rem}.client-info-modal .client-info-parq-section{border-top:1px solid var(--border);margin-top:1rem;padding-top:1rem}.client-info-modal .client-info-parq-section strong{color:var(--text-primary)}.client-info-modal .client-info-warning{background:var(--bg-section);border:1px solid var(--border);border-radius:8px;color:var(--text-secondary);margin-bottom:2rem;padding:1rem}.client-info-modal .client-info-weight-form{background:var(--bg-card);border:1px solid var(--border);border-radius:8px;margin-bottom:1.5rem;padding:1rem}.client-info-modal .client-info-weight-form .input-group label,.client-info-modal .client-info-weight-form input,.client-info-modal .client-info-weight-form textarea{color:var(--text-primary)}.client-info-modal .client-info-weight-form input,.client-info-modal .client-info-weight-form textarea{background:var(--input-bg);border-color:var(--border)}.client-info-modal .client-info-weight-table{background:var(--bg-card);border-collapse:collapse;border-radius:8px;color:var(--text-primary);min-width:800px;overflow:hidden;width:100%}.client-info-modal .client-info-weight-table thead tr{background:var(--bg-section);border-bottom:2px solid var(--border)}.client-info-modal .client-info-weight-table th{color:var(--text-primary);font-weight:600;padding:.75rem;text-align:left}.client-info-modal .client-info-weight-table th:last-child{text-align:center}.client-info-modal .client-info-weight-table tbody tr{border-bottom:1px solid var(--border)}.client-info-modal .client-info-weight-table td{color:var(--text-primary);padding:.75rem}.client-info-modal .client-info-weight-table .td-muted{color:var(--text-secondary)}[data-theme=dark] .client-info-parq-box.client-info-parq-completed{border-color:#10b981}.client-info-parq-box.client-info-parq-completed h3{color:#10b981}.client-profile-section{margin-bottom:2rem}.client-profile-section-title{color:var(--text-primary);font-size:1.1rem;font-weight:600;margin-bottom:1rem}.client-profile-table{background:var(--bg-card);border:1px solid var(--border);border-collapse:collapse;border-radius:8px;color:var(--text-primary);overflow:hidden;width:100%}.client-profile-table thead tr{background:var(--bg-section);border-bottom:2px solid var(--border)}.client-profile-table th{color:var(--text-primary);font-weight:600;padding:.75rem;text-align:left}.client-profile-table th.client-profile-table-actions{text-align:center}.client-profile-table tbody tr{border-bottom:1px solid var(--border)}.client-profile-table tbody tr:last-child{border-bottom:none}.client-profile-table td{color:var(--text-primary);padding:.75rem}.client-profile-table-muted{color:var(--text-secondary);font-size:.85rem;margin-top:.25rem}.client-profile-table-actions{text-align:center}.client-profile-table-actions-inner{display:flex;gap:.5rem;justify-content:center}.phone-input-wrap{align-items:stretch;background:#fff;background:var(--input-bg,#fff);border:1px solid #ddd;border:1px solid var(--input-border,#ddd);border-radius:4px;border-radius:var(--radius-md,4px);display:flex;gap:0;overflow:hidden;width:100%}.phone-input-country{background:#f8fafc;background:var(--bg-section,#f8fafc);cursor:pointer;flex-shrink:0;font-size:.95rem;min-width:5.5rem;padding:.75rem .5rem .75rem .75rem}.phone-input-country,.phone-input-number{border:none;color:#1e293b;color:var(--text-primary,#1e293b)}.phone-input-number{background:#0000;border-left:1px solid #e2e8f0;border-left:1px solid var(--input-border,#e2e8f0);flex:1 1;font-size:1rem;min-width:0;padding:.75rem 1rem}.phone-input-number::placeholder{color:#64748b;color:var(--text-secondary,#64748b)}.phone-input-number:focus{outline:none}.phone-input-wrap:focus-within{border-color:#3b82f6;outline:2px solid #3b82f6;outline-offset:-1px}[data-theme=dark] .phone-input-country{background:var(--bg-section);color:var(--text-primary)}[data-theme=dark] .phone-input-number{border-left-color:var(--border);color:var(--text-primary)}.admin-dashboard{color:var(--text-primary);width:100%}.admin-header{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:2rem}.admin-header>div{flex:1 1;text-align:center}.admin-header h2{color:var(--text-primary);font-size:2rem;font-weight:700;margin-bottom:.5rem}.admin-subtitle{color:var(--text-secondary);font-size:1rem}.admin-stats{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:2rem}.stat-card-admin{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);cursor:pointer;padding:1.5rem;text-align:center;transition:all .2s ease}.stat-card-admin:hover{border-color:var(--border);box-shadow:0 8px 16px #0003;transform:translateY(-4px)}.stat-card-admin h3{color:var(--text-primary);font-size:2.5rem;font-weight:700;margin:0 0 .5rem}.stat-card-admin p{color:var(--text-secondary);font-size:.9rem;margin:0}.filter-tabs{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:2rem}.filter-tabs button{background:var(--bg-section);border:1px solid var(--border);border-radius:var(--radius-md);color:var(--text-primary);cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 1.5rem;transition:all .3s ease}.filter-tabs button.active,.filter-tabs button:hover{background:var(--bg-card);border-color:var(--text-primary)}.filter-tabs button.active{color:var(--text-primary)}.users-list{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);overflow-x:auto;padding:1.5rem}.users-table{border-collapse:collapse;color:var(--text-primary);width:100%}.users-table thead{border-bottom:2px solid var(--border)}.users-table th{font-size:.95rem;font-weight:600;text-align:left}.users-table td,.users-table th{color:var(--text-primary);padding:1rem}.users-table td{border-bottom:1px solid var(--border)}.users-table tr:hover{background:var(--bg-section)}.users-table tr.exercise-row-editing{background:#3b82f626;border-left:4px solid #3b82f6}[data-theme=dark] .users-table tr.exercise-row-editing{background:#3b82f633;border-left-color:#60a5fa}.admin-exercise-gif,.admin-exercise-thumb{background:var(--bg-section);border:1px solid var(--border);border-radius:6px;display:block;object-fit:cover}.admin-exercise-thumb{height:56px;min-height:56px;min-width:56px;width:56px}.admin-exercise-thumb video,td video.admin-exercise-thumb{display:block;height:56px;object-fit:cover;width:56px}.admin-exercise-incomplete-warning{align-items:center;color:#d97706;display:inline-flex;flex-shrink:0;justify-content:center;margin-right:.5rem;vertical-align:middle}.admin-exercise-incomplete-warning svg{display:block}[data-theme=dark] .admin-exercise-incomplete-warning{color:#fbbf24}.admin-exercise-gif{height:64px;object-fit:contain;width:64px}.admin-gif-preview-backdrop{animation:adminFadeInPreview .2s ease;background:#00000059;inset:0;pointer-events:auto;position:fixed;z-index:999}.admin-gif-preview-modal{animation:adminFadeInPreview .3s ease;max-width:300px;pointer-events:none;position:fixed;transform:translate(-50%,-50%);width:300px;z-index:1000}@media (max-width:768px){.admin-gif-preview-modal{left:50%!important;max-width:min(300px,90vw);pointer-events:auto;top:50%!important;width:min(300px,90vw)}}.admin-gif-preview-modal.admin-gif-preview-modal-touch{pointer-events:auto}@keyframes adminFadeInPreview{0%{opacity:0;transform:translate(-50%,-50%) scale(.9)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}.admin-gif-preview-content{background:#fff;border:2px solid #d4af3766;border-radius:16px;box-shadow:0 12px 40px #0000004d;padding:1.5rem}.admin-gif-preview-content h4{color:#202c44;font-size:1.1rem;margin:0 0 1rem;text-align:center}.admin-gif-preview-image{aspect-ratio:3/4;background:linear-gradient(135deg,#f5f7fa,#e8ecf1);border-radius:var(--radius-lg);margin-bottom:1rem;max-height:420px;overflow:hidden;width:100%}.admin-gif-preview-image .admin-gif-preview-animated{height:100%;object-fit:cover;width:100%}.admin-gif-preview-tags{display:flex;gap:.5rem;justify-content:center}.role-badge{border-radius:var(--radius-lg);display:inline-block;font-size:.8rem;font-weight:700;letter-spacing:.5px;padding:.35rem .75rem}.badge-admin{background:#ff4d4d33;border:1px solid #ff4d4d66;color:#dc2626}.badge-trainer{background:#f4d03f33;border:1px solid #f4d03f66;color:var(--text-primary)}.badge-client{background:#d4af3733;border:1px solid #d4af3766;color:var(--text-primary)}.role-select{background:var(--input-bg);border:1px solid var(--border);border-radius:6px;color:var(--text-primary);cursor:pointer;font-size:.9rem;padding:.5rem;transition:all .2s ease}.role-select:hover{background:var(--input-bg);border-color:var(--text-primary)}.role-select:focus{border-color:var(--text-primary);box-shadow:0 0 8px #0003;outline:none}.users-table td .btn-danger{background:#ff4d4d33;border:1px solid #ff4d4d66;color:#dc2626;font-size:.85rem;padding:.4rem .8rem}.users-table td .btn-danger:hover{background:#ff4d4d4d;border-color:#dc2626;transform:translateY(-1px)}.add-user-form-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);color:var(--text-primary);margin-bottom:2rem;padding:2rem}.add-user-form-card h3{color:var(--text-primary);font-size:1.5rem;margin-bottom:1.5rem}.form-row{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:1.5rem}.add-user-form-card .input-group{margin-bottom:0}.add-user-form-card .input-group label{color:var(--text-primary);display:block;font-weight:600;margin-bottom:.5rem}.add-user-form-card .input-group input,.add-user-form-card .input-group select,.add-user-form-card .input-group textarea{background:var(--input-bg);border:1px solid var(--border);border-radius:var(--radius-md);color:var(--text-primary);font-size:1rem;padding:.75rem;transition:border-color .3s ease;width:100%}.add-user-form-card .input-group input:focus,.add-user-form-card .input-group select:focus,.add-user-form-card .input-group textarea:focus{background:var(--input-bg);border-color:var(--text-primary);box-shadow:0 0 10px #00000026;outline:none}.add-user-form-card .form-actions{display:flex;gap:1rem;margin-top:1.5rem}.admin-dashboard .assignments-list,.admin-dashboard .empty-state{color:var(--text-primary)}.admin-dashboard .card p,.admin-dashboard .empty-state p{color:var(--text-secondary)}.admin-assign-select,.admin-dashboard .card,.admin-dashboard .card h3{color:var(--text-primary)}.admin-assign-select{background:var(--input-bg);border:1px solid var(--border);border-radius:var(--radius-sm);padding:.5rem}.exercise-upload-loading{align-items:center;background:var(--bg-section);border-radius:var(--radius-md);color:var(--text-primary);display:flex;gap:.5rem;margin-top:1rem;padding:.75rem 1rem}.exercise-upload-spinner{animation:exercise-upload-spin .7s linear infinite;border:2px solid var(--border);border-radius:50%;border-top-color:var(--text-primary);height:18px;width:18px}.admin-muted{color:var(--text-secondary)}@media (max-width:768px){.admin-header{flex-direction:column;text-align:center}.users-table{font-size:.85rem}.users-table td,.users-table th{padding:.75rem .5rem}.filter-tabs{flex-direction:column}.filter-tabs button{width:100%}.form-row{grid-template-columns:1fr}}@keyframes exercise-upload-spin{to{transform:rotate(1turn)}}[data-theme=dark] .add-user-form-card,[data-theme=dark] .admin-dashboard .card,[data-theme=dark] .admin-gif-preview-content,[data-theme=dark] .stat-card-admin,[data-theme=dark] .users-list{background:var(--bg-card);border-color:var(--border);color:var(--text-primary)}[data-theme=dark] .admin-gif-preview-content h4{color:var(--text-primary)}[data-theme=dark] .admin-gif-preview-tags .tag-category{background:#3b82f640;color:#93c5fd}[data-theme=dark] .admin-gif-preview-tags .tag-equipment{background:#8b5cf640;color:#c4b5fd}[data-theme=dark] .admin-dashboard .card p,[data-theme=dark] .admin-dashboard .empty-state p{color:var(--text-secondary)}[data-theme=dark] .filter-tabs button{background:var(--bg-section);border-color:var(--border);color:var(--text-primary)}[data-theme=dark] .filter-tabs button.active{background:var(--bg-card);border-color:var(--text-primary);color:var(--text-primary)}[data-theme=dark] .badge-client,[data-theme=dark] .badge-trainer{color:var(--text-primary)}.profile-container{margin:0 auto;max-width:1400px;padding:2rem}.profile-header{margin-bottom:2rem;text-align:center}.profile-header h2{color:var(--text-primary);font-size:2rem;font-weight:700;margin-bottom:.5rem}.profile-header p{color:var(--text-secondary);font-size:1rem}.profile-layout{align-items:flex-start;display:flex;gap:2rem}.profile-sidebar{background:var(--bg-card);border:2px solid var(--border);border-radius:12px;box-shadow:var(--shadow);flex-shrink:0;padding:1.5rem;position:-webkit-sticky;position:sticky;top:100px;width:250px}.profile-nav{display:flex;flex-direction:column;gap:.5rem}.profile-nav-item{align-items:center;background:#0000;border:none;border-radius:var(--radius-md);color:#64748b;cursor:pointer;display:flex;font-size:1rem;font-weight:500;gap:.75rem;padding:1rem;text-align:left;transition:all .2s ease}.profile-nav-item:hover{background:#f8fafc;color:#202c44}.profile-nav-item.active{background:#202c44;color:#fff}.profile-nav-item .nav-icon{font-size:1.25rem}.profile-nav-item .nav-label{flex:1 1}.profile-content{display:flex;flex:1 1;flex-direction:column;gap:2rem;max-width:100%;min-width:0}.profile-section{background:var(--bg-card);border:2px solid var(--border);border-radius:12px;box-shadow:var(--shadow);color:var(--text-primary);overflow:visible;padding:2rem}.profile-section h3{font-size:1.5rem;margin-bottom:1.5rem}.profile-section h3,.profile-section h4{color:var(--text-primary);font-weight:600}.profile-section h4{font-size:1.2rem;margin-bottom:1rem}.profile-section .input-group{margin-bottom:1.5rem}.profile-section .input-group label{color:var(--text-primary);display:block;font-size:.95rem;font-weight:500;margin-bottom:.5rem}.profile-section .input-group input,.profile-section .input-group textarea{border:2px solid #e2e8f0;border-radius:var(--radius-md);font-family:inherit;font-size:1rem;padding:.75rem;transition:border-color .2s ease;width:100%}.profile-section .input-group input:focus,.profile-section .input-group textarea:focus{border-color:#202c44;outline:none}.profile-section .input-group textarea{min-height:100px;resize:vertical}.loading{color:#64748b;font-size:1.1rem;padding:3rem;text-align:center}.btn{border:none;border-radius:var(--radius-md);cursor:pointer;font-family:inherit;font-size:1rem;font-weight:600;padding:.75rem 1.5rem;transition:all .2s ease}.btn-primary{background:#202c44;color:#fff}.btn-primary:hover:not(:disabled){background:#1d4ed8;box-shadow:0 4px 12px #202c444d;transform:translateY(-2px)}.btn-primary:disabled{cursor:not-allowed;opacity:.6}.btn-secondary{background:#64748b;color:#fff}.btn-secondary:hover{background:#475569}.btn-small{font-size:.9rem;padding:.5rem 1rem}.btn-danger{background:#ef4444;color:#fff}.btn-danger:hover{background:#dc2626}table{border-collapse:collapse;width:100%}table td,table th{min-width:80px;padding:.75rem;text-align:left;white-space:nowrap}table td:first-child,table th:first-child{min-width:120px;padding-left:1rem}table th{background:var(--bg-section);border-bottom:2px solid var(--border);color:var(--text-primary);font-weight:600}table tr{border-bottom:1px solid var(--border)}table tr:hover{background:var(--bg-section)}.parq-form-section,.parq-form-title{color:var(--text-primary)}.parq-form-title{font-size:1.5rem;margin-bottom:.5rem;text-align:center}.parq-client-info{background:var(--bg-section);border-radius:var(--radius-md);margin-bottom:2rem;padding:1.5rem}.parq-client-info,.parq-client-info .input-group label,.parq-client-info .parq-section-heading,.parq-client-info input{color:var(--text-primary)}.parq-client-info input{background:var(--input-bg);border:1px solid var(--border)}.parq-section-heading{color:var(--text-primary);font-size:1.15rem;margin-bottom:1rem}.parq-section-heading-bar{border-bottom:2px solid var(--border);padding-bottom:.5rem}.parq-section-desc{color:var(--text-secondary);font-size:.95rem;margin-bottom:1rem}.parq-subsection{margin-bottom:2rem}.parq-subsection .parq-section-heading,.parq-subsection label,.parq-subsection span{color:var(--text-primary)}.parq-declaration-box{border:2px solid var(--border)}.parq-declaration-box .parq-section-heading,.parq-declaration-text{color:var(--text-primary)}.parq-declaration-text{line-height:1.6;margin-bottom:1rem}.parq-completed-badge{background:#d1fae5;border-radius:var(--radius-md);color:#065f46;margin-bottom:1rem;padding:1rem}[data-theme=dark] .parq-client-info,[data-theme=dark] .parq-declaration-box{background:var(--bg-section);border-color:var(--border)}[data-theme=dark] .parq-completed-badge{background:#10b98140;color:#6ee7b7}.health-tracking-content,.health-tracking-heading{color:var(--text-primary)}.health-tracking-heading{font-size:1.1rem;margin-bottom:1rem}.health-tracking-subheading{color:var(--text-primary);font-size:.95rem;margin-bottom:.75rem}.health-tracking-empty,.health-tracking-form-box{background:var(--bg-section);border-radius:var(--radius-md);color:var(--text-primary);margin-bottom:2rem;padding:1rem 1.5rem;text-align:center}.health-tracking-form-box{margin-bottom:1.5rem;text-align:left}.health-tracking-graph-wrap{margin-bottom:2rem}.health-tracking-history{margin-top:1.5rem}.health-tracking-entries-list{display:flex;flex-direction:column;gap:.75rem;max-height:400px;min-width:0;overflow-y:auto}.health-tracking-entry-card{background:#fff;background:var(--bg-card,#fff);border:1px solid #e2e8f0;border:1px solid var(--border,#e2e8f0);border-radius:var(--radius-md);color:var(--text-primary);min-width:0;overflow:visible;padding:1rem 1.25rem}.health-tracking-entry-card .health-tracking-entry-header{min-width:0}.health-tracking-entry-header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:.75rem;justify-content:space-between;margin-bottom:.5rem}.health-tracking-entry-header>div:first-child{flex:1 1 auto;min-width:0}.health-tracking-entry-weight{color:var(--text-primary);font-size:1.1rem}.health-tracking-entry-date{color:var(--text-secondary);font-size:.9rem;margin-top:.25rem}.health-tracking-entry-measurements{color:var(--text-secondary);display:flex;flex-wrap:wrap;font-size:.9rem;gap:.5rem 1rem}.health-tracking-entry-measurements>span{white-space:nowrap}.health-graph-wrapper{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-md);color:var(--text-secondary);overflow-x:auto;overflow-y:visible;padding:1rem 1rem 1.5rem 1.5rem}.health-graph-inner{display:inline-block;min-width:min(100%,600px);padding-left:2rem}.health-tracking-entry-notes{border-top:1px solid #e2e8f0;border-top:1px solid var(--border,#e2e8f0);color:var(--text-secondary);font-size:.9rem;margin-top:.5rem;padding-top:.5rem}.health-tracking-entry-notes .health-tracking-entry-label{color:var(--text-primary);font-weight:500}.health-tracking-no-entries{color:var(--text-secondary);font-style:italic}.health-tracking-disabled{background:var(--bg-section);padding:2rem}.health-tracking-disabled,.health-tracking-graph-empty{border-radius:var(--radius-md);color:var(--text-secondary);text-align:center}.health-tracking-graph-empty{background:var(--bg-card);border:1px solid var(--border);padding:1.5rem}.health-tracking-graph-empty p{color:var(--text-secondary);margin:0}.parq-form-section input[type=tel],.parq-form-section input[type=text],.parq-form-section textarea,.parq-inline-input{background:var(--input-bg);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-primary);padding:.5rem;width:100%}@media (max-width:768px){.profile-layout{flex-direction:column}.profile-sidebar{position:static;width:100%}.profile-nav{flex-direction:row;flex-wrap:wrap}.profile-nav-item{flex:1 1;justify-content:center;min-width:120px}.profile-nav-item .nav-label{display:none}}.workout-feedback-container{align-items:center;display:flex;justify-content:center;min-height:60vh;padding:2rem}.workout-feedback-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);color:var(--text-primary);max-width:600px;padding:2.5rem;width:100%}.workout-feedback-card h2{color:var(--text-primary);font-size:2rem;margin-bottom:.5rem}.workout-feedback-subtitle{color:var(--text-secondary);margin-bottom:1rem}.completed-workout-summary{background:var(--bg-section);border:1px solid var(--border);border-radius:8px;margin-bottom:1.5rem;padding:1rem}.completed-workout-summary-title{color:var(--text-primary);font-size:1rem;margin:0 0 .75rem}.completed-workout-list{color:var(--text-primary);list-style:disc;margin:0;padding-left:1.25rem}.completed-workout-list-item{margin-bottom:.5rem}.completed-workout-list-item strong{color:var(--text-primary)}.completed-workout-detail{color:var(--text-secondary);display:block;font-size:.85rem}.completed-workout-detail:first-of-type{font-size:.9rem}.workout-feedback-actions{display:flex;gap:1rem;margin-top:2rem}.workout-feedback-card .input-group{margin-bottom:1.5rem}.workout-feedback-card .input-group label{color:var(--text-primary);display:block;font-size:.95rem;font-weight:500;margin-bottom:.5rem}.workout-feedback-card .input-group select,.workout-feedback-card .input-group textarea{background:var(--input-bg);border:2px solid var(--border);border-radius:var(--radius-md);color:var(--text-primary);font-family:inherit;font-size:1rem;padding:.75rem;transition:border-color .2s ease;width:100%}.workout-feedback-card .input-group select:focus,.workout-feedback-card .input-group textarea:focus{border-color:var(--text-primary);outline:none}.workout-feedback-card .input-group textarea{min-height:100px;resize:vertical}.workout-feedback-card .btn{border:none;border-radius:var(--radius-md);cursor:pointer;font-family:inherit;font-size:1rem;font-weight:600;padding:.75rem 1.5rem;transition:all .2s ease}.workout-feedback-card .btn-primary{background:#202c44;color:#fff}.workout-feedback-card .btn-primary:hover{background:#1d4ed8;box-shadow:0 4px 12px #202c444d;transform:translateY(-2px)}.workout-feedback-card .btn-secondary{background:#64748b;color:#fff}.workout-feedback-card .btn-secondary:hover{background:#475569}[data-theme=dark] .workout-feedback-card{background:var(--bg-card);border-color:var(--border);color:var(--text-primary)}[data-theme=dark] .workout-feedback-card h2{color:var(--text-primary)}[data-theme=dark] .workout-feedback-subtitle{color:var(--text-secondary)}[data-theme=dark] .completed-workout-summary{background:var(--bg-section);border-color:var(--border)}[data-theme=dark] .completed-workout-list,[data-theme=dark] .completed-workout-list-item strong,[data-theme=dark] .completed-workout-summary-title{color:var(--text-primary)}[data-theme=dark] .completed-workout-detail{color:var(--text-secondary)}[data-theme=dark] .workout-feedback-card .input-group label{color:var(--text-primary)}[data-theme=dark] .workout-feedback-card .input-group select,[data-theme=dark] .workout-feedback-card .input-group textarea{background:var(--input-bg);border-color:var(--border);color:var(--text-primary)}[data-theme=dark] .workout-feedback-card .input-group select:focus,[data-theme=dark] .workout-feedback-card .input-group textarea:focus{border-color:var(--text-primary)}.auth-container{align-items:center;display:flex;justify-content:center;min-height:100vh;padding:2rem}.auth-card{background:#fff;border-radius:var(--radius-lg);box-shadow:0 20px 60px #0000004d;max-width:500px;padding:3rem;width:100%}.auth-header-row{align-items:center;display:flex;gap:1rem;justify-content:space-between;margin-bottom:2rem}.auth-logo-container{align-items:center;display:flex;justify-content:center}.auth-lang-select{background:#fff;border:1px solid #e0e0e0;border-radius:var(--radius-md);color:#333;cursor:pointer;font-size:.875rem;padding:.4rem .5rem}.auth-tabs{border-bottom:2px solid #e0e0e0;display:flex;gap:.5rem;margin-bottom:2rem}.auth-tabs button{background:#0000;border:none;border-bottom:3px solid #0000;color:#666;cursor:pointer;flex:1 1;font-size:1rem;font-weight:600;padding:1rem;transition:all .2s ease}.auth-tabs button:hover{color:#333}.auth-tabs button.active{border-bottom-color:#202c44;color:#202c44}.auth-form{display:flex;flex-direction:column;gap:1.5rem}.error-message{background:#fee2e2;border-left:4px solid #dc2626;border-radius:var(--radius-md);color:#dc2626;font-size:.875rem;margin-bottom:1rem;padding:1rem}@media (max-width:768px){.auth-card{padding:2rem}.auth-logo{font-size:2rem}}.logo-container{align-items:center;display:flex;justify-content:center;margin:0 auto}.logo-image{display:block;height:auto;max-width:100%;object-fit:contain;width:100%}.logo-small .logo-image{max-height:75px;max-width:300px}.logo-medium .logo-image{max-height:125px;max-width:500px}.logo-large .logo-image{max-height:175px;max-width:700px}@media (max-width:768px){.logo-medium .logo-image{max-height:100px;max-width:100%}.logo-container{margin:.5rem 0}}@media (max-width:480px){.logo-medium .logo-image{max-height:80px;max-width:100%}}.landing-page{background:#f8fafc;color:#0f172a;min-height:100vh}.landing-header{background:#202c44;border-bottom:1px solid #ffffff1a;position:-webkit-sticky;position:sticky;top:0;z-index:100}.landing-header-inner{justify-content:space-between;margin:0 auto;max-width:1200px;padding:.875rem 1.5rem}.landing-header-inner,.landing-logo{align-items:center;display:flex}.landing-lang-select{background:#ffffff1a;border:1px solid #ffffff4d;border-radius:var(--radius-md);color:#e2e8f0;cursor:pointer;font-size:.875rem;padding:.4rem .5rem}.landing-lang-select:focus,.landing-lang-select:hover{background:#ffffff26;outline:none}.landing-login-btn{background:#fff;border:none;border-radius:var(--radius-md);color:#202c44;cursor:pointer;font-size:.95rem;font-weight:600;padding:.6rem 1.5rem;transition:background .2s,transform .1s,box-shadow .2s}.landing-login-btn:hover{background:#f1f5f9;box-shadow:0 4px 14px #00000026;transform:translateY(-1px)}.landing-login-btn:active{transform:translateY(0)}.landing-hero{align-items:center;background-position:50%;background-repeat:no-repeat;background-size:cover;display:flex;justify-content:center;min-height:85vh;position:relative}.landing-hero-overlay{background:linear-gradient(135deg,#202c44e0,#202c44bf 50%,#202c44d1);inset:0;position:absolute}.landing-hero-content{margin:0 auto;max-width:720px;padding:3rem 1.5rem;position:relative;text-align:center;z-index:2}.landing-hero-title{color:#fff;font-size:clamp(2.25rem,5.5vw,3.5rem);font-weight:800;letter-spacing:-.03em;line-height:1.15;margin-bottom:1.25rem}.landing-hero-accent{color:#93c5fd;font-weight:800}.landing-hero-subtitle{color:#ffffffeb;font-size:clamp(1.05rem,2vw,1.2rem);line-height:1.65;margin-bottom:2.25rem}.landing-cta-btn{background:#fff;border:none;border-radius:12px;color:#202c44;cursor:pointer;display:inline-block;font-size:1.05rem;font-weight:600;padding:.9rem 2rem;transition:background .2s,transform .1s,box-shadow .2s}.landing-cta-btn:hover{background:#f1f5f9;box-shadow:0 8px 24px #00000026;transform:translateY(-2px)}.landing-cta-btn:active{transform:translateY(0)}.landing-cta-primary{background:#202c44;color:#fff}.landing-cta-primary:hover{background:#2d3a52;color:#fff}.landing-intro{padding:3rem 1.5rem}.landing-intro-inner{margin:0 auto;max-width:700px;text-align:center}.landing-intro-text{color:#475569;font-size:1.2rem;line-height:1.7}.landing-section{margin:0 auto;max-width:1200px;padding:4rem 1.5rem}.landing-two-col{grid-gap:3.5rem;align-items:center;display:grid;gap:3.5rem;grid-template-columns:1fr 1fr}.landing-two-col-reverse{direction:rtl}.landing-two-col-reverse>*{direction:ltr}.landing-two-col-image{border-radius:var(--radius-xl);box-shadow:0 20px 50px #202c441f;overflow:hidden}.landing-two-col-image img{display:block;height:auto;min-height:320px;object-fit:cover;width:100%}.landing-two-col-content{padding:.5rem 0}.landing-section-title{color:#0f172a!important;font-size:clamp(1.75rem,3.5vw,2.25rem);font-weight:800;letter-spacing:-.02em;line-height:1.2;margin-bottom:.75rem}.landing-section-lead{color:#475569;font-size:1.1rem;line-height:1.6;margin-bottom:1.5rem}.landing-feature-list{list-style:none;margin:0;padding:0}.landing-feature-list li{border-bottom:1px solid #e2e8f0;color:#334155;font-size:.98rem;line-height:1.55;padding:.85rem 0}.landing-feature-list li:last-child{border-bottom:none}.landing-feature-list strong{color:#202c44;display:inline-block;margin-right:.3rem}.landing-for-trainers{background:#fff}.landing-for-clients{background:linear-gradient(180deg,#f8fafc,#f1f5f9)}.landing-page .landing-section-title{color:#0f172a!important}.landing-footer{background:#202c44;color:#ffffffd9;font-size:.9rem;padding:1.75rem 1.5rem}.landing-footer-inner{align-items:center;display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;margin:0 auto;max-width:1200px}.landing-footer-text{opacity:.9}@media (max-width:900px){.landing-two-col{gap:2rem;grid-template-columns:1fr}.landing-two-col-reverse{direction:ltr}.landing-two-col-image{max-height:280px;order:0}.landing-two-col-image img{min-height:240px;object-fit:cover;width:100%}.landing-two-col-content{order:1}.landing-hero{min-height:75vh}}@media (max-width:600px){.landing-hero-content{padding:2rem 1rem}.landing-cta,.landing-section{padding:3rem 1rem}}
/*# sourceMappingURL=main.36ae3b04.css.map*/