/* Custom CSS for COSMIC-Feedback. Tailwind handles most styling; this file is for what Tailwind can't do cleanly. */
body {
  font-family: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

/* === Briefing content prose styling === */
/* Scoped to .briefing-content to avoid affecting other pages. */

.briefing-content {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.65;
    color: #374151;
}

.dark .briefing-content {
    color: #E8EBF0;
}

.briefing-content > p:first-of-type {
    font-size: 1.125rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #EEF0F4;
}

.dark .briefing-content > p:first-of-type {
    border-bottom-color: #374151;
}

.briefing-content h2 {
    font-family: 'League Gothic', sans-serif;
    font-size: 1.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #003594;
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.dark .briefing-content h2 {
    color: #FFCB4D;
}

.briefing-content p {
    margin-bottom: 1rem;
}

.briefing-content blockquote {
    border-left: 4px solid #1E4DB4;
    padding-left: 1rem;
    margin: 1.25rem 0;
    color: #6B7280;
    font-style: italic;
}

.dark .briefing-content blockquote {
    border-left-color: #FFCB4D;
    color: #8A93A3;
}

.briefing-content strong {
    font-weight: 600;
    color: #00205B;
}

.dark .briefing-content strong {
    color: #FFCB4D;
}

.briefing-content em {
    font-style: italic;
}


/* ============================================================
   Chat bubbles — transcript replay view (Task 8a)
   ============================================================ */

.chat-bubble {
  max-width: 70%;
  padding: 0.875rem 1.125rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  line-height: 1.5;
  word-wrap: break-word;
}

.chat-bubble-persona {
  background-color: #DBEEFF; /* --pitt-new-sky */
  color: #00205B; /* --pitt-medium-blue */
  border-top-right-radius: 0.25rem;
}

.chat-bubble-chatbot {
  background-color: #F5F5F5;
  color: #111827;
  border-top-left-radius: 0.25rem;
}

.chat-turn {
  font-size: 0.75rem;
  color: #6B7280;
  margin-top: 0.25rem;
}

/* Dark mode */
.dark .chat-bubble {
  border-color: rgba(255, 255, 255, 0.08);
}

.dark .chat-bubble-persona {
  background-color: #1E3A8A;
  color: #DBEEFF;
}

.dark .chat-bubble-chatbot {
  background-color: #1F2937;
  color: #E5E7EB;
}

.dark .chat-turn {
  color: #9CA3AF;
}
