.login-container{display:flex;justify-content:center;align-items:center;min-height:100vh;background:var(--boost-navy);position:relative;overflow:hidden}.login-container:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 20% 50%,rgba(78,140,255,.15) 0%,transparent 50%),radial-gradient(circle at 80% 50%,rgba(78,140,255,.1) 0%,transparent 50%);pointer-events:none}.login-card{background:var(--boost-white);padding:3rem;border-radius:16px;box-shadow:0 20px 60px #0000004d;text-align:center;max-width:420px;width:90%;position:relative;z-index:1}.login-card h1{font-size:2.25rem;margin-bottom:.5rem;color:var(--boost-navy);font-weight:700}.login-subtitle{color:var(--boost-text-secondary);margin-bottom:2.5rem;font-size:1.125rem}.login-button{background:var(--boost-blue);color:#fff;border:none;padding:1rem 2rem;font-size:1.0625rem;font-weight:600;border-radius:8px;cursor:pointer;width:100%;transition:all .3s ease;box-shadow:0 4px 12px #4e8cff4d}.login-button:hover{background:var(--boost-blue-dark);transform:translateY(-2px);box-shadow:0 6px 20px #4e8cff66}.login-button:active{transform:translateY(0);box-shadow:0 2px 8px #4e8cff4d}.login-button.dev-login{background:#f59e0b;box-shadow:0 4px 12px #f59e0b4d}.login-button.dev-login:hover{background:#d97706;box-shadow:0 6px 20px #f59e0b66}.dashboard-container{min-height:100vh;background-color:var(--boost-background)}.dashboard-header{background:var(--boost-navy);padding:1.5rem 2rem;box-shadow:0 2px 8px #00000026;display:flex;justify-content:space-between;align-items:center}.dashboard-header-left{display:flex;flex-direction:column;gap:.25rem}.dashboard-header-actions{display:flex;gap:1rem;align-items:center}.dashboard-header h1{margin:0;color:var(--boost-white);font-weight:700}.user-email{font-size:.9rem;color:#ffffffb3}.pull-docs-button{background:var(--boost-success);color:var(--boost-white);border:none;padding:var(--space-2) var(--space-6);border-radius:var(--radius-md);cursor:pointer;transition:all var(--transition-slow);font-weight:var(--font-medium)}.pull-docs-button:hover{background:var(--boost-success-dark);transform:translateY(-2px)}.test-button{background:var(--boost-blue);color:var(--boost-white);border:none;padding:var(--space-2) var(--space-6);border-radius:var(--radius-lg);cursor:pointer;transition:all var(--transition-base);font-weight:var(--font-medium);box-shadow:0 2px 4px #4e8cff33}.test-button:hover{background:var(--boost-blue-dark);transform:translateY(-1px);box-shadow:0 4px 8px #4e8cff4d}.logout-button{background:transparent;color:var(--boost-white);border:1px solid rgba(255,255,255,.3);padding:var(--space-2) var(--space-6);border-radius:var(--radius-lg);cursor:pointer;transition:all var(--transition-slow);font-weight:var(--font-medium)}.logout-button:hover{background:#ffffff1a;border-color:#ffffff80}.dashboard-content{padding:2rem;max-width:1400px;margin:0 auto}.dashboard-hero{background:linear-gradient(135deg,var(--boost-blue) 0%,var(--boost-blue-dark) 100%);border-radius:16px;padding:2rem;text-align:center;margin-bottom:3rem;box-shadow:0 8px 24px #4e8cff40}.hero-title{font-size:2.5rem;font-weight:700;color:#fff;margin:0 0 .75rem}.hero-description{font-size:1.125rem;color:#ffffffe6;margin:0 0 2rem;font-weight:300}.btn-hero-new-application{background:#fff;color:var(--boost-blue);border:none;padding:1.25rem 2.5rem;font-size:1.25rem;font-weight:600;border-radius:12px;cursor:pointer;transition:all .3s;box-shadow:0 4px 12px #00000026;display:inline-flex;align-items:center;gap:.75rem}.btn-hero-new-application:hover{transform:translateY(-3px);box-shadow:0 8px 20px #00000040;background:var(--boost-background)}.btn-hero-new-application:active{transform:translateY(-1px)}.hero-btn-icon{font-size:2rem;font-weight:300;line-height:1}.hero-btn-text{line-height:1}.applications-section{margin-top:2rem}.refreshing-indicator{font-size:var(--text-sm);color:var(--boost-gray-500);margin-bottom:var(--space-2)}.section-title{font-size:1.75rem;font-weight:600;color:var(--boost-navy);margin:0 0 1.5rem;padding-bottom:.75rem;border-bottom:2px solid var(--boost-border)}.empty-state{text-align:center;padding:var(--space-12) var(--space-8);color:var(--boost-gray-600);font-size:var(--text-lg);background:var(--boost-gray-50);border-radius:var(--radius-xl);border:2px dashed var(--boost-gray-300)}.applications-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem;margin-bottom:2rem}.application-tile{background:var(--boost-white);border-radius:var(--radius-xl);padding:var(--space-6);box-shadow:var(--shadow-card);cursor:pointer;transition:all var(--transition-base);border:1px solid var(--boost-border);position:relative}.application-tile:hover{transform:translateY(-2px);box-shadow:var(--shadow-hover);border-color:var(--boost-blue)}.tile-delete-btn{position:absolute;top:var(--space-2);right:var(--space-2);background:var(--boost-error);color:var(--boost-white);border:none;width:28px;height:28px;border-radius:var(--radius-full);font-size:var(--text-2xl);line-height:1;cursor:pointer;display:none;align-items:center;justify-content:center;transition:all var(--transition-base);padding:0;z-index:10}.application-tile:hover .tile-delete-btn{display:flex}.tile-delete-btn:hover{background:var(--boost-error-dark);transform:scale(1.1)}.tile-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:1rem}.tile-header h3{margin:0;color:var(--boost-gray-800);font-size:var(--text-xl)}.status-badge{display:none;padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:capitalize}.tile-metadata{background:var(--boost-gray-50);padding:var(--space-3);border-radius:var(--radius-md);margin:var(--space-4) 0;display:flex;flex-direction:column;gap:var(--space-2)}.tile-metadata-item{display:flex;gap:var(--space-2);font-size:var(--text-sm);align-items:baseline}.tile-metadata-label{font-weight:var(--font-semibold);color:var(--boost-gray-500);font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.025em;min-width:70px}.tile-metadata-value{color:var(--boost-gray-900);font-weight:var(--font-medium);flex:1}.tile-meta{display:flex;flex-direction:column;gap:var(--space-2);font-size:var(--text-sm);color:var(--boost-gray-600)}.pagination{display:flex;justify-content:center;align-items:center;gap:1rem;margin-top:2rem}.page-button{background:var(--boost-blue);color:var(--boost-white);border:none;padding:var(--space-2) var(--space-4);border-radius:var(--radius-md);cursor:pointer;transition:background var(--transition-base)}.page-button:hover:not(:disabled){background:var(--boost-blue-dark)}.page-button:disabled{background:var(--boost-gray-300);cursor:not-allowed}.page-info{font-weight:var(--font-medium);color:var(--boost-gray-800)}.modal-content.create-modal{background:var(--boost-white);border-radius:var(--radius-2xl);padding:0;max-width:600px;width:90%;box-shadow:0 20px 60px #0000004d}.modal-content.pull-docs-modal{background:var(--boost-white);border-radius:var(--radius-xl);padding:var(--space-8);max-width:600px;width:90%}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.create-modal .modal-header{background:var(--boost-navy);padding:2rem;margin-bottom:0;border-radius:16px 16px 0 0}.create-modal .modal-header h2{margin:0;color:#fff;font-size:1.75rem;font-weight:600}.modal-header h2{margin:0;color:var(--boost-gray-800)}.modal-close{background:none;border:none;font-size:2rem;cursor:pointer;color:var(--boost-gray-500);padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;transition:color var(--transition-fast)}.create-modal .modal-close{color:#fffc}.create-modal .modal-close:hover{color:#fff;background:#ffffff1a;border-radius:6px}.create-form{display:flex;flex-direction:column;gap:1.75rem;padding:2rem}.form-group{display:flex;flex-direction:column;gap:.625rem}.form-group label{font-weight:var(--font-semibold);color:var(--boost-gray-800);font-size:var(--text-sm)}.form-group input{padding:var(--space-3) var(--space-4);border:1.5px solid var(--boost-gray-300);border-radius:var(--radius-lg);font-size:var(--text-base);transition:all var(--transition-base)}.form-group input:focus{outline:none;border-color:var(--boost-blue);box-shadow:0 0 0 3px #4e8cff1a}.form-group input.error{border-color:var(--boost-error);background-color:var(--boost-error-light)}.form-group input.error:focus{box-shadow:0 0 0 3px #ef44441a}.error-message{color:var(--boost-error);font-size:var(--text-sm);font-weight:var(--font-medium);margin-top:var(--space-1);display:flex;align-items:center;gap:var(--space-2)}.error-message:before{content:"⚠";font-size:1rem}.form-actions{display:flex;gap:.875rem;justify-content:flex-end;padding-top:.5rem}.btn-cancel{background:var(--boost-gray-100);color:var(--boost-gray-700);border:1px solid var(--boost-gray-300);padding:var(--space-3) var(--space-6);border-radius:var(--radius-lg);cursor:pointer;font-weight:var(--font-semibold);font-size:var(--text-sm);transition:all var(--transition-base)}.btn-cancel:hover{background:var(--boost-gray-200);border-color:var(--boost-gray-400)}.btn-create{background:var(--boost-blue);color:var(--boost-white);border:none;padding:var(--space-3) var(--space-6);border-radius:var(--radius-lg);cursor:pointer;font-weight:var(--font-semibold);font-size:var(--text-sm);transition:all var(--transition-base);box-shadow:0 2px 4px #4e8cff33}.btn-create:hover:not(:disabled){background:var(--boost-blue-dark);transform:translateY(-1px);box-shadow:0 4px 8px #4e8cff4d}.btn-create:disabled{opacity:.7;cursor:not-allowed;transform:none;box-shadow:none}.upload-section,.documents-section{margin-bottom:2rem}.upload-section h2,.documents-section h2{color:var(--boost-gray-800);margin-bottom:var(--space-2)}.section-description{color:var(--boost-gray-600);margin-bottom:var(--space-6)}.upload-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-top:1.5rem}.upload-slot h3{margin:0;color:var(--boost-gray-800);font-size:var(--text-lg);font-weight:var(--font-semibold)}.document-card-inline{background:var(--boost-white);padding:var(--space-6);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);display:flex;gap:var(--space-4);align-items:center;transition:all var(--transition-base)}.document-card-inline:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.documents-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem}.document-card{background:var(--boost-white);padding:var(--space-6);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);display:flex;gap:var(--space-4);align-items:flex-start;transition:all var(--transition-base);position:relative}.document-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.btn-view-results{background:transparent;border:none;font-size:var(--text-xl);cursor:pointer;padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);transition:background var(--transition-base);margin-left:auto}.btn-view-results:hover{background:#10b9811a}.btn-process-doc{background:transparent;border:none;font-size:var(--text-xl);cursor:pointer;padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);transition:background var(--transition-base)}.btn-process-doc:hover:not(:disabled){background:#4e8cff1a}.btn-process-doc:disabled{opacity:.5;cursor:not-allowed}.btn-delete-doc{background:transparent;border:none;font-size:var(--text-xl);cursor:pointer;padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);transition:background var(--transition-base)}.btn-delete-doc:hover:not(:disabled){background:#ef44441a}.btn-delete-doc:disabled{opacity:.5;cursor:not-allowed}.document-icon{font-size:2rem}.document-info{flex:1;min-width:0}.document-name{font-weight:var(--font-semibold);color:var(--boost-gray-800);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:var(--space-2)}.document-meta{font-size:var(--text-sm);color:var(--boost-gray-600);margin-bottom:var(--space-2)}.document-status{display:inline-block;padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);font-size:var(--text-xs);font-weight:var(--font-semibold);text-transform:uppercase;background:var(--boost-success);color:var(--boost-white)}.document-status.pending{background:var(--boost-warning);color:var(--boost-gray-800)}.document-status.processing{background:var(--boost-info);color:var(--boost-white)}.document-status.failed{background:var(--boost-error);color:var(--boost-white)}.document-key{font-size:var(--text-xs);color:var(--boost-gray-400);font-family:monospace;overflow:hidden;text-overflow:ellipsis;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:2rem}.modal-content{background:var(--boost-white);border-radius:var(--radius-lg);max-width:900px;width:100%;max-height:90vh;overflow:visible;display:flex;flex-direction:column;box-shadow:0 10px 40px #0000004d}.modal-header{padding:var(--space-6) var(--space-8);border-bottom:1px solid var(--boost-gray-200);display:flex;justify-content:space-between;align-items:center;background:var(--boost-gray-50)}.modal-header h2{margin:0;color:var(--boost-gray-800);font-size:var(--text-2xl)}.modal-header-actions{display:flex;gap:1rem;align-items:center}.toggle-view-btn{background:var(--boost-gray-200);color:var(--boost-gray-600);border:1px solid var(--boost-gray-300);padding:var(--space-2) var(--space-4);border-radius:var(--radius-sm);cursor:pointer;font-size:var(--text-sm);font-weight:var(--font-medium);transition:all var(--transition-base);margin-left:var(--space-2)}.toggle-view-btn:hover{background:var(--boost-gray-300);border-color:var(--boost-gray-400)}.toggle-view-btn.active{background:var(--boost-blue);color:var(--boost-white);border-color:var(--boost-blue)}.toggle-view-btn.active:hover{background:var(--boost-blue-dark);border-color:var(--boost-blue-dark)}.modal-close{background:transparent;border:none;font-size:2rem;cursor:pointer;color:var(--boost-gray-500);padding:0;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-sm);transition:background var(--transition-base)}.modal-close:hover{background:#0000001a}.raw-json-container{background:#282c34;border-radius:8px;padding:1rem;overflow:auto}.raw-json{margin:0;color:#abb2bf;font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:.875rem;line-height:1.5;overflow-x:auto;white-space:pre}@media (max-width: 768px){.dashboard-hero{padding:2rem 1.5rem}.hero-title{font-size:2rem}.hero-description{font-size:1rem;margin-bottom:1.5rem}.btn-hero-new-application{padding:1rem 2rem;font-size:1.125rem}.hero-btn-icon,.section-title{font-size:1.5rem}}.w2-form{display:flex;flex-direction:column;gap:2rem}.w2-section{background:var(--boost-gray-50);padding:var(--space-6);border-radius:var(--radius-lg);border:1px solid var(--boost-gray-200)}.w2-section h3{margin:0 0 var(--space-4) 0;color:var(--boost-gray-800);font-size:var(--text-xl);padding-bottom:var(--space-2);border-bottom:2px solid var(--boost-blue)}.w2-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;margin-bottom:1rem}.w2-grid:last-child{margin-bottom:0}.w2-field{display:flex;flex-direction:column;gap:.5rem}.w2-field label{font-size:var(--text-sm);color:var(--boost-gray-600);font-weight:var(--font-semibold);text-transform:uppercase;letter-spacing:.5px}.w2-field .field-value{font-size:var(--text-lg);color:var(--boost-gray-800);font-weight:var(--font-medium);padding:var(--space-2);background:var(--boost-white);border-radius:var(--radius-sm);border:1px solid var(--boost-gray-300)}.w2-address{display:flex;flex-direction:column;gap:.5rem;margin-top:1rem}.w2-address label{font-size:var(--text-sm);color:var(--boost-gray-600);font-weight:var(--font-semibold);text-transform:uppercase;letter-spacing:.5px}.address-lines{display:flex;flex-direction:column;gap:var(--space-1);padding:var(--space-2);background:var(--boost-white);border-radius:var(--radius-sm);border:1px solid var(--boost-gray-300)}.address-lines span{font-size:var(--text-base);color:var(--boost-gray-800)}.btn-location-info{background:transparent;border:none;font-size:var(--text-base);cursor:pointer;padding:var(--space-1);border-radius:var(--radius-sm);transition:all var(--transition-base);line-height:1;flex-shrink:0}.btn-location-info:hover{background:#4e8cff1a;transform:scale(1.1)}.location-info-modal{max-width:600px}.location-info-details{display:flex;flex-direction:column;gap:1rem}.location-field{padding:var(--space-3);background:var(--boost-gray-50);border-radius:var(--radius-md);border:1px solid var(--boost-gray-200)}.location-field strong{color:var(--boost-blue);margin-right:var(--space-2)}.paystub-form{display:flex;flex-direction:column;gap:2rem}.paystub-section{background:var(--boost-gray-50);padding:var(--space-6);border-radius:var(--radius-lg);border:1px solid var(--boost-gray-200)}.paystub-section h3{margin:0 0 var(--space-4) 0;color:var(--boost-gray-800);font-size:var(--text-xl);padding-bottom:var(--space-2);border-bottom:2px solid var(--boost-success)}.paystub-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;margin-bottom:1rem}.paystub-grid:last-child{margin-bottom:0}.paystub-field{display:flex;flex-direction:column;gap:.5rem}.paystub-field label{font-size:var(--text-sm);color:var(--boost-gray-600);font-weight:var(--font-semibold);text-transform:uppercase;letter-spacing:.5px}.paystub-field .field-value{font-size:var(--text-lg);color:var(--boost-gray-800);font-weight:var(--font-medium);padding:var(--space-2);background:var(--boost-white);border-radius:var(--radius-sm);border:1px solid var(--boost-gray-300)}.paystub-address{display:flex;flex-direction:column;gap:.5rem;margin-top:1rem}.paystub-address label{font-size:var(--text-sm);color:var(--boost-gray-600);font-weight:var(--font-semibold);text-transform:uppercase;letter-spacing:.5px}.pdf-viewer-container{width:100%;height:70vh;display:flex;align-items:center;justify-content:center;background:#525659;border-radius:4px}.pdf-viewer{width:100%;height:100%;border:none;border-radius:4px}.pdf-loading{color:#fff;font-size:1.125rem;padding:2rem}.pull-docs-form{display:flex;flex-direction:column;gap:1.5rem}.status-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:12px;font-size:12px;font-weight:600;white-space:nowrap;margin-left:auto}.status-badge .status-icon{font-size:14px;line-height:1}.status-badge .status-label{line-height:1}.status-calculating{background:#dbeafe;color:#1e40af;border:1px solid #93c5fd}.status-icon.spinner{display:inline-flex;align-items:center;justify-content:center}.status-spinner{width:14px;height:14px;border:2px solid rgba(30,64,175,.2);border-top-color:#1e40af;border-radius:50%;animation:dashboard-spin .9s linear infinite}.status-calculating .status-label{text-transform:uppercase;letter-spacing:.04em}@keyframes dashboard-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.status-completed{background:#d1fae5;color:#065f46;border:1px solid #6ee7b7}.status-failed{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5}.status-paused{background:#fef3c7;color:#92400e;border:1px solid #fcd34d}.tile-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:1rem}.tile-header h3{margin:0;flex:1;min-width:0}.test-container{min-height:100vh;background:var(--boost-background);padding:2rem}.test-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;background:#fff;padding:1.5rem 2rem;border-radius:12px;box-shadow:0 4px 6px #0000001a}.test-header-left h1{margin:0;color:#333;font-size:1.8rem}.test-header-actions{display:flex;gap:1rem}.btn-dashboard{padding:.75rem 1.5rem;background:#f5f5f5;color:#333;border:none;border-radius:8px;cursor:pointer;font-weight:500;transition:all .2s}.btn-dashboard:hover{background:#e0e0e0}.logout-button{padding:.75rem 1.5rem;background:#ff4757;color:#fff;border:none;border-radius:8px;cursor:pointer;font-weight:500;transition:all .2s}.logout-button:hover{background:#ff3838}.test-content{max-width:1200px;margin:0 auto}.upload-zone{background:#fff;padding:3rem;border-radius:12px;box-shadow:0 4px 6px #0000001a;margin-bottom:2rem}.upload-zone h2{margin-top:0;color:#333}.help-text{color:#666;margin-bottom:2rem}.file-input-wrapper{margin-bottom:1.5rem}.file-input{display:none}.file-input-label{display:inline-block;padding:1rem 2rem;background:#f5f5f5;border:2px dashed #ccc;border-radius:8px;cursor:pointer;transition:all .2s;width:100%;text-align:center;color:#666}.file-input-label:hover{background:#e8e8e8;border-color:#999}.file-info{display:flex;align-items:center;gap:1rem;padding:1rem;background:#f9f9f9;border-radius:8px;margin-bottom:1.5rem}.file-icon{min-width:24px;min-height:24px}.file-details{flex:1}.file-name{font-weight:600;color:#333;margin-bottom:.25rem}.file-size{font-size:.875rem;color:#666}.btn-detect{width:100%;padding:1rem 2rem;background:linear-gradient(135deg,var(--boost-blue) 0%,var(--boost-blue-dark) 100%);color:#fff;border:none;border-radius:8px;cursor:pointer;font-weight:600;font-size:1rem;transition:all .2s}.btn-detect:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 12px #4e8cff66}.btn-detect:disabled{opacity:.6;cursor:not-allowed}.error-message{margin-top:1rem;padding:1rem;background:#fee2e2;border:1px solid #ef4444;border-radius:8px;color:#991b1b;display:flex;align-items:center;gap:.75rem}.progress-section{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 4px 6px #0000001a;margin-bottom:2rem}.progress-steps{display:flex;justify-content:center;gap:3rem}.progress-step{display:flex;flex-direction:column;align-items:center;gap:.5rem;opacity:.4;transition:opacity .3s}.progress-step.active{opacity:1}.progress-step.completed{opacity:.8}.step-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center}.step-spinner{width:24px;height:24px;border:3px solid var(--boost-blue);border-top-color:transparent;border-radius:50%;animation:spin .6s linear infinite}.step-pending{width:24px;height:24px;border:2px solid #ddd;border-radius:50%}.step-label{font-size:.875rem;color:#666;font-weight:500}.result-section{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 4px 6px #0000001a}.result-section>h2{margin-top:0;color:#333;margin-bottom:1.5rem}.result-card{border:1px solid #e0e0e0;border-radius:8px;margin-bottom:1.5rem;overflow:hidden}.result-header{display:flex;justify-content:space-between;align-items:center;background:#f9f9f9;padding:1rem 1.5rem;border-bottom:1px solid #e0e0e0}.result-header h3{margin:0;font-size:1.1rem;color:#333}.result-body{padding:1.5rem}.detected-type{display:flex;align-items:center;gap:.75rem;font-size:1.25rem;font-weight:600}.detected-type.no-match{color:#999}.type-value{color:var(--boost-blue)}.detected-type.no-match .type-value{color:#999}.matching-types,.registered-types{display:flex;flex-wrap:wrap;gap:.75rem}.type-badge{display:inline-block;padding:.5rem 1rem;background:var(--boost-blue);color:#fff;border-radius:20px;font-size:.875rem;font-weight:500}.type-badge.secondary{background:#e0e0e0;color:#666}.btn-toggle-text{padding:.5rem 1rem;background:var(--boost-blue);color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;transition:all .2s}.btn-toggle-text:hover{background:var(--boost-blue-dark)}.extracted-text{background:#f9f9f9;padding:1rem;border-radius:6px;font-size:.875rem;line-height:1.6;max-height:400px;overflow-y:auto;white-space:pre-wrap;word-wrap:break-word;color:#333}.document-upload{width:100%}.drop-zone{border:2px dashed #d1d5db;border-radius:12px;padding:2rem;text-align:center;cursor:pointer;transition:all .2s ease;background:#fafafa;min-height:160px;display:flex;align-items:center;justify-content:center}.drop-zone:hover{border-color:var(--boost-blue);background:#f5f7ff;box-shadow:0 4px 12px #4e8cff1a}.drop-zone.active{border-color:var(--boost-blue);background:#eef2ff;transform:scale(1.01);box-shadow:0 8px 24px #4e8cff26}.drop-zone-content{pointer-events:none}.drop-zone-icon{margin:0 0 1rem;opacity:.8;transition:opacity .3s}.drop-zone:hover .drop-zone-icon{opacity:1}.spinner{animation:spin 1s linear infinite}.drop-zone-text{font-size:1.1rem;color:#333;margin:0 0 .5rem}.drop-zone-hint{font-size:.9rem;color:#666;margin:0}.files-list{margin-top:2rem;background:#fff;border-radius:8px;padding:1.5rem;box-shadow:0 2px 4px #0000001a}.files-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid #eee}.files-header h3{margin:0;color:#333}.files-actions{display:flex;gap:.5rem}.btn-upload{background:var(--boost-blue);color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.9rem;transition:background .3s}.btn-upload:hover:not(:disabled){background:var(--boost-blue-dark)}.btn-upload:disabled{background:#ccc;cursor:not-allowed}.btn-clear{background:#f1f1f1;color:#333;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.9rem;transition:background .3s}.btn-clear:hover:not(:disabled){background:#e1e1e1}.btn-clear:disabled{opacity:.5;cursor:not-allowed}.files-items{display:flex;flex-direction:column;gap:.75rem}.file-item{display:flex;align-items:center;gap:1rem;padding:1rem;background:#fafafa;border-radius:8px;border:1px solid #e5e7eb;transition:all .2s}.file-item.uploading{background:#fef3c7;border-color:#fbbf24}.file-item.completed{background:#d1fae5;border-color:#10b981}.file-item.failed{background:#fee2e2;border-color:#ef4444}.file-icon{min-width:2rem;display:flex;align-items:center;justify-content:center}.file-info{flex:1;min-width:0}.file-name{font-weight:500;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-meta{font-size:.85rem;color:#666;margin-top:.25rem}.file-error{color:#d32f2f}.progress-bar{width:100%;height:4px;background:#e0e0e0;border-radius:2px;overflow:hidden;margin-top:.5rem}.progress-fill{height:100%;background:var(--boost-blue);transition:width .3s ease}.btn-remove{background:transparent;border:none;font-size:1.5rem;color:#999;cursor:pointer;padding:0;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .3s}.btn-remove:hover:not(:disabled){background:#ffebee;color:#d32f2f}.btn-remove:disabled{opacity:.3;cursor:not-allowed}.w2-data-view{max-width:100%;margin:0;padding:.75rem 1rem;background:#fafbfc;border-radius:8px}.data-sections{display:flex;flex-direction:column;gap:0}.section-header{margin:.75rem 0 .375rem}.section-header:first-child{margin-top:0}.section-chip{display:inline-block;text-transform:uppercase;font-size:.6875rem;font-weight:700;letter-spacing:.08em;padding:.375rem .875rem;background:#2c3e50;color:#fff;border-radius:4px}.data-field{display:grid;grid-template-columns:200px 1fr;gap:1.5rem;padding:.25rem 0;min-height:1.75rem;align-items:center;line-height:1.4;transition:background-color .15s ease}.field-label{font-size:.8125rem;font-weight:500;color:#6b7280;text-align:left}.field-value-container{display:flex;align-items:center;min-height:2rem}.field-value{font-size:.9375rem;color:#1f2937;font-weight:400;cursor:pointer;padding:.375rem .625rem;border-radius:4px;transition:all .2s ease;position:relative;min-width:100px;flex:1}.field-value:hover:not(.field-input){background-color:#f3f4f6;text-decoration:underline;text-decoration-style:dotted;text-decoration-color:#9ca3af;text-underline-offset:3px}.field-value.hovered .edit-icon{display:inline}.edit-icon{display:none;margin-left:.5rem;font-size:.875rem;color:#9ca3af;opacity:.6}.field-amount{font-family:SF Mono,Monaco,Menlo,Consolas,monospace;color:#059669;font-weight:500;font-size:.9375rem}.field-separator{width:100%;height:1px;background:#e5e7eb;margin:.5rem 0}.field-input{width:100%;padding:.375rem .625rem;border:2px solid #e5e7eb;border-radius:4px;font-size:.9375rem;font-family:inherit;color:#1f2937;background:#fff;transition:all .2s ease;line-height:1.5;min-height:2rem}.field-input:hover{border-color:#d1d5db;background:#fafbfc}.field-input:focus{outline:none;border-color:var(--boost-blue);box-shadow:0 0 0 3px #4e8cff1a;background:#fff}.field-input[type=number]{font-family:SF Mono,Monaco,Menlo,Consolas,monospace}.floating-action-bar{position:fixed;bottom:2rem;right:2rem;display:flex;gap:.75rem;background:#fff;padding:1rem 1.25rem;border-radius:12px;box-shadow:0 8px 24px #0000001f,0 2px 6px #00000014;z-index:1000;animation:slideInUp .3s ease-out}@keyframes slideInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.btn-save-primary{background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;padding:.625rem 1.75rem;border-radius:8px;cursor:pointer;font-size:.9375rem;font-weight:600;transition:all .2s ease;box-shadow:0 2px 6px #10b98140}.btn-save-primary:hover:not(:disabled){background:linear-gradient(135deg,#059669,#047857);box-shadow:0 4px 12px #10b98159;transform:translateY(-1px)}.btn-save-primary:disabled{opacity:.6;cursor:not-allowed;transform:none}.btn-cancel-ghost{background:transparent;color:#6b7280;border:2px solid #e5e7eb;padding:.625rem 1.75rem;border-radius:8px;cursor:pointer;font-size:.9375rem;font-weight:600;transition:all .2s ease}.btn-cancel-ghost:hover:not(:disabled){background:#f9fafb;border-color:#d1d5db;color:#4b5563}.btn-cancel-ghost:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 768px){.data-field{grid-template-columns:1fr;gap:.5rem;padding:.75rem 0}.field-label{font-size:.75rem}.field-value{font-size:.875rem}.floating-action-bar{left:1rem;right:1rem;bottom:1rem;justify-content:stretch}.btn-save-primary,.btn-cancel-ghost{flex:1}}.w2-data-view.editable{max-width:100%;margin:0;padding:0}.modal-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}.modal-content{background:#fff;border-radius:12px;width:100%;max-width:1200px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:2rem;border-bottom:1px solid var(--boost-border);background:var(--boost-navy);color:#fff;border-radius:12px 12px 0 0}.modal-header h2{margin:0;font-size:1.375rem;font-weight:600}.close-button{background:transparent;border:none;font-size:2rem;line-height:1;color:#fff;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s}.close-button:hover{background:#ffffff1a}.tabs{display:flex;gap:.5rem;padding:1.25rem 2rem 0;background:var(--boost-background);border-bottom:1px solid var(--boost-border)}.tab{padding:.5rem 1rem;background:transparent;border:none;border-bottom:2px solid transparent;cursor:pointer;font-weight:500;color:var(--boost-text-secondary);transition:all .2s}.tab:hover{color:var(--boost-text-primary)}.tab.active{color:var(--boost-blue);border-bottom-color:var(--boost-blue)}.modal-body{flex:1;overflow-y:auto;padding:2rem;background:var(--boost-background)}.modal-body.pdf-view{overflow:hidden;display:flex;flex-direction:column}.no-data{text-align:center;padding:3rem;color:var(--boost-text-secondary)}.json-view{background:#fff;padding:2rem;border-radius:8px;border:1px solid var(--boost-border);overflow-x:auto;font-family:Monaco,Courier New,monospace;font-size:.875rem;line-height:1.5}.json-view-container{position:relative}.copy-json-button{position:absolute;top:.75rem;right:.75rem;background:var(--boost-blue);color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s;box-shadow:0 2px 4px #0000001a;z-index:10}.copy-json-button:hover{background:var(--boost-navy);box-shadow:0 4px 8px #00000026}.copy-json-button:active{transform:translateY(1px);box-shadow:0 1px 2px #0000001a}.generic-data-view{background:#fff;padding:2rem;border-radius:8px;border:1px solid var(--boost-border)}.generic-data-view h3{margin-top:0;margin-bottom:1rem;color:var(--boost-navy)}.pdf-container{flex:1;display:flex;flex-direction:column;min-height:0;height:100%}.pdf-iframe{width:100%;height:100%;flex:1;border:none;border-radius:4px;background:#525659}.bulk-upload-container{width:100%;padding:1rem}.bulk-drop-zone{border:3px dashed #d1d5db;border-radius:16px;padding:4rem 2rem;text-align:center;cursor:pointer;transition:all .3s ease;background:#fafafa;margin-bottom:2rem}.bulk-drop-zone:hover{border-color:var(--boost-blue);background:#f5f7ff;transform:translateY(-2px);box-shadow:0 8px 24px #4e8cff26}.bulk-drop-zone.active{border-color:var(--boost-blue);background:#eef2ff;transform:scale(1.02);box-shadow:0 12px 32px #4e8cff33}.bulk-drop-content{pointer-events:none}.bulk-drop-content h3{margin:1rem 0 .5rem;color:#333;font-size:1.25rem}.bulk-drop-content p{color:#666;margin:.25rem 0}.bulk-drop-content p.hint{color:#999;font-size:.85rem;margin-top:1rem}.selected-files{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #0000001a}.selected-files h4{margin:0 0 1rem;color:#333;font-size:1rem}.file-list{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1.5rem;max-height:300px;overflow-y:auto}.file-item-preview{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.file-item-preview .file-name{flex:1;color:#333;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-item-preview .file-size{color:#666;font-size:.85rem}.bulk-actions{display:flex;gap:1rem;justify-content:flex-end}.btn-cancel{background:#e0e0e0;color:#333;border:none;padding:.75rem 1.5rem;border-radius:6px;cursor:pointer;font-weight:500;transition:background .2s}.btn-cancel:hover{background:#d0d0d0}.btn-primary{background:var(--boost-blue);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:6px;cursor:pointer;font-weight:500;transition:all .2s}.btn-primary:hover:not(:disabled){background:var(--boost-blue-dark);transform:translateY(-1px)}.btn-primary:disabled{background:#ccc;cursor:not-allowed;transform:none}.step-description{color:#666;margin:0 0 1rem;font-size:.95rem}.detected-list{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem;max-height:400px;overflow-y:auto}.detected-item{display:flex;align-items:center;gap:1rem;padding:1rem;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb;transition:all .3s}.detected-item.analyzing{background:#fef3c7;border-color:#fbbf24}.detected-item.complete{background:#d1fae5;border-color:#10b981}.detected-item.failed{background:#fee2e2;border-color:#ef4444}.detected-file-info{flex:1;display:flex;flex-direction:column;gap:.5rem;min-width:0}.detected-filename{color:#333;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.analysis-progress-bar{width:100%;height:6px;background:#0000001a;border-radius:3px;overflow:hidden}.analysis-progress-fill{height:100%;background:linear-gradient(90deg,var(--boost-blue) 0%,var(--boost-blue-dark) 100%);border-radius:3px;transition:width .3s ease}.analysis-status{font-size:.85rem;font-weight:500}.analysis-status.complete{color:#10b981}.analysis-status.failed{color:#ef4444}.type-select,.slot-select-inline{padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:6px;background:#fff;font-size:.9rem;cursor:pointer;min-width:150px}.type-select:focus,.slot-select-inline:focus{outline:none;border-color:var(--boost-blue)}.type-select:disabled,.slot-select-inline:disabled{opacity:.5;cursor:not-allowed;background:#f3f4f6}.slot-select-inline{margin-left:.5rem;font-weight:500;color:var(--boost-blue)}.assignment-section{margin-bottom:1rem;background:#fff;border-radius:12px;padding:1.5rem;border:1px solid #e0e0e0}.assignment-section h4{display:flex;align-items:center;gap:.5rem;margin:0 0 1rem;color:#333;font-size:1rem;font-weight:600}.assignment-item{padding:1rem;border-radius:8px;margin-bottom:.75rem;display:flex;flex-direction:column;gap:.5rem}.assignment-item.assigned{background:#f0f9ff;border:1px solid #bae6fd}.assignment-item.unassigned{background:#fffbeb;border:1px solid #fde68a}.assignment-info{display:flex;align-items:center;gap:1rem}.assignment-filename{font-weight:600;color:#333;flex:1}.assignment-slot{padding:.25rem .75rem;background:var(--boost-blue);color:#fff;border-radius:12px;font-size:.75rem;font-weight:600}.assignment-type{padding:.25rem .75rem;background:#f59e0b;color:#fff;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:capitalize}.classification-info{display:flex;gap:.5rem;flex-wrap:wrap}.detail-badge{padding:.25rem .5rem;background:#e0f2fe;color:#0369a1;border-radius:6px;font-size:.75rem;font-weight:500}.classification-reason{font-size:.85rem;color:#666;font-style:italic;margin-top:.5rem}.unassignment-details{background:#fef3c7;border-left:3px solid #f59e0b;padding:.75rem;margin-top:.75rem;border-radius:4px;font-size:.85rem}.unassignment-details .detail-row{margin:.25rem 0;color:#92400e}.unassignment-details .detail-row strong{color:#78350f;margin-right:.5rem}.unassignment-details .recommendation{margin-top:.5rem;padding-top:.5rem;border-top:1px solid #fcd34d;color:#92400e;font-weight:500}.detection-metadata{margin-top:.75rem;border:1px solid #e5e7eb;border-radius:4px;background:#f9fafb}.detection-metadata summary{padding:.5rem .75rem;cursor:pointer;font-size:.85rem;color:#6b7280;font-weight:500;-webkit-user-select:none;user-select:none}.detection-metadata summary:hover{background:#f3f4f6}.detection-metadata .metadata-content{padding:.75rem;border-top:1px solid #e5e7eb;font-size:.8rem}.detection-metadata .detail-row{margin:.25rem 0;color:#4b5563}.detection-metadata .detail-row strong{color:#374151;margin-right:.5rem}.assignment-applicant{font-size:.75rem;color:var(--boost-blue);background:#eef2ff;padding:.25rem .5rem;border-radius:4px;margin-left:.5rem}.assignment-employer{font-size:.75rem;color:#059669;background:#d1fae5;padding:.25rem .5rem;border-radius:4px;margin-left:.5rem}.applicant-detection-container{display:flex;gap:1.5rem;margin:1.5rem 0;flex-wrap:wrap}.applicant-card{flex:1;min-width:300px;background:#f9fafb;border:2px solid #e5e7eb;border-radius:8px;padding:1.5rem}.applicant-header{margin-bottom:1rem;border-bottom:1px solid #e5e7eb;padding-bottom:.75rem}.applicant-header h5{margin:0 0 .5rem;color:#4f46e5;font-size:.875rem;text-transform:uppercase;font-weight:600}.applicant-name{display:block;font-size:1.125rem;font-weight:600;color:#111827;margin-bottom:.25rem}.applicant-ssn{display:block;font-size:.875rem;color:#6b7280}.applicant-stats{margin:.75rem 0}.doc-count{display:inline-block;padding:.25rem .75rem;background:#dbeafe;color:#1e40af;border-radius:12px;font-size:.875rem;font-weight:500}.applicant-documents{margin-top:1rem}.applicant-documents h6{margin:0 0 .5rem;font-size:.875rem;color:#6b7280;font-weight:500}.applicant-documents ul{list-style:none;padding:0;margin:0}.applicant-documents li{padding:.5rem;background:#fff;border-radius:4px;margin-bottom:.25rem;font-size:.875rem;display:flex;align-items:center;gap:.5rem}.detection-notes{background:#fef3c7;border:1px solid #fbbf24;border-radius:6px;padding:1rem;margin:1rem 0}.detection-notes h6{margin:0 0 .5rem;font-size:.875rem;color:#92400e;font-weight:600}.detection-notes ul{margin:0;padding-left:1.5rem}.detection-notes li{margin:.25rem 0;color:#92400e;font-size:.875rem}.all-identities-container{margin:1.5rem 0}.all-identities-container h5{margin:0 0 1rem;font-size:1rem;color:#374151;font-weight:600}.identity-card{background:#fff;border:2px solid #e5e7eb;border-radius:8px;padding:1rem;margin-bottom:.75rem;transition:all .2s}.identity-card.assigned{border-color:#10b981;background:#f0fdf4}.identity-card.unassigned{border-color:#f59e0b;background:#fffbeb}.identity-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.75rem}.identity-info{flex:1}.identity-name{display:block;font-size:1rem;font-weight:600;color:#111827;margin-bottom:.25rem}.identity-ssn{display:block;font-size:.875rem;color:#6b7280;margin-bottom:.25rem}.identity-doc-count{display:inline-block;padding:.125rem .5rem;background:#dbeafe;color:#1e40af;border-radius:12px;font-size:.75rem;font-weight:500}.identity-assignment{flex-shrink:0}.badge{display:inline-block;padding:.375rem .75rem;border-radius:6px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em}.badge-success{background:#d1fae5;color:#065f46}.badge-warning{background:#fef3c7;color:#92400e}.identity-documents details{margin-top:.5rem;cursor:pointer}.identity-documents summary{font-size:.875rem;color:#4f46e5;font-weight:500;padding:.5rem;background:#eef2ff;border-radius:4px;-webkit-user-select:none;user-select:none}.identity-documents summary:hover{background:#e0e7ff}.identity-documents ul{list-style:none;padding:.75rem 0 0;margin:0}.identity-documents li{padding:.5rem;background:#fff;border:1px solid #e5e7eb;border-radius:4px;margin-bottom:.25rem;font-size:.875rem;color:#374151}.name-variations-container{margin-top:.75rem;padding:.75rem;background:#fef3c7;border:1px solid #fbbf24;border-radius:6px}.name-variations-summary{font-size:.875rem;font-weight:600;color:#92400e;cursor:pointer;-webkit-user-select:none;user-select:none}.name-variations-summary:hover{color:#78350f}.name-variations-list{padding-top:.75rem}.name-variations-explanation{font-size:.8125rem;color:#92400e;margin-bottom:.5rem}.name-variations-list ul{list-style:none;padding:0;margin:0}.name-variation-item{padding:.375rem .5rem;background:#fffbeb;border:1px solid #fbbf24;border-radius:4px;margin-bottom:.25rem;font-size:.875rem;font-weight:500;color:#78350f}.employer-grouping-container{margin-top:.75rem;padding:.75rem;background:#f0f9ff;border:1px solid #0284c7;border-radius:6px}.employer-grouping-header{font-size:.875rem;font-weight:600;color:#075985;margin:0 0 .75rem}.employer-card{background:#fff;border:1px solid #bae6fd;border-radius:4px;padding:.5rem .75rem;margin-bottom:.5rem}.employer-card:last-child{margin-bottom:0}.employer-header{display:flex;justify-content:space-between;align-items:center}.employer-name{font-weight:500;color:#0c4a6e;font-size:.875rem}.employer-doc-count{display:inline-block;padding:.125rem .5rem;background:#dbeafe;color:#075985;border-radius:12px;font-size:.75rem;font-weight:500}.first-name-match-warnings-section{margin-top:1.5rem;padding:1rem;background:#fffbeb;border:2px solid #f59e0b;border-radius:8px}.first-name-match-warnings-section h5{color:#92400e;margin:0 0 .5rem;font-size:1rem}.first-name-match-explanation{font-size:.875rem;color:#78350f;margin-bottom:1rem;line-height:1.5}.first-name-match-warnings-list{display:flex;flex-direction:column;gap:.75rem}.first-name-match-card{background:#fff;border:1px solid #fbbf24;border-radius:6px;padding:.75rem}.first-name-match-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem;padding-bottom:.5rem;border-bottom:1px solid #fef3c7}.first-name-match-name{font-weight:600;color:#92400e;font-size:.9375rem}.first-name-match-count{display:inline-block;padding:.25rem .5rem;background:#fef3c7;color:#78350f;border-radius:4px;font-size:.75rem;font-weight:500}.first-name-match-details{display:flex;flex-direction:column;gap:.75rem}.first-name-match-message{color:#78350f;font-size:.8125rem;line-height:1.5;margin:0;padding:.5rem;background:#fef3c7;border-radius:4px}.first-name-match-names{font-size:.8125rem;color:#374151}.first-name-match-names strong{display:block;margin-bottom:.5rem;color:#78350f}.first-name-match-names ul{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.5rem}.first-name-match-name-item{padding:.375rem .75rem;background:#fffbeb;border:1px solid #fbbf24;border-radius:4px;font-weight:500;color:#78350f}.merge-candidates-section{margin-top:1.5rem;padding:1rem;background:#f0f9ff;border:2px solid #3b82f6;border-radius:8px}.merge-candidates-section h5{color:#1e40af;margin:0 0 .5rem;font-size:1rem}.merge-candidates-explanation{font-size:.875rem;color:#1e40af;margin-bottom:1rem;line-height:1.5}.merge-candidates-list{display:flex;flex-direction:column;gap:1rem}.merge-candidate-card{background:#fff;border:2px solid #93c5fd;border-radius:8px;padding:1rem}.merge-candidate-card.confidence-high{border-color:#ef4444;background:#fef2f2}.merge-candidate-card.confidence-medium{border-color:#f59e0b;background:#fffbeb}.merge-candidate-card.confidence-low{border-color:#93c5fd;background:#fff}.merge-candidate-header{margin-bottom:1rem}.merge-confidence-badge{display:inline-block;padding:.375rem .75rem;border-radius:4px;font-size:.75rem;font-weight:600;text-transform:uppercase}.confidence-high .merge-confidence-badge{background:#fee2e2;color:#991b1b}.confidence-medium .merge-confidence-badge{background:#fef3c7;color:#78350f}.confidence-low .merge-confidence-badge{background:#dbeafe;color:#1e40af}.merge-identities-comparison{display:flex;gap:1rem;align-items:center;margin-bottom:1rem;padding:1rem;background:#f9fafb;border-radius:6px}.merge-identity{flex:1;padding:.75rem;background:#fff;border:1px solid #e5e7eb;border-radius:6px}.merge-identity h6{margin:0 0 .75rem;color:#374151;font-size:.875rem;font-weight:600;padding-bottom:.5rem;border-bottom:1px solid #e5e7eb}.identity-detail{margin:.375rem 0;font-size:.8125rem;color:#4b5563}.identity-detail strong{color:#1f2937;margin-right:.5rem}.assigned-badge{display:inline-block;margin-top:.5rem;padding:.25rem .5rem;background:#dbeafe;color:#1e40af;border-radius:4px;font-size:.75rem;font-weight:500}.merge-arrow{font-size:1.5rem;color:#6b7280}.merge-reason{margin-bottom:.75rem;padding:.75rem;background:#f9fafb;border-radius:4px;font-size:.8125rem;color:#374151}.merge-reason strong{color:#1f2937}.merge-recommendation{padding:.75rem;background:#fef3c7;border-left:3px solid #f59e0b;border-radius:4px;font-size:.8125rem;color:#78350f;font-weight:500}.unbucketed-documents-section{margin-top:1.5rem;padding:1rem;background:#fef2f2;border:2px solid #ef4444;border-radius:8px}.unbucketed-documents-section h5{color:#991b1b;margin:0 0 .5rem;font-size:1rem}.unbucketed-explanation{font-size:.875rem;color:#7f1d1d;margin-bottom:1rem}.unbucketed-documents-list{display:flex;flex-direction:column;gap:.75rem}.unbucketed-doc-card{background:#fff;border:1px solid #fca5a5;border-radius:6px;padding:.75rem}.unbucketed-doc-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.unbucketed-doc-filename{font-weight:600;color:#111827;font-size:.875rem}.unbucketed-doc-type{display:inline-block;padding:.25rem .5rem;background:#dbeafe;color:#1e40af;border-radius:4px;font-size:.75rem;font-weight:500}.unbucketed-doc-details{display:flex;flex-direction:column;gap:.375rem;font-size:.8125rem}.unbucketed-reason{color:#991b1b;padding:.5rem;background:#fee2e2;border-radius:4px}.unbucketed-extracted{color:#374151;padding-left:.5rem}.merge-applied-banner{background:linear-gradient(135deg,#d1fae5,#a7f3d0);border:3px solid #10b981;border-radius:16px;padding:2rem;margin-bottom:2rem;box-shadow:0 6px 20px #10b98133}.merge-applied-header{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}.merge-applied-icon{font-size:2rem}.merge-applied-header h5{margin:0;color:#065f46;font-size:1.5rem;font-weight:700}.merge-applied-explanation{color:#047857;margin:0 0 1.5rem;line-height:1.7;font-size:1rem}.merge-details-expanded{display:flex;flex-direction:column;gap:1.5rem;margin-bottom:1.5rem}.merge-detail-card{background:#fff;border-radius:12px;padding:1.5rem;border-left:6px solid;box-shadow:0 2px 8px #00000014}.merge-detail-card.confidence-high{border-left-color:#dc2626}.merge-detail-card.confidence-medium{border-left-color:#f59e0b}.merge-detail-card.confidence-low{border-left-color:#fbbf24}.merge-detail-header{margin-bottom:1rem}.merge-confidence-badge{display:inline-block;padding:.375rem .875rem;border-radius:20px;font-size:.75rem;font-weight:700;letter-spacing:.05em}.merge-detail-card.confidence-high .merge-confidence-badge{background:#fee2e2;color:#dc2626}.merge-detail-card.confidence-medium .merge-confidence-badge{background:#fed7aa;color:#ea580c}.merge-detail-card.confidence-low .merge-confidence-badge{background:#fef3c7;color:#ca8a04}.merge-identities-visual{display:grid;grid-template-columns:1fr auto 1fr;gap:1.5rem;align-items:center;margin-bottom:1rem;padding:1rem;background:#f9fafb;border-radius:10px}.merge-source-identity,.merge-target-identity{display:flex;flex-direction:column;gap:.5rem}.merge-identity-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:#6b7280;font-weight:600}.merge-identity-name{font-size:1.125rem;font-weight:700;color:#111827}.merge-identity-name.primary{color:#065f46;font-size:1.25rem}.merge-identity-ssn{font-size:.875rem;color:#6b7280;font-family:monospace}.merge-identity-doc-count{font-size:.875rem;color:#6b7280}.merge-target-applicant{display:inline-block;padding:.375rem .75rem;background:#10b981;color:#fff;border-radius:20px;font-size:.8125rem;font-weight:600;margin-top:.5rem;align-self:flex-start}.merge-arrow-visual{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;position:relative}.merge-arrow-line{width:60px;height:2px;background:#10b981}.merge-arrow-icon{font-size:1.5rem;color:#10b981;font-weight:700}.merge-arrow-text{font-size:.75rem;color:#047857;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.merge-reason-box{background:#f3f4f6;padding:.875rem;border-radius:8px;margin-bottom:.75rem;color:#374151;font-size:.9375rem}.merge-recommendation-box{background:#ecfdf5;padding:.875rem;border-radius:8px;border-left:3px solid #10b981;color:#065f46;font-size:.9375rem;margin-bottom:1rem}.merge-documents-list{margin-top:1rem}.merge-documents-list summary{cursor:pointer;color:var(--boost-blue);font-weight:600;padding:.75rem;background:#f3f4f6;border-radius:8px;transition:background .2s}.merge-documents-list summary:hover{background:#e5e7eb}.merge-documents-grid{margin-top:1rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:.75rem}.merge-document-item{display:flex;align-items:center;gap:.5rem;padding:.625rem;background:#fff;border:1px solid #e5e7eb;border-radius:8px;font-size:.875rem}.merge-doc-icon{font-size:1.125rem;flex-shrink:0}.merge-doc-filename{flex:1;color:#374151;font-weight:500;word-break:break-word}.merge-doc-badge{font-size:.75rem;padding:.25rem .5rem;background:#fef3c7;color:#92400e;border-radius:12px;white-space:nowrap;flex-shrink:0}.merge-action-required{background:#fff7ed;border:2px solid #f59e0b;border-radius:10px;padding:1rem 1.5rem;color:#92400e;font-size:1rem;text-align:center;font-weight:600}.merge-info-inline{display:flex;align-items:center;gap:.375rem;margin-top:.5rem;padding:.5rem;background:#ecfdf5;border-radius:6px;font-size:.8125rem;flex-wrap:wrap}.merge-info-label{color:#047857;font-weight:600}.merge-info-from{color:#6b7280;font-weight:500}.merge-info-arrow{color:#10b981;font-weight:700}.merge-info-to{color:#065f46;font-weight:700}.document-review-card.merged{border-color:#a7f3d0;background:linear-gradient(to bottom,#fff,#ecfdf5)}.document-review-card.merged .status-badge{background:#a7f3d0;color:#065f46}.merge-warning-banner{background:linear-gradient(135deg,#fef3c7,#fde68a);border:2px solid #f59e0b;border-radius:12px;padding:1.5rem;margin-bottom:1.5rem;box-shadow:0 4px 12px #f59e0b26}.merge-warning-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.merge-warning-icon{font-size:1.5rem}.merge-warning-header h5{margin:0;color:#92400e;font-size:1.125rem}.merge-warning-banner p{color:#78350f;margin:0 0 .75rem;line-height:1.6}.merge-warning-details summary{cursor:pointer;color:#92400e;font-weight:600;padding:.5rem;border-radius:6px;transition:background .2s}.merge-warning-details summary:hover{background:#ffffff80}.merge-warning-list{margin-top:.75rem;display:flex;flex-direction:column;gap:.5rem}.merge-warning-item{background:#fff;border-radius:8px;padding:.75rem;border-left:4px solid}.merge-warning-item.confidence-high{border-left-color:#dc2626}.merge-warning-item.confidence-medium{border-left-color:#f59e0b}.merge-warning-item.confidence-low{border-left-color:#fbbf24}.merge-warning-confidence{font-weight:700;font-size:.75rem;margin-bottom:.375rem;text-transform:uppercase;letter-spacing:.05em}.merge-warning-item.confidence-high .merge-warning-confidence{color:#dc2626}.merge-warning-item.confidence-medium .merge-warning-confidence{color:#f59e0b}.merge-warning-names{font-weight:600;color:#111827;margin-bottom:.375rem;font-size:.9375rem}.merge-warning-reason{color:#6b7280;font-size:.8125rem}.assignment-summary-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1.5rem}.stat-item{background:#fff;border-radius:12px;padding:1.25rem;display:flex;flex-direction:column;align-items:center;gap:.5rem;box-shadow:0 2px 8px #00000014;transition:transform .2s,box-shadow .2s}.stat-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001f}.stat-item.stat-assigned{border-top:4px solid #10b981}.stat-item.stat-unassigned{border-top:4px solid #f59e0b}.stat-item.stat-total{border-top:4px solid var(--boost-blue)}.stat-icon{font-size:1.75rem}.stat-label{font-size:.8125rem;color:#6b7280;font-weight:500;text-transform:uppercase;letter-spacing:.05em}.stat-value{font-size:2rem;font-weight:700;color:#111827}.unified-document-list{margin-bottom:1.5rem}.applicant-group-section{background:#f9fafb;border-radius:12px;padding:1.25rem;margin-bottom:1.5rem;border:1px solid #e5e7eb}.applicant-group-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:2px solid #d1d5db}.applicant-group-header h5{margin:0;font-size:1.125rem;color:#111827;display:flex;align-items:center;gap:.5rem}.applicant-group-header .doc-count{background:var(--boost-blue);color:#fff;padding:.25rem .75rem;border-radius:20px;font-size:.8125rem;font-weight:600}.employer-group-section{margin-bottom:1.25rem}.employer-group-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem;padding:.5rem .75rem;background:#fff;border-radius:8px;border-left:4px solid #10b981}.employer-group-header h6{margin:0;font-size:1rem;color:#374151;display:flex;align-items:center;gap:.5rem}.employer-group-header .doc-count{background:#10b981;color:#fff;padding:.2rem .6rem;border-radius:12px;font-size:.75rem;font-weight:600}.document-cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1rem}.document-review-card{background:#fff;border-radius:10px;padding:1rem;border:2px solid;transition:all .2s;box-shadow:0 2px 6px #0000000f;position:relative}.document-review-card.assigned{border-color:#d1fae5;background:linear-gradient(to bottom,#fff,#f0fdf4)}.document-review-card.unassigned{border-color:#fed7aa;background:linear-gradient(to bottom,#fff,#fffbeb)}.document-review-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001f}.status-badge{display:inline-block;padding:.25rem .625rem;border-radius:12px;font-size:.75rem;font-weight:600;white-space:nowrap}.status-badge.status-assigned{background:#d1fae5;color:#065f46}.status-badge.status-unassigned{background:#fed7aa;color:#92400e}.document-review-info{margin-bottom:.75rem}.document-badges-row{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.document-filename{font-weight:600;color:#111827;font-size:.9375rem;margin-bottom:.375rem;word-break:break-word}.document-type-badge{display:inline-block;padding:.25rem .5rem;background:#dbeafe;color:#1e40af;border-radius:6px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em}.assignment-dropdown-section{margin-bottom:.75rem}.assignment-dropdown-section label{display:block;font-size:.8125rem;color:#6b7280;font-weight:600;margin-bottom:.375rem;text-transform:uppercase;letter-spacing:.05em}.assignment-fields-row{display:flex;align-items:center;gap:.75rem;width:100%}.assignment-field-inline{flex:1;display:flex;flex-direction:column;gap:.375rem}.assignment-field-inline label{font-size:.75rem;color:#6b7280;font-weight:600;text-transform:uppercase;letter-spacing:.05em;margin:0}.assignment-dropdown-inline{width:100%;padding:.5rem .625rem;border:2px solid #d1d5db;border-radius:6px;font-size:.875rem;color:#111827;background:#fff;cursor:pointer;transition:all .2s}.assignment-dropdown-inline:hover{border-color:var(--boost-blue)}.assignment-dropdown-inline:focus{outline:none;border-color:var(--boost-blue);box-shadow:0 0 0 3px #4e8cff1a}.btn-delete-document-small{flex-shrink:0;align-self:flex-end;padding:.5rem .75rem;background:#fee2e2;color:#991b1b;border:1px solid #fca5a5;border-radius:6px;cursor:pointer;font-size:.875rem;transition:all .2s}.btn-delete-document-small:hover{background:#fecaca;border-color:#f87171}.assignment-dropdown{width:100%;padding:.625rem;border:2px solid #d1d5db;border-radius:8px;font-size:.875rem;color:#111827;background:#fff;cursor:pointer;transition:all .2s}.assignment-dropdown:hover{border-color:var(--boost-blue)}.assignment-dropdown:focus{outline:none;border-color:var(--boost-blue);box-shadow:0 0 0 3px #4e8cff1a}.classification-info-compact{display:flex;flex-wrap:wrap;gap:.375rem;margin-bottom:.5rem}.detail-badge-compact{display:inline-block;padding:.25rem .5rem;background:#f3f4f6;color:#374151;border-radius:6px;font-size:.75rem;font-weight:500}.unassignment-details-compact{background:#fef3c7;border-left:3px solid #f59e0b;padding:.625rem;border-radius:6px;margin-bottom:.5rem;font-size:.8125rem}.unassignment-reason{color:#92400e;font-weight:600;margin-bottom:.375rem}.unassignment-recommendation{color:#78350f;font-style:italic}.detection-metadata-compact{margin-top:.5rem;font-size:.8125rem}.detection-metadata-compact summary{cursor:pointer;color:var(--boost-blue);font-weight:600;padding:.375rem 0;transition:color .2s}.detection-metadata-compact summary:hover{color:#4f5bd5}.metadata-content-compact{margin-top:.5rem;padding:.625rem;background:#f9fafb;border-radius:6px;color:#6b7280;line-height:1.6}.metadata-content-compact div{margin-bottom:.25rem}.metadata-content-compact div:last-child{margin-bottom:0}.btn-approve{background:linear-gradient(135deg,#10b981,#059669);font-weight:700;box-shadow:0 4px 12px #10b9814d}.btn-approve:hover{background:linear-gradient(135deg,#059669,#047857);box-shadow:0 6px 16px #10b98166;transform:translateY(-2px)}.btn-view-document-inline{width:100%;margin-top:.75rem;padding:.5rem 1rem;background-color:var(--boost-blue);color:#fff;border:none;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-view-document-inline:hover{background-color:var(--boost-blue-dark);transform:translateY(-1px)}.modal-overlay-viewer{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080!important;display:flex;justify-content:center;align-items:center;z-index:10000;padding:3rem!important}.modal-content-viewer{background:#fff;border-radius:12px;max-width:1200px;width:100%;max-height:90vh;overflow:hidden;box-shadow:0 20px 60px #0000004d}@media (max-width: 768px){.assignment-summary-stats,.document-cards-grid{grid-template-columns:1fr}.applicant-group-header,.employer-group-header{flex-direction:column;align-items:flex-start;gap:.5rem}.modal-overlay-viewer{padding:.5rem}.modal-content-viewer{max-height:95vh}}.resume-banner{background:linear-gradient(135deg,var(--boost-blue) 0%,var(--boost-blue-dark) 100%);color:#fff;padding:1rem 1.5rem;border-radius:12px;margin-bottom:1.5rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 4px 12px #4e8cff4d;animation:slideIn .3s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.resume-banner-content{display:flex;align-items:center;gap:1rem}.resume-text strong{display:block;font-size:1.1rem;margin-bottom:.25rem}.resume-text p{margin:0;opacity:.9;font-size:.9rem}.btn-resume{padding:.75rem 1.5rem;background:#fff;color:var(--boost-blue);border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.btn-resume:hover{transform:translateY(-2px);box-shadow:0 4px 12px #ffffff4d}.analyzing-overlay{position:fixed;bottom:20px;right:20px;z-index:10000;animation:slideInRight .3s ease-out}.analyzing-banner{background:#fff;border-radius:12px;padding:1.25rem 1.5rem;box-shadow:0 8px 24px #00000026;display:flex;align-items:center;gap:1rem;min-width:320px;border-left:4px solid var(--boost-blue)}.spinner{width:32px;height:32px;border:3px solid #e5e7eb;border-top-color:var(--boost-blue);border-radius:50%;animation:spin 1s linear infinite}.analyzing-text strong{display:block;color:#333;font-size:1rem;margin-bottom:.25rem}.analyzing-text p{margin:0;color:#666;font-size:.85rem;line-height:1.4}.progress-text{color:var(--boost-blue)!important;font-weight:600;margin-top:.5rem!important}.bulk-upload-progress-overlay{position:fixed;bottom:20px;right:20px;z-index:10000;animation:slideInRight .3s ease-out;pointer-events:none}@keyframes slideInRight{0%{opacity:0;transform:translate(100px)}to{opacity:1;transform:translate(0)}}.bulk-upload-progress-card{background:#fff;border-radius:12px;padding:1.25rem 1.5rem;box-shadow:0 8px 24px #00000026;display:flex;align-items:center;gap:1rem;min-width:320px;border-left:4px solid var(--boost-blue);pointer-events:auto}.bulk-upload-progress-card.clickable{cursor:pointer;transition:all .2s}.bulk-upload-progress-card.clickable:hover{transform:translateY(-2px);box-shadow:0 12px 32px #0003;border-left-color:var(--boost-blue-dark)}.bulk-upload-progress-card.complete{border-left-color:#10b981;background:linear-gradient(135deg,#fff,#f0fdf4)}.bulk-upload-progress-card.complete:hover{border-left-color:#059669}.progress-icon-complete{width:32px;height:32px;font-size:32px;line-height:32px;flex-shrink:0;animation:bounceIn .5s ease-out}@keyframes bounceIn{0%{transform:scale(0)}50%{transform:scale(1.2)}to{transform:scale(1)}}.progress-hint{color:var(--boost-blue)!important;font-size:.75rem!important;margin-top:.25rem!important;font-style:italic}.progress-spinner{width:32px;height:32px;border:3px solid #e5e7eb;border-top-color:var(--boost-blue);border-radius:50%;animation:spin 1s linear infinite;flex-shrink:0}.progress-info{flex:1}.progress-info strong{display:block;color:#333;font-size:1rem;margin-bottom:.25rem}.progress-info p{margin:0;color:#666;font-size:.85rem;line-height:1.4}.progress-count{color:var(--boost-blue)!important;font-weight:600;margin-top:.5rem!important}.inline-doc-viewer{background:#fff;border:1px solid var(--boost-border);border-radius:8px;padding:0;overflow:hidden}.view-toggle-bar{display:flex;gap:.75rem;padding:1rem;background:var(--boost-background);border-bottom:1px solid var(--boost-border);align-items:center;flex-wrap:wrap}.view-toggle-btn{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#fff;border:2px solid var(--boost-border);border-radius:6px;cursor:pointer;transition:all .2s;font-weight:500;color:var(--boost-text-secondary);font-size:.9375rem}.view-toggle-btn:hover{border-color:var(--boost-blue);color:var(--boost-blue)}.view-toggle-btn.active{background:var(--boost-blue);color:#fff;border-color:var(--boost-blue)}.action-buttons{margin-left:auto;display:flex;gap:.5rem}.btn-process{padding:.5rem 1rem;background:var(--boost-success);color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:600;transition:all .2s;box-shadow:0 2px 4px #10b9814d}.btn-process:hover{background:#059669;transform:translateY(-1px);box-shadow:0 4px 8px #10b98166}.btn-delete-inline{padding:.5rem 1rem;background:transparent;color:var(--boost-error);border:1px solid var(--boost-error);border-radius:6px;cursor:pointer;font-weight:600;transition:all .2s}.btn-delete-inline:hover{background:var(--boost-error);color:#fff}.viewer-content{padding:.75rem;max-height:70vh;overflow-y:auto}.pdf-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px}.pdf-iframe{width:100%;height:600px;border:none;border-radius:4px;background:#525659}.loading-message,.error-message{padding:2rem;text-align:center;color:var(--boost-text-secondary)}.error-message{color:var(--boost-error)}.json-view{background:#282c34;color:#abb2bf;padding:1rem;border-radius:6px;overflow-x:auto;font-family:Monaco,Menlo,Ubuntu Mono,Consolas,monospace;font-size:.875rem;line-height:1.5;margin:0}.no-data{padding:3rem 2rem;text-align:center;color:var(--boost-text-secondary)}.no-data p{margin:.5rem 0}.no-data .hint{font-size:.875rem;color:var(--boost-text-secondary);opacity:.8}.generic-data-view{padding:1rem}.generic-data-view h3{color:var(--boost-navy);margin-bottom:1rem;font-weight:700}@media (max-width: 768px){.view-toggle-bar{flex-direction:column;align-items:stretch}.action-buttons{margin-left:0;width:100%}.viewer-content{max-height:50vh}}.doc-version-tabs-container{margin-top:1rem}.version-tabs{display:flex;gap:.5rem;margin-bottom:1rem;background:var(--boost-background);padding:.75rem;border-radius:8px;overflow-x:auto}.version-tab{padding:.5rem 1rem;background:#fff;border:2px solid var(--boost-border);border-radius:6px;cursor:pointer;transition:all .2s;font-weight:500;white-space:nowrap;color:var(--boost-text-secondary)}.version-tab:hover{border-color:var(--boost-blue);color:var(--boost-blue)}.version-tab.active{background:var(--boost-blue);color:#fff;border-color:var(--boost-blue);font-weight:600}.employer-doc-tabs-container{margin-top:1.5rem}.doc-type-tabs{display:flex;gap:.5rem;border-bottom:2px solid var(--boost-border);margin-bottom:1.5rem;overflow-x:auto}.doc-type-tab{padding:.75rem 1.5rem;background:none;border:none;border-bottom:3px solid transparent;color:var(--boost-text-secondary);cursor:pointer;transition:all .2s;font-weight:500;white-space:nowrap;display:flex;align-items:center;gap:.5rem}.doc-type-tab:hover:not(.disabled){color:var(--boost-blue);background:var(--boost-background)}.doc-type-tab.active{color:var(--boost-blue);border-bottom-color:var(--boost-blue);font-weight:600}.doc-type-tab.disabled{opacity:.4;cursor:not-allowed}.doc-type-badge{background:var(--boost-blue);color:#fff;padding:.125rem .5rem;border-radius:12px;font-size:.75rem;font-weight:600}.doc-type-tab.active .doc-type-badge{background:#fff;color:var(--boost-blue)}.empty-doc-type{padding:2rem;text-align:center;color:var(--boost-text-secondary);background:var(--boost-background);border-radius:8px}.loan-application-detail{min-height:100vh;background:var(--boost-background);padding:2rem}.detail-header{position:sticky;top:0;z-index:100;background:var(--boost-navy);padding:1rem 2rem;border-radius:0;box-shadow:0 2px 8px #00000026;margin-bottom:2rem}.header-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.header-left{display:flex;align-items:center;gap:1.5rem}.app-name{color:#fff;font-size:1.5rem;font-weight:600;margin:0}.back-button{background:#ffffff26;color:#fff;border:1px solid rgba(255,255,255,.3);padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .2s;line-height:1.5}.back-button:hover{background:#ffffff40;border-color:#ffffff80;transform:translateY(-1px)}.header-actions{display:flex;gap:.75rem;align-items:center}.automated-mode-button{background:var(--boost-success);color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:600;transition:all .2s;line-height:1.5;box-shadow:0 2px 4px #22c55e4d}.automated-mode-button:hover{background:#16a34a;transform:translateY(-1px);box-shadow:0 4px 8px #22c55e66}.calculate-income-button{background:var(--boost-warning);color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:600;transition:all .2s;line-height:1.5;box-shadow:0 2px 4px #f59e0b4d}.calculate-income-button:hover:not(:disabled){background:#d97706;transform:translateY(-1px);box-shadow:0 4px 8px #f59e0b66}.calculate-income-button:disabled{background:#d1d5db;color:#9ca3af;cursor:not-allowed;opacity:.6;box-shadow:none}.bulk-upload-button{background:var(--boost-blue);color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:600;transition:all .2s;line-height:1.5;box-shadow:0 2px 4px #4e8cff4d}.bulk-upload-button:hover{background:var(--boost-blue-dark);transform:translateY(-1px);box-shadow:0 4px 8px #4e8cff66}.reclassify-button{background:#8b5cf6;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:600;transition:all .2s;line-height:1.5;box-shadow:0 2px 4px #8b5cf64d}.reclassify-button:hover{background:#7c3aed;transform:translateY(-1px);box-shadow:0 4px 8px #8b5cf666}.add-applicant-button{background:#06b6d4;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:600;transition:all .2s;line-height:1.5;box-shadow:0 2px 4px #06b6d44d}.add-applicant-button:hover{background:#0891b2;transform:translateY(-1px);box-shadow:0 4px 8px #06b6d466}.pull-docs-button{background:var(--boost-success);color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:600;transition:all .2s;line-height:1.5;box-shadow:0 2px 4px #10b9814d}.pull-docs-button:hover{background:#059669;transform:translateY(-1px);box-shadow:0 4px 8px #10b98166}.delete-app-button{background:var(--boost-error);color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:600;transition:all .2s;line-height:1.5;box-shadow:0 2px 4px #ef44444d}.delete-app-button:hover{background:#dc2626;transform:translateY(-1px);box-shadow:0 4px 8px #ef444466}.detail-header h1{margin:0;color:#fff;font-size:1.75rem;font-weight:700}.application-metadata-compact{display:flex;flex-wrap:wrap;gap:1.5rem;align-items:center;padding:.75rem 0;border-top:1px solid #e5e7eb}.metadata-item-inline{display:flex;align-items:center;gap:.5rem}.metadata-label{font-size:.75rem;font-weight:600;color:#ffffffb3;text-transform:uppercase;letter-spacing:.5px}.metadata-value{font-size:.875rem;font-weight:500;color:#fff}.status-badge{padding:.25rem .75rem;border-radius:12px;font-size:.85rem;font-weight:600;text-transform:capitalize}.status-badge.draft{background:#e3f2fd;color:#1976d2}.status-badge.in_progress{background:#fff3e0;color:#f57c00}.status-badge.submitted{background:#f3e5f5;color:#7b1fa2}.status-badge.approved{background:#e8f5e9;color:#388e3c}.status-badge.rejected{background:#ffebee;color:#d32f2f}.detail-content{background:var(--boost-white);padding:var(--space-8);border-radius:var(--radius-xl);box-shadow:var(--shadow-card)}.section-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem;gap:2rem}.section-header>div:first-child{flex:1}.upload-section h2{color:var(--boost-navy);margin-bottom:.5rem;font-weight:700}.section-description{color:var(--boost-gray-600);margin-bottom:0}.requirement-notice{background:#fef3c7;border:1px solid #f59e0b;border-radius:8px;padding:.75rem 1rem;margin-top:1rem;color:#92400e;font-size:.9rem}.requirement-notice strong{color:#78350f}.section-header-buttons{display:flex;gap:.75rem;align-items:center}.section-actions{display:flex;gap:.75rem;align-items:flex-start;flex-shrink:0}.upload-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem;margin-top:2rem}.upload-slot{display:flex;flex-direction:column;gap:1rem}.upload-slot h3{margin:0;font-size:.875rem;color:var(--boost-text-secondary);font-weight:600;background:var(--boost-background);padding:.75rem 1rem;border-radius:8px;border:1px solid var(--boost-border);height:4.5rem;display:flex;align-items:center;text-transform:uppercase;letter-spacing:.5px}.document-card-inline{display:flex;align-items:center;gap:1rem;background:#fff;padding:1.25rem;border-radius:8px;border:1px solid #e0e0e0;min-height:160px;flex-wrap:wrap}.document-icon{min-width:32px;min-height:32px;flex-shrink:0}.document-info{flex:1 1 auto;min-width:0;overflow-wrap:break-word}.document-name{font-weight:500;color:#333;word-break:break-word;overflow-wrap:break-word;line-height:1.4;white-space:normal}.document-actions{display:flex;gap:.5rem;align-items:center;flex-shrink:0;flex-wrap:wrap}.document-status{padding:.125rem .5rem;border-radius:8px;font-size:.75rem;font-weight:600;text-transform:capitalize}.document-status.pending{background:#fff3e0;color:#f57c00}.document-status.uploaded{background:#e3f2fd;color:#1976d2}.document-status.processing{background:#f3e5f5;color:#7b1fa2}.document-status.completed{background:#e8f5e9;color:#388e3c}.btn-view-doc,.btn-process-doc,.btn-delete-doc{background:transparent;border:1px solid #ddd;font-size:.85rem;font-weight:500;cursor:pointer;padding:.4rem .75rem;border-radius:6px;transition:all .2s;white-space:nowrap;flex-shrink:0}.btn-view-doc{color:var(--boost-blue);border-color:var(--boost-blue)}.btn-view-doc:hover{background:var(--boost-blue);color:#fff}.btn-process-doc{color:#10b981;border-color:#10b981;min-width:85px;display:flex;align-items:center;justify-content:center}.btn-process-doc:hover:not(:disabled){background:#10b981;color:#fff}.btn-delete-doc{color:#ef4444;border-color:#ef4444;font-size:1.2rem;width:32px;height:32px;padding:0;display:flex;align-items:center;justify-content:center}.btn-delete-doc:hover:not(:disabled){background:#ef4444;color:#fff}.btn-process-doc:disabled,.btn-delete-doc:disabled{opacity:.5;cursor:not-allowed}.processing-spinner{display:inline-block;width:14px;height:14px;border:2px solid #10b981;border-top-color:transparent;border-radius:50%;animation:spin .6s linear infinite}.processed-check{color:#10b981;font-weight:700}.processed-badge{padding:.25rem .5rem;border-radius:12px;font-size:.7rem;font-weight:600;background:#10b981;color:#fff;white-space:nowrap}.loading-container,.error-container{min-height:100vh;display:flex;align-items:center;justify-content:center;font-size:1.2rem;color:var(--boost-navy);background:var(--boost-background)}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content.document-modal{background:var(--boost-white);border-radius:var(--radius-xl);padding:0;max-width:1200px;width:95%;max-height:90vh;display:flex;flex-direction:column;overflow:visible}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:var(--space-6) var(--space-8);border-bottom:1px solid var(--boost-gray-200)}.modal-header h2{margin:0;color:var(--boost-white);font-size:var(--text-2xl);font-weight:var(--font-bold)}.modal-close{background:none;border:none;font-size:2rem;cursor:pointer;color:var(--boost-gray-500);padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;line-height:1;transition:color var(--transition-fast)}.modal-close:hover{color:var(--boost-gray-800)}.modal-body{padding:var(--space-8);overflow-y:auto;flex:1;min-height:0}.extracted-data h3{margin:0 0 var(--space-4) 0;color:var(--boost-gray-800)}.json-view{background:var(--boost-gray-100);padding:var(--space-4);border-radius:var(--radius-lg);overflow-x:auto;font-family:Courier New,monospace;font-size:var(--text-sm);line-height:1.5;color:var(--boost-gray-800);white-space:pre-wrap;word-wrap:break-word}.data-model-view h3{margin:0 0 var(--space-4) 0;color:var(--boost-gray-800)}.model-fields{display:flex;flex-direction:column;gap:.75rem}.model-field{display:grid;grid-template-columns:200px 1fr;gap:var(--space-4);padding:var(--space-3);background:var(--boost-gray-50);border-radius:var(--radius-md);align-items:start}.field-label{font-weight:var(--font-semibold);color:var(--boost-gray-700);word-break:break-word}.field-value{color:var(--boost-gray-800);word-break:break-all}.pdf-viewer-container{width:100%;height:70vh;max-height:70vh;background:#525659;border-radius:4px;overflow:auto}.pdf-viewer{width:100%;height:100%;border:none}.modal-content.bulk-upload-modal{background:var(--boost-white);border-radius:var(--radius-xl);padding:0;max-width:900px;width:90%;max-height:85vh;display:flex;flex-direction:column}.bulk-upload-modal .modal-header{background:var(--boost-navy)}.bulk-upload-modal .modal-header h2{color:#fff!important;font-size:1.5rem;font-weight:700}.bulk-upload-modal .modal-close{color:#fff}.modal-content.pull-docs-modal{background:var(--boost-white);border-radius:var(--radius-xl);padding:0;max-width:600px;width:90%}.pull-docs-modal .modal-header{background:var(--boost-navy)}.pull-docs-modal .modal-header h2{color:#fff!important;font-size:1.5rem;font-weight:700}.pull-docs-modal .modal-close{color:#fff}.pull-docs-form{padding:var(--space-8);display:flex;flex-direction:column;gap:var(--space-6)}.modal-description{color:var(--boost-gray-600);margin:0;font-size:var(--text-sm)}.doc-type-group{border:1px solid var(--boost-gray-200);border-radius:var(--radius-lg);padding:var(--space-4);background:var(--boost-gray-50)}.doc-type-header{margin-bottom:.75rem}.checkbox-label{display:flex;align-items:center;gap:var(--space-3);cursor:pointer;font-weight:var(--font-medium);color:var(--boost-gray-800);font-size:var(--text-base)}.checkbox-label input[type=checkbox]{width:18px;height:18px;cursor:pointer}.checkbox-label span{-webkit-user-select:none;user-select:none}.doc-type-options{display:flex;align-items:center;gap:.75rem;padding-left:2rem;margin-top:.5rem}.doc-type-options label{color:var(--boost-gray-600);font-size:var(--text-sm);font-weight:var(--font-medium)}.doc-type-options select{padding:var(--space-2) var(--space-3);border:1px solid var(--boost-gray-300);border-radius:var(--radius-md);font-size:var(--text-sm);background:var(--boost-white);cursor:pointer;transition:border-color var(--transition-fast)}.doc-type-options select:focus{outline:none;border-color:var(--boost-blue)}.form-actions{display:flex;gap:1rem;justify-content:flex-end;padding-top:1rem}.btn-cancel{background:var(--boost-gray-200);color:var(--boost-gray-800);border:none;padding:var(--space-3) var(--space-6);border-radius:var(--radius-md);cursor:pointer;font-weight:var(--font-medium);transition:background var(--transition-base)}.btn-cancel:hover{background:var(--boost-gray-300)}.btn-create{background:var(--boost-blue);color:var(--boost-white);border:none;padding:var(--space-3) var(--space-6);border-radius:var(--radius-md);cursor:pointer;font-weight:var(--font-medium);transition:background var(--transition-base)}.btn-create:hover{background:var(--boost-blue-dark)}.unassigned-section{background:var(--boost-white);padding:var(--space-8);border-radius:var(--radius-xl);box-shadow:var(--shadow-md);margin-top:var(--space-8)}.unassigned-section h2{margin:0 0 var(--space-2) 0;color:var(--boost-gray-800);font-size:var(--text-2xl)}.unassigned-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem;margin-top:1.5rem}.unassigned-card{background:#fffbeb;border:2px solid #fde68a;border-radius:12px;padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.unassigned-card-header{display:flex;align-items:center;gap:.75rem}.unassigned-filename{flex:1;font-weight:var(--font-semibold);color:var(--boost-gray-800);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btn-delete-small{background:var(--boost-error);color:var(--boost-white);border:none;width:24px;height:24px;border-radius:var(--radius-full);cursor:pointer;font-size:var(--text-base);display:flex;align-items:center;justify-content:center;transition:all var(--transition-base);flex-shrink:0}.btn-delete-small:hover{background:var(--boost-error-dark);transform:scale(1.1)}.unassigned-reason{background:#fef3c7;padding:.75rem;border-radius:6px;font-size:.9rem;color:#92400e;border-left:3px solid #f59e0b}.unassigned-reason strong{color:#78350f}.unassigned-assign{display:flex;gap:.75rem;align-items:center}.slot-select{flex:1;padding:.75rem;border:2px solid #d1d5db;border-radius:6px;background:#fff;font-size:.9rem;cursor:pointer;transition:border-color .2s}.slot-select:focus{outline:none;border-color:var(--boost-blue)}.btn-assign{background:var(--boost-blue);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:6px;cursor:pointer;font-weight:600;transition:all .2s;white-space:nowrap}.btn-assign:hover:not(:disabled){background:var(--boost-blue-dark);transform:translateY(-1px)}.btn-assign:disabled{background:#ccc;cursor:not-allowed;transform:none}.btn-view-unassigned{background:#10b981;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.85rem;font-weight:500;transition:all .2s;width:100%}.btn-view-unassigned:hover{background:#059669;transform:translateY(-1px)}.joint-app-badge{display:inline-block;padding:.375rem .75rem;background:linear-gradient(135deg,var(--boost-blue) 0%,var(--boost-blue-dark) 100%);color:#fff;border-radius:20px;font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.doc-count-badge{margin-left:.5rem;padding:.125rem .5rem;background:#dbeafe;color:#1e40af;border-radius:12px;font-size:.75rem;font-weight:500}.document-filter-tabs{display:flex;gap:.5rem;margin:1.5rem 0;border-bottom:2px solid #e5e7eb;padding-bottom:0}.tab-button{padding:.75rem 1.5rem;background:none;border:none;border-bottom:3px solid transparent;color:#6b7280;font-size:.9375rem;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap}.tab-button:hover{color:var(--boost-blue);background:#f9fafb}.tab-button.active{color:var(--boost-blue);border-bottom-color:var(--boost-blue);font-weight:600}.borrower-info .metadata-value{display:flex;align-items:center;gap:.5rem}.nested-document-view{display:flex;flex-direction:column;gap:2rem}.collapse-icon{font-size:.75rem;color:#6b7280;transition:transform .2s;-webkit-user-select:none;user-select:none}.applicant-section{background:var(--boost-white);border-radius:var(--radius-xl);padding:var(--space-6);box-shadow:var(--shadow-card);border:1px solid var(--boost-border)}.applicant-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:1rem;border-bottom:2px solid #e5e7eb;margin-bottom:1.5rem}.applicant-header h3{margin:0;font-size:1.25rem;color:var(--boost-navy);font-weight:700;display:flex;align-items:center;gap:.5rem}.applicant-header .document-count{background:var(--boost-blue);color:#fff;padding:.25rem .75rem;border-radius:12px;font-size:.875rem;font-weight:600}.employer-section{margin-bottom:var(--space-6);background:var(--boost-gray-50);border-radius:var(--radius-lg);padding:var(--space-4);border-left:4px solid var(--boost-success)}.employer-section:last-child{margin-bottom:0}.employer-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid #e5e7eb}.employer-header h4{margin:0;font-size:var(--text-base);color:var(--boost-gray-700);display:flex;align-items:center;gap:var(--space-2)}.employer-header .doc-count{background:#d1fae5;color:#065f46;padding:.25rem .5rem;border-radius:8px;font-size:.75rem;font-weight:600}.employer-documents{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}.upload-slot.nested{background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:1rem}.upload-slot.nested h5{margin:0 0 .75rem;font-size:.875rem;color:#6b7280;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.upload-slot.nested.empty{background:#f9fafb;border:2px dashed #d1d5db;opacity:.7}.empty-slot-placeholder{display:flex;align-items:center;justify-content:center;min-height:100px;padding:1.5rem;color:#9ca3af;font-style:italic;font-size:.875rem}.empty-state{text-align:center;padding:var(--space-12) var(--space-8);background:var(--boost-white);border-radius:var(--radius-xl);color:var(--boost-gray-500)}.unassigned-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem;gap:2rem}.unassigned-header-left{flex:1}.unassigned-bulk-actions{display:flex;align-items:center;gap:1rem}.select-all-checkbox{display:flex;align-items:center;gap:var(--space-2);cursor:pointer;font-size:var(--text-sm);font-weight:var(--font-medium);color:var(--boost-gray-700);-webkit-user-select:none;user-select:none}.select-all-checkbox input[type=checkbox]{width:18px;height:18px;cursor:pointer}.bulk-delete-btn{background:var(--boost-error-dark);color:var(--boost-white);border:none;padding:var(--space-2) var(--space-5);border-radius:var(--radius-lg);font-size:var(--text-sm);font-weight:var(--font-semibold);cursor:pointer;transition:all var(--transition-base);white-space:nowrap}.bulk-delete-btn:hover{background:#b91c1c;transform:translateY(-1px);box-shadow:0 4px 8px #dc26264d}.unassigned-card{position:relative;transition:all .2s}.unassigned-card.selected{box-shadow:0 0 0 3px #6366f14d;border-color:#6366f1}.unassigned-checkbox{width:20px;height:20px;cursor:pointer;margin-right:.5rem}.unassigned-card-header{display:flex;align-items:center;gap:.5rem}.individual-upload-form{padding:1rem 0}.upload-description{color:#6b7280;margin-bottom:1.5rem;font-size:.9375rem}.form-section{margin-bottom:1.25rem}.form-label{display:block;font-weight:var(--font-semibold);color:var(--boost-gray-700);margin-bottom:var(--space-2);font-size:var(--text-sm)}.file-input{display:block;width:100%;padding:.625rem;border:2px dashed #d1d5db;border-radius:8px;cursor:pointer;transition:border-color .2s}.file-input:hover{border-color:var(--boost-blue)}.selected-file-info{display:flex;align-items:center;gap:.5rem;padding:.75rem;background:#f3f4f6;border-radius:8px;margin-top:.5rem}.file-icon{font-size:1.5rem}.file-name{flex:1;color:var(--boost-gray-700);font-weight:var(--font-medium);font-size:var(--text-sm)}.file-remove{background:var(--boost-error);color:var(--boost-white);border:none;width:24px;height:24px;border-radius:var(--radius-full);font-size:var(--text-xl);line-height:1;cursor:pointer;transition:background var(--transition-base)}.file-remove:hover{background:var(--boost-error-dark)}.form-select,.form-input{width:100%;padding:.625rem;border:1px solid #d1d5db;border-radius:8px;font-size:.9375rem;transition:border-color .2s,box-shadow .2s}.form-select:focus,.form-input:focus{outline:none;border-color:var(--boost-blue);box-shadow:0 0 0 3px #4e8cff1a}.form-help{margin-top:.375rem;font-size:.8125rem;color:#6b7280;font-style:italic}.form-actions{display:flex;gap:1rem;margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.btn-upload{flex:1;padding:.75rem 1.5rem;background:linear-gradient(135deg,var(--boost-blue) 0%,var(--boost-blue-dark) 100%);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .2s}.btn-upload:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #4e8cff66}.btn-upload:disabled{opacity:.6;cursor:not-allowed}.upload-doc-button{background:var(--boost-blue);color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:600;transition:all .2s;line-height:1.5;box-shadow:0 2px 4px #4e8cff4d}.upload-doc-button:hover{background:var(--boost-blue-dark);transform:translateY(-1px);box-shadow:0 4px 8px #4e8cff66}.individual-upload-modal .modal-content{max-width:500px}@media (max-width: 768px){.unassigned-header,.unassigned-bulk-actions{flex-direction:column;align-items:stretch}.bulk-delete-btn{width:100%}.form-actions{flex-direction:column}.btn-upload{width:100%}}.pipeline-progress-container{margin:20px 0;width:100%}.pipeline-progress-card{display:flex;align-items:center;gap:16px;padding:16px 20px;background:#f8f9fa;border:1px solid #dee2e6;border-radius:8px;box-shadow:0 2px 4px #0000001a}.pipeline-progress-container.running .pipeline-progress-card{border-left:4px solid #007bff}.pipeline-progress-container.paused .pipeline-progress-card{border-left:4px solid #ffc107;background:#fff9e6}.pipeline-progress-container.completed .pipeline-progress-card{border-left:4px solid #28a745;background:#f0fff4}.pipeline-progress-container.error .pipeline-progress-card{border-left:4px solid #dc3545;background:#fff5f5}.progress-spinner{width:32px;height:32px;border:3px solid #e9ecef;border-top:3px solid #007bff;border-radius:50%;animation:spin 1s linear infinite;flex-shrink:0}.progress-icon-paused,.progress-icon-complete,.progress-icon-error,.progress-icon-cancelled{font-size:32px;line-height:1;flex-shrink:0}.pipeline-progress-info{flex:1;min-width:0}.pipeline-header-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.pipeline-phase-label{font-size:12px;font-weight:600;text-transform:uppercase;color:#6c757d;letter-spacing:.5px}.pipeline-stop-btn{background:#dc3545;color:#fff;border:none;padding:.4rem .9rem;border-radius:5px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 4px #dc354533}.pipeline-stop-btn:hover{background:#c82333;transform:translateY(-1px);box-shadow:0 4px 8px #dc35454d}.pipeline-stop-btn:active{transform:translateY(0);box-shadow:0 2px 4px #dc354533}.pipeline-phase-message{font-size:16px;font-weight:500;color:#212529;margin-bottom:8px}.pipeline-progress-bar-container{width:100%;height:8px;background:#e9ecef;border-radius:4px;overflow:hidden;margin-top:8px}.pipeline-progress-bar{height:100%;background:linear-gradient(90deg,#007bff,#0056b3);border-radius:4px;transition:width .3s ease-in-out}.pipeline-progress-bar.indeterminate{position:relative;width:100%;background:linear-gradient(90deg,#007bff33,#007bff99,#007bff33);background-size:200% 100%;animation:pipeline-indeterminate 1.2s linear infinite}.pipeline-progress-container.paused .pipeline-progress-bar.indeterminate,.pipeline-progress-container.paused .pipeline-progress-bar{background:linear-gradient(90deg,#ffc107,#e0a800)}.pipeline-progress-container.paused .pipeline-progress-bar.indeterminate{background:linear-gradient(90deg,#ffc10733,#ffc10799,#ffc10733)}.pipeline-progress-container.error .pipeline-progress-bar,.pipeline-progress-container.error .pipeline-progress-bar.indeterminate{background:linear-gradient(90deg,#dc3545,#b21f2d)}.pipeline-progress-container.error .pipeline-progress-bar.indeterminate{background:linear-gradient(90deg,#dc354533,#dc354599,#dc354533)}.pipeline-progress-container.cancelled .pipeline-progress-bar,.pipeline-progress-container.cancelled .pipeline-progress-bar.indeterminate{background:linear-gradient(90deg,#6c757d,#495057)}.pipeline-progress-container.cancelled .pipeline-progress-bar.indeterminate{background:linear-gradient(90deg,#6c757d33,#6c757d99,#6c757d33)}@keyframes pipeline-indeterminate{0%{background-position:200% 0}to{background-position:-200% 0}}.pipeline-progress-container.completed .pipeline-progress-bar{background:linear-gradient(90deg,#28a745,#1e7e34)}.pipeline-current-document{font-size:13px;color:#6c757d;margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pipeline-status-message{font-size:13px;font-weight:500;margin-top:8px;padding:6px 10px;border-radius:4px}.pipeline-status-message.paused{background:#fff3cd;color:#856404}.pipeline-status-message.completed{background:#d4edda;color:#155724}.pipeline-status-message.error{background:#f8d7da;color:#721c24}.pipeline-detailed-steps{margin-top:12px;padding-top:12px;border-top:1px solid #dee2e6}.toggle-details-btn{background:transparent;border:none;color:#007bff;font-size:13px;font-weight:500;cursor:pointer;padding:4px 0;display:flex;align-items:center;gap:6px;transition:color .2s}.toggle-details-btn:hover{color:#0056b3;text-decoration:underline}.detailed-steps-list{margin-top:12px;display:flex;flex-direction:column;gap:8px}.detailed-step{display:flex;flex-direction:column;gap:6px;font-size:13px;padding:10px 12px;background:#fff;border-radius:4px;border:1px solid #e9ecef;margin-bottom:2px}.detailed-step.complete{opacity:.7}.detailed-step.in_progress{background:#e7f3ff;border-color:#007bff}.detailed-step .step-content{display:flex;align-items:flex-start;gap:10px}.detailed-step .step-icon{font-size:14px;width:18px;text-align:center;flex-shrink:0;margin-top:2px}.detailed-step.complete .step-icon{color:#28a745}.detailed-step.in_progress .step-icon{color:#007bff}.detailed-step .step-text{flex:1;display:flex;flex-direction:column;gap:4px}.detailed-step .step-description{font-weight:500;color:#212529;line-height:1.4}.detailed-step .step-description:before{content:"→ ";color:#007bff;font-weight:700;margin-right:4px}.detailed-step .step-details{color:#6c757d;font-size:12px;line-height:1.4;padding-left:16px;font-style:italic}.detailed-step .step-document{color:#6c757d;font-size:11px;padding-left:28px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width: 768px){.pipeline-progress-card{gap:12px;padding:12px 16px}.progress-spinner,.progress-icon-paused,.progress-icon-complete,.progress-icon-error,.progress-icon-cancelled{font-size:24px;width:24px;height:24px}.pipeline-phase-message{font-size:14px}.detailed-step .step-description{font-size:12px}.detailed-step .step-details{font-size:11px;padding-left:12px}.detailed-step .step-document{padding-left:24px;font-size:10px}}.pause-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}.pause-modal{background:#fff;border-radius:12px;box-shadow:0 10px 40px #0003;max-width:600px;width:100%;max-height:90vh;display:flex;flex-direction:column}.pause-modal-header{padding:24px;border-bottom:1px solid #dee2e6}.pause-modal-header h2{margin:0;font-size:24px;font-weight:600;color:#212529}.pause-modal-body{padding:24px;overflow-y:auto;flex:1}.pause-modal-footer{padding:20px 24px;border-top:1px solid #dee2e6;display:flex;justify-content:flex-end;gap:12px}.pause-modal-content{display:flex;flex-direction:column;gap:16px}.pause-modal-message{font-size:16px;color:#212529;line-height:1.5;margin:0}.pause-modal-subtitle{font-size:14px;font-weight:600;color:#495057;margin:8px 0 0}.pause-modal-info{font-size:14px;color:#6c757d;background:#f8f9fa;padding:12px;border-radius:6px;border-left:3px solid #007bff}.pause-modal-options{display:flex;flex-direction:column;gap:10px;margin-top:8px}.pause-modal-option{display:flex;align-items:center;gap:12px;padding:12px 16px;border:2px solid #dee2e6;border-radius:8px;cursor:pointer;transition:all .2s}.pause-modal-option:hover{border-color:#007bff;background:#f8f9fa}.pause-modal-option input[type=radio]{width:18px;height:18px;cursor:pointer}.pause-modal-option input[type=radio]:checked+span{font-weight:600;color:#007bff}.pause-modal-option span{flex:1;font-size:15px;color:#212529}.pause-modal-checkbox-option{display:flex;align-items:flex-start;gap:12px;padding:12px 16px;border:2px solid #dee2e6;border-radius:8px;cursor:pointer;transition:all .2s}.pause-modal-checkbox-option:hover{border-color:#007bff;background:#f8f9fa}.pause-modal-checkbox-option input[type=checkbox]{width:18px;height:18px;margin-top:2px;cursor:pointer}.employer-info{flex:1}.employer-name{font-size:15px;font-weight:600;color:#212529;margin-bottom:4px}.employer-details{font-size:13px;color:#6c757d}.employer-status{font-weight:500;color:#495057}.employer-reason{font-size:12px;color:#868e96;margin-top:4px;font-style:italic}.pause-modal-document-list{margin:8px 0;padding-left:20px;list-style:disc}.pause-modal-document-list.required li{color:#dc3545;margin-bottom:8px}.pause-modal-document-list.optional li{color:#6c757d;margin-bottom:8px}.pause-modal-document-list strong{color:#212529}.pause-modal-applicants{background:#f8f9fa;padding:16px;border-radius:6px;margin-top:8px}.pause-modal-applicants ul{margin:8px 0 0;padding-left:20px;list-style:disc}.pause-modal-applicants li{margin-bottom:6px;font-size:14px;color:#495057}.pause-modal-ambiguous-list{margin:8px 0;padding-left:20px;list-style:disc}.pause-modal-ambiguous-list li{margin-bottom:8px;font-size:14px;color:#495057}.pause-modal-comparison{display:flex;flex-direction:column;gap:12px;margin-top:12px}.pause-modal-path-option{border:2px solid #dee2e6;border-radius:8px;padding:4px;transition:all .2s}.pause-modal-path-option:hover{border-color:#007bff;background:#f8f9fa}.pause-modal-path-option.recommended{border-color:#28a745;background:#f0fff4}.pause-modal-path-option .pause-modal-option{border:none;padding:12px}.path-info{flex:1;display:flex;flex-direction:column;gap:6px}.path-label{font-size:15px;font-weight:600;color:#212529;display:flex;align-items:center;gap:8px}.badge-recommended{font-size:11px;font-weight:600;text-transform:uppercase;background:#28a745;color:#fff;padding:2px 8px;border-radius:4px;letter-spacing:.5px}.path-income{font-size:18px;font-weight:700;color:#007bff}.pause-modal-employer-list{display:flex;flex-direction:column;gap:10px;margin-top:8px}.pause-modal-button{padding:10px 20px;font-size:15px;font-weight:600;border-radius:6px;border:none;cursor:pointer;transition:all .2s}.pause-modal-button.primary{background:#007bff;color:#fff}.pause-modal-button.primary:hover:not(:disabled){background:#0056b3}.pause-modal-button.primary:disabled{background:#6c757d;opacity:.5;cursor:not-allowed}.pause-modal-button.secondary{background:#fff;color:#6c757d;border:1px solid #dee2e6}.pause-modal-button.secondary:hover{background:#f8f9fa;border-color:#adb5bd}@media (max-width: 768px){.pause-modal{max-width:100%;max-height:100vh;border-radius:0}.pause-modal-header,.pause-modal-body,.pause-modal-footer{padding:16px}.pause-modal-header h2{font-size:20px}.pause-modal-footer{flex-wrap:wrap}.pause-modal-button{flex:1;min-width:120px}}.document-options{display:flex;flex-direction:column;gap:20px;margin:16px 0}.option-group{background:#f8f9fa;border:2px solid #dee2e6;border-radius:8px;padding:16px}.option-header{font-size:15px;font-weight:600;color:#495057;margin:0 0 12px}.option-divider{display:flex;align-items:center;justify-content:center;position:relative;margin:8px 0}.option-divider:before,.option-divider:after{content:"";flex:1;border-bottom:2px solid #dee2e6}.option-divider span{padding:0 16px;font-size:14px;font-weight:700;color:#6c757d;background:#fff}.pause-modal-nickname-list{display:flex;flex-direction:column;gap:16px}.pause-modal-nickname-card{background:#f8f9fa;border:2px solid #dee2e6;border-radius:8px;padding:16px}.nickname-names{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:12px;flex-wrap:wrap}.nickname-name{display:flex;flex-direction:column;align-items:center;gap:4px}.nickname-name strong{font-size:16px;color:#212529}.nickname-doc-count{font-size:12px;color:#6c757d}.nickname-separator{font-size:20px;color:#6c757d;font-weight:700}.nickname-options{margin-top:4px}.nickname-options .pause-modal-option{padding:8px 12px}.pause-modal-employer-suggestions{display:flex;flex-direction:column;gap:16px}.pause-modal-employer-card{background:#f8f9fa;border:2px solid #dee2e6;border-radius:8px;padding:16px}.employer-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid #dee2e6}.employer-card-filename{font-size:15px;color:#212529}.employer-card-applicant{font-size:13px;color:#6c757d;background:#e9ecef;padding:4px 8px;border-radius:4px}.employer-selection-options{gap:8px}.employer-selection-options .pause-modal-option{padding:10px 14px}.employer-option-info{display:flex;flex-direction:column;gap:2px;flex:1}.employer-option-name{font-size:14px;font-weight:600;color:#212529}.employer-option-ein{font-size:12px;color:#6c757d}.employer-option-sources{font-size:11px;color:#868e96;font-style:italic}.employer-manual-input{margin-top:8px;margin-left:30px}.pause-modal-text-input{width:100%;padding:10px 12px;font-size:14px;border:2px solid #dee2e6;border-radius:6px;transition:border-color .2s}.pause-modal-text-input:focus{outline:none;border-color:#007bff}.pause-modal-text-input::placeholder{color:#adb5bd}.applicant-context-switcher{position:sticky;top:0;z-index:100;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-bottom:1px solid #e2e8f0;padding:12px 16px;margin:-20px -20px 20px;box-shadow:0 2px 4px #0000000d}.applicant-chips{display:flex;gap:12px;flex-wrap:wrap;align-items:stretch}.applicant-chip{display:flex;align-items:center;gap:10px;padding:10px 16px;background:#fff;border:2px solid #e2e8f0;border-radius:50px;cursor:pointer;transition:all .15s ease;min-width:180px;text-align:left;font-family:inherit}.applicant-chip:hover{border-color:#94a3b8;background:#f8fafc;transform:translateY(-1px);box-shadow:0 2px 8px #00000014}.applicant-chip.selected{border-color:#2563eb;background:linear-gradient(135deg,#eff6ff,#dbeafe);box-shadow:0 2px 8px #2563eb33}.applicant-chip.selected .chip-avatar{background:#2563eb;color:#fff}.applicant-chip.selected .chip-name{color:#1e40af}.applicant-chip.selected .chip-income{color:#1d4ed8;font-weight:600}.applicant-chip.household-chip{background:linear-gradient(135deg,#fafafa,#f5f5f5)}.applicant-chip.household-chip.selected{background:linear-gradient(135deg,#f0fdf4,#dcfce7);border-color:#16a34a}.applicant-chip.household-chip.selected .chip-avatar{background:#16a34a}.applicant-chip.household-chip.selected .chip-name{color:#166534}.applicant-chip.household-chip.selected .chip-income{color:#15803d}.chip-avatar{width:36px;height:36px;border-radius:50%;background:#e2e8f0;color:#64748b;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;flex-shrink:0;transition:all .15s ease}.chip-avatar.household-avatar{background:#cbd5e1;color:#475569}.chip-content{display:flex;flex-direction:column;gap:2px;min-width:0}.chip-name{font-size:14px;font-weight:600;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chip-relationship{font-size:11px;color:#64748b;text-transform:uppercase;letter-spacing:.5px;font-weight:500}.chip-income{font-size:13px;color:#475569;font-weight:500}.applicant-chip.skeleton{cursor:default;pointer-events:none}.skeleton-avatar{background:linear-gradient(90deg,#e2e8f0 25%,#f1f5f9,#e2e8f0 75%);background-size:200% 100%;animation:shimmer 1.5s infinite}.skeleton-text{height:12px;border-radius:4px;background:linear-gradient(90deg,#e2e8f0 25%,#f1f5f9,#e2e8f0 75%);background-size:200% 100%;animation:shimmer 1.5s infinite}.skeleton-name{width:80px}.skeleton-income{width:60px;margin-top:4px}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media (max-width: 640px){.applicant-context-switcher{padding:10px 12px;margin:-20px -12px 16px}.applicant-chips{gap:8px}.applicant-chip{min-width:150px;padding:8px 12px;gap:8px}.chip-avatar{width:32px;height:32px;font-size:12px}.chip-name{font-size:13px}.chip-income{font-size:12px}}.document-review-section{background:#fff;border-radius:8px;overflow:hidden;color:#212529}.no-documents-message{padding:40px;text-align:center;color:#6c757d;font-size:14px}.document-list{display:flex;flex-direction:column;gap:1px;background:#dee2e6}.document-item{display:grid;grid-template-columns:48px 1fr auto auto;gap:16px;align-items:center;padding:16px 20px;background:#fff;cursor:pointer;transition:all .15s}.document-item:hover{background:#f8f9fa}.document-item.selected{background:#e7f3ff;border-left:4px solid #007bff}.doc-icon{display:flex;align-items:center;justify-content:center;color:#6b7280}.doc-icon svg{width:28px;height:28px}.doc-info{display:flex;flex-direction:column;gap:4px;min-width:0}.doc-type{font-size:15px;font-weight:600;color:#212529}.doc-filename{font-size:13px;color:#6c757d;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.doc-applicant{font-size:12px;color:#495057;font-weight:500}.doc-status{display:flex;align-items:center}.doc-status-badge{font-size:12px;font-weight:600;padding:4px 10px;border-radius:12px;white-space:nowrap}.doc-status-badge.success{background:#d1e7dd;color:#0f5132}.doc-status-badge.processing{background:#fff3cd;color:#664d03}.doc-status-badge.error{background:#f8d7da;color:#842029}.doc-status-badge.pending{background:#e9ecef;color:#495057}.doc-actions{display:flex;align-items:center;gap:8px}.view-button{padding:6px 16px;font-size:13px;font-weight:600;color:#007bff;background:#fff;border:1px solid #007bff;border-radius:6px;cursor:pointer;transition:all .15s}.view-button:hover:not(:disabled){background:#007bff;color:#fff}.view-button:disabled{opacity:.5;cursor:not-allowed}.document-item.selected .view-button{background:#007bff;color:#fff}.delete-button{padding:8px 12px;background:#fff;border:1px solid #dc3545;color:#dc3545;border-radius:6px;cursor:pointer;transition:all .15s;display:flex;align-items:center;justify-content:center;min-width:38px}.delete-button svg{width:16px;height:16px}.delete-button:hover:not(:disabled){background:#dc3545;color:#fff;transform:scale(1.05)}.delete-button:disabled{opacity:.5;cursor:not-allowed}@media (max-width: 768px){.document-item{grid-template-columns:40px 1fr;gap:12px;padding:12px 16px}.doc-icon{font-size:24px}.doc-status,.doc-actions{grid-column:2 / 3;margin-top:8px}.view-button{flex:1}.delete-button{flex-shrink:0}}.duplicate-warning{display:flex;align-items:flex-start;gap:12px;background:#fff3cd;border:1px solid #ffc107;border-radius:6px;padding:12px 16px;margin-bottom:16px}.duplicate-warning .warning-icon{flex-shrink:0;display:flex;align-items:center;color:#ffc107}.duplicate-warning .warning-icon svg{width:24px;height:24px}.duplicate-warning .warning-text{flex:1}.duplicate-warning strong{display:block;color:#856404;font-size:.9rem;margin-bottom:4px}.duplicate-warning p{margin:0;color:#856404;font-size:.85rem;line-height:1.4}.document-item.duplicate{border-left:3px solid #ffc107;background:#fffbf0}.document-item.duplicate:hover{background:#fff8e1}.duplicate-badge{display:inline-block;margin-left:8px;padding:2px 8px;background:#ffc107;color:#856404;font-size:11px;font-weight:700;border-radius:3px;text-transform:uppercase;letter-spacing:.5px}.employer-summary-table-container{display:flex;flex-direction:column;gap:1.5rem;overflow-x:visible}.table-section-container{overflow-x:auto;border-radius:8px;border:1px solid #e2e8f0;background:#fff}.employer-summary-table{width:100%;border-collapse:separate;border-spacing:0;font-size:.875rem;table-layout:fixed}.employer-summary-table .field-column{width:200px}.employer-summary-table .doc-column{width:200px;min-width:200px}.employer-summary-table.paystub-grouped-table{table-layout:auto}.paystub-grouped-table .field-column{width:180px;min-width:180px}.paystub-grouped-table .doc-group-header{text-align:center;background:#f1f5f9;border-bottom:1px solid #cbd5e1}.paystub-grouped-table .sub-column-header{font-size:.7rem;text-transform:uppercase;background:#f8fafc;color:#64748b;text-align:center;padding:.25rem .5rem;width:100px;min-width:100px}.paystub-grouped-table .sub-column-header.trend-header{width:70px;min-width:70px}.paystub-grouped-table .trend-cell{text-align:center;font-weight:600;color:#475569;background:#f8fafc;font-size:.75rem}.paystub-grouped-table .editable-cell{min-width:100px}.employer-summary-table th,.employer-summary-table td{border-bottom:1px solid #e2e8f0;border-right:1px solid #e2e8f0;padding:.5rem .75rem;text-align:left}.employer-summary-table th:last-child,.employer-summary-table td:last-child{border-right:none}.employer-summary-table tr:last-child td{border-bottom:none}.employer-summary-table th{background:#f8fafc;font-weight:600;color:#475569}.employer-summary-table .field-label{font-weight:500;color:#334155;background:#f8fafc;width:180px;position:sticky;left:0;z-index:10}.employer-summary-table .empty-cell{color:#94a3b8;text-align:center}.employer-summary-table .editable-cell{padding:0;height:100%;position:relative;min-width:150px;cursor:text;transition:background-color .15s ease}.employer-summary-table .edit-icon{position:absolute;right:.375rem;top:50%;transform:translateY(-50%);color:#94a3b8;opacity:0;pointer-events:none;transition:opacity .15s ease,color .15s ease;z-index:3}.employer-summary-table .editable-cell:hover .edit-icon{opacity:1;color:#64748b}.employer-summary-table .editable-cell--focused .edit-icon{opacity:0}.employer-summary-table .dirty-indicator{position:absolute;top:.25rem;right:.25rem;width:6px;height:6px;background:#f59e0b;border-radius:50%;z-index:4}.employer-summary-table .editable-cell--dirty{background:#fffbeb}.employer-summary-table .editable-cell--dirty .editable-cell-input{background:transparent}.employer-summary-table .editable-cell--missing-required{background:#fffbeb}.employer-summary-table .editable-cell--missing-required .editable-cell-input:not(:focus){border-style:solid;border-color:#f59e0b}.employer-summary-table .editable-cell--saving{opacity:.7}.employer-summary-table .editable-cell-input{width:100%;height:100%;border:1px dashed transparent;padding:.5rem 1.5rem .5rem .75rem;background:transparent;font-family:inherit;font-size:inherit;box-sizing:border-box;color:inherit;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}.employer-summary-table .editable-cell:hover .editable-cell-input:not(:disabled):not(:focus){border-color:#cbd5e1;background:#f8fafc}.employer-summary-table .editable-cell-input:focus{border-style:solid;border-color:#3b82f6;background:#fff;outline:none;box-shadow:0 0 0 2px #3b82f633;z-index:1}.employer-summary-table .editable-cell-input:disabled{color:#94a3b8;cursor:not-allowed;background:#f8fafc}.employer-summary-table .editable-cell-select{width:100%;height:100%;border:1px dashed transparent;padding:.5rem 1.75rem .5rem .75rem;background:transparent;font-family:inherit;font-size:inherit;box-sizing:border-box;color:inherit;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.25em 1.25em}.employer-summary-table .editable-cell:hover .editable-cell-select:not(:disabled):not(:focus){border-color:#cbd5e1;background-color:#f8fafc;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.25em 1.25em}.employer-summary-table .editable-cell-select:focus{border-style:solid;border-color:#3b82f6;background-color:#fff;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%233b82f6' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.25em 1.25em;outline:none;box-shadow:0 0 0 2px #3b82f633}.employer-summary-table .editable-cell-select:disabled{color:#94a3b8;cursor:not-allowed;background-color:#f8fafc}.employer-summary-table .editable-cell-select option[value=""]{color:#94a3b8}.employer-summary-table .currency-symbol{color:#64748b;position:absolute;left:.5rem;top:50%;transform:translateY(-50%);pointer-events:none;z-index:2}.employer-summary-table .editable-cell:has(.currency-symbol) .editable-cell-input{padding-left:1.25rem}.employer-summary-table .editable-cell .currency-symbol+.editable-cell-input{padding-left:1.25rem}.employer-summary-table thead tr.table-section-header th{background:#f1f5f9;color:#475569;font-weight:700;font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;padding:0;border-bottom:2px solid #e2e8f0}.employer-summary-table .section-header-content{display:flex;align-items:center;justify-content:space-between;padding-right:.75rem;background:#f1f5f9}.employer-summary-table .section-toggle-button{width:auto;flex:1;display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:transparent;border:none;font:inherit;color:inherit;text-transform:inherit;letter-spacing:inherit;cursor:pointer;text-align:left;transition:background-color .15s ease}.employer-summary-table .empty-rows-toggle{background:transparent;border:1px solid #cbd5e1;border-radius:4px;color:#64748b;font-size:.7rem;font-weight:600;padding:.2rem .5rem;cursor:pointer;transition:all .15s ease;white-space:nowrap;text-transform:none;letter-spacing:normal}.employer-summary-table .empty-rows-toggle:hover{background:#fff;color:#3b82f6;border-color:#3b82f6}.employer-summary-table .section-toggle-button:hover{background-color:#e2e8f0}.employer-summary-table .section-toggle-button:focus-visible{outline:2px solid #3b82f6;outline-offset:-2px;background-color:#e2e8f0}.employer-summary-table .toggle-icon{display:inline-flex;align-items:center;justify-content:center;width:1rem;height:1rem;font-size:.625rem;color:#64748b;transition:transform .2s ease;-webkit-user-select:none;user-select:none}.trend-header-content{display:flex;align-items:center;justify-content:center;gap:6px}.trend-info-tooltip{position:relative;display:inline-flex;align-items:center;cursor:help}.trend-info-tooltip .info-icon{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;background:#94a3b8;color:#fff;border-radius:50%;font-size:10px;font-weight:700;transition:background-color .2s;border:none;padding:0;line-height:1;cursor:help}.trend-info-tooltip:hover .info-icon{background:#64748b}.trend-info-tooltip .info-icon:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}.trend-info-tooltip .tooltip-text{visibility:hidden;width:280px;max-width:320px;background-color:#1e293b;color:#f8fafc;text-align:left;border-radius:6px;padding:8px 12px;position:absolute;z-index:100;top:calc(100% + 8px);bottom:auto;right:0;left:auto;transform:none;opacity:0;transition:opacity .2s,visibility .2s;font-size:12px;font-weight:500;line-height:1.4;white-space:normal;text-transform:none;letter-spacing:normal;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;pointer-events:none}.trend-info-tooltip .tooltip-text:after{content:"";position:absolute;bottom:100%;right:10px;border-width:6px;border-style:solid;border-color:transparent transparent #1e293b transparent}.trend-info-tooltip:hover .tooltip-text,.trend-info-tooltip:focus-within .tooltip-text{visibility:visible;opacity:1}.trend-value{display:flex;align-items:center;justify-content:center;gap:2px;font-weight:600}.trend-positive{color:#166534!important}.trend-negative{color:#991b1b!important}.trend-icon{font-size:.9rem;margin-left:2px}.employer-summary-table .trend-header{width:100px;min-width:100px;text-align:center}.employer-summary-table.voe-year-table{table-layout:auto}.voe-year-header{background:#f1f5f9;font-weight:700;font-size:.75rem;color:#475569;text-transform:uppercase;text-align:center}.employer-summary-table .voe-trend-cell{background:#f8fafc;text-align:center;font-weight:600;width:80px;min-width:80px}.voe-subheader-row td{background:#f8fafc;font-weight:700;color:#94a3b8;font-size:.7rem;letter-spacing:.05em;text-transform:uppercase;padding:.5rem .75rem;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}.employer-summary-table .editable-cell-input{text-align:right}.employer-summary-table .editable-cell-select{text-align:left}.editable-label{cursor:pointer;border-bottom:1px dashed transparent;transition:border-color .15s ease,color .15s ease;padding-bottom:1px}.editable-label:hover{border-bottom-color:#94a3b8;color:#3b82f6}.editable-label-wrapper{display:flex;flex-direction:column;gap:2px}.editable-label-input{font:inherit;font-size:.9rem;padding:2px 4px;border:1px solid #3b82f6;border-radius:4px;outline:none;box-shadow:0 0 0 2px #3b82f626;width:100%;max-width:180px;background:#fff;color:#1e293b}.editable-label-input.has-error{border-color:#dc2626;box-shadow:0 0 0 2px #dc262626}.editable-label-error{font-size:.75rem;color:#dc2626;line-height:1.2}.other-income-label-row{display:flex;align-items:center;gap:6px}.delete-other-income-btn{border:none;background:transparent;cursor:pointer;color:#cbd5e1;font-size:1.1rem;font-weight:700;line-height:1;padding:0 2px;transition:color .15s ease;flex-shrink:0;visibility:hidden}tr:hover .delete-other-income-btn{visibility:visible}.delete-other-income-btn:hover:not(:disabled){color:#dc2626}.delete-other-income-btn:disabled{cursor:not-allowed;opacity:.3}.add-other-income-row td{padding:6px 16px;border-top:1px dashed #e2e8f0}.add-other-income-btn{border:none;background:transparent;cursor:pointer;color:#64748b;font-size:.85rem;font-weight:500;padding:4px 8px;border-radius:4px;transition:all .15s ease}.add-other-income-btn:hover:not(:disabled){color:#3b82f6;background:#eff6ff}.add-other-income-btn:disabled{cursor:not-allowed;opacity:.5}.extraction-review-panel{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:1.5rem;margin:1.5rem 0;color:#1e293b}.extraction-info-box{background-color:#f0f7ff;border:1px solid #d0e7ff;border-radius:8px;padding:1.25rem;margin-bottom:1.5rem;color:#1e293b}.extraction-info-box p{margin:0;font-size:.9375rem;line-height:1.6}.extraction-info-box strong{color:#0f172a}.extraction-info-box code{background:#e0f0ff;padding:.125rem .375rem;border-radius:4px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.875rem;font-weight:600;color:#1e40af}.extraction-review-panel.empty{text-align:center;color:#64748b;font-style:italic}.panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.panel-header h2{font-size:1.25rem;font-weight:600;color:#1e293b;margin:0}.header-actions{display:flex;align-items:center;gap:.5rem}.refresh-button,.restore-button{background:transparent;border:1px solid #cbd5e1;color:#64748b;padding:.25rem .75rem;border-radius:4px;font-size:.875rem;cursor:pointer;transition:all .2s}.refresh-button:hover:not(:disabled),.restore-button:hover:not(:disabled){background:#f1f5f9;color:#334155}.refresh-button:disabled,.restore-button:disabled{opacity:.5;cursor:not-allowed}.save-button{background:#0f172a;border:1px solid #0f172a;color:#fff;padding:.25rem .75rem;border-radius:4px;font-size:.875rem;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:.25rem}.save-button:hover:not(:disabled){background:#334155;border-color:#334155}.save-button:disabled{opacity:.7;cursor:not-allowed;background:#94a3b8;border-color:#94a3b8}.recalculate-button{background:#059669;border:1px solid #059669;color:#fff;padding:.25rem .75rem;border-radius:4px;font-size:.875rem;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:.25rem}.recalculate-button:hover:not(:disabled){background:#047857;border-color:#047857}.recalculate-button:disabled{opacity:.7;cursor:not-allowed;background:#6ee7b7;border-color:#6ee7b7}.validation-banner{padding:1rem;border-radius:6px;margin-bottom:1.5rem;display:flex;align-items:flex-start}.validation-banner.error{background-color:#fef2f2;border:1px solid #fee2e2;color:#b91c1c}.validation-banner.warning{background-color:#fffbeb;border:1px solid #fef3c7;color:#b45309}.validation-banner.success{background-color:#f0fdf4;border:1px solid #dcfce7;color:#15803d}.banner-content{display:flex;gap:.75rem}.banner-icon{font-size:1.25rem}.banner-message{display:flex;flex-direction:column}.banner-detail{font-size:.875rem;margin-top:.25rem;opacity:.9}.review-applicant-card{border:1px solid #e2e8f0;border-radius:6px;margin-bottom:1rem;overflow:hidden}.applicant-header{background:#f8fafc;padding:.75rem 1rem;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.applicant-header h3{margin:0;font-size:1rem;font-weight:600;color:#334155;display:flex;align-items:center;gap:.5rem}.relationship-tag{font-size:.75rem;font-weight:400;background:#e2e8f0;color:#475569;padding:.125rem .5rem;border-radius:12px}.applicant-stats{font-size:.875rem;color:#64748b;display:flex;gap:.5rem}.review-employer-section{border-bottom:1px solid #f1f5f9}.review-employer-section:last-child{border-bottom:none}.employer-header-row{padding:.75rem 1rem;cursor:pointer;display:flex;justify-content:space-between;align-items:center;transition:background .1s}.employer-header-row:hover{background:#f8fafc}.employer-title{display:flex;align-items:center;gap:.5rem}.employer-title h4{margin:0;font-size:.95rem;color:#1e293b}.collapse-icon{font-size:.75rem;color:#94a3b8;width:1rem}.ein-tag{font-size:.75rem;color:#64748b;font-family:monospace;background:#f1f5f9;padding:.125rem .375rem;border-radius:4px}.employer-badges{display:flex;gap:.5rem}.badge{font-size:.75rem;padding:.125rem .5rem;border-radius:4px;font-weight:500}.historic-badge{background:#f1f5f9;color:#475569}.employer-content{padding:0 1rem 1rem}.employer-summary-table-container{overflow-x:auto;margin-top:.5rem;border:1px solid #e2e8f0;border-radius:4px}.employer-summary-table{width:100%;border-collapse:collapse;font-size:.875rem}.employer-summary-table th,.employer-summary-table td{padding:.5rem .75rem;text-align:left;border-bottom:1px solid #f1f5f9;color:#0f172a}.employer-summary-table th{background:#f8fafc;color:#334155;font-weight:600;font-size:.75rem;text-transform:uppercase;letter-spacing:.05em}.employer-summary-table td.field-label{color:#475569;font-weight:500;width:140px;background:#fcfcfc}.employer-docs-list{margin-top:1rem}.employer-docs-list h5{margin:0 0 .5rem;font-size:.8rem;color:#64748b;text-transform:uppercase}.employer-docs-list ul{list-style:none;padding:0;margin:0}.doc-item{padding:.125rem 0;font-size:.875rem;color:#334155}.doc-item-button{display:flex;align-items:center;gap:.5rem;width:100%;text-align:left;background:none;border:none;padding:.375rem .5rem;border-radius:6px;cursor:pointer;transition:all .2s ease;color:inherit;font:inherit}.doc-item-button:hover{background-color:#f1f5f9;color:#2563eb}.doc-item-button:focus{outline:2px solid #3b82f6;outline-offset:-1px;background-color:#f1f5f9}.doc-item-button:active{background-color:#e2e8f0}.doc-icon{font-size:1rem}.doc-name{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.doc-type-tag{font-size:.75rem;color:#64748b;background:#f1f5f9;padding:.125rem .375rem;border-radius:4px}.review-footer-note{margin-top:1rem;text-align:center;font-size:.875rem;color:#64748b}.data-model-view{background:#fff;border-radius:8px;overflow:hidden;color:#212529}.data-model-header{padding:20px;border-bottom:1px solid #dee2e6}.data-model-header h3{margin:0 0 8px;font-size:20px;font-weight:600;color:#212529}.data-model-subtitle{margin:0;font-size:14px;color:#6c757d}.data-model-sections{display:flex;flex-direction:column;gap:24px;padding:20px}.data-section{border:1px solid #dee2e6;border-radius:8px;overflow:hidden}.section-title{margin:0;padding:12px 16px;font-size:15px;font-weight:600;color:#212529;background:#f8f9fa;border-bottom:1px solid #dee2e6}.data-field-table{display:flex;flex-direction:column}.data-field-header{display:grid;grid-template-columns:2fr 1.5fr 1.5fr;gap:16px;padding:10px 16px;background:#f8f9fa;border-bottom:1px solid #dee2e6;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:#6c757d}.data-field-row{display:grid;grid-template-columns:2fr 1.5fr 1.5fr;gap:16px;padding:12px 16px;border-bottom:1px solid #f1f3f5;transition:background .15s}.data-field-row:last-child{border-bottom:none}.data-field-row:hover{background:#f8f9fa}.field-label{font-size:14px;color:#495057;font-weight:500}.field-value{font-size:14px;color:#212529;font-weight:600}.field-source{font-size:13px;color:#6c757d;font-style:italic}@media (max-width: 768px){.data-field-header,.data-field-row{grid-template-columns:1fr;gap:4px}.data-field-header{display:none}.data-field-row{padding:12px 16px;display:flex;flex-direction:column;gap:6px}.field-label{font-size:12px;text-transform:uppercase;letter-spacing:.5px;color:#6c757d}.field-value{font-size:15px}.field-source{font-size:12px}.field-source:before{content:"Source: ";font-weight:600;font-style:normal}}.decision-tree-visualization{background:#fff;border-radius:8px;padding:24px;box-shadow:0 2px 8px #0000001a;margin-bottom:24px;color:#1e293b}.decision-tree-visualization.historic-employer{opacity:.7;background:#f9fafb}.historic-employer-badge{display:flex;align-items:flex-start;gap:12px;padding:16px;margin-bottom:20px;background:#fef3c7;border:1px solid #fbbf24;border-radius:8px}.historic-employer-badge .badge-icon{font-size:1.5rem;line-height:1}.historic-employer-badge .badge-content{flex:1}.historic-employer-badge .badge-content strong{display:block;font-size:.95rem;color:#92400e;margin-bottom:4px}.historic-employer-badge .badge-content p{margin:0;font-size:.875rem;color:#78350f;line-height:1.5}.tree-context-bar{display:flex;flex-wrap:wrap;gap:12px;padding:12px 16px;margin-bottom:16px;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:8px}.tree-context-item{display:flex;flex-direction:column;gap:4px;min-width:160px}.context-label{text-transform:uppercase;font-size:.7rem;font-weight:600;letter-spacing:.05em;color:#6b7280}.context-value{font-size:.95rem;font-weight:600;color:var(--boost-text-primary)}.tree-context-badge{align-self:center;padding:4px 10px;border-radius:9999px;font-size:.75rem;font-weight:600;letter-spacing:.02em}.tree-context-badge.historic{background:#fef3c7;color:#92400e;border:1px solid #fbbf24}.tree-context-badge.excluded{background:#fee2e2;color:#b91c1c;border:1px solid #fca5a5}.tree-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;padding-bottom:16px;border-bottom:2px solid #e5e7eb}.tree-header h3{margin:0;font-size:1.25rem;font-weight:600;color:#111827}.tree-legend{display:flex;gap:16px}.legend-item{display:flex;align-items:center;gap:8px;font-size:.875rem;color:#6b7280}.legend-indicator{width:12px;height:12px;border-radius:50%;display:inline-block}.legend-indicator.active{background-color:#10b981}.legend-indicator.inactive{background-color:#d1d5db}.legend-indicator.excluded{background-color:#f59e0b}.tree-container{overflow-x:auto;padding:16px 0}.tree-node-container{position:relative;margin:16px 0;transition:all .3s ease}.tree-node-container.collapsed{opacity:.75}.tree-node{background:#fff;border:2px solid #d1d5db;border-radius:8px;padding:16px;min-width:200px;max-width:300px;cursor:pointer;transition:all .2s ease;position:relative}.tree-node.collapsible{cursor:pointer;-webkit-user-select:none;user-select:none}.tree-node.collapsible:hover{background:#f9fafb}.tree-node.active{border-color:#10b981;background:#f0fdf4}.tree-node.inactive{border-color:#e5e7eb;opacity:.85;background:#fafafa}.tree-node.answer-node{background:#eff6ff;border-color:#3b82f6}.tree-node.answer-node.active{background:#dbeafe;border-color:#2563eb}.tree-node[data-node-id=voe_path]{background:#eff6ff;border-color:#3b82f6}.tree-node[data-node-id=voe_path].active{background:#dbeafe;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.tree-node[data-node-id=eoy_path]{background:#faf5ff;border-color:#a855f7}.tree-node[data-node-id=eoy_path].active{background:#f3e8ff;border-color:#7e22ce;box-shadow:0 0 0 3px #7e22ce1f}.tree-node.hovered{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.node-content{position:relative;display:flex;align-items:flex-start;gap:12px;padding-right:24px}.collapse-indicator{font-size:.75rem;color:#6b7280;flex-shrink:0;margin-top:2px;transition:transform .2s ease}.node-main-content{flex:1}.node-answer-container{display:flex;align-items:center;gap:6px;margin-bottom:8px;margin-left:-4px}.answer-arrow{font-size:1.25rem;color:var(--boost-blue);font-weight:700;line-height:1;display:flex;align-items:center;height:24px}.node-answer-badge{display:inline-flex;align-items:center;background:linear-gradient(135deg,var(--boost-blue) 0%,var(--boost-blue-dark) 100%);color:#fff;padding:4px 12px;border-radius:12px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;box-shadow:0 2px 4px #4e8cff4d;height:24px}.node-label{font-weight:600;font-size:.9375rem;color:#111827;margin-bottom:4px}.node-detail{font-size:.8125rem;color:#6b7280;margin-top:8px;line-height:1.4}.node-question{font-size:.875rem;color:#374151;margin-top:8px;font-style:italic;padding:8px;background:#f9fafb;border-radius:4px;border-left:3px solid var(--boost-blue)}.node-status-indicator{position:absolute;top:-8px;right:-8px;width:20px;height:20px;background:#10b981;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.625rem;font-weight:700;box-shadow:0 2px 4px #0003;z-index:10}.tree-steps{margin-top:16px;padding-left:16px;border-left:2px solid #e5e7eb}.tree-step{display:flex;align-items:flex-start;gap:12px;padding:12px;margin:8px 0;background:#fff;border-radius:6px;border:1px solid #e5e7eb;transition:all .2s ease}.tree-step.active{background:#f0fdf4;border-color:#10b981}.tree-step.inactive{opacity:.75;background:#f9fafb}.step-number{width:24px;height:24px;background:var(--boost-blue);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;flex-shrink:0}.tree-step.active .step-number{background:#10b981}.step-content{flex:1}.step-label{font-weight:600;font-size:.875rem;color:#111827;margin-bottom:2px}.step-detail{font-size:.8125rem;color:#6b7280}.step-indicator{color:#10b981;font-weight:700;font-size:1rem}.tree-children{margin-top:16px;padding-left:32px;border-left:2px dashed #d1d5db;position:relative}.child-wrapper{position:relative;margin:12px 0}.child-wrapper:before{content:"";position:absolute;left:-32px;top:24px;width:24px;height:2px;background:#d1d5db}.depth-0{margin-left:0}.depth-1{margin-left:24px}.depth-2{margin-left:48px}.inline-validation-warning{margin-top:16px;padding:16px;background:#fef3c7;border:2px solid #f59e0b;border-radius:8px;box-shadow:0 2px 8px #f59e0b1a}.warning-header{display:flex;align-items:center;gap:8px;margin-bottom:12px;color:#92400e}.warning-icon{font-size:1.25rem;line-height:1}.warning-header strong{font-size:.9375rem;font-weight:600}.warning-content{padding-left:28px}.warning-description{margin:0 0 12px;font-size:.875rem;color:#78350f;line-height:1.5}.warning-details{margin-bottom:16px}.warning-detail-item{display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:.8125rem;color:#92400e;line-height:1.5}.detail-icon{color:#f59e0b;font-weight:700;flex-shrink:0;margin-top:2px}.warning-actions{display:flex;gap:12px;flex-wrap:wrap}.btn-upload-missing,.btn-fallback-base{padding:10px 16px;border:none;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:6px}.btn-upload-missing{background:#3b82f6;color:#fff}.btn-upload-missing:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 8px #3b82f64d}.btn-fallback-base{background:#f59e0b;color:#fff}.btn-fallback-base:hover{background:#d97706;transform:translateY(-1px);box-shadow:0 4px 8px #f59e0b4d}.btn-upload-missing:active,.btn-fallback-base:active{transform:translateY(0)}@media (max-width: 768px){.decision-tree-visualization{padding:16px}.tree-header{flex-direction:column;align-items:flex-start;gap:12px}.tree-legend{width:100%;justify-content:flex-start}.tree-node{min-width:100%;max-width:100%}.tree-children{padding-left:16px}.child-wrapper:before{left:-16px;width:12px}.inline-validation-warning{padding:12px}.warning-content{padding-left:0}.warning-actions{flex-direction:column}.btn-upload-missing,.btn-fallback-base{width:100%;justify-content:center}}.btn-secondary{background:#d97706;color:#fff;border:1px solid #b45309;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:.9375rem;font-weight:500;transition:all .2s}.btn-secondary:hover{background:#b45309!important;color:#fff!important;border-color:#92400e!important;transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.btn-sm{padding:8px 16px;font-size:.875rem}.overview-tab{padding:var(--space-4);background-color:var(--boost-gray-50);min-height:100%;color:var(--boost-gray-800)}.calculation-period-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;flex-wrap:wrap}.calculation-period-toggle{display:inline-flex;background:var(--boost-white);border:1px solid var(--boost-gray-200);border-radius:var(--radius-lg);padding:2px;box-shadow:var(--shadow-sm)}.period-segment{flex:1;padding:var(--space-2) var(--space-5);border:none;background:transparent;border-radius:var(--radius-md);cursor:pointer;transition:all var(--transition-base);font-size:var(--text-sm);font-weight:var(--font-medium);color:var(--boost-gray-700);white-space:nowrap;min-width:100px}.period-segment:hover{background:var(--boost-gray-100)}.period-segment.active{background:var(--boost-blue);color:var(--boost-white);box-shadow:var(--shadow-sm)}.period-segment.active:hover{background:var(--boost-blue-dark)}.save-calculation-btn{padding:var(--space-2) var(--space-5);background:var(--boost-success);color:var(--boost-white);border:none;border-radius:var(--radius-md);font-size:var(--text-sm);font-weight:var(--font-medium);cursor:pointer;transition:all var(--transition-base);white-space:nowrap}.save-calculation-btn:hover:not(:disabled){background:var(--boost-success-dark)}.save-calculation-btn:disabled{background:var(--boost-gray-400);cursor:not-allowed;opacity:.6}.save-controls{display:flex;align-items:center;gap:12px;margin-left:auto}.save-message{padding:8px 12px;border-radius:6px;font-size:14px;font-weight:500;white-space:nowrap}.save-message.success{background:#d1fae5;color:#065f46}.save-message.error{background:#fee2e2;color:#991b1b}.overview-cards-container{display:flex;gap:16px;margin-bottom:24px;flex-wrap:wrap}.overview-card{background:var(--boost-white);border-radius:var(--radius-xl);padding:var(--space-5);box-shadow:var(--shadow-card);flex:1;min-width:300px;display:flex;flex-direction:column}.overview-card.borrower-info{background-color:#e0e7ff;border:1px solid #c7d2fe}.borrower-header{display:flex;align-items:center;margin-bottom:20px}.borrower-avatar{width:40px;height:40px;background-color:#c7d2fe;color:#4338ca;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600;margin-right:12px;font-size:16px}.borrower-name{font-size:18px;font-weight:600;color:#312e81}.edit-icon{margin-left:auto;cursor:pointer;color:#6b7280}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.info-item{display:flex;flex-direction:column}.info-label{font-size:12px;color:#6b7280;margin-bottom:4px;display:flex;align-items:center;gap:6px}.info-value{font-size:14px;font-weight:500;color:#1f2937}.overview-card.income-sources{background-color:#fff}.card-title{font-size:var(--text-base);font-weight:var(--font-semibold);color:var(--boost-gray-800);margin-bottom:var(--space-4)}.source-summary-list{flex:1}.source-summary-item{display:flex;justify-content:space-between;margin-bottom:12px}.source-name{display:flex;align-items:center;gap:var(--space-2);color:var(--boost-gray-600);font-size:var(--text-sm)}.source-amount{font-weight:var(--font-semibold);color:var(--boost-gray-800)}.overview-card.qualified-income{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.income-display{flex:1}.total-amount{font-size:var(--text-4xl);font-weight:var(--font-bold);color:var(--boost-blue);margin-bottom:var(--space-1)}.income-period-label{font-size:var(--text-sm);color:var(--boost-gray-600)}.trend-display{background-color:#dcfce7;padding:16px;border-radius:8px;text-align:center;min-width:120px}.trend-display.trend-negative{background-color:#fee2e2}.trend-value{color:#166534;font-size:20px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:4px}.trend-display.trend-negative .trend-value{color:#991b1b}.trend-label{font-size:12px;color:#166534;margin-top:4px}.trend-display.trend-negative .trend-label{color:#991b1b}.overview-table-section{background:var(--boost-white);border-radius:var(--radius-xl);padding:var(--space-6);box-shadow:var(--shadow-card)}.overview-timeline-section{margin-top:.75rem;border:1px solid #e2e8f0;border-radius:8px;background:#fff;padding:12px}.overview-timeline-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}.overview-timeline-title{font-weight:700}.overview-timeline-subtitle{font-size:12px;color:#6b7280}.overview-timeline-table{margin-top:10px}.overview-timeline-table-title{font-weight:600;font-size:.875rem;color:#334155;margin-bottom:8px}.overview-timeline-table-title-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px}.overview-timeline-table-title-row .overview-timeline-table-title{margin-bottom:0}.timeline-table{width:100%;border-collapse:collapse;table-layout:fixed}.timeline-table th:nth-child(1),.timeline-table td:nth-child(1){width:240px}.timeline-table th:nth-child(2),.timeline-table td:nth-child(2),.timeline-table th:nth-child(3),.timeline-table td:nth-child(3){width:160px}.timeline-table th:nth-child(2),.timeline-table th:nth-child(3),.timeline-table td:nth-child(2),.timeline-table td:nth-child(3){text-align:center}.timeline-table th:nth-child(4){text-align:center}.timeline-table td:nth-child(2) .timeline-input[type=date],.timeline-table td:nth-child(3) .timeline-input[type=date]{text-align:center}.timeline-present{padding:.5rem .75rem;line-height:1.35;color:#475569;text-align:center}.timeline-table th,.timeline-table td{padding:.5rem .75rem;font-size:.875rem;text-align:left;vertical-align:top;border-bottom:1px solid #f1f5f9;color:#0f172a;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.timeline-input{width:100%;height:100%;border:1px dashed transparent;border-radius:6px;padding:.5rem .75rem;background:transparent;font-family:inherit;font-size:inherit;box-sizing:border-box;color:inherit;outline:none;color-scheme:light;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}.timeline-input:hover:not(:disabled):not(:focus){border-color:#cbd5e1;background:#f8fafc}.timeline-input:focus{border-style:solid;border-color:#3b82f6;background:#fff;box-shadow:0 0 0 2px #3b82f633}.timeline-input[type=date]{background:transparent;color:inherit;color-scheme:light}.timeline-helper{margin-top:6px;font-size:12px;color:#6b7280;line-height:1.3}.timeline-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:10px}.timeline-save-btn{background:#059669;border:1px solid #059669;color:#fff;padding:.25rem .75rem;border-radius:4px;font-size:.875rem;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:.25rem}.timeline-save-btn:hover:not(:disabled){background:#047857;border-color:#047857}.timeline-save-btn:disabled{opacity:.6;cursor:not-allowed}.timeline-recalculate-btn{background:#059669;border:1px solid #059669;color:#fff;padding:.25rem .75rem;border-radius:4px;font-size:.875rem;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:.25rem}.timeline-recalculate-btn:hover:not(:disabled){background:#047857;border-color:#047857}.timeline-recalculate-btn:disabled{opacity:.7;cursor:not-allowed;background:#6ee7b7;border-color:#6ee7b7}.timeline-save-msg{font-size:12px;color:#6b7280;display:flex;align-items:center}.timeline-table th{background:#f8fafc;color:#334155;font-weight:600;font-size:.75rem;text-transform:uppercase;letter-spacing:.05em}.timeline-employer-cell{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-wrap:wrap}.timeline-text{flex:1 1 auto;min-width:0;line-height:1.35}.timeline-textarea{resize:none;overflow:hidden;height:auto;min-height:42px;line-height:1.35;white-space:pre-wrap}.badge{font-size:.75rem;padding:.125rem .5rem;border-radius:4px;font-weight:500;white-space:nowrap}.current-badge{background:#dcfce7;color:#15803d}.timeline-empty,.timeline-loading,.timeline-error{padding:10px 12px;font-size:13px;color:#6b7280}.timeline-error{color:#b91c1c}.overview-variance-section{margin-top:16px;padding-top:16px;border-top:1px solid #e5e7eb}.overview-variance-title{font-size:13px;font-weight:700;color:#374151;text-transform:uppercase;letter-spacing:.06em;margin-bottom:10px}.overview-variance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.overview-variance-item{background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;padding:12px 14px;display:flex;flex-direction:column;gap:4px}.overview-variance-label{font-size:12px;color:#6b7280;font-weight:600}.overview-variance-value{font-size:15px;color:#111827;font-weight:700}.overview-variance-warning{margin-top:12px;padding:10px 12px;background:#fef3c7;border:1px solid #fbbf24;border-radius:10px;color:#92400e;font-weight:600;font-size:13px}.overview-variance-footnote{margin-top:10px;font-size:12px;color:#9ca3af;line-height:1.4}.overview-variance-footnote strong{color:#6b7280}.table-header{font-size:var(--text-base);font-weight:var(--font-semibold);color:var(--boost-gray-800);margin-bottom:var(--space-4)}.income-table{width:100%;border-collapse:collapse}.income-table th{text-align:left;padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--boost-gray-200);font-size:var(--text-xs);font-weight:var(--font-semibold);color:var(--boost-gray-500);text-transform:uppercase;letter-spacing:.05em}.income-table td{padding:var(--space-4);border-bottom:1px solid var(--boost-gray-100);font-size:var(--text-sm);color:var(--boost-gray-800)}.income-table tr:last-child td{border-bottom:none}.income-table td.amount-cell{font-weight:600}.income-table td.trend-positive{color:#166534}.income-table td.trend-negative{color:#991b1b}.trend-icon{margin-left:4px}.income-source-name-cell{display:flex;align-items:center;gap:8px}.expand-toggle{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--boost-gray-200);border-radius:var(--radius-md);background:var(--boost-white);color:var(--boost-gray-700);cursor:pointer;flex:0 0 auto;transition:all var(--transition-fast)}.expand-toggle:hover{background:var(--boost-gray-50)}.expand-toggle:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.expand-toggle-placeholder{width:28px;height:28px;display:inline-block;flex:0 0 auto}.expand-icon{font-size:12px;line-height:1}.income-source-name{font-weight:var(--font-medium)}.income-component-row td{background:var(--boost-gray-50)}.income-component-row td{border-bottom:1px solid #eef2f7;font-size:13px}.income-component-row:last-child td{border-bottom:1px solid #f3f4f6}.component-name-cell{position:relative}.component-actions{margin-left:auto;display:inline-flex;align-items:center}.include-exclude-toggle{display:inline-flex;border:1px solid var(--boost-gray-200);border-radius:var(--radius-lg);overflow:hidden;background:var(--boost-white)}.include-exclude-btn{border:none;background:transparent;padding:var(--space-2) var(--space-3);font-size:var(--text-xs);color:var(--boost-gray-700);cursor:pointer;line-height:1;white-space:nowrap;transition:background var(--transition-fast)}.include-exclude-btn+.include-exclude-btn{border-left:1px solid var(--boost-gray-200)}.include-exclude-btn:hover{background:var(--boost-gray-50)}.include-exclude-btn.selected{background:#eef2ff;color:#1d4ed8;font-weight:600}.include-exclude-btn:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.include-exclude-btn:disabled{opacity:.5;cursor:not-allowed;background:var(--boost-gray-100);color:var(--boost-gray-400)}.include-exclude-btn:disabled:hover{background:var(--boost-gray-100)}.include-exclude-btn:disabled.selected{background:var(--boost-gray-300);color:var(--boost-gray-500)}.income-component-row.excluded td{opacity:.55}.income-component-row.excluded .component-indent{text-decoration:line-through}.income-component-row.unqualified{opacity:.7;background-color:#fef2f2}.income-component-row.unqualified td,.income-component-row.unqualified .component-indent{color:#991b1b}.component-name-wrapper{display:flex;flex-direction:column;gap:4px}.component-exclusion-info{display:flex;flex-direction:column;gap:2px;margin-top:4px}.unqualified-badge{padding:2px 6px;background-color:#fee2e2;color:#991b1b;border-radius:4px;font-size:11px;font-weight:600;white-space:nowrap;display:inline-block;width:fit-content}.exclusion-reason{font-size:11px;color:#dc2626;font-style:italic;line-height:1.3;max-width:300px}.component-indent{position:relative;padding-left:18px;color:var(--boost-gray-700);font-weight:var(--font-medium)}.component-indent:before{content:"";position:absolute;left:6px;top:50%;width:8px;height:1px;background:#cbd5e1}.component-amount-cell{font-weight:var(--font-semibold);color:var(--boost-gray-800)}.worksheet-display{background:#fff;border-radius:8px;overflow:hidden}.worksheet-toolbar{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;background:#f8f9fa;border-bottom:1px solid #dee2e6}.toolbar-info{display:flex;flex-direction:column;gap:4px}.worksheet-label{font-size:16px;font-weight:600;color:#333}.worksheet-timestamp{font-size:13px;color:#666}.toolbar-actions{display:flex;gap:12px}.btn-print{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;background:#007bff;color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .2s}.btn-print:hover{background:#0056b3}.btn-print svg{flex-shrink:0}.worksheet-content-wrapper{padding:20px;background:#fff}.worksheet-content{all:initial;display:block;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;color:#333;line-height:1.6}.worksheet-content *{box-sizing:border-box}.worksheet-content table{width:100%;border-collapse:collapse}.worksheet-content th,.worksheet-content td{padding:10px 12px;text-align:left;border-bottom:1px solid #dee2e6}.worksheet-content th{background:#f8f9fa;font-weight:600}.worksheet-empty{padding:40px;text-align:center;color:#666}@media print{.no-print{display:none!important}.worksheet-display{border-radius:0;box-shadow:none}.worksheet-content-wrapper{padding:0}.worksheet-content{font-size:11pt;line-height:1.4}@page{size:letter;margin:.75in}.worksheet-content table{page-break-inside:avoid}.worksheet-content .borrower-section{page-break-before:always}.worksheet-content .borrower-section:first-of-type{page-break-before:avoid}.worksheet-content h1,.worksheet-content h2,.worksheet-content h3,.worksheet-content h4{page-break-after:avoid}.worksheet-content .base-income-calc,.worksheet-content .variable-income-calc{page-break-inside:avoid}}@media (max-width: 768px){.worksheet-toolbar{flex-direction:column;gap:12px;align-items:stretch}.toolbar-actions{justify-content:flex-end}.worksheet-content-wrapper{padding:12px}}.worksheet-tab{padding:16px;background-color:#f8f9fa;min-height:100%;color:#1f2937}.worksheet-initial{max-width:600px;margin:0 auto;text-align:center;padding:40px 20px}.worksheet-intro{margin-bottom:30px}.worksheet-intro h3{font-size:24px;font-weight:600;color:#1a1a1a;margin-bottom:12px}.worksheet-intro p{color:#666;font-size:15px;line-height:1.6}.warning-message{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:16px;padding:12px 16px;background:#fff3cd;border:1px solid #ffc107;border-radius:6px;color:#856404;font-size:14px}.warning-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;background:#856404;color:#fff;border-radius:50%;font-size:12px;font-weight:600}.btn-primary{display:inline-flex;align-items:center;justify-content:center;padding:12px 24px;background:#007bff;color:#fff;border:none;border-radius:6px;font-size:16px;font-weight:500;cursor:pointer;transition:background-color .2s,transform .1s}.btn-primary:hover:not(:disabled){background:#0056b3}.btn-primary:active:not(:disabled){transform:scale(.98)}.btn-primary:disabled{background:#ccc;cursor:not-allowed}.btn-large{padding:16px 32px;font-size:18px}.btn-secondary{display:inline-flex;align-items:center;justify-content:center;padding:10px 20px;background:#f8f9fa;color:#333;border:1px solid #dee2e6;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .2s}.btn-secondary:hover{background:#e9ecef}.worksheet-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center}.loading-spinner{width:48px;height:48px;border:4px solid #f3f3f3;border-top:4px solid #007bff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading-text{font-size:18px;font-weight:500;color:#333;margin-top:20px;margin-bottom:8px}.loading-subtext{font-size:14px;color:#666}.worksheet-error{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center;max-width:400px;margin:0 auto}.error-icon{display:flex;align-items:center;justify-content:center;width:60px;height:60px;background:#f8d7da;color:#721c24;border-radius:50%;font-size:32px;font-weight:600;margin-bottom:20px}.error-title{font-size:20px;font-weight:600;color:#721c24;margin-bottom:8px}.error-message{font-size:14px;color:#666;margin-bottom:24px;line-height:1.5}.worksheet-actions{display:flex;justify-content:flex-end;padding-bottom:16px;border-bottom:1px solid #eee;margin-bottom:20px}@media print{.no-print{display:none!important}.worksheet-tab{padding:0}}.automated-results-tabs{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;margin-top:20px;color:#1e293b}.tabs-header{display:flex;background:#f8fafc;border-bottom:1px solid #e2e8f0;overflow-x:auto;scrollbar-width:none}.tabs-header::-webkit-scrollbar{display:none}.tab-button{padding:16px 24px;background:none;border:none;border-bottom:2px solid transparent;color:#64748b;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap;display:flex;align-items:center;gap:8px}.tab-button:hover{color:#334155;background-color:#f1f5f9}.tab-button.active{color:#2563eb;border-bottom-color:#2563eb;background-color:#fff}.tab-count{background:#e2e8f0;color:#475569;padding:2px 8px;border-radius:99px;font-size:12px;font-weight:600}.tab-button.active .tab-count{background:#dbeafe;color:#1e40af}.tab-content{padding:24px;min-height:400px;color:#1e293b}@media (max-width: 768px){.tab-button{padding:12px 16px;font-size:13px}.tab-content{padding:16px}}@media print{.tabs-header{display:none!important}.automated-results-tabs{background:none;box-shadow:none;border-radius:0;margin-top:0}.tab-content{padding:0;min-height:auto}}.fire-away-button{background:#1e3a5f;color:#fff;font-size:1.25rem;font-weight:700;padding:16px 32px;border:none;border-radius:12px;box-shadow:0 4px 15px #1e3a5f66;cursor:pointer;display:inline-flex;align-items:center;gap:10px;transition:all .2s ease}.fire-away-button:hover:not(.disabled):not(.loading){transform:translateY(-2px);box-shadow:0 6px 20px #1e3a5f80}.fire-away-button:active:not(.disabled):not(.loading){transform:translateY(0);box-shadow:0 4px 15px #1e3a5f66}.fire-away-button.disabled{background:linear-gradient(135deg,#9ca3af,#6b7280);cursor:not-allowed;box-shadow:none;opacity:.7}.fire-away-button.loading{cursor:wait}.fire-away-icon{font-size:1.5rem;animation:rocket-bounce 1s ease-in-out infinite}.fire-away-button:hover:not(.disabled):not(.loading) .fire-away-icon{animation:rocket-launch .5s ease-out forwards}@keyframes rocket-bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}@keyframes rocket-launch{0%{transform:translateY(0) rotate(0)}to{transform:translateY(-5px) rotate(15deg)}}.fire-away-spinner{width:20px;height:20px;border:3px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.document-upload-panel{padding:24px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;position:relative;transition:box-shadow .2s ease}.document-upload-panel.drag-over{box-shadow:0 0 0 3px #3b82f659,0 2px 8px #00000014}.dup-drag-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#dbeafed9;border:3px dashed #3b82f6;border-radius:12px;z-index:10;display:flex;align-items:center;justify-content:center;pointer-events:none}.dup-drag-overlay-text{font-size:1.25rem;font-weight:600;color:#1d4ed8}.dup-header{margin-bottom:20px}.dup-header h2{margin:0 0 8px;font-size:1.5rem;color:#1e293b}.dup-description{margin:0;color:#64748b;font-size:.95rem}.dup-drop-zone{display:flex;align-items:center;justify-content:center;padding:20px 24px;border:2px dashed #cbd5e1;border-radius:10px;cursor:pointer;transition:all .2s ease;margin-bottom:20px;background:#f8fafc}.dup-drop-zone:hover{border-color:#3b82f6;background:#eff6ff}.dup-drop-zone.active{border-color:#3b82f6;background:#dbeafe;box-shadow:0 0 0 3px #3b82f626}.dup-drop-zone-content{display:flex;align-items:center;gap:12px;pointer-events:none}.dup-drop-zone-icon{font-size:1.6rem;font-weight:700;color:#3b82f6;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border:2px solid #3b82f6;border-radius:50%;flex-shrink:0}.dup-drop-zone-text{font-size:.95rem;color:#475569}.classification-error{background:#fef2f2;color:#dc2626;padding:12px 16px;border-radius:8px;margin-bottom:16px;border-left:4px solid #dc2626}.classification-table-container{overflow-x:auto;margin-bottom:24px}.classification-table{width:100%;border-collapse:collapse;font-size:.95rem;table-layout:fixed}.classification-table th{text-align:left;padding:12px 16px;background:#f8fafc;color:#475569;font-weight:600;border-bottom:2px solid #e2e8f0}.classification-table th:nth-child(1){width:45%}.classification-table th:nth-child(2){width:30%}.classification-table th:nth-child(3){width:25%}.classification-table td{padding:12px 16px;vertical-align:middle}.classification-table tr:hover{background:#f8fafc}.classification-table tr.has-issue{background:#fffbeb}.classification-table tr.has-issue:hover{background:#fef3c7}.classification-table tr.has-error{background:#fef2f2}.classification-table tr.has-error:hover{background:#fee2e2}.doc-filename{max-width:300px}.filename-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1e293b}.doc-type{position:relative}.doc-type select{padding:8px 12px;font-size:.9rem;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#1e293b;cursor:pointer;min-width:200px;transition:all .2s ease}.doc-type select:hover{border-color:#94a3b8}.doc-type select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.doc-type select.needs-attention{border-color:#f59e0b;background:#fffbeb}.dup-type-placeholder{color:#94a3b8;font-size:.9rem}.updating-indicator{position:absolute;right:8px;top:50%;transform:translateY(-50%);font-size:.8rem;color:#64748b}.issue-badge,.status-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:12px;font-size:.85rem;font-weight:500}.issue-badge.unknown{background:#fef3c7;color:#b45309}.status-badge.ready{background:#dcfce7;color:#16a34a}.status-badge.uploading{background:#dbeafe;color:#2563eb}.status-badge.classifying{background:#ede9fe;color:#7c3aed}.status-badge.error{background:#fee2e2;color:#dc2626}.dup-status-spinner{width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:dup-spin .8s linear infinite;flex-shrink:0}@keyframes dup-spin{to{transform:rotate(360deg)}}.dup-dismiss-error-btn{background:none;border:none;cursor:pointer;color:#dc2626;font-size:1.1rem;font-weight:700;padding:0 2px;line-height:1;margin-left:4px}.dup-dismiss-error-btn:hover{color:#991b1b}.classification-table td.doc-status{display:flex;align-items:center;justify-content:space-between;gap:8px}.delete-doc-button{border:none;background:transparent;cursor:pointer;padding:4px 8px;color:#94a3b8;transition:color .2s;display:inline-flex;align-items:center}.delete-doc-button:hover:not(:disabled){color:#dc2626}.delete-doc-button:disabled{cursor:not-allowed;opacity:.3}.dup-empty-state{text-align:center;padding:32px 16px;color:#94a3b8;font-size:.95rem}.dup-empty-state p{margin:0}.blocking-issues-warning{display:flex;align-items:flex-start;gap:12px;padding:16px;background:#fffbeb;border:1px solid #fcd34d;border-radius:8px;margin-bottom:24px;color:#92400e}.manual-voe-warning{display:flex;align-items:flex-start;gap:12px;padding:16px;background:#fff7ed;border:1px solid #fb923c;border-radius:8px;margin-bottom:24px;color:#9a3412}.manual-voe-warning strong{font-weight:600}.manual-voe-warning ul{margin:8px 0 0;padding-left:20px}.manual-voe-warning li{margin:4px 0}.warning-icon{font-size:1.2rem;flex-shrink:0}.classification-actions{display:flex;justify-content:center;gap:16px;padding-top:16px;border-top:1px solid #e2e8f0}.duplicate-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}.duplicate-modal{background:#fff;border-radius:12px;box-shadow:0 10px 40px #0003;max-width:480px;width:100%}.duplicate-modal-header{padding:24px;border-bottom:1px solid #e5e7eb}.duplicate-modal-header h3{margin:0;font-size:1.25rem;font-weight:600;color:#111827}.duplicate-modal-body{padding:24px}.duplicate-modal-body p{margin:0 0 12px;font-size:15px;color:#374151;line-height:1.5}.duplicate-modal-body p:last-of-type{margin-top:16px;margin-bottom:0}.duplicate-modal-body ul{margin:0;padding:12px 16px;background:#fef3c7;border:1px solid #fcd34d;border-radius:6px;list-style:none}.duplicate-modal-body li{font-family:monospace;font-size:14px;color:#92400e;padding:4px 0}.duplicate-modal-footer{padding:20px 24px;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end;gap:12px}.duplicate-modal .cancel-button{padding:10px 20px;font-size:15px;font-weight:600;border-radius:6px;border:1px solid #d1d5db;background:#fff;color:#374151;cursor:pointer;transition:all .2s}.duplicate-modal .cancel-button:hover{background:#f9fafb;border-color:#9ca3af}.duplicate-modal .replace-button{padding:10px 20px;font-size:15px;font-weight:600;border-radius:6px;border:none;background:#3b82f6;color:#fff;cursor:pointer;transition:all .2s}.duplicate-modal .replace-button:hover{background:#2563eb}.duplicate-modal .replace-button.delete{background:#dc2626}.duplicate-modal .replace-button.delete:hover{background:#b91c1c}.automated-calculation-page{max-width:1400px;margin:0 auto;padding:var(--space-5) var(--space-8);min-height:100vh;background-color:var(--boost-white)}.dashboard-card{background:var(--boost-white);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);margin-bottom:0;display:flex;flex-direction:column;color:var(--boost-gray-800)}.dashboard-header-section{display:flex;flex-direction:column;gap:20px;padding:24px 24px 12px}.automated-page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.automated-page-header h1{font-size:var(--text-2xl);margin:0;color:var(--boost-gray-800)}.automated-header-actions{display:flex;gap:12px;align-items:center}.back-to-dashboard-btn{padding:var(--space-3) var(--space-5);background-color:var(--boost-success);color:var(--boost-white);border:none;border-radius:var(--radius-sm);cursor:pointer;font-size:var(--text-sm);font-weight:var(--font-medium);transition:all var(--transition-base)}.back-to-dashboard-btn:not(:disabled):hover{background-color:var(--boost-success-dark);transform:translateY(-1px);box-shadow:0 2px 8px #10b9814d}.back-to-dashboard-btn:disabled{background-color:var(--boost-gray-300);color:var(--boost-gray-500);cursor:not-allowed;box-shadow:none;transform:none}.switch-mode-btn{padding:var(--space-3) var(--space-5);background-color:var(--boost-gray-500);color:var(--boost-white);border:none;border-radius:var(--radius-sm);cursor:pointer;font-size:var(--text-sm);font-weight:var(--font-medium);transition:all var(--transition-base)}.switch-mode-btn:hover{background-color:var(--boost-gray-600);transform:translateY(-1px);box-shadow:0 2px 8px #6b72804d}.recalculate-btn{padding:var(--space-3) var(--space-5);background-color:var(--boost-blue);color:var(--boost-white);border:none;border-radius:var(--radius-sm);cursor:pointer;font-size:var(--text-sm);font-weight:var(--font-medium);transition:all var(--transition-base)}.recalculate-btn:hover{background-color:var(--boost-blue-dark);transform:translateY(-1px);box-shadow:0 2px 8px #2563eb4d}.upload-section-embedded{padding:20px 0;margin-bottom:30px}.upload-section-embedded h2{font-size:var(--text-xl);margin:0 0 var(--space-3) 0;color:var(--boost-gray-800)}.upload-description{color:var(--boost-gray-600);margin-bottom:var(--space-8);font-size:var(--text-sm)}.file-input-wrapper{position:relative;border:2px dashed var(--boost-gray-300);border-radius:var(--radius-lg);padding:var(--space-12) var(--space-5);text-align:center;transition:all var(--transition-base);cursor:pointer}.file-input-wrapper:hover{border-color:var(--boost-blue);background-color:var(--boost-gray-50)}.file-input{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:0;overflow:hidden}.file-input::-webkit-file-upload-button{display:none;visibility:hidden}.file-input::file-selector-button{display:none;visibility:hidden}.file-input.hidden{display:none!important;visibility:hidden!important}.file-input-placeholder{pointer-events:none}.upload-icon{font-size:48px;margin-bottom:10px}.status-message{margin-bottom:20px;padding:12px 16px;border-radius:6px;background:#eef2ff;color:#3730a3;border:1px solid #c7d2fe;font-size:14px}.pause-error{margin-top:16px;padding:10px 14px;border-left:4px solid #dc2626;background:#fef2f2;color:#991b1b;font-size:13px;border-radius:6px}.upload-errors{margin-top:16px;padding:14px 16px;border-radius:6px;background:#fef3c7;border:1px solid #fcd34d;color:#92400e;font-size:14px}.upload-errors ul{margin:8px 0 0 18px;padding:0}.file-input-placeholder p{margin:5px 0;color:var(--boost-gray-800);font-size:var(--text-base)}.file-types{color:var(--boost-gray-600);font-size:var(--text-sm)!important}.pause-banner{margin-bottom:20px;padding:16px 18px;border-radius:8px;background:#fef9c3;border:1px solid #facc15;color:#854d0e;font-size:14px}.pause-banner.warning{background:#eff6ff;border-color:#3b82f6;color:#1d4ed8}.pause-banner ul{margin:12px 0 0 18px;padding:0}.automated-results-section{background-image:none;background:none;display:flex;flex-direction:column}.decision-tree-block{margin-bottom:var(--space-8);padding:var(--space-6);background:var(--boost-gray-50);border-radius:var(--radius-xl);border:1px solid var(--boost-gray-200)}.decision-tree-applicant-label{font-size:var(--text-2xl);font-weight:var(--font-bold);color:var(--boost-navy);margin-bottom:var(--space-6);padding-bottom:var(--space-3);border-bottom:2px solid var(--boost-gray-200)}.decision-tree-employer{margin-bottom:var(--space-6);background:var(--boost-white);border-radius:var(--radius-lg);border:1px solid var(--boost-gray-200);overflow:hidden}.decision-tree-employer-header{padding:var(--space-4) var(--space-6);background:var(--boost-gray-100);border-bottom:1px solid var(--boost-gray-200);display:flex;justify-content:space-between;align-items:center}.decision-tree-employer-header h4{margin:0;font-size:var(--text-lg);font-weight:var(--font-semibold);color:var(--boost-gray-700)}.decision-tree-employer-status{font-size:var(--text-xs);font-weight:var(--font-bold);text-transform:uppercase;padding:var(--space-1) var(--space-3);border-radius:var(--radius-full);letter-spacing:.05em}.decision-tree-employer-status.active{background:var(--boost-success-light);color:#15803d}.decision-tree-employer-status.historic{background:var(--boost-gray-100);color:var(--boost-gray-500)}.decision-tree-employer-status.excluded{background:var(--boost-error-light);color:#b91c1c}@media print{.automated-page-header,.automated-header-actions,.back-to-dashboard-btn,.switch-mode-btn,.applicant-context-switcher,.status-message,.pause-banner,.pipeline-progress,.upload-section-embedded,.pause-error,.upload-errors{display:none!important}.automated-calculation-page,.dashboard-card{padding:0;margin:0;background:none;box-shadow:none;border:none;max-width:none}.dashboard-header-section{padding:0}.automated-results-section{margin:0}}.calculation-widget{position:fixed;bottom:20px;right:20px;background:#fff;border-radius:12px;box-shadow:0 4px 20px #00000026;min-width:320px;max-width:400px;z-index:1000;animation:slideInUp .3s ease-out;overflow:hidden;border:2px solid;transition:all .2s ease;cursor:pointer}.calculation-widget:hover{box-shadow:0 6px 24px #0003;transform:translateY(-2px)}.calculation-widget-blue{border-color:#2563eb}.calculation-widget-green{border-color:#10b981}.calculation-widget-red{border-color:#ef4444}.calculation-widget-yellow{border-color:#f59e0b}@keyframes slideInUp{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}.widget-header{display:flex;align-items:flex-start;gap:12px;padding:16px;background:#f8f9fa;border-bottom:1px solid #e9ecef}.widget-status-icon{font-size:24px;line-height:1;flex-shrink:0;display:flex;align-items:center;justify-content:center}.widget-status-spinner{width:28px;height:28px;border:3px solid #e9ecef;border-top:3px solid #2563eb;border-radius:50%;animation:widget-spin 1s linear infinite}@keyframes widget-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.widget-title{flex:1;min-width:0}.widget-app-name{font-size:14px;font-weight:600;color:#212529;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.widget-status-label{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.calculation-widget-blue .widget-status-label{color:#2563eb}.calculation-widget-green .widget-status-label{color:#10b981}.calculation-widget-red .widget-status-label{color:#ef4444}.calculation-widget-yellow .widget-status-label{color:#f59e0b}.widget-dismiss-btn{background:none;border:none;font-size:24px;line-height:1;color:#6c757d;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .15s;flex-shrink:0}.widget-dismiss-btn:hover{background:#e9ecef;color:#212529}.widget-body{padding:16px;transition:background .15s}.widget-body:hover{background:#f8f9fa}.widget-description{font-size:13px;color:#495057;margin-bottom:12px;line-height:1.4}.widget-progress{display:flex;align-items:center;gap:12px;margin-top:8px}.widget-progress-bar{flex:1;height:6px;background:#e9ecef;border-radius:3px;overflow:hidden}.widget-progress-fill{height:100%;background:#2563eb;transition:width .3s ease;border-radius:3px}.widget-progress-text{font-size:11px;font-weight:600;color:#6c757d;min-width:35px;text-align:right}.widget-auto-dismiss{font-size:11px;color:#6c757d;font-style:italic;margin-top:8px}.widget-footer{padding:12px 16px;background:#f8f9fa;border-top:1px solid #e9ecef;text-align:center}.widget-click-hint{font-size:11px;color:#6c757d;font-weight:500;text-transform:uppercase;letter-spacing:.5px}@media (max-width: 768px){.calculation-widget{bottom:10px;right:10px;min-width:280px;max-width:calc(100vw - 20px)}}.calculation-widget:focus-visible{outline:3px solid #2563eb;outline-offset:4px}.calculation-widget-yellow{animation:slideInUp .3s ease-out,pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{border-color:#f59e0b}50%{border-color:#fbbf24}}*{margin:0;padding:0;box-sizing:border-box}:root{--boost-navy: #1e2947;--boost-blue: #4e8cff;--boost-blue-light: #6ba3ff;--boost-blue-dark: #3a71d9;--boost-background: #f8f9fc;--boost-text-primary: #1e2947;--boost-text-secondary: #6b7280;--boost-border: #e5e7eb;--boost-white: #ffffff;--boost-success: #10b981;--boost-error: #ef4444;--boost-warning: #f59e0b;--boost-gray-50: #f9fafb;--boost-gray-100: #f3f4f6;--boost-gray-200: #e5e7eb;--boost-gray-300: #d1d5db;--boost-gray-400: #9ca3af;--boost-gray-500: #6b7280;--boost-gray-600: #4b5563;--boost-gray-700: #374151;--boost-gray-800: #1f2937;--boost-gray-900: #111827;--boost-success-light: #d1fae5;--boost-success-dark: #059669;--boost-error-light: #fee2e2;--boost-error-dark: #dc2626;--boost-warning-light: #fef3c7;--boost-warning-dark: #d97706;--boost-info: #3b82f6;--boost-info-light: #dbeafe;--boost-info-dark: #1d4ed8;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-8: 32px;--space-10: 40px;--space-12: 48px;--text-xs: .75rem;--text-sm: .875rem;--text-base: 1rem;--text-lg: 1.125rem;--text-xl: 1.25rem;--text-2xl: 1.5rem;--text-3xl: 1.875rem;--text-4xl: 2.25rem;--font-normal: 400;--font-medium: 500;--font-semibold: 600;--font-bold: 700;--radius-sm: 4px;--radius-md: 6px;--radius-lg: 8px;--radius-xl: 12px;--radius-2xl: 16px;--radius-full: 9999px;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);--shadow-md: 0 4px 6px rgba(0, 0, 0, .1);--shadow-lg: 0 10px 15px rgba(0, 0, 0, .1);--shadow-card: 0 1px 3px rgba(0, 0, 0, .1);--shadow-hover: 0 8px 16px rgba(0, 0, 0, .1);--transition-fast: .15s ease;--transition-base: .2s ease;--transition-slow: .3s ease}body{font-family:-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-color:var(--boost-background);color:var(--boost-text-primary)}#root{min-height:100vh}:focus-visible{outline:2px solid var(--boost-blue);outline-offset:2px}:focus:not(:focus-visible){outline:none}button{font-family:inherit;cursor:pointer}button:disabled{cursor:not-allowed}input,select,textarea{font-family:inherit}.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);padding:var(--space-2) var(--space-4);font-size:var(--text-sm);font-weight:var(--font-semibold);border-radius:var(--radius-md);border:none;transition:all var(--transition-base);white-space:nowrap}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn:disabled{opacity:.6}.btn-primary{background:var(--boost-blue);color:var(--boost-white);box-shadow:0 2px 4px #4e8cff33}.btn-primary:hover:not(:disabled){background:var(--boost-blue-dark);box-shadow:0 4px 8px #4e8cff4d}.btn-success{background:var(--boost-success);color:var(--boost-white);box-shadow:0 2px 4px #10b98133}.btn-success:hover:not(:disabled){background:var(--boost-success-dark);box-shadow:0 4px 8px #10b9814d}.btn-danger{background:var(--boost-error);color:var(--boost-white);box-shadow:0 2px 4px #ef444433}.btn-danger:hover:not(:disabled){background:var(--boost-error-dark);box-shadow:0 4px 8px #ef44444d}.btn-outline{background:transparent;border:1px solid var(--boost-gray-300);color:var(--boost-gray-700)}.btn-outline:hover:not(:disabled){background:var(--boost-gray-50);border-color:var(--boost-gray-400)}.card{background:var(--boost-white);border-radius:var(--radius-xl);box-shadow:var(--shadow-card);border:1px solid var(--boost-border);transition:all var(--transition-base)}.card-hoverable:hover{box-shadow:var(--shadow-hover);transform:translateY(-2px)}.status-badge-base{display:inline-flex;align-items:center;gap:var(--space-1);padding:var(--space-1) var(--space-2);border-radius:var(--radius-full);font-size:var(--text-xs);font-weight:var(--font-semibold);white-space:nowrap}.status-success{background:var(--boost-success-light);color:#065f46;border:1px solid #6ee7b7}.status-error{background:var(--boost-error-light);color:#991b1b;border:1px solid #fca5a5}.status-warning{background:var(--boost-warning-light);color:#92400e;border:1px solid #fcd34d}.status-info{background:var(--boost-info-light);color:var(--boost-info-dark);border:1px solid #93c5fd}.modal-overlay-base{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:var(--space-6)}.modal-content-base{background:var(--boost-white);border-radius:var(--radius-xl);box-shadow:0 20px 60px #0000004d;max-height:90vh;overflow:hidden;display:flex;flex-direction:column}.modal-header-base{display:flex;justify-content:space-between;align-items:center;padding:var(--space-6);border-bottom:1px solid var(--boost-border)}.modal-header-base h2{margin:0;font-size:var(--text-xl);font-weight:var(--font-bold);color:var(--boost-gray-800)}.modal-body-base{padding:var(--space-6);overflow-y:auto;flex:1}.modal-close-base{background:none;border:none;font-size:1.5rem;color:var(--boost-gray-500);padding:var(--space-1);border-radius:var(--radius-sm);transition:all var(--transition-fast)}.modal-close-base:hover{color:var(--boost-gray-800);background:var(--boost-gray-100)}
