*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#f5f5f5;color:#1a1a1a}.app{max-width:1100px;margin:0 auto;padding:24px}.header-brand{display:flex;align-items:center;gap:10px;margin-bottom:16px}.header-logo{width:40px;height:40px;object-fit:contain}.header h1{font-size:24px}.tabs{display:flex;gap:4px;border-bottom:2px solid #e0e0e0;margin-bottom:24px}.tab{padding:10px 20px;border:none;background:none;cursor:pointer;font-size:14px;font-weight:500;color:#666;border-bottom:2px solid transparent;margin-bottom:-2px;transition:color .15s,border-color .15s}.tab:hover{color:#333}.tab.active{color:#2563eb;border-bottom-color:#2563eb}.content{min-height:400px}.btn{padding:8px 16px;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:background .15s}.btn-primary{background:#2563eb;color:#fff}.btn-primary:hover{background:#1d4ed8}.btn-primary:disabled{background:#93b4f5;cursor:not-allowed}.btn-secondary{background:#e5e7eb;color:#374151}.btn-secondary:hover{background:#d1d5db}.btn-danger{background:#dc2626;color:#fff}.btn-danger:hover{background:#b91c1c}.btn-danger:disabled{background:#f87171;cursor:not-allowed}.card{background:#fff;border-radius:8px;border:1px solid #e5e7eb;padding:16px;margin-bottom:12px}.card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.card-header h3{font-size:16px}.card-meta{display:flex;gap:16px;flex-wrap:wrap;font-size:13px;color:#666}.badge{display:inline-block;padding:2px 8px;border-radius:4px;font-size:12px;font-weight:600}.badge-high{background:#fee2e2;color:#b91c1c}.badge-medium{background:#fef3c7;color:#92400e}.badge-low{background:#dcfce7;color:#166534}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:100}.modal{background:#fff;border-radius:12px;padding:24px;width:90%;max-width:560px;max-height:80vh;overflow-y:auto;box-shadow:0 20px 60px #00000026}.modal h2{font-size:18px;margin-bottom:16px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.form-group{margin-bottom:14px}.form-group label{display:block;font-size:13px;font-weight:500;margin-bottom:4px;color:#374151}.form-group input,.form-group select{width:100%;padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px}.form-group input:focus,.form-group select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 2px #2563eb26}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.file-list{max-height:300px;overflow-y:auto;border:1px solid #e5e7eb;border-radius:6px}.file-item{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid #f3f4f6;cursor:pointer;transition:background .1s}.file-item:last-child{border-bottom:none}.file-item:hover{background:#f9fafb}.file-item.selected{background:#eff6ff}.file-item-name{font-size:14px;word-break:break-all}.file-item-size{font-size:12px;color:#888;white-space:nowrap;margin-left:12px}.placeholder{text-align:center;padding:60px 20px;color:#999;font-size:15px}.error-msg{color:#dc2626;font-size:13px;margin-top:8px}.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.job-group{margin-bottom:12px}.job-group>.card{margin-bottom:0}.children-list{margin-left:32px;border-left:2px solid #d1d5db;padding-left:12px}.children-list .card{margin-top:8px}.card-child{background:#fafafa}.card-parent-only{background:#f9fafb;border-bottom-left-radius:0;border-bottom-right-radius:0;margin-bottom:0}.job-file{font-size:14px;word-break:break-all}.job-actions{flex-shrink:0;margin-left:16px}.badge-running{background:#dbeafe;color:#1e40af}.badge-pending{background:#e5e7eb;color:#374151}.badge-completed{background:#dcfce7;color:#166534}.job-duration{flex-shrink:0;margin-left:16px;font-size:13px;font-weight:600;color:#374151}.progress-bar-done{background:#16a34a}.progress-section{margin-top:12px}.progress-bar-track{height:6px;background:#e5e7eb;border-radius:3px;overflow:hidden}.progress-bar-fill{height:100%;background:#2563eb;border-radius:3px;transition:width .3s ease}.progress-stats{display:flex;justify-content:space-between;align-items:center;margin-top:6px;font-size:12px;color:#666}.mapping-table{width:100%;border-collapse:collapse;font-size:13px}.mapping-table th{text-align:left;padding:8px 12px;background:#f9fafb;border-bottom:2px solid #e5e7eb;font-weight:600;color:#374151}.mapping-table td{padding:8px 12px;border-bottom:1px solid #f3f4f6;font-family:monospace;font-size:13px}.mapping-table tr:hover td{background:#f9fafb}.script-link{background:none;border:none;color:#2563eb;cursor:pointer;font-size:13px;font-weight:500;text-decoration:underline;padding:0}.script-link:hover{color:#1d4ed8}.modal-wide{max-width:720px}.script-pre{background:#1e1e1e;color:#d4d4d4;padding:16px;border-radius:8px;font-size:13px;line-height:1.5;overflow:auto;max-height:60vh;white-space:pre-wrap;word-break:break-word}.script-editor{width:100%;min-height:400px;background:#1e1e1e;color:#d4d4d4;padding:16px;border-radius:8px;font-family:SF Mono,Fira Code,Consolas,monospace;font-size:13px;line-height:1.5;border:1px solid #333;resize:vertical;-moz-tab-size:4;tab-size:4}.error-link{background:none;border:none;color:#dc2626;cursor:pointer;font-size:12px;font-weight:600;text-decoration:underline;padding:0}.error-link:hover{color:#b91c1c}.slide-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000004d;z-index:200}.slide-panel{position:fixed;top:0;right:0;bottom:0;width:520px;max-width:90vw;background:#fff;box-shadow:-4px 0 24px #0000001f;display:flex;flex-direction:column;animation:slideIn .2s ease}@keyframes slideIn{0%{transform:translate(100%)}to{transform:translate(0)}}.slide-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #e5e7eb}.slide-header h2{font-size:16px}.slide-body{flex:1;overflow-y:auto;padding:16px 20px}.error-card{border:1px solid #fecaca;background:#fef2f2;border-radius:8px;padding:12px;margin-bottom:10px}.error-card-msg{font-size:13px;color:#b91c1c;font-weight:500;margin-bottom:6px}.error-card-meta{display:flex;gap:16px;font-size:12px;color:#666}.error-card-raw{margin-top:8px;padding:8px;background:#fff;border:1px solid #e5e7eb;border-radius:4px;font-size:11px;overflow-x:auto;max-height:120px;overflow-y:auto}
