/* Печать: отдельные официальные документы, без экранного интерфейса */

@page{size:A4 landscape;margin:5mm}

@media print{
html,body{height:auto;min-height:0}
.print-sheet,.print-landscape .print-sheet{
  width: auto;
  min-height: auto;
  padding: 0;
}
.print-preview.print-portrait .print-sheet,.print-sheet.portrait{
  width: auto;
  min-height: auto;
  padding: 0;
}
.official-schedule-table th,.official-schedule-table td{
  padding: .28mm .18mm;
}
.official-schedule-sheet h1{
  font-size: 10px;
  margin: .5mm 0 1.5mm;
}
body{
  overflow: visible;
  background: #fff;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}
body::before,body::after,.app,.modal-x,.print-toolbar,.schedule-print-toolbar{
  display: none;
}
.modal-backdrop{
  position: static;
  backdrop-filter: none;
  display: block;
  padding: 0;
  background: #fff;
}
.modal-card,.modal-card.print-modal,.modal-card.print-schedule-modal{
  width: auto;
  max-height: none;
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: #111;
  background: #fff;
  box-shadow: none;
}
.print-preview,.print-preview.print-landscape,.print-preview.schedule-print-preview{
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: #fff;
}
.schedule-print-sheet.official-schedule-sheet{
  width: 287mm;
  height: auto;
  min-height: 0;
  padding: 0;
  margin: 0 auto;
  overflow: visible;
  page-break-after: auto;
  page-break-inside: auto;
}
.official-schedule-table{
  height: 174mm;
  font-size: 7px;
}
.official-schedule-table .pwork,.official-schedule-table .prest,.official-schedule-table .pvac,.official-schedule-table .psick,.official-schedule-table .pabsence{
  font-size: 10px;
}

.print-sheet{box-shadow:none;border:0}
.official-schedule-table .pemp{padding-left:1.5mm}
.official-schedule-table .ppos{text-align:center;font-weight:700}
.official-schedule-table .phead th{height:7mm}
.official-schedule-table thead{display:table-header-group}
.official-schedule-table tr{break-inside:avoid}
.official-sign:empty{display:none}
}
