.progress-container{max-width:1200px;margin:0 auto;padding:var(--space-md) var(--space-lg) 100px}.progress-user-name{font-weight:600;font-size:16px;color:var(--text)}.progress-tabs{display:flex;gap:4px;background:var(--bg-soft);border-radius:12px;padding:4px;margin-bottom:20px;border:2px solid var(--border)}.progress-tab{flex:1;padding:10px 8px;border:none;background:none;border-radius:8px;font-size:14px;font-weight:700;color:var(--muted);cursor:pointer;transition:all .2s}.progress-tab.active{background:#fff;color:var(--text);box-shadow:0 2px 6px #00000014}.progress-tab-content{display:none}.progress-tab-content.active{display:block}.pr-actions-bar{display:flex;justify-content:flex-end;margin-bottom:16px}.pr-card{background:#fff;border:2px solid var(--border);border-radius:14px;margin-bottom:12px;overflow:hidden;transition:all .2s}.pr-card.has-new{border-color:#f59e0b;box-shadow:0 0 0 1px #fbbf24,0 4px 12px #f59e0b26}.pr-card-header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:var(--bg-soft);cursor:pointer;-webkit-user-select:none;user-select:none}.pr-card-header:hover{background:#eef2f7}.pr-card-exercise{font-size:16px;font-weight:700;color:var(--text);display:flex;align-items:center;gap:8px}.pr-card-count{font-size:13px;color:var(--muted);font-weight:600}.pr-card-arrow{font-size:16px;color:var(--muted);transition:transform .3s}.pr-card.open .pr-card-arrow{transform:rotate(90deg)}.pr-card-body{display:none;padding:0 16px 16px}.pr-card.open .pr-card-body{display:block}.pr-row{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}.pr-row:last-child{border-bottom:none}.pr-row-icon{font-size:20px;width:28px;text-align:center;flex-shrink:0;padding-top:2px}.pr-row-details{flex:1}.pr-row-label{font-size:13px;font-weight:700;color:var(--muted);margin-bottom:2px}.pr-row-value{font-size:18px;font-weight:800;color:var(--text)}.pr-row-meta{font-size:12px;color:var(--muted);margin-top:2px}.pr-new-badge{display:inline-block;background:linear-gradient(135deg,#fef3c7,#fde68a);color:#92400e;font-size:11px;font-weight:800;padding:2px 8px;border-radius:6px;margin-left:8px;border:1px solid #f59e0b}.pr-source-badge{display:inline-block;font-size:11px;font-weight:600;padding:1px 6px;border-radius:4px;margin-left:6px}.pr-source-auto{background:#eff6ff;color:#1e40af}.pr-source-manual{background:#f0fdf4;color:#16a34a}.empty-state{text-align:center;padding:48px 20px}.empty-icon{font-size:56px;margin-bottom:16px}.empty-state h3{font-size:20px;font-weight:700;color:var(--text);margin-bottom:8px}.empty-state p{font-size:15px;color:var(--muted);line-height:1.5;margin-bottom:20px}.pr-modal-overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:1000;justify-content:center;align-items:flex-start;padding:60px 16px}.pr-modal-overlay.active{display:flex}.pr-modal{background:#fff;border-radius:16px;width:100%;max-width:440px;box-shadow:0 8px 30px #0003;overflow:hidden}.pr-modal-header{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;background:linear-gradient(135deg,#fef3c7,#fde68a);border-bottom:2px solid #f59e0b}.pr-modal-header h2{font-size:18px;font-weight:800;color:#92400e}.pr-modal-close{width:32px;height:32px;border:none;background:#92400e1a;border-radius:8px;font-size:20px;color:#92400e;cursor:pointer;display:flex;align-items:center;justify-content:center}.pr-modal-close:hover{background:#92400e33}.pr-modal-body{padding:20px}.pr-form-group{margin-bottom:14px}.pr-form-group label{display:block;font-size:13px;font-weight:700;color:var(--muted);margin-bottom:6px}.pr-form-group input,.pr-form-group select,.pr-form-group textarea{width:100%;padding:10px 14px;border:2px solid var(--border);border-radius:10px;font-size:15px;background:#fff;transition:border-color .2s}.pr-form-group input:focus,.pr-form-group select:focus,.pr-form-group textarea:focus{outline:none;border-color:var(--primary)}.pr-toast{position:fixed;top:80px;left:50%;transform:translate(-50%) translateY(-20px);background:linear-gradient(135deg,#fef3c7,#fde68a);border:2px solid #f59e0b;border-radius:12px;padding:14px 24px;font-size:16px;font-weight:700;color:#92400e;box-shadow:0 8px 24px #f59e0b4d;z-index:1001;opacity:0;transition:all .4s ease;text-align:center;max-width:90%}.pr-toast.show{opacity:1;transform:translate(-50%) translateY(0)}@media (max-width: 480px){.progress-container{padding:var(--space-md) var(--space-lg) 100px}.progress-tab{font-size:13px;padding:9px 6px}.pr-modal-overlay{padding:20px 10px;align-items:center}.pr-row-value{font-size:16px}}.metrics-empty-state{text-align:center;padding:48px 20px}.btn-add-metric{background:linear-gradient(135deg,#1e40af,#1e3a8a);color:#fff;border:none;padding:14px 28px;border-radius:12px;font-size:16px;font-weight:700;cursor:pointer;transition:all .2s}.btn-add-metric:hover{transform:translateY(-1px);box-shadow:0 4px 12px #1e40af4d}.btn-add-metric-small{background:#1e40af;color:#fff;border:none;padding:8px 16px;border-radius:8px;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap}.btn-log-entry{background:linear-gradient(135deg,#16a34a,#15803d);color:#fff;border:none;padding:12px 24px;border-radius:10px;font-size:15px;font-weight:700;cursor:pointer;transition:all .2s}.btn-log-entry:hover{transform:translateY(-1px);box-shadow:0 4px 12px #16a34a4d}.metrics-header-row{display:flex;gap:12px;align-items:center;margin-bottom:16px;padding:0 4px}.metric-selector-wrap{flex:1}.metric-selector-wrap select{width:100%;padding:10px 36px 10px 14px;border:2px solid #e2e8f0;border-radius:10px;font-size:15px;font-weight:600;background:#fff;color:#1e293b;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.metric-stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:16px}.metric-stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:12px 8px;text-align:center}.metric-stat-value{font-size:18px;font-weight:800;color:#1e293b;line-height:1.2}.metric-stat-label{font-size:11px;color:#64748b;font-weight:600;text-transform:uppercase;margin-top:4px}.metric-chart-container{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px;margin-bottom:16px;height:240px}.metric-entries-list{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.metric-entry-row{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid #f1f5f9}.metric-entry-row:last-child{border-bottom:none}.metric-entry-date{font-size:13px;color:#64748b;min-width:80px;font-weight:500}.metric-entry-value{font-size:16px;font-weight:700;color:#1e293b;flex:1}.metric-entry-notes{font-size:12px;color:#94a3b8;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.metric-entry-delete{background:none;border:none;font-size:14px;cursor:pointer;opacity:.4;padding:4px;transition:opacity .2s}.metric-entry-delete:hover{opacity:1}.metric-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:flex-end;justify-content:center;z-index:1000;animation:metricFadeIn .2s}@keyframes metricFadeIn{0%{opacity:0}to{opacity:1}}.metric-modal{background:#fff;border-radius:20px 20px 0 0;width:100%;max-width:500px;max-height:85vh;overflow-y:auto;animation:metricSlideUp .3s ease}@keyframes metricSlideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.metric-modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 20px 12px;border-bottom:1px solid #e2e8f0}.metric-modal-header h3{font-size:18px;font-weight:700;color:#1e293b}.metric-modal-close{background:none;border:none;font-size:24px;color:#64748b;cursor:pointer;padding:4px 8px;line-height:1}.metric-modal-body{padding:20px}.metric-form-group{margin-bottom:16px}.metric-form-group label{display:block;font-size:13px;font-weight:700;color:#64748b;margin-bottom:6px}.metric-form-group input,.metric-form-group select{width:100%;padding:12px 14px;border:2px solid #e2e8f0;border-radius:10px;font-size:15px;background:#fff;color:#1e293b;transition:border-color .2s}.metric-form-group input:focus,.metric-form-group select:focus{outline:none;border-color:#1e40af}.metric-modal-footer{display:flex;gap:12px;padding:16px 20px 24px;border-top:1px solid #e2e8f0}.metric-btn-cancel{flex:1;padding:12px;border:2px solid #e2e8f0;border-radius:10px;background:#fff;color:#64748b;font-size:15px;font-weight:600;cursor:pointer}.metric-btn-save{flex:2;padding:12px;border:none;border-radius:10px;background:#1e40af;color:#fff;font-size:15px;font-weight:700;cursor:pointer}.metric-quick-picks{margin-top:8px}.quick-pick-label{font-size:12px;color:#94a3b8;margin-bottom:8px;font-weight:600}.quick-pick-options{display:flex;flex-wrap:wrap;gap:6px}.quick-pick-options button{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:20px;padding:6px 12px;font-size:12px;font-weight:600;color:#475569;cursor:pointer;transition:all .2s}.quick-pick-options button:hover{background:#e2e8f0;border-color:#cbd5e1}@media (max-width: 480px){.metric-stats-row{grid-template-columns:repeat(2,1fr)}.metric-stat-value{font-size:16px}.metric-entry-notes{display:none}.metrics-header-row{flex-wrap:wrap}.metric-selector-wrap{width:100%}.btn-add-metric-small{width:100%;text-align:center}}.progress-tabs{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;flex-wrap:nowrap}.progress-tabs::-webkit-scrollbar{display:none}.progress-tab{white-space:nowrap;flex:0 0 auto;min-width:0;padding:10px 12px}.client-workouts-layout{display:flex;gap:16px;min-height:400px}.client-workout-list-panel{flex:0 0 260px;max-height:70vh;overflow-y:auto;border:2px solid var(--border);border-radius:14px;background:#fff}.client-workout-detail-panel{flex:1;min-width:0}.cw-list-item{padding:12px 14px;border-bottom:1px solid var(--border);cursor:pointer;transition:background .15s}.cw-list-item:last-child{border-bottom:none}.cw-list-item:hover{background:#f8fafc}.cw-list-item.selected{background:#eff6ff;border-left:3px solid var(--primary)}.cw-list-date{font-size:15px;font-weight:700;color:var(--text)}.cw-list-label{font-size:13px;color:var(--muted);font-weight:600;margin-top:2px}.cw-list-summary{display:flex;gap:8px;align-items:center;margin-top:4px}.cw-exercise-count,.cw-set-count{font-size:12px;color:var(--muted);background:var(--bg-soft);padding:2px 8px;border-radius:4px}.cw-notes-indicator{font-size:14px}.cw-detail-content{background:#fff;border:2px solid var(--border);border-radius:14px;padding:20px}.cw-detail-header h2{font-size:20px;font-weight:800;color:var(--text);margin-bottom:4px}.cw-week-day{font-size:14px;font-weight:700;color:var(--primary);margin-bottom:8px}.cw-stats{display:flex;gap:8px;align-items:center;font-size:13px;color:var(--muted);font-weight:600;padding-bottom:16px;border-bottom:1px solid var(--border);margin-bottom:16px}.cw-stat-divider{color:#cbd5e1}.cw-exercise-card{background:var(--bg-soft);border:1px solid var(--border);border-radius:12px;padding:16px;margin-bottom:12px}.cw-exercise-header{display:flex;align-items:center;gap:8px;margin-bottom:8px}.cw-exercise-block{background:#1e293b;color:#fff;font-size:11px;font-weight:700;padding:3px 8px;border-radius:6px;text-transform:uppercase}.cw-exercise-name{font-size:16px;font-weight:700;color:var(--text)}.cw-exercise-protocol{display:flex;align-items:center;gap:10px;margin-bottom:10px}.cw-prescribed-target{font-size:13px;color:var(--muted);font-weight:600}.cw-sets-table{width:100%;border-collapse:collapse;font-size:13px;margin-bottom:8px}.cw-sets-table th{text-align:left;padding:6px 8px;font-size:11px;font-weight:700;color:var(--muted);text-transform:uppercase;border-bottom:2px solid var(--border)}.cw-sets-table td{padding:8px;border-bottom:1px solid #f1f5f9;font-weight:600;color:var(--text)}.cw-sets-table tbody tr:last-child td{border-bottom:none}.cw-set-met{color:#16a34a}.cw-set-close{color:#ca8a04}.cw-set-missed{color:#dc2626}.cw-status-cell{text-align:center;font-weight:800;font-size:15px}.cw-no-sets{text-align:center;color:var(--muted);font-size:13px;padding:12px}.cw-exercise-notes{display:flex;align-items:flex-start;gap:6px;padding:8px 12px;background:#fefce8;border-radius:8px;margin-top:8px;border:1px solid #fde68a}.cw-notes-icon{font-size:14px;flex-shrink:0}.cw-notes-text{font-size:13px;color:#92400e;font-style:italic;line-height:1.4}.cw-conditioning{margin-top:16px;padding-top:16px;border-top:2px solid var(--border)}.cw-conditioning-title{font-size:16px;font-weight:700;color:var(--text);margin-bottom:12px}.cw-conditioning-card{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;padding:12px;margin-bottom:8px}.cw-conditioning-header{margin-bottom:6px}.cw-conditioning-format{font-size:14px;font-weight:700;color:#166534}.cw-conditioning-stat{font-size:13px;color:#15803d;margin-bottom:4px}.cw-conditioning-note{font-style:italic;color:#166534}.cw-notes-section{margin-top:16px;border:2px solid var(--border);border-radius:14px;overflow:hidden}.cw-notes-section-header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:var(--bg-soft);cursor:pointer;font-size:15px;font-weight:700;color:var(--text);-webkit-user-select:none;user-select:none}.cw-notes-arrow{font-size:12px;color:var(--muted);transition:transform .3s}.cw-notes-section-body{padding:16px}.cw-note-input-area{margin-bottom:16px}.cw-note-input-label{font-size:13px;font-weight:700;color:var(--muted);margin-bottom:6px}.cw-note-textarea{width:100%;padding:10px 14px;border:2px solid var(--border);border-radius:10px;font-size:14px;font-family:inherit;resize:vertical;min-height:50px;transition:border-color .2s}.cw-note-textarea:focus{outline:none;border-color:var(--primary)}.cw-note-input-actions{display:flex;justify-content:flex-end;margin-top:8px}.cw-note-save-btn{background:var(--primary);color:#fff;border:none;padding:8px 20px;border-radius:8px;font-size:14px;font-weight:700;cursor:pointer;transition:background .2s}.cw-note-save-btn:hover{background:#1e3a8a}.cw-note-save-btn:disabled{opacity:.6;cursor:default}.progress-note-card{background:#fff;border:1px solid var(--border);border-radius:10px;padding:12px;margin-bottom:8px}.progress-note-card.pinned{border-color:#f59e0b;background:#fffbeb}.progress-note-card.trainer-note{border-left:3px solid #7c3aed}.note-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.note-badges{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.note-source-badge{font-size:11px;font-weight:700;padding:2px 8px;border-radius:4px}.source-workouts{background:#eff6ff;color:#1e40af}.source-trends{background:#f0fdf4;color:#16a34a}.source-progression{background:#fef3c7;color:#92400e}.source-general{background:#f1f5f9;color:#475569}.note-visibility{font-size:14px;cursor:help}.note-author-badge{font-size:11px;font-weight:700;background:#f5f3ff;color:#7c3aed;padding:2px 8px;border-radius:4px}.note-actions{display:flex;gap:4px}.note-action-btn{background:none;border:none;font-size:14px;cursor:pointer;padding:2px 4px;opacity:.5;transition:opacity .2s}.note-action-btn:hover{opacity:1}.note-context-label{font-size:12px;color:var(--muted);font-weight:600;margin-bottom:4px}.note-text{font-size:14px;color:var(--text);line-height:1.5;margin-bottom:6px}.note-meta{font-size:11px;color:#94a3b8}.notes-pinned-section{margin-bottom:12px}.notes-section-label{font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase;margin-bottom:8px}.notes-empty-state{text-align:center;padding:24px;color:var(--muted);font-size:14px}.cw-back-btn{display:none;width:100%;padding:12px;background:var(--bg-soft);border:2px solid var(--border);border-radius:10px;font-size:14px;font-weight:700;color:var(--primary);cursor:pointer;margin-top:12px;text-align:center}.protocol-badge{display:inline-block;font-size:11px;font-weight:700;padding:3px 10px;border-radius:6px;text-transform:uppercase}.protocol-badge.linear{background:#dbeafe;color:#1e40af}.protocol-badge.rir{background:#fce7f3;color:#be185d}.protocol-badge.percent{background:#fef3c7;color:#92400e}.protocol-badge.foundation{background:#f0fdf4;color:#16a34a}.protocol-badge.time{background:#e0e7ff;color:#4338ca}.protocol-badge.bodyweight{background:#f5f3ff;color:#7c3aed}.protocol-badge.distance{background:#ecfdf5;color:#059669}@media (max-width: 768px){.client-workouts-layout{flex-direction:column;gap:0}.client-workout-list-panel{flex:none;max-height:none;border-radius:14px;margin-bottom:12px}.client-workout-detail-panel,.client-workouts-layout.showing-detail .client-workout-list-panel{display:none}.client-workouts-layout.showing-detail .client-workout-detail-panel,.cw-back-btn{display:block}.progress-tab{font-size:12px;padding:9px 10px}.cw-detail-content{padding:14px}.cw-detail-header h2{font-size:18px}.cw-exercise-name{font-size:14px}.cw-sets-table{font-size:12px}.cw-sets-table th{font-size:10px;padding:5px 6px}.cw-sets-table td{padding:6px}}@media (max-width: 480px){.progress-tab{font-size:11px;padding:8px}}.cw-program-name{font-size:13px;font-weight:700;color:#7c3aed;margin-bottom:2px}.cw-list-program{font-size:12px;font-weight:700;color:#7c3aed;margin-top:1px}.progress-tab-dropdown{display:none}@media (max-width: 768px){.progress-tab-dropdown{display:block;margin:8px 0 16px;position:relative}.progress-tabs{display:none!important}.progress-tab-trigger{display:flex;align-items:center;gap:10px;width:100%;padding:14px 16px;background:#fff;border:2px solid var(--border);border-radius:12px;font-size:16px;font-weight:700;color:var(--text);cursor:pointer;transition:border-color .2s}.progress-tab-trigger:active,.progress-tab-trigger.open{border-color:var(--primary)}.tab-trigger-icon{font-size:18px}.tab-trigger-label{flex:1;text-align:left}.tab-trigger-chevron{font-size:14px;color:var(--muted);transition:transform .3s}.progress-tab-trigger.open .tab-trigger-chevron{transform:rotate(180deg)}.progress-tab-menu{display:none;position:absolute;top:calc(100% + 4px);left:0;right:0;background:#fff;border:2px solid var(--border);border-radius:12px;box-shadow:0 8px 24px #0000001f;z-index:100;overflow:hidden}.progress-tab-menu.open{display:block}.progress-tab-option{display:flex;align-items:center;gap:10px;width:100%;padding:14px 16px;border:none;background:none;font-size:15px;font-weight:600;color:var(--text);cursor:pointer;text-align:left;transition:background .15s}.progress-tab-option:not(:last-child){border-bottom:1px solid #f1f5f9}.progress-tab-option:hover{background:#f8fafc}.progress-tab-option.active{background:#eff6ff;color:var(--primary);font-weight:700}}@media (max-width: 768px){.tab-trigger-chevron{font-size:20px}}.progress-tabs{justify-content:center}@media (max-width: 768px){.cw-list-date{font-size:17px}.cw-list-program{font-size:13px}.cw-list-label{font-size:14px}.cw-exercise-count,.cw-set-count{font-size:13px}.cw-detail-header h2{font-size:20px}.cw-week-day{font-size:15px}.cw-program-name,.cw-stats{font-size:14px}.cw-exercise-name{font-size:16px}.cw-exercise-block{font-size:12px}.cw-prescribed-target{font-size:14px}.protocol-badge{font-size:12px}.cw-sets-table{font-size:14px}.cw-sets-table th{font-size:11px;padding:6px 8px}.cw-sets-table td{padding:8px}.cw-exercise-notes .cw-notes-text{font-size:14px}.cw-notes-section-header{font-size:16px}.cw-note-textarea{font-size:15px}.progress-tab-trigger{font-size:17px}.progress-tab-option{font-size:16px}}@media (max-width: 768px){.cw-list-date{font-size:18px}.cw-list-program{font-size:14px}.cw-list-label{font-size:15px}.cw-exercise-count,.cw-set-count{font-size:14px}.cw-detail-header h2{font-size:22px}.cw-week-day{font-size:16px}.cw-program-name,.cw-stats{font-size:15px}.cw-exercise-name{font-size:18px}.cw-exercise-block{font-size:13px}.cw-prescribed-target{font-size:15px}.protocol-badge{font-size:13px}.cw-sets-table{font-size:15px}.cw-sets-table th{font-size:12px;padding:8px}.cw-sets-table td{padding:10px 8px;font-size:15px}.cw-status-cell{font-size:17px}.cw-exercise-notes .cw-notes-text{font-size:15px}.cw-exercise-notes .cw-notes-icon,.cw-back-btn{font-size:16px}.cw-notes-section-header{font-size:18px;padding:16px}.cw-note-input-label{font-size:15px}.cw-note-textarea{font-size:16px;padding:12px 14px}.cw-note-save-btn{font-size:16px;padding:12px 24px}.progress-note-card{padding:14px}.note-source-badge{font-size:13px;padding:3px 10px}.note-author-badge{font-size:13px}.note-context-label{font-size:14px}.note-text{font-size:16px}.note-meta{font-size:13px}.note-action-btn{font-size:18px;padding:4px 6px}.notes-section-label{font-size:14px}.notes-empty-state{font-size:16px}.progress-tab-trigger{font-size:18px;padding:16px}.tab-trigger-icon{font-size:20px}.progress-tab-option{font-size:17px;padding:16px}.cw-conditioning-title{font-size:18px}.cw-conditioning-format{font-size:16px}.cw-conditioning-stat{font-size:15px}}.cw-note-edit-textarea{width:100%;padding:10px 12px;border:2px solid var(--primary);border-radius:8px;font-size:15px;font-family:inherit;resize:vertical;min-height:60px;margin-bottom:8px}.cw-note-edit-textarea:focus{outline:none}.cw-note-edit-actions{display:flex;gap:8px;justify-content:flex-end}.cw-note-edit-save{background:var(--primary);color:#fff;border:none;padding:8px 20px;border-radius:8px;font-size:14px;font-weight:700;cursor:pointer}.cw-note-edit-cancel{background:none;border:2px solid var(--border);padding:8px 16px;border-radius:8px;font-size:14px;font-weight:600;color:var(--muted);cursor:pointer}@media (max-width: 768px){.cw-note-edit-textarea{font-size:16px}.cw-note-edit-save{font-size:16px;padding:10px 24px}.cw-note-edit-cancel{font-size:16px;padding:10px 20px}}.cn-container{padding:16px;max-width:800px;margin:0 auto}.cn-input-section{background:#fff;border:2px solid #e2e8f0;border-radius:12px;padding:16px;margin-bottom:16px}.cn-input-title{font-size:16px;font-weight:700;color:#1e293b;margin:0 0 10px}.cn-textarea{width:100%;padding:10px 12px;border:2px solid #e2e8f0;border-radius:8px;font-size:14px;font-family:inherit;resize:vertical;min-height:60px;color:#1e293b;box-sizing:border-box}.cn-textarea:focus{outline:none;border-color:#1e40af}.cn-input-actions{display:flex;justify-content:flex-end;margin-top:8px}.cn-save-btn{background:#1e40af;color:#fff;border:none;padding:8px 20px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer}.cn-save-btn:hover{background:#1e3a8a}.cn-save-btn:disabled{opacity:.5;cursor:not-allowed}.cn-filters{margin-bottom:16px;display:flex;flex-direction:column;gap:10px}.cn-filter-pills{display:flex;gap:6px;flex-wrap:wrap}.cn-pill{padding:6px 12px;border:2px solid #e2e8f0;border-radius:20px;background:#fff;font-size:13px;font-weight:600;color:#64748b;cursor:pointer;white-space:nowrap;transition:all .15s}.cn-pill:hover{border-color:#cbd5e1;background:#f8fafc}.cn-pill.active{background:#1e40af;color:#fff;border-color:#1e40af}.cn-search-wrapper{position:relative}.cn-search{width:100%;padding:8px 12px 8px 34px;border:2px solid #e2e8f0;border-radius:8px;font-size:14px;color:#1e293b;box-sizing:border-box;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") 10px center no-repeat}.cn-search:focus{outline:none;border-color:#1e40af}.cn-notes-list{display:flex;flex-direction:column;gap:10px}.cn-empty-state{text-align:center;padding:40px 20px;color:#94a3b8}.cn-empty-icon{font-size:40px;margin-bottom:8px}.cn-empty-title{font-size:16px;font-weight:700;color:#64748b;margin:0 0 6px}.cn-empty-subtitle{font-size:14px;color:#94a3b8;margin:0;line-height:1.5}.cn-note-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:12px 14px;border-left:4px solid #e2e8f0}.cn-note-card.cn-src-workouts{border-left-color:#1e40af}.cn-note-card.cn-src-trends{border-left-color:#16a34a}.cn-note-card.cn-src-progression{border-left-color:#d97706}.cn-note-card.cn-src-general{border-left-color:#6366f1}.cn-note-card.cn-trainer-note{border-left-color:#7c3aed}.cn-note-card.cn-pinned{background:#fffbeb;border-color:#fbbf24;border-left-color:#f59e0b}.cn-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.cn-badges{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.cn-source-badge{font-size:11px;font-weight:700;padding:2px 8px;border-radius:4px}.cn-src-badge-workouts{background:#eff6ff;color:#1e40af}.cn-src-badge-trends{background:#f0fdf4;color:#16a34a}.cn-src-badge-progression{background:#fef3c7;color:#92400e}.cn-src-badge-general{background:#eef2ff;color:#4f46e5}.cn-author-badge{font-size:11px;font-weight:700;padding:2px 8px;border-radius:4px}.cn-author-you{background:#f0fdf4;color:#16a34a}.cn-author-trainer{background:#f5f3ff;color:#7c3aed}.cn-context-label{font-size:12px;color:#64748b;margin-bottom:4px;font-style:italic}.cn-actions{display:flex;gap:4px}.cn-action-btn{background:none;border:none;cursor:pointer;font-size:14px;padding:2px 4px;border-radius:4px;opacity:.6}.cn-action-btn:hover{opacity:1;background:#f1f5f9}.cn-text{font-size:14px;color:#334155;line-height:1.5;margin-bottom:6px;word-wrap:break-word}.cn-meta{font-size:12px;color:#94a3b8}.cn-edit-area{width:100%;padding:8px 10px;border:2px solid #1e40af;border-radius:6px;font-size:14px;font-family:inherit;resize:vertical;min-height:50px;margin-bottom:6px;box-sizing:border-box}.cn-edit-actions{display:flex;gap:6px;justify-content:flex-end}.cn-edit-save{background:#1e40af;color:#fff;border:none;padding:5px 14px;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer}.cn-edit-cancel{background:#e2e8f0;color:#475569;border:none;padding:5px 14px;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer}.cn-results-count{font-size:13px;color:#64748b;padding:4px 0;font-weight:500}@media (max-width: 600px){.cn-container,.cn-input-section{padding:12px}.cn-filter-pills{gap:4px}.cn-pill{padding:5px 10px;font-size:12px}.cn-note-card{padding:10px 12px}.cn-source-badge,.cn-author-badge{font-size:10px}.cn-text{font-size:13px}}.cn-note-card.cn-src-session{border-left-color:#e11d48}.cn-src-badge-session{background:#fff1f2;color:#be123c}.cn-src-badge-journal{background:#f5f3ff;color:#6d28d9}.cn-view-source{display:inline-block;margin-top:6px;padding:4px 10px;font-size:12px;font-weight:600;color:#1e40af;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;cursor:pointer;transition:all .15s}.cn-view-source:hover{background:#dbeafe;border-color:#93c5fd}.client-workout-list-panel{padding:8px 10px}
