/* CPPLC — print-only overrides.
   The sheets printed are the exact nodes shown in the preview (forms.css owns
   their layout); here we only strip the surrounding application chrome. The
   @page size itself is injected at print time by view-forms.js, because it
   changes with the selected form's orientation. */

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

/* Hide everything except the preview shell's sheets. */
.topbar,
.toast,
.modal-host,
.view-head,
.form-cards,
.toolbar,
.print-hide { display: none !important; }

main { padding: 0 !important; max-width: none !important; margin: 0 !important; }

.preview-shell {
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border-radius: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

.preview-shell .sheet {
  zoom: 1 !important;
  margin: 0 !important;
  box-shadow: none !important;
}
