:root{--primary: #3b82f6;--primary-hover: #2563eb;--primary-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);--surface: #ffffff;--surface-alt: #f8fafc;--border: #e2e8f0;--text-main: #0f172a;--text-muted: #64748b;--text-dim: #94a3b8;--muscle-chest: #e74c3c;--muscle-back: #3498db;--muscle-legs: #9b59b6;--muscle-shoulders: #f39c12;--muscle-arms: #2ecc71;--muscle-abs: #1abc9c;--muscle-cardio: #e67e22;--muscle-stretching: #625300;--success: #10b981;--danger: #ef4444;--warning: #f59e0b}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,system-ui,-apple-system,sans-serif;margin:0;background:#0a0a0a;color:var(--text-main);-webkit-font-smoothing:antialiased}.app-wrapper{background:radial-gradient(circle at 10% 20%,#1e1e38,#0a0a0f 90%);min-height:100vh;padding:16px}.app-container{max-width:1640px;margin:0 auto;background:#fff;border-radius:24px;box-shadow:0 25px 60px -15px #0006;overflow:hidden;display:grid;grid-template-rows:auto 1fr;height:calc(100vh - 32px)}.main-grid{display:grid;grid-template-columns:280px 1fr 380px;height:100%;min-height:0;overflow:hidden}.main-grid>*{min-height:0;height:100%}.app-header{background:#0f172a;color:#fff;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #1e293b;position:relative;z-index:20}.app-header.female{background:#180914;border-bottom-color:#3b112d}.logo{display:flex;align-items:center;gap:.75rem}.logo h1{font-size:1.5rem;font-weight:800;background:var(--primary-gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;margin:0}.stats{display:flex;gap:1.5rem;align-items:center}.stat-item{text-align:center}.stat-number{font-size:1.35rem;font-weight:800;color:#60a5fa;line-height:1.1}.stat-label{font-size:.75rem;color:var(--text-dim);text-transform:uppercase;letter-spacing:.5px;margin-top:2px}.muscle-nav{background:#f8fafc;border-right:1px solid var(--border);padding:1.25rem;overflow-y:auto;height:100%;max-height:100%;min-height:0;box-sizing:border-box}.muscle-nav::-webkit-scrollbar{width:6px}.muscle-nav::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}.muscle-nav h2{font-size:.85rem;text-transform:uppercase;letter-spacing:.75px;color:var(--text-muted);margin-bottom:1rem;font-weight:700}.muscle-group{display:flex;align-items:center;gap:.85rem;padding:.75rem 1rem;margin-bottom:.4rem;border-radius:14px;cursor:grab;transition:all .2s cubic-bezier(.4,0,.2,1);border:1.5px solid transparent;background:transparent}.muscle-group:hover{background:#fff;transform:translate(4px);box-shadow:0 4px 12px #0000000d}.muscle-group.active{background:#fff;border-color:#cbd5e1;box-shadow:0 4px 15px #00000014}.muscle-group.dragging{opacity:.5;cursor:grabbing}.muscle-icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.1rem;color:#fff;flex-shrink:0}.muscle-name{font-weight:700;font-size:.92rem;color:var(--text-main)}.exercise-count{font-size:.75rem;color:var(--text-muted);margin-top:1px}.timeline-view{padding:1.5rem;background:#fff;display:flex;flex-direction:column;overflow:hidden;height:100%}.timeline-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.25rem;padding-bottom:1rem;border-bottom:1px solid var(--border);flex-shrink:0}.header-center{display:flex;flex-direction:column;align-items:center;gap:.5rem}.week-dots{display:flex;gap:.4rem}.week-dot{width:7px;height:7px;border-radius:50%;background:#cbd5e1;transition:all .2s ease}.week-dot.active{background:var(--primary);transform:scale(1.3)}.timeline-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:.85rem;overflow-y:auto;flex-grow:1;padding:4px}.day-column{background:#f8fafc;border-radius:16px;padding:.85rem;min-height:420px;border:2px solid transparent;transition:all .2s ease;display:flex;flex-direction:column}.day-column:hover{border-color:#e2e8f0}.day-column.active{border-color:var(--primary);background:#eff6ff}.day-column.today{border-color:#3b82f6!important;background:#f0f7ff}.day-column.drag-over{border-color:var(--primary)!important;background:#dbeafe!important;transform:scale(1.01)}.day-header{text-align:center;margin-bottom:.85rem;padding-bottom:.5rem;border-bottom:1px solid #e2e8f0}.day-number{font-size:1.35rem;font-weight:800;color:var(--text-main)}.day-name{font-size:.75rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;font-weight:600}.workout-block{background:#fff;border-radius:10px;padding:.75rem;margin-bottom:.5rem;border-left:4px solid #cbd5e1;box-shadow:0 2px 6px #0000000a;cursor:pointer;transition:all .2s ease}.workout-muscle{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.2rem}.workout-name{font-size:.85rem;font-weight:700;color:var(--text-main);margin-bottom:.35rem}.workout-meta{font-size:.72rem;color:var(--text-muted);display:flex;justify-content:space-between}.add-workout{background:transparent;border:1.5px dashed #cbd5e1;color:var(--text-muted);border-radius:10px;padding:1rem .5rem;text-align:center;font-size:.8rem;font-weight:600;cursor:pointer;transition:all .2s ease;margin-top:auto}.add-workout:hover{border-color:var(--primary);color:var(--primary);background:#3b82f608}.rest-day{display:flex;align-items:center;justify-content:center;flex:1;min-height:160px}.rest-content h2{font-size:1rem;font-weight:800;color:#94a3b8}.rest-content p{font-size:.75rem;color:#cbd5e1;margin-top:4px}.workout-details{background:#f8fafc;border-left:1px solid var(--border);padding:1.25rem;overflow-y:auto;height:100%;max-height:100%;min-height:0;box-sizing:border-box}.workout-details::-webkit-scrollbar{width:6px}.workout-details::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}.detail-header{margin-bottom:1.25rem}.muscle-group-tag{display:inline-block;background:#f59e0b;color:#fff;padding:.3rem .75rem;border-radius:12px;font-size:.75rem;font-weight:700}.exercise-item{background:#fff;border-radius:12px;padding:.85rem 1rem;margin-bottom:.6rem;transition:all .2s ease;width:100%;box-shadow:0 1px 4px #0000000a}.exercise-item.completed{text-decoration:line-through;opacity:.55;background:#f1f5f9}.exercise-item:hover{transform:translateY(-1px);box-shadow:0 4px 12px #00000014}.custom-checkbox{width:24px;height:24px;border-radius:50%;border:2px solid #cbd5e1;display:flex;align-items:center;justify-content:center;transition:all .2s ease;cursor:pointer;background:#fff}.custom-checkbox.checked{background:var(--success);border-color:var(--success)}.custom-checkbox svg{width:12px;height:12px;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;opacity:0;transform:scale(.5);transition:all .2s ease}.custom-checkbox.checked svg{opacity:1;transform:scale(1)}.exercise-library{background:#f8fafc;border-left:1px solid var(--border);padding:1.25rem;overflow-y:auto;height:100%;max-height:100%;min-height:0;box-sizing:border-box}.exercise-library::-webkit-scrollbar{width:6px}.exercise-library::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}.library-header{position:sticky;top:0;z-index:10;background:#f8fafc;margin:-1.25rem -1.25rem 1rem;padding:1.25rem 1.25rem .5rem;border-bottom:1px solid var(--border)}.search-box{position:relative;margin-bottom:.5rem}.search-box input{width:100%;padding:.65rem 1rem .65rem 2.25rem;border:1px solid var(--border);border-radius:12px;font-size:.88rem;background:#fff;outline:none;transition:border-color .2s}.search-box input:focus{border-color:var(--primary)}.search-box .search-icon{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);font-size:.85rem;color:var(--text-muted)}.exercise-grid{display:grid;gap:.75rem}.exercise-card{background:#fff;border-radius:12px;padding:.85rem;border:1.5px solid transparent;cursor:grab;transition:all .2s ease;box-shadow:0 2px 6px #0000000a}.exercise-card:hover{transform:translateY(-2px);border-color:#cbd5e1;box-shadow:0 8px 20px #00000014}.exercise-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.35rem}.exercise-card-header .exercise-name{font-weight:700;font-size:.88rem;color:var(--text-main)}.exercise-details{font-size:.78rem;color:var(--text-muted);margin-bottom:.4rem}.exercise-stats{display:flex;gap:.75rem;font-size:.72rem;color:var(--text-muted)}.btn{padding:.55rem 1.15rem;border:none;border-radius:10px;font-weight:600;font-size:.88rem;cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);display:inline-flex;align-items:center;justify-content:center}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-hover)}.btn-success{background:var(--success);color:#fff}.btn-success:hover{filter:brightness(.92)}.btn-outline{background:#fff;border:1.5px solid #cbd5e1;color:#334155}.btn-outline:hover{border-color:var(--primary);color:var(--primary);background:#f8fafc}.badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:50px;font-size:.7rem;font-weight:700;text-transform:capitalize;letter-spacing:.3px;color:#fff}.badge-novice{background:#64748b}.badge-beginner{background:#10b981}.badge-intermediate{background:#3b82f6}.badge-advanced{background:#f59e0b}.badge-expert{background:#ef4444}.d-none{display:none!important}.mobile-nav-bar{display:none}@media(max-width:768px){.app-wrapper{padding:0}.app-container{border-radius:0;height:100vh;display:flex;flex-direction:column}.mobile-nav-bar{display:flex;background:#0f172a;border-bottom:1px solid #1e293b;padding:8px 12px;gap:8px;justify-content:space-around;flex-shrink:0;z-index:30}.mobile-nav-btn{flex:1;background:#ffffff0d;border:1px solid rgba(255,255,255,.08);color:#94a3b8;padding:8px 10px;border-radius:12px;font-size:.82rem;font-weight:700;cursor:pointer;transition:all .2s ease;text-align:center;white-space:nowrap}.mobile-nav-btn.active{background:#3b82f6;border-color:#3b82f6;color:#fff;box-shadow:0 4px 12px #3b82f659}.main-grid{display:block!important;height:100%!important;overflow-y:auto!important}.timeline-grid{grid-template-columns:1fr!important;gap:12px!important}.timeline-view{padding:1rem!important;height:auto!important}.hide-on-mobile{display:none!important}}@media(min-width:769px){.hide-on-desktop{display:none!important}}@media print{@page{margin:1cm;size:landscape}body,html{background:#fff!important;color:#000!important;font-size:11pt!important}.app-wrapper,.app-container{background:#fff!important;box-shadow:none!important;padding:0!important;margin:0!important;height:auto!important;display:block!important}.app-header,.muscle-nav,.exercise-library,.action-buttons,.btn,.week-dots,.search-container,.btn-muscleGroup,.add-workout,aside{display:none!important}.main-grid{display:block!important}.timeline-view{padding:0!important;display:block!important;height:auto!important}.timeline-header{border-bottom:2px solid black!important;margin-bottom:1rem!important}.timeline-header h2{font-size:18pt!important;color:#000!important}.timeline-grid{display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:8px!important;overflow:visible!important}.day-column{background:#fff!important;border:1px solid #94a3b8!important;break-inside:avoid;min-height:auto!important}.workout-block{box-shadow:none!important;border:1px solid #cbd5e1!important;border-left-width:4px!important;break-inside:avoid}.delete-btn{display:none!important}}
