.strategy-list{margin:0 auto;max-width:1200px;padding:20px}.list-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:30px}.list-header h2{color:#1a1a1a;font-size:28px;font-weight:600;margin:0}.empty-state{color:#6c757d;padding:60px 20px;text-align:center}.empty-state p{font-size:18px;margin-bottom:20px}.strategy-cards{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}.strategy-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 2px 4px #0000000d;padding:20px;transition:box-shadow .3s ease}.strategy-card:hover{box-shadow:0 4px 12px #0000001a}.card-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:15px}.card-header h3{color:#1a1a1a;flex:1 1;font-size:20px;font-weight:600;margin:0}.card-body{margin-bottom:20px}.description{color:#6c757d;font-size:14px;line-height:1.5;margin-bottom:15px}.strategy-info{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}.info-item{display:flex;font-size:14px;justify-content:space-between}.info-item .label{color:#6c757d;font-weight:500}.info-item .value{color:#1a1a1a;font-weight:600}.last-run{border-top:1px solid #e0e0e0;color:#6c757d;font-size:12px;margin-top:10px;padding-top:10px}.error-message{background:#f8d7da;border-radius:4px;color:#dc3545;font-size:13px;margin-top:10px;padding:10px}.card-actions{border-top:1px solid #e0e0e0;display:flex;gap:10px;padding-top:15px}.btn-primary{border:none;cursor:pointer;font-weight:500;transition:background .2s ease}.btn-danger,.btn-secondary,.btn-success{border:none;border-radius:4px;cursor:pointer;font-size:13px;font-weight:500;padding:8px 16px;transition:background .2s ease}.btn-secondary:disabled{cursor:not-allowed;opacity:.5}.btn-link{border:none;border-radius:4px;cursor:pointer;font-size:13px;font-weight:500;padding:8px 16px;transition:background .2s ease}.create-strategy{margin:0 auto;max-width:1200px;padding:20px}.page-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:30px}.page-header h1{color:#1a1a1a;font-size:32px;font-weight:600;margin:0}.input-step{grid-gap:30px;display:grid;gap:30px;grid-template-columns:2fr 1fr}.examples-section,.prompt-section{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:30px}.prompt-section h2{font-size:24px;margin-bottom:10px}.hint{color:#6c757d;font-size:14px;margin-bottom:20px}.prompt-input{border:2px solid #e0e0e0;border-radius:6px;font-family:inherit;font-size:15px;margin-bottom:20px;padding:15px;resize:vertical;width:100%}.prompt-input:focus{border-color:#007bff;outline:none}.difficulty-selector{margin-bottom:30px}.difficulty-selector label{display:block;font-weight:500;margin-bottom:10px}.radio-group{display:flex;flex-direction:column;gap:10px}.radio-group label{align-items:center;cursor:pointer;display:flex}.radio-group input[type=radio]{margin-right:10px}.btn-large{font-size:16px;padding:15px 30px;width:100%}.examples-section h3{font-size:18px;margin-bottom:15px}.example-list{display:flex;flex-direction:column;gap:10px}.example-item{background:#f8f9fa;border-radius:6px;cursor:pointer;font-size:14px;padding:12px;transition:background .2s ease}.example-item:hover{background:#e9ecef}.generating-step{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:80px 20px;text-align:center}.loader{animation:spin 1s linear infinite;border:4px solid #f3f3f3;border-radius:50%;border-top-color:#007bff;height:60px;margin:0 auto 30px;width:60px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.generating-step h2{font-size:24px;margin-bottom:10px}.generating-step p{color:#6c757d}.review-step{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:30px}.review-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:30px}.review-header h2{font-size:24px;margin:0}.validation-errors{background:#f8d7da;border:1px solid #f5c6cb;border-radius:6px;margin-bottom:20px;padding:20px}.validation-errors h3{color:#721c24;font-size:16px;margin-bottom:10px}.validation-errors ul{color:#721c24;margin:0;padding-left:20px}.validation-warnings{background:#fff3cd;border:1px solid #ffeeba;border-radius:6px;margin-bottom:20px;padding:20px}.validation-warnings h3{color:#856404;font-size:16px;margin-bottom:10px}.validation-warnings ul{color:#856404;margin:0;padding-left:20px}.code-section,.config-section,.explanation-section{margin-bottom:30px}.code-section h3,.config-section h3,.explanation-section h3{font-size:18px;margin-bottom:15px}.explanation-section p{color:#495057;line-height:1.6}.code-preview{background:#f8f9fa;border:1px solid #e0e0e0;border-radius:6px;max-height:400px;overflow-x:auto;overflow-y:auto;padding:20px}.code-preview code{color:#212529;font-family:Monaco,Menlo,Consolas,monospace;font-size:13px;line-height:1.5}.form-group{margin-bottom:20px}.form-group label{color:#495057;display:block;font-weight:500;margin-bottom:8px}.form-group input,.form-group select,.form-group textarea{border:1px solid #ced4da;border-radius:4px;font-family:inherit;font-size:14px;padding:10px;width:100%}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#007bff;outline:none}.form-row{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(3,1fr)}.action-buttons{border-top:1px solid #e0e0e0;display:flex;gap:15px;padding-top:30px}.portfolio-panel{padding:20px}.portfolio-summary{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(4,1fr);margin-bottom:30px}.summary-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:20px}.summary-label{color:#6c757d;font-size:13px;font-weight:500;margin-bottom:8px;text-transform:uppercase}.summary-value{color:#1a1a1a;font-size:24px;font-weight:600;margin-bottom:4px}.summary-value.large{font-size:32px}.summary-value.positive{color:#28a745}.summary-value.negative{color:#dc3545}.summary-subtitle{font-size:14px;font-weight:500}.summary-subtitle.positive{color:#28a745}.summary-subtitle.negative{color:#dc3545}.positions-section,.risk-section{background:#fff;border:1px solid #e0e0e0;border-radius:8px;margin-bottom:20px;padding:25px}.positions-section h3,.risk-section h3{color:#1a1a1a;font-size:18px;margin-bottom:20px}.risk-bars{gap:20px}.risk-bars,.risk-item{display:flex;flex-direction:column}.risk-item{gap:8px}.risk-header{color:#495057;display:flex;font-size:14px;font-weight:500;justify-content:space-between}.progress-bar{background:#e9ecef;border-radius:4px;height:8px;overflow:hidden}.progress-fill{background:#007bff;height:100%;transition:width .3s ease}.progress-fill.danger{background:#dc3545}.risk-detail{color:#6c757d;font-size:12px}.empty-positions{color:#6c757d;padding:40px;text-align:center}.positions-table{overflow-x:auto}.positions-table table{border-collapse:collapse;width:100%}.positions-table th{background:#f8f9fa;border-bottom:2px solid #e0e0e0;color:#495057;font-size:13px;font-weight:600;padding:12px;text-align:left;text-transform:uppercase}.positions-table td{border-bottom:1px solid #e0e0e0;font-size:14px;padding:12px}.positions-table td.positive{color:#28a745;font-weight:600}.positions-table td.negative{color:#dc3545;font-weight:600}.positions-table tr:hover{background:#f8f9fa}.backtest-panel{padding:20px}.run-backtest-form{background:#fff;border:1px solid #e0e0e0;border-radius:8px;margin-bottom:30px;padding:25px}.run-backtest-form h4{font-size:18px;margin-bottom:20px}.empty-results{color:#6c757d;padding:60px 20px;text-align:center}.empty-results,.results-list{background:#fff;border:1px solid #e0e0e0;border-radius:8px}.results-list{margin-bottom:20px;padding:20px}.results-list h4{font-size:16px;margin-bottom:15px}.result-items{grid-gap:10px;display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.result-item{border:2px solid #e0e0e0;border-radius:6px;cursor:pointer;padding:15px;transition:all .2s ease}.result-item.active,.result-item:hover{border-color:#007bff}.result-item.active{background:#f0f8ff}.result-header{display:flex;font-size:14px;justify-content:space-between;margin-bottom:8px}.result-date{color:#6c757d;font-size:12px}.result-return{font-size:20px;font-weight:600}.result-detail{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:25px}.result-detail h4{font-size:18px;margin-bottom:20px}.metrics-grid{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(4,1fr);margin-bottom:30px}.metric-card{background:#f8f9fa;border-radius:6px;padding:15px;text-align:center}.metric-label{color:#6c757d;font-size:12px;font-weight:500;margin-bottom:8px;text-transform:uppercase}.metric-value{color:#1a1a1a;font-size:24px;font-weight:600}.metric-value.small{font-size:13px;line-height:1.4}.metric-value.positive{color:#28a745}.metric-value.negative{color:#dc3545}.equity-chart{background:#f8f9fa;border-radius:6px;margin-bottom:30px;padding:20px}.equity-chart h4{font-size:16px;margin-bottom:15px}.trades-list{margin-top:30px}.trades-list h4{font-size:16px;margin-bottom:15px}.trades-table{overflow-x:auto}.trades-table table{border-collapse:collapse;width:100%}.trades-table th{background:#f8f9fa;border-bottom:2px solid #e0e0e0;color:#495057;font-size:12px;font-weight:600;padding:10px;text-align:left;text-transform:uppercase}.trades-table td{border-bottom:1px solid #e9ecef;font-size:13px;padding:10px}.trades-table td.positive{color:#28a745;font-weight:600}.trades-table td.negative{color:#dc3545;font-weight:600}.trades-table tr:hover{background:#f8f9fa}.orders-panel{padding:20px}.panel-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.panel-header h3{font-size:20px;font-weight:600;margin:0}.empty-orders{color:#6c757d;padding:60px 20px;text-align:center}.orders-table{background:#fff;border:1px solid #e0e0e0;border-radius:8px;overflow-x:auto}.orders-table table{border-collapse:collapse;width:100%}.orders-table th{background:#f8f9fa;border-bottom:2px solid #e0e0e0;color:#495057;font-size:12px;font-weight:600;padding:12px;text-align:left;text-transform:uppercase;white-space:nowrap}.orders-table td{border-bottom:1px solid #e9ecef;font-size:14px;padding:12px;white-space:nowrap}.orders-table tr:hover{background:#f8f9fa}.time-col{color:#6c757d;font-size:13px}.side-badge{border-radius:4px;display:inline-block;font-size:11px;font-weight:600;padding:4px 8px}.side-buy{background:#d4edda;color:#155724}.side-sell{background:#f8d7da;color:#721c24}.status-badge{border-radius:4px;display:inline-block;font-size:11px;font-weight:600;padding:4px 8px}.status-filled{background:#d4edda;color:#155724}.status-pending{background:#fff3cd;color:#856404}.status-cancelled{background:#e2e3e5;color:#383d41}.status-failed{background:#f8d7da;color:#721c24}.strategy-detail{margin:0 auto;max-width:1400px;padding:20px}.detail-header{justify-content:space-between;margin-bottom:30px}.detail-header,.header-left{align-items:center;display:flex}.header-left{gap:15px}.header-left h1{font-size:32px;font-weight:600;margin:0}.header-actions{gap:15px}.auto-refresh,.header-actions{align-items:center;display:flex}.auto-refresh{font-size:14px;gap:8px}.auto-refresh,.auto-refresh input{cursor:pointer}.error-banner{background:#f8d7da;border:1px solid #f5c6cb;border-radius:6px;color:#721c24;margin-bottom:20px;padding:15px}.tabs{border-bottom:2px solid #e0e0e0;display:flex;gap:5px;margin-bottom:30px}.tab{background:#0000;border:none;border-bottom:3px solid #0000;color:#6c757d;cursor:pointer;font-size:15px;font-weight:500;padding:12px 24px;transition:all .2s ease}.tab.active,.tab:hover{color:#007bff}.tab.active{border-bottom-color:#007bff}.tab:disabled{color:#ced4da;cursor:not-allowed}.tab-content{min-height:400px}.overview-tab{display:flex;flex-direction:column;gap:20px}.info-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(3,1fr)}.info-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:25px}.info-card h3{color:#1a1a1a;font-size:16px;font-weight:600;margin-bottom:20px}.info-items{display:flex;flex-direction:column;gap:12px}.info-row{display:flex;font-size:14px;justify-content:space-between}.info-row span{color:#6c757d}.info-row strong{color:#1a1a1a;font-weight:600}.info-row strong.positive{color:#28a745}.info-row strong.negative{color:#dc3545}.description-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:25px}.description-card h3{color:#1a1a1a;font-size:16px;font-weight:600;margin-bottom:15px}.description-card p{color:#495057;line-height:1.6}.code-tab{background:#fff;border-radius:8px}.code-display,.code-tab{border:1px solid #e0e0e0;padding:20px}.code-display{background:#f8f9fa;border-radius:6px;max-height:600px;overflow-x:auto;overflow-y:auto}.code-display code{color:#212529;font-family:Monaco,Menlo,Consolas,monospace;font-size:13px;line-height:1.5}*{box-sizing:border-box}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f6f8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.app{display:flex;flex-direction:column;min-height:100vh}.app-header{background:#fff;border-bottom:1px solid #e0e0e0;box-shadow:0 2px 4px #0000000d}.header-content{justify-content:space-between;margin:0 auto;max-width:1400px;padding:15px 20px}.header-content,.logo{align-items:center;display:flex}.logo{color:#1a1a1a;cursor:pointer;font-size:24px;font-weight:700;gap:10px;margin:0}.logo-icon{font-size:28px}.nav{display:flex;gap:30px}.nav-link{color:#495057;font-size:16px;font-weight:500;text-decoration:none;transition:color .2s ease}.nav-link:hover{color:#007bff}.app-main{flex:1 1;padding:20px 0}.app-footer{background:#fff;border-top:1px solid #e0e0e0;color:#6c757d;font-size:14px;padding:20px;text-align:center}.app-footer p{margin:0}.btn-danger,.btn-link,.btn-primary,.btn-secondary,.btn-success{border:none;cursor:pointer;font-family:inherit;font-weight:500;transition:all .2s ease}.btn-primary{background:#007bff;border-radius:6px;color:#fff;font-size:14px;padding:10px 20px}.btn-primary:hover{background:#0056b3}.btn-primary:disabled{background:#6c757d;cursor:not-allowed}.btn-success{background:#28a745;border-radius:6px;color:#fff;font-size:14px;padding:10px 20px}.btn-success:hover{background:#218838}.btn-success:disabled{background:#6c757d;cursor:not-allowed}.btn-danger{background:#dc3545;border-radius:6px;color:#fff;font-size:14px;padding:10px 20px}.btn-danger:hover{background:#c82333}.btn-secondary{background:#6c757d;border-radius:6px;color:#fff;font-size:14px;padding:10px 20px}.btn-secondary:hover{background:#5a6268}.btn-link{background:#0000;border-radius:6px;color:#007bff;font-size:14px;padding:10px 20px}.btn-link:hover{background:#f8f9fa}.status-badge{border-radius:12px;font-size:12px;font-weight:500;padding:4px 12px;text-transform:uppercase}.status-running{background:#d4edda;color:#155724}.status-stopped{background:#f8d7da;color:#721c24}.status-error{background:#f5c6cb;color:#721c24}.status-draft{background:#e2e3e5;color:#383d41}.error,.loading{font-size:16px;padding:40px;text-align:center}.error{color:#dc3545}.positive{color:#28a745}.negative{color:#dc3545}
/*# sourceMappingURL=main.6aa37f03.css.map*/