:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}html,body{margin:0;padding:0;min-height:100%;width:100%;overflow-x:hidden;overflow-y:auto;background-color:#f8fafc;color:#1a1a1a;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}#root{min-height:100vh;display:flex;flex-direction:column;width:100%;max-width:100%;margin:0 auto;padding:0}.container{max-width:1400px;min-width:320px;margin:0 auto;padding:0 0 2rem;width:100%;box-sizing:border-box;flex:1;display:flex;flex-direction:column;min-height:initial;overflow-x:hidden}.header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2.5rem;background:linear-gradient(to right,#fff,#f8fafc);border-bottom:1px solid rgba(226,232,240,.8);box-shadow:0 4px 20px #00000008;animation:fadeIn .6s ease-out}.header h1{margin:0;font-size:1.75rem;font-weight:700;color:#1e3a8a;letter-spacing:-.02em;display:flex;align-items:center}.header-logo{margin-right:12px;font-size:1.5rem;color:#2563eb}.logout-button{padding:.6rem 1.2rem;background-color:#ef4444;color:#fff;border:none;border-radius:8px;cursor:pointer;font-weight:600;font-size:.95rem;transition:all .2s ease;box-shadow:0 2px 5px #ef444433}.logout-button:hover{background-color:#dc2626;transform:translateY(-1px);box-shadow:0 4px 8px #ef444440}.description-section{padding:3.5rem 2.5rem;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border-bottom:1px solid rgba(226,232,240,.8);position:relative;animation:fadeIn 1.4s ease-out}.description-section:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background-image:url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%232563eb' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");z-index:0}.description-section h2{margin:0 0 1.5rem;font-size:2.5rem;font-weight:800;background:linear-gradient(90deg,#1e40af,#3b82f6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;color:transparent;text-align:center;position:relative;z-index:1;letter-spacing:-.02em;line-height:1.2;animation:fadeIn .8s ease-out}.intro-text{font-size:1.15rem;line-height:1.7;color:#334155;margin:0 auto 3rem;text-align:center;max-width:900px;position:relative;z-index:1;animation:fadeIn 1s ease-out}.intro-text a{color:#2563eb;font-weight:500;text-decoration:none;transition:all .2s ease;border-bottom:1px dashed #2563eb;padding-bottom:1px}.intro-text a:hover{color:#1d4ed8;border-bottom:1px solid #1d4ed8}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1.5rem;margin:0 auto;max-width:1200px;position:relative;z-index:1}.feature-card{background:#fff;border-radius:12px;padding:1.75rem;box-shadow:0 10px 25px #0000000d;transition:all .3s ease;border:1px solid rgba(226,232,240,.8);height:100%;display:flex;flex-direction:column;animation:fadeIn 1.2s ease-out}.feature-card:hover{transform:translateY(-5px);box-shadow:0 15px 30px #0000001a;border-color:#bfdbfeb3}.feature-card h3{color:#1e40af;margin:0 0 1.25rem;font-size:1.25rem;font-weight:700;display:flex;align-items:center;gap:10px}.feature-card h3 svg{color:#3b82f6}.feature-card ul{list-style-type:none;padding:0;margin:0;flex:1}.feature-card li{margin-bottom:.85rem;color:#334155;padding-left:1.75rem;position:relative;line-height:1.5}.feature-card li:before{content:"✓";color:#2563eb;position:absolute;left:0;font-weight:700}.supported-documents{margin:3rem auto 1rem;text-align:center;position:relative;z-index:1;max-width:1200px}.supported-documents h3{font-size:1.35rem;font-weight:700;color:#1e40af;margin-bottom:1.5rem;display:inline-block;position:relative}.supported-documents h3:after{content:"";position:absolute;width:50%;height:3px;background:linear-gradient(90deg,#3b82f6,transparent);bottom:-8px;left:25%;border-radius:2px}.document-types{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;margin:1.5rem 0 .5rem}.document-type{background:linear-gradient(135deg,#dbeafe,#eff6ff);color:#1e40af;padding:.6rem 1.2rem;border-radius:9999px;font-size:.9rem;font-weight:500;box-shadow:0 2px 5px #0000000d;transition:all .2s ease;border:1px solid rgba(191,219,254,.7);animation:fadeIn 1.6s ease-out}.document-type:hover{transform:translateY(-2px);box-shadow:0 4px 8px #00000014;background:linear-gradient(135deg,#bfdbfe,#dbeafe);animation:pulse 2s infinite}.upload-section{background:#fff;border-radius:16px;padding:2.5rem;box-shadow:0 10px 25px #00000014;max-width:700px;margin:3rem auto;border:1px solid rgba(226,232,240,.8);position:relative;z-index:2;animation:fadeIn 1.4s ease-out;box-sizing:border-box}.upload-section h2{margin:0 0 2rem;text-align:center;font-size:1.75rem;color:#1e40af;font-weight:700}.file-input-container{width:100%;padding:0;margin:0 0 1.5rem;box-sizing:border-box}.file-input{display:block;width:100%;padding:2rem;border:2px dashed #bfdbfe;border-radius:12px;background:#f0f9ff;text-align:center;cursor:pointer;transition:all .2s ease;margin:0;color:#334155;position:relative;box-sizing:border-box}.file-input:before{content:"Select a PDF file";display:block;margin-bottom:8px;font-weight:600;color:#1e40af;font-size:1.1rem}.file-input:after{content:"📄";display:block;font-size:2.5rem;margin:10px auto}.file-input:hover{border-color:#93c5fd;background:#e0f2fe}.file-drop-zone{border:2px dashed #cbd5e1;border-radius:12px;padding:2rem;text-align:center;background:#f8fafc;transition:all .3s ease;position:relative;margin:1rem 0}.file-drop-zone:hover{border-color:#3b82f6;background:#eff6ff}.file-drop-zone.has-files{border-color:#10b981;background:#f0fdf4}.file-input{position:absolute;width:100%;height:100%;opacity:0;cursor:pointer;top:0;left:0}.file-input-label{cursor:pointer;display:block;color:#64748b}.file-input-label svg{color:#3b82f6;margin-bottom:1rem}.file-input-label p{margin:.5rem 0;font-size:1.1rem}.file-input-label strong{color:#1e293b}.file-hint{font-size:.9rem;color:#94a3b8}.selected-files{margin:1.5rem 0;background:#f8fafc;padding:1.5rem;border-radius:10px;border:1px solid #e2e8f0}.selected-files h4{margin:0 0 1rem;color:#1e293b;font-size:1.1rem}.file-list{list-style:none;padding:0;margin:0 0 1.5rem}.file-list li{padding:.5rem 0;border-bottom:1px solid #e2e8f0;color:#334155;display:flex;justify-content:space-between;align-items:center}.file-list li:last-child{border-bottom:none}.upload-status{font-size:.9rem;color:#3b82f6;font-weight:500}.file-info{margin:1.5rem 0;text-align:center;background:#f8fafc;padding:1.25rem;border-radius:10px;border:1px solid #e2e8f0}.file-info p{margin:0 0 1rem;color:#334155;font-weight:500}.upload-button{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;border:none;padding:.85em 2em;border-radius:8px;font-size:1.05em;font-weight:600;cursor:pointer;transition:all .25s;box-shadow:0 4px 10px #2563eb40;display:block;margin:0 auto}.upload-button:hover{transform:translateY(-2px);box-shadow:0 6px 15px #2563eb59;background:linear-gradient(135deg,#1d4ed8,#1e40af)}.upload-button:active{transform:translateY(0)}.upload-button:disabled{background:linear-gradient(135deg,#94a3b8,#64748b);cursor:not-allowed;box-shadow:none;transform:none}.demo-link-container{margin-top:2.5rem;text-align:center}.demo-separator{display:flex;align-items:center;margin:2rem 0}.demo-separator:before,.demo-separator:after{content:"";flex:1;border-bottom:1px solid #e2e8f0}.demo-separator span{padding:0 1.5rem;color:#64748b;font-size:.95rem;font-weight:600;background:#fff}.demo-button{display:inline-block;background:linear-gradient(135deg,#4f46e5,#4338ca);color:#fff;text-decoration:none;padding:.85em 2em;border-radius:8px;font-size:1.05em;font-weight:600;cursor:pointer;transition:all .25s;box-shadow:0 4px 10px #4f46e540}.demo-button:hover{background:linear-gradient(135deg,#4338ca,#3730a3);transform:translateY(-2px);box-shadow:0 6px 15px #4f46e559}.demo-description{margin-top:1rem;font-size:.95rem;color:#64748b;font-style:italic}.error-message{color:#ef4444;background-color:#f8d7da;border:1px solid #f5c6cb;border-radius:4px;padding:.75rem;margin:1rem 0;text-align:center}.loading{display:flex;justify-content:center;align-items:center;height:100vh;font-size:1.2rem;color:#2563eb}.loading:after{content:"";width:1em;height:1em;margin-left:.5em;border:2px solid #2563eb;border-right-color:transparent;border-radius:50%;animation:loading-spin .75s linear infinite}@keyframes loading-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.jobs-section{max-width:1000px;margin:2rem auto;padding:0 1.5rem}.jobs-section h2{margin-bottom:2rem;color:#1e40af;font-size:1.75rem;font-weight:700;text-align:center;position:relative}.jobs-section h2:after{content:"";position:absolute;width:80px;height:4px;background:linear-gradient(90deg,#3b82f6,transparent);bottom:-10px;left:50%;transform:translate(-50%);border-radius:2px}.batch-container{width:100%;max-width:100%;margin-bottom:1.5rem;min-width:0}.batch-header{background:linear-gradient(135deg,#f8fafc,#e2e8f0);padding:1rem 1.5rem;border-radius:8px;margin-bottom:.5rem;border-left:4px solid #3b82f6;cursor:pointer;transition:all .2s ease;width:100%;box-sizing:border-box;min-width:0}.batch-header:hover{background:linear-gradient(135deg,#f1f5f9,#e2e8f0)}.batch-header h3{margin:0 0 .25rem;font-size:1.1rem;font-weight:600;color:#1e40af;display:flex;align-items:center;gap:.5rem}.batch-toggle{font-size:.8rem;transition:transform .2s ease;display:inline-block;width:12px;flex-shrink:0}.batch-toggle.collapsed{transform:rotate(-90deg)}.batch-header p{margin:0;font-size:.9rem;color:#64748b}.job-card.indented{margin-left:2rem;margin-bottom:1rem;width:calc(100% - 2rem);box-sizing:border-box}@media(max-width:768px){.job-card.indented{margin-left:1rem;width:calc(100% - 1rem)}}.jobs-list{display:flex;flex-direction:column;gap:0;margin-top:2rem;width:100%;min-width:320px}@media(min-width:768px){.jobs-list{min-width:600px}}@media(min-width:1024px){.jobs-list{min-width:800px}}.job-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 5px 15px #0000000d;transition:all .3s ease;cursor:pointer;display:flex;border:1px solid rgba(226,232,240,.8);animation:fadeIn .5s ease-out}.job-card:hover{transform:translateY(-5px);box-shadow:0 10px 25px #0000001a;border-color:#bfdbfee6}.job-icon{width:60px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;font-size:1.5rem;transition:all .3s ease;align-self:stretch}.job-card:hover .job-icon{background:linear-gradient(135deg,#1d4ed8,#1e40af)}.job-details{padding:1.25rem;flex:1}.job-filename{margin:0 0 .75rem;font-size:1.1rem;color:#1e3a8a;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.job-meta{display:flex;justify-content:space-between;align-items:center;font-size:.9rem;color:#64748b}.job-date{display:flex;align-items:center;gap:5px}.job-status{display:flex;align-items:center;gap:5px;font-weight:500;padding:.35rem .75rem;border-radius:9999px;font-size:.8rem}.job-status.complete{background-color:#ecfdf5;color:#065f46}.job-status.in-progress{background-color:#eff6ff;color:#1e40af}.job-status.failed{background-color:#fef2f2;color:#b91c1c}.status-icon{margin-right:5px}.status-icon.complete{color:#10b981}.status-icon.in-progress{color:#3b82f6}.status-icon.failed{color:#ef4444}.no-jobs{text-align:center;padding:3rem;background:#fff;border-radius:12px;box-shadow:0 5px 15px #0000000d;border:1px solid rgba(226,232,240,.8)}.no-jobs p{color:#64748b;margin-bottom:1.5rem;font-size:1.1rem}.refresh-button{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;border:none;padding:.6em 1.2em;border-radius:8px;font-size:.95em;font-weight:600;cursor:pointer;transition:all .25s;box-shadow:0 4px 10px #2563eb40;margin-left:1rem}.refresh-button:hover{transform:translateY(-2px);box-shadow:0 6px 15px #2563eb59;background:linear-gradient(135deg,#1d4ed8,#1e40af)}.header-controls{display:flex;align-items:center;gap:15px}.nav-button{display:flex;align-items:center;gap:.5rem;background:#fff;color:#1e40af;border:1px solid #bfdbfe;padding:.5rem 1rem;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease}.nav-button:hover{background:#f0f9ff;transform:translateY(-2px);box-shadow:0 3px 8px #0000001a}.insurance-type-selector{margin-bottom:20px;background-color:#f8fafc;padding:15px;border-radius:8px;border:1px solid #e2e8f0}.insurance-type-selector h3{margin-top:0;margin-bottom:15px;font-size:1rem;color:#475569}.insurance-options{display:flex;gap:15px}.insurance-options .option{flex:1;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:12px;display:flex;flex-direction:column;align-items:center;transition:all .2s ease-in-out}.insurance-options .option:hover{border-color:#3b82f6;background-color:#f0f7ff}.insurance-options .option.selected{border-color:#3b82f6;background-color:#eff6ff;box-shadow:0 1px 3px #0000001a}.insurance-options .option input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.option-icon{font-size:1.5rem;color:#64748b;margin-bottom:8px}.option.selected .option-icon{color:#3b82f6}.option-label{font-weight:500;color:#1e293b}.header-insurance-toggle{display:flex;align-items:center;background:#f0f4f8;border-radius:20px;padding:3px;border:1px solid #d1d5db;margin-right:15px;box-shadow:0 1px 3px #0000001a}.header-insurance-toggle .option{display:flex;align-items:center;padding:5px 12px;border-radius:18px;cursor:pointer;transition:all .2s ease;font-size:.85rem;font-weight:500}.header-insurance-toggle .option.selected{background:#3b82f6;color:#fff}.header-insurance-toggle .option-icon{margin-right:5px;font-size:.9rem}.header-insurance-toggle input{position:absolute;opacity:0;width:0;height:0}@media(max-width:768px){.jobs-list{grid-template-columns:1fr}.header-controls{flex-direction:column;gap:.5rem}}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.05)}to{transform:scale(1)}}.split-view{display:flex;width:100%;height:calc(100vh - 200px);min-height:600px;background:#f8f9fa;border-radius:8px;overflow:hidden;margin-top:1rem;margin-bottom:2rem;box-shadow:0 4px 12px #0000000d}.gutter{background-color:#e2e8f0;background-repeat:no-repeat;background-position:50%;cursor:col-resize;width:10px!important;position:relative;transition:background-color .2s ease}.gutter:hover{background-color:#3b82f6}.gutter:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:4px;height:40px;background-color:#0000001a;border-radius:2px}@media(max-width:1200px){.split-view{height:calc(100vh - 150px)}}@media(max-width:768px){.split-view{height:calc(100vh - 120px);flex-direction:column}.gutter{height:10px!important;width:100%!important;cursor:row-resize}.gutter:after{width:40px;height:4px}}.pdf-container{position:relative;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;background:#f4f4f8;overflow-y:auto;padding-top:70px;box-sizing:border-box}.pdf-controls{position:absolute;top:0;left:0;right:0;z-index:100;min-width:125px;display:flex;justify-content:flex-start;align-items:center;background:linear-gradient(to bottom,#f0f4f8,#e1e8f0);padding:12px 20px;border-bottom:1px solid #d1d5db;box-shadow:0 2px 8px #00000026;height:60px;margin:0}.pdf-viewer{position:relative;height:100%;padding:0;background:#fff;overflow:hidden;min-width:300px;animation:fade-in .3s ease-out;display:flex;flex-direction:column}.pdf-viewer.expanded{width:100%!important}.pdf-viewer .react-pdf__Document{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:100%;min-height:100%;padding:1rem;box-sizing:border-box}.pdf-viewer .react-pdf__Page{margin:1rem auto;box-shadow:0 2px 10px #0000001a;background:#fff;border:1px solid #e2e8f0;border-radius:4px;max-width:100%}.react-pdf__Page__canvas{display:block!important;margin:0 auto!important;max-width:100%!important;height:auto!important;width:auto!important}.pdf-controls span{min-width:120px;text-align:left;margin:0 .5rem;white-space:nowrap;font-size:.9rem;font-weight:500}.split-view:has(.pdf-viewer.expanded) .pdf-controls{width:100%;max-width:none}.pdf-viewer .react-pdf__Page{max-width:100%;margin-bottom:1.5rem;border-radius:12px;box-shadow:0 10px 25px #00000014;overflow:hidden;display:flex;justify-content:flex-start;width:100%;transition:all .3s ease}.pdf-viewer .react-pdf__Page:hover{box-shadow:0 12px 30px #0000001f;transform:translateY(-3px)}.pdf-controls .zoom-controls{display:flex;align-items:center;margin-left:auto;gap:8px}.pdf-controls .zoom-level{min-width:50px;text-align:center}.pdf-controls button{display:flex;align-items:center;justify-content:center;padding:.4rem .8rem;background:linear-gradient(to bottom,#3b82f6,#2563eb);color:#fff;border:none;border-radius:4px;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s ease}.pdf-controls button:hover{transform:translateY(-1px);background:linear-gradient(to bottom,#4f8df7,#2563eb);box-shadow:0 2px 4px #0000001a}.pdf-controls button:disabled{opacity:.5;cursor:not-allowed;transform:none}@keyframes fade-in{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.page-reference{color:#2563eb;cursor:pointer;text-decoration:underline;font-weight:500;transition:all .2s ease;white-space:nowrap}.page-reference:hover{color:#1d4ed8;text-decoration:underline;background-color:#2563eb1a;border-radius:4px;padding:0 4px;margin:0 -4px}.analysis-viewer{height:100%;overflow-y:auto;padding:2rem;background:#fff;position:relative;display:flex;flex-direction:column;min-width:300px;animation:fadeIn 1.2s ease-out;transition:all .3s ease;max-height:100%}.analysis-viewer.collapsed{min-width:0;width:0!important;padding:0;overflow:hidden}.analysis-toggle{position:absolute;right:calc(50% - 15px);top:50%;transform:translateY(-50%);background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;border:none;padding:10px;width:36px;height:50px;border-radius:8px;cursor:pointer;z-index:10;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 10px #2563eb40;transition:all .3s ease;font-weight:700;font-size:1.1rem}.analysis-toggle:hover{background:linear-gradient(135deg,#1d4ed8,#1e40af);box-shadow:0 6px 15px #2563eb59;transform:translateY(-50%) translate(-2px)}.page-section,.analysis-section{background:#fff;margin-bottom:1.2rem;padding:1.5rem;border-radius:12px;box-shadow:0 5px 15px #0000000d;transition:all .2s ease;border:1px solid rgba(226,232,240,.8);animation:fadeIn .8s ease-out}.page-section:hover,.analysis-section:hover{box-shadow:0 10px 25px #00000014;transform:translateY(-3px);border-color:#bfdbfeb3}.page-section h3,.analysis-section h3{margin-top:0;color:#1e40af;border-bottom:1px solid #e2e8f0;padding-bottom:.8rem;margin-bottom:1.2rem;font-size:1.1rem;display:flex;align-items:center;gap:10px;font-weight:600}.page-content,.analysis-content{white-space:pre-wrap;line-height:1.6;color:#1a1a1a}.page-content p,.analysis-content p{margin:.6rem 0}.underwriter-analysis .analysis-section{border-left:4px solid}.underwriter-analysis .analysis-section:nth-child(1){border-left-color:#2563eb}.underwriter-analysis .analysis-section:nth-child(2){border-left-color:#dc2626}.underwriter-analysis .analysis-section:nth-child(3){border-left-color:#059669}.underwriter-analysis .analysis-section:nth-child(4){border-left-color:#7c3aed}.page-section{cursor:pointer;transition:all .25s ease}.page-section:hover{transform:translateY(-3px)}.page-section.active{border-left:4px solid #3b82f6;background:#f0f9ff}.chat-toggle{position:fixed;top:20px;right:20px;background:#2563eb;color:#fff;border:none;padding:8px 16px;border-radius:8px;cursor:pointer;display:flex;align-items:center;gap:8px;z-index:1000;box-shadow:0 2px 4px #0000001a}.chat-toggle:hover{background:#1d4ed8}.chat-drawer{position:fixed;top:0;right:0;width:600px;height:100vh;background:#fff;box-shadow:-2px 0 8px #0000001a;display:flex;flex-direction:column;transform:translate(100%);transition:transform .3s ease-in-out;z-index:999}.chat-drawer.open{transform:translate(0)}.chat-header{padding:20px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.chat-header h2{margin:0;font-size:1.1rem;color:#1a1a1a}.chat-close{background:none;border:none;cursor:pointer;color:#64748b;font-size:1.3rem}.chat-messages{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:16px}.chat-message{display:flex;gap:12px;max-width:85%}.chat-message.user{align-self:flex-end;flex-direction:row-reverse}.chat-avatar{width:32px;height:32px;border-radius:50%;background:#e2e8f0;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0}.chat-avatar.ai{background:#2563eb;color:#fff}.chat-bubble{background:#f1f5f9;padding:12px 16px;border-radius:4px 12px 12px;color:#1a1a1a}.chat-message.user .chat-bubble{background:#2563eb;color:#fff;border-top-right-radius:4px;border-top-left-radius:12px}.chat-input-container{padding:20px;border-top:1px solid #e2e8f0}.chat-input-form{display:flex;gap:12px}.chat-input{flex:1;padding:12px;border:1px solid #e2e8f0;border-radius:8px;font-size:1rem;resize:none;min-height:24px;max-height:120px;background:#fff;color:#1a1a1a;scrollbar-width:none;-ms-overflow-style:none}.chat-input::-webkit-scrollbar{display:none}.chat-input::placeholder{color:#94a3b8}.chat-input:focus{outline:none;border-color:#2563eb}.chat-send{background:#2563eb;color:#fff;border:none;padding:8px 16px;border-radius:8px;cursor:pointer;font-weight:500}.chat-send:hover{background:#1d4ed8}.chat-send:disabled{background:#94a3b8;cursor:not-allowed}.chat-bubble .page-reference{color:#2563eb;cursor:pointer;text-decoration:underline}.chat-message.user .chat-bubble .page-reference{color:#fff;text-decoration:underline}.chat-bubble a{color:inherit;text-decoration:none}.chat-bubble a:hover{text-decoration:underline}.chat-type-indicator{font-size:.7rem;padding:2px 6px;border-radius:10px;margin-left:8px;font-weight:700;color:#fff;display:inline-flex;align-items:center;justify-content:center}.chat-type-indicator.life{background-color:#3b82f6}.chat-type-indicator.p-and-c{background-color:#10b981}.how-it-works-button{position:absolute;top:15px;right:20px;z-index:100;display:flex;align-items:center;gap:.5rem;padding:.4rem .8rem;background-color:#fff;color:#4b5563;border:1px solid #e2e8f0;border-radius:6px;font-size:.85rem;cursor:pointer;transition:all .2s;box-shadow:0 1px 3px #0000001a;width:auto;opacity:.85}.how-it-works-button:hover{background-color:#f8fafc;box-shadow:0 1px 3px #0003;opacity:1}.insurance-type-badge{display:flex;align-items:center}.insurance-type-badge .badge{display:inline-flex;align-items:center;padding:5px 10px;border-radius:15px;font-size:.85rem;font-weight:500;color:#fff}.insurance-type-badge .badge svg{margin-right:5px}.insurance-type-badge .badge.life{background-color:#3b82f6;border:1px solid #2563eb}.insurance-type-badge .badge.p-and-c{background-color:#10b981;border:1px solid #059669}.job-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem;padding:1.5rem 0;border-bottom:2px solid #e2e8f0}.job-title-section{display:flex;flex-direction:column;gap:.75rem}.job-header h1{font-size:1.75rem;font-weight:700;color:#1f2937;margin:0;line-height:1.2;max-width:600px;word-wrap:break-word}.document-classification{display:inline-flex;align-items:center;gap:.5rem;background:linear-gradient(135deg,#6366f1,#4f46e5);color:#fff;padding:.4rem .8rem;border-radius:15px;font-size:.8rem;font-weight:500;box-shadow:0 2px 6px #6366f140;transition:all .2s ease;border:1px solid rgba(99,102,241,.3)}.document-classification:hover{transform:translateY(-1px);box-shadow:0 3px 8px #6366f159}.document-classification .doc-icon{font-size:.85rem;color:#ffffffe6}.document-classification .doc-type-label{font-weight:500}.job-header .header-controls{display:flex;align-items:center;gap:1rem}.grouped-analysis{padding:.5rem;display:flex;flex-direction:column;gap:.5rem;animation:fadeIn 1s ease-out}.analysis-group{border:1px solid rgba(226,232,240,.8);border-radius:8px;overflow:hidden;background:#fff;transition:all .25s ease;box-shadow:0 3px 10px #0000000d;margin-bottom:8px}.analysis-group:hover{box-shadow:0 5px 15px #00000014;transform:translateY(-2px);border-color:#bfdbfeb3}.group-header{width:100%;padding:.8rem 1.2rem;display:flex;align-items:center;background:#fff;border:none;cursor:pointer;transition:all .2s ease;font-size:.95rem;color:#1e40af;font-weight:600}.group-header:hover{background:#f8fafc}.group-header.expanded{border-bottom:1px solid #e2e8f0;background:#f8fafc}.group-title{flex:1;letter-spacing:-.01em;display:flex;align-items:center;gap:8px}.group-header:after{content:none}.group-header.expanded:after{transform:none}.group-content{background:#fff;padding:12px;display:flex;flex-direction:column;gap:12px}.page-card{border-radius:12px;background-color:#fff;padding:18px;margin-bottom:12px;box-shadow:0 2px 10px #0000000d;border:1px solid #e2e8f0;cursor:pointer;transition:all .2s ease}.page-card:last-child{margin-bottom:0}.page-card:hover{box-shadow:0 4px 15px #00000014;transform:translateY(-2px);border-color:#bfdbfe}.page-card.active{background:#f0f9ff;border-left:4px solid #2563eb}.page-card .page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;padding-bottom:12px;border-bottom:1px solid #e2e8f0}.page-card .page-number{font-weight:700;color:#2563eb;font-size:1rem}.page-card .page-type{color:#64748b;font-size:.9rem;font-weight:500;max-width:70%;text-align:right}.page-card .page-content{white-space:pre-wrap;line-height:1.5;color:#334155;font-size:.95rem}.page-card .content-line{margin-bottom:8px;position:relative;padding-left:14px}.page-card .content-line:before{content:"-";position:absolute;left:0;color:#94a3b8}.group-content .page-section{border-radius:0;margin:0;padding:.8rem 1.2rem;border-bottom:1px solid #e2e8f0;cursor:pointer;transition:all .2s ease}.group-content .page-section:last-child{border-bottom:none}.group-content .page-section:hover{background:#f8fafc}.group-content .page-section.active{background:#f0f9ff;border-left:3px solid #2563eb}.group-content .page-section h3{font-size:.9rem;color:#4b5563;margin-bottom:.6rem;display:flex;align-items:center;gap:6px}.page-content,.analysis-content{white-space:pre-wrap;line-height:1.4;color:#1a1a1a;font-size:.9rem}.page-content p,.analysis-content p{margin:.4rem 0}.page-section h3 svg,.analysis-section h3 svg{color:#3b82f6;font-size:.9rem}.tabs{display:flex;gap:.5rem;margin-bottom:1.5rem;background-color:#fff;padding:.8rem;border-radius:10px;box-shadow:0 2px 8px #00000014}.tab-button{padding:.85rem 1.5rem;border:none;background:#f1f5f9;color:#64748b;cursor:pointer;border-radius:8px;font-weight:600;transition:all .2s;flex:1;text-align:center;font-size:.95rem;display:flex;align-items:center;justify-content:center;gap:8px;position:relative}.tab-button:hover{background:#e2e8f0;color:#475569;transform:translateY(-1px)}.tab-button.active{background:#2563eb;color:#fff;box-shadow:0 2px 5px #2563eb4d}.progress-message{margin-top:1rem;padding:1rem;background-color:#e0f2fe;border-radius:8px;color:#0369a1;font-weight:500;text-align:center;animation:fade-in .3s ease-in-out}.progress-container{margin:40px auto;padding:35px;background:#fff;border-radius:16px;box-shadow:0 10px 25px #00000014;max-width:800px;transition:all .3s ease;border:1px solid rgba(226,232,240,.8);animation:fadeIn .8s ease-out}.progress-steps{display:flex;align-items:center;justify-content:center;margin-bottom:35px;width:100%}.progress-icon{color:#fff;font-size:18px;position:relative;z-index:3}.progress-dot{width:38px;height:38px;border-radius:50%;background:#e2e8f0;position:relative;z-index:1;transition:all .3s ease;display:flex;align-items:center;justify-content:center}.progress-dot.active{background:linear-gradient(135deg,#3b82f6,#2563eb);animation:pulse 1.5s infinite}.progress-dot.active:after{content:"";position:absolute;width:16px;height:16px;background:#fff;border-radius:50%;z-index:2}.progress-line{flex-grow:1;height:5px;background:#e2e8f0;margin:0 15px;max-width:200px;position:relative;overflow:hidden}.progress-line.active{background:linear-gradient(90deg,#3b82f6,#2563eb);animation:line-pulse 2s infinite}.progress-label{text-align:center;font-size:18px;font-weight:600;color:#1a1a1a;margin-bottom:15px;letter-spacing:-.01em}.progress-details{text-align:center;color:#4a5568;font-size:14px;padding:15px 25px;background:#f7fafc;border-radius:10px}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.agent-action-popup{position:fixed;top:20px;right:20px;z-index:1000;max-width:420px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:16px;box-shadow:0 20px 40px #00000026,0 0 0 1px #ffffff1a;animation:slideInFromRight .5s ease-out,pulse 2s ease-in-out infinite;color:#fff;overflow:hidden;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);min-width:360px}@keyframes slideInFromRight{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes pulse{0%,to{box-shadow:0 20px 40px #00000026,0 0 0 1px #ffffff1a}50%{box-shadow:0 25px 50px #0003,0 0 0 2px #fff3}}.agent-action-content{position:relative;padding:24px}.agent-action-close{position:absolute;top:16px;right:16px;background:#fff3;border:none;color:#fff;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;font-size:14px}.agent-action-close:hover{background:#ffffff4d;transform:scale(1.1)}.agent-action-header{display:flex;align-items:flex-start;gap:16px;margin-bottom:20px}.agent-action-icon{background:#fff3;width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px;animation:robotBounce 2s ease-in-out infinite;flex-shrink:0}@keyframes robotBounce{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.agent-action-title h3{margin:0 0 4px;font-size:18px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.1)}.agent-action-title p{margin:0;font-size:14px;opacity:.9;line-height:1.4}.agent-action-body{background:#ffffff1a;border-radius:12px;padding:20px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.agent-action-summary{display:flex;align-items:center;gap:12px;margin-bottom:16px}.email-icon{color:#fbbf24;font-size:20px;animation:emailPulse 2s ease-in-out infinite}@keyframes emailPulse{0%,to{transform:scale(1)}50%{transform:scale(1.2)}}.action-text{flex:1;font-size:14px;line-height:1.5}.action-text strong{color:#fbbf24;font-weight:600}.agent-action-details{margin-top:16px}.agent-action-details summary{cursor:pointer;font-weight:500;color:#ffffffe6;transition:color .2s ease;list-style:none;position:relative;padding:8px 0 8px 20px}.agent-action-details summary::-webkit-details-marker{display:none}.agent-action-details summary:before{content:"▶";position:absolute;left:0;transition:transform .2s ease}.agent-action-details[open] summary:before{transform:rotate(90deg)}.agent-action-details summary:hover{color:#fff}.action-confirmation{margin-top:12px;background:#0000001a;padding:16px;border-radius:8px;font-size:13px;line-height:1.6;border-left:3px solid #fbbf24}.action-confirmation p{margin:0 0 8px}.action-confirmation p:last-child{margin-bottom:0}@media(max-width:768px){.agent-action-popup{position:fixed;top:10px;left:10px;right:10px;max-width:none;min-width:auto}.agent-action-content{padding:20px}.agent-action-header{gap:12px}.agent-action-icon{width:40px;height:40px;font-size:20px}.agent-action-title h3{font-size:16px}}.how-it-works-drawer{position:fixed;top:0;right:0;width:800px;height:100%;background:#fff;box-shadow:-5px 0 20px #0000001a;overflow-y:auto;transition:transform .3s ease-in-out;z-index:1000;border-left:1px solid rgba(226,232,240,.8);animation:slideInFromRight .3s ease-out}.drawer-close{position:absolute;top:15px;right:15px;padding:10px 15px;background:#f8fafc;border:1px solid rgba(226,232,240,.8);border-radius:8px;cursor:pointer;font-weight:600;color:#64748b;transition:all .2s ease}.drawer-close:hover{background:#f1f5f9;color:#1e40af;transform:translateY(-2px);box-shadow:0 2px 5px #0000001a}.drawer-content{padding:3.5rem 2rem 2rem}.flow-overview{margin-bottom:2rem}.flow-overview h2{color:#1e40af;font-size:1.75rem;margin-bottom:1rem;font-weight:700}.flow-overview p{color:#64748b;line-height:1.6;margin-bottom:1.5rem}.flow-diagram img{border-radius:12px;box-shadow:0 5px 15px #0000001a;border:1px solid rgba(226,232,240,.8);transition:all .2s ease;max-width:100%;height:auto}.flow-diagram img:hover{transform:translateY(-3px);box-shadow:0 10px 25px #00000026}.step{margin-bottom:2rem;padding:1.5rem;background:#f8fafc;border-radius:12px;border-left:4px solid #3b82f6;box-shadow:0 5px 15px #0000000d;transition:all .2s ease}.step:hover{transform:translateY(-2px);box-shadow:0 8px 20px #00000014}.step h3{color:#1e40af;margin-bottom:.75rem;font-weight:600}.step p{color:#64748b;line-height:1.6}.prompt-examples h3{color:#1e40af;margin-bottom:1rem;font-weight:600}.prompt-examples pre{background:#f8fafc;padding:1.5rem;border-radius:12px;overflow-x:auto;font-size:.9em;line-height:1.4;margin:1rem 0;border:1px solid rgba(226,232,240,.8);box-shadow:0 5px 15px #0000000d}@keyframes slideInFromRight{0%{transform:translate(100%)}to{transform:translate(0)}}@media(max-width:900px){.how-it-works-drawer{width:90%}}@media(max-width:600px){.how-it-works-drawer{width:100%}.drawer-content{padding:3rem 1.5rem 1.5rem}}
