@charset "UTF-8";

/*
	목록·상세 버튼영역 공통 모양 (요구사항·목표·작업·테스트·파일).
	색은 부트스트랩 변수(--bs-*)만 쓰므로 시스템 테마 프리셋(theme-presets.css)과 다크 모드를 그대로 따른다.
	모서리는 테마 모양(data-herb-shape)이 정한 --herb-btn-radius 를 따르고, 기본(각짐)에서는 0 이다.

	목록 버튼영역 틀
	  .herb-toolbar[data-herb-select="체크박스 선택자"]  : 선택한 항목 수에 따라 버튼을 켜고 끈다(js/herb-toolbar.js)
	    좌  : 등록(btn-primary) | 선택 표시(.herb-tb-chip) · 편집·이동·복제(.btn-group > .btn-herb) · 삭제(.btn-herb-danger)
	    가운데: 가져오기 · 내보내기 · 베이스라인(.btn-herb) | 메뉴 고유 기능(.btn-herb-ghost)
	    우  : 검색(.herb-tb-search)
	  선택이 있어야 쓰는 버튼에는 data-herb-needs-selection(1개 이상) 또는 data-herb-needs-selection="single"(딱 1개)을 붙인다.

	상세 머리 버튼
	  .herb-detail-actions : 메뉴 고유 기능(.btn-herb-ghost) | 편집·복사·이동(.btn-group) | 링크 복사 · 삭제(맨 끝)
*/

.herb-toolbar .btn,
.herb-detail-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .375rem;
  white-space: nowrap;
}
/* 글자가 숨어 아이콘만 남아도(아이콘 줄높이 1) 글자 버튼·검색칸과 같은 높이를 지킨다 */
.herb-toolbar .btn,
.herb-toolbar .herb-tb-search > .form-control {
  min-height: calc(1.5em + .75rem + 2px);
}
.herb-detail-actions .btn {
  min-height: calc(1.5em + .5rem + 2px);
}
.herb-toolbar .btn > .bi,
.herb-detail-actions .btn > .bi {
  line-height: 1;
}

/* 구분선 */
.herb-tb-sep {
  flex: none;
  align-self: center;
  width: 1px;
  height: 1.375rem;
  margin: 0 .25rem;
  background: var(--bs-border-color);
}

/* 보조 버튼: 흰 바탕 + 테두리 */
.btn-herb {
  --bs-btn-color: var(--bs-body-color);
  --bs-btn-bg: var(--bs-body-bg);
  --bs-btn-border-color: var(--bs-border-color);
  --bs-btn-hover-color: var(--bs-emphasis-color);
  --bs-btn-hover-bg: var(--bs-tertiary-bg);
  --bs-btn-hover-border-color: var(--bs-border-color);
  --bs-btn-active-color: var(--bs-emphasis-color);
  --bs-btn-active-bg: var(--bs-secondary-bg);
  --bs-btn-active-border-color: var(--bs-border-color);
  --bs-btn-disabled-color: var(--bs-body-color);
  --bs-btn-disabled-bg: var(--bs-body-bg);
  --bs-btn-disabled-border-color: var(--bs-border-color);
  --bs-btn-disabled-opacity: .4;
}
.btn-group > .btn-herb.active,
.btn-group > .btn-herb[aria-pressed="true"] {
  color: var(--bs-primary-text-emphasis);
  background: var(--bs-primary-bg-subtle);
  border-color: var(--bs-primary-border-subtle);
  z-index: 1;
}

/* 삭제: 빨간 테두리만(채우지 않음) */
.btn-herb-danger {
  --bs-btn-color: var(--bs-danger-text-emphasis);
  --bs-btn-bg: var(--bs-body-bg);
  --bs-btn-border-color: var(--bs-danger-border-subtle);
  --bs-btn-hover-color: var(--bs-danger-text-emphasis);
  --bs-btn-hover-bg: var(--bs-danger-bg-subtle);
  --bs-btn-hover-border-color: var(--bs-danger-border-subtle);
  --bs-btn-active-color: var(--bs-danger-text-emphasis);
  --bs-btn-active-bg: var(--bs-danger-bg-subtle);
  --bs-btn-active-border-color: var(--bs-danger-border-subtle);
  --bs-btn-disabled-color: var(--bs-danger-text-emphasis);
  --bs-btn-disabled-bg: var(--bs-body-bg);
  --bs-btn-disabled-border-color: var(--bs-danger-border-subtle);
  --bs-btn-disabled-opacity: .4;
}

/* 메뉴 고유 기능: 테두리 없는 버튼 */
.btn-herb-ghost {
  --bs-btn-color: var(--bs-body-color);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: var(--bs-emphasis-color);
  --bs-btn-hover-bg: var(--bs-tertiary-bg);
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-color: var(--bs-emphasis-color);
  --bs-btn-active-bg: var(--bs-secondary-bg);
  --bs-btn-active-border-color: transparent;
  --bs-btn-disabled-opacity: .4;
}

/* 아이콘만 있는 버튼(정사각형): 아이콘 줄높이가 1 이라 높이도 정해 줘야 글자 버튼과 같은 높이가 된다 */
.btn-herb-icon {
  padding-left: 0;
  padding-right: 0;
  width: calc(1.5em + .75rem + 2px);
  height: calc(1.5em + .75rem + 2px);
}
.btn-sm.btn-herb-icon {
  width: calc(1.5em + .5rem + 2px);
  height: calc(1.5em + .5rem + 2px);
}

/* 선택 표시: "3개 선택 ×" */
.herb-tb-chip {
  display: inline-flex;
  align-items: center;
  gap: .125rem;
  height: calc(1.5em + .75rem + 2px);
  padding: 0 .125rem 0 .75rem;
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--bs-primary-text-emphasis);
  background: var(--bs-primary-bg-subtle);
  border-radius: var(--herb-btn-radius, 0);
}
.herb-tb-chip[hidden] {
  display: none;
}
.herb-tb-chip > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: var(--herb-radius-sm, 0);
}
.herb-tb-chip > button:hover {
  background: rgba(var(--bs-primary-rgb), .12);
}

/* 검색: 입력칸 안 돋보기 */
.herb-tb-search {
  position: relative;
  min-width: 0;
}
.herb-tb-search > .bi-search {
  position: absolute;
  top: 50%;
  left: .7rem;
  transform: translateY(-50%);
  color: var(--bs-secondary-color);
  pointer-events: none;
}
.herb-tb-search > .form-control {
  padding-left: 2.1rem;
}

/* 선택한 행 */
.herb-row-selected > td {
  --bs-table-bg-state: var(--bs-primary-bg-subtle);
  background-color: var(--bs-primary-bg-subtle);
}

/* 상세 머리 버튼: 조금 작게 */
.herb-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .25rem;
}
.herb-detail-actions .btn {
  --bs-btn-padding-y: .25rem;
  --bs-btn-padding-x: .625rem;
  --bs-btn-font-size: .875rem;
}
.herb-detail-actions .btn-herb-icon {
  padding-left: 0;
  padding-right: 0;
  width: calc(1.5em + .5rem + 2px);
  height: calc(1.5em + .5rem + 2px);
}

/*
	너비에 따라 줄어드는 목록 버튼영역: .herb-toolbar.herb-toolbar-fluid > .herb-tb-row > (.herb-tb-left | .herb-tb-center | .herb-tb-right)
	본문 칸 너비는 창 너비뿐 아니라 사이드바·폴더 트리 너비, 메뉴마다 다른 버튼 수·언어에 따라 달라지므로
	정해 둔 너비가 아니라 실제로 한 줄에 들어가는지 재서(js/herb-toolbar.js) data-herb-compact 단계를 정한다.
	  0 : 모든 버튼에 글자
	  1 : 가운데 묶음(가져오기·내보내기·베이스라인·고유 기능)은 아이콘만
	  2 : 왼쪽 묶음(편집·이동·복제·삭제)도 아이콘만(등록은 글자 유지)
	  3 : 가운데 묶음이 다음 줄로 내려가 왼쪽부터 놓이고, 검색이 남은 폭을 채움
	  아주 좁으면(460px 아래) 검색도 한 줄을 차지한다.
	아이콘만 남는 버튼은 글자를 .herb-tb-label 로 감싸고 title·aria-label 로 이름을 둔다.
*/
.herb-toolbar-fluid {
  container: herb-toolbar / inline-size;
}
.herb-tb-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
}
.herb-tb-left,
.herb-tb-center {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .25rem;
  min-width: 0;
}
.herb-tb-left {
  flex: 0 0 auto;
}
.herb-tb-center {
  flex: 1 1 auto;
  justify-content: center;
}
.herb-tb-right {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 10rem;
  margin-left: auto;
}
/* 오른쪽 묶음 안의 폼(상태 거르기·완료 보기 + 검색)은 한 줄로, 검색칸이 남는 폭을 쓴다 */
.herb-tb-right > form {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex: 1 1 auto;
  min-width: 0;
}
.herb-tb-right .herb-tb-search {
  flex: 1 1 auto;
  width: 16rem;
  min-width: 8rem;
}
.herb-tb-right .form-control {
  width: 100%;
}
/* 모달·숨은 폼은 줄 배치에 끼지 않게 */
.herb-tb-row .modal,
.herb-tb-row form.d-none {
  flex: none;
}

.herb-toolbar-fluid[data-herb-compact="1"] .herb-tb-center .herb-tb-label,
.herb-toolbar-fluid[data-herb-compact="2"] .herb-tb-label,
.herb-toolbar-fluid[data-herb-compact="3"] .herb-tb-label {
  display: none;
}
.herb-toolbar-fluid[data-herb-compact="1"] .herb-tb-center .btn:has(> .herb-tb-label),
.herb-toolbar-fluid[data-herb-compact="2"] .btn:has(> .herb-tb-label),
.herb-toolbar-fluid[data-herb-compact="3"] .btn:has(> .herb-tb-label) {
  --bs-btn-padding-x: .55rem;
}
.herb-toolbar-fluid[data-herb-compact="2"] .herb-tb-right .herb-tb-search {
  width: 12rem;
}
.herb-toolbar-fluid[data-herb-compact="3"] .herb-tb-center {
  order: 3;
  flex: 1 1 100%;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.herb-toolbar-fluid[data-herb-compact="3"] .herb-tb-right {
  flex: 1 1 9rem;
}
.herb-toolbar-fluid[data-herb-compact="3"] .herb-tb-right .herb-tb-search {
  width: auto;
}
@container herb-toolbar (max-width: 460px) {
  .herb-tb-left {
    flex-wrap: wrap;
  }
  .herb-tb-right {
    order: 4;
    flex: 1 1 100% !important;
    margin-left: 0;
  }
}

/*
	목록 화면 세로 간격(버튼영역 → "총 N 항목" → 표). 화면마다 mt-3·mb-3 이 겹쳐 30px 넘게 벌어지던 것을 한곳에서 맞춘다.
	  버튼영역 아래 4px · 건수 줄 위 4px / 아래 8px · 표 위 여백 없음
*/
.herb-toolbar-fluid {
  padding-bottom: .25rem !important;
  margin-bottom: 0 !important;
}
.herb-list-count {
  margin-top: .25rem !important;
  margin-bottom: .5rem !important;
}
.herb-list-count p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  font-size: .875rem;
  color: var(--bs-secondary-color);
}
.herb-list-count p strong {
  color: var(--bs-emphasis-color);
}
/* 건수 줄 바로 뒤의 표 영역 첫 줄 여백을 없앤다 */
.herb-list-count + .row,
.herb-list-count + .project-content-scroll > :first-child,
.herb-list-count + .mb-3 {
  margin-top: 0 !important;
}

/*
	화면 안 목록 나누기(js/herb-list.js): table[data-herb-list] 위에 건수·검색, 아래에 페이지당 표시·페이지 번호.
	  .herb-list-bar  : "총 N 항목"(왼쪽) · 검색칸(오른쪽)
	  .herb-list-foot : 페이지당 표시(왼쪽) · 페이지 번호(가운데)
*/
.herb-list-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem .75rem;
  margin-bottom: .5rem;
}
.herb-list-total {
  margin: 0;
  font-size: .875rem;
  color: var(--bs-secondary-color);
}
.herb-list-total strong {
  color: var(--bs-emphasis-color);
}
.herb-list-search {
  flex: 0 1 16rem;
  min-width: 10rem;
  margin-left: auto;
}
.herb-list-search > .form-control {
  width: 100%;
}
.herb-list-foot {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: calc(1.5em + .5rem + 2px);
  margin-top: .5rem;
}
.herb-list-foot[hidden] {
  display: none;
}
.herb-list-size {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  margin: 0;
  font-size: .875rem;
  color: var(--bs-secondary-color);
  white-space: nowrap;
}
.herb-list-size > .form-select {
  width: auto;
}
.herb-list-foot .pagination {
  --bs-pagination-border-radius: var(--herb-btn-radius, 0);
}
/* 좁은 곳(왼쪽 목록·좁은 화면)에서는 페이지당 표시를 위 줄로 */
@media (max-width: 575.98px) {
  .herb-list-size {
    position: static;
    transform: none;
    flex: 1 1 100%;
    justify-content: center;
  }
}
.herb-list-foot.is-narrow .herb-list-size {
  position: static;
  transform: none;
  flex: 1 1 100%;
  justify-content: center;
}

/*
	관리자 두 칸 화면(왼쪽 목록·트리 | 오른쪽 상세): 산출물 설정 · 조직도 관리 · 예약 관리
	  .herb-pane          : 흰 칸(테마 모양의 모서리·그림자를 따름)
	    .herb-pane-head   : 제목(.herb-pane-title, 아이콘은 강조색) · 보조 글(.herb-pane-sub) · 오른쪽 버튼(.herb-pane-actions)
	    .herb-pane-body   : 내용
	    .herb-pane-foot   : 저장 같은 마무리 버튼(저장 왼쪽 · 취소 오른쪽)
	    .herb-pane-empty  : "왼쪽에서 고르세요" 같은 빈 안내
	  .herb-pane-list > .herb-pane-list-item : 왼쪽 목록 한 줄(고른 줄은 강조색 옅은 바탕 + 왼쪽 선)
	  .herb-field-grid    : 라벨 | 값 두 줄 칸
*/
.herb-pane {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--herb-radius-lg, 0);
  box-shadow: var(--herb-card-shadow, none);
}
.herb-pane + .herb-pane {
  margin-top: 1rem;
}
.herb-pane-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  min-height: 3.25rem;
  padding: .5rem .875rem;
  border-bottom: 1px solid var(--bs-border-color);
}
.herb-pane-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  margin: 0;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--bs-emphasis-color);
}
.herb-pane-title > .bi {
  color: var(--bs-primary);
}
.herb-pane-title .herb-pane-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.herb-pane-sub {
  font-size: .8125rem;
  font-weight: 400;
  color: var(--bs-secondary-color);
}
.herb-pane-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  padding: 0 .4rem;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.25rem;
  color: var(--bs-secondary-color);
  background: var(--bs-tertiary-bg);
  border-radius: 50rem;
}
.herb-pane-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}
.herb-pane-actions .btn,
.herb-pane-foot .btn {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  white-space: nowrap;
}
.herb-pane-body {
  flex: 1 1 auto;
  min-width: 0;
  padding: .875rem;
}
.herb-pane-body.p-0 {
  padding: 0;
}
/* 마무리 줄: 저장(제출)은 왼쪽, 취소는 그 오른쪽 */
.herb-pane-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: .25rem;
  padding: .625rem .875rem;
  border-top: 1px solid var(--bs-border-color);
}
.herb-pane-empty {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 14rem;
  padding: 2rem 1rem;
  text-align: center;
  font-size: .875rem;
  color: var(--bs-secondary-color);
}
.herb-pane-empty > .bi {
  font-size: 2rem;
  line-height: 1;
  opacity: .45;
}
.herb-pane-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin: 1.25rem 0 .5rem;
}
.herb-pane-section:first-child {
  margin-top: 0;
}
.herb-pane-section-title {
  display: flex;
  align-items: center;
  gap: .375rem;
  margin: 0;
  font-size: .875rem;
  font-weight: 600;
  color: var(--bs-emphasis-color);
}
.herb-pane-section .herb-pane-actions .btn {
  --bs-btn-padding-y: .25rem;
  --bs-btn-padding-x: .625rem;
  --bs-btn-font-size: .875rem;
}

/* 왼쪽 목록 */
.herb-pane-list {
  margin: 0;
  padding: .375rem;
  list-style: none;
}
.herb-pane-list-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  padding: .5rem .625rem;
  color: var(--bs-body-color);
  text-decoration: none;
  border-radius: var(--herb-radius-sm, 0);
}
a.herb-pane-list-item:hover,
.herb-pane-list-item.is-link:hover {
  color: var(--bs-emphasis-color);
  background: var(--bs-tertiary-bg);
}
.herb-pane-list-item.active {
  font-weight: 600;
  color: var(--bs-primary-text-emphasis);
  background: var(--bs-primary-bg-subtle);
  box-shadow: inset 3px 0 0 var(--bs-primary);
}
.herb-pane-list-item > .bi {
  flex: none;
  color: var(--bs-secondary-color);
}
.herb-pane-list-item.active > .bi {
  color: var(--bs-primary);
}
.herb-pane-list-text {
  flex: 1 1 auto;
  min-width: 0;
}
.herb-pane-list-text > * {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.herb-pane-list-text small {
  font-size: .75rem;
  font-weight: 400;
  color: var(--bs-secondary-color);
}
.herb-pane-list-meta {
  flex: none;
  margin-left: auto;
  font-size: .75rem;
  font-weight: 400;
  color: var(--bs-secondary-color);
}
.herb-pane-list-filter {
  padding: .5rem .5rem 0;
}

/* 라벨 | 값 */
.herb-field-grid {
  display: grid;
  grid-template-columns: minmax(6rem, 8rem) minmax(0, 1fr);
  gap: .625rem 1rem;
  align-items: center;
}
.herb-field-grid > dt,
.herb-field-grid > .herb-field-label {
  margin: 0;
  font-size: .875rem;
  font-weight: 500;
  color: var(--bs-secondary-color);
}
.herb-field-grid > dd {
  min-width: 0;
  margin: 0;
}
@media (max-width: 575.98px) {
  .herb-field-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: .25rem;
  }
  .herb-field-grid > dd {
    margin-bottom: .5rem;
  }
}

/* 관리자 두 칸 화면의 폴더 트리(jstree) 칸과 지금 폴더 표시: 결재관리 · 파일 양식 관리 */
.herb-pane-tree {
  min-height: 18rem;
  max-height: calc(100vh - 16rem);
  overflow: auto;
  padding: .375rem .25rem;
}
.herb-pane-current {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  max-width: 100%;
  padding: .125rem .5rem;
  font-size: .8125rem;
  color: var(--bs-secondary-color);
  background: var(--bs-tertiary-bg);
  border-radius: var(--herb-radius-sm, 0);
}
.herb-pane-current strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  color: var(--bs-emphasis-color);
}
.herb-pane-hint {
  padding: .5rem .875rem;
  font-size: .75rem;
  color: var(--bs-secondary-color);
  border-top: 1px solid var(--bs-border-color);
}

/*
	보고 관리 과제 묶음(js/herb-report-admin.js): section.herb-report-project 를 칸으로.
	  .herb-report-bar  : 과제 찾기 · 항목 없는 과제도 보기 · 표시 건수
	  .herb-report-head : 과제 이름 · 건수 칩 · 등록하기 등
	  .herb-report-body : 항목 표(넓으면 칸 안에서만 가로로 굴림)
*/
.herb-report-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1rem;
  margin-bottom: .75rem;
}
.herb-report-bar .herb-tb-search {
  flex: 0 1 18rem;
  min-width: 10rem;
}
.herb-report-summary {
  margin-left: auto;
  font-size: .8125rem;
  color: var(--bs-secondary-color);
}
.herb-report-project {
  margin-bottom: 1rem;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--herb-radius-lg, 0);
  box-shadow: var(--herb-card-shadow, none);
}
.herb-report-project[hidden] {
  display: none;
}
.herb-report-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .375rem .75rem;
  padding: .5rem .875rem;
  border-bottom: 1px solid var(--bs-border-color);
}
.herb-report-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bs-emphasis-color);
}
.herb-report-title > .bi {
  color: var(--bs-primary);
}
.herb-report-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
}
.herb-report-chip {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .125rem .5rem;
  font-size: .8125rem;
  color: var(--bs-secondary-color);
  background: var(--bs-tertiary-bg);
  border-radius: 50rem;
}
.herb-report-chip strong,
.herb-report-chip .h4 {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--bs-emphasis-color);
}
.herb-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  margin-left: auto;
}
.herb-report-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  white-space: nowrap;
}
/* 넓은 표의 최소 너비가 본문 칸 밖으로 번져 본문 칸 전체가 왼쪽 메뉴 아래로 밀리지 않게(contain) */
.herb-report-body {
  contain: inline-size;
  overflow-x: auto;
  padding: .75rem .875rem;
}
.herb-report-body > :last-child,
.herb-report-body > div > :last-child {
  margin-bottom: 0;
}
.herb-report-body .table th {
  white-space: nowrap;
  word-break: keep-all;
}
.herb-report-body .table td {
  word-break: keep-all;
}
.herb-report-project.is-empty .herb-report-body {
  padding-top: .5rem;
  padding-bottom: .5rem;
}
.herb-report-none {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--bs-secondary-color);
}
.herb-report-none[hidden] {
  display: none;
}

/* 설정 화면(보안·라이선스·이메일·과제 설정 등): 너무 넓게 퍼지지 않게 */
.herb-settings {
  max-width: 64rem;
}
.herb-settings > .herb-pane + .herb-pane,
.herb-settings + .herb-settings {
  margin-top: 1rem;
}

/* 설정 목록(유형·상태·우선순위 등) 행의 순서·삭제 버튼: 아이콘과 글자 사이, 한 줄 */
.table td > .btn-herb,
.table td > .btn-herb-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  white-space: nowrap;
}
.table td > .btn-herb-icon + .btn-herb-icon {
  margin-left: .125rem;
}
