/* =================== fav-insight.css =================== */
/* Favorites populated-state header: summary stats (.fav-summary) + insight cards
   (.hz-insight-*). These classes shipped with NO stylesheet, so on a non-empty
   favorites list the header rendered as a raw wall of text. This is the single
   source of truth for them. Token-driven, premium, no cascade hacks. */

.fav-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 24px;
}
.fav-summary__stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1 1 160px;
  padding: 16px 18px;
  border: 0.5px solid var(--hc-line-2, rgba(180, 151, 115, 0.18));
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 252, 247, 0.9), rgba(248, 244, 237, 0.6));
}
.fav-summary__stat b {
  font-family: var(--hc-serif, "Playfair Display", Georgia, serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  color: var(--hc-ink, #1a1714);
}
.fav-summary__stat small {
  font-size: 12px;
  color: var(--hc-ink-soft, rgba(26, 23, 20, 0.55));
}

.hz-insight-shell {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.hz-insight-card {
  padding: 20px 22px;
  border: 0.5px solid var(--hc-line-2, rgba(180, 151, 115, 0.18));
  border-radius: 16px;
  background: var(--hc-paper, #ffffff);
}
.hz-insight-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hc-accent, #8b7355);
}
.hz-insight-title {
  margin-bottom: 6px;
  font-family: var(--hc-serif, "Playfair Display", Georgia, serif);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--hc-ink, #1a1714);
}
.hz-insight-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--hc-ink-soft, rgba(26, 23, 20, 0.6));
}

@media (max-width: 560px) {
  .fav-summary__stat {
    flex-basis: 100%;
  }
}

.fav-actions{display:flex;gap:10px;flex-wrap:wrap;margin:6px 0 18px}
