@page {
  size: A4;
  margin: 10mm 9mm;
}

html,
body {
  background: #fff !important;
}

body {
  color: #111;
  font-size: 10.5px;
  line-height: 1.35;
}

.no-print,
.app-header,
.progress-panel,
.form-surface {
  display: none !important;
}

.app-shell {
  display: block;
  width: 100%;
  margin: 0;
}

.print-document {
  display: block !important;
  width: 100%;
  color: #111;
}

.print-header {
  text-align: center;
  margin-bottom: 8px;
}

.print-header p {
  margin-bottom: 3px;
  font-size: 15px;
  font-weight: 800;
}

.print-header h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.print-summary,
.print-record-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.print-summary {
  margin-bottom: 8px;
}

.print-summary th,
.print-summary td,
.print-record-table th,
.print-record-table td {
  border: 1px solid #111;
  padding: 5px 6px;
  vertical-align: top;
}

.print-summary th {
  width: 14%;
  text-align: center;
  font-weight: 800;
  background: #f2f2f2;
}

.print-summary td {
  width: 36%;
  min-height: 24px;
}

.print-table-group {
  margin-top: 8px;
  break-inside: avoid;
  page-break-inside: avoid;
}

.print-table-group h3 {
  margin: 0;
  border: 1px solid #111;
  border-bottom: 0;
  padding: 5px 6px;
  text-align: center;
  font-size: 13px;
}

.print-record-table th {
  text-align: center;
  font-size: 11px;
  background: #f2f2f2;
}

.print-record-table th:first-child,
.print-record-table td:first-child {
  width: 54%;
}

.print-record-table th:nth-child(2),
.print-record-table td:nth-child(2) {
  width: 18%;
  text-align: center;
}

.print-record-table th:nth-child(3),
.print-record-table td:nth-child(3) {
  width: 28%;
}

.print-record-table td {
  min-height: 23px;
}

.print-signatures {
  margin-top: 12px;
  border: 1px solid #111;
}

.print-sign-box {
  min-height: 96px;
  padding: 8px;
  text-align: center;
}

.print-sign-box strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
}

.print-signature-image {
  display: grid;
  place-items: center;
  height: 56px;
  margin-bottom: 4px;
}

.print-signature-image img {
  max-width: 100%;
  max-height: 54px;
  object-fit: contain;
}

.print-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: #555;
  font-size: 9px;
}
