@media print {
  @page {
    size: landscape; /* 가로 방향 */
    margin: 0;       /* 여백을 0으로 설정하여 브라우저 여백 제거 */
  }

  html, body {
    width: 1920px !important; /* 원본 디자인 너비 */
    height: auto !important;  /* ★ 100% 제거: 빈 페이지 방지 핵심 */
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    clear: both !important;
  }
  
  body {
    zoom: 1.3;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  
  /* 모든 부모 요소의 높이 제한 해제 */
  .wrap, .container, .enroll_popup, .enroll_wrap {
    overflow: visible !important;
    height: auto !important;
    display: block !important;
  }

  /* 첫 페이지 빈 공간 방지 */
  .enroll_wrap,.cont_area,.schedule_area {
    position: absolute !important;
    top: 60px !important;
    left: 0 !important;
    height: auto !important;
    page-break-before: avoid !important;
    clear: both !important;
  }
  
  .enroll_popup_title{margin:0 0 30px 0;}

  /* 테이블 행 잘림 방지 */
  tr, .card, .section {page-break-inside: avoid !important;}
  .enroll_popup_bottom_table{height:100% !important;} 
  table *{overflow:visible !important;max-height:100% !important;}
  
  
  /* 장애관리 > 등록(작업계획서, 작업결과보고 다음페이지 넘김 방지) */
  .fault_bottom_wrap{top:-508px;left:0;}
  
  /* sla관리 */
  input[value="sla"]+.enroll_popup{zoom:0.96;}
  
  /* 업체계약관리 > 사업(계약)관리 */
  .Biz_popup{zoom:0.94;}
  
  /* 업체계약관리 > 업체관리 */
  .enterprise_popup{zoom:0.94;}
  
}

