/* EngineFeed — Analytics & Results */

.ef-analytics-wrap, .ef-results-wrap {
  padding: 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.ef-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.ef-kpi {
  background: #111;
  border: 1px solid #222;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}

.ef-kpi span {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666;
  margin-bottom: 6px;
}

.ef-kpi strong { font-size: 1.1rem; color: #ff9500; }

.ef-analytics-grid, .ef-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .ef-analytics-grid, .ef-results-grid { grid-template-columns: 1fr; }
}

.ef-card {
  background: #0e0e0e;
  border: 1px solid #1f1f1f;
  border-radius: 12px;
  padding: 20px;
}

.ef-card.full { grid-column: 1 / -1; }

.ef-card h3 {
  margin: 0 0 14px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ff6b00;
}

.ef-chart-card canvas { max-height: 220px; }

.ef-cal-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ef-cal-list li {
  padding: 8px 0;
  border-bottom: 1px solid #1a1a1a;
  font-size: 0.9rem;
}

.ef-cal-list li span {
  display: inline-block;
  min-width: 48px;
  color: #ff9500;
  font-weight: 600;
}

.ef-heatmap { overflow-x: auto; }

.ef-heat-grid {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  gap: 3px;
}

.ef-heat-cell {
  aspect-ratio: 1;
  background: #ff6b00;
  border-radius: 2px;
}

.ef-muted { color: #666; font-size: 0.85rem; }

.ef-results-hero {
  text-align: center;
  margin-bottom: 32px;
}

.ef-results-hero h2 { font-size: 1.5rem; margin-bottom: 8px; }

.ef-score-big {
  font-size: 3rem;
  font-weight: 700;
  color: #4ade80;
  margin: 16px 0;
}

.ef-score-big span { font-size: 1rem; color: #666; }

.ef-motor { color: #888; font-size: 0.85rem; }

.ef-results-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}

.ef-kpi-list { list-style: none; padding: 0; margin: 0; }
.ef-kpi-list li { padding: 6px 0; border-bottom: 1px solid #1a1a1a; }

.ef-card pre {
  white-space: pre-wrap;
  font-size: 0.85rem;
  color: #ccc;
  background: #080808;
  padding: 12px;
  border-radius: 8px;
}
