/* Briefing & CEO Radar Styles */
.brief-wrapper {
  min-height: 100vh;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
}
.brief-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
  background: var(--bg-secondary); border-bottom: 1px solid var(--border-color);
  position: sticky; top: 0; z-index: 100;
}
.brief-header-left { display: flex; align-items: center; gap: 12px; }
.brief-header-right { display: flex; align-items: center; gap: 10px; }
.brief-back { color: var(--text-secondary); text-decoration: none; display: flex; padding: 6px; border-radius: 8px; }
.brief-back:hover { background: var(--bg-hover); }
.brief-logo { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.btn-generate {
  background: linear-gradient(135deg, #3b82f6, #6366f1); color: white; border: none;
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; padding: 8px 14px; border-radius: 8px; cursor: pointer;
  font-family: inherit; font-weight: 500;
}
.btn-generate:hover { opacity: 0.9; }
.btn-generate:disabled { opacity: 0.5; cursor: not-allowed; }

/* Alert Banner */
.alert-banner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 24px;
  background: linear-gradient(135deg, rgba(239,68,68,0.15), rgba(245,158,11,0.1));
  border-bottom: 1px solid rgba(239,68,68,0.2);
  font-size: 14px; font-weight: 600; color: #ef4444;
}
.alert-banner-left { display: flex; align-items: center; gap: 8px; }
.alert-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #ef4444;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.btn-sm {
  background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3);
  color: #ef4444; padding: 4px 10px; border-radius: 6px;
  font-size: 12px; cursor: pointer; font-family: inherit;
}
.btn-sm:hover { background: rgba(239,68,68,0.2); }

/* Sections */
.section { padding: 16px 24px; }
.section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; margin-bottom: 12px; color: var(--text-secondary);
}
.empty-state { text-align: center; color: var(--text-muted); padding: 24px; font-size: 13px; }

/* Alerts List */
.alerts-list { display: flex; flex-direction: column; gap: 8px; }
.alert-item {
  background: var(--bg-secondary); border: 1px solid var(--border-color);
  border-radius: 10px; padding: 12px 16px;
  display: flex; align-items: flex-start; gap: 12px;
  transition: background 0.15s;
}
.alert-item:hover { background: var(--bg-hover); }
.alert-item.unread { border-left: 3px solid #ef4444; }
.alert-severity {
  font-size: 20px; flex-shrink: 0; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
}
.alert-severity.critical { background: rgba(239,68,68,0.15); }
.alert-severity.high { background: rgba(245,158,11,0.15); }
.alert-body { flex: 1; min-width: 0; }
.alert-keywords { font-weight: 600; font-size: 13px; margin-bottom: 2px; }
.alert-msg { font-size: 12px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 400px; }
.alert-meta { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.alert-actions { display: flex; gap: 4px; flex-shrink: 0; }

/* Brief Card */
.brief-card {
  background: var(--bg-secondary); border: 1px solid var(--border-color);
  border-radius: 12px; padding: 20px 24px;
}
.brief-card h2, .brief-card h3 { margin-top: 12px; margin-bottom: 6px; }
.brief-card ul { padding-left: 20px; }
.brief-card li { margin-bottom: 4px; font-size: 13px; line-height: 1.5; }
.brief-meta {
  display: flex; gap: 16px; margin-bottom: 12px;
  font-size: 12px; color: var(--text-muted);
}
.brief-meta span { display: flex; align-items: center; gap: 4px; }

/* Brief History */
.briefs-history { display: flex; flex-direction: column; gap: 8px; }
.brief-history-item {
  background: var(--bg-secondary); border: 1px solid var(--border-color);
  border-radius: 10px; padding: 12px 16px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; transition: background 0.15s;
}
.brief-history-item:hover { background: var(--bg-hover); }
.brief-date { font-weight: 500; font-size: 13px; }
.brief-stats { font-size: 12px; color: var(--text-muted); }

@media (max-width: 768px) {
  .section { padding: 12px 16px; }
  .alert-banner { padding: 10px 16px; }
}
