/* 채널 대상 칩·상세 영역. 상태 색: 게시됨 초록, 준비 파랑, 제작 중 노랑, 확인 필요·실패 빨강, 비공개 보라, 계획·제외 회색 */
.target-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 6px 0 2px;
}
.target-chip {
  text-decoration: none;
  font-size: 11px;
  line-height: 1;
  padding: 4px 7px;
  border-radius: 999px;
  border: 1px solid #d9dce3;
  color: #4b5261;
  background: #f5f6f8;
  white-space: nowrap;
}
.target-chip.is-published {
  background: #e3f6ea;
  border-color: #9fd8b3;
  color: #1d6b3a;
}
.target-chip.is-ready {
  background: #e6f0fd;
  border-color: #a9c7f2;
  color: #1f4f93;
}
.target-chip.is-producing,
.target-chip.is-publishing {
  background: #fdf5df;
  border-color: #ecd28b;
  color: #7a5a07;
}
.target-chip.is-uncertain,
.target-chip.is-failed {
  background: #fde8e6;
  border-color: #f0aaa2;
  color: #9a2a1d;
}
.target-chip.is-private {
  background: #efe9fb;
  border-color: #c8b6ee;
  color: #5530a0;
}
.target-chip.is-skipped {
  text-decoration: line-through;
  opacity: 0.6;
}
.targets-panel {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid #e3e6ec;
  border-radius: 14px;
  background: #fff;
}
.target-summary {
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f1f2f5;
}
.target-summary.is-published {
  background: #e3f6ea;
  color: #1d6b3a;
}
.target-summary.is-attention {
  background: #fde8e6;
  color: #9a2a1d;
}
.target-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0;
}
.target-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid #eceef2;
  border-radius: 10px;
  flex-wrap: wrap;
}
.target-main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}
.target-main small {
  color: #6b7280;
}
.target-status {
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f1f2f5;
}
.target-status.is-published {
  background: #e3f6ea;
  color: #1d6b3a;
}
.target-status.is-ready {
  background: #e6f0fd;
  color: #1f4f93;
}
.target-status.is-producing,
.target-status.is-publishing {
  background: #fdf5df;
  color: #7a5a07;
}
.target-status.is-uncertain,
.target-status.is-failed {
  background: #fde8e6;
  color: #9a2a1d;
}
.target-status.is-private {
  background: #efe9fb;
  color: #5530a0;
}
.target-row.is-skipped {
  opacity: 0.6;
}
.target-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.outline-button.compact {
  padding: 5px 9px;
  font-size: 12px;
}
.target-add {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}
.target-add select,
.target-add input {
  width: auto;
  padding: 6px 8px;
  border: 1px solid #d9dce3;
  border-radius: 8px;
}
.target-add select {
  flex: 0 0 180px;
}
.target-add input {
  flex: 1 1 220px;
  min-width: 0;
}
.target-add button {
  width: auto;
  flex: 0 0 auto;
}
.target-history {
  margin-top: 10px;
  font-size: 13px;
}
.target-history ul {
  margin: 6px 0 0;
  padding-left: 18px;
  color: #4b5261;
}
@media (prefers-color-scheme: dark) {
  .targets-panel {
    background: #151a23;
    border-color: #2a3140;
  }
  .target-row {
    border-color: #2a3140;
  }
  .target-chip {
    background: #1f2530;
    border-color: #2f3746;
    color: #c9cfdb;
  }
}
