.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:2rem}.login-box{background:#fff;border-radius:12px;box-shadow:0 10px 40px #0003;padding:3rem;width:100%;max-width:400px}.login-header{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;margin-bottom:.5rem}.login-logo{height:80px;width:auto}.login-box h1{margin:0;color:#2c3e50;font-size:2rem;text-align:center}.login-subtitle{text-align:center;color:#6c757d;margin-bottom:2rem;font-size:.95rem}.login-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group input{padding:.75rem;border:2px solid #e9ecef;border-radius:6px;font-size:1rem;transition:border-color .2s}.form-group input:focus{outline:none;border-color:#667eea}.login-error{background-color:#fee;color:#c33;padding:.75rem;border-radius:6px;font-size:.9rem;border:1px solid #fcc}.login-button{padding:.75rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .1s,box-shadow .2s}.login-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.login-button:active:not(:disabled){transform:translateY(0)}.login-button:disabled{opacity:.6;cursor:not-allowed}.task-comments{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:1.5rem;display:flex;flex-direction:column;overflow-y:auto;overflow-x:auto}.task-comments h3{margin:0 0 1rem;font-size:1.1rem;color:#2c3e50;border-bottom:2px solid #e9ecef;padding-bottom:.5rem}.comments-loading,.comments-empty{text-align:center;padding:2rem;color:#6c757d;font-style:italic}.comments-list{flex:1;margin-bottom:1rem;min-height:100px;max-height:300px}.comment-item{padding:1rem;border-bottom:1px solid #e9ecef;margin-bottom:.5rem}.comment-item:last-child{border-bottom:none;margin-bottom:0}.comment-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.5rem;font-size:.85rem}.comment-author{font-weight:600;color:#2c3e50}.comment-date{color:#6c757d}.comment-edited{color:#6c757d;font-style:italic;font-size:.8rem}.comment-content{color:#495057;line-height:1.5;white-space:pre-wrap;word-wrap:break-word;margin-bottom:.5rem}.comment-actions{display:flex;gap:1rem;margin-top:.5rem}.comment-action-link{background:none;border:none;color:#2196f3;cursor:pointer;font-size:.85rem;padding:0;text-decoration:underline;transition:color .2s}.comment-action-link:hover:not(:disabled){color:#1976d2}.comment-action-link.danger{color:#dc3545}.comment-action-link.danger:hover:not(:disabled){color:#c82333}.comment-action-link:disabled{opacity:.5;cursor:not-allowed}.comment-edit{display:flex;flex-direction:column;gap:.5rem}.comment-edit-textarea{width:100%;padding:.75rem;border:2px solid #e9ecef;border-radius:6px;font-size:.9rem;font-family:inherit;resize:vertical;min-height:80px}.comment-edit-textarea:focus{outline:none;border-color:#667eea}.comment-edit-actions{display:flex;gap:.5rem;justify-content:flex-end}.comment-button{padding:.5rem 1rem;border:none;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:500;transition:background-color .2s;background-color:#6c757d;color:#fff}.comment-button:hover:not(:disabled){background-color:#5a6268}.comment-button.primary{background-color:#2196f3}.comment-button.primary:hover:not(:disabled){background-color:#1976d2}.comment-button:disabled{opacity:.6;cursor:not-allowed}.comment-form{display:flex;flex-direction:column;gap:.75rem;border-top:2px solid #e9ecef;padding-top:1rem}.comment-input{width:100%;padding:.75rem;border:2px solid #e9ecef;border-radius:6px;font-size:.9rem;font-family:inherit;resize:vertical;min-height:80px}.comment-input:focus{outline:none;border-color:#667eea}.comment-input:disabled{background-color:#f8f9fa;cursor:not-allowed}.comment-submit-button{align-self:flex-end;padding:.75rem 1.5rem;background-color:#2196f3;color:#fff;border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:background-color .2s}.comment-submit-button:hover:not(:disabled){background-color:#1976d2}.comment-submit-button:disabled{opacity:.6;cursor:not-allowed}.file-uploader{margin-bottom:1rem}.file-uploader-label{display:block;margin-bottom:.5rem;font-weight:500;color:#333}.file-uploader-tabs{display:flex;gap:.5rem;margin-bottom:.75rem;border-bottom:2px solid #e9ecef}.file-uploader-tab{padding:.5rem 1rem;border:none;background:none;cursor:pointer;font-size:.875rem;color:#6c757d;border-bottom:2px solid transparent;margin-bottom:-2px;transition:all .2s}.file-uploader-tab:hover{color:#495057}.file-uploader-tab.active{color:#007bff;border-bottom-color:#007bff;font-weight:600}.file-uploader-dropzone{border:2px dashed #dee2e6;border-radius:8px;padding:2rem;text-align:center;cursor:pointer;transition:all .2s;background-color:#f8f9fa;min-height:120px;display:flex;align-items:center;justify-content:center}.file-uploader-dropzone:hover{border-color:#007bff;background-color:#e7f3ff}.file-uploader-dropzone.dragging{border-color:#007bff;background-color:#cfe2ff;border-style:solid}.file-uploader-dropzone.has-file{border-color:#28a745;background-color:#d4edda}.file-uploader-placeholder{width:100%}.file-uploader-icon{font-size:2.5rem;margin-bottom:.5rem}.file-uploader-placeholder p{margin:.5rem 0;color:#495057;font-weight:500}.file-uploader-placeholder small{color:#6c757d;font-size:.875rem}.file-uploader-selected{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.75rem;background-color:#fff;border-radius:6px;box-shadow:0 2px 4px #0000001a}.file-uploader-filename{flex:1;text-align:left;color:#28a745;font-weight:500;word-break:break-all}.file-uploader-remove{background:none;border:none;font-size:1.5rem;color:#dc3545;cursor:pointer;padding:0 .5rem;line-height:1}.file-uploader-remove:hover{color:#c82333}.file-uploader-library{border:1px solid #dee2e6;border-radius:8px;background-color:#f8f9fa;max-height:300px;overflow-y:auto}.file-uploader-list{padding:.5rem}.file-uploader-item{display:flex;align-items:center;justify-content:space-between;padding:.75rem;margin-bottom:.5rem;background-color:#fff;border:1px solid #dee2e6;border-radius:6px;cursor:pointer;transition:all .2s}.file-uploader-item:hover{border-color:#007bff;background-color:#e7f3ff}.file-uploader-item.selected{border-color:#28a745;background-color:#d4edda}.file-uploader-item-info{flex:1;min-width:0}.file-uploader-item-name{font-weight:500;color:#333;margin-bottom:.25rem;word-break:break-all}.file-uploader-item-meta{font-size:.75rem;color:#6c757d;display:flex;gap:.5rem;flex-wrap:wrap}.file-uploader-item-task{color:#007bff;font-weight:500}.file-uploader-item-check{color:#28a745;font-size:1.25rem;font-weight:700;margin-left:.5rem}.file-uploader-loading,.file-uploader-empty,.file-uploader-uploading{padding:2rem;text-align:center;color:#6c757d}.file-uploader-dropzone.library-upload{margin-top:.75rem;min-height:80px;padding:1rem}.file-uploader-dropzone.library-upload .file-uploader-icon{font-size:1.5rem;margin-bottom:.25rem}.file-uploader-dropzone.library-upload .file-uploader-placeholder p{font-size:.875rem;margin:.25rem 0}.toast-container{position:fixed;top:95px;right:20px;z-index:10000;display:flex;flex-direction:column;gap:.75rem;pointer-events:none}.toast{display:flex;align-items:center;justify-content:space-between;min-width:300px;max-width:500px;padding:1rem 1.25rem;background:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;pointer-events:auto;animation:slideIn .3s ease-out;border-left:4px solid}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.toast-success{border-left-color:#28a745}.toast-error{border-left-color:#dc3545}.toast-warning{border-left-color:#ffc107}.toast-info{border-left-color:#17a2b8}.toast-content{display:flex;align-items:center;gap:.75rem;flex:1}.toast-icon{font-size:1.25rem;font-weight:700;line-height:1}.toast-success .toast-icon{color:#28a745}.toast-error .toast-icon{color:#dc3545}.toast-warning .toast-icon{color:#ffc107}.toast-info .toast-icon{color:#17a2b8}.toast-message{flex:1;color:#333;font-size:.9rem;line-height:1.4}.toast-close{background:none;border:none;font-size:1.5rem;color:#999;cursor:pointer;padding:0;margin-left:1rem;line-height:1;width:24px;height:24px;display:flex;align-items:center;justify-content:center;transition:color .2s}.toast-close:hover{color:#333}.toast-close:focus{outline:2px solid #17a2b8;outline-offset:2px;border-radius:4px}.toast-history-modal{max-width:700px;max-height:80vh;display:flex;flex-direction:column}.toast-history-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #e9ecef}.toast-history-header h2{margin:0;color:#2c3e50}.toast-history-actions{display:flex;gap:.5rem}.toast-history-actions .action-button{padding:.5rem 1rem;background-color:#6c757d;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:600;transition:background-color .2s}.toast-history-actions .action-button:hover{background-color:#5a6268}.toast-history-actions .action-button.danger{background-color:#dc3545}.toast-history-actions .action-button.danger:hover{background-color:#c82333}.toast-history-content{flex:1;overflow-y:auto;min-height:200px}.toast-history-empty{text-align:center;padding:3rem 1rem;color:#6c757d}.toast-history-empty-subtitle{font-size:.9rem;margin-top:.5rem;color:#adb5bd}.toast-history-list{display:flex;flex-direction:column;gap:.75rem}.toast-history-item{display:flex;align-items:flex-start;gap:1rem;padding:1rem;border-radius:8px;border-left:4px solid;background-color:#f8f9fa;transition:background-color .2s;position:relative}.toast-history-item:hover{background-color:#e9ecef}.toast-history-item-success{border-left-color:#28a745}.toast-history-item-error{border-left-color:#dc3545}.toast-history-item-warning{border-left-color:#ffc107}.toast-history-item-info{border-left-color:#17a2b8}.toast-history-item-icon{font-size:1.5rem;font-weight:700;line-height:1;flex-shrink:0}.toast-history-item-success .toast-history-item-icon{color:#28a745}.toast-history-item-error .toast-history-item-icon{color:#dc3545}.toast-history-item-warning .toast-history-item-icon{color:#ffc107}.toast-history-item-info .toast-history-item-icon{color:#17a2b8}.toast-history-item-content{flex:1;min-width:0}.toast-history-item-message{color:#2c3e50;font-size:.95rem;line-height:1.5;margin-bottom:.25rem;word-wrap:break-word}.toast-history-item-time{color:#6c757d;font-size:.85rem}.toast-history-item-close{background:none;border:none;font-size:1.5rem;color:#999;cursor:pointer;padding:0;margin-left:auto;line-height:1;width:24px;height:24px;display:flex;align-items:center;justify-content:center;transition:color .2s;flex-shrink:0}.toast-history-item-close:hover{color:#dc3545}.task-history{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:1.5rem;display:flex;flex-direction:column;max-height:200px;overflow-y:auto;overflow-x:auto}.task-history h3{margin:0 0 1rem;font-size:1.1rem;color:#2c3e50;border-bottom:2px solid #e9ecef;padding-bottom:.5rem}.history-loading,.history-empty{text-align:center;padding:2rem;color:#6c757d;font-style:italic}.history-list{flex:1;overflow-y:auto;min-height:100px;max-height:300px}.history-item{padding:.75rem;border-bottom:1px solid #e9ecef;margin-bottom:.5rem}.history-item:last-child{border-bottom:none;margin-bottom:0}.history-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.25rem}.history-action{font-weight:600;color:#2c3e50;font-size:.9rem}.history-date{color:#6c757d;font-size:.8rem}.history-user{color:#6c757d;font-size:.85rem;margin-bottom:.25rem}.history-change-container{margin-top:.25rem}.history-change{display:inline-block;font-size:.85rem;color:#495057}.history-old-value{text-decoration:line-through;color:#dc3545;margin-right:.5rem}.history-new-value{color:#28a745;font-weight:500}.dashboard{min-height:100vh;display:flex;flex-direction:column;background-color:#f5f5f5}.dashboard-header{background-color:#2c3e50;color:#fff;padding:1.5rem 2rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 4px #0000001a;position:relative;flex-wrap:wrap;gap:1rem}.dashboard-header-title{display:flex;align-items:center;gap:1rem;transition:opacity .2s}.dashboard-header-title:hover{opacity:.8}.header-logo{height:40px;width:auto;object-fit:contain}.dashboard-header h1{margin:0 0 .25rem;font-size:1.8rem}.header-title-text{white-space:nowrap}.dashboard-header p{margin:0;opacity:.9;font-size:.9rem}.dashboard-header-actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.mobile-menu-toggle{display:none;flex-direction:column;gap:4px;background:none;border:none;cursor:pointer;padding:.5rem;z-index:1001}.mobile-menu-toggle span{width:25px;height:3px;background-color:#fff;border-radius:2px;transition:all .3s ease}.welcome-text-full{display:inline}.welcome-text-short{display:none}.button-text-full{display:inline}.button-text-short{display:none}.project-selector-container{display:flex;align-items:center}.project-selector{padding:.5rem 1rem;border:1px solid #ddd;border-radius:4px;font-size:.9rem;background-color:#fff;cursor:pointer}.project-selector:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.welcome-text{margin:0;opacity:.9;font-size:.9rem}.notification-badge{background-color:#e74c3c;color:#fff;border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700}.account-button,.logout-button{padding:.5rem 1rem;background-color:#e74c3c;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:600;overflow:visible}.account-button:hover,.logout-button:hover{background-color:#c0392b}.admin-button{padding:.5rem 1rem;background-color:#2196f3;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:600}.admin-button:hover{background-color:#1976d2}.account-dropdown-container,.admin-dropdown-container{position:relative}.account-dropdown{position:absolute;top:100%;right:0;margin-top:.5rem;background:#fff;border-radius:6px;box-shadow:0 4px 12px #00000026;min-width:150px;z-index:1000;overflow:hidden}.account-dropdown-item{display:block;width:100%;padding:.75rem 1rem;text-align:left;background:none;border:none;color:#495057;cursor:pointer;font-size:.9rem;transition:background-color .2s}.account-dropdown-item:hover{background-color:#f8f9fa}.account-dropdown-item:not(:last-child){border-bottom:1px solid #e9ecef}.dashboard-main{flex:1;width:90%;max-width:1400px;margin:0 auto;padding:2rem;display:flex;flex-direction:column}.dashboard-actions{display:flex;gap:.75rem;margin:0}.bulk-select-container{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem;flex-wrap:wrap}.bulk-actions-toolbar-inline{display:flex;align-items:center;justify-content:end;gap:1rem;flex-wrap:wrap}.bulk-actions-info{font-weight:600;color:#2c3e50;font-size:.9rem}.bulk-actions-buttons{display:flex;gap:.5rem;flex-wrap:wrap}.bulk-action-button{padding:.5rem .75rem;background-color:#2196f3;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:500;transition:background-color .2s}.bulk-action-button:hover{background-color:#1976d2}.bulk-action-button.danger{background-color:#dc3545}.bulk-action-button.danger:hover{background-color:#c82333}.bulk-select-all{padding:.75rem 1rem;background:#f8f9fa;border-radius:8px;margin-bottom:1rem;border:1px solid #e9ecef;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.bulk-select-all label{font-weight:500;color:#495057;-webkit-user-select:none;user-select:none}.bulk-select-all input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:#2196f3}.action-button{padding:.5rem 1rem;border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:transform .1s;font-size:.9rem}.action-button.primary{background-color:#28a745;color:#fff}.action-button.primary:hover{background-color:#218838;transform:translateY(-1px)}.action-button:hover{transform:translateY(-1px)}.notifications-panel{background:#fff;border-radius:8px;padding:1.5rem;margin-bottom:2rem;box-shadow:0 2px 4px #0000001a}.notifications-panel h2{margin-top:0;margin-bottom:1rem}.notification-count{font-size:.9rem;font-weight:400;color:#6c757d}.empty-notifications{padding:2rem;text-align:center;color:#6c757d}.empty-notifications p{margin:0 0 .5rem}.empty-notifications small{font-size:.875rem}.notification-item{padding:1rem;border-bottom:1px solid #e9ecef;cursor:pointer;transition:background-color .2s;position:relative}.notification-item:hover{background-color:#f8f9fa}.notification-close{position:absolute;top:.5rem;right:.5rem;background:none;border:none;font-size:1.5rem;line-height:1;color:#6c757d;cursor:pointer;padding:.25rem .5rem;border-radius:4px;transition:background-color .2s,color .2s;z-index:1}.notification-close:hover{background-color:#e9ecef;color:#dc3545}.task-card{position:relative}.task-card-content{cursor:pointer}.task-actions{padding:.5rem;border-top:1px solid #e9ecef;display:flex;gap:.5rem;justify-content:center}.task-action-button{padding:.4rem .8rem;background-color:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.875rem;transition:background-color .2s}.task-action-button:hover{background-color:#0056b3}.task-action-button.primary{background-color:#28a745}.task-action-button.primary:hover{background-color:#218838}.task-action-button.danger{background-color:#dc3545}.task-action-button.danger:hover{background-color:#c82333}.task-action-button-history{background-color:#9c27b0;color:#fff}.task-action-button-history:hover{background-color:#7b1fa2}.task-thumbnail-container{width:100%;margin-bottom:1rem;border-radius:6px;overflow:hidden;background-color:#f8f9fa;aspect-ratio:16 / 9;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 3px #0000004d}.video-thumbnail{width:100%;height:100%;object-fit:cover;display:block}.video-thumbnail-loading{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:#e9ecef}.video-thumbnail-spinner{width:32px;height:32px;border:3px solid #f3f3f3;border-top:3px solid #2196f3;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.video-thumbnail-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:#e9ecef;font-size:2rem}.notification-item:last-child{border-bottom:none}.notification-time{font-size:.85rem;color:#6c757d;display:block;margin-top:.25rem}.tasks-section-header{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.tasks-filters{display:flex;flex-direction:column;gap:1rem;width:100%}.filter-row{display:flex;flex-wrap:wrap;gap:1.5rem;align-items:center;width:100%;justify-content:space-between}.filter-row h2{margin:0 auto 0 0}.filter-row-two-columns{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;align-items:start}.filter-column-left{display:flex;align-items:center}.filter-column-right{display:flex;flex-direction:row;align-items:flex-end;justify-content:flex-end;gap:1rem}.filter-column-right .filter-group{justify-content:flex-end;width:auto!important}.filter-row:last-child{width:100%}.filter-row-align-end{justify-content:space-between;align-items:center}.filter-row-align-end h2{margin:0}.filter-row:last-child .filter-group{width:auto;display:flex;flex-direction:row;align-items:center;gap:.5rem}.filter-row:last-child .status-filters{flex:1;display:flex;gap:.5rem;flex-wrap:wrap;justify-content:flex-end}.filter-group{display:flex;align-items:center;gap:.5rem}.filter-label{font-weight:600;color:#495057;font-size:.9rem;white-space:nowrap}.tasks-section-header h2{margin:0}.status-filters,.type-filters{display:flex;gap:.5rem;flex-wrap:wrap}.status-filter-btn{padding:.5rem 1rem;border:1px solid #dee2e6;background-color:#fff;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;color:#495057;transition:all .2s}.status-filter-btn:hover{background-color:#f8f9fa;border-color:#adb5bd}.status-filter-btn.active{color:#fff;border-color:transparent}.status-filter-btn.active[data-filter=all],.status-filter-btn.active[data-filter=unassigned]{background-color:#6c757d}.status-filter-btn.active[data-filter=in_progress]{background-color:#2196f3}.status-filter-btn.active[data-filter=in_review]{background-color:#ff9800}.status-filter-btn.active[data-filter=completed]{background-color:#28a745}.status-filter-btn.active[data-filter=archived]{background-color:#6c757d}.type-filter-btn{padding:.5rem 1rem;border:1px solid #dee2e6;background-color:#fff;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;color:#495057;transition:all .2s}.type-filter-btn:hover{background-color:#f8f9fa;border-color:#adb5bd}.type-filter-btn.active{background-color:#667eea;color:#fff;border-color:#667eea}.language-filter-select{padding:.5rem 2.5rem .5rem 1rem;border:1px solid #dee2e6;border-radius:6px;background-color:#fff;color:#495057;font-size:.875rem;font-weight:500;cursor:pointer;transition:border-color .2s;-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 12 12'%3E%3Cpath fill='%23495057' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .75rem center}.language-filter-select:focus{outline:none;border-color:#667eea}.task-header-title{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.task-type-badge{padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase;white-space:nowrap;margin-left:auto}.task-type-badge.transcription{background-color:#4caf50;color:#fff}.task-type-badge.caption{background-color:#2196f3;color:#fff}.tasks-section h2{margin-bottom:1rem}.tasks-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem;position:relative}.task-card{position:relative;background:#fff;border-radius:8px;padding:1rem 1.5rem .5rem;box-shadow:0 2px 4px #0000001a;cursor:grab;transition:transform .2s,box-shadow .2s,border-color .2s;will-change:transform;border:2px solid transparent}.task-card.selected{border-color:#2196f3;background-color:#f0f8ff}.task-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.task-checkbox{display:flex;align-items:center}.task-checkbox input[type=checkbox]{width:16px;height:16px;cursor:pointer;accent-color:#2196f3}.task-card:hover:not([style*="opacity: 0.3"]){transform:translateY(-2px);box-shadow:0 4px 8px #00000026}.task-card:active,.task-card[style*="opacity: 0.3"]{cursor:grabbing}.task-card.drag-over{border:2px dashed #667eea;background-color:#f0f4ff;box-shadow:0 0 0 4px #667eea1a}.task-card.drag-overlay{opacity:.9;transform:rotate(3deg);box-shadow:0 8px 16px #0003;cursor:grabbing;pointer-events:none}.task-header{display:flex;flex-direction:column;gap:.5rem;margin-bottom:.5rem}.task-header h3{margin:0;flex:1}.task-status{padding:.25rem .75rem;border-radius:12px;color:#fff;font-size:.75rem;font-weight:600;text-transform:uppercase}.task-status-select{padding:.25rem 2rem .25rem .75rem;border-radius:12px;border:none;color:#fff;font-size:.75rem;font-weight:600;text-transform:uppercase;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 12 12'%3E%3Cpath fill='white' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .5rem center}.task-status-select:focus{outline:2px solid rgba(255,255,255,.5);outline-offset:2px}.task-description{color:#6c757d;margin:.5rem 0;font-size:.9rem}.task-meta{display:flex;flex-direction:column;gap:.25rem;font-size:.85rem;color:#6c757d;margin-top:1rem}.task-progress-section{display:flex;align-items:center;gap:.75rem;margin-top:1rem;padding-top:.75rem;border-top:1px solid #e9ecef}.task-progress-bar-container{flex:1;height:8px;background-color:#e9ecef;border-radius:4px;overflow:hidden}.task-progress-bar{height:100%;background-color:#28a745;transition:width .3s ease;border-radius:4px}.task-progress-text{font-size:.85rem;font-weight:600;color:#6c757d;min-width:40px;text-align:right}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:2rem}.modal-overlay .modal-overlay{z-index:1001}.modal-content.large .users-list{position:relative;z-index:1}.modal-content{background:#fff;border-radius:8px;padding:2rem;max-width:500px;width:100%;max-height:90vh;overflow-y:auto;position:relative}.modal-content.large{max-width:800px}.modal-content.create-task-modal{max-width:1000px;width:90%}.modal-content h2{margin-top:0}.create-task-modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.modal-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:1.5rem}.modal-actions button{padding:.75rem 1.5rem;border:none;border-radius:6px;font-weight:600;cursor:pointer}.modal-actions button[type=submit]{background-color:#28a745;color:#fff}.modal-actions button[type=button]{background-color:#6c757d;color:#fff}.modal-actions .delete-button{background-color:#dc3545!important;color:#fff!important}.modal-actions .delete-button:hover:not(:disabled){background-color:#c82333!important}.delete-confirm-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background-color:#000000b3;display:flex;align-items:center;justify-content:center;border-radius:8px;z-index:10}.delete-confirm-dialog{background:#fff;border-radius:8px;padding:2rem;max-width:400px;width:90%;box-shadow:0 4px 12px #0000004d}.delete-confirm-dialog h3{margin-top:0;color:#dc3545}.delete-confirm-dialog p{margin:1rem 0;color:#495057}.delete-confirm-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:1.5rem}.delete-confirm-actions button{padding:.75rem 1.5rem;border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:background-color .2s}.delete-confirm-actions button:first-child{background-color:#6c757d;color:#fff}.delete-confirm-actions button:first-child:hover:not(:disabled){background-color:#5a6268}.delete-confirm-actions button:last-child{background-color:#dc3545;color:#fff}.delete-confirm-actions button:last-child:hover:not(:disabled){background-color:#c82333}.delete-confirm-actions button:disabled{opacity:.6;cursor:not-allowed}.error-message{background-color:#fee;color:#c33;padding:.75rem;border-radius:6px;margin-bottom:1rem}.form-group{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem;min-width:0;overflow:hidden}.form-group label{font-weight:600;color:#2c3e50;font-size:.9rem}.form-group input,.form-group textarea,.form-group select{padding:.75rem;border:2px solid #e9ecef;border-radius:6px;font-size:1rem;font-family:inherit;transition:border-color .2s;background-color:#fff;color:#495057}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:2px solid #667eea;outline-offset:2px;border-color:#667eea}button:focus,a:focus,input:focus,textarea:focus,select:focus{outline:2px solid #667eea;outline-offset:2px}button:focus:not(:focus-visible),a:focus:not(:focus-visible){outline:none}button:focus-visible,a:focus-visible{outline:2px solid #667eea;outline-offset:2px}.form-group textarea{resize:vertical;min-height:80px}.form-group select{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 12 12'%3E%3Cpath fill='%23495057' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .75rem center;padding-right:2.5rem}.form-group select[multiple]{background-image:none;padding-right:.75rem;min-height:120px;max-width:100%;overflow-x:hidden}.form-group select[multiple] option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.form-group small{font-size:.875rem;color:#6c757d;margin-top:.25rem}.task-type-toggle{display:flex;gap:.25rem;background-color:#f8f9fa;border:2px solid #e9ecef;border-radius:20px;padding:.125rem;height:36px}.task-type-toggle-option{padding:.375rem .875rem;border:none;border-radius:16px;background-color:transparent;color:#6c757d;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s;font-family:inherit;white-space:nowrap;height:100%;display:flex;align-items:center}.task-type-toggle-option:hover{background-color:#e9ecef}.task-type-toggle-option.active{background-color:#667eea;color:#fff;box-shadow:0 1px 3px #667eea4d}.task-type-toggle-option.active:hover{background-color:#5568d3}.task-type-toggle-option:disabled{opacity:.6;cursor:not-allowed}.task-type-toggle-option:disabled:hover{background-color:transparent}.create-task-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-bottom:1.5rem}.create-task-modal .error-message{grid-column:1 / -1;margin-bottom:1.5rem}.create-task-form-column{display:flex;flex-direction:column;gap:0;min-width:0;overflow:hidden}.create-task-form-column .form-group,.create-task-form-column .file-uploader{margin-bottom:1rem}@media (max-width: 1024px){.dashboard-header{padding:1rem 1.5rem}.dashboard-header h1{font-size:1.5rem}.dashboard-header-actions{gap:.75rem}.action-button,.admin-button,.account-button{padding:.5rem .75rem;font-size:.85rem}.welcome-text{font-size:.85rem}.project-selector{font-size:.85rem;padding:.4rem .8rem}}@media (max-width: 768px){.dashboard-header{padding:1rem;flex-direction:row;align-items:center}.dashboard-header-title{flex:1;min-width:0}.header-logo{height:32px}.dashboard-header h1{font-size:1.2rem}.mobile-menu-toggle{display:flex}.dashboard-header-actions{position:absolute;top:100%;left:0;right:0;background-color:#2c3e50;flex-direction:column;align-items:stretch;padding:0;gap:0;box-shadow:0 4px 6px #0000001a;max-height:0;overflow:hidden;transition:max-height .3s ease,padding .3s ease;z-index:1000;opacity:0}.dashboard-header-actions.mobile-menu-open{max-height:600px;padding:1rem;gap:.75rem;opacity:1}.welcome-text-full{display:none}.welcome-text-short{display:inline}.button-text-full{display:none}.button-text-short{display:inline}.action-button,.admin-button,.account-button{width:100%;padding:.75rem 1rem;min-height:44px;justify-content:center}.project-selector-container{width:100%}.project-selector{width:100%;min-height:44px}.account-dropdown,.admin-dropdown-container .account-dropdown{position:static;width:100%;margin-top:.5rem;box-shadow:none;border:1px solid rgba(255,255,255,.1)}.account-dropdown-item{min-height:44px}.notification-badge{width:20px;height:20px;font-size:.7rem}.welcome-text{font-size:.9rem}}@media (max-width: 480px){.dashboard-header{padding:.75rem}.header-logo{height:28px}.dashboard-header h1{font-size:1rem}.header-title-text{display:none}.dashboard-header-actions{padding:.75rem}}@media (max-width: 1024px){.filter-row{gap:1rem}.filter-row h2{font-size:1.5rem}.status-filter-btn,.type-filter-btn{padding:.4rem .8rem;font-size:.8rem}}@media (max-width: 768px){.tasks-filters{gap:.75rem}.filter-row{flex-direction:column;align-items:stretch;gap:1rem}.filter-row h2{font-size:1.3rem;margin-right:0;margin-bottom:.5rem}.filter-group{width:100%;flex-direction:column;align-items:stretch;gap:.5rem}.filter-label{display:none}.status-filters,.type-filters{display:flex;gap:.5rem;flex-wrap:wrap;width:100%}.status-filter-btn,.type-filter-btn{flex:1;min-width:calc(50% - .25rem);padding:.5rem .4rem;min-height:44px;font-size:.85rem;text-align:center}.language-filter-select{width:100%;min-height:44px;padding:.75rem;font-size:.9rem}.filter-column-right{flex-direction:column;align-items:stretch;gap:1rem}.filter-column-right .filter-group{width:100%!important;justify-content:flex-start!important}}@media (max-width: 480px){.filter-row h2{font-size:1.1rem}.status-filters,.type-filters{overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;-webkit-overflow-scrolling:touch;scrollbar-width:thin;padding-bottom:.5rem}.status-filters::-webkit-scrollbar,.type-filters::-webkit-scrollbar{height:4px}.status-filters::-webkit-scrollbar-track,.type-filters::-webkit-scrollbar-track{background:#f1f1f1;border-radius:2px}.status-filters::-webkit-scrollbar-thumb,.type-filters::-webkit-scrollbar-thumb{background:#888;border-radius:2px}.status-filter-btn,.type-filter-btn{flex:0 0 auto;min-width:auto;white-space:nowrap;padding:.5rem .75rem}.filter-label{display:none}}@media (max-width: 900px){.create-task-form-grid{grid-template-columns:1fr;gap:1.5rem}.modal-content.create-task-modal{max-width:600px}}.users-list{display:flex;flex-direction:column;gap:1rem;margin:1.5rem 0}.user-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background-color:#f8f9fa;border-radius:6px}.user-item small{margin:.5rem}.role-badge{padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600;margin-left:.5rem}.role-badge.admin{background-color:#e74c3c;color:#fff}.role-badge.super_admin{background-color:#9b59b6;color:#fff}.role-badge.user{background-color:#3498db;color:#fff}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.dashboard-loading{display:flex;justify-content:center;align-items:center;height:100vh;font-size:1.2rem}.empty-state{text-align:center;padding:3rem;color:#6c757d}.pagination-controls{display:flex;justify-content:center;align-items:center;gap:1rem;padding:1.5rem;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:1.5rem}.pagination-button{padding:.5rem 1.5rem;background-color:#2196f3;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:500;transition:background-color .2s}.pagination-button:hover:not(:disabled){background-color:#1976d2}.pagination-button:disabled{opacity:.5;cursor:not-allowed}.pagination-info{color:#495057;font-weight:500}.dashboard-footer{margin-top:auto;padding:1rem 2rem;background-color:#f8f9fa;border-top:1px solid #dee2e6;flex-shrink:0}.footer-content{margin:0 auto;text-align:center}.footer-content .copyright{margin:0 0 1rem;color:#6c757d;font-size:.875rem}.footer-content .disclaimer{margin:0;color:#495057;font-size:.8rem;line-height:1.6}.footer-content .disclaimer strong{color:#212529}/*!
 * Quill Editor v1.3.7
 * https://quilljs.com/
 * Copyright (c) 2014, Jason Chen
 * Copyright (c) 2013, salesforce.com
 */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"•"}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"☑"}.ql-editor ul[data-checked=false]>li:before{content:"☐"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media (pointer: coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:#0003 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0px}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0px;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}.email-templates-modal{max-width:900px;max-height:90vh;overflow-y:auto}.email-templates-tabs{display:flex;gap:.5rem;margin-bottom:1.5rem;border-bottom:2px solid #e0e0e0}.email-templates-tabs button{padding:.75rem 1.5rem;background:none;border:none;border-bottom:3px solid transparent;cursor:pointer;font-size:.95rem;font-weight:500;color:#666;transition:all .2s;margin-bottom:-2px}.email-templates-tabs button:hover{color:#2196f3;background-color:#f5f5f5}.email-templates-tabs button.active{color:#2196f3;border-bottom-color:#2196f3;font-weight:600}.email-template-editor{margin-bottom:2rem}.template-section{margin-bottom:1.5rem}.template-section label{display:block;margin-bottom:.5rem;font-weight:500;color:#333}.template-section input[type=text],.template-section input[type=email]{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:.95rem;margin-top:.5rem}.template-section input[type=text]:focus,.template-section input[type=email]:focus{outline:none;border-color:#2196f3;box-shadow:0 0 0 2px #2196f31a}.template-section small{display:block;margin-top:.25rem;color:#666;font-size:.85rem}.variable-buttons{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem;padding:.75rem;background-color:#f5f5f5;border-radius:4px}.variable-label{font-size:.85rem;color:#666;margin-right:.5rem;align-self:center}.variable-button{padding:.4rem .75rem;background-color:#2196f3;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.85rem;transition:background-color .2s;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.variable-button:hover{background-color:#1976d2}.variable-button:active{background-color:#1565c0}.variable-button:focus{outline:2px solid #2196f3;outline-offset:2px}.editor-mode-toggle{display:flex;gap:.25rem;background-color:#f5f5f5;border-radius:4px;padding:.25rem}.mode-toggle-button{padding:.4rem .75rem;background:transparent;border:none;border-radius:3px;cursor:pointer;font-size:.85rem;font-weight:500;color:#666;transition:all .2s}.mode-toggle-button:hover{background-color:#e0e0e0;color:#333}.mode-toggle-button.active{background-color:#2196f3;color:#fff}.mode-toggle-button.active:hover{background-color:#1976d2}.quill{background:#fff;border:1px solid #ddd;border-radius:4px;position:relative;z-index:0}.quill .ql-toolbar{border-top-left-radius:4px;border-top-right-radius:4px;border-bottom:1px solid #ddd;background-color:#fafafa}.quill .ql-container{border-bottom-left-radius:4px;border-bottom-right-radius:4px;font-size:.95rem;min-height:200px}.quill .ql-editor{min-height:200px;padding:1rem}.quill .ql-editor.ql-blank:before{font-style:normal;color:#999}.test-email-section{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e0e0e0}.test-email-input{display:flex;gap:.5rem;margin-top:.5rem}.test-email-input input{flex:1}.test-email-button{padding:.75rem 1.5rem;background-color:#4caf50;color:#fff;border:none;border-radius:4px;cursor:pointer;font-weight:500;transition:background-color .2s}.test-email-button:hover:not(:disabled){background-color:#45a049}.test-email-button:disabled{background-color:#ccc;cursor:not-allowed}.footer-editor{margin-top:2rem;padding-top:2rem;border-top:2px solid #e0e0e0}.footer-editor h3{margin-bottom:1rem;color:#333;font-size:1.1rem}.modal-actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e0e0e0}.modal-actions button{padding:.75rem 1.5rem;border:1px solid #ddd;border-radius:4px;cursor:pointer;font-size:.95rem;transition:all .2s}.modal-actions button.action-button.primary{background-color:#2196f3;color:#fff;border-color:#2196f3}.modal-actions button.action-button.primary:hover:not(:disabled){background-color:#1976d2}.modal-actions button.action-button.primary:disabled{background-color:#ccc;cursor:not-allowed}.modal-actions button:not(.action-button){background-color:#fff;color:#666}.modal-actions button:not(.action-button):hover{background-color:#f5f5f5}*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f5f5f5}.app{height:100vh;display:flex;flex-direction:column;overflow:hidden}.app-header{background-color:#2c3e50;color:#fff;padding:1rem 2rem;box-shadow:0 2px 4px #0000001a;flex-shrink:0;display:flex;flex-direction:column;gap:1rem}.app-header-top{display:flex;justify-content:space-between;align-items:center;gap:1rem}.app-header-content{display:flex;justify-content:space-between;align-items:center;flex:1}.app-header-actions{display:flex;align-items:center;gap:1rem}.app-header-bottom{display:none}.mobile-menu-toggle{display:none;flex-direction:column;justify-content:space-around;width:30px;height:30px;background:transparent;border:none;cursor:pointer;padding:0;z-index:1001}.mobile-menu-toggle span{width:100%;height:3px;background-color:#fff;border-radius:3px;transition:all .3s ease}.app-header-title{display:flex;align-items:center;gap:1rem}.app-header .header-logo{height:40px;width:auto;object-fit:contain}.app-header h1{font-size:1.5rem;margin-bottom:.25rem}.app-header p{font-size:.85rem;opacity:.9}.save-indicator{padding:.5rem 1rem;border-radius:6px;font-size:.9rem;font-weight:500;transition:opacity .3s}.save-indicator[data-status=saving]{background-color:#ffc107;color:#333}.save-indicator[data-status=saved]{background-color:#28a745;color:#fff}.save-indicator[data-status=error]{background-color:#dc3545;color:#fff}.back-button{padding:.5rem 1rem;background-color:#6c757d;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:600;transition:background-color .2s}.back-button:hover{background-color:#5a6268}.app-main{flex:1;display:flex;gap:1rem;padding:1rem;overflow:hidden;height:calc(100vh - var(--header-height, 80px))}.left-column{flex:0 0 40%;display:flex;flex-direction:column;gap:1rem;overflow:hidden;height:100%}.right-column{flex:1;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;height:100%;gap:1rem}.empty-state{display:flex;align-items:center;justify-content:center;height:100%;color:#6c757d;font-size:1.1rem}.file-upload-container{display:flex;flex-direction:column;gap:1rem;padding:1rem;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;flex-shrink:0}.file-upload-item{display:flex;flex-direction:column;gap:.5rem;width:100%}.upload-label{font-weight:600;color:#2c3e50;font-size:.9rem}.file-input{padding:.5rem;border:2px dashed #3498db;border-radius:4px;cursor:pointer;background-color:#f8f9fa;transition:background-color .2s}.file-input:hover{background-color:#e9ecef}.file-name{font-size:.85rem;color:#666;font-style:italic}.video-section{flex:0 0 auto;display:flex;flex-direction:column;background:#fff;padding:1rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden;width:100%}.video-player-container{display:flex;flex-direction:column;gap:.5rem;width:100%;aspect-ratio:16 / 9;position:relative}.video-player-container video{width:100%;height:100%;object-fit:contain;position:absolute;top:0;left:0}.video-placeholder{padding:3rem;text-align:center;background-color:#f8f9fa;border:2px dashed #dee2e6;border-radius:8px;color:#6c757d}.video-filename{font-size:.85rem;color:#666;margin-top:.5rem}.auto-scroll-toggle{padding:1rem;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;flex-shrink:0}.toggle-label{display:flex;align-items:center;gap:.75rem;cursor:pointer;-webkit-user-select:none;user-select:none}.toggle-checkbox{width:20px;height:20px;cursor:pointer;accent-color:#2196f3}.toggle-text{font-size:.95rem;font-weight:500;color:#2c3e50}.transcript-table-container{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.transcript-table-wrapper{flex:1;overflow-y:auto;overflow-x:auto;min-height:0;position:relative}.progress-section{padding:1rem;border-bottom:2px solid #e9ecef;background:linear-gradient(to right,#f8f9fa,#fff);flex-shrink:0}.progress-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.progress-label{font-weight:600;color:#2c3e50;font-size:.95rem}.progress-percentage{font-weight:700;color:#28a745;font-size:1.1rem}.progress-bar-container{width:100%;height:24px;background-color:#e9ecef;border-radius:12px;overflow:hidden;position:relative}.progress-bar{height:100%;background:linear-gradient(to right,#28a745,#20c997);border-radius:12px;transition:width .3s ease;box-shadow:0 2px 4px #28a7454d}.transcript-table{width:100%;border-collapse:collapse;font-size:.9rem}.transcript-table thead{background-color:#2c3e50;color:#fff;position:sticky;top:0;z-index:10}.transcript-table th{padding:1rem;text-align:left;font-weight:600;font-size:.85rem;text-transform:uppercase;letter-spacing:.5px}.transcript-table td{padding:1rem;border-bottom:1px solid #e9ecef;vertical-align:top}.transcript-row{cursor:pointer;transition:background-color .2s}.transcript-row:hover{background-color:#f8f9fa}.transcript-row.active{background-color:#e3f2fd!important;border-left:4px solid #2196f3}.transcript-row.modified{background-color:#fff3cd}.transcript-row.modified.active{background-color:#ffe082}.transcript-row.completed{background-color:#d4edda!important;border-left:4px solid #28a745}.transcript-row.completed:hover{background-color:#c3e6cb!important}.transcript-row.completed.active{background-color:#b1dfbb!important;border-left:4px solid #20c997}.transcript-row.selected{background-color:#e3f2fd!important;outline:2px solid #2196f3;outline-offset:-2px}.transcript-row.selected:hover{background-color:#bbdefb!important}.transcript-row.completed.modified{background-color:#d1ecf1}.checkbox-cell{width:60px;text-align:center;position:relative;padding:1rem .5rem!important}.checkbox-header{width:60px}.completion-checkbox{width:20px;height:20px;cursor:pointer;accent-color:#28a745;margin:0}.checkbox-cell .checkmark{display:inline-block;margin-left:.5rem;color:#28a745;font-weight:700;font-size:1.2rem;vertical-align:middle}.speaker-cell{font-weight:600;color:#495057;width:120px}.time-cell{font-family:Courier New,monospace;font-size:.85rem;color:#6c757d;width:180px}.transcription-cell{width:35%;color:#212529;line-height:1.5}.translation-cell{width:35%;position:relative;line-height:1.5}.translation-text{display:block;min-height:1.5em;word-wrap:break-word}.translation-input{width:100%;padding:.5rem;border:1px solid #ced4da;border-radius:4px;font-family:inherit;font-size:inherit;resize:vertical;min-height:60px;background-color:#fff}.translation-input:focus{outline:none;border-color:#1976d2;box-shadow:0 0 0 3px #2196f31a}.modified-indicator{position:absolute;top:.5rem;right:.5rem;color:#ff9800;font-weight:700;font-size:1.2rem}.export-section{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;flex-shrink:0}.export-button{padding:.75rem 2rem;font-size:1rem;font-weight:600;color:#fff;background-color:#28a745;border:none;border-radius:6px;cursor:pointer;transition:background-color .2s,transform .1s}.export-button:hover:not(:disabled){background-color:#218838;transform:translateY(-1px)}.export-button:active:not(:disabled){transform:translateY(0)}.export-button:disabled{background-color:#6c757d;cursor:not-allowed;opacity:.6}@media (max-width: 768px){.app{height:auto;min-height:100vh;overflow:visible}.app-header{padding:1rem;flex-direction:column;gap:0;position:relative}.app-header-top{width:100%;display:flex;justify-content:space-between;align-items:center}.mobile-menu-toggle{display:flex}.app-header-content{flex-direction:column;align-items:flex-start;gap:1rem;flex:1}.app-header-title{width:100%}.app-header-actions{width:100%;justify-content:flex-start}.app-header-actions .back-button{display:none}.app-header-bottom{display:block;width:100%;max-height:0;overflow:hidden;opacity:0;transition:max-height .3s ease,padding .3s ease,opacity .3s ease;padding:0}.app-header-bottom.mobile-menu-open{max-height:100px;padding:1rem 0 0;opacity:1}.app-header-bottom .back-button{width:100%}.app-main{flex-direction:column;padding:.75rem;overflow:visible;height:auto}.left-column{flex:0 0 auto;width:100%;max-width:100%;height:auto}.right-column{flex:1;width:100%;max-width:100%;min-height:0;height:auto}.transcript-table-wrapper{max-height:400px}.task-comments-section{display:none}.file-upload-container{flex-direction:column;gap:1rem}.transcript-table{font-size:.8rem}.transcript-table th,.transcript-table td{padding:.5rem}.transcript-table thead th:nth-child(1),.transcript-table tbody td:nth-child(1){display:none}.transcript-table thead th:nth-child(2),.transcript-table tbody td:nth-child(2){display:none}.transcription-cell{width:50%}.translation-cell{width:45%}.checkbox-cell{width:5%;min-width:50px}}.app-footer{margin-top:auto;padding:1rem 2rem;background-color:#f8f9fa;border-top:1px solid #dee2e6;flex-shrink:0}.app-footer .footer-content{margin:0 auto;text-align:center}.app-footer .copyright{margin:0 0 1rem;color:#6c757d;font-size:.875rem}.app-footer .disclaimer{margin:0;color:#495057;font-size:.8rem;line-height:1.6}.app-footer .disclaimer strong{color:#212529}
