/* ========================================
   REPORT TABS & VIEWS (Notion-style)
   ======================================== */

.report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid var(--gray-200);
  background: white;
}

.report-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 0;
}

.report-tabs {
  display: flex;
  gap: 4px;
  background: var(--gray-100);
  padding: 3px;
  border-radius: var(--radius);
}

.report-tab {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition-fast);
}

.report-tab svg {
  width: 12px;
  height: 12px;
}

.report-tab.active {
  background: white;
  color: var(--gray-900);
  box-shadow: var(--shadow-sm);
}

.report-tab:hover:not(.active) {
  color: var(--gray-900);
}

/* Report Views */
.report-view {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.report-view.active {
  display: block;
  opacity: 1;
}

.document-view {
  max-height: none;
  overflow-y: hidden;
}

/* ========================================
   SLIDES VIEW - Matches other tabs style
   ======================================== */

.slides-view {
  background: white;
  padding: 12px 16px;
}

/* Two column layout */
.slide-layout {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 16px;
}

.slide-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slide-right {
  border-left: 1px solid #f3f4f6;
  padding-left: 12px;
}

/* Section styling - matches narrative-section */
.slide-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Section label - matches narrative-header */
.slide-section-label {
  font-size: 10px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Narrative text - matches analysis-narrative */
.slide-narrative {
  font-size: 11px;
  color: #374151;
  line-height: 1.6;
}

.slide-highlight {
  font-weight: 500;
  color: #111827;
}

/* List styling - matches analysis-list */
.slide-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.slide-list li {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 6px;
}

.slide-list li.suggested {
  color: #3b82f6;
}

/* Dots - matches risk-dot pastel colors */
.slide-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.slide-dot.critical { background: #fca5a5; }
.slide-dot.high { background: #fdba74; }
.slide-dot.medium { background: #fcd34d; }
.slide-dot.low { background: #86efac; }

/* Risk Profile - right column */
.slide-profile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.profile-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 6px;
}

.profile-category {
  font-size: 10px;
  color: #374151;
}

.profile-level {
  font-size: 9px;
  font-weight: 500;
  padding: 1px 5px;
  border-radius: 6px;
}

/* Level colors - matches status-pill with low opacity */
.profile-level.high {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.profile-level.medium {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.profile-level.low {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}

/* Trend indicators - muted colors */
.profile-trend {
  font-size: 9px;
  width: 14px;
  text-align: center;
}

.profile-trend.up { color: #9ca3af; }
.profile-trend.down { color: #9ca3af; }
.profile-trend.stable { color: #9ca3af; }
