:root{font-family: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}}*{margin:0;padding:0;box-sizing:border-box}html,body{width:100%;min-width:100%;overflow-x:hidden;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:#f5f5f5}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right 8px center;background-size:16px;border:1px solid #ddd;border-radius:4px;padding:8px 12px;font-size:14px}#root{width:100%;min-width:100%}.App{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2)}.field-details{background:#f8f9fa;padding:1rem;border-radius:4px;margin-top:1rem;overflow-x:auto}.field-details pre{margin:0;white-space:pre-wrap;word-wrap:break-word;font-family:Courier New,monospace;font-size:.9rem;line-height:1.4}.container{max-width:100vw;min-width:100%;margin:0 auto;padding:20px;width:100%}.header{text-align:center;margin-bottom:32px;color:#fff}.header h1{font-size:2.5rem;margin-bottom:8px;font-weight:700}.header p{font-size:1.1rem;opacity:.9}.tab-navigation{display:flex;justify-content:center;gap:16px;margin-top:24px}.tab-button{background:#fff3;border:2px solid rgba(255,255,255,.3);color:#fff;padding:12px 24px;border-radius:8px;cursor:pointer;font-size:1rem;font-weight:600;transition:all .3s ease}.tab-button:hover{background:#ffffff4d;border-color:#ffffff80}.access-denied{max-width:520px;margin:80px auto;text-align:center;background:#fff;padding:40px 32px;border-radius:16px;box-shadow:0 12px 30px #0000001f;display:flex;flex-direction:column;gap:16px}.access-denied h2{font-size:1.75rem;color:#1f2933;margin:0}.access-denied p{color:#6c757d;font-size:1rem}.pending{color:#6c757d;font-weight:600}.error{color:#d32f2f;font-size:1.1rem}.code-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;flex-wrap:wrap;gap:12px}.code-header h2{margin:0;flex:1;min-width:200px}.copy-code-btn{flex-shrink:0;font-size:.9rem;padding:8px 16px}.chart-full-size{max-width:100%;max-height:80vh;width:auto;height:auto;border-radius:8px;box-shadow:0 4px 8px #0000001a;object-fit:contain}.chart-loading{display:flex;justify-content:center;align-items:center;min-height:200px;padding:2rem}.chart-error{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:200px;padding:2rem;color:#dc3545;text-align:center}.chart-error p{margin:.5rem 0}.status-new{color:#1976d2;font-weight:600}.status-in_progress{color:#f57c00;font-weight:600}.status-done{color:#388e3c;font-weight:600}.status-completed{color:#28a745;font-weight:600}.status-failed{color:#dc3545;font-weight:600}.status-running{color:#ffc107;font-weight:600}.status-pending{color:#6c757d;font-weight:600}.logs-display{max-height:70vh;overflow-y:auto}.log-entry{margin-bottom:1.5rem;border:1px solid #e9ecef;border-radius:8px;overflow:hidden}.log-header{background:#f8f9fa;padding:.75rem;border-bottom:1px solid #e9ecef;font-size:.9rem;color:#6c757d}.log-content{padding:1rem;background:#fff}.log-content pre{margin:0;white-space:pre-wrap}.code-display{max-height:70vh;overflow-y:auto;background:#1e1e1e;border-radius:8px;padding:1rem}.header-content{display:flex;justify-content:space-between;align-items:center;width:100%}.user-info{display:flex;align-items:center;gap:1rem}.user-details{display:flex;flex-direction:column;align-items:flex-end}.user-role{font-size:.8rem;padding:2px 8px;border-radius:12px;font-weight:500}.user-actions{display:flex;gap:.5rem}@media (max-width: 768px){.container{padding:16px}.header h1{font-size:2rem}.header p{font-size:1rem}.tab-navigation{flex-direction:column;align-items:center}.tab-button{width:100%;max-width:300px}}@media (max-width: 480px){.container{padding:12px}.header h1{font-size:1.8rem}}.lazy-load-trigger{display:flex;justify-content:center;align-items:center;padding:2rem;margin:1rem 0}.loading-more{display:flex;flex-direction:column;align-items:center;gap:1rem;color:#666}.loading-spinner{width:24px;height:24px;border:2px solid #e9ecef;border-top:2px solid #007bff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.load-more-prompt{color:#666;font-style:italic}.end-of-results{color:#666;text-align:center;padding:2rem;background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.pagination-info{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;padding:1rem;margin:1rem 0;text-align:center;color:#666}.pagination-info p{margin:0;font-size:.9rem}.loading,.error,.empty-state{text-align:center;padding:60px 20px;background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a}.empty-state h2{color:#666;margin-bottom:16px}.empty-state p{color:#888}.strategy-list{display:grid;gap:24px;min-width:100%;grid-template-columns:1fr}.strategy-item{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a;padding:24px;min-width:100%;transition:transform .2s ease,box-shadow .2s ease}.strategy-item:hover{transform:translateY(-2px);box-shadow:0 8px 16px #00000026}.strategy-header{margin-bottom:20px;border-bottom:1px solid #eee;padding-bottom:16px}.strategy-header h3{font-size:1.4rem;color:#333;margin-bottom:8px;font-weight:600}.strategy-meta{display:flex;flex-wrap:wrap;gap:16px;font-size:.9rem;color:#666}.strategy-meta span{background:#f8f9fa;padding:4px 8px;border-radius:6px;border:1px solid #e9ecef}.strategy-content{display:flex;flex-direction:column;gap:20px}.loading-stats{text-align:center;padding:20px;color:#666;font-style:italic}.chart-container{display:flex;flex-direction:column;align-items:center;gap:.5rem;text-align:center}.chart-thumbnail{width:100%;max-width:240px;max-height:160px;object-fit:contain;border-radius:6px;border:1px solid #dee2e6;background:#fff;cursor:pointer;padding:.5rem;transition:transform .2s ease,box-shadow .2s ease}.chart-thumbnail:hover{transform:scale(1.03);box-shadow:0 6px 12px #00000026}.chart-hint{font-size:.75rem;color:#6c757d}.chart-actions{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:center}.strategy-actions{margin-top:1rem}.btn{padding:10px 16px;border:none;border-radius:6px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s ease;text-decoration:none;display:inline-flex;align-items:center;gap:6px}.btn-primary{background:#007bff;color:#fff}.btn-primary:hover{background:#0056b3;transform:translateY(-1px)}.btn-secondary{background:#6c757d;color:#fff}.btn-secondary:hover{background:#545b62;transform:translateY(-1px)}.btn-danger{background:#dc3545;color:#fff}.btn-danger:hover{background:#c82333;transform:translateY(-1px)}.btn-warning{background:#ffc107;color:#212529;border:1px solid #ffc107}.btn-warning:hover{background:#e0a800;border-color:#d39e00}.btn-info{background:#17a2b8;color:#fff}.btn-info:hover{background:#117a8b;transform:translateY(-1px)}.fixing-info{background:linear-gradient(135deg,#fff3cd,#ffeaa7);border:1px solid #ffc107;border-radius:6px;padding:8px 12px;margin-top:8px}.fixing-info .metric-label{color:#856404;font-weight:600}.fixing-info .metric-value{color:#856404;font-weight:500}.btn-small{padding:.35rem .75rem;font-size:.8rem}.research-task-config{background:#f8f9fa!important;border:1px solid #e9ecef!important;border-radius:6px!important;padding:8px 12px!important;margin:8px 0!important;font-size:.85rem!important}.research-task-config strong{color:#495057!important;font-size:.9rem!important;margin-right:8px!important}.config-details{display:flex;flex-wrap:wrap;gap:.5rem;font-size:.85rem}.config-details span{background:#e9ecef!important;color:#495057!important;padding:2px 6px!important;border-radius:3px!important;font-size:.8rem!important;white-space:nowrap!important}.strategy-details-text{font-size:.9rem;color:#495057}.detail-item{color:#495057!important;line-height:1.3!important;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))!important;gap:8px!important}.detail-label{font-weight:600}.coder-integration-section{margin-top:1.5rem;background:#f8f9fa;border-radius:8px;padding:1rem;border:1px solid #e9ecef}.coder-integration-section h4{color:#333;margin-bottom:16px;font-size:1.2rem}.coder-status-info{display:flex;flex-direction:column;gap:.5rem}.coder-status,.coder-jobs-summary,.coder-bundles-summary{padding:12px;background:#fff;border-radius:6px;border:1px solid #e9ecef}.coder-status-badge{margin-left:.5rem;background:#d4edda;color:#155724;padding:.2rem .6rem;border-radius:12px;font-size:.8rem;display:inline-flex;align-items:center;gap:.25rem}.coder-status-badge.status-pending{background:#fff3cd;color:#856404;border:1px solid #ffeaa7}.coder-status-badge.status-in_progress{background:#d1ecf1;color:#0c5460;border:1px solid #bee5eb}.coder-status-badge.status-completed{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.coder-status-badge.status-failed{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.final-code-section{margin-top:1rem}.final-code-section h5{color:#333;margin-bottom:12px;font-size:1.1rem}.code-preview{display:flex;flex-direction:column;gap:.5rem}.code-preview .btn{margin:12px}.coder-warning{margin-top:1rem;color:#856404;background:#fff3cd;padding:.5rem .75rem;border-radius:6px;border:1px solid #ffeeba}.coder-error{margin-top:1rem;color:#721c24;background:#f8d7da;padding:.5rem .75rem;border-radius:6px;border:1px solid #f5c6cb}.pipeline-controls .btn{padding:10px 20px;font-size:14px;font-weight:500}.step-card.completed{border-color:#28a745;background:#e8f5e8;box-shadow:0 2px 4px #28a7451a}.validation-status-section{margin-top:2rem;padding:1.5rem;background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.validation-blocks{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem;margin-top:1rem}.python-code{background:#1e1e1e;color:#d4d4d4;font-family:Consolas,Monaco,Courier New,monospace;font-size:14px;line-height:1.5;margin:0;padding:1rem;border-radius:8px;white-space:pre-wrap;word-wrap:break-word;overflow-x:auto}.validation-block{background:#fff;border-radius:6px;padding:1rem;border:1px solid #dee2e6;box-shadow:0 1px 3px #0000001a}.validation-block h4{margin:0 0 .5rem;font-size:1rem;color:#495057}.validation-status{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.status-indicator{font-size:1.2rem}.status-success{color:#28a745}.status-text{font-weight:600;color:#495057}.validation-details p{margin:0;font-size:.9rem;color:#6c757d}.strategy-info-section{background:#f8f9fa;border-radius:8px;padding:1rem;border:1px solid #e9ecef}.research-task-text,.research-task-details,.research-task-config{margin-bottom:.75rem}.info-actions-row{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:.75rem}.strategy-results-section{margin-top:1.5rem}.results-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:1rem;align-items:start}.chart-preview-column{background:#fff;border-radius:8px;border:1px solid #e9ecef;padding:1rem}.chart-preview h5,.metrics-column h5{margin:0 0 .75rem;color:#495057;font-size:1rem}.metrics-column{background:#fff;border-radius:8px;border:1px solid #e9ecef;padding:1rem}.metrics-display{display:flex;flex-direction:column;gap:.5rem}.metrics-grid{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.metric-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem;background:#f8f9fa;border-radius:4px;border:1px solid #e9ecef}.metric-label{font-weight:600;color:#495057}.metric-value{font-weight:700;color:#28a745}.results-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:1rem}.coder-jobs-summary,.coder-bundles-summary,.coder-runs-summary{font-size:.9rem;color:#495057}@media (max-width: 768px){.strategy-item{padding:16px}.strategy-header h3{font-size:1.2rem}.strategy-meta{flex-direction:column;gap:8px}.strategy-actions{flex-direction:column}.btn{width:100%;justify-content:center}}@media (max-width: 480px){.strategy-item{padding:12px}}@media (max-width: 1024px){.results-grid,.metrics-grid{grid-template-columns:1fr}}.current-research-task{margin-top:15px;padding:10px;background-color:#f8f9fa;border-radius:5px;border-left:4px solid #007bff}.task-details{display:grid;gap:.75rem}.task-text{font-size:1rem;color:#333;margin-bottom:12px;line-height:1.4}.task-meta{display:flex;gap:15px;font-size:.85em;color:#666}.task-id,.task-status,.task-date{background-color:#e9ecef;padding:2px 6px;border-radius:3px}.task-status{font-weight:600;color:#495057}.task-date{font-size:.85rem;color:#6c757d}.task-status.new{background:#e3f2fd;color:#1976d2}.task-status.in_progress{background:#fff3e0;color:#f57c00}.task-status.done{background:#e8f5e8;color:#388e3c}.task-field .task-text{font-style:italic;color:#666}.pipeline-config{margin-top:1rem}.pipeline-config h3{margin:0 0 15px;color:#333}.config-form{display:flex;flex-direction:column;gap:1rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-weight:500;margin-bottom:5px;color:#555}.form-group input,.form-group textarea,.form-group select{padding:8px 32px 8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right 8px center;background-size:16px}.form-group textarea{resize:vertical;min-height:80px;background-image:none;padding-right:12px}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.checkbox-group{display:flex;gap:1.5rem;flex-wrap:wrap}.checkbox-group label{display:flex;align-items:center;gap:.5rem;font-size:.95rem}.checkbox-group input[type=checkbox]{width:auto;margin:0}.pipeline-controls{display:flex;gap:.75rem;flex-wrap:wrap;margin:1rem 0 1.5rem}.pipeline-status{margin-bottom:1.5rem;background:#f8f9fa;border-radius:12px;padding:1.5rem;border:1px solid #e9ecef}.pipeline-status h3{margin:0 0 15px;color:#333}.pipeline-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem;margin-bottom:1.5rem}.pipeline-info>div{display:flex;flex-direction:column;gap:5px}.pipeline-id,.pipeline-duration{font-size:.9rem;color:#495057}.pipeline-id strong,.pipeline-duration strong{color:#212529}.pipeline-info strong{color:#666;font-size:12px;text-transform:uppercase;letter-spacing:.5px}.pipeline-steps h4{margin:0 0 15px;color:#333}.steps-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.step-card{background:#fff;border-radius:8px;border:1px solid #e9ecef;padding:1rem;box-shadow:0 2px 4px #0000000d}.step-card.running{border-color:#007bff;background:#e3f2fd;box-shadow:0 2px 4px #007bff1a}.step-card.failed{border-color:#dc3545;background:#ffeaea;box-shadow:0 2px 4px #dc35451a}.step-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.step-name{font-weight:600;text-transform:capitalize;color:#333}.step-status{font-weight:600;text-transform:capitalize}.step-status.status-pending{background:#e9ecef;color:#6c757d}.step-status.status-running{background:#007bff;color:#fff}.step-status.status-completed{background:#28a745;color:#fff}.step-status.status-failed{background:#dc3545;color:#fff}.step-duration{font-size:12px;color:#666;margin-top:5px}.step-error{margin-top:.5rem;color:#dc3545;font-size:.9rem}.pipeline-logs{margin-top:1.5rem;background:#0f172a;color:#e2e8f0;border-radius:12px;padding:1.5rem}.logs-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.logs-header h3{margin:0;color:#333}.logs-container{background:#020617;border-radius:8px;padding:1rem;max-height:300px;overflow-y:auto}.logs-content{margin:0;font-family:Courier New,monospace;font-size:.85rem;line-height:1.4;color:#e2e8f0}.status-badge{display:inline-flex;align-items:center;gap:.25rem;padding:.35rem .75rem;border-radius:12px;font-size:.85rem;background:#d4edda;color:#155724;font-weight:600}.status-badge.status-pending{background:#e9ecef;color:#6c757d}.status-badge.status-running{background:#007bff;color:#fff}.status-badge.status-completed{background:#28a745;color:#fff}.status-badge.status-failed{background:#dc3545;color:#fff}.status-badge.status-stale{background:#ffc107;color:#212529}.pipeline-start-time{font-size:12px;color:#666;margin-top:5px}.status-badge.status-cancelled{background:#6c757d;color:#fff}.pipeline-section{background:#fff;border-radius:12px;padding:24px;margin-bottom:24px;box-shadow:0 4px 6px #0000001a}@supports (-webkit-appearance: none){.form-group select{background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");background-size:14px;background-position:right 10px center}.form-section-content{-webkit-transform:translateZ(0);transform:translateZ(0);will-change:transform}.form-section-header{-webkit-tap-highlight-color:transparent}}.form-group textarea,.form-group input,.form-group select{padding:.75rem;border-radius:6px;border:1px solid #ced4da;font-size:1rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right 12px center;background-size:16px;padding-right:40px}.form-section{margin-top:1rem}.form-section-header{display:flex;align-items:center;gap:8px;cursor:pointer;-webkit-user-select:none;user-select:none;padding:12px 16px;border:1px solid #e9ecef;border-radius:8px;margin-bottom:1rem;background:linear-gradient(135deg,#f8f9fa,#e9ecef);transition:all .2s ease;position:relative}.form-section-header:after{content:"Click to expand";position:absolute;right:16px;font-size:.75rem;color:#6c757d;opacity:.7}.form-section-header:hover{background:linear-gradient(135deg,#e9ecef,#dee2e6);border-color:#adb5bd;transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.form-section-header:hover:after{opacity:1;color:#495057}.form-section-content{animation:slideDown .2s ease-out;position:relative;z-index:1}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px);max-height:0}to{opacity:1;transform:translateY(0);max-height:500px}}.pipeline-status-badge{display:flex;align-items:center;gap:.5rem}.pipeline-steps{margin-top:1.5rem}.status-badge.inactive{background:#f8d7da;color:#721c24}.loading{font-size:1.2rem;color:#666}.note-item{background:#fff;border-radius:8px;border:1px solid #e9ecef;padding:1rem}.note-date{color:#666;font-size:.8rem}.note-content{color:#495057;line-height:1.4}.research-progress-placeholder{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 4px 6px #0000001a}.research-progress-placeholder h3{color:#333;margin-bottom:16px;font-size:1.5rem}.research-progress-placeholder p{color:#666;margin-bottom:32px}.task-selection h4{color:#333;margin-bottom:16px;font-size:1.2rem}.task-list{display:grid;gap:1rem}.task-item-selectable{background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef;padding:1rem}.task-item-selectable:hover{border-color:#667eea;background:#f0f4ff}.task-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.research-progress{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 4px 6px #0000001a}.research-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.research-header h3{color:#333;font-size:1.8rem;margin:0}.task-info{margin-bottom:2rem}.task-info h4{color:#333;margin-bottom:16px;font-size:1.2rem}.task-field{display:flex;align-items:center;gap:12px}.task-field .label{font-weight:600;margin-right:.5rem}.task-field .value{color:#333}.research-stages{display:grid;gap:1.5rem;margin-bottom:2rem}.research-stages h4{color:#333;margin-bottom:20px;font-size:1.4rem}.generated-strategies{background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef;padding:1.5rem}.generated-strategies h4{color:#333;margin-bottom:16px;font-size:1.2rem}.strategies-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.strategy-card{background:#fff;border-radius:8px;border:1px solid #e9ecef;padding:1rem}.strategy-card:hover{border-color:#667eea;box-shadow:0 2px 8px #667eea1a}.strategy-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.strategy-card-header h5{color:#333;margin:0;font-size:1.1rem;flex:1}.strategy-type{background:#e3f2fd;color:#1976d2;padding:4px 8px;border-radius:4px;font-size:.8rem;font-weight:600}.strategy-card-meta{display:flex;justify-content:space-between;font-size:.85rem;color:#6c757d}.task-selection{margin-top:1.5rem}.stage-card{background:#f8f9fa;border-radius:8px;padding:1.5rem;border:1px solid #e9ecef}.stage-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.stage-count{font-weight:600;color:#495057}.stage-notes{display:grid;gap:1rem}.note-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;color:#6c757d;font-size:.85rem}.note-stage{background:#e3f2fd;color:#1565c0;padding:2px 8px;border-radius:12px;font-size:.75rem;font-weight:600}.note-content pre{margin:0;white-space:pre-wrap}@media (max-width: 768px){.research-header{flex-direction:column;gap:16px;align-items:flex-start}.task-field{flex-direction:column;align-items:flex-start;gap:4px}.strategies-grid{grid-template-columns:1fr}.strategy-card-header{flex-direction:column;gap:8px}}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stat-item{text-align:center;padding:12px;background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.stat-label{display:block;font-size:.8rem;color:#666;margin-bottom:4px}.stat-value{display:block;font-size:1.2rem;font-weight:600;color:#333}.modal{position:fixed;top:0;left:0;width:100%;height:100%;background:#000000b3;display:flex;justify-content:center;align-items:center;z-index:1000;padding:20px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-overflow-scrolling:touch;overflow-y:auto}.modal-content{background:#fff;border-radius:12px;padding:24px;max-width:90vw;max-height:90vh;width:100%;overflow-y:auto;position:relative;box-shadow:0 10px 25px #0000004d;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1001;-webkit-overflow-scrolling:touch;color:#333;font-size:14px;line-height:1.4}.modal-close{position:absolute;top:16px;right:16px;background:none;border:none;font-size:24px;cursor:pointer;color:#666;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background-color .2s ease;-webkit-appearance:none;appearance:none;z-index:1002}.modal-close:hover{background:#f0f0f0}.modal h2{margin-bottom:20px;color:#333;font-size:1.5rem;font-weight:600}.coder-tab{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 4px 6px #0000001a}.coder-header{margin-bottom:1.5rem}.coder-header h2{color:#333;margin:0}.coder-stats{display:flex;gap:16px}.coder-content{display:grid;gap:1.5rem}.coder-jobs-section,.coder-bundles-section{background:#f8f9fa;border-radius:8px;padding:20px;border:1px solid #e9ecef}.coder-jobs-section h3,.coder-bundles-section h3{color:#333;margin-bottom:16px;font-size:1.3rem}.jobs-list,.bundles-list{display:flex;flex-direction:column;gap:12px}.job-item,.bundle-item{background:#fff;border:1px solid #e9ecef;border-radius:6px;padding:16px;transition:all .2s ease}.job-item:hover,.bundle-item:hover{border-color:#667eea;box-shadow:0 2px 8px #667eea1a}.job-header,.bundle-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #f0f0f0}.job-id,.bundle-id{font-weight:600;color:#667eea;font-size:.9rem}.job-status,.bundle-spec{font-size:.8rem;color:#666}.job-date,.bundle-date{font-size:.8rem;color:#999}.job-details,.bundle-details{display:flex;flex-direction:column;gap:6px;margin-bottom:12px;font-size:.9rem}.job-spec,.job-model,.job-attempt,.bundle-entrypoint,.bundle-hash{color:#495057;font-size:.9rem}.job-spec strong,.job-model strong,.job-attempt strong,.bundle-entrypoint strong,.bundle-hash strong{color:#212529}.job-actions,.bundle-actions{display:flex;gap:.5rem}.job-details-modal{display:grid;gap:1.5rem}.job-details-modal h2{color:#333;margin-bottom:20px;padding-bottom:12px;border-bottom:2px solid #f0f0f0}.job-info,.agent-invocations,.llm-messages,.associated-bundles{margin-bottom:24px}.job-info h3,.agent-invocations h3,.llm-messages h3,.associated-bundles h3{color:#333;margin-bottom:12px;font-size:1.1rem}.info-grid{display:grid;gap:.75rem}.info-item{padding:8px 12px;background:#f8f9fa;border-radius:4px;border:1px solid #e9ecef}.invocations-list,.messages-list{display:flex;flex-direction:column;gap:12px}.invocation-item,.message-item{background:#f8f9fa;border:1px solid #e9ecef;border-radius:6px;padding:12px}.invocation-header,.message-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid #e0e0e0}.agent-name,.message-role{font-weight:600;color:#667eea}.message-agent{font-size:.8rem;color:#666}.message-date{font-size:.8rem;color:#999}.invocation-status{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:9999px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;background:#eef2ff;color:#4338ca}.invocation-details{display:flex;gap:16px;font-size:.9rem}.invocation-tokens,.invocation-latency,.invocation-status{display:flex;align-items:center;gap:6px}.message-content pre{margin:0;white-space:pre-wrap}.job-strategy-link{color:#667eea;font-weight:500}.jobs-list,.bundles-list,.invocations-list,.messages-list{display:grid;gap:1rem}.job-item,.bundle-item,.invocation-item,.message-item{background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef;padding:1rem}.job-header,.bundle-header,.invocation-header,.message-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.job-details{display:grid;gap:.5rem;margin-bottom:.75rem}@media (max-width: 768px){.stats-grid{grid-template-columns:1fr}.modal-content{padding:16px;margin:10px}.modal h2{font-size:1.3rem}.coder-header{flex-direction:column;gap:16px;align-items:flex-start}.coder-stats{width:100%}.info-grid{grid-template-columns:1fr}.invocation-details{flex-direction:column;gap:8px}}@media (max-width: 480px){.stats-grid{grid-template-columns:1fr}.stat-item,.modal-content{padding:12px}}.card{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a;padding:24px;margin-bottom:24px;min-width:100%}.code-block{background:#2d3748;color:#e2e8f0;padding:15px;border-radius:6px;overflow-x:auto}.code-block pre{margin:0;font-family:Courier New,monospace;font-size:.85rem;line-height:1.4;white-space:pre-wrap;word-wrap:break-word}.data-tab{padding:20px;max-width:1200px;margin:0 auto}.data-header{text-align:center;margin-bottom:40px}.data-header h2{color:#2c3e50;margin-bottom:10px;font-size:2.5rem}.data-header p{color:#7f8c8d;font-size:1.1rem;max-width:600px;margin:0 auto}.data-overview{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:30px;border-radius:12px;margin-bottom:30px}.data-overview h3{margin-bottom:20px;font-size:1.5rem}.overview-content{display:grid;gap:24px}.overview-intro{font-size:1rem;line-height:1.6;opacity:.9;margin:0}.data-types-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-top:20px}.data-type-card{background:#ffffff1a;padding:20px;border-radius:8px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.data-type-title{font-size:1.1rem;font-weight:600;margin-bottom:12px}.data-type-description{margin-bottom:12px;line-height:1.6;opacity:.9}.data-type-meta{display:flex;flex-direction:column;gap:4px;font-size:.9rem;opacity:.85}.data-tables{margin-bottom:30px}.data-tables h3{color:#2c3e50;margin-bottom:20px;font-size:1.8rem}.tables-content{background:#fff;border-radius:8px;padding:20px;box-shadow:0 2px 10px #0000001a}.tables-intro{color:#555;margin-bottom:20px;line-height:1.6}.table-category{margin-bottom:30px}.table-category h4{color:#2c3e50;margin-bottom:20px;font-size:1.4rem;padding-bottom:10px;border-bottom:2px solid #e9ecef}.table-card{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;padding:20px;margin-bottom:20px}.table-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.table-header h4{margin:0;color:#2c3e50;font-size:1.3rem}.table-header h5{margin:0;color:#2c3e50;font-size:1.2rem}.table-badge{background:#007bff;color:#fff;padding:4px 12px;border-radius:20px;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.table-description{color:#555;margin-bottom:15px;line-height:1.5}.table-schema{margin-bottom:15px}.table-schema h5{color:#2c3e50;margin-bottom:10px;font-size:1rem}.table-schema h6{color:#2c3e50;margin-bottom:8px;font-size:.9rem}.table-schema table{width:100%;border-collapse:collapse;font-size:.9rem}.table-schema th,.table-schema td{padding:8px 12px;text-align:left;border-bottom:1px solid #dee2e6}.table-schema th{background:#f8f9fa;font-weight:600;color:#495057}.table-schema td{color:#555}.table-schema code{background:#e9ecef;padding:2px 6px;border-radius:3px;font-family:Courier New,monospace;font-size:.85rem}.type-badge{background:#28a745;color:#fff;padding:2px 8px;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase}.data-access{margin-bottom:30px}.data-access h3{color:#2c3e50;margin-bottom:20px;font-size:1.8rem}.access-content{background:#fff;border-radius:8px;padding:20px;box-shadow:0 2px 10px #0000001a}.access-section{margin-bottom:25px}.access-section h4{color:#2c3e50;margin-bottom:15px;font-size:1.3rem}.access-section p{color:#555;margin-bottom:15px;line-height:1.6}.examples-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-top:20px}.example-item{background:#f8f9fa;border:1px solid #e9ecef;border-radius:6px;padding:15px}.example-item h5{color:#2c3e50;margin-bottom:10px;font-size:1rem}.example-item p{color:#555;margin-bottom:10px;font-size:.9rem;line-height:1.4}.example-item .code-block{margin-top:10px}.btn-link{background:none;border:none;color:#007bff;text-decoration:underline;cursor:pointer;padding:0;margin-left:.5rem}.btn-link:hover{color:#0056b3}.auth-modal{max-width:400px;width:90%}.auth-form{padding:2rem}.auth-form h2{margin-bottom:.5rem;color:#333}.auth-form p{margin-bottom:1.5rem;color:#666}.auth-switch{margin-top:1rem;text-align:center}.field-error{color:#dc3545;font-size:.875rem;margin-top:.25rem}.error-message{background:#f8d7da;color:#721c24;padding:.75rem;border-radius:4px;margin-bottom:1rem;border:1px solid #f5c6cb}.tab-button.active{background:#ffffffe6;color:#667eea;border-color:#fff}.role-admin{background:#dc3545;color:#fff}.role-user{background:#007bff;color:#fff}.role-viewer{background:#6c757d;color:#fff}.btn-success{background:#28a745;color:#fff;border:1px solid #28a745}.btn-success:hover{background:#218838;border-color:#1e7e34}.user-management-modal{max-width:1000px;width:95%;max-height:90vh;overflow-y:auto}.user-management{padding:1rem}.users-table{margin:1rem 0;overflow-x:auto}.create-user-form{background:#fff;border:1px solid #e9ecef;border-radius:8px;padding:1rem;margin-bottom:1.5rem;box-shadow:0 2px 4px #0000000d}.create-user-form h3{margin-top:0;margin-bottom:1rem}.create-user-form .action-buttons{justify-content:flex-end}.users-table table{width:100%;border-collapse:collapse;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 4px #0000001a}.users-table th,.users-table td{padding:.75rem;text-align:left;border-bottom:1px solid #e9ecef}.users-table th{background:#f8f9fa;font-weight:600;color:#495057}.users-table tr.inactive{opacity:.6}.users-table tr:hover{background:#f8f9fa}.role-badge{padding:2px 8px;border-radius:12px;font-size:.75rem;font-weight:500}.action-buttons{display:flex;gap:.25rem;flex-wrap:wrap}.modal-actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #e9ecef}.admin-summary-tab{padding:1rem;max-width:100%;overflow-x:auto}.selection-controls{display:flex;align-items:center;gap:1rem;margin-right:1rem;flex-wrap:wrap}.selection-controls label{display:flex;align-items:center;gap:.5rem;font-weight:500;cursor:pointer}.select-all-checkbox,.strategy-checkbox{width:16px;height:16px;cursor:pointer}.selected-count{font-size:.9rem;color:#666;font-weight:500}.bulk-operations{margin-right:1rem}.bulk-operations-select{padding:.5rem;border:1px solid #ddd;border-radius:4px;background:#fff;font-size:.9rem;cursor:pointer}.bulk-operations-select:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.selected-row{background-color:#e3f2fd!important;border-left:4px solid #2196f3}.selected-row:hover{background-color:#bbdefb!important}.combined-metrics{border:2px solid #4caf50;background:linear-gradient(135deg,#e8f5e8,#f1f8e9)}.combined-metrics h3{color:#2e7d32;border-bottom:2px solid #4caf50;padding-bottom:.5rem}.combined-strategies-info{margin-top:1rem;padding:.5rem;background:#4caf501a;border-radius:4px;text-align:center}.combined-strategies-info p{margin:0;color:#2e7d32;font-weight:500}.btn-warning{background:#ffc107;color:#212529;border:1px solid #ffc107;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-size:.9rem;font-weight:500}.btn-warning:hover:not(:disabled){background:#e0a800;border-color:#d39e00}.btn-warning:disabled{background:#6c757d;border-color:#6c757d;cursor:not-allowed;opacity:.6}.btn-download{background:#28a745;color:#fff;border:1px solid #28a745;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-size:.9rem;font-weight:500;margin-top:.5rem;transition:all .2s ease}.btn-download:hover:not(:disabled){background:#218838;border-color:#1e7e34;transform:translateY(-1px)}.btn-download:disabled{background:#6c757d;border-color:#6c757d;cursor:not-allowed;opacity:.6}.download-buttons{display:flex;gap:.5rem;margin-top:.5rem;flex-wrap:wrap}.btn-download-trades{background:#17a2b8;color:#fff;border:1px solid #17a2b8;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .2s ease}.btn-download-trades:hover:not(:disabled){background:#138496;border-color:#117a8b;transform:translateY(-1px)}.btn-download-trades:disabled{background:#6c757d;border-color:#6c757d;cursor:not-allowed;opacity:.6}.summary-header{margin-bottom:2rem}.summary-header h2{margin:0 0 .5rem;color:#333;font-size:1.8rem}.summary-header p{margin:0;color:#333;font-size:1rem;font-weight:500}.summary-stats{margin-bottom:2rem}.stats-card{background:#f8f9fa;border:1px solid #e9ecef;border-radius:12px;padding:1.5rem;margin-bottom:1rem}.stats-card h3{margin:0 0 1rem;color:#333;font-size:1.2rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.stat-item{display:flex;flex-direction:column;gap:.25rem}.stat-label{font-size:.9rem;color:#666;font-weight:500}.stat-value{font-size:1.5rem;font-weight:700;color:#333}.stat-value.success{color:#28a745}.summary-controls{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem;padding:1rem;background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.pagination-controls{display:flex;align-items:center;gap:.5rem}.pagination-controls label{font-weight:500;color:#333}.page-size-select{padding:.5rem;border:1px solid #ddd;border-radius:4px;background:#fff;font-size:.9rem}.refresh-controls{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;justify-content:flex-end}.refresh-controls .btn{flex:0 0 auto}.btn-primary{background:#007bff;color:#fff;border:1px solid #007bff}.btn-primary:hover:not(:disabled){background:#0056b3;border-color:#0056b3}.btn-primary:disabled{background:#6c757d;border-color:#6c757d;cursor:not-allowed;opacity:.6}.strategies-table-container{overflow-x:auto;border:1px solid #e9ecef;border-radius:8px;background:#fff;-webkit-overflow-scrolling:touch}.strategies-table{width:100%;min-width:960px;border-collapse:collapse;font-size:.9rem}.strategies-table th{background:#f8f9fa;padding:1rem .75rem;text-align:left;font-weight:600;color:#333;border-bottom:2px solid #e9ecef;white-space:nowrap}.strategies-table td{padding:.75rem;border-bottom:1px solid #e9ecef;vertical-align:top}.strategies-table tr:hover{background:#f8f9fa}.strategies-table tr.success-row{background:#28a7450d}.strategies-table tr.failed-row{background:#dc35450d}.user-info{display:flex;flex-direction:column;gap:.25rem}.user-name{font-weight:600;color:#333}.user-email{font-size:.8rem;color:#666}.task-cell{max-width:200px}.task-text{font-size:.85rem;line-height:1.3;color:#333}.spec-info{display:flex;flex-direction:column;gap:.25rem}.spec-name{font-weight:600;color:#333;font-size:.9rem}.spec-id{font-size:.75rem;color:#666;font-family:monospace}.metric-cell{text-align:right;font-family:monospace;font-weight:500}.trades-cell{text-align:center}.trades-badge{display:inline-block;padding:.25rem .5rem;border-radius:12px;font-size:.8rem;font-weight:600;min-width:2rem;text-align:center}.trades-badge.success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.trades-badge.failed{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.trades-badge.no-run{background:#e9ecef;color:#6c757d;border:1px solid #dee2e6}.retry-count-badge{display:inline-block;padding:.25rem .5rem;border-radius:12px;font-size:.8rem;font-weight:600;min-width:2rem;text-align:center;background:#fff3cd;color:#856404;border:1px solid #ffeaa7}.retry-count-badge:not([data-count="0"]){background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.run-info{display:flex;flex-direction:column;gap:.25rem}.run-date{font-size:.85rem;color:#333;font-weight:500}.run-id{font-size:.75rem;color:#666;font-family:monospace}.no-run{color:#6c757d;font-style:italic;font-size:.85rem}.loading-cell,.empty-cell{text-align:center;padding:2rem;color:#666}.loading-spinner{display:flex;align-items:center;justify-content:center;gap:.5rem}.empty-state{display:flex;align-items:center;justify-content:center;gap:.5rem;font-size:1.1rem}.pagination{display:flex;justify-content:center;align-items:center;gap:1rem;margin-top:1.5rem;padding:1rem;background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.pagination-info{font-weight:500;color:#333}.access-denied{text-align:center;padding:3rem;background:#f8f9fa;border-radius:12px;border:1px solid #e9ecef}.access-denied h3{margin:0 0 1rem;color:#dc3545;font-size:1.5rem}.access-denied p{margin:0;color:#666;font-size:1rem}.error-message{background:#f8d7da;color:#721c24;padding:1rem;border-radius:8px;border:1px solid #f5c6cb;margin-bottom:1rem}.error-message p{margin:0;font-weight:500}.clickable-row{transition:background-color .2s ease}.clickable-row:hover{background:#e3f2fd!important;cursor:pointer}.strategy-modal{max-width:1200px;width:95%;max-height:90vh;overflow-y:auto}.loading-strategy,.error-strategy{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;text-align:center}.loading-strategy .loading-spinner{font-size:1.2rem;color:#666}.error-strategy p{margin:0 0 1rem;color:#dc3545;font-size:1.1rem}.strategy-card{padding:1rem}.strategy-card .strategy-header{margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #e9ecef}.strategy-card .strategy-header h2{margin:0 0 1rem;color:#333;font-size:1.5rem}.strategy-card .strategy-meta{display:flex;flex-wrap:wrap;gap:1rem;font-size:.9rem}.strategy-card .strategy-meta span{background:#f8f9fa;padding:.25rem .5rem;border-radius:4px;border:1px solid #e9ecef}.strategy-card .strategy-content{display:flex;flex-direction:column;gap:1.5rem}.strategy-card .strategy-info-section,.strategy-card .strategy-results-section{background:#f8f9fa;padding:1rem;border-radius:8px;border:1px solid #e9ecef}.strategy-card .strategy-info-section h4,.strategy-card .strategy-results-section h4{margin:0 0 1rem;color:#333;font-size:1.1rem}.strategy-card .task-details p{margin:.5rem 0;line-height:1.4}.strategy-card .results-grid{display:flex;flex-direction:column;gap:1rem}.strategy-card .metrics-display{background:#fff;padding:1rem;border-radius:6px;border:1px solid #dee2e6}.strategy-card .metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem}.strategy-card .metric-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem;background:#f8f9fa;border-radius:4px;border:1px solid #e9ecef}.strategy-card .metric-label{font-weight:600;color:#495057;font-size:.9rem}.strategy-card .metric-value{font-weight:700;color:#333;font-family:monospace;font-size:.9rem}.strategy-card .no-results{text-align:center;padding:2rem;color:#6c757d;font-style:italic}.strategy-card .strategy-actions{display:flex;justify-content:center;padding-top:1rem;border-top:1px solid #e9ecef}@media (max-width: 768px){.strategy-modal{width:98%;max-height:95vh}.strategy-card .strategy-meta{flex-direction:column;gap:.5rem}.strategy-card .metrics-grid{grid-template-columns:1fr}}@media (max-width: 768px){.summary-controls{flex-direction:column;gap:1rem;align-items:stretch}.pagination-controls,.refresh-controls{justify-content:center}.refresh-controls{width:100%;flex-direction:column;align-items:stretch;gap:.75rem}.refresh-controls .btn,.refresh-controls .bulk-operations-select{width:100%}.selection-controls{width:100%;justify-content:space-between;margin-right:0}.selection-controls label,.selection-controls .selected-count{width:100%}.bulk-operations{width:100%;margin-right:0}.strategies-table{font-size:.8rem}.strategies-table th,.strategies-table td{padding:.5rem .25rem}.task-cell{max-width:150px}}@media screen and (max-width: 768px){.strategies-table th,.strategies-table td{display:table-cell!important;visibility:visible!important;opacity:1!important;font-size:.75rem;padding:.4rem .2rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.form-group select,.form-group input,.form-group label{display:block!important;visibility:visible!important;opacity:1!important;font-size:.9rem;width:100%;margin-bottom:.5rem}.form-group label{font-weight:600;color:#333;margin-bottom:.25rem}select{-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;background-color:#fff!important;border:1px solid #ccc!important;padding:.5rem!important;font-size:.9rem!important;color:#333!important}.strategies-table-container{overflow-x:auto;-webkit-overflow-scrolling:touch}.strategies-table{min-width:800px}.summary-header p,.summary-header h2,.summary-header h3{color:#333!important;font-weight:500!important;opacity:1!important;visibility:visible!important}.btn{font-size:.9rem!important;padding:.5rem 1rem!important;min-height:44px}input[type=checkbox]{width:18px!important;height:18px!important;margin-right:.5rem}.selection-controls{background:#f8f9fa;padding:1rem;border-radius:.5rem;margin-bottom:1rem}.selection-controls label{font-weight:600;color:#333;display:flex;align-items:center}}@supports (-webkit-appearance: none){select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right 8px center;background-size:16px;padding-right:32px}.form-section-content{-webkit-transform:translateZ(0);transform:translateZ(0);will-change:transform;position:relative;z-index:1}.form-section-header{-webkit-tap-highlight-color:transparent;cursor:pointer}.form-section-content{-webkit-backface-visibility:hidden;backface-visibility:hidden}}@media screen and (-webkit-min-device-pixel-ratio: 0){.form-group select{-webkit-transform:translateZ(0);transform:translateZ(0)}.form-section{position:relative;z-index:0}.form-section-content{position:relative;z-index:1}}@supports (-webkit-appearance: none) and (not (-moz-appearance: none)){.form-group input[type=number],.form-group input[type=text],.form-group select{-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #ddd;border-radius:4px}.form-group select{background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right 8px center;background-size:16px;padding-right:32px}}@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.form-section-header{-webkit-tap-highlight-color:rgba(0,0,0,.1);-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.form-section-content{-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;will-change:transform,opacity}.form-section{-webkit-transform:translateZ(0);transform:translateZ(0);position:relative;z-index:0}.form-section-content{position:relative;z-index:1}}@media screen and (-webkit-min-device-pixel-ratio: 0){.form-group input,.form-group select,.form-group textarea{-webkit-appearance:none;appearance:none;background-color:#fff;border:2px solid #dee2e6;border-radius:6px;padding:12px 16px;font-size:14px;line-height:1.4;color:#495057;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#007bff;outline:0;box-shadow:0 0 0 .2rem #007bff40}.form-section-header h4{font-weight:600;color:#495057;margin:0;font-size:1.1rem}.form-section-header{background:linear-gradient(135deg,#fff,#f8f9fa);border:2px solid #dee2e6;box-shadow:0 1px 3px #0000001a}.form-section-header:hover{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-color:#007bff;box-shadow:0 2px 6px #00000026}}@supports (-webkit-appearance: none){.modal{-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;will-change:transform,opacity;position:fixed;top:0;left:0;width:100%;height:100%;background:#000000b3;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content{-webkit-transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;will-change:transform,opacity;position:relative;z-index:1001;background:#fff;border-radius:12px;padding:24px;max-width:90vw;max-height:90vh;width:100%;overflow-y:auto;box-shadow:0 10px 25px #0000004d;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}.modal-close{-webkit-appearance:none;appearance:none;position:absolute;top:16px;right:16px;background:none;border:none;font-size:24px;cursor:pointer;color:#666;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background-color .2s ease;z-index:1002}.modal-close:hover{background:#f0f0f0}.modal h2{margin-bottom:20px;color:#333;font-size:1.5rem;font-weight:600;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.field-details{-webkit-transform:translateZ(0);transform:translateZ(0);position:relative;z-index:1}.field-details pre{-webkit-transform:translateZ(0);transform:translateZ(0);background:#f8f9fa;border:1px solid #e9ecef;border-radius:4px;padding:1rem;overflow-x:auto;white-space:pre-wrap;word-wrap:break-word;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:14px;line-height:1.4}.logs-display{-webkit-transform:translateZ(0);transform:translateZ(0);position:relative;z-index:1}.log-entry{-webkit-transform:translateZ(0);transform:translateZ(0);margin-bottom:1rem;padding:1rem;background:#f8f9fa;border:1px solid #e9ecef;border-radius:4px}.log-header{font-weight:600;margin-bottom:.5rem;color:#333}.log-content pre{margin:0;background:#fff;border:1px solid #dee2e6;border-radius:4px;padding:.75rem;font-size:13px;line-height:1.4}.code-display{-webkit-transform:translateZ(0);transform:translateZ(0);position:relative;z-index:1}.python-code{-webkit-transform:translateZ(0);transform:translateZ(0);background:#f8f9fa;border:1px solid #e9ecef;border-radius:4px;padding:1rem;overflow-x:auto;white-space:pre-wrap;word-wrap:break-word;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:14px;line-height:1.4}}@media screen and (-webkit-min-device-pixel-ratio: 0){.modal{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-content{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);position:relative;z-index:1001}.modal *{-webkit-transform:translateZ(0);transform:translateZ(0)}}@media screen and (max-width: 768px){.modal{position:fixed!important;top:0!important;left:0!important;width:100vw!important;height:100vh!important;z-index:9999!important;background:#000c!important;display:flex!important;justify-content:center!important;align-items:center!important;padding:10px!important;-webkit-overflow-scrolling:touch;overflow-y:auto}.modal-content{width:100%!important;max-width:95vw!important;max-height:90vh!important;margin:0!important;padding:16px!important;border-radius:8px!important;background:#fff!important;color:#333!important;font-size:14px!important;line-height:1.4!important;position:relative!important;z-index:10000!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch}.modal-close{position:absolute!important;top:8px!important;right:8px!important;width:40px!important;height:40px!important;font-size:20px!important;z-index:10001!important;background:#0000001a!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important}.field-details{background:#fff!important;color:#333!important;padding:16px!important;border-radius:8px!important;max-height:80vh!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch}.field-details pre{background:#f8f9fa!important;color:#333!important;padding:12px!important;border-radius:4px!important;overflow-x:auto!important;white-space:pre-wrap!important;word-wrap:break-word!important}.logs-display{background:#fff!important;color:#333!important;max-height:70vh!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch}.log-entry{background:#f8f9fa!important;color:#333!important;margin-bottom:8px!important;padding:8px!important;border-radius:4px!important}.log-header{font-weight:700!important;color:#333!important;margin-bottom:4px!important}.log-content pre{background:#e9ecef!important;color:#333!important;padding:8px!important;border-radius:4px!important;overflow-x:auto!important;white-space:pre-wrap!important;word-wrap:break-word!important}.code-display{background:#fff!important;color:#333!important;max-height:70vh!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch}.python-code{background:#f8f9fa!important;color:#333!important;padding:12px!important;border-radius:4px!important;overflow-x:auto!important;white-space:pre-wrap!important;word-wrap:break-word!important}}@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px){.modal,.modal-content{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}}@media screen and (max-width: 768px){.strategies-table th,.strategies-table td{display:table-cell!important;visibility:visible!important;opacity:1!important;font-size:.75rem!important;padding:.4rem .2rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#333!important;background-color:transparent!important}.strategies-table th:nth-child(2),.strategies-table td:nth-child(2),.strategies-table th:nth-child(8),.strategies-table td:nth-child(8),.strategies-table th:nth-child(9),.strategies-table td:nth-child(9){display:table-cell!important;visibility:visible!important;opacity:1!important;width:auto!important;min-width:80px!important}.form-group select,.form-group input,.form-group textarea,.form-group label{display:block!important;visibility:visible!important;opacity:1!important;font-size:.9rem!important;width:100%!important;margin-bottom:.5rem!important;color:#333!important;background-color:#fff!important;border:1px solid #ccc!important;padding:.5rem!important;min-height:44px!important}.page-size-select,.bulk-operations-select,.form-group select,.form-group input[type=text],.form-group input[type=number],.form-group input[type=email],.form-group input[type=password]{display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;min-height:44px!important;font-size:.9rem!important;color:#333!important;background-color:#fff!important;border:1px solid #ccc!important;padding:.5rem!important}.form-group label{font-weight:600!important;color:#333!important;margin-bottom:.25rem!important;display:block!important}select{-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;background-color:#fff!important;border:1px solid #ccc!important;padding:.5rem!important;font-size:.9rem!important;color:#333!important;min-height:44px!important}.strategies-table-container{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;width:100%!important}.strategies-table{min-width:800px!important;width:100%!important}.summary-header p,.summary-header h2,.summary-header h3,.summary-header h4{color:#333!important;font-weight:500!important;opacity:1!important;visibility:visible!important;display:block!important}label,.form-group label,.selection-controls label,.pagination-controls label,.refresh-controls label{display:block!important;visibility:visible!important;opacity:1!important;color:#333!important;font-weight:600!important;font-size:.9rem!important;margin-bottom:.25rem!important}span,.stat-label,.stat-value,.selected-count,.summary-header p{display:inline!important;visibility:visible!important;opacity:1!important;color:#333!important;font-size:.9rem!important}.btn{font-size:.9rem!important;padding:.5rem 1rem!important;min-height:44px!important;min-width:44px!important;display:inline-block!important;visibility:visible!important;opacity:1!important}input[type=checkbox]{width:20px!important;height:20px!important;margin-right:.5rem!important;display:inline-block!important;visibility:visible!important;opacity:1!important}.selection-controls{background:#f8f9fa!important;padding:1rem!important;border-radius:.5rem!important;margin-bottom:1rem!important;border:1px solid #dee2e6!important}.selection-controls label{font-weight:600!important;color:#333!important;display:flex!important;align-items:center!important;margin-bottom:.5rem!important}.pagination-controls{display:flex!important;visibility:visible!important;opacity:1!important;justify-content:center!important;align-items:center!important;gap:.5rem!important}.refresh-controls,.bulk-operations{display:flex!important;visibility:visible!important;opacity:1!important;flex-direction:column!important;gap:.5rem!important;width:100%!important}.bulk-operations-select{width:100%!important;min-height:44px!important;font-size:.9rem!important;padding:.5rem!important}}@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px){*{visibility:visible!important;opacity:1!important}.strategies-table th,.strategies-table td{display:table-cell!important;visibility:visible!important;opacity:1!important;color:#333!important;background-color:transparent!important;border:1px solid #dee2e6!important}select,input,textarea,label{display:block!important;visibility:visible!important;opacity:1!important;color:#333!important;background-color:#fff!important;border:1px solid #ccc!important;font-size:.9rem!important}p,span,div,h1,h2,h3,h4,h5,h6{color:#333!important;visibility:visible!important;opacity:1!important}}
