/* Loaded only by Labelmate, with media="print". The child editor already
   has print rules for its artwork; the host must also exclude its own UI. */
@page { size: 210mm 297mm; margin: 0; }
html, body[data-tool="labelmate"] {
  width: 210mm !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: white !important;
}
body[data-tool="labelmate"] > :not(.app-layout),
body[data-tool="labelmate"] .app-layout > :not(#main),
body[data-tool="labelmate"] #main > :not(.labelmate-frame-shell),
body[data-tool="labelmate"] .labelmate-frame-shell > :not(.labelmate-frame) {
  display: none !important;
}
body[data-tool="labelmate"] .app-layout,
body[data-tool="labelmate"] #main,
body[data-tool="labelmate"] .labelmate-frame-shell {
  display: block !important;
  position: static !important;
  width: 210mm !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: none !important;
  zoom: 1 !important;
  background: white !important;
  line-height: 0 !important;
}
body[data-tool="labelmate"] .labelmate-frame {
  display: block !important;
  position: static !important;
  box-sizing: border-box !important;
  width: 210mm !important;
  height: 297mm !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  transform: none !important;
  zoom: 1 !important;
  break-inside: avoid;
  break-after: auto;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}
