.crm-container{color:#e2e8f0;background-color:#0b0f19;flex-direction:column;min-height:100vh;font-family:Inter,sans-serif;display:flex}.crm-login-screen{background:radial-gradient(circle at 10% 20%,#1b365d4d 0%,#0b0f19 90%);flex:1;justify-content:center;align-items:center;padding:24px;animation:.4s ease-out fadeIn;display:flex}.crm-login-card{-webkit-backdrop-filter:blur(16px);text-align:center;background:#1e293b73;border:1px solid #ffffff14;border-radius:16px;width:100%;max-width:440px;padding:40px;box-shadow:0 20px 40px #0000004d}.crm-login-logo{color:#fff;margin-bottom:8px;font-family:Outfit,sans-serif;font-size:2rem;font-weight:700}.crm-login-logo span{color:#3b82f6}.crm-login-title{color:#94a3b8;margin-bottom:32px;font-size:1.1rem}.crm-login-form{text-align:left}.crm-login-form .form-group{margin-bottom:20px}.crm-login-form .form-label{color:#cbd5e1;margin-bottom:6px;font-size:.85rem;display:block}.crm-login-form input{color:#fff;background:#0f172a99;border:1px solid #ffffff1a;border-radius:8px;outline:none;width:100%;padding:12px 16px;transition:all .2s}.crm-login-form input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f633}.crm-login-btn{color:#fff;cursor:pointer;background:#3b82f6;border:none;border-radius:8px;width:100%;margin-top:10px;padding:12px;font-family:inherit;font-weight:600;transition:all .2s}.crm-login-btn:hover{background:#2563eb;transform:translateY(-1px)}.crm-login-error{color:#ef4444;text-align:center;background:#ef44441a;border:1px solid #ef444433;border-radius:6px;margin-bottom:20px;padding:10px;font-size:.85rem}.crm-demo-login-divider{color:#64748b;align-items:center;margin:24px 0;font-size:.8rem;display:flex}.crm-demo-login-divider:before,.crm-demo-login-divider:after{content:"";background:#ffffff14;flex:1;height:1px}.crm-demo-login-divider span{padding:0 10px}.crm-quick-login-btn{color:#cbd5e1;cursor:pointer;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;justify-content:center;align-items:center;gap:8px;width:100%;padding:10px;font-size:.9rem;transition:all .2s;display:flex}.crm-quick-login-btn:hover{color:#fff;background:#ffffff1a;border-color:#fff3}.crm-login-credentials-tip{color:#64748b;margin-top:20px;font-size:.75rem;line-height:1.4}.crm-dashboard-layout{background:#0f172a;flex:1;height:100vh;display:flex;overflow:hidden}.crm-sidebar{background:#0b0f19;border-right:1px solid #ffffff0d;flex-direction:column;flex-shrink:0;width:260px;padding:24px 0;display:flex}.crm-sidebar-logo{color:#fff;margin-bottom:40px;padding:0 24px;font-family:Outfit,sans-serif;font-size:1.5rem;font-weight:700}.crm-sidebar-logo span{color:#3b82f6}.crm-sidebar-nav{flex-direction:column;flex:1;gap:4px;padding:0 12px;display:flex}.crm-nav-btn{color:#94a3b8;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;align-items:center;gap:12px;width:100%;padding:12px 16px;font-size:.95rem;font-weight:500;transition:all .2s;display:flex}.crm-nav-btn:hover{color:#f1f5f9;background:#ffffff08}.crm-nav-btn.active{color:#3b82f6;background:#3b82f61a;font-weight:600}.crm-sidebar-footer{padding:0 12px}.crm-logout-btn{color:#f87171;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;align-items:center;gap:12px;width:100%;padding:12px 16px;font-size:.95rem;font-weight:500;transition:all .2s;display:flex}.crm-logout-btn:hover{background:#ef444414}.crm-main-viewport{background:#0f172a;flex-direction:column;flex:1;min-width:0;height:100vh;display:flex;overflow:hidden}.crm-topbar{background:#0b0f19;border-bottom:1px solid #ffffff0d;justify-content:space-between;align-items:center;height:70px;padding:0 32px;display:flex}.crm-topbar-title h1{color:#fff;margin:0;font-family:Outfit,sans-serif;font-size:1.4rem}.crm-user-profile{align-items:center;gap:12px;display:flex}.crm-user-avatar{color:#fff;background:linear-gradient(135deg,#3b82f6 0%,#10b981 100%);border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-size:.9rem;font-weight:700;display:flex}.crm-user-name{color:#cbd5e1;font-size:.9rem;font-weight:500}.crm-content-area{flex:1;padding:32px;overflow-y:auto}.crm-stats-grid{grid-template-columns:repeat(4,1fr);gap:24px;margin-bottom:32px;display:grid}.crm-stat-card{background:#1e293b;border:1px solid #ffffff08;border-radius:12px;justify-content:space-between;align-items:center;padding:24px;display:flex}.crm-stat-info h3{color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px;font-size:.85rem}.crm-stat-value{color:#fff;font-family:Outfit,sans-serif;font-size:1.8rem;font-weight:700}.crm-stat-icon{border-radius:10px;justify-content:center;align-items:center;width:48px;height:48px;font-size:1.3rem;display:flex}.crm-stat-icon.blue{color:#3b82f6;background:#3b82f626}.crm-stat-icon.teal{color:#2dd4bf;background:#14b8a626}.crm-stat-icon.indigo{color:#6366f1;background:#6366f126}.crm-stat-icon.emerald{color:#10b981;background:#10b98126}.crm-overview-row{grid-template-columns:2fr 1fr;gap:32px;display:grid}.crm-panel{background:#1e293b;border:1px solid #ffffff08;border-radius:12px;padding:24px}.crm-panel-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.crm-panel-header h2{color:#fff;margin:0;font-family:Outfit,sans-serif;font-size:1.15rem}.crm-chart-container{flex-direction:column;align-items:center;display:flex}.crm-chart-svg{width:100%;height:220px;overflow:visible}.crm-chart-labels{color:#64748b;justify-content:space-between;width:90%;margin-top:12px;font-size:.75rem;display:flex}.crm-recent-feed{flex-direction:column;gap:16px;display:flex}.crm-feed-item{border-left:2px solid #3b82f64d;gap:12px;padding-left:12px;display:flex}.crm-feed-dot{background:#3b82f6;border-radius:50%;width:8px;height:8px;margin-top:6px}.crm-feed-content p{color:#cbd5e1;margin:0 0 2px;font-size:.85rem}.crm-feed-time{color:#64748b;font-size:.75rem}.crm-controls-row{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.crm-search-filter{flex:1;align-items:center;gap:12px;max-width:600px;display:flex}.crm-search-input-wrapper{flex:1;position:relative}.crm-search-icon{color:#64748b;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.crm-search-input{color:#fff;box-sizing:border-box;background:#1e293b;border:1px solid #ffffff0d;border-radius:8px;outline:none;width:100%;padding:10px 16px 10px 36px}.crm-search-input:focus{border-color:#3b82f6}.crm-filter-select{color:#cbd5e1;cursor:pointer;background:#1e293b;border:1px solid #ffffff0d;border-radius:8px;outline:none;padding:10px 16px}.crm-table-container{background:#1e293b;border:1px solid #ffffff08;border-radius:12px;overflow-x:auto}.crm-table{border-collapse:collapse;text-align:left;width:100%}.crm-table th{color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;background:#ffffff05;border-bottom:1px solid #ffffff0d;padding:16px 12px;font-size:.8rem;font-weight:600}.crm-table td{color:#cbd5e1;vertical-align:middle;border-bottom:1px solid #ffffff0d;padding:14px 12px;font-size:.9rem}.crm-table tr:last-child td{border-bottom:none}.crm-table tr:hover td{background:#ffffff03}.crm-badge{text-transform:capitalize;border-radius:50px;align-items:center;padding:4px 10px;font-size:.75rem;font-weight:600;display:inline-flex}.crm-badge.lead{color:#818cf8;background:#6366f126}.crm-badge.active{color:#34d399;background:#10b98126}.crm-badge.paused{color:#fbbf24;background:#f59e0b26}.crm-badge.completed{color:#94a3b8;background:#64748b26}.crm-badge.export{color:#60a5fa;background:#3b82f61a;border:1px solid #3b82f633}.crm-badge.outsourcing{color:#2dd4bf;background:#14b8a61a;border:1px solid #14b8a633}.crm-action-btn-sm{color:#94a3b8;cursor:pointer;background:0 0;border:1px solid #ffffff14;border-radius:6px;align-items:center;gap:4px;padding:6px 12px;font-size:.8rem;transition:all .2s;display:inline-flex}.crm-action-btn-sm:hover{color:#fff;background:#3b82f60d;border-color:#3b82f6}.crm-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#0009;justify-content:center;align-items:center;padding:24px;animation:.2s ease-out fadeIn;display:flex;position:fixed;inset:0}.crm-modal-card{background:#1e293b;border:1px solid #ffffff14;border-radius:12px;width:100%;max-width:550px;animation:.2s cubic-bezier(.16,1,.3,1) scaleUp;overflow:hidden;box-shadow:0 20px 40px #0006}.crm-modal-header{border-bottom:1px solid #ffffff0d;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.crm-modal-header h3{color:#fff;margin:0;font-family:Outfit,sans-serif;font-size:1.2rem}.crm-modal-close{color:#94a3b8;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;font-size:1.5rem;line-height:1;display:flex}.crm-modal-close:hover{color:#fff}.crm-modal-body{max-height:70vh;padding:24px;overflow-y:auto}.crm-modal-footer{background:#00000026;border-top:1px solid #ffffff0d;justify-content:flex-end;gap:12px;padding:16px 24px;display:flex}.crm-form-row{grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px;display:grid}.crm-modal-body label{color:#94a3b8;margin-bottom:6px;font-size:.8rem;display:block}.crm-modal-body input,.crm-modal-body select,.crm-modal-body textarea{color:#fff;box-sizing:border-box;background:#0f172a;border:1px solid #ffffff14;border-radius:6px;outline:none;width:100%;padding:10px 14px}.crm-modal-body input:focus,.crm-modal-body select:focus,.crm-modal-body textarea:focus{border-color:#3b82f6}.crm-outsourcing-grid{grid-template-columns:1fr 1fr;gap:32px;display:grid}.crm-candidates-list,.crm-payroll-list{flex-direction:column;gap:12px;display:flex}.crm-candidate-item,.crm-payroll-item{background:#0f172a;border:1px solid #ffffff08;border-radius:8px;justify-content:space-between;align-items:center;padding:16px;display:flex}.crm-cand-title{color:#fff;margin-bottom:2px;font-size:.95rem;font-weight:600}.crm-cand-meta{color:#64748b;font-size:.8rem}.crm-badge-sm{text-transform:capitalize;border-radius:4px;padding:2px 8px;font-size:.7rem;font-weight:600}.crm-badge-sm.onboarding{color:#60a5fa;background:#3b82f626}.crm-badge-sm.interviewing{color:#c084fc;background:#a855f726}.crm-badge-sm.offered{color:#facc15;background:#eab30826}.crm-badge-sm.active{color:#34d399;background:#10b98126}.crm-pay-badge{text-transform:capitalize;border-radius:4px;padding:2px 8px;font-size:.7rem;font-weight:600}.crm-pay-badge.ready{color:#34d399;background:#10b98126}.crm-pay-badge.pending{color:#fbbf24;background:#f59e0b26}.crm-pay-badge.sent{color:#94a3b8;background:#64748b26}.crm-export-pipeline-list{flex-direction:column;gap:24px;display:flex}.crm-export-project-card{background:#1e293b;border:1px solid #ffffff08;border-radius:12px;padding:24px}.crm-project-header{justify-content:space-between;align-items:flex-start;margin-bottom:20px;display:flex}.crm-proj-title h3{color:#fff;margin:0 0 6px;font-family:Outfit,sans-serif;font-size:1.15rem}.crm-proj-path{color:#94a3b8;background:#ffffff08;border-radius:4px;padding:4px 8px;font-size:.8rem;display:inline-block}.crm-proj-stages-bar{grid-template-columns:1fr 1fr 1fr;gap:12px;margin-bottom:24px;display:grid}.crm-proj-stage-step{background:#ffffff0d;border-radius:4px;height:8px;position:relative}.crm-proj-stage-step.active{background:#3b82f6;box-shadow:0 0 10px #3b82f680}.crm-proj-stage-step span{color:#64748b;white-space:nowrap;font-size:.7rem;position:absolute;top:14px;left:0}.crm-proj-stage-step.active span{color:#94a3b8;font-weight:500}.crm-checklist-title{color:#cbd5e1;margin-top:24px;margin-bottom:12px;font-size:.9rem;font-weight:600}.crm-checklist-grid{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.crm-checklist-item{cursor:pointer;-webkit-user-select:none;user-select:none;background:#0f172a;border:1px solid #ffffff08;border-radius:8px;align-items:center;gap:10px;padding:12px;transition:all .2s;display:flex}.crm-checklist-item:hover{background:#ffffff05;border-color:#3b82f64d}.crm-checklist-item.checked{background:#10b98108;border-color:#10b9814d}.crm-checkbox{color:#0000;border:1.5px solid #475569;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:18px;height:18px;transition:all .2s;display:flex}.crm-checklist-item.checked .crm-checkbox{color:#fff;background:#10b981;border-color:#10b981}.crm-checklist-item span{color:#94a3b8;font-size:.8rem}.crm-checklist-item.checked span{color:#cbd5e1}.crm-directory-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:24px;display:grid}.crm-contact-card{background:#1e293b;border:1px solid #ffffff08;border-radius:12px;flex-direction:column;gap:16px;padding:24px;display:flex}.crm-contact-header{border-bottom:1px solid #ffffff0d;padding-bottom:12px}.crm-contact-name{color:#fff;margin-bottom:4px;font-size:1.1rem;font-weight:600}.crm-contact-role{color:#3b82f6;font-size:.85rem;font-weight:500}.crm-contact-firm{color:#64748b;margin-top:2px;font-size:.8rem}.crm-contact-specialty{color:#cbd5e1;font-size:.85rem;line-height:1.4}.crm-contact-details{flex-direction:column;gap:8px;display:flex}.crm-contact-detail-item{color:#94a3b8;align-items:center;gap:10px;font-size:.85rem;display:flex}.crm-contact-detail-item span:hover{color:#fff}.crm-settings-container{flex-direction:column;gap:32px;display:flex}.crm-settings-section{border-top:1px solid #ffffff0d;margin-top:10px;padding-top:20px}.crm-sync-grid{grid-template-columns:repeat(3,1fr);gap:24px;margin-top:20px;display:grid}.crm-sync-card{background:#0f172a;border:1px solid #ffffff08;border-radius:8px;padding:20px}.crm-sync-card h3{color:#fff;margin-top:0;margin-bottom:16px;font-family:Outfit,sans-serif;font-size:.95rem}.crm-upload-label{color:#cbd5e1;text-align:center;cursor:pointer;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:6px;padding:8px 12px;font-size:.8rem;font-weight:500;transition:all .2s;display:block}.crm-upload-label:hover{color:#fff;background:#ffffff1a;border-color:#fff3}.btn-danger-crm{color:#fff;cursor:pointer;background:#ef4444;border:none;border-radius:6px;padding:10px 20px;font-family:inherit;font-weight:600;transition:all .2s}.btn-danger-crm:hover{background:#dc2626;box-shadow:0 0 10px #ef44444d}.btn-primary-crm-glowing{color:#fff;cursor:pointer;background:#3b82f6;border:none;border-radius:8px;justify-content:center;align-items:center;padding:10px 20px;font-family:inherit;font-weight:600;transition:all .2s;display:inline-flex}.btn-primary-crm-glowing:hover{background:#2563eb;box-shadow:0 0 12px #3b82f673}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes scaleUp{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@media (width<=1200px){.crm-stats-grid{grid-template-columns:repeat(2,1fr)}.crm-overview-row{grid-template-columns:1fr;gap:24px}}@media (width<=900px){.crm-sync-grid{grid-template-columns:1fr}.crm-outsourcing-grid{grid-template-columns:1fr;gap:24px}.crm-checklist-grid{grid-template-columns:1fr}}@media (width<=768px){.crm-dashboard-layout{flex-direction:column}.crm-sidebar{border-bottom:1px solid #ffffff0d;border-right:none;width:100%;padding:16px 0}.crm-sidebar-logo{margin-bottom:16px}.crm-stats-grid{grid-template-columns:1fr}.crm-topbar{padding:0 20px}.crm-content-area{padding:20px}.crm-controls-row{flex-direction:column;align-items:stretch}.crm-search-filter{flex-direction:column;align-items:stretch;max-width:100%}}.crm-nav-badge-count{color:#fff;background-color:#ef4444;border-radius:9999px;padding:2px 8px;font-size:.75rem;font-weight:700;position:absolute;top:50%;right:16px;transform:translateY(-50%);box-shadow:0 0 8px #ef444466}.crm-row-unread{background-color:#3b82f60a;border-left:3px solid #3b82f6}.crm-inbox-message{color:#cbd5e1;max-height:80px;padding-right:8px;font-size:.85rem;line-height:1.5;overflow-y:auto}.crm-inbox-message::-webkit-scrollbar{width:4px}.crm-inbox-message::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:4px}.crm-inbox-status-select{color:#fff;cursor:pointer;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:6px;outline:none;padding:4px 8px;font-size:.8rem;transition:all .2s}.crm-inbox-status-select.new{color:#60a5fa;background:#3b82f61a;border-color:#3b82f666}.crm-inbox-status-select.contacted{color:#fbbf24;background:#f59e0b1a;border-color:#f59e0b66}.crm-inbox-status-select.converted{color:#34d399;background:#10b9811a;border-color:#10b98166}.crm-inbox-status-select.archived{color:#94a3b8;background:#64748b1a;border-color:#64748b66}.crm-action-btn-sm.success{color:#34d399;background:#10b9811a;border-color:#10b98133}.crm-action-btn-sm.success:hover{color:#fff;background:#10b981}.crm-action-btn-sm.info{color:#60a5fa;background:#3b82f61a;border-color:#3b82f633}.crm-action-btn-sm.info:hover{color:#fff;background:#3b82f6}.crm-plans-layout{grid-template-columns:1fr 2fr;align-items:start;gap:32px;margin-top:8px;display:grid}.crm-plans-form .form-group{margin-bottom:16px}.crm-plans-select,.form-control-crm{color:#fff;background:#0f172a99;border:1px solid #ffffff1a;border-radius:8px;outline:none;width:100%;padding:10px 14px;font-family:inherit;font-size:.9rem;transition:all .2s}.crm-plans-select:focus,.form-control-crm:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.crm-plans-list{flex-direction:column;gap:12px;max-height:520px;padding-right:6px;display:flex;overflow-y:auto}.crm-plan-item{background:#0f172a66;border:1px solid #ffffff0d;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;transition:all .2s;display:flex}.crm-plan-item:hover{background:#1e293b66;border-color:#ffffff14}.crm-plan-item.completed{opacity:.6}.crm-plan-item.high{border-left:3px solid #ef4444}.crm-plan-item.medium{border-left:3px solid #f59e0b}.crm-plan-item.low{border-left:3px solid #10b981}.crm-plan-title{color:#fff;margin-bottom:4px;font-size:.95rem;font-weight:500}.crm-plan-meta{color:#64748b;align-items:center;gap:8px;font-size:.75rem;display:flex}.crm-priority-badge{text-transform:uppercase;border-radius:4px;padding:2px 6px;font-size:.7rem;font-weight:600}.crm-priority-badge.high{color:#f87171;background:#ef444426}.crm-priority-badge.medium{color:#fbbf24;background:#f59e0b26}.crm-priority-badge.low{color:#34d399;background:#10b98126}.crm-sub-tabs{background:#0f172a80;border:1px solid #ffffff0f;border-radius:8px;gap:4px;padding:4px;display:flex}.crm-sub-tab-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:6px 16px;font-size:.85rem;font-weight:600;transition:all .2s}.crm-sub-tab-btn:hover{color:#fff}.crm-sub-tab-btn.active{color:#3b82f6;background:#3b82f626}.crm-templates-grid{grid-template-columns:repeat(2,1fr);gap:24px;margin-top:8px;display:grid}.crm-template-card{background:#1e293b;border:1px solid #ffffff08;border-radius:10px;flex-direction:column;gap:14px;padding:20px;transition:all .2s;display:flex}.crm-template-card:hover{border-color:#ffffff0f;transform:translateY(-2px)}.crm-template-card-header{border-bottom:1px solid #ffffff0d;justify-content:space-between;align-items:center;padding-bottom:10px;display:flex}.crm-template-card-header h3{color:#fff;margin:0;font-family:Outfit,sans-serif;font-size:1rem}.crm-template-card-body{color:#cbd5e1;flex-direction:column;gap:8px;font-size:.85rem;display:flex}.crm-template-card-row{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.crm-template-card-preview-text{color:#64748b;-webkit-line-clamp:4;-webkit-box-orient:vertical;font-size:.8rem;line-height:1.5;display:-webkit-box;overflow:hidden}.crm-campaign-send-container{grid-template-columns:1fr 1fr;align-items:start;gap:32px;margin-top:8px;display:grid}.crm-campaign-form{flex-direction:column;gap:16px;display:flex}.crm-campaign-sent-alert{color:#34d399;background:#10b9811a;border:1px solid #10b98133;border-radius:8px;justify-content:center;align-items:center;gap:8px;margin-top:16px;padding:12px;font-size:.85rem;animation:2s infinite pulseGlowing;display:flex}.crm-mail-preview-box{background:#0f172ab3;border:1px solid #ffffff14;border-radius:10px;overflow:hidden;box-shadow:0 10px 25px #0003}.crm-preview-header-line{color:#94a3b8;border-bottom:1px solid #ffffff0d;padding:10px 18px;font-size:.85rem}.crm-preview-header-line strong{color:#cbd5e1;width:70px;display:inline-block}.crm-preview-header-line span{color:#fff}.crm-preview-body-content{color:#e2e8f0;min-height:180px;max-height:320px;padding:20px 18px;font-size:.9rem;line-height:1.6;overflow-y:auto}@keyframes pulseGlowing{0%{box-shadow:0 0 #10b98133}70%{box-shadow:0 0 0 6px #10b98100}to{box-shadow:0 0 #10b98100}}@media (width<=1100px){.crm-plans-layout,.crm-campaign-send-container{grid-template-columns:1fr;gap:24px}.crm-templates-grid{grid-template-columns:1fr}}.crm-contact-method-btn{color:#e2e8f0;cursor:pointer;box-sizing:border-box;background:#0f172a99;border:1px solid #ffffff14;border-radius:8px;align-items:center;gap:10px;width:100%;padding:12px 16px;font-family:inherit;font-size:.9rem;font-weight:500;text-decoration:none;transition:all .2s;display:flex}.crm-contact-method-btn:hover{color:#fff;background:#ffffff0d;border-color:#fff3;transform:translateY(-1px)}.crm-contact-method-btn.primary-email{color:#60a5fa;background:#3b82f626;border-color:#3b82f64d}.crm-contact-method-btn.primary-email:hover{color:#fff;background:#3b82f6;border-color:#3b82f6;box-shadow:0 0 12px #3b82f659}.crm-contact-method-btn.gmail{color:#f87171;background:#ea433526;border-color:#ea43354d}.crm-contact-method-btn.gmail:hover{color:#fff;background:#ea4335;border-color:#ea4335;box-shadow:0 0 12px #ea433559}.crm-contact-method-btn.outlook{color:#60a5fa;background:#0078d426;border-color:#0078d44d}.crm-contact-method-btn.outlook:hover{color:#fff;background:#0078d4;border-color:#0078d4;box-shadow:0 0 12px #0078d459}.crm-contact-method-btn.whatsapp{color:#34d399;background:#25d36626;border-color:#25d3664d}.crm-contact-method-btn.whatsapp:hover{color:#fff;background:#25d366;border-color:#25d366;box-shadow:0 0 12px #25d36659}.crm-kanban-board{margin-top:16px;padding-bottom:16px;overflow-x:auto}.crm-kanban-grid{align-items:flex-start;gap:20px;min-width:1200px;display:flex}.crm-kanban-column{background:#1e293b4d;border:1px solid #ffffff0a;border-radius:12px;flex-direction:column;flex:1;min-height:500px;padding:16px 12px;transition:all .2s;display:flex}.crm-kanban-column:hover{background:#1e293b66;border-color:#ffffff14}.crm-kanban-column.blue{border-top:3px solid #3b82f6}.crm-kanban-column.purple{border-top:3px solid #a855f7}.crm-kanban-column.orange{border-top:3px solid #f59e0b}.crm-kanban-column.cyan{border-top:3px solid #06b6d4}.crm-kanban-column.emerald{border-top:3px solid #10b981}.crm-kanban-column.slate{border-top:3px solid #64748b}.crm-kanban-column-header{justify-content:space-between;align-items:center;margin-bottom:16px;padding:0 4px;display:flex}.crm-kanban-stage-title{align-items:center;gap:8px;font-family:Outfit,sans-serif;font-size:.95rem;font-weight:600;display:flex}.stage-dot{border-radius:50%;width:8px;height:8px;display:inline-block}.crm-kanban-stage-meta{align-items:center;gap:8px;display:flex}.crm-kanban-stage-meta .card-count{color:#94a3b8;background:#ffffff0f;border-radius:20px;padding:2px 8px;font-size:.75rem;font-weight:600}.crm-kanban-stage-meta .total-val{color:#fff;font-size:.85rem;font-weight:700}.crm-kanban-cards-container{flex-direction:column;flex:1;gap:12px;display:flex}.crm-kanban-card{cursor:grab;background:#1e293b;border:1px solid #ffffff0d;border-radius:8px;padding:14px;transition:all .2s;position:relative}.crm-kanban-card:hover{border-color:#3b82f64d;transform:translateY(-2px);box-shadow:0 8px 16px #00000040}.crm-kanban-card:active{cursor:grabbing}.crm-kanban-card.export{border-left:3px solid #3b82f6}.crm-kanban-card.outsourcing{border-left:3px solid #2dd4bf}.crm-kanban-card-header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.crm-kanban-card-header .card-value{color:#3b82f6;font-size:.85rem;font-weight:700}.card-company{color:#fff;margin:0 0 4px;font-size:.95rem;font-weight:600}.card-contact{color:#94a3b8;margin:0 0 8px;font-size:.8rem}.card-product{color:#60a5fa;background:#3b82f61a;border-radius:4px;margin-bottom:12px;padding:2px 6px;font-size:.75rem;display:inline-block}.crm-kanban-card-footer{border-top:1px solid #ffffff0a;justify-content:space-between;align-items:center;padding-top:10px;display:flex}.card-actions{gap:6px;display:flex}.card-action-btn{color:#94a3b8;cursor:pointer;background:#ffffff08;border:1px solid #ffffff14;border-radius:4px;justify-content:center;align-items:center;width:24px;height:24px;transition:all .2s;display:flex}.card-action-btn:hover{color:#fff;background:#3b82f626;border-color:#3b82f6}.card-action-btn.phone:hover{color:#fff;background:#10b98126;border-color:#10b981}.stage-move-btn{color:#64748b;cursor:pointer;background:0 0;border:none;align-items:center;transition:all .2s;display:flex}.stage-move-btn:hover{color:#fff;transform:translate(2px)}.crm-kanban-empty-slot{text-align:center;color:#475569;border:1.5px dashed #ffffff14;border-radius:8px;padding:20px;font-size:.8rem}.crm-messenger-layout{background:#1e293b;border:1px solid #ffffff08;border-radius:12px;grid-template-columns:280px 1fr;height:calc(100vh - 160px);display:grid;overflow:hidden}.crm-messenger-sidebar{background:#0b0f19;border-right:1px solid #ffffff0f;flex-direction:column;display:flex}.crm-messenger-sidebar-header{border-bottom:1px solid #ffffff0d;padding:16px}.messenger-tabs{background:#ffffff0a;border-radius:6px;padding:2px;display:flex}.messenger-tab-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:4px;flex:1;padding:6px;font-size:.75rem;font-weight:600;transition:all .2s}.messenger-tab-btn.active{color:#fff;background:#3b82f6}.crm-messenger-list{flex-direction:column;flex:1;gap:4px;padding:12px 8px;display:flex;overflow-y:auto}.crm-messenger-item{color:#94a3b8;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:6px;align-items:center;gap:12px;width:100%;padding:10px 12px;transition:all .2s;display:flex}.crm-messenger-item:hover{color:#fff;background:#ffffff08}.crm-messenger-item.active{color:#3b82f6;background:#3b82f61a}.crm-messenger-item .user-avatar{color:#fff;background:#38bdf8;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:.8rem;font-weight:700;display:flex}.crm-messenger-item .user-avatar.bot{background:linear-gradient(135deg,#a855f7 0%,#6366f1 100%)}.messenger-item-info{flex-direction:column;flex:1;min-width:0;display:flex}.messenger-item-info .item-name{color:#fff;font-size:.85rem;font-weight:600}.messenger-item-info .item-desc{color:#64748b;white-space:nowrap;text-overflow:ellipsis;font-size:.7rem;overflow:hidden}.bot-tag{color:#c084fc;background:#a855f726;border-radius:4px;padding:2px 4px;font-size:.6rem;font-weight:700}.crm-messenger-chat-window{background:#0f172a;flex-direction:column;display:flex}.crm-messenger-chat-header{background:#0b0f19;border-bottom:1px solid #ffffff0d;align-items:center;height:64px;padding:0 24px;display:flex}.chat-avatar{color:#94a3b8;background:#ffffff0a;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.chat-title{color:#fff;margin:0;font-size:.95rem;font-weight:600}.chat-subtitle{color:#64748b;margin:2px 0 0;font-size:.75rem}.crm-messenger-messages-area{flex-direction:column;flex:1;gap:16px;padding:24px;display:flex;overflow-y:auto}.chat-message-bubble{border-radius:12px;flex-direction:column;max-width:70%;padding:12px 16px;font-size:.9rem;line-height:1.45;display:flex;position:relative}.chat-message-bubble.sent{color:#fff;background:#3b82f6;border-bottom-right-radius:2px;align-self:flex-end}.chat-message-bubble.received{color:#cbd5e1;background:#1e293b;border:1px solid #ffffff08;border-bottom-left-radius:2px;align-self:flex-start}.message-header{justify-content:space-between;margin-bottom:4px;font-size:.75rem;display:flex}.chat-message-bubble.sent .msg-sender{color:#ffffffb3;font-weight:600}.chat-message-bubble.received .msg-sender{color:#60a5fa;font-weight:600}.msg-time{color:#64748b;margin-left:12px}.chat-message-bubble.sent .msg-time{color:#ffffff80}.message-text{word-break:break-word}.typing-indicator{align-items:center;gap:4px;padding:6px 0;display:flex}.typing-indicator span{background:#94a3b8;border-radius:50%;width:6px;height:6px;animation:1.4s infinite both typingBlink}.typing-indicator span:nth-child(2){animation-delay:.2s}.typing-indicator span:nth-child(3){animation-delay:.4s}@keyframes typingBlink{0%,to{opacity:.3;transform:scale(.7)}50%{opacity:1;transform:scale(1)}}.crm-messenger-input-form{background:#0b0f19;border-top:1px solid #ffffff0d;gap:12px;padding:16px 24px;display:flex}.messenger-input{color:#fff;background:#0f172a99;border:1px solid #ffffff14;border-radius:8px;outline:none;flex:1;padding:12px 16px}.messenger-input:focus{border-color:#3b82f6}.messenger-send-btn{color:#fff;cursor:pointer;background:#3b82f6;border:none;border-radius:8px;justify-content:center;align-items:center;width:44px;height:44px;transition:all .2s;display:flex}.messenger-send-btn:hover{background:#2563eb;transform:translateY(-1px)}.crm-telephony-drawer{z-index:999;background:#0b0f19;border-left:1px solid #ffffff14;flex-direction:column;width:340px;animation:.3s cubic-bezier(.16,1,.3,1) slideInRight;display:flex;position:fixed;top:70px;bottom:0;right:0;box-shadow:-10px 0 30px #00000080}@keyframes slideInRight{0%{transform:translate(100%)}to{transform:translate(0)}}.crm-telephony-header{border-bottom:1px solid #ffffff0d;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.crm-telephony-header h3{color:#fff;margin:0;font-family:Outfit,sans-serif;font-size:1rem}.drawer-close-btn{color:#64748b;cursor:pointer;background:0 0;border:none;align-items:center;font-size:1.2rem;display:flex}.drawer-close-btn:hover{color:#fff}.crm-telephony-body{flex-direction:column;flex:1;padding:20px;display:flex;overflow-y:auto}.telephony-active-screen{text-align:center;flex-direction:column;align-items:center;padding:24px 0;display:flex}.calling-animation{color:#10b981;background:#10b98126;border-radius:50%;justify-content:center;align-items:center;width:80px;height:80px;margin-bottom:24px;display:flex;position:relative}.calling-animation .circle{opacity:0;border:1.5px solid #10b981;border-radius:50%;position:absolute;inset:0}.calling-animation .animate-1{animation:2s linear infinite callPulse}.calling-animation .animate-2{animation:2s linear 1s infinite callPulse}@keyframes callPulse{0%{opacity:.8;transform:scale(1)}to{opacity:0;transform:scale(1.6)}}.active-call-name{color:#fff;margin:0 0 6px;font-size:1.1rem;font-weight:600}.active-call-number{color:#64748b;margin:0 0 20px;font-size:.85rem}.call-status-indicator{margin-bottom:32px}.calling-blink{color:#10b981;font-weight:600;animation:1.5s infinite pulseBlink}.connected-tag{color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;font-size:.75rem}.call-timer{color:#fff;font-family:monospace;font-size:1.6rem;font-weight:700}.active-call-actions{gap:20px;display:flex}.active-call-btn{color:#cbd5e1;cursor:pointer;background:#ffffff0d;border:none;border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;font-size:1.2rem;transition:all .2s;display:flex}.active-call-btn:hover{color:#fff;background:#ffffff1a}.active-call-btn.muted{color:#ef4444;background:#ef444433}.active-call-btn.hangup{color:#fff;background:#ef4444;transform:rotate(135deg)}.active-call-btn.hangup:hover{background:#dc2626}.telephony-dialer-pane{flex-direction:column;display:flex}.dialer-display{text-align:center;background:#0f172a99;border:1px solid #ffffff14;border-radius:8px;margin-bottom:20px;padding:12px;position:relative}.dialer-input{color:#fff;text-align:center;background:0 0;border:none;outline:none;width:90%;font-family:monospace;font-size:1.5rem;font-weight:700}.dialer-contact-preview{color:#3b82f6;margin-top:4px;font-size:.75rem}.dialer-backspace-btn{color:#64748b;cursor:pointer;background:0 0;border:none;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.dialer-backspace-btn:hover{color:#fff}.dialpad-grid{grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:24px;display:grid}.dialpad-btn{color:#fff;cursor:pointer;background:#ffffff08;border:1px solid #ffffff0f;border-radius:8px;height:52px;font-size:1.25rem;font-weight:600;transition:all .15s}.dialpad-btn:hover{background:#ffffff12;border-color:#ffffff26}.dialpad-btn:active{transform:scale(.95)}.dialer-call-btn{color:#fff;cursor:pointer;background:#10b981;border:none;border-radius:8px;justify-content:center;align-items:center;height:48px;font-size:1rem;font-weight:600;transition:all .2s;display:flex}.dialer-call-btn:hover:not(:disabled){background:#059669;transform:translateY(-1px)}.dialer-call-btn:disabled{opacity:.5;cursor:not-allowed}.telephony-divider{background:#ffffff0f;border:none;height:1px;margin:16px 0}.telephony-logs-section h4{color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;margin:0 0 12px;font-size:.85rem}.telephony-logs-list{flex-direction:column;gap:8px;display:flex}.telephony-log-item{background:#ffffff05;border:1px solid #ffffff08;border-radius:6px;justify-content:space-between;align-items:center;padding:10px 12px;display:flex}.log-item-left{align-items:center;gap:10px;display:flex}.log-direction-dot{border-radius:50%;width:6px;height:6px}.log-direction-dot.outgoing{background-color:#3b82f6}.log-direction-dot.incoming{background-color:#10b981}.log-direction-dot.missed{background-color:#ef4444}.log-contact{color:#fff;font-size:.85rem;font-weight:600}.log-number{color:#64748b;font-size:.75rem}.log-item-right{text-align:right}.log-date{color:#64748b;font-size:.7rem}.log-duration{color:#cbd5e1;align-items:center;margin-top:2px;font-size:.75rem;display:inline-flex}.telephony-logs-empty{text-align:center;color:#475569;padding:16px 0;font-size:.8rem}.crm-gantt-container{background:#1e293b;border:1px solid #ffffff08;border-radius:12px;flex-direction:column;padding:24px;display:flex}.crm-gantt-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.crm-gantt-header h3{color:#fff;margin:0;font-family:Outfit,sans-serif;font-size:1.15rem}.gantt-nav-buttons{gap:8px;display:flex}.gantt-nav-btn-icon{color:#cbd5e1;cursor:pointer;background:#ffffff0a;border:1px solid #ffffff14;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.gantt-nav-btn-icon:hover{color:#fff;background:#ffffff14}.crm-gantt-view-scroll{border:1px solid #ffffff0d;border-radius:8px;overflow-x:auto}.crm-gantt-chart-table{flex-direction:column;display:flex}.gantt-row{border-bottom:1px solid #ffffff0a;grid-template-columns:240px 1fr;display:grid}.gantt-row.header-row{background:#ffffff05;border-bottom:1px solid #ffffff14}.gantt-row:last-child{border-bottom:none}.gantt-cell{align-self:center;align-items:center;padding:12px 16px;display:flex}.gantt-cell.task-info-header{color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;padding:10px 16px;font-size:.75rem;font-weight:600}.gantt-cell.task-info-cell{background:#0000001a;border-right:1px solid #ffffff0d;padding:16px}.gantt-task-title-text{color:#fff;white-space:nowrap;text-overflow:ellipsis;font-size:.85rem;font-weight:600;overflow:hidden}.gantt-task-client{color:#64748b;margin-top:2px;font-size:.75rem}.gantt-timeline-days-wrapper{flex:1;display:flex;position:relative}.gantt-day-header-cell{text-align:center;color:#94a3b8;border-right:1px solid #ffffff0a;flex:1;padding:10px 0;font-size:.75rem;font-weight:600}.gantt-day-header-cell.weekend{color:#ef4444;background:#ef44440a}.gantt-grid-cell{border-right:1px solid #ffffff08;flex:1;min-height:52px}.gantt-grid-cell.weekend{background:#ef444405}.gantt-task-bar{cursor:pointer;z-index:5;border-radius:4px;align-items:center;height:24px;padding:0 10px;transition:all .2s;display:flex;position:absolute;top:50%;transform:translateY(-50%);box-shadow:0 4px 6px #00000026}.gantt-task-bar:hover{filter:brightness(1.15);transform:translateY(-50%)scaleY(1.05)}.gantt-task-bar.high{background:linear-gradient(90deg,#ef4444 0%,#dc2626 100%)}.gantt-task-bar.medium{background:linear-gradient(90deg,#f59e0b 0%,#d97706 100%)}.gantt-task-bar.low{background:linear-gradient(90deg,#3b82f6 0%,#2563eb 100%)}.gantt-task-bar.completed{opacity:.35;background:#64748b!important}.gantt-bar-label{color:#fff;white-space:nowrap;text-overflow:ellipsis;width:100%;font-size:.75rem;font-weight:600;overflow:hidden}.crm-invoice-item-row .crm-plans-select,.crm-invoice-item-row .form-control-crm{margin-bottom:0!important}.invoice-print-modal-card{background:#111827!important;max-width:840px!important}.printable-invoice-body{border-radius:8px;color:#1f2937!important;background:#fff!important;padding:40px!important}.invoice-print-layout{color:#1f2937;background:#fff;font-family:Inter,sans-serif}.invoice-header{justify-content:space-between;align-items:flex-start;display:flex}.invoice-logo{color:#0f172a;font-family:Outfit,sans-serif;font-size:2.2rem;font-weight:800}.invoice-logo span{color:#3b82f6}.invoice-meta{text-align:right}.invoice-meta h2{color:#1e3a8a;letter-spacing:.02em;margin:0 0 10px;font-family:Outfit,sans-serif;font-size:1.6rem;font-weight:700}.invoice-meta p{color:#4b5563;margin:2px 0;font-size:.85rem}.invoice-print-hr{background:#e5e7eb;border:none;height:2px;margin:24px 0}.invoice-companies{grid-template-columns:1fr 1fr;gap:40px;margin-bottom:32px;display:grid}.company-side h4{text-transform:uppercase;color:#9ca3af;letter-spacing:.05em;margin:0 0 8px;font-size:.8rem}.company-side strong{color:#111827;margin-bottom:6px;font-size:.95rem;display:block}.company-side p{color:#4b5563;margin:2px 0;font-size:.85rem}.invoice-items-table{border-collapse:collapse;width:100%;margin-bottom:32px}.invoice-items-table th{color:#374151;text-transform:uppercase;background:#f3f4f6;border-bottom:2px solid #e5e7eb;padding:10px 12px;font-size:.8rem;font-weight:700}.invoice-items-table td{color:#374151;border-bottom:1px solid #f3f4f6;padding:14px 12px;font-size:.85rem}.invoice-totals-wrapper{border-top:2px solid #e5e7eb;flex-direction:column;gap:8px;width:320px;margin-bottom:40px;margin-left:auto;padding-top:16px;display:flex}.totals-row{color:#4b5563;justify-content:space-between;font-size:.85rem;display:flex}.totals-row.discount{color:#dc2626}.totals-row.grand-total{color:#111827;border-top:1px solid #e5e7eb;padding-top:8px;font-size:1.15rem;font-weight:800}.invoice-footer-notes{color:#6b7280;border-top:1px dashed #e5e7eb;padding-top:20px;font-size:.75rem;line-height:1.5}.invoice-footer-notes p{margin:4px 0}.thank-you-msg{text-align:center;color:#1e3a8a;font-size:.8rem;font-weight:700;margin-top:20px!important}@media print{body *{visibility:hidden}.print-modal-overlay,.printable-invoice-body,.printable-invoice-body *{visibility:visible}.print-modal-overlay{width:100%;position:absolute;top:0;left:0;box-shadow:none!important;background:0 0!important;padding:0!important}.invoice-print-modal-card{box-shadow:none!important;background:0 0!important;border:none!important;width:100%!important;max-width:100%!important}.printable-invoice-body{padding:0!important}.no-print{display:none!important}}.crm-company-structure-layout{grid-template-columns:280px 1fr;gap:24px;display:grid}.crm-company-tree-pane{background:#1e293b;border:1px solid #ffffff08;border-radius:12px;padding:20px}.company-tree-list{flex-direction:column;gap:6px;display:flex}.tree-node-btn{color:#cbd5e1;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:6px;align-items:center;gap:12px;width:100%;padding:10px 14px;font-size:.85rem;font-weight:500;transition:all .2s;display:flex}.tree-node-btn:hover{color:#fff;background:#ffffff08}.tree-node-btn.active{color:#3b82f6;background:#3b82f61a;font-weight:600}.dept-color-dot{border-radius:50%;width:8px;height:8px}.crm-company-staff-pane{background:#1e293b;border:1px solid #ffffff08;border-radius:12px;padding:24px}.company-staff-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px;display:grid}.company-employee-card{background:#0f172a;border:1px solid #ffffff0a;border-radius:10px;flex-direction:column;padding:20px;transition:all .2s;display:flex}.company-employee-card:hover{border-color:#3b82f640;box-shadow:0 10px 20px #0003}.employee-card-header{align-items:center;gap:12px;margin-bottom:16px;display:flex}.emp-avatar-circle{color:#fff;background:linear-gradient(135deg,#a855f7 0%,#3b82f6 100%);border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;font-size:.95rem;font-weight:700;display:flex}.emp-card-name{color:#fff;margin:0;font-size:.95rem;font-weight:600}.emp-card-role{color:#64748b;margin-top:2px;font-size:.75rem;display:block}.employee-card-details{flex:1;margin-bottom:20px}.employee-card-details p{color:#cbd5e1;align-items:center;margin:6px 0;font-size:.8rem;display:flex}.employee-card-footer{gap:10px;display:flex}.crm-automations-layout{grid-template-columns:1fr 1fr;gap:24px;display:grid}.automations-rules-list{flex-direction:column;gap:16px;display:flex}.automation-rule-card{background:#0f172a;border:1px solid #ffffff0a;border-radius:10px;padding:20px;transition:all .2s}.automation-rule-card.active{background:#a855f705;border-left:3px solid #a855f7}.automation-rule-card.inactive{opacity:.55}.rule-card-top{border-bottom:1px solid #ffffff0a;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:10px;display:flex}.rule-active-label{color:#94a3b8;font-size:.8rem;font-weight:600}.rule-tag{color:#475569;background:#ffffff08;border-radius:4px;padding:2px 6px;font-size:.7rem}.rule-card-body{flex-direction:column;gap:12px;display:flex}.rule-param{color:#94a3b8;flex-direction:column;gap:4px;font-size:.8rem;display:flex}.param-value-tag{color:#fff;background:#ffffff08;border:1px solid #ffffff0d;border-radius:6px;padding:6px 12px;font-size:.85rem;font-weight:600;display:inline-block}.param-value-tag.trigger{color:#60a5fa;border-color:#3b82f633}.param-value-tag.action{color:#c084fc;border-color:#a855f733}.automations-logs-list{flex-direction:column;gap:12px;display:flex}.automation-log-item-row{background:#0f172a;border:1px solid #ffffff08;border-radius:8px;gap:12px;padding:12px 16px;display:flex}.log-icon-wrapper{color:#10b981;background:#10b98126;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;margin-top:2px;display:flex}.log-content-body{flex:1}.log-row-header{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.log-row-header strong{color:#fff;font-size:.85rem}.log-time{color:#64748b;font-size:.75rem}.log-desc-text{color:#cbd5e1;margin:0;font-size:.8rem}.email-history-pane{background:#0003;border:1px solid #ffffff0d;border-radius:8px;flex-direction:column;gap:8px;height:250px;margin-bottom:12px;padding:12px;display:flex;overflow-y:auto}.email-bubble{word-wrap:break-word;border-radius:6px;max-width:90%;padding:8px 12px;font-size:.85rem;line-height:1.4}.email-bubble.sent{color:#eff6ff;background:#3b82f633;border:1px solid #3b82f64d;align-self:flex-end}.email-bubble.received{color:#f1f5f9;background:#ffffff0d;border:1px solid #ffffff14;align-self:flex-start}.email-bubble-header{color:#94a3b8;justify-content:space-between;gap:8px;margin-bottom:4px;font-size:.7rem;display:flex}.email-bubble-body{white-space:pre-wrap;word-break:break-word}.email-composer-form{gap:8px;display:flex}.email-composer-input{color:#fff;resize:none;background:#0000004d;border:1px solid #ffffff1a;border-radius:6px;flex:1;height:38px;padding:8px 12px;font-size:.85rem}.email-composer-send-btn{color:#fff;cursor:pointer;background:#3b82f6;border:none;border-radius:6px;justify-content:center;align-items:center;padding:0 16px;transition:background .2s;display:flex}.email-composer-send-btn:hover{background:#2563eb}.email-composer-send-btn:disabled{color:#fff6;cursor:not-allowed;background:#3b82f666}.crm-sidebar-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1100;opacity:0;pointer-events:none;background:#0009;transition:opacity .25s;position:fixed;inset:0}.crm-sidebar-overlay.active{opacity:1;pointer-events:auto}.crm-sidebar-panel{z-index:1200;background:#0f172a;border-left:1px solid #ffffff14;flex-direction:column;width:680px;max-width:90vw;transition:right .25s cubic-bezier(.16,1,.3,1);display:flex;position:fixed;top:0;bottom:0;right:-680px;box-shadow:-10px 0 40px #0009}.crm-sidebar-overlay.active .crm-sidebar-panel{right:0}.crm-sidebar-header{background:#ffffff03;border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.crm-sidebar-header h2{color:#fff;margin:0;font-size:1.2rem;font-weight:600}.crm-sidebar-close{color:#94a3b8;cursor:pointer;background:0 0;border:none;font-size:1.6rem;line-height:1;transition:color .15s}.crm-sidebar-close:hover{color:#fff}.crm-sidebar-tabs{scrollbar-width:thin;background:#ffffff04;border-bottom:1px solid #ffffff0d;padding:0 10px;display:flex;overflow-x:auto}.sidebar-tab-btn{color:#94a3b8;cursor:pointer;white-space:nowrap;background:0 0;border:none;border-bottom:2px solid #0000;padding:12px 14px;font-size:.8rem;transition:all .2s}.sidebar-tab-btn:hover{color:#e2e8f0;background:#ffffff05}.sidebar-tab-btn.active{color:#3b82f6;background:#3b82f60d;border-bottom-color:#3b82f6;font-weight:600}.crm-sidebar-body{background:#090d16;flex:1;padding:20px;overflow-y:auto}.sidebar-tab-content h3{color:#fff;border-bottom:1px solid #ffffff0d;margin-top:0;margin-bottom:16px;padding-bottom:8px;font-size:1rem}.project-edit-form{flex-direction:column;gap:14px;display:flex}.form-group-crm-row{grid-template-columns:1fr 1fr;gap:14px;display:grid}.form-group-crm{flex-direction:column;gap:6px;display:flex}.form-group-crm label{color:#94a3b8;font-size:.75rem;font-weight:500}.form-control-crm{color:#fff;background:#ffffff05;border:1px solid #ffffff14;border-radius:6px;outline:none;padding:8px 12px;font-size:.85rem;transition:all .2s}.form-control-crm:focus{background:#ffffff0a;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626}.quick-add-form h4{color:#3b82f6;margin-top:0;margin-bottom:10px;font-size:.9rem;font-weight:600}.crm-add-btn{color:#fff;cursor:pointer;background:#10b981;border:none;border-radius:4px;justify-content:center;align-items:center;padding:8px 14px;font-size:.8rem;font-weight:600;transition:background .15s;display:inline-flex}.crm-add-btn:hover{background:#059669}.kanban-card-overdue{animation:2s infinite alternate card-overdue-pulse;border:1px solid #f87171!important;box-shadow:0 0 12px #f8717126!important}@keyframes card-overdue-pulse{0%{border-color:#f8717166;box-shadow:0 0 8px #f8717114}to{border-color:#f87171;box-shadow:0 0 15px #f8717140}}.timeline-item-crm{border-left:2px solid #3b82f633;padding-left:16px;position:relative}.timeline-item-crm:before{content:"";background:#3b82f6;border:2px solid #090d16;border-radius:50%;width:10px;height:10px;position:absolute;top:4px;left:-6px}.log-type-badge{color:#60a5fa;text-transform:uppercase;background:#3b82f626;border-radius:4px;padding:1px 6px;font-size:.65rem;font-weight:600}.card-extra-details-pane span{font-weight:500}.project-finances-grid-layout{grid-template-columns:1fr 1fr;gap:16px;display:grid}select option{color:#fff!important;background-color:#0f172a!important}.crm-table-container{max-height:65vh;overflow-y:auto}body.light-theme,body.light-theme .crm-container{color:#2e2421!important;background-color:#fcfaf6!important}body.light-theme .crm-sidebar{background:#f3ebd9!important;border-right:1px solid #dfd5c2!important}body.light-theme .crm-sidebar-logo{color:#2e2421!important}body.light-theme .crm-nav-btn{color:#5c4d4a!important}body.light-theme .crm-nav-btn:hover{color:#2e2421!important;background:#0000000a!important}body.light-theme .crm-nav-btn.active{color:#2563eb!important;background:#3b82f61a!important}body.light-theme .crm-logout-btn{color:#ef4444!important}body.light-theme .crm-topbar{background:#f3ebd9!important;border-bottom:1px solid #dfd5c2!important}body.light-theme .crm-topbar h1,body.light-theme .crm-user-name{color:#2e2421!important}body.light-theme .crm-user-avatar{color:#2e2421!important;background:#dfd5c2!important}body.light-theme .crm-dashboard-layout,body.light-theme .crm-main-viewport,body.light-theme .crm-content-area{background:#fcfaf6!important}body.light-theme .crm-panel{background:#fff!important;border:1px solid #dfd5c2!important;box-shadow:0 4px 12px #2e242108!important}body.light-theme .crm-panel-header{border-bottom:1px solid #f3ebd9!important}body.light-theme .crm-panel-header h2{color:#2e2421!important}body.light-theme .crm-stat-card{background:#fff!important;border:1px solid #dfd5c2!important;box-shadow:0 4px 12px #2e242108!important}body.light-theme .crm-stat-info h3{color:#7c6d6a!important}body.light-theme .crm-stat-value{color:#2e2421!important}body.light-theme .crm-table-container{background:#fff!important;border:1px solid #dfd5c2!important}body.light-theme .crm-table th{color:#5c4d4a!important;background:#f5efe4!important;border-bottom:1px solid #dfd5c2!important}body.light-theme .crm-table td{color:#2e2421!important;border-bottom:1px solid #f3ebd9!important}body.light-theme .crm-table tr:hover{background:#00000003!important}body.light-theme .crm-row-unread{background:#3b82f608!important}body.light-theme .form-control-crm,body.light-theme .crm-plans-select,body.light-theme .crm-search-input{color:#2e2421!important;background:#fff!important;border:1px solid #c8bca6!important}body.light-theme .form-control-crm:focus,body.light-theme .crm-plans-select:focus,body.light-theme .crm-search-input:focus{border-color:#3b82f6!important;box-shadow:0 0 0 2px #3b82f61a!important}body.light-theme .crm-search-input-wrapper{background:#fff!important;border:1px solid #c8bca6!important}body.light-theme .crm-search-icon{color:#8a7d7a!important}body.light-theme .crm-modal-overlay{background:#2e242166!important}body.light-theme .crm-modal-card{background:#fff!important;border:1px solid #dfd5c2!important;box-shadow:0 20px 40px #2e242126!important}body.light-theme .crm-modal-header{border-bottom:1px solid #f3ebd9!important}body.light-theme .crm-modal-header h3{color:#2e2421!important}body.light-theme .crm-modal-close{color:#8a7d7a!important}body.light-theme .crm-modal-footer{border-top:1px solid #f3ebd9!important}body.light-theme .crm-sidebar-panel{background:#fff!important;border-left:1px solid #dfd5c2!important;box-shadow:-10px 0 30px #2e24210d!important}body.light-theme .crm-sidebar-header{border-bottom:1px solid #f3ebd9!important}body.light-theme .crm-sidebar-header h2{color:#2e2421!important}body.light-theme .crm-sidebar-close{color:#8a7d7a!important}body.light-theme .crm-sidebar-tabs{border-bottom:1px solid #f3ebd9!important}body.light-theme .crm-sidebar-tab{color:#7c6d6a!important}body.light-theme .crm-sidebar-tab.active{color:#3b82f6!important;border-bottom-color:#3b82f6!important}body.light-theme .employee-details-pane h4,body.light-theme .card-extra-details-pane h4{color:#2e2421!important;border-bottom:1px solid #f3ebd9!important}body.light-theme .employee-details-pane label,body.light-theme .card-extra-details-pane label{color:#7c6d6a!important}body.light-theme .crm-contact-card{background:#fff!important;border:1px solid #dfd5c2!important;box-shadow:0 4px 12px #2e242108!important}body.light-theme .crm-contact-name{color:#2e2421!important}body.light-theme .crm-contact-role{color:#7c6d6a!important}body.light-theme .crm-contact-firm{color:#3b82f6!important}body.light-theme .crm-contact-specialty{color:#2e2421!important;background:#fcfaf6!important;border:1px solid #f3ebd9!important}body.light-theme .crm-contact-detail-item{color:#5c4d4a!important}body.light-theme .crm-messenger-sidebar{border-right:1px solid #dfd5c2!important}body.light-theme .crm-messenger-sidebar-header{border-bottom:1px solid #f3ebd9!important}body.light-theme .messenger-tab-btn{color:#7c6d6a!important}body.light-theme .crm-messenger-item{color:#5c4d4a!important}body.light-theme .crm-messenger-item:hover{background:#00000005!important}body.light-theme .crm-messenger-item.active{color:#2563eb!important;background:#3b82f614!important}body.light-theme .crm-messenger-chat-header{border-bottom:1px solid #f3ebd9!important}body.light-theme .chat-title{color:#2e2421!important}body.light-theme .chat-subtitle{color:#7c6d6a!important}body.light-theme .crm-messenger-messages-area{background:#fdfbf7!important}body.light-theme .chat-message-bubble.received{color:#2e2421!important;background:#fff!important;border:1px solid #dfd5c2!important}body.light-theme .chat-message-bubble.sent{color:#fff!important;background:#3b82f6!important}body.light-theme .msg-sender{opacity:.8;color:inherit!important}body.light-theme .msg-time{opacity:.6;color:inherit!important}body.light-theme .crm-messenger-input-form{background:#fff!important;border-top:1px solid #f3ebd9!important}body.light-theme .messenger-input{color:#2e2421!important;background:#fff!important}body.light-theme .kanban-column{background:#f5efe4!important;border:1px solid #dfd5c2!important}body.light-theme .kanban-column-header h3{color:#2e2421!important}body.light-theme .kanban-card{background:#fff!important;border:1px solid #dfd5c2!important}body.light-theme .kanban-card-title{color:#2e2421!important}body.light-theme select option{color:#2e2421!important;background-color:#fff!important}body.light-theme .project-title-h1,body.light-theme .crm-proj-title h3,body.light-theme h1,body.light-theme h2,body.light-theme h3,body.light-theme h4{color:#2e2421!important}body.light-theme .project-subtitle-p,body.light-theme .crm-proj-path,body.light-theme p{color:#5c4d4a!important}body.light-theme .project-client-link{color:#3b82f6!important}body.light-theme .crm-project-tabs-menu{border-bottom:1px solid #dfd5c2!important}body.light-theme .crm-project-tab-btn{color:#5c4d4a!important;background:0 0!important;border:none!important}body.light-theme .crm-project-tab-btn:hover{color:#2e2421!important}body.light-theme .crm-project-tab-btn.active{color:#3b82f6!important;background:0 0!important;border-bottom:2px solid #3b82f6!important}body.light-theme .crm-stage-card-item{background:#fff!important;border:1px solid #dfd5c2!important}body.light-theme .crm-stage-card-item.current-active-stage{background:#3b82f60d!important;border:1px solid #3b82f64d!important}body.light-theme .crm-stage-card-item select{color:#2e2421!important;background:#fff!important;border:1px solid #c8bca6!important}body.light-theme .crm-stages-progress-bar-container{background:#f5efe4!important;border:1px solid #dfd5c2!important}body.light-theme .crm-table td div{color:#2e2421!important}body.light-theme .crm-table td input{color:#2e2421!important;border-bottom-color:#dfd5c2!important}body.light-theme .crm-table td select{color:#2e2421!important;background:#fff!important;border:1px solid #c8bca6!important}body.light-theme .timeline-body-crm{background:#fff!important;border:1px solid #dfd5c2!important}body.light-theme .timeline-body-crm p,body.light-theme .timeline-body-crm strong,body.light-theme .log-summary-title{color:#2e2421!important}body.light-theme .log-author-signature{color:#7c6d6a!important;border-top-color:#f3ebd9!important}body.light-theme .log-type-badge{color:#3b82f6!important;background:#3b82f614!important}body.light-theme .status-offline{color:#d97706!important}body.light-theme .crm-sync-card{background:#fff!important;border:1px solid #dfd5c2!important}body.light-theme .crm-sync-card h3{color:#2e2421!important}body.light-theme .crm-upload-label{color:#5c4d4a!important;background:#f5efe4!important;border:1px solid #dfd5c2!important}body.light-theme .crm-upload-label:hover{color:#2e2421!important;background:#dfd5c2!important}body.light-theme .crm-messenger-sidebar{background:#f3ebd9!important;border-right:1px solid #dfd5c2!important}body.light-theme .messenger-tabs{background:#0000000a!important}body.light-theme .crm-filter-select{color:#2e2421!important;background:#fff!important;border:1px solid #dfd5c2!important}body.light-theme .crm-sub-tabs{background:#f3ebd9!important;border:1px solid #dfd5c2!important}body.light-theme .crm-sub-tabs button{color:#5c4d4a!important;background:0 0!important}body.light-theme .crm-sub-tabs button.active{color:#2563eb!important;background:#3b82f614!important}body.light-theme .crm-sub-tab-btn{color:#5c4d4a!important}body.light-theme .crm-sub-tab-btn:hover{color:#2e2421!important}body.light-theme .crm-sub-tab-btn.active{color:#2563eb!important;background:#3b82f614!important}body.light-theme .crm-modal-body label{color:#5c4d4a!important}body.light-theme .crm-modal-body input,body.light-theme .crm-modal-body select,body.light-theme .crm-modal-body textarea{color:#2e2421!important;background:#fff!important;border:1px solid #c8bca6!important}body.light-theme .crm-modal-body input:focus,body.light-theme .crm-modal-body select:focus,body.light-theme .crm-modal-body textarea:focus{border-color:#3b82f6!important}body.light-theme .timeline-item-crm:before{border-color:#fcfaf6!important}body.light-theme .automation-rule-card{background:#fff!important;border:1px solid #dfd5c2!important}body.light-theme .automation-rule-card.active{background:#a855f70d!important;border-left:3px solid #a855f7!important}body.light-theme .automation-log-item-row{background:#fff!important;border:1px solid #dfd5c2!important}body.light-theme .rule-card-top{border-bottom-color:#f3ebd9!important}body.light-theme .rule-active-label{color:#2e2421!important}body.light-theme .rule-tag{color:#7c6d6a!important}body.light-theme .rule-param strong{color:#2e2421!important}body.light-theme .log-desc-text{color:#5c4d4a!important}body.light-theme .crm-gantt-container{background:#fff!important;border:1px solid #dfd5c2!important}body.light-theme .crm-gantt-header h3{color:#2e2421!important}body.light-theme .gantt-nav-btn-icon{color:#5c4d4a!important;background:#f5efe4!important;border:1px solid #dfd5c2!important}body.light-theme .gantt-nav-btn-icon:hover{color:#2e2421!important;background:#dfd5c2!important}body.light-theme .gantt-row{border-bottom:1px solid #f3ebd9!important}body.light-theme .gantt-row.header-row{background:#fcfaf6!important;border-bottom:2px solid #dfd5c2!important}body.light-theme .gantt-cell{color:#5c4d4a!important;border-right:1px solid #f3ebd9!important}body.light-theme .gantt-cell.task-info-header,body.light-theme .gantt-task-title-text{color:#2e2421!important}body.light-theme .gantt-task-client{color:#7c6d6a!important}body.light-theme .gantt-day-header-cell{color:#5c4d4a!important;border-right:1px solid #f3ebd9!important}body.light-theme .gantt-day-header-cell.weekend{color:#a08f8b!important;background:#00000005!important}body.light-theme .gantt-grid-cell{border-right:1px solid #f3ebd9!important}body.light-theme .gantt-grid-cell.weekend{background:#00000003!important}body.light-theme .crm-template-card{background:#fff!important;border:1px solid #dfd5c2!important}body.light-theme .crm-template-card:hover{background:#fcfaf6!important;border-color:#dfd5c2!important}body.light-theme .crm-template-card-header{border-bottom:1px solid #f3ebd9!important}body.light-theme .crm-template-card-header h3{color:#2e2421!important}body.light-theme .crm-template-card-body{color:#5c4d4a!important}body.light-theme .crm-template-card-preview-text{color:#7c6d6a!important}body.light-theme .crm-plan-item{background:#fff!important;border:1px solid #dfd5c2!important}body.light-theme .crm-plan-item:hover{background:#f5efe4!important}body.light-theme .crm-plan-title{color:#2e2421!important}body.light-theme .crm-plan-meta span{color:#7c6d6a!important}body.light-theme .crm-company-tree-pane{background:#fff!important;border:1px solid #dfd5c2!important}body.light-theme .tree-node-btn{color:#5c4d4a!important}body.light-theme .tree-node-btn:hover{color:#2e2421!important;background:#f5efe4!important}body.light-theme .tree-node-btn.active{color:#3b82f6!important;background:#3b82f61a!important}body.light-theme .crm-company-staff-pane{background:#fff!important;border:1px solid #dfd5c2!important}body.light-theme .company-employee-card{background:#fcfaf6!important;border:1px solid #dfd5c2!important}body.light-theme .company-employee-card:hover{border-color:#3b82f6!important;box-shadow:0 10px 20px #2e24210d!important}body.light-theme .emp-card-name{color:#2e2421!important}body.light-theme .emp-card-role{color:#7c6d6a!important}body.light-theme .employee-card-details p{color:#5c4d4a!important}body.light-theme .crm-sidebar-panel input,body.light-theme .crm-sidebar-panel select,body.light-theme .crm-sidebar-panel textarea{color:#2e2421!important;background:#fff!important;border:1px solid #dfd5c2!important}body.light-theme .crm-panel-section-title{color:#2e2421!important;border-bottom:1px solid #f3ebd9!important}body.light-theme .crm-text-muted{color:#7c6d6a!important}body.light-theme .crm-text-highlight{color:#2e2421!important}body.light-theme .crm-text-normal{color:#5c4d4a!important}body.light-theme .crm-messenger-chat-header{background:#fff!important;border-bottom:1px solid #f3ebd9!important}body.light-theme .messenger-tab-btn.active{color:#fff!important}body.light-theme .crm-messenger-item .item-name{color:#5c4d4a!important}body.light-theme .crm-messenger-item .item-desc{color:#8a7d7a!important}body.light-theme .crm-messenger-item svg{color:#7c6d6a!important}body.light-theme .crm-messenger-item.active .item-name{color:#2563eb!important}body.light-theme .crm-messenger-item.active .item-desc{color:#3b82f6!important}body.light-theme .crm-messenger-item.active svg{color:#2563eb!important}
