:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html,body{margin:0;padding:0;width:100%;min-height:100vh;background:linear-gradient(135deg,#1e3a8a,#1e40af,#1d4ed8);background-attachment:fixed}body{display:flex;justify-content:center;align-items:flex-start;min-width:320px;min-height:100vh}#root{width:100%;min-height:100vh;display:flex;justify-content:center;align-items:flex-start}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}}.file-upload-container{max-width:1200px;margin:0 auto;padding:2rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;background:#fffffff2;border-radius:16px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2)}.upload-header{text-align:center;margin-bottom:3rem}.upload-header h1{color:#1a365d;font-size:2.5rem;font-weight:700;margin-bottom:.5rem}.upload-header p{color:#4a5568;font-size:1.1rem;margin:0}.upload-sections{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-bottom:2rem}@media (max-width: 768px){.upload-sections{grid-template-columns:1fr;gap:1.5rem}}.upload-section{position:relative}.file-drop-zone{border:2px dashed #cbd5e0;border-radius:12px;padding:3rem 2rem;text-align:center;cursor:pointer;transition:all .3s ease;background:#f7fafc;min-height:300px;display:flex;align-items:center;justify-content:center}.file-drop-zone:hover{border-color:#3182ce;background:#ebf8ff}.file-drop-zone.ready{border-color:#38a169;background:#f0fff4;cursor:default}.file-drop-zone.ready:hover{border-color:#38a169;background:#f0fff4}.file-drop-zone.error{border-color:#e53e3e;background:#fed7d7;cursor:pointer}.file-drop-zone.error:hover{border-color:#c53030;background:#feb2b2}.file-drop-content{display:flex;flex-direction:column;align-items:center;gap:1rem}.upload-icon{color:#718096;margin-bottom:.5rem}.status-icon{margin-bottom:.5rem}.status-icon.success{color:#38a169}.status-icon.error{color:#e53e3e}.file-drop-zone h3{margin:0;font-size:1.5rem;font-weight:600;color:#2d3748}.file-drop-zone.ready h3{color:#1a202c;font-size:1.25rem;word-break:break-all}.file-drop-zone p{margin:0;color:#4a5568;font-size:1rem;line-height:1.5}.accepted-formats{font-size:.875rem!important;color:#718096!important;font-style:italic}.error-message{color:#c53030!important;font-weight:500}.upload-button{background:#3182ce;color:#fff;border:none;border-radius:8px;padding:.75rem 1.5rem;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s ease}.upload-button:hover{background:#2c5282}.remove-button{background:#e53e3e;color:#fff;border:none;border-radius:8px;padding:.5rem 1rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .2s ease}.remove-button:hover{background:#c53030}.upload-status{text-align:center;margin-top:2rem}.status-message{display:inline-flex;align-items:center;gap:.5rem;padding:1rem 1.5rem;border-radius:8px;font-weight:500;font-size:1rem}.status-message.success{background:#c6f6d5;color:#22543d;border:1px solid #9ae6b4}.status-message.error{background:#fed7d7;color:#742a2a;border:1px solid #feb2b2}.status-message.info{background:#bee3f8;color:#2a4365;border:1px solid #90cdf4}.file-drop-zone.drag-over{border-color:#3182ce;background:#ebf8ff;transform:scale(1.02)}.update-app-container{margin-top:2rem;max-width:1200px;margin-left:auto;margin-right:auto}.update-section{background:#fffffff2;border-radius:16px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;padding:2rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2)}.update-header{text-align:center;margin-bottom:2rem}.update-header h2{color:#1a365d;font-size:1.875rem;font-weight:700;margin-bottom:.5rem}.update-header p{color:#4a5568;font-size:1rem;margin:0}.files-summary{background:#f7fafc;border-radius:8px;padding:1.5rem;margin-bottom:2rem;border:1px solid #e2e8f0}.file-info h4{color:#2d3748;font-size:1.125rem;font-weight:600;margin-bottom:1rem}.file-info ul{list-style:none;padding:0;margin:0}.file-info li{padding:.5rem 0;color:#4a5568;font-size:.875rem;border-bottom:1px solid #e2e8f0}.file-info li:last-child{border-bottom:none}.file-info strong{color:#2d3748;font-weight:600}.processing-status{margin-bottom:2rem}.status-indicator{display:flex;align-items:center;gap:.75rem;padding:1rem;border-radius:8px;font-weight:500;margin-bottom:1rem}.status-indicator.idle{background:#edf2f7;color:#4a5568;border:1px solid #cbd5e0}.status-indicator.uploading,.status-indicator.processing{background:#bee3f8;color:#2a4365;border:1px solid #90cdf4}.status-indicator.success{background:#c6f6d5;color:#22543d;border:1px solid #9ae6b4}.status-indicator.error{background:#fed7d7;color:#742a2a;border:1px solid #feb2b2}.status-text{font-size:1rem}.progress-bar{width:100%;height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden;margin-bottom:1rem}.progress-fill{height:100%;background:linear-gradient(90deg,#3182ce,#63b3ed);border-radius:4px;transition:width .3s ease;position:relative}.progress-fill:after{content:"";position:absolute;inset:0;background:linear-gradient(45deg,transparent 25%,white 25%,white 50%,transparent 50%,transparent 75%,white 75%);background-size:20px 20px;animation:progress-stripes 1s linear infinite;opacity:.3}@keyframes progress-stripes{0%{background-position:0 0}to{background-position:20px 0}}.status-details{padding:1rem;border-radius:6px;font-size:.875rem;line-height:1.5}.status-details.success{background:#f0fff4;color:#22543d;border:1px solid #c6f6d5}.status-details.error{background:#fffbeb;color:#9c4221;border:1px solid #fed7aa}.update-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.update-button{display:flex;align-items:center;gap:.5rem;padding:1rem 2rem;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;min-width:180px;justify-content:center}.update-button.disabled{background:#e2e8f0;color:#a0aec0;cursor:not-allowed}.update-button.ready{background:#3182ce;color:#fff}.update-button.ready:hover{background:#2c5282;transform:translateY(-1px)}.update-button.processing{background:#3182ce;color:#fff;cursor:not-allowed}.update-button.success{background:#38a169;color:#fff}.update-button.error{background:#e53e3e;color:#fff}.update-button.error:hover{background:#c53030}.reset-button{padding:.75rem 1.5rem;background:#f7fafc;color:#4a5568;border:1px solid #cbd5e0;border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.reset-button:hover{background:#edf2f7;border-color:#a0aec0}.warning-message{display:flex;align-items:center;gap:.5rem;padding:1rem;background:#fffbeb;color:#9c4221;border:1px solid #fed7aa;border-radius:8px;font-size:.875rem;font-weight:500;margin-top:1rem;justify-content:center}.loading-spinner{animation:spin 1s linear infinite}.success-icon{color:#38a169}.error-icon{color:#e53e3e}.download-section{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:1.5rem;margin-top:1rem}.download-section h4{color:#15803d;font-size:1rem;font-weight:600;margin:0 0 1rem}.download-list{display:flex;flex-direction:column;gap:.75rem}.download-item{display:flex;justify-content:between;align-items:center;padding:.75rem;background:#fffc;border-radius:6px;border:1px solid #d1fae5}.download-info{flex:1;display:flex;flex-direction:column;gap:.25rem}.file-type{font-weight:600;color:#1f2937;text-transform:capitalize}.record-count{font-size:.875rem;color:#6b7280}.download-link{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#16a34a;color:#fff;border-radius:6px;text-decoration:none;font-size:.875rem;font-weight:500;transition:background-color .2s ease}.download-link:hover{background:#15803d}.session-info{margin-top:1rem;font-size:.875rem;color:#374151}.session-info code{background:#0000001a;padding:.25rem .5rem;border-radius:4px;font-family:Courier New,monospace;font-size:.75rem}@media (max-width: 768px){.update-section{padding:1.5rem}.update-actions{flex-direction:column;align-items:center}.update-button{width:100%;max-width:300px}.download-item{flex-direction:column;align-items:stretch;gap:.75rem}.download-link{justify-content:center}}.app-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1rem 0;margin-bottom:2rem;box-shadow:0 8px 32px #0000001f;position:relative}.header-content{max-width:1400px;margin:0 auto;padding:0 2rem;display:flex;justify-content:space-between;align-items:center;gap:2rem}.header-left{display:flex;align-items:center;gap:1rem}.app-title{color:#fff;font-size:1.75rem;font-weight:700;margin:0;text-shadow:0 2px 4px rgba(0,0,0,.2)}.dev-badge{background:#fff3;color:#fff;padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;border:1px solid rgba(255,255,255,.3)}.header-navigation{display:flex;gap:.5rem;background:#ffffff1a;padding:.5rem;border-radius:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.nav-tab{padding:.75rem 1.5rem;background:transparent;color:#fffc;border:none;border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .3s ease;white-space:nowrap}.nav-tab:hover{background:#ffffff26;color:#fff;transform:translateY(-1px)}.nav-tab.active{background:#ffffff40;color:#fff;font-weight:600;box-shadow:0 4px 12px #00000026}.header-right{display:flex;align-items:center}.user-menu{display:flex;align-items:center;gap:1.5rem}.user-info{display:flex;align-items:center;gap:.75rem}.user-avatar{background:#fff3;color:#fff;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid rgba(255,255,255,.3)}.user-details{display:flex;flex-direction:column;align-items:flex-start}.user-name{color:#fff;font-weight:600;font-size:.875rem}.user-role{color:#ffffffb3;font-size:.75rem}.header-actions{display:flex;gap:.5rem}.header-button{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.25rem;background:#ffffff26;color:#fff;border:1px solid rgba(255,255,255,.3);border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.header-button:hover{background:#ffffff40;border-color:#ffffff80;transform:translateY(-1px);box-shadow:0 4px 12px #00000026}.header-button:focus{outline:2px solid rgba(255,255,255,.5);outline-offset:2px}@media (max-width: 1024px){.header-content{gap:1rem}.nav-tab{padding:.5rem 1rem;font-size:.8rem}}@media (max-width: 768px){.header-content{padding:0 1rem;flex-wrap:wrap;gap:1rem}.header-navigation{order:3;width:100%;justify-content:center}.user-details,.header-button span{display:none}.header-button{padding:.75rem}.app-title{font-size:1.5rem}.nav-tab{flex:1;text-align:center;padding:.75rem .5rem}}@media (max-width: 480px){.dev-badge{display:none}.user-info{gap:.5rem}.user-avatar{width:36px;height:36px}.nav-tab{font-size:.75rem;padding:.5rem .25rem}.app-title{font-size:1.25rem}}.sessions-dashboard{padding:0;max-width:1400px;margin:0 auto;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.dashboard-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:32px;padding:24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:12px;box-shadow:0 4px 12px #00000026}.dashboard-header h2{color:#fff;font-size:32px;font-weight:700;margin:0 0 4px;text-shadow:0 2px 4px rgba(0,0,0,.2)}.dev-indicator{display:inline-block;background:#fff3cd;color:#856404;padding:4px 12px;border-radius:16px;font-size:12px;font-weight:500;border:1px solid #ffeaa7}.header-actions{display:flex;gap:12px}.refresh-btn{background:#fff3;color:#fff;border:2px solid rgba(255,255,255,.3);padding:12px 24px;border-radius:8px;cursor:pointer;font-weight:600;font-size:14px;transition:all .2s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.refresh-btn:hover{background:#ffffff4d;border-color:#ffffff80;transform:translateY(-1px);box-shadow:0 4px 8px #0003}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;color:#6c757d}.spinner{width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid #007bff;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}.error-banner{background:#f8d7da;color:#721c24;padding:16px;border-radius:8px;margin-bottom:24px;display:flex;justify-content:space-between;align-items:center;border:1px solid #f5c6cb}.error-banner button{background:#dc3545;color:#fff;border:none;padding:8px 16px;border-radius:4px;cursor:pointer;font-size:14px}.error-banner button:hover{background:#c82333}.filters-section{background:#fff;padding:24px;border-radius:12px;margin-bottom:24px;display:flex;gap:32px;align-items:center;flex-wrap:wrap;box-shadow:0 2px 8px #0000001a;border:1px solid #e9ecef}.filter-group{display:flex;flex-direction:column;gap:8px}.filter-group label{font-weight:600;color:#2c3e50;font-size:14px}.filter-group select{padding:12px 16px;border:2px solid #e9ecef;border-radius:8px;font-size:14px;font-weight:500;background:#fff;color:#2c3e50;min-width:140px;transition:border-color .2s ease}.filter-group select option{color:#2c3e50;background:#fff;padding:8px 12px}.filter-group select:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.results-info{margin-left:auto;color:#495057;font-size:14px;font-weight:600;padding:12px 20px;background:#f8f9fa;border-radius:20px;border:1px solid #e9ecef}.empty-state{text-align:center;padding:60px 20px;color:#6c757d}.empty-state h3{color:#495057;margin-bottom:8px}.sessions-table-container{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px #0000001a;border:1px solid #dee2e6}.sessions-table{width:100%;border-collapse:collapse;font-size:14px;background:#fff}.sessions-table thead{background:#f8f9fa;border-bottom:2px solid #dee2e6}.sessions-table th{padding:16px 12px;text-align:left;font-weight:600;color:#212529;background:#f8f9fa;border-bottom:2px solid #dee2e6;white-space:nowrap}.sessions-table td{padding:16px 12px;border-bottom:1px solid #dee2e6;vertical-align:middle;color:#495057}.session-row:hover{background:#f1f3f4}.session-row.clickable{cursor:pointer}.session-row.clickable:hover{background:#e8f4fd}.session-id code{background:#e9ecef;padding:4px 8px;border-radius:4px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:12px;color:#212529;font-weight:500}.status-badge{display:inline-block;padding:4px 12px;border-radius:16px;color:#fff;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.files-count{min-width:150px}.progress-container{display:flex;flex-direction:column;gap:4px}.progress-container span{font-size:12px;color:#495057;font-weight:600}.progress-bar{width:100%;height:8px;background:#e9ecef;border-radius:4px;overflow:hidden}.progress-fill{height:100%;transition:width .3s ease;border-radius:4px}.error-message{max-width:200px}.error-text{color:#dc3545;font-size:12px;display:block;line-height:1.3;font-weight:500}.metadata{max-width:200px}.file-info{display:flex;flex-direction:column;gap:4px}.file-name{font-size:12px;font-weight:500;color:#495057;word-break:break-all}.file-size{font-size:11px;color:#6c757d;font-style:italic}.deployment-link{display:inline-block;margin-top:4px;padding:2px 8px;background:#e8f5e8;color:#198754;text-decoration:none;border-radius:12px;font-size:11px;font-weight:500;transition:background-color .2s}.deployment-link:hover{background:#d1f2d1;text-decoration:underline}.batch-name{background:#e7f1ff;color:#0851d4;padding:3px 10px;border-radius:12px;font-size:11px;font-weight:600}.dashboard-footer{margin-top:32px;padding:24px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;border:1px solid #e9ecef}.status-legend{display:flex;gap:24px;align-items:center;flex-wrap:wrap;justify-content:center}.legend-title{font-weight:700;color:#2c3e50;margin-right:16px;font-size:16px}.legend-item{display:flex;align-items:center;gap:8px;font-size:14px;color:#495057;font-weight:500;padding:8px 16px;background:#f8f9fa;border-radius:20px;border:1px solid #e9ecef}.status-dot{width:14px;height:14px;border-radius:50%;border:2px solid white;box-shadow:0 0 0 1px #0000001a}@media (max-width: 1200px){.sessions-table-container{overflow-x:auto}.sessions-table{min-width:800px}}@media (max-width: 768px){.sessions-dashboard{padding:16px}.dashboard-header{flex-direction:column;gap:16px;align-items:flex-start}.filters-section{flex-direction:column;align-items:flex-start;gap:16px}.results-info{margin-left:0}.status-legend{justify-content:center}}@media (max-width: 480px){.sessions-table th,.sessions-table td{padding:12px 8px}.session-id code{font-size:10px}.status-badge{font-size:10px;padding:3px 8px}}.backend-test-container{width:100%;max-width:600px;margin:20px auto}.backend-test-card{background:#ffffff0d;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:24px;box-shadow:0 8px 32px #0000001a}.backend-test-header{display:flex;align-items:center;gap:12px;margin-bottom:20px}.backend-test-header h3{margin:0;font-size:1.5rem;font-weight:600;color:#fff}.backend-test-content{display:flex;flex-direction:column;gap:20px}.test-description{color:#fffc;margin:0;line-height:1.6}.test-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:12px;padding:12px 24px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;align-self:flex-start}.test-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 25px #667eea66}.test-button:disabled{opacity:.7;cursor:not-allowed;transform:none}.test-results{margin-top:20px}.test-results h4{margin:0 0 16px;font-size:1.25rem;font-weight:600;color:#fff}.test-result-item{background:#ffffff08;border:1px solid rgba(255,255,255,.05);border-radius:8px;padding:12px 16px;margin-bottom:8px}.test-result-header{display:flex;align-items:center;gap:12px;margin-bottom:8px}.test-endpoint{font-weight:500;color:#fff;flex:1}.test-response-time{font-size:.875rem;color:#fff9;background:#ffffff1a;padding:2px 8px;border-radius:4px}.test-result-message{font-size:.875rem;margin-left:28px;font-family:Monaco,Menlo,Ubuntu Mono,monospace}.test-result-details{margin-left:28px;margin-top:8px;background:#0003;border-radius:4px;padding:8px}.test-result-details pre{margin:0;font-size:.75rem;color:#ffffffb3;font-family:Monaco,Menlo,Ubuntu Mono,monospace;line-height:1.4;overflow-x:auto}.testing-page{max-width:1200px;margin:0 auto}.testing-header{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;padding:32px;border-radius:12px;margin-bottom:32px;box-shadow:0 4px 12px #00000026}.testing-header h2{color:#fff;font-size:28px;font-weight:700;margin:0 0 12px;text-shadow:0 2px 4px rgba(0,0,0,.2)}.testing-description{color:#ffffffe6;font-size:16px;margin:0;line-height:1.5}.testing-content{margin-bottom:32px}.testing-footer{background:#fff;padding:24px;border-radius:12px;box-shadow:0 2px 8px #0000001a;border:1px solid #e9ecef}.testing-note h3{color:#2c3e50;font-size:18px;font-weight:600;margin:0 0 16px}.testing-note ul{margin:0;padding-left:20px;color:#495057}.testing-note li{margin-bottom:8px;line-height:1.5}.testing-note li:last-child{margin-bottom:0}@media (max-width: 768px){.testing-header{padding:24px}.testing-header h2{font-size:24px}.testing-description{font-size:14px}.testing-footer{padding:20px}}.app{width:100%;max-width:1400px;padding:2rem;margin:0 auto;min-height:100vh;background:linear-gradient(135deg,#f5f7fa,#c3cfe2)}@media (max-width: 768px){.app{padding:1rem}}.app-content{width:100%;max-width:1400px;margin:0 auto}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:50vh;gap:1rem}.loading-spinner-large{width:48px;height:48px;border:4px solid rgba(255,255,255,.3);border-top:4px solid #ffffff;border-radius:50%;animation:spin 1s linear infinite}.loading-container p{color:#fff;font-size:1.1rem;margin:0}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
