@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap";:root{--brand-dark-blue: #003675;--brand-teal: #00bcd4;--brand-cyan: #26c6da;--brand-green: #4caf50;--gradient-primary: linear-gradient(135deg, #00bcd4 0%, #26c6da 50%, #4caf50 100%);--gradient-sidebar: linear-gradient(180deg, #003675 0%, #0d2a42 100%);--gradient-login: linear-gradient(135deg, #003675 0%, #00bcd4 50%, #26c6da 75%, #4caf50 100%);--gradient-stat-card: linear-gradient(135deg, #003675 0%, #00bcd4 50%, #26c6da 75%, #4caf50 100%);--brand-teal-light: #e0f7fa;--brand-cyan-light: #b2ebf2;--brand-green-light: #e8f5e9}:root{font-family:DM Sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#213547;background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{margin:0;padding:0;box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}h1,h2,h3,h4,h5,h6{font-weight:600;line-height:1.2}button{font-family:inherit;cursor:pointer}a{text-decoration:none;color:inherit}.login-container{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#003675,#003675,#003675);padding:20px}.login-box{background:#fff;border-radius:12px;box-shadow:0 10px 40px #0003;padding:40px;width:100%;max-width:400px}.login-header{text-align:center;margin-bottom:30px}.login-logo{width:120px;height:auto;margin-bottom:20px;display:block;margin-left:auto;margin-right:auto}.login-header h1{color:#003675;margin:0 0 10px;font-size:22px;font-weight:700}.login-header p{color:#666;margin:0;font-size:13px}.login-form{display:flex;flex-direction:column;gap:20px}.form-group label{font-weight:500;color:#333;font-size:13px}.form-group input{padding:12px;border:1px solid #ddd;border-radius:6px;font-size:13px;transition:border-color .3s}.form-group input:focus{outline:none;border-color:#003675;box-shadow:0 0 0 3px #00838f1a}.error-message{background-color:#fee;color:#c33;padding:12px;border-radius:6px;font-size:13px;text-align:center}.login-button{background:linear-gradient(135deg,#003675,#003675);color:#fff;border:none;padding:14px;border-radius:8px;font-size:12px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #00838f4d}.login-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 16px #00838f66}.login-button:hover:not(:disabled){opacity:.9}.login-button:disabled{opacity:.6;cursor:not-allowed}.password-reset-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.password-reset-card{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;width:100%;max-width:480px;padding:48px 40px}.password-reset-header{text-align:center;margin-bottom:32px}.password-reset-header svg{margin:0 auto 16px}.password-reset-header h2{font-family:DM Sans,sans-serif;font-size:22px;font-weight:700;color:#1e293b;margin:0 0 12px}.password-reset-header p{font-family:DM Sans,sans-serif;font-size:13px;color:#64748b;margin:0;line-height:1.6}.password-reset-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-family:DM Sans,sans-serif;font-size:13px;font-weight:600;color:#334155}.form-group input{font-family:DM Sans,sans-serif;padding:12px 16px;border:2px solid #e2e8f0;border-radius:8px;font-size:13px;transition:all .2s ease}.form-group input:focus{outline:none;border-color:#003675;box-shadow:0 0 0 3px #0036751a}.form-group input:disabled{background-color:#f1f5f9;cursor:not-allowed}.success-message,.error-message{display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:8px;font-family:DM Sans,sans-serif;font-size:13px;line-height:1.5}.success-message{background-color:#d1fae5;color:#065f46;border:1px solid #10b981}.success-message svg{stroke:#10b981;flex-shrink:0}.error-message{background-color:#fee2e2;color:#991b1b;border:1px solid #ef4444}.error-message svg{stroke:#ef4444;flex-shrink:0}.submit-button{font-family:DM Sans,sans-serif;padding:14px 24px;background-color:#003675;color:#fff;border:none;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:8px}.submit-button:hover:not(:disabled){background-color:#003675;transform:translateY(-1px);box-shadow:0 4px 12px #0036754d}.submit-button:disabled{background-color:#94a3b8;cursor:not-allowed;transform:none}.spinner{animation:spin 1s linear infinite}.back-button{font-family:DM Sans,sans-serif;padding:12px 24px;background-color:transparent;color:#64748b;border:2px solid #e2e8f0;border-radius:8px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:8px}.back-button:hover{background-color:#f8fafc;border-color:#cbd5e1;color:#334155}@media (max-width: 640px){.password-reset-card{padding:32px 24px}.password-reset-header h2{font-size:22px}}.sidebar{width:250px;height:100vh;background-color:#fff;color:#334155;display:flex;flex-direction:column;position:fixed;left:0;top:0;border-right:1px solid #e5e7eb;z-index:1000;font-family:DM Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.sidebar-header{padding:9px 2px;border-bottom:1px solid rgba(148,163,184,.2)}.sidebar-logo{display:flex;flex-direction:column;align-items:center;text-align:center}.sidebar-logo-img{width:208px;height:auto;margin-top:10px;margin-bottom:10px;filter:none}.sidebar-logo h2{margin:0;font-size:22px;font-weight:700;color:#1e293b}.sidebar-logo p{margin:4px 0 0;font-size:11px;color:#64748b;font-weight:500}.sidebar-nav{flex:1;padding:20px 12px;overflow-y:auto}.sidebar-nav-item{width:100%;display:flex;align-items:center;gap:12px;padding:10px 16px;margin-bottom:4px;background:transparent;border:none;border-radius:8px;color:#4b5563;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease;text-align:left}.sidebar-nav-item:hover{background:#f3f4f6;color:#1f2937}.sidebar-nav-item.active{background:#eff6ff;color:#003675;font-weight:600}.nav-icon{font-size:22px;display:flex;align-items:center;justify-content:center;width:24px;transition:color .2s ease}.nav-icon svg{color:#6b7280;transition:color .2s ease}.sidebar-nav-item:hover .nav-icon svg{color:#1f2937}.sidebar-nav-item.active .nav-icon svg{color:#003675}.nav-label{flex:1}.sidebar-footer{padding:20px;border-top:1px solid rgba(148,163,184,.2);background:#f8fafc;margin-top:auto}.logout-btn{width:100%;display:flex;align-items:center;gap:12px;padding:12px 16px;background:#dc354533;border:1px solid rgba(220,53,69,.3);border-radius:8px;color:#ff6b7a;font-size:13px;font-weight:500;cursor:pointer;transition:all .3s ease;text-align:left}.logout-btn:hover{background:#dc35454d;border-color:#dc354580;color:#fff;transform:translateY(-2px)}.logout-btn .nav-icon{font-size:22px}.sidebar-nav::-webkit-scrollbar{width:6px}.sidebar-nav::-webkit-scrollbar-track{background:transparent}.sidebar-nav::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}.sidebar-nav::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.app-header{background:#fff;border-bottom:1px solid #e0e0e0;position:fixed;top:0;left:250px;right:0;z-index:1000;height:70px;font-family:DM Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.header-content{display:flex;justify-content:space-between;align-items:center;height:100%;padding:0 30px}.header-left{display:flex;flex-direction:column;gap:2px}.header-title{font-size:22px;font-weight:700;color:#003675;margin:0;line-height:1.2}.user-profile{display:flex;align-items:center;gap:12px;padding:8px 12px;border-radius:8px;background:#f8f9fa;transition:background-color .2s;cursor:pointer;position:relative}.user-profile:hover{background:#e9ecef}.profile-dropdown{position:absolute;top:calc(100% + 8px);right:0;background:#fff;border-radius:12px;box-shadow:0 4px 20px #00000026;min-width:220px;z-index:1000;overflow:hidden;border:1px solid #e5e7eb}.dropdown-item{width:100%;display:flex;align-items:center;gap:12px;padding:12px 16px;border:none;background:#fff;color:#374151;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s;text-align:left}.dropdown-item:hover{background:#f9fafb;color:#003675}.dropdown-item.logout{color:#ef4444}.dropdown-item.logout:hover{background:#fef2f2;color:#dc2626}.dropdown-divider{height:1px;background:#e5e7eb;margin:4px 0}.user-avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#003675,#003675);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:13px;text-transform:uppercase}.user-info{display:flex;flex-direction:column;gap:2px}.user-name{font-size:13px;font-weight:600;color:#333;line-height:1.2}.user-role{font-size:11px;color:#666;text-transform:capitalize;line-height:1}@media (max-width: 768px){.app-header{left:0}.header-content{padding:0 20px}.header-title{font-size:13px}.user-info{display:none}.user-avatar{width:32px;height:32px;font-size:12px}}.app-layout{display:flex;min-height:100vh;background:#f5f7fa}.main-wrapper{flex:1;margin-left:250px;min-height:100vh;display:flex;flex-direction:column}.main-content{flex:1;margin-top:70px;padding:0;width:100%;overflow-x:hidden}@media (max-width: 768px){.main-wrapper{margin-left:0}.main-content{margin-left:0;width:100%}}.ch-root{display:flex;flex-direction:column;gap:0;background:#f8fafc;min-height:100%;flex:1}.ch-header{display:flex;align-items:flex-start;justify-content:space-between;padding:16px 20px 12px;background:#fff;border-bottom:1px solid #e5e7eb;flex-wrap:wrap;gap:14px}.ch-header-text h2{font-size:1rem;font-weight:700;color:#0f172a;margin:0 0 2px}.ch-header-text p{font-size:.73rem;color:#64748b;margin:0}.ch-header-actions{display:flex;align-items:center;gap:10px}.ch-drp-wrap{position:relative}.ch-drp-trigger{display:flex;align-items:center;gap:6px;padding:8px 14px;background:#fff;border:1px solid #d1d5db;border-radius:6px;font-size:.78rem;color:#6b7280;cursor:pointer;white-space:nowrap;transition:all .15s}.ch-drp-trigger:hover{border-color:#9ca3af;background:#f9fafb}.ch-drp{position:absolute;top:calc(100% + 8px);right:0;z-index:120;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:16px;box-shadow:0 4px 12px #00000014;width:260px}.ch-drp-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.ch-drp-title{display:flex;align-items:center;gap:6px;font-size:.8rem;font-weight:600;color:#1f2937}.ch-drp-fields{display:flex;flex-direction:column;gap:10px;margin-bottom:14px}.ch-drp-fields label{display:flex;flex-direction:column;gap:4px;font-size:.74rem;font-weight:600;color:#6b7280}.ch-drp-fields input[type=date]{padding:8px 10px;border:1px solid #d1d5db;border-radius:6px;font-size:.79rem;color:#1f2937;outline:none;background:#f9fafb}.ch-drp-fields input:focus{border-color:#9ca3af;background:#fff}.ch-drp-actions{display:flex;justify-content:flex-end;gap:8px}.ch-drp-clear{padding:7px 14px;border:1px solid #d1d5db;border-radius:6px;background:#fff;font-size:.77rem;cursor:pointer;color:#6b7280;transition:all .15s}.ch-drp-clear:hover{background:#f3f4f6;border-color:#9ca3af}.ch-drp-apply{padding:7px 14px;border:none;border-radius:6px;background:#003675;color:#fff;font-size:.77rem;font-weight:600;cursor:pointer;transition:all .15s}.ch-drp-apply:disabled{opacity:.45;cursor:not-allowed}.ch-drp-apply:not(:disabled):hover{background:#0052a3}.ch-close-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;background:transparent;cursor:pointer;color:#9ca3af;border-radius:4px;transition:all .15s}.ch-close-btn:hover{background:#f3f4f6;color:#6b7280}.ch-layout{display:grid;flex:1;max-height:480px;min-height:360px}.ch-two-col{grid-template-columns:230px 1fr}.ch-three-col{grid-template-columns:200px 1fr 260px}.ch-left{display:flex;flex-direction:column;background:#fff;border-right:1px solid #e2e8f0;overflow:hidden}.ch-search-wrap{position:relative;padding:14px 14px 12px;border-bottom:1px solid #e2e8f0}.ch-search-icon{position:absolute;left:22px;top:50%;transform:translateY(-50%);color:#cbd5e1;margin-top:2px}.ch-search-input{width:100%;padding:8px 10px 8px 32px;border:1px solid #e5e7eb;border-radius:6px;font-size:.78rem;outline:none;box-sizing:border-box;background:#f9fafb}.ch-search-input:focus{border-color:#9ca3af;background:#fff}.ch-city-list{flex:1;overflow-y:auto;padding:8px 0}.ch-city-row{display:flex;align-items:center;gap:10px;padding:16px 14px;cursor:pointer;transition:opacity .15s;border-bottom:1px solid #e2e8f0}.ch-city-row:hover{opacity:.7}.ch-city-row-active{opacity:1}.ch-city-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}.ch-city-name{flex:1;font-size:.8rem;color:#334155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ch-city-count{font-size:.73rem;font-weight:600;color:#9ca3af;margin-left:auto}.ch-city-row-active .ch-city-name{color:#1e293b;font-weight:600}.ch-city-row-active .ch-city-count{color:#475569}.ch-no-results{font-size:.77rem;color:#94a3b8;padding:20px;text-align:center}.ch-list-footer{padding:16px 14px;font-size:.72rem;color:#94a3b8;border-top:1px solid #e2e8f0;display:flex;gap:6px;justify-content:center}.ch-footer-dot{color:#cbd5e1}.ch-center{position:relative;background:#edf4fb;overflow:hidden}.ch-map-wrap{position:relative;width:100%;height:100%}.ch-map-svg{display:block;width:100%;height:100%}.ch-state{transition:filter .2s}.ch-tooltip{position:absolute;pointer-events:none;background:#0f172ad9;color:#fff;padding:8px 12px;border-radius:6px;font-size:.77rem;display:flex;flex-direction:column;gap:4px;min-width:110px;z-index:50;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.ch-tooltip strong{font-size:.82rem}.ch-zoom-controls{position:absolute;top:12px;right:12px;display:flex;flex-direction:column;gap:4px;align-items:center}.ch-zoom-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:1px solid #d1d5db;border-radius:6px;background:#fff;cursor:pointer;color:#6b7280;box-shadow:0 1px 2px #0000000d;transition:all .15s}.ch-zoom-btn:hover{background:#f3f4f6;border-color:#9ca3af}.ch-zoom-pct{font-size:.65rem;color:#94a3b8;margin-top:2px}.ch-legend{position:absolute;bottom:12px;right:12px;display:flex;align-items:center;gap:8px;background:#ffffffeb;border-radius:6px;padding:8px 12px;font-size:.7rem;color:#6b7280;border:1px solid #d1d5db;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.ch-legend-bar{display:flex;border-radius:4px;overflow:hidden}.ch-legend-seg{width:14px;height:10px}.ch-legend-lbl{font-weight:600}.ch-right{background:#fff;border-left:1px solid #e2e8f0;display:flex;flex-direction:column;overflow:hidden;padding:0 16px}.ch-details-hdr{display:flex;justify-content:space-between;align-items:flex-start;padding:16px 0 12px;border-bottom:1px solid #e2e8f0;margin-bottom:20px}.ch-details-name{font-size:1rem;font-weight:700;color:#0f172a;margin:0 0 4px}.ch-details-meta{font-size:.75rem;color:#9ca3af;margin:0}.ch-stat-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;padding:10px 12px}.ch-stat-card{background:#f8fafc;border-radius:10px;padding:10px 8px;text-align:center;border:1px solid #e2e8f0}.ch-stat-lbl{display:block;font-size:.67rem;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}.ch-stat-val{display:block;font-size:1.15rem;font-weight:800;color:#0f172a}.ch-stat-hint{font-size:.65rem;color:#64748b}.ch-extra-stats{border:1px solid #e2e8f0;border-radius:10px;margin:0 12px 10px;overflow:hidden}.ch-extra-row{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;font-size:.77rem;color:#475569;border-bottom:1px solid #f1f5f9}.ch-extra-row:last-child{border-bottom:none}.ch-extra-row strong{color:#0f172a;font-weight:700}.ch-recent{flex:1;overflow-y:auto;padding:0 12px 12px}.ch-section-title{font-size:.75rem;font-weight:700;color:#475569;text-transform:uppercase;letter-spacing:.06em;margin:0 0 8px}.ch-recent-list{display:flex;flex-direction:column;gap:6px}.ch-lead-card{border:1px solid #e2e8f0;border-radius:8px;padding:9px 10px;background:#fafafa}.ch-lead-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px;gap:8px}.ch-lead-name{font-size:.77rem;font-weight:600;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.ch-lead-bot{display:flex;justify-content:space-between;font-size:.7rem;color:#94a3b8}.ch-badge{padding:2px 8px;border-radius:20px;font-size:.65rem;font-weight:700;text-transform:capitalize;white-space:nowrap;flex-shrink:0}.ch-badge-converted,.ch-badge-sales{background:#dcfce7;color:#166534}.ch-badge-serviceable,.ch-badge-service{background:#dbeafe;color:#1e40af}.ch-badge-warm{background:#fef9c3;color:#854d0e}.ch-badge-not_serviceable{background:#fee2e2;color:#991b1b}.ch-badge-new,.ch-badge-open{background:#f0fdf4;color:#166534}.ch-empty-msg{font-size:.77rem;color:#94a3b8;text-align:center;padding:16px 0}.ch-panel-loading{display:flex;align-items:center;gap:8px;padding:24px;justify-content:center;font-size:.8rem;color:#64748b}.ch-chart-section{padding:12px 20px 16px;background:#fff;border-top:1px solid #e2e8f0;flex:1;display:flex;flex-direction:column;min-height:280px}.ch-chart-title{font-size:.8rem;font-weight:700;color:#475569;text-transform:uppercase;letter-spacing:.05em;margin:0 0 8px;flex-shrink:0}.ch-trend-wrap{display:flex;gap:12px;align-items:flex-start;flex-wrap:nowrap;flex:1;overflow:hidden}.ch-trend-main{flex:1;position:relative;min-width:260px;overflow:visible}.ch-trend-tooltip{position:absolute;background:#0f172ad1;color:#fff;border-radius:8px;padding:8px 12px;font-size:.74rem;display:flex;flex-direction:column;gap:3px;pointer-events:none;z-index:50;min-width:140px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.ch-trend-tooltip strong{font-size:.8rem;display:block;margin-bottom:2px}.ch-trend-legend{display:flex;flex-direction:column;gap:4px;padding:0;flex-shrink:0;min-width:130px;justify-content:flex-start}.ch-trend-legend-row{display:flex;align-items:center;gap:6px}.ch-trend-legend-lbl{font-size:.75rem;font-weight:600;color:#334155}.ch-trend-legend-sub{font-size:.69rem;color:#94a3b8;margin:2px 0 0;line-height:1.2}.ch-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 40px;gap:12px;color:#64748b;font-size:.85rem}.ch-spinner{width:28px;height:28px;border:3px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:ch-spin .7s linear infinite}.ch-spinner-sm{width:18px;height:18px;border-width:2px}@keyframes ch-spin{to{transform:rotate(360deg)}}.ch-error{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 40px;gap:12px;text-align:center}.ch-error p{color:#ef4444;font-size:.85rem}.ch-retry-btn{padding:8px 20px;background:#003675;color:#fff;border:none;border-radius:8px;cursor:pointer;font-size:.8rem;font-weight:600}@media (max-width: 900px){.ch-two-col,.ch-three-col{grid-template-columns:180px 1fr}.ch-right{grid-column:1 / -1;border-left:none;border-right:none;border-top:1px solid #e5e7eb;max-height:340px}}@media (max-width: 640px){.ch-two-col,.ch-three-col{grid-template-columns:1fr}.ch-left{border-right:none;border-bottom:1px solid #e5e7eb;max-height:220px}.ch-center{min-height:380px}}.ch-city-list::-webkit-scrollbar{width:6px}.ch-city-list::-webkit-scrollbar-track{background:transparent}.ch-city-list::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.ch-city-list::-webkit-scrollbar-thumb:hover{background:#9ca3af}.dashboard-content,.dashboard-content *{font-family:DM Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.dashboard-tabs{display:flex;gap:8px;margin-bottom:24px;background:#fff;padding:8px;border-radius:12px;box-shadow:0 2px 8px #00000014;border:1px solid #e2e8f0}.tab-button{padding:12px 20px;border:none;background:transparent;color:#64748b;font-size:13px;font-weight:600;cursor:pointer;border-radius:8px;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;white-space:nowrap;min-width:fit-content}.tab-button:hover{background:#f1f5f9;transform:translateY(-1px)}.tab-button.active{background:#003675;color:#fff;box-shadow:0 2px 8px #1e40af4d;font-weight:700}.tab-button.active:hover{background:#003675;box-shadow:0 4px 12px #1e40af66}.kpi-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;padding:0}.kpi-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #0000001a;border:1px solid #e2e8f0;display:flex;align-items:center;gap:16px;transition:all .2s ease}.kpi-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.kpi-icon{font-size:22px;flex-shrink:0}.kpi-content{flex:1;min-width:0}.kpi-value{font-size:22px;font-weight:700;color:#1e293b;margin-bottom:4px;line-height:1.2}.kpi-label{font-size:13px;color:#64748b;font-weight:500;margin-bottom:8px}.kpi-change{font-size:12px;font-weight:500}.kpi-change.positive{color:#10b981}.kpi-change.negative{color:#ef4444}.dashboard-content{background:#fff;border-radius:12px;padding:30px;box-shadow:0 2px 8px #00000014;width:100%;overflow:hidden}.dashboard-content h2{margin:0 0 30px;color:#003675;font-size:22px;font-weight:700}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:40px}.stat-card{background:#fff;color:#2c3e50;padding:25px;border-radius:12px;box-shadow:0 2px 8px #0000001a;border:1px solid #e1e8ed;transition:box-shadow .2s ease}.stat-card:hover{box-shadow:0 4px 16px #00000026}.stat-card h3{margin:0 0 20px;color:#2c3e50;font-size:13px;font-weight:600;border-bottom:2px solid #003675;padding-bottom:10px}.stat-card.clickable{cursor:pointer;transition:transform .3s ease,box-shadow .3s ease}.stat-card.clickable:hover{transform:translateY(-4px)}.stat-value{font-size:22px;font-weight:700;color:#2c3e50;margin:10px 0}.stat-card h3{margin:0 0 10px;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;opacity:.9}.stat-value{font-size:22px;font-weight:700;margin:0;line-height:1}.ready-service-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:20px;margin-top:20px}.lead-card.ready-service{border-left:4px solid #28a745;background:#f8fff8;border:1px solid #e8f5e8;border-radius:8px;padding:20px;transition:box-shadow .3s ease}.lead-card.ready-service:hover{box-shadow:0 4px 12px #28a74526}.lead-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.lead-header h4{margin:0;color:#003675;font-size:13px;font-weight:600}.lead-body{margin-bottom:15px}.contact-info,.payment-info{margin-bottom:12px}.contact-info p,.payment-info p{margin:4px 0;font-size:13px;color:#495057}.contact-info strong,.payment-info strong{color:#003675}.lead-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.lead-actions .action-btn{padding:6px 12px;border:none;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap;display:inline-flex;align-items:center;gap:4px}.lead-actions .action-btn.view-btn{background:#6c757d;color:#fff}.lead-actions .action-btn.view-btn:hover{background:#5a6268}.lead-actions .action-btn.assign-btn{background:#003675;color:#fff}.lead-actions .action-btn.assign-btn:hover{background:#003675}.tasks-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:20px;margin-top:20px}.task-card{border:1px solid #ddd;border-radius:8px;padding:16px;background:#fff;transition:box-shadow .3s ease}.task-card:hover{box-shadow:0 4px 12px #0000001a}.task-card.urgent{border-left:4px solid #dc3545;background:#fff5f5}.task-card.high{border-left:4px solid #fd7e14;background:#fff8f0}.task-card.medium{border-left:4px solid #ffc107;background:#fffcf0}.task-card.low{border-left:4px solid #28a745;background:#f8fff8}.task-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.task-header h4{margin:0;color:#003675;font-size:12px;font-weight:600}.task-body{margin-bottom:12px}.task-body p{margin:4px 0;font-size:13px;color:#495057}.task-body strong{color:#003675}.task-actions{display:flex;gap:8px;flex-wrap:wrap}.eligibility-filter{margin-bottom:20px}.eligibility-filter h4{margin:0 0 10px;color:#003675;font-size:13px}.filter-buttons{display:flex;gap:10px;margin-top:10px;flex-wrap:wrap}.eligibility-filter-btn{padding:10px 20px;border:none;background:#f1f5f9;border-radius:20px;cursor:pointer;transition:all .2s ease;font-size:13px;font-weight:500;color:#475569;white-space:nowrap}.eligibility-filter-btn:hover{background:#e2e8f0;transform:translateY(-1px)}.eligibility-filter-btn.active{background:#003675;color:#fff;box-shadow:0 2px 8px #00367540;font-weight:600}.status-badge{min-width:120px;max-width:200px;padding:6px 12px;border-radius:20px;font-size:11px;font-weight:500;text-transform:none;font-variant:small-caps;letter-spacing:.3px;display:inline-flex;align-items:center;justify-content:center;white-space:normal;word-wrap:break-word;line-height:1.3;text-align:center}.sales-status-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:20px;border:none;font-size:11px;font-weight:500;cursor:default;min-width:140px;max-width:220px;justify-content:center;white-space:normal;word-wrap:break-word;line-height:1.3;text-align:center}.sales-status-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:6px;border:1px solid;font-size:11px;font-weight:500;cursor:pointer;transition:all .2s ease;min-width:140px;max-width:220px;justify-content:center;white-space:normal;word-wrap:break-word;line-height:1.3;text-align:center}.sales-status-btn:hover{transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.sales-status-btn.status-draft{background:#f8f9fa;color:#6c757d;border-color:#6c757d}.sales-status-btn.status-draft:hover{background:#e9ecef;border-color:#5a6268}.sales-status-btn.status-pending-review{background:#dbeafe;color:#003675;border-color:#003675;border-radius:20px;padding:8px 16px}.sales-status-btn.status-pending-review:hover{background:#bfdbfe;border-color:#003675}.sales-status-btn.status-rejected{background:#fee2e2;color:#991b1b;border-color:#ef4444;border-radius:20px;padding:8px 16px}.sales-status-btn.status-rejected:hover{background:#fecaca;border-color:#dc2626}.sales-status-btn.status-serviceable{background:#d1fae5;color:#065f46;border-color:#10b981;border-radius:20px;padding:8px 16px}.sales-status-btn.status-serviceable:hover{background:#a7f3d0;border-color:#059669}.sales-status-btn.status-more-info{background:#fed7aa;color:#92400e;border-color:#f97316;border-radius:20px;padding:8px 16px}.sales-status-btn.status-more-info:hover{background:#fde68a;border-color:#d97706}.sales-status-btn.status-pending{background:#e5e7eb;color:#6b7280;border-color:#9ca3af}.sales-status-btn.status-pending:hover{background:#d1d5db;border-color:#6b7280}.sales-status-chip.status-pending-review{background:#dbeafe;color:#003675}.sales-status-chip.status-rejected{background:#fee2e2;color:#991b1b}.sales-status-chip.status-serviceable{background:#d1fae5;color:#065f46}.sales-status-chip.status-more-info{background:#fed7aa;color:#92400e}.sales-status-chip.status-pending{background:#e5e7eb;color:#6b7280}.task-text{display:inline-flex;align-items:center;padding:6px 12px;border-radius:4px;font-size:13px;font-weight:500;text-align:center;min-width:120px;background:transparent;color:#64748b;transition:all .2s ease}.task-text.clickable{color:#003675;cursor:pointer;font-weight:600}.task-text.clickable:hover{text-decoration:underline;color:#003675}.task-text.disabled{color:#9ca3af;cursor:not-allowed}.student-info{display:flex;align-items:center;gap:12px;min-width:0}.student-info>div:first-child{flex-shrink:0}.student-info>div:last-child{flex:1;min-width:0}.student-info>div:last-child>div:first-child{font-weight:600;color:#1e293b;margin-bottom:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.student-info>div:last-child>div:last-child{font-size:12px;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-picture{display:flex;align-items:center;justify-content:center;width:50px;height:50px;flex-shrink:0}.profile-img{width:50px;height:50px;border-radius:50%;object-fit:cover;border:2px solid #e9ecef}.profile-placeholder{width:50px;height:50px;border-radius:50%;background:#f8f9fa;border:2px solid #e9ecef;display:flex;align-items:center;justify-content:center;color:#6c757d;font-weight:600;font-size:13px;text-transform:uppercase}.status-badge.status-serviceable{background:#10b981;color:#fff;border:none;border-radius:20px;padding:6px 14px;font-weight:600}.status-badge.status-rejected{background:#ef4444;color:#fff;border:none;border-radius:20px;padding:6px 14px;font-weight:600}.status-badge.status-more-info{background:#f97316;color:#fff;border:none;border-radius:20px;padding:6px 14px;font-weight:600}.status-badge.status-pending{background:#003675;color:#fff;border:none;border-radius:20px;padding:6px 14px;font-weight:600}.action-button{min-width:120px;padding:8px 16px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;font-weight:500;border-radius:6px;border:1px solid transparent;cursor:pointer;transition:all .2s ease;display:inline-block;line-height:1.4}.action-button.secondary-button{background:#6c757d;color:#fff;border-color:#6c757d}.action-button.secondary-button:hover{background:#545b62;border-color:#545b62}.status-badge.serviceable{background:#17a2b8;color:#fff}.status-badge.converted,.status-badge.status-yes{background:#28a745;color:#fff}.status-badge.status-no{background:#dc3545;color:#fff}.status-badge.status-maybe{background:#ffc107;color:#212529}.status.pending{background:#fff3cd;color:#856404}.status.in_progress{background:#cce5ff;color:#004085}.status.completed{background:#d4edda;color:#155724}.status.overdue{background:#f8d7da;color:#721c24}.service-notes{max-width:200px;word-wrap:break-word;font-size:12px;color:#495057;line-height:1.4}.action-button{padding:6px 12px;border:none;border-radius:4px;cursor:pointer;font-size:12px;font-weight:500;transition:all .3s ease;text-decoration:none;display:inline-block;text-align:center}.action-button:hover{transform:translateY(-1px);box-shadow:0 2px 4px #0003}.action-button.primary-button{background:#003675;color:#fff}.action-button.primary-button:hover{background:#003675}.action-button.success-button{background:#28a745;color:#fff}.action-button.success-button:hover{background:#1e7e34}.action-button{background:#6c757d;color:#fff}.action-button:hover{background:#545b62}.loading{text-align:center;padding:40px;color:#6c757d;font-size:12px}.error-message{text-align:center;padding:40px;color:#dc3545;font-size:12px;background:#f8d7da}@media (max-width: 768px){.stats-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:15px}.ready-service-container,.tasks-container{grid-template-columns:1fr}.filter-buttons,.lead-actions,.task-actions{flex-direction:column}.dashboard-content{padding:20px}}.highlight-row{background-color:#fff3cd;border-left:4px solid #ffc107}.highlight-row:hover{background-color:#ffeaa7}.ml-2{margin-left:8px}.table-container{overflow-x:auto;margin-top:15px;border-radius:8px;border:1px solid #e9ecef;max-width:100%}.table-container table{width:100%;border-collapse:collapse;background:#fff;font-size:13px}.table-container th{background:#f8f9fa;padding:26px 18px;text-align:left;font-weight:600;color:#495057;border-bottom:2px solid #dee2e6;font-size:13px}.table-container td{padding:26px 15px;border-bottom:1px solid #dee2e6;font-size:13px;vertical-align:middle}.table-container td:first-child{padding-right:0}.table-container td:nth-child(2){padding-left:0;font-size:13px;color:#64748b;text-align:center;width:10%}.table-container td:nth-child(4){max-width:300px;width:25%;word-wrap:break-word;white-space:pre-wrap;line-height:1.4}.table-container td:nth-child(4) .text-muted{font-style:italic;color:#999}.table-container tr:hover{background-color:#f8f9fa}.table-container tr:last-child td{border-bottom:none}.dashboard-sections{margin-top:30px}.section{margin-bottom:40px;background:#fff;border-radius:8px;padding:20px;border:1px solid #e9ecef;box-shadow:0 1px 3px #0000001a}.section h3{margin:0 0 20px;color:#003675;font-size:13px;font-weight:600;border-bottom:2px solid #003675;padding-bottom:8px}.section p{color:#6c757d;font-style:italic;text-align:center;padding:20px;margin:0}.tab-content{padding:0;min-height:200px}.overview-content{width:100%;max-width:100%}.overview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}.sales-page-heading{font-family:DM Sans,sans-serif;font-size:22px;font-weight:700;color:#1e293b;margin:0 0 24px;letter-spacing:-.5px}.section-header{margin-bottom:20px}.header-row{display:flex;flex-direction:column;gap:15px}.header-row h4{margin:0;color:#003675;font-size:13px;font-weight:600}.search-filters-row{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.spacer{flex:1;min-width:20px}.search-box{flex:1;min-width:250px;max-width:350px}.search-input{width:100%;padding:10px 15px;border:1px solid #ddd;border-radius:8px;font-size:13px;transition:border-color .2s ease}.search-input:focus{outline:none;border-color:#003675;box-shadow:0 0 0 2px #007bff40}.filter-controls{display:flex;gap:10px}.filter-select{padding:10px 36px 10px 15px;border:1px solid #d1d5db;border-radius:8px;font-size:13px;background:#fff url('data:image/svg+xml;utf8,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1.5L6 6.5L11 1.5" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat right 12px center;appearance:none;-webkit-appearance:none;-moz-appearance:none;cursor:pointer;transition:all .2s ease;min-width:160px;font-weight:500;color:#374151}.filter-select:focus{outline:none;border-color:#003675;box-shadow:0 0 0 3px #0036751a}.filter-select:hover{border-color:#9ca3af;background-color:#f9fafb}.page-header{margin-bottom:30px;background:linear-gradient(135deg,#667eea,#764ba2);padding:30px;border-radius:16px;box-shadow:0 10px 30px #667eea1a;color:#fff}.page-header h2{margin:0 0 8px;color:#fff;font-size:22px;font-weight:700;letter-spacing:-.5px}.page-header p{margin:0;color:#ffffffe6;font-size:12px;font-weight:400}.notification-tabs{display:flex;gap:8px;margin-bottom:25px;background:#fff;padding:8px;border-radius:16px;box-shadow:0 4px 20px #00000014;overflow-x:auto}.notification-tab{padding:12px 20px;border:none;background:transparent;color:#64748b;font-size:13px;font-weight:600;cursor:pointer;border-radius:12px;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;white-space:nowrap;min-width:fit-content}.notification-tab:hover{background:#f1f5f9;color:#334155;transform:translateY(-1px)}.notification-tab.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 15px #667eea4d;transform:translateY(-1px)}.notification-tab.active:hover{background:linear-gradient(135deg,#003675,#6a4190);box-shadow:0 6px 20px #667eea66}.notifications-container{background:#fff;border-radius:20px;box-shadow:0 10px 40px #0000000f;overflow:hidden;border:1px solid rgba(0,0,0,.05)}.notifications-list{max-height:700px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#e2e8f0 transparent}.notifications-list::-webkit-scrollbar{width:6px}.notifications-list::-webkit-scrollbar-track{background:transparent}.notifications-list::-webkit-scrollbar-thumb{background:#e2e8f0;border-radius:3px}.notifications-list::-webkit-scrollbar-thumb:hover{background:#cbd5e1}.notification-item{display:flex;align-items:flex-start;padding:20px 24px;border-bottom:1px solid rgba(0,0,0,.06);transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;background:#fff}.notification-item:hover{background:linear-gradient(135deg,#f8fafc,#f1f5f9);transform:translate(4px)}.notification-item:last-child{border-bottom:none}.notification-item:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(135deg,#667eea,#764ba2);opacity:0;transition:opacity .3s ease}.notification-item:hover:before{opacity:1}.notification-icon{font-size:22px;margin-right:20px;margin-top:2px;flex-shrink:0;width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:linear-gradient(135deg,#f1f5f9,#e2e8f0);box-shadow:0 2px 8px #0000001a;transition:all .3s ease}.notification-item:hover .notification-icon{transform:scale(1.1);box-shadow:0 4px 12px #00000026}.notification-content{flex:1;min-width:0}.notification-message{color:#1e293b;font-size:13px;line-height:1.6;margin-bottom:12px;word-wrap:break-word;font-weight:500}.notification-meta{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.notification-type{font-size:11px;font-weight:700;padding:4px 12px;border-radius:20px;text-transform:uppercase;letter-spacing:.5px;box-shadow:0 2px 4px #0000001a;transition:all .2s ease}.notification-type:hover{transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.notification-time{font-size:13px;color:#64748b;font-weight:500;background:#f8fafc;padding:4px 10px;border-radius:8px}.notification-actions{margin-left:20px;flex-shrink:0}.notification-actions .action-button{padding:8px 16px;font-size:13px;font-weight:600;margin-left:8px;border-radius:10px;transition:all .3s cubic-bezier(.4,0,.2,1);border:2px solid transparent;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 2px 8px #667eea33}.notification-actions .action-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea4d}.notification-actions .action-button:first-child{margin-left:0}.empty-state{text-align:center;padding:80px 20px;color:#64748b;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:20px;margin:20px}.empty-icon{font-size:22px;margin-bottom:20px;opacity:.6;filter:grayscale(50%)}.empty-state h3{margin:0 0 12px;color:#334155;font-size:22px;font-weight:700}.empty-state p{font-size:12px;line-height:1.6;max-width:400px;margin:0 auto}.status-badge.status-serviceable{background:linear-gradient(135deg,#10b981,#059669);color:#fff;box-shadow:0 2px 8px #10b9814d}.status-badge.status-rejected{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;box-shadow:0 2px 8px #ef44444d}.status-badge.status-more-info{background:#8f5d11;color:#fff}.status-badge.status-pending{background:#26829d;color:#fff;box-shadow:0 2px 8px #26829d4d}.status-badge.status-yes{background:linear-gradient(135deg,#10b981,#059669);color:#fff;box-shadow:0 2px 8px #10b9814d}.status-badge.status-no{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;box-shadow:0 2px 8px #ef44444d}.status-badge.status-maybe{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;box-shadow:0 2px 8px #f59e0b4d}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:20px;margin:20px}.loading-spinner{width:48px;height:48px;border:4px solid #e2e8f0;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:20px}.loading-container p{color:#64748b;font-size:12px;font-weight:500}.error-container{text-align:center;padding:60px 20px;background:linear-gradient(135deg,#fef2f2,#fee2e2);border-radius:20px;margin:20px;border:2px solid #fecaca}.error-icon{font-size:22px;margin-bottom:20px;color:#ef4444}.error-container h3{margin:0 0 12px;color:#991b1b;font-size:22px;font-weight:700}.error-container p{margin:0 0 24px;color:#7f1d1d;font-size:12px;line-height:1.6}.error-container .action-button{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;padding:12px 24px;border:none;border-radius:12px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #ef44444d}.error-container .action-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #ef444466}@media (max-width: 768px){.page-header{padding:24px 20px;margin-bottom:20px}.page-header h2{font-size:22px}.page-header p{font-size:13px}.notification-tabs{padding:6px;gap:6px}.notification-tab{padding:10px 16px;font-size:13px}.notification-item{flex-direction:column;align-items:flex-start;padding:16px 20px}.notification-icon{margin-bottom:16px;width:40px;height:40px;font-size:22px}.notification-content{width:100%}.notification-actions{margin-left:0;margin-top:16px;width:100%;display:flex;gap:8px}.notification-actions .action-button{flex:1;margin-left:0;text-align:center}.empty-state{padding:60px 16px;margin:16px}.empty-icon{font-size:22px}.empty-state h3,.empty-state p{font-size:13px}}.qc-checklist{margin-bottom:20px}.checkbox-label{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px;padding:16px;background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;cursor:pointer;transition:all .2s ease;line-height:1.5}.checkbox-label:hover{background:#e9ecef;border-color:#dee2e6}.checkbox-label input[type=checkbox]{width:18px;height:18px;margin:2px 0 0;flex-shrink:0;accent-color:#003675}.checkbox-label strong{color:#495057;font-weight:600}.checkbox-label .checkmark{display:none}.qc-checklist .form-group{margin-bottom:0}.status-badge.status-pending{color:#fff}.poc-assignment-container{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px;max-width:1100px;margin-left:auto;margin-right:auto;height:calc(100vh - 180px);min-height:500px}.lead-info-card,.poc-form-card,.instructions-card{background:#fff;border-radius:12px;padding:16px;box-shadow:0 4px 16px #00000014;border:1px solid rgba(0,0,0,.06);transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column;max-height:100%;overflow-y:auto}.lead-info-card:hover,.poc-form-card:hover,.instructions-card:hover{box-shadow:0 6px 20px #0000001f;transform:translateY(-1px)}.lead-info-card{grid-column:1;background:linear-gradient(135deg,#fff,#f8fafc)}.poc-form-card{grid-column:2;background:linear-gradient(135deg,#fff,#f1f5f9)}.instructions-card{grid-column:1 / -1;background:linear-gradient(135deg,#f8fafc,#f1f5f9)}.lead-info-card h3,.poc-form-card h3,.instructions-card h3{margin:0 0 16px;color:#1e293b;font-size:13px;font-weight:700;padding-bottom:8px;border-bottom:1px solid #e2e8f0;flex-shrink:0}.lead-details{display:flex;flex-direction:column;gap:8px;flex:1;overflow-y:auto}.detail-row{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:#fff;border-radius:6px;border:1px solid #e2e8f0;transition:all .2s ease;flex-shrink:0}.detail-row:hover{background:#f8fafc;border-color:#cbd5e1;transform:translate(1px)}.detail-row:last-child{border-bottom:none}.detail-row .label{font-weight:600;color:#64748b;font-size:11px;text-transform:uppercase;letter-spacing:.3px}.detail-row .value{font-weight:600;color:#1e293b;font-size:12px;text-align:right;flex:1;margin-left:8px}.poc-form{display:flex;flex-direction:column;gap:12px;flex:1;overflow-y:auto}.form-group{display:flex;flex-direction:column;gap:4px;flex-shrink:0}.form-group label{font-weight:600;color:#374151;font-size:11px;text-transform:uppercase;letter-spacing:.3px}.poc-select,.poc-textarea{padding:8px 12px;border:1px solid #e5e7eb;border-radius:8px;font-size:12px;transition:all .3s ease;background:#fff;font-family:inherit}.poc-select:focus,.poc-textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 2px #667eea1a;transform:translateY(-1px)}.poc-textarea{resize:vertical;min-height:60px}.poc-actions{display:flex;gap:8px;margin-top:8px;padding-top:12px;border-top:1px solid #e2e8f0;flex-shrink:0}.poc-actions .action-button{flex:1;padding:8px 16px;border:none;border-radius:8px;font-weight:600;font-size:12px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);text-transform:uppercase;letter-spacing:.3px;position:relative;overflow:hidden}.poc-actions .action-button:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s}.poc-actions .action-button:hover:before{left:100%}.poc-actions .primary-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 12px #667eea4d}.poc-actions .primary-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 16px #667eea66}.poc-actions .primary-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.poc-actions .secondary-button{background:#fff;color:#64748b;border:1px solid #e2e8f0}.poc-actions .secondary-button:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1;transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.page-header{margin-bottom:16px;background:linear-gradient(135deg,#667eea,#764ba2);padding:16px 24px;border-radius:12px;box-shadow:0 4px 16px #667eea26;color:#fff;position:relative;overflow:hidden}.page-header:before{content:"";position:absolute;top:-50%;right:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%);animation:float 6s ease-in-out infinite}@keyframes float{0%,to{transform:translateY(0) rotate(0)}50%{transform:translateY(-20px) rotate(180deg)}}.page-header h2{margin:0 0 4px;color:#fff;font-size:13px;font-weight:700;letter-spacing:-.3px;position:relative;z-index:1}.page-header p{margin:0;color:#ffffffe6;font-size:13px;font-weight:500;position:relative;z-index:1}.status-badge:hover{transform:translateY(-1px);box-shadow:0 3px 6px #00000026}@media (max-width: 1024px){.poc-assignment-container{grid-template-columns:1fr;gap:16px;max-width:100%;height:auto;min-height:auto}.lead-info-card,.poc-form-card,.instructions-card{grid-column:1;padding:12px;max-height:none}}@media (max-width: 768px){.poc-assignment-container{gap:12px;margin:12px;height:auto}.lead-info-card,.poc-form-card,.instructions-card{padding:12px;border-radius:8px}.page-header{padding:12px 16px;margin:12px}.page-header h2,.page-header p{font-size:12px}.lead-info-card h3,.poc-form-card h3,.instructions-card h3{font-size:13px}.detail-row{flex-direction:column;align-items:flex-start;gap:4px;padding:8px}.detail-row .value{text-align:left;margin-left:0;font-size:11px}.poc-actions{flex-direction:column}.poc-actions .action-button{width:100%}}.button-group{display:flex;gap:8px;flex-wrap:wrap}.button-group .action-button{margin:0}.priority-indicator{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px}.priority-indicator.urgent{background:#dc3545}.priority-indicator.high{background:#fd7e14}.priority-indicator.medium{background:#ffc107}.priority-indicator.low{background:#28a745}.task-status-indicator{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500}.task-status-indicator.pending{background:#fff3cd;color:#856404}.task-status-indicator.in_progress{background:#cce5ff;color:#004085}.task-status-indicator.completed{background:#d4edda;color:#155724}.task-status-indicator.overdue{background:#f8d7da;color:#721c24}.lead-status-new{background:#e3f2fd;color:#003675}.lead-status-warm_lead{background:#fff3e0;color:#e65100}.lead-status-serviceable{background:#e8f5e8;color:#2e7d32}.lead-status-converted{background:#f3e5f5;color:#7b1fa2}.lead-status-not_serviceable{background:#ffebee;color:#c62828}.follow-up-urgent{border-left:4px solid #dc3545;background:#fff5f5}.follow-up-today{border-left:4px solid #ffc107;background:#fffcf0}.follow-up-upcoming{border-left:4px solid #28a745;background:#f8fff8}.stat-card.enhanced{position:relative;overflow:hidden}.stat-card.enhanced:before{content:"";position:absolute;top:0;right:0;width:100px;height:100px;background:#ffffff1a;border-radius:50%;transform:translate(30px,-30px)}.stat-card.enhanced .stat-value{position:relative;z-index:1}.skeleton{background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:loading 1.5s infinite}@keyframes loading{0%{background-position:200% 0}to{background-position:-200% 0}}.skeleton-text{height:16px;margin-bottom:8px;border-radius:4px}.skeleton-card{height:120px;border-radius:8px;margin-bottom:16px}.stat-card:nth-child(4){background:linear-gradient(135deg,#26c6da,#4caf50)}.stat-card h3{margin:0 0 10px;font-size:13px;font-weight:500;opacity:.9}.stat-value{margin:0;font-size:22px;font-weight:700}.dashboard-sections{display:flex;flex-direction:column;gap:30px}.section{background:#f9f9f9;padding:20px;border-radius:8px}.section h3{margin:0 0 20px;color:#333;font-size:22px}.table-container{width:100%;overflow:hidden}table{width:100%;border-collapse:collapse;background:#fff;border-radius:6px;overflow:hidden;table-layout:fixed}thead{background:#f5f5f5}th{padding:12px;text-align:left;font-weight:600;color:#333;font-size:13px;border-bottom:2px solid #e0e0e0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}td{padding:12px;border-bottom:1px solid #e0e0e0;color:#666;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}.status-offer_received{background:#c5e1a5;color:#558b2f}@media (max-width: 1200px){.dashboard-content{padding:20px}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:15px}.table-container{overflow-x:auto}}.admin-dashboard-grid{display:grid;grid-template-columns:1fr 350px;gap:20px;align-items:start}.admin-dashboard-grid>div:last-child{max-width:350px;width:100%}.overview-card{width:100%;box-sizing:border-box;overflow:hidden}.six-cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.dashboard-card{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;border:1px solid #e2e8f0;box-sizing:border-box;min-height:140px;display:flex;flex-direction:column}.count-card{min-height:140px;height:140px}@media (max-width: 1200px){.six-cards-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.six-cards-grid{grid-template-columns:1fr}.count-card{min-height:120px;height:auto}}@media (max-width: 1200px){.admin-dashboard-grid{grid-template-columns:1fr!important}.admin-dashboard-grid>div:last-child{position:relative!important;top:auto!important;max-width:100%!important}}@media (max-width: 768px){.overview-content{padding:15px!important}.admin-dashboard-grid{gap:15px}.overview-card{padding:16px!important}}@media (max-width: 768px){.dashboard-content{padding:15px}.overview-content{padding:15px!important}.kpi-cards,.overview-grid{grid-template-columns:1fr!important;gap:15px}.stats-grid{grid-template-columns:repeat(2,1fr);gap:10px}.stat-card{padding:15px}.stat-value{font-size:22px}.section{padding:15px}.leads-table{min-width:800px}th,td{padding:8px 12px;font-size:12px}.table-container{overflow-x:auto}.leads-table-container{overflow-x:auto;-webkit-overflow-scrolling:touch}}.status-badge.serviceable{background:#d1fae5;color:#065f46;border:1px solid #a7f3d0}.status-badge.not-serviceable{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.status-badge.need-more-info{background:#fef3c7;color:#92400e;border:1px solid #fde68a}.status-badge.pending{background:#26829d;color:#fff;border:1px solid #26829D}.text-muted{color:#6b7280;font-style:italic}.stat-label{font-size:13px;color:#7f8c8d;font-weight:500}.stat-value{font-weight:700;font-size:12px;color:#2c3e50}.leads-table{width:100%;border-collapse:collapse;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px #0000001a}.dashboard-content .leads-table th{background:#003675!important;color:#fff;padding:12px;text-align:left;font-weight:600;font-size:13px}.status-badge{display:inline-block;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500;text-transform:uppercase;white-space:nowrap;text-align:center;min-width:80px;line-height:1.4}.view-details-button{padding:6px 12px;background:#6c757d;color:#fff;border:none;border-radius:4px;font-size:12px;cursor:pointer;transition:background .2s;white-space:nowrap;margin-left:8px}.view-details-button:hover{background:#5a6268}.reassign-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.top-performer-highlight{display:flex;align-items:center;gap:20px;padding:24px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;color:#fff}.performer-avatar{width:80px;height:80px;border-radius:50%;background:#fff3;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:22px;border:3px solid rgba(255,255,255,.3)}.performer-info{flex:1}.performer-name{font-size:22px;font-weight:700;margin-bottom:4px;color:#fff}.performer-email{font-size:13px;opacity:.9;margin-bottom:16px;color:#fff}.performer-stats{display:flex;gap:32px}.stat-item{display:flex;flex-direction:column;align-items:center}.stat-number{font-size:22px;font-weight:700;color:#fff;margin-bottom:4px}.stat-label{font-size:12px;opacity:.8;text-transform:uppercase;letter-spacing:.5px;color:#fff}.leads-table{table-layout:fixed!important}.leads-table th{vertical-align:middle!important;padding:12px 16px!important}.leads-table th:nth-child(1){width:18%!important}.leads-table th:nth-child(2){width:12%!important}.leads-table th:nth-child(3){width:10%!important}.leads-table th:nth-child(4){width:10%!important}.leads-table th:nth-child(5){width:10%!important}.leads-table th:nth-child(6){width:12%!important}.leads-table th:nth-child(7){width:13%!important}.leads-table th:nth-child(8){width:15%!important}.leads-table td{vertical-align:middle!important;padding:12px 16px!important}.leads-table td:nth-child(2){text-align:left!important;vertical-align:middle!important}.leads-table td:nth-child(8){text-align:left!important;vertical-align:middle!important}.leads-table td .status-badge{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;vertical-align:middle!important}.leads-table td .lead-actions{display:flex!important;flex-direction:column!important;gap:6px!important;align-items:flex-start!important;width:100%!important}.leads-table td .lead-actions .action-btn,.leads-table td .lead-actions select{margin:0 0 4px!important;width:100%!important;max-width:100%!important}.page-subtitle{font-size:12px;color:#666;margin:0}.dashboard-content-wrapper{width:100%}.loading{text-align:center;padding:60px 40px;font-size:13px;color:#666}.error-container{background:#fff;border-radius:8px;padding:40px;box-shadow:0 2px 4px #0000001a;max-width:600px;margin:0 auto}.error-container h2{color:#c33;margin:0 0 20px}.error-message{background:#fee;color:#c33;padding:15px;border-radius:6px;margin:20px 0;border-left:4px solid #c33}.error-actions{display:flex;gap:15px;margin:30px 0}.primary-button{background:linear-gradient(135deg,#003675,#003675);color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 8px #00838f40}.primary-button:hover{opacity:.9}.secondary-button{background:#f5f5f5;color:#333;border:1px solid #ddd;padding:12px 24px;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer;transition:background .3s}.secondary-button:hover{background:#e0e0e0}.error-help{margin-top:30px;padding-top:20px;border-top:1px solid #e0e0e0}.error-help p{margin:0 0 10px;color:#666}.error-help ul{margin:10px 0;padding-left:20px;color:#666}.error-help li{margin:8px 0}@media (max-width: 1200px){.page-container{padding:20px 30px}}@media (max-width: 768px){.page-container{padding:15px 20px}.page-header h1{font-size:22px}.page-subtitle{font-size:13px}.error-container{padding:20px}.error-actions{flex-direction:column}.primary-button,.secondary-button{width:100%;margin-bottom:10px}}.lead-form-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;justify-content:center;align-items:center;z-index:9999;padding:20px}.lead-form-container input:disabled,.lead-form-container select:disabled,.lead-form-container textarea:disabled{background-color:#f8f9fa;border-color:#dee2e6;color:#6c757d;cursor:not-allowed;opacity:.8}.lead-form-container input:disabled::placeholder,.lead-form-container textarea:disabled::placeholder{color:#adb5bd}.existing-file{margin-top:5px;padding:5px 8px;background-color:#e8f5e8;border:1px solid #c3e6c3;border-radius:4px;font-size:12px}.existing-file small{color:#2d5016;font-weight:500}.existing-file a{color:#06c;text-decoration:none;margin-left:5px;font-weight:600}.existing-file a:hover{text-decoration:underline}.lead-form-container{background:#fff;border-radius:12px;width:100%;max-width:900px;max-height:90vh;overflow-y:auto;box-shadow:0 10px 40px #0003}.lead-form-header{display:flex;justify-content:space-between;align-items:center;padding:20px 30px;border-bottom:1px solid #e0e0e0;position:sticky;top:0;background:#fff;z-index:10}.lead-form-header h2{margin:0;color:#003675;font-size:22px}.form-tabs{display:flex;border-bottom:2px solid #e0e0e0;padding:0 30px;background:#fff;position:sticky;top:73px;z-index:9}.form-tab{padding:15px 25px;background:none;border:none;border-bottom:3px solid transparent;color:#666;font-size:13px;font-weight:500;cursor:pointer;transition:all .3s ease;position:relative;margin-bottom:-2px}.form-tab:hover{color:#003675;background-color:#f8f9fa}.form-tab.active{color:#003675;border-bottom-color:#003675;font-weight:600}.close-button{background:none;border:none;font-size:22px;color:#666;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .3s}.close-button:hover{background:#f5f5f5;color:#333}.lead-form{padding:30px}.form-section{margin-bottom:30px}.form-section h3{margin:0 0 20px;color:#1a1a2e;font-size:13px;font-weight:600;padding-bottom:10px;border-bottom:2px solid #f0f0f0}.form-row{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-bottom:20px}.form-group label{margin-bottom:8px;font-weight:500;color:#333;font-size:13px}.form-group input,.form-group select,.form-group textarea{padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:13px;font-family:inherit;transition:border-color .3s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#003675;box-shadow:0 0 0 3px #00838f1a}.form-group textarea{resize:vertical;min-height:80px}input:invalid,select:invalid,textarea:invalid{box-shadow:none}input:required:invalid,select:required:invalid,textarea:required:invalid{box-shadow:none;border-color:#ddd}.error-text{color:#c33;font-size:12px;margin-top:4px}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px;padding-top:20px;border-top:1px solid #eee}.cancel-button{padding:10px 20px;border:1px solid #ddd;background:#f5f5f5;color:#666;border-radius:4px;cursor:pointer;font-size:13px;transition:all .2s ease}.cancel-button:hover{background:#e0e0e0}.submit-button{padding:10px 20px;border:none;background:#003675;color:#fff;border-radius:4px;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 8px #00838f40}.submit-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #00838f59}.submit-button:hover:not(:disabled){opacity:.9}.submit-button:disabled{opacity:.6;cursor:not-allowed}.lead-form-container::-webkit-scrollbar{width:8px}.lead-form-container::-webkit-scrollbar-track{background:#f1f1f1}.lead-form-container::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.lead-form-container::-webkit-scrollbar-thumb:hover{background:#555}.draft-button{padding:10px 20px;border:1px solid #6c757d;background:#6c757d;color:#fff;border-radius:4px;cursor:pointer;font-size:13px;transition:all .3s ease;box-shadow:0 2px 8px #6c757d40}.draft-button:hover:not(:disabled){background:#5a6268;border-color:#5a6268;transform:translateY(-2px);box-shadow:0 4px 12px #6c757d59}.draft-button:disabled{background:#ccc;border-color:#ccc;cursor:not-allowed;opacity:.6}.submit-review-button{padding:10px 20px;border:1px solid #28a745;background:#28a745;color:#fff;border-radius:4px;cursor:pointer;font-size:13px;transition:all .3s ease;box-shadow:0 2px 8px #28a74540}.submit-review-button:hover:not(:disabled){background:#218838;border-color:#218838;transform:translateY(-2px);box-shadow:0 4px 12px #28a74559}.submit-review-button:disabled{background:#ccc;border-color:#ccc;cursor:not-allowed;opacity:.6}.radio-group{display:flex;flex-direction:column;gap:8px;margin-top:5px}.radio-option{display:flex;align-items:center;gap:8px;cursor:pointer;padding:2px 0;transition:background-color .2s ease}.radio-option:hover{background-color:#f5f5f5;border-radius:4px}.radio-option input[type=radio]{width:16px;height:8px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:2px solid #003675;border-radius:8px;background:#fff;cursor:pointer;position:relative;transition:all .2s ease;flex-shrink:0;margin:0;vertical-align:middle}.radio-option input[type=radio]:checked{background:#003675;border-color:#003675}.radio-option input[type=radio]:checked:after{content:"";position:absolute;top:50%;left:3px;transform:translateY(-50%);width:4px;height:4px;background:#fff;border-radius:50%}.radio-option input[type=radio]:hover{border-color:#003675;transform:scale(1.1)}.radio-text{font-size:13px;color:#333;-webkit-user-select:none;user-select:none;line-height:1.4;vertical-align:middle;margin-left:0;padding-left:0}.radio-option:hover .radio-text{color:#003675}.radio-option input[type=radio]:checked+.radio-text{color:#003675;font-weight:500}.checkbox-group{display:flex;flex-direction:column;gap:8px;margin-top:5px;max-height:200px;overflow-y:auto;border:1px solid #e0e0e0;border-radius:6px;padding:10px}.checkbox-option{display:flex;align-items:center;gap:8px;cursor:pointer;padding:4px 0;transition:background-color .2s ease}.checkbox-option:hover{background-color:#f5f5f5;border-radius:4px}.checkbox-option input[type=checkbox]{width:16px;height:16px;accent-color:#003675;cursor:pointer}.checkbox-text{font-size:13px;color:#333;-webkit-user-select:none;user-select:none}.document-upload-section{padding:30px;background:#f8f9fa;border-radius:8px}.document-category{margin-bottom:40px}.document-category h4{font-size:13px;font-weight:600;color:#003675;margin-bottom:20px;font-family:DM Sans,sans-serif}.document-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.document-upload-box{position:relative;background:#fff;border:2px dashed #d0d0d0;border-radius:8px;padding:24px;text-align:center;transition:all .3s ease;cursor:pointer;min-height:140px;display:flex;flex-direction:column;align-items:center;justify-content:center}.document-upload-box:hover{border-color:#003675;background-color:#f5f7fa;transform:translateY(-2px);box-shadow:0 4px 12px #0036751a}.document-upload-box.has-file{border-color:#28a745;border-style:solid;background-color:#f0f9f3}.document-upload-box input[type=file]{position:absolute;width:100%;height:100%;top:0;left:0;opacity:0;cursor:pointer}.upload-icon{margin-bottom:12px}.upload-text{font-size:13px;color:#666;font-weight:500;margin-bottom:4px;font-family:DM Sans,sans-serif}.document-label{font-size:14px;color:#1f2937;font-weight:700;font-family:DM Sans,sans-serif}.document-hint{font-size:11px;color:#64748b;font-weight:600;margin-top:4px;font-family:DM Sans,sans-serif}.existing-file-indicator{position:absolute;top:12px;right:12px;display:flex;align-items:center;gap:6px;font-size:12px;color:#28a745;font-weight:600}.file-preview-link{position:absolute;bottom:12px;left:50%;transform:translate(-50%);font-size:12px;color:#003675;text-decoration:underline;font-weight:500}.file-preview-link:hover{color:#003675}.document-buttons-section{display:flex;justify-content:space-between;align-items:center;margin-top:40px;padding-top:24px;border-top:2px solid #e0e0e0}.document-buttons-left{display:flex;gap:8px;align-items:center}.document-buttons-right{display:flex;gap:12px}.back-button{display:flex;align-items:center;gap:8px;padding:10px 20px;border:1px solid #ddd;background:#fff;color:#666;border-radius:6px;cursor:pointer;font-size:13px;font-weight:500;transition:all .2s ease;font-family:DM Sans,sans-serif}.back-button:hover{background:#f5f5f5;border-color:#bbb;color:#333}.save-button{padding:10px 24px;border:1px solid #6c757d;background:#fff;color:#6c757d;border-radius:6px;cursor:pointer;font-size:13px;font-weight:600;transition:all .2s ease;font-family:DM Sans,sans-serif}.save-button:hover:not(:disabled){background:#6c757d;color:#fff}.submit-doc-button{padding:10px 24px;border:none;background:#003675;color:#fff;border-radius:6px;cursor:pointer;font-size:13px;font-weight:600;transition:all .3s ease;box-shadow:0 2px 8px #00367540;font-family:DM Sans,sans-serif}.submit-doc-button:hover:not(:disabled){background:#002555;transform:translateY(-2px);box-shadow:0 4px 12px #00367559}.submit-doc-button:disabled,.save-button:disabled{opacity:.6;cursor:not-allowed}.lead-file-error-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a8c;display:flex;align-items:center;justify-content:center;z-index:10001;padding:16px}.lead-file-error-modal{background:#fff;border-radius:10px;width:100%;max-width:460px;padding:20px;border:1px solid #fecaca;box-shadow:0 20px 40px #0003}.lead-file-error-modal h4{margin:0 0 10px;color:#991b1b;font-size:16px;font-weight:700}.lead-file-error-modal p{margin:0 0 16px;color:#334155;font-size:13px;line-height:1.5}.page-container{padding:30px 40px;width:100%;max-width:100%;margin:0;overflow-x:hidden}.page-header{margin-bottom:30px;background:transparent}.page-subtitle{font-size:22px;color:#666;margin:0}.entity-list-container{background:#fff;border-radius:12px;padding:30px;width:100%;overflow:hidden}.entity-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;flex-wrap:wrap;gap:20px}.entity-header{margin-bottom:20px}.entity-header h1{display:none}.entity-actions{display:flex;gap:15px;align-items:center}.search-input{padding:10px 15px;border:1px solid #ddd;border-radius:6px;font-size:12px;min-width:250px}.search-input:focus{outline:none;border-color:#003675;box-shadow:0 0 0 3px #00838f1a}.primary-button{background:linear-gradient(135deg,#003675,#003675);color:#fff;border:none;padding:10px 20px;border-radius:8px;font-size:12px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 8px #00838f40}.primary-button:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00838f59}.error-message{background-color:#fee;color:#c33;padding:12px;border-radius:6px;margin-bottom:20px;font-size:13px}.table-container{border-radius:6px;border:1px solid #e0e0e0;width:100%;overflow:hidden}table{width:100%;border-collapse:collapse;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 6px #0000001a;table-layout:fixed}th,td{padding:8px 12px;text-align:left;border-bottom:1px solid #eee;vertical-align:middle}th{background:#f8f9fa;font-weight:600;color:#2c3e50;font-size:12px;white-space:nowrap}.table-container .leads-table{width:100%;min-width:1100px;table-layout:fixed;border-collapse:collapse}.table-container .leads-table th,.table-container .leads-table td{padding:8px 16px;font-size:22px!important;vertical-align:middle}.table-container .leads-table th{background:#f8fafc;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;font-size:12px!important;border-bottom:2px solid #e2e8f0;position:relative;white-space:nowrap;z-index:1}.table-container .leads-table td{border-bottom:1px solid #f1f5f9;color:#334155}.table-container .leads-table tbody tr{transition:background-color .15s}.table-container .leads-table tbody tr:hover{background:#fafbfc}.table-container .leads-table th:nth-child(1),.table-container .leads-table td:nth-child(1){width:28%;min-width:240px;padding:8px 16px}.table-container .leads-table td:nth-child(1) .student-info{overflow:hidden}.table-container .leads-table td:nth-child(1) .student-info>div{min-width:0;overflow:hidden}.table-container .leads-table td:nth-child(1) .student-info>div>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-container .leads-table td:nth-child(1){text-align:center}.table-container .leads-table td:nth-child(1) .student-info{justify-content:center}.table-container .leads-table td:nth-child(1) .student-info>div{text-align:center}.table-container .leads-table th:nth-child(1){text-align:center}.table-container .leads-table td:nth-child(1) .profile-picture img{display:block;margin:0 auto;object-fit:cover}.page-container table thead th:nth-child(1){text-align:center!important}.table-container .leads-table th:nth-child(2),.table-container .leads-table td:nth-child(2){width:10%;min-width:90px;text-align:left;padding:8px 16px}.table-container .leads-table th:nth-child(3),.table-container .leads-table td:nth-child(3){width:18%;min-width:150px;text-align:left}.table-container .leads-table th:nth-child(4),.table-container .leads-table td:nth-child(4){width:18%;min-width:150px;text-align:left}.table-container .leads-table th:nth-child(5),.table-container .leads-table td:nth-child(5){width:26%;min-width:220px;white-space:normal}.table-container .leads-table td:nth-child(5){padding:8px 16px}.table-container .leads-table td:nth-child(5)>div{display:flex;flex-wrap:wrap;gap:6px;align-items:center}td{padding:8px 12px;border-bottom:1px solid #eee;border-bottom:1px solid #e0e0e0;color:#666;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}tr:hover{background:#f9f9f9}.action-button{background:#f0f0f0;border:1px solid #ddd;color:#333;padding:6px 12px;border-radius:4px;cursor:pointer;font-size:12px;margin-right:5px;margin-bottom:5px;transition:all .2s}.action-button:hover{background:#e0e0e0;border-color:#999}.payment-button{background:#4caf50;color:#fff;border-color:#45a049}.payment-button:hover{background:#45a049}.follow-up-button{background:#ff9800;color:#fff;border-color:#f57c00}.follow-up-button:hover{background:#f57c00}.info-button{background:#003675;color:#fff;border-color:#003675}.info-button:hover{background:#003675}.status-badge{display:inline-block;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;text-transform:capitalize}.status-partner{background:#e8f5e9;color:#388e3c}.status-active{background:#c8e6c9;color:#2e7d32}.status-inactive{background:#ffcdd2;color:#c62828}.feedback-content{background:#f8f9fa;padding:12px;border-radius:6px;border-left:4px solid #003675;font-style:italic;color:#495057;line-height:1.5;margin-top:5px;word-wrap:break-word;white-space:pre-wrap}.detail-item.full-width label{font-weight:600;color:#495057;margin-bottom:8px;display:block}.status-enquiry{background:#e3f2fd;color:#003675}.status-registered{background:#f3e5f5;color:#7b1fa2}.status-application_in_progress{background:#fff3e0;color:#f57c00}.status-offer_received{background:#e8f5e9;color:#388e3c}.status-visa_applied{background:#fff9c4;color:#f9a825}.status-visa_approved{background:#c8e6c9;color:#2e7d32}.status-enrolled{background:#a5d6a7;color:#1b5e20}.status-draft{background:#eceff1;color:#546e7a}.status-submitted{background:#e1bee7;color:#7b1fa2}.status-under_review{background:#ffe0b2;color:#f57c00}.status-rejected{background:#ffcdd2;color:#c62828}.status-new{background:#e0f7fa;color:#003675}.status-warm_lead{background:#b2ebf2;color:#006064}.status-pending{background:#e0f2f1;color:#00695c}.status-yes{background:#c8e6c9;color:#2e7d32}.status-no{background:#ffcdd2;color:#c62828}.status-maybe{background:#ffe0b2;color:#f57c00}.status-pending_verification{background:#fff9c4;color:#f9a825}.status-verified{background:#c5e1a5;color:#558b2f}.status-approved{background:#a5d6a7;color:#1b5e20}.status-all_leads{background:#e0f7fa;color:#003675}.status-not_started{background:#eceff1;color:#546e7a}.status-serviceable{background:#c8e6c9;color:#2e7d32}.status-non_serviceable{background:#ffcdd2;color:#c62828}.status-need_more_info,.status-in_progress{background:#fff3e0;color:#f57c00}.status-completed{background:#c8e6c9;color:#2e7d32}@media (max-width: 1200px){.page-container{padding:20px 30px}.entity-list-container{padding:20px}.table-container{overflow-x:auto}}@media (max-width: 768px){.page-container{padding:15px 20px}.entity-list-container{padding:15px}.entity-header{flex-direction:column;align-items:stretch;gap:15px}.entity-actions{flex-direction:column;gap:10px}.search-input{min-width:100%}.action-button{margin-right:0;margin-bottom:5px}th,td{padding:10px 8px;font-size:12px}.table-container{overflow-x:auto}}.filter-tabs{background:#fff;border-radius:8px;padding:15px;border:1px solid #e9ecef;box-shadow:0 1px 3px #0000001a;margin-bottom:20px;display:flex;gap:10px;flex-wrap:wrap}.filter-tab{padding:10px 20px;border:1px solid #dee2e6;background:#fff;border-radius:6px;cursor:pointer;transition:all .3s ease;font-size:13px;font-weight:500;color:#495057;white-space:nowrap}.filter-tab:hover{background:#f8f9fa;border-color:#003675;color:#003675}.filter-tab.active{background:#003675;color:#fff;border-color:#003675}.filter-tab.active:hover{background:#003675}.tab-buttons{display:flex;gap:10px;flex-wrap:wrap}.tab-button{padding:8px 16px;border:1px solid #dee2e6;background:#fff;border-radius:6px;cursor:pointer;transition:all .3s ease;font-size:13px;font-weight:500;color:#495057;white-space:nowrap}.tab-button:hover{background:#f8f9fa;border-color:#003675;color:#003675}.tab-button.active{background:#003675;color:#fff;border-color:#003675}.tab-button.active:hover{background:#003675}@media (max-width: 768px){.tab-buttons{flex-direction:column}.tab-button{width:100%;text-align:center}}.table-container{overflow-x:visible;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a}.table-container table{width:100%;border-collapse:collapse;margin:0}.table-container th{background:#f8f9fa;padding:12px 15px;text-align:left;font-weight:600;color:#495057;border-bottom:2px solid #dee2e6;white-space:nowrap}.table-container td{padding:12px 15px;border-bottom:1px solid #dee2e6;vertical-align:middle}.table-container tbody tr:hover{background:#f8f9fa}.table-container tbody tr:last-child td{border-bottom:none}.action-button{padding:6px 12px;border:1px solid #dee2e6;background:#fff;border-radius:4px;cursor:pointer;font-size:13px;font-weight:500;transition:all .2s ease;margin-right:5px}.action-button:hover{background:#f8f9fa;border-color:#003675;color:#003675}.action-button.primary-button{background:#003675;color:#fff;border-color:#003675}.action-button.primary-button:hover{background:#003675;border-color:#003675}.status-badge{padding:12px 8px;border-radius:12px;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px;display:inline-block}.status-badge.pending{background:#fff3cd;color:#856404;border:1px solid #ffeaa7}.status-badge.yes{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.status-badge.no{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.status-badge.approved{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.status-badge.rejected{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.table-container .status-badge.status-serviceable,.table-container .status-badge.status-not-serviceable,.table-container .status-badge.status-more-info,.table-container .status-badge.status-pending{background:transparent;border-width:1px;border-style:solid;padding:4px 10px}.table-container .status-badge.status-serviceable{border-color:#10b981;color:#047857}.table-container .status-badge.status-not-serviceable{border-color:#ef4444;color:#b91c1c}.table-container .status-badge.status-more-info{border-color:#f97316;color:#c2410c}.table-container .status-badge.status-pending{border-color:#003675;color:#003675}.empty-state{text-align:center;padding:40px 20px;color:#6c757d}.empty-state p{font-size:12px;margin:0}.error-message{background:#f8d7da;color:#721c24;padding:15px;border-radius:6px;border:1px solid #f5c6cb;margin-bottom:20px}.success-message{background:#d1fae5;color:#065f46;padding:15px;border-radius:6px;border:1px solid #10b981;margin-bottom:20px}.status-badge{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;line-height:1.2;height:auto;min-height:24px}.table-container th:nth-child(1),.table-container td:nth-child(1){width:15%;min-width:120px}.table-container th:nth-child(2),.table-container td:nth-child(2){width:12%;min-width:100px}.table-container th:nth-child(3),.table-container td:nth-child(3){width:12%;min-width:100px}.table-container th:nth-child(4),.table-container td:nth-child(4){width:8%;min-width:60px}.table-container th:nth-child(5),.table-container td:nth-child(5){width:12%;min-width:100px}.table-container th:nth-child(6),.table-container td:nth-child(6){width:20%;min-width:150px}.table-container th:nth-child(7),.table-container td:nth-child(7){width:10%;min-width:80px;vertical-align:middle}.table-container th:nth-child(8),.table-container td:nth-child(8){width:10%;min-width:80px;vertical-align:middle}.table-container th:nth-child(9),.table-container td:nth-child(9){width:8%;min-width:80px}.table-container th:last-child,.table-container td:last-child{width:10%;min-width:140px;text-align:center}.sales-notes{max-width:200px;word-wrap:break-word;white-space:normal;line-height:1.4;padding:4px}.sales-notes span{display:block}.actions-cell{display:flex;gap:6px;justify-content:center;align-items:center;min-width:140px;padding:4px}.actions-cell .action-button{padding:6px 12px;font-size:12px;font-weight:500;border:none;border-radius:6px;cursor:pointer;transition:all .2s ease;white-space:nowrap;text-align:center;display:flex;align-items:center;justify-content:center;flex:1;min-width:60px}.actions-cell .edit-button{background:#003675;color:#fff}.actions-cell .edit-button:hover{background:#003675}.actions-cell .view-button{background:#28a745;color:#fff}.actions-cell .view-button:hover{background:#1e7e34}@media (max-width: 768px){.actions-cell{flex-direction:column;gap:4px;min-width:100px;padding:2px}.actions-cell .action-button{font-size:11px;padding:4px 8px;min-width:50px}}.status-col,.actions-col{width:120px}.assignment-stats{display:flex;gap:30px;margin-bottom:20px;padding:15px;background:#f8f9fa;border-radius:8px;border:1px solid #e1e8ed}.assignment-stat .stat-label{font-size:13px;color:#7f8c8d;margin-bottom:5px;font-weight:500}.assignment-stat .stat-value{font-size:22px;font-weight:700;color:#2c3e50}.assign-controls,.reassign-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.reassign-button{padding:6px 12px;background:#f39c12;color:#fff;border:none;border-radius:4px;font-size:12px;cursor:pointer;transition:background .2s;white-space:nowrap}.reassign-button:hover:not(:disabled){background:#e67e22}.reassign-button:disabled{background:#bdc3c7;cursor:not-allowed}.unassigned-row{background:#fff5f5}.unassigned-row:hover{background:#fed7d7}.status-draft{background:#e2e3e5;color:#383d41}.status-col,.actions-col{text-align:center}.active-students-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px;gap:32px}.page-header-wrapper{display:flex;align-items:center;justify-content:space-between;padding:0;margin-bottom:4px}.page-header-left{display:flex;flex-direction:column;gap:4px}.page-title{font-family:DM Sans,system-ui,-apple-system,sans-serif;font-size:22px;font-weight:600;color:#212325;margin:0;letter-spacing:-.2px}.page-subtitle{font-size:12px;font-weight:500;color:#4e5a65;margin:0}.active-students-header .header-content{flex:1;display:flex;flex-direction:column;gap:6px;justify-content:flex-start;align-items:flex-start}.status-filters{display:flex;gap:12px;margin-bottom:2px;overflow-x:auto;padding-bottom:4px}.status-filters::-webkit-scrollbar{height:4px}.status-filters::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.filter-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border:1.5px solid #e2e8f0;border-radius:20px;background:#fff;font-size:13px;font-weight:500;color:#475569;cursor:pointer;transition:all .2s;white-space:nowrap}.filter-pill:hover{border-color:#cbd5e1;background:#f8fafc}.filter-pill.active{font-weight:600;color:#1e293b}.filter-dot{width:8px;height:8px;border-radius:50%}.filter-count{background:#f1f5f9;color:#64748b;padding:2px 8px;border-radius:10px;font-size:11px;font-weight:600}.filter-pill.active .filter-count{background:#0000001a}.filters-row{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.search-container{flex:1;max-width:400px}.search-input{width:100%;padding:10px 16px;border:1px solid #e2e8f0;border-radius:8px;font-size:13px;outline:none;transition:border-color .2s}.search-input:focus{border-color:#003675;box-shadow:0 0 0 3px #3b82f61a}.date-filter-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;font-size:13px;font-weight:500;color:#475569;cursor:pointer;transition:all .2s}.date-filter-btn:hover{border-color:#cbd5e1;background:#f8fafc}.date-filter-btn svg{flex-shrink:0}.active-students-table{overflow-x:auto;border-radius:12px;border:1px solid #e2e8f0;background:#fff}.active-students-table table{width:100%;min-width:1000px;border-collapse:collapse;background:#fff;table-layout:fixed}.active-students-table th{background:#f8fafc;padding:8px 16px;text-align:left;font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #e2e8f0}.active-students-table th:nth-child(1){width:20%;min-width:200px}.active-students-table th:nth-child(2){width:15%;min-width:140px}.active-students-table th:nth-child(3){width:16%;min-width:140px}.active-students-table th:nth-child(4){width:13%;min-width:120px}.active-students-table th:nth-child(5){width:15%;min-width:140px}.active-students-table th:nth-child(6){width:10%;min-width:90px;text-align:center}.active-students-table th:nth-child(7){width:11%;min-width:110px}.active-students-table td:nth-child(1){width:20%}.active-students-table td:nth-child(2){width:15%}.active-students-table td:nth-child(3){width:16%}.active-students-table td:nth-child(4){width:13%}.active-students-table td:nth-child(5){width:15%}.active-students-table td:nth-child(6){width:10%;text-align:center}.active-students-table td:nth-child(7){width:11%}.active-students-table td{padding:8px 16px;border-bottom:1px solid #f1f5f9;font-size:13px;color:#334155;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.active-students-table tbody tr{transition:background-color .15s}.active-students-table tbody tr:hover{background:#fafbfc}.student-cell{display:flex;align-items:center;gap:12px}.avatar-circle{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;flex-shrink:0}.student-name{font-weight:600;color:#1e293b}.poc-name{color:#475569}.stage-badge{display:inline-flex;align-items:center;padding:5px 12px;border:1.5px solid;border-radius:14px;font-size:12px;font-weight:600;background:transparent;white-space:nowrap}.date-text{color:#64748b;font-size:13px}.date-text.overdue{color:#dc2626;font-weight:600;display:inline-flex;align-items:center;gap:6px}.overdue-dot{width:6px;height:6px;border-radius:50%;background:#dc2626;display:inline-block}.contact-count{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:6px;background:#f1f5f9;color:#64748b;font-size:12px;font-weight:600}.payment-badge{display:inline-flex;align-items:center;justify-content:center;padding:5px 14px;border-radius:14px;font-size:12px;font-weight:600;min-width:70px}.active-students-table .empty-state{text-align:center;padding:60px 20px}.active-students-table .empty-state>div{display:flex;flex-direction:column;align-items:center;gap:16px}.active-students-table .empty-state p{font-size:13px;color:#64748b;margin:0}.pagination-container{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:24px;padding:20px 0}.pagination-btn{padding:8px 16px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;font-size:13px;font-weight:500;color:#475569;cursor:pointer;transition:all .2s}.pagination-btn:hover:not(:disabled){border-color:#003675;color:#003675;background:#f0f9ff}.pagination-btn:disabled{opacity:.4;cursor:not-allowed}.pagination-info{font-size:13px;color:#64748b}.loading{text-align:center;padding:60px 20px;font-size:12px;color:#64748b}.error-message{background:#fee2e2;border:1px solid #fecaca;color:#991b1b;padding:12px 16px;border-radius:8px;margin-bottom:20px;font-size:13px}.payment-log{background:#fff;border-radius:8px;padding:20px;margin:20px 0;box-shadow:0 2px 4px #0000001a}.payment-log-loading{text-align:center;padding:20px;color:#666}.payment-log-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:2px solid #f0f0f0}.payment-log-header h3{margin:0;color:#333;font-size:1.2rem}.add-payment-btn{background:#003675;color:#fff;border:none;padding:8px 16px;border-radius:4px;cursor:pointer;font-size:.9rem;transition:background .3s}.add-payment-btn:hover{background:#003675}.add-payment-form{background:#f8f9fa;padding:20px;border-radius:6px;margin-bottom:20px;border:1px solid #e9ecef}.add-payment-form h4{margin:0 0 15px;color:#333;font-size:1.1rem}.form-row{display:flex;gap:15px;margin-bottom:15px}.form-group{flex:1}.form-group.full-width{flex:100%}.form-group label{display:block;margin-bottom:5px;font-weight:500;color:#333}.form-group input,.form-group select,.form-group textarea{width:100%;padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:.9rem}.form-group textarea{resize:vertical;min-height:60px}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:15px}.cancel-btn,.save-btn{padding:8px 16px;border:none;border-radius:4px;cursor:pointer;font-size:.9rem}.payment-summary{display:flex;gap:30px;margin-bottom:20px;padding:15px;background:#f8f9fa;border-radius:6px;border-left:4px solid #003675}.summary-item{display:flex;flex-direction:column}.summary-item .label{font-size:.9rem;color:#666;margin-bottom:5px}.summary-item .value{font-size:1.1rem;font-weight:600;color:#333}.no-payments{text-align:center;padding:40px;color:#666;background:#f8f9fa;border-radius:6px;border:2px dashed #ddd}.payments-list{display:flex;flex-direction:column;gap:15px}.payment-item{display:flex;justify-content:space-between;align-items:flex-start;padding:15px;background:#f8f9fa;border-radius:6px;border-left:4px solid #28a745;transition:box-shadow .3s}.payment-item:hover{box-shadow:0 2px 8px #0000001a}.payment-amount{font-size:1.2rem;font-weight:600;color:#28a745;min-width:120px;text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:8px}.payment-status{font-size:.75rem;padding:2px 8px;border-radius:12px;font-weight:500;text-transform:uppercase}.status-pending{color:#856404;border:1px solid #ffeaa7}.status-completed{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.status-failed{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.status-refunded{background:#e2e3e5;color:#383d41;border:1px solid #d6d8db}.payment-details{flex:1;margin-left:20px}.payment-type{font-weight:600;color:#333;margin-bottom:4px;display:flex;align-items:center;gap:8px}.emi-badge{background:#003675;color:#fff;font-size:.7rem;padding:2px 6px;border-radius:10px;font-weight:500}.payment-date{font-weight:500;color:#333;margin-bottom:4px}.payment-method{font-size:.9rem;color:#666;margin-bottom:4px}.transaction-id{font-size:.85rem;color:#003675;margin-bottom:4px}.payment-notes{font-size:.85rem;color:#666;font-style:italic;margin-top:4px}.payment-meta{font-size:.8rem;color:#999;margin-top:8px;padding-top:8px;border-top:1px solid #eee}@media (max-width: 768px){.form-row,.payment-summary{flex-direction:column;gap:10px}.payment-item{flex-direction:column;align-items:flex-start}.payment-amount{min-width:auto;text-align:left;margin-bottom:10px}.payment-details{margin-left:0}}body{font-family:DM Sans,system-ui,-apple-system,sans-serif;background:#f4f6f8;color:#212325}.page-header h1{font-size:20px;font-weight:600;margin:0;color:#212325;line-height:1.2}.back-btn{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:500;color:#64748b;background:transparent;border:none;cursor:pointer;padding:0;line-height:1;width:fit-content}.back-btn:hover{color:#003675}.header-body{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.header-identity{display:flex;align-items:center;gap:16px}.header-info{display:flex;flex-direction:column;gap:6px}.header-meta{display:flex;align-items:center;gap:8px;font-size:13px;color:#64748b;flex-wrap:wrap}.meta-dot{color:#cbd5e1}.header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.header-status-badge{padding:5px 14px;border-radius:20px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.4px}.header-status-yes{background:#d1fae5;color:#065f46}.header-status-no{background:#fee2e2;color:#991b1b}.header-status-maybe{background:#fef3c7;color:#92400e}.header-status-pending{background:#e0f2fe;color:#0369a1}.lead-detail-page{width:100%;padding:0;background:#f4f6f8;min-height:100vh}.page-header{background:transparent;border:none;border-radius:0;padding:20px 32px;display:flex;flex-direction:column;gap:0;margin-bottom:-1px}.entity-detail-container{display:flex;flex-direction:column;gap:16px;margin-top:16px;padding:0 32px 32px}.lead-profile-image,.lead-profile-initials{width:72px;height:72px;border-radius:999px}.lead-profile-image{object-fit:cover;border:1px solid #D0D8E0}.lead-profile-initials{background:#003675;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:18px}.tab-navigation{display:flex;gap:2px;border-bottom:1px solid #e2e8f0;padding:0 32px;background:#fff}.tab-button{padding:12px 10px;font-size:13px;font-weight:500;color:#64748b;background:transparent;border:none;cursor:pointer;position:relative}.tab-button.active{color:#003675;font-weight:600}.tab-button.active:after{content:"";position:absolute;bottom:-1px;left:0;height:3px;width:100%;background:#003675}.detail-section{background:#fff;border:1px solid #D0D8E0;border-radius:16px;padding:20px}.entity-detail-container>.detail-section:first-child{margin-top:0}.detail-section-header{display:flex;justify-content:space-between;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none;margin:-20px -20px 12px;padding:12px 20px;border-bottom:1px solid #E8ECF1}.detail-section-header h2{font-size:12px;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.06em;margin:0}.detail-grid{margin-top:16px;display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.detail-item{display:flex;flex-direction:column;gap:4px}.detail-item.full-width{grid-column:1 / -1}.detail-item label{font-size:11px;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;margin-bottom:4px}.detail-item span{font-size:14px;font-weight:500;color:#1e293b;word-break:break-word;line-height:1.4}.status-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;font-size:11px;font-weight:600;white-space:nowrap;border-radius:6px}.status-serviceable,.status-completed{background:#2d6a2e;color:#fff}.status-need-more-info,.status-partial{background:#92600a;color:#fff}.status-not-serviceable{background:#991b1b;color:#fff}.status-pending{background:#3b8ea5;color:#fff}.sales-status-pill{border-radius:999px;padding:6px 14px;font-size:11px;font-weight:600;border:1px solid;background:#fff;white-space:nowrap}.action-buttons{margin-top:20px;display:flex;flex-wrap:wrap;gap:12px}.action-buttons button{padding:10px 18px;font-size:13px;font-weight:600;border-radius:8px;border:none;cursor:pointer;transition:.15s ease}.primary-button{background:#003675;color:#fff}.primary-button:hover{background:#003675}.success-button{background:#1c7712;color:#fff}.danger-button{background:#991b1b;color:#fff}.warning-button{background:#92600a;color:#fff}.info-button{background:#003675;color:#fff}.secondary-button{background:#fff;border:1px solid #D0D8E0;color:#4e5a65}button:disabled{opacity:.6;cursor:not-allowed}.history-table-container{overflow-x:auto;border-radius:16px;border:1px solid #D0D8E0}.history-table{width:100%;border-collapse:collapse;min-width:700px}.history-table thead{background:#f4f6f8}.history-table th{padding:14px 20px;font-size:11px;font-weight:600;color:#889bac;text-transform:uppercase;letter-spacing:.05em}.history-table td{padding:14px 20px;font-size:13px;color:#212325;border-bottom:1px solid #E8ECF1}.history-table tr:hover{background:#fcfdfe;cursor:pointer}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0003;display:flex;align-items:center;justify-content:center;padding:24px;z-index:1000}.modal-content{background:#fff;border-radius:16px;padding:24px;width:100%;max-width:500px;border:1px solid #D0D8E0}.modal-content h3{font-size:15px;font-weight:600;margin-bottom:12px}.comment-textarea{width:100%;padding:12px;border:1px solid #D0D8E0;border-radius:8px;font-size:13px;resize:vertical}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:16px}.document-link{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;background:#eff6ff;color:#003675;border-radius:6px;font-size:12px;font-weight:500;text-decoration:none;border:1px solid #bfdbfe;transition:background .15s ease}.document-link:hover{background:#dbeafe;text-decoration:none}@media (max-width: 1024px){.page-container{padding:20px}}@media (max-width: 1200px){.detail-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width: 1024px){.detail-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.detail-grid{grid-template-columns:1fr}.action-buttons{flex-direction:column}.action-buttons button{width:100%}.header-body{flex-direction:column;align-items:flex-start}}.feedback-content{background:#f0f9ff;border:1px solid #bfdbfe;border-radius:8px;padding:12px;font-size:13px;color:#374151;white-space:pre-wrap;word-break:break-word;line-height:1.5;margin-top:2px}.document-category{margin-top:16px}.document-category+.document-category{margin-top:24px;padding-top:20px;border-top:1px solid #f1f5f9}.document-category h3{font-size:11px;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;margin:0 0 16px}.payment-amount{color:#003675!important;font-weight:600!important}.payment-log-container{margin-top:12px}.payment-log-table,.payment-history-table{width:100%;border-collapse:collapse;font-size:13px}.payment-log-table thead,.payment-history-table thead{background:#f8fafc}.payment-log-table th,.payment-history-table th{padding:14px;font-size:11px;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;text-align:left;border-bottom:2px solid #e2e8f0}.payment-log-table td,.payment-history-table td{padding:14px;border-bottom:1px solid #e2e8f0;color:#1e293b}.payment-log-table tbody tr:hover,.payment-history-table tbody tr:hover{background:#f8fafc}.payment-log-table tbody tr:last-child td,.payment-history-table tbody tr:last-child td{border-bottom:none}.payment-status-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:6px;font-size:12px;font-weight:600;white-space:nowrap}.payment-status-completed{background:#d1fae5;color:#065f46}.payment-status-pending{background:#fef3c7;color:#92400e}.payment-status-partial{background:#e0e7ff;color:#4338ca}.tab-navigation{display:flex;gap:28px;border-bottom:1px solid #e2e8f0;padding:0 32px;margin-top:0;margin-bottom:0;background:transparent}.tab-button{all:unset;position:relative;padding:12px 0;font-size:14px;font-weight:500;color:#64748b;cursor:pointer;background:transparent!important;border-radius:0!important;box-shadow:none!important}.tab-button:hover{background:transparent!important;color:#1e293b}.tab-button.active{color:#003675;font-weight:600;background:transparent!important}.tab-button.active:after{content:"";position:absolute;left:0;bottom:-1px;width:100%;height:2px;background:#003675}.header-meta{display:flex;flex-wrap:wrap;gap:16px;font-size:13px;color:#4e5a65}.header-meta span{display:flex;align-items:center;gap:6px}.accordion-arrow{transition:transform .3s ease}.accordion-arrow.collapsed{transform:rotate(-90deg)}.history-empty{text-align:center;padding:40px;color:#889bac;font-size:13px}.page-container{padding:20px;width:100%;max-width:100%;margin:0;overflow-x:hidden}.page-header{margin-bottom:30px}.page-header h1{font-size:22px;font-weight:700;color:#003675;margin:0 0 8px}.page-header p{font-size:12px;color:#666;margin:0}.task-section{background:#fff;border-radius:8px;padding:20px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a;border:1px solid #e9ecef}.task-section h2{margin:0 0 20px;color:#495057;font-size:1.3em;font-weight:600;border-bottom:2px solid #e9ecef;padding-bottom:10px}.task-table-container{overflow-x:auto;border-radius:6px;border:1px solid #dee2e6}.task-table{width:100%;border-collapse:collapse;background:#fff}.task-table th{background-color:#f8f9fa;font-weight:600;color:#495057;border-bottom:2px solid #dee2e6;padding:14px 16px;text-align:left;font-size:13px;vertical-align:middle}.task-table th:nth-child(1){width:12%}.task-table th:nth-child(2){width:25%}.task-table th:nth-child(3){width:18%}.task-table th:nth-child(4){width:18%}.task-table th:nth-child(5){width:27%}.task-table td{padding:14px 16px;border-bottom:1px solid #dee2e6;vertical-align:middle;font-size:13px}.task-table td:nth-child(1){width:12%}.task-table td:nth-child(2){width:25%}.task-table td:nth-child(3){width:18%}.task-table td:nth-child(4){width:18%}.task-table td:nth-child(5){width:27%}.task-table tr:hover{background-color:#f8f9fa}.todo-row{background-color:#f8f9fa!important;border-left:4px solid #17a2b8}.todo-row:hover{background-color:#e9ecef!important}.success-row{background-color:#f0f8f0!important;border-left:4px solid #28a745}.success-row:hover{background-color:#e6f3e6!important}.status-badge{padding:12px 8px;border-radius:12px;font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.5px;display:inline-block;margin-left:8px}.status-serviceable{background-color:#28a745;color:#fff}.status-pending{background:#26829d;color:#fff;border:1px solid #26829D}.status-closed{background-color:#17a2b8;color:#fff}.payment-info{display:flex;flex-direction:column;gap:4px}.payment-info .amount{font-weight:600;color:#28a745;font-size:.9em}.payment-info .down-payment{font-size:.8em;color:#666;background-color:#f1f3f4;padding:2px 6px;border-radius:3px}.payment-info .pending-amount{font-size:.8em;color:#dc3545;background-color:#f8d7da;padding:2px 6px;border-radius:3px}.sales-notes{max-width:200px;word-wrap:break-word}.sales-notes span{font-size:.9em;color:#495057;line-height:1.4}.text-muted{color:#999;font-style:italic}.action-button{padding:8px 16px;border:none;border-radius:4px;cursor:pointer;font-size:13px;font-weight:500;transition:all .2s ease;text-decoration:none;display:inline-block}.action-button.primary-button{background-color:#003675;color:#fff}.action-button.primary-button:hover{background-color:#003675}.action-button:hover{transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}@media (max-width: 768px){.page-container{padding:15px}.page-header h1{font-size:22px}.task-section{padding:15px}.task-section h2{font-size:1.1em}.task-table-container{font-size:12px}.task-table th,.task-table td{padding:8px 4px}.sales-notes{max-width:150px}.action-button{padding:6px 12px;font-size:12px}}@media (max-width: 480px){.task-table{font-size:11px}.task-table th,.task-table td{padding:6px 2px}.payment-info{font-size:.8em}.sales-notes{max-width:100px;font-size:.8em}}.task-manager{background:#fff;border-radius:8px;padding:20px;box-shadow:0 2px 4px #0000001a}.task-manager.loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:200px}.spinner{width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid #003675;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}.task-manager.compact{padding:16px}.task-stats{display:flex;justify-content:space-around;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #e9ecef}.stat-item{text-align:center}.stat-number{display:block;font-size:22px;font-weight:700;color:#495057}.stat-label{font-size:12px;color:#6c757d;text-transform:uppercase;letter-spacing:.5px}.recent-tasks{display:flex;flex-direction:column;gap:8px}.task-item.compact{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:#f8f9fa;border-radius:6px;border-left:3px solid #dee2e6}.task-item.compact:hover{background:#e9ecef}.task-info{flex:1}.task-title{font-weight:600;color:#495057;font-size:13px}.task-due{font-size:12px;color:#6c757d}.task-due.overdue{color:#dc3545;font-weight:600}.priority-indicator{width:8px;height:8px;border-radius:50%;flex-shrink:0}.task-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:16px;border-bottom:2px solid #e9ecef}.task-header h3{margin:0;color:#495057}.task-controls{display:flex;gap:12px;align-items:center}.filter-select,.sort-select{padding:8px 12px;border:1px solid #ced4da;border-radius:4px;background:#fff;font-size:13px}.refresh-btn{padding:8px 12px;background:#003675;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:13px}.refresh-btn:hover{background:#003675}.task-list{display:flex;flex-direction:column;gap:16px}.no-tasks{text-align:center;padding:40px;color:#6c757d}.task-item{border:1px solid #e9ecef;border-radius:8px;padding:16px;background:#fff;transition:box-shadow .2s ease}.task-item:hover{box-shadow:0 4px 8px #0000001a}.task-item.overdue{border-left:4px solid #dc3545;background:#fff5f5}.task-main{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.task-info{flex:1;margin-right:16px}.task-title{margin:0 0 8px;color:#495057;font-size:12px;font-weight:600}.task-description{margin:0 0 12px;color:#6c757d;font-size:13px;line-height:1.4}.task-meta{display:flex;gap:16px;font-size:12px;color:#6c757d}.task-lead,.task-assignee{background:#f8f9fa;padding:4px 8px;border-radius:4px}.task-status{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:120px}.status-badges{display:flex;flex-direction:column;gap:4px}.status-badge,.priority-badge{color:#fff;padding:12px 8px;border-radius:12px;font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.5px;text-align:center}.task-due{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.due-label{font-size:11px;color:#6c757d;text-transform:uppercase;letter-spacing:.5px}.due-date{font-size:13px;font-weight:600;color:#495057}.due-date.overdue{color:#dc3545}.task-notes{background:#f8f9fa;padding:12px;border-radius:6px;margin-bottom:12px;font-size:13px;color:#495057}.task-notes strong{color:#495057}.task-actions{display:flex;gap:8px;justify-content:flex-end}.update-btn,.view-lead-btn{padding:8px 16px;border:none;border-radius:4px;cursor:pointer;font-size:13px;font-weight:500;transition:background-color .2s ease}.update-btn{background:#003675;color:#fff}.update-btn:hover{background:#003675}.view-lead-btn{background:#6c757d;color:#fff}.view-lead-btn:hover{background:#545b62}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal{background:#fff;border-radius:8px;width:90%;max-width:500px;max-height:90vh;overflow-y:auto}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #e9ecef}.modal-header h3{margin:0;color:#495057}.close-btn{background:none;border:none;font-size:22px;cursor:pointer;color:#6c757d;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center}.close-btn:hover{color:#495057}.modal-body{padding:20px}.form-group{margin-bottom:16px}.form-group label{display:block;margin-bottom:8px;font-weight:600;color:#495057}.form-control{width:100%;padding:8px 12px;border:1px solid #ced4da;border-radius:4px;font-size:13px}.form-control:focus{outline:none;border-color:#003675;box-shadow:0 0 0 2px #007bff40}.modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:20px;border-top:1px solid #e9ecef}.cancel-btn,.save-btn{padding:10px 20px;border:none;border-radius:4px;cursor:pointer;font-size:13px;font-weight:500}.cancel-btn{background:#6c757d;color:#fff}.cancel-btn:hover{background:#545b62}.save-btn{background:#28a745;color:#fff}.save-btn:hover{background:#1e7e34}@media (max-width: 768px){.task-manager{padding:16px}.task-header{flex-direction:column;align-items:flex-start;gap:16px}.task-controls{width:100%;justify-content:space-between}.task-main{flex-direction:column;gap:12px}.task-status{align-items:flex-start;min-width:auto}.status-badges{flex-direction:row;flex-wrap:wrap}.task-meta{flex-direction:column;gap:8px}.task-actions{flex-direction:column}.modal{width:95%;margin:20px}}.priority-high{background-color:#dc3545!important}.priority-medium{background-color:#ffc107!important}.priority-low{background-color:#28a745!important}.status-in_progress{background-color:#17a2b8!important}.status-completed{background-color:#28a745!important}.status-overdue{background-color:#dc3545!important}.qc-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a99;display:flex;align-items:center;justify-content:center;z-index:1000;padding:16px}.qc-modal{background:#f1f5f9;border-radius:16px;width:100%;max-width:860px;max-height:92vh;display:flex;flex-direction:column;box-shadow:0 24px 56px -12px #00000047;overflow:hidden}.qc-modal--loading{align-items:center;justify-content:center;gap:16px;padding:64px 48px;background:#fff;max-width:360px}.qc-loading-spinner{width:36px;height:36px;border:3px solid #e2e8f0;border-top-color:#003675;border-radius:50%;animation:qc-spin .75s linear infinite;flex-shrink:0}@keyframes qc-spin{to{transform:rotate(360deg)}}.qc-modal-header{display:flex;justify-content:space-between;align-items:flex-start;padding:18px 24px 16px;background:#fff;border-bottom:1px solid #e2e8f0;flex-shrink:0}.qc-header-info{display:flex;flex-direction:column;gap:7px}.qc-header-title{margin:0;font-size:17px;font-weight:700;color:#0f172a;letter-spacing:-.3px}.qc-header-meta{display:flex;gap:8px;flex-wrap:wrap}.qc-meta-badge{display:inline-flex;align-items:center;gap:5px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;padding:3px 10px;font-size:12px;color:#374151;font-weight:500}.qc-meta-label{font-weight:700;color:#94a3b8;font-size:10px;text-transform:uppercase;letter-spacing:.5px}.close-btn{background:none;border:1px solid #e2e8f0;font-size:20px;line-height:1;cursor:pointer;color:#64748b;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:all .15s;flex-shrink:0;margin-top:2px}.close-btn:hover{background:#f1f5f9;border-color:#cbd5e1;color:#0f172a}.qc-modal-body{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:14px;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.qc-modal-body::-webkit-scrollbar{width:6px}.qc-modal-body::-webkit-scrollbar-track{background:transparent}.qc-modal-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.qc-section-card{background:#fff;border-radius:12px;border:1px solid #e2e8f0;overflow:hidden}.qc-section-header{display:flex;align-items:center;gap:10px;padding:12px 18px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.qc-section-number{width:24px;height:24px;background:#003675;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;flex-shrink:0}.qc-section-number--remarks{background:#64748b;font-size:13px}.qc-section-title-text{font-size:13px;font-weight:700;color:#0f172a;letter-spacing:-.1px}.qc-fields-list{display:flex;flex-direction:column}.qc-field-row{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px;padding:14px 18px;border-bottom:1px solid #f1f5f9;border-left:3px solid transparent;transition:background .15s}.qc-field-row:last-child{border-bottom:none}.qc-field-row:hover{background:#fafbfc}.qc-field-row--verified{border-left-color:#22c55e}.qc-field-row--issue{border-left-color:#ef4444;background:#fff8f8}.qc-field-row--issue:hover{background:#fff5f5}.qc-field-left{flex:1;min-width:200px;display:flex;flex-direction:column;gap:3px}.qc-field-label{font-size:13px;font-weight:600;color:#1e293b;line-height:1.4}.qc-field-description{font-size:11.5px;color:#94a3b8;line-height:1.4}.qc-tracker-pill{display:inline-flex;align-items:center;gap:5px;margin-top:5px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;padding:3px 8px;max-width:fit-content}.qc-tracker-label{font-size:9px;font-weight:700;color:#3b82f6;text-transform:uppercase;letter-spacing:.6px}.qc-tracker-value{font-size:12px;font-weight:500;color:#1e40af}.qc-field-right{display:flex;flex-direction:column;align-items:flex-end;gap:5px;flex-shrink:0;padding-top:2px}.qc-toggle-group{display:flex;gap:6px}.qc-toggle-btn{padding:6px 16px;font-size:11.5px;font-weight:700;border-radius:6px;cursor:pointer;transition:all .15s;letter-spacing:.4px;border:1.5px solid;font-family:inherit;line-height:1}.qc-toggle-yes{border-color:#d1d5db;background:#fff;color:#6b7280}.qc-toggle-yes:hover{border-color:#22c55e;color:#16a34a;background:#f0fdf4}.qc-toggle-yes.active{border-color:#22c55e;background:#22c55e;color:#fff;box-shadow:0 2px 8px #22c55e4d}.qc-toggle-no{border-color:#d1d5db;background:#fff;color:#6b7280}.qc-toggle-no:hover{border-color:#ef4444;color:#dc2626;background:#fff5f5}.qc-toggle-no.active{border-color:#ef4444;background:#ef4444;color:#fff;box-shadow:0 2px 8px #ef44444d}.qc-pending-label{font-size:10.5px;color:#94a3b8;font-style:italic}.qc-comment-area{flex-basis:100%;padding-top:4px}.qc-comment-textarea{width:100%;min-height:62px;padding:8px 12px;border:1.5px solid #fca5a5;border-radius:8px;font-size:12.5px;font-family:inherit;resize:vertical;color:#1e293b;background:#fff;transition:border-color .15s,box-shadow .15s;box-sizing:border-box}.qc-comment-textarea:focus{outline:none;border-color:#ef4444;box-shadow:0 0 0 3px #ef44441a}.qc-comment-textarea::placeholder{color:#94a3b8}.qc-remarks-body{padding:16px 18px}.qc-remarks-textarea{width:100%;min-height:96px;padding:10px 14px;border:1.5px solid #e2e8f0;border-radius:8px;font-size:13px;font-family:inherit;resize:vertical;color:#1e293b;transition:border-color .15s,box-shadow .15s;box-sizing:border-box}.qc-remarks-textarea:focus{outline:none;border-color:#003675;box-shadow:0 0 0 3px #00367514}.qc-remarks-textarea::placeholder{color:#94a3b8}.qc-modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:14px 20px;background:#fff;border-top:1px solid #e2e8f0;flex-shrink:0;flex-wrap:wrap}.qc-btn-footer{padding:8px 16px;font-size:13px;font-weight:600;border-radius:8px;cursor:pointer;transition:all .15s;border:none;font-family:inherit;white-space:nowrap}.qc-btn-footer:disabled{opacity:.5;cursor:not-allowed}.qc-btn-cancel{background:#fff;color:#64748b;border:1px solid #e2e8f0!important}.qc-btn-cancel:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1!important}.qc-btn-info{background:#0ea5e9;color:#fff}.qc-btn-info:hover:not(:disabled){background:#0284c7}.qc-btn-reject{background:#ef4444;color:#fff}.qc-btn-reject:hover:not(:disabled){background:#dc2626}.qc-btn-save{background:#003675;color:#fff}.qc-btn-save:hover:not(:disabled){background:#002455}.qc-btn-complete{background:#16a34a;color:#fff}.qc-btn-complete:hover:not(:disabled){background:#15803d}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 768px){.qc-page-content{padding:15px!important}.qc-grid{grid-template-columns:1fr!important;gap:16px!important}.qc-field-modern{padding:16px!important}.qc-options-modern{flex-direction:column!important;gap:8px!important}.button-group{flex-direction:column!important;align-items:stretch!important}.button-group button{padding:10px 16px!important;font-size:13px!important}}@media (max-width: 480px){.qc-field-modern{padding:12px!important}.qc-field-header{flex-direction:column!important;align-items:flex-start!important;gap:12px!important}.field-status{margin-left:0!important;align-self:flex-start!important}.clarity-options{flex-direction:column!important;gap:8px!important}}.follow-up-layout{display:flex;gap:30px;max-width:1400px;margin:0 auto}.todo-sidebar{width:300px;background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #00000014;height:fit-content;position:sticky;top:20px}.todo-sidebar h3{margin:0 0 20px;color:#003675;font-size:13px;font-weight:600;display:flex;align-items:center;gap:8px}.todo-steps{display:flex;flex-direction:column;gap:12px}.todo-step{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:8px;cursor:pointer;transition:all .2s ease;border:2px solid transparent}.todo-step:hover{background:#f8fafc;border-color:#e2e8f0}.todo-step.completed{background:#f0fdf4;border-color:#bbf7d0}.todo-step.active{background:#eff6ff;border-color:#003675}.todo-step.pending{background:#f9fafb;border-color:#e5e7eb}.step-number{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;flex-shrink:0}.todo-step.completed .step-number{background:#22c55e;color:#fff}.todo-step.active .step-number{background:#003675;color:#fff}.todo-step.pending .step-number{background:#e5e7eb;color:#6b7280}.step-content{flex:1;min-width:0}.step-title{font-size:13px;font-weight:500;color:#1f2937;margin-bottom:2px}.step-status{font-size:12px;color:#6b7280}.todo-step.completed .step-status{color:#16a34a}.todo-step.active .step-status{color:#003675}.todo-step.pending .step-status{color:#9ca3af}.follow-up-form-container{flex:1;min-width:0;max-height:calc(100vh - 280px);overflow-y:auto;overflow-x:hidden}.follow-up-form{max-width:100%;margin:0;background:#fff;border-radius:12px;padding:30px;box-shadow:0 2px 8px #00000014}.form-section{margin-bottom:40px;padding-bottom:30px;border-bottom:1px solid #e5e7eb}.form-section:last-child{border-bottom:none;margin-bottom:0}.form-section h2{margin:0 0 20px;color:#003675;font-size:22px;font-weight:600;display:flex;align-items:center;gap:8px}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.form-group{display:flex;flex-direction:column}.form-group.full-width{grid-column:1 / -1}.form-group label{margin-bottom:8px;font-weight:500;color:#374151;font-size:13px}.form-group input,.form-group select,.form-group textarea{padding:12px 16px;border:1px solid #d1d5db;border-radius:8px;font-size:13px;transition:border-color .2s ease,box-shadow .2s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#003675;box-shadow:0 0 0 3px #00acc11a}.readonly-input{background-color:#f9fafb;color:#6b7280;cursor:not-allowed}.radio-group{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.radio-label{display:flex;align-items:center;padding:16px;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:all .2s ease;background:#fff}.radio-label:hover{border-color:#003675;background:#f0fdff}.radio-label input[type=radio]{margin-right:12px;width:18px;height:18px;accent-color:#003675}.radio-label input[type=radio]:checked+.radio-text{font-weight:600;color:#003675}.radio-text{font-size:13px;color:#374151}.actions-section{background:#f9fafb;padding:24px;border-radius:8px;margin-top:30px}.actions-grid{display:flex;justify-content:space-between;align-items:center;gap:20px}.action-button{padding:12px 24px;border:none;border-radius:8px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-width:120px}.primary-button{background:linear-gradient(135deg,#003675,#003675);color:#fff}.primary-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #00acc14d}.primary-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.secondary-button{background:#fff;color:#6b7280;border:1px solid #d1d5db}.secondary-button:hover{background:#f9fafb;border-color:#9ca3af}.loading{text-align:center;padding:40px;color:#6b7280;font-size:12px}.error-message{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:16px;border-radius:8px;text-align:center;margin:20px 0}.follow-up-form-container::-webkit-scrollbar{width:8px}.follow-up-form-container::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.follow-up-form-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.follow-up-form-container::-webkit-scrollbar-thumb:hover{background:#94a3af}@media (max-width: 1024px){.follow-up-layout{flex-direction:column}.todo-sidebar{width:100%;position:static}.todo-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.todo-step{flex-direction:column;text-align:center;gap:8px}}@media (max-width: 768px){.follow-up-form{padding:20px;margin:0 10px}.form-grid,.radio-group{grid-template-columns:1fr}.actions-grid{flex-direction:column;gap:12px}.action-button{width:100%}.todo-steps{grid-template-columns:1fr}}.success-message{background:#f0fdf4;border:1px solid #bbf7d0;color:#16a34a;padding:16px;border-radius:8px;text-align:center;margin:20px 0}.form-group input:invalid,.form-group select:invalid,.form-group textarea:invalid{border-color:#ef4444}.form-group input:invalid:focus,.form-group select:invalid:focus,.form-group textarea:invalid:focus{box-shadow:0 0 0 3px #ef44441a}.manager-dashboard{background:#f8fafc;min-height:100vh;padding:0}.dashboard-header{background:#fff;padding:20px 30px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.header-left h1{color:#1e293b;font-size:22px;font-weight:700;margin:0 0 4px}.header-left p{color:#64748b;font-size:13px;margin:0}.header-right{display:flex;align-items:center;gap:20px}.notification-bell{position:relative;cursor:pointer}.notification-icon{font-size:22px;color:#64748b}.notification-badge{position:absolute;top:-8px;right:-8px;background:#ef4444;color:#fff;font-size:11px;font-weight:600;padding:2px 6px;border-radius:10px;min-width:16px;text-align:center}.user-profile{display:flex;align-items:center;gap:12px}.user-avatar{width:40px;height:40px;border-radius:50%;background:#003675;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:12px}.user-info{text-align:right}.user-name{color:#1e293b;font-weight:600;font-size:13px}.user-role{color:#64748b;font-size:12px}.kpi-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;padding:30px}.kpi-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #0000001a;border:1px solid #e2e8f0;display:flex;align-items:center;gap:16px;transition:box-shadow .2s}.kpi-card:hover{box-shadow:0 4px 12px #0000001a}.kpi-icon{font-size:22px;width:60px;height:60px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#f1f5f9}.kpi-content{flex:1}.kpi-value{font-size:22px;font-weight:700;color:#1e293b;margin-bottom:4px}.kpi-label{font-size:13px;color:#64748b;margin-bottom:8px}.kpi-change{font-size:12px;font-weight:600;padding:2px 8px;border-radius:4px;display:inline-block}.kpi-change.positive{background:#dcfce7;color:#16a34a}.kpi-change.negative{background:#fee2e2;color:#dc2626}.dashboard-tabs{background:#fff;border-bottom:1px solid #e2e8f0;padding:0 30px;display:flex;gap:8px}.tab-button{background:none;border:none;padding:16px 20px;color:#64748b;font-size:13px;font-weight:500;cursor:pointer;border-bottom:2px solid transparent;transition:all .2s}.tab-button:hover{color:#1e293b}.tab-button.active{border-bottom-color:#003675}.tab-content{padding:30px}.overview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:24px}.overview-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #0000001a;border:1px solid #e2e8f0}.overview-card h3{color:#1e293b;font-size:13px;font-weight:600;margin-bottom:20px}.activity-list{display:flex;flex-direction:column;gap:16px}.activity-item{display:flex;align-items:center;gap:12px;padding:12px;border-radius:8px;background:#f8fafc}.activity-icon{font-size:22px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#fff}.activity-details{flex:1}.activity-title{color:#1e293b;font-weight:500;font-size:13px;margin-bottom:2px}.activity-time{color:#64748b;font-size:12px}.performance-summary{display:flex;flex-direction:column;gap:16px}.performance-item{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #f1f5f9}.performance-item:last-child{border-bottom:none}.performance-label{color:#64748b;font-size:13px}.performance-value{color:#1e293b;font-weight:600;font-size:12px}.leads-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.leads-filters{display:flex;gap:12px}.search-input{padding:10px 16px;border:1px solid #e2e8f0;border-radius:8px;font-size:13px;width:300px;outline:none;transition:border-color .2s}.search-input:focus{border-color:#003675}.filter-select{padding:10px 16px;border:1px solid #e2e8f0;border-radius:8px;font-size:13px;outline:none;background:#fff;cursor:pointer}.add-lead-btn{background:#003675;color:#fff;border:none;padding:10px 20px;border-radius:8px;font-size:13px;font-weight:500;cursor:pointer;transition:background .2s}.add-lead-btn:hover{background:#003675}.leads-table-container{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 1px 3px #0000001a;border:1px solid #e2e8f0}.leads-table{width:100%;border-collapse:collapse}.leads-table th{background:#f8fafc;color:#475569;font-weight:600;font-size:12px;text-transform:uppercase;letter-spacing:.5px;padding:16px;text-align:left;border-bottom:1px solid #e2e8f0}.leads-table td{padding:16px;border-bottom:1px solid #f1f5f9;font-size:13px}.leads-table tr:hover{background:#f8fafc}.leads-table tr.unassigned-row{background:#fef2f2}.leads-table tr.unassigned-row:hover{background:#fee2e2}.lead-name strong{color:#1e293b;font-weight:600}.status-badge{padding:4px 12px;border-radius:12px;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.status-warm-lead{background:#fef3c7;color:#92400e}.status-serviceable{background:#dcfce7;color:#166534}.status-converted{background:#dbeafe;color:#003675}.status-not-serviceable{background:#fee2e2;color:#991b1b}.status-draft{background:#f1f5f9;color:#475569}.owner-info{color:#1e293b;font-size:13px}.no-owner{color:#94a3b8;font-style:italic;font-size:13px}.lead-actions{display:flex;gap:8px}.action-btn{padding:6px 12px;border:none;border-radius:6px;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s}.view-btn{background:#f1f5f9;color:#475569}.view-btn:hover{background:#e2e8f0}.assign-btn{background:#003675;color:#fff}.assign-btn:hover{background:#003675}.team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:24px}.team-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #0000001a;border:1px solid #e2e8f0}.team-card h3{color:#1e293b;font-size:13px;font-weight:600;margin-bottom:20px}.team-list{display:flex;flex-direction:column;gap:16px}.team-member{display:flex;align-items:center;gap:12px;padding:12px;border-radius:8px;background:#f8fafc;transition:background .2s}.team-member:hover{background:#f1f5f9}.member-avatar{width:40px;height:40px;border-radius:50%;background:#003675;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:13px}.member-info{flex:1}.member-name{color:#1e293b;font-weight:600;font-size:13px;margin-bottom:2px}.member-email{color:#64748b;font-size:12px;margin-bottom:4px}.member-stats{display:flex;gap:12px}.member-stats span{color:#64748b;font-size:12px;padding:2px 8px;background:#f1f5f9;border-radius:4px}.analytics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:24px}.analytics-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #0000001a;border:1px solid #e2e8f0}.analytics-card h3{color:#1e293b;font-size:13px;font-weight:600;margin-bottom:20px}.chart-placeholder{height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f8fafc;border-radius:8px;border:2px dashed #e2e8f0}.chart-icon{font-size:22px;margin-bottom:16px;opacity:.5}.chart-placeholder p{color:#64748b;font-size:13px;margin:0}@media (max-width: 768px){.dashboard-header{flex-direction:column;gap:16px;text-align:center}.header-right{width:100%;justify-content:space-between}.kpi-cards{grid-template-columns:1fr;padding:20px}.dashboard-tabs{padding:0 20px;overflow-x:auto}.tab-content{padding:20px}.overview-grid,.team-grid,.analytics-grid{grid-template-columns:1fr}.leads-header{flex-direction:column;gap:16px;align-items:stretch}.leads-filters{flex-direction:column}.search-input{width:100%}.leads-table-container{overflow-x:auto}.leads-table{min-width:600px}}@media (max-width: 480px){.dashboard-header{padding:16px}.kpi-cards{padding:16px;gap:16px}.kpi-card{padding:16px}.kpi-value{font-size:22px}.tab-content,.overview-card,.team-card,.analytics-card{padding:16px}.leads-table th,.leads-table td{padding:12px 8px;font-size:12px}.action-btn{padding:4px 8px;font-size:11px}}.assignment-message{background:#d4edda;color:#155724;padding:12px 16px;border-radius:6px;margin-bottom:20px;border:1px solid #c3e6cb;font-weight:500}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-bottom:30px}.stat-card{background:#fff;padding:20px;border-radius:10px;box-shadow:0 2px 10px #0000001a;border:1px solid #e1e8ed}.stat-card h3{color:#2c3e50;margin-bottom:15px;font-size:13px;border-bottom:2px solid #003675;padding-bottom:8px}.team-stats,.lead-stats,.task-stats{display:flex;flex-direction:column;gap:10px}.team-stat,.lead-stat,.task-stat{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #f0f0f0}.stat-label{color:#7f8c8d;font-weight:500}.stat-value{color:#2c3e50;font-weight:700;font-size:12px}.lead-assignment-section{background:#fff;padding:25px;border-radius:10px;box-shadow:0 2px 10px #0000001a;margin-bottom:30px;border:1px solid #e1e8ed}.lead-assignment-section h2{color:#2c3e50;margin-bottom:20px;border-bottom:2px solid #e74c3c;padding-bottom:8px}.assignment-stats{display:flex;gap:30px;margin-bottom:20px;padding:15px;background:#f8f9fa;border-radius:8px}.assignment-stat{display:flex;flex-direction:column;align-items:center}.assignment-stat .stat-label{font-size:13px;color:#7f8c8d;margin-bottom:5px}.assignment-stat .stat-value{font-size:22px;font-weight:700}.assignment-stat .stat-value.assigned{color:#27ae60}.assignment-stat .stat-value.unassigned{color:#e74c3c}.leads-table-container{overflow-x:auto;border-radius:8px;border:1px solid #e1e8ed}.leads-table{width:100%;border-collapse:collapse;background:#fff}.leads-table th{background:#003675;color:#fff;padding:12px;text-align:left;font-weight:600;font-size:13px}.leads-table td{padding:12px;border-bottom:1px solid #e1e8ed;vertical-align:middle}.leads-table tr:hover{background:#f8f9fa}.leads-table tr.unassigned-row{background:#fff5f5}.leads-table tr.unassigned-row:hover{background:#fed7d7}.status-badge{padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500;text-transform:uppercase}.status-warm-lead{background:#fff3cd;color:#856404}.status-serviceable{background:#d4edda;color:#155724}.status-converted{background:#d1ecf1;color:#0c5460}.status-not-serviceable{background:#f8d7da;color:#721c24}.status-draft,.status-default{background:#e2e3e5;color:#383d41}.owner-info{font-size:13px}.owner-info div{font-weight:500;color:#2c3e50}.owner-info small{color:#7f8c8d;font-size:12px}.no-owner{color:#e74c3c;font-style:italic;font-size:13px}.assignment-status{padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500}.assignment-status.assigned{background:#d4edda;color:#155724}.assignment-status.unassigned{background:#f8d7da;color:#721c24}.assign-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.service-user-select{padding:6px 8px;border:1px solid #ddd;border-radius:4px;font-size:12px;min-width:150px;flex:1}.assign-button{padding:6px 12px;background:#003675;color:#fff;border:none;border-radius:4px;font-size:12px;cursor:pointer;transition:background .2s;white-space:nowrap}.assign-button:hover:not(:disabled){background:#003675}.assign-button:disabled{background:#bdc3c7;cursor:not-allowed}.reassign-button{padding:4px 8px;background:#f39c12;color:#fff;border:none;border-radius:4px;font-size:11px;cursor:pointer;transition:background .2s;margin-left:5px}.reassign-button:hover{background:#e67e22}.performance-section{background:#fff;padding:25px;border-radius:10px;box-shadow:0 2px 10px #0000001a;border:1px solid #e1e8ed}.performance-section h2{color:#2c3e50;margin-bottom:20px;border-bottom:2px solid #9b59b6;padding-bottom:8px}.performance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:20px}.performance-card{background:#f8f9fa;padding:20px;border-radius:8px;border:1px solid #e1e8ed}.performance-card h3{color:#2c3e50;margin-bottom:15px;font-size:12px}.performance-table table{width:100%;border-collapse:collapse}.performance-table th{background:#003675;color:#fff;padding:10px;text-align:left;font-weight:600;font-size:12px}.performance-table td{padding:10px;border-bottom:1px solid #e1e8ed;font-size:13px}.user-info div{font-weight:500;color:#2c3e50}.user-info small{color:#7f8c8d;font-size:12px}.conversion-rate{background:#27ae60;color:#fff;padding:2px 6px;border-radius:4px;font-size:12px;font-weight:500}.completion-rate{background:#003675;color:#fff;padding:2px 6px;border-radius:4px;font-size:12px;font-weight:500}.loading{text-align:center;padding:40px;font-size:13px;color:#7f8c8d}@media (max-width: 768px){.stats-grid,.performance-grid{grid-template-columns:1fr}.assignment-stats{flex-direction:column;gap:15px}.assign-controls{flex-direction:column;align-items:stretch}.service-user-select{min-width:auto}}@media (max-width: 480px){.leads-table-container{font-size:12px}.leads-table th,.leads-table td{padding:8px}.assign-controls{gap:5px}}*{box-sizing:border-box}
