@page {
  size: A4;
  margin: 0;
}

html,
body {
  width: 210mm;
  min-height: 297mm;
  margin: 0;
  background: #ffffff !important;
}

.topbar,
.control-panel,
.preview-toolbar {
  display: none !important;
}

.app-shell,
.workspace,
.preview-panel,
.document-preview {
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  background: #ffffff !important;
}

.doc-page {
  width: 210mm !important;
  min-height: 297mm !important;
  margin: 0 !important;
  padding: 18mm 17mm 16mm !important;
  box-shadow: none !important;
  page-break-after: always;
}

.doc-page:last-child {
  page-break-after: auto;
}

.draft-ribbon {
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.doc-mark,
.standards-table th,
.standards-table td {
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
