@import url(https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap);body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}.navbar{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fff;border-bottom:1px solid #e1e8ed;box-shadow:0 1px 3px #0000000d;position:-webkit-sticky;position:sticky;top:0;z-index:1000}.navbar-container{align-items:center;display:flex;justify-content:space-between;margin:0 auto;max-width:1400px;padding:1rem 2rem}.navbar-brand h1{color:#2d3436;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:1.5rem;font-weight:700;margin:0}.navbar-subtitle{color:#636e72;font-size:.875rem;font-weight:400;margin-left:1rem}.navbar-nav{align-items:center;display:flex;gap:.5rem}.nav-btn{background:#0000;border:none;border-radius:8px;color:#636e72;cursor:pointer;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.9375rem;font-weight:500;padding:.625rem 1.25rem;text-decoration:none;transition:all .2s ease}.nav-btn.active,.nav-btn:hover{background:#f5f3ff;color:#6c5ce7}.nav-btn.active{font-weight:600}@media (max-width:768px){.navbar-container{flex-direction:column;gap:1rem;padding:1rem}.navbar-subtitle{display:block;margin-left:0;margin-top:.25rem}.navbar-nav{justify-content:center;width:100%}.nav-btn{font-size:.875rem;padding:.5rem 1rem}}.layout{background:#f5f7fa;display:flex;flex-direction:column;min-height:100vh}.layout-content{flex:1 1;margin:0 auto;max-width:1400px;padding:2rem;width:100%}@media (max-width:768px){.layout-content{padding:1rem}}.toast{align-items:center;animation:slideInRight .3s ease,fadeIn .3s ease;border-radius:8px;box-shadow:0 4px 12px #00000026;display:flex;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;gap:.75rem;margin-bottom:.75rem;max-width:500px;min-width:300px;padding:1rem 1.25rem}@keyframes slideInRight{0%{opacity:0;transform:translateX(100%)}to{opacity:1;transform:translateX(0)}}.toast-icon{align-items:center;display:flex;flex-shrink:0;font-size:1.25rem;font-weight:700;height:24px;justify-content:center;width:24px}.toast-message{flex:1 1;font-size:.9375rem;line-height:1.4}.toast-close{align-items:center;background:none;border:none;color:inherit;cursor:pointer;display:flex;flex-shrink:0;font-size:1.5rem;height:24px;justify-content:center;line-height:1;opacity:.7;padding:0;transition:opacity .2s ease;width:24px}.toast-close:hover{opacity:1}.toast-success{background:#d4edda;border-left:4px solid #28a745;color:#155724}.toast-success .toast-icon{color:#28a745}.toast-error{background:#f8d7da;border-left:4px solid #dc3545;color:#721c24}.toast-error .toast-icon{color:#dc3545}.toast-warning{background:#fff3cd;border-left:4px solid #ffc107;color:#856404}.toast-warning .toast-icon{color:#ffc107}.toast-info{background:#d1ecf1;border-left:4px solid #17a2b8;color:#0c5460}.toast-info .toast-icon{color:#17a2b8}@media (max-width:768px){.toast{max-width:calc(100vw - 2rem);min-width:280px;padding:.875rem 1rem}.toast-message{font-size:.875rem}}.toast-container{align-items:flex-end;display:flex;flex-direction:column;pointer-events:none;position:fixed;right:1rem;top:1rem;z-index:10000}.toast-container>*{pointer-events:auto}@media (max-width:768px){.toast-container{align-items:stretch;left:1rem;right:1rem;top:1rem}}.dropdown-container{display:flex;flex-direction:column;margin-bottom:15px}.dropdown-label{color:#333;font-size:14px;font-weight:600;margin-bottom:5px}.dropdown-select{background-color:#fff;border:1px solid #ddd;border-radius:4px;cursor:pointer;font-size:14px;padding:10px 12px;transition:border-color .2s}.dropdown-select:hover{border-color:#999}.dropdown-select:focus{border-color:#06c;outline:none}.dropdown-select:disabled{background-color:#f5f5f5;cursor:not-allowed}.btn{border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:600;padding:10px 20px;transition:all .2s}.btn-primary{background-color:#06c;color:#fff}.btn-primary:hover:not(:disabled){background-color:#0052a3}.btn-secondary{background-color:#6c757d;color:#fff}.btn-secondary:hover:not(:disabled){background-color:#5a6268}.btn:disabled{background-color:#ccc;cursor:not-allowed}.btn.loading{opacity:.7}.confirm-dialog-overlay{align-items:center;animation:fadeIn .2s ease;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9999}.confirm-dialog{animation:slideUp .2s ease;background:#fff;border-radius:12px;box-shadow:0 8px 32px #0003;max-width:500px;width:90%}.confirm-dialog-header{border-bottom:1px solid #e1e8ed;border-radius:12px 12px 0 0;padding:1.5rem}.confirm-dialog-header.danger{background:#fff5f5;border-bottom-color:#feb2b2}.confirm-dialog-header.warning{background:#fffaf0;border-bottom-color:#fbd38d}.confirm-dialog-header.info{background:#f0f9ff;border-bottom-color:#bfdbfe}.confirm-dialog-header h3{color:#2d3436;font-size:1.25rem;font-weight:600;margin:0}.confirm-dialog-body{padding:1.5rem}.confirm-dialog-body p{color:#636e72;font-size:.9375rem;line-height:1.6;margin:0}.confirm-dialog-footer{border-top:1px solid #e1e8ed;display:flex;gap:.75rem;justify-content:flex-end;padding:1rem 1.5rem}.dialog-btn{border:none;border-radius:8px;cursor:pointer;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.9375rem;font-weight:500;padding:.625rem 1.5rem;transition:all .2s ease}.cancel-btn{background:#f5f7fa;color:#636e72}.cancel-btn:hover{background:#e1e8ed}.confirm-btn{color:#fff}.confirm-btn.danger{background:#ff6b6b}.confirm-btn.danger:hover{background:#ee5a52}.confirm-btn.warning{background:#f59e0b}.confirm-btn.warning:hover{background:#d97706}.confirm-btn.info{background:#6c5ce7}.confirm-btn.info:hover{background:#5b4cdb}@media (max-width:768px){.confirm-dialog{max-width:90%}.confirm-dialog-body,.confirm-dialog-header{padding:1.25rem}.confirm-dialog-footer{flex-direction:column-reverse;padding:.75rem 1.25rem}.dialog-btn{width:100%}}.fullscreen-wrapper{background:#fff;bottom:0;left:0;overflow-y:auto;padding:20px;position:fixed;right:0;top:0;z-index:9999}.chart-header{margin-bottom:20px}.chart-header h3{color:#2d3748;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:18px;font-weight:600;margin:0}.no-data{height:400px}.expand-button,.no-data{align-items:center;display:flex;justify-content:center}.expand-button{background:#6c5ce7;border:none;border-radius:6px;box-shadow:0 2px 4px #6c5ce733;color:#fff;cursor:pointer;font-size:18px;height:36px;transition:all .2s ease;width:36px}.expand-button:hover{background:#5a4cd9;box-shadow:0 4px 8px #6c5ce74d;transform:translateY(-1px)}.expand-button:active{background:#4a3dc0}.history-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:24px}.history-header h3{color:#2d3748;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:18px;font-weight:600;margin:0}.backtest-results{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:20px}.backtest-results h3{color:#333;font-size:20px;margin-bottom:20px;margin-top:0}.no-results{background-color:#f7fafc;border-radius:8px;color:#718096;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;margin:20px 0;padding:60px 40px;text-align:center}.metrics-grid{margin-bottom:30px}.metric-label{color:#666;font-size:12px}.metric-value{color:#333}.table-wrapper{-webkit-overflow-scrolling:touch;overflow-x:auto}.trades-table{border-collapse:collapse;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;min-width:1000px;width:100%}.trades-table td,.trades-table th{border-bottom:1px solid #e5e7eb;font-size:13px;padding:12px;text-align:left}.trades-table th{background:#0000;border-bottom:2px solid #e5e7eb;color:#6b7280;font-size:11px;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.trades-table tbody tr{transition:background-color .1s ease}.trades-table tbody tr:hover{background-color:#f9fafb}.profit{color:#10b981}.loss,.profit{font-weight:600}.loss{color:#ef4444}.ml-approved{color:#10b981;font-weight:600}.ml-rejected{color:#ef4444;font-weight:600}.results-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.results-header h3{margin:0}.export-button{background-color:#6c5ce7;border:none;border-radius:8px;box-shadow:0 2px 4px #6c5ce733;color:#fff;cursor:pointer;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;font-weight:500;padding:10px 24px;transition:all .2s ease}.export-button:hover{background-color:#5a4cd9;box-shadow:0 4px 8px #6c5ce74d;transform:translateY(-1px)}.pagination{gap:8px;margin-top:24px}.page-button{border:1px solid #e2e8f0;border-radius:6px;color:#4a5568;font-weight:500;min-width:40px;padding:8px 14px;transition:all .2s ease}.page-button:hover:not(:disabled){background-color:#f7fafc;color:#6c5ce7;transform:translateY(-1px)}.page-button.active{box-shadow:0 2px 4px #6c5ce733}.page-button:disabled{background-color:#f7fafc;opacity:.4}.analysis-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:32px}.analysis-header h3{color:#2d3748;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:18px;font-weight:600;margin:0}.ml-indicator{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:20px;box-shadow:0 2px 8px #667eea4d;display:flex;gap:8px;padding:8px 16px}.ml-icon{font-size:18px}.ml-text{color:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:13px;font-weight:600;letter-spacing:.3px}.analysis-section{margin-bottom:40px}.analysis-section h4{border-bottom:2px solid #e5e7eb;color:#2d3748;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;font-weight:600;margin-bottom:20px;padding-bottom:10px}.metrics-grid{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:20px}.metric-card{background:#f8f9fa;border-radius:6px;padding:15px;text-align:center}.metric-card.ml-card{background:linear-gradient(135deg,#f5f3ff,#ede9fe);border-left:3px solid #6c5ce7}.metric-label{color:#6b7280;font-size:11px;letter-spacing:.5px;margin-bottom:8px;text-transform:uppercase}.metric-label,.metric-value{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.metric-value{color:#2d3748;font-size:24px;font-weight:700}.metric-value.success{color:#26a69a}.metric-value.error{color:#ef5350}.metric-note{color:#999;font-size:11px;font-style:italic;margin-top:5px}.pattern-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.pattern-card{background:#f8f9fa;border-left:4px solid #06c;border-radius:8px;padding:20px}.pattern-title{color:#333;font-size:16px;font-weight:600;margin-bottom:5px}.pattern-subtitle{color:#666;font-size:12px;margin-bottom:15px}.pattern-stats{display:flex;flex-direction:column;gap:10px}.stat-item{border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;padding:8px 0}.stat-item:last-child{border-bottom:none}.stat-label{color:#666;font-size:13px}.stat-value{color:#333;font-size:14px;font-weight:600}.stat-value.success{color:#26a69a}.stat-value.error{color:#ef5350}.table-container{overflow-x:auto}.analysis-table{background:#fff;border-collapse:collapse;width:100%}.analysis-table td,.analysis-table th{border-bottom:1px solid #e5e7eb;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;padding:12px;text-align:left}.analysis-table th{background:#0000;border-bottom:2px solid #e5e7eb;color:#6b7280;font-size:11px;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.analysis-table td{color:#2d3748;font-size:13px}.analysis-table tbody tr:hover{background-color:#f9fafb}.direction-buy{color:#10b981;font-weight:600}.direction-sell{color:#ef4444;font-weight:600}.analysis-table .success{color:#26a69a;font-weight:600}.analysis-table .error{color:#ef5350;font-weight:600}.insights-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:32px}.insights-header h3{color:#2d3748;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:18px;font-weight:600;margin:0}.loading-state{padding:60px 20px;text-align:center}.spinner{animation:spin 1s linear infinite;border:4px solid #f3f3f3;border-top-color:#06c;height:50px;margin:0 auto 20px;width:50px}.loading-state p{color:#718096;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;margin:10px 0}.loading-note{color:#999!important;font-size:14px!important;font-style:italic}.error-state{background:#fff3f3;border:1px solid #ffcdd2;border-radius:6px;padding:20px;text-align:center}.error-state h4{color:#d32f2f;margin-top:0}.error-state p{color:#666;margin-bottom:20px}.retry-button{background-color:#ef5350;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;padding:10px 20px;transition:background-color .3s}.retry-button:hover{background-color:#d32f2f}.insights-content{max-width:none}.insights-text{color:#2d3748;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.8}.insights-text p{margin:10px 0}.insight-section-title{border-bottom:2px solid #e5e7eb;color:#2d3748;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;font-weight:600;margin:30px 0 15px;padding-bottom:10px}.numbered-item{color:#333;font-weight:500;margin-left:20px}.bullet-item{color:#555;margin-left:40px}.bullet-item:before{color:#06c;content:"• ";font-weight:700;margin-right:5px}.bold-text{color:#333;font-weight:600;margin:15px 0 10px}.line-break{height:10px}.no-data{color:#718096;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;padding:60px 40px;text-align:center}.load-backtest-page{max-width:100%}.backtest-selector-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;margin-bottom:2rem;padding:2rem}.selector-content{display:flex;flex-direction:column;gap:1.5rem}.action-buttons{align-items:center;display:flex;gap:1rem}.delete-btn{background:#ff6b6b!important;color:#fff!important}.delete-btn:hover:not(:disabled){background:#ee5a52!important}.edit-name-container{display:flex;flex-direction:column;gap:.5rem}.edit-name-container label{color:#2d3436;font-size:.9375rem;font-weight:500}.edit-name-input{border:1px solid #e1e8ed;border-radius:8px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.9375rem;padding:.75rem;transition:all .2s ease}.edit-name-input:focus{border-color:#6c5ce7;box-shadow:0 0 0 3px #6c5ce71a;outline:none}@media (max-width:768px){.page-header h2{font-size:1.5rem}.backtest-selector-card{padding:1.5rem}.action-buttons{flex-direction:column;width:100%}.action-buttons button{width:100%}.results-tabs-header{flex-wrap:wrap;padding:.75rem}.results-tab-button{font-size:.875rem;padding:.5rem 1rem}.results-tab-content{padding:1rem}}.result-modal-overlay{align-items:center;animation:fadeIn .2s ease;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9999}.result-modal{animation:slideUp .2s ease;background:#fff;border-radius:12px;box-shadow:0 8px 32px #0003;max-height:90vh;max-width:800px;overflow-y:auto;width:90%}.result-modal-header{align-items:center;border-bottom:1px solid #e1e8ed;border-radius:12px 12px 0 0;display:flex;justify-content:space-between;padding:1.5rem}.result-modal-header.success{background:#f0fdf4;border-bottom-color:#86efac}.result-modal-header.error{background:#fff5f5;border-bottom-color:#feb2b2}.result-modal-header.warning{background:#fffaf0;border-bottom-color:#fbd38d}.result-modal-header h3{color:#2d3436;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:1.25rem;font-weight:600;margin:0}.close-btn{align-items:center;background:none;border:none;border-radius:50%;color:#636e72;cursor:pointer;display:flex;font-size:1.5rem;height:32px;justify-content:center;padding:0;transition:all .2s;width:32px}.close-btn:hover{background:#0000000d;color:#2d3436}.result-modal-body{padding:1.5rem}.result-modal-footer{border-top:1px solid #e1e8ed;display:flex;justify-content:flex-end;padding:1rem 1.5rem}.modal-btn{border:none;border-radius:8px;color:#fff;cursor:pointer;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.9375rem;font-weight:500;padding:.625rem 1.5rem;transition:all .2s ease}.modal-btn.success{background:#10b981}.modal-btn.success:hover{background:#059669}.modal-btn.error{background:#ef4444}.modal-btn.error:hover{background:#dc2626}.modal-btn.warning{background:#f59e0b}.modal-btn.warning:hover{background:#d97706}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media (max-width:768px){.result-modal{max-width:90%}.result-modal-body,.result-modal-header{padding:1.25rem}.result-modal-footer{padding:.75rem 1.25rem}}.run-backtest-page{max-width:100%}.backtest-config-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;margin-bottom:2rem;padding:2rem}.ml-checkbox-container{background:linear-gradient(135deg,#f5f3ff,#ede9fe);border:1px solid #e5deff;border-radius:8px;margin-bottom:1.5rem;padding:1rem}.strategy-section-header{border-bottom:2px solid #6c5ce7;margin-bottom:1rem;padding-bottom:.75rem}.strategy-section-header h3{color:#6c5ce7;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:1.125rem;font-weight:600;margin:0 0 .25rem}.strategy-section-header p{color:#636e72;font-size:.8125rem;font-style:italic;margin:0}.checkbox-label{align-items:flex-start;cursor:pointer;display:flex;gap:.75rem;-webkit-user-select:none;user-select:none}.ml-checkbox{accent-color:#6c5ce7;cursor:pointer;flex-shrink:0;height:20px;margin-top:2px;width:20px}.checkbox-text{color:#2d3436;display:flex;flex-direction:column;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.9375rem;font-weight:500;gap:.25rem}.checkbox-description{color:#6c5ce7;font-size:.8125rem;font-style:italic;font-weight:400}.results-section{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;overflow:hidden}.results-tabs-header{background:#f5f7fa;border-bottom:1px solid #e1e8ed;display:flex;gap:.5rem;padding:1rem}.results-tab-button{background:#0000;border:none;border-radius:8px;color:#636e72;cursor:pointer;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.9375rem;font-weight:500;padding:.625rem 1.25rem;transition:all .2s ease}.results-tab-button:hover{background:#6c5ce71a;color:#6c5ce7}.results-tab-button.active{background:#fff;box-shadow:0 2px 4px #0000000d;color:#6c5ce7;font-weight:600}.results-tab-content{padding:2rem}@media (max-width:768px){.page-header h2{font-size:1.5rem}.backtest-config-card{padding:1.5rem}.form-grid{gap:1rem;grid-template-columns:1fr}.results-tabs-header{flex-wrap:wrap;padding:.75rem}.results-tab-button{font-size:.875rem;padding:.5rem 1rem}.results-tab-content{padding:1rem}}.backtest-summary{display:flex;flex-direction:column;gap:1.5rem}.ml-status-section{margin-top:.5rem}.ml-status-card{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border:1px solid #bae6fd;border-radius:8px;padding:1rem;text-align:center}.ml-status-card .summary-label{color:#0369a1}.ml-status-card .summary-value{color:#0c4a6e;font-size:1rem;text-transform:capitalize}.ml-warning-box{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #fbbf24;border-radius:8px;color:#92400e;font-size:.875rem;line-height:1.6;padding:1rem 1.25rem}.ml-warning-box strong{color:#78350f;display:block;font-size:.9375rem;margin-bottom:.5rem}@media (max-width:768px){.summary-cards-grid{grid-template-columns:repeat(2,1fr)}.summary-value{font-size:1.5rem}}.fetch-data-page{max-width:100%}.fetch-data-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;padding:2rem}.fetch-data-card,.form-grid{margin-bottom:2rem}.date-input-container{display:flex;flex-direction:column;gap:.5rem}.date-input-container label{color:#2d3436;font-size:.9375rem;font-weight:500}.date-input{border:1px solid #e1e8ed;border-radius:8px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.9375rem;padding:.75rem;transition:all .2s ease}.date-input:focus{border-color:#6c5ce7;box-shadow:0 0 0 3px #6c5ce71a;outline:none}.fetch-data-summary{display:flex;flex-direction:column;gap:1rem}.summary-cards-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.summary-card{align-items:center;background:linear-gradient(135deg,#fff,#f8f9fa);border:1px solid #e1e8ed;border-radius:8px;display:flex;flex-direction:column;padding:1.25rem 1rem;text-align:center;transition:all .2s ease}.summary-card:hover{box-shadow:0 4px 12px #00000014;transform:translateY(-2px)}.summary-label{color:#636e72;font-size:.8125rem;font-weight:500;letter-spacing:.5px;margin-bottom:.5rem;text-transform:uppercase}.summary-label,.summary-value{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.summary-value{color:#2d3436;font-size:1.75rem;font-weight:700;line-height:1}.summary-value.success-text{color:#10b981}.summary-value.error-text{color:#ef4444}.candles-table-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;margin-top:2rem;padding:2rem}.candles-table-card h3{color:#2d3436;font-size:1.25rem;font-weight:600;margin:0 0 1.5rem}.candles-table{border-collapse:collapse;width:100%}.candles-table td,.candles-table th{border-bottom:1px solid #e1e8ed;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;padding:12px;text-align:left}.candles-table th{color:#636e72;font-size:.875rem;font-weight:600}.candles-table tbody tr:hover,.candles-table th{background:#f8f9fa}.loading-text{color:#636e72;font-size:.9375rem;padding:2rem;text-align:center}.pagination{align-items:center;display:flex;gap:5px;justify-content:center;margin-top:20px;padding:20px 0}.pagination-ellipsis{color:#636e72;-webkit-user-select:none;user-select:none}.page-button,.pagination-ellipsis{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;padding:8px 12px}.page-button{background-color:#fff;border:1px solid #e1e8ed;border-radius:4px;color:#2d3436;cursor:pointer;transition:all .3s}.page-button.active,.page-button:hover:not(:disabled){background-color:#6c5ce7;border-color:#6c5ce7;color:#fff}.page-button.active{font-weight:600}.page-button:disabled{background-color:#f5f7fa;border-color:#e1e8ed;color:#b2bec3;cursor:not-allowed}@media (max-width:768px){.page-header h2{font-size:1.5rem}.fetch-data-card{padding:1.5rem}.form-grid{gap:1rem}.form-grid,.summary-cards-grid{grid-template-columns:1fr}.summary-value{font-size:1.5rem}.candles-table-card{overflow-x:auto;padding:1.5rem}.candles-table{font-size:.8125rem}.candles-table td,.candles-table th{padding:8px}}.trade-modal-overlay{align-items:center;background:#0009;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.trade-modal{background:#fff;border-radius:12px;box-shadow:0 8px 32px #0003;max-height:90vh;max-width:500px;overflow-y:auto;width:90%}.trade-modal-header{align-items:center;border-bottom:1px solid #e1e8ed;display:flex;justify-content:space-between;padding:1.5rem 2rem}.trade-modal-header h2{color:#2d3436;font-size:1.5rem;font-weight:600;margin:0}.close-button{align-items:center;background:none;border:none;border-radius:6px;color:#636e72;cursor:pointer;display:flex;font-size:1.5rem;height:32px;justify-content:center;padding:0;transition:all .2s ease;width:32px}.close-button:hover{background:#f5f6fa;color:#2d3436}.trade-modal-body{display:flex;flex-direction:column;gap:1.25rem;padding:2rem}.trade-modal-footer{border-top:1px solid #e1e8ed;display:flex;gap:1rem;justify-content:flex-end;padding:1.5rem 2rem}.trade-modal-footer button{min-width:100px}.trade-details-card{background:#f8f9fa;border:1px solid #e1e8ed;border-radius:8px;margin:.5rem 0;padding:1rem}.trade-details-card h4{color:#2d3436;font-size:.9375rem;font-weight:600;letter-spacing:.5px;margin:0 0 .75rem;text-transform:uppercase}.trade-detail-row{align-items:center;border-bottom:1px solid #e1e8ed;display:flex;justify-content:space-between;padding:.5rem 0}.trade-detail-row:last-child{border-bottom:none}.detail-label{color:#636e72;font-size:.875rem;font-weight:500}.detail-value{color:#2d3436;font-size:.875rem;font-weight:600}.detail-value.direction-long{color:#27ae60}.detail-value.direction-short{color:#e74c3c}@media (max-width:768px){.trade-modal{max-height:95vh;width:95%}.trade-modal-body,.trade-modal-footer,.trade-modal-header{padding:1rem 1.5rem}.trade-modal-header h2{font-size:1.25rem}}.console-log{background-color:#1e1e1e;border:1px solid #333;border-radius:8px;display:flex;flex-direction:column;font-family:Courier New,Courier,monospace;height:100%;max-height:100%;overflow:hidden}.console-header{align-items:center;background-color:#252526;border-bottom:1px solid #3e3e42;display:flex;justify-content:space-between;padding:12px 16px}.console-header h3{color:#fff;font-size:16px;font-weight:600;margin:0}.console-header-right{align-items:center;display:flex;gap:12px}.log-count{border-radius:12px;color:#858585;padding:4px 10px}.clear-button,.log-count{background-color:#3e3e42;font-size:12px}.clear-button{border:1px solid #555;border-radius:4px;color:#ccc;cursor:pointer;font-family:Courier New,Courier,monospace;font-weight:600;padding:4px 12px;transition:all .2s ease}.clear-button:hover{background-color:#4e4e4e;border-color:#666;color:#fff}.clear-button:active{background-color:#2e2e2e}.console-content{background-color:#1e1e1e;flex:1 1;min-height:0;overflow-x:hidden;overflow-y:auto;padding:8px}.no-logs{align-items:center;color:#666;display:flex;height:100%;justify-content:center;padding:20px;text-align:center}.logs-list{display:flex;flex-direction:column;gap:2px}.log-entry{animation:slideIn .2s ease;border-left:3px solid #0000;display:flex;font-size:13px;gap:8px;line-height:1.5;padding:6px 12px;transition:background-color .2s ease}@keyframes slideIn{0%{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:translateX(0)}}.log-entry:hover{background-color:#2a2a2a}.log-time{color:#858585;flex-shrink:0;min-width:80px}.log-level{flex-shrink:0;font-weight:600;min-width:120px}.log-message{color:#d4d4d4;flex:1 1;word-break:break-word}.log-info{border-left-color:#4ec9b0}.log-info .log-level{color:#4ec9b0}.log-warning{background-color:#2a2a1f;border-left-color:#dcdcaa}.log-warning .log-level{color:#dcdcaa}.log-error{background-color:#2a1f1f;border-left-color:#f48771}.log-error .log-level{color:#f48771}.log-debug{border-left-color:#569cd6}.log-debug .log-level{color:#569cd6}.log-default{border-left-color:#666}.log-default .log-level{color:#999}.log-exception{background-color:#2a1f1f;border-left:3px solid #f48771;border-radius:4px;margin-top:8px;padding:8px}.log-exception details{cursor:pointer}.log-exception summary{color:#f48771;font-weight:600;margin-bottom:8px}.log-exception pre{word-wrap:break-word;background-color:#1e1e1e;border-radius:4px;color:#d4d4d4;font-size:12px;margin:0;overflow-x:auto;padding:8px;white-space:pre-wrap}.console-content::-webkit-scrollbar{width:8px}.console-content::-webkit-scrollbar-track{background:#1e1e1e}.console-content::-webkit-scrollbar-thumb{background:#424242;border-radius:4px}.console-content::-webkit-scrollbar-thumb:hover{background:#4e4e4e}@media (max-width:1024px){.console-header{padding:10px 14px}.console-header h3{font-size:15px}.log-entry{font-size:12px;padding:5px 10px}.log-time{min-width:70px}.log-level{min-width:100px}}@media (max-width:768px){.console-header{align-items:flex-start;flex-direction:column;gap:8px;padding:12px}.console-header-right{justify-content:space-between;width:100%}.console-header h3{font-size:14px}.log-count{font-size:11px;padding:3px 8px}.clear-button{font-size:11px;padding:3px 10px}.console-content{padding:6px}.log-entry{flex-direction:column;font-size:11px;gap:4px;padding:8px 10px}.log-time{font-size:10px}.log-level,.log-time{min-width:0;min-width:auto}.log-level{font-size:11px}.log-message{font-size:12px;padding-left:0}.log-exception{margin-top:6px;padding:6px}.log-exception pre{font-size:10px;padding:6px}}@media (max-width:480px){.console-header{padding:10px}.console-header h3{font-size:13px}.log-count{font-size:10px;padding:2px 6px}.clear-button{font-size:10px;padding:3px 8px}.console-content{padding:4px}.log-entry{font-size:10px;padding:6px 8px}.log-time{font-size:9px}.log-level{font-size:10px}.log-message{font-size:11px}.log-exception pre{font-size:9px;padding:4px}}.manual-trading-page{max-width:100%}.page-header h2{color:#2d3436;font-size:1.75rem;font-weight:700;margin:0 0 .5rem}.page-description{font-size:.9375rem}.trade-actions-toolbar{display:flex;gap:1rem;justify-content:center;margin-bottom:2rem}.trade-actions-toolbar button{min-width:120px}.trading-form-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;padding:2rem}.trading-form-card h3{color:#2d3436;font-size:1.25rem;font-weight:600;margin:0 0 1.5rem}.form-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:1rem}.trade-action-button{margin-top:1rem;width:100%}.input-container{display:flex;flex-direction:column;gap:.5rem}.input-container label{color:#2d3436;font-size:.9375rem;font-weight:500}.number-input{border:1px solid #e1e8ed;border-radius:8px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.9375rem;padding:.75rem;transition:all .2s ease}.number-input:focus{border-color:#6c5ce7;box-shadow:0 0 0 3px #6c5ce71a;outline:none}.button-group{display:flex;gap:1rem;margin-bottom:1rem}.button-group>*{flex:1 1}.active-trade-banner{background:linear-gradient(135deg,#d4edda,#c3e6cb);border:1px solid #28a745;border-radius:8px;color:#155724;font-weight:600}.active-trade-banner,.info-banner{font-size:.875rem;margin-top:1rem;padding:1rem;text-align:center}.info-banner{background:linear-gradient(135deg,#e3f2fd,#bbdefb);border:1px solid #2196f3;border-radius:8px;color:#0d47a1;font-weight:500}.chart-card{background:#fff;border-radius:12px;box-shadow:0 2px 12px #00000014;overflow:hidden;padding:0}.chart-header{align-items:center;background:linear-gradient(135deg,#f8f9fa,#fff);border-bottom:1px solid #e1e8ed;display:flex;justify-content:space-between;padding:1.5rem 2rem}.chart-header-left{align-items:center;display:flex;gap:1.5rem}.chart-header-left h3{color:#2d3436;font-size:1.25rem;font-weight:600;margin:0}.active-trade-badge{align-items:center;background:linear-gradient(135deg,#d4edda,#c3e6cb);border:1px solid #28a745;border-radius:20px;box-shadow:0 2px 4px #28a74526;display:flex;gap:.75rem;padding:.5rem 1rem}.trade-badge-indicator{animation:pulse 2s ease-in-out infinite;background:#28a745;border-radius:50%;height:8px;width:8px}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.2)}}.trade-badge-content{display:flex;flex-direction:column;gap:.125rem}.trade-badge-label{color:#155724;font-size:.6875rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.trade-badge-details{color:#1e7e34;font-size:.75rem;font-weight:500}.chart-header-right{align-items:center;display:flex}.trade-actions{display:flex;gap:.5rem}.trade-action-btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:flex;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.875rem;font-weight:600;justify-content:center;letter-spacing:.5px;min-width:80px;overflow:hidden;padding:.625rem 1.5rem;position:relative;text-transform:uppercase;transition:all .2s ease}.trade-action-btn:before{background:linear-gradient(135deg,#fff3,#fff0);bottom:0;content:"";left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .2s ease}.trade-action-btn:hover:before{opacity:1}.trade-action-buy{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 2px 8px #10b9814d;color:#fff}.trade-action-buy:hover:not(.disabled){box-shadow:0 4px 12px #10b98166;transform:translateY(-2px)}.trade-action-sell{background:linear-gradient(135deg,#ef4444,#dc2626);box-shadow:0 2px 8px #ef44444d;color:#fff}.trade-action-sell:hover:not(.disabled){box-shadow:0 4px 12px #ef444466;transform:translateY(-2px)}.trade-action-exit{background:linear-gradient(135deg,#6366f1,#4f46e5);box-shadow:0 2px 8px #6366f14d;color:#fff}.trade-action-exit:hover:not(.disabled){box-shadow:0 4px 12px #6366f166;transform:translateY(-2px)}.trade-action-btn.disabled{cursor:not-allowed;opacity:.5;transform:none}.chart-controls{align-items:center;background:#fafbfc;border-bottom:1px solid #e1e8ed;justify-content:space-between;padding:1.5rem 2rem}.chart-controls,.chart-controls-left{display:flex;gap:1rem}.pl-stats{align-items:center;display:flex;gap:1.5rem}.pl-stat-item{align-items:flex-end;background:#fff;border:1px solid #e1e8ed;border-radius:8px;box-shadow:0 1px 3px #0000000d;display:flex;flex-direction:column;gap:.25rem;min-width:120px;padding:.75rem 1.25rem}.pl-stat-item.losses{background:linear-gradient(135deg,#fff5f5,#fff);border:1.5px solid #ef4444;box-shadow:0 2px 6px #ef444426}.pl-stat-item.cumulative{background:linear-gradient(135deg,#f8f9fa,#fff);border:1.5px solid #6c5ce7;box-shadow:0 2px 6px #6c5ce726}.pl-stat-label{color:#636e72;font-size:.75rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.pl-stat-value{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,monospace;font-size:1.125rem;font-weight:700}.pl-stat-value.positive{color:#10b981}.pl-stat-value.negative{color:#ef4444}.tabs-container{margin-top:0}.tabs-header{background:#f9fafb;border-bottom:2px solid #e5e7eb;border-radius:8px 8px 0 0;display:flex;gap:4px;padding:0 16px}.tab-button{background:#0000;border:none;border-bottom:3px solid #0000;color:#6b7280;cursor:pointer;font-size:15px;font-weight:600;margin-bottom:-2px;padding:14px 24px;position:relative;transition:all .2s ease}.tab-button:hover{background:#6366f10d;color:#374151}.tab-button.active{background:#0000;border-bottom-color:#6366f1;color:#6366f1}.event-badge{background:#ef4444;border-radius:10px;color:#fff;display:inline-block;font-size:11px;font-weight:700;margin-left:8px;min-width:20px;padding:2px 8px;text-align:center}.tab-button.active .event-badge{background:#6366f1}.tabs-content{background:#fff;border-radius:0 0 8px 8px;overflow:hidden}.tab-panel{animation:fadeIn .3s ease;padding:0}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.chart-container{background:#fff;height:600px;width:100%}.tab-panel{margin:16px}.tab-panel>.console-log,.tab-panel>.trading-activity-log{height:600px}.success-message{color:#155724;padding:1rem}.success-message p{margin:.5rem 0}.error-message{background:linear-gradient(135deg,#fee2e2,#fecaca);border:1px solid #ef4444;border-radius:8px;color:#991b1b;font-size:.9375rem;line-height:1.6;padding:1.25rem}.kpi-section{background:#fafbfc;border-bottom:1px solid #e1e8ed;padding:1.5rem 2rem}.kpi-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));margin-bottom:1.5rem}.kpi-card{align-items:center;background:#fff;border:1px solid #e1e8ed;border-radius:8px;box-shadow:0 1px 3px #0000000d;display:flex;flex-direction:column;gap:.5rem;padding:1rem;transition:all .2s ease}.kpi-card:hover{box-shadow:0 4px 8px #0000001a;transform:translateY(-2px)}.kpi-card.highlight{background:linear-gradient(135deg,#f8f9fa,#fff);box-shadow:0 2px 6px #6c5ce726}.kpi-label{color:#636e72;font-size:.75rem;font-weight:600;letter-spacing:.5px;text-align:center;text-transform:uppercase}.kpi-value{color:#2d3436;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,monospace;font-size:1.375rem;font-weight:700}.kpi-value.positive{color:#10b981}.kpi-value.negative{color:#ef4444}.timeframe-stats-section{margin-top:1rem}.timeframe-stats-title{color:#2d3436;font-size:1rem;font-weight:600;letter-spacing:.5px;margin:0 0 1rem;text-transform:uppercase}.timeframe-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.timeframe-card{background:#fff;border:1px solid #e1e8ed;border-radius:8px;box-shadow:0 2px 4px #0000000d;overflow:hidden;transition:all .2s ease}.timeframe-card:hover{box-shadow:0 4px 8px #0000001a;transform:translateY(-2px)}.timeframe-header{background:linear-gradient(135deg,#6c5ce7,#5f4fd1);color:#fff;font-size:.875rem;font-weight:700;letter-spacing:.5px;padding:.75rem 1rem;text-align:center;text-transform:uppercase}.timeframe-header.manual{background:linear-gradient(135deg,#3b82f6,#2563eb)}.timeframe-header.ml{background:linear-gradient(135deg,#10b981,#059669)}.timeframe-stats{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:1fr 1fr;padding:1rem}.timeframe-stat{display:flex;flex-direction:column;gap:.25rem}.timeframe-stat-label{color:#636e72;font-size:.6875rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.timeframe-stat-value{color:#2d3436;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,monospace;font-size:1rem;font-weight:700}.timeframe-stat-value.positive{color:#10b981}.timeframe-stat-value.negative{color:#ef4444}.console-wrapper{background:#1e1e1e;border-radius:0 0 12px 12px;height:800px;overflow:hidden;padding:0}.console-wrapper .console-log{height:800px}@media (max-width:1024px){.console-wrapper,.console-wrapper .console-log{height:700px}}@media (max-width:768px){.page-header h2{font-size:1.5rem}.chart-header{flex-direction:column;gap:1rem;padding:1rem 1.5rem}.chart-header-left{align-items:flex-start;flex-direction:column;gap:.75rem;width:100%}.chart-header-right{width:100%}.trade-actions{justify-content:space-between;width:100%}.trade-action-btn{flex:1 1;min-width:0;min-width:auto}.active-trade-badge{justify-content:center;width:100%}.chart-controls{flex-direction:column;padding:1rem 1.5rem}.chart-controls-left{flex-direction:column;width:100%}.pl-stats{gap:.75rem;width:100%}.pl-stat-item{align-items:center;flex:1 1;min-width:0;min-width:auto;padding:.625rem 1rem}.pl-stat-label{font-size:.6875rem}.pl-stat-value{font-size:1rem}.chart-container{height:400px}.console-wrapper,.console-wrapper .console-log{height:600px}.trade-badge-details{font-size:.7rem}.kpi-section{padding:1rem 1.5rem}.kpi-grid{gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.kpi-card{padding:.75rem}.kpi-label{font-size:.6875rem}.kpi-value{font-size:1.125rem}.timeframe-grid{grid-template-columns:1fr}}.ml-prediction-buttons{border-left:1px solid #fff3;display:flex;gap:.5rem;margin-left:1rem;padding-left:1rem}.ml-prediction-btn{background:linear-gradient(135deg,#8b5cf6,#7c3aed);box-shadow:0 2px 8px #8b5cf64d;color:#fff}.ml-prediction-btn:hover:not(.disabled){box-shadow:0 4px 12px #8b5cf666;transform:translateY(-2px)}.ml-prediction-results{background:linear-gradient(135deg,#f8f9fa,#fff);border-bottom:1px solid #e1e8ed;display:flex;flex-wrap:wrap;gap:1rem;padding:1.5rem 2rem}.ml-prediction-card{background:#fff;border-radius:12px;box-shadow:0 4px 12px #00000014;flex:1 1;max-width:450px;min-width:320px;overflow:hidden;transition:all .2s ease}.ml-prediction-card:hover{box-shadow:0 6px 16px #0000001f;transform:translateY(-2px)}.ml-prediction-card.signal-enter{border:2px solid #10b981}.ml-prediction-card.signal-no{border:2px solid #6366f1}.ml-prediction-card.signal-exit{border:2px solid #ef4444}.ml-prediction-card.signal-hold{border:2px solid #10b981}.ml-prediction-card.signal-error{border:2px solid #ef4444}.ml-prediction-header{align-items:center;background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff;display:flex;justify-content:space-between;padding:1rem 1.25rem}.ml-prediction-card.signal-exit .ml-prediction-header,.ml-prediction-card.signal-hold .ml-prediction-header{background:linear-gradient(135deg,#f59e0b,#d97706)}.ml-prediction-card.signal-error .ml-prediction-header{background:linear-gradient(135deg,#ef4444,#dc2626)}.ml-prediction-header h4{font-size:.9375rem;font-weight:700;letter-spacing:.5px;margin:0;text-transform:uppercase}.ml-prediction-header .close-btn{align-items:center;background:#fff3;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:1.25rem;height:28px;justify-content:center;line-height:1;transition:all .2s ease;width:28px}.ml-prediction-header .close-btn:hover{background:#ffffff4d;transform:scale(1.1)}.ml-prediction-content{padding:1rem 1.25rem}.prediction-row{align-items:center;border-bottom:1px solid #f0f0f0;display:flex;justify-content:space-between;padding:.625rem 0}.prediction-row:last-child{border-bottom:none}.prediction-row.block-reason,.prediction-row.exit-reason{background:linear-gradient(135deg,#fef2f2,#fee2e2);border-bottom:none;margin:.5rem -1.25rem;padding:.75rem 1.25rem}.prediction-row .label{color:#636e72;font-size:.8125rem;font-weight:500}.prediction-row .value{color:#2d3436;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,monospace;font-size:.9375rem;font-weight:700}.prediction-row .value.positive{color:#10b981}.prediction-row .value.negative{color:#ef4444}.ml-prediction-error{background:linear-gradient(135deg,#fef2f2,#fee2e2);color:#991b1b;font-size:.9375rem;padding:1.25rem;text-align:center}@media (max-width:768px){.ml-prediction-buttons{border-left:none;margin-left:0;margin-top:.75rem;padding-left:0;width:100%}.ml-prediction-btn{flex:1 1}.ml-prediction-results{flex-direction:column;padding:1rem 1.5rem}.ml-prediction-card{max-width:100%}}@media (max-width:480px){.ml-prediction-results{padding:1rem}.ml-prediction-header{padding:.875rem 1rem}.ml-prediction-header h4{font-size:.8125rem}.ml-prediction-content{padding:.875rem 1rem}.prediction-row .label{font-size:.75rem}.prediction-row .value{font-size:.875rem}.page-header{margin-bottom:1.5rem}.page-header h2{font-size:1.375rem}.chart-card{border-radius:8px}.chart-header{padding:1rem}.chart-header-left h3{font-size:1.125rem}.trade-action-btn{font-size:.8125rem;padding:.5rem 1rem}.chart-controls{padding:1rem}.pl-stats{flex-wrap:wrap;gap:.5rem}.pl-stat-item{flex-basis:calc(50% - 0.25rem);flex-grow:1;flex-shrink:1;min-width:100px;padding:.5rem .75rem}.pl-stat-item.cumulative{flex:1 1 100%}.pl-stat-label{font-size:.625rem}.pl-stat-value{font-size:.9375rem}.console-wrapper,.console-wrapper .console-log{height:450px}.trade-badge-content{gap:.0625rem}.trade-badge-details,.trade-badge-label{font-size:.625rem}.active-trade-badge{gap:.5rem;padding:.375rem .75rem}.kpi-section{padding:1rem}.kpi-grid{gap:.5rem;grid-template-columns:repeat(2,1fr)}.kpi-card{padding:.625rem .5rem}.kpi-label{font-size:.625rem}.kpi-value{font-size:1rem}.timeframe-stats-title{font-size:.875rem}.timeframe-grid{gap:.75rem;grid-template-columns:1fr}.timeframe-header{font-size:.8125rem;padding:.625rem .875rem}.timeframe-stats{gap:.5rem;padding:.75rem}.timeframe-stat-label{font-size:.625rem}.timeframe-stat-value{font-size:.875rem}}.configuration-page{margin:0 auto;max-width:1400px;padding:2rem}.page-header{align-items:flex-start;display:flex;gap:2rem;justify-content:space-between;margin-bottom:2rem}.header-content h2{color:#2d3436;font-size:1.75rem;font-weight:600;margin:0 0 .5rem}.page-description{color:#636e72;font-size:.95rem;margin:0}.header-actions{display:flex;flex-shrink:0;gap:1rem}.loading-container{align-items:center;display:flex;flex-direction:column;gap:1rem;justify-content:center;min-height:400px}.spinner{animation:spin .8s linear infinite;border:4px solid #f3f4f6;border-radius:50%;border-top-color:#6c5ce7;height:40px;width:40px}@keyframes spin{to{transform:rotate(1turn)}}.config-categories{display:flex;flex-direction:column;gap:2rem}.config-category-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;padding:2rem;transition:all .2s ease}.config-category-card:hover{box-shadow:0 4px 12px #0000001f}.category-title{border-bottom:2px solid #6c5ce7;color:#2d3436;font-size:1.25rem;font-weight:600;margin:0 0 1.5rem;padding-bottom:1rem}.config-items{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(400px,1fr))}.config-item{background:linear-gradient(135deg,#fff,#f8f9fa);border:1px solid #e1e8ed;border-radius:8px;display:flex;flex-direction:column;gap:.75rem;padding:1.25rem;transition:all .2s ease}.config-item:hover{border-color:#6c5ce7;box-shadow:0 4px 8px #6c5ce71a;transform:translateY(-2px)}.config-item-header{align-items:center;display:flex;gap:1rem;justify-content:space-between}.config-label{color:#2d3436;flex:1 1;font-size:.95rem;font-weight:600}.config-type{background:#6c5ce7;border-radius:12px;color:#fff;font-size:.75rem;font-weight:500;letter-spacing:.5px;padding:.25rem .75rem;text-transform:uppercase}.config-description{color:#636e72;font-size:.85rem;line-height:1.5;margin:0}.config-input-wrapper{position:relative}.config-input{background:#fff;border:2px solid #e1e8ed;border-radius:6px;color:#2d3436;font-family:Inter,sans-serif;font-size:.95rem;padding:.75rem 1rem;transition:all .2s ease;width:100%}.config-input:focus{border-color:#6c5ce7;box-shadow:0 0 0 3px #6c5ce71a;outline:none}.config-input:hover:not(:focus){border-color:#b2bec3}.config-input.edited{background:#fffbeb;border-color:#fbbf24}.config-input.edited:focus{border-color:#fbbf24;box-shadow:0 0 0 3px #fbbf241a}select.config-input{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath fill='%232d3436' d='M6 9 1 4h10z'/%3E%3C/svg%3E");background-position:right 1rem center;background-repeat:no-repeat;cursor:pointer;padding-right:2.5rem}.config-meta{border-top:1px solid #e1e8ed;display:flex;flex-direction:column;gap:.25rem;padding-top:.5rem}.config-key{color:#636e72;font-family:Courier New,monospace;font-size:.75rem;word-break:break-all}.config-updated{color:#95a5a6;font-size:.75rem;font-style:italic}.text-muted{color:#636e72;font-size:.9rem;margin-top:.5rem}@media (max-width:1024px){.config-items{grid-template-columns:1fr}.page-header{align-items:flex-start;flex-direction:column}.header-actions{width:100%}}@media (max-width:768px){.configuration-page{padding:1rem}.config-category-card{padding:1.5rem}.header-actions{flex-direction:column}.config-items{gap:1rem}.config-item{padding:1rem}}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f7fa;color:#2d3436;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.App{background:#f5f7fa;min-height:100vh}button{cursor:pointer;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;transition:all .2s ease}button:disabled{cursor:not-allowed;opacity:.6}input,select,textarea{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar-track{background:#f5f7fa}::-webkit-scrollbar-thumb{background:#dfe6e9;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#b2bec3}
/*# sourceMappingURL=main.85033f23.css.map*/