/* Issue Detail Content — follows PrDetailPopover patterns */

/* State badge */
.stateBadge {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: var(--font-2xs);
  font-weight: 700;
  text-transform: uppercase;
  flex-shrink: 0;
}

.stateBadge.open {
  background: rgba(63, 185, 80, 0.12);
  color: var(--success);
}

.stateBadge.closed {
  background: rgba(163, 113, 247, 0.12);
  color: #a371f7;
}

/* Labels */
.labels {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px 12px;
}

.label {
  display: inline-flex;
  align-items: center;
  padding: 1px 8px;
  border-radius: var(--radius-pill);
  font-size: var(--font-xs);
  font-weight: 600;
  border: 1px solid;
  white-space: nowrap;
}

/* Meta row */
.meta {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: var(--font-sm);
  color: var(--fg-muted);
}

.author {
  font-weight: 600;
  color: var(--fg-secondary);
}

.separator {
  color: var(--fg-muted);
}

/* Assignees */
.assignees {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 2px 12px;
  font-size: var(--font-xs);
  color: var(--fg-secondary);
}

.assignee {
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 6px;
  border-radius: var(--radius-md);
}

/* Milestone */
.milestone {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 12px;
  font-size: var(--font-xs);
  color: var(--fg-muted);
}

.milestoneIcon {
  color: var(--fg-muted);
}

/* Timestamps */
.timestamps {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 12px;
  font-size: var(--font-xs);
  color: var(--fg-muted);
}

/* ── Compact mode (sidebar accordion) ── */
:global([data-compact]) .meta {
  padding: 6px 12px;
  font-size: var(--font-xs);
}

:global([data-compact]) .timestamps {
  padding: 2px 12px;
}
