:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html,body{margin:0;padding:0;height:100%;overflow:hidden}#root{height:100%}.multi-file-upload{width:100%;max-width:600px;margin:0 auto}.upload-dropzone{border:2px dashed var(--border-color, #cbd5e1);border-radius:12px;padding:48px 24px;text-align:center;cursor:pointer;transition:all .2s ease;background:var(--bg-secondary, #f8fafc)}.upload-dropzone:hover{border-color:var(--primary-color, #3b82f6);background:var(--bg-hover, #f1f5f9)}.upload-dropzone.drag-over{border-color:var(--primary-color, #3b82f6);background:var(--primary-bg, #eff6ff);border-style:solid}.upload-dropzone.disabled{opacity:.6;cursor:not-allowed}.dropzone-content{display:flex;flex-direction:column;align-items:center;gap:8px}.dropzone-icon{color:var(--text-muted, #64748b);margin-bottom:8px}.dropzone-text{font-size:1.125rem;font-weight:500;color:var(--text-primary, #1e293b);margin:0}.dropzone-subtext{font-size:.875rem;color:var(--text-muted, #64748b);margin:0}.dropzone-formats{font-size:.75rem;color:var(--text-muted, #94a3b8);margin:8px 0 0}.file-list-container{margin-top:24px;border:1px solid var(--border-color, #e2e8f0);border-radius:8px;background:var(--bg-primary, #ffffff);overflow:hidden}.file-list-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:var(--bg-secondary, #f8fafc);border-bottom:1px solid var(--border-color, #e2e8f0)}.file-count{font-weight:500;color:var(--text-primary, #1e293b)}.clear-all-btn{background:none;border:none;color:var(--text-muted, #64748b);cursor:pointer;font-size:.875rem;padding:4px 8px;border-radius:4px;transition:all .15s ease}.clear-all-btn:hover:not(:disabled){color:var(--danger-color, #dc2626);background:var(--danger-bg, #fef2f2)}.clear-all-btn:disabled{opacity:.5;cursor:not-allowed}.file-list{max-height:240px;overflow-y:auto}.file-item{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--border-light, #f1f5f9);background:var(--bg-primary, #ffffff);cursor:grab;transition:background .15s ease}.file-item:last-child{border-bottom:none}.file-item:hover{background:var(--bg-hover, #f8fafc)}.file-item.dragging{opacity:.5;background:var(--primary-bg, #eff6ff)}.file-order{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:32px}.order-btn{background:none;border:none;color:var(--text-muted, #94a3b8);cursor:pointer;font-size:.625rem;padding:2px 4px;line-height:1;transition:color .15s ease}.order-btn:hover:not(:disabled){color:var(--primary-color, #3b82f6)}.order-btn:disabled{opacity:.3;cursor:not-allowed}.order-number{font-size:.75rem;font-weight:600;color:var(--text-muted, #64748b);min-width:16px;text-align:center}.file-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.file-name{font-size:.875rem;font-weight:500;color:var(--text-primary, #1e293b);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-size{font-size:.75rem;color:var(--text-muted, #64748b)}.remove-btn{background:none;border:none;color:var(--text-muted, #94a3b8);cursor:pointer;font-size:1rem;padding:4px 8px;border-radius:4px;transition:all .15s ease}.remove-btn:hover:not(:disabled){color:var(--danger-color, #dc2626);background:var(--danger-bg, #fef2f2)}.remove-btn:disabled{opacity:.5;cursor:not-allowed}.file-summary{padding:12px 16px;background:var(--bg-secondary, #f8fafc);border-top:1px solid var(--border-color, #e2e8f0)}.total-size{font-size:.875rem;font-weight:500;color:var(--text-primary, #1e293b)}.total-size.over-limit{color:var(--danger-color, #dc2626)}.warning-message{margin-top:8px;padding:8px 12px;background:var(--warning-bg, #fef3c7);color:var(--warning-color, #b45309);border-radius:6px;font-size:.8125rem}.info-message{margin-top:8px;padding:8px 12px;background:var(--info-bg, #dbeafe);color:var(--info-color, #1d4ed8);border-radius:6px;font-size:.8125rem;line-height:1.4}.submit-btn{display:block;width:100%;padding:14px 24px;background:var(--primary-color, #3b82f6);color:#fff;border:none;font-size:1rem;font-weight:600;cursor:pointer;transition:background .15s ease}.submit-btn:hover:not(:disabled){background:var(--primary-hover, #2563eb)}.submit-btn:disabled{background:var(--disabled-bg, #94a3b8);cursor:not-allowed}.job-list-item td{padding:12px 16px;border-bottom:1px solid #eee;vertical-align:middle}.job-list-item:hover{background:#f9f9f9}.job-filename{font-weight:500;max-width:300px;position:relative}.filename-container{display:flex;align-items:center;gap:8px}.filename-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}.file-count-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;background:#e3f2fd;color:#1976d2;border:1px solid #bbdefb;border-radius:12px;font-size:11px;font-weight:500;cursor:pointer;white-space:nowrap;transition:all .15s ease}.file-count-badge:hover{background:#bbdefb;border-color:#90caf9}.filenames-dropdown{position:absolute;top:100%;left:0;z-index:10;background:#fff;border:1px solid #ddd;border-radius:6px;box-shadow:0 4px 12px #00000026;padding:8px 0;margin-top:4px;min-width:200px;max-width:300px}.filenames-dropdown ul{list-style:none;margin:0;padding:0}.filenames-dropdown li{padding:6px 12px;font-size:13px;font-weight:400;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.filenames-dropdown li:hover{background:#f5f5f5}.job-status{width:120px}.status-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:12px;font-size:13px;font-weight:500}.status-icon{font-size:12px}.status-completed{background:#d4edda;color:#155724}.status-processing{background:#fff3cd;color:#856404}.status-pending{background:#e2e3e5;color:#383d41}.status-failed{background:#f8d7da;color:#721c24}.job-date{color:#666;font-size:14px;width:100px}.job-size{color:#666;font-size:14px;width:80px}.job-actions{width:80px;text-align:right}.action-button{background:none;border:none;font-size:18px;cursor:pointer;padding:4px 8px;border-radius:4px;transition:background .2s}.action-button:hover{background:#eee}.action-view:hover{background:#e3f2fd}.action-delete:hover{background:#ffebee}.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{background:#fff;border-radius:8px;padding:24px;max-width:400px;width:90%;box-shadow:0 4px 20px #00000026}.modal-title{margin:0 0 12px;font-size:18px;font-weight:600;color:#1a1a1a}.modal-message{margin:0 0 24px;color:#666;line-height:1.5}.modal-actions{display:flex;gap:12px;justify-content:flex-end}.modal-button{padding:8px 16px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.modal-button:disabled{opacity:.6;cursor:not-allowed}.modal-button-cancel{background:#f5f5f5;border:1px solid #ddd;color:#666}.modal-button-cancel:hover:not(:disabled){background:#eee}.modal-button-confirm{background:#dc3545;border:none;color:#fff}.modal-button-confirm:hover:not(:disabled){background:#c82333}.job-list-container{max-width:900px;margin:0 auto;padding:20px}.job-list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.job-list-header h2{margin:0;font-size:24px;font-weight:600;color:#1a1a1a}.refresh-button{padding:8px 16px;background:#f5f5f5;border:1px solid #ddd;border-radius:6px;cursor:pointer;font-size:14px;transition:background .2s}.refresh-button:hover{background:#eee}.job-list-table{width:100%;border-collapse:collapse;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0000001a}.job-list-table thead{background:#f8f9fa}.job-list-table th{padding:12px 16px;text-align:left;font-weight:600;font-size:13px;color:#666;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #eee}.job-list-table th:last-child{text-align:right}.job-list-loading,.job-list-error,.job-list-empty{text-align:center;padding:60px 20px;background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a}.job-list-loading .loading-spinner{width:40px;height:40px;border:3px solid #eee;border-top-color:#2196f3;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 16px}.job-list-error{color:#dc3545}.job-list-error button{margin-top:16px;padding:8px 16px;background:#dc3545;color:#fff;border:none;border-radius:6px;cursor:pointer}.job-list-empty{color:#666}.job-list-empty-hint{font-size:14px;color:#999;margin-top:8px}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(to bottom,#1a1a2e,#16213e);padding:2rem;transition:background .3s}.login-page.light{background:linear-gradient(to bottom,#f5f5f5,#e0e0e0)}.login-container{width:100%;max-width:400px}.login-header{text-align:center;margin-bottom:2rem}.login-header h1{font-size:2rem;font-weight:700;color:#fff;margin-bottom:.5rem;transition:color .3s}.login-page.light .login-header h1{color:#1a1a2e}.login-header p{color:#888;font-size:.9rem}.login-page.light .login-header p{color:#666}.login-form{background:#16213e;border:1px solid #0f3460;border-radius:8px;padding:2rem;transition:background .3s,border-color .3s}.login-page.light .login-form{background:#fff;border-color:#ddd}.login-form label{color:#fff!important}.login-form input{background:#0f3460!important;border-color:#1a4a7a!important;color:#fff!important}.login-form input::placeholder{color:#888!important}.login-form input:focus{border-color:#2563eb!important;outline:none}.login-form button[type=submit]{background:#2563eb!important;color:#fff!important;border:none!important;padding:.75rem 1.5rem!important;border-radius:4px!important;cursor:pointer!important;font-weight:600!important;width:100%!important;transition:background .2s!important}.login-form button[type=submit]:hover{background:#1d4ed8!important}.login-page.light .login-form label{color:#333!important}.login-page.light .login-form input{background:#f5f5f5!important;border-color:#ddd!important;color:#333!important}.login-page.light .login-form input::placeholder{color:#999!important}.theme-toggle{position:absolute;top:1rem;right:1rem;background:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:#fff;padding:.5rem 1rem;border-radius:20px;cursor:pointer;font-size:.875rem;transition:all .3s}.theme-toggle:hover{background:#fff3}.login-page.light .theme-toggle{background:#0000000d;border-color:#0000001a;color:#333}.login-page.light .theme-toggle:hover{background:#0000001a}*{box-sizing:border-box;margin:0;padding:0}.app{display:flex;flex-direction:column;height:100vh;background:#1a1a2e;color:#eee}.app-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 2rem;background:#16213e;border-bottom:1px solid #0f3460}.app-header h1{font-size:1.5rem;font-weight:600;color:#fff}.header-actions{display:flex;gap:.75rem}.header-button{padding:.5rem 1rem;background:#0f3460;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.875rem;transition:background .2s}.header-button:hover{background:#1a4a7a}.header-button-primary{background:#2563eb}.header-button-primary:hover{background:#1d4ed8}.header-button-logout{background:transparent;border:1px solid #ef4444;color:#ef4444}.header-button-logout:hover{background:#ef4444;color:#fff}.header-user{display:flex;align-items:center;gap:.75rem;margin-left:1rem;padding-left:1rem;border-left:1px solid #0f3460}.user-name{font-size:.875rem;color:#888}.app-main{flex:1;display:flex;overflow:hidden;position:relative}.upload-container{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem}.progress-container{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;gap:1.5rem;max-width:800px;margin:0 auto}.progress-stages{display:flex;justify-content:space-between;width:100%;position:relative}.progress-stages:before{content:"";position:absolute;top:8px;left:20px;right:20px;height:2px;background:#0f3460;z-index:0}.stage{display:flex;flex-direction:column;align-items:center;gap:.5rem;z-index:1}.stage-dot{width:18px;height:18px;border-radius:50%;background:#0f3460;border:2px solid #0f3460;transition:all .3s ease}.stage.done .stage-dot{background:#4ade80;border-color:#4ade80}.stage.active .stage-dot{background:#4a9fff;border-color:#4a9fff;box-shadow:0 0 10px #4a9fff80;animation:pulse 1.5s ease-in-out infinite}.stage.pending .stage-dot{background:#1a1a2e;border-color:#0f3460}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.2)}}.stage-label{font-size:.65rem;color:#666;text-align:center;max-width:70px;transition:color .3s ease}.stage.done .stage-label{color:#4ade80}.stage.active .stage-label{color:#4a9fff;font-weight:600}.progress-bar-container{width:100%;height:8px;background:#0f3460;border-radius:4px;overflow:hidden}.progress-bar-fill{height:100%;background:linear-gradient(90deg,#4a9fff,#4ade80);border-radius:4px;transition:width .3s ease}.progress-message{color:#aaa;font-size:.9rem;text-align:center}.progress-reconnecting{color:#f59e0b;font-size:.8rem;animation:blink 1s ease-in-out infinite}@keyframes blink{0%,to{opacity:1}50%{opacity:.5}}.viewer-layout{flex:1;display:flex;overflow:hidden}.sidebar{width:450px;background:#16213e;border-right:1px solid #0f3460;display:flex;flex-direction:column;overflow:hidden}.sidebar-right{border-right:none;border-left:1px solid #0f3460}.sidebar-header{display:flex;align-items:center;justify-content:space-between;padding:1rem;border-bottom:1px solid #0f3460}.sidebar-header h2{font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#888;margin:0;padding:0;border:none}.sidebar h2{padding:1rem;font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#888;border-bottom:1px solid #0f3460}.sidebar-actions{display:flex;gap:.25rem}.sidebar-btn{padding:.25rem .5rem;font-size:.7rem;background:#0f3460;color:#888;border:1px solid #0f3460;border-radius:4px;cursor:pointer;transition:all .2s}.sidebar-btn:hover:not(:disabled){background:#1a4a7a;color:#fff}.sidebar-btn.active{background:#2563eb;color:#fff;border-color:#2563eb}.sidebar-btn:disabled{opacity:.5;cursor:not-allowed}.isolation-banner{display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem;background:#4a9fff1a;border-bottom:1px solid #0f3460;font-size:.75rem;color:#4a9fff}.isolation-banner button{padding:.25rem .5rem;font-size:.7rem;background:transparent;color:#4a9fff;border:1px solid #4a9fff;border-radius:4px;cursor:pointer;transition:all .2s}.isolation-banner button:hover{background:#4a9fff;color:#fff}.type-filter-container{padding:.75rem 1rem;background:#2563eb0d;border-bottom:1px solid #0f3460}.type-filter-label{font-size:.7rem;font-weight:600;text-transform:uppercase;color:#666;margin-bottom:.5rem;letter-spacing:.05em}.type-filter-buttons{display:flex;flex-wrap:wrap;gap:.4rem}.type-filter-btn{padding:.3rem .6rem;font-size:.7rem;background:#0f3460;color:#888;border:1px solid #0f3460;border-radius:4px;cursor:pointer;transition:all .2s;white-space:nowrap}.type-filter-btn:hover{background:#1a4a7a;color:#fff}.type-filter-btn.active{background:#2563eb;color:#fff;border-color:#2563eb;box-shadow:0 0 8px #2563eb4d}.sidebar-left.expanded{width:600px}.viewer-container{flex:1;position:relative;background:#0d1117;display:flex;flex-direction:column}.viewer-toolbar{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#16213e;border-bottom:1px solid #0f3460}.toolbar-btn{padding:.375rem .75rem;font-size:.75rem;background:#0f3460;color:#888;border:1px solid #0f3460;border-radius:4px;cursor:pointer;transition:all .2s}.toolbar-btn:hover{background:#1a4a7a;color:#fff}.toolbar-btn.active{background:#2563eb;color:#fff;border-color:#2563eb}.toolbar-info{margin-left:auto;font-size:.75rem;color:#4a9fff;padding:.25rem .5rem;background:#4a9fff1a;border-radius:4px}.loading-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#1a1a2ee6;z-index:100}.loading-spinner{width:48px;height:48px;border:3px solid #0f3460;border-top-color:#4a9fff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading-overlay p{margin-top:1rem;color:#888}.error-container{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;gap:1rem}.error-container p{color:#ff6b6b;text-align:center;max-width:400px}.properties-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000}.properties-modal{background:#16213e;border:1px solid #0f3460;border-radius:8px;box-shadow:0 10px 40px #00000080;max-width:500px;width:90%;max-height:80vh;display:flex;flex-direction:column;animation:slideUp .3s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.properties-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1rem;border-bottom:1px solid #0f3460}.properties-modal-header h3{margin:0;font-size:1rem;font-weight:600;color:#fff;flex:1;word-break:break-word}.properties-modal-close{padding:.25rem .5rem;background:transparent;color:#888;border:1px solid #0f3460;border-radius:4px;cursor:pointer;font-size:1.2rem;line-height:1;transition:all .2s}.properties-modal-close:hover{background:#0f3460;color:#fff}.properties-modal-content{flex:1;overflow-y:auto;padding:1rem}.properties-modal-filters{display:flex;flex-wrap:wrap;gap:.5rem;padding:.75rem 1rem;background:#0f3460;border-bottom:1px solid #1a4a7a;align-items:center}.filters-label{font-size:.75rem;color:#888;margin-right:.25rem}.filter-tag{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .5rem;background:#2563eb;color:#fff;border-radius:4px;font-size:.75rem}.filter-tag button{background:none;border:none;color:#ffffffb3;cursor:pointer;padding:0;font-size:.7rem;line-height:1;transition:color .2s}.filter-tag button:hover{color:#fff}.viewer-container:fullscreen{background:linear-gradient(to bottom,#fff,#e6f0ff,#cce0ff)}.viewer-container:fullscreen .viewer-toolbar{position:absolute;top:1rem;left:50%;transform:translate(-50%);z-index:100;background:#16213ee6;border-radius:8px;padding:.5rem}
