/* ==========================================================================
   LFH online-report Insight — rich content styles (NotebookLM infographic)
   All selectors namespaced under .lfh-report to avoid collisions with the
   site's global stylesheet. Loaded only on the lfh-online-report insight pages.
   ========================================================================== */

.lfh-report {
  --lfh-slate-bg: #f8fafc;
  --lfh-slate-dark: #0f172a;
  --lfh-blue-accent: #0284c7;
  --lfh-blue-hover: #0369a1;
  --lfh-text-primary: #1e293b;
  --lfh-text-muted: #64748b;
  --lfh-border-color: #e2e8f0;
  --lfh-dcma-blue-bg: rgba(56, 189, 248, 0.1);
  --lfh-extra-pink: #f43f5e;
  --lfh-extra-pink-bg: rgba(244, 63, 94, 0.1);
  --lfh-threshold-green: #22c55e;
  --lfh-threshold-yellow: #eab308;
  --lfh-threshold-red: #ef4444;

  /* Aliases (original names) so inline styles in the ported content resolve */
  --slate-bg: #f8fafc;
  --slate-dark: #0f172a;
  --blue-accent: #0284c7;
  --blue-hover: #0369a1;
  --text-primary: #1e293b;
  --text-muted: #64748b;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --dcma-blue: #38bdf8;
  --dcma-blue-bg: rgba(56, 189, 248, 0.1);
  --extra-pink: #f43f5e;
  --extra-pink-bg: rgba(244, 63, 94, 0.1);
  --threshold-green: #22c55e;
  --threshold-yellow: #eab308;
  --threshold-red: #ef4444;

  color: var(--lfh-text-primary);
  line-height: 1.7;
}

/* Base typography inside the report block */
.lfh-report .intro p,
.lfh-report .details p { margin: 0 0 1rem 0; }
.lfh-report .details h2 {
  font-size: 1.5rem;
  color: var(--lfh-slate-dark);
  margin: 2rem 0 0.75rem 0;
}
.lfh-report .details h3 {
  font-size: 1.2rem;
  color: var(--lfh-slate-dark);
  margin: 1.75rem 0 0.5rem 0;
}

/* CTA box */
.lfh-report .cta-box {
  background: linear-gradient(135deg, var(--lfh-slate-dark) 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  margin: 40px 0;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
}
.lfh-report .cta-box h3 { margin-top: 0; font-size: 1.5rem; }
.lfh-report .cta-box p {
  color: #cbd5e1;
  font-size: 1rem;
  max-width: 500px;
  margin: 10px auto 25px auto;
}
.lfh-report .btn-primary {
  display: inline-block;
  background-color: var(--lfh-blue-accent);
  color: #ffffff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.2s, transform 0.1s;
}
.lfh-report .btn-primary:hover {
  background-color: var(--lfh-blue-hover);
  transform: translateY(-1px);
}

/* Infographic */
.lfh-report .infographic-container {
  background: #ffffff;
  border: 1px solid var(--lfh-border-color);
  border-radius: 16px;
  padding: 30px;
  margin: 40px 0;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}
.lfh-report .info-header {
  text-align: center;
  margin-bottom: 35px;
  border-bottom: 2px dashed var(--lfh-border-color);
  padding-bottom: 20px;
}
.lfh-report .info-header h2 { margin: 0 0 10px 0; color: var(--lfh-slate-dark); font-size: 1.8rem; }
.lfh-report .info-header p { margin: 0; color: var(--lfh-text-muted); font-size: 1rem; }
.lfh-report .pillar-title {
  font-size: 1.25rem;
  color: var(--lfh-slate-dark);
  margin: 25px 0 15px 0;
  display: flex;
  align-items: center;
  font-weight: 700;
  border-left: 4px solid var(--lfh-blue-accent);
  padding-left: 10px;
}
.lfh-report .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}
.lfh-report .info-card {
  background: var(--lfh-slate-bg);
  border: 1px solid var(--lfh-border-color);
  border-radius: 10px;
  padding: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.lfh-report .info-card:hover { transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05); }
.lfh-report .card-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.lfh-report .card-num { font-weight: bold; font-size: 0.9rem; color: var(--lfh-slate-dark); }
.lfh-report .badge { font-size: 0.75rem; font-weight: bold; padding: 2px 8px; border-radius: 12px; text-transform: uppercase; }
.lfh-report .badge-dcma { color: #0369a1; background: var(--lfh-dcma-blue-bg); border: 1px solid rgba(56, 189, 248, 0.3); }
.lfh-report .badge-extra { color: #be123c; background: var(--lfh-extra-pink-bg); border: 1px solid rgba(244, 63, 94, 0.3); }
.lfh-report .card-name { font-weight: 600; font-size: 0.95rem; margin-bottom: 4px; color: var(--lfh-slate-dark); }
.lfh-report .card-desc { font-size: 0.8rem; color: var(--lfh-text-muted); line-height: 1.4; }

/* Threshold legend */
.lfh-report .threshold-footer {
  background: var(--lfh-slate-bg);
  border-radius: 10px;
  padding: 20px;
  margin-top: 30px;
  border: 1px solid var(--lfh-border-color);
}
.lfh-report .threshold-title {
  font-weight: bold; font-size: 0.9rem; margin-bottom: 12px;
  color: var(--lfh-slate-dark); text-transform: uppercase; letter-spacing: 0.05em;
}
.lfh-report .threshold-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
.lfh-report .legend-item { display: flex; align-items: flex-start; font-size: 0.8rem; line-height: 1.4; }
.lfh-report .color-indicator { width: 12px; height: 12px; border-radius: 50%; margin-right: 10px; margin-top: 3px; flex-shrink: 0; }
.lfh-report .ci-red { background-color: var(--lfh-threshold-red); }
.lfh-report .ci-yellow { background-color: var(--lfh-threshold-yellow); }
.lfh-report .ci-green { background-color: var(--lfh-threshold-green); }

/* Feature grid (not defined in source — added for parity) */
.lfh-report .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin: 20px 0;
}
.lfh-report .feature-card {
  background: var(--lfh-slate-bg);
  border: 1px solid var(--lfh-border-color);
  border-radius: 10px;
  padding: 18px;
}
.lfh-report .feature-card h4 { margin: 0 0 6px 0; color: var(--lfh-slate-dark); font-size: 1rem; }
.lfh-report .feature-card p { margin: 0; font-size: 0.85rem; color: var(--lfh-text-muted); line-height: 1.5; }

@media (max-width: 600px) {
  .lfh-report .info-grid { grid-template-columns: 1fr; }
}
