/* Print: only the paper (letters, payslips, settlements) or the current page content, no chrome. */
@page { size: A4; margin: 0; }
html, body { background: #fff !important; color: #000 !important; }
.side, .topbar, .bottom-nav, .drawer, #toasts, .no-print, .paper-tools, .page-head .actions, .tabs, dialog { display: none !important; }
.main { margin: 0 !important; }
.view { padding: 0 !important; max-width: none !important; }
.paper { box-shadow: none !important; border-radius: 0 !important; width: 210mm !important; min-height: 297mm !important; margin: 0 !important; padding: 18mm !important; }
.paper .foot { inset-inline: 18mm !important; }
body:not(.printing-paper) .view { padding: 12mm !important; }
.card { border-color: #ddd !important; box-shadow: none !important; break-inside: avoid; }
a { color: inherit !important; text-decoration: none !important; }

@page hr-letter { size: A4 portrait; margin: 0; }
@page hr-experience { size: A4 landscape; margin: 0; }
.paper.hr-letter { page:hr-letter; width:210mm!important; min-height:297mm!important; max-width:none!important; padding:16mm 18mm 12mm!important; print-color-adjust:exact; -webkit-print-color-adjust:exact; }
.paper.hr-letter.experience { page:hr-experience; width:297mm!important; min-height:210mm!important; padding:12mm 18mm 10mm!important; }
.paper.hr-letter .foot { position:static!important; }
.paper.hr-letter .letter-stamp { width:40mm!important;height:40mm!important; }
/* Remove viewport-sized app shells and entry animations from the printed document. */
body.printing-paper:has(.hr-letter), body.printing-paper:has(.hr-letter) #app, body.printing-paper:has(.hr-letter) .main { min-height:0!important; height:auto!important; display:block!important; }
body.printing-paper:has(.hr-letter) .page { display:block!important; gap:0!important; animation:none!important; opacity:1!important; transform:none!important; }
