/* LINE E.N.G V5.49.16 - 전체목록/팝업/별도창 안정화 */

/* 전체목록보기: 화면에 꽉 차지 않고 사방 여백이 남는 대형 모달 */
#allIntake5471.v54916-alllist-bg,
#constructionAll548.v54916-alllist-bg{
  padding:4vh 2.5vw!important;
  align-items:center!important;
  justify-content:center!important;
}
#allIntake5471 .v54916-alllist-modal,
#constructionAll548 .v54916-alllist-modal{
  position:relative!important;
  inset:auto!important;
  left:auto!important;
  top:auto!important;
  transform:none!important;
  margin:0!important;
  width:95vw!important;
  max-width:95vw!important;
  height:92vh!important;
  max-height:92vh!important;
  overflow:auto!important;
  border-radius:10px!important;
}

/* 전체목록 내부 표 높이는 헤더/검색/안내문구를 제외한 영역에서 스크롤 */
#allIntake5471 .v5471-alltable,
#constructionAll548 .v548-widewrap{
  max-height:calc(92vh - 155px)!important;
  overflow:auto!important;
}

/* 전체목록 아래 안내문구는 한 문장으로 고정 */
#allIntake5471 .v5471-hint,
#constructionAll548 .v548-hint{
  min-height:20px!important;
  white-space:nowrap!important;
}

/* 더블클릭 상세는 전체목록보다 반드시 위에 표시 */
.v54916-detail-front,
#inqPreview5497,
#constructionPreview5497,
#detail548{
  z-index:160000!important;
}

/* 삭제 확정된 공사일지 버튼 재생성 방지 sentinel */
.v54916-journal-sentinel{display:none!important}
.v5130-construction button.v5497-journal-top,
.v5130-construction .v5497-moved-journal{display:none!important}

/* 크게/작게: 최대화 시 너무 가장자리에 붙지 않도록 작은 안전여백 */
.v537-modalmax{
  inset:10px!important;
  max-height:calc(100vh - 20px)!important;
  border-radius:8px!important;
}

/* 별도창은 브라우저 작업영역을 넓게 사용 */
.v54916-detached-body{
  margin:0!important;
  padding:10px!important;
  min-width:0!important;
  min-height:100vh!important;
  overflow:auto!important;
}
.v54916-detached-body #v54916DetachedRoot>div{
  width:100%!important;
  max-width:none!important;
  max-height:none!important;
  min-height:calc(100vh - 20px)!important;
  margin:0!important;
  position:relative!important;
  left:auto!important;
  top:auto!important;
  transform:none!important;
}

@media(max-width:900px){
  #allIntake5471.v54916-alllist-bg,
  #constructionAll548.v54916-alllist-bg{padding:2vh 1.5vw!important}
  #allIntake5471 .v54916-alllist-modal,
  #constructionAll548 .v54916-alllist-modal{width:97vw!important;max-width:97vw!important;height:94vh!important;max-height:94vh!important}
  #allIntake5471 .v5471-alltable,
  #constructionAll548 .v548-widewrap{max-height:calc(94vh - 155px)!important}
}
