
/* plugins/redmine_issue_full_path/assets/stylesheets/full_path.css */

/* 기본값(행별 실제 값은 초기 보정 시 복제됨) */
.issues .full_path,
.issues .full_path_vertical,
.issues .full_path_compact2 {
  text-align: left;
  line-height: inherit;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: normal;
}

/* 성능: 셀 레이아웃 격리 + 화면 밖 렌더 지연(옵션) */
.issues td.full_path,
.issues td.full_path_vertical,
.issues td.full_path_compact2 {
  contain: layout paint;
  content-visibility: auto;        /* 필요 시 주석 처리 가능 */
  contain-intrinsic-size: 120px;
  vertical-align: top !important;  /* 다른 칸과 통일 */
}

/* 래퍼/줄 */
.issues td .fp-lines { display: block; font-size: inherit; margin-top: 0; }
.issues td .fp-item  { display: block; position: relative; font-size: inherit; margin: 0; }

/* 대괄호(중립 톤) */
.issues td .fp-item::before { content: '['; color: #94a3b8; margin-right: 2px; }
.issues td .fp-item::after  { content: ']'; color: #94a3b8; margin-left: 2px; }

/* 접힘 상태 */
.issues td.fp-collapsed .fp-item { display: none; }
.issues td.fp-collapsed .fp-item:first-child,
.issues td.fp-collapsed .fp-item:last-child { display: block; }

/* 중간 요약(▸×N) — 작고 연함 */
.issues td.fp-collapsed.fp-has-hidden .fp-ellipsis {
  display: inline-block;
  font-size: 0.8em;
  line-height: 1;
  color: #60a5fa;          /* blue-400 */
  letter-spacing: .04em;
  font-weight: 500;
  position: relative;
}
.issues td.fp-collapsed.fp-has-hidden .fp-ellipsis::before {
  content: '['; color: #93c5fd; margin-right: 2px;
}
.issues td.fp-collapsed.fp-has-hidden .fp-ellipsis::after {
  content: ']'; color: #93c5fd; margin-left: 2px;
}

/* 펼침: 모든 항목 보임, 요약 숨김 */
.issues table.issues td.fp-open .fp-ellipsis,
.issues td.fp-open .fp-ellipsis { display: none !important; }
.issues table.issues td.fp-open .fp-item,
.issues td.fp-open .fp-item { display: block; }

/* 마지막(직속 상위) — 색상은 초기 보정 때 제목 링크색으로 동기화됨 */
.issues td .fp-item:last-child { font-weight: 400; }
.issues td .fp-item:last-child::before,
.issues td .fp-item:last-child::after { color: #94a3b8; }

/* 링크 — 밑줄 제거 */
.issues td .fp-parent-link { color: inherit; text-decoration: none !important; }
.issues td .fp-parent-link:hover { text-decoration: none !important; }
``
