.login-container{box-sizing:border-box;background:linear-gradient(135deg,#0f172a 0%,#1e293b 50%,#0f172a 100%) fixed;justify-content:center;align-items:center;width:100%;min-height:100dvh;margin:0;padding:20px;display:flex}.login-box{-webkit-backdrop-filter:blur(20px);box-sizing:border-box;background:#ffffff0d;border:1px solid #ffffff14;border-radius:24px;width:100%;max-width:420px;padding:48px 40px;box-shadow:0 25px 80px #00000080}.login-box .logo{text-align:center;margin-bottom:32px}.login-box .logo-icon{margin-bottom:8px;font-size:52px;line-height:1;display:block}.login-box .logo-title{color:#fff;letter-spacing:-.5px;font-size:28px;font-weight:700;line-height:1.2;display:block}.login-box .logo-subtitle{color:#ffffff80;margin-top:4px;font-size:14px;font-weight:400;display:block}.login-box .form-group{margin-bottom:20px}.login-box .form-group label{color:#ffffffb3;letter-spacing:.3px;margin-bottom:6px;font-size:13px;font-weight:500;display:block}.login-box .form-group input{color:#fff;box-sizing:border-box;background:#ffffff0f;border:1px solid #ffffff1a;border-radius:12px;outline:none;width:100%;padding:14px 16px;font-family:inherit;font-size:15px;transition:all .3s}.login-box .form-group input::placeholder{color:#ffffff40}.login-box .form-group input:focus{background:#ffffff14;border-color:#3b82f6;box-shadow:0 0 0 4px #3b82f626}.login-box .form-group input:-webkit-autofill{-webkit-text-fill-color:#fff!important;-webkit-box-shadow:inset 0 0 0 1000px #1e293b!important}.login-box .error-message{color:#f87171;background:#ef444426;border:1px solid #ef444433;border-radius:10px;margin-bottom:16px;padding:12px 16px;font-size:14px}.login-box .login-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:12px;width:100%;padding:14px;font-family:inherit;font-size:16px;font-weight:600;transition:all .3s}.login-box .login-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 30px #3b82f659}.login-box .login-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}@media (width<=480px){.login-box{border-radius:18px;padding:32px 24px}.login-box .logo-icon{font-size:44px}.login-box .logo-title{font-size:24px}.login-box .logo-subtitle{font-size:13px}.login-box .form-group input{padding:12px 14px;font-size:16px}.login-box .login-btn{padding:12px;font-size:15px}}@media (width<=380px){.login-box{padding:24px 16px}.login-box .logo-icon{font-size:36px}.login-box .logo-title{font-size:20px}}.hub-card{cursor:pointer;text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;min-height:120px;padding:16px 10px 12px;transition:all .25s;display:flex;box-shadow:0 1px 3px #0000000a}.hub-card:hover{border-color:#94a3b8;transform:translateY(-4px);box-shadow:0 8px 24px #00000014}.hub-card-content{flex-direction:column;align-items:center;gap:4px;width:100%;margin-top:auto;margin-bottom:auto;display:flex}.hub-icon{margin-bottom:4px;font-size:32px;line-height:1.2}.hub-name{color:#0f172a;font-size:14px;font-weight:500;line-height:1.4}.hub-badge{color:#4f46e5;text-align:center;background:#eef2ff;border-radius:24px;min-width:28px;margin-top:6px;padding:2px 16px;font-size:16px;font-weight:700;transition:all .2s}.hub-card:hover .hub-badge{color:#fff;background:#4f46e5}@media (width<=1024px){.hub-icon{font-size:28px}.hub-name{font-size:13px}.hub-badge{padding:0 12px;font-size:14px}}@media (width<=768px){.hub-card{padding:12px 6px 10px}.hub-icon{font-size:24px}.hub-name{font-size:12px}.hub-badge{padding:0 10px;font-size:13px}}@media (width<=480px){.hub-card{border-radius:12px;padding:10px 4px 8px}.hub-icon{font-size:20px}.hub-name{font-size:11px}.hub-badge{min-width:20px;padding:0 8px;font-size:11px}}@media (width<=380px){.hub-card{border-radius:10px;padding:8px 4px 6px}.hub-icon{font-size:18px}.hub-name{font-size:10px}.hub-badge{min-width:16px;padding:0 6px;font-size:10px}}.tasks-table-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:4px 0;overflow-x:auto;box-shadow:0 1px 3px #0000000a}.tasks-table{border-collapse:collapse;width:100%;min-width:500px;font-size:14px}.tasks-table th{text-align:left;color:#64748b;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #f1f5f9;padding:14px 20px;font-size:12px;font-weight:600}.tasks-table td{color:#1e293b;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:14px 20px}.tasks-table tr:last-child td{border-bottom:none}.tasks-loading{color:#94a3b8;padding:20px 0}.empty-row{text-align:center;color:#94a3b8;padding:32px 20px}.task-tracking{color:#0f172a;font-weight:500}.task-comments-badge{color:#2563eb;background:#eff6ff;border-radius:12px;margin-left:8px;padding:1px 8px;font-size:12px;display:inline-block}.task-description{color:#64748b;white-space:nowrap;text-overflow:ellipsis;max-width:200px;overflow:hidden}@media (width<=768px){.tasks-table th,.tasks-table td{padding:10px 14px;font-size:13px}.task-description{max-width:120px}}@media (width<=480px){.tasks-table{min-width:320px;font-size:12px}.tasks-table th,.tasks-table td{padding:8px 10px}.task-description{max-width:80px}.task-comments-badge{padding:0 6px;font-size:10px}}.dashboard{background:#f1f5f9;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.main{max-width:1280px;margin:0 auto;padding:24px 32px}.hubs-section{margin-bottom:16px}.section-title{color:#0f172a;margin-bottom:20px;font-size:20px;font-weight:600}.hubs-grid{grid-template-columns:repeat(6,1fr);grid-auto-rows:1fr;gap:16px;display:grid}.tasks-section{margin-top:8px}@media (width<=1024px){.hubs-grid{grid-template-columns:repeat(4,1fr);gap:14px}}@media (width<=768px){.main{padding:16px}.hubs-grid{grid-template-columns:repeat(3,1fr);gap:12px}.section-title{font-size:18px}}@media (width<=480px){.main{padding:12px}.section-title{font-size:16px}.hubs-grid{grid-template-columns:repeat(3,1fr);gap:10px}}@media (width<=380px){.hubs-grid{grid-template-columns:repeat(2,1fr);gap:8px}}.users-content{max-width:1280px;margin:0 auto}.users-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.users-header h1{color:#0f172a;font-size:24px;font-weight:700}.users-table-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:4px 0;overflow-x:auto}.users-table{border-collapse:collapse;width:100%;min-width:500px;font-size:14px}.users-table th{text-align:left;color:#64748b;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #f1f5f9;padding:14px 20px;font-size:12px;font-weight:600}.users-table td{color:#1e293b;border-bottom:1px solid #f1f5f9;padding:14px 20px}.users-table tr:last-child td{border-bottom:none}.role-tag{text-transform:uppercase;border-radius:20px;padding:3px 14px;font-size:12px;font-weight:600;display:inline-block}.role-tag.admin{color:#dc2626;background:#fee2e2}.role-tag.manager{color:#1d4ed8;background:#dbeafe}.role-tag.logist{color:#d97706;background:#fef3c7}.actions .btn-delete:hover{background:#fee2e2}.modal-content .form-group input,.modal-content .form-group select{box-sizing:border-box;color:#0f172a;background:#fff;border:2px solid #e2e8f0;border-radius:10px;width:100%;padding:12px 14px;font-size:14px;transition:border-color .2s}.modal-content .form-group input:focus,.modal-content .form-group select:focus{border-color:#3b82f6;outline:none}@media (width<=768px){.users-header{flex-direction:column;align-items:stretch;gap:12px}.users-header h1{font-size:20px}.btn-add{text-align:center;width:100%}.users-table th,.users-table td{padding:10px 14px;font-size:13px}.modal-content{padding:28px 20px}}@media (width<=480px){.users-table{min-width:300px;font-size:12px}.users-table th,.users-table td{padding:8px 10px}.actions button{font-size:15px}.modal-content h2{font-size:19px}.modal-content .form-group input,.modal-content .form-group select{padding:10px 12px;font-size:16px}}.roles-content{max-width:1280px;margin:0 auto}.roles-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.roles-header h1{color:#0f172a;font-size:24px;font-weight:700}.btn-add{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:10px;padding:10px 24px;font-size:14px;font-weight:600;transition:background .2s}.btn-add:hover{background:#1d4ed8}.roles-table-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:4px 0;overflow-x:auto}.roles-table{border-collapse:collapse;width:100%;min-width:500px;font-size:14px}.roles-table th{text-align:left;color:#64748b;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #f1f5f9;padding:14px 20px;font-size:12px;font-weight:600}.roles-table td{color:#1e293b;border-bottom:1px solid #f1f5f9;padding:14px 20px}.roles-table tr:last-child td{border-bottom:none}.role-key{color:#1e293b;background:#f1f5f9;border-radius:4px;padding:2px 10px;font-size:13px}.actions{gap:8px;display:flex}.actions button{cursor:pointer;background:0 0;border:none;border-radius:6px;padding:4px 6px;font-size:18px;transition:background .2s}.actions .btn-edit:hover{background:#f1f5f9}.actions .btn-delete:hover:not(:disabled){background:#fee2e2}.actions .btn-delete:disabled{opacity:.3;cursor:not-allowed}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#00000080;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal-content{background:#fff;border-radius:20px;width:100%;max-width:480px;max-height:90vh;padding:40px;overflow-y:auto;box-shadow:0 25px 80px #0000004d}.modal-content h2{color:#0f172a;margin-bottom:24px;font-size:22px;font-weight:700}.modal-content .form-group{margin-bottom:18px}.modal-content .form-group label{color:#1e293b;margin-bottom:4px;font-size:13px;font-weight:600;display:block}.modal-content .form-group input{box-sizing:border-box;color:#0f172a;background:#fff;border:2px solid #e2e8f0;border-radius:10px;width:100%;padding:12px 14px;font-size:14px;transition:border-color .2s}.modal-content .form-group input:focus{border-color:#3b82f6;outline:none}.modal-content .form-group small{color:#94a3b8;margin-top:4px;font-size:12px;display:block}.modal-content .error-msg{color:#dc2626;background:#fee2e2;border-radius:8px;margin-bottom:16px;padding:10px 14px;font-size:14px}.modal-actions{justify-content:flex-end;gap:12px;margin-top:8px;display:flex}.modal-actions .btn-cancel{color:#64748b;cursor:pointer;background:0 0;border:1px solid #e2e8f0;border-radius:10px;padding:10px 24px;font-size:14px;font-weight:500}.modal-actions .btn-cancel:hover{background:#f1f5f9}.modal-actions .btn-save{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:10px;padding:10px 28px;font-size:14px;font-weight:600}.modal-actions .btn-save:hover{background:#1d4ed8}@media (width<=768px){.roles-header{flex-direction:column;align-items:stretch;gap:12px}.roles-header h1{font-size:20px}.btn-add{text-align:center;width:100%}.roles-table th,.roles-table td{padding:10px 14px;font-size:13px}.modal-content{padding:28px 20px}}@media (width<=480px){.roles-table{min-width:300px;font-size:12px}.roles-table th,.roles-table td{padding:8px 10px}.actions button{font-size:15px}.modal-content h2{font-size:19px}.modal-content .form-group input{padding:10px 12px;font-size:16px}}.settings-page{padding:8px 0}.settings-page h1{color:#0f172a;margin-bottom:12px;font-size:24px;font-weight:700}.settings-placeholder{color:#94a3b8;padding:40px 0;font-size:16px}.system-content{max-width:1280px;margin:0 auto}.system-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.system-header h1{color:#0f172a;font-size:24px;font-weight:700}.system-stats{align-items:center;gap:16px;display:flex}.stat-badge{color:#1e293b;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:8px 16px;font-size:14px}.stat-badge strong{color:#2563eb}.btn-refresh{cursor:pointer;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;padding:8px 18px;font-size:13px;transition:background .2s}.btn-refresh:hover{background:#e2e8f0}.system-table-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:4px 0;overflow-x:auto}.system-table{border-collapse:collapse;width:100%;min-width:600px;font-size:14px}.system-table th{text-align:left;color:#64748b;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #f1f5f9;padding:14px 20px;font-size:12px;font-weight:600}.system-table td{color:#1e293b;border-bottom:1px solid #f1f5f9;padding:14px 20px}.system-table tr:last-child td{border-bottom:none}.client-id{color:#64748b;font-family:monospace;font-size:12px}.btn-force-close{color:#dc2626;cursor:pointer;background:#fee2e2;border:1px solid #fecaca;border-radius:6px;padding:4px 14px;font-size:12px;transition:background .2s}.btn-force-close:hover:not(:disabled){background:#fecaca}.btn-force-close:disabled{opacity:.5;cursor:not-allowed}.empty-state{text-align:center;color:#94a3b8;padding:40px 20px;font-size:16px}@media (width<=768px){.system-header{flex-direction:column;align-items:stretch}.system-stats{flex-wrap:wrap}.system-table th,.system-table td{padding:10px 14px;font-size:13px}.client-id{text-overflow:ellipsis;max-width:100px;font-size:10px;overflow:hidden}}.action-btn{cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none;border:none;border-radius:10px;justify-content:center;align-items:center;gap:6px;font-weight:600;transition:all .2s;display:inline-flex}.action-btn:active{transform:scale(.96)}.action-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.btn-sm{min-height:30px;padding:4px 12px;font-size:12px}.btn-md{min-height:40px;padding:8px 20px;font-size:14px}.btn-lg{border-radius:12px;min-height:50px;padding:12px 28px;font-size:16px}.btn-primary{color:#fff;background:#2563eb}.btn-primary:hover:not(:disabled){background:#1d4ed8}.btn-success{color:#fff;background:#22c55e}.btn-success:hover:not(:disabled){background:#16a34a}.btn-danger{color:#fff;background:#ef4444}.btn-danger:hover:not(:disabled){background:#dc2626}.btn-outline{color:#64748b;background:0 0;border:1.5px solid #e2e8f0}.btn-outline:hover:not(:disabled){background:#f1f5f9}@media (width<=480px){.btn-sm{min-height:36px;padding:6px 14px;font-size:13px}.btn-md{min-height:44px;padding:10px 18px;font-size:15px}.btn-lg{min-height:52px;padding:14px 24px;font-size:17px}}@media (hover:none) and (pointer:coarse){.action-btn{min-height:44px}}.btn-warning{color:#fff;background:#f59e0b}.btn-warning:hover:not(:disabled){background:#d97706}.icon-btn{cursor:pointer;-webkit-user-select:none;user-select:none;background:0 0;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;transition:all .2s;display:inline-flex}.icon-btn:active{transform:scale(.92)}.icon-btn:disabled{opacity:.4;cursor:not-allowed;transform:none}.icon-btn-sm{border-radius:6px;width:28px;height:28px;font-size:14px}.icon-btn-md{border-radius:8px;width:36px;height:36px;font-size:18px}.icon-btn-lg{border-radius:10px;width:44px;height:44px;font-size:22px}.icon-btn-primary{color:#2563eb;background:0 0}.icon-btn-primary:hover:not(:disabled){color:#1d4ed8;background:#eff6ff}.icon-btn-success{color:#22c55e;background:0 0}.icon-btn-success:hover:not(:disabled){color:#16a34a;background:#f0fdf4}.icon-btn-danger{color:#ef4444;background:0 0}.icon-btn-danger:hover:not(:disabled){color:#dc2626;background:#fef2f2}.icon-btn-outline{color:#64748b;background:0 0;border:1.5px solid #e2e8f0}.icon-btn-outline:hover:not(:disabled){color:#475569;background:#f1f5f9}.icon-btn-ghost{color:#94a3b8;background:0 0}.icon-btn-ghost:hover:not(:disabled){color:#64748b;background:#f1f5f9}.photo-viewer{flex-wrap:wrap!important;gap:12px!important;margin:12px 0!important;display:flex!important}.photo-viewer .photo-thumbnail{cursor:pointer!important;background:#f1f5f9!important;border:1px solid #e2e8f0!important;border-radius:10px!important;flex-shrink:0!important;width:60px!important;height:60px!important;transition:transform .2s,box-shadow .2s!important;position:relative!important;overflow:hidden!important}.photo-viewer .photo-thumbnail:hover{z-index:1!important;transform:scale(1.05)!important;box-shadow:0 4px 12px #00000026!important}.photo-viewer .photo-thumbnail img{object-fit:cover!important;width:100%!important;height:100%!important;display:block!important}.photo-viewer .photo-more-overlay{color:#fff!important;-webkit-backdrop-filter:blur(2px)!important;backdrop-filter:blur(2px)!important;background:#0009!important;justify-content:center!important;align-items:center!important;font-size:28px!important;font-weight:700!important;display:flex!important;position:absolute!important;inset:0!important}@media (width<=480px){.photo-viewer{gap:8px!important}.photo-viewer .photo-thumbnail{border-radius:8px!important;width:60px!important;height:60px!important}.photo-viewer .photo-more-overlay{font-size:20px!important}}@media (width>=481px) and (width<=768px){.photo-viewer .photo-thumbnail{width:160px!important;height:160px!important}}@media (width>=1200px){.photo-viewer .photo-thumbnail{width:80px!important;height:80px!important}}.task-card{cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;height:100%;min-height:280px;transition:all .25s;display:flex;overflow:hidden;box-shadow:0 1px 3px #0000000a}.task-card:hover{transform:translateY(-2px);box-shadow:0 4px 16px #00000014}.task-status-bar{text-align:center;letter-spacing:.3px;flex-shrink:0;padding:6px 16px;font-size:12px;font-weight:600}.task-status-bar.status-new{color:#d97706;background:#fef3c7}.task-status-bar.status-in_progress{color:#1d4ed8;background:#dbeafe}.task-status-bar.status-completed{color:#059669;background:#d1fae5}.task-card-body{flex-direction:column;flex:1;padding:14px 16px 12px;display:flex}.task-card-header{color:#64748b;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:13px;display:flex}.task-author{color:#1e293b;font-weight:500}.task-author-label{color:#64748b;font-weight:400}.task-date{white-space:nowrap;font-size:12px}.task-supplier{color:#1e293b;margin-bottom:8px;font-size:14px}.task-supplier strong{color:#0f172a}.task-comment-box{color:#1e293b;word-break:break-word;background:#f8fafc;border:1px solid #f1f5f9;border-radius:10px;flex:none;min-height:60px;max-height:80px;margin-bottom:10px;padding:10px 14px;font-size:14px;line-height:1.5;overflow:hidden}.task-photos-preview{flex-wrap:wrap;gap:6px;margin-bottom:10px;display:flex}.photo-thumbnail{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;flex-shrink:0;width:56px;height:56px;overflow:hidden}.photo-thumbnail img{object-fit:cover;width:100%;height:100%}.photo-more{color:#4f46e5;background:#eef2ff;border:1px solid #e2e8f0;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:56px;height:56px;font-size:13px;font-weight:600;display:flex}.task-card-footer{border-top:1px solid #f1f5f9;flex-direction:column;gap:8px;margin-top:auto;padding-top:10px;display:flex}.task-footer-row{justify-content:flex-end;align-items:center;display:flex}.task-comments-indicator{color:#64748b;background:#f1f5f9;border-radius:12px;align-items:center;gap:4px;padding:2px 10px;font-size:13px;font-weight:500;display:flex}.task-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.status-completed{color:#22c55e;font-size:13px;font-weight:600}@media (width<=480px){.task-card{border-radius:12px;min-height:220px}.task-card-body{padding:10px 12px}.task-card-header{flex-wrap:wrap;font-size:12px}.task-author,.task-supplier{font-size:13px}.task-comment-box{min-height:48px;max-height:64px;padding:8px 12px;font-size:13px}.photo-thumbnail{width:44px;height:44px}.photo-more{width:44px;height:44px;font-size:11px}.task-actions{gap:4px}.task-comments-indicator{padding:1px 8px;font-size:11px}}.task-admin-actions{align-items:center;gap:4px;margin-left:auto;display:flex}.task-status-bar{border-radius:8px 8px 0 0;justify-content:space-between;align-items:center;padding:6px 12px;font-size:13px;font-weight:500;display:flex}@media (width<=480px){.task-admin-actions{gap:2px}}.gallery-overlay{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:9999;background:#000000eb;justify-content:center;align-items:center;padding:20px;animation:.3s galleryFadeIn;display:flex;position:fixed;inset:0}@keyframes galleryFadeIn{0%{opacity:0}to{opacity:1}}.gallery-content{flex-direction:column;align-items:center;width:100%;max-width:1200px;max-height:90vh;display:flex;position:relative}.gallery-close{color:#fff;cursor:pointer;z-index:10;background:#ffffff26;border:none;border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;font-size:24px;transition:all .2s;display:flex;position:absolute;top:-10px;right:-10px}.gallery-close:hover{background:#ffffff4d;transform:scale(1.1)}.gallery-image-container{flex:1;justify-content:center;align-items:center;width:100%;height:60vh;display:flex;position:relative;overflow:hidden}.gallery-image{object-fit:contain;-webkit-user-select:none;user-select:none;transform-origin:50%;max-width:100%;max-height:100%;transition:transform 50ms linear}.gallery-controls{justify-content:space-between;align-items:center;width:100%;max-width:600px;margin-top:20px;padding:0 10px;display:flex}.gallery-nav{color:#fff;cursor:pointer;background:#ffffff1a;border:1px solid #fff3;border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;font-size:28px;transition:all .2s;display:flex}.gallery-nav:hover:not(:disabled){background:#fff3}.gallery-nav:disabled{opacity:.3;cursor:not-allowed}.gallery-info{color:#ffffffb3;align-items:center;gap:16px;font-size:14px;display:flex}.gallery-zoom-info{align-items:center;gap:8px;display:flex}.gallery-zoom-btn{color:#fff;cursor:pointer;background:#ffffff1a;border:1px solid #fff3;border-radius:8px;padding:4px 10px;font-size:14px;transition:all .2s}.gallery-zoom-btn:hover{background:#fff3}.gallery-thumbnails{flex-wrap:wrap;justify-content:center;gap:8px;max-width:100%;margin-top:16px;padding:4px;display:flex;overflow-x:auto}.gallery-thumbnail{cursor:pointer;border:2px solid #0000;border-radius:8px;flex-shrink:0;width:56px;height:56px;transition:all .2s;overflow:hidden}.gallery-thumbnail img{object-fit:cover;width:100%;height:100%}.gallery-thumbnail:hover{border-color:#fff6}.gallery-thumbnail.active{border-color:#3b82f6}.gallery-hints{color:#ffffff4d;flex-wrap:wrap;justify-content:center;gap:20px;margin-top:12px;font-size:12px;display:flex}@media (width<=768px){.gallery-image-container{height:45vh}.gallery-nav{width:40px;height:40px;font-size:22px}.gallery-info{gap:10px;font-size:12px}.gallery-thumbnail{width:44px;height:44px}.gallery-hints{gap:12px;font-size:10px}.gallery-close{width:38px;height:38px;font-size:20px;top:0;right:0}}@media (width<=480px){.gallery-image-container{height:35vh}.gallery-controls{flex-wrap:wrap;justify-content:center;gap:10px}.gallery-nav{order:1;width:36px;height:36px;font-size:18px}.gallery-info{order:2;justify-content:center;width:100%}.gallery-thumbnail{width:36px;height:36px}.gallery-hints{display:none}}.hub-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;width:100%;max-width:1280px;margin:0 auto;padding:16px 0 20px;display:flex}.hub-header h1{color:#1e293b;flex-shrink:0;margin:0;font-size:24px}.hub-actions{flex-wrap:wrap;flex-shrink:1;align-items:center;gap:10px;min-width:0;display:flex}.hub-filter-checkbox{cursor:pointer;color:#475569;-webkit-user-select:none;user-select:none;white-space:nowrap;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex-shrink:0;align-items:center;gap:6px;padding:8px 12px;font-size:14px;transition:all .2s;display:flex}.hub-filter-checkbox:hover{background:#f1f5f9;border-color:#cbd5e1}.hub-filter-checkbox input[type=checkbox]{cursor:pointer;accent-color:#2563eb;flex-shrink:0;width:16px;height:16px}.hub-filter-checkbox span{font-weight:500}.hub-sse-status{margin-left:4px;font-size:12px;animation:2s infinite hub-pulse-green}@keyframes hub-pulse-green{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.hub-btn-create{color:#fff;cursor:pointer;white-space:nowrap;background:#2563eb;border:none;border-radius:8px;flex-shrink:0;padding:8px 20px;font-size:14px;font-weight:500;transition:all .2s}.hub-btn-create:hover{background:#1d4ed8;transform:translateY(-1px);box-shadow:0 4px 12px #2563eb4d}.hub-btn-back{color:#64748b;cursor:pointer;white-space:nowrap;background:0 0;border:1.5px solid #e2e8f0;border-radius:8px;flex-shrink:0;padding:8px 20px;font-size:14px;font-weight:500;transition:all .2s}.hub-btn-back:hover{background:#f1f5f9;border-color:#cbd5e1}@media (width<=1024px){.hub-header h1{font-size:22px}.hub-actions{gap:8px}.hub-filter-checkbox{padding:6px 10px;font-size:13px}.hub-btn-create,.hub-btn-back{padding:6px 16px;font-size:13px}}@media (width<=768px){.hub-header{flex-direction:column;align-items:stretch;gap:10px;padding:12px 0}.hub-header h1{text-align:center;font-size:20px}.hub-actions{flex-wrap:wrap;justify-content:center;gap:8px}.hub-filter-checkbox{flex-shrink:1;padding:6px 12px;font-size:13px}.hub-btn-create,.hub-btn-back{flex-shrink:1;padding:6px 14px;font-size:13px}}@media (width<=480px){.hub-header{gap:8px;padding:8px 0}.hub-header h1{font-size:18px}.hub-actions{gap:6px}.hub-filter-checkbox{border-radius:6px;padding:4px 10px;font-size:12px}.hub-filter-checkbox input[type=checkbox]{width:14px;height:14px}.hub-btn-create,.hub-btn-back{border-radius:6px;padding:5px 12px;font-size:12px}}@media (width<=360px){.hub-actions{gap:4px}.hub-filter-checkbox{padding:4px 8px;font-size:11px}.hub-btn-create,.hub-btn-back{padding:4px 10px;font-size:11px}}.photo-uploader{width:100%}.photo-uploader-actions{flex-wrap:wrap;gap:10px;display:flex}.photo-upload-btn{color:#1e293b;cursor:pointer;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:10px;flex:1;justify-content:center;align-items:center;gap:8px;padding:10px 20px;font-size:14px;font-weight:500;transition:all .2s;display:flex}.photo-upload-btn:hover:not(:disabled){background:#f1f5f9;border-color:#2563eb}.photo-upload-btn:disabled{opacity:.5;cursor:not-allowed}.photo-camera-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:10px;flex:1;justify-content:center;align-items:center;gap:8px;padding:10px 20px;font-size:14px;font-weight:500;transition:all .2s;display:flex}.photo-camera-btn:hover:not(:disabled){background:#1d4ed8;transform:translateY(-1px);box-shadow:0 4px 12px #2563eb4d}.photo-camera-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.btn-icon{font-size:18px}.photo-uploading-status{color:#f59e0b;align-items:center;gap:6px;margin-top:8px;font-size:14px;display:flex}.photo-uploader-preview{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.photo-uploader-item{border:1px solid #e2e8f0;border-radius:8px;width:80px;height:80px;position:relative;overflow:hidden}.photo-uploader-item img{object-fit:cover;width:100%;height:100%}.photo-remove-btn{color:#fff;cursor:pointer;background:#0009;border:none;border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;font-size:12px;transition:all .2s;display:flex;position:absolute;top:2px;right:2px}.photo-remove-btn:hover{background:#dc2626e6;transform:scale(1.1)}@media (width<=480px){.photo-uploader-actions{flex-direction:column;gap:8px}.photo-upload-btn,.photo-camera-btn{padding:12px 16px;font-size:15px}}.hub-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#00000080;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.hub-modal-content{background:#fff;border-radius:20px;width:100%;max-width:500px;max-height:90vh;animation:.25s hub-modal-fade-in;overflow-y:auto;box-shadow:0 25px 80px #0000004d}@keyframes hub-modal-fade-in{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.hub-modal-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.hub-modal-header h2{color:#0f172a;margin:0;font-size:20px;font-weight:700}.hub-modal-close{cursor:pointer;color:#94a3b8;background:0 0;border:none;border-radius:8px;padding:4px 8px;font-size:24px;transition:all .2s}.hub-modal-close:hover{color:#0f172a;background:#f1f5f9}.hub-modal-body{padding:24px}.hub-modal-footer{justify-content:flex-end;gap:12px;padding-top:4px;display:flex}.hub-form-group{margin-bottom:18px}.hub-form-group label{color:#1e293b;margin-bottom:4px;font-size:14px;font-weight:600;display:block}.hub-form-required{color:#ef4444}.hub-form-group input,.hub-form-group textarea{box-sizing:border-box;border:1px solid #e2e8f0;border-radius:10px;width:100%;padding:10px 14px;font-family:inherit;font-size:14px;transition:border-color .2s}.hub-form-group input:focus,.hub-form-group textarea:focus{border-color:#2563eb;outline:none}.hub-form-group textarea{resize:vertical;min-height:80px}.hub-form-error{color:#ef4444;margin-top:4px;font-size:12px}.hub-form-hint{margin-top:4px;font-size:12px}.hub-form-hint-error{color:#ef4444}.hub-form-hint-loading{color:#f59e0b}.hub-form-hint-success{color:#22c55e}.hub-btn-cancel{color:#64748b;cursor:pointer;background:0 0;border:1px solid #e2e8f0;border-radius:10px;padding:10px 24px;font-size:14px;font-weight:500;transition:all .2s}.hub-btn-cancel:hover{background:#f1f5f9}.hub-btn-submit{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:10px;padding:10px 28px;font-size:14px;font-weight:600;transition:all .2s}.hub-btn-submit:hover:not(:disabled){background:#1d4ed8}.hub-btn-submit:disabled{opacity:.6;cursor:not-allowed}@media (width<=480px){.hub-modal-content{border-radius:16px;max-width:100%;margin:0 10px}.hub-modal-header{padding:16px 18px}.hub-modal-header h2{font-size:17px}.hub-modal-body{padding:16px 18px}.hub-modal-footer{flex-direction:column}.hub-btn-cancel,.hub-btn-submit{text-align:center;justify-content:center;width:100%}}.hub-page{background:#f1f5f9;min-height:100vh;padding:24px 32px}.hub-content{max-width:1280px;margin:0 auto}.hub-tasks-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px;display:grid}.hub-empty-state{text-align:center;color:#94a3b8;padding:60px 20px;font-size:16px}.hub-load-more-wrapper{flex-direction:column;align-items:center;gap:12px;margin-top:32px;padding:20px 0;display:flex}.hub-load-more-btn{color:#2563eb;cursor:pointer;background:0 0;border:2px solid #2563eb;border-radius:10px;min-width:200px;padding:12px 40px;font-size:15px;font-weight:600;transition:all .3s}.hub-load-more-btn:hover:not(:disabled){color:#fff;background:#2563eb;transform:translateY(-2px);box-shadow:0 4px 12px #2563eb4d}.hub-load-more-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.hub-load-more-info{color:#94a3b8;font-size:13px}@media (width<=1024px){.hub-page{padding:20px 24px}}@media (width<=768px){.hub-page{padding:16px}.hub-tasks-grid{grid-template-columns:1fr}}@media (width<=480px){.hub-page{padding:12px}.hub-load-more-btn{width:100%;min-width:150px;padding:10px 24px;font-size:14px}.hub-load-more-wrapper{gap:8px;margin-top:24px;padding:16px 0}}.burger-overlay{z-index:200;background:#0000004d;justify-content:flex-end;animation:.2s fadeIn;display:flex;position:fixed;inset:0}.burger-menu{background:#fff;flex-direction:column;width:280px;max-width:80vw;height:100%;padding:24px 20px;animation:.25s slideIn;display:flex;overflow-y:auto;box-shadow:-8px 0 40px #0000001a}.burger-menu-header{border-bottom:1px solid #e2e8f0;flex-shrink:0;margin-bottom:16px;padding-bottom:20px}.burger-user-name{color:#0f172a;margin-bottom:4px;font-size:18px;font-weight:600;display:block}.burger-role-badge{text-transform:uppercase;letter-spacing:.3px;border-radius:20px;padding:3px 14px;font-size:12px;font-weight:600;display:inline-block}.burger-role-badge.admin{color:#dc2626;background:#fee2e2}.burger-role-badge.manager{color:#1d4ed8;background:#dbeafe}.burger-role-badge.logist{color:#d97706;background:#fef3c7}.burger-nav{flex-direction:column;gap:4px;display:flex}.burger-link{color:#1e293b;border-radius:10px;padding:12px 14px;font-size:15px;font-weight:500;text-decoration:none;transition:background .2s}.burger-link:hover{background:#f1f5f9}.burger-divider{background:#e2e8f0;height:1px;margin:4px 0 8px}.burger-logout-btn{color:#ef4444;cursor:pointer;text-align:center;background:0 0;border:1px solid #fee2e2;border-radius:10px;width:100%;margin-top:12px;padding:12px 14px;font-size:15px;font-weight:500;transition:background .2s}.burger-logout-btn:hover{background:#fee2e2}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media (width<=480px){.burger-menu{width:100%;max-width:100%;padding:20px 16px}}.header{z-index:100;background:#fff;border-bottom:1px solid #e2e8f0;padding:0 20px;position:sticky;top:0}.header-container{justify-content:space-between;align-items:center;max-width:1280px;height:64px;margin:0 auto;display:flex}.logo{color:#0f172a;flex-shrink:0;align-items:center;gap:10px;font-size:20px;font-weight:700;text-decoration:none;transition:opacity .2s;display:flex}.logo:hover{opacity:.8}.logo-icon{font-size:28px}.logo-text{letter-spacing:-.5px}.header-right{flex-shrink:0;align-items:center;gap:16px;display:flex}.user-profile{cursor:pointer;background:#fff;border:1.5px solid #e2e8f0;border-radius:40px;align-items:center;gap:10px;padding:6px 18px 6px 20px;transition:all .2s;display:flex}.user-profile:hover{background:#f8fafc;border-color:#94a3b8;box-shadow:0 2px 8px #0000000a}.user-name-header{color:#1e293b;white-space:nowrap;font-size:14px;font-weight:500}.role-badge{text-transform:uppercase;letter-spacing:.3px;white-space:nowrap;border-radius:20px;padding:3px 14px;font-size:12px;font-weight:600;display:inline-block}.role-badge.admin{color:#dc2626;background:#fee2e2}.role-badge.manager{color:#1d4ed8;background:#dbeafe}.role-badge.logist{color:#d97706;background:#fef3c7}@media (width<=768px){.header{padding:0 16px}.header-container{height:56px}.logo{gap:8px;font-size:18px}.logo-icon{font-size:24px}.user-name-header{font-size:13px}.role-badge{padding:2px 10px;font-size:11px}.user-profile{gap:8px;padding:4px 14px 4px 16px}}@media (width<=480px){.header{padding:0 12px}.header-container{height:52px}.logo{gap:6px;font-size:16px}.logo-icon{font-size:20px}.logo-text{font-size:16px}.user-name-header{font-size:12px}.role-badge{padding:2px 8px;font-size:10px}.user-profile{gap:6px;padding:3px 10px 3px 12px}}@media (width<=380px){.user-name-header{display:none}.role-badge{padding:2px 6px;font-size:9px}.user-profile{padding:3px 8px}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.3}}@media (width<=768px){.sse-indicator{gap:4px;padding:2px 8px 2px 6px}.sse-label,.sse-clients{display:none}}@media (width<=480px){.sse-indicator{padding:2px 6px}.sse-dot{width:6px;height:6px}}.sse-indicator{white-space:nowrap;background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;align-items:center;gap:6px;padding:4px 12px 4px 8px;font-size:12px;display:flex}.sse-dot{border-radius:50%;width:8px;height:8px;transition:background .3s;display:inline-block}.sse-dot.sse-online{background:#22c55e;box-shadow:0 0 8px #22c55e66}.sse-dot.sse-connecting{background:#eab308;animation:1s infinite pulse}.sse-dot.sse-error{background:#ef4444}.sse-dot.sse-offline{background:#94a3b8}.sse-label{color:#64748b;font-size:11px;font-weight:500}.sse-clients{color:#94a3b8;margin-left:4px;font-size:11px}@media (width<=768px){.sse-indicator{gap:4px;padding:2px 8px 2px 6px}.sse-label,.sse-clients{display:none}}@media (width<=480px){.sse-indicator{padding:2px 6px}.sse-dot{width:6px;height:6px}}.layout{flex-direction:column;min-height:100vh;display:flex}.layout-content{flex:1}.admin-layout-wrapper{width:100%;max-width:1280px;margin:0 auto;padding:0 20px}.admin-layout{background:#f1f5f9;gap:24px;min-height:calc(100vh - 64px);padding:20px 0;display:flex}.admin-sidebar{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-shrink:0;width:220px;height:fit-content;padding:20px 12px;position:sticky;top:84px}.admin-sidebar-header{border-bottom:1px solid #e2e8f0;align-items:center;gap:10px;margin-bottom:16px;padding-bottom:16px;display:flex}.admin-sidebar-icon{font-size:20px}.admin-sidebar-title{color:#0f172a;font-size:15px;font-weight:600}.admin-sidebar-nav{flex-direction:column;gap:4px;display:flex}.admin-nav-link{color:#64748b;border-radius:10px;align-items:center;gap:10px;padding:10px 14px;font-size:14px;font-weight:500;text-decoration:none;transition:all .2s;display:flex}.admin-nav-link:hover{color:#0f172a;background:#f1f5f9}.admin-nav-link.active{color:#4f46e5;background:#eef2ff}.nav-icon{font-size:18px}.admin-content{flex:1;min-width:0}@media (width<=768px){.admin-layout-wrapper{padding:0 16px}.admin-layout{flex-direction:column;gap:16px;padding:16px 0}.admin-sidebar{width:100%;padding:16px 12px;position:static}.admin-sidebar-header{display:none}.admin-sidebar-nav{flex-flow:row;gap:6px;overflow-x:auto}.admin-nav-link{white-space:nowrap;flex-shrink:0;padding:8px 14px;font-size:13px}.admin-content{padding:0}}@media (width<=480px){.admin-layout-wrapper{padding:0 12px}.admin-layout{padding:12px 0}.admin-nav-link{gap:6px;padding:6px 10px;font-size:12px}.nav-icon{font-size:15px}}.modal-close-btn{cursor:pointer;color:#94a3b8;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;min-width:40px;min-height:40px;padding:4px 8px;font-size:24px;transition:all .2s;display:flex}.modal-close-btn:hover{color:#0f172a;background:#f1f5f9}@media (width<=480px){.modal-close-btn{min-width:36px;min-height:36px;font-size:20px}}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#0009;justify-content:center;align-items:center;padding:20px;animation:.2s fadeIn;display:flex;position:fixed;inset:0}.task-modal-content{background:#fff;border-radius:20px;flex-direction:column;width:100%;max-width:700px;max-height:90vh;padding:0;animation:.25s slideIn;display:flex;overflow-y:auto;box-shadow:0 25px 80px #0000004d}.modal-status-bar{text-align:center;letter-spacing:.3px;border-radius:20px 20px 0 0;flex-shrink:0;padding:8px 20px;font-size:13px;font-weight:600}.modal-status-bar.status-new{color:#d97706;background:#fef3c7}.modal-status-bar.status-in_progress{color:#1d4ed8;background:#dbeafe}.modal-status-bar.status-completed{color:#059669;background:#d1fae5}.modal-header{border-bottom:1px solid #e2e8f0;flex-shrink:0;justify-content:space-between;align-items:center;padding:18px 24px 12px;display:flex}.modal-header h2{color:#0f172a;margin:0;font-size:20px;font-weight:700}.modal-close{cursor:pointer;color:#94a3b8;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;min-width:40px;min-height:40px;padding:4px 8px;font-size:24px;transition:all .2s;display:flex}.modal-close:hover{color:#0f172a;background:#f1f5f9}.modal-meta{color:#64748b;border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:12px;font-size:14px;display:flex}.modal-author{color:#1e293b;font-weight:500}.modal-date{font-size:13px}.modal-body{flex:1;padding:16px 24px;overflow-y:auto}.modal-field{flex-direction:column;gap:4px;margin-bottom:16px;display:flex}.modal-field label{color:#64748b;text-transform:uppercase;letter-spacing:.3px;font-size:13px;font-weight:600}.modal-field span{color:#1e293b;font-size:15px}.modal-comment-box{color:#1e293b;background:#f8fafc;border:1px solid #f1f5f9;border-radius:10px;min-height:60px;padding:12px 16px;font-size:15px;line-height:1.6}.modal-photos{flex-wrap:wrap;gap:8px;margin-top:4px;display:flex}.modal-photo{object-fit:cover;cursor:pointer;border:1px solid #e2e8f0;border-radius:8px;width:120px;height:120px;transition:transform .2s}.modal-photo:hover{transform:scale(1.05)}.modal-comments{border-top:1px solid #e2e8f0;margin-top:20px;padding-top:16px}.modal-comments h4{color:#0f172a;margin-bottom:12px;font-size:15px;font-weight:600}.comments-list{flex-direction:column;gap:8px;max-height:180px;margin-bottom:12px;display:flex;overflow-y:auto}.comment-item{background:#f8fafc;border-radius:10px;padding:10px 14px}.comment-author{color:#0f172a;font-size:13px;font-weight:600;display:block}.comment-text{color:#1e293b;margin:2px 0;font-size:14px;display:block}.comment-date{color:#94a3b8;font-size:11px}.comment-input-wrap{gap:8px;display:flex}.comment-input-wrap input{border:1px solid #e2e8f0;border-radius:10px;outline:none;flex:1;min-height:44px;padding:10px 14px;font-size:14px;transition:border-color .2s}.comment-input-wrap input:focus{border-color:#2563eb}.modal-footer{background:#f8fafc;border-top:1px solid #e2e8f0;border-radius:0 0 20px 20px;flex-wrap:wrap;flex-shrink:0;gap:12px;padding:16px 24px;display:flex}@media (width<=480px){.modal-overlay{padding:10px}.task-modal-content{border-radius:16px;max-height:95vh}.modal-status-bar{border-radius:16px 16px 0 0;padding:6px 16px;font-size:12px}.modal-header{padding:14px 16px 10px}.modal-header h2{font-size:17px}.modal-body{padding:12px 16px}.modal-meta{flex-wrap:wrap;gap:4px;font-size:13px}.modal-comment-box{padding:10px 12px;font-size:14px}.modal-photo{width:80px;height:80px}.modal-footer{flex-direction:column;gap:8px;padding:12px 16px}.comment-input-wrap{flex-direction:column}.comment-input-wrap input{min-height:48px}}.status-completed-modal{color:#16a34a;background:#f0fdf4;border-radius:10px;padding:10px 24px;font-size:16px;font-weight:600}html,body,#root{height:100%;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f1f5f9;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif}h1,h2,h3,h4,h5,h6{font-weight:inherit;margin:0}
