body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.login-container{align-items:center;background:linear-gradient(#797b7ed9,#212122d9),url(https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2072&q=80);background-position:50%;background-repeat:no-repeat;background-size:cover;display:flex;height:100vh;justify-content:center}.login-box{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#fffffff2;border:1px solid #fff3;border-radius:12px;box-shadow:0 10px 30px #00000026;max-width:400px;padding:2.5rem;text-align:center;transition:all .3s ease;width:100%}.login-box:hover{box-shadow:0 15px 35px #0003;transform:translateY(-2px)}.login-box h2{color:#2c3e50;font-size:1.8rem;font-weight:600;margin-bottom:2rem}form{display:flex;flex-direction:column;gap:1.5rem}.input-group{margin-bottom:.2rem;text-align:left}.input-group label{color:#2c3e50;display:block;font-size:.95rem;font-weight:500;margin-bottom:.5rem}.input-group input{border:1px solid #ddd;border-radius:6px;box-sizing:border-box;font-size:1rem;padding:.9rem 1rem;transition:border-color .3s;width:100%}.input-group input:focus{border-color:#6e8efb;box-shadow:0 0 0 3px #6e8efb33;outline:none}.button-group{gap:1rem;justify-content:space-between;margin-top:1rem}.cancel-btn,.login-btn{border:none;border-radius:6px;cursor:pointer;flex:1 1;font-size:1rem;font-weight:600;padding:.9rem 1.5rem;transition:all .3s}.login-btn{background:linear-gradient(135deg,#4367df);color:#fff}.login-btn:hover{box-shadow:0 5px 15px #6e8efb66;transform:translateY(-2px)}.login-btn:active{transform:translateY(0)}.cancel-btn{background-color:#f5f5f5;color:#666}.cancel-btn:hover{background-color:#e0e0e0}@media (max-width:480px){.login-box{margin:0 1rem;padding:2rem 1.5rem}.login-box h2{font-size:1.5rem;margin-bottom:1.5rem}}.signup-btn{background:none;border:none;color:#007bff;cursor:pointer;font-size:14px;font-weight:500;padding:0;text-decoration:underline}.signup-btn:hover{color:#0056b3;text-decoration:none}.signup-btn:disabled{color:#ccc;cursor:not-allowed;text-decoration:none}.password-input-group{position:relative}.password-input-wrapper{align-items:center;display:flex;position:relative}.password-input-wrapper input{padding-right:40px;width:100%}.password-toggle-btn{background:none;border:none;border-radius:3px;color:#666;cursor:pointer;padding:5px;position:absolute;right:10px;transition:color .2s ease}.password-toggle-btn:hover{background:#007bff1a;color:#007bff}.password-toggle-btn:disabled{color:#ccc;cursor:not-allowed}.password-toggle-btn:focus{box-shadow:0 0 0 2px #007bff40;outline:none}.forgot-password-link{margin:1px 0;text-align:center}.forgot-password-btn{background:none;border:none;color:#007bff;cursor:pointer;font-size:14px;padding:5px;text-decoration:underline}.forgot-password-btn:hover{color:#0056b3}.forgot-password-btn:disabled{color:#6c757d;cursor:not-allowed}.forgot-password-instruction{background-color:#f8f9fa;border-left:4px solid #007bff;border-radius:4px;padding:5px 15px}.forgot-password-instruction p{color:#495057;font-size:14px;margin:0}.forgot-password-note{background-color:#fff3cd;border:1px solid #ffeaa7;border-radius:4px;margin:15px 0;padding:10px}.forgot-password-note p{color:#856404;font-size:13px;margin:0}.success-message{background-color:#d4edda;border:1px solid #c3e6cb;border-radius:4px;color:#155724;font-size:14px;margin:10px 0;padding:10px}.dashboard{margin:0 auto;max-width:1200px}.responsive-table-container{overflow-x:auto}.responsive-table-container table{border-collapse:collapse;table-layout:fixed;width:100%}.responsive-table-container td,.responsive-table-container th{border:1px solid #ddd;overflow:hidden;padding:8px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.responsive-table-container td:first-child,.responsive-table-container td:nth-child(2),.responsive-table-container td:nth-child(3),.responsive-table-container td:nth-child(4),.responsive-table-container th:first-child,.responsive-table-container th:nth-child(2),.responsive-table-container th:nth-child(3),.responsive-table-container th:nth-child(4){width:70px}.responsive-table-container td:nth-child(5),.responsive-table-container th:nth-child(5){text-align:left;width:300px}.responsive-table-container td:nth-child(6),.responsive-table-container th:nth-child(6){width:70px}.responsive-table-container td:nth-child(7),.responsive-table-container th:nth-child(7){width:90px}.responsive-table-container td:last-child,.responsive-table-container th:last-child{width:70px}.paginated-container{position:relative}.pagination-controls{align-items:center;display:flex;justify-content:space-between;margin-top:20px;padding:10px 0}.pagination-buttons{display:flex;gap:5px}.pagination-buttons button{background:#fff;border:1px solid #ddd;cursor:pointer;padding:8px 12px}.pagination-buttons button:hover:not(:disabled){background:#f0f0f0}.pagination-buttons button.active{background:#007bff;border-color:#007bff;color:#fff}.pagination-buttons button:disabled{cursor:not-allowed;opacity:.5}.page-size-selector{margin-bottom:20px}.loading-overlay{align-items:center;background:#fffc;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.dropdown-container{color:gray;margin-top:-20px}.dropdown-items{border:1 gray;padding:5px}.fas .fa-refresh{color:#007bff;cursor:pointer}tr.priority-2{background-color:#e8f5e8!important;border-left:4px solid #4caf50}tr.priority-3{background-color:#fff3cd!important;border-left:4px solid #ffc107}tr.priority-4{background-color:#f8d7da!important;border-left:4px solid #dc3545}tr.priority-2:hover{background-color:#d4edda!important}tr.priority-3:hover{background-color:#ffeaa7!important}tr.priority-4:hover{background-color:#f5c6cb!important}tr.selected-row.priority-2{background-color:#c3e6cb!important}tr.selected-row.priority-3{background-color:#ffeaa7!important}tr.selected-row.priority-4{background-color:#f5c6cb!important}.skeleton-container{padding:16px 0}.skeleton-row{align-items:center;display:flex;gap:12px;opacity:0;padding:12px 0}.fade-in,.skeleton-row{animation:fadeIn .6s ease-out forwards}.skeleton-cell{animation:shimmer 1.5s infinite;background:linear-gradient(90deg,#f0f0f0 25%,#f8f8f8 50%,#f0f0f0 75%);background-size:200% 100%;border-radius:4px;height:16px}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.skeleton-cell.short{width:60px}.skeleton-cell.medium{width:100px}.skeleton-cell.long{flex:1 1}.priority-dot{border-radius:50%;display:inline-block;height:8px;margin-left:8px;width:8px}.priority-dot-low{background-color:#5987ec}.priority-dot-medium{background-color:#e8f628}.priority-dot-high{background-color:#f83330}.focused-row{background-color:#f8f9fa!important;border-left:3px solid #1976d2}.focused-row:hover{background-color:#e9ecef!important}.focused-row.selected-row,.selected-row{background-color:#e3f2fd!important}.focused-row.selected-row{border-left:3px solid #1976d2}.editable{position:relative!important}td{position:relative;vertical-align:top}.view-toggle-container{background:#f8f9fa;border-radius:6px;display:flex;gap:4px;padding:4px}.view-toggle-btn{align-items:center;background:none;border:none;border-radius:4px;color:#6c757d;cursor:pointer;display:flex;font-size:14px;height:36px;justify-content:center;transition:all .2s ease;width:36px}.view-toggle-btn:hover{background:#e9ecef;color:#495057}.view-toggle-btn.active{background:#1976d2;color:#fff}.notes-grid{grid-gap:16px!important;display:grid!important;gap:16px!important;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))!important;padding:20px 0!important;width:100%!important}.note-card{background:#fff;border:1px solid #e1e8ed;border-radius:12px;box-shadow:0 2px 8px #00000014;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;margin-bottom:0!important;min-height:200px;overflow:hidden;padding:16px 16px 8px!important;position:relative;transition:all .3s ease}.note-card:hover{border-color:#3498db;box-shadow:0 6px 20px #0000001f;transform:translateY(-2px)}.note-card.selected{border-color:#1976d2;box-shadow:0 0 0 3px #1976d233}.note-header{align-items:flex-start;display:flex;flex-shrink:0;gap:12px;margin-bottom:12px;min-height:40px;position:relative}.user-avatar{align-items:center!important;background:#3498db!important;border:2px solid #fff!important;border-radius:50%!important;box-shadow:0 2px 4px #0000001a!important;color:#fff!important;display:flex!important;flex-shrink:0!important;font-size:12px!important;font-weight:600!important;height:32px!important;justify-content:center!important;width:32px!important}.user-avatar-wrapper{display:inline-block;position:relative}.user-avatar-wrapper:hover .user-tooltip{opacity:1;visibility:visible}.user-tooltip{background:#2c3e50;border:1px solid #34495e;border-radius:6px;bottom:-35px;box-shadow:0 4px 12px #00000026;color:#fff;font-size:12px;font-weight:500;opacity:0;padding:6px 12px;transition:all .3s ease;visibility:hidden;white-space:nowrap;z-index:1000}.user-tooltip,.user-tooltip:before{left:50%;position:absolute;transform:translateX(-50%)}.user-tooltip:before{border-bottom:5px solid #2c3e50;border-left:5px solid #0000;border-right:5px solid #0000;content:"";top:-5px}.user-avatar:nth-child(4n+1){background:#3498db!important}.user-avatar:nth-child(4n+2){background:#e74c3c!important}.user-avatar:nth-child(4n+3){background:#2ecc71!important}.user-avatar:nth-child(4n+4){background:#f39c12!important}.note-meta{flex:1 1;min-width:0}.draggable-value{border-radius:6px;cursor:grab;margin:2px 0;padding:4px 6px;transition:all .2s ease}.context-item.job{color:#000!important;font-weight:700!important}.context-item.workspace-project{margin-right:0!important;max-width:none!important;overflow:visible!important;padding-right:0!important;text-align:left!important;text-overflow:clip!important;white-space:normal!important}.draggable-value:hover{background:#e3f2fd;border:1px dashed #1976d2}.draggable-value:active{cursor:grabbing}.note-author{color:#2c3e50;font-size:14px;font-weight:600;margin-bottom:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.note-date{color:#7f8c8d;font-size:12px;margin-top:-4px!important}.note-context{align-items:flex-end;display:flex;flex-direction:column;flex-shrink:0;gap:2px;margin-left:auto;padding-left:8px}.context-item{color:#7f8c8d;font-size:11px;line-height:1.3;max-width:120px;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap}.footer-priority{align-items:center;display:flex;flex:1 1;justify-content:center;max-width:40px}.note-footer .priority-indicator{border-radius:50%;height:10px!important;margin:0 6px!important;width:10px!important}.note-footer .priority-2{background:#bdc3c7}.note-footer .priority-3{background:#f1c40f}.note-footer .priority-4{background:#e74c3c}.note-content{display:flex;flex:1 1;flex-direction:column;margin-bottom:0!important;min-height:50px!important}.note-text{-webkit-line-clamp:4;-webkit-box-orient:vertical;word-wrap:break-word;color:#2c3e50;display:-webkit-box;flex:1 1;font-size:15px;font-weight:600;line-height:1.4!important;margin-bottom:4px!important;overflow:hidden;overflow-wrap:break-word}.note-footer{border-top:1px solid #f0f0f0!important;flex-shrink:0!important;font-size:11px!important;gap:0!important;justify-content:space-between!important;margin-top:auto!important;min-height:24px!important;padding:0!important}.note-attachments,.note-footer{align-items:center!important;display:flex!important}.attachment-btn{align-items:center;background:none;border:none;border-radius:4px!important;color:#7f8c8d;cursor:pointer;display:flex;font-size:11px!important;gap:4px!important;padding:4px 8px!important;transition:all .2s ease}.attachment-btn:hover{background:#f8f9fa;color:#3498db}.note-actions{align-items:center!important;display:flex!important;gap:4px!important}.action-btn{align-items:center;background:none!important;border:none;border-radius:4px!important;color:#7f8c8d;cursor:pointer;display:flex;font-size:11px!important;height:24px!important;justify-content:center;transition:all .2s ease;width:24px!important}.action-btn:hover{background:#f8f9fa!important;color:#3498db}.action-btn.delete:hover{background:#fee!important;color:#e74c3c}@media (min-width:1400px){.notes-grid{gap:20px;grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}.note-card{min-height:220px;padding:18px}.note-text{font-size:20px}}@media (min-width:1200px) and (max-width:1399px){.notes-grid{gap:16px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}}@media (min-width:992px) and (max-width:1199px){.notes-grid{gap:14px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}}@media (min-width:768px) and (max-width:991px){.notes-grid{gap:12px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.note-card{min-height:180px;padding:14px}.note-header{flex-wrap:nowrap!important;gap:12px}.note-context{flex-direction:column!important;gap:2px!important;justify-content:flex-start!important;margin-left:auto!important;padding-left:8px!important;width:auto!important}.context-item{background:#0000!important;flex:none!important;max-width:120px!important;padding:0!important;text-align:right!important}}@media (max-width:767px){.notes-grid{gap:12px;grid-template-columns:1fr;padding:16px 0!important}.note-card{margin:0 8px;min-height:auto;padding:16px}.note-header{align-items:flex-start;flex-direction:row!important;flex-wrap:nowrap!important;gap:12px}.note-meta{flex:1 1;width:auto}.note-context{flex-direction:column!important;gap:2px!important;justify-content:flex-start!important;margin-left:auto!important;padding-left:8px!important;width:auto!important}.context-item{background:#0000!important;border-radius:0!important;flex:none!important;font-size:11px!important;max-width:120px!important;padding:0!important;text-align:right!important}.note-text{-webkit-line-clamp:3;font-size:14px}.note-footer{align-items:center;flex-direction:row!important;gap:8px}.note-actions{justify-content:flex-end}}@media (max-width:480px){.notes-grid{gap:10px}.note-card{margin:0 4px;padding:12px}.note-header{gap:8px}.user-avatar{font-size:12px;height:32px;width:32px}.note-author{font-size:13px}.note-date{font-size:11px}.context-item{font-size:10px!important;max-width:100px!important}.note-text{-webkit-line-clamp:2;font-size:13px}.attachment-btn{font-size:11px;padding:4px 8px}.action-btn{font-size:12px;height:26px;width:26px}.note-footer{flex-wrap:nowrap!important;min-height:24px!important}}.note-card.skeleton{animation:pulse 1.5s ease-in-out infinite;min-height:200px}.skeleton-header{display:flex;gap:12px;height:40px;margin-bottom:12px}.skeleton-avatar{background:#f0f0f0;border-radius:50%;height:36px;width:36px}.skeleton-text{background:#f0f0f0;border-radius:4px;height:12px}.skeleton-text.short{width:80px}.skeleton-text.long{height:80px;width:100%}.skeleton-content{flex:1 1;margin-bottom:12px}.skeleton-footer{align-items:center;display:flex;height:32px;justify-content:space-between;margin-top:auto;padding-top:12px}.skeleton-actions{display:flex;gap:8px}.skeleton-actions div{background:#f0f0f0;border-radius:6px;height:28px;width:28px}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.modal-overlay{align-items:center;background-color:#0009;display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:1000}.modal-content{animation:fadeIn .3s ease;border-radius:8px;box-shadow:0 5px 15px #0000004d;max-width:90%;padding:30px;position:relative;width:500px}.close-btn{color:#333;font-size:24px;position:absolute;right:15px;top:10px}.modal-overlay.modal-sm .modal-content{max-height:78vh;max-width:90%;overflow-y:auto;padding:20px;width:600px}.modal-overlay.modal-sm .settings-form textarea{height:80px;min-height:80px;resize:vertical}.modal-overlay.modal-sm .settings-form .modal-footer{display:flex;gap:10px;justify-content:flex-end;margin-top:5px;padding-top:10px}.new-note-modal .modal-content{display:flex;flex-direction:column;max-height:85vh;max-width:800px;width:90vw}.modal-content-wrapper{display:flex;flex-direction:column;height:100%;min-height:400px}.tabs-container{background:#fff;border-bottom:1px solid #e0e0e0;flex-shrink:0;position:-webkit-sticky;position:sticky;top:0;z-index:10}.tabs{background:#f8f9fa;border-radius:8px 8px 0 0}.tab-button{background:#0000;flex:1 1;padding:12px 16px;transition:all .2s ease}.tab-button.active{background:#fff;border-bottom:2px solid #1976d2;font-weight:600}.tab-button:hover:not(.active){background:#e9ecef}.tab-content-scrollable{flex:1 1;max-height:calc(85vh - 120px);overflow-y:auto;padding:20px}.journal-section{display:flex;flex-direction:column;gap:15px}.form-row{display:flex;gap:15px;margin-bottom:15px}.form-group{flex:1 1}.form-group.full-width{flex:0 0 100%}.form-group label{font-size:14px}.form-group input,.form-group select,.form-group textarea{transition:border-color .2s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#1976d2;box-shadow:0 0 0 2px #1976d21a;outline:none}.form-group textarea{font-family:inherit}.disabled-field-note{color:#666;font-size:.8em;font-style:italic;margin-top:4px}.error-message-inline{color:#d32f2f;font-size:.8em;font-weight:400;margin-left:5px}.error-message{background:#ffebee;font-size:14px;margin:10px 0;padding:10px 15px}.error-message.sticky-error{border-radius:0;margin:0 -20px 20px;position:-webkit-sticky;position:sticky;top:50px;z-index:5}.dismiss-error{align-items:center;display:flex;font-size:16px;height:20px;justify-content:center;padding:0;width:20px}.priority-label{font-weight:600}.priority-select{border:1px solid #ddd;border-radius:4px;padding:8px 12px}.priority-select.priority-4{border-left:4px solid #e74c3c}.priority-select.priority-3{border-left:4px solid #f39c12}.priority-select.priority-1{border-left:4px solid #bdc3c7}.documents-section{display:flex;flex-direction:column;gap:15px}.document-actions{display:flex;justify-content:flex-start}.add-button{background:#1976d2;font-size:14px;transition:background-color .2s ease}.add-button:hover{background:#1565c0}.documents-list{border:1px solid #e0e0e0;border-radius:4px;max-height:200px;overflow-y:auto}.documents-list th{background:#f5f5f5;border-bottom:1px solid #e0e0e0;color:#666;font-size:12px;font-weight:600;padding:10px;text-align:left;text-transform:uppercase}.documents-list td{border-bottom:1px solid #f0f0f0;font-size:14px;padding:10px}.documents-list tr:last-child td{border-bottom:none}.delete-button,.edit-button{background:none;border:none;border-radius:3px;cursor:pointer;font-size:12px;margin-right:5px;padding:4px 8px;transition:background-color .2s ease}.edit-button{color:#1976d2}.edit-button:hover{background:#e3f2fd}.delete-button{color:#d32f2f}.delete-button:hover{background:#ffebee}.no-documents{color:#666;font-size:14px;font-style:italic;padding:40px 20px;text-align:center}.modal-footer.sticky-footer{background:#fff;border-top:1px solid #e0e0e0;bottom:0;display:flex;flex-shrink:0;gap:10px;justify-content:flex-end;margin:0 -20px -20px;padding:16px 20px;position:-webkit-sticky;position:sticky}.cancel-button{background:#f5f5f5;color:#333;font-size:14px;transition:all .2s ease}.cancel-button:hover:not(:disabled){background:#e0e0e0}.save-button{background:#1976d2;font-size:14px;transition:background-color .2s ease}.save-button:hover:not(:disabled){background:#1565c0}.cancel-button:disabled,.save-button:disabled{cursor:not-allowed;opacity:.6}.document-modal-overlay{background:#00000080;z-index:1000}.document-modal{background:#fff;max-height:80vh;overflow-y:auto;width:90vw}.document-modal h3{color:#333;margin:0 0 20px}.file-error{color:#d32f2f;font-size:.9em;margin:5px 0 0}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.submit-button{background:#1976d2}.submit-button:disabled{background:#ccc}@media (max-height:700px){.new-note-modal .modal-content{max-height:95vh}.tab-content-scrollable{max-height:calc(95vh - 120px)}}@media (max-width:768px){.new-note-modal .modal-content{margin:10px;width:95vw}.form-row{gap:10px}.form-row,.tabs{flex-direction:column}.tab-button{padding:10px 12px;text-align:left}.documents-list{font-size:12px}.documents-list td,.documents-list th{padding:6px 8px}}@media (max-width:480px){.tab-content-scrollable{padding:15px}.modal-footer.sticky-footer{flex-direction:column;padding:12px 15px}.cancel-button,.save-button{width:100%}}.search-section{border-bottom:1px solid #e9ecef;margin-bottom:20px;padding-bottom:15px}.search-container{position:relative}.search-input-wrapper{margin-bottom:0;position:relative}.search-input{background-color:#f8f9fa;border:2px solid #e9ecef;border-radius:8px;font-size:14px;padding:12px 16px;transition:all .2s ease-in-out;width:100%}.search-input:focus{background-color:#fff;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a;outline:none}.search-spinner{background:#f8f9fa;border-radius:4px;color:#6c757d;font-size:12px;padding:2px 8px;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.search-results-dropdown{background:#fff;border:2px solid #007bff;border-radius:0 0 8px 8px;border-top:none;box-shadow:0 4px 12px #00000026;left:0;margin-top:-2px;max-height:300px;overflow-y:auto;position:absolute;right:0;top:100%;z-index:1000}.search-result-item{background:#fff;border-bottom:1px solid #f1f3f4;cursor:pointer;padding:12px 16px;transition:all .2s ease}.search-result-item:hover{background-color:#f8f9fa;transform:translateX(2px)}.search-result-item:last-child{border-bottom:none}.search-result-fullpath{color:#1a73e8;font-size:14px;font-weight:600;line-height:1.4;margin-bottom:4px}.search-result-details{color:#5f6368;font-size:12px;line-height:1.3}.search-result-details span{background:#f1f3f4;border-radius:4px;display:inline-block;margin-right:8px;padding:2px 6px}.search-no-results{background:#f8f9fa;color:#6c757d;font-style:italic;padding:20px;text-align:center}.search-container label{color:#2c3e50;display:block;font-size:14px;font-weight:600;margin-bottom:8px}.search-results-dropdown::-webkit-scrollbar{width:6px}.search-results-dropdown::-webkit-scrollbar-track{background:#f1f1f1;border-radius:0 0 8px 0}.search-results-dropdown::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.search-results-dropdown::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.search-results-header{background-color:#f8f9fa;border-bottom:1px solid #e9ecef;color:#6c757d;font-size:12px;font-weight:600;padding:8px 16px}.edit-note-modal-overlay{align-items:center;background-color:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.edit-note-modal{background-color:#fff;border-radius:8px;box-shadow:0 2px 10px #0003;max-height:80vh;max-width:650px;overflow-y:auto;padding:20px;width:90%}.modal-header{align-items:center;border-bottom:1px solid #eee;display:flex;justify-content:space-between;margin-bottom:20px;padding-bottom:15px}.modal-header h2{color:#333;margin:0}.close-button{background:none;border:none;color:#666;cursor:pointer;font-size:24px}.close-button:hover{color:#333}.error-message{align-items:center;background-color:#ffebee;border-radius:4px;color:#d32f2f;display:flex;justify-content:space-between;margin-bottom:15px;padding:10px}.dismiss-error{background:none;border:none;color:#d32f2f;cursor:pointer;font-size:12px}.tabs{border-bottom:1px solid #ddd;display:flex;margin-bottom:20px}.tab-button{border-bottom:3px solid #0000;color:#666;font-weight:600;padding:10px 20px}.tab-button.active{border-bottom-color:#1976d2;color:#1976d2}.form-group input,.form-group select,.form-group textarea{font-size:14px;padding:8px 12px}.form-group textarea{min-height:100px}.documents-list{margin-top:20px}.documents-list table{border-collapse:collapse;width:100%}.documents-list td,.documents-list th{border-bottom:1px solid #eee;padding:10px;text-align:left}.documents-list th{background-color:#f5f5f5}.document-actions{margin-bottom:15px}.add-button{background-color:#4caf50;border:none;border-radius:4px;color:#fff;cursor:pointer;padding:8px 16px}.edit-button{margin-right:5px}.delete-button,.edit-button{border:none;border-radius:4px;cursor:pointer;padding:5px 10px}.modal-footer{margin-top:20px;padding-top:15px}.cancel-button{background-color:#f5f5f5;border:1px solid #ddd;border-radius:4px}.cancel-button,.save-button{cursor:pointer;padding:8px 16px}.save-button{background-color:#1976d2;border:none;border-radius:4px;color:#fff}.save-button:disabled{background-color:#90caf9;cursor:not-allowed}.document-modal-overlay{align-items:center;background-color:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1001}.document-modal{background-color:#fff;border-radius:8px;max-width:500px;padding:20px;width:90%}.document-modal h3{margin-bottom:20px;margin-top:0}.document-modal .form-group{margin-bottom:15px}.document-modal .modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.submit-button{background-color:#4caf50;border:none;border-radius:4px;color:#fff;cursor:pointer;padding:8px 16px}.submit-button:disabled{background-color:#a5d6a7;cursor:not-allowed}button{cursor:pointer;margin-right:5px;padding:3px 8px}button:hover{background-color:#f0f0f0}table{margin-top:10px}td,th{border:1px solid #ddd;padding:8px}tr:nth-child(2n){background-color:#f2f2f2}.document-preview-modal{align-items:center;background-color:#000000b3;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.document-preview-modal .modal-content{background:#fff;border-radius:5px;height:90vh;max-width:900px;padding:20px;position:relative;width:90%}.no-preview{padding:20px;text-align:center}.document-actions-cell button{margin:0 5px;min-width:60px;padding:3px 8px}.delete-button,.download-button,.edit-button,.view-button{color:#fff}button:disabled{cursor:not-allowed;opacity:.5}.read-only-badge{background-color:#f0ad4e;border-radius:4px;color:#fff;font-size:14px;margin-left:10px;padding:3px 8px}.edit-warning{background-color:#f8d7da;border-radius:4px;color:#721c24;margin:10px 0;padding:10px;text-align:center}.priority-select{background:#fff;border:2px solid #e2e8f0;border-radius:6px;cursor:pointer;font-size:14px;outline:none;padding:.75rem;transition:all .2s ease;width:100%}.priority-select:focus{border-color:#4299e1;box-shadow:0 0 0 3px #4299e11a}.priority-default{background:linear-gradient(135deg,#fff 95%,#cbd5e0 0);border-color:#cbd5e0;color:#718096;font-style:italic}.priority-4{border-color:#d32b15;color:#f83330}.priority-3,.priority-4{background:#fff;font-weight:600}.priority-3{border-color:#e8f628;color:#e8f628}.priority-2{border-color:#2e48ed;color:#5987ec}.priority-1,.priority-2{background:#fff;font-weight:600}.priority-1{border-color:#eff6ff;color:#a7a8ab}.priority-select option[value=""]{background-color:#f7fafc;color:#718096;font-style:italic}.priority-option-4{background-color:#fff7ed;color:#f83330;font-weight:600}.priority-option-3{background-color:#fffbeb;color:#e8f628;font-weight:600}.priority-option-2{background-color:#f0fdf4;color:#5987ec;font-weight:600}.priority-option-1{background-color:#eff6ff;color:#a7a8ab;font-weight:600}.journal-section textarea:focus{border:2px solid #1976d2!important;border-radius:8px;margin:-2px;outline:none!important}.journal-section textarea{transition:border-color .2s ease-in-out}.settings-modal{background:#fff;border:none;border-radius:6px;box-shadow:0 2px 8px #0000001a;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;left:50%;max-height:60vh;max-width:450px;overflow:hidden;padding:10px;position:fixed;top:40%;transform:translate(-50%,-50%);z-index:1000}.settings-modal-title{align-items:center;background:linear-gradient(135deg,#3d69f8);color:#fff;display:flex;font-size:1.2rem;font-weight:600;gap:10px;padding:10px 15px}.settings-modal-title .settings-icon{font-size:1.5rem}.back-button{align-items:center;background:#fff3;border-radius:4px!important;color:#fff;display:flex;font-size:.8rem!important;gap:4px!important;margin-left:auto;padding:5px 10px!important;transition:all .3s ease}.back-button:hover{background:#ffffff4d}.settings-options-container{grid-gap:15px;background-color:#f8f9fa;display:grid;gap:15px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));padding:10px}.settings-content{background-color:#f8f9fa;min-height:300px;padding:15px}.settings-option{background:#fff;border:none;border-radius:8px;box-shadow:0 2px 5px #0000000d;gap:12px;padding:15px;text-align:left;transition:all .3s ease}.settings-option:hover{box-shadow:0 6px 15px #0000001a;transform:translateY(-2px)}.option-icon{align-items:center;background:linear-gradient(135deg,#3d69f8);border-radius:50%;color:#fff;display:flex;font-size:1.3rem;height:40px;justify-content:center;width:40px}.option-text h4{color:#333;font-size:1rem;font-weight:600;margin:0}.option-text p{color:#666;font-size:.85rem;margin:2px 0 0}.option-arrow{color:#aaa;margin-left:auto;transition:transform .3s}.settings-option:hover .option-arrow{color:#6e8efb;transform:translateX(3px)}.settings-form{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000000d;gap:15px;padding:20px}.form-group,.settings-form{display:flex;flex-direction:column}.form-group{gap:6px}.form-group label{color:#555;font-size:.9rem}.form-group input,.form-group select{border:1px solid #ddd;border-radius:6px;font-size:.95rem;padding:10px 12px;transition:border .3s}.form-group input:focus,.form-group select:focus{border-color:#6e8efb;box-shadow:0 0 0 2px #6e8efb33;outline:none}.settings-lookup-list{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000000d;padding:15px}.settings-lookup-list h4{color:#444;font-size:1rem;margin-top:0}.lookup-select{border:1px solid #ddd;border-radius:6px;font-size:.9rem;min-height:150px;padding:8px;width:100%}.lookup-select option{border-bottom:1px solid #eee;padding:6px}.lookup-select option:hover{background-color:#f0f5ff}.settings-action-buttons{flex-wrap:wrap;gap:10px;margin-top:15px}.btn-primary{background:linear-gradient(135deg,#3d69f8);box-shadow:0 1px 3px #0000001a;font-size:.95rem;font-weight:500;padding:10px 20px;transition:all .3s}.btn-primary:hover{box-shadow:0 3px 10px #6e8efb66;transform:translateY(-1px)}.btn-secondary{background:#e9ecef;color:#495057;padding:8px 16px}.btn-danger{background:linear-gradient(135deg,#ff6b6b,#f06595);box-shadow:0 1px 3px #0000001a;font-size:.95rem;font-weight:500;padding:10px 20px;transition:all .3s}.btn-danger:hover{box-shadow:0 3px 10px #ff6b6b66;transform:translateY(-1px)}.btn-close{background:#f8f9fa;border:1px solid #dee2e6;border-radius:6px;color:#495057;cursor:pointer;font-size:.95rem;font-weight:500;padding:8px 16px;transition:all .3s}.btn-close:hover{background:#e9ecef}.modal-footer{background:#f8f9fa;border-top:1px solid #eee;display:flex;gap:10px;justify-content:flex-end;padding:15px}.btn-danger:disabled,.btn-primary:disabled,.btn-secondary:disabled{box-shadow:none!important;cursor:not-allowed;opacity:.6;transform:none!important}.settings-option-logout{align-items:center;background:#fff;border:1px solid #ddd;border-radius:6px;box-shadow:0 1px 3px #00000014;color:#333;display:flex;flex-shrink:0;font-size:.9rem;gap:6px;padding:8px 12px}.settings-option-logout .option-icon{background:none;color:#333;font-size:.9rem;height:auto;width:auto}.settings-option-logout .option-text h4{color:#333;font-size:.9rem;margin:0}.settings-option-logout:hover{background:#f0f0f0;box-shadow:0 2px 6px #0000001a;transform:translateY(-1px)}@media (max-width:768px){.settings-options-container{grid-template-columns:1fr}.settings-action-buttons{flex-direction:column}.settings-action-buttons button{width:100%}}.logout-option{border-top:1px solid #eee;color:#e74c3c;margin-top:10px;padding-top:15px}.logout-option:hover{background-color:#fff5f5}.logout-option .option-icon{color:#e74c3c}.user-form-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(2,1fr)}.user-form-grid .form-group{margin-bottom:0}@media (max-width:600px){.user-form-grid{grid-template-columns:1fr}}.user-selection-container{margin-bottom:2px}.search-input-container{margin-bottom:8px;position:relative}.user-search-input{border:2px solid #e1e5e9;border-radius:6px;box-sizing:border-box;font-size:14px;padding:12px;transition:border-color .2s;width:100%}.user-search-input:focus{border-color:#1976d2;outline:none}.user-dropdown{background:#fff;border:1px solid #e1e5e9;border-radius:6px;box-shadow:0 4px 6px #0000001a;left:0;max-height:200px;overflow-y:auto;position:absolute;right:0;top:100%;z-index:10}.dropdown-item{border-bottom:1px solid #f5f5f5;cursor:pointer;padding:12px;transition:background-color .2s}.dropdown-item:hover{background-color:#f8f9fa}.dropdown-item:last-child{border-bottom:none}.user-info{display:flex;flex-direction:column}.user-name{font-weight:500}.user-email{color:#666;font-size:12px;margin-top:2px}.selected-users-container{background-color:#fafafa;border:1px solid #e1e5e9;border-radius:6px;display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px;min-height:40px;padding:6px}.user-tag{align-items:center;background-color:#e3f2fd;border:1px solid #bbdefb;border-radius:16px;display:flex;font-size:14px;padding:6px 12px}.user-tag-name{color:#1976d2;margin-right:8px}.remove-user-btn{align-items:center;background:none;border:none;border-radius:50%;color:#1976d2;cursor:pointer;display:flex;font-size:16px;font-weight:700;height:16px;justify-content:center;line-height:1;padding:0;width:16px}.remove-user-btn:hover{background-color:#1976d2;color:#fff}.selection-info{margin-top:4px;text-align:center}.info-text{color:#666;font-size:14px;font-style:italic}.settings-content{padding:20px}.settings-form{margin-bottom:20px}.form-group{margin-bottom:10px}.form-group label{color:#333;font-weight:500;margin-bottom:8px}.form-group select{border:2px solid #e1e5e9;border-radius:6px;box-sizing:border-box;font-size:14px;padding:12px;width:100%}.form-group select:focus{border-color:#1976d2;outline:none}.form-group select:disabled{background-color:#f5f5f5;color:#999}.settings-action-buttons{display:flex;gap:12px;justify-content:flex-start}.btn-primary{background-color:#1976d2;border:none;border-radius:6px;cursor:pointer;font-size:14px;padding:12px 24px;transition:background-color .2s}.btn-primary:hover:not(:disabled){background-color:#1565c0}.btn-primary:disabled{background-color:#ccc;cursor:not-allowed}.btn-danger{background-color:#dc3545;border:none;border-radius:6px;cursor:pointer;font-size:14px;padding:12px 24px;transition:background-color .2s}.btn-danger:hover:not(:disabled){background-color:#c82333}.btn-danger:disabled{background-color:#ccc;cursor:not-allowed}@media (max-width:768px){.settings-action-buttons{flex-direction:column}.btn-danger,.btn-primary{width:100%}}.tabs-container{width:100%}.tabs-header{border-bottom:1px solid #e1e5e9;display:flex;margin-bottom:20px}.tab-button{background:none;border:none;border-bottom:2px solid #0000;color:#6c757d;cursor:pointer;font-size:14px;font-weight:500;padding:12px 24px;transition:all .3s ease}.tab-button:hover{background-color:#f8f9fa;color:#495057}.tab-button.active{background-color:#fff;border-bottom-color:#007bff;color:#007bff}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.job-checkbox:hover{background-color:#e9ecef}@media (max-width:768px){.tabs-header{flex-direction:column}.tab-button{border-bottom:1px solid #e1e5e9;border-left:2px solid #0000}.tab-button.active{border-bottom-color:#e1e5e9;border-left-color:#007bff}.jobs-list{grid-template-columns:1fr}}.tabs-content{max-height:60vh;overflow-y:auto;padding:0}.tab-content{animation:fadeIn .3s ease-in;min-height:300px}.settings-content{display:flex;flex-direction:column;max-height:80vh}.tabs-container{display:flex;flex:1 1;flex-direction:column;min-height:0}.tabs-header{flex-shrink:0}.tabs-content{flex:1 1;min-height:0}.tabs-content::-webkit-scrollbar{width:6px}.tabs-content::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.tabs-content::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.tabs-content::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.loading-indicator{color:#007bff;font-size:12px;font-style:italic;margin-top:5px}.job-checkbox.disabled{cursor:not-allowed;opacity:.6}.job-checkbox.disabled input{cursor:not-allowed}.already-assigned-badge{background:#ffc107;border-radius:10px;color:#856404;font-size:10px;font-weight:600;margin-left:8px;padding:2px 6px}.selection-info .warning{background:#fff3cd;border:1px solid #ffeaa7;border-radius:4px;color:#856404;display:block;margin-top:5px;padding:4px 8px}.jobs-selection-container{border:1px solid #e1e5e9;border-radius:4px;max-height:400px;overflow-y:auto;padding:15px}.project-jobs-group{margin-bottom:20px}.project-jobs-group:last-child{margin-bottom:0}.project-name{border-bottom:1px solid #e9ecef;color:#495057;font-size:16px;font-weight:600;margin-bottom:10px;padding-bottom:5px}.jobs-list{grid-gap:8px;gap:8px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.job-checkbox{align-items:center;background-color:#f8f9fa;border-radius:4px;padding:8px 12px;transition:background-color .2s ease}.job-checkbox:hover:not(.disabled){background-color:#e9ecef}.job-checkbox input[type=checkbox]{margin-right:8px}.job-name{align-items:center;color:#495057;display:flex;font-size:14px}.user-job-management{max-height:600px;overflow-y:auto;padding:20px}.user-job-header{margin-bottom:20px;text-align:center}.user-job-header h2{color:#333;margin-bottom:5px}.user-job-header p{color:#666;margin:0}.user-job-controls{align-items:center;display:flex;gap:15px;margin-bottom:20px}.search-bar{flex:1 1;max-width:400px;position:relative}.search-bar i{color:#999;left:12px;position:absolute;top:50%;transform:translateY(-50%)}.search-bar input{border:1px solid #ddd;border-radius:5px;font-size:14px;padding:10px 10px 10px 35px;width:100%}.refresh-btn{background:#007bff;border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:14px;padding:10px 15px}.refresh-btn:hover{background:#0056b3}.users-list{display:flex;flex-direction:column;gap:20px}.user-card{background:#fff;border:1px solid #e1e5e9;border-radius:8px;padding:20px}.user-info{border-bottom:1px solid #f0f0f0;margin-bottom:15px;padding-bottom:15px}.user-name{color:#333;font-size:18px;margin:0 0 5px}.user-email,.user-role,.user-username{color:#666;font-size:14px;margin:2px 0}.jobs-section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:15px}.jobs-section-title{color:#333;font-size:16px;margin:0}.selected-count{color:#007bff;font-weight:400}.bulk-actions{align-items:center;display:flex;gap:15px}.deny-selected-btn,.select-all-checkbox{align-items:center;cursor:pointer;display:flex;font-size:14px;gap:5px}.deny-selected-btn{background:#dc3545;border:none;border-radius:4px;color:#fff;padding:8px 15px}.deny-selected-btn:hover{background:#c82333}.jobs-list{grid-gap:10px;display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.job-item{background:#fafafa;border:1px solid #f0f0f0;border-radius:5px;padding:12px}.job-checkbox{align-items:flex-start;cursor:pointer;display:flex;gap:10px;margin:0}.job-details{flex:1 1}.job-name{color:#333;display:block;font-weight:600;margin-bottom:4px}.job-description{color:#666;display:block;font-size:13px;line-height:1.3;margin-bottom:6px}.job-meta{display:flex;flex-wrap:wrap;font-size:12px;gap:10px}.job-id,.project-id{background:#f0f0f0;border-radius:3px;color:#888;padding:2px 6px}.status-badge{border-radius:10px;font-size:11px;font-weight:600;padding:2px 8px}.status-active{background:#d4edda;color:#155724}.status-inactive{background:#f8d7da;color:#721c24}.status-completed{background:#d1ecf1;color:#0c5460}.status-pending{background:#fff3cd;color:#856404}.status-unknown{background:#e2e3e5;color:#383d41}.no-results{color:#666;padding:40px 20px;text-align:center}.no-results i{color:#ccc;font-size:48px;margin-bottom:15px}.no-results h3{color:#333;margin:0 0 10px}.no-results p{margin:0 0 20px}.clear-search-btn{background:#6c757d;border:none;border-radius:4px;color:#fff;cursor:pointer;padding:8px 16px}.clear-search-btn:hover{background:#545b62}.error-message,.loading-message{font-size:16px;padding:40px 20px;text-align:center}.loading-message{color:#007bff}.error-message{color:#dc3545}@media (max-width:768px){.user-job-controls{align-items:stretch;flex-direction:column}.search-bar{max-width:none}.jobs-section-header{align-items:flex-start;flex-direction:column;gap:10px}.bulk-actions{justify-content:space-between;width:100%}.jobs-list{grid-template-columns:1fr}.job-meta{flex-direction:column;gap:5px}}.afm-overlay{align-items:center;background-color:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.afm-container{background-color:#fff;border-radius:8px;box-shadow:0 2px 10px #0003;display:flex;flex-direction:column;max-height:80vh;max-width:650px;overflow-y:auto;padding:20px;width:90%}.afm-header{align-items:center;border-bottom:1px solid #eee;display:flex;justify-content:space-between;margin-bottom:20px;padding-bottom:15px}.afm-header h2{color:#333;font-size:1.25rem;margin:0}.afm-close{background:none;border:none;color:#666;cursor:pointer;font-size:24px;line-height:1;padding:0}.afm-close:hover{color:#333}.afm-error{align-items:center;background-color:#ffebee;border-radius:4px;color:#d32f2f;display:flex;justify-content:space-between;margin-bottom:15px;padding:10px}.afm-error button{background:none;border:none;color:#d32f2f;cursor:pointer;font-size:12px}.afm-tabs{border-bottom:1px solid #ddd;display:flex;margin-bottom:20px;padding:0}.afm-tab{background:none;border:none;border-bottom:3px solid #0000;color:#666;cursor:pointer;font-weight:600;padding:10px 20px}.afm-tab.active{border-bottom-color:#1976d2;color:#1976d2}.afm-content{flex:1 1;overflow-y:auto}.afm-field{margin-bottom:15px}.afm-field label{color:#333;display:block;font-weight:500;margin-bottom:5px}.afm-field input,.afm-field select,.afm-field textarea{border:1px solid #ddd;border-radius:4px;font-size:14px;padding:8px 12px;width:100%}.afm-field textarea{min-height:100px;resize:vertical}.afm-documents-list{border-collapse:collapse;margin-top:20px;width:100%}.afm-documents-list td,.afm-documents-list th{border-bottom:1px solid #eee;padding:10px;text-align:left}.afm-documents-list th{background-color:#f5f5f5}.afm-doc-item{display:table-row}.afm-doc-icon{background-position:50%;background-repeat:no-repeat;background-size:contain;height:24px;width:24px}.afm-doc-icon,.afm-doc-info{display:table-cell;padding:10px;vertical-align:middle}.afm-doc-name{color:#333;font-weight:500}.afm-doc-filename,.afm-doc-size{color:#666;font-size:.9em}.afm-doc-actions{display:table-cell;padding:10px;text-align:right;vertical-align:middle}.afm-footer{border-top:1px solid #eee;display:flex;gap:10px;justify-content:flex-end;margin-top:20px;padding-top:15px}.afm-add-doc{background-color:#1976d2;border:none;border-radius:4px;color:#fff;cursor:pointer;margin-bottom:15px;padding:8px 16px}.afm-add-doc:hover{background:#1565c0}.afm-add-doc:disabled{background-color:#90caf9;cursor:not-allowed}.afm-action-button{border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:14px;margin-left:5px;padding:5px 10px}.view-button{background-color:#4caf50}.edit-button{background-color:#2196f3}.delete-button{background-color:#f44336}.download-button{background-color:#ff9800}.afm-action-button:disabled{cursor:not-allowed;opacity:.5}.afm-cancel-button{background-color:#f5f5f5;border:1px solid #ddd;border-radius:4px;cursor:pointer;padding:8px 16px}.afm-save-button{background-color:#1976d2;border:none;border-radius:4px;color:#fff;cursor:pointer;padding:8px 16px}.afm-save-button:disabled{background-color:#90caf9;cursor:not-allowed}.afm-empty{color:#666;padding:20px;text-align:center}.file-icon-pdf{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="%23F40F02" d="M181.9 256.1c-5-16-4.9-46.9-2-46.9 8.4 0 7.6 36.9 2 46.9zm-1.7 47.2c-7.7 20.2-17.3 43.3-28.4 62.7 18.3-7 39-17.2 62.9-21.9-12.7-9.6-24.9-23.4-34.5-40.8zM86.1 428.1c0 .8 13.2-5.4 34.9-40.2-6.7 6.3-29.1 24.5-34.9 40.2zM248 160h136v328c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V24C0 10.7 10.7 0 24 0h200v136c0 13.3 10.7 24 24 24zm-8 171.8c-20-12.2-33.3-29-42.7-53.8 4.5-18.5 11.6-46.6 6.2-64.2-4.7-29.4-42.4-26.5-47.8-6.8-5 18.3-.4 44.1 8.1 77-11.5 27.6-28.7 64.6-40.8 85.8-.1 0-.1.1-.2.1-27.1 13.9-73.6 44.5-54.5 68 5.6 6.9 16 10 21.5 10 17.9 0 35.7-18 61.1-61.8 25.8-8.5 54.1-19.1 79-23.2 21.7 11.8 47.1 19.5 64 19.5 29.2 0 31.2-30 19.7-43.4-13.1-15.5-30.4-12.6-54.6-6.6zM376 128H272V24c0-13.3 10.7-24 24-24h80v104c0 13.3 10.7 24 24 24z"/></svg>')}.file-icon-word{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="%232B579A" d="M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM192 160h160v-32H192v32zm-53.6 152.6c-6.2 6.2-16.4 6.3-22.6 0l-50.6-50.6c-6.2-6.2-6.2-16.4 0-22.6l50.6-50.6c6.2-6.2 16.4-6.3 22.6 0l50.6 50.6c6.2 6.2 6.2 16.4 0 22.6l-50.6 50.6zm96-96c-6.2 6.2-16.4 6.3-22.6 0l-50.6-50.6c-6.2-6.2-6.2-16.4 0-22.6l50.6-50.6c6.2-6.2 16.4-6.3 22.6 0l50.6 50.6c6.2 6.2 6.2 16.4 0 22.6l-50.6 50.6zm96-96c-6.2 6.2-16.4 6.3-22.6 0l-50.6-50.6c-6.2-6.2-6.2-16.4 0-22.6l50.6-50.6c6.2-6.2 16.4-6.3 22.6 0l50.6 50.6c6.2 6.2 6.2 16.4 0 22.6l-50.6 50.6z"/></svg>')}.file-icon-excel{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="%231D6F42" d="M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM192 160h160v-32H192v32zm-78.1 77.2l64 64c4.7 4.7 4.7 12.3 0 17l-64 64c-4.7 4.7-12.3 4.7-17 0l-64-64c-4.7-4.7-4.7-12.3 0-17l64-64c4.7-4.7 12.3-4.7 17 0zm96 0l64 64c4.7 4.7 4.7 12.3 0 17l-64 64c-4.7 4.7-12.3 4.7-17 0l-64-64c-4.7-4.7-4.7-12.3 0-17l64-64c4.7-4.7 12.3-4.7 17 0zm96 0l64 64c4.7 4.7 4.7 12.3 0 17l-64 64c-4.7 4.7-12.3 4.7-17 0l-64-64c-4.7-4.7-4.7-12.3 0-17l64-64c4.7-4.7 12.3-4.7 17 0z"/></svg>')}.file-icon-image{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="%2342A5F5" d="M384 64v384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64C0 28.7 28.7 0 64 0h256c35.3 0 64 28.7 64 64zm-256 64c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm96 96c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32zm160-64l-85.7-85.7c-6.2-6.2-16.4-6.2-22.6 0L96 288l-22.6-22.6c-6.2-6.2-16.4-6.2-22.6 0L0 320v128c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V160z"/></svg>')}.file-icon-text{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="%23757575" d="M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm68 236h-56v56c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-56h-56c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h56v-56c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v56h56c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm120-236H272V0h144v144z"/></svg>')}.file-icon-file{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="%23757575" d="M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm160-24v320c0 8.8-7.2 16-16 16H32c-8.8 0-16-7.2-16-16V32c0-8.8 7.2-16 16-16h176v104c0 13.3 10.7 24 24 24h104z"/></svg>')}.afm-doc-modal-overlay{align-items:center;background-color:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.afm-doc-modal{background-color:#fff;border-radius:8px;box-shadow:0 2px 10px #0003;max-width:500px;padding:20px;width:90%}.afm-doc-field{margin-bottom:15px}.afm-doc-field label{display:block;font-weight:500;margin-bottom:5px}.afm-doc-field input[type=file],.afm-doc-field input[type=text]{border:1px solid #ddd;border-radius:4px;padding:8px;width:100%}.afm-doc-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.afm-cancel-btn{background:#f5f5f5;border:1px solid #ddd;border-radius:4px}.afm-cancel-btn,.afm-save-btn{cursor:pointer;padding:8px 16px}.afm-save-btn{background:#1976d2;border:none;border-radius:4px;color:#fff}.afm-save-btn:disabled{background:#90caf9;cursor:not-allowed}.afm-error-message{background:#ffebee;border-radius:4px;color:#d32f2f;margin-bottom:15px;padding:10px}.view-note-modal-overlay{background-color:var(--overlay-bg-color);height:100%;width:100%;z-index:1000}.view-note-modal{background-color:var(--modal-bg-color);border-radius:10px;box-shadow:0 4px 20px #0003;color:var(--text-color);height:90vh;max-width:600px}.theme-gray{--overlay-bg-color:#000000b3;--modal-bg-color:#f0f0f0;--header-bg-color:#e0e0e0;--text-color:#333;--secondary-text-color:#777;--message-bg-color:#dcf8c6;--message-received-bg-color:#fff;--border-color:#e5e5e5;--button-color:#555;--button-hover-color:#333}.view-note-modal-overlay.theme-white{background-color:#fff;opacity:1}.whatsapp-header{background-color:var(--header-bg-color);border-bottom:1px solid var(--border-color);padding:10px 15px}.back-button{color:var(--button-color);font-size:24px;margin-right:15px}.contact-info .contact-name{color:var(--text-color);font-size:16px;font-weight:700}.contact-info .contact-status{color:var(--secondary-text-color);font-size:12px}.header-right .header-button{background:none;border:none;color:var(--button-color);cursor:pointer;font-size:20px;margin-left:15px}.whatsapp-chat{display:flex;flex-direction:column;flex-grow:1;padding:10px 15px}.whatsapp-chat::-webkit-scrollbar{width:6px}.whatsapp-chat::-webkit-scrollbar-thumb{background-color:var(--scroll-thumb-color);border-radius:3px}.whatsapp-chat::-webkit-scrollbar-track{background-color:initial}.theme-gray .whatsapp-chat::-webkit-scrollbar-thumb,.theme-white .whatsapp-chat::-webkit-scrollbar-thumb{background-color:#999}.theme-dark-blue .whatsapp-chat::-webkit-scrollbar-thumb{background-color:#3b4a54}.date-separator{align-self:center;background-color:var(--date-separator-bg);border-radius:10px;color:var(--secondary-text-color);display:inline-block;font-size:12px;margin:15px 0;padding:5px 10px;text-align:center}.theme-gray .date-separator,.theme-white .date-separator{background-color:#e0e0e0}.theme-dark-blue .date-separator{background-color:#3b4a54}.message{word-wrap:break-word;margin-bottom:8px;padding:8px 10px}.message.received{background-color:var(--message-received-bg-color);border:1px solid var(--border-color);color:var(--text-color);flex-grow:1;max-width:80%;transition:border-color .3s ease,box-shadow .3s ease}.message.received.priority-4{border:2px solid #d32b15!important}.message.received.priority-3{border:2px solid #d97706!important}.message.received.priority-2{border:2px solid #2e48ed!important}.message.received.priority-1{border:2px solid #a7a8ab!important}.message.received.selected.priority-4{box-shadow:0 0 10px #d32b154d}.message.received.selected.priority-3{box-shadow:0 0 10px #d977064d}.message.received.selected.priority-2{box-shadow:0 0 10px #2e48ed4d}.message.received.selected.priority-1{box-shadow:0 0 10px #a7a8ab4d}.message-header{align-items:center;margin-bottom:5px}.sender-name{color:#cbcaca;font-size:14px;font-weight:700}.message-time{color:var(--secondary-text-color);font-size:10px;margin-left:10px}.message-text{font-size:14px;font-weight:700;line-height:1.4;margin-bottom:5px}.message-meta{color:var(--secondary-text-color);display:flex;flex-wrap:wrap;font-size:12px;gap:10px;margin-bottom:10px;margin-top:5px}.meta-item{align-items:center;display:flex;gap:5px}.message-attachments{border-top:1px solid var(--border-color);margin-top:10px;padding:10px}.attachments-header{color:var(--secondary-text-color);font-size:12px;font-weight:700;margin-bottom:5px}.attachment-item{align-items:center;color:var(--text-color);display:flex;font-size:14px;margin-top:5px}.status-message{margin:15px 0;text-align:center}.status-content{color:var(--secondary-text-color);font-size:12px}.whatsapp-footer{background-color:var(--header-bg-color);border-top:1px solid var(--border-color);display:flex;justify-content:flex-end;padding:10px 15px}.close-chat-button{align-items:center;background-color:#f4f1f0cf;border:none;border-radius:20px;color:#191616;cursor:pointer;display:flex;font-size:14px;font-weight:700;gap:8px;overflow:hidden;padding:10px 20px;position:relative;transition:all .3s ease}.close-chat-button:hover{background-color:#b3b0b0;box-shadow:0 4px 12px #7873734d;transform:translateY(-2px)}.whatsapp-chat .message-row{align-items:flex-end;display:flex;flex-direction:row;justify-content:flex-start;margin-bottom:8px;width:100%}.message.received{align-self:flex-start;margin-left:0!important;margin-right:4px!important}.whatsapp-chat .paperclip-container{align-items:flex-end;display:flex;flex-shrink:0;height:auto;padding:0 4px}.whatsapp-chat .paperclip-button{background:none;border:none;color:var(--secondary-text-color);cursor:pointer;font-size:14px;line-height:1;opacity:.8;padding:5px;transition:opacity .2s,color .2s}.whatsapp-chat .paperclip-button:hover{color:#34b7f1;opacity:1}.message-date-below{color:#cbcaca;font-size:14px;font-weight:700;margin-bottom:8px;margin-top:-5px}.contact-project{font-size:14px;font-weight:600}.view-note-modal-overlay{align-items:center;animation:fadeIn .2s ease;background:#000000b3;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0}.view-note-modal{background:#fff;border-radius:12px;box-shadow:0 10px 30px #0000004d;display:flex;flex-direction:column;height:85vh;max-width:800px;overflow:hidden;width:90%}.view-note-modal.loading{align-items:center;display:flex;justify-content:center}.loading-spinner{color:#666;text-align:center}.loading-spinner i{color:#3498db;font-size:32px;margin-bottom:12px}.whatsapp-header{justify-content:space-between;padding:12px 16px}.header-left,.whatsapp-header{align-items:center;display:flex}.header-left{gap:12px}.back-button{background:none;border:none;cursor:pointer;font-size:18px}.contact-info{font-size:14px}.contact-name{font-weight:600}.contact-project,.contact-status{font-size:13px;opacity:.9}.whatsapp-chat{background:#f0f0f0;flex:1 1;overflow-y:auto;padding:16px}.message-row{align-items:flex-start;display:flex;flex-direction:column;margin-bottom:16px}.message{border-radius:8px;max-width:80%;padding:8px 12px;position:relative;transition:all .3s ease}.message-content{font-size:14.5px}.message-header{color:#666;display:flex;font-size:12px;justify-content:space-between;margin-bottom:4px}.sender-name{font-weight:600}.message.selected{border:2px solid #1976d2!important;border-radius:8px;box-shadow:0 2px 8px #1976d233;margin:-2px}body{background-color:#f5f5f5;font-family:Arial,sans-serif;margin:0;padding:0}.dashboard,.main-content{padding:20px}.dashboard{background-color:#fff;border-radius:5px;box-shadow:0 2px 5px #0000001a;position:relative}table{border-collapse:collapse;width:100%}td,th{border-bottom:1px solid #ddd;overflow:hidden;padding:4px 8px;text-align:left;text-overflow:ellipsis;white-space:nowrap}th{background-color:#f2f2f2;font-weight:700}tr:hover{background-color:#f5f5f5}.modal{background-color:#0006;display:none;height:100%;left:0;position:fixed;top:0;width:100%;z-index:1}.modal-content{background-color:#fff;border-radius:5px;box-shadow:0 4px 8px #0000001a;margin:10% auto;max-width:600px;padding:20px;width:60%}.form-group{margin-bottom:15px}.form-group label{display:block;font-weight:700;margin-bottom:5px}.form-group input,.form-group select,.form-group textarea{border:1px solid #ddd;border-radius:4px;box-sizing:border-box;padding:8px;width:100%}.form-group textarea{height:150px;resize:vertical}.button-group{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.btn{align-items:center;border:none;border-radius:4px;cursor:pointer;display:flex;font-weight:700;gap:8px;padding:8px 16px}.btn-primary{background-color:#3498db;color:#fff}.btn-secondary{background-color:#3d69f8;border:none;border-radius:6px;box-shadow:0 1px 3px #0000001a;color:#fff;cursor:pointer;font-size:.95rem;font-weight:500;padding:10px 20px;transition:all .3s}.btn-secondary:hover:not(:disabled){background-color:#3d60df}.btn-secondary:hover{background:#dee2e6;box-shadow:0 3px 10px #6e8efb66;transform:translateY(-1px)}.btn-danger{background-color:#e74c3c;color:#fff}.btn-success{background-color:#2ecc71;color:#fff}.btn-warning{background-color:#f39c12;color:#fff}.settings-option{align-items:center;border-bottom:1px solid #eee;cursor:pointer;display:flex;gap:10px;padding:10px}.settings-option:hover{background-color:#f5f5f5}.close-btn{cursor:pointer;float:right;font-size:20px;font-weight:700}.action-icon{margin-right:5px}.file-icon{color:#081720;font-size:1.1em}.file-cell{text-align:center}.file-name{display:inline-block;vertical-align:middle}.table-actions{display:flex;gap:10px}.table-actions a{color:#3498db;cursor:pointer}.search-box{display:flex;gap:10px;margin-bottom:20px}.search-box input{border:1px solid #ddd;border-radius:4px;flex:1 1;padding:8px}.search-box button{background-color:#3498db}.search-box button,.settings-btn{align-items:center;border:none;border-radius:4px;color:#fff;cursor:pointer;display:flex;gap:8px;padding:8px 16px}.settings-btn{background-color:#2c3e50;position:absolute;right:20px;top:20px}.editable:hover{background-color:#f0f8ff}.sub-modal{background-color:#00000080;display:none;height:100%;left:0;position:fixed;top:0;width:100%;z-index:2}.sub-modal-content{background-color:#fff;border-radius:5px;box-shadow:0 4px 8px #0003;margin:15% auto;max-width:400px;padding:20px;width:40%}.note-cell{max-width:250px;position:relative}.note-preview{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.note-cell:hover:after{background:#333;border-radius:4px;box-shadow:0 2px 10px #0003;color:#fff;content:attr(title);left:0;padding:8px;position:absolute;top:100%;white-space:normal;width:300px;z-index:100}th[draggable]{cursor:grab;-webkit-user-select:none;user-select:none}th[draggable]:active{cursor:grabbing}.search-hint{background:#e3f2fd;font-size:.9em}.search-hint button{background:none;border:none;color:#666;cursor:pointer;margin-left:5px}.grouped-view{margin-top:20px}.note-group{border:1px solid #e0e0e0;border-radius:8px;margin-bottom:30px;overflow:hidden}.group-header{align-items:center;background-color:#f5f5f5;border-bottom:1px solid #e0e0e0;display:flex;font-size:1.1rem;margin:0;padding:12px 20px}.group-table{border-collapse:collapse;width:100%}.group-table th{background-color:#f9f9f9;font-weight:500;padding:10px 15px;text-align:left}.group-table td{border-bottom:1px solid #f0f0f0;padding:10px 15px;vertical-align:middle}.search-hint{align-items:center;background-color:#e3f2fd;border-radius:4px;display:inline-flex;font-size:.9rem;margin-right:10px;padding:5px 10px}.clear-group-btn{background:none;border:none;color:#666;cursor:pointer;font-size:1rem;margin-left:8px}.clear-group-btn:hover{color:#333}@media (max-width:768px){.group-table{display:block;overflow-x:auto}.group-table td,.group-table th{white-space:nowrap}}.hierarchy-filters{background-color:#f5f5f5;border-radius:4px;display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px;padding:10px}.hierarchy-level,.hierarchy-level label{align-items:center;display:flex;gap:5px}.hierarchy-level label{font-weight:700}.hierarchy-level select{border:1px solid #ddd;border-radius:4px;padding:5px}.clear-hierarchy-btn{background:none;border:none;color:#666;cursor:pointer;padding:0 5px}.clear-hierarchy-btn:hover{color:#333}.clear-all-hierarchy-btn{background-color:#f0f0f0;border:1px solid #ddd;border-radius:4px;cursor:pointer;margin-left:10px;padding:5px 10px}.clear-all-hierarchy-btn:hover{background-color:#e0e0e0}th.hierarchy-column{background-color:#bce8fd}.loading-container{align-items:center;display:flex;flex-direction:column;height:100vh;justify-content:center}.spinner{animation:spin 1s linear infinite;border:4px solid #0000001a;border-radius:50%;border-top-color:#3498db;height:40px;margin-bottom:1rem;width:40px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.error-container{align-items:center;color:#dc3545;display:flex;flex-direction:column;height:100vh;justify-content:center}.error-container button{background:#dc3545;border:none;border-radius:4px;color:#fff;cursor:pointer;margin-top:1rem;padding:.5rem 1rem}body,input,textarea{font-family:Abyssinica SIL,Arial,sans-serif}.amharic-text{font-size:1.1em;line-height:1.6}
/*# sourceMappingURL=main.e462efa2.css.map*/