.market{flex-direction:column;gap:24px;width:100%;height:100%;padding:24px;display:flex}.market-layout{grid-template-columns:1fr 300px;align-items:start;gap:20px;display:grid}.market-main{flex-direction:column;gap:24px;min-width:0;display:flex}@media (max-width:1200px){.market-layout{grid-template-columns:1fr}}
.toolbar{background:#fff;border:1px solid #e5e7eb;border-radius:18px;justify-content:space-between;align-items:center;gap:20px;width:100%;padding:16px 24px;display:flex;box-shadow:0 6px 20px #0000000d}.toolbar-left,.toolbar-right{align-items:center;gap:16px;display:flex}
.broker-selector{background:#fff;border:1px solid #e5e7eb;border-radius:12px;flex-direction:column;padding:10px 16px;display:flex}

.timeframe-selector{align-items:center;gap:8px;display:flex}.timeframe-btn{color:#55637a;cursor:pointer;background:#f4f6fb;border:none;border-radius:10px;padding:8px 14px;font-size:13px;font-weight:600;transition:all .2s}.timeframe-btn:hover{background:#e8eefc}.timeframe-btn.active{color:#fff;background:#3b82f6;box-shadow:0 6px 18px #3b82f64d}
.connection-status{background:#fff;border:1px solid #e5e7eb;border-radius:12px;align-items:center;gap:12px;padding:10px 16px;display:flex}.status-dot{background:#22c55e;border-radius:50%;width:10px;height:10px}
.market-status{background:#fff;border:1px solid #e5e7eb;border-radius:12px;flex-direction:column;justify-content:center;padding:10px 16px;display:flex}
.chart{background:#fff;border-radius:16px;height:650px;padding:20px}
.chart-header{background:#fafbfc;border-bottom:1px solid #eef2f7;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.chart-symbol h2{margin:0;font-size:24px}.chart-symbol span{color:#64748b;font-size:13px}.chart-stats{gap:16px;display:flex}.chart-box{flex-direction:column;align-items:center;min-width:90px;display:flex}.chart-box small{color:#64748b}.chart-box strong{margin-top:4px}
.chart-canvas{background:#f8fafc;flex:1;justify-content:center;align-items:center;display:flex}.chart-placeholder{color:#64748b;border:2px dashed #cbd5e1;border-radius:14px;justify-content:center;align-items:center;width:95%;height:520px;font-size:18px;display:flex}
.chart-footer{background:#fafbfc;border-top:1px solid #eef2f7;justify-content:space-around;padding:18px 24px;display:flex}.chart-footer div{flex-direction:column;align-items:center;display:flex}.chart-footer small{color:#64748b}.online{color:#16a34a}
.market-sidebar{flex-direction:column;gap:20px;width:340px;display:flex}
.market-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;overflow:hidden;box-shadow:0 10px 30px #0f172a0d}.card-header{background:#f8fafc;border-bottom:1px solid #eef2f7;padding:18px 20px}.card-header h3{color:#0f172a;margin:0;font-size:16px;font-weight:700}.card-content{flex-direction:column;gap:14px;padding:18px;display:flex}.info-row{border-bottom:1px dashed #edf2f7;justify-content:space-between;align-items:center;padding-bottom:10px;display:flex}.info-row:last-child{border:none;padding-bottom:0}.info-row span{color:#64748b;font-size:13px}.info-row strong{color:#0f172a;font-size:14px;font-weight:700}.green{color:#16a34a}
.market-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;overflow:hidden;box-shadow:0 10px 30px #0f172a0d}.card-header{background:#f8fafc;border-bottom:1px solid #eef2f7;padding:18px 20px}.card-header h3{color:#0f172a;margin:0;font-size:16px;font-weight:700}.card-content{flex-direction:column;gap:14px;padding:18px;display:flex}.info-row{border-bottom:1px dashed #edf2f7;justify-content:space-between;align-items:center;padding-bottom:10px;display:flex}.info-row:last-child{border:none;padding-bottom:0}.info-row span{color:#64748b;font-size:13px}.info-row strong{color:#0f172a;font-size:14px;font-weight:700}.green{color:#16a34a}
.market-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;overflow:hidden;box-shadow:0 10px 30px #0f172a0d}.card-header{background:#f8fafc;border-bottom:1px solid #eef2f7;padding:18px 20px}.card-header h3{color:#0f172a;margin:0;font-size:16px;font-weight:700}.card-content{flex-direction:column;gap:14px;padding:18px;display:flex}.info-row{border-bottom:1px dashed #edf2f7;justify-content:space-between;align-items:center;padding-bottom:10px;display:flex}.info-row:last-child{border:none;padding-bottom:0}.info-row span{color:#64748b;font-size:13px}.info-row strong{color:#0f172a;font-size:14px;font-weight:700}.green{color:#16a34a}
.opportunities{background:#fff;border:1px solid #e5e7eb;border-radius:18px;overflow:hidden;box-shadow:0 8px 25px #0f172a0d}
.opportunities-header{border-bottom:1px solid #eef2f7;justify-content:space-between;align-items:center;padding:22px;display:flex}.opportunities-header h2{margin:0;font-size:22px}.opportunities-header p{color:#64748b;margin-top:6px}.total-signals{color:#fff;background:#2563eb;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;width:80px;height:80px;display:flex}.total-signals span{font-size:26px;font-weight:700}
.opportunity-stats{grid-template-columns:repeat(4,1fr);gap:16px;padding:20px;display:grid}.stat-card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;flex-direction:column;padding:18px;display:flex}.stat-card span{color:#64748b}.stat-card strong{margin-top:10px;font-size:28px}
.opportunity-filters{flex-wrap:wrap;gap:12px;padding:0 20px 20px;display:flex}.opportunity-filters button{cursor:pointer;background:#fff;border:1px solid #dbe2ea;border-radius:999px;padding:10px 18px}.opportunity-filters button.active{color:#fff;background:#2563eb}
.opportunities-table{border-collapse:collapse;width:100%}.opportunities-table th{text-align:left;background:#f8fafc;border-bottom:1px solid #e5e7eb;padding:18px}.opportunities-table td{border-bottom:1px solid #eef2f7;padding:18px}.buy{color:#16a34a;font-weight:700}.sell{color:#dc2626;font-weight:700}
