/* =========================================================
   bootstrap-theme.css
   Bootstrap 5.3 위에 DBS solution 브랜드 컬러/타이포를 입히는 오버라이드 레이어.
   Sass 빌드 없이 CDN/로컬 배포된 bootstrap.min.css 위에 이 파일을 "나중에" 링크하면
   부트스트랩 각 컴포넌트가 내부적으로 쓰는 CSS 변수(--bs-btn-bg 등)만 다시 지정해서
   브랜드 색으로 바뀝니다. (컴포넌트 구조/동작은 100% 부트스트랩 기본 그대로)
   ========================================================= */

:root{
  /* 기존 디자인 토큰 (reset.css와 동일한 값) */
  --navy:#0A2258;
  --navy-light:#14315C;
  --navy-dark:#071633; /* 사이드바 배경 — 헤더 검색바(--navy)보다 한 톤 더 짙게 */
  --navy-th:#1B2847; /* 테이블 th 전용 — --navy와 동일 색상/명도지만 채도만 낮춤(H221°,L19% 유지, S80%→45%).
                         .btn-navy("저장 후 다음" 등)와 색이 똑같아 헷갈리던 문제를 분리해서 해결 */
  --blue-dot:#7C93C7; /* 채도 낮은 블루톤 — 라벨 앞 불릿 아이콘 전용 */
  --gray-90:#1E2124;
  --gray-70:#464C53;
  --gray-60:#58616A;
  --gray-50:#6D7882;
  --gray-40:#8A949E;
  --gray-30:#B1B8BE;
  --gray-20:#CDD1D5;
  --gray-10:#E6E8EA;
  --gray-5:#F4F5F6;

  /* 부트스트랩 전역 변수 재정의 */
  --bs-body-font-family:"Pretendard","Noto Sans KR",-apple-system,BlinkMacSystemFont,sans-serif;
  --bs-body-bg:var(--gray-5);
  --bs-body-color:var(--gray-90);
  --bs-border-radius:.5rem;
  --bs-border-radius-sm:.4rem;
  --bs-border-radius-lg:.65rem;
  --bs-link-color:#256EF4;
  --bs-link-hover-color:#184FC0;
  --bs-primary:#256EF4;
  --bs-primary-rgb:37,110,244;

  /* 시맨틱 컬러(뱃지/텍스트/배경 유틸리티가 참조)도 기존 토큰에 맞춰 재정의 */
  --bs-secondary:#58616A;
  --bs-secondary-rgb:88,97,106;
  --bs-danger:#DE3412;
  --bs-danger-rgb:222,52,18;
  --bs-warning:#C78500;
  --bs-warning-rgb:199,133,0;
  --bs-success:#228738;
  --bs-success-rgb:34,135,56;
  --bs-info:#0B78CB;
  --bs-info-rgb:11,120,203;
}

body{ font-size:14px; }

/* =========================================================
   버튼 변형 — 부트스트랩 문서가 권장하는 "컴포넌트별 로컬 변수 재정의" 방식.
   .btn-primary 등 기본 제공 클래스는 이 값만 바꿔주면 hover/active/disabled까지
   전부 같은 룰로 자동 계산됩니다.
   ========================================================= */
.btn-primary{
  --bs-btn-bg:#256EF4;
  --bs-btn-border-color:#256EF4;
  --bs-btn-hover-bg:#184FC0;
  --bs-btn-hover-border-color:#184FC0;
  --bs-btn-active-bg:#184FC0;
  --bs-btn-active-border-color:#184FC0;
  --bs-btn-disabled-bg:#256EF4;
  --bs-btn-disabled-border-color:#256EF4;
  --bs-btn-focus-shadow-rgb:37,110,244;
}

/* 태그형 pill 버튼 3종 — 블루(파랑)/인디고/시안처럼 색상(hue)이 제각각이라 한 세트로 안 보이던 문제를 수정.
   3개 모두 --bs-primary(#256EF4)와 동일한 톤(H≈219°)으로 통일하고, Bootstrap이 hover/active 음영을 만들 때
   쓰는 방식과 같은 "블랙 혼합(shade-color)" 비율만 다르게 줘서 명도로만 구분되게 구성.
   정책 자료=원본 primary(가장 밝음), 보도 자료=15% 어둡게, FAQ=32% 어둡게. 흰 글자 대비는 전부 4.5:1 이상. */
.btn-tag-policy{
  --bs-btn-color:#fff;
  --bs-btn-bg:#256EF4;
  --bs-btn-border-color:#256EF4;
  --bs-btn-hover-color:#fff;
  --bs-btn-hover-bg:#184FC0;
  --bs-btn-hover-border-color:#184FC0;
  --bs-btn-active-color:#fff;
  --bs-btn-active-bg:#184FC0;
  --bs-btn-active-border-color:#184FC0;
  --bs-btn-disabled-color:#fff;
  --bs-btn-disabled-bg:#256EF4;
  --bs-btn-disabled-border-color:#256EF4;
  --bs-btn-focus-shadow-rgb:37,110,244;
}
.btn-tag-press{
  --bs-btn-color:#fff;
  --bs-btn-bg:#1F5ECF;
  --bs-btn-border-color:#1F5ECF;
  --bs-btn-hover-color:#fff;
  --bs-btn-hover-bg:#1A50B0;
  --bs-btn-hover-border-color:#1A50B0;
  --bs-btn-active-color:#fff;
  --bs-btn-active-bg:#1A50B0;
  --bs-btn-active-border-color:#1A50B0;
  --bs-btn-disabled-color:#fff;
  --bs-btn-disabled-bg:#1F5ECF;
  --bs-btn-disabled-border-color:#1F5ECF;
  --bs-btn-focus-shadow-rgb:31,94,207;
}
.btn-tag-faq{
  --bs-btn-color:#fff;
  --bs-btn-bg:#194BA6;
  --bs-btn-border-color:#194BA6;
  --bs-btn-hover-color:#fff;
  --bs-btn-hover-bg:#15408D;
  --bs-btn-hover-border-color:#15408D;
  --bs-btn-active-color:#fff;
  --bs-btn-active-bg:#15408D;
  --bs-btn-active-border-color:#15408D;
  --bs-btn-disabled-color:#fff;
  --bs-btn-disabled-bg:#194BA6;
  --bs-btn-disabled-border-color:#194BA6;
  --bs-btn-focus-shadow-rgb:25,75,166;
}

/* 네이비 solid — 페이지당 1개 정도의 핵심 액션(헤더 검색, 저장 후 다음 등) */
.btn-navy{
  --bs-btn-color:#fff;
  --bs-btn-bg:var(--navy);
  --bs-btn-border-color:var(--navy);
  --bs-btn-hover-color:#fff;
  --bs-btn-hover-bg:var(--navy-light);
  --bs-btn-hover-border-color:var(--navy-light);
  --bs-btn-active-color:#fff;
  --bs-btn-active-bg:var(--navy-light);
  --bs-btn-active-border-color:var(--navy-light);
  --bs-btn-disabled-color:#fff;
  --bs-btn-disabled-bg:var(--navy);
  --bs-btn-disabled-border-color:var(--navy);
  --bs-btn-focus-shadow-rgb:10,34,88;
}

/* 네이비 outline — 반복되는 보조 액션(Excel 다운로드, 의견 공유 등) */
.btn-outline-navy{
  --bs-btn-color:var(--navy);
  --bs-btn-border-color:var(--navy);
  --bs-btn-hover-color:var(--navy);
  --bs-btn-hover-bg:rgba(10,34,88,.06);
  --bs-btn-hover-border-color:var(--navy);
  --bs-btn-active-color:var(--navy);
  --bs-btn-active-bg:rgba(10,34,88,.1);
  --bs-btn-active-border-color:var(--navy);
  --bs-btn-disabled-color:var(--navy);
  --bs-btn-disabled-border-color:var(--navy);
  --bs-btn-focus-shadow-rgb:10,34,88;
}

/* 회색/빨강 버튼도 정확한 브랜드 톤으로 맞춤(부트스트랩 기본값과 근소하게 다름) */
.btn-outline-secondary{
  --bs-btn-color:var(--gray-60);
  --bs-btn-border-color:var(--gray-20);
  --bs-btn-hover-color:var(--gray-90);
  --bs-btn-hover-bg:var(--gray-5);
  --bs-btn-hover-border-color:var(--gray-20);
  --bs-btn-active-color:var(--gray-90);
  --bs-btn-active-bg:var(--gray-5);
  --bs-btn-active-border-color:var(--gray-20);
  --bs-btn-disabled-color:var(--gray-40);
  --bs-btn-disabled-border-color:var(--gray-20);
}
.btn-outline-danger{
  --bs-btn-color:#DE3412;
  --bs-btn-border-color:#DE3412;
  --bs-btn-hover-bg:#DE3412;
  --bs-btn-hover-border-color:#DE3412;
  --bs-btn-active-bg:#DE3412;
  --bs-btn-active-border-color:#DE3412;
  --bs-btn-disabled-color:#DE3412;
  --bs-btn-disabled-border-color:#DE3412;
  --bs-btn-focus-shadow-rgb:222,52,18;
}
.btn-danger{
  --bs-btn-bg:#DE3412;
  --bs-btn-border-color:#DE3412;
  --bs-btn-hover-bg:#BC2C0F;
  --bs-btn-hover-border-color:#BC2C0F;
  --bs-btn-active-bg:#BC2C0F;
  --bs-btn-active-border-color:#BC2C0F;
  --bs-btn-focus-shadow-rgb:222,52,18;
}

/* 미리보기 버튼 (기존 #C1440E 유지) */
.btn-preview{
  --bs-btn-color:#fff;
  --bs-btn-bg:#C1440E;
  --bs-btn-border-color:#C1440E;
  --bs-btn-hover-color:#fff;
  --bs-btn-hover-bg:#A53A0C;
  --bs-btn-hover-border-color:#A53A0C;
  --bs-btn-focus-shadow-rgb:193,68,14;
}

/* =========================================================
   카드 배경 — 기본값이 body 배경(--bs-body-bg)과 같은 회색이라
   페이지와 카드 구분이 안 돼서 흰색으로 고정
   ========================================================= */
.card{
  --bs-card-bg:#ffffff;
}

/* =========================================================
   좌측 사이드바 — 흰 배경 → 짙은 네이비(검색바 var(--navy)보다 더 어둡게).
   액티브 메뉴는 상대적으로 밝은 블루로 대비, 텍스트도 전부 밝은 톤으로 반전.
   ========================================================= */
.sidebar-panel{
  background:var(--navy-dark);
  border-right:1px solid rgba(255,255,255,.06);
  position:relative;
  transition:width .2s ease;
  overflow:hidden;
}
.sidebar-panel .text-secondary{ color:rgba(255,255,255,.55) !important; }
.sidebar-panel .text-navy{ color:#fff !important; }
.sidebar-panel .text-navy svg path{ stroke:#fff; }
.sidebar-contact{ border-top:1px solid rgba(255,255,255,.1) !important; }

.sidebar-brand-label{
  margin-top:10px;
  font-size:17px;
  font-weight:800;
  color:#fff;
  letter-spacing:-.2px;
  word-break:keep-all;
}

.sidebar-nav{
  --bs-nav-pills-link-active-color:#fff;
  --bs-nav-pills-link-active-bg:#256EF4;
  --bs-nav-link-color:#EAF0FF;
  --bs-nav-link-hover-color:#fff;
}
.sidebar-nav .nav-link{ font-weight:700; border-radius:.6rem; }
.sidebar-nav .nav-link:hover:not(.disabled){ background:rgba(255,255,255,.08); }
.sidebar-nav .nav-link.disabled{ color:rgba(255,255,255,.4); cursor:default; }
.sidebar-nav .nav-link svg{ flex-shrink:0; }

/* =========================================================
   좌측 LNB 접기/펼치기 토글 — 사이드바 우측 상단에 원형 버튼 배치.
   버튼 클릭 시 #appShell에 .sidebar-collapsed 클래스를 토글(JS)하고,
   그 클래스 유무에 따라 사이드바 폭/라벨 노출 여부가 CSS로 전환된다.
   ========================================================= */
.sidebar-toggle{
  position:absolute;
  top:14px;
  right:14px;
  width:26px;
  height:26px;
  flex-shrink:0;
  border:1px solid rgba(255,255,255,.16);
  border-radius:50%;
  background:rgba(255,255,255,.06);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  z-index:2;
  transition:background .15s ease;
}
.sidebar-toggle:hover{ background:rgba(255,255,255,.16); }
.sidebar-toggle svg{ transition:transform .2s ease; }

#appShell.sidebar-collapsed .sidebar-panel{
  width:76px !important;
}
#appShell.sidebar-collapsed .sidebar-toggle{
  position:static;
  margin:0 auto 1rem;
}
#appShell.sidebar-collapsed .sidebar-toggle svg{
  transform:rotate(180deg);
}
#appShell.sidebar-collapsed .sidebar-logo,
#appShell.sidebar-collapsed .sidebar-brand-label,
#appShell.sidebar-collapsed .sidebar-nav .nav-label,
#appShell.sidebar-collapsed .sidebar-contact{
  display:none;
}
#appShell.sidebar-collapsed .sidebar-nav .nav-link{
  justify-content:center;
  padding-left:0;
  padding-right:0;
}

/* =========================================================
   nav-tabs — 기존 밑줄 탭 룩(박스형 탭 아님)을 그대로 재현.
   data-bs-toggle="tab"으로 진짜 부트스트랩 탭 컴포넌트 사용.
   ========================================================= */
.nav-tabs{ border-bottom:1px solid var(--gray-10); }
.nav-tabs .nav-link{
  border:none; border-bottom:2px solid transparent; border-radius:0;
  color:var(--gray-40); font-weight:700; font-size:14px;
  padding:14px 2px; margin-right:24px;
}
.nav-tabs .nav-link:hover{ border-color:transparent; color:var(--gray-70); isolation:auto; }
.nav-tabs .nav-link.active{
  color:#256EF4; background:transparent;
  border-color:transparent transparent #256EF4;
}

/* =========================================================
   테이블 헤더 — 기존처럼 네이비 배경 + 흰 글자
   ========================================================= */
.table-navy thead tr{ background:var(--navy-th); }
.table-navy thead th{
  color:#fff; background:var(--navy-th); font-weight:700; border-bottom-color:var(--navy-th); vertical-align:middle;
  /* table-sm 등 상위 컴포넌트의 --bs-table-padding-y 값과 무관하게 헤더 높이를 테이블마다 동일하게 고정 */
  padding-top:.75rem !important; padding-bottom:.75rem !important;
}

/* th 텍스트에 밑줄처럼 보이는 헤더 하단 보더 제거 — 유틸리티 클래스(.text-decoration-underline 등)보다
   우선하도록 !important로 명시 (부트스트랩 텍스트 유틸리티는 기본적으로 !important를 사용함) */
.table thead th{ text-decoration:none !important; border-bottom-width:0 !important; }

/* =========================================================
   Flatpickr 데이트피커 — 기본 하늘색 대신 브랜드 블루로
   ========================================================= */
.js-daterange{ cursor:pointer; background:#fff; }
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover{
  background:#256EF4; border-color:#256EF4;
}
.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)){
  box-shadow:-10px 0 0 #256EF4;
}
.flatpickr-day.inRange,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.nextMonthDay.inRange{
  background:#EFF4FF; border-color:#EFF4FF;
  box-shadow:-5px 0 0 #EFF4FF,5px 0 0 #EFF4FF;
}
.flatpickr-day.inRange:nth-child(7n+1){ box-shadow:-2px 0 0 #EFF4FF,5px 0 0 #EFF4FF; }
.flatpickr-day:hover,.flatpickr-day:focus{ background:#EFF4FF; border-color:#EFF4FF; }
.flatpickr-day.today{ border-color:var(--navy); }
.flatpickr-day.today:hover{ border-color:var(--navy); background:var(--navy); color:#fff; }
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year{ color:var(--navy); font-weight:700; }
.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg{ fill:#256EF4; }

/* =========================================================
   검색창 강조 — 필터 줄에서 검색 인풋만 살짝 눈에 띄게(연한 블루 톤)
   ========================================================= */
.search-accent .input-group-text{
  background:#EFF4FF;
  border-color:#BFD3FB;
  color:#256EF4;
}
.search-accent .form-control{
  border-color:#BFD3FB;
}
.search-accent .form-control:focus{
  border-color:#256EF4;
  box-shadow:0 0 0 .2rem rgba(37,110,244,.15);
}
.search-accent .form-control::placeholder{
  color:#8FA8E0;
}

/* =========================================================
   모달 팝업 인풋 — 테두리 없는 배경 채움형 스타일(연한 회색 박스 + 라운드)
   ========================================================= */
.modal .form-control,
.modal .form-select{
  background-color:var(--gray-5);
  border-color:var(--gray-5);
  border-radius:var(--bs-border-radius-lg);
}
.modal .form-control{
  padding:.7rem 1rem;
}
.modal .form-select{
  padding:.7rem 2.25rem .7rem 1rem;
}
.modal .form-control:focus,
.modal .form-select:focus{
  background-color:#fff;
  border-color:var(--navy);
  box-shadow:0 0 0 .15rem rgba(10,34,88,.12);
}
.modal .form-control::placeholder{
  color:var(--gray-40);
}

/* =========================================================
   입력 폼에 이미 채워진 텍스트를 좀 더 굵게 (플레이스홀더는 제외)
   + 모달/팝업 타이틀 굵게
   ========================================================= */
.form-control{ font-weight:600; color:var(--gray-90); }
.form-control::placeholder{ font-weight:400; }
.box-readonly{ font-weight:600; }
.modal-title{ font-weight:700 !important; }

/* =========================================================
   필수입력 표시 — 라벨에 <span>*</span>를 직접 넣지 않고, 클래스만 추가하면
   빨간 별표가 자동으로 붙도록 처리(마크업에서 별표를 매번 타이핑/색칠할 필요 없음)
   사용법: <label class="form-label required">타이틀1</label>
   ========================================================= */
.form-label.required::after{
  content:" *";
  color:var(--bs-danger);
}

/* =========================================================
   모달 안쪽 여백 — 기본값(16px)이 답답해서 넉넉하게
   ========================================================= */
.modal-content{
  --bs-modal-padding:1.5rem;            /* 모달 바디: 16px → 24px */
  --bs-modal-header-padding:1.25rem 1.5rem; /* 헤더: 상하 20px, 좌우 24px */
}
.modal-footer{
  padding:1.25rem 1.5rem;               /* 푸터도 헤더와 동일한 여백으로 통일 */
}

/* =========================================================
   자잘한 유틸리티
   ========================================================= */
.cursor-pointer{ cursor:pointer; }
.fs-15{ font-size:15px; }
.fs-14{ font-size:14px; }
.fs-13{ font-size:13px; }
.fs-12{ font-size:12px; }
.text-navy{ color:var(--navy) !important; }
.box-readonly{
  background:var(--gray-5);
  border:1px solid var(--bs-border-color);
  border-radius:var(--bs-border-radius);
  padding:.6rem .75rem;
  font-size:12.5px;
  color:var(--gray-60);
  line-height:1.55;
}
.dropzone{
  border:2px dashed var(--gray-30) !important;
  background:var(--gray-5);
  color:var(--gray-50);
}
.timeline-dot{
  width:11px;height:11px;border-radius:50%;flex-shrink:0;margin-top:4px;
}
.editor-body{
  min-height:160px; padding:16px 18px; font-size:13.5px; line-height:1.7;
  color:var(--gray-90); outline:none;
}
.editor-body ul{ padding-left:18px; }
.editor-body ul>li{ color:var(--gray-70); }

/* =========================================================
   에러 페이지(500 등) — 로그인 페이지와 동일한 카드 레이아웃 위에
   아이콘 뱃지 + 큰 숫자 + 코드블록 스타일 메시지를 얹는 구성.
   일러스트는 SVG 대신 Font Awesome 아이콘으로 구성(다른 페이지와 아이콘 소스 통일).
   ========================================================= */
.error-icon-circle{
  position:relative;
  width:160px;
  height:160px;
  margin:0 auto;
  border-radius:50%;
  background:#EEF3FF;
  display:flex;
  align-items:center;
  justify-content:center;
}
.error-icon-circle::before{
  content:"";
  position:absolute;
  width:118px;
  height:118px;
  border-radius:50%;
  background:#E1EAFB;
}
.error-icon-circle>i{
  position:relative;
  font-size:2.75rem;
  color:var(--navy);
}
.error-icon-badge{
  position:absolute;
  top:6px;
  right:6px;
  width:40px;
  height:40px;
  border-radius:50%;
  background:var(--bs-danger);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1rem;
  border:3px solid #fff;
}
.error-code{
  font-size:5.5rem;
  font-weight:800;
  line-height:1;
  letter-spacing:-.02em;
  color:var(--navy);
}
.error-msg-box{
  background:var(--gray-5);
  border:1px solid var(--gray-10);
  border-radius:var(--bs-border-radius-sm);
  padding:.9rem 1.1rem;
  font-family:"SFMono-Regular",Consolas,"Liberation Mono",Menlo,monospace;
  font-size:.8rem;
  color:var(--gray-60);
  text-align:left;
}

/* =========================================================
   모달 사이즈 3단계 — bootstrap 공식 Optional sizes 규격을 그대로 사용
   (https://getbootstrap.kr/docs/5.0/components/modal/ 참고)
     작게 : .modal-sm  → max-width 300px  (bootstrap 기본 제공)
     보통 : 클래스 없음  → max-width 500px  (bootstrap 기본값)
     크게 : .modal-lg  → max-width 800px  (bootstrap 기본 제공)
   별도의 커스텀 CSS 없이 bootstrap 내장 클래스만으로 동작하며,
   패딩·폰트 등 내부 스타일은 bootstrap 기본값을 그대로 따른다.
   사용법: .modal-dialog 요소에 .modal-sm 또는 .modal-lg 클래스를
   추가하면 그 모달이 해당 사이즈로 로드된다. (org_info.html의
   show.bs.modal 리스너 참고)

   * bootstrap 기본 .modal-sm은 576px(sm breakpoint) 이상에서만
     max-width:300px가 적용되고, 그보다 좁은 화면(모바일)에서는
     크기 클래스와 상관없이 항상 꽉 찬 폭으로 표시된다.
     작은사이즈는 화면 폭과 관계없이 처음부터(0px부터) max-width
     300px로 시작하도록 아래에서 별도로 고정한다.
   ========================================================= */
.modal-dialog.modal-sm{
  max-width:300px;
  margin-left:auto;
  margin-right:auto;
}

/* =========================================================
   확인 팝업(Confirm Popup) 공통 컴포넌트
   - "정말 진행하시겠습니까?" 류의 확인/취소 팝업에서 재사용하는 스타일.
   - 특정 페이지에 종속되지 않은 범용 컴포넌트 — 필요한 곳마다
     아래 구조를 그대로 붙여넣어 사용한다.

   사용법 예시:
   <div class="modal fade" id="confirmModal" tabindex="-1" aria-hidden="true">
     <div class="modal-dialog modal-confirm modal-dialog-centered">
       <div class="modal-content">
         <button type="button" class="btn-close confirm-close" data-bs-dismiss="modal" aria-label="Close"></button>
         <div class="confirm-icon"><i class="fa-solid fa-check"></i></div>
         <h5 class="confirm-title">정말 진행하시겠습니까?</h5>
         <p class="confirm-desc">변경 내용은 저장되며, 나중에 다시 확인하실 수 있습니다.</p>
         <div class="confirm-actions">
           <button type="button" class="btn btn-outline-secondary" data-bs-dismiss="modal">취소</button>
           <button type="button" class="btn btn-navy">확인</button>
         </div>
       </div>
     </div>
   </div>
   ========================================================= */
.modal-confirm{ max-width:420px; }
.modal-confirm .modal-content{
  border:none;
  border-radius:1.25rem;
  padding:2rem 2rem 1.75rem;
  position:relative;
  box-shadow:0 20px 50px rgba(10,34,88,.14);
}
.modal-confirm .confirm-close{
  position:absolute;
  top:1.5rem;
  right:1.5rem;
}
.modal-confirm .confirm-icon{
  width:40px;
  height:40px;
  border-radius:50%;
  background:#EFF4FF;
  color:var(--navy);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:.95rem;
  margin-bottom:1.25rem;
}
.modal-confirm .confirm-title{
  font-size:1.2rem;
  font-weight:800;
  color:var(--navy-th);
  margin:0 0 .5rem;
  padding-right:2rem; /* 닫기(X) 버튼과 겹치지 않도록 */
}
.modal-confirm .confirm-desc{
  font-size:.9rem;
  color:var(--gray-60);
  line-height:1.6;
  margin:0 0 1.75rem;
}
.modal-confirm .confirm-actions{
  display:flex;
  gap:.75rem;
}
.modal-confirm .confirm-actions .btn{
  flex:1;
  border-radius:.65rem;
  padding:.65rem 1rem;
  font-weight:700;
}

/* =========================================================
   메뉴 설정 트리(Menu Tree) 공통 컴포넌트
   - 권한별 메뉴 접근 범위를 체크박스 트리로 설정하는 팝업에서 재사용.
   - 상위(그룹) 체크박스는 하위 항목 체크 상태에 따라 자동으로
     체크/해제/부분선택(indeterminate, "－") 상태를 갖는다.
   - 사용법: .menu-tree 안에 .menu-tree-item(단일 항목) 또는
     .menu-tree-group( .menu-tree-item + .menu-tree-children ) 을
     배치하고, 페이지 하단 스크립트의 initMenuTree()를 그대로 호출한다.
   ========================================================= */
.menu-tree{
  border:1px solid var(--gray-10);
  border-radius:.75rem;
  padding:.75rem 1.25rem;
  max-height:420px;
  overflow-y:auto;
}
.menu-tree-item{
  display:flex;
  align-items:center;
  gap:.55rem;
  padding:.45rem 0;
}
.menu-tree-item .form-check-input{
  margin-top:0;
  flex-shrink:0;
}
.menu-tree-item .form-check-input:checked,
.menu-tree-item .form-check-input:indeterminate{
  background-color:var(--navy);
  border-color:var(--navy);
}
.menu-tree-icon{
  width:16px;
  text-align:center;
  font-size:.8rem;
  color:var(--gray-30);
  flex-shrink:0;
}
.menu-tree-group > .menu-tree-item .menu-tree-icon{
  color:#D98A2B; /* 그룹(폴더) 아이콘 — 리프 항목과 구분되는 주황 톤 */
  cursor:pointer; /* 폴더 아이콘 클릭으로도 펼치기/접기 화살표와 동일하게 토글됨 */
}
/* 폴더 아이콘 자체가 data-bs-toggle="collapse" 트리거라 bootstrap이
   펼쳐졌을 때/접혔을 때 .collapsed 클래스를 자동으로 붙였다 뗐다 한다.
   기본 마크업은 열린 폴더(fa-folder-open) 아이콘이며, 접힌 상태에서만
   닫힌 폴더(fa-folder, \f07b) 글리프로 바꿔 보여준다. */
.menu-tree-group > .menu-tree-item .menu-tree-icon.collapsed::before{
  content:"\f07b";
}
.menu-tree-label{
  font-size:.9rem;
  color:var(--gray-90);
  cursor:pointer;
}
.menu-tree-group > .menu-tree-item .menu-tree-label{
  font-weight:700;
}
.menu-tree-children{
  margin:.1rem 0 .1rem 1.55rem;
  padding-left:1rem;
  border-left:1px dashed var(--gray-20);
}

/* 2depth·3depth 그룹 공통 펼치기/접기 토글 버튼
   (bootstrap collapse 사용 — data-bs-toggle="collapse"로 하위 목록을 열고 닫는다) */
.menu-tree-toggle{
  width:16px;
  height:16px;
  flex-shrink:0;
  border:none;
  background:none;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--gray-40);
}
.menu-tree-toggle i{
  font-size:.7rem;
  transition:transform .15s ease;
}
.menu-tree-toggle.collapsed i{
  transform:rotate(-90deg); /* 접힌 상태 — 오른쪽을 향하는 화살표로 회전 */
}
.menu-tree-toggle-spacer{
  width:16px;
  flex-shrink:0;
}

/* =========================================================
   라벨 앞 블루톤 불릿 아이콘
   사용법: <label class="form-label label-dot">타이틀</label>
   ========================================================= */
.label-dot{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
}
.label-dot::before{
  content:"";
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--blue-dot);
  flex-shrink:0;
}


/* =========================================================
   SweetAlert2 — 폰트/모서리/타이포만 브랜드에 맞춤 (버튼은 alert.js에서 Bootstrap 클래스 지정)
   ========================================================= */
.swal2-container{ font-family:var(--bs-body-font-family); }
.dbs-swal{ border-radius:var(--bs-border-radius-lg); padding-bottom:1.5rem; }
.dbs-swal .swal2-title{ font-size:1.15rem; font-weight:700; color:var(--navy); }
.dbs-swal .swal2-html-container{ font-size:14px; color:var(--gray-60); }

/* =========================================================
   로그인/회원 화면 공통 (로그인 · 아이디 찾기 · 비밀번호 찾기 · 회원가입)
   디자이너 시안 sample/login.html 기준
   ========================================================= */
.auth-card{ max-width:440px; width:100%; overflow:hidden; }
.auth-card.auth-card-wide{ max-width:560px; }
.auth-card .input-group-text i{ font-size:.85rem; }

/* 카드 하단 링크 바 (아이디 찾기 / 비밀번호 찾기 등) */
.auth-links{ display:flex; background:#575757; }
.auth-links a{ flex:1; text-align:center; padding:1rem 0; text-decoration:none; font-weight:700; font-size:13px; color:#EAF0FF; }
.auth-links a + a{ border-left:1px solid rgba(255,255,255,.18); }
.auth-links a:hover{ background:rgba(255,255,255,.06); }

/* 조회 결과 박스 (아이디 찾기 결과) */
.auth-result{ background:var(--gray-5); border-radius:var(--bs-border-radius); padding:1rem; text-align:center; font-size:14px; color:var(--gray-70); }
.auth-result strong{ color:var(--navy); font-size:1.1rem; }

/* dbs110.css는 type="text"만 흰 배경 → password/email/tel도 동일하게 맞춤, 비활성 select는 회색 */
.auth-card .form-control{ background-color:#fff !important; }
.auth-card .form-select:disabled{ background-color:var(--gray-5) !important; color:var(--gray-40); }

/* =========================================================
   사이드바 2depth 메뉴 ((연계) 정책뉴스/국민신문고FAQ 하위)
   ========================================================= */
.sidebar-sub{ margin:2px 0 4px; padding-left:34px; }
.sidebar-sub .nav-link{ font-size:13px; font-weight:500; padding:.35rem .75rem; color:rgba(234,240,255,.75); border-radius:.5rem; }
.sidebar-sub .nav-link:hover{ color:#fff; background:rgba(255,255,255,.08); }
.sidebar-sub .nav-link.active{ color:#fff; background:rgba(37,110,244,.35); }
#appShell.sidebar-collapsed .sidebar-sub{ display:none; }

/* =========================================================
   대시보드 (UI-DBS-010)
   ========================================================= */
/* 현황 카운터 카드 */
.stat-item{ position:relative; display:flex; align-items:center; gap:14px; padding:14px 16px;
  border:1px solid var(--gray-10); border-radius:var(--bs-border-radius-lg); background:#fff;
  text-decoration:none; color:inherit; transition:border-color .15s, box-shadow .15s; }
.stat-item:hover{ border-color:var(--bs-primary); box-shadow:0 4px 12px rgba(37,110,244,.1); color:inherit; }
.stat-icon{ width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; }
.stat-icon.is-blue{ background:#E8F0FE; color:#256EF4; }
.stat-icon.is-green{ background:#E6F4EA; color:#228738; }
.stat-icon.is-orange{ background:#FEF1E2; color:#E07B00; }
.stat-icon.is-purple{ background:#F0EBFC; color:#7B4FD8; }
.stat-icon.is-pink{ background:#FDE8EF; color:#D6336C; }
.stat-body{ flex:1; text-align:right; line-height:1.2; }
.stat-label{ font-size:13px; font-weight:700; color:var(--gray-60); }
.stat-value{ font-size:24px; font-weight:800; color:var(--gray-90); }
.stat-value small{ font-size:14px; font-weight:700; margin-left:2px; }
.badge-new{ position:absolute; top:-8px; left:12px; background:var(--bs-danger); color:#fff;
  font-size:10px; font-weight:800; letter-spacing:.04em; padding:2px 7px; border-radius:999px; }

/* 상태 pill */
.status-pill{ display:inline-block; min-width:72px; padding:3px 12px; border-radius:999px; font-size:12px; font-weight:700; text-align:center; }
.status-pill.is-reg{ background:#E8F0FE; color:#256EF4; }
.status-pill.is-req{ background:#FEF1E2; color:#C76A00; }
.status-pill.is-done{ background:var(--gray-10); color:var(--gray-60); }
.status-pill.is-unread{ background:#FDECEA; color:var(--bs-danger); }

/* 카드 헤더(제목 + 더보기) */
.card-title-row{ display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.link-more{ font-size:13px; font-weight:700; color:var(--bs-primary); text-decoration:none; }
.link-more:hover{ text-decoration:underline; }

/* 공지/알림 리스트 */
.dash-list{ list-style:none; margin:0; padding:0; }
.dash-list li{ display:flex; align-items:center; gap:10px; padding:9px 0; border-bottom:1px dashed var(--gray-10); font-size:14px; }
.dash-list li:last-child{ border-bottom:0; }
.dash-list .dash-list-title{ flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--gray-90); text-decoration:none; }
.dash-list .dash-list-title:hover{ color:var(--bs-primary); }
.dash-list .dash-list-date{ font-size:13px; color:var(--gray-50); flex-shrink:0; }
.tag-pill{ display:inline-block; padding:1px 10px; border-radius:999px; font-size:11px; font-weight:700; flex-shrink:0; }
.tag-pill.is-notice{ background:#E07B00; color:#fff; }
.tag-pill.is-info{ background:#E8F0FE; color:#256EF4; }
.new-mark{ display:inline-block; background:var(--bs-danger); color:#fff; font-size:10px; font-weight:800; padding:1px 6px; border-radius:4px; margin-right:6px; vertical-align:1px; }

/* =========================================================
   바로가기(즐겨찾기) 바 — 메뉴를 둥근 버튼으로 나열, × 로 삭제
   ========================================================= */
.quick-bar{ display:flex; align-items:center; gap:12px; min-height:56px; padding:8px 24px; background:#fff; border-bottom:1px solid var(--gray-10); }
.quick-reset{ border:0; background:none; color:var(--gray-50); padding:4px; line-height:1; border-radius:50%; }
.quick-reset:hover{ color:var(--navy); background:var(--gray-5); }
.quick-title{ font-size:15px; font-weight:700; color:var(--gray-90); white-space:nowrap; margin-right:4px; }
.quick-list{ display:flex; flex-wrap:wrap; gap:8px; list-style:none; margin:0; padding:0; flex:1; min-width:0; }
.quick-chip{ display:inline-flex; align-items:center; gap:10px; height:36px; padding:0 12px 0 18px;
  border:1px solid var(--gray-20); border-radius:999px; background:#fff; transition:border-color .15s, background .15s; }
.quick-chip:hover{ border-color:var(--navy); }
.quick-chip a{ font-size:14px; color:var(--gray-70); text-decoration:none; white-space:nowrap; }
.quick-chip.active{ border-color:var(--navy); background:rgba(10,34,88,.05); }
.quick-chip.active a{ color:var(--navy); font-weight:700; }
.quick-del{ border:0; background:none; padding:0; width:18px; height:18px; line-height:16px; font-size:18px; color:var(--gray-40); border-radius:50%; }
.quick-del:hover{ color:var(--bs-danger); background:var(--gray-5); }
.quick-empty{ font-size:13px; color:var(--gray-40); align-self:center; }
.quick-setting{ font-size:13px; color:var(--gray-50); text-decoration:none; white-space:nowrap; }
.quick-setting:hover{ color:var(--navy); }

/* =========================================================
   기관정보 관리 리스트 (UI-DBS-021) — 기관 1건 = 2줄(기본정보 / 소개·소관업무·소속기관)
   ========================================================= */
.org-table thead tr:last-child th{ font-weight:600; font-size:13px; opacity:.9; }
.org-table tbody.org-group{ border-bottom:1px solid var(--gray-20); cursor:pointer; }
.org-table tbody.org-group:hover td{ background-color:#F5F8FF !important; }
.table.org-table tr.org-sub td{ background-color:#FAFBFC !important; font-size:13px; color:var(--gray-60); padding-top:.45rem; padding-bottom:.55rem; }
.org-table tr.org-main td{ border-bottom-style:dashed; }
.org-more{ display:inline-block; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; vertical-align:middle;
  border:0; background:none; padding:0; color:var(--gray-60); text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--gray-30); }
.org-more:hover{ color:var(--bs-primary); text-decoration-color:var(--bs-primary); }
.search-label{ font-size:13px; font-weight:700; color:var(--gray-60); white-space:nowrap; display:inline-flex; align-items:center; gap:6px; }
.search-label::before{ content:""; width:0; height:0; border-left:5px solid var(--navy); border-top:4px solid transparent; border-bottom:4px solid transparent; }
.quick-chip a{ display:inline-flex; align-items:center; gap:6px; }
.quick-chip .quick-icon{ flex-shrink:0; color:var(--gray-50); }
.quick-chip.active .quick-icon{ color:var(--navy); }

/* =========================================================
   상담번호 상세 모달 — 대표번호 지정 스위치(크게) / 운영시간 입력 행
   ========================================================= */
.rep-switch{ display:flex; justify-content:space-between; align-items:center; gap:16px;
  padding:14px 18px; border-radius:var(--bs-border-radius-lg); background:#EFF4FF; }
.switch-lg{ display:flex; align-items:center; gap:10px; padding-left:0; }
.switch-lg .form-check-input{ width:3.25rem; height:1.75rem; margin:0; float:none; cursor:pointer; }
.switch-lg .form-check-label{ min-width:48px; font-size:14px; color:var(--gray-50); padding:0; }
.switch-lg .form-check-input:checked + .form-check-label{ color:var(--bs-primary); }
.hours-box{ border:1px solid var(--gray-10); border-radius:var(--bs-border-radius-lg); padding:12px; background:#fff; }
.modal .hours-box .form-control, .modal .hours-box .form-select{ padding-top:.45rem; padding-bottom:.45rem; }
.modal .hours-box .form-select{ padding-right:2rem; }

/* 운영시간 목록 (드래그 앤 드롭) + 입력 행 */
.hour-list{ list-style:none; margin:0 0 10px; padding:0; }
.hour-item{ display:flex; align-items:center; gap:12px; padding:8px 10px; border:1px solid transparent; border-radius:var(--bs-border-radius); background:#fff; font-size:14px; }
.hour-item + .hour-item{ margin-top:4px; }
.hour-item:hover{ background:var(--gray-5); }
.hour-item.editing{ border-color:var(--bs-primary); background:#F5F8FF; }
.hour-item.dragging{ opacity:.4; }
.hour-item.drop-before{ box-shadow:inset 0 2px 0 var(--bs-primary); }
.hour-item.drop-after{ box-shadow:inset 0 -2px 0 var(--bs-primary); }
.hour-handle{ color:var(--gray-40); cursor:grab; padding:0 2px; }
.hour-item:active .hour-handle{ cursor:grabbing; }
.hour-type{ font-weight:700; color:var(--gray-90); min-width:52px; }
.hour-type::before{ content:"•"; color:var(--blue-dot); margin-right:8px; }
.hour-time{ color:var(--gray-70); min-width:120px; }
.hour-contact{ color:var(--gray-60); font-size:13px; flex:1; }
.hour-actions{ display:flex; gap:4px; margin-left:auto; }
.hour-empty{ padding:10px; color:var(--gray-40); font-size:13px; text-align:center; }
.hour-input{ display:flex; align-items:center; gap:8px; padding-top:10px; border-top:1px dashed var(--gray-20); }
.hour-input .form-select{ width:100px; flex-shrink:0; }
.hour-input input[type="time"]{ width:150px; flex-shrink:0; }
.modal .hour-input .form-control, .modal .hour-input .form-select{ padding-left:.65rem; }
.hour-input #hContact{ flex:1; min-width:120px; }
.hour-sep{ color:var(--gray-40); }
.modal .hour-input .form-control, .modal .hour-input .form-select{ background-color:#fff !important; border-color:var(--gray-20); }

/* =========================================================
   의견 공유 — 계층형 게시판 (제목 클릭 시 본문 펼침 + 답글)
   ========================================================= */
.opinion-title{ border:0; background:none; padding:0; color:var(--gray-90); font-weight:600; text-align:left; }
.opinion-title:hover{ color:var(--bs-primary); }
.opinion-title i{ color:var(--gray-40); }
.opinion-row.is-open td{ background-color:#F5F8FF !important; }
.opinion-row.is-open .opinion-title{ color:var(--bs-primary); }
.table.opinion-table tr.opinion-detail-row > td{ background-color:#FAFBFC !important; padding:0; }
.opinion-detail{ padding:18px 24px 20px 70px; }
.opinion-content{ white-space:pre-line; font-size:14px; line-height:1.8; color:var(--gray-90);
  padding:14px 16px; background:#fff; border:1px solid var(--gray-10); border-radius:var(--bs-border-radius); margin-bottom:8px; }
.opinion-row.is-reply .opinion-title{ font-weight:500; color:var(--gray-70); }
.reply-mark{ color:var(--gray-40); margin-right:6px; }
.opinion-detail{ padding-top:14px; padding-bottom:16px; }
.reply-parent{ font-size:13px; color:var(--gray-60); background:var(--gray-5); border-left:3px solid var(--blue-dot); padding:8px 12px; border-radius:4px; }

/* 의견 공유 B안(댓글형) — 댓글 목록 / 입력 */
.comment-count{ margin-left:6px; color:var(--bs-danger); font-size:13px; font-weight:700; }
.comment-list{ list-style:none; margin:0 0 12px; padding:0; }
.comment-item{ padding:10px 0 10px 14px; border-left:2px solid var(--gray-20); }
.comment-item + .comment-item{ margin-top:6px; }
.comment-meta{ display:flex; align-items:center; gap:10px; font-size:12px; color:var(--gray-50); margin-bottom:2px; }
.comment-meta strong{ font-size:13px; color:var(--gray-90); }
.comment-text{ font-size:14px; color:var(--gray-70); white-space:pre-line; }
.comment-del{ border:0; background:none; padding:0; margin-left:auto; font-size:12px; color:var(--gray-40); }
.comment-del:hover{ color:var(--bs-danger); }
.comment-form{ display:flex; gap:8px; align-items:stretch; }
.comment-form textarea{ resize:none; }
.comment-form .btn{ white-space:nowrap; }

/* 등록/수정 완료 모달 (업무분장 등) */
.done-check{ width:48px; height:48px; border-radius:50%; background:var(--bs-success); color:#fff; display:flex; align-items:center; justify-content:center; font-size:22px; flex-shrink:0; }
.done-summary{ display:grid; grid-template-columns:110px 1fr; gap:10px 16px; padding:18px 20px; background:#fff; border:1px solid var(--gray-10); border-radius:var(--bs-border-radius-lg); font-size:14px; }
.done-summary dt{ font-weight:600; color:var(--gray-50); }
.done-summary dd{ margin:0; color:var(--gray-90); font-weight:600; }

/* 상담자료 등록 — 110 상담팀 전용 입력 영역 */
.team110{ border:1px dashed var(--gray-20); border-radius:var(--bs-border-radius-lg); padding:14px 16px; background:var(--gray-5); }
.team110.is-active{ border-style:solid; border-color:var(--bs-primary); background:#F5F8FF; }
.team110 .form-select:disabled, .team110 .form-control:disabled{ background-color:var(--gray-10) !important; color:var(--gray-40); cursor:not-allowed; }

/* =========================================================
   간단 에디터 (resource/js/editor.js) — FAQ 질문/답변, 공지사항 등
   ========================================================= */
.dbs-editor{ border:1px solid var(--gray-20); border-radius:var(--bs-border-radius); background:#fff; overflow:hidden; }
.dbs-editor:focus-within{ border-color:var(--navy); box-shadow:0 0 0 .15rem rgba(10,34,88,.12); }
.dbs-editor-toolbar{ display:flex; align-items:center; gap:2px; flex-wrap:wrap; padding:6px 8px; background:var(--gray-5); border-bottom:1px solid var(--gray-10); }
.dbs-editor-toolbar .form-select{ width:100px; margin-right:6px; }
.dbs-editor-toolbar button{ width:30px; height:28px; border:0; border-radius:4px; background:none; color:var(--gray-60); font-size:13px; }
.dbs-editor-toolbar button:hover{ background:var(--gray-10); color:var(--gray-90); }
.dbs-editor-toolbar button.active{ background:var(--navy); color:#fff; }
.dbs-editor-sep{ width:1px; height:18px; background:var(--gray-20); margin:0 6px; }
.dbs-editor-area{ min-height:140px; padding:12px 14px; font-size:14px; line-height:1.7; outline:none; }
.dbs-editor-area.is-empty::before{ content:attr(data-placeholder); color:var(--gray-40); pointer-events:none; }
.dbs-editor-area ul, .dbs-editor-area ol{ padding-left:1.4rem; margin-bottom:.5rem; }

/* FAQ 미리보기 (Q / A) */
.faq-preview{ border:1px solid var(--gray-10); border-radius:var(--bs-border-radius-lg); overflow:hidden; }
.faq-q, .faq-a{ display:flex; gap:14px; padding:16px 18px; font-size:14px; line-height:1.7; }
.faq-q{ background:#F5F8FF; border-bottom:1px solid var(--gray-10); font-weight:600; }
.faq-mark{ flex-shrink:0; width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:13px; color:#fff; background:var(--navy); }
.faq-a .faq-mark{ background:var(--bs-success); }
.faq-q ul, .faq-a ul, .faq-q ol, .faq-a ol{ padding-left:1.3rem; margin-bottom:.5rem; }

/* (연계) 정책뉴스 / 국민신문고 FAQ */
.is-hidden-row td{ color:var(--gray-40) !important; background-color:var(--gray-5) !important; }
.is-hidden-row a{ color:var(--gray-50) !important; }
.linked-content{ line-height:1.8; font-size:14px; font-weight:400; max-height:420px; overflow-y:auto; }
.linked-meta{ display:grid; grid-template-columns:100px 1fr; gap:8px 16px; font-size:14px; padding-top:12px; border-top:1px solid var(--gray-10); }
.linked-meta dt{ color:var(--gray-50); font-weight:700; font-size:13px; }
.linked-meta dd{ margin:0; }

/* 연계 상세 — 수정 모드 / 첨부파일 칩 */
#detailCard.is-editing{ border-color:var(--bs-primary); box-shadow:0 0 0 .2rem rgba(37,110,244,.08); }
.edit-note{ font-size:13px; color:#1B2847; background:#EFF4FF; border-radius:var(--bs-border-radius); padding:10px 14px; margin-bottom:16px; }
.file-chip{ display:inline-flex; align-items:center; gap:6px; padding:4px 10px; font-size:13px; color:var(--gray-70);
  background:#fff; border:1px solid var(--gray-20); border-radius:var(--bs-border-radius); }
button.file-chip:hover{ border-color:var(--navy); color:var(--navy); }
.file-chip-del{ border:0; background:none; padding:0 0 0 2px; font-size:16px; line-height:1; color:var(--gray-40); }
.file-chip-del:hover{ color:var(--bs-danger); }

/* =========================================================
   상담자료 편집 (UI-DBS-071~073)
   ========================================================= */
.type-chip{ display:inline-block; padding:2px 10px; border-radius:999px; font-size:12px; font-weight:700; background:var(--gray-10); color:var(--gray-70); }
.type-chip.is-work{ background:#E8F0FE; color:#256EF4; }
.history-list{ list-style:none; margin:0; padding:0; }
.history-item{ display:flex; gap:12px; padding:0 0 16px 0; position:relative; }
.history-item:not(:last-child)::before{ content:""; position:absolute; left:5px; top:16px; bottom:0; width:2px; background:var(--gray-10); }
.history-item .timeline-dot{ flex-shrink:0; margin-top:4px; position:relative; z-index:1; }
.timeline-dot.is-purple{ background:#7C4DFF; }
.content-item{ border:1px solid var(--gray-10); border-radius:var(--bs-border-radius-lg); padding:14px 16px; }
.content-item + .content-item{ margin-top:10px; }
.content-snippet{ margin-top:8px; font-size:13px; color:var(--gray-60); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.min-w-0{ min-width:0; }
.file-preview{ text-align:center; padding:48px 16px; background:var(--gray-5); border:1px dashed var(--gray-20); border-radius:var(--bs-border-radius-lg); }
.file-preview > i{ font-size:48px; color:var(--bs-danger); }
.preview-body{ font-size:14px; line-height:1.8; }
.preview-body ul, .preview-body ol{ padding-left:1.3rem; }

/* =========================================================
   게시판 (공지사항 / 등록 예정 자료 / 기관 문의 답변 / 교육자료 관리)
   ========================================================= */
.guide-box{ background:#fff; border:1px solid var(--gray-10); border-radius:var(--bs-border-radius-lg); padding:16px 18px; }
.guide-item{ display:block; padding:10px 14px; border:1px solid var(--gray-10); border-radius:var(--bs-border-radius); text-decoration:none; color:var(--gray-90); background:var(--gray-5); }
.guide-item:hover{ border-color:var(--bs-primary); background:#F5F8FF; color:var(--gray-90); }
.form-rows .row-label{ width:110px; flex-shrink:0; font-size:14px; font-weight:700; color:var(--gray-60); padding:0; margin:0; }
.tag-pill.is-check{ background:#FDECEA; color:var(--bs-danger); }
.tag-pill.is-gray{ background:var(--gray-10); color:var(--gray-70); }
.tag-pill.is-purple{ background:#F0EBFC; color:#7B4FD8; }
.tag-pill.is-pin{ background:var(--navy); color:#fff; }
.tag-pill.is-temp{ background:#FEF1E2; color:#C76A00; }
.table tr.is-pinned td{ background-color:#F5F8FF !important; }
.pin-mark{ color:var(--bs-danger); }
.inquiry-box{ background:var(--gray-5); border:1px solid var(--gray-10); border-radius:var(--bs-border-radius-lg); padding:16px 18px; }
.soon-tag{ font-size:10px; font-weight:700; background:var(--gray-10); color:var(--gray-60); padding:1px 6px; border-radius:999px; margin-left:2px; }
/* 처리 상태 토글(검토중/답변완료) 선택 상태를 분명하게 */
.btn-check:checked + .btn-outline-secondary{ background:var(--gray-60) !important; border-color:var(--gray-60) !important; color:#fff !important; }
.btn-check:checked + .btn-outline-success{ background:var(--bs-success) !important; border-color:var(--bs-success) !important; color:#fff !important; }

/* =========================================================
   통계 (UI-DBS-090) — 단일 계열 차트: 막대 24px 이하·상단 4px 라운드, 1px 그리드, 호버 툴팁
   ========================================================= */
.chart-svg{ display:block; overflow:visible; }
.chart-grid{ stroke:var(--gray-10); stroke-width:1; }
.chart-axis{ font-size:11px; fill:var(--gray-50); }
.chart-value{ font-size:11px; font-weight:700; fill:var(--gray-70); }
.chart-bar{ fill:#256EF4; transition:opacity .15s; }
.chart-svg:hover .chart-bar{ opacity:.45; }
.chart-svg .chart-bar.is-hover{ opacity:1; }
.chart-hit{ fill:transparent; cursor:crosshair; }
.chart-tip{ position:fixed; z-index:2000; pointer-events:none; background:var(--gray-90); color:#fff; font-size:12px; line-height:1.5; padding:6px 10px; border-radius:6px; opacity:0; transition:opacity .1s; }
.chart-tip.show{ opacity:1; }
.hbar-row{ display:flex; align-items:center; gap:12px; padding:9px 0; }
.hbar-label{ width:72px; flex-shrink:0; font-size:13px; color:var(--gray-70); }
.hbar-track{ flex:1; display:flex; align-items:center; gap:8px; }
.hbar-fill{ height:20px; background:#256EF4; border-radius:0 4px 4px 0; min-width:4px; }
.hbar-row:hover .hbar-fill{ filter:brightness(.9); }
.hbar-value{ font-size:12px; font-weight:700; color:var(--gray-70); white-space:nowrap; }
.rate-track{ flex:1; height:8px; background:var(--gray-10); border-radius:999px; overflow:hidden; }
.rate-fill{ height:100%; background:#256EF4; border-radius:999px; }

/* =========================================================
   시스템 관리
   ========================================================= */
.table tr.is-selected td{ background-color:#EEF3FF !important; }
.code-box{ background:var(--gray-90); color:#E6E8EA; font-size:12px; line-height:1.6; padding:12px 14px; border-radius:var(--bs-border-radius); max-height:220px; overflow:auto; white-space:pre-wrap; }
/* 메뉴 관리 트리 */
.menu-admin-tree{ border:1px solid var(--gray-10); border-radius:var(--bs-border-radius); padding:8px; max-height:560px; overflow-y:auto; }
.mt-node{ padding:6px 10px; border-radius:6px; font-size:14px; cursor:pointer; user-select:none; }
.mt-node.is-child{ padding-left:34px; }
.mt-node:hover{ background:var(--gray-5); }
.mt-node.active{ background:#E8F0FE; color:var(--bs-primary); font-weight:700; }
.mt-node:focus-visible{ outline:2px solid var(--bs-primary); outline-offset:-2px; }
.ctx-menu{ position:fixed; z-index:2000; display:none; list-style:none; margin:0; padding:4px; background:#fff; border:1px solid var(--gray-20); border-radius:8px; box-shadow:0 8px 24px rgba(0,0,0,.12); }
.ctx-menu.show{ display:block; }
.ctx-menu button{ display:block; width:100%; text-align:left; border:0; background:none; padding:7px 14px; font-size:13px; border-radius:6px; }
.ctx-menu button:hover{ background:var(--gray-5); }
/* 바로가기 설정 */
.shortcut-group{ border:1px solid var(--gray-10); border-radius:var(--bs-border-radius-lg); padding:14px 16px; height:100%; }
.shortcut-item{ padding:4px 0 4px 1.6em; }
/* 상태 pill — 정상/활성(초록) */
.status-pill.is-on{ background:#E6F4EA; color:#228738; }
/* 팝업 안 입력창은 종류와 관계없이 흰 배경 (password/email 등이 회색 배경에 묻히지 않도록) */
.modal input.form-control:not([readonly]), .modal textarea.form-control:not([readonly]){ background-color:#fff !important; border-color:var(--gray-20); }

/* =========================================================
   토글 크기 확대 (전체 공통)
   1) Bootstrap form-switch 기본 크기 키움
   2) .pill-toggle — 글자가 들어간 큰 토글 (목록 사용/미사용 등)
      <button type="button" class="pill-toggle" role="switch" aria-checked="true|false">
      .is-sub = 하위 항목용 연한 파랑
   ========================================================= */
.form-switch{ padding-left:3.4em; min-height:1.6em; }
.form-switch .form-check-input{ width:2.9em; height:1.6em; margin-left:-3.4em; margin-top:0; cursor:pointer; }
.form-switch .form-check-label{ line-height:1.6em; }
.switch-lg .form-check-input{ width:3.4rem; height:1.85rem; margin-left:0; }
.form-switch.switch-lg{ padding-left:0; }

.pill-toggle{ position:relative; display:inline-flex; align-items:center; width:92px; height:34px; padding:0 14px; border:0; border-radius:999px;
  background:var(--gray-20); color:#fff; font-size:13px; font-weight:700; cursor:pointer; transition:background .15s; vertical-align:middle; }
.pill-toggle::before{ content:"미사용"; margin-left:auto; }
.pill-toggle::after{ content:""; position:absolute; top:4px; left:4px; width:26px; height:26px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.2); transition:left .15s; }
.pill-toggle[aria-checked="true"]{ background:#22C55E; }
.pill-toggle[aria-checked="true"]::before{ content:"사용"; margin-left:0; margin-right:auto; }
.pill-toggle[aria-checked="true"]::after{ left:calc(100% - 30px); }
.pill-toggle.is-sub[aria-checked="true"]{ background:#7DB4F5; }
.pill-toggle:focus-visible{ outline:3px solid rgba(37,110,244,.35); outline-offset:2px; }
.pill-toggle[data-on]::before{ content:attr(data-off); }
.pill-toggle[data-on][aria-checked="true"]::before{ content:attr(data-on); }

/* 공통코드 — 분류코드 펼침 행 */
.code-expand{ border:0; background:none; width:24px; height:24px; border-radius:4px; color:var(--gray-60); }
.code-expand:hover{ background:var(--gray-10); }
.code-table tr.code-row.is-open td{ background-color:#F5F8FF !important; }
.code-table tr.code-row td:nth-child(2), .code-table tr.code-row td:nth-child(3){ cursor:pointer; }
.code-table tr.detail-row > td{ background-color:#FAFBFC !important; padding:6px 0 14px 0; }
.detail-title{ font-size:14px; font-weight:700; padding:6px 20px 8px; }
.detail-table thead th{ background:var(--navy-th) !important; color:#fff; font-weight:600; font-size:13px; opacity:.92; }
.detail-table td{ font-size:14px; }
.detail-title{ text-align:left; }

/* =========================================================
   상단 헤더 — 알림(메시지) 아이콘 / 사용자 버튼 / 사용자 패널
   ========================================================= */
.header-icon-btn{ width:38px; height:38px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:var(--gray-5); color:var(--gray-60); font-size:18px; text-decoration:none; }
.header-icon-btn:hover{ background:var(--gray-10); color:var(--navy); }
.user-menu{ position:relative; }
.user-btn{ display:inline-flex; align-items:center; gap:8px; border:0; background:none; padding:4px 6px; border-radius:999px; font-size:14px; font-weight:700; color:var(--gray-90); }
.user-btn:hover, .user-btn[aria-expanded="true"]{ background:var(--gray-5); }
.user-btn-icon{ width:30px; height:30px; border-radius:50%; background:#4F8CF7; color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:13px; }
.user-panel{ position:absolute; right:0; top:calc(100% + 10px); z-index:1050; width:340px; padding:18px 18px 0; border-radius:24px;
  background:#1F2125; color:#fff; box-shadow:0 16px 40px rgba(0,0,0,.35); overflow:hidden; }
.user-panel-head{ position:relative; text-align:center; font-size:14px; color:#E6E8EA; margin-bottom:16px; }
.user-panel-close{ position:absolute; right:0; top:-4px; border:0; background:none; color:#fff; font-size:18px; width:28px; height:28px; border-radius:50%; }
.user-panel-close:hover{ background:rgba(255,255,255,.1); }
.user-avatar-wrap{ position:relative; width:96px; height:96px; margin:0 auto 14px; }
.user-avatar{ width:96px; height:96px; border-radius:50%; padding:4px; background:conic-gradient(#F59E0B, #EF4444, #8B5CF6, #3B82F6, #22C55E, #F59E0B); }
.user-avatar span{ display:flex; align-items:center; justify-content:center; width:100%; height:100%; border-radius:50%; background:#0F766E; border:3px solid #1F2125; font-size:30px; font-weight:800; }
.user-avatar.has-photo{ background-size:cover; background-position:center; }
.user-avatar.has-photo span{ display:none; }
.user-avatar-cam{ position:absolute; right:-2px; bottom:2px; width:30px; height:30px; border-radius:50%; background:#2B2D31; border:2px solid #1F2125; color:#fff; display:flex; align-items:center; justify-content:center; font-size:12px; cursor:pointer; padding:0; }
.user-avatar-cam:hover{ background:#3A3D42; }
.user-hello{ text-align:center; font-size:18px; font-weight:700; margin-bottom:12px; }
.user-edit-btn{ border:1px solid rgba(255,255,255,.3); background:none; color:#8AB4F8; font-size:14px; font-weight:600; padding:6px 22px; border-radius:999px; }
.user-edit-btn:hover{ background:rgba(138,180,248,.1); }
.user-actions{ display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:8px; }
.user-action{ display:flex; align-items:center; justify-content:center; gap:8px; height:52px; border:0; border-radius:14px; background:#2B2D31; color:#fff; font-size:14px; font-weight:600; text-decoration:none; }
.user-action:hover{ background:#36393E; color:#fff; }
.user-logout{ display:flex; align-items:center; justify-content:center; gap:8px; height:56px; margin:0 -18px; background:#2B2D31; color:#fff; font-size:15px; font-weight:600; text-decoration:none; border-top:1px solid rgba(255,255,255,.06); }
.user-logout:hover{ background:#36393E; color:#fff; }
.user-btn:focus-visible, .user-action:focus-visible, .user-logout:focus-visible, .user-edit-btn:focus-visible{ outline:2px solid #8AB4F8; outline-offset:2px; }

/* 알림 목록 */
.noti-list{ list-style:none; margin:0; padding:0; border-top:1px solid var(--gray-10); }
.noti-item{ display:flex; align-items:center; gap:14px; padding:14px 8px; border-bottom:1px solid var(--gray-10); }
.noti-item.is-unread{ background:#F5F8FF; }
.noti-item:hover{ background:var(--gray-5); }
.noti-icon{ width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.noti-body{ flex:1; min-width:0; display:block; text-decoration:none; color:var(--gray-90); }
.noti-body:hover .noti-text{ color:var(--bs-primary); text-decoration:underline; }
.noti-text{ display:block; font-size:15px; }
.noti-item.is-unread .noti-text{ font-weight:700; }
.noti-meta{ display:block; font-size:12px; color:var(--gray-50); margin-top:2px; }
.noti-dot{ width:8px; height:8px; border-radius:50%; background:var(--bs-danger); display:inline-block; }
.noti-icon.is-notice{ background:#FEF1E2; color:#E07B00; }
.noti-icon.is-info{ background:#E8F0FE; color:#256EF4; }
.noti-icon.is-temp{ background:#FDECEA; color:var(--bs-danger); }
.noti-icon.is-purple{ background:#F0EBFC; color:#7B4FD8; }
/* 알림(메시지) 아이콘 크게 / 진하게 */
.header-icon-btn{ width:44px; height:44px; font-size:22px; color:var(--navy); background:#EEF3FF; }
.header-icon-btn:hover{ background:#DDE7FD; color:var(--navy); }
.header-icon-btn .badge{ font-size:10px !important; padding:3px 6px; }
/* 내 활동 */
.tab-count{ display:inline-block; min-width:20px; padding:0 6px; margin-left:4px; border-radius:999px; background:var(--gray-10); color:var(--gray-70); font-size:12px; font-weight:700; }
.nav-link.active .tab-count{ background:var(--bs-primary); color:#fff; }
.answer-box{ background:#F0F7F2; border-color:#CDE8D5; }

/* 상담정보 편집 팝업 창 (popup/counsel_edit_popup.html) */
.edit-popup{ max-width:940px; margin:0 auto; padding:28px 24px; }
.popup-blocked{ display:flex; align-items:center; flex-wrap:wrap; padding:10px 14px; border-radius:var(--bs-border-radius); background:#FEF6E7; color:#8A5A00; font-size:13px; border:1px solid #F5D9A8; }
.popup-blocked.d-none{ display:none !important; }

/* 기관정보 > 정책 뉴스 팝업 창 — 펼침 목록 */
.pop-list{ list-style:none; margin:0; padding:0; border-top:1px solid var(--gray-10); }
.pop-item{ border-bottom:1px solid var(--gray-10); }
.pop-head{ display:flex; align-items:center; gap:10px; width:100%; border:0; background:none; padding:12px 6px; text-align:left; }
.pop-head i{ color:var(--gray-40); }
.pop-head:hover .pop-title{ color:var(--bs-primary); }
.pop-title{ flex:1; font-size:15px; font-weight:600; color:var(--gray-90); }
.pop-date{ font-size:12px; color:var(--gray-50); white-space:nowrap; }
.pop-item.is-open{ background:#F5F8FF; }
.pop-item.is-open .pop-title{ color:var(--bs-primary); }
.pop-body{ padding:4px 16px 16px 30px; }

/* ---- 복수 선택 (crud-list.js type:'multi') : 드롭다운 체크 목록 + 선택 칩 ---- */
.multi-pick .js-mp-toggle{ background-color:#fff; cursor:pointer; }
.multi-pick-menu{ max-width:100%; }
.multi-pick-list{ max-height:220px; overflow-y:auto; padding:0 4px; }
.multi-pick-list .form-check{ padding:6px 8px 6px 32px; margin:0; border-radius:6px; }
.multi-pick-list .form-check:hover{ background:#F4F5F6; }
.multi-pick-chips{ display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.multi-pick-chips:empty{ display:none; }
.mp-chip{ display:inline-flex; align-items:center; gap:6px; padding:4px 6px 4px 10px; border:1px solid #CDD1D5; border-radius:999px; background:#fff; font-size:13px; color:#1E2124; }
.mp-chip.is-main{ border-color:#256EF4; background:#EEF2FE; color:#0A2258; font-weight:700; }
.mp-chip .mp-main{ font-size:11px; font-weight:700; color:#fff; background:#256EF4; border-radius:4px; padding:0 5px; }
.mp-chip button{ border:0; background:transparent; color:#8A949E; width:20px; height:20px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; padding:0; font-size:11px; }
.mp-chip button:hover{ background:#E6E8EA; color:#DE3412; }
.multi-more{ display:inline-block; margin-left:6px; font-size:12px; font-weight:700; color:#256EF4; background:#EEF2FE; border-radius:999px; padding:1px 8px; }

/* ---- FAQ 엑셀 일괄 업로드 (질의응답셋 양식, faq-qaset.js) ---- */
.qa-steps{ display:flex; gap:8px; list-style:none; padding:0; margin:0 0 20px; counter-reset:none; }
.qa-steps li{ flex:1; display:flex; align-items:center; gap:8px; padding:10px 14px; border-radius:8px; background:#F4F5F6; color:#8A949E; font-size:13px; font-weight:700; }
.qa-steps li b{ width:24px; height:24px; border-radius:50%; background:#CDD1D5; color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:12px; flex-shrink:0; }
.qa-steps li.is-on{ background:#EEF2FE; color:#0A2258; }
.qa-steps li.is-on b{ background:#256EF4; }
.qa-steps li.is-done{ color:#228738; }
.qa-steps li.is-done b{ background:#228738; }
.qa-col-guide{ display:flex; flex-wrap:wrap; gap:6px; }
.qa-col{ font-size:12px; padding:3px 9px; border-radius:999px; background:#fff; border:1px solid #CDD1D5; color:#464C53; }
.qa-col.is-req{ border-color:#256EF4; color:#0A2258; font-weight:700; }
.qa-summary{ display:flex; gap:6px; }
.qa-summary span{ font-size:13px; padding:4px 12px; border-radius:999px; background:#F4F5F6; color:#464C53; }
.qa-summary span b{ margin-left:4px; }
.qa-summary .is-ok{ background:#EAF6EC; color:#228738; }
.qa-summary .is-err{ background:#FDEFEC; color:#DE3412; }
.qa-summary .is-dup{ background:#FFF4E5; color:#B95E00; }
.qa-preview-wrap{ max-height:420px; overflow:auto; border:1px solid #E6E8EA; border-radius:6px; }
.qa-preview thead th{ position:sticky; top:0; z-index:1; white-space:nowrap; }
.qa-preview td{ font-size:13px; vertical-align:top; }
.qa-preview .qa-cell{ max-width:280px; max-height:3.2em; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.qa-preview tr.qa-error td:first-child{ box-shadow:inset 3px 0 0 #DE3412; }
.qa-preview tr.qa-dup td:first-child{ box-shadow:inset 3px 0 0 #F08C00; }
.qa-preview td.qa-bad{ background:#FDEFEC; color:#DE3412; font-weight:700; }
.qa-set-box{ border:1px solid #E6E8EA; border-radius:10px; padding:20px; background:#FAFBFC; }

/* =========================================================
   2026-10 개선 요청 반영
   ========================================================= */
/* ---- 상담자료 태그 (긴급/중요/대외비/종료) — 목록 뱃지 + 등록 폼 체크박스 ---- */
.data-tag{ display:inline-block; padding:0 7px; border-radius:4px; font-size:11px; font-weight:700; line-height:19px; margin-right:4px; vertical-align:1px; white-space:nowrap; }
.data-tag.is-urgent{ background:var(--bs-danger); color:#fff; }
.data-tag.is-important{ background:#FEF1E2; color:#C76A00; }
.data-tag.is-secret{ background:#F0EBFC; color:#7B4FD8; }
.data-tag.is-closed{ background:var(--gray-10); color:var(--gray-60); }
.tag-checks{ display:flex; align-items:center; gap:4px 14px; flex-wrap:wrap; }
.tag-checks .form-check{ margin:0; display:flex; align-items:center; gap:6px; padding-left:0; }
.tag-checks .form-check-input{ margin:0; float:none; }
.tag-checks .form-check-label .data-tag{ margin:0; cursor:pointer; }

/* ---- 자동 삭제(배치) 안내 / 삭제 예정 표시 (국민신문고 · 정책 뉴스) ---- */
.retention-note{ display:flex; align-items:flex-start; gap:10px; padding:10px 14px; border-radius:var(--bs-border-radius); background:#FFF8EC; border:1px solid #F5DDB5; font-size:13px; color:var(--gray-80); }
.retention-note > i{ color:#C76A00; margin-top:3px; }
.del-mark{ display:inline-block; margin-left:8px; padding:0 7px; border-radius:4px; font-size:11px; font-weight:700; line-height:19px; background:#FDECEA; color:var(--bs-danger); white-space:nowrap; vertical-align:1px; }
.del-mark.is-keep{ background:#EAF1FE; color:var(--navy); }
.important-check{ padding:4px 10px 4px 34px; border:1px solid var(--gray-10); border-radius:999px; background:#fff; }
.important-check:has(.form-check-input:checked){ border-color:var(--navy); background:#EAF1FE; }

/* ---- 임시저장 복원 안내 (temp-save.js) ---- */
.temp-restore-note{ display:flex; align-items:center; gap:10px; padding:10px 14px; border-radius:var(--bs-border-radius); background:#EAF1FE; border:1px solid #C9DAFB; font-size:13px; color:var(--gray-80); }
.temp-restore-note > i{ color:var(--bs-primary); }

/* ---- 통계: 기관 다중 선택 / 부가 지표 ---- */
.org-chip-bar{ display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
.org-chip{ display:inline-flex; align-items:center; gap:4px; padding:2px 4px 2px 12px; border-radius:999px; background:#EAF1FE; color:var(--navy); font-size:13px; font-weight:600; }
.org-chip button{ border:0; background:transparent; color:var(--gray-50); width:20px; height:20px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; padding:0; font-size:11px; }
.org-chip button:hover{ background:#fff; color:var(--bs-danger); }
.org-pick-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:8px; max-height:340px; overflow-y:auto; padding:2px; }
.org-pick-item{ display:flex; align-items:center; gap:8px; padding:9px 12px; border:1px solid var(--gray-10); border-radius:var(--bs-border-radius); cursor:pointer; font-size:14px; margin:0; }
.org-pick-item:hover{ border-color:var(--bs-primary); }
.org-pick-item.is-on{ border-color:var(--bs-primary); background:#F5F8FF; font-weight:700; }
.rate-fill.is-warn{ background:#F08C00; }

/* ---- View(조회) 화면: 항목명 | 값 표 ---- */
.view-table{ width:100%; margin:0; border-top:2px solid var(--navy); font-size:14px; }
.view-table th, .view-table td{ padding:12px 16px; border-bottom:1px solid var(--gray-10); vertical-align:top; }
.view-table th{ width:160px; background:var(--gray-5); color:var(--gray-70); font-weight:700; font-size:13px; white-space:nowrap; }
.view-table td{ color:var(--gray-90); line-height:1.7; white-space:pre-line; }
.view-table td.is-empty{ color:var(--gray-40); }
.view-head{ display:flex; align-items:center; gap:24px; flex-wrap:wrap; }
.view-head .view-meta{ display:flex; gap:28px; flex-wrap:wrap; font-size:13px; color:var(--gray-60); }
.view-head .view-meta b{ display:block; font-size:12px; color:var(--gray-50); margin-bottom:2px; }
.view-head .view-meta span{ font-size:15px; font-weight:700; color:var(--gray-90); }
.scope-view{ display:flex; gap:10px; padding:12px 14px; border:1px solid var(--gray-10); border-radius:var(--bs-border-radius); margin-bottom:8px; }
.scope-view > i{ margin-top:3px; }
.scope-view.is-on{ border-color:#C9DAFB; background:#F5F8FF; }
.scope-view.is-on > i{ color:var(--bs-primary); }
.scope-view.is-off{ color:var(--gray-40); }
.keyword-chip{ display:inline-block; padding:2px 10px; margin:0 4px 4px 0; border-radius:999px; background:var(--gray-5); border:1px solid var(--gray-10); font-size:13px; }
.file-list{ list-style:none; margin:0; padding:0; }
.file-list li{ display:flex; align-items:center; gap:10px; padding:8px 0; border-bottom:1px dashed var(--gray-10); font-size:14px; }
.file-list li:last-child{ border-bottom:0; }

/* ---- 화면 상단 입력 안내 문구 (업무분장 등록 등) ---- */
.guide-note{ display:flex; align-items:flex-start; gap:8px; padding:10px 14px; border-radius:var(--bs-border-radius); background:#EFF4FF; color:#1B2847; font-size:13px; line-height:1.6; min-width:280px; }
.guide-note > i{ color:var(--bs-primary); margin-top:4px; }
