/* Papel independente do tema. Não modifica a impressão dos comprovantes de EPI. */
#printArea .rhCalendarPaper{color:#111;background:white;font-family:Arial,sans-serif;font-size:9pt}
.rhCalendarPaper *{box-sizing:border-box}
.rhPaperPage{width:277mm;height:190mm;position:relative;break-after:page;page-break-after:always;overflow:visible}
.rhPaperPage:last-child{break-after:auto;page-break-after:auto}
.rhPaperHead{display:flex;justify-content:space-between;align-items:start;border-bottom:1px solid #333;padding:0 0 2mm;margin-bottom:2mm;min-height:15mm;gap:5mm}
.rhPaperHead strong{font-size:10pt}.rhPaperHead h1{font-size:15pt;margin:1mm 0}.rhPaperHead>div:last-child{text-align:right;font-size:8pt;line-height:1.5}
.rhPaperLegend{display:flex;gap:1mm 4mm;flex-wrap:wrap;font-size:7pt;line-height:1.3;margin-bottom:2mm;min-height:8mm}
.rhPaperLegend span{display:inline-flex;gap:1mm;align-items:center}.rhPaperLegend i{width:3mm;height:3mm;border:2px solid;display:inline-block}
.rhPaperWeek,.rhPaperDays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0}
.rhPaperWeek b{font-size:8pt;text-align:center;border:1px solid #777;padding:1mm}
.rhPaperDays{grid-template-rows:repeat(6,18mm)}
.rhPaperDay{border:1px solid #999;padding:1mm;min-width:0;position:relative;break-inside:avoid}
.rhPaperDay>strong{font-size:8pt}.rhPaperBlank{background:#f4f4f4!important}
.rhPaperEvent{border-left:1mm solid;padding-left:1mm;font-size:6.5pt;line-height:1.2;margin-top:.5mm;white-space:normal;overflow-wrap:anywhere}
.rhPaperDay small{font-size:6pt}.rhPaperDayNote{position:absolute;bottom:1mm;left:1mm;right:1mm;border-bottom:1px dotted #bbb;height:2mm}
.rhPaperNotes{margin-top:3mm;font-size:8pt}.rhPaperNotes>div{height:5mm;border-bottom:1px solid #aaa}
.rhPaperFoot{font-size:7pt;line-height:1.4;margin-top:3mm;border-top:1px solid #777;padding-top:1mm}
.rhPaperWorksheet>p{font-size:8pt;margin:2mm 0 3mm;line-height:1.4}
.rhPaperWorksheet table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:8pt}
.rhPaperWorksheet th,.rhPaperWorksheet td{border:1px solid #777;padding:1.5mm;vertical-align:top;color:#111;text-align:left;text-transform:none;overflow-wrap:anywhere}
.rhPaperWorksheet tr{height:14mm;break-inside:avoid}.rhPaperWorksheet thead tr{height:auto}.rhPaperWorksheet th{font-size:7pt;background:#eee!important}
.rhPaperWorksheet td small{display:block;font-size:6.5pt;line-height:1.3;margin-top:1mm}
.rhPaperWritingLine{height:4mm;border-bottom:1px dotted #aaa}
@media print{
 @page rh-calendar{size:A4 landscape;margin:10mm}
 #printArea:has(.rhCalendarPaper){page:rh-calendar;padding:0!important;margin:0!important;width:277mm}
 .rhCalendarPaper{page:rh-calendar;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .rhPaperPage{page:rh-calendar}
 #printArea .rhCalendarPaper th,#printArea .rhCalendarPaper td{display:table-cell!important}
 #printArea .rhCalendarPaper td:before{content:none!important}
}

/* Fichas com nomes extensos podem continuar em outra folha A4 sem cortar registros. */
.rhPaperWorksheet{height:auto;min-height:190mm}
