.login-container{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%)}.login-box{background:white;padding:2rem 3rem;border-radius:10px;box-shadow:0 10px 25px #0003;width:100%;max-width:400px}.login-box h2{margin-bottom:1.5rem;color:#333;text-align:center}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;color:#555;font-weight:500}.form-group input{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:5px;font-size:1rem;box-sizing:border-box}.form-group input:focus{outline:none;border-color:#667eea}button{width:100%;padding:.75rem;background:#667eea;color:#fff;border:none;border-radius:5px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .3s}button:hover:not(:disabled){background:#5568d3}button:disabled{background:#ccc;cursor:not-allowed}.error-message{background:#fee;color:#c33;padding:.75rem;border-radius:5px;margin-bottom:1rem;border:1px solid #fcc}.strategy-controls{padding:1.5rem;background:white;border-radius:10px;margin-bottom:2rem;box-shadow:0 2px 4px #0000001a}.strategy-controls h2{margin:0 0 1rem;color:#333}.controls-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.control-group{display:flex;align-items:center;gap:1rem}.control-group label{font-weight:500;color:#333}.control-group select{padding:.5rem;border:1px solid #ddd;border-radius:5px;font-size:1rem}.status-indicator{display:flex;align-items:center}.status-badge{padding:.5rem 1rem;border-radius:20px;font-weight:600;font-size:.9rem}.status-badge.running{background:#d4edda;color:#155724}.status-badge.stopped{background:#f8d7da;color:#721c24}.button-group{display:flex;gap:1rem}.btn-start{flex:1;padding:.75rem;background:#28a745;color:#fff;border:none;border-radius:5px;font-size:1rem;font-weight:600;cursor:pointer}.btn-start:hover:not(:disabled){background:#218838}.btn-start:disabled{background:#ccc;cursor:not-allowed}.btn-stop{flex:1;padding:.75rem;background:#dc3545;color:#fff;border:none;border-radius:5px;font-size:1rem;font-weight:600;cursor:pointer}.btn-stop:hover:not(:disabled){background:#c82333}.btn-stop:disabled{background:#ccc;cursor:not-allowed}.expected-pnl{margin-top:1rem;padding:.75rem;background:#e7f3ff;border-radius:5px;font-weight:600;color:#004085}.position-display{padding:1.5rem;background:white;border-radius:10px;margin-bottom:2rem;box-shadow:0 2px 4px #0000001a}.position-display h2{margin:0 0 1rem;color:#333}.positions-container{display:flex;flex-direction:column;gap:1rem}.position-card{background:#f8f9fa;border-radius:8px;padding:1rem;box-shadow:0 1px 3px #0000000d}.exchange-label{font-size:.875rem;font-weight:700;color:#495057;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.75rem;padding-bottom:.5rem;border-bottom:2px solid #dee2e6}.no-position{padding:1rem;text-align:center;color:#666;font-style:italic}.position-info{padding:1rem;border-radius:5px}.position-info.long{background:#d4edda;border-left:4px solid #28a745}.position-info.short{background:#f8d7da;border-left:4px solid #dc3545}.position-row{display:flex;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid rgba(0,0,0,.1)}.position-row:last-child{border-bottom:none}.position-row .label{color:#666;font-weight:500}.position-row .value{color:#333;font-weight:600}.side-long{color:#28a745}.side-short{color:#dc3545}.profit{color:#28a745}.loss{color:#dc3545}.trade-log{padding:1.5rem;background:white;border-radius:10px;box-shadow:0 2px 4px #0000001a}.trade-log h2{margin:0 0 1rem;color:#333}.no-trades{padding:2rem;text-align:center;color:#666;font-style:italic}.trades-table{width:100%;border-collapse:collapse}.trades-table thead{background:#f8f9fa}.trades-table th{padding:.75rem;text-align:left;font-weight:600;color:#333;border-bottom:2px solid #dee2e6}.trades-table td{padding:.75rem;border-bottom:1px solid #dee2e6;color:#333}.trades-table tbody tr:hover{background:#f8f9fa}.trades-table tbody tr.open{background:#fff3cd}.side-long{color:#28a745;font-weight:600}.side-short{color:#dc3545;font-weight:600}.profit{color:#28a745;font-weight:600}.loss{color:#dc3545;font-weight:600}.moments-chart-container{width:100%;height:300px;margin:20px 0;padding:15px;background:white;border-radius:8px;border:1px solid #e0e0e0}.moments-chart-loading,.moments-chart-error,.moments-chart-empty{width:100%;height:300px;display:flex;align-items:center;justify-content:center;color:#666;font-size:14px;background:white;border-radius:8px;border:1px solid #e0e0e0}.moments-chart-error{color:#f44}.cross-scale-chart-container{width:100%;height:400px}.cross-scale-chart-empty{display:flex;align-items:center;justify-content:center;height:400px;color:#666;font-size:1rem}.dashboard{padding:2rem;max-width:1400px;margin:0 auto}.dashboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.dashboard-header h1{margin:0;color:#333}.header-actions{display:flex;gap:10px;align-items:center}.skew-diff-link{padding:.5rem 1rem;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;text-decoration:none;border-radius:5px;font-weight:500;transition:all .3s ease}.skew-diff-link:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.logout-btn{padding:.5rem 1rem;background:#dc3545;color:#fff;border:none;border-radius:5px;cursor:pointer}.price-display{text-align:center;margin-bottom:2rem;padding:1.5rem;background:#f8f9fa;border-radius:10px}.price-display h2{margin:0 0 1rem;color:#666;font-size:1rem}.price-value{font-size:3rem;font-weight:700;color:#333}.stealth-order-panel{margin-bottom:2rem;padding:1.5rem;background:white;border:2px solid #e0e0e0;border-radius:10px;box-shadow:0 2px 4px #0000001a}.stealth-order-panel h2{margin:0 0 1rem;color:#333;font-size:1.2rem}.stealth-form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;margin-bottom:1rem}.stealth-form-group{display:flex;flex-direction:column}.stealth-form-group label{margin-bottom:.5rem;color:#666;font-size:.9rem;font-weight:500}.stealth-form-group input[type=number],.stealth-form-group select{padding:.5rem;border:1px solid #ddd;border-radius:5px;font-size:.9rem;transition:border-color .3s}.stealth-form-group input[type=number]:focus,.stealth-form-group select:focus{outline:none;border-color:#667eea}.stealth-form-group input[type=number]:disabled,.stealth-form-group select:disabled{background-color:#f5f5f5;cursor:not-allowed}.checkbox-group{display:flex;flex-direction:row;align-items:center;justify-content:flex-start}.checkbox-group label{display:flex;align-items:center;gap:.5rem;margin-bottom:0;cursor:pointer}.checkbox-group input[type=checkbox]{width:18px;height:18px;cursor:pointer}.stealth-submit-btn{padding:.75rem 1.5rem;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:5px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .3s ease;width:100%;max-width:300px}.stealth-submit-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.stealth-submit-btn:disabled{background:#ccc;cursor:not-allowed;transform:none}.stealth-status{margin-top:1rem;padding:.75rem;border-radius:5px;font-size:.9rem}.stealth-status.success{background-color:#d4edda;color:#155724;border:1px solid #c3e6cb}.stealth-status.error{background-color:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.active-stealth-orders{margin-top:2rem;padding-top:2rem;border-top:2px solid #e0e0e0}.active-stealth-orders h3{margin:0 0 1rem;color:#333;font-size:1.1rem}.active-order-card{background:#f8f9fa;border:1px solid #ddd;border-radius:8px;padding:1rem;margin-bottom:1rem}.active-order-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.active-order-info{display:flex;gap:.75rem;align-items:center}.order-side{padding:.25rem .75rem;border-radius:4px;font-weight:600;font-size:.85rem}.order-side.buy{background-color:#d4edda;color:#155724}.order-side.sell{background-color:#f8d7da;color:#721c24}.order-symbol{font-weight:600;color:#333}.order-id{color:#666;font-size:.85rem;font-family:monospace}.cancel-order-btn{padding:.5rem 1rem;background:#dc3545;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .3s ease}.cancel-order-btn:hover:not(:disabled){background:#c82333;transform:translateY(-1px);box-shadow:0 2px 4px #dc35454d}.cancel-order-btn:disabled{background:#ccc;cursor:not-allowed;transform:none}.active-order-details{display:flex;flex-direction:column;gap:.75rem}.order-progress-row{display:flex;align-items:center;gap:.5rem}.progress-label{font-size:.9rem;color:#666;min-width:70px}.progress-bar-container{flex:1;height:20px;background:#e0e0e0;border-radius:10px;overflow:hidden}.progress-bar{height:100%;background:linear-gradient(90deg,#667eea 0%,#764ba2 100%);transition:width .3s ease}.progress-text{font-size:.85rem;color:#666;min-width:50px;text-align:right}.order-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.5rem}.stat-item{display:flex;gap:.5rem;font-size:.9rem}.stat-label{color:#666;font-weight:500}.stat-value{color:#333;font-family:monospace}.stat-value.reduce-only{color:#dc3545;font-weight:600}.moments-grid{margin-bottom:2rem}.moments-grid h2{margin-bottom:1rem;color:#333}.moments-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.moment-card{padding:1.5rem;background:white;border:2px solid #e0e0e0;border-radius:10px;box-shadow:0 2px 4px #0000001a}.moment-card.active{border-color:#667eea;background:#f0f4ff}.moment-card h3{margin:0 0 1rem;color:#333;font-size:1rem}.moment-values{display:flex;flex-direction:column;gap:.5rem}.moment-item{display:flex;justify-content:space-between;padding:.25rem 0}.moment-item .label{color:#666;font-weight:500}.moment-item .value{color:#333;font-family:monospace}.dashboard-loading{text-align:center;padding:3rem;font-size:1.2rem;color:#666}.charts-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.charts-header h2{margin:0;color:#333}.time-range-selector{display:flex;gap:.5rem}.time-range-selector button{padding:.5rem 1rem;background:white;border:2px solid #e0e0e0;border-radius:5px;cursor:pointer;font-size:.9rem;color:#666;transition:all .2s}.time-range-selector button:hover{border-color:#667eea;color:#667eea}.time-range-selector button.active{background:#667eea;border-color:#667eea;color:#fff}.chart-group{display:flex;flex-direction:column;gap:2rem;flex:1}.chart-section{background:white;padding:1.5rem;border-radius:10px;box-shadow:0 2px 4px #0000001a}.chart-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.chart-section h3{margin:0;color:#333;font-size:1.1rem}.log-scale-toggle{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.9rem;color:#666}.log-scale-toggle input[type=checkbox]{cursor:pointer}.log-scale-toggle span{-webkit-user-select:none;user-select:none}.moments-charts-section{margin-bottom:2rem}.tabs-container{background:white;border-radius:10px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.tabs-header{display:flex;border-bottom:2px solid #e0e0e0;background:#f8f9fa}.tab-button{padding:1rem 2rem;background:transparent;border:none;border-bottom:3px solid transparent;cursor:pointer;font-size:1rem;color:#666;transition:all .2s;font-weight:500}.tab-button:hover{color:#667eea;background:rgba(102,126,234,.05)}.tab-button.active{color:#667eea;border-bottom-color:#667eea;background:white}.tabs-content{padding:1.5rem}.controls-group{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.moment-type-selector{display:flex;gap:.5rem}.moment-type-selector button{padding:.5rem 1rem;background:white;border:2px solid #e0e0e0;border-radius:5px;cursor:pointer;font-size:.9rem;color:#666;transition:all .2s}.moment-type-selector button:hover{border-color:#667eea;color:#667eea}.moment-type-selector button.active{background:#667eea;border-color:#667eea;color:#fff}.charts-container{display:flex;gap:2rem;align-items:flex-start}.shared-legend{background:white;padding:1.5rem;border-radius:10px;box-shadow:0 2px 4px #0000001a;min-width:180px;height:fit-content}.shared-legend h4{margin:0 0 1rem;color:#333;font-size:1rem}.legend-item{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem;cursor:pointer;padding:.25rem;border-radius:4px;transition:all .2s ease;-webkit-user-select:none;user-select:none}.legend-item:hover{background:rgba(102,126,234,.1)}.legend-item.hidden{opacity:.4}.legend-item.hidden .legend-color{filter:grayscale(100%)}.legend-item.hidden .legend-label{text-decoration:line-through}.legend-color{width:20px;height:3px;flex-shrink:0;transition:filter .2s ease}.legend-label{color:#666;font-size:.9rem;transition:text-decoration .2s ease}.skew-diff-chart-container{width:100%;background:#1a1a1a;border-radius:8px;padding:20px;box-shadow:0 2px 8px #0000004d}.skew-diff-chart-loading,.skew-diff-chart-error,.skew-diff-chart-empty{text-align:center;padding:40px;color:#999;font-size:14px}.skew-diff-chart-error{color:#ff6b6b}.skew-diff-page{min-height:100vh;background:linear-gradient(135deg,#1a1a2e 0%,#16213e 100%);color:#fff}.skew-diff-header{display:flex;justify-content:space-between;align-items:center;padding:20px 40px;background:rgba(0,0,0,.3);border-bottom:2px solid #667eea}.header-left h1{margin:0;font-size:28px;font-weight:600}.header-subtitle{margin:5px 0 0;font-size:14px;color:#aaa}.header-right{display:flex;gap:10px}.back-button,.logout-button{padding:10px 20px;border:none;border-radius:5px;cursor:pointer;font-size:14px;font-weight:500;transition:all .3s ease}.back-button{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff}.back-button:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.logout-button{background:#dc3545;color:#fff}.logout-button:hover{background:#c82333;transform:translateY(-2px);box-shadow:0 4px 12px #dc354566}.skew-diff-content{padding:30px 40px;max-width:1400px;margin:0 auto}.current-value-section{margin-bottom:30px}.current-value-card{background:rgba(255,255,255,.05);border-radius:12px;padding:30px;text-align:center;border:2px solid transparent;transition:all .3s ease}.current-value-card.extreme-positive{border-color:#f44;background:rgba(255,68,68,.1)}.current-value-card.moderate-positive{border-color:#f84;background:rgba(255,136,68,.1)}.current-value-card.neutral{border-color:#888;background:rgba(136,136,136,.1)}.current-value-card.moderate-negative{border-color:#48f;background:rgba(68,136,255,.1)}.current-value-card.extreme-negative{border-color:#44f;background:rgba(68,68,255,.1)}.value-label{font-size:14px;color:#aaa;text-transform:uppercase;letter-spacing:1px;margin-bottom:10px}.value-display{font-size:48px;font-weight:700;margin:10px 0}.value-description{font-size:16px;color:#ccc;margin-top:10px}.time-range-selector{display:flex;gap:10px;margin-bottom:20px;justify-content:center}.time-range-selector button{padding:10px 24px;border:2px solid #667eea;background:transparent;color:#fff;border-radius:8px;cursor:pointer;font-size:14px;font-weight:500;transition:all .3s ease}.time-range-selector button:hover{background:rgba(102,126,234,.2)}.time-range-selector button.active{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.chart-section{background:rgba(255,255,255,.05);border-radius:12px;padding:20px;margin-bottom:30px}.chart-section h2{margin:0 0 20px;font-size:20px;font-weight:600}.reference-guide{background:rgba(255,255,255,.05);border-radius:12px;padding:20px}.reference-guide h3{margin:0 0 15px;font-size:18px;font-weight:600}.reference-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}.reference-item{padding:10px 15px;border-radius:6px;font-size:14px;border:1px solid transparent}.reference-item.extreme-positive{border-color:#f44;background:rgba(255,68,68,.1)}.reference-item.moderate-positive{border-color:#f84;background:rgba(255,136,68,.1)}.reference-item.neutral{border-color:#888;background:rgba(136,136,136,.1)}*{margin:0;padding:0;box-sizing:border-box}body{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:#f5f5f5}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}
