.modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content{background:#fff;border-radius:8px;max-width:500px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 10px 25px #0003}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px 16px;border-bottom:1px solid #e5e7eb}.modal-title{margin:0;font-size:1.25rem;font-weight:600;color:#111827}.modal-close-button{background:none;border:none;font-size:24px;cursor:pointer;color:#6b7280;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s,color .2s}.modal-close-button:hover{background-color:#f3f4f6;color:#374151}.modal-body{padding:24px}.searchable-dropdown{position:relative;width:100%}.searchable-input-wrapper{position:relative;display:flex;align-items:center}.searchable-input{width:100%;padding:.75rem 2.5rem .75rem .75rem;border:1px solid #d1d5db;border-radius:.375rem;background-color:#fff;font-size:1rem;transition:all .2s ease}.searchable-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.searchable-input.error{border-color:#ef4444}.searchable-input.disabled{background-color:#f3f4f6;color:#6b7280;cursor:not-allowed;border-color:#d1d5db;opacity:.8}.searchable-arrow{position:absolute;right:.75rem;color:#6b7280;font-size:.75rem;pointer-events:none;transition:transform .2s ease}.searchable-dropdown:focus-within .searchable-arrow{transform:rotate(180deg);color:#3b82f6}.searchable-menu{position:absolute;top:100%;left:0;right:0;background-color:#fff;border:1px solid #d1d5db;border-radius:.375rem;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;z-index:1000;max-height:300px;overflow-y:auto;margin-top:.25rem}.searchable-option{cursor:pointer;transition:background-color .2s ease}.searchable-option:hover{background-color:#f3f4f6}.searchable-option.selected{background-color:#dbeafe}.searchable-option.selected:hover{background-color:#bfdbfe}.option-card{padding:1rem;border-bottom:1px solid #f3f4f6}.option-card:last-child{border-bottom:none}.option-header{margin-bottom:.5rem}.option-name{font-weight:600;color:#111827;font-size:1rem;margin-bottom:.25rem}.option-title{font-size:.875rem;color:#6b7280;font-weight:500}.option-email{font-size:.875rem;color:#059669;font-weight:500;margin-bottom:.5rem}.option-headline{font-size:.875rem;color:#6b7280;font-style:italic;margin-bottom:.5rem;line-height:1.4}.option-meta{display:flex;gap:1rem;flex-wrap:wrap}.meta-item{font-size:.75rem;color:#6b7280;background-color:#f3f4f6;padding:.25rem .5rem;border-radius:.25rem;font-weight:500}.no-results{padding:1rem;text-align:center;color:#6b7280}.no-results p{margin:0 0 .5rem;font-size:.875rem}.no-results-hint{font-size:.75rem;color:#9ca3af;font-style:italic}.searchable-menu::-webkit-scrollbar{width:6px}.searchable-menu::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.searchable-menu::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.searchable-menu::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.edit-icon{display:inline-block;width:12px;height:12px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17.25V21h3.75l11-11-3.75-3.75L3 17.25zM20.71 5.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75L20.71 5.04z'/%3E%3C/svg%3E") no-repeat center;mask-size:contain;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17.25V21h3.75l11-11-3.75-3.75L3 17.25zM20.71 5.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75L20.71 5.04z'/%3E%3C/svg%3E") no-repeat center;-webkit-mask-size:contain}.delete-icon{display:inline-block;width:12px;height:12px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7A.996.996 0 1 0 5.7 7.11L10.59 12 5.7 16.89a.996.996 0 1 0 1.41 1.41L12 13.41l4.89 4.89a.996.996 0 1 0 1.41-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z'/%3E%3C/svg%3E") no-repeat center;mask-size:contain;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7A.996.996 0 1 0 5.7 7.11L10.59 12 5.7 16.89a.996.996 0 1 0 1.41 1.41L12 13.41l4.89 4.89a.996.996 0 1 0 1.41-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z'/%3E%3C/svg%3E") no-repeat center;-webkit-mask-size:contain}:root{--color-success: #2a9254;--color-warning: #e8b339;--color-danger: #c73545;--color-primary: #007bff;--color-text-primary: #333;--color-text-secondary: #666;--color-border: #ddd;--color-background: white;--color-background-light: #f8f9fa}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,sans-serif;background-color:#f5f5f5}.app{max-width:1200px;margin:0 auto;padding:20px}.app-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.app-header h1{color:#333;margin:0;font-size:1.8rem}button{background-color:#007bff;color:#fff;border:none;padding:12px 24px;border-radius:4px;font-size:16px;cursor:pointer}button:hover:not(:disabled){background-color:#0056b3}button:disabled{background-color:#ccc;cursor:not-allowed}.tabs{display:flex;border-bottom:2px solid #e0e0e0;margin-bottom:20px}.tab{background:none;border:none;padding:12px 24px;font-size:16px;color:#666;cursor:pointer;border-bottom:3px solid transparent;transition:all .2s ease}.tab:hover{color:#fff;background-color:#007bff}.tab.active{color:#007bff;border-bottom-color:#007bff;font-weight:500}.tab.active:hover{color:#fff}.tab-content{display:none}.tab-content.active{display:block}.research-form{background:#fff;padding:30px;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:20px}.form-row{display:flex;gap:20px;margin-bottom:20px}.form-row .form-group{flex:1;margin-bottom:0}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:5px;font-weight:500;color:#333}.form-group input,.form-group select{width:100%;padding:10px;border:1px solid #ddd;border-radius:4px;font-size:16px}.form-group input:focus,.form-group select:focus{outline:none;border-color:#007bff}.add-prospect-form{max-width:100%}.add-prospect-form .form-section{margin-bottom:30px;padding-bottom:20px;border-bottom:1px solid #e5e7eb}.add-prospect-form .form-section:last-of-type{border-bottom:none;margin-bottom:20px}.add-prospect-form .section-title{font-size:16px;font-weight:600;color:#374151;margin-bottom:16px;padding-bottom:8px;border-bottom:2px solid #3b82f6}.add-prospect-form .form-group{margin-bottom:20px}.add-prospect-form .form-group label{display:block;margin-bottom:6px;font-weight:500;color:#374151;font-size:14px}.add-prospect-form .form-group input,.add-prospect-form .form-group textarea{width:100%;padding:12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;background-color:#fff;transition:border-color .2s}.add-prospect-form .form-group input:focus,.add-prospect-form .form-group textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.add-prospect-form .form-group input.error,.add-prospect-form .form-group textarea.error{border-color:#ef4444}.add-prospect-form .form-group input:disabled,.add-prospect-form .form-group textarea:disabled{background-color:#f9fafb;color:#6b7280;cursor:not-allowed}.add-prospect-form .error-message{color:#ef4444;font-size:12px;margin-top:4px;display:block}.add-prospect-form .error-display{background-color:#fef2f2;border:1px solid #fecaca;border-radius:6px;padding:12px;margin-bottom:16px}.add-prospect-form .error-display p{color:#dc2626;margin:0;font-size:14px}.add-prospect-form .form-buttons{display:flex;gap:12px;justify-content:flex-end;margin-top:24px;padding-top:16px;border-top:1px solid #e5e7eb}.add-prospect-form .form-buttons button{padding:12px 24px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;min-width:120px}.add-prospect-form .form-buttons button:disabled{opacity:.6;cursor:not-allowed}.add-prospect-form .form-buttons button[type=button]{background-color:#f9fafb;color:#374151;border:1px solid #d1d5db}.add-prospect-form .form-buttons button[type=button]:hover:not(:disabled){background-color:#f3f4f6;border-color:#9ca3af}.add-prospect-form .form-buttons button.primary{background-color:#3b82f6;color:#fff}.add-prospect-form .form-buttons button.primary:hover:not(:disabled){background-color:#2563eb}.key-people-list{margin-bottom:1rem}.key-person-item{display:flex;justify-content:flex-start;align-items:flex-start;padding:.75rem;margin-bottom:.5rem;border:1px solid #e2e8f0;border-radius:.375rem;background-color:#f8fafc;transition:all .2s ease}.key-person-item:hover{border-color:#cbd5e1;background-color:#f1f5f9}.person-info{flex:1}.person-title{color:#64748b;font-weight:400}.person-email{color:#64748b;font-size:.875rem;margin-top:.25rem}.person-employment{color:#64748b;font-size:.75rem;margin-top:.25rem;font-style:italic}.person-headline{color:#64748b;font-size:.875rem;margin-top:.25rem;font-style:italic}.person-company{color:#64748b;font-size:.75rem;margin-top:.25rem}.email-status{color:#059669;font-weight:500}.no-key-people-found{text-align:center;padding:2rem 1rem;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;margin-bottom:1rem}.no-data-icon{font-size:3rem;margin-bottom:1rem;opacity:.6}.no-key-people-found h4{color:#374151;margin-bottom:1rem;font-size:1.125rem}.no-key-people-found p{color:#6b7280;margin-bottom:1rem;line-height:1.5}.no-key-people-found ul{text-align:left;max-width:400px;margin:1rem auto;color:#6b7280;line-height:1.6}.no-key-people-found li{margin-bottom:.5rem}.manual-entry-note{background-color:#dbeafe;border:1px solid #93c5fd;border-radius:.375rem;padding:1rem;margin-top:1.5rem;color:#1e40af}.manual-entry-note strong{color:#1e3a8a}.key-people-summary{text-align:center;padding:1rem;background-color:#f0f9ff;border:1px solid #bae6fd;border-radius:.5rem;margin-bottom:1rem}.key-people-hint{color:#0369a1;margin:.5rem 0 0;font-size:.875rem}.no-key-people-note{display:flex;align-items:flex-start;gap:.75rem;margin-top:.75rem;margin-bottom:1.5rem;padding:1rem;background-color:#f0f9ff;border:1px solid #bae6fd;border-radius:.375rem}.note-icon{font-size:1.25rem;flex-shrink:0;margin-top:.125rem}.note-content{flex:1}.note-content p{margin:0 0 .5rem;color:#0369a1;font-size:.875rem;line-height:1.5}.note-content p:last-child{margin-bottom:0}.note-content strong{color:#1e40af}input.disabled{background-color:#f3f4f6;color:#6b7280;cursor:not-allowed;border-color:#d1d5db;opacity:.8}input.disabled::placeholder{color:#9ca3af}.loading-state{text-align:center;padding:2rem 1rem;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;margin-bottom:1rem}.loading-spinner{width:2rem;height:2rem;border:3px solid #e2e8f0;border-top:3px solid #3b82f6;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 1rem}.loading-state h4{color:#374151;margin-bottom:.5rem;font-size:1.125rem}.loading-state p{color:#6b7280;margin:0}.error-state{text-align:center;padding:2rem 1rem;background-color:#fef2f2;border:1px solid #fecaca;border-radius:.5rem;margin-bottom:1rem}.error-icon{font-size:2rem;margin-bottom:1rem}.error-state h4{color:#dc2626;margin-bottom:.5rem;font-size:1.125rem}.error-state p{color:#6b7280;margin-bottom:1rem;line-height:1.5}.cached-data-indicator{display:flex;align-items:center;gap:.5rem;margin-top:.5rem;padding:.5rem;background:#e8f5e8;border:1px solid #c3e6c3;border-radius:4px;font-size:.875rem;color:#2d5a2d}.cached-icon{font-size:1rem}.cached-text{font-weight:500}.results-display{background:#fff;padding:30px;border-radius:8px;box-shadow:0 2px 4px #0000001a}.results-display h2{margin-top:0;color:#333}.results-display.error{border-left:4px solid #dc3545}.results-display.error h2{color:#dc3545}.results-content pre{background:#f8f9fa;padding:15px;border-radius:4px;overflow-x:auto;white-space:pre-wrap}.company-header{margin-bottom:30px;padding-bottom:20px;border-bottom:2px solid #e9ecef}.company-header-content{display:flex;flex-direction:column;gap:20px}.company-info-section{width:100%}.company-stats-row{display:flex;justify-content:space-between;align-items:flex-start;gap:30px;margin-top:15px}.company-actions-section{flex-shrink:0;display:flex;flex-direction:column;align-items:flex-end;gap:15px;min-width:200px}.company-name{margin:0 0 15px;color:#333;font-size:2.5rem;width:100%}.company-details{margin-top:15px}.company-info p{margin:8px 0;line-height:1.5}.company-link{color:#007bff!important;text-decoration:none!important;font-weight:500}.company-link:hover{text-decoration:underline!important}.company-stats{display:flex;gap:20px}.stat-card{background:#fff;border:1px solid #ddd;border-radius:8px;padding:15px 35px 15px 15px;text-align:center;min-width:120px;box-shadow:0 2px 4px #0000000d}.stat-label{font-size:14px;color:#333;margin-bottom:5px;font-weight:600}.stat-value{font-size:16px;font-weight:400;color:#333}.carrier-section,.prospective-carriers-section{margin-bottom:30px}.carriers-list{margin-top:15px}.carrier-card{border:1px solid var(--color-border);border-radius:8px;padding:20px;background:var(--color-background);margin-bottom:10px;transition:box-shadow .2s ease}.carrier-card.expanded{box-shadow:0 4px 8px #0000001a}.carrier-card.strong-match{border-left:4px solid var(--color-success)}.carrier-card.moderate-match{border-left:4px solid var(--color-warning)}.carrier-card.weak-match{border-left:4px solid var(--color-danger)}.carrier-header{cursor:pointer;display:flex;align-items:center;gap:16px}.carrier-name{font-size:16px;font-weight:600;color:var(--color-text-primary);margin:0;display:flex;align-items:center;gap:8px;flex:1}.carrier-right-section{display:flex;align-items:center;gap:16px;flex-shrink:0}.carrier-match-info{display:flex;align-items:center;gap:12px;flex-shrink:0}.match-score{padding:4px 8px;border-radius:4px;font-size:12px;font-weight:600;white-space:nowrap}.match-score.strong-match{background:var(--color-success);color:#fff}.match-score.moderate-match{background:var(--color-warning);color:#fff}.match-score.weak-match{background:var(--color-danger);color:#fff}.match-percentage{display:flex;flex-direction:column;align-items:flex-end;text-align:right}.match-percentage-value{font-size:16px;font-weight:600;color:var(--color-text-primary);line-height:1}.match-label{font-size:10px;color:var(--color-text-secondary);font-weight:400;line-height:1}.chevron-icon{color:var(--color-text-secondary)}.carrier-details{margin-top:15px;padding-top:15px;border-top:1px solid var(--color-border)}.lines-of-business,.carrier-notes{margin-bottom:15px}.lines-of-business-list{color:var(--color-text-primary);font-size:14px;line-height:1.4;font-weight:400}.detail-label{font-size:12px;color:var(--color-text-secondary);margin-bottom:5px}.detail-label b{color:var(--color-text-primary);font-weight:600}.appetite-document{margin-top:10px}.appetite-document p{margin:0;font-size:12px}.appetite-document-link{color:var(--color-primary);text-decoration:underline;font-size:12px;cursor:pointer;display:inline-block}.appetite-document-link:hover{color:#0056b3;text-decoration:underline}.key-people-section{margin:2rem 0;padding:1.5rem;background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.key-people-section h3{margin:0 0 1rem;color:#495057;font-size:1.25rem;font-weight:600}.key-people-carousel{position:relative;overflow:hidden;padding:0 1rem}.carousel-track{display:flex;transition:transform .3s ease;gap:1rem}.carousel-slide{display:flex;gap:1rem;min-width:100%}.person-card-carousel{flex:0 0 calc(33.333% - .67rem);min-width:0}.carousel-controls{display:flex;justify-content:center;align-items:center;gap:1.5rem;margin:1.5rem 0 1rem;padding:1rem;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a}.carousel-btn{background:#f8f9fa;color:#6c757d;border:2px solid #e9ecef;border-radius:50%;width:44px;height:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;font-size:1.2rem;font-weight:700}.carousel-btn:hover{background:#007bff;color:#fff;border-color:#007bff;transform:scale(1.05)}.carousel-btn:disabled{background:#f8f9fa;color:#adb5bd;border-color:#e9ecef;cursor:not-allowed;transform:none}.carousel-dots{display:flex;justify-content:center;align-items:center;gap:.75rem;margin-top:.75rem;padding:.5rem}.carousel-dot{width:18px;height:18px;border-radius:50%;background:#e9ecef;border:none;cursor:pointer;transition:all .2s ease;padding:0;margin:0;min-width:12px;min-height:12px;max-width:18px;max-height:18px;box-sizing:border-box}.carousel-dot:hover{background:#6c757d;transform:scale(1.2)}.carousel-dot.active{background:#6c757d;transform:scale(1.1)}.person-card{background:#fff;border:1px solid #dee2e6;border-radius:6px;padding:1rem;box-shadow:0 2px 4px #0000000d;transition:box-shadow .2s ease;text-align:center}.person-photo{margin-bottom:1rem;display:flex;justify-content:center}.person-photo img{width:80px;height:80px;border-radius:50%;object-fit:cover;border:3px solid #e9ecef;box-shadow:0 2px 8px #0000001a}.person-card:hover{box-shadow:0 4px 8px #0000001a}.person-header h4{margin:0 0 .75rem;color:#212529;font-size:1.1rem;font-weight:600;line-height:1.2}.person-title{color:#6c757d;font-size:.9rem;font-weight:500;margin-bottom:1rem;line-height:1.3}.person-links{margin:1rem 0;display:flex;justify-content:center;gap:.5rem}.social-link{display:inline-block;padding:.5rem 1rem;border-radius:4px;text-decoration:none;font-size:.875rem;font-weight:500;transition:all .2s ease;min-width:80px;text-align:center}.social-link.linkedin{background:#0077b5;color:#fff}.social-link.linkedin:hover{background:#005885}.social-link.twitter{background:#1da1f2;color:#fff}.social-link.twitter:hover{background:#0d8bd9}.social-link.github{background:#333;color:#fff}.social-link.github:hover{background:#24292e}.social-link.facebook{background:#1877f2;color:#fff}.social-link.facebook:hover{background:#166fe5}.person-email{margin:0;padding-top:.75rem;border-top:1px solid #e9ecef}.person-email span{color:#495057;font-size:.875rem;font-weight:500}.key-people-loading{display:flex;align-items:center;gap:1rem;padding:1rem;background:#fff;border-radius:6px;border:1px solid #dee2e6}.loading-spinner{width:20px;height:20px;border:2px solid #e9ecef;border-top:2px solid #007bff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.key-people-loading p{margin:0;color:#6c757d;font-size:.875rem}.key-people-error{padding:1rem;background:#f8d7da;border:1px solid #f5c6cb;border-radius:6px;color:#721c24}.key-people-error p{margin:0;font-size:.875rem}@media (max-width: 1024px){.person-card-carousel{flex:0 0 calc(50% - .5rem)}}@media (max-width: 768px){.person-card-carousel{flex:0 0 100%}.key-people-section{margin:1rem 0;padding:1rem}.carousel-controls{margin-top:.5rem}.carousel-btn{width:36px;height:36px}}.risks-section{margin-bottom:30px}.risks-section h2{margin-bottom:20px;color:var(--color-text-primary)}.risks-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:20px}.risk-card{border:1px solid var(--color-border);border-radius:8px;padding:20px;background:var(--color-background)}.risk-card.high{border-left:4px solid var(--color-danger)}.risk-card.medium{border-left:4px solid var(--color-warning)}.risk-card.low{border-left:4px solid var(--color-success)}.risk-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.risk-header h3{margin:0;color:var(--color-text-primary)}.severity-badge{padding:4px 8px;border-radius:4px;font-size:12px;font-weight:600}.severity-badge.high{background:var(--color-danger);color:#fff}.severity-badge.medium{background:var(--color-warning);color:#fff}.severity-badge.low{background:var(--color-success);color:#fff}.risk-card p{margin:0;color:var(--color-text-secondary);line-height:1.5}.news-section{margin-bottom:30px}.news-section h2{margin-bottom:20px;color:#333}.news-list{display:flex;flex-direction:column;gap:20px}.news-item{border:1px solid #ddd;border-radius:8px;padding:20px;background:#fff}.news-item.markdown-block .comment-icon-container{right:20px;top:20px}.news-item h3{margin:0 0 10px}.news-item h3 a{color:#007bff;text-decoration:none}.news-item h3 a:hover{text-decoration:underline}.news-meta{display:flex;gap:15px;margin-bottom:10px;font-size:14px;color:#666}.news-item p{margin:0;line-height:1.5;color:#333}.reports-section{margin-bottom:30px}.reports-section h2{margin-bottom:20px;color:#333}.reports-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:15px}.report-item{border:1px solid #ddd;border-radius:8px;padding:15px;background:#fff}.report-item.markdown-block .comment-icon-container{right:15px;top:15px}.stat-card.markdown-block .comment-icon-container{right:10px;top:10px}.report-item h3{margin:0 0 10px;font-size:1.1rem}.report-item h3 a{color:#007bff;text-decoration:none}.report-item h3 a:hover{text-decoration:underline}.report-meta{display:flex;justify-content:space-between;font-size:14px;color:#666}.report-format{background:#e9ecef;padding:2px 6px;border-radius:3px;font-size:12px;font-weight:500}.detailed-report-section{margin-top:30px}.report-toggle{margin-bottom:20px}.toggle-button{background:#f8f9fa;border:1px solid #ddd;padding:12px 20px;border-radius:6px;cursor:pointer;font-size:16px;color:#333;display:flex;align-items:center;gap:10px}.toggle-button:hover{background:#e9ecef}.detailed-report{background:#fff;padding:20px 0}.detailed-report h1,.detailed-report h2,.detailed-report h3{color:#333;margin-top:25px;margin-bottom:15px}.detailed-report h1{border-bottom:2px solid #e9ecef;padding-bottom:10px}.detailed-report p{line-height:1.6;margin-bottom:15px}.detailed-report ul,.detailed-report ol{margin-bottom:15px;padding-left:25px}.detailed-report li{margin-bottom:5px;line-height:1.5}.detailed-report a{color:#007bff;text-decoration:none}.detailed-report a:hover{text-decoration:underline}.loading-timer{background:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:20px}.timer-display{margin-bottom:15px}.timer-text{font-size:18px;font-weight:500;margin-bottom:5px}.countdown{color:#007bff}.overtime{color:#dc3545}.timer-elapsed{font-size:14px;color:#666}.progress-bar{height:8px;background:#e9ecef;border-radius:4px;overflow:hidden}.progress-fill{height:100%;background:#007bff;transition:width .3s ease}.progress-fill.overtime{background:#dc3545}.results-display.loading{position:relative;overflow:hidden}.skeleton-company-name{height:40px;width:300px;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:shimmer 8s infinite;border-radius:6px;margin-bottom:20px}.skeleton-company-info{margin-bottom:20px}.skeleton-line{height:16px;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:shimmer 8s infinite;border-radius:4px;margin-bottom:10px}.skeleton-line.short{width:60%}.skeleton-line.medium{width:80%}.skeleton-line.long{width:95%}.skeleton-stats{display:flex;gap:20px;margin-bottom:30px}.skeleton-stat-card{width:120px;height:80px;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:shimmer 8s infinite;border-radius:8px}.skeleton-section{margin-bottom:30px}.skeleton-section-title{height:28px;width:200px;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:shimmer 8s infinite;border-radius:4px;margin-bottom:20px}.skeleton-risks-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:20px;margin-bottom:20px}.skeleton-risk-card{height:120px;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:shimmer 8s infinite;border-radius:8px}.skeleton-news-item{height:150px;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:shimmer 8s infinite;border-radius:8px;margin-bottom:20px}.skeleton-reports-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:15px}.skeleton-report-card{height:100px;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:shimmer 8s infinite;border-radius:8px}.loading-pulse{display:flex;justify-content:center;gap:8px;margin-top:20px}.pulse-dot{width:12px;height:12px;background:#007bff;border-radius:50%;animation:pulse 2.8s infinite ease-in-out}.pulse-dot:nth-child(1){animation-delay:-.64s}.pulse-dot:nth-child(2){animation-delay:-.32s}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}@keyframes pulse{0%,60%,to{transform:scale(.8);opacity:.5}40%{transform:scale(1);opacity:1}}@keyframes spin{to{transform:rotate(360deg)}}.spinner{display:inline-block;width:12px;height:12px;border:2px solid #ffffff40;border-radius:50%;border-top-color:#fff;animation:spin 1s ease-in-out infinite;margin-right:6px}.app-with-comments{display:grid;grid-template-columns:1fr 1200px 1fr;min-height:100vh;width:100%}.app-with-comments .app{grid-column:2;max-width:none;margin:0}.comments-sidebar{grid-column:3;width:100%;max-width:calc(50vw - 600px);min-width:200px;padding:0 20px 0 0;position:sticky;top:20px;max-height:calc(100vh - 40px);overflow-y:auto}.comments-sidebar-placeholder{grid-column:3;width:100%;max-width:calc(50vw - 600px);min-width:200px;padding:0 20px 0 0}.research-container{position:relative;width:100%}.research-content{width:100%}.research-container .comments-sidebar{position:fixed;top:20px;right:20px;width:calc(50vw - 620px);max-width:calc(50vw - 620px);min-width:200px;z-index:100}@media (max-width: 1600px){.app-with-comments{display:flex;max-width:none;margin:0}.app-with-comments .app{max-width:1200px;margin:0 auto;flex:1}.comments-sidebar,.comments-sidebar-placeholder{width:350px;max-width:none;min-width:200px;padding:0 20px 0 0;margin-left:20px}.research-container .comments-sidebar{position:fixed;top:20px;right:20px;width:350px;max-width:350px;min-width:200px}}.comments-sidebar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:10px;border-bottom:1px solid #e9ecef}.comments-sidebar-header h3{margin:0;color:#333;font-size:1.2rem}.comments-count{background:#007bff;color:#fff;font-size:12px;font-weight:600;padding:4px 8px;border-radius:12px;min-width:20px;text-align:center}.comments-list{display:flex;flex-direction:column;gap:15px}.comment-item{border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden;margin:0}.comment-item.new-comment{border-color:#007bff;background:#f8f9ff}.no-comments{text-align:center;color:#666;font-style:italic;padding:20px}.comment-widget{padding:12px}.comment-widget.editing,.comment-widget.display{background:#f9f9cd}.comment-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}.comment-title{font-weight:600;color:#333;font-size:14px;border-bottom:1px solid #e9ecef;padding-bottom:5px;flex:1;margin-right:8px}.comment-body{display:flex;align-items:flex-start;gap:8px;margin-bottom:8px}.comment-text{color:#333;line-height:1.5;white-space:pre-wrap;flex:1;font-size:14px}.comment-textarea{width:100%;min-height:80px;padding:10px;border:1px solid #ddd;border-radius:4px;font-family:inherit;font-size:14px;line-height:1.5;resize:vertical;margin-bottom:10px}.comment-textarea:focus{outline:none;border-color:#007bff}.comment-footer{display:flex;justify-content:space-between;align-items:center;margin-top:8px}.comment-author{font-size:10px;color:#666;font-weight:500}.comment-timestamp{font-size:10px;color:#999;opacity:.7}.comment-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:10px}.comment-save-btn,.comment-cancel-btn,.comment-edit-btn,.comment-delete-btn{padding:6px 12px;border:1px solid #ddd;border-radius:4px;background:#fff;color:#333;font-size:12px;cursor:pointer;transition:all .2s}.comment-save-btn{background:#007bff;color:#fff;border-color:#007bff}.comment-save-btn:hover:not(:disabled){background:#0056b3;border-color:#0056b3}.comment-save-btn:disabled{background:#ccc;border-color:#ccc;cursor:not-allowed}.comment-cancel-btn:hover{background:#f8f9fa}.comment-edit-btn{background:none;border:none;font-size:14px;padding:2px;opacity:.6;cursor:pointer;border-radius:3px;align-self:flex-start;margin-top:2px}.comment-edit-btn:hover{opacity:1;background:#f0f0f0}.comment-delete-btn{background:none;border:none;font-size:12px;padding:2px;opacity:.6;cursor:pointer;border-radius:3px}.comment-delete-btn:hover{opacity:1;background:#f0f0f0}.edit-icon{display:inline-block;width:12px;height:12px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17.25V21h3.75l11-11-3.75-3.75L3 17.25zM20.71 5.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75L20.71 5.04z'/%3E%3C/svg%3E") no-repeat center;mask-size:contain;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17.25V21h3.75l11-11-3.75-3.75L3 17.25zM20.71 5.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75L20.71 5.04z'/%3E%3C/svg%3E") no-repeat center;-webkit-mask-size:contain}.delete-icon{display:inline-block;width:12px;height:12px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7A.996.996 0 1 0 5.7 7.11L10.59 12 5.7 16.89a.996.996 0 1 0 1.41 1.41L12 13.41l4.89 4.89a.996.996 0 1 0 1.41-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z'/%3E%3C/svg%3E") no-repeat center;mask-size:contain;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7A.996.996 0 1 0 5.7 7.11L10.59 12 5.7 16.89a.996.996 0 1 0 1.41 1.41L12 13.41l4.89 4.89a.996.996 0 1 0 1.41-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z'/%3E%3C/svg%3E") no-repeat center;-webkit-mask-size:contain}.comment-icon{background:#ffc;border:.5px solid #666;font-size:12px;cursor:pointer;padding:1px 2px 0;margin-left:4px;border-radius:1rem;opacity:.6;transition:all .2s;vertical-align:text-top}.comment-icon:hover{opacity:1;background:#f0f0f0}.comment-icon.has-comment{opacity:1;background:#e7f3ff;color:#007bff}.comment-icon.has-comment:hover{background:#cce7ff}.markdown-block{position:relative}.comment-icon-container{position:absolute;right:0;top:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#f5f5f5;padding:20px}.login-card{background:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;padding:40px;max-width:400px;width:100%;text-align:center}.login-header h1{margin:0 0 10px;color:#333;font-size:1.8rem}.login-header p{margin:0 0 30px;color:#666;line-height:1.5}.login-form{display:flex;flex-direction:column;text-align:left}.login-form .form-group{margin-bottom:20px}.login-form .form-group label{display:block;margin-bottom:5px;font-weight:500;color:#333}.login-form .form-group input{width:100%;padding:10px;border:1px solid #ddd;border-radius:4px;font-size:16px}.login-form .form-group input:focus{outline:none;border-color:#007bff}.login-form .form-group input:disabled{background-color:#f5f5f5;cursor:not-allowed}.login-button{background:#0078d4;color:#fff;border:none;padding:12px 24px;border-radius:4px;font-size:16px;font-weight:500;cursor:pointer;transition:background-color .2s;width:100%;display:flex;align-items:center;justify-content:center;gap:8px}.login-button:hover:not(:disabled){background:#106ebe}.login-button:disabled{background:#ccc;cursor:not-allowed}.login-loading{display:flex;flex-direction:column;align-items:center;gap:15px}.login-loading p{margin:0;color:#666}.popup-note{font-size:12px;color:#999;margin-top:10px}.login-error{background:#fef2f2;border:1px solid #fecaca;border-radius:4px;padding:15px;margin-bottom:20px}.login-error p{margin:0 0 10px;color:#dc2626}.retry-button{background:#dc2626;color:#fff;border:none;padding:8px 16px;border-radius:4px;font-size:14px;cursor:pointer}.retry-button:hover{background:#b91c1c}.oauth-iframe{display:none;width:0;height:0;border:none}.oauth-iframe-visible{width:100%;height:500px;border:1px solid #ddd;border-radius:4px;margin-top:20px}.auth-loading{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f5f5f5;gap:15px}.auth-loading .spinner{width:40px;height:40px;border:4px solid #e9ecef;border-top-color:#007bff;border-radius:50%;animation:spin 1s ease-in-out infinite}.auth-loading p{margin:0;color:#666}.user-info{display:flex;align-items:center;gap:15px}.user-details{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.user-name{font-weight:600;color:#333;font-size:14px}.user-email{font-size:12px;color:#666}.logout-button{background:#6c757d;color:#fff;border:none;padding:8px 16px;border-radius:4px;font-size:14px;cursor:pointer;transition:background-color .2s}.logout-button:hover{background:#5a6268}.oauth-callback-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#f5f5f5;padding:20px}.oauth-callback-card{background:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;padding:40px;max-width:400px;width:100%;text-align:center}.oauth-callback-loading h2,.oauth-callback-error h2,.oauth-callback-success h2{margin:0 0 15px;color:#333;font-size:1.5rem}.oauth-callback-loading p,.oauth-callback-error p,.oauth-callback-success p{margin:0 0 20px;color:#666;line-height:1.5}.oauth-callback-loading{display:flex;flex-direction:column;align-items:center;gap:15px}.oauth-callback-error,.oauth-callback-error h2{color:#dc3545}.lists-container{max-width:1200px;margin:0 auto}.lists-form{background:#fff;padding:24px;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:24px}.lists-form .form-group{margin-bottom:20px}.lists-form label{display:block;font-weight:500;margin-bottom:8px;color:#333}.lists-form textarea{width:100%;padding:12px;border:1px solid #ddd;border-radius:4px;font-size:14px;font-family:inherit;resize:vertical;min-height:80px}.lists-form textarea:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.form-buttons{display:flex;gap:12px;align-items:center}.lists-form button{background-color:#007bff;color:#fff;border:none;padding:12px 24px;border-radius:4px;font-size:16px;cursor:pointer;transition:background-color .2s}.lists-form button:hover:not(:disabled){background-color:#0056b3}.lists-form button:disabled{background-color:#ccc;cursor:not-allowed}.lists-form button.cancel-button{background-color:#dc3545}.lists-form button.cancel-button:hover,.lists-form button.cancel-button:active{background-color:#c82333}.query-parameters-display{background:#f8f9fa;border:1px solid #dee2e6;border-radius:8px;padding:20px;margin-bottom:24px}.params-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.params-header h3,.params-header h4{margin:0;color:#333;font-size:1.1rem;font-weight:500}.cancel-button{background-color:#dc3545;color:#fff;border:none;padding:8px 16px;border-radius:4px;font-size:14px;cursor:pointer;transition:background-color .2s}.cancel-button:hover{background-color:#c82333}.params-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin-bottom:16px}.param-item{display:flex;flex-direction:row;gap:8px;align-items:baseline;margin-bottom:12px}.param-label{font-weight:500;color:#666;font-size:.9rem;flex-shrink:0}.param-value{color:#333;font-size:.95rem;font-weight:600}.naics-codes{border-top:1px solid #dee2e6;padding-top:16px}.naics-codes .param-label{display:block;margin-bottom:8px}.naics-list{display:flex;flex-direction:column;gap:6px;max-height:200px;overflow-y:auto;border:1px solid #e9ecef;border-radius:4px;padding:8px}.naics-item{background:#f8f9fa;padding:8px 12px;border-radius:4px;border:1px solid #e9ecef;font-size:.9rem;color:#333;margin-bottom:4px}.naics-item:last-child{margin-bottom:0}.skeleton-line{height:16px;background:linear-gradient(90deg,#e9ecef 25%,#f8f9fa,#e9ecef 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s infinite;border-radius:4px;margin-bottom:8px}.skeleton-line.short{width:60px;height:14px}.skeleton-line.medium{width:120px}.skeleton-line.long{width:180px}.skeleton-line.naics-skeleton{width:100%;height:18px;margin-bottom:6px}@keyframes skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media (max-width: 768px){.params-grid{grid-template-columns:1fr}.params-header{flex-direction:column;gap:12px;align-items:flex-start}}.list-header{padding:20px 0;margin-bottom:12px}.list-header h2{margin:0;color:#333;font-size:1.5rem}.company-grid{display:grid;gap:20px;grid-template-columns:1fr}@media (min-width: 768px){.company-grid{grid-template-columns:repeat(auto-fit,minmax(500px,1fr))}}.company-card{background:#fff;padding:24px;border-radius:8px;box-shadow:0 2px 8px #0000001a;transition:box-shadow .2s,transform .2s;border:1px solid #e5e7eb;display:flex;flex-direction:column}.company-card:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.company-body{display:flex;gap:20px;align-items:stretch;flex:1}.company-info{flex:1}.company-actions{min-height:20px;display:flex;flex-direction:column;gap:8px;align-items:flex-end;justify-content:flex-end}.company-list .company-header{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start;margin-bottom:8px;gap:16px}.company-list .company-name{margin:0;color:#333;font-size:1.2rem;font-weight:600;flex:1;min-width:0}.company-list .company-state{background-color:#e9ecef;color:#495057;padding:4px 8px;border-radius:4px;font-size:.875rem;font-weight:500;flex-shrink:0}.company-locations{background-color:#e9ecef;color:#495057;padding:4px 8px;border-radius:4px;font-size:.875rem;font-weight:500;flex-shrink:0;max-height:2.5em;line-height:1.2;overflow-y:auto;max-width:200px;word-wrap:break-word}.company-stats{display:flex;flex-wrap:wrap;gap:20px;margin-bottom:12px}.company-stat{display:flex;flex-direction:row;gap:6px;align-items:baseline;min-width:0;flex:1;min-width:140px}.company-url{margin-bottom:12px}.company-link{color:#007bff;text-decoration:none;font-size:.9rem;font-weight:500;word-break:break-all}.company-link:hover{text-decoration:underline}.stat-label{font-size:.875rem;color:#666;font-weight:500}.stat-value{font-size:.875rem;color:#333;font-weight:600}a.stat-value{color:#007bff;text-decoration:none;font-weight:400}.stat-value a:hover{text-decoration:underline}.company-description{margin-bottom:12px;max-height:180px;overflow-y:auto}.company-description p{margin:0;color:#555;line-height:1.5;font-size:.9rem}.add-prospect-button{background-color:#28a745;color:#fff;border:none;padding:10px 16px;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .2s;white-space:nowrap;width:140px}.add-prospect-button:hover:not(:disabled){background-color:#218838}.add-prospect-button:disabled{background-color:#6c757d;cursor:not-allowed}.research-button{background-color:#007bff;color:#fff;border:none;padding:6px 16px;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .2s;white-space:nowrap;width:140px}.research-button:hover:not(:disabled){background-color:#0056b3}.research-button:disabled{background-color:#6c757d;cursor:not-allowed}.deal-link{color:#007bff;text-decoration:none;font-weight:500;font-size:14px;padding:10px 16px;border:1px solid #007bff;border-radius:4px;transition:all .2s;text-align:center;white-space:nowrap;width:140px;display:inline-block}.deal-link:hover{background-color:#007bff;color:#fff;text-decoration:none}.prospect-error{background-color:#f8d7da;border:1px solid #f5c6cb;border-radius:4px;padding:8px 12px;margin-top:8px;display:flex;align-items:center;justify-content:space-between;gap:8px}.prospect-error p{margin:0;color:#721c24;font-size:13px;flex:1}.error-close-button{background:none;border:none;color:#721c24;cursor:pointer;font-size:16px;font-weight:700;padding:0;width:18px;height:18px;display:flex;align-items:center;justify-content:center;border-radius:2px;transition:background-color .2s,color .2s;flex-shrink:0}.error-close-button:hover{background-color:#f5c6cb;color:#5a1a1a}.company-list.loading{padding:24px}.skeleton-company-item{height:120px;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:loading 1.5s infinite;border-radius:8px;margin-bottom:16px}@keyframes loading{0%{background-position:200% 0}to{background-position:-200% 0}}.error-display{background:#fff;padding:24px;border-radius:8px;box-shadow:0 2px 4px #0000001a;border-left:4px solid #dc3545}.error-display h2{color:#dc3545;margin:0 0 12px;font-size:1.2rem}.error-display p{margin:0;color:#666;line-height:1.5}.recent-searches-section{background:#fff;padding:24px;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:24px}.recent-searches-section h3{margin:0 0 20px;color:#333;font-size:1.25rem;font-weight:600}.recent-searches-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}.recent-search-card{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;padding:16px;cursor:pointer;transition:all .2s ease;position:relative}.recent-search-card:hover{background:#e9ecef;border-color:#007bff;transform:translateY(-2px);box-shadow:0 4px 8px #0000001a}.search-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.search-query{margin:0 12px 0 0;font-size:.95rem;font-weight:500;color:#333;line-height:1.3;flex:1}.search-date{font-size:.8rem;color:#6c757d;white-space:nowrap}.search-stats{display:flex;gap:12px;margin-bottom:12px;font-size:.85rem}.company-count{color:#007bff;font-weight:500}.search-location{color:#6c757d}.search-preview{font-size:.8rem;color:#6c757d;line-height:1.4}.company-preview{color:#495057}.more-companies{color:#6c757d;font-style:italic}.recent-searches-loading{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}.skeleton-search-item{height:100px;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:loading 1.5s infinite;border-radius:8px}@media (min-width: 768px){.stat-label:after{content:""}.recent-searches-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}}@media (max-width: 767px){.recent-searches-grid{grid-template-columns:1fr}.search-header{flex-direction:column;align-items:flex-start;gap:4px}.search-query{margin-right:0}}
