* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #0f1117; color: #e1e4e8; }
.container { max-width: 1400px; margin: 0 auto; padding: 20px; }

.header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #21262d; }
.header h1 { font-size: 24px; font-weight: 600; }
.header h1 span { color: #f85149; }
.header-info { font-size: 13px; color: #8b949e; }

.signal-card { background: #161b22; border: 1px solid #21262d; border-radius: 8px; padding: 20px; margin-bottom: 20px; }
.signal-badge { display: inline-block; padding: 4px 12px; border-radius: 12px; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.badge-neutral { background: #1a3a2a; color: #3fb950; }
.badge-positive { background: #1a3a2a; color: #3fb950; }
.badge-negative { background: #3a1a1a; color: #f85149; }
.signal-text { font-size: 14px; line-height: 1.6; color: #c9d1d9; }

.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 20px; }
.metric { background: #161b22; border: 1px solid #21262d; border-radius: 8px; padding: 16px; text-align: center; }
.metric-value { font-size: 28px; font-weight: 700; color: #f0f6fc; }
.metric-label { font-size: 12px; color: #8b949e; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.metric-delta { font-size: 13px; margin-top: 4px; }
.delta-up { color: #3fb950; }
.delta-down { color: #f85149; }

.chart-row { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-bottom: 20px; }
.chart-box { background: #161b22; border: 1px solid #21262d; border-radius: 8px; padding: 16px; }
.chart-box h3 { font-size: 14px; color: #8b949e; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.chart { width: 100%; height: 350px; }

.loading { text-align: center; padding: 60px; color: #8b949e; font-size: 16px; }
.error { text-align: center; padding: 40px; color: #f85149; }

.tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.tab { padding: 8px 16px; border-radius: 6px; font-size: 13px; cursor: pointer; background: #161b22; border: 1px solid #21262d; color: #8b949e; }
.tab i { margin-right: 6px; }
.tab.active { background: #1f6feb; border-color: #1f6feb; color: #fff; }

.controls { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.controls select { background: #161b22; border: 1px solid #21262d; color: #e1e4e8; padding: 8px 12px; border-radius: 6px; font-size: 13px; font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }

@media (max-width: 768px) {
    .chart-row { grid-template-columns: 1fr; }
    .metrics { grid-template-columns: 1fr 1fr; }
    .header { flex-direction: column; align-items: flex-start; gap: 8px; }
}
