.clients-page{min-height:100vh;background:#f8fafc}.clients-header{display:flex;justify-content:space-between;align-items:flex-start;padding:2rem;flex-wrap:wrap;gap:1rem}.clients-header-info h1{margin:0;font-size:1.75rem;font-weight:700;color:#1e293b}.clients-header-info p{margin:.25rem 0 0;color:#64748b;font-size:.95rem}.clients-header-actions{display:flex;align-items:center;gap:1rem}.search-box{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#fff;border:1px solid #e2e8f0;border-radius:8px;min-width:280px;transition:border-color .2s ease,box-shadow .2s ease}.search-box:focus-within{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.search-box svg{color:#94a3b8;flex-shrink:0}.search-box input{flex:1;border:none;outline:none;font-size:.9rem;color:#1e293b;background:transparent}.search-box input::-moz-placeholder{color:#94a3b8}.search-box input::placeholder{color:#94a3b8}.clients-content{padding:0 2rem 2rem;max-width:1600px;margin:0 auto}.clients-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-bottom:1.5rem}.stat-card{background:#fff;border-radius:12px;padding:1.25rem;border:1px solid #e5e7eb;box-shadow:0 1px 3px #0000000d}.stat-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}.stat-card-header span{font-size:.8rem;font-weight:500;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.stat-icon{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center}.stat-icon.blue{background:#dbeafe;color:#2563eb}.stat-icon.green{background:#dcfce7;color:#16a34a}.stat-icon.purple{background:#f3e8ff;color:#9333ea}.stat-card-value{font-size:1.75rem;font-weight:700;color:#1e293b;line-height:1}.clients-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.25rem}.client-card{background:#fff;border-radius:12px;border:1px solid #e5e7eb;box-shadow:0 1px 3px #0000000d;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease;cursor:pointer}.client-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.client-card-header{display:flex;justify-content:space-between;align-items:flex-start;padding:1.25rem 1.25rem 0}.client-avatar{width:52px;height:52px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:1.1rem;color:#fff;background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.client-card-actions{display:flex;gap:.4rem;padding-top:.5rem;border-top:1px solid #f3f4f6;flex-wrap:wrap}.client-card-action-btn{flex:1;padding:.35rem .5rem;border:1px solid #e5e7eb;border-radius:6px;background:#f9fafb;color:#374151;font-size:.75rem;font-weight:500;cursor:pointer;white-space:nowrap;text-align:center;transition:background .1s}.client-card-action-btn:hover{background:#f3f4f6;border-color:#d1d5db}.client-card-action-btn--primary{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.client-card-action-btn--primary:hover{background:#dbeafe;border-color:#93c5fd}.client-card-body{padding:1rem 1.25rem}.client-name{margin:0;font-size:1.1rem;font-weight:600;color:#1e293b}.client-empresa{margin:.25rem 0 0;font-size:.9rem;color:#0ea5e9;font-weight:500}.client-contact-info{margin-top:.75rem;display:flex;flex-direction:column;gap:.35rem}.client-contact-item{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:#64748b}.client-contact-item svg{color:#94a3b8;flex-shrink:0}.client-card-footer{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.25rem;background:#f8fafc;border-top:1px solid #f1f5f9}.client-projects-badge{display:flex;align-items:center;gap:.5rem;padding:.35rem .75rem;background:#dbeafe;color:#1e40af;border-radius:9999px;font-size:.8rem;font-weight:600}.client-projects-badge svg{flex-shrink:0}.client-total-value{font-size:.9rem;font-weight:600;color:#059669}.loading-state,.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;text-align:center}.spinner{width:40px;height:40px;border:3px solid #e2e8f0;border-top-color:#0ea5e9;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading-state p{margin-top:1rem;color:#64748b;font-size:.9rem}.empty-icon{width:100px;height:100px;background:#f1f5f9;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:1.5rem}.empty-icon svg{color:#94a3b8}.empty-state h3{margin:0;font-size:1.25rem;color:#1e293b}.empty-state p{margin:.5rem 0 1.5rem;color:#64748b}.drawer-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0f172a80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.drawer-content{position:fixed;top:0;right:0;width:480px;max-width:100%;height:100vh;background:#fff;box-shadow:-4px 0 20px #0000001a;z-index:1001;display:flex;flex-direction:column;animation:slideIn .3s ease}@keyframes slideIn{0%{transform:translate(100%)}to{transform:translate(0)}}.drawer-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:1px solid #e2e8f0;background:#f8fafc}.drawer-header h2{margin:0;font-size:1.25rem;font-weight:600;color:#1e293b}.drawer-header-actions{display:flex;align-items:center;gap:.35rem}.drawer-header-actions .btn-icon-xs{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#64748b;cursor:pointer;transition:all .15s ease}.drawer-header-actions .btn-icon-xs:hover{background:#f1f5f9;color:#374151;border-color:#cbd5e1}.drawer-summary-line{display:flex;align-items:center;gap:.4rem;font-size:.82rem;color:#6b7280;padding:.75rem 0;border-bottom:1px solid #f1f5f9;margin-bottom:1rem}.drawer-summary-sep{color:#d1d5db}.drawer-close{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;color:#64748b;cursor:pointer;transition:all .2s ease}.drawer-close:hover{background:#f1f5f9;color:#1e293b}.drawer-body{flex:1;overflow-y:auto;padding:1.5rem}.drawer-section{margin-bottom:1.5rem}.drawer-section h3{margin:0 0 1rem;font-size:.85rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.client-detail-header{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid #f1f5f9}.client-detail-avatar{width:64px;height:64px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:1.5rem;color:#fff;background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.client-detail-info h3{margin:0;font-size:1.25rem;font-weight:600;color:#1e293b}.client-detail-info p{margin:.25rem 0 0;font-size:.9rem;color:#0ea5e9}.detail-grid{display:grid;gap:.75rem}.detail-item{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem;background:#f8fafc;border-radius:8px}.detail-item-icon{width:32px;height:32px;background:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#64748b;flex-shrink:0}.detail-item-content label{display:block;font-size:.75rem;color:#94a3b8;margin-bottom:.125rem}.detail-item-content span{font-size:.9rem;color:#1e293b;font-weight:500}.projects-list{display:flex;flex-direction:column;gap:.75rem}.project-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f8fafc;border-radius:10px;border:1px solid #e2e8f0}.project-item-info h4{margin:0;font-size:.95rem;color:#1e293b;font-weight:500}.project-item-meta{display:flex;align-items:center;gap:.75rem;margin-top:.25rem}.project-stage{font-size:.75rem;padding:.2rem .5rem;border-radius:4px;font-weight:500}.project-stage.prospecting{background:#dbeafe;color:#1e40af}.project-stage.meeting{background:#f3e8ff;color:#7c3aed}.project-stage.proposal{background:#fef3c7;color:#b45309}.project-stage.negotiation{background:#fce7f3;color:#be185d}.project-stage.closed{background:#dcfce7;color:#15803d}.project-stage.lost{background:#fee2e2;color:#b91c1c}.project-date{font-size:.75rem;color:#94a3b8}.project-item-value{font-size:.95rem;font-weight:600;color:#059669}.no-projects{padding:2rem;text-align:center;color:#64748b;background:#f8fafc;border-radius:10px}.drawer-footer{display:flex;gap:.75rem;padding:1.25rem 1.5rem;border-top:1px solid #e2e8f0;background:#f8fafc}.drawer-footer .btn-primary,.drawer-footer .btn-secondary,.drawer-footer .btn-danger-outline{flex:1;justify-content:center}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0f172a99;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1002;padding:1rem;animation:fadeIn .2s ease}.modal-content{background:#fff;border-radius:16px;width:100%;max-width:520px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 40px #00000026;animation:slideUp .3s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:1px solid #f1f5f9}.modal-header h2{margin:0;font-size:1.25rem;font-weight:600;color:#1e293b}.modal-close{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#f1f5f9;border:none;border-radius:8px;color:#64748b;cursor:pointer;transition:all .2s ease}.modal-close:hover{background:#e2e8f0;color:#1e293b}.modal-content form{padding:1.5rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-group{margin-bottom:1.25rem}.form-group.full-width{grid-column:1 / -1}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;font-size:.9rem;color:#475569}.form-group input,.form-group textarea{width:100%;padding:.75rem 1rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.95rem;transition:border-color .2s ease,box-shadow .2s ease}.form-group textarea{resize:vertical;min-height:80px}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#0ea5e9;box-shadow:0 0 0 3px #0ea5e91a}.form-group.error input,.form-group.error textarea{border-color:#ef4444}.error-text{display:block;margin-top:.5rem;font-size:.8rem;color:#ef4444}.modal-footer{display:flex;justify-content:flex-end;gap:.75rem;padding-top:1rem;border-top:1px solid #f1f5f9;margin-top:.5rem}.confirm-modal{max-width:400px;text-align:center;padding:2rem}.confirm-icon{width:64px;height:64px;margin:0 auto 1rem;border-radius:50%;display:flex;align-items:center;justify-content:center}.confirm-icon.danger{background:#fee2e2;color:#dc2626}.confirm-modal h3{margin:0 0 .5rem;font-size:1.25rem;color:#1e293b}.confirm-modal p{margin:0 0 1.5rem;color:#64748b;font-size:.95rem;line-height:1.5}.confirm-actions{display:flex;gap:.75rem;justify-content:center}.btn-primary{display:inline-flex;align-items:center;gap:.5rem;background:#2563eb;color:#fff;border:none;padding:.65rem 1.25rem;border-radius:10px;font-weight:600;font-size:.9rem;cursor:pointer;transition:all .2s ease}.btn-primary:hover:not(:disabled){background:#1d4ed8;box-shadow:0 4px 10px #2563eb33}.btn-primary:disabled{opacity:.7;cursor:not-allowed}.btn-secondary{display:inline-flex;align-items:center;gap:.5rem;background:#fff;color:#374151;border:1px solid #d1d5db;padding:.625rem 1.25rem;border-radius:8px;font-weight:600;font-size:.9rem;cursor:pointer;transition:all .2s ease}.btn-secondary:hover{background:#f9fafb;border-color:#9ca3af}.btn-danger{display:inline-flex;align-items:center;gap:.5rem;background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:600;font-size:.9rem;cursor:pointer;transition:all .2s ease}.btn-danger:hover{transform:translateY(-1px);box-shadow:0 4px 12px #ef44444d}.btn-danger-outline{display:inline-flex;align-items:center;gap:.5rem;background:#fff;color:#dc2626;border:1px solid #fecaca;padding:.75rem 1.5rem;border-radius:8px;font-weight:600;font-size:.9rem;cursor:pointer;transition:all .2s ease}.btn-danger-outline:hover{background:#fef2f2;border-color:#fca5a5}.btn-icon-sm{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:#f1f5f9;border:none;border-radius:8px;color:#64748b;cursor:pointer;transition:all .2s ease}.btn-icon-sm:hover{background:#e2e8f0;color:#1e293b}.btn-icon-sm.danger:hover{background:#fee2e2;color:#dc2626}.btn-spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .6s linear infinite}.toasts-container{position:fixed;bottom:1.5rem;right:1.5rem;z-index:9999;display:flex;flex-direction:column;gap:.75rem}.toast{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem;border-radius:10px;box-shadow:0 4px 12px #00000026;min-width:280px;animation:toastIn .3s ease}@keyframes toastIn{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}.toast.success{background:#10b981;color:#fff}.toast.error{background:#ef4444;color:#fff}.toast span{font-size:.9rem;font-weight:500}.clients-nav-cards{display:flex;gap:1rem;margin-bottom:1.5rem}.clients-nav-card{display:flex;align-items:center;gap:1rem;padding:1rem 1.5rem;background:#fff;border:2px solid #e5e7eb;border-radius:12px;cursor:pointer;transition:all .2s ease;flex:1;min-width:0}.clients-nav-card:hover{border-color:#93c5fd;background:#f8fafc}.clients-nav-card.active{border-color:#2563eb;background:#eff6ff;box-shadow:0 2px 8px #2563eb26}.clients-nav-card-icon{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#f1f5f9;color:#64748b;flex-shrink:0}.clients-nav-card.active .clients-nav-card-icon{background:#2563eb;color:#fff}.clients-nav-card-info{display:flex;flex-direction:column;min-width:0}.clients-nav-card-title{font-size:.95rem;font-weight:600;color:#1e293b}.clients-nav-card-desc{font-size:.8rem;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.clients-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.5rem;padding:.75rem 1rem;background:#fff;border:1px solid #e5e7eb;border-radius:10px}.clients-toolbar-left{display:flex;align-items:center;gap:.75rem;flex:1}.clients-toolbar-right{display:flex;align-items:center;gap:.75rem}.toolbar-stats{display:flex;align-items:center;gap:.35rem;font-size:.82rem;color:#6b7280;white-space:nowrap}.toolbar-stat strong{font-weight:600;color:#374151}.toolbar-stat-sep{color:#d1d5db}.toolbar-inline-filter{padding:.35rem .6rem;border:1px solid #e2e8f0;border-radius:6px;font-size:.82rem;color:#374151;background:#fff;cursor:pointer;min-width:0;max-width:120px}.toolbar-inline-filter:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a}.more-filters-popover{position:absolute;top:100%;left:0;margin-top:4px;z-index:100;background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 4px 16px #0000001f;padding:1rem;min-width:240px;display:flex;flex-direction:column;gap:.75rem}.more-filters-popover .filter-group{display:flex;flex-direction:column;gap:.3rem}.more-filters-popover .filter-group label{font-size:.75rem;font-weight:500;color:#64748b;text-transform:uppercase;letter-spacing:.3px}.more-filters-popover .filter-group select{padding:.4rem .6rem;border:1px solid #e2e8f0;border-radius:6px;font-size:.85rem;color:#374151}.btn-icon-sm.action-email:hover{background:#dbeafe;color:#2563eb}.btn-icon-sm.action-whatsapp:hover{background:#dcfce7;color:#16a34a}.contact-actions{display:flex;gap:.75rem}.btn-contact{display:inline-flex;align-items:center;gap:.5rem;padding:.6rem 1rem;border:none;border-radius:8px;font-weight:600;font-size:.85rem;cursor:pointer;transition:all .2s ease;flex:1;justify-content:center}.btn-contact.email{background:#eff6ff;color:#2563eb}.btn-contact.email:hover{background:#dbeafe}.btn-contact.whatsapp{background:#f0fdf4;color:#16a34a}.btn-contact.whatsapp:hover{background:#dcfce7}.email-compose-modal{max-width:600px}.email-compose-body{padding:1.5rem}.email-compose-body .form-group select{width:100%;padding:.75rem 1rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.95rem;background:#fff;cursor:pointer}.email-compose-body .form-group select:focus{outline:none;border-color:#0ea5e9;box-shadow:0 0 0 3px #0ea5e91a}.comm-section{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;min-height:400px}.comm-compose{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1.5rem}.comm-compose h3{margin:0 0 .25rem;font-size:1.1rem;font-weight:600;color:#1e293b}.comm-helper{margin:0 0 1.25rem;font-size:.85rem;color:#64748b;line-height:1.4}.comm-type-toggle{display:flex;gap:.25rem;padding:.25rem;background:#f1f5f9;border-radius:8px;margin-bottom:1.25rem}.comm-type-toggle button{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem 1rem;border:none;border-radius:6px;font-weight:600;font-size:.85rem;cursor:pointer;background:transparent;color:#64748b;transition:all .2s ease}.comm-type-toggle button.active{background:#fff;color:#1e293b;box-shadow:0 1px 3px #0000001a}.comm-form{display:flex;flex-direction:column;gap:0}.comm-form .form-group select{width:100%;padding:.75rem 1rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.9rem;background:#fff;cursor:pointer}.comm-form .form-group select:focus{outline:none;border-color:#0ea5e9;box-shadow:0 0 0 3px #0ea5e91a}.btn-whatsapp-send{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;background:#25d366;color:#fff;border:none;padding:.65rem 1.25rem;border-radius:10px;font-weight:600;font-size:.9rem;cursor:pointer;transition:all .2s ease}.btn-whatsapp-send:hover{background:#1da851;box-shadow:0 4px 10px #25d3664d}.comm-history{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1.5rem;max-height:600px;overflow-y:auto}.comm-history h3{margin:0 0 1rem;font-size:1.1rem;font-weight:600;color:#1e293b}.comm-history-empty{text-align:center;padding:3rem 1rem;color:#64748b}.comm-history-empty p{margin:0 0 .25rem;font-weight:500}.comm-history-empty span{font-size:.85rem;color:#94a3b8}.comm-history-list{display:flex;flex-direction:column;gap:.75rem}.comm-history-item{display:flex;gap:.75rem;padding:.75rem;background:#f8fafc;border-radius:8px;transition:background .15s ease}.comm-history-item:hover{background:#f1f5f9}.comm-history-icon{width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.comm-history-icon.email{background:#dbeafe;color:#2563eb}.comm-history-icon.whatsapp{background:#dcfce7;color:#16a34a}.comm-history-icon.call{background:#f3e8ff;color:#7c3aed}.comm-history-icon.meeting{background:#fef3c7;color:#d97706}.comm-history-content{flex:1;min-width:0}.comm-history-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.25rem}.comm-history-type{font-size:.75rem;font-weight:600;text-transform:uppercase;color:#64748b}.comm-history-client{font-size:.85rem;font-weight:600;color:#1e293b}.comm-history-desc{margin:0;font-size:.85rem;color:#475569;line-height:1.4;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.comm-history-meta{display:flex;gap:.75rem;margin-top:.35rem;font-size:.75rem;color:#94a3b8}.clients-table-container{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;overflow-x:auto}.clients-table{width:100%;border-collapse:collapse;min-width:900px}.clients-table thead{background:#f8fafc;border-bottom:2px solid #e5e7eb}.clients-table th{padding:.85rem 1rem;text-align:left;font-size:.75rem;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}.clients-table th.sortable{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color .2s}.clients-table th.sortable:hover{color:#2563eb}.clients-table th .sort-icon{display:inline-block;margin-left:.25rem;font-size:.7rem;opacity:.5}.clients-table th .sort-icon.active{opacity:1;color:#2563eb}.clients-table tbody tr{border-bottom:1px solid #f1f5f9;transition:background .15s;cursor:pointer}.clients-table tbody tr:hover{background:#f8fafc}.clients-table tbody tr.selected{background:#eff6ff}.clients-table td{padding:.85rem 1rem;font-size:.9rem;color:#1e293b;vertical-align:middle}.clients-table .checkbox-col{width:48px;text-align:center}.clients-table .actions-col{width:110px;text-align:right}.clients-table input[type=checkbox]{width:16px;height:16px;accent-color:#2563eb;cursor:pointer}.client-name-cell{display:flex;align-items:center;gap:.75rem}.client-avatar-sm{width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:600;color:#fff;background:linear-gradient(135deg,#3b82f6,#1d4ed8);flex-shrink:0}.client-name-text{font-weight:600;color:#1e293b}.value-cell{font-weight:600;color:#059669;white-space:nowrap}.projects-badge{display:inline-flex;align-items:center;justify-content:center;padding:.25rem .6rem;background:#dbeafe;color:#1e40af;border-radius:12px;font-size:.8rem;font-weight:600}.activity-indicator{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .6rem;border-radius:6px;font-size:.8rem;font-weight:600;white-space:nowrap}.activity-indicator.recent{background:#dcfce7;color:#15803d}.activity-indicator.moderate{background:#fef3c7;color:#b45309}.activity-indicator.old{background:#fee2e2;color:#b91c1c}.activity-dot{width:6px;height:6px;border-radius:50%}.activity-indicator.recent .activity-dot{background:#16a34a}.activity-indicator.moderate .activity-dot{background:#f59e0b}.activity-indicator.old .activity-dot{background:#dc2626}.no-activity{color:#cbd5e1;font-size:.85rem}.tags-cell{display:flex;gap:.3rem;flex-wrap:wrap}.tag-pill{padding:.15rem .5rem;border-radius:10px;font-size:.7rem;font-weight:600;color:#fff;white-space:nowrap}.more-tags{font-size:.7rem;color:#64748b;font-weight:600;padding:.15rem .3rem}.row-actions{position:relative;display:flex;gap:.25rem;justify-content:flex-end;opacity:.5;transition:opacity .15s}.clients-table tbody tr:hover .row-actions{opacity:1}.client-action-menu{position:absolute;right:0;top:100%;z-index:100;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 4px 12px #0000001f;min-width:180px;overflow:hidden}.client-action-menu button{display:block;width:100%;padding:.5rem 1rem;text-align:left;border:none;background:transparent;font-size:.85rem;color:#374151;cursor:pointer}.client-action-menu button:hover{background:#f1f5f9}.split-button{position:relative;display:inline-flex}.split-button .btn-primary:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.split-button-caret{border-top-left-radius:0!important;border-bottom-left-radius:0!important;border-left:1px solid rgba(255,255,255,.3)!important;padding:0 6px!important;min-width:auto!important}.split-button-menu{top:100%;right:0;margin-top:4px}.btn-icon-xs{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:6px;color:#64748b;cursor:pointer;transition:all .15s}.btn-icon-xs:hover{background:#f1f5f9;color:#2563eb}.btn-icon-xs.action-whatsapp:hover{color:#16a34a;background:#dcfce7}.view-toggle{display:flex;gap:.25rem;padding:.2rem;background:#f1f5f9;border-radius:8px}.view-toggle button{display:flex;align-items:center;gap:.35rem;padding:.4rem .75rem;border:none;border-radius:6px;font-size:.8rem;font-weight:600;color:#64748b;background:transparent;cursor:pointer;transition:all .2s}.view-toggle button.active{background:#fff;color:#1e293b;box-shadow:0 1px 3px #0000001a}.btn-filter{position:relative;display:inline-flex;align-items:center;gap:.4rem;padding:.5rem .85rem;background:#fff;border:1px solid #e2e8f0;border-radius:8px;font-weight:600;font-size:.85rem;color:#475569;cursor:pointer;transition:all .2s}.btn-filter:hover{border-color:#cbd5e1;background:#f8fafc}.btn-filter.active{border-color:#2563eb;color:#2563eb;background:#eff6ff}.filter-badge{position:absolute;top:-6px;right:-6px;width:18px;height:18px;display:flex;align-items:center;justify-content:center;background:#2563eb;color:#fff;font-size:.65rem;font-weight:700;border-radius:50%;border:2px solid white}.filters-panel{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;padding:1.25rem;background:#fff;border:1px solid #e5e7eb;border-radius:10px;margin-bottom:1rem}.filter-group{display:flex;flex-direction:column;gap:.4rem}.filter-group label{font-size:.7rem;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.filter-group select{padding:.55rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.85rem;background:#fff;cursor:pointer;transition:border-color .2s,box-shadow .2s}.filter-group select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.btn-clear-filters{align-self:flex-end;padding:.55rem 1rem;background:#f1f5f9;color:#475569;border:none;border-radius:8px;font-weight:600;font-size:.85rem;cursor:pointer;transition:background .2s}.btn-clear-filters:hover{background:#e2e8f0}.active-filters{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.filter-pill{display:inline-flex;align-items:center;gap:.4rem;padding:.35rem .7rem;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;font-size:.8rem;color:#1e40af;font-weight:500}.filter-pill button{background:none;border:none;color:#1e40af;font-size:1rem;cursor:pointer;padding:0;line-height:1;display:flex;align-items:center}.filter-pill button:hover{color:#1e3a8a}@keyframes bulkSlideUp{0%{opacity:0;transform:translate(-50%) translateY(20px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.bulk-actions-floating{position:fixed;bottom:24px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:.6rem;padding:.6rem 1rem;background:#1e293b;border-radius:12px;box-shadow:0 8px 30px #00000040;z-index:900;opacity:0;pointer-events:none;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}.bulk-actions-floating.visible{opacity:1;pointer-events:auto;visibility:visible;animation:bulkSlideUp .2s ease forwards}.bulk-actions-close{display:flex;align-items:center;justify-content:center;width:26px;height:26px;background:#ffffff1f;border:none;border-radius:6px;color:#fff;font-size:1.1rem;cursor:pointer;transition:background .15s;line-height:1;flex-shrink:0}.bulk-actions-close:hover{background:#fff3}.bulk-actions-count{font-size:.82rem;font-weight:600;color:#fff;white-space:nowrap}.bulk-actions-divider{width:1px;height:20px;background:#fff3;flex-shrink:0}.bulk-actions-floating select{padding:.35rem .6rem;background:#ffffff1a;border:1px solid rgba(255,255,255,.15);border-radius:6px;font-size:.8rem;font-weight:500;color:#fff;cursor:pointer;transition:background .15s;-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}.bulk-actions-floating select:hover{background:#ffffff2e}.bulk-actions-floating select option{background:#1e293b;color:#fff}.bulk-actions-floating .btn-danger-outline{background:#ef444426;border-color:#ef444466;color:#fca5a5}.bulk-actions-floating .btn-danger-outline:hover{background:#ef44444d;color:#fff}.drawer-content{width:580px}.drawer-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin-bottom:1.5rem}.kpi-card{padding:.75rem;border-radius:8px;text-align:center}.kpi-card.blue{background:#eff6ff}.kpi-card.green{background:#f0fdf4}.kpi-card.red{background:#fef2f2}.kpi-card.amber{background:#fffbeb}.kpi-card .kpi-value{font-size:1.1rem;font-weight:800;line-height:1.2}.kpi-card.blue .kpi-value{color:#2563eb}.kpi-card.green .kpi-value{color:#16a34a}.kpi-card.red .kpi-value{color:#dc2626}.kpi-card.amber .kpi-value{color:#d97706}.kpi-card .kpi-label{font-size:.7rem;color:#6b7280;margin-top:.15rem}.drawer-tabs{display:flex;gap:.25rem;margin-bottom:1rem;border-bottom:2px solid #f3f4f6;padding-bottom:.5rem}.drawer-tab{padding:.4rem .75rem;border:none;border-radius:6px;cursor:pointer;font-size:.8rem;font-weight:600;background:transparent;color:#6b7280;transition:all .15s}.drawer-tab:hover{background:#f1f5f9}.drawer-tab.active{background:#2563eb;color:#fff}.drawer-360-list{display:flex;flex-direction:column;gap:.5rem;max-height:300px;overflow-y:auto}.drawer-360-item{display:flex;justify-content:space-between;align-items:center;padding:.6rem .75rem;background:#f9fafb;border-radius:8px;font-size:.85rem}.drawer-360-item-title{font-weight:600;color:#1e293b}.drawer-360-item-value{font-weight:700;color:#059669;white-space:nowrap}.drawer-360-item-meta{font-size:.75rem;color:#6b7280;margin-top:.15rem}.drawer-360-empty{color:#9ca3af;font-size:.85rem;padding:1rem 0;text-align:center}.client-type-badge{display:inline-block;padding:.2rem .5rem;border-radius:6px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em}.client-type-badge.prospect{background:#dbeafe;color:#1e40af}.client-type-badge.customer{background:#dcfce7;color:#15803d}.client-type-badge.partner{background:#f3e8ff;color:#7c3aed}.client-type-badge.inactive{background:#f1f5f9;color:#64748b}.chatter-composer{margin-top:1rem;padding:1rem;background:#f8fafc;border-radius:10px;border:1px solid #e5e7eb}.chatter-composer textarea{width:100%;padding:.6rem .85rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.85rem;resize:vertical;min-height:60px;transition:border-color .2s,box-shadow .2s}.chatter-composer textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.chatter-actions{display:flex;gap:.5rem;margin-top:.5rem}.chatter-actions button{padding:.4rem .75rem;border:1px solid #e2e8f0;border-radius:6px;background:#fff;font-size:.8rem;font-weight:600;color:#475569;cursor:pointer;transition:all .15s}.chatter-actions button:hover{background:#2563eb;color:#fff;border-color:#2563eb}.drawer-extra-info{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-top:.75rem}.drawer-info-item{padding:.5rem .75rem;background:#f8fafc;border-radius:6px}.drawer-info-item label{display:block;font-size:.7rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.03em;margin-bottom:.1rem}.drawer-info-item span{font-size:.85rem;color:#1e293b;font-weight:500}.form-group select{width:100%;padding:.75rem 1rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.95rem;background:#fff;cursor:pointer;transition:border-color .2s,box-shadow .2s}.form-group select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}@media (max-width: 768px){.clients-header{flex-direction:column;align-items:stretch;padding:1.25rem}.clients-header-actions{flex-direction:column}.search-box{min-width:100%}.clients-content{padding:0 1.25rem 1.25rem}.clients-grid{grid-template-columns:1fr}.drawer-content{width:100%}.form-row{grid-template-columns:1fr}.modal-content{max-width:100%;margin:1rem}.toasts-container{left:1rem;right:1rem;bottom:1rem}.toast{min-width:auto;width:100%}.clients-nav-cards{flex-direction:column}.clients-toolbar{flex-direction:column;align-items:stretch}.comm-section{grid-template-columns:1fr}.contact-actions{flex-direction:column}.email-compose-modal{max-width:100%}.clients-table-container{margin:0 -.5rem}.filters-panel{grid-template-columns:1fr 1fr}.bulk-actions{flex-wrap:wrap}.view-toggle span{display:none}.drawer-kpis{grid-template-columns:repeat(2,1fr)}.drawer-extra-info{grid-template-columns:1fr}.pipeline-board{flex-direction:column}.pipeline-column{min-width:100%}}.pipeline-board{display:flex;gap:1rem;overflow-x:auto;padding-bottom:1rem;min-height:400px}.pipeline-column{min-width:260px;flex:1;display:flex;flex-direction:column;background:#f8fafc;border-radius:12px;border:1px solid #e5e7eb;overflow:hidden}.pipeline-column-header{display:flex;justify-content:space-between;align-items:center;padding:.85rem 1rem;background:#fff;border-top:3px solid #94a3b8;border-bottom:1px solid #e5e7eb}.pipeline-column-title{font-size:.85rem;font-weight:700;color:#1e293b;text-transform:uppercase;letter-spacing:.03em}.pipeline-column-count{font-size:.75rem;font-weight:700;padding:.15rem .5rem;border-radius:10px}.pipeline-column-body{flex:1;padding:.75rem;display:flex;flex-direction:column;gap:.5rem;overflow-y:auto;max-height:600px;min-height:80px;transition:background .15s ease,outline .15s ease}.pipeline-column-body.drop-over{background:#eff6ff;border-radius:8px;outline:2px dashed #93c5fd;outline-offset:-2px}.pipeline-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:.85rem;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}.pipeline-card:hover{transform:translateY(-1px);box-shadow:0 4px 12px #00000014}.pipeline-card-header{display:flex;align-items:center;gap:.65rem;margin-bottom:.5rem}.pipeline-card-info{display:flex;flex-direction:column;min-width:0}.pipeline-card-name{font-size:.9rem;font-weight:600;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pipeline-card-company{font-size:.8rem;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pipeline-card-contact{display:flex;align-items:center;gap:.35rem;font-size:.75rem;color:#64748b;margin-bottom:.5rem;padding:.3rem .5rem;background:#f1f5f9;border-radius:6px}.pipeline-card-contact svg{flex-shrink:0;color:#94a3b8}.pipeline-card-footer{display:flex;justify-content:space-between;align-items:center;font-size:.8rem}.pipeline-card-projects{color:#64748b;font-weight:500}.pipeline-card-value{font-weight:700;color:#059669}.pipeline-card-tags{display:flex;gap:.25rem;margin-top:.5rem}.pipeline-empty{text-align:center;padding:2rem 1rem;color:#94a3b8;font-size:.85rem}.btn-sm{padding:.4rem .85rem!important;font-size:.8rem!important}.client-type-badge.contacted{background:#f3e8ff;color:#7c3aed}.client-type-badge.qualified{background:#fef3c7;color:#b45309}.client-type-badge.active,.client-type-badge.completed{background:#dcfce7;color:#15803d}.client-type-badge.cancelled{background:#fee2e2;color:#b91c1c}.client-type-badge.paused{background:#f1f5f9;color:#64748b}.groups-section{padding:0}.groups-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.groups-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}@media (max-width: 1024px){.groups-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 640px){.groups-grid{grid-template-columns:1fr}}.group-card{background:#fff;border:1px solid #e5e7eb;border-left:4px solid #2563eb;border-radius:8px;padding:1rem;cursor:pointer;transition:box-shadow .15s,transform .15s}.group-card:hover{box-shadow:0 4px 12px #00000014;transform:translateY(-1px)}.group-card-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.group-color-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.group-card-name{margin:0;font-size:.95rem;font-weight:600;color:#374151;flex:1}.group-type-badge{font-size:.7rem;font-weight:600;padding:2px 8px;border-radius:99px;background:#dbeafe;color:#2563eb;text-transform:uppercase;letter-spacing:.02em}.group-type-badge.dynamic{background:#f3e8ff;color:#7c3aed}.group-type-badge.static{background:#dbeafe;color:#2563eb}.group-card-desc{font-size:.82rem;color:#6b7280;margin:0 0 .5rem;line-height:1.4}.group-card-footer{display:flex;align-items:center;justify-content:space-between}.group-member-count{font-size:.8rem;color:#6b7280;font-weight:500}.group-detail{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:1.25rem}.group-detail-header{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;padding-bottom:.75rem;border-bottom:1px solid #e5e7eb;margin-bottom:1rem}.group-tabs{display:flex;gap:0;border-bottom:2px solid #e5e7eb;margin-bottom:1rem}.group-tab{padding:.6rem 1.25rem;font-size:.85rem;font-weight:500;color:#6b7280;background:none;border:none;border-bottom:2px solid transparent;margin-bottom:-2px;cursor:pointer;transition:color .15s,border-color .15s}.group-tab:hover{color:#374151}.group-tab.active{color:#2563eb;border-bottom-color:#2563eb}.group-members-section{min-height:200px}.group-members-toolbar{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem;min-height:32px}.group-dynamic-badge{font-size:.78rem;padding:4px 10px;border-radius:6px;background:#f3e8ff;color:#7c3aed;font-weight:500}.group-members-table{width:100%;border-collapse:collapse;font-size:.85rem}.group-members-table th{text-align:left;padding:.5rem .75rem;background:#f8fafc;color:#6b7280;font-weight:600;font-size:.78rem;text-transform:uppercase;letter-spacing:.03em;border-bottom:1px solid #e5e7eb}.group-members-table td{padding:.5rem .75rem;border-bottom:1px solid #f1f5f9}.group-members-table tbody tr:hover{background:#f8fafc}.group-members-table tbody tr.selected{background:#eff6ff}.group-members-table input[type=checkbox]{width:15px;height:15px;accent-color:#2563eb;cursor:pointer}.group-campaigns-section{min-height:200px}.group-campaigns-toolbar{display:flex;justify-content:flex-end;margin-bottom:1rem}.group-campaigns-list{display:flex;flex-direction:column;gap:.75rem}.group-campaign-card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;padding:.75rem 1rem}.group-campaign-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.35rem}.group-campaign-header strong{font-size:.88rem;color:#374151}.campaign-status-badge{font-size:.7rem;font-weight:600;padding:2px 8px;border-radius:99px;background:#f1f5f9;color:#64748b}.campaign-status-badge.sent{background:#dcfce7;color:#16a34a}.campaign-status-badge.sending{background:#fef3c7;color:#d97706}.campaign-status-badge.failed{background:#fee2e2;color:#ef4444}.group-campaign-meta{font-size:.78rem;color:#6b7280;display:flex;gap:.25rem}.group-sequences-section{min-height:200px}.group-sequences-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.group-sequences-list{display:flex;flex-direction:column;gap:.75rem}.group-sequence-card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;padding:.75rem 1rem}.group-sequence-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem}.group-sequence-header strong{font-size:.88rem;color:#374151}.group-sequence-meta{font-size:.78rem;color:#6b7280;margin-top:.25rem}.group-sequence-steps-preview{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.5rem}.group-step-pill{display:flex;align-items:center;gap:.3rem;background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:3px 8px;font-size:.75rem}.step-delay{color:#2563eb;font-weight:600}.step-subject{color:#374151;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .15s ease}.modal-content{background:#fff;border-radius:12px;width:90%;max-height:85vh;overflow-y:auto;box-shadow:0 20px 60px #00000026}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid #e5e7eb}.modal-header h3{margin:0;font-size:1rem;color:#374151}.modal-close{background:none;border:none;font-size:1.5rem;color:#6b7280;cursor:pointer;line-height:1;padding:0}.modal-close:hover{color:#374151}.modal-body{padding:1.25rem}.modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;padding:.75rem 1.25rem;border-top:1px solid #e5e7eb}.clients-list-row{display:flex;align-items:center;width:100%;border-left:3px solid transparent;transition:background .15s ease-out,border-color .15s ease-out}.clients-list-row:hover{background:#f9fafb}.clients-list-row--selected{background:#eff6ff;border-left-color:#2563eb}.clients-list-row--checkable .clients-list-row__btn{padding-left:6px}.clients-list-row__checkbox{margin:0 0 0 12px;flex-shrink:0;accent-color:#2563eb;cursor:pointer}.clients-list-row__btn{flex:1;min-width:0;padding:10px 14px;background:transparent;border:none;text-align:left;cursor:pointer;font-family:inherit}.clients-list-row__name{font-size:13px;font-weight:600;color:#374151;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.clients-list-row__subtitle{font-size:11px;color:#6b7280;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.clients-list-header{position:sticky;top:0;background:#fff;border-bottom:1px solid #e5e7eb;padding:12px 14px;z-index:5}.clients-list-header__title{font-size:11px;color:#6b7280;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}.clients-list-header__search{width:100%;padding:6px 10px;border:1px solid #e5e7eb;border-radius:4px;font-size:12px;color:#374151;outline:none;font-family:inherit}.clients-list-header__search:focus{border-color:#2563eb}.clients-list-header__toolbar{display:flex;gap:6px;margin-top:8px;position:relative}.clients-list-header__filter-btn,.clients-list-header__sort-btn{padding:4px 8px;background:transparent;border:1px solid #e5e7eb;border-radius:3px;font-size:11px;color:#6b7280;cursor:pointer;font-family:inherit}.clients-list-header__filter-btn:hover,.clients-list-header__sort-btn:hover{background:#f9fafb;color:#374151}.clients-list-header__sort-btn--active{background:#eff6ff;color:#2563eb;border-color:#2563eb}.clients-list-header__sort-select{padding:4px 6px;background:#fff;border:1px solid #e5e7eb;border-radius:3px;font-size:11px;color:#6b7280;font-family:inherit;cursor:pointer;min-width:80px}.clients-list-header__sort-select:hover{border-color:#2563eb;color:#374151}.clients-list-header__sort-select:focus{outline:none;border-color:#2563eb}.clients-list-header__pills{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}.clients-list-header__pill{display:inline-flex;align-items:center;gap:4px;padding:3px 4px 3px 8px;background:#eff6ff;color:#1e40af;border:1px solid #bfdbfe;border-radius:12px;font-size:10px;font-weight:500}.clients-list-header__pill button{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;background:transparent;border:none;border-radius:50%;color:#1e40af;cursor:pointer;padding:0;margin-left:2px}.clients-list-header__pill button:hover{background:#bfdbfe}.clients-filters-popover{position:absolute;top:calc(100% + 4px);left:0;min-width:260px;background:#fff;border:1px solid #e5e7eb;border-radius:6px;box-shadow:0 4px 12px #00000014;padding:12px;z-index:10}.clients-filters-popover__group{margin-bottom:10px}.clients-filters-popover__group label{display:block;font-size:10px;color:#6b7280;text-transform:uppercase;letter-spacing:.3px;margin-bottom:3px}.clients-filters-popover__group select{width:100%;padding:5px 8px;border:1px solid #e5e7eb;border-radius:4px;font-size:12px;color:#374151;background:#fff;font-family:inherit}.clients-filters-popover__group select:focus{outline:none;border-color:#2563eb}.clients-filters-popover__footer{display:flex;justify-content:flex-end;gap:6px;margin-top:12px}.clients-filters-popover__footer button{padding:5px 12px;font-size:11px;border:1px solid #e5e7eb;border-radius:4px;background:#fff;color:#6b7280;cursor:pointer;font-family:inherit}.clients-filters-popover__footer button:hover{background:#f9fafb;color:#374151}.clients-filters-popover__footer .btn-primary{background:#2563eb;color:#fff;border-color:#2563eb}.clients-filters-popover__footer .btn-primary:hover{background:#1e40af;color:#fff}.clients-list{width:280px;min-width:280px;background:#fff;border-right:1px solid #e5e7eb;display:flex;flex-direction:column;height:100%;overflow:hidden}.clients-list__scroll{flex:1;overflow-y:auto}.clients-list__state{padding:20px 14px;font-size:12px;color:#6b7280;text-align:center}.clients-list__sentinel{height:1px}.clients-list__end{padding:14px;font-size:10px;color:#cbd5e1;text-align:center;font-style:italic;border-top:1px solid #f3f4f6;margin-top:8px}@media (max-width: 1024px){.clients-list{width:240px;min-width:240px}}.bulk-actions-bar{position:fixed;bottom:20px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;padding:8px 14px;background:#111827;color:#fff;border-radius:8px;box-shadow:0 12px 30px #0003;z-index:70;animation:bulk-bar-in .18s ease-out}@keyframes bulk-bar-in{0%{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%)}}.bulk-actions-bar__count{padding:4px 10px;background:#1f2937;border-radius:4px;font-size:11px;font-weight:600}.bulk-actions-bar__select{padding:5px 10px;background:#1f2937;color:#fff;border:1px solid #374151;border-radius:4px;font-size:11px;font-family:inherit;cursor:pointer}.bulk-actions-bar__select option{background:#fff;color:#374151}.bulk-actions-bar__danger{padding:5px 12px;background:#dc2626;color:#fff;border:none;border-radius:4px;font-size:11px;font-weight:500;cursor:pointer;font-family:inherit}.bulk-actions-bar__danger:hover:not(:disabled){background:#b91c1c}.bulk-actions-bar__danger:disabled{opacity:.5;cursor:not-allowed}.bulk-actions-bar__close{display:flex;align-items:center;justify-content:center;width:24px;height:24px;background:transparent;color:#9ca3af;border:none;border-radius:4px;cursor:pointer}.bulk-actions-bar__close:hover{background:#1f2937;color:#fff}.client-panel-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:40px 24px;text-align:center}.client-panel-empty__title{margin:16px 0 4px;font-size:16px;font-weight:600;color:#374151}.client-panel-empty__subtitle{margin:0;font-size:12px;color:#6b7280;max-width:320px;line-height:1.5}.clients-module{display:flex;flex-direction:column;height:calc(100vh - 64px);background:#f8fafc;overflow:hidden}.clients-module__toolbar{display:flex;align-items:center;gap:4px;padding:10px 16px;background:#fff;border-bottom:1px solid #e5e7eb;flex-shrink:0}.clients-module__toggle{padding:5px 14px;background:transparent;color:#6b7280;border:1px solid #e5e7eb;border-radius:4px;font-size:12px;font-weight:500;cursor:pointer;font-family:inherit;transition:background .15s ease-out,color .15s ease-out}.clients-module__toggle:hover{background:#f9fafb;color:#374151}.clients-module__toggle--active{background:#2563eb;color:#fff;border-color:#2563eb}.clients-module__toggle--active:hover{background:#1e40af;color:#fff}.clients-module__toolbar-spacer{flex:1}.clients-module__link{font-size:11px;color:#6b7280;text-decoration:none;padding:5px 10px;border-radius:4px;transition:background .15s ease-out,color .15s ease-out}.clients-module__link:hover{background:#f9fafb;color:#2563eb}.clients-module__new-client{padding:5px 12px;background:#2563eb;color:#fff;border:none;border-radius:4px;font-size:11px;font-weight:500;cursor:pointer;font-family:inherit;transition:background .15s ease-out}.clients-module__new-client:hover{background:#1e40af}.clients-module__body{display:flex;flex:1;min-height:0;overflow:hidden}.clients-module__panel{flex:1;min-width:0;background:#fff;overflow:auto}.clients-module__panel--full{width:100%}.clients-module__placeholder{padding:24px;font-size:13px;color:#6b7280}.clients-module__placeholder code{padding:2px 6px;background:#f3f4f6;border-radius:3px;font-size:12px;color:#374151}.global-kanban{display:flex;flex-direction:column;height:100%;padding:0}.global-kanban__toolbar{display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #e5e7eb;background:#fff}.global-kanban__search{flex:1;max-width:320px;padding:6px 10px;border:1px solid #e5e7eb;border-radius:4px;font-size:12px;color:#374151;font-family:inherit;outline:none}.global-kanban__search:focus{border-color:#2563eb}.global-kanban__select{padding:6px 10px;border:1px solid #e5e7eb;border-radius:4px;font-size:12px;color:#374151;background:#fff;font-family:inherit}.global-kanban__metrics{margin-left:auto;font-size:11px;color:#6b7280}.global-kanban__loading{padding:40px;text-align:center;font-size:13px;color:#6b7280}.global-kanban__columns{flex:1;display:flex;gap:12px;padding:16px;overflow-x:auto;overflow-y:hidden}.global-kanban__column{flex:0 0 280px;display:flex;flex-direction:column;background:#fff;border:1px solid #e5e7eb;border-radius:6px;overflow:hidden;max-height:100%}.global-kanban__column-head{padding:10px 12px;border-bottom:1px solid #e5e7eb;background:#f9fafb}.global-kanban__column-label{font-size:11px;font-weight:700;color:#374151;text-transform:uppercase;letter-spacing:.4px}.global-kanban__column-meta{margin-top:2px;font-size:10px;color:#6b7280}.global-kanban__column-body{flex:1;overflow-y:auto;padding:8px;display:flex;flex-direction:column;gap:6px;min-height:80px}.global-kanban__column-body--over{background:#eff6ff}.global-kanban__column-empty{text-align:center;font-size:11px;color:#cbd5e1;font-style:italic;padding:12px 0}.global-deal-card{padding:10px;background:#fff;border:1px solid #e5e7eb;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:border-color .15s ease-out}.global-deal-card:hover{border-color:#2563eb}.global-deal-card__head{display:flex;align-items:center;gap:6px;margin-bottom:4px}.global-deal-card__score{width:8px;height:8px;border-radius:50%;flex-shrink:0}.global-deal-card__title{font-size:12px;font-weight:600;color:#374151;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.global-deal-card__company{font-size:10px;color:#6b7280;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.global-deal-card__meta{display:flex;gap:8px;font-size:10px;color:#6b7280;flex-wrap:wrap}.global-deal-card__owner{margin-left:auto;font-style:italic}.global-deal-card__time{margin-top:4px;font-size:9px;color:#cbd5e1}.activity-timeline{display:flex;flex-direction:column;gap:0}.activity-timeline__group-label{font-size:11px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.3px;padding:12px 0 6px 32px}.activity-timeline__group-label:first-child{padding-top:0}.activity-timeline__item{display:flex;gap:10px;padding:6px 0;position:relative}.activity-timeline__item:before{content:"";position:absolute;left:13px;top:32px;bottom:-6px;width:1px;background:#e5e7eb}.activity-timeline__item:last-child:before{display:none}.activity-timeline__icon{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;position:relative;z-index:1}.activity-timeline__icon svg{width:14px;height:14px}.activity-timeline__content{flex:1;min-width:0;padding-top:3px}.activity-timeline__head{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:2px}.activity-timeline__type{font-size:11px;font-weight:600;color:#374151}.activity-timeline__time{font-size:10px;color:#9ca3af;white-space:nowrap}.activity-timeline__body{font-size:12px;color:#6b7280;line-height:1.4;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.activity-timeline__deal{font-size:10px;color:#9ca3af;margin-top:2px}.panel-contacts-add{width:100%;padding:8px;background:transparent;color:#2563eb;border:1px dashed #2563eb;border-radius:4px;font-size:11px;font-weight:500;cursor:pointer;font-family:inherit;margin-bottom:12px}.panel-contacts-add:hover{background:#eff6ff}.panel-contacts-form{background:#fff;border:1px solid #2563eb;border-radius:6px;padding:12px;margin-bottom:12px}.panel-contacts-form__grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.panel-contacts-form__full{grid-column:1 / -1}.panel-contacts-form label{display:flex;flex-direction:column;gap:2px;font-size:10px;color:#6b7280;text-transform:uppercase;letter-spacing:.3px}.panel-contacts-form input{padding:5px 8px;border:1px solid #e5e7eb;border-radius:3px;font-size:12px;color:#374151;font-family:inherit;text-transform:none;letter-spacing:0}.panel-contacts-form input:focus{outline:none;border-color:#2563eb}.panel-contacts-form__actions{display:flex;gap:6px;justify-content:flex-end;margin-top:10px}.panel-contacts-form__actions button{padding:5px 14px;background:transparent;color:#6b7280;border:1px solid #e5e7eb;border-radius:4px;font-size:11px;cursor:pointer;font-family:inherit}.panel-contacts-form__actions button:hover:not(:disabled){background:#f9fafb}.panel-contacts-form__primary{background:#2563eb!important;color:#fff!important;border-color:#2563eb!important}.panel-contacts-form__primary:hover:not(:disabled){background:#1e40af!important}.panel-contacts-item__actions{display:flex;gap:6px;margin-top:6px;padding-top:6px;border-top:1px solid #f3f4f6}.panel-contacts-item__actions button{padding:3px 8px;background:transparent;border:1px solid #e5e7eb;border-radius:3px;font-size:10px;color:#6b7280;cursor:pointer;font-family:inherit}.panel-contacts-item__actions button:hover{background:#f9fafb;color:#374151}.panel-contacts-item__delete:hover{background:#fee2e2!important;color:#dc2626!important}.deal-sheet-section__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.deal-sheet-section__head .deal-sheet-section__title{margin:0}.deal-sheet-section__action-btn{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;background:transparent;color:#2563eb;border:1px solid #bfdbfe;border-radius:3px;font-size:10px;font-weight:500;cursor:pointer;font-family:inherit}.deal-sheet-section__action-btn:hover:not(:disabled){background:#eff6ff}.deal-sheet-section__action-btn:disabled{opacity:.5;cursor:not-allowed}.deal-sheet-section__error{padding:6px 8px;background:#fee2e2;color:#dc2626;border-radius:3px;font-size:10px;margin-bottom:6px}.deal-sheet-section__inline-select{padding:2px 6px;background:#f3f4f6;border:1px solid transparent;border-radius:3px;font-size:11px;color:#374151;font-family:inherit;cursor:pointer}.deal-sheet-section__inline-select:hover:not(:disabled){background:#eff6ff;border-color:#2563eb;color:#2563eb}.deal-sheet-section__inline-select:focus{outline:none;border-color:#2563eb}.deal-sheet-scheduled-form{background:#f9fafb;border:1px solid #e5e7eb;border-radius:4px;padding:8px;margin-bottom:8px}.deal-sheet-scheduled-form__row{display:flex;gap:6px;margin-bottom:6px}.deal-sheet-scheduled-form select,.deal-sheet-scheduled-form input,.deal-sheet-scheduled-form textarea{padding:4px 6px;border:1px solid #e5e7eb;border-radius:3px;font-size:11px;font-family:inherit;color:#374151;outline:none}.deal-sheet-scheduled-form select,.deal-sheet-scheduled-form input{flex:1}.deal-sheet-scheduled-form textarea{width:100%;resize:vertical}.deal-sheet-scheduled-form__submit{margin-top:6px;padding:4px 12px;background:#2563eb;color:#fff;border:none;border-radius:3px;font-size:10px;cursor:pointer;font-family:inherit}.deal-sheet-scheduled-form__submit:disabled{opacity:.5}.deal-sheet-scheduled-item__btn{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;background:transparent;border:1px solid #e5e7eb;border-radius:3px;color:#22c55e;cursor:pointer;flex-shrink:0}.deal-sheet-scheduled-item__btn:hover:not(:disabled){background:#f0fdf4;border-color:#22c55e}.deal-sheet-scheduled-item__btn--cancel{color:#dc2626}.deal-sheet-scheduled-item__btn--cancel:hover:not(:disabled){background:#fee2e2;border-color:#dc2626}.deal-sheet-docs-item__delete{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;background:transparent;border:1px solid #e5e7eb;border-radius:3px;color:#6b7280;cursor:pointer;flex-shrink:0;margin-left:4px}.deal-sheet-docs-item__delete:hover{background:#fee2e2;border-color:#dc2626;color:#dc2626}.deal-sheet-tasks-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.deal-sheet-tasks-item{display:flex;align-items:center;gap:6px;padding:6px 8px;background:#f9fafb;border-radius:4px;font-size:11px}.deal-sheet-tasks-item--done .deal-sheet-tasks-item__title{text-decoration:line-through;color:#9ca3af}.deal-sheet-tasks-item__title{flex:1;color:#374151;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;gap:4px}.deal-sheet-tasks-item__source-badge{flex-shrink:0;font-size:9px;padding:1px 5px;border-radius:3px;background:#ede9fe;color:#7c3aed;font-weight:500}.deal-sheet-tasks-item__status-select,.deal-sheet-tasks-item__priority-select,.deal-sheet-tasks-item__owner-select{padding:2px 4px;border:1px solid transparent;border-radius:3px;font-size:10px;color:#374151;background:#fff;font-family:inherit;cursor:pointer;flex-shrink:0}.deal-sheet-tasks-item__status-select{background:#e5e7eb;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.3px;font-size:9px;min-width:90px}.deal-sheet-tasks-item--progress .deal-sheet-tasks-item__status-select{background:#dbeafe;color:#1e40af}.deal-sheet-tasks-item--review .deal-sheet-tasks-item__status-select{background:#fef3c7;color:#92400e}.deal-sheet-tasks-item--done .deal-sheet-tasks-item__status-select{background:#f0fdf4;color:#16a34a}.deal-sheet-tasks-item__priority-select{min-width:60px}.deal-sheet-tasks-item__owner-select{min-width:100px;max-width:140px}.deal-sheet-tasks-item__status-select:hover,.deal-sheet-tasks-item__priority-select:hover,.deal-sheet-tasks-item__owner-select:hover{border-color:#2563eb}.deal-sheet-tasks-item__delete{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;background:transparent;border:1px solid #e5e7eb;border-radius:3px;color:#6b7280;cursor:pointer;flex-shrink:0}.deal-sheet-tasks-item__delete:hover{background:#fee2e2;border-color:#dc2626;color:#dc2626}.deal-sheet-tasks-form{background:#f9fafb;border:1px solid #2563eb;border-radius:4px;padding:8px;margin-bottom:8px;display:flex;flex-direction:column;gap:6px}.deal-sheet-tasks-form input[type=text]{padding:5px 8px;border:1px solid #e5e7eb;border-radius:3px;font-size:11px;color:#374151;font-family:inherit;outline:none}.deal-sheet-tasks-form input[type=text]:focus{border-color:#2563eb}.deal-sheet-tasks-form__row{display:flex;gap:6px}.deal-sheet-tasks-form__row select{flex:1;padding:4px 6px;border:1px solid #e5e7eb;border-radius:3px;font-size:10px;color:#374151;font-family:inherit;background:#fff}.deal-sheet-tasks-form__submit{padding:4px 12px;background:#2563eb;color:#fff;border:none;border-radius:3px;font-size:10px;font-weight:500;cursor:pointer;font-family:inherit}.deal-sheet-tasks-form__submit:disabled{opacity:.5;cursor:not-allowed}.deal-sheet-tasks-form__submit:hover:not(:disabled){background:#1e40af}.deal-sheet-methodology-apply{display:flex;gap:6px;margin-top:12px;padding-top:10px;border-top:1px solid #f3f4f6}.deal-sheet-methodology-apply select{flex:1;padding:4px 8px;border:1px solid #e5e7eb;border-radius:3px;font-size:11px;color:#374151;font-family:inherit}.deal-sheet-methodology-apply button{padding:4px 12px;background:#2563eb;color:#fff;border:none;border-radius:3px;font-size:11px;cursor:pointer;font-family:inherit}.deal-sheet-methodology-apply button:disabled{opacity:.5}.crm-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#11182773;display:flex;align-items:center;justify-content:center;z-index:60;padding:20px}.crm-modal{background:#fff;border-radius:8px;box-shadow:0 20px 40px #00000026;width:100%;max-width:720px;max-height:calc(100vh - 40px);display:flex;flex-direction:column;overflow:hidden;animation:crm-modal-in .18s ease-out}@keyframes crm-modal-in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.crm-modal--small{max-width:480px}.crm-modal--xlarge{max-width:960px}.crm-modal-tabs{display:flex;gap:0;border-bottom:1px solid #e5e7eb;padding:0 20px;background:#f9fafb}.crm-modal-tabs__btn{padding:10px 14px;font-size:13px;font-weight:500;color:#6b7280;background:transparent;border:none;border-bottom:2px solid transparent;cursor:pointer;white-space:nowrap;transition:color .12s,border-color .12s}.crm-modal-tabs__btn:hover{color:#374151}.crm-modal-tabs__btn--active{color:#2563eb;border-bottom-color:#2563eb}.crm-modal-tabs__btn:disabled{color:#d1d5db;cursor:not-allowed}.crm-modal-tabs__badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;margin-left:6px;padding:0 5px;font-size:10px;font-weight:600;border-radius:9px;background:#e5e7eb;color:#6b7280}.crm-modal-tabs__btn--active .crm-modal-tabs__badge{background:#dbeafe;color:#2563eb}.minuta-card{padding:12px 14px;margin-bottom:10px;border:1px solid #e5e7eb;border-radius:6px;background:#fff}.minuta-card__title{font-size:11px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px;margin:0 0 6px}.minuta-card__text{font-size:13px;color:#374151;line-height:1.5;margin:0}.minuta-card__list{list-style:none;padding:0;margin:0}.minuta-card__list li{font-size:13px;color:#374151;padding:3px 0;line-height:1.4}.minuta-card__list li:before{content:"•";color:#2563eb;margin-right:8px}.action-items-list{list-style:none;padding:0;margin:0}.action-item{display:flex;align-items:flex-start;gap:8px;padding:8px 0;border-bottom:1px solid #f3f4f6}.action-item:last-child{border-bottom:none}.action-item__check{margin-top:2px;cursor:pointer;accent-color:#2563eb}.action-item__body{flex:1;min-width:0}.action-item__desc{font-size:13px;color:#374151;line-height:1.4}.action-item__desc--done{text-decoration:line-through;color:#9ca3af}.action-item__meta{display:flex;gap:8px;margin-top:3px;font-size:11px;color:#9ca3af}.action-item__priority{padding:1px 5px;border-radius:3px;font-size:10px;font-weight:600}.action-item__priority--high{background:#fef2f2;color:#dc2626}.action-item__priority--medium{background:#fefce8;color:#ca8a04}.action-item__priority--low{background:#f0fdf4;color:#16a34a}.action-item__source{padding:1px 5px;border-radius:3px;font-size:10px;background:#f3f4f6;color:#6b7280}.requirements-list{list-style:none;padding:0;margin:0}.requirement-item{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #f3f4f6;cursor:pointer}.requirement-item:hover{background:#f9fafb}.requirement-item:last-child{border-bottom:none}.requirement-item__title{flex:1;font-size:13px;color:#374151;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.requirement-item__badge{padding:2px 6px;border-radius:4px;font-size:10px;font-weight:600;white-space:nowrap}.crm-modal__head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e5e7eb}.crm-modal__head h2{margin:0;font-size:15px;font-weight:600;color:#111827}.crm-modal__close{background:transparent;border:none;padding:4px;border-radius:4px;color:#6b7280;cursor:pointer}.crm-modal__close:hover{background:#f3f4f6;color:#374151}.crm-modal__body{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:16px}.crm-modal__grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px}.crm-modal__field{display:flex;flex-direction:column;gap:4px}.crm-modal__field--full{grid-column:1 / -1}.crm-modal__field>span{font-size:10px;color:#6b7280;text-transform:uppercase;letter-spacing:.3px;font-weight:600}.crm-modal__field input,.crm-modal__field select,.crm-modal__field textarea{padding:7px 10px;border:1px solid #e5e7eb;border-radius:4px;font-size:12px;color:#374151;font-family:inherit;background:#fff;outline:none;transition:border-color .15s ease-out}.crm-modal__field input:focus,.crm-modal__field select:focus,.crm-modal__field textarea:focus{border-color:#2563eb}.crm-modal__field textarea{resize:vertical;min-height:60px}.crm-modal__field-error{font-style:normal;font-size:10px;color:#dc2626;margin-top:2px}.crm-modal__footer{display:flex;justify-content:flex-end;gap:8px;padding-top:8px;border-top:1px solid #e5e7eb;margin-top:4px}.crm-modal__footer button{padding:7px 16px;background:transparent;border:1px solid #e5e7eb;border-radius:4px;font-size:12px;color:#6b7280;cursor:pointer;font-family:inherit}.crm-modal__footer button:hover:not(:disabled){background:#f9fafb;color:#374151}.crm-modal__primary{background:#2563eb!important;color:#fff!important;border-color:#2563eb!important}.crm-modal__primary:hover:not(:disabled){background:#1e40af!important;color:#fff!important}.crm-modal__primary:disabled{opacity:.5;cursor:not-allowed}.crm-modal__danger{background:#dc2626!important;color:#fff!important;border-color:#dc2626!important}.crm-modal__danger:hover:not(:disabled){background:#b91c1c!important;color:#fff!important}.email-template-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:8px 0;border-top:1px solid #f3f4f6;margin-top:4px}.email-template-actions__btn{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;background:transparent;color:#2563eb;border:1px solid #bfdbfe;border-radius:3px;font-size:10px;font-weight:500;cursor:pointer;font-family:inherit}.email-template-actions__btn:hover:not(:disabled){background:#eff6ff}.email-template-actions__btn:disabled{opacity:.5;cursor:not-allowed}.email-template-actions__form{display:flex;gap:4px;flex:1;min-width:240px}.email-template-actions__form input{flex:1;padding:4px 8px;border:1px solid #e5e7eb;border-radius:3px;font-size:11px;color:#374151;font-family:inherit;outline:none}.email-template-actions__form input:focus{border-color:#2563eb}.email-template-actions__form button{padding:4px 10px;background:transparent;color:#6b7280;border:1px solid #e5e7eb;border-radius:3px;font-size:10px;cursor:pointer;font-family:inherit}.email-template-actions__form button:hover:not(:disabled){background:#f9fafb}.email-template-actions__save{background:#2563eb!important;color:#fff!important;border-color:#2563eb!important}.email-template-actions__save:hover:not(:disabled){background:#1e40af!important}.email-template-actions__save:disabled{opacity:.5;cursor:not-allowed}.client-panel{display:flex;flex-direction:column;height:100%;background:#fff}.client-panel--loading,.client-panel--error{padding:24px;font-size:13px;color:#6b7280;text-align:center}.client-panel--error{color:#dc2626}.client-panel__content{flex:1;overflow-y:auto;padding:16px 20px}.client-panel__tab-placeholder{padding:16px;background:#f9fafb;border:1px dashed #e5e7eb;border-radius:6px;font-size:12px;color:#6b7280}.client-panel-header{position:sticky;top:0;z-index:4;background:#fff;border-bottom:1px solid #e5e7eb;padding:16px 20px 12px}.client-panel-header__top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.client-panel-header__actions{display:flex;gap:6px;flex-shrink:0}.client-panel-header__secondary{padding:6px 12px;background:transparent;color:#6b7280;border:1px solid #e5e7eb;border-radius:4px;font-size:11px;font-weight:500;cursor:pointer;font-family:inherit}.client-panel-header__secondary:hover{background:#f9fafb;color:#374151}.client-panel-header__danger:hover{background:#fee2e2!important;color:#dc2626!important;border-color:#fca5a5!important}.client-panel-header__primary{padding:6px 14px;background:#2563eb;color:#fff;border:none;border-radius:4px;font-size:11px;font-weight:500;cursor:pointer;font-family:inherit}.client-panel-header__primary:hover{background:#1e40af}.client-panel-identity{display:flex;align-items:center;gap:12px}.client-panel-identity__avatar{width:44px;height:44px;border-radius:50%;background:#2563eb;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px;flex-shrink:0}.client-panel-identity__text{min-width:0}.client-panel-identity__name{margin:0;font-size:18px;font-weight:600;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.client-panel-identity__meta{margin-top:2px;font-size:11px;color:#6b7280;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.client-panel-identity__separator{color:#cbd5e1}.client-panel-identity__stage{display:inline-flex;align-items:center;gap:4px}.client-panel-identity__stage-label{text-transform:uppercase;letter-spacing:.3px;font-size:9px;font-weight:600}.client-panel-identity__stage select{padding:2px 6px;background:#f3f4f6;border:1px solid transparent;border-radius:3px;font-size:10px;font-weight:600;color:#374151;font-family:inherit;cursor:pointer}.client-panel-identity__stage select:hover:not(:disabled){background:#eff6ff;border-color:#2563eb;color:#2563eb}.client-panel-identity__stage select:focus{outline:none;border-color:#2563eb}.client-panel-identity__stage select:disabled{opacity:.5;cursor:wait}.client-panel-tabs{display:flex;gap:0;background:#fff;border-bottom:1px solid #e5e7eb;padding:0 20px;overflow-x:auto;position:sticky;top:76px;z-index:3}.client-panel-tabs__btn{padding:10px 14px;background:transparent;border:none;border-bottom:2px solid transparent;font-size:12px;font-weight:500;color:#6b7280;cursor:pointer;white-space:nowrap;font-family:inherit;display:flex;align-items:center;gap:6px;transition:color .15s ease-out,border-color .15s ease-out}.client-panel-tabs__btn:hover{color:#374151}.client-panel-tabs__btn--active{color:#2563eb;border-bottom-color:#2563eb}.client-panel-tabs__count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:16px;padding:0 5px;background:#f3f4f6;border-radius:8px;font-size:10px;font-weight:600;color:#6b7280}.client-panel-tabs__btn--active .client-panel-tabs__count{background:#dbeafe;color:#1e40af}.panel-tab-empty{padding:24px 16px;text-align:center;font-size:12px;color:#6b7280;background:#f9fafb;border:1px dashed #e5e7eb;border-radius:6px}.panel-activity-list,.panel-contacts-list,.panel-projects-list,.panel-docs-list,.panel-methodologies-list,.panel-meetings-list,.panel-assessments-list,.panel-quotes-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.panel-contacts-item{padding:12px;background:#fff;border:1px solid #e5e7eb;border-radius:5px}.panel-contacts-item__head{display:flex;align-items:center;gap:8px;margin-bottom:2px}.panel-contacts-item__name{font-size:13px;font-weight:600;color:#374151}.panel-contacts-item__badge{padding:1px 6px;background:#dbeafe;color:#1e40af;font-size:9px;font-weight:600;border-radius:3px;text-transform:uppercase;letter-spacing:.3px}.panel-contacts-item__role{font-size:11px;color:#6b7280;margin-bottom:4px}.panel-contacts-item__meta{display:flex;gap:12px;font-size:11px;color:#6b7280}.panel-projects-item{padding:0;background:#fff;border:1px solid #e5e7eb;border-radius:5px;overflow:hidden}.panel-projects-item__link{display:block;padding:12px;text-decoration:none;color:inherit;transition:background .15s ease-out}.panel-projects-item__link:hover{background:#f9fafb}.panel-projects-item__name{font-size:13px;font-weight:600;color:#374151;margin-bottom:4px}.panel-projects-item__meta{display:flex;gap:12px;font-size:11px;color:#6b7280}.panel-docs-item{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background:#fff;border:1px solid #e5e7eb;border-radius:4px}.panel-docs-item__name{font-size:12px;color:#374151;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:70%}.panel-docs-item__size{font-size:10px;color:#6b7280}.panel-methodologies-item{padding:12px;background:#fff;border:1px solid #e5e7eb;border-radius:5px;cursor:pointer;transition:border-color .15s ease-out,background .15s ease-out}.panel-methodologies-item:hover{border-color:#2563eb;background:#f8faff}.panel-methodologies-item__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.panel-methodologies-item__name{font-size:13px;font-weight:600;color:#374151}.panel-methodologies-item__status{padding:1px 8px;background:#f3f4f6;color:#6b7280;font-size:10px;font-weight:600;border-radius:10px;text-transform:uppercase;letter-spacing:.3px}.panel-methodologies-item__bar{width:100%;height:4px;background:#f3f4f6;border-radius:2px;overflow:hidden;margin-bottom:6px}.panel-methodologies-item__bar-fill{height:100%;background:#2563eb;transition:width .2s ease-out}.panel-methodologies-item__meta{display:flex;justify-content:space-between;font-size:11px;color:#6b7280}.panel-methodologies-item__meta a{color:#2563eb;text-decoration:none}.panel-methodologies-item__meta a:hover{text-decoration:underline}.methodology-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#11182780;display:flex;align-items:center;justify-content:center;z-index:1050;padding:2.5vh 2.5vw}.methodology-modal{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0003;width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden;animation:crm-modal-in .18s ease-out}.methodology-modal__head{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e7eb;flex-shrink:0}.methodology-modal__head h2{margin:0;font-size:15px;font-weight:600;color:#111827}.methodology-modal__head-status{padding:2px 8px;background:#f3f4f6;color:#6b7280;font-size:10px;font-weight:600;border-radius:10px;text-transform:uppercase;letter-spacing:.3px;margin-left:10px}.methodology-modal__close{background:transparent;border:none;padding:6px;border-radius:4px;color:#6b7280;cursor:pointer}.methodology-modal__close:hover{background:#f3f4f6;color:#374151}.methodology-modal__body{flex:1;overflow:hidden}.methodology-modal__body .methodology-runner{height:100%;border:none;border-radius:0}.methodology-modal__body .current-step-content{max-width:960px}.panel-methodologies-toolbar{display:flex;align-items:center;justify-content:space-between;padding:0 0 12px;margin-bottom:8px;border-bottom:1px solid #e5e7eb}.panel-methodologies-toolbar__title{font-size:12px;font-weight:600;color:#374151;text-transform:uppercase;letter-spacing:.3px}.panel-methodologies-toolbar__btn{display:inline-flex;align-items:center;gap:4px;padding:6px 10px;background:#2563eb;color:#fff;border:none;border-radius:4px;font-size:12px;cursor:pointer}.panel-methodologies-toolbar__btn:hover{background:#1d4ed8}.panel-meetings-item{padding:10px 12px;background:#fff;border:1px solid #e5e7eb;border-radius:5px}.panel-meetings-item__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.panel-meetings-item__title{font-size:13px;font-weight:600;color:#374151}.panel-meetings-item__time{font-size:10px;color:#6b7280}.panel-meetings-item__meta{display:flex;gap:10px;flex-wrap:wrap;font-size:11px;color:#6b7280}.panel-meetings-item__badge{padding:1px 6px;background:#f0fdf4;color:#16a34a;border-radius:3px;font-size:9px;font-weight:600;text-transform:uppercase;letter-spacing:.3px}.panel-assessments-item{padding:10px 12px;background:#fff;border:1px solid #e5e7eb;border-radius:5px}.panel-assessments-item__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.panel-assessments-item__name{font-size:13px;font-weight:600;color:#374151}.panel-assessments-item__time{font-size:10px;color:#6b7280}.panel-assessments-item__meta{display:flex;gap:10px;font-size:11px;color:#6b7280}.panel-quotes-item{padding:0;background:#fff;border:1px solid #e5e7eb;border-radius:5px;overflow:hidden}.panel-quotes-item__link{display:block;padding:10px 12px;text-decoration:none;color:inherit;transition:background .15s ease-out}.panel-quotes-item__link:hover{background:#f9fafb}.panel-quotes-item__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.panel-quotes-item__number{font-size:13px;font-weight:600;color:#374151}.panel-quotes-item__time{font-size:10px;color:#6b7280}.panel-quotes-item__meta{display:flex;gap:12px;font-size:11px;color:#6b7280}.pipeline-switcher{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:14px}.pipeline-switcher__label{font-size:10px;color:#6b7280;text-transform:uppercase;letter-spacing:.4px;margin-right:4px}.pipeline-switcher__pill{padding:4px 10px;background:#fff;color:#6b7280;border:1px solid #e5e7eb;border-radius:12px;font-size:11px;font-weight:500;cursor:pointer;font-family:inherit;transition:background .15s ease-out,color .15s ease-out}.pipeline-switcher__pill:hover{background:#f9fafb;color:#374151}.pipeline-switcher__pill--active{background:#2563eb;color:#fff;border-color:#2563eb}.pipeline-switcher__pill--active:hover{background:#1e40af;color:#fff}.mini-kanban{margin-top:12px}.mini-kanban--empty{padding:16px;background:#f9fafb;border:1px dashed #e5e7eb;border-radius:6px;text-align:center;font-size:11px;color:#6b7280}.mini-kanban__columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:6px}.mini-kanban__column{background:#fff;border:1px solid #e5e7eb;border-radius:5px;padding:8px;min-height:90px;display:flex;flex-direction:column}.mini-kanban__column-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.mini-kanban__column-label{font-size:9px;font-weight:700;color:#6b7280;text-transform:uppercase;letter-spacing:.4px}.mini-kanban__column-count{font-size:10px;color:#6b7280}.mini-kanban__column-body{flex:1;display:flex;flex-direction:column;gap:4px;min-height:50px}.mini-kanban__column-body--over{background:#eff6ff;border-radius:3px}.mini-kanban__column-empty{font-size:10px;color:#cbd5e1;font-style:italic;text-align:center;padding:6px 0}.mini-kanban__metrics{display:flex;justify-content:space-between;align-items:center;margin-top:8px;font-size:10px;color:#6b7280}.mini-kanban__lost-toggle{background:transparent;border:none;color:#2563eb;font-size:10px;cursor:pointer;font-family:inherit;padding:0}.mini-kanban__lost-toggle:hover{text-decoration:underline}.mini-kanban__lost-list{list-style:none;margin:6px 0 0;padding:6px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:4px}.mini-kanban__lost-item{display:flex;justify-content:space-between;padding:4px 6px;font-size:10px;color:#6b7280;cursor:pointer}.mini-kanban__lost-item:hover{color:#374151}.mini-kanban-card{padding:6px 8px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:3px;font-size:10px;color:#374151;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mini-kanban-card:hover{background:#fff;border-color:#2563eb}.mini-kanban-card__head{display:flex;align-items:center;gap:5px;margin-bottom:2px}.mini-kanban-card__score{width:8px;height:8px;border-radius:50%;flex-shrink:0}.mini-kanban-card__title{font-weight:600;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-kanban-card__meta{display:flex;justify-content:space-between;font-size:9px;color:#6b7280}.mini-kanban-card__time{margin-top:2px;font-size:9px;color:#cbd5e1}.deal-sheet{position:fixed;top:64px;right:0;bottom:0;width:720px;max-width:100vw;background:#fff;border-left:1px solid #e5e7eb;box-shadow:-8px 0 24px #00000014;z-index:50;display:flex;flex-direction:column;animation:deal-sheet-slide-in .2s ease-out}@keyframes deal-sheet-slide-in{0%{transform:translate(40px);opacity:0}to{transform:translate(0);opacity:1}}@media (max-width: 1024px){.deal-sheet{width:100vw}}.deal-sheet__loading{padding:40px 20px;text-align:center;font-size:13px;color:#6b7280}.deal-sheet__close-fallback{margin:12px auto;display:block;padding:6px 16px;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:4px;cursor:pointer;font-family:inherit}.deal-sheet__body{flex:1;overflow-y:auto;padding:16px 20px;display:flex;flex-direction:column;gap:18px}.deal-sheet-header{padding:14px 20px;border-bottom:1px solid #e5e7eb;background:#fff}.deal-sheet-header__row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.deal-sheet-header__title{margin:0;font-size:16px;font-weight:600;color:#111827}.deal-sheet-header__subtitle{margin-top:2px;font-size:11px;color:#6b7280}.deal-sheet-header__close{background:transparent;border:none;padding:4px;border-radius:4px;color:#6b7280;cursor:pointer;flex-shrink:0}.deal-sheet-header__close:hover{background:#f3f4f6;color:#374151}.deal-sheet-header__actions{display:flex;gap:4px;margin-top:12px}.deal-sheet-header__action{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;background:transparent;border:1px solid #e5e7eb;border-radius:4px;color:#6b7280;cursor:pointer;transition:background .15s ease-out,color .15s ease-out,border-color .15s ease-out}.deal-sheet-header__action:hover:not(:disabled){background:#eff6ff;border-color:#2563eb;color:#2563eb}.deal-sheet-header__action:disabled{opacity:.4;cursor:not-allowed}.deal-sheet-header__action--danger:hover:not(:disabled){background:#fee2e2;border-color:#dc2626;color:#dc2626}.deal-sheet-section{background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:14px}.deal-sheet-section__title{margin:0 0 10px;font-size:11px;font-weight:700;color:#6b7280;text-transform:uppercase;letter-spacing:.4px}.deal-sheet-section__grid{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:8px 16px}.deal-sheet-section__row{display:flex;flex-direction:column;margin:0}.deal-sheet-section__row dt{font-size:10px;color:#6b7280;text-transform:uppercase;letter-spacing:.3px}.deal-sheet-section__row dd{margin:2px 0 0;font-size:12px;color:#374151}.deal-sheet-section__empty{font-size:11px;color:#cbd5e1;font-style:italic}.deal-sheet-methodology{padding:8px 0;border-top:1px solid #f3f4f6}.deal-sheet-methodology:first-child{border-top:none;padding-top:0}.deal-sheet-methodology__head{display:flex;justify-content:space-between;font-size:12px;color:#374151;margin-bottom:4px}.deal-sheet-methodology__head a{color:#2563eb;text-decoration:none;font-size:11px}.deal-sheet-methodology__bar{height:4px;background:#f3f4f6;border-radius:2px;overflow:hidden}.deal-sheet-methodology__bar-fill{height:100%;background:#2563eb}.deal-sheet-methodology__meta{font-size:10px;color:#6b7280;margin-top:4px}.deal-sheet-scheduled-list,.deal-sheet-docs-list,.deal-sheet-activity-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.deal-sheet-scheduled-item{display:flex;align-items:center;gap:8px;padding:6px 8px;background:#f9fafb;border-radius:4px;font-size:11px}.deal-sheet-scheduled-item__type{font-weight:600;color:#2563eb;font-size:10px;text-transform:uppercase}.deal-sheet-scheduled-item__desc{flex:1;color:#374151}.deal-sheet-scheduled-item__time{color:#6b7280;font-size:10px}.deal-sheet-docs-item{display:flex;align-items:center;gap:12px;padding:6px 8px;background:#f9fafb;border-radius:4px;font-size:11px}.deal-sheet-docs-item__name{flex:1;color:#374151;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.deal-sheet-docs-item__size,.deal-sheet-docs-item__time{color:#6b7280;font-size:10px;flex-shrink:0}.deal-sheet-activity-item{padding:8px;background:#f9fafb;border-radius:4px}.deal-sheet-activity-item__head{display:flex;justify-content:space-between;margin-bottom:2px}.deal-sheet-activity-item__type{font-size:10px;font-weight:600;color:#2563eb;text-transform:uppercase}.deal-sheet-activity-item__time{font-size:10px;color:#6b7280}.deal-sheet-activity-item__body{font-size:12px;color:#374151}.deal-sheet--maximized{width:90vw;max-width:90vw;transition:width .2s ease}.deal-sheet-header__toggle-mode{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;color:#6b7280;flex-shrink:0;transition:background .15s,color .15s}.deal-sheet-header__toggle-mode:hover{background:#e5e7eb;color:#374151}.deal-sheet-maximized{flex:1;display:flex;flex-direction:column;overflow:hidden}.deal-sheet-maximized__tabs{display:flex;gap:0;border-bottom:2px solid #e5e7eb;padding:0 20px;flex-shrink:0;background:#fff}.deal-sheet-maximized__tab{background:transparent;border:none;border-bottom:2px solid transparent;margin-bottom:-2px;padding:10px 20px;font-size:13px;font-weight:600;color:#6b7280;cursor:pointer;transition:color .15s,border-bottom-color .15s}.deal-sheet-maximized__tab--active{color:#2563eb;border-bottom-color:#2563eb}.deal-sheet-maximized__tab:hover:not(.deal-sheet-maximized__tab--active){color:#374151}.deal-sheet-maximized__content{flex:1;overflow-y:auto;padding:20px}.deal-sheet-maximized__resumen-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.deal-sheet-maximized__resumen-col{display:flex;flex-direction:column;gap:12px}.deal-sheet-maximized__runner-wrap{height:100%;min-height:500px}.deal-sheet-maximized__runner-wrap .methodology-runner{height:100%;border-radius:8px}.deal-sheet-maximized__forecast-wrap{max-width:900px}.deal-sheet-maximized__empty{text-align:center;padding:40px 20px;color:#6b7280;font-size:14px}.deal-sheet-methodology__run-btn{background:none;border:none;color:#2563eb;font-size:12px;font-weight:600;cursor:pointer;padding:0}.deal-sheet-methodology__run-btn:hover{text-decoration:underline}@media (max-width: 900px){.deal-sheet-maximized__resumen-grid{grid-template-columns:1fr}}.methodology-runner{display:grid;grid-template-columns:280px 1fr 300px;grid-template-rows:1fr;height:100%;min-height:500px;background:#f8fafc;color:#374151;border-radius:.5rem;overflow:hidden;border:1px solid #e5e7eb}.methodology-runner--no-context{grid-template-columns:280px 1fr}.runner-sidebar{border-right:1px solid #e5e7eb;background:#fff;display:flex;flex-direction:column;overflow:hidden}.runner-info{padding:1.25rem;border-bottom:1px solid #e5e7eb}.runner-info h2{font-size:1.05rem;font-weight:700;color:#111827;margin:.5rem 0}.runner-info .category{font-size:.7rem;color:#2563eb;text-transform:uppercase;letter-spacing:1px;font-weight:600}.app-status-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.status-select{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:6px;color:#374151;font-size:.75rem;padding:.25rem .5rem;font-weight:600;outline:none;cursor:pointer}.status-select.status-active{color:#16a34a;background:#dcfce7;border-color:#bbf7d0}.status-select.status-paused{color:#ca8a04;background:#fef9c3;border-color:#fde68a}.status-select.status-completed{color:#2563eb;background:#dbeafe;border-color:#bfdbfe}.status-select.status-cancelled{color:#dc2626;background:#fee2e2;border-color:#fecaca}.btn-report-toggle{margin-top:.75rem;width:100%;background:#f3f4f6;border:1px solid #e5e7eb;color:#6b7280;padding:.5rem;border-radius:6px;font-size:.8rem;font-weight:600;cursor:pointer;transition:all .2s}.btn-report-toggle:hover{background:#e5e7eb;color:#374151}.btn-report-toggle.active{background:#dbeafe;color:#2563eb;border-color:#bfdbfe}.steps-list{flex:1;overflow-y:auto;padding:.75rem 0}.step-item{display:flex;align-items:center;gap:.75rem;padding:.65rem 1.1rem;cursor:pointer;transition:all .15s;border-left:3px solid transparent}.step-item:hover{background:#f3f4f6}.step-item.active{background:#eff6ff;border-left-color:#2563eb}.step-number{width:26px;height:26px;border-radius:50%;border:2px solid #d1d5db;display:flex;align-items:center;justify-content:center;font-size:.75rem;color:#9ca3af;flex-shrink:0;font-weight:600}.step-item.active .step-number{border-color:#2563eb;color:#2563eb}.step-item.completed .step-number{background:#2563eb;border-color:#2563eb;color:#fff}.step-title{font-size:.85rem;color:#6b7280;line-height:1.4}.step-item.active .step-title{color:#111827;font-weight:600}.step-item.completed .step-title{color:#374151}.runner-content{padding:2rem;overflow-y:auto;display:flex;flex-direction:column;background:#f8fafc}.current-step-content{max-width:740px;margin:0 auto;width:100%}.step-progress-indicator{display:flex;align-items:center;gap:1rem;margin-bottom:1.25rem}.step-position-label{font-size:.8rem;color:#9ca3af;font-weight:600;white-space:nowrap}.step-mini-bar{flex:1;height:4px;background:#e5e7eb;border-radius:2px}.step-mini-fill{height:100%;background:#2563eb;border-radius:2px;transition:width .4s ease}.step-badge{display:inline-block;padding:.2rem .65rem;background:#dbeafe;color:#2563eb;border-radius:4px;font-size:.75rem;font-weight:700;margin-bottom:.75rem;letter-spacing:.5px}.current-step-content h1{font-size:1.75rem;font-weight:800;color:#111827;margin-bottom:1.5rem}.step-tab-bar{display:flex;border-bottom:2px solid #e5e7eb;margin-bottom:1.25rem}.step-tab{background:transparent;border:none;border-bottom:2px solid transparent;margin-bottom:-2px;padding:.6rem 1.1rem;font-size:.85rem;font-weight:600;color:#6b7280;cursor:pointer;transition:color .15s,border-bottom-color .15s}.step-tab.active{color:#2563eb;border-bottom-color:#2563eb}.step-tab:hover:not(.active){color:#374151}.step-guidance{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:1.5rem;margin-bottom:1.5rem}.guidance-section{margin-bottom:1.25rem}.guidance-section:last-child{margin-bottom:0}.guidance-section h3{color:#2563eb;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.5rem}.guidance-section p{color:#374151;line-height:1.7;font-size:.9rem}.guidance-why h3{color:#7c3aed}.guidance-what h3{color:#2563eb}.guidance-checklist h3{color:#16a34a}.checklist-items{display:flex;flex-direction:column;gap:.5rem;margin-top:.75rem}.checklist-item{display:flex;align-items:flex-start;gap:.625rem;padding:.575rem .75rem;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:6px;cursor:pointer;transition:background .1s}.checklist-item:hover{background:#dcfce7}.checklist-item input[type=checkbox]{margin-top:3px;flex-shrink:0;cursor:pointer}.checklist-item span{font-size:.85rem;color:#374151;line-height:1.5}.checklist-item span.item-checked{text-decoration:line-through;color:#9ca3af}.questions-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.questions-header h3{margin:0}.btn-copy-questions{background:#f3f4f6;border:1px solid #e5e7eb;color:#374151;padding:.3rem .75rem;border-radius:6px;font-size:.78rem;font-weight:600;cursor:pointer}.btn-copy-questions:hover{background:#e5e7eb}.questions-list{display:flex;flex-direction:column;gap:.5rem}.question-item{display:flex;align-items:flex-start;gap:.6rem;padding:.5rem .6rem;border-radius:6px;cursor:pointer;transition:background .15s}.question-item:hover{background:#f3f4f6}.question-item input[type=checkbox]{width:15px;height:15px;flex-shrink:0;margin-top:2px;accent-color:#2563eb}.question-item span{font-size:.875rem;color:#374151;line-height:1.5}.question-checked span{text-decoration:line-through;color:#9ca3af}.guidance-manual-link{margin-top:1.25rem;padding-top:1rem;border-top:1px solid #e5e7eb}.btn-manual-link{background:transparent;border:none;color:#2563eb;font-size:.85rem;font-weight:600;cursor:pointer;padding:0;text-decoration:underline;text-underline-offset:2px}.btn-manual-link:hover{color:#1d4ed8}.notes-area{margin-bottom:1.5rem}.notes-area label{display:block;margin-bottom:.5rem;font-weight:600;color:#374151;font-size:.85rem}.notes-textarea{width:100%;min-height:150px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:.75rem;color:#374151;font-size:.9rem;resize:vertical;line-height:1.5;outline:none;box-sizing:border-box}.notes-textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.actions-bar{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e5e7eb;padding-top:1.25rem;gap:1rem}.btn-details{background:#f3f4f6;color:#374151;border:1px solid #e5e7eb;padding:.6rem 1.1rem;border-radius:8px;font-weight:600;font-size:.85rem;cursor:pointer;transition:all .2s}.btn-details:hover{background:#e5e7eb}.btn-details:disabled{opacity:.5;cursor:not-allowed}.btn-complete{background:#2563eb;color:#fff;border:none;padding:.6rem 1.25rem;border-radius:8px;font-weight:700;font-size:.85rem;cursor:pointer;transition:all .2s}.btn-complete:hover{background:#1d4ed8}.btn-complete:disabled{opacity:.5;cursor:not-allowed}.completion-gate{display:flex;flex-direction:column;gap:.75rem;flex:1}.acknowledge-checkbox{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem 1rem;background:#fffbeb;border:1px solid #fde68a;border-radius:8px;cursor:pointer}.acknowledge-checkbox input[type=checkbox]{margin-top:2px;flex-shrink:0;cursor:pointer}.acknowledge-checkbox span{font-size:.85rem;color:#92400e;font-weight:500;line-height:1.5}.runner-context{border-left:1px solid #e5e7eb;background:#fff;padding:1.25rem;display:flex;flex-direction:column;gap:1.5rem;overflow-y:auto}.context-block h4{color:#9ca3af;font-size:.7rem;text-transform:uppercase;letter-spacing:1px;margin-bottom:.75rem;font-weight:600}.context-block-header-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem}.context-block-header-row h4{margin-bottom:0}.runner-meeting-new-btn{background:#2563eb;color:#fff;border:none;padding:.25rem .65rem;border-radius:6px;font-size:.75rem;font-weight:600;cursor:pointer;transition:background .2s;white-space:nowrap}.runner-meeting-new-btn:hover{background:#1d4ed8}.runner-meeting-empty{font-size:.85rem;color:#9ca3af;font-style:italic;text-align:center;padding:.75rem 0}.runner-meeting-card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;padding:.75rem;cursor:pointer;transition:border-color .15s,background .15s;margin-bottom:.5rem}.runner-meeting-card:hover{border-color:#2563eb;background:#eff6ff}.runner-meeting-title{font-size:.85rem;font-weight:600;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:.35rem}.runner-meeting-meta{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.runner-meeting-badge--scheduled{font-size:.68rem;font-weight:700;background:#dbeafe;color:#2563eb;padding:.1rem .4rem;border-radius:4px}.runner-meeting-badge--completed{font-size:.68rem;font-weight:700;background:#dcfce7;color:#16a34a;padding:.1rem .4rem;border-radius:4px}.runner-meeting-badge--cancelled{font-size:.68rem;font-weight:700;background:#fee2e2;color:#dc2626;padding:.1rem .4rem;border-radius:4px}.runner-meeting-date{font-size:.72rem;color:#6b7280}.runner-meeting-actions-count{font-size:.72rem;color:#d97706;font-weight:600}.runner-meeting-more{font-size:.78rem;color:#2563eb;cursor:pointer;background:none;border:none;padding:0;margin-top:.25rem;font-weight:600}.runner-meeting-more:hover{text-decoration:underline}.runner-slideover-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000040;z-index:500}.runner-slideover{position:fixed;top:0;right:0;width:500px;height:100%;background:#fff;z-index:501;display:flex;flex-direction:column;box-shadow:-4px 0 24px #0000001f;animation:slideInRight .22s ease-out}@keyframes slideInRight{0%{transform:translate(100%)}to{transform:translate(0)}}.runner-slideover-header{display:flex;align-items:center;gap:.75rem;padding:1.25rem 1.5rem;border-bottom:1px solid #e5e7eb;flex-shrink:0}.runner-slideover-back{background:#f3f4f6;border:1px solid #e5e7eb;color:#374151;width:30px;height:30px;border-radius:6px;cursor:pointer;font-size:1rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}.runner-slideover-back:hover{background:#e5e7eb}.runner-slideover-header h3{font-size:1rem;font-weight:700;color:#111827;margin:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.runner-slideover-body{flex:1;overflow-y:auto;padding:1.5rem;display:flex;flex-direction:column;gap:1.25rem}.runner-slideover-form-group{display:flex;flex-direction:column;gap:.35rem}.runner-slideover-form-group label{font-size:.8rem;font-weight:600;color:#374151}.runner-slideover-form-group input,.runner-slideover-form-group select,.runner-slideover-form-group textarea{background:#f8fafc;border:1px solid #e5e7eb;border-radius:6px;padding:.5rem .75rem;color:#374151;font-size:.85rem;outline:none;transition:border-color .15s}.runner-slideover-form-group input:focus,.runner-slideover-form-group select:focus,.runner-slideover-form-group textarea:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a}.runner-slideover-form-group textarea{min-height:80px;resize:vertical;font-family:inherit}.runner-slideover-form-row{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.runner-slideover-methodology-tag{display:inline-flex;align-items:center;gap:.3rem;background:#dbeafe;color:#2563eb;border:1px solid #bfdbfe;padding:.25rem .65rem;border-radius:20px;font-size:.78rem;font-weight:600}.runner-slideover-submit-row{display:flex;justify-content:flex-end;gap:.75rem;padding-top:.25rem}.runner-detail-section{display:flex;flex-direction:column;gap:.4rem}.runner-detail-label{font-size:.7rem;font-weight:700;color:#9ca3af;text-transform:uppercase;letter-spacing:.8px}.runner-detail-textarea{width:100%;min-height:140px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;padding:.75rem;color:#374151;font-size:.85rem;font-family:inherit;resize:vertical;outline:none;box-sizing:border-box}.runner-detail-textarea:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a}.runner-detail-summary{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:.75rem;font-size:.85rem;color:#374151;line-height:1.6}.runner-detail-actions{display:flex;gap:.5rem;flex-wrap:wrap}.runner-detail-btn{background:#f3f4f6;border:1px solid #e5e7eb;color:#374151;padding:.45rem .85rem;border-radius:6px;font-size:.8rem;font-weight:600;cursor:pointer;transition:all .15s}.runner-detail-btn:hover{background:#e5e7eb}.runner-detail-btn:disabled{opacity:.5;cursor:not-allowed}.runner-detail-btn--primary{background:#2563eb;border-color:#2563eb;color:#fff}.runner-detail-btn--primary:hover{background:#1d4ed8}.runner-ai-list{display:flex;flex-direction:column;gap:.4rem}.runner-ai-row{display:flex;align-items:flex-start;gap:.5rem;padding:.4rem .1rem}.runner-ai-row input[type=checkbox]{margin-top:2px;flex-shrink:0;accent-color:#2563eb;width:14px;height:14px;cursor:pointer}.runner-ai-desc{font-size:.85rem;color:#374151;line-height:1.4}.runner-ai-desc--done{text-decoration:line-through;color:#9ca3af}.runner-ai-add{display:flex;gap:.5rem;margin-top:.25rem}.runner-ai-add input{flex:1;background:#f8fafc;border:1px solid #e5e7eb;border-radius:6px;padding:.4rem .65rem;font-size:.85rem;color:#374151;outline:none}.runner-ai-add input:focus{border-color:#2563eb}.runner-ai-add button{background:#2563eb;color:#fff;border:none;border-radius:6px;padding:.4rem .75rem;font-size:.82rem;font-weight:600;cursor:pointer;white-space:nowrap}.runner-ai-add button:hover{background:#1d4ed8}.runner-ai-add button:disabled{opacity:.5;cursor:not-allowed}.audit-report-view{max-width:820px;margin:0 auto;width:100%;animation:fadeIn .3s ease-out}.report-header{text-align:center;margin-bottom:2rem}.report-header h1{font-size:1.75rem;font-weight:800;color:#111827;margin-bottom:.5rem}.report-header p{color:#6b7280;font-size:.9rem}.report-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:2rem}.summary-card{background:#fff;padding:1rem;border-radius:10px;border:1px solid #e5e7eb;display:flex;flex-direction:column;align-items:center;gap:.4rem}.summary-card .label{font-size:.7rem;color:#9ca3af;text-transform:uppercase;letter-spacing:1px;font-weight:600}.summary-card .value{font-size:1.5rem;font-weight:800;color:#111827}.summary-card .value.status-active{color:#16a34a}.summary-card .value.status-completed{color:#2563eb}.summary-card .value.status-paused{color:#ca8a04}.summary-card .value.status-cancelled{color:#dc2626}.report-steps{display:flex;flex-direction:column;gap:1rem}.report-step-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:1.25rem}.report-step-card.completed{border-left:4px solid #2563eb}.report-step-card .step-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.report-step-card .step-header h3{font-size:1rem;font-weight:700;color:#111827;margin:0}.step-status{font-size:.7rem;font-weight:800;color:#9ca3af}.report-step-card.completed .step-status{color:#2563eb}.step-notes-evidence{background:#f8fafc;padding:.875rem;border-radius:8px;margin-bottom:.5rem;border:1px solid #e5e7eb}.step-notes-evidence h4{font-size:.75rem;color:#2563eb;font-weight:700;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.5rem}.step-notes-evidence p{line-height:1.6;color:#374151;font-size:.9rem}.no-notes{font-size:.85rem;color:#9ca3af;font-style:italic}.completion-date{font-size:.75rem;color:#9ca3af}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.methodology-bi-panel{display:flex;flex-direction:column;gap:1rem}.methodology-bi-panel-title{margin:0;padding:0 0 .75rem;font-size:1.1rem;font-weight:600;color:#374151;border-bottom:1px solid #e5e7eb}.apply-methodology-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#11182780;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.apply-methodology-modal{background:#fff;border-radius:.75rem;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;width:100%;max-width:480px;display:flex;flex-direction:column;overflow:hidden}.apply-methodology-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;border-bottom:1px solid #e5e7eb}.apply-methodology-modal-header h3{margin:0;font-size:1rem;font-weight:600;color:#111827}.apply-methodology-modal-close{background:transparent;border:none;font-size:1.5rem;color:#6b7280;cursor:pointer;padding:0;line-height:1;width:2rem;height:2rem;border-radius:.375rem}.apply-methodology-modal-close:hover{background:#f3f4f6;color:#111827}.apply-methodology-modal-body{padding:1.5rem;display:flex;flex-direction:column;gap:.5rem}.apply-methodology-modal-label{font-size:.75rem;font-weight:500;color:#6b7280;text-transform:uppercase;letter-spacing:.03em}.apply-methodology-modal-select{width:100%;padding:.625rem .75rem;border:1px solid #d1d5db;border-radius:.5rem;font-size:.85rem;color:#111827;background:#fff}.apply-methodology-modal-select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.apply-methodology-modal-select:disabled{background:#f9fafb;color:#9ca3af;cursor:not-allowed}.apply-methodology-modal-empty{color:#6b7280;font-size:.85rem;text-align:center;padding:1rem 0;margin:0}.apply-methodology-modal-error{color:#dc2626;font-size:.8rem;margin:.5rem 0 0}.apply-methodology-modal-footer{display:flex;justify-content:flex-end;gap:.5rem;padding:1rem 1.5rem;border-top:1px solid #e5e7eb;background:#f9fafb}.apply-methodology-modal-btn{padding:.5rem 1rem;border-radius:.5rem;font-size:.85rem;font-weight:500;cursor:pointer;border:1px solid #d1d5db;background:#fff;color:#374151;transition:background .15s}.apply-methodology-modal-btn:hover:not(:disabled){background:#f3f4f6}.apply-methodology-modal-btn:disabled{opacity:.5;cursor:not-allowed}.apply-methodology-modal-btn--primary{background:#2563eb;border-color:#2563eb;color:#fff}.apply-methodology-modal-btn--primary:hover:not(:disabled){background:#1d4ed8;border-color:#1d4ed8}.bi-page{background:#f8fafc;min-height:100vh}.bi-breadcrumb{display:flex;align-items:center;gap:.4rem;padding:.65rem 4%;background:#fff;border-bottom:1px solid #e5e7eb;font-size:.8rem;color:#6b7280}.bi-breadcrumb a{color:#2563eb;text-decoration:none}.bi-breadcrumb a:hover{text-decoration:underline}.bi-breadcrumb-sep{color:#d1d5db}.bi-breadcrumb-current{color:#374151;font-weight:500}.bi-info-bar{display:flex;align-items:center;gap:1.5rem;padding:.85rem 4%;background:#fff;border-bottom:1px solid #e5e7eb;flex-wrap:wrap}.bi-info-method{font-size:.85rem;font-weight:600;color:#374151}.bi-info-context{font-size:.8rem;color:#6b7280}.bi-info-progress-wrap{display:flex;align-items:center;gap:.5rem;margin-left:auto}.bi-info-progress-track{width:120px;height:7px;background:#f1f5f9;border-radius:9999px;overflow:hidden}.bi-info-progress-fill{height:100%;background:#2563eb;border-radius:9999px;transition:width .4s}.bi-info-progress-pct{font-size:.8rem;font-weight:700;color:#2563eb;min-width:2.5rem;text-align:right}.bi-status-badge{display:inline-flex;align-items:center;padding:.2rem .6rem;border-radius:9999px;font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.bi-status-active{background:#dbeafe;color:#1d4ed8}.bi-status-paused{background:#fef9c3;color:#92400e}.bi-status-completed{background:#dcfce7;color:#166534}.bi-status-cancelled{background:#f1f5f9;color:#6b7280}.bi-kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;padding:1.25rem 4%}@media (max-width: 900px){.bi-kpi-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 500px){.bi-kpi-grid{grid-template-columns:1fr}}.bi-kpi-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:1.1rem 1.25rem}.bi-kpi-label{font-size:.72rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.35rem}.bi-kpi-value{font-size:1.85rem;font-weight:700;color:#0f172a;line-height:1}.bi-kpi-sub{font-size:.75rem;color:#6b7280;margin-top:.3rem}.bi-kpi-value-green{color:#16a34a}.bi-kpi-value-red{color:#dc2626}.bi-kpi-value-amber{color:#d97706}.bi-tab-bar{display:flex;gap:0;border-bottom:2px solid #e5e7eb;padding:0 4%;background:#fff;overflow-x:auto}.bi-tab-btn{padding:.7rem 1.4rem;border:none;background:none;font-size:.875rem;font-weight:500;color:#6b7280;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px;white-space:nowrap;transition:color .15s}.bi-tab-btn:hover{color:#374151}.bi-tab-btn.active{color:#2563eb;border-bottom-color:#2563eb;font-weight:600}.bi-tab-content{padding:1.5rem 4%}.bi-section-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:1.25rem}.bi-section-title{font-size:.875rem;font-weight:600;color:#374151;margin-bottom:1rem}.bi-section-subtitle{font-size:.75rem;color:#6b7280;margin-bottom:.75rem}.bi-production-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}@media (max-width: 800px){.bi-production-grid{grid-template-columns:1fr}}.bi-step-list{display:flex;flex-direction:column;gap:.6rem}.bi-step-row{display:flex;align-items:center;gap:.65rem}.bi-step-num{width:22px;height:22px;border-radius:50%;background:#f1f5f9;display:flex;align-items:center;justify-content:center;font-size:.65rem;font-weight:700;color:#6b7280;flex-shrink:0}.bi-step-num-done{background:#dcfce7;color:#16a34a}.bi-step-num-overdue{background:#fee2e2;color:#dc2626}.bi-step-name{flex:1;font-size:.78rem;color:#374151;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bi-step-bar-track{width:80px;height:6px;background:#f1f5f9;border-radius:9999px;overflow:hidden;flex-shrink:0}.bi-step-bar-fill{height:100%;border-radius:9999px}.bi-step-bar-pending{background:#94a3b8}.bi-step-bar-completed{background:#22c55e}.bi-step-bar-overdue{background:#ef4444}.bi-step-date{font-size:.7rem;color:#9ca3af;flex-shrink:0;min-width:70px;text-align:right}.bi-scurve-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:2.5rem 1rem;text-align:center}.bi-scurve-empty p{font-size:.825rem;color:#6b7280;max-width:240px}.bi-gantt-wrap{overflow-x:auto}.bi-gantt-header{display:flex;align-items:center;margin-bottom:.5rem}.bi-gantt-label-col{width:160px;flex-shrink:0;font-size:.7rem;color:#6b7280;font-weight:600;text-transform:uppercase}.bi-gantt-track-col{flex:1;font-size:.7rem;color:#6b7280}.bi-gantt-row{display:flex;align-items:center;min-height:36px;border-bottom:1px solid #f1f5f9}.bi-gantt-row:last-child{border-bottom:none}.bi-gantt-label{width:160px;flex-shrink:0;font-size:.78rem;color:#374151;padding-right:.75rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bi-gantt-track{flex:1;position:relative;height:22px;background:#f8fafc;border-radius:4px;min-width:200px}.bi-gantt-bar{position:absolute;height:100%;border-radius:4px;display:flex;align-items:center;padding:0 6px;min-width:6px;overflow:hidden}.bi-gantt-bar-label{font-size:.68rem;color:#fff;font-weight:600;white-space:nowrap}.bi-gantt-no-dates{flex:1;display:flex;align-items:center;gap:.5rem}.bi-gantt-fallback-bar{flex:1;height:8px;background:#f1f5f9;border-radius:9999px;overflow:hidden}.bi-gantt-fallback-fill{height:100%;border-radius:9999px;background:#2563eb}.bi-gantt-no-date-label{font-size:.7rem;color:#9ca3af;white-space:nowrap}.bi-gantt-legend{display:flex;gap:1rem;margin-top:.75rem;flex-wrap:wrap}.bi-gantt-legend-item{display:flex;align-items:center;gap:.35rem;font-size:.72rem;color:#6b7280}.bi-gantt-legend-dot{width:10px;height:10px;border-radius:2px;flex-shrink:0}.bi-budget-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1.25rem}@media (max-width: 600px){.bi-budget-kpis{grid-template-columns:1fr}}.bi-budget-kpi{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:.85rem 1rem}.bi-budget-kpi-label{font-size:.7rem;color:#6b7280;font-weight:600;text-transform:uppercase;letter-spacing:.04em;margin-bottom:.3rem}.bi-budget-kpi-value{font-size:1.4rem;font-weight:700;color:#0f172a}.bi-budget-kpi-sub{font-size:.7rem;color:#9ca3af;margin-top:.2rem}.bi-budget-table{width:100%;border-collapse:collapse;font-size:.8rem}.bi-budget-table th{text-align:left;padding:.5rem .75rem;font-size:.7rem;font-weight:600;text-transform:uppercase;color:#6b7280;letter-spacing:.04em;border-bottom:1px solid #e5e7eb}.bi-budget-table td{padding:.6rem .75rem;color:#374151;border-bottom:1px solid #f1f5f9;vertical-align:middle}.bi-budget-table tr:last-child td{border-bottom:none}.bi-budget-table tr:hover td{background:#f8fafc}.bi-budget-cat-badge{display:inline-block;padding:.15rem .5rem;border-radius:4px;font-size:.68rem;font-weight:600;background:#f1f5f9;color:#475569}.bi-variance-pos{color:#16a34a;font-weight:600}.bi-variance-neg{color:#dc2626;font-weight:600}.bi-risks-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}@media (max-width: 800px){.bi-risks-grid{grid-template-columns:1fr}}.bi-matrix-wrap{position:relative}.bi-matrix-y-label{position:absolute;left:-1.5rem;top:50%;transform:translateY(-50%) rotate(-90deg);font-size:.68rem;color:#6b7280;font-weight:600;text-transform:uppercase;white-space:nowrap}.bi-matrix-x-label{text-align:center;font-size:.68rem;color:#6b7280;font-weight:600;text-transform:uppercase;margin-top:.4rem}.bi-matrix-grid{display:grid;grid-template-columns:24px repeat(5,1fr);grid-template-rows:repeat(5,1fr) 24px;gap:2px;height:260px}.bi-matrix-axis-label{display:flex;align-items:center;justify-content:center;font-size:.62rem;color:#9ca3af;font-weight:600}.bi-matrix-cell{border-radius:3px;position:relative;cursor:default}.bi-matrix-dots{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:2px;padding:3px}.bi-matrix-dot{width:11px;height:11px;border-radius:50%;flex-shrink:0;cursor:pointer;position:relative}.bi-matrix-dot-active{background:#ef4444}.bi-matrix-dot-mitigated{background:#f59e0b}.bi-matrix-dot-closed{background:#94a3b8}.bi-matrix-count-badge{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:.65rem;font-weight:700;color:#fff;background:#00000059;border-radius:50%}.bi-risk-table{width:100%;border-collapse:collapse;font-size:.8rem}.bi-risk-table th{text-align:left;padding:.5rem .6rem;font-size:.68rem;font-weight:600;text-transform:uppercase;color:#6b7280;letter-spacing:.04em;border-bottom:1px solid #e5e7eb}.bi-risk-table td{padding:.55rem .6rem;color:#374151;border-bottom:1px solid #f1f5f9;vertical-align:middle}.bi-risk-table tr:last-child td{border-bottom:none}.bi-risk-table tr:hover td{background:#f8fafc}.bi-risk-score{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;font-size:.7rem;font-weight:700;flex-shrink:0}.bi-risk-score-high{background:#fee2e2;color:#dc2626}.bi-risk-score-medium{background:#fef9c3;color:#92400e}.bi-risk-score-low{background:#f1f5f9;color:#475569}.bi-risk-status-badge{display:inline-block;padding:.15rem .5rem;border-radius:9999px;font-size:.68rem;font-weight:600}.bi-risk-active{background:#fee2e2;color:#dc2626}.bi-risk-mitigated{background:#fef9c3;color:#92400e}.bi-risk-closed{background:#f1f5f9;color:#6b7280}.bi-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.bi-modal{background:#fff;border-radius:12px;width:100%;max-width:480px;padding:1.5rem;box-shadow:0 20px 60px #00000026;max-height:90vh;overflow-y:auto}.bi-modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.25rem}.bi-modal-title{font-size:1rem;font-weight:700;color:#0f172a}.bi-modal-close{background:none;border:none;cursor:pointer;color:#9ca3af;font-size:1.25rem;padding:.25rem;line-height:1}.bi-modal-close:hover{color:#374151}.bi-form-row{margin-bottom:.9rem}.bi-form-label{display:block;font-size:.78rem;font-weight:600;color:#374151;margin-bottom:.35rem}.bi-form-input,.bi-form-select,.bi-form-textarea{width:100%;padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:6px;font-size:.85rem;color:#374151;background:#fff;box-sizing:border-box;transition:border-color .15s}.bi-form-input:focus,.bi-form-select:focus,.bi-form-textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.bi-form-textarea{resize:vertical;min-height:70px}.bi-form-two-col{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.bi-slider-row{display:flex;align-items:center;gap:.75rem}.bi-form-range{flex:1;height:4px;accent-color:#2563eb}.bi-slider-value{font-size:.8rem;font-weight:700;color:#2563eb;min-width:36px;text-align:right}.bi-modal-actions{display:flex;gap:.75rem;justify-content:flex-end;margin-top:1.25rem;padding-top:1rem;border-top:1px solid #e5e7eb}.bi-btn-back{background:transparent;color:#6b7280;border:1px solid #e5e7eb;border-radius:6px;padding:.4rem .8rem;font-size:.8rem;cursor:pointer;transition:background .15s}.bi-btn-back:hover{background:#f3f4f6;color:#374151}.bi-btn-primary{background:#2563eb;color:#fff;border:none;border-radius:6px;padding:.5rem 1rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:background .15s}.bi-btn-primary:hover{background:#1d4ed8}.bi-btn-primary:disabled{background:#93c5fd;cursor:not-allowed}.bi-btn-secondary{background:#f8fafc;color:#374151;border:1px solid #e5e7eb;border-radius:6px;padding:.5rem 1rem;font-size:.875rem;cursor:pointer;transition:background .15s}.bi-btn-secondary:hover{background:#f1f5f9}.bi-btn-danger{background:#fef2f2;color:#ef4444;border:1px solid #fecaca;border-radius:6px;padding:.35rem .7rem;font-size:.78rem;cursor:pointer;transition:background .15s}.bi-btn-danger:hover{background:#fee2e2}.bi-btn-icon{background:none;border:none;cursor:pointer;color:#9ca3af;padding:.2rem;border-radius:4px;font-size:.9rem;transition:color .15s}.bi-btn-icon:hover{color:#374151}.bi-add-btn{display:flex;align-items:center;gap:.4rem;background:none;border:1px dashed #d1d5db;border-radius:6px;padding:.45rem .85rem;font-size:.8rem;color:#6b7280;cursor:pointer;width:100%;justify-content:center;margin-top:.75rem;transition:border-color .15s,color .15s}.bi-add-btn:hover{border-color:#2563eb;color:#2563eb}.bi-loading{display:flex;align-items:center;justify-content:center;height:220px;gap:.75rem;color:#6b7280;font-size:.875rem}.bi-spinner{width:20px;height:20px;border:2px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;animation:bi-spin .7s linear infinite}@keyframes bi-spin{to{transform:rotate(360deg)}}.bi-empty{text-align:center;padding:2.5rem 1rem;color:#6b7280}.bi-empty-icon{font-size:2.25rem;margin-bottom:.6rem}.bi-empty p{font-size:.825rem;margin-bottom:1rem}.bi-dates-grid{display:flex;flex-direction:column;gap:.6rem;max-height:350px;overflow-y:auto;padding-right:.25rem}.bi-dates-row{display:flex;align-items:center;gap:.75rem}.bi-dates-step-label{flex:1;font-size:.78rem;color:#374151;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bi-dates-input{width:135px;flex-shrink:0;padding:.35rem .5rem;border:1px solid #d1d5db;border-radius:5px;font-size:.78rem;color:#374151}.bi-dates-input:focus{outline:none;border-color:#2563eb}.bi-snapshot-form{display:flex;gap:.6rem;flex-wrap:wrap;align-items:flex-end;margin-top:.75rem;padding-top:.75rem;border-top:1px solid #e5e7eb}.bi-snapshot-form .bi-form-row{margin-bottom:0;flex:1;min-width:100px}.bi-chart-container{width:100%;height:260px}.bi-info-links{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;margin-left:auto}.bi-info-link-btn{background:none;border:1px solid #2563eb;color:#2563eb;border-radius:4px;padding:.2rem .6rem;font-size:.75rem;font-weight:600;cursor:pointer;white-space:nowrap}.bi-info-link-btn:hover{background:#eff6ff}.bi-tasks-kpi-strip{display:flex;align-items:center;gap:1.5rem;padding:.75rem 1rem;background:#fff;border:1px solid #e5e7eb;border-radius:8px;margin-bottom:1rem;flex-wrap:wrap}.bi-tasks-kpi-item{display:flex;flex-direction:column;align-items:center;gap:.1rem}.bi-tasks-kpi-num{font-size:1.3rem;font-weight:700;color:#374151}.bi-tasks-kpi-lbl{font-size:.7rem;color:#6b7280;text-transform:uppercase;letter-spacing:.03em}.bi-tasks-kpi-overdue .bi-tasks-kpi-num{color:#ef4444}.bi-tasks-kanban{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem}@media (max-width: 900px){.bi-tasks-kanban{grid-template-columns:repeat(2,1fr)}}@media (max-width: 580px){.bi-tasks-kanban{grid-template-columns:1fr}}.bi-tasks-col{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.bi-tasks-col-header{display:flex;justify-content:space-between;align-items:center;padding:.5rem .75rem;background:#f1f5f9;border-bottom:1px solid #e5e7eb;font-size:.8rem;font-weight:600;color:#374151}.bi-tasks-col-count{background:#e5e7eb;color:#6b7280;border-radius:999px;padding:.1rem .45rem;font-size:.7rem;font-weight:700}.bi-tasks-col-body{padding:.5rem;display:flex;flex-direction:column;gap:.5rem;min-height:80px}.bi-tasks-empty-col{text-align:center;color:#9ca3af;font-size:.75rem;padding:1rem 0}.bi-task-card{background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:.6rem .75rem;font-size:.8rem}.bi-task-card-overdue{border-left:3px solid #ef4444}.bi-task-card-title{font-weight:600;color:#374151;margin-bottom:.35rem;line-height:1.3}.bi-task-card-meta{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.bi-task-priority{color:#fff;border-radius:3px;padding:.1rem .35rem;font-size:.65rem;font-weight:700;text-transform:capitalize}.bi-task-due{color:#6b7280;font-size:.72rem}.bi-task-due-overdue{color:#ef4444;font-weight:600}.bi-task-assignee{background:#dbeafe;color:#1d4ed8;border-radius:999px;width:22px;height:22px;display:flex;align-items:center;justify-content:center;font-size:.65rem;font-weight:700;margin-left:auto}.bi-task-subtasks{margin-top:.3rem;font-size:.7rem;color:#9ca3af}.bi-phases-section{margin-top:1.25rem}.bi-phases-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.85rem}.bi-phases-title{font-size:.875rem;font-weight:600;color:#374151;margin:0}.bi-phases-add-btn{display:inline-flex;align-items:center;gap:.3rem;background:#2563eb;color:#fff;border:none;border-radius:6px;padding:.4rem .85rem;font-size:.8rem;font-weight:500;cursor:pointer;transition:background .15s}.bi-phases-add-btn:hover{background:#1d4ed8}.bi-phases-list{display:flex;flex-direction:column;gap:.75rem}.bi-phases-empty{text-align:center;padding:2rem 1rem;color:#9ca3af;font-size:.825rem;border:1px dashed #e5e7eb;border-radius:8px}.bi-phase-card{border:1px solid #e5e7eb;border-radius:8px;background:#fff;overflow:hidden}.bi-phase-card-header{display:flex;align-items:center;gap:.65rem;padding:.75rem 1rem;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.bi-phase-card-header:hover{background:#f8fafc}.bi-phase-toggle{font-size:.7rem;color:#9ca3af;flex-shrink:0;width:16px;text-align:center;transition:transform .15s}.bi-phase-name{font-size:.85rem;font-weight:600;color:#374151;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bi-phase-dates{font-size:.75rem;color:#6b7280;white-space:nowrap;flex-shrink:0}.bi-phase-status-badge{display:inline-flex;align-items:center;padding:.15rem .55rem;border-radius:9999px;font-size:.68rem;font-weight:600;flex-shrink:0}.bi-phase-progress-wrap{display:flex;align-items:center;gap:.4rem;flex-shrink:0;min-width:80px}.bi-phase-progress-track{flex:1;height:5px;background:#f1f5f9;border-radius:9999px;overflow:hidden}.bi-phase-progress-fill{height:100%;border-radius:9999px;background:#2563eb;transition:width .3s}.bi-phase-progress-pct{font-size:.7rem;font-weight:600;color:#6b7280;min-width:28px;text-align:right}.bi-phase-actions{display:flex;align-items:center;gap:.2rem;flex-shrink:0}.bi-phase-action-btn{background:none;border:none;cursor:pointer;color:#9ca3af;padding:.25rem .3rem;border-radius:4px;font-size:.8rem;line-height:1;transition:color .15s,background .15s}.bi-phase-action-btn:hover{color:#374151;background:#f1f5f9}.bi-phase-action-btn.danger:hover{color:#ef4444;background:#fef2f2}.bi-phase-sprint-add{display:inline-flex;align-items:center;gap:.25rem;background:none;border:1px dashed #d1d5db;border-radius:5px;padding:.28rem .6rem;font-size:.75rem;color:#6b7280;cursor:pointer;transition:border-color .15s,color .15s;flex-shrink:0}.bi-phase-sprint-add:hover{border-color:#2563eb;color:#2563eb}.bi-phase-sprints{border-top:1px solid #f1f5f9;background:#f8fafc;padding:.5rem .75rem .65rem 2.25rem;display:flex;flex-direction:column;gap:.5rem}.bi-sprint-row{display:flex;align-items:center;gap:.6rem;padding:.55rem .75rem;background:#fff;border:1px solid #e5e7eb;border-radius:6px}.bi-sprint-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.bi-sprint-name{font-size:.8rem;font-weight:500;color:#374151;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bi-sprint-dates{font-size:.72rem;color:#9ca3af;white-space:nowrap;flex-shrink:0}.bi-sprint-status-badge{display:inline-flex;align-items:center;padding:.12rem .45rem;border-radius:9999px;font-size:.65rem;font-weight:600;flex-shrink:0}.bi-sprint-progress-wrap{display:flex;align-items:center;gap:.35rem;flex-shrink:0;min-width:70px}.bi-sprint-progress-track{flex:1;height:4px;background:#f1f5f9;border-radius:9999px;overflow:hidden}.bi-sprint-progress-fill{height:100%;border-radius:9999px;background:#2563eb}.bi-sprint-progress-pct{font-size:.68rem;font-weight:600;color:#6b7280;min-width:24px;text-align:right}.bi-sprint-actions{display:flex;align-items:center;gap:.15rem;flex-shrink:0}.bi-sprint-action-btn{background:none;border:none;cursor:pointer;color:#9ca3af;padding:.2rem .25rem;border-radius:4px;font-size:.75rem;line-height:1;transition:color .15s,background .15s}.bi-sprint-action-btn:hover{color:#374151;background:#f1f5f9}.bi-sprint-action-btn.danger:hover{color:#ef4444;background:#fef2f2}.bi-phase-sprints-empty{font-size:.75rem;color:#9ca3af;padding:.25rem 0}.bi-phases-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:1100;padding:1rem}.bi-phases-modal{background:#fff;border-radius:12px;width:100%;max-width:460px;padding:1.5rem;box-shadow:0 20px 60px #00000026;max-height:90vh;overflow-y:auto}.bi-phases-modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.25rem}.bi-phases-modal-title{font-size:1rem;font-weight:700;color:#0f172a}.bi-phases-modal-close{background:none;border:none;cursor:pointer;color:#9ca3af;font-size:1.25rem;padding:.25rem;line-height:1}.bi-phases-modal-close:hover{color:#374151}.bi-phases-modal-actions{display:flex;gap:.75rem;justify-content:flex-end;margin-top:1.25rem;padding-top:1rem;border-top:1px solid #e5e7eb}.bi-budget-group-header td{background:#f1f5f9;font-weight:600;font-size:.78rem;color:#374151;border-bottom:2px solid #e2e8f0;padding:.5rem .75rem}.bi-budget-total-row td{background:#f8fafc;font-weight:700;border-top:2px solid #374151}.bi-budget-progress-track{width:60px;height:6px;background:#e5e7eb;border-radius:3px;overflow:hidden;display:inline-block;vertical-align:middle}.bi-budget-progress-fill{height:100%;border-radius:3px;transition:width .3s}.tasks-container{padding:0;background:#f8fafc;height:100vh;overflow:hidden;display:flex;flex-direction:column}.tasks-header-compact{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.5rem;background:#fff;border-bottom:1px solid #e5e7eb;gap:1rem;flex-shrink:0}.tasks-header-left{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap}.tasks-header-compact h1{font-size:1.15rem;font-weight:600;color:#0f172a;margin:0}.tasks-header-stats-inline{display:flex;gap:1rem;font-size:.82rem;color:#64748b;flex-wrap:wrap}.tasks-header-stats-inline span{white-space:nowrap}.tasks-header-stats-inline b{color:#0f172a;font-weight:700;margin-right:.25rem}.tasks-header-stats-inline .stat-prog b{color:#eab308}.tasks-header-stats-inline .stat-overdue b{color:#ef4444}.tasks-header-stats-inline .stat-done b{color:#22c55e}.tasks-header-stats-inline .stat-support b{color:#8b5cf6}.tasks-stats{display:flex;gap:1rem;padding:1.5rem 4%;background:#fff;border-bottom:1px solid #f1f5f9;overflow-x:auto}.tasks-stat-card{display:flex;align-items:center;gap:.75rem;padding:.75rem 1.25rem;background:#f8fafc;border-radius:10px;min-width:140px}.tasks-stat-icon{width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:1.1rem}.tasks-stat-info{display:flex;flex-direction:column}.tasks-stat-value{font-size:1.3rem;font-weight:700;color:#0f172a;line-height:1}.tasks-stat-label{font-size:.75rem;color:#64748b;margin-top:2px}.tasks-phases-bar{display:flex;align-items:center;gap:.5rem;padding:.75rem 4%;background:#f8fafc;border-bottom:1px solid #e5e7eb;flex-wrap:wrap}.tasks-phases-label{font-size:.78rem;font-weight:600;color:#6b7280;margin-right:.25rem;white-space:nowrap}.tasks-phase-pill{display:inline-flex;align-items:center;gap:.35rem;padding:.3rem .75rem;border-radius:20px;border:1px solid #e5e7eb;background:#fff;color:#374151;font-size:.78rem;font-weight:500;cursor:pointer;transition:all .15s;white-space:nowrap}.tasks-phase-pill:hover{border-color:#2563eb;color:#2563eb}.tasks-phase-pill.active{background:#eff6ff;border-color:#2563eb;color:#2563eb;font-weight:600}.tasks-phase-pill-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 4px;background:#e5e7eb;border-radius:9px;font-size:.7rem;font-weight:600;color:#374151}.tasks-phase-pill.active .tasks-phase-pill-count{background:#bfdbfe;color:#1d4ed8}.tasks-controls{display:flex;align-items:center;justify-content:space-between;padding:.6rem 1.5rem;gap:1rem;flex-wrap:wrap;background:#fff;border-bottom:1px solid #e5e7eb;flex-shrink:0}.tasks-filters{display:flex;align-items:center;gap:.75rem}.tasks-filter-select{padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.85rem;color:#334155;background:#fff;cursor:pointer}.tasks-search-input{padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.85rem;width:200px;color:#334155}.tasks-search-input::-moz-placeholder{color:#94a3b8}.tasks-search-input::placeholder{color:#94a3b8}.tasks-actions{display:flex;align-items:center;gap:.75rem}.btn-new-task{display:flex;align-items:center;gap:.5rem;padding:.65rem 1.25rem;background:#2563eb;color:#fff;border:none;border-radius:10px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s ease}.btn-new-task:hover{background:#1d4ed8;box-shadow:0 4px 10px #2563eb33}.btn-support-toggle{display:flex;align-items:center;gap:.5rem;padding:.6rem 1rem;background:#fff;color:#334155;border:1px solid #e2e8f0;border-radius:8px;font-size:.85rem;cursor:pointer;position:relative}.btn-support-toggle:hover{background:#f8fafc}.support-badge{background:#ef4444;color:#fff;font-size:.7rem;font-weight:700;padding:1px 6px;border-radius:999px;min-width:18px;text-align:center}.kanban-layout{display:flex;flex:1;padding:1rem 1.5rem;gap:1rem;overflow-x:auto;align-items:stretch;min-height:0}.kanban-column{min-width:280px;max-width:300px;display:flex;flex-direction:column;background:#f4f6f8;border-radius:14px;padding:.75rem;height:100%;min-height:0}.kanban-column-header{padding:.5rem .5rem .75rem;display:flex;align-items:center;justify-content:space-between}.kanban-column-title{display:flex;align-items:center;gap:.5rem}.kanban-column-title h3{font-size:.9rem;font-weight:700;color:#0f172a;margin:0}.kanban-column-count{background:#e2e8f0;color:#475569;font-size:.7rem;font-weight:700;padding:2px 8px;border-radius:999px}.kanban-column-dot{width:10px;height:10px;border-radius:50%}.kanban-column-dot.pending{background:#94a3b8}.kanban-column-dot.in_progress{background:#3b82f6}.kanban-column-dot.in_review{background:#f59e0b}.kanban-column-dot.completed{background:#22c55e}.kanban-cards{display:flex;flex-direction:column;gap:.75rem;overflow-y:auto;padding:.25rem;flex:1;min-height:0}.kanban-drop-zone{min-height:60px;border:2px dashed transparent;border-radius:10px;transition:border-color .2s,background .2s}.kanban-drop-zone.over{border-color:#3b82f6;background:#3b82f60d}.task-card{background:#fff;border-radius:12px;padding:1rem;cursor:grab;border:1px solid #e5e7eb;box-shadow:0 1px 3px #0000000d;transition:box-shadow .15s,transform .15s}.task-card:hover{box-shadow:0 4px 12px #00000014}.task-card.dragging{opacity:.5;box-shadow:0 8px 25px #00000026;transform:rotate(2deg)}.task-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem;margin-bottom:.5rem}.task-card-title{font-size:.9rem;font-weight:600;color:#0f172a;line-height:1.3;cursor:pointer}.task-card-title:hover{color:#3b82f6}.priority-badge{font-size:.65rem;font-weight:700;padding:2px 8px;border-radius:999px;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}.priority-badge.alta{background:#fef2f2;color:#dc2626}.priority-badge.media{background:#fffbeb;color:#d97706}.priority-badge.baja{background:#f0fdf4;color:#16a34a}.task-card-tags{display:flex;gap:.35rem;flex-wrap:wrap;margin-bottom:.5rem}.task-tag{font-size:.65rem;padding:2px 6px;background:#eff6ff;color:#3b82f6;border-radius:4px}.task-card-progress{margin-bottom:.5rem}.progress-bar-bg{height:4px;background:#e2e8f0;border-radius:999px;overflow:hidden}.progress-bar-fill{height:100%;border-radius:999px;transition:width .3s}.progress-label{font-size:.7rem;color:#64748b;margin-top:2px}.task-card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:.5rem}.task-card-meta{display:flex;align-items:center;gap:.75rem;font-size:.75rem;color:#64748b}.task-card-meta .overdue{color:#ef4444;font-weight:600}.task-card-assignee{width:26px;height:26px;border-radius:50%;background:#e2e8f0;color:#475569;font-size:.65rem;font-weight:700;display:flex;align-items:center;justify-content:center}.task-card-indicators{display:flex;align-items:center;gap:.5rem;font-size:.75rem;color:#94a3b8}.task-card-indicators svg{width:14px;height:14px}.support-indicator{color:#f59e0b}.task-drawer-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000004d;z-index:50}.task-drawer{position:fixed;top:0;right:0;bottom:0;width:580px;max-width:100vw;background:#fff;z-index:51;display:flex;flex-direction:column;box-shadow:-4px 0 20px #0000001a}.task-drawer-header{padding:1.5rem;border-bottom:1px solid #f1f5f9;display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.task-drawer-header h2{font-size:1.25rem;font-weight:700;color:#0f172a;margin:0}.task-drawer-close{background:none;border:none;font-size:1.5rem;color:#64748b;cursor:pointer;padding:0;line-height:1}.task-drawer-body{flex:1;overflow-y:auto;padding:1.5rem}.task-drawer-section{margin-bottom:1.5rem}.task-drawer-section h3{font-size:.85rem;font-weight:700;color:#475569;margin:0 0 .75rem;text-transform:uppercase;letter-spacing:.03em}.task-field-row{display:flex;align-items:center;gap:1rem;margin-bottom:.75rem}.task-field-label{font-size:.8rem;color:#64748b;min-width:100px}.task-field-value{font-size:.85rem;color:#0f172a;flex:1}.task-field-value select,.task-field-value input{width:100%;padding:.4rem .6rem;border:1px solid #e2e8f0;border-radius:6px;font-size:.85rem;color:#334155}.task-field-value textarea{width:100%;padding:.6rem;border:1px solid #e2e8f0;border-radius:6px;font-size:.85rem;color:#334155;min-height:80px;resize:vertical}.progress-slider{display:flex;align-items:center;gap:.75rem}.progress-slider input[type=range]{flex:1;accent-color:#3b82f6}.progress-slider span{font-size:.85rem;font-weight:600;color:#0f172a;min-width:40px;text-align:right}.subtask-list{display:flex;flex-direction:column;gap:.35rem}.subtask-item{display:flex;align-items:center;gap:.5rem;padding:.4rem 0}.subtask-item input[type=checkbox]{accent-color:#3b82f6;width:16px;height:16px}.subtask-item span{font-size:.85rem;color:#334155}.subtask-item span.done{text-decoration:line-through;color:#94a3b8}.subtask-item .subtask-delete{margin-left:auto;background:none;border:none;color:#94a3b8;cursor:pointer;font-size:.9rem;padding:0 4px;opacity:0;transition:opacity .15s}.subtask-item:hover .subtask-delete{opacity:1}.subtask-add{display:flex;align-items:center;gap:.5rem;margin-top:.5rem}.subtask-add input{flex:1;padding:.4rem .6rem;border:1px solid #e2e8f0;border-radius:6px;font-size:.85rem}.subtask-add button{padding:.4rem .75rem;background:#0f172a;color:#fff;border:none;border-radius:6px;font-size:.8rem;cursor:pointer}.tags-container{display:flex;gap:.35rem;flex-wrap:wrap;align-items:center}.tag-chip{display:flex;align-items:center;gap:.25rem;font-size:.75rem;padding:3px 8px;background:#eff6ff;color:#3b82f6;border-radius:999px}.tag-chip button{background:none;border:none;color:#3b82f6;cursor:pointer;font-size:.85rem;padding:0;line-height:1}.tag-add-input{padding:3px 8px;border:1px dashed #cbd5e1;border-radius:999px;font-size:.75rem;width:80px;color:#334155}.collaborators-list{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.collaborator-chip{display:flex;align-items:center;gap:.35rem;padding:4px 10px;background:#f1f5f9;border-radius:999px;font-size:.8rem;color:#334155}.collaborator-chip button{background:none;border:none;color:#94a3b8;cursor:pointer;font-size:.85rem;padding:0}.comments-timeline{display:flex;flex-direction:column;gap:1rem}.comment-item{display:flex;gap:.75rem}.comment-avatar{width:32px;height:32px;border-radius:50%;background:#e2e8f0;color:#475569;font-size:.7rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}.comment-content{flex:1}.comment-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.25rem}.comment-author{font-size:.8rem;font-weight:600;color:#0f172a}.comment-time{font-size:.7rem;color:#94a3b8}.comment-text{font-size:.85rem;color:#334155;line-height:1.5}.comment-input-area{display:flex;gap:.5rem;margin-top:1rem}.comment-input-area textarea{flex:1;padding:.6rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.85rem;resize:none;min-height:60px}.comment-input-area button{align-self:flex-end;padding:.5rem 1rem;background:#0f172a;color:#fff;border:none;border-radius:8px;font-size:.8rem;cursor:pointer}.attachments-list{display:flex;flex-direction:column;gap:.5rem}.attachment-item{display:flex;align-items:center;gap:.75rem;padding:.5rem .75rem;background:#f8fafc;border-radius:8px;border:1px solid #f1f5f9}.attachment-icon{width:32px;height:32px;border-radius:6px;background:#eff6ff;color:#3b82f6;display:flex;align-items:center;justify-content:center;font-size:.85rem}.attachment-info{flex:1}.attachment-name{font-size:.8rem;font-weight:600;color:#0f172a}.attachment-size{font-size:.7rem;color:#94a3b8}.attachment-actions{display:flex;gap:.5rem}.attachment-actions button,.attachment-actions a{background:none;border:none;color:#64748b;cursor:pointer;font-size:.8rem;padding:4px;text-decoration:none}.attachment-actions button:hover,.attachment-actions a:hover{color:#0f172a}.upload-area{border:2px dashed #e2e8f0;border-radius:8px;padding:1rem;text-align:center;cursor:pointer;transition:border-color .15s;margin-top:.5rem}.upload-area:hover{border-color:#3b82f6}.upload-area p{font-size:.8rem;color:#64748b;margin:0}.task-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;z-index:60;display:flex;align-items:center;justify-content:center}.task-modal{background:#fff;border-radius:16px;width:520px;max-width:95vw;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #00000026}.task-modal-header{padding:1.5rem;border-bottom:1px solid #f1f5f9;display:flex;align-items:center;justify-content:space-between}.task-modal-header h2{font-size:1.15rem;font-weight:700;color:#0f172a;margin:0}.task-modal-close{background:none;border:none;font-size:1.3rem;color:#64748b;cursor:pointer}.task-modal-body{padding:1.5rem}.task-modal-body .form-group{margin-bottom:1rem}.task-modal-body .form-group label{display:block;font-size:.8rem;font-weight:600;color:#475569;margin-bottom:.35rem}.task-modal-body .form-group input,.task-modal-body .form-group select,.task-modal-body .form-group textarea{width:100%;padding:.6rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.85rem;color:#334155}.task-modal-body .form-group textarea{min-height:80px;resize:vertical}.task-modal-body .form-row{display:flex;gap:1rem}.task-modal-body .form-row .form-group{flex:1}.task-modal-footer{padding:1rem 1.5rem;border-top:1px solid #f1f5f9;display:flex;justify-content:flex-end;gap:.75rem}.btn-cancel{padding:.6rem 1.25rem;background:#fff;color:#334155;border:1px solid #e2e8f0;border-radius:8px;font-size:.85rem;cursor:pointer}.btn-submit{padding:.6rem 1.25rem;background:#0f172a;color:#fff;border:none;border-radius:8px;font-size:.85rem;font-weight:600;cursor:pointer}.btn-submit:hover{background:#1e293b}.support-panel{min-width:300px;max-width:300px;background:#fff;border-left:1px solid #f1f5f9;display:flex;flex-direction:column;max-height:calc(100vh - 300px)}.support-panel-header{padding:1rem;border-bottom:1px solid #f1f5f9;display:flex;align-items:center;justify-content:space-between}.support-panel-header h3{font-size:.9rem;font-weight:700;color:#0f172a;margin:0}.support-panel-body{flex:1;overflow-y:auto;padding:.75rem}.support-request-card{padding:.75rem;border:1px solid #f1f5f9;border-radius:8px;margin-bottom:.5rem;cursor:pointer;transition:background .15s}.support-request-card:hover{background:#f8fafc}.support-request-title{font-size:.85rem;font-weight:600;color:#0f172a;margin-bottom:.25rem}.support-request-meta{font-size:.75rem;color:#64748b;display:flex;align-items:center;gap:.5rem}.urgency-badge{font-size:.65rem;font-weight:700;padding:1px 6px;border-radius:999px;text-transform:uppercase}.urgency-badge.critical{background:#fef2f2;color:#dc2626}.urgency-badge.high{background:#fff7ed;color:#ea580c}.urgency-badge.normal{background:#eff6ff;color:#2563eb}.urgency-badge.low{background:#f0fdf4;color:#16a34a}.tasks-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;height:300px;color:#64748b}.tasks-loading-spinner{width:32px;height:32px;border:3px solid #e2e8f0;border-top-color:#6366f1;border-radius:50%;animation:tasksSpin .7s linear infinite}@keyframes tasksSpin{to{transform:rotate(360deg)}}.tasks-toast-container{position:fixed;top:20px;right:20px;z-index:100;display:flex;flex-direction:column;gap:8px}.tasks-toast{padding:.75rem 1.25rem;border-radius:8px;font-size:.85rem;font-weight:500;box-shadow:0 4px 12px #0000001a;animation:toastSlideIn .3s ease}.tasks-toast.success{background:#f0fdf4;color:#166534;border:1px solid #bbf7d0}.tasks-toast.error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}@keyframes toastSlideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.kanban-empty{text-align:center;padding:2rem 1rem;color:#94a3b8;font-size:.8rem}@media (max-width: 768px){.kanban-layout{padding:0 1rem 2rem}.kanban-column{min-width:280px;max-width:280px}.task-drawer{width:100vw}.tasks-controls,.tasks-stats{padding:1rem}.support-panel{display:none}}.tasks-project-select{border-color:#2563eb!important;background:#eff6ff;color:#2563eb;font-weight:500}.task-card-created-date{font-size:.65rem;color:#9ca3af;display:block;margin-bottom:.2rem}.tasks-projects-strip{padding:.5rem 1.5rem;background:#fff;border-bottom:1px solid #f1f5f9;flex-shrink:0;max-height:220px;overflow-y:auto}.tasks-projects-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}.tasks-projects-title{font-size:.85rem;font-weight:700;color:#374151;margin:0}.tasks-projects-toggle{background:none;border:none;color:#2563eb;font-size:.8rem;font-weight:600;cursor:pointer;padding:.25rem .5rem}.tasks-projects-toggle:hover{text-decoration:underline}.tasks-projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.75rem}.tasks-project-card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;padding:1rem;cursor:pointer;transition:all .15s}.tasks-project-card:hover{border-color:#2563eb;box-shadow:0 2px 8px #2563eb14}.tasks-project-card-title{font-size:.85rem;font-weight:700;color:#111827;margin-bottom:.15rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tasks-project-card-company{font-size:.75rem;color:#6b7280;margin-bottom:.5rem}.tasks-project-card-progress{display:flex;align-items:center;gap:.5rem}.tasks-progress-bar-bg{flex:1;height:4px;background:#e5e7eb;border-radius:2px}.tasks-progress-bar-fill{height:100%;border-radius:2px;transition:width .3s}.tasks-project-card-meta{font-size:.7rem;color:#9ca3af;white-space:nowrap}@media (max-width: 768px){.tasks-projects-grid{grid-template-columns:1fr 1fr}}
