/* 4.4: Utskrift viser kun det ferdige tilbudet. */
@media print {
  @page { size: A4; margin: 15mm; }
  html, body { background: #fff !important; margin: 0 !important; padding: 0 !important; }
  body.offer-active > :not(#offerScreen) { display: none !important; }
  body.offer-active #appScreen, body.offer-active header, body.offer-active footer,
  body.offer-active .site-header, body.offer-active .offer-actions,
  body.offer-active .no-print, body.offer-active #exampleInfo { display: none !important; }
  body.offer-active #offerScreen { display: block !important; position: static !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
  body.offer-active #offerPage { display: block !important; margin: 0 !important; padding: 0 !important; max-width: none !important; width: 100% !important; border: 0 !important; box-shadow: none !important; }
  body.offer-active #offerPage .proposal { box-shadow: none !important; border: 0 !important; }
  body.offer-active #offerPage tr { break-inside: avoid; }
  body.offer-active #offerPage section { break-inside: avoid-page; }
  body:not(.offer-active) #offerScreen { display: none !important; }
  body:not(.offer-active) .fast-form, body:not(.offer-active) .fast-total,
  body:not(.offer-active) .site-header, body:not(.offer-active) footer,
  body:not(.offer-active) .fast-wrap > h1, body:not(.offer-active) .fast-wrap > p,
  body:not(.offer-active) .fast-actions, body:not(.offer-active) .no-print { display: none !important; }
  body:not(.offer-active) .fast-layout { display: none !important; }
  body:not(.offer-active) .fast-wrap, body:not(.offer-active) .fast-preview,
  body:not(.offer-active) .fast-preview .offer-document { margin: 0 !important; padding: 0 !important; max-width: none !important; width: 100% !important; box-shadow: none !important; border: 0 !important; }
}
@media print {body.offer-active * { visibility:hidden !important; } body.offer-active #offerScreen, body.offer-active #offerScreen #offerPage, body.offer-active #offerScreen #offerPage * { visibility:visible !important; } body.offer-active #offerScreen { position:absolute !important; top:0 !important; left:0 !important; } }
