@import"https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap";.confirm-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn .2s ease-out;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.confirm-dialog{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;min-width:400px;max-width:500px;animation:slideUp .3s ease-out;overflow:hidden}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.confirm-header{display:flex;align-items:center;gap:12px;padding:20px 24px;border-bottom:1px solid #e5e7eb}.confirm-header-danger{background:linear-gradient(to right,#fef2f2,#fff);border-left:4px solid #ef4444}.confirm-header-warning{background:linear-gradient(to right,#fffbeb,#fff);border-left:4px solid #f59e0b}.confirm-header-info{background:linear-gradient(to right,#eff6ff,#fff);border-left:4px solid #3b82f6}.confirm-icon{font-size:1.5rem;line-height:1}.confirm-header h3{margin:0;font-size:1.125rem;font-weight:600;color:#1f2937}.confirm-body{padding:24px}.confirm-body p{margin:0;color:#4b5563;line-height:1.6;font-size:.95rem}.confirm-actions{display:flex;gap:12px;padding:16px 24px;background:#f9fafb;justify-content:flex-end;border-top:1px solid #e5e7eb}.btn-cancel,.btn-confirm{padding:10px 20px;border-radius:6px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s ease;border:none;min-width:80px}.btn-cancel{background:#fff;color:#6b7280;border:1px solid #d1d5db}.btn-cancel:hover{background:#f3f4f6;border-color:#9ca3af}.btn-cancel:focus{outline:2px solid #3b82f6;outline-offset:2px}.btn-confirm{color:#fff}.btn-confirm-danger{background:#ef4444}.btn-confirm-danger:hover{background:#dc2626}.btn-confirm-warning{background:#f59e0b}.btn-confirm-warning:hover{background:#d97706}.btn-confirm-info{background:#3b82f6}.btn-confirm-info:hover{background:#2563eb}.btn-confirm:focus{outline:2px solid #1f2937;outline-offset:2px}@media (max-width: 640px){.confirm-dialog{min-width:unset;width:calc(100% - 32px);margin:16px}.confirm-actions{flex-direction:column-reverse}.btn-cancel,.btn-confirm{width:100%}}.toast-container{position:fixed;top:20px;right:20px;z-index:9999;display:flex;flex-direction:column;gap:12px;pointer-events:none}.toast{display:flex;align-items:center;gap:12px;min-width:300px;max-width:500px;padding:16px 20px;background:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026,0 0 0 1px #0000000d;pointer-events:all;cursor:pointer;animation:slideIn .3s ease-out;transition:all .2s ease;font-size:.95rem;line-height:1.4}.toast:hover{transform:translateY(-2px);box-shadow:0 6px 16px #0003,0 0 0 1px #0000000d}@keyframes slideIn{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}.toast-icon{font-size:1.25rem;flex-shrink:0;line-height:1}.toast-message{flex:1;color:#2d3748;word-wrap:break-word;white-space:pre-wrap}.toast-close{background:none;border:none;font-size:1.5rem;line-height:1;color:#718096;cursor:pointer;padding:0;margin-left:8px;flex-shrink:0;transition:color .2s ease;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:4px}.toast-close:hover{color:#2d3748;background:#0000000d}.toast-success{border-left:4px solid #48bb78;background:linear-gradient(to right,#f0fff4,#fff 10%)}.toast-error{border-left:4px solid #f56565;background:linear-gradient(to right,#fff5f5,#fff 10%)}.toast-warning{border-left:4px solid #ed8936;background:linear-gradient(to right,#fffaf0,#fff 10%)}.toast-info{border-left:4px solid #4299e1;background:linear-gradient(to right,#ebf8ff,#fff 10%)}@media (max-width: 640px){.toast-container{top:10px;right:10px;left:10px}.toast{min-width:unset;width:100%}}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--primary-color, #393392);padding:20px}.login-card{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-width:450px;width:100%;padding:40px}.login-header{text-align:center;margin-bottom:32px}.login-logo{height:70px;width:auto;object-fit:contain;margin-bottom:20px}.login-header h1{font-size:24px;font-weight:600;color:var(--dark-color, #2a2567);margin:0 0 8px}.login-header p{color:#666;font-size:14px;margin:0}.login-form{display:flex;flex-direction:column;gap:20px}.login-error{background:#fee;border:1px solid #fcc;border-radius:8px;padding:12px;color:#c00;font-size:14px}.login-form .form-group{display:flex;flex-direction:column;gap:8px}.login-form label{font-weight:600;font-size:14px;color:#333}.login-form input{padding:12px;border:2px solid #e0e0e0;border-radius:8px;font-size:15px;transition:border-color .2s}.login-form input:focus{outline:none;border-color:var(--dark-color, #2a2567)}.btn-login{background:linear-gradient(135deg,var(--dark-color, #2a2567),var(--primary-color, #393392));color:#fff;border:none;padding:14px;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s;margin-top:8px}.btn-login:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #3933924d}.btn-login:disabled{opacity:.6;cursor:not-allowed}.login-footer{margin-top:24px;padding-top:24px;border-top:1px solid #e0e0e0;text-align:center}.login-footer p{color:#666;font-size:13px;margin:8px 0}.login-hint{font-family:Courier New,monospace;font-size:12px!important;color:#999!important}@media (max-width: 500px){.login-card{padding:24px}.login-header h1{font-size:20px}.login-logo{height:50px}}:root{--altera-purple: #25525f;--altera-coral: #008099;--altera-dark: #2d3748;--altera-gray: #4a5568;--altera-light: #f7fafc}.search-container{display:flex;flex-direction:column;min-height:calc(100vh - 80px);background:#f5f7fa}.search-header{padding:30px 30px 0;background:#f5f7fa}.search-header h1{color:#2c3e50;font-size:2rem;margin:0 0 8px}.search-header .header-description{color:#6c757d;font-size:1rem;margin:0 0 20px}.search-grid{display:grid;grid-template-columns:350px 1fr;gap:20px;width:100%;flex:1;padding:20px}.search-panel{background:#fafbfc;padding:25px;border-radius:12px;box-shadow:0 2px 8px #0000001a;height:fit-content}.search-panel h2{color:var(--altera-dark);font-size:18px;margin:0 0 20px;padding-bottom:12px;border-bottom:2px solid #e2e8f0}.form-group label{display:block;color:var(--altera-gray);font-size:14px;font-weight:600;margin-bottom:8px}.form-group select,.form-group textarea{width:100%;padding:10px 12px;border:2px solid #e2e8f0;border-radius:8px;font-size:14px;background:#fff;font-family:inherit}.form-group select:focus,.form-group textarea:focus{outline:none;border-color:var(--altera-purple)}.form-group textarea{resize:vertical;min-height:80px;line-height:1.5}.form-help{display:block;margin-top:4px;font-size:12px;color:#718096}.checkbox-group{display:flex;flex-direction:column;gap:2px}.checkbox-item{display:flex;align-items:center;gap:10px;padding:5px 4px;cursor:pointer;font-weight:400;font-size:14px;color:var(--altera-gray);border-radius:4px}.checkbox-item:hover{background:#f7fafc}.checkbox-item input[type=checkbox]{width:16px;height:16px;cursor:pointer;accent-color:var(--altera-purple);margin:0;flex-shrink:0}.checkbox-label-text{flex:1;-webkit-user-select:none;user-select:none}.checkbox-group label,.checkbox-label,.checkbox-label input[type=checkbox]{display:none}.pill-group{display:flex;flex-wrap:wrap;gap:8px}.pill-button{padding:8px 16px;background:#fff;color:var(--altera-gray);border:2px solid #e2e8f0;border-radius:20px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap}.pill-button:hover{border-color:var(--primary-color, var(--altera-purple));background:#f7fafc}.pill-button.pill-selected{background:var(--primary-color, var(--altera-purple));color:#fff;border-color:var(--primary-color, var(--altera-purple))}.pill-button.pill-selected:hover{background:var(--dark-color, #2e2673);border-color:var(--dark-color, #2e2673)}.btn-primary{width:100%;padding:10px;background:var(--altera-purple);color:#fff;border:none;border-radius:6px;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s;margin-top:8px}.btn-primary:hover:not(:disabled){background:#2e2673;box-shadow:0 2px 8px #3933924d}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.results-panel{background:#fafbfc;padding:25px;border-radius:12px;box-shadow:0 2px 8px #0000001a}.results-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:2px solid #e2e8f0;flex-wrap:wrap;gap:16px}.results-header h2{font-size:18px;font-weight:600;color:var(--altera-dark);margin:0}.results-actions{display:flex;align-items:center;gap:10px;flex-wrap:nowrap}.btn-export{padding:8px 14px;background:#fff;color:var(--altera-dark);border:2px solid #e2e8f0;border-radius:6px;font-size:.85em;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap}.btn-export:hover{border-color:var(--altera-purple);color:var(--altera-purple);background:#f7fafc}.btn-save-search{padding:8px 14px;background:linear-gradient(135deg,var(--success-color, #48bb78) 0%,#059669 100%);color:#fff;border:2px solid var(--success-color, #48bb78);border-radius:6px;font-size:.85em;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap}.btn-save-search:hover{transform:translateY(-2px);box-shadow:0 4px 12px #10b98166}.btn-clear{padding:8px 14px;background:#fff;color:var(--altera-dark);border:2px solid #e2e8f0;border-radius:6px;font-size:.85em;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap}.btn-clear:hover{border-color:#ef4444;color:#ef4444;background:#fef2f2}.form-input{width:100%;padding:10px 12px;border:2px solid #e2e8f0;border-radius:8px;font-size:14px;font-family:inherit;background:#fff}.form-input:focus{outline:none;border-color:var(--altera-purple);box-shadow:0 0 0 3px #25525f1a}.form-textarea{width:100%;padding:10px 12px;border:2px solid #e2e8f0;border-radius:8px;font-size:14px;font-family:inherit;background:#fff;resize:vertical;line-height:1.5}.form-textarea:focus{outline:none;border-color:var(--altera-purple);box-shadow:0 0 0 3px #25525f1a}.search-params-preview{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;padding:16px;margin-top:16px}.search-params-preview h4{margin:0 0 12px;color:var(--altera-dark);font-size:14px;font-weight:600}.search-params-preview ul{list-style:none;padding:0;margin:0}.search-params-preview li{padding:6px 0;font-size:13px;color:#4b5563;line-height:1.5}.search-params-preview li strong{color:var(--altera-dark);margin-right:8px}.results-stats{display:flex;gap:8px;flex-wrap:nowrap}.stat-badge{display:flex;align-items:center;gap:4px;background:#fff;color:var(--altera-dark);padding:6px 10px;border-radius:6px;font-weight:600;font-size:12px;border:2px solid #e2e8f0}.stat-badge-success,.stat-badge-warning{background:#fff;color:var(--altera-dark);border:2px solid #e2e8f0}.stat-label{color:#6b7280;font-weight:500;font-size:11px}.stat-value{font-weight:700;font-size:12px}.alert{padding:15px;border-radius:8px;margin-bottom:20px}.alert-error{background:#fed7d7;color:#c53030}.alert strong{display:block;margin-bottom:4px}.alert p{margin:0}.spinner{border:4px solid #e2e8f0;border-top:4px solid var(--altera-purple);border-radius:50%;width:50px;height:50px;animation:spin 1s linear infinite;margin:0 auto 20px}.loading-text{font-size:1.1rem;font-weight:600;color:#2d3748;margin:0 0 8px}.loading-subtext{font-size:.9rem;color:#718096;margin:0}.empty-state{text-align:center;padding:60px 20px;color:#718096}.empty-icon{font-size:64px;margin-bottom:20px;opacity:.3}.empty-state h3{font-size:1.5rem;font-weight:600;color:var(--altera-dark);margin:0 0 12px}.empty-state p{color:#718096;font-size:1rem;margin:0}.execution-badge{display:inline-flex;align-items:center;background:#fff;padding:8px 16px;border-radius:8px;color:#718096;font-size:14px;font-weight:500;box-shadow:0 2px 8px #0000000f}.opportunities-grid{display:flex;flex-direction:column;gap:15px}.opportunity-card{background:#fff;border:2px solid #e2e8f0;border-radius:10px;padding:20px;transition:all .2s}.opportunity-card:hover{border-color:var(--altera-purple);box-shadow:0 4px 12px #39339226}.card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid #e2e8f0}.card-title-section{flex:1}.card-title{font-size:18px;font-weight:600;color:var(--altera-dark);margin:0 0 8px;line-height:1.3}.badge{display:inline-block;padding:4px 10px;border-radius:6px;font-size:12px;font-weight:600;margin-left:8px}.badge-saved{background:var(--success-color, #48bb78);color:#fff}.card-subtitle{color:#718096;font-size:14px;margin:4px 0;font-weight:500}.card-subtitle-highlight{color:#16a34a;font-weight:600}.card-revenue{color:#16a34a;font-weight:700;font-size:.9em;background:#f0fdf4;padding:4px 8px;border-radius:4px;margin:8px 0 4px;display:inline-block}.card-industry{color:var(--altera-gray);font-size:14px;margin:4px 0}.card-badges{display:flex;flex-direction:column;gap:10px;align-items:flex-end}.confidence-badge{padding:6px 16px;border-radius:20px;font-weight:600;font-size:13px;white-space:nowrap}.confidence-5{background:var(--success-color, #48bb78);color:#fff}.confidence-4{background:#38b2ac;color:#fff}.confidence-3{background:#ed8936;color:#fff}.confidence-2{background:#f6ad55;color:#fff}.btn-save{background:var(--altera-purple);color:#fff;border:none;padding:8px 16px;border-radius:6px;font-weight:600;font-size:13px;cursor:pointer;transition:all .2s}.btn-save:hover{background:#2e2673;transform:translateY(-2px);box-shadow:0 4px 12px #39339266}.card-meta{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}.meta-tag{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;background:#edf2f7;color:var(--altera-gray);border-radius:6px;font-size:12px;font-weight:500}.meta-tag-deadline{background:#feebc8;color:#7c2d12;font-weight:600}.card-description{margin-bottom:12px;padding:12px;background:#f0f9ff;border-radius:8px;line-height:1.6;color:var(--altera-dark);font-size:14px;border-left:3px solid #3b82f6}.card-detail{margin-bottom:12px;padding:8px 0;border-top:1px solid #f0f0f0}.card-detail strong{display:block;color:var(--altera-gray);margin-bottom:6px;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.3px}.card-detail p{margin:0;color:#444;line-height:1.6;font-size:14px}.pain-points-list,.contacts-list{margin:6px 0;padding-left:20px;list-style:none}.pain-points-list li,.contacts-list li{position:relative;margin-bottom:8px;color:#444;line-height:1.5;font-size:14px;padding-left:8px}.pain-points-list li:before{content:"▸";position:absolute;left:-16px;color:var(--altera-purple);font-weight:700}.contacts-list li{padding:10px;background:#f7fafc;border-radius:6px;margin-bottom:6px}.contacts-list li strong{color:var(--altera-dark);font-weight:600}.card-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding-top:12px;border-top:1px solid #e2e8f0;margin-top:12px}.status-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:6px;font-size:13px;font-weight:600}.status-active{background:#c6f6d5;color:#22543d}.status-upcoming{background:#feebc8;color:#7c2d12}.card-links{display:flex;gap:8px;flex-wrap:wrap}.source-link{display:inline-flex;align-items:center;padding:8px 16px;background:var(--primary-color, #393392);color:#fff;text-decoration:none;border-radius:6px;font-weight:600;font-size:13px;transition:all .2s}.source-link:hover{background:var(--dark-color, #2a2567);transform:translateY(-2px);box-shadow:0 4px 12px #0003}@media (max-width: 1280px){.search-grid{grid-template-columns:320px 1fr}}@media (max-width: 968px){.search-grid{grid-template-columns:1fr}.search-panel{height:auto}}@media (max-width: 768px){.search-grid{padding:10px;gap:10px}.search-panel,.results-panel{padding:20px}.opportunity-card{padding:16px}.card-header{flex-direction:column;gap:12px}.card-badges{width:100%;flex-direction:row;justify-content:space-between}.results-header{flex-direction:column;align-items:flex-start}.results-actions{width:100%;flex-direction:column;align-items:stretch}.btn-export{width:100%}}.modal-content{background:#fff;border-radius:12px;max-width:500px;width:100%;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;animation:modalSlideIn .2s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:2px solid #e2e8f0}.modal-header h3{margin:0;font-size:18px;font-weight:600;color:var(--altera-dark)}.modal-close{background:none;border:none;font-size:28px;color:#718096;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .2s}.modal-close:hover{background:#f7fafc;color:var(--altera-dark)}.modal-org-name{font-size:16px;font-weight:600;color:var(--altera-dark);margin:0 0 20px;padding:12px;background:#f7fafc;border-radius:8px;border-left:3px solid var(--altera-purple)}.modal-body .form-group{margin-bottom:0}.modal-body .form-group label{display:block;color:var(--altera-gray);font-size:14px;font-weight:600;margin-bottom:8px}.assign-select{width:100%;padding:10px 12px;border:2px solid #e2e8f0;border-radius:8px;font-size:14px;background:#fff;font-family:inherit;cursor:pointer}.assign-select:focus{outline:none;border-color:var(--altera-purple);box-shadow:0 0 0 3px #3933921a}.modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:2px solid #e2e8f0}.btn-cancel{padding:10px 20px;background:#fff;color:var(--altera-dark);border:2px solid #e2e8f0;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}.btn-cancel:hover{background:#f7fafc;border-color:#cbd5e0}.modal-footer .btn-primary{width:auto;margin:0;padding:10px 20px}.skill-display-box{background:var(--primary-color, #393392);color:#fff;padding:12px 16px;border-radius:8px;margin-bottom:20px;font-size:.9rem}.skill-display-header{display:flex;align-items:center;gap:8px;margin-bottom:6px}.skill-display-icon{font-size:1.1rem}.skill-display-badge{font-size:.75rem;background:#fff3;padding:2px 8px;border-radius:10px}.skill-display-description{font-size:.85rem;opacity:.95}.skill-display-industry{font-size:.8rem;opacity:.9;margin-top:8px}.skill-result-badge{background:var(--primary-color, #393392);color:#fff;padding:8px 16px;border-radius:8px;font-size:14px;font-weight:500;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;box-shadow:0 2px 8px #00809926}.search-stats-panel{background:#fff;border-radius:12px;padding:20px;margin:20px 0;box-shadow:0 2px 8px #0000001a}.stats-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.stats-header h4{margin:0;color:#1a1a1a;font-size:1.1rem;font-weight:600}.execution-id{font-size:.85rem;color:#6b7280;font-family:monospace;background:#f3f4f6;padding:6px 12px;border-radius:6px;font-weight:500}.stats-grid{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:12px}.stat-card{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:16px 20px;display:flex;align-items:center;gap:12px;transition:all .3s ease;flex:1;min-width:140px}.stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 16px #00000026}.stat-card.stat-new{border-color:var(--success-color, #48bb78)}.stat-card.stat-duplicate{border-color:#f59e0b}.stat-icon{font-size:2rem;line-height:1;flex-shrink:0}.stat-content{flex:1}.stat-value{font-size:1.75rem;font-weight:700;color:#1a1a1a;line-height:1;display:block}.stat-label{font-size:.8rem;color:#6b7280;text-transform:uppercase;letter-spacing:.5px;margin-top:6px;display:block;font-weight:600}.dedup-notice{background:#fff3e0;border:1px solid #ff9800;border-radius:4px;padding:10px 12px;font-size:.9rem;color:#663c00;margin-top:12px}.discoveries-container{max-width:1600px;margin:0 auto;padding:30px;background:#f5f7fa;min-height:calc(100vh - 80px);overflow-x:hidden;width:100%}.discoveries-header{margin-bottom:30px}.discoveries-header h1{color:#2c3e50;font-size:2rem;margin:0 0 8px}.team-info-banner{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:16px 24px;border-radius:8px;margin-bottom:20px;display:flex;align-items:center;gap:16px;box-shadow:0 4px 12px #667eea4d}.team-info-icon{font-size:2rem;flex-shrink:0}.team-info-content{display:flex;flex-direction:column;gap:8px;flex:1}.team-info-item{font-size:.95rem;line-height:1.4}.team-info-item strong{margin-right:6px}.team-member-count,.manager-email{opacity:.9;font-size:.9rem;margin-left:6px}.team-info-help{padding-left:16px;border-left:2px solid rgba(255,255,255,.3);flex-shrink:0}.help-text{font-size:.85rem;opacity:.95;display:block;line-height:1.5}@media (max-width: 768px){.team-info-banner{flex-direction:column;align-items:flex-start}.team-info-help{padding-left:0;padding-top:12px;border-left:none;border-top:1px solid rgba(255,255,255,.3);width:100%}}.filter-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:16px}.discoveries-table-container{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.discoveries-table{width:100%;border-collapse:collapse}.discoveries-table thead{background:#f8f9fa;border-bottom:2px solid #dee2e6}.discoveries-table th{padding:12px;text-align:left;font-weight:600;color:#2c3e50;font-size:.85rem;text-transform:uppercase;letter-spacing:.5px}.discoveries-table tbody tr{border-bottom:1px solid #e9ecef;transition:background .2s ease}.discoveries-table tbody tr:hover{background:#f8f9fa}.discoveries-table td{padding:12px;font-size:.9rem;color:#495057}.org-name{font-weight:600;color:#2c3e50}.org-name-main{margin-bottom:4px}.source-link{font-size:.75rem;color:var(--primary-color, #393392);text-decoration:none}.source-link:hover{text-decoration:underline}.disc-date{font-size:.85rem;color:#6c757d}.times-seen{text-align:center}.times-badge{display:inline-block;padding:4px 10px;background:#e9ecef;border-radius:12px;font-weight:600;font-size:.8rem;color:#495057}.rfp-status{font-size:.85rem}.confidence-badge{display:inline-block;padding:4px 10px;border-radius:12px;font-size:.75rem;font-weight:600}.confidence-5{background:#d3f9d8;color:#2b8a3e}.confidence-4{background:#b2f2bb;color:#2f9e44}.confidence-3{background:#fff9db;color:#e67700}.confidence-2{background:#ffe8cc;color:#d9480f}.confidence-1{background:#ffe0e0;color:#c92a2a}.status-badge{display:inline-block;padding:4px 10px;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:capitalize}.status-new{background:#e7f5ff;color:#1864ab}.status-reviewing{background:#fff3e0;color:#e65100}.status-qualified{background:#d4edda;color:#155724}.status-disqualified{background:#f8d7da;color:#721c24}.status-contacted{background:#d1ecf1;color:#0c5460}.status-archived{background:#e9ecef;color:#6c757d}.actions{display:flex;gap:8px;align-items:center;justify-content:flex-start}.discoveries-table th:nth-child(5),.discoveries-table td:nth-child(5){min-width:110px;text-align:center}.discoveries-table th:nth-child(7),.discoveries-table td:nth-child(7){min-width:100px;text-align:center}.status-select{padding:6px 8px;border:1px solid #cbd5e0;border-radius:6px;font-size:.8rem;background:#fff;cursor:pointer}.btn-view{padding:8px 16px;background:var(--primary-color, #393392);color:#fff;border:none;border-radius:6px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap}.btn-view:hover{background:var(--dark-color, #2a2567);transform:translateY(-1px);box-shadow:0 2px 8px #00000026}.btn-save{padding:6px 14px;background:#28a745;color:#fff;border:none;border-radius:6px;font-size:.85rem;cursor:pointer;transition:all .2s ease;white-space:nowrap}.btn-save:hover:not(:disabled){background:#218838;transform:translateY(-1px)}.btn-saved{padding:6px 14px;background:#6c757d;color:#fff;border:none;border-radius:6px;font-size:.85rem;cursor:not-allowed;opacity:.7;white-space:nowrap}.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;padding:10px}.modal-content{background:#fff;border-radius:12px;max-width:900px;width:100%;max-height:90vh;overflow-y:auto;overflow-x:hidden;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column}.modal-content.modal-content-large{max-width:95vw!important;width:95%!important;max-height:95vh!important}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e9ecef;flex-shrink:0}.modal-body{padding:24px;overflow-y:auto;flex:1}.opportunity-data{background:#f8f9fa;border:1px solid #e9ecef;border-radius:6px;padding:16px;overflow-x:auto;font-size:.85rem;color:#495057;max-height:400px}.discovery-meta-bar{display:flex;flex-wrap:wrap;gap:16px;padding:16px;background:#f8f9fa;border-radius:8px;margin-bottom:20px;border:1px solid #e9ecef}.discovery-meta-bar .meta-item{display:flex;flex-direction:column;gap:4px}.discovery-meta-bar .meta-label{font-size:.7rem;color:#6c757d;text-transform:uppercase;letter-spacing:.5px;font-weight:600}.discovery-meta-bar .meta-value{font-size:.9rem;color:#2c3e50;font-weight:500}.opportunity-card-modal{background:#fff;border:2px solid #e2e8f0;border-radius:10px;padding:20px;width:100%;box-sizing:border-box}.opportunity-card-modal .card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid #e2e8f0}.opportunity-card-modal .card-title-section{flex:1}.opportunity-card-modal .card-title{font-size:18px;font-weight:600;color:#2c3e50;margin:0 0 8px;line-height:1.3}.opportunity-card-modal .card-subtitle{color:#718096;font-size:14px;margin:4px 0;font-weight:500}.opportunity-card-modal .card-subtitle-highlight{color:#16a34a;font-weight:600}.opportunity-card-modal .card-revenue{color:#16a34a;font-weight:700;font-size:.9em;background:#f0fdf4;padding:4px 8px;border-radius:4px;margin:8px 0 4px;display:inline-block}.opportunity-card-modal .card-industry{color:#6c757d;font-size:14px;margin:4px 0}.opportunity-card-modal .card-meta{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}.opportunity-card-modal .meta-tag{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;background:#edf2f7;color:#6c757d;border-radius:6px;font-size:12px;font-weight:500}.opportunity-card-modal .meta-tag-deadline{background:#feebc8;color:#7c2d12;font-weight:600}.opportunity-card-modal .card-description{margin-bottom:12px;padding:12px;background:#f0f9ff;border-radius:8px;line-height:1.6;color:#2c3e50;font-size:14px;border-left:3px solid #3b82f6}.opportunity-card-modal .card-detail{margin-bottom:12px;padding:8px 0;border-top:1px solid #f0f0f0}.opportunity-card-modal .card-detail strong{display:block;color:#6c757d;margin-bottom:6px;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.3px}.opportunity-card-modal .card-detail p{margin:0;color:#444;line-height:1.6;font-size:14px}.opportunity-card-modal .pain-points-list,.opportunity-card-modal .contacts-list{margin:6px 0;padding-left:20px;list-style:none}.opportunity-card-modal .pain-points-list li,.opportunity-card-modal .contacts-list li{position:relative;margin-bottom:8px;padding-left:12px;line-height:1.6;font-size:14px;color:#444}.opportunity-card-modal .pain-points-list li:before{content:"•";position:absolute;left:0;color:var(--primary-color, #393392);font-weight:700}.opportunity-card-modal .card-footer{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid #e2e8f0}.opportunity-card-modal .status-badge{padding:6px 12px;border-radius:6px;font-size:12px;font-weight:600}.opportunity-card-modal .status-active{background:#d4edda;color:#155724}.opportunity-card-modal .status-upcoming{background:#fff3cd;color:#856404}.opportunity-card-modal .card-links{display:flex;gap:10px}.opportunity-card-modal .source-link{background:var(--primary-color, #393392);color:#fff;text-decoration:none;font-size:13px;font-weight:600;padding:8px 14px;border:none;border-radius:6px;transition:all .2s;display:inline-block}.opportunity-card-modal .source-link:hover{background:var(--dark-color, #2a2567);color:#fff;transform:translateY(-1px);box-shadow:0 2px 8px #00000026}@media (max-width: 768px){.discoveries-container{padding:16px 16px 100px;max-width:100vw;box-sizing:border-box}.discoveries-header{margin-bottom:16px}.discoveries-header h1{font-size:1.5rem}.header-description{font-size:.9rem}.view-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;gap:8px;padding-bottom:8px;margin-bottom:16px}.view-tabs::-webkit-scrollbar{display:none}.tab-btn{flex-shrink:0;padding:10px 16px;font-size:.85rem;white-space:nowrap}.status-filters{display:flex;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;gap:8px;padding:12px;margin-bottom:16px}.status-filters::-webkit-scrollbar{display:none}.filter-btn{flex-shrink:0;padding:8px 14px;font-size:.8rem;white-space:nowrap}.advanced-filters{padding:16px;margin-bottom:16px}.filter-row{grid-template-columns:1fr;gap:12px}.filter-group label{font-size:.8rem}.filter-input,.filter-select{padding:12px;font-size:16px}.filter-stats{font-size:.85rem;padding:10px}.discoveries-table-container{background:transparent;box-shadow:none;overflow:visible}.discoveries-table{display:block}.discoveries-table thead{display:none}.discoveries-table tbody{display:flex;flex-direction:column;gap:12px}.discoveries-table tbody tr{display:flex;flex-direction:column;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;padding:16px;border:none;max-width:100%;overflow:hidden;word-break:break-word}.discoveries-table tbody tr:hover{background:#fff}.discoveries-table td{display:flex;align-items:center;padding:6px 0;border:none;font-size:.9rem;max-width:100%;overflow:hidden;word-break:break-word}.discoveries-table td:before{content:attr(data-label) ": ";font-weight:600;color:#6c757d;font-size:.75rem;min-width:90px;flex-shrink:0}.discoveries-table td.org-name{order:1;font-size:1.1rem;padding-bottom:12px;border-bottom:1px solid #e9ecef;margin-bottom:8px}.discoveries-table td.org-name:before{display:none}.org-name-main{font-weight:600;color:#2c3e50;word-break:break-word;overflow-wrap:break-word}.discoveries-table td:nth-child(5){order:2}.discoveries-table td:nth-child(7){order:3}.discoveries-table td:nth-child(2){order:4}.discoveries-table td:nth-child(3){order:5}.discoveries-table td.times-seen{order:6}.discoveries-table td.rfp-status{order:7}.discoveries-table td.disc-date{color:#495057;font-size:.85rem}.discoveries-table td.actions{order:10;flex-direction:column;gap:10px;padding-top:12px;margin-top:8px;border-top:1px solid #e9ecef}.discoveries-table td.actions:before{display:none}.actions{flex-direction:column;width:100%}.status-select{width:100%;padding:12px;font-size:16px}.btn-view,.btn-save,.btn-saved{width:100%;padding:14px;font-size:1rem;border-radius:8px}.no-results{padding:40px 20px;background:#fff;border-radius:12px}.modal-overlay{padding:0;align-items:flex-end}.modal-content{max-width:100%;width:100%;max-height:95vh;border-radius:16px 16px 0 0;margin:0}.modal-content.modal-content-large{max-width:100%!important;width:100%!important;max-height:95vh!important}.modal-header{padding:16px;position:sticky;top:0;background:#fff;z-index:10}.modal-header h3{font-size:1.1rem;padding-right:40px}.btn-close{position:absolute;right:12px;top:12px}.modal-body{padding:16px 16px 24px}.discovery-meta-bar{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px}.discovery-meta-bar .meta-item{padding:8px;background:#fff;border-radius:6px}.discovery-meta-bar .meta-label{font-size:.65rem}.discovery-meta-bar .meta-value{font-size:.85rem}.opportunity-card-modal{padding:16px}.opportunity-card-modal .card-header{flex-direction:column;gap:8px}.opportunity-card-modal .card-title{font-size:16px}.opportunity-card-modal .card-meta{flex-wrap:wrap;gap:8px}.opportunity-card-modal .meta-tag{font-size:11px;padding:4px 8px}.opportunity-card-modal .card-description{font-size:13px;padding:10px}.opportunity-card-modal .card-detail strong{font-size:12px}.opportunity-card-modal .card-detail p,.opportunity-card-modal .pain-points-list li,.opportunity-card-modal .contacts-list li{font-size:13px}.opportunity-card-modal .card-footer{flex-direction:column;gap:12px;align-items:stretch}.opportunity-card-modal .card-links{display:flex;flex-direction:column;gap:8px}.opportunity-card-modal .source-link{text-align:center;padding:12px}.detail-grid{grid-template-columns:1fr;gap:12px}.loading-state{padding:40px 20px}.alert{padding:12px 16px;font-size:.9rem}}@media (max-width: 375px){.discoveries-container{padding:12px 12px 100px}.discoveries-header h1{font-size:1.3rem}.tab-btn{padding:8px 12px;font-size:.8rem}.filter-btn{padding:6px 10px;font-size:.75rem}.discovery-meta-bar{grid-template-columns:1fr}}.saved-searches-container{max-width:1600px;margin:0 auto;padding:30px;background:#f5f7fa;min-height:calc(100vh - 80px)}.searches-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:30px;gap:1rem;flex-wrap:wrap}.searches-header h1{color:#2c3e50;font-size:2rem;margin:0 0 8px}.empty-state{text-align:center;padding:80px 20px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a}.empty-icon{font-size:4rem;margin-bottom:20px}.empty-state h3{color:#2c3e50;font-size:1.5rem;margin:0 0 12px}.empty-state p{color:#6c757d;font-size:1rem;margin:0 0 24px}.configurations-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:20px}.config-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #0000001a;transition:all .2s ease;border:2px solid transparent;display:flex;flex-direction:column;height:100%}.config-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #00000026;border-color:var(--primary-color, #393392)}.config-card.inactive{opacity:.6;background:#f8f9fa}.config-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.config-header h3{color:#2c3e50;font-size:1.2rem;margin:0;flex:1}.inactive-badge{display:inline-block;padding:4px 10px;background:#e9ecef;color:#6c757d;border-radius:12px;font-size:.7rem;font-weight:600;text-transform:uppercase}.config-description{color:#6c757d;font-size:.9rem;margin:0 0 16px;line-height:1.5}.config-info{margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid #e9ecef;min-height:120px}.info-item{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.info-label{font-size:.85rem;color:#6c757d;font-weight:600}.info-value{font-size:.9rem;color:#2c3e50}.schedule-badge{display:inline-block;padding:4px 10px;border-radius:12px;font-size:.75rem;font-weight:600}.schedule-active{background:#d4edda;color:#155724}.schedule-disabled{background:#f8d7da;color:#721c24}.config-stats{margin-bottom:16px;min-height:60px}.stat-item{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.stat-label{font-size:.5rem!important;color:#6c757d;font-weight:500}.stat-value{font-size:.75rem!important;color:#495057;font-family:monospace;font-weight:400}.config-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px;margin-top:auto;padding-top:16px}.config-actions .btn{width:100%}.modal-content.large{max-width:900px}.params-visual{display:flex;flex-direction:column;gap:16px}.param-item{display:flex;flex-direction:column;gap:6px;padding:12px;background:#f8f9fa;border-radius:6px;border-left:3px solid var(--primary-color, #393392)}.param-label{font-size:.75rem;color:#6c757d;text-transform:uppercase;letter-spacing:.5px;font-weight:700}.param-value{font-size:.95rem;color:#2c3e50;font-weight:500}.param-value.custom-query{font-style:italic;color:#495057;line-height:1.5;padding:8px;background:#fff;border-radius:4px;border:1px solid #e9ecef}.param-badges{display:flex;flex-wrap:wrap;gap:8px}.param-badge{display:inline-block;padding:6px 12px;background:var(--primary-color, #393392);color:#fff;border-radius:16px;font-size:.8rem;font-weight:600}.create-placeholder{text-align:center;padding:40px}.create-placeholder p{font-size:1.1rem;color:#6c757d;margin:12px 0}.edit-section{margin-bottom:32px;padding-bottom:24px;border-bottom:1px solid #e9ecef}.edit-section:last-of-type{border-bottom:none}.edit-section h4{color:#2c3e50;font-size:1rem;margin:0 0 16px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.form-group{margin-bottom:16px}.form-group label{display:block;font-size:.9rem;font-weight:600;color:#495057;margin-bottom:6px}.form-input,.form-textarea,.form-select{width:100%;padding:10px 12px;border:1px solid #ced4da;border-radius:6px;font-size:.95rem;font-family:inherit;transition:all .2s ease}.form-input:focus,.form-textarea:focus,.form-select:focus{outline:none;border-color:var(--primary-color, #393392);box-shadow:0 0 0 3px #0080991a}.form-textarea{resize:vertical;min-height:80px}.checkbox-label{display:flex;align-items:center;gap:12px;cursor:pointer;font-size:.95rem;color:#495057;padding:8px 0}.checkbox-label input[type=checkbox]{opacity:0;width:0;height:0;position:absolute}.checkbox-label{position:relative;padding-left:60px}.checkbox-label:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:48px;height:24px;background:#ccc;border-radius:24px;transition:background .3s ease}.checkbox-label:after{content:"";position:absolute;left:3px;top:50%;transform:translateY(-50%);width:18px;height:18px;background:#fff;border-radius:50%;transition:left .3s ease;box-shadow:0 2px 4px #0003}.checkbox-label input[type=checkbox]:checked+span:before,.checkbox-label:has(input[type=checkbox]:checked):before{background:var(--primary-color, #393392)}.checkbox-label input[type=checkbox]:checked+span:after,.checkbox-label:has(input[type=checkbox]:checked):after{left:27px}.checkbox-label span{-webkit-user-select:none;user-select:none;line-height:1.4}.schedule-config{margin-top:16px;padding:16px;background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.day-selector{display:flex;gap:8px;flex-wrap:wrap}.day-btn{padding:8px 16px;border:2px solid #ced4da;background:#fff;color:#495057;border-radius:6px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .2s ease}.day-btn:hover{border-color:var(--primary-color, #393392);background:#e6f7fa}.day-btn.selected{background:var(--primary-color, #393392);border-color:var(--primary-color, #393392);color:#fff}.schedule-info{margin-top:16px;padding:12px;background:#d1ecf1;border:1px solid #bee5eb;border-radius:6px}.schedule-info p{margin:0 0 8px;font-size:.9rem;color:#0c5460;line-height:1.5}.schedule-info p:last-child{margin-bottom:0}.notification-info{margin-top:12px;padding:12px;background:#e7f3ff;border:1px solid #b3d9ff;border-radius:6px}.notification-info p{margin:0;font-size:.9rem;color:#004085;line-height:1.5}.modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px;padding-top:20px;border-top:1px solid #e9ecef}.share-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;padding:20px}.share-modal{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;max-width:600px;width:100%;max-height:90vh;overflow-y:auto}.share-modal-header{padding:24px;border-bottom:1px solid #e0e0e0;display:flex;align-items:center;justify-content:space-between}.share-modal-header h2{margin:0;color:#333;font-size:22px}.close-button{background:none;border:none;font-size:28px;color:#999;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease}.close-button:hover{background:#f5f5f5;color:#333}.share-modal-body{padding:24px}.opportunity-preview{background:#f8f9fa;padding:16px;border-radius:8px;margin-bottom:24px;border-left:4px solid #0066cc}.opportunity-preview h3{margin:0 0 8px;color:#333;font-size:18px}.opportunity-preview p{margin:4px 0;color:#666;font-size:14px}.share-form{display:flex;flex-direction:column;gap:20px}.form-group label .required{color:#dc3545;margin-left:4px}.form-group input,.form-group textarea{padding:12px;border:2px solid #e0e0e0;border-radius:8px;font-size:15px;font-family:inherit;transition:all .3s ease}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#06c;box-shadow:0 0 0 3px #0066cc1a}.form-group textarea{resize:vertical;min-height:100px}.form-group .help-text{font-size:13px;color:#666;margin-top:-4px}.share-modal-footer{padding:20px 24px;border-top:1px solid #e0e0e0;display:flex;gap:12px;justify-content:flex-end}.cancel-button,.send-button{padding:12px 24px;border-radius:8px;font-size:15px;font-weight:500;cursor:pointer;transition:all .3s ease;border:none}.cancel-button{background:#fff;color:#666;border:2px solid #e0e0e0}.cancel-button:hover{background:#f5f5f5;border-color:#ccc}.send-button{background:#06c;color:#fff}.send-button:hover{background:#0052a3;transform:translateY(-1px);box-shadow:0 4px 12px #0066cc4d}.send-button:disabled{background:#ccc;cursor:not-allowed;transform:none}.success-message{background:#d4edda;color:#155724;padding:15px;border-radius:8px;border:1px solid #c3e6cb;margin-bottom:20px;display:flex;align-items:center;gap:10px}.error-message{background:#f8d7da;color:#721c24;padding:15px;border-radius:8px;border:1px solid #f5c6cb;margin-bottom:20px}@media (max-width: 600px){.share-modal{margin:0;border-radius:0;max-height:100vh}.share-modal-footer{flex-direction:column}.cancel-button,.send-button{width:100%}}.comments-section{margin-top:24px;padding:16px;background:#f8f9fa;border-radius:8px;border:1px solid #e0e0e0}.comments-section h4{margin:0 0 16px;color:#333;font-size:1rem}.error-message{background:#fee;color:#c00;padding:8px 12px;border-radius:4px;margin-bottom:12px;font-size:.9rem}.comments-list{margin-bottom:16px}.no-comments{color:#666;font-style:italic;text-align:center;padding:20px;font-size:.9rem}.comment{background:#fff;padding:12px;border-radius:6px;margin-bottom:12px;border:1px solid #e0e0e0}.comment:last-child{margin-bottom:0}.comment-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid #f0f0f0}.comment-author{font-weight:600;color:#1976d2;font-size:.9rem}.comment-date{font-size:.8rem;color:#666}.edited-badge{font-style:italic;color:#888}.comment-content p{margin:0;color:#333;font-size:.95rem;line-height:1.5;white-space:pre-wrap}.comment-actions{display:flex;gap:8px;margin-top:8px}.comment-edit{margin-top:8px}.comment-edit textarea{width:100%;padding:8px;border:1px solid #ddd;border-radius:4px;font-family:inherit;font-size:.9rem;resize:vertical;margin-bottom:8px}.btn-edit-small,.btn-delete-small{background:none;border:none;color:#666;font-size:.8rem;cursor:pointer;padding:4px 8px;border-radius:3px;transition:all .2s}.btn-edit-small:hover{background:#f0f0f0;color:#1976d2}.btn-delete-small:hover{background:#ffebee;color:#c62828}.btn-edit-small:disabled,.btn-delete-small:disabled{opacity:.5;cursor:not-allowed}.add-comment{background:#fff;padding:12px;border-radius:6px;border:1px solid #e0e0e0}.add-comment textarea{width:100%;padding:10px;border:1px solid #ddd;border-radius:4px;font-family:inherit;font-size:.9rem;resize:vertical;margin-bottom:10px;transition:border-color .2s}.add-comment textarea:focus{outline:none;border-color:#1976d2}.add-comment textarea:disabled{background:#f5f5f5;cursor:not-allowed}.btn-add-comment,.btn-save,.btn-cancel{padding:8px 16px;border:none;border-radius:4px;font-size:.9rem;cursor:pointer;transition:all .2s;font-weight:500}.btn-add-comment{background:#1976d2;color:#fff}.btn-add-comment:hover:not(:disabled){background:#1565c0}.btn-add-comment:disabled{background:#ccc;cursor:not-allowed}.btn-save{background:#4caf50;color:#fff}.btn-save:hover:not(:disabled){background:#45a049}.btn-save:disabled{background:#ccc;cursor:not-allowed}.btn-cancel{background:#f5f5f5;color:#333}.btn-cancel:hover{background:#e0e0e0}.opportunities-container{padding:20px;max-width:1400px;margin:0 auto}.opportunities-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:30px}.opportunities-header h1{font-size:2rem;color:#2c3e50;margin:0 0 8px}.opportunities-header .header-description{color:#6c757d;font-size:1rem;margin:0}.opportunities-actions{display:flex;gap:10px}.btn-export{background:var(--primary-color, #393392);color:#fff;border:none;padding:10px 20px;border-radius:8px;cursor:pointer;font-weight:600;transition:all .3s ease}.btn-export:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.btn-export-excel{background:linear-gradient(135deg,var(--success-color, #48bb78) 0%,#059669 100%)}.btn-export-excel:hover{box-shadow:0 4px 12px #10b98166}.view-tabs{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}.tab-btn{padding:12px 24px;border:2px solid #e0e0e0;background:#fff;border-radius:8px;cursor:pointer;font-weight:600;transition:all .3s ease;color:#666;font-size:1rem}.team-member-filter{background:#fff;padding:20px;border-radius:12px;box-shadow:0 2px 8px #0000001a;margin-bottom:20px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}.team-member-filter label{font-weight:600;color:#374151;font-size:.95rem;margin:0}.team-member-select{flex:1;min-width:250px;padding:10px 12px;border:2px solid #e5e7eb;border-radius:8px;font-size:.95rem;background:#fff;cursor:pointer;font-weight:500;color:#374151;transition:all .2s ease}.team-member-select:focus{outline:none;border-color:var(--dark-color, #2a2567);box-shadow:0 0 0 3px #667eea1a}.team-member-select:hover{border-color:var(--dark-color, #2a2567)}.filter-btn{padding:10px 20px;border:2px solid #e0e0e0;background:#fff;border-radius:8px;cursor:pointer;font-weight:500;transition:all .3s ease;color:#666}.filter-btn:hover{border-color:var(--dark-color, #2a2567);color:var(--dark-color, #2a2567)}.advanced-filters{background:#fff;padding:24px;border-radius:12px;box-shadow:0 2px 8px #0000001a;margin-bottom:20px}.filter-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-bottom:16px}.filter-group{display:flex;flex-direction:column;gap:6px}.filter-group label{font-weight:600;color:#374151;font-size:.85rem;margin:0}.filter-input,.filter-select{padding:10px 12px;border:2px solid #e5e7eb;border-radius:8px;font-size:.9rem;background:#fff;color:#374151;transition:all .2s ease;font-weight:500}.filter-input{cursor:text}.filter-select{cursor:pointer}.filter-input:focus,.filter-select:focus{outline:none;border-color:var(--primary-color, #393392);box-shadow:0 0 0 3px #3933921a}.filter-input:hover,.filter-select:hover{border-color:var(--dark-color, #2a2567)}.filter-stats{text-align:center;color:#6b7280;font-size:.95rem;font-weight:500;padding:12px;background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}@media (max-width: 1200px){.filter-row{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}}@media (max-width: 768px){.filter-row{grid-template-columns:1fr}}.expand-collapse-bar{display:flex;gap:10px;justify-content:flex-end;margin-bottom:20px}.btn-expand-all,.btn-collapse-all{padding:10px 20px;border:2px solid #e5e7eb;background:#fff;border-radius:8px;cursor:pointer;font-weight:600;font-size:.9rem;color:#374151;transition:all .2s ease}.btn-expand-all:hover:not(:disabled),.btn-collapse-all:hover:not(:disabled){background:var(--dark-color, #2a2567);color:#fff;border-color:var(--dark-color, #2a2567)}.btn-expand-all:disabled,.btn-collapse-all:disabled{opacity:.5;cursor:not-allowed}.opportunities-list{display:flex;flex-direction:column;gap:20px}.opportunity-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #0000001a;transition:all .3s ease}.opportunity-card:hover{box-shadow:0 4px 16px #00000026}.opportunity-card.collapsed{padding:20px 24px}.opportunity-card.expanded{transform:translateY(-2px)}.card-header-section{margin-bottom:0}.opportunity-card.expanded .card-header-section{margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid #f0f0f0}.card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.card-title h3{font-size:1.5rem;color:#1a1a1a;margin:0 0 8px}.parent-idn{color:#666;font-size:.9rem;margin-bottom:4px}.parent-idn.independent{color:#10b981;font-weight:500}.annual-revenue{color:#25525f;font-weight:600;font-size:.95rem}.card-subtitle{color:#666;font-size:.95rem}.card-actions-top{display:flex;gap:10px;align-items:center}.btn-toggle-card{background:var(--primary-color, #393392);color:#fff;border:2px solid var(--primary-color, #393392);width:40px;height:40px;border-radius:8px;cursor:pointer;font-size:1.2rem;display:flex;align-items:center;justify-content:center;transition:all .2s ease;font-weight:700;box-shadow:0 2px 4px #0003}.btn-toggle-card:hover{background:#006d82;border-color:#006d82;transform:scale(1.1);box-shadow:0 3px 6px #0000004d}.assignment-info{display:flex;gap:12px;flex-wrap:wrap;padding:12px;background:#f0fdf4;border-radius:8px;border-left:4px solid #10b981}.assignment-badge{display:inline-flex;align-items:center;gap:6px;font-size:.9rem;color:#065f46;flex-wrap:wrap}.assignment-badge.assigned{color:#1e40af}.assignment-badge strong{font-weight:600}.save-date{color:#6b7280;font-size:.85rem;margin-left:4px}.card-content{animation:expandContent .3s ease}@keyframes expandContent{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.confidence-badge{padding:6px 12px;border-radius:6px;font-weight:600;font-size:.85rem}.confidence-5{background:#10b981;color:#fff}.confidence-4{background:#3b82f6;color:#fff}.confidence-3{background:#f59e0b;color:#fff}.confidence-2{background:#6b7280;color:#fff}.status-badge{padding:8px 16px;border-radius:6px;font-weight:600;font-size:.9rem;border:none;cursor:pointer;transition:all .2s ease}.status-new{background:#dbeafe;color:#1e40af}.status-qualified{background:#e0e7ff;color:#3730a3}.status-contacted{background:#fef3c7;color:#92400e}.status-proposal{background:#e0e7ff;color:#3730a3}.status-in-progress{background:#dbeafe;color:#1e3a8a}.status-won{background:#d1fae5;color:#065f46}.status-lost{background:#fee2e2;color:#991b1b}.status-not-pursuing{background:#f3f4f6;color:#4b5563}.card-meta{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:16px;padding:12px;background:#f9fafb;border-radius:8px}.meta-item{display:flex;align-items:center;gap:6px;color:#666;font-size:.9rem}.meta-item span:first-child{font-size:1.1rem}.card-description{margin-bottom:16px;padding:12px;background:#f9fafb;border-radius:8px;line-height:1.6;color:#374151}.card-section{margin-bottom:16px}.card-section strong{display:block;color:#1a1a1a;margin-bottom:8px;font-size:.95rem}.card-section ul{margin:0;padding-left:20px}.card-section li{margin-bottom:6px;color:#4b5563;line-height:1.5}.card-section p{margin:0;color:#4b5563;line-height:1.6}.opportunity-management{background:#f9fafb;border-radius:8px;padding:16px;margin:16px 0;display:grid;gap:16px}.status-section{display:flex;flex-direction:column}.status-section label{display:block;font-weight:600;color:#374151;margin-bottom:8px}.status-section select{width:100%;max-width:300px;padding:10px;border-radius:6px;font-weight:600;font-size:.95rem;border:2px solid #e5e7eb;background:#fff}.status-section select:focus{outline:none;border-color:var(--dark-color, #2a2567)}.assign-section{display:flex;flex-direction:column}.assign-section label{display:block;font-weight:600;color:#374151;margin-bottom:8px}.assign-select{width:100%;max-width:300px;padding:10px;border:2px solid #e5e7eb;border-radius:6px;font-size:.95rem;background:#fff;cursor:pointer}.assign-select:focus{outline:none;border-color:var(--dark-color, #2a2567)}.notes-section{grid-column:1 / -1}.notes-section label{display:block;font-weight:600;color:#374151;margin-bottom:8px}.note-edit textarea{width:100%;padding:12px;border:2px solid #e5e7eb;border-radius:8px;font-family:inherit;font-size:.95rem;resize:vertical;margin-bottom:10px}.note-edit textarea:focus{outline:none;border-color:var(--dark-color, #2a2567)}.note-actions{display:flex;gap:10px}.note-display{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.note-display p{flex:1;margin:0;padding:12px;background:#fff;border-radius:6px;border:1px solid #e5e7eb;color:#374151;line-height:1.6}.note-empty{color:#9ca3af!important;font-style:italic}.card-tags{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.tag{padding:6px 12px;border-radius:6px;font-size:.85rem;font-weight:600}.rfp-open{background:#d1fae5;color:#065f46}.rfp-upcoming{background:#fef3c7;color:#92400e}.comments-section{margin:20px 0;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.comments-toggle{width:100%;display:flex;align-items:center;gap:10px;padding:12px 16px;background:#f8f9fa;border:none;cursor:pointer;font-size:.95rem;font-weight:600;color:#374151;transition:all .2s ease;text-align:left}.comments-toggle:hover{background:#e9ecef}.comments-toggle-icon{font-size:.75rem;color:#6b7280;transition:transform .2s ease}.comments-toggle-label{flex:1}.comments-content{padding:16px;background:#fff;border-top:1px solid #e5e7eb}.card-actions{display:flex;gap:8px;flex-wrap:wrap;padding-top:16px;border-top:1px solid #f0f0f0;align-items:center}.sf-synced-badge{padding:8px 16px;background:#e8f5e9;color:#2e7d32;border-radius:6px;font-weight:600;font-size:.85rem;border:1px solid #81c784;display:inline-flex;align-items:center;gap:4px}.empty-state{text-align:center;padding:60px 20px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a}.empty-state-icon{font-size:4rem;margin-bottom:20px}.empty-state h3{color:#1a1a1a;margin-bottom:10px}.empty-state p{color:#666;font-size:1rem}.spinner{width:50px;height:50px;border:4px solid #f3f3f3;border-top:4px solid #25525f;border-radius:50%;animation:spin 1s linear infinite}@media (max-width: 768px){.opportunities-actions{display:none}.opportunities-header{flex-direction:column;align-items:flex-start;gap:16px}.view-tabs{flex-direction:column}.tab-btn{width:100%}.team-member-filter{flex-direction:column;align-items:flex-start}.team-member-select{width:100%;min-width:100%}.controls-bar,.sort-controls{flex-direction:column;align-items:stretch}.sort-select{width:100%;min-width:100%}.expand-controls{justify-content:stretch}.btn-expand-all,.btn-collapse-all{flex:1}.status-section select,.assign-select{max-width:100%}.opportunity-management{grid-template-columns:1fr}}.tooltip-wrapper{position:relative;display:inline-flex;align-items:center}.tooltip-bubble{position:absolute;background:linear-gradient(135deg,#393392,#5b4db0);color:#fff;padding:10px 14px;border-radius:8px;font-size:.85rem;line-height:1.4;font-weight:500;white-space:nowrap;z-index:10000;box-shadow:0 4px 12px #3933924d;pointer-events:none;animation:tooltipFadeIn .2s ease-out;max-width:300px;white-space:normal}@keyframes tooltipFadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.tooltip-arrow{position:absolute;width:0;height:0;border-style:solid}.tooltip-top{bottom:calc(100% + 8px);left:50%;transform:translate(-50%)}.tooltip-top .tooltip-arrow{top:100%;left:50%;transform:translate(-50%);border-width:6px 6px 0 6px;border-color:#393392 transparent transparent transparent}.tooltip-bottom{top:calc(100% + 8px);left:50%;transform:translate(-50%)}.tooltip-bottom .tooltip-arrow{bottom:100%;left:50%;transform:translate(-50%);border-width:0 6px 6px 6px;border-color:transparent transparent #393392 transparent}.tooltip-left{right:calc(100% + 8px);top:50%;transform:translateY(-50%)}.tooltip-left .tooltip-arrow{left:100%;top:50%;transform:translateY(-50%);border-width:6px 0 6px 6px;border-color:transparent transparent transparent #393392}.tooltip-right{left:calc(100% + 8px);top:50%;transform:translateY(-50%)}.tooltip-right .tooltip-arrow{right:100%;top:50%;transform:translateY(-50%);border-width:6px 6px 6px 0;border-color:transparent #393392 transparent transparent}@media (max-width: 768px){.tooltip-bubble{font-size:.8rem;padding:8px 12px;max-width:250px}}.skills-page{padding:2rem;max-width:1400px;margin:0 auto}.skills-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;flex-wrap:wrap;gap:1rem}.skills-header h1{margin:0;color:var(--text-primary, #1a1a1a);font-size:2rem}.skills-header .subtitle{margin:.5rem 0 0;color:var(--text-secondary, #666);font-size:1rem}.btn-create{background:var(--primary-color, #393392);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;cursor:pointer;transition:all .3s ease;font-weight:500}.btn-create:hover{background:#006b7d;transform:translateY(-2px);box-shadow:0 4px 12px #00809966}.error-banner{background:#fee;color:#c33;padding:1rem;border-radius:8px;margin-bottom:1.5rem;border-left:4px solid #c33}.empty-state{text-align:center;padding:3rem;color:var(--text-secondary, #666);background:var(--bg-light, #f9f9f9);border-radius:12px;margin-top:2rem}.loading{text-align:center;padding:3rem;color:var(--text-secondary, #666);font-size:1.1rem}.skills-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem;margin-top:2rem}.skill-card{background:#fff;border:1px solid var(--border-color, #e0e0e0);border-radius:12px;padding:1.5rem;transition:all .3s ease;display:flex;flex-direction:column;gap:1rem}.skill-card:hover{box-shadow:0 2px 8px #0000001a;transform:translateY(-2px)}.skill-header{display:flex;justify-content:space-between;align-items:start;gap:1rem}.skill-header h3{margin:0;color:var(--primary-color, #25525f);font-size:1.25rem;flex:1}.skill-industry{background:var(--primary-light, #f0efff);color:var(--primary-color, #25525f);padding:.25rem .75rem;border-radius:20px;font-size:.875rem;font-weight:500;white-space:nowrap}.skill-description{color:var(--text-secondary, #666);margin:0;line-height:1.6}.skill-stats{display:flex;flex-wrap:wrap;gap:1rem;padding-top:.5rem;border-top:1px solid var(--border-light, #f0f0f0)}.skill-stats .stat{font-size:.875rem;color:var(--text-secondary, #666)}.skill-stats .stat strong{color:var(--primary-color, #25525f);font-size:1.1rem}.skill-actions{display:flex;gap:.75rem;margin-top:auto;padding-top:1rem;border-top:1px solid var(--border-light, #f0f0f0)}.btn-edit,.btn-delete{flex:1;padding:.5rem 1rem;border-radius:6px;border:none;font-size:.875rem;cursor:pointer;transition:all .2s ease;font-weight:500}.btn-edit{background:var(--primary-light, #f0efff);color:var(--primary-color, #25525f)}.btn-edit:hover{background:var(--primary-color, #25525f);color:#fff}.btn-delete{background:#fee;color:#c33}.btn-delete:hover{background:#c33;color:#fff}.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;padding:1rem}.modal-content{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 20px 60px #0000004d}.modal-content.skill-builder-modal{max-width:1400px!important;width:95%!important;max-height:95vh!important;display:flex;flex-direction:column;overflow-y:auto}.modal-content.skill-builder-modal::-webkit-scrollbar{width:10px}.modal-content.skill-builder-modal::-webkit-scrollbar-track{background:#f1f1f1;border-radius:10px}.modal-content.skill-builder-modal::-webkit-scrollbar-thumb{background:var(--primary-color, #25525f);border-radius:10px}.modal-content.skill-builder-modal::-webkit-scrollbar-thumb:hover{background:var(--primary-hover, #2a2567)}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid var(--border-color, #e0e0e0);background:#fff;z-index:1}.modal-header h2{margin:0;color:var(--text-primary, #1a1a1a);font-size:1.5rem}.modal-close{background:none;border:none;font-size:2rem;cursor:pointer;color:var(--text-secondary, #666);line-height:1;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease}.modal-close:hover{background:var(--bg-light, #f9f9f9);color:var(--text-primary, #1a1a1a)}.skill-builder-tabs{display:flex;overflow-x:auto;border-bottom:2px solid var(--border-color, #e0e0e0);background:var(--bg-light, #f9f9f9);padding:0 1rem}.skill-builder-tabs .tab{background:none;border:none;padding:1rem 1.5rem;font-size:.938rem;font-weight:500;color:var(--text-secondary, #666);cursor:pointer;white-space:nowrap;border-bottom:3px solid transparent;transition:all .2s ease}.skill-builder-tabs .tab:hover{color:var(--primary-color, #25525f);background:#3933920d}.skill-builder-tabs .tab.active{color:var(--primary-color, #25525f);border-bottom-color:var(--primary-color, #25525f);background:#fff}.skill-form{padding:2rem;overflow-y:auto;max-height:calc(95vh - 180px)}.tab-content{animation:fadeIn .3s ease}.tab-content h3{margin:0 0 .5rem;color:var(--text-primary, #1a1a1a);font-size:1.25rem}.section-description{color:var(--text-secondary, #666);font-size:.938rem;margin-bottom:1.5rem;line-height:1.5}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.form-section{margin-bottom:2rem;padding:1.5rem;background:var(--bg-light, #f9f9f9);border-radius:8px}.form-section label{display:block;font-weight:600;color:var(--text-primary, #1a1a1a);margin-bottom:.5rem;font-size:1rem}.form-group label{display:block;margin-bottom:.5rem;color:var(--text-primary, #1a1a1a);font-weight:500;font-size:.938rem}.form-group .required{color:#c33}.form-group input[type=text],.form-group input[type=number],.form-group textarea{width:100%;padding:.75rem;border:1px solid var(--border-color, #e0e0e0);border-radius:6px;font-size:1rem;font-family:inherit;transition:all .2s ease}.form-group input[type=text]:focus,.form-group input[type=number]:focus,.form-group textarea:focus{outline:none;border-color:var(--primary-color, #25525f);box-shadow:0 0 0 3px #3933921a}.form-group input[type=text]:disabled{background:var(--bg-light, #f9f9f9);cursor:not-allowed}.form-group small{display:block;margin-top:.5rem;color:var(--text-secondary, #666);font-size:.813rem}.tag-input-group{display:flex;gap:.5rem;margin-bottom:1rem}.tag-input-group input{flex:1;padding:.75rem;border:1px solid var(--border-color, #e0e0e0);border-radius:6px;font-size:1rem}.btn-add-tag{background:var(--primary-color, #25525f);color:#fff;border:none;padding:.75rem 1.25rem;border-radius:6px;cursor:pointer;font-size:.938rem;font-weight:500;transition:all .2s ease;white-space:nowrap}.btn-add-tag:hover{background:var(--primary-hover, #2a2567)}.tags-display{display:flex;flex-wrap:wrap;gap:.5rem}.tag{background:var(--success-light, #e8f5e9);color:var(--success-color, #48bb78);padding:.5rem .75rem;border-radius:20px;font-size:.875rem;font-weight:500;display:inline-flex;align-items:center;gap:.5rem}.tag.pain-tag{background:#fff3e0;color:#ff6b35}.remove-tag{background:none;border:none;color:inherit;font-size:1.25rem;cursor:pointer;line-height:1;padding:0;width:20px;height:20px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s ease}.remove-tag:hover{background:#0000001a}.criteria-list{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.criterion-item{background:#fff;border:1px solid var(--border-color, #e0e0e0);border-radius:8px;padding:1rem;position:relative}.criterion-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.criterion-header strong{color:var(--text-primary, #1a1a1a);font-size:1rem}.weight-badge{background:var(--primary-color, #25525f);color:#fff;padding:.25rem .75rem;border-radius:16px;font-size:.813rem;font-weight:600}.criterion-item p{margin:0;color:var(--text-secondary, #666);font-size:.938rem}.btn-remove-criterion{margin-top:.5rem;background:#fee;color:#c33;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.875rem;transition:all .2s ease}.btn-remove-criterion:hover{background:#c33;color:#fff}.add-criterion-form{background:#fff;border:2px dashed var(--border-color, #e0e0e0);border-radius:8px;padding:1.5rem}.form-row{display:flex;gap:.5rem;margin-bottom:.75rem}.form-row input{padding:.75rem;border:1px solid var(--border-color, #e0e0e0);border-radius:6px;font-size:1rem}.add-criterion-form textarea{width:100%;padding:.75rem;border:1px solid var(--border-color, #e0e0e0);border-radius:6px;font-size:1rem;margin-bottom:.75rem}.btn-add-criterion{background:var(--primary-color, #25525f);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:6px;cursor:pointer;font-size:.938rem;font-weight:500;width:100%;transition:all .2s ease}.btn-add-criterion:hover{background:var(--primary-hover, #2a2567)}.total-weight{text-align:right;font-weight:600;color:var(--text-primary, #1a1a1a);font-size:1.1rem;margin-top:1rem;padding:.75rem;background:var(--bg-light, #f9f9f9);border-radius:6px}.solution-focus-form{display:flex;gap:.5rem;margin-bottom:1rem}.solution-focus-list{display:flex;flex-direction:column;gap:.5rem}.solution-focus-item{background:#fff;border:1px solid var(--border-color, #e0e0e0);border-radius:6px;padding:.75rem;display:flex;justify-content:space-between;align-items:center}.solution-focus-item strong{color:var(--primary-color, #25525f)}.budget-inputs{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.preview-tab{max-width:100%}.btn-generate-preview{background:var(--primary-color, #393392);color:#fff;border:none;padding:1rem 2rem;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease;margin-bottom:2rem;width:100%}.btn-generate-preview:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 20px #667eea66}.btn-generate-preview:disabled{opacity:.6;cursor:not-allowed}.preview-results{display:flex;flex-direction:column;gap:1.5rem}.preview-section{background:var(--bg-light, #f9f9f9);border-radius:8px;padding:1.5rem}.preview-section h4{margin:0 0 1rem;color:var(--text-primary, #1a1a1a);font-size:1.1rem}.claude-feedback{background:#fff;border-left:4px solid var(--primary-color, #25525f);padding:1.5rem;border-radius:6px;line-height:1.7;white-space:pre-wrap;color:var(--text-primary, #1a1a1a)}.preview-section details{cursor:pointer}.preview-section summary{padding:.75rem;background:#fff;border-radius:6px;cursor:pointer;font-weight:500;color:var(--primary-color, #25525f);-webkit-user-select:none;user-select:none}.preview-section summary:hover{background:var(--primary-light, #f0efff)}.generated-prompt{background:#1e1e1e;color:#d4d4d4;padding:1.5rem;border-radius:6px;overflow-x:auto;font-family:Courier New,monospace;font-size:.875rem;line-height:1.6;margin-top:1rem;max-height:400px;overflow-y:auto}.preview-note{background:#e3f2fd;border-left:4px solid #2196f3;padding:1rem;border-radius:6px;color:#1565c0;font-size:.938rem;line-height:1.6}.advanced-section{margin-top:2rem}.advanced-section details{background:#fff;border:1px solid var(--border-color, #e0e0e0);border-radius:8px;padding:1rem}.advanced-section summary{cursor:pointer;-webkit-user-select:none;user-select:none;font-size:1rem;color:var(--text-primary, #1a1a1a)}.custom-prompt-input{width:100%;margin-top:1rem;padding:1rem;border:1px solid var(--border-color, #e0e0e0);border-radius:6px;font-family:Courier New,monospace;font-size:.938rem;line-height:1.6}.form-error{background:#fee;color:#c33;padding:.75rem;border-radius:6px;margin-bottom:1rem;font-size:.938rem;border-left:4px solid #c33}.form-success{background:#e8f5e9;color:#48bb78;padding:.75rem;border-radius:6px;margin-bottom:1rem;font-size:.938rem;border-left:4px solid #48bb78}.form-actions{display:flex;gap:1rem;margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--border-color, #e0e0e0);background:#fff;position:sticky;bottom:0}.btn-cancel,.btn-next,.btn-submit{padding:.875rem 1.5rem;border-radius:8px;border:none;font-size:1rem;cursor:pointer;transition:all .2s ease;font-weight:500}.btn-cancel{background:var(--bg-light, #f9f9f9);color:var(--text-primary, #1a1a1a)}.btn-cancel:hover{background:var(--border-color, #e0e0e0)}.btn-next{background:var(--primary-light, #f0efff);color:var(--primary-color, #25525f);flex:1}.btn-next:hover{background:var(--primary-color, #25525f);color:#fff}.btn-submit{background:var(--primary-color, #25525f);color:#fff;flex:1}.btn-submit:hover{background:var(--primary-hover, #2a2567);transform:translateY(-1px);box-shadow:0 4px 12px #3933924d}.example-sources-section{margin-bottom:2rem;padding:1.5rem;background:var(--bg-light, #f9f9f9);border-radius:8px;border:1px solid var(--border-color, #e0e0e0)}.example-buttons{display:flex;gap:1rem;margin-top:1rem;flex-wrap:wrap}.btn-example-source{flex:1;min-width:150px;padding:.875rem 1.5rem;background:var(--primary-color, #393392);color:#fff;border:none;border-radius:6px;font-size:.938rem;font-weight:600;cursor:pointer;transition:all .3s ease}.btn-example-source:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.add-source-section{margin-bottom:2rem}.source-form{background:#fff;padding:1.5rem;border-radius:8px;border:1px solid var(--border-color, #e0e0e0)}.btn-add-source{width:100%;padding:.875rem;background:var(--primary-color, #25525f);color:#fff;border:none;border-radius:6px;font-size:.938rem;font-weight:600;cursor:pointer;transition:all .3s ease;margin-top:1rem}.btn-add-source:hover{background:var(--primary-hover, #2a2567);transform:translateY(-1px)}.sources-list{display:flex;flex-direction:column;gap:1rem;margin-top:1rem}.source-item{background:#fff;border:2px solid var(--border-color, #e0e0e0);border-radius:8px;padding:1.25rem;transition:all .3s ease}.source-item.active{border-color:var(--success-color, #22c55e);background:#22c55e05}.source-item.inactive{opacity:.6;background:#f5f5f5}.source-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.75rem;gap:1rem}.source-title{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.source-title strong{font-size:1.063rem;color:var(--text-color, #2d3748)}.source-type-badge{display:inline-block;padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.source-type-badge.government{background:#dbeafe;color:#1e40af}.source-type-badge.industry{background:#fef3c7;color:#92400e}.source-type-badge.private{background:#f3e8ff;color:#6b21a8}.source-actions{display:flex;gap:.5rem;align-items:center}.btn-toggle-source{padding:.5rem 1rem;background:#fff;border:1px solid var(--border-color, #e0e0e0);border-radius:6px;font-size:.813rem;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap}.source-item.active .btn-toggle-source{background:var(--success-color, #22c55e);color:#fff;border-color:var(--success-color, #22c55e)}.btn-toggle-source:hover{transform:scale(1.05)}.btn-remove-source{padding:.5rem .75rem;background:#fee;border:1px solid #fcc;border-radius:6px;font-size:1rem;cursor:pointer;transition:all .2s ease}.btn-remove-source:hover{background:#fcc;transform:scale(1.1)}.source-url{margin-bottom:.5rem}.source-url a{color:var(--primary-color, #25525f);text-decoration:none;font-size:.875rem;word-break:break-all}.source-url a:hover{text-decoration:underline}.source-description{margin:.5rem 0 0;color:#666;font-size:.875rem;line-height:1.5}.empty-state-text{text-align:center;color:#666;font-style:italic;padding:2rem;background:#f9f9f9;border-radius:6px;margin-top:1rem}.template-selector{padding:2rem;background:linear-gradient(135deg,#f5f7fa,#c3cfe2);border-bottom:2px solid var(--border-color, #e0e0e0);animation:fadeIn .3s ease}.template-selector-header{text-align:center;margin-bottom:2rem}.template-selector-header h3{margin:0 0 .5rem;color:var(--text-primary, #1a1a1a);font-size:1.5rem}.template-selector-header p{margin:0;color:var(--text-secondary, #666);font-size:1rem}.template-loading{text-align:center;padding:3rem;font-size:1.1rem;color:var(--text-secondary, #666)}.template-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-bottom:2rem}.template-card{background:#fff;border:2px solid var(--border-color, #e0e0e0);border-radius:12px;padding:1.5rem;transition:all .3s ease;cursor:pointer;display:flex;flex-direction:column;align-items:center;text-align:center;gap:1rem}.template-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #00000026;border-color:var(--primary-color, #25525f)}.template-icon{font-size:3rem;line-height:1;margin-bottom:.5rem}.template-info{flex:1}.template-info h4{margin:0 0 .5rem;color:var(--text-primary, #1a1a1a);font-size:1.125rem;font-weight:600}.template-industry{display:inline-block;background:var(--primary-light, #f0efff);color:var(--primary-color, #25525f);padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.75rem}.template-description{margin:0;color:var(--text-secondary, #666);font-size:.875rem;line-height:1.5}.btn-load-template{width:100%;background:var(--primary-color, #25525f);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:.938rem;font-weight:600;cursor:pointer;transition:all .3s ease}.btn-load-template:hover{background:var(--primary-hover, #2a2567);transform:translateY(-2px);box-shadow:0 4px 12px #39339266}.template-actions{text-align:center;padding-top:1rem;border-top:1px solid rgba(255,255,255,.3)}.btn-skip-template{background:#fff;color:var(--text-primary, #1a1a1a);border:2px solid var(--border-color, #e0e0e0);padding:.75rem 2rem;border-radius:8px;font-size:.938rem;font-weight:500;cursor:pointer;transition:all .3s ease}.btn-skip-template:hover{background:var(--bg-light, #f9f9f9);border-color:var(--text-secondary, #666);transform:scale(1.02)}@media (max-width: 768px){.skills-page{padding:1rem}.skills-header{flex-direction:column;align-items:flex-start}.skills-header h1{font-size:1.5rem}.btn-create{width:100%}.skills-grid{grid-template-columns:1fr}.skill-builder-modal{max-height:100vh;border-radius:0}.skill-builder-tabs{overflow-x:scroll;-webkit-overflow-scrolling:touch}.skill-builder-tabs .tab{font-size:.813rem;padding:.75rem 1rem}.form-actions{flex-direction:column}.budget-inputs{grid-template-columns:1fr}.solution-focus-form,.form-row{flex-direction:column}}.toggle-switch-container{display:flex;align-items:center;gap:.75rem}.toggle-switch{position:relative;display:inline-block;width:52px;height:28px}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#fee2e2;border:2px solid #fca5a5;transition:.3s;border-radius:34px}.toggle-slider:before{position:absolute;content:"";height:20px;width:20px;left:2px;bottom:2px;background-color:#991b1b;transition:.3s;border-radius:50%}.toggle-switch input:checked+.toggle-slider{background-color:#d1fae5;border:2px solid #6ee7b7}.toggle-switch input:checked+.toggle-slider:before{background-color:#065f46;transform:translate(24px)}.toggle-switch input:disabled+.toggle-slider{opacity:.6;cursor:not-allowed}.toggle-switch:hover .toggle-slider:not(input:disabled+.toggle-slider){box-shadow:0 2px 8px #00000026}.toggle-slider-default{background-color:#fef3c7;border:2px solid #fde68a}.toggle-slider-default:before{background-color:#92400e}.toggle-switch input:checked+.toggle-slider-default{background-color:#fef3c7;border:2px solid #fbbf24}.toggle-switch input:checked+.toggle-slider-default:before{background-color:#92400e}.toggle-label{font-weight:600;font-size:.9rem;color:#374151;-webkit-user-select:none;user-select:none}.toggle-label.active{color:#065f46}.toggle-label.inactive{color:#991b1b}.toggle-label.default{color:#92400e}.email-templates-container{width:100%;max-width:1400px;margin:0 auto}.templates-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem}.templates-header h2{margin:0 0 .5rem;color:var(--text-dark);font-size:1.75rem}.templates-subtitle{color:var(--text-muted);margin:0 0 .5rem;font-size:.95rem}.templates-notice{color:var(--primary-color, #393392);margin:0;font-size:.85rem;background:linear-gradient(135deg,#f0efff,#e8e6ff);padding:.75rem 1rem;border-radius:8px;border-left:4px solid var(--primary-color, #393392);display:inline-block;box-shadow:0 2px 6px #3933921a}.btn-create-template{background:linear-gradient(135deg,#393392,#5b4db0);color:#fff;border:none;padding:.875rem 1.75rem;border-radius:10px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s ease;white-space:nowrap;box-shadow:0 4px 12px #39339233}.btn-create-template:hover{transform:translateY(-2px);box-shadow:0 6px 20px #39339259;background:linear-gradient(135deg,#2a2567,#4a3d8f)}.template-form{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:2rem;margin-bottom:2rem}.template-form h3{margin:0 0 1.5rem;color:var(--text-dark)}.system-template-notice{color:#f59e0b;font-weight:500}.templates-list{margin-top:2rem}.no-templates{text-align:center;padding:4rem 2rem;background:#f9fafb;border-radius:12px;border:2px dashed #e5e7eb}.no-templates p:first-child{font-size:1.25rem;margin:0 0 .5rem;color:var(--text-dark)}.templates-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(450px,1fr));gap:2rem}.template-card{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:1.75rem;transition:all .3s ease;box-shadow:0 2px 8px #0000000f}.template-card:hover{border-color:var(--primary-color, #393392);box-shadow:0 8px 24px #39339233;transform:translateY(-3px)}.template-card.system-template{background:linear-gradient(135deg,#fffbeb,#fef3c7);border-color:#f59e0b;border-width:2px}.template-header{margin-bottom:1.25rem}.template-header h4{margin:0;color:var(--text-dark, #1a1a1a);font-size:1.4rem;font-weight:700;line-height:1.3}.system-badge{font-size:.75rem;padding:6px 12px;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border-radius:6px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;box-shadow:0 2px 6px #f59e0b4d;display:inline-flex;align-items:center;border:none;cursor:default}.template-actions{display:flex;gap:.5rem;margin-top:1.25rem;padding-top:1.25rem;border-top:1px solid #e5e7eb;flex-wrap:wrap}.template-description{color:#6b7280;font-size:.95rem;margin:0 0 1.5rem;line-height:1.6;padding:1rem;background:linear-gradient(135deg,#f9fafb,#f3f4f6);border-left:4px solid var(--primary-color, #393392);border-radius:8px}.template-details{display:flex;flex-direction:column;gap:1.25rem}.detail-row{display:flex;flex-direction:column;gap:.5rem}.detail-row strong{color:#374151;font-size:.8rem;text-transform:uppercase;letter-spacing:.8px;font-weight:700}.detail-row span{color:#1f2937;font-size:1rem;line-height:1.5;padding:.5rem;background:#f9fafb;border-radius:6px}.variables-list{display:flex;flex-wrap:wrap;gap:.5rem;padding:.5rem;background:#f9fafb;border-radius:6px}.variable-tag{background:linear-gradient(135deg,#f0efff,#e8e6ff);color:var(--primary-color, #393392);padding:.45rem .9rem;border-radius:8px;font-size:.85rem;font-family:Monaco,Courier New,monospace;font-weight:600;border:1.5px solid #d4d0ff;box-shadow:0 2px 4px #3933921f}.btn-template-action{color:#fff;border:none;padding:12px 24px;border-radius:8px;cursor:pointer;font-weight:600;font-size:1rem;transition:all .2s ease;background:#393392}.btn-template-action:hover{background:#2a2567;transform:translateY(-1px)}.btn-template-action.btn-delete{background:#ef4444}.btn-template-action.btn-delete:hover{background:#dc2626}.btn-submit{background:#10b981;color:#fff;border:none;padding:12px 24px;border-radius:8px;cursor:pointer;font-weight:600;font-size:1rem;transition:all .2s ease}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s}.modal-content{background:#fff;border-radius:16px;padding:2rem;max-width:500px;width:90%;box-shadow:0 20px 60px #0000004d;animation:slideUp .3s}@keyframes slideUp{0%{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-content h3{margin:0 0 1rem;color:var(--text-dark);font-size:1.5rem}.modal-description{color:var(--text-muted);margin-bottom:1.5rem;font-size:.95rem;line-height:1.5}.modal-actions{display:flex;gap:1rem;margin-top:1.5rem}.modal-actions button{flex:1}@media (max-width: 768px){.templates-header{flex-direction:column;gap:1rem}.btn-create-template{width:100%}.templates-grid{grid-template-columns:1fr}.template-form,.modal-content{padding:1.5rem}.modal-actions{flex-direction:column}}.input-with-dropdown{position:relative;display:flex;gap:.5rem;align-items:flex-start}.input-with-dropdown input,.input-with-dropdown textarea{flex:1}.dropdown-wrapper{position:relative}.btn-insert-variable{background:var(--primary-color, #393392);color:#fff;border:none;padding:.625rem 1rem;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap;font-family:Monaco,Courier New,monospace;min-height:42px}.btn-insert-variable:hover{background:#5b4db0;transform:translateY(-1px);box-shadow:0 2px 8px #3933924d}.variables-dropdown{position:absolute;top:100%;right:0;margin-top:.5rem;background:#fff;border:1px solid #d0d0d0;border-radius:8px;box-shadow:0 4px 16px #00000026;z-index:1000;min-width:320px;max-width:400px;max-height:400px;overflow-y:auto}.dropdown-category{border-bottom:1px solid #e8e8e8;padding:.75rem 0}.dropdown-category:last-child{border-bottom:none}.dropdown-category-title{font-size:.75rem;font-weight:700;color:var(--primary-color, #393392);text-transform:uppercase;letter-spacing:.5px;padding:0 1rem;margin-bottom:.5rem}.dropdown-item{width:100%;background:none;border:none;padding:.75rem 1rem;text-align:left;cursor:pointer;transition:background .15s ease;display:flex;flex-direction:column;gap:.25rem}.dropdown-item:hover{background:#f5f3ff}.dropdown-item code{font-family:Monaco,Courier New,monospace;font-size:.875rem;color:var(--primary-color, #393392);font-weight:600}.dropdown-item .variable-desc{font-size:.75rem;color:#666;font-weight:400}.audit-logs-container{padding:20px}.audit-logs-header{margin-bottom:24px}.audit-logs-header h2{margin:0 0 8px;color:#333;font-size:1.5rem}.audit-logs-description{margin:0;color:#666;font-size:.95rem}.audit-filters{background:#f8f9fa;padding:16px;border-radius:8px;margin-bottom:20px;border:1px solid #e0e0e0}.filter-row{display:flex;gap:16px;align-items:flex-end;flex-wrap:wrap}.filter-group{display:flex;flex-direction:column;gap:6px;min-width:200px}.filter-group label{font-weight:500;font-size:.9rem;color:#555}.filter-group select,.filter-group input{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:.9rem;background:#fff}.filter-group select:focus,.filter-group input:focus{outline:none;border-color:#1976d2}.btn-clear-filters{padding:8px 16px;background:#f5f5f5;border:1px solid #ddd;border-radius:4px;cursor:pointer;font-size:.9rem;transition:all .2s;height:fit-content}.btn-clear-filters:hover{background:#e0e0e0}.audit-logs-count{margin-bottom:12px;color:#666;font-size:.9rem;font-weight:500}.loading-state,.no-logs{text-align:center;padding:40px;color:#666;font-style:italic}.error-message{background:#fee;color:#c00;padding:12px;border-radius:4px;margin-bottom:16px}.audit-logs-table{background:#fff;border-radius:8px;overflow-x:auto;box-shadow:0 2px 4px #0000001a;margin-bottom:20px}.audit-logs-table table{width:100%;border-collapse:collapse}.audit-logs-table thead{background:#f8f9fa;border-bottom:2px solid #e0e0e0}.audit-logs-table th{text-align:left;padding:12px 16px;font-weight:600;color:#333;font-size:.9rem;white-space:nowrap}.audit-logs-table tbody tr{border-bottom:1px solid #f0f0f0;transition:background .2s}.audit-logs-table tbody tr:hover{background:#f8f9fa}.audit-logs-table td{padding:12px 16px;font-size:.9rem;color:#333}.log-timestamp{white-space:nowrap;color:#666;font-family:Courier New,monospace;font-size:.85rem}.log-user{font-weight:500;color:#1976d2}.log-action{font-weight:500}.action-badge{display:inline-block;padding:4px 10px;border-radius:4px;font-size:.85rem;white-space:nowrap}.action-create{background:#e8f5e9;color:#2e7d32}.action-update{background:#e3f2fd;color:#1565c0}.action-delete{background:#ffebee;color:#c62828}.action-success{background:#e8f5e9;color:#2e7d32}.action-error{background:#ffebee;color:#c62828}.action-default{background:#f5f5f5;color:#555}.log-entity{color:#555}.entity-type{font-size:.85rem;color:#999;text-transform:capitalize}.entity-name{font-weight:500;color:#333;margin-top:2px}.entity-id{color:#999;font-size:.85rem}.log-ip{font-family:Courier New,monospace;font-size:.85rem;color:#666}.log-details{text-align:center}.btn-view-details{padding:4px 12px;background:#f5f5f5;border:1px solid #ddd;border-radius:4px;cursor:pointer;font-size:.85rem;transition:all .2s}.btn-view-details:hover{background:#e0e0e0}.no-details{color:#999}.details-row,.details-row:hover{background:#fafafa!important}.details-content{padding:16px;background:#fff;border:1px solid #e0e0e0;border-radius:4px;margin:8px}.details-content pre{margin:0;padding:12px;background:#f5f5f5;border-radius:4px;overflow-x:auto;font-size:.85rem;line-height:1.5;color:#333}.user-agent{margin-top:12px;padding-top:12px;border-top:1px solid #e0e0e0;font-size:.85rem;color:#666}.user-agent strong{color:#333}.pagination-controls{display:flex;justify-content:center;align-items:center;gap:16px;padding:16px}.btn-page{padding:8px 16px;background:#1976d2;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.9rem;transition:all .2s}.btn-page:hover:not(:disabled){background:#1565c0}.btn-page:disabled{background:#ccc;cursor:not-allowed}.page-info{color:#666;font-size:.9rem;font-weight:500}@media (max-width: 768px){.filter-row{flex-direction:column}.filter-group{width:100%}.audit-logs-table{font-size:.85rem}.audit-logs-table th,.audit-logs-table td{padding:8px 12px}}.search-history-container{max-width:1600px;margin:0 auto;padding:30px;background:#f5f7fa;min-height:calc(100vh - 80px)}.history-header{margin-bottom:30px}.history-header h1{color:#2c3e50;font-size:2rem;margin:0 0 8px}.filters-panel{background:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 8px #0000001a;margin-bottom:20px;display:flex;align-items:center;gap:20px;flex-wrap:wrap}.filter-group{display:flex;align-items:center;gap:10px}.filter-group label{font-weight:600;color:#2c3e50;font-size:.9rem}.filter-group select{padding:8px 12px;border:1px solid #cbd5e0;border-radius:6px;font-size:.9rem;background:#fff;cursor:pointer}.filter-stats{margin-left:auto;color:#6c757d;font-size:.9rem}.loading-state{text-align:center;padding:60px 20px}.spinner{border:3px solid #f3f3f3;border-top:3px solid #008099;border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite;margin:0 auto 16px}.alert{padding:16px 20px;border-radius:8px;margin-bottom:20px}.alert-error{background:#fee;border:1px solid #fcc;color:#c33}.executions-table-container{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.executions-table{width:100%;border-collapse:collapse}.executions-table thead{background:#f8f9fa;border-bottom:2px solid #dee2e6}.executions-table th{padding:12px;text-align:left;font-weight:600;color:#2c3e50;font-size:.85rem;text-transform:uppercase;letter-spacing:.5px}.executions-table tbody tr{border-bottom:1px solid #e9ecef;transition:background .2s ease}.executions-table tbody tr:hover{background:#f8f9fa}.executions-table td{padding:12px;font-size:.9rem;color:#495057}.exec-id{font-family:monospace;font-weight:600;color:#6c757d}.exec-date{font-size:.85rem}.exec-user{color:#495057}.exec-skill{font-weight:500;color:#25525f}.stat-number{font-weight:600;text-align:center}.stat-new{color:#4dabf7;font-weight:700}.stat-duplicate{color:#ff9800;font-weight:700}.stat-duration{font-family:monospace}.stat-cost{font-family:monospace;font-weight:600;color:#28a745}.no-results{text-align:center;padding:40px;color:#6c757d;font-style:italic}.status-badge{display:inline-block;padding:4px 10px;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase}.status-success{background:#d4edda;color:#155724}.status-failed{background:#f8d7da;color:#721c24}.status-running{background:#d1ecf1;color:#0c5460}.type-badge{display:inline-block;padding:4px 10px;border-radius:12px;font-size:.75rem;font-weight:600}.type-manual{background:#e7f5ff;color:#1864ab}.type-scheduled{background:#fff3e0;color:#e65100}.btn-view-details{padding:6px 14px;background:#008099;color:#fff;border:none;border-radius:6px;font-size:.85rem;cursor:pointer;transition:all .2s ease}.btn-view-details:hover{background:#006d85;transform:translateY(-1px)}.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;padding:20px}.modal-content{background:#fff;border-radius:12px;max-width:800px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e9ecef}.modal-header h3{margin:0;color:#2c3e50;font-size:1.3rem}.modal-body{padding:24px}.detail-section{margin-bottom:24px}.detail-section h4{color:#2c3e50;font-size:1.1rem;margin:0 0 12px;padding-bottom:8px;border-bottom:2px solid #e9ecef}.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.detail-item{display:flex;flex-direction:column;gap:4px}.detail-label{font-size:.8rem;color:#6c757d;text-transform:uppercase;letter-spacing:.5px;font-weight:600}.detail-value{font-size:1rem;color:#2c3e50;font-weight:500}.params-display{background:#f8f9fa;border:1px solid #e9ecef;border-radius:6px;padding:16px;overflow-x:auto;font-size:.85rem;color:#495057}.error-section{background:#fff5f5;border:1px solid #feb2b2;border-radius:8px;padding:16px}.error-section h4{color:#c53030;border-bottom-color:#feb2b2}.error-message{color:#742a2a;font-family:monospace;font-size:.9rem;background:#fff;padding:12px;border-radius:4px}.analytics-container{max-width:1400px;margin:0 auto;padding:30px;background:#f5f7fa;min-height:calc(100vh - 80px)}.analytics-header{margin-bottom:24px}.analytics-header h1{color:#2c3e50;font-size:2rem;margin:0 0 8px}.header-description{color:#6c757d;font-size:1rem;margin:0}.analytics-tabs{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}.tab-btn{padding:12px 24px;border:2px solid #e0e0e0;background:#fff;border-radius:8px;cursor:pointer;font-weight:600;transition:all .3s ease;color:#666;font-size:.95rem}.tab-btn:hover{border-color:var(--dark-color, #2a2567);color:var(--dark-color, #2a2567)}.tab-btn.active{background:var(--primary-color, #393392);color:#fff;border-color:var(--primary-color, #393392)}.period-selector{display:flex;align-items:center;gap:12px;margin-bottom:20px;padding:12px 16px;background:#fff;border-radius:8px;width:fit-content;box-shadow:0 2px 4px #0000000d}.period-selector label{font-weight:600;color:#374151}.period-selector select{padding:8px 12px;border:2px solid #e5e7eb;border-radius:6px;font-size:.9rem;cursor:pointer}.loading-state,.error-state{text-align:center;padding:60px 20px;background:#fff;border-radius:12px;margin-top:20px}.spinner{border:3px solid #f3f3f3;border-top:3px solid var(--primary-color, #393392);border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite;margin:0 auto 16px}.error-state h2{color:#dc3545;margin-bottom:12px}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:24px}.kpi-card{background:#fff;border-radius:12px;padding:20px;display:flex;gap:16px;align-items:flex-start;box-shadow:0 2px 8px #00000014;transition:transform .2s,box-shadow .2s}.kpi-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001f}.kpi-icon{font-size:2rem;width:50px;height:50px;display:flex;align-items:center;justify-content:center;background:#f0f4ff;border-radius:12px}.kpi-content{flex:1}.kpi-value{font-size:1.8rem;font-weight:700;color:#2c3e50;line-height:1.2}.kpi-label{font-size:.9rem;color:#6c757d;margin-top:4px}.kpi-trend{font-size:.8rem;color:#28a745;margin-top:6px}.kpi-subtext{font-size:.75rem;color:#9ca3af;margin-top:4px}.section-card{background:#fff;border-radius:12px;padding:24px;margin-bottom:24px;box-shadow:0 2px 8px #00000014}.section-card h3{margin:0 0 20px;color:#2c3e50;font-size:1.2rem}.status-bars{display:flex;flex-direction:column;gap:12px}.status-bar-item{display:flex;flex-direction:column;gap:6px}.status-bar-label{display:flex;justify-content:space-between;font-size:.9rem}.status-name{text-transform:capitalize;color:#374151;font-weight:500}.status-count{color:#6c757d;font-weight:600}.status-bar-track{height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden}.status-bar-fill{height:100%;border-radius:4px;transition:width .5s ease}.status-bar-fill.status-new{background:#3b82f6}.status-bar-fill.status-reviewing{background:#f59e0b}.status-bar-fill.status-qualified{background:#10b981}.status-bar-fill.status-disqualified{background:#ef4444}.status-bar-fill.status-contacted{background:#6366f1}.trend-chart{display:flex;align-items:flex-end;gap:4px;height:150px;padding:10px 0;border-bottom:2px solid #e5e7eb}.trend-bar-container{flex:1;display:flex;flex-direction:column;align-items:center;height:100%;justify-content:flex-end}.trend-bar{width:100%;max-width:20px;background:linear-gradient(180deg,var(--primary-color, #393392),#6366f1);border-radius:3px 3px 0 0;min-height:4px;transition:height .3s ease}.trend-bar:hover{background:var(--dark-color, #2a2567)}.trend-label{font-size:.65rem;color:#9ca3af;margin-top:6px;white-space:nowrap}.funnel-content{display:flex;flex-direction:column;gap:24px}.funnel-visualization{display:flex;flex-direction:column;align-items:center;gap:4px;padding:24px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014}.funnel-stage{background:linear-gradient(90deg,var(--primary-color, #393392),#6366f1);border-radius:8px;padding:16px;min-width:200px;transition:width .5s ease,background .3s ease}.funnel-stage:nth-child(1){background:linear-gradient(90deg,#3b82f6,#60a5fa)}.funnel-stage:nth-child(2){background:linear-gradient(90deg,#6366f1,#818cf8)}.funnel-stage:nth-child(3){background:linear-gradient(90deg,#8b5cf6,#a78bfa)}.funnel-stage:nth-child(4){background:linear-gradient(90deg,#10b981,#34d399)}.funnel-stage-inner{text-align:center;color:#fff}.funnel-stage-name{font-weight:600;font-size:1rem;margin-bottom:4px}.funnel-stage-count{font-size:1.5rem;font-weight:700}.funnel-stage-pct{font-size:.85rem;opacity:.9}.funnel-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.metric-card{background:#fff;border-radius:12px;padding:20px;text-align:center;box-shadow:0 2px 8px #00000014}.metric-value{font-size:2rem;font-weight:700;color:var(--primary-color, #393392)}.metric-label{font-size:.9rem;color:#6c757d;margin-top:4px}.status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px}.status-tile{padding:16px;border-radius:8px;text-align:center}.status-tile.status-new{background:#dbeafe;color:#1e40af}.status-tile.status-reviewing{background:#fef3c7;color:#92400e}.status-tile.status-qualified{background:#d1fae5;color:#065f46}.status-tile.status-disqualified{background:#fee2e2;color:#991b1b}.status-tile.status-contacted{background:#e0e7ff;color:#3730a3}.status-tile-count{font-size:1.5rem;font-weight:700}.status-tile-name{font-size:.8rem;text-transform:capitalize;margin-top:4px}.team-content{display:flex;flex-direction:column;gap:16px}.team-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #00000014}.team-header{display:flex;align-items:center;padding:20px;cursor:pointer;transition:background .2s}.team-header:hover{background:#f8f9fa}.team-info{flex:1}.team-info h3{margin:0 0 4px;color:#2c3e50;font-size:1.1rem}.team-meta{color:#6c757d;font-size:.85rem}.team-stats{display:flex;gap:24px}.team-stat{text-align:center}.team-stat .stat-value{display:block;font-size:1.3rem;font-weight:700;color:var(--primary-color, #393392)}.team-stat .stat-label{font-size:.75rem;color:#6c757d}.expand-icon{font-size:.8rem;color:#9ca3af;margin-left:16px}.team-members{border-top:1px solid #e5e7eb;padding:16px;overflow-x:auto}.members-table{width:100%;border-collapse:collapse;font-size:.9rem}.members-table th{text-align:left;padding:10px 12px;color:#6c757d;font-weight:600;font-size:.8rem;text-transform:uppercase;border-bottom:2px solid #e5e7eb}.members-table td{padding:12px;border-bottom:1px solid #f0f0f0}.member-name{font-weight:600;color:#2c3e50}.member-email{font-size:.8rem;color:#9ca3af}.role-badge{display:inline-block;padding:4px 10px;border-radius:12px;font-size:.75rem;font-weight:600}.role-badge.role-super_admin{background:#fee2e2;color:#991b1b}.role-badge.role-admin{background:#fef3c7;color:#92400e}.role-badge.role-sales_vp{background:#dbeafe;color:#1e40af}.role-badge.role-sales_rep{background:#d1fae5;color:#065f46}.role-badge.role-user{background:#e5e7eb;color:#374151}.searches-content{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #00000014}.searches-table{width:100%;border-collapse:collapse;font-size:.9rem}.searches-table th{text-align:left;padding:14px 12px;background:#f8f9fa;color:#374151;font-weight:600;font-size:.8rem;text-transform:uppercase;border-bottom:2px solid #e5e7eb}.searches-table td{padding:14px 12px;border-bottom:1px solid #f0f0f0}.searches-table tr:hover{background:#f8f9fa}.search-name{font-weight:600;color:#2c3e50}.badge-scheduled,.badge-manual{display:inline-block;padding:4px 10px;border-radius:12px;font-size:.75rem;font-weight:600}.badge-scheduled{background:#dbeafe;color:#1e40af}.badge-manual{background:#e5e7eb;color:#374151}.confidence-badge{display:inline-block;padding:4px 8px;border-radius:6px;font-size:.8rem;font-weight:600}.confidence-badge.conf-5,.confidence-badge.conf-4{background:#d1fae5;color:#065f46}.confidence-badge.conf-3{background:#fef3c7;color:#92400e}.confidence-badge.conf-2,.confidence-badge.conf-1{background:#fee2e2;color:#991b1b}.no-data{text-align:center;color:#9ca3af;padding:40px;font-style:italic}.leaderboard-content{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #00000014}.leaderboard-controls{display:flex;align-items:center;gap:12px;margin-bottom:20px}.leaderboard-controls label{font-weight:600;color:#374151}.leaderboard-controls select{padding:8px 12px;border:2px solid #e5e7eb;border-radius:6px;font-size:.9rem}.leaderboard-list{display:flex;flex-direction:column;gap:12px}.leaderboard-entry{display:flex;align-items:center;gap:16px;padding:16px;background:#f8f9fa;border-radius:10px;transition:transform .2s,box-shadow .2s}.leaderboard-entry:hover{transform:translate(4px);box-shadow:0 2px 8px #00000014}.leaderboard-entry.rank-1{background:linear-gradient(135deg,#fef3c7,#fde68a)}.leaderboard-entry.rank-2{background:linear-gradient(135deg,#e5e7eb,#d1d5db)}.leaderboard-entry.rank-3{background:linear-gradient(135deg,#fed7aa,#fdba74)}.rank-badge{font-size:1.5rem;width:50px;text-align:center}.entry-info{flex:1}.entry-name{font-weight:600;color:#2c3e50;font-size:1rem}.entry-email{font-size:.8rem;color:#6c757d}.entry-count{font-size:1.5rem;font-weight:700;color:var(--primary-color, #393392)}@media (max-width: 768px){.analytics-container{padding:16px}.kpi-grid,.funnel-metrics{grid-template-columns:1fr}.team-header{flex-direction:column;align-items:flex-start;gap:12px}.team-stats{width:100%;justify-content:space-between}}.export-actions{display:flex;gap:12px;margin-bottom:24px;flex-wrap:wrap}.export-btn{display:flex;align-items:center;gap:8px;padding:10px 20px;background:#fff;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;font-weight:600;font-size:.9rem;color:#555;transition:all .2s ease}.export-btn:hover:not(:disabled){border-color:var(--primary-color, #393392);color:var(--primary-color, #393392);background:#f8f5ff}.export-btn:disabled{opacity:.6;cursor:not-allowed}.kpi-change{font-size:.8rem;font-weight:600;margin-top:4px;padding:4px 8px;border-radius:4px;display:inline-block}.kpi-change.positive{color:#28a745;background:#e8f5e9}.kpi-change.negative{color:#dc3545;background:#ffebee}.kpi-card.kpi-highlight{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.kpi-card.kpi-highlight .kpi-label{color:#ffffffe6}.kpi-card.kpi-highlight .kpi-change{background:#fff3;color:#fff}.kpi-card.kpi-highlight .kpi-change.positive{background:#28a7454d}.kpi-card.kpi-highlight .kpi-change.negative{background:#dc35454d}.pipeline-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px}.pipeline-item{background:#f8f9fa;padding:20px;border-radius:12px;text-align:center;border-left:4px solid #6c757d}.pipeline-item.status-new{border-left-color:#17a2b8;background:#e8f7fa}.pipeline-item.status-reviewing{border-left-color:#ffc107;background:#fff9e6}.pipeline-item.status-qualified{border-left-color:#28a745;background:#e8f5e9}.pipeline-item.status-contacted{border-left-color:#6f42c1;background:#f3e8ff}.pipeline-item.status-disqualified{border-left-color:#dc3545;background:#ffebee}.pipeline-value{font-size:1.5rem;font-weight:700;color:#2c3e50;margin-bottom:4px}.pipeline-status{font-size:.85rem;color:#6c757d;text-transform:capitalize}.cost-card{text-align:center;background:linear-gradient(135deg,#f5f7fa,#c3cfe2)}.cost-value{font-size:2.5rem;font-weight:700;color:#2c3e50;margin-bottom:8px}.cost-label{color:#6c757d;font-size:1rem}@media (max-width: 768px){.export-actions{flex-direction:column}.export-btn{justify-content:center;width:100%}.pipeline-grid{grid-template-columns:repeat(2,1fr)}}.admin-container{max-width:1600px;margin:0 auto;padding:30px;background:#f5f7fa;min-height:calc(100vh - 80px)}.admin-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:30px}.admin-header h1{font-size:2rem;color:#2c3e50;margin:0 0 8px}.admin-subtitle{color:#6c757d;font-size:1rem;margin:0}.admin-tabs{display:flex;gap:1rem;margin-bottom:2rem;border-bottom:2px solid #e5e7eb}.tab-button{background:none;border:none;padding:1rem 1.5rem;font-size:1rem;font-weight:600;color:#6b7280;cursor:pointer;border-bottom:3px solid transparent;transition:all .2s;margin-bottom:-2px}.tab-button:hover{color:#6366f1;background:#f9fafb}.tab-button.active{color:#6366f1;border-bottom-color:#6366f1;background:#f9fafb}.tab-actions{display:flex;justify-content:flex-end;margin-bottom:1.5rem}.btn-create-user{background:var(--primary-color, #393392);color:#fff;border:none;padding:12px 24px;border-radius:8px;cursor:pointer;font-weight:600;font-size:1rem;transition:all .3s ease}.btn-create-user:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.create-user-form{background:#fff;border-radius:12px;padding:30px;margin-bottom:30px;box-shadow:0 2px 8px #0000001a}.create-user-form h2{margin:0 0 20px;color:#1a1a1a;font-size:1.5rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}@media (max-width: 768px){.form-row{grid-template-columns:1fr}}.form-group{margin-bottom:20px}.form-group label{display:block;font-weight:600;color:#374151;margin-bottom:8px}.form-group small{display:block;color:#6b7280;font-size:.875rem;margin-top:4px}.form-group input[type=email],.form-group input[type=text],.form-group input[type=password],.form-group select{width:100%;padding:12px;border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;transition:all .2s ease;background:#fff}.form-group input:focus,.form-group select:focus{outline:none;border-color:var(--dark-color, #2a2567);box-shadow:0 0 0 3px #667eea1a}.form-group select{cursor:pointer}.checkbox-label{display:flex;align-items:center;gap:10px;cursor:pointer;margin-bottom:0!important}.checkbox-label input[type=checkbox]{width:20px;height:20px;cursor:pointer}.checkbox-label span{font-weight:500;color:#374151}.form-actions{display:flex;gap:10px;margin-top:24px}.btn-submit{background:var(--success-color, #48bb78);color:#fff;border:none;padding:12px 24px;border-radius:8px;cursor:pointer;font-weight:600;font-size:1rem;transition:all .2s ease}.btn-submit:hover{background:#059669;transform:translateY(-1px)}.btn-cancel-form{background:#6b7280;color:#fff;border:none;padding:12px 24px;border-radius:8px;cursor:pointer;font-weight:600;font-size:1rem;transition:all .2s ease}.btn-cancel-form:hover{background:#4b5563;transform:translateY(-1px)}.form-error{background:#fee2e2;border:1px solid #fca5a5;color:#991b1b;padding:12px;border-radius:8px;margin-bottom:20px}.form-success{background:#d1fae5;border:1px solid #6ee7b7;color:#065f46;padding:12px;border-radius:8px;margin-bottom:20px}.status-filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px;padding:20px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a}.filter-btn{padding:10px 20px;border:2px solid #e0e0e0;background:#fff;border-radius:8px;cursor:pointer;font-weight:500;transition:all .3s ease;color:#666;font-size:.95rem}.filter-btn:hover{border-color:var(--primary-color, #393392);color:var(--primary-color, #393392);transform:translateY(-2px);box-shadow:0 2px 8px #00809933}.filter-btn.active{background:var(--primary-color, #393392);color:#fff;border-color:var(--primary-color, #393392)}.users-table-container{background:#fff;border-radius:12px;padding:30px;box-shadow:0 2px 8px #0000001a}.users-table-container h2{margin:0 0 20px;color:#1a1a1a;font-size:1.5rem}.table-wrapper{overflow-x:auto}.users-table{width:100%;border-collapse:collapse}.users-table thead{background:#f9fafb}.users-table th{padding:12px 16px;text-align:left;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb}.users-table td{padding:16px;border-bottom:1px solid #f0f0f0}.users-table tbody tr{transition:background-color .2s ease}.users-table tbody tr:hover{background-color:#f9fafb}.users-table tbody tr.inactive-row{opacity:.6}.user-cell{display:flex;align-items:center;gap:12px}.user-avatar{width:40px;height:40px;border-radius:50%;background:var(--primary-color, #393392);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.2rem}.user-info{display:flex;flex-direction:column}.user-name{font-weight:600;color:#1a1a1a}.badge{display:inline-block;padding:6px 12px;border-radius:6px;font-size:.85rem;font-weight:600;white-space:nowrap}.badge-active{background:#d1fae5;color:#065f46}.badge-inactive{background:#fee2e2;color:#991b1b}.badge-super-admin{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#78350f;font-weight:700}.badge-admin{background:#fef3c7;color:#92400e}.badge-vp{background:#dbeafe;color:#1e40af}.badge-rep{background:#e0e7ff;color:#3730a3}.badge-user{background:#f3f4f6;color:#4b5563}.reports-to{color:#6b7280;font-size:.9rem}.team-badge{display:inline-block;padding:4px 10px;background:#f0fdf4;color:#15803d;border-radius:6px;font-size:.85rem;font-weight:500}.auth-badge{display:inline-block;padding:4px 10px;border-radius:6px;font-size:.8rem;font-weight:500}.auth-azure_ad{background:#eff6ff;color:#1d4ed8}.auth-password{background:#f3f4f6;color:#6b7280}.text-muted{color:#9ca3af;font-style:italic}.action-buttons{display:flex;gap:8px}.btn-action{width:36px;height:36px;border:none;border-radius:6px;cursor:pointer;font-size:1.1rem;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.btn-action:hover{transform:translateY(-2px)}.btn-activate{background:#d1fae5;color:#065f46}.btn-activate:hover{background:#a7f3d0}.btn-deactivate{background:#fee2e2;color:#991b1b}.btn-deactivate:hover{background:#fecaca}.btn-edit{background:#e0e7ff;color:#3730a3}.btn-edit:hover{background:#c7d2fe}.btn-admin{background:#fef3c7;color:#92400e}.btn-admin:hover{background:#fde68a}.btn-delete{background:#fee2e2;color:#991b1b}.btn-delete:hover{background:#fca5a5}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px}.spinner{width:50px;height:50px;border:4px solid #f3f3f3;border-top:4px solid var(--dark-color, #2a2567);border-radius:50%;animation:spin 1s linear infinite}.error-message{background:#fee2e2;border:1px solid #fca5a5;color:#991b1b;padding:16px;border-radius:8px;margin-bottom:20px}.btn-reset{background:#dbeafe;color:#1e40af}.btn-reset:hover{background:#bfdbfe}.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;animation:fadeIn .2s ease}.modal-content{background:#fff;border-radius:12px;width:90%;max-width:500px;box-shadow:0 20px 60px #0000004d;animation:slideUp .3s ease}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px 30px;border-bottom:1px solid #e5e7eb}.modal-header h2{margin:0;font-size:1.5rem;color:#1a1a1a}.modal-close{background:none;border:none;font-size:2rem;color:#9ca3af;cursor:pointer;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease}.modal-close:hover{background:#f3f4f6;color:#1a1a1a}.modal-body{padding:24px 30px}.reset-user-info{margin:0 0 20px;padding:12px;background:#f0f9ff;border-left:4px solid #0284c7;border-radius:4px;color:#0c4a6e}.reset-user-info strong{color:#075985}.modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:20px 30px;border-top:1px solid #e5e7eb}@media (max-width: 768px){.admin-header{flex-direction:column;gap:20px}.table-wrapper{overflow-x:scroll}.users-table{min-width:900px}.modal-content{width:95%;margin:20px}.modal-header,.modal-body,.modal-footer{padding:20px}}.salesforce-config{border:1px solid #e0e0e0;border-radius:8px;padding:20px;background:#f9f9f9;margin-top:20px}.sf-config-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px;padding-bottom:15px;border-bottom:2px solid #e0e0e0}.sf-config-header h3{margin:0 0 5px;color:#333;font-size:1.3rem}.sf-config-subtitle{margin:0;color:#666;font-size:.9rem}.status-badge{padding:6px 14px;border-radius:20px;font-size:.85rem;font-weight:600;white-space:nowrap}.status-connected{background:#e8f5e9;color:#2e7d32}.status-configured{background:#e3f2fd;color:#1565c0}.status-error{background:#ffebee;color:#c62828}.status-not-configured{background:#f5f5f5;color:#666}.sf-config-loading{padding:40px;text-align:center;color:#666;font-style:italic}.sf-alert{padding:12px 16px;border-radius:6px;margin-bottom:16px;font-size:.9rem}.sf-alert-error{background:#fee;color:#c00;border-left:4px solid #c00}.sf-alert-success{background:#e8f5e9;color:#2e7d32;border-left:4px solid #2e7d32}.sf-config-view{background:#fff;padding:20px;border-radius:6px}.sf-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin-bottom:20px}.sf-info-item{display:flex;flex-direction:column;gap:6px}.sf-info-item label{font-weight:600;font-size:.85rem;color:#666;text-transform:uppercase;letter-spacing:.5px}.sf-info-item span{color:#333;font-size:.95rem;word-break:break-all}.sf-actions{display:flex;gap:12px;flex-wrap:wrap}.btn-sf{padding:10px 18px;border:none;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s ease}.btn-sf:disabled{opacity:.5;cursor:not-allowed}.btn-sf-test{background:#1976d2;color:#fff}.btn-sf-test:hover:not(:disabled){background:#1565c0}.btn-sf-edit{background:#fff;color:#333;border:1px solid #ddd}.btn-sf-edit:hover:not(:disabled){background:#f5f5f5}.btn-sf-save{background:#10b981;color:#fff}.btn-sf-save:hover:not(:disabled){background:#059669}.btn-sf-cancel{background:#6b7280;color:#fff}.btn-sf-cancel:hover:not(:disabled){background:#4b5563}.sf-note{margin-top:20px;padding:12px;background:#fff3cd;border:1px solid #ffc107;border-radius:6px;font-size:.85rem;color:#856404}.sf-config-form{background:#fff;padding:20px;border-radius:6px}.sf-config-form .form-group{margin-bottom:18px}.sf-config-form label{display:block;font-weight:600;margin-bottom:6px;color:#333;font-size:.9rem}.sf-config-form input{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:.9rem;transition:border-color .2s}.sf-config-form input:focus{outline:none;border-color:#1976d2;box-shadow:0 0 0 3px #1976d21a}.sf-config-form small{display:block;margin-top:4px;color:#666;font-size:.8rem}.sf-form-actions{display:flex;gap:12px;margin-top:24px}.sf-help{margin-top:30px;padding:16px;background:#f8f9fa;border-radius:6px;border-left:4px solid #1976d2}.sf-help h4{margin:0 0 12px;color:#333;font-size:.95rem}.sf-help ol{margin:0;padding-left:20px;color:#666;font-size:.85rem;line-height:1.6}.sf-help ol li{margin-bottom:6px}@media (max-width: 768px){.sf-config-header{flex-direction:column;gap:12px}.sf-info-grid{grid-template-columns:1fr}.sf-actions,.sf-form-actions{flex-direction:column}.btn-sf{width:100%}}.tenants-container{max-width:1200px;margin:0 auto;padding:2rem}.tenants-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem;gap:1rem;flex-wrap:wrap}.tenants-header h1{margin:0 0 8px;font-size:2rem;color:#2c3e50}.tenants-description{color:#6c757d;margin:0;font-size:1rem}.tenant-form-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:2rem;margin-bottom:2rem;box-shadow:0 2px 8px #0000001a}.tenant-form-card h3{margin-top:0;margin-bottom:1.5rem;color:#2c3e50}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:#2c3e50}.form-group input,.form-group textarea,.form-group select{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;transition:border-color .2s}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:#3b82f6}.form-group small{display:block;margin-top:.5rem;color:#7f8c8d;font-size:.875rem}.form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem}.tenants-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem;margin-top:2rem}.tenant-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:1.5rem;transition:all .2s;box-shadow:0 2px 8px #0000001a;display:flex;flex-direction:column;height:100%}.tenant-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.tenant-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.tenant-card-header h3{margin:0;font-size:1.25rem;color:#2c3e50}.tenant-id{font-size:.875rem;color:#7f8c8d;margin:.25rem 0 0;font-family:Courier New,monospace}.tenant-status{padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600}.tenant-status.active{background-color:#d1fae5;color:#065f46}.tenant-status.inactive{background-color:#fee2e2;color:#991b1b}.tenant-description{color:#4b5563;margin-bottom:1rem;line-height:1.5}.tenant-meta{border-top:1px solid #e5e7eb;padding-top:1rem;margin-bottom:1rem}.meta-row{display:flex;justify-content:space-between;margin-bottom:.5rem}.meta-label{font-weight:600;color:#6b7280;font-size:.875rem}.meta-value{color:#2c3e50;font-size:.875rem;font-family:Courier New,monospace}.tenant-actions{display:flex!important;flex-direction:column;gap:.5rem;margin-top:auto}.tenant-actions .btn{width:100%}.alert{padding:1rem;border-radius:4px;margin-bottom:1rem}.alert-success{background-color:#d1fae5;color:#065f46;border:1px solid #a7f3d0}.alert-error{background-color:#fee2e2;color:#991b1b;border:1px solid #fecaca}.empty-state{text-align:center;padding:4rem 2rem;background:#fff;border-radius:8px;border:1px solid #e0e0e0}.empty-icon{font-size:4rem;margin-bottom:1rem}.empty-state h3{color:#4b5563;margin-bottom:.5rem}.empty-state p{color:#9ca3af}.loading,.error{padding:2rem;text-align:center;font-size:1.125rem;color:#4b5563}.error{color:#dc2626}.config-editor-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;padding:2rem;overflow-y:auto}.config-editor-modal{background:#fff;border-radius:8px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;max-width:900px;width:100%;max-height:90vh;overflow-y:auto;margin:auto}.config-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:1px solid #e5e7eb;position:sticky;top:0;background:#fff;z-index:10}.config-header h2{margin:0;font-size:1.5rem;color:#2c3e50}.btn-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#6b7280;padding:.25rem .5rem;line-height:1;transition:color .2s}.btn-close:hover{color:#991b1b}.config-loading{padding:3rem;text-align:center;color:#6b7280}.config-form{padding:2rem}.config-sections{display:flex;flex-direction:column;gap:2rem}.config-section{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:1.5rem}.config-section h3{margin-top:0;margin-bottom:1.5rem;color:#2c3e50;font-size:1.25rem;border-bottom:2px solid #e5e7eb;padding-bottom:.5rem}.config-section h4{margin-top:1.5rem;margin-bottom:1rem;color:#4b5563;font-size:1rem;font-weight:600}.color-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.color-input-group{display:flex;gap:.5rem;align-items:center}.color-input-group input[type=color]{width:60px;height:40px;border:1px solid #ddd;border-radius:4px;cursor:pointer;padding:2px}.color-input-group input[type=text]{flex:1;font-family:Courier New,monospace;font-size:.875rem}.config-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e5e7eb;position:sticky;bottom:0;background:#fff}.file-upload-group{display:flex;gap:.5rem;align-items:center}.file-upload-group input[type=text]{flex:1}.image-preview{margin-top:.75rem;padding:1rem;background:#fff;border:1px solid #e5e7eb;border-radius:4px;display:flex;justify-content:center}.image-preview img{max-width:200px;max-height:100px;object-fit:contain}@media (max-width: 768px){.tenants-header{flex-direction:column;align-items:flex-start;gap:1rem}.tenants-grid{grid-template-columns:1fr}.form-actions{flex-direction:column}.form-actions button{width:100%}.config-editor-overlay{padding:0}.config-editor-modal{max-height:100vh;border-radius:0}.color-grid{grid-template-columns:1fr}.tenant-actions{flex-direction:column}.tenant-actions button{width:100%}}.profile-container{padding:20px;max-width:800px;margin:0 auto}.profile-header{margin-bottom:30px}.profile-header h1{font-size:2rem;color:#1a1a1a;margin:0}.profile-message{padding:16px;border-radius:8px;margin-bottom:20px;font-weight:500}.profile-message.success{background:#d1fae5;border:1px solid var(--success-color, #48bb78);color:#065f46}.profile-message.error{background:#fee2e2;border:1px solid #fca5a5;color:#991b1b}.profile-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.profile-section{padding:24px;border-bottom:1px solid #f0f0f0}.profile-section:last-child{border-bottom:none}.profile-section h2{font-size:1.25rem;color:#1a1a1a;margin:0 0 20px}.info-row{display:flex;align-items:flex-start;margin-bottom:20px;gap:16px}.info-row:last-child{margin-bottom:0}.info-row label{font-weight:600;color:#374151;min-width:120px;padding-top:4px}.info-value{color:#1a1a1a;flex:1}.role-badge{display:inline-block;background:var(--primary-color, #393392);color:#fff;padding:4px 12px;border-radius:6px;font-size:.9rem;font-weight:600}.info-value-with-edit{flex:1;display:flex;align-items:center;gap:12px}.btn-edit-inline{background:var(--dark-color, #2a2567);color:#fff;border:none;padding:6px 14px;border-radius:6px;cursor:pointer;font-weight:600;font-size:.85rem;transition:all .2s ease}.btn-edit-inline:hover{background:#5568d3}.edit-form{flex:1;display:flex;flex-direction:column;gap:10px}.edit-input{padding:10px 12px;border:2px solid #e5e7eb;border-radius:6px;font-size:.95rem;font-family:inherit}.edit-input:focus{outline:none;border-color:var(--dark-color, #2a2567)}.edit-actions{display:flex;gap:10px}.btn-change-password{background:var(--dark-color, #2a2567);color:#fff;border:none;padding:12px 24px;border-radius:8px;cursor:pointer;font-weight:600;font-size:1rem;transition:all .2s ease}.btn-change-password:hover{background:#5568d3;transform:translateY(-1px)}.password-form{display:flex;flex-direction:column;gap:16px}.form-group label{font-weight:600;color:#374151;font-size:.95rem}.form-input{padding:10px 12px;border:2px solid #e5e7eb;border-radius:6px;font-size:.95rem;font-family:inherit}.form-input:focus{outline:none;border-color:var(--dark-color, #2a2567);box-shadow:0 0 0 3px #667eea1a}.form-actions{display:flex;gap:10px;margin-top:8px}.btn-save{background:var(--success-color, #48bb78);color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-weight:600;transition:all .2s ease}.btn-save:hover:not(:disabled){background:#059669}.btn-save:disabled{opacity:.6;cursor:not-allowed}.btn-cancel{background:#6b7280;color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-weight:600;transition:all .2s ease}.btn-cancel:hover:not(:disabled){background:#4b5563}.btn-cancel:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 768px){.info-row{flex-direction:column;gap:8px}.info-row label{min-width:auto;padding-top:0}.info-value-with-edit{flex-direction:column;align-items:flex-start}}.forgot-password-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#008099;padding:20px}.forgot-password-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;padding:40px;max-width:450px;width:100%}.forgot-password-header{text-align:center;margin-bottom:30px}.forgot-password-header h1{color:#333;font-size:28px;margin-bottom:10px}.forgot-password-header p{color:#666;font-size:15px;line-height:1.5}.forgot-password-form{display:flex;flex-direction:column;gap:20px}@media (max-width: 600px){.forgot-password-card{padding:30px 20px}.forgot-password-header h1{font-size:24px}}.reset-password-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#008099;padding:20px}.reset-password-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;padding:40px;max-width:450px;width:100%}.reset-password-header{text-align:center;margin-bottom:30px}.reset-password-header h1{color:#333;font-size:28px;margin-bottom:10px}.reset-password-header p{color:#666;font-size:15px}.reset-password-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{color:#333;font-weight:500;font-size:14px}.form-group input{padding:12px 16px;border:2px solid #e0e0e0;border-radius:8px;font-size:15px;transition:all .3s ease}.form-group input:focus{outline:none;border-color:#06c;box-shadow:0 0 0 3px #0066cc1a}.password-requirements{font-size:13px;color:#666;margin-top:-8px}.submit-button{background:#06c;color:#fff;padding:14px;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s ease;margin-top:10px}.submit-button:hover{background:#0052a3;transform:translateY(-1px);box-shadow:0 4px 12px #0066cc4d}.submit-button:disabled{background:#ccc;cursor:not-allowed;transform:none}.success-message{background:#d4edda;color:#155724;padding:15px;border-radius:8px;border:1px solid #c3e6cb;margin-bottom:20px;text-align:center}.error-message{background:#f8d7da;color:#721c24;padding:15px;border-radius:8px;border:1px solid #f5c6cb;margin-bottom:20px;text-align:center}.warning-message{background:#fff3cd;color:#856404;padding:15px;border-radius:8px;border:1px solid #ffeaa7;margin-bottom:20px;text-align:center}.back-to-login{text-align:center;margin-top:20px}.back-to-login a{color:#06c;text-decoration:none;font-weight:500}.back-to-login a:hover{text-decoration:underline}.loading-spinner{text-align:center;padding:40px}.spinner{border:3px solid #f3f3f3;border-top:3px solid #0066cc;border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite;margin:0 auto 20px}@media (max-width: 600px){.reset-password-card{padding:30px 20px}.reset-password-header h1{font-size:24px}}.notification-bell-container{position:relative;margin-right:20px}.notification-bell-button{position:relative;background:none;border:none;cursor:pointer;padding:8px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:background .2s ease}.notification-bell-button:hover{background:#ffffff1a}.bell-icon{font-size:1.3rem}.notification-badge{position:absolute;top:2px;right:2px;background:#f44;color:#fff;border-radius:12px;padding:2px 6px;font-size:.65rem;font-weight:700;min-width:18px;text-align:center;box-shadow:0 2px 4px #0003}.notification-dropdown{position:absolute;top:calc(100% + 8px);right:0;width:380px;max-height:500px;background:#fff;border-radius:12px;box-shadow:0 8px 32px #0003;z-index:1000;overflow:hidden;display:flex;flex-direction:column}.notification-header{padding:16px 20px;border-bottom:1px solid #e9ecef;display:flex;justify-content:space-between;align-items:center;background:#f8f9fa}.notification-header h3{margin:0;font-size:1.1rem;color:#2c3e50;font-weight:700}.mark-all-read-btn{background:none;border:none;color:var(--primary-color, #393392);font-size:.85rem;font-weight:600;cursor:pointer;padding:4px 8px;border-radius:4px;transition:all .2s ease}.mark-all-read-btn:hover{background:#0080991a}.notification-list{flex:1;overflow-y:auto;max-height:400px}.notification-loading,.notification-empty{padding:40px 20px;text-align:center;color:#6c757d}.spinner-small{border:2px solid #f3f3f3;border-top:2px solid var(--primary-color, #393392);border-radius:50%;width:24px;height:24px;animation:spin 1s linear infinite;margin:0 auto 12px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.notification-item{padding:16px 20px;border-bottom:1px solid #f0f0f0;cursor:pointer;transition:all .2s ease;display:flex;align-items:flex-start;gap:12px;position:relative}.notification-item:hover{background:#f8f9fa}.notification-item.unread{background:#e7f3ff}.notification-item.unread:hover{background:#d4ebff}.notification-content{flex:1}.notification-title{font-size:.95rem;font-weight:600;color:#2c3e50;margin-bottom:6px;line-height:1.3}.notification-meta{display:flex;gap:12px;margin-bottom:4px;flex-wrap:wrap}.notification-status{font-size:.8rem;color:#495057;font-weight:500}.notification-confidence{font-size:.8rem;color:#6c757d}.notification-source{font-size:.75rem;color:#6c757d;margin-bottom:4px;font-style:italic}.notification-time{font-size:.75rem;color:#adb5bd;margin-top:4px}.unread-dot{width:8px;height:8px;background:var(--primary-color, #393392);border-radius:50%;margin-top:6px;flex-shrink:0}.notification-footer{padding:12px 20px;border-top:1px solid #e9ecef;background:#f8f9fa}.view-all-btn{width:100%;padding:10px;background:var(--primary-color, #393392);color:#fff;border:none;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s ease}.view-all-btn:hover{background:var(--dark-color, #2a2567);transform:translateY(-1px)}@media (max-width: 768px){.notification-dropdown{width:90vw;max-width:380px;right:-10px}}.app-container{min-height:100vh;display:flex;flex-direction:column;background:#f5f5f5;overflow-x:hidden;width:100%;max-width:100vw}.loading-container{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--dark-color, #2a2567);color:#fff}.loading-container .spinner{width:50px;height:50px;border:4px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}.app-header{background:#fff;box-shadow:0 2px 8px #0000001a;padding:16px 32px;display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;z-index:100;width:100%;max-width:100vw}.header-left{display:flex;align-items:center;gap:16px}.logo-image{height:59px;width:auto;object-fit:contain}.app-header h1{font-size:20px;font-weight:600;color:var(--dark-color, #2a2567);margin:0}.header-right{display:flex;align-items:center;gap:24px}.main-nav{display:flex;gap:8px;align-items:center}.nav-link{padding:8px 16px;text-decoration:none;color:#666;font-weight:500;border-radius:8px;transition:all .2s;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:90px;text-align:center}.nav-main,.nav-sub{font-size:13px;font-weight:500;white-space:nowrap}.nav-link:hover{background:#f0f0f0;color:var(--dark-color, #2a2567)}.nav-link.active{background:var(--primary-color, #393392);color:#fff}.user-menu{position:relative;padding-left:24px;border-left:1px solid #e0e0e0}.user-menu-button{display:flex;align-items:center;gap:8px;padding:10px 16px;background:#fff;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;transition:all .2s ease;font-family:inherit}.user-menu-button:hover{border-color:var(--primary-color, #393392);background:#f9fafb}.user-name{font-weight:500;color:#333}.dropdown-arrow{font-size:.7rem;color:#666;transition:transform .2s ease}.profile-dropdown{position:absolute;top:calc(100% + 8px);right:0;background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 4px 12px #00000026;min-width:180px;overflow:hidden;z-index:1000;animation:dropdownFadeIn .2s ease}@keyframes dropdownFadeIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.dropdown-item{display:block;width:100%;padding:12px 16px;text-align:left;background:none;border:none;color:#333;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease;text-decoration:none}.dropdown-item:hover{background:#f0f0f0;color:var(--primary-color, #393392)}.logout-item{border-top:1px solid #e0e0e0;color:#ef4444}.logout-item:hover{background:#fee2e2;color:#dc2626}.btn-logout{padding:8px 16px;background:#f5f5f5;border:1px solid #ddd;border-radius:6px;cursor:pointer;font-weight:500;transition:all .2s}.btn-logout:hover{background:#e0e0e0;border-color:#ccc}.app-main{flex:1;padding:24px;max-width:1400px;width:100%;margin:0 auto;overflow-x:hidden}@media (max-width: 768px){.app-header{flex-direction:column;gap:16px;padding:16px}.header-left h1{font-size:16px}.logo-image{height:40px}.header-right{width:100%;flex-direction:column;gap:12px}.main-nav{width:100%;justify-content:center}.user-menu{width:100%;padding-left:0;border-left:none;border-top:1px solid #e0e0e0;padding-top:12px}.user-menu-button{width:100%;justify-content:center}.profile-dropdown{left:0;right:0;width:100%}}@keyframes spin{to{transform:rotate(360deg)}}.mobile-menu-btn{display:none;background:none;border:none;padding:8px;cursor:pointer;z-index:101}.hamburger{display:flex;flex-direction:column;gap:5px;width:24px}.hamburger span{display:block;height:3px;background:var(--dark-color, #2a2567);border-radius:2px;transition:all .3s ease}.hamburger.open span:nth-child(1){transform:rotate(45deg) translate(6px,6px)}.hamburger.open span:nth-child(2){opacity:0}.hamburger.open span:nth-child(3){transform:rotate(-45deg) translate(6px,-6px)}.mobile-menu-overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:200;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.mobile-menu-drawer{position:fixed;top:0;left:0;width:280px;max-width:80vw;height:100vh;background:#fff;box-shadow:4px 0 20px #00000026;animation:slideIn .3s ease;overflow-y:auto}@keyframes slideIn{0%{transform:translate(-100%)}to{transform:translate(0)}}.mobile-menu-header{display:flex;justify-content:space-between;align-items:center;padding:20px;background:var(--primary-color, #393392);color:#fff}.mobile-user-name{font-weight:600;font-size:1rem}.mobile-menu-close{background:none;border:none;color:#fff;font-size:28px;cursor:pointer;padding:0;line-height:1}.mobile-menu-nav{padding:12px 0}.mobile-nav-link{display:block;width:100%;padding:16px 20px;text-decoration:none;color:#333;font-size:1rem;font-weight:500;background:none;border:none;text-align:left;cursor:pointer;transition:background .2s}.mobile-nav-link:hover,.mobile-nav-link.active{background:#f0f0f0;color:var(--primary-color, #393392)}.mobile-nav-link.active{border-left:4px solid var(--primary-color, #393392)}.mobile-nav-link.logout{color:#dc3545}.mobile-nav-link.logout:hover{background:#fee2e2}.mobile-menu-divider{height:1px;background:#e0e0e0;margin:8px 20px}.mobile-bottom-nav{display:none;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e0e0e0;box-shadow:0 -2px 10px #0000001a;z-index:100;padding-bottom:env(safe-area-inset-bottom,0)}.bottom-tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 8px;text-decoration:none;color:#666;font-size:.7rem;transition:all .2s;gap:4px}.bottom-tab .tab-icon{font-size:1.3rem}.bottom-tab .tab-label{font-weight:500}.bottom-tab.active{color:var(--primary-color, #393392)}.bottom-tab.active .tab-icon{transform:scale(1.1)}.offline-banner{position:fixed;top:0;left:0;right:0;background:#f44336;color:#fff;padding:10px 20px;text-align:center;font-weight:500;font-size:.9rem;z-index:300;animation:slideDown .3s ease}.install-banner{position:fixed;bottom:70px;left:12px;right:12px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:16px 20px;border-radius:12px;box-shadow:0 4px 20px #00000040;z-index:150;display:flex;align-items:center;justify-content:space-between;gap:12px;animation:slideUp .3s ease}@keyframes slideDown{0%{transform:translateY(-100%)}to{transform:translateY(0)}}@keyframes slideUp{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}.install-banner span{font-weight:500;font-size:.95rem}.install-actions{display:flex;gap:8px}.install-btn{background:#fff;color:#667eea;border:none;padding:8px 16px;border-radius:6px;font-weight:600;cursor:pointer;transition:transform .2s}.install-btn:hover{transform:scale(1.05)}.dismiss-btn{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.5);padding:8px 12px;border-radius:6px;font-weight:500;cursor:pointer}@media (max-width: 768px){.mobile-menu-btn{display:flex}.mobile-menu-overlay{display:block}.mobile-bottom-nav{display:flex}.desktop-nav,.desktop-only{display:none!important}.app-header{flex-direction:row;padding:12px 16px;gap:12px}.header-left{flex:1;gap:12px}.logo-image{height:32px}.header-right{flex-direction:row;width:auto;gap:8px}.user-menu{display:none}.app-main{padding:16px 16px 80px}.install-banner{bottom:80px}.offline-banner~.app-header{margin-top:40px}}@media (min-width: 769px){.mobile-bottom-nav,.mobile-menu-overlay,.mobile-menu-btn{display:none!important}.install-banner{max-width:400px;left:auto;right:20px;bottom:20px}}.btn{padding:8px 16px;border-radius:6px;font-weight:600;font-size:.9rem;cursor:pointer;transition:all .2s ease;border:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;text-decoration:none;line-height:1.4;box-sizing:border-box;vertical-align:middle}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.btn-small{padding:5px 10px!important;font-size:.75rem!important;border-radius:4px!important;font-weight:500!important;line-height:1.5!important;height:30px!important}.btn-large{padding:12px 24px;font-size:1rem;border-radius:8px}.btn-primary{background:var(--primary-color, #393392)!important;color:#fff}.btn-primary:hover:not(:disabled){filter:brightness(.85);box-shadow:0 4px 12px #3933924d}.btn-secondary{background:var(--secondary-color, #5b4db0);color:#fff}.btn-secondary:hover:not(:disabled){filter:brightness(.85);box-shadow:0 4px 12px #5b4db04d}.btn-success{background:var(--success-color, #48bb78);color:#fff}.btn-success:hover:not(:disabled){filter:brightness(.85);box-shadow:0 4px 12px #48bb784d}.btn-danger:hover:not(:disabled){background:#dc2626;box-shadow:0 4px 12px #ef44444d}.btn-warning{background:var(--warning-color, #ed8936);color:#fff}.btn-warning:hover:not(:disabled){filter:brightness(.85);box-shadow:0 4px 12px #ed89364d}.btn-dark{background:var(--dark-color, #2a2567);color:#fff}.btn-dark:hover:not(:disabled){filter:brightness(.85);box-shadow:0 4px 12px #2a25674d}.btn-cancel,.btn-light{background:#6b7280;color:#fff}.btn-cancel:hover:not(:disabled),.btn-light:hover:not(:disabled){background:#4b5563}.btn-salesforce{background:#00a1e0;color:#fff}.btn-salesforce:hover:not(:disabled){background:#0081b8;box-shadow:0 4px 12px #00a1e04d}.btn-outline{background:#fff;border:2px solid #e0e0e0;color:#666}.btn-outline:hover:not(:disabled){border-color:var(--primary-color, #393392);color:var(--primary-color, #393392);background:#3933920d}.btn-icon{padding:8px;width:36px;height:36px;border-radius:50%}.btn-icon.btn-small{width:28px;height:28px;padding:6px}.btn-close{background:none;border:none;font-size:1.5rem;color:#6c757d;cursor:pointer;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease}.btn-close:hover{background:#f8f9fa;color:#2c3e50}.btn-group{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.btn-block{width:100%;justify-content:center}*{margin:0;padding:0;box-sizing:border-box}html{overflow-x:hidden;width:100%}body{font-family:Lato,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f5f5;min-height:100vh;overflow-x:hidden;width:100%;max-width:100vw}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}#root{min-height:100vh;overflow-x:hidden;width:100%;max-width:100vw}.btn{padding:10px 20px;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;font-size:.95rem;text-decoration:none;display:inline-block}.btn-primary{background:#008099;color:#fff}.btn-primary:hover{background:#006d82}.btn-secondary{background:#e5e7eb;color:#4b5563}.btn-secondary:hover{background:#d1d5db}.btn-success{background:#10b981;color:#fff}.btn-success:hover{background:#059669}.btn-danger{background:#ef4444;color:#fff}.btn-danger:hover{background:#dc2626;transform:translateY(-1px)}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.page-header h1{font-size:2rem;color:#1a1a1a;margin:0}.page-header-actions{display:flex;gap:10px}.page-subtitle{color:#7f8c8d;margin-top:8px;font-size:1rem}@media (max-width: 768px){html{font-size:14px}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1{font-size:1.5rem}h2{font-size:1.25rem}h3{font-size:1.1rem}}@media (max-width: 768px){.btn-primary,.btn-export,.btn-clear,.btn-save,.btn-cancel,.source-link{min-height:44px;min-width:44px;font-size:16px;padding:12px 20px}.checkbox-item{min-height:44px;padding:10px 8px}.checkbox-item input[type=checkbox]{width:20px;height:20px}.pill-button{min-height:44px;padding:10px 18px;font-size:15px}.form-group select,.assign-select{min-height:44px;font-size:16px;padding:12px}.form-group textarea{font-size:16px;padding:12px}}@media (max-width: 768px){header{position:sticky;top:0;z-index:100;box-shadow:0 2px 4px #0000001a}.header-nav{flex-wrap:wrap;gap:8px}.nav-link{font-size:14px;padding:8px 12px}.user-info{font-size:13px}.logout-btn{min-height:36px;padding:6px 12px;font-size:14px}}@media (max-width: 968px){.search-grid{grid-template-columns:1fr;padding:12px;gap:16px}.search-panel{position:relative}}@media (max-width: 768px){.opportunity-card{padding:16px;border-radius:8px}.card-header{flex-direction:column;gap:12px;align-items:stretch}.card-badges{width:100%;flex-direction:row;justify-content:space-between;flex-wrap:wrap;gap:8px}.confidence-badge{font-size:12px;padding:6px 12px}.btn-save{width:100%;padding:12px 16px;font-size:15px}.card-title{font-size:16px;line-height:1.4}.card-subtitle{font-size:13px}.card-meta{gap:8px}.meta-tag{font-size:11px;padding:4px 8px}.card-footer{flex-direction:column;gap:12px}.card-links{width:100%;flex-direction:column}.source-link{width:100%;justify-content:center;padding:12px 16px}.contacts-list li{font-size:13px;padding:8px}}@media (max-width: 768px){.results-header{flex-direction:column;align-items:stretch;gap:12px}.results-actions{width:100%;flex-direction:column;gap:8px}.btn-export,.btn-clear{width:100%}.results-stats{width:100%;justify-content:space-between}.stat-badge{flex:1;justify-content:center;padding:8px 10px;font-size:12px}.execution-badge{width:100%;text-align:center;padding:10px 16px;font-size:13px}}@media (max-width: 768px){.modal-overlay{padding:12px}.modal-content{max-width:100%;margin:0}.modal-header{padding:16px}.modal-header h3{font-size:16px}.modal-body{padding:16px}.modal-org-name{font-size:15px;padding:10px}.modal-footer{padding:12px 16px;flex-direction:column-reverse;gap:8px}.modal-footer .btn-primary,.modal-footer .btn-cancel{width:100%;margin:0}}@media (max-width: 768px){.login-container,.profile-container{padding:20px 16px}.login-box,.profile-box{padding:24px 20px;margin:0}.login-logo{max-width:180px}.login-form .form-group input{font-size:16px;min-height:44px}}@media (max-width: 768px){.admin-container{padding:12px}.admin-section{padding:16px}.admin-table-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -16px;padding:0 16px}.admin-actions{flex-direction:column;gap:8px}.admin-actions button{width:100%}}@media (max-width: 768px){.loading-state,.empty-state{padding:40px 20px}.spinner{width:40px;height:40px}.loading-text{font-size:1rem}.loading-subtext{font-size:.85rem}.empty-icon{font-size:48px}.empty-state h3{font-size:1.25rem}.empty-state p{font-size:.9rem}}@media (max-width: 768px){.alert{padding:12px 16px;font-size:14px;border-radius:6px}.alert strong{font-size:15px}}@media (max-width: 768px){input[type=text],input[type=email],input[type=password],input[type=number],input[type=tel],select,textarea{font-size:16px!important}}@supports (padding: max(0px)){body{padding-left:max(0px,env(safe-area-inset-left));padding-right:max(0px,env(safe-area-inset-right))}header{padding-top:max(12px,env(safe-area-inset-top))}.mobile-bottom-nav{padding-bottom:max(8px,env(safe-area-inset-bottom))}}@media (max-width: 768px){*{-webkit-overflow-scrolling:touch}html{scroll-behavior:smooth}}@media (max-width: 768px) and (orientation: landscape){.search-panel,.results-panel{padding:16px}.opportunity-card{padding:12px}.modal-content{max-height:90vh;overflow-y:auto}}@media (max-width: 768px){.mobile-only{display:block!important}.desktop-only{display:none!important}.mobile-spacing-sm{padding:8px}.mobile-spacing-md{padding:16px}.mobile-spacing-lg{padding:24px}.mobile-full-width{width:100%!important}.mobile-stack{flex-direction:column!important}}@media (min-width: 769px){.mobile-only{display:none!important}.desktop-only{display:block!important}}
