/* ── Report Generation Overlay ── */
.gen-overlay {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245,245,245,0.92);
  backdrop-filter: blur(8px); padding: 24px;
}
.gen-overlay .scoring-wrap { margin: 0; max-width: 560px; width: 100%; }

/* Live status line */
.gen-status {
  font-size: 13px; color: var(--text-secondary);
  max-width: 560px; text-align: center;
  min-height: 24px; margin-top: 4px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* Pulsing dot — shows agent is alive */
.gen-pulse {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: var(--accent);
  animation: gen-pulse-anim 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes gen-pulse-anim {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Log feed — scrollable list of agent actions */
.gen-overlay .scoring-logs {
  max-height: 200px; overflow-y: auto;
  font-size: 12px; font-family: var(--mono, monospace);
  margin-top: 12px; padding: 8px 10px;
  background: rgba(4,49,89,0.03); border-radius: 8px;
  text-align: left;
}
.log-line {
  padding: 3px 0; line-height: 1.5;
  color: var(--text-secondary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: flex; align-items: center; gap: 6px;
}
.log-line + .log-line { border-top: 1px solid rgba(4,49,89,0.04); }
.log-think { color: var(--accent); font-style: italic; }
.log-err { color: var(--red, #e53935); }

/* Inline SVG icons in log lines and status */
.log-icon { display: inline-flex; flex-shrink: 0; }
.log-icon svg { vertical-align: middle; }
.gen-status .log-icon { opacity: 0.7; }
