/* ==========================================================================
   Active Plots Section - Hierarchical plot display for sessions and PCs
   ========================================================================== */

.active-plots-section {
  margin-bottom: var(--space-xl);
}

.active-plots-section h3 {
  margin-top: 0;
  margin-bottom: var(--space-sm);
}

.active-plots-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

/* Individual plot card */
.active-plot-card {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--parchment-dark);
  border-radius: var(--radius-sm);
  background: var(--parchment-300);
  text-decoration: none;
  color: inherit;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.active-plot-card:hover {
  background: var(--parchment-400);
  box-shadow: var(--shadow-md);
}

.active-plot-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.active-plot-info {
  flex: 1;
  min-width: 0;
}

.active-plot-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}

.active-plot-summary {
  font-size: 0.8rem;
  color: var(--warm-grey-dark);
  opacity: 0.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.active-plot-meta {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-shrink: 0;
}

/* Main character avatars shown inline */
.active-plot-characters {
  display: flex;
  gap: var(--space-xs);
}

.active-plot-character-icon {
  width: 1rem;
  height: 1rem;
  opacity: 0.7;
}

/* Sub-plots nested under parent */
.active-plot-children {
  padding-left: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.active-plot-children .active-plot-card {
  border-left: 2px solid var(--parchment-500);
}
