body {
  background: #f6f7f9;
  color: #1f2933;
}

.metric {
  background: #ffffff;
  border: 1px solid #e3e7ee;
  border-radius: 8px;
  padding: 16px;
}

.metric-label {
  color: #697386;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.metric-value {
  font-size: 1.8rem;
  font-weight: 700;
}

.section-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.table {
  background: #ffffff;
  border: 1px solid #e3e7ee;
}

.chart-panel {
  background: #ffffff;
  border: 1px solid #e3e7ee;
  border-radius: 8px;
  padding: 16px;
}

.regime-band {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d9e0ea;
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr 2fr 3fr;
  padding: 16px;
}

.regime-title {
  font-size: 1.4rem;
  font-weight: 800;
}

.regime-value {
  font-size: 1rem;
  font-weight: 700;
}

.regime-comment {
  color: #475569;
}

.ai-hero {
  background: #101827;
  border: 1px solid #23314a;
  border-radius: 8px;
  color: #f8fafc;
  min-height: 100%;
  padding: 20px;
}

.ai-decision {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0;
  margin-top: 8px;
}

.ai-buy,
.ai-strong-buy {
  color: #22c55e;
}

.ai-watch {
  color: #facc15;
}

.ai-no-trade,
.ai-sell {
  color: #ef4444;
}

.ai-wait {
  color: #cbd5e1;
}

.ai-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}

.why-list {
  margin: 10px 0 0;
  padding-left: 20px;
}

.why-list li {
  margin-bottom: 6px;
}

.heatmap-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.heatmap-card {
  background: #ffffff;
  border: 1px solid #e3e7ee;
  border-radius: 8px;
  padding: 16px;
}

.heatmap-card strong {
  display: block;
  font-size: 1.3rem;
}

.decision-pill {
  border-radius: 999px;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 8px;
  padding: 4px 10px;
}

.decision-buy,
.decision-strong-buy {
  background: #dcfce7;
  color: #166534;
}

.decision-watch {
  background: #fef9c3;
  color: #854d0e;
}

.decision-no-trade,
.decision-sell {
  background: #fee2e2;
  color: #991b1b;
}

.decision-wait {
  background: #e2e8f0;
  color: #334155;
}

@media (max-width: 900px) {
  .regime-band {
    grid-template-columns: 1fr;
  }
}
