/* RH.Me v1.2.0 - documentos administrativos no padrão visual do holerite */
.hrdoc-type-switch{background:#f7f6f2;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 0}
.hrdoc-type-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.hrdoc-type-card{display:flex;min-height:134px;flex-direction:column;padding:17px 16px;border:1px solid var(--line);background:#fff;text-decoration:none;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.hrdoc-type-card:hover{border-color:#a8a49b;transform:translateY(-1px)}
.hrdoc-type-card.is-active{border-left:4px solid var(--blue);box-shadow:0 6px 18px rgba(0,0,0,.06)}
.hrdoc-type-card small{font-size:.66rem;text-transform:uppercase;letter-spacing:.1em;color:var(--blue);font-weight:800}
.hrdoc-type-card strong{font-size:.91rem;line-height:1.22;margin:7px 0 6px}
.hrdoc-type-card span{font-size:.72rem;line-height:1.45;color:var(--muted)}
.hrdoc-form-page textarea{height:auto;min-height:118px;resize:vertical;line-height:1.55}
.hrdoc-inline-info{padding:13px 15px;background:var(--paper);border-left:3px solid var(--blue);font-size:.78rem;line-height:1.55;color:var(--ink2)}
.hrdoc-report-document{background:#e9e8e4;padding:28px 16px 54px}
.hrdoc-sheet{padding-bottom:34mm}
.hrdoc-preview-header{grid-template-columns:1fr 69mm}
.hrdoc-preview-header .document-title-block>strong{max-width:68mm}
.hrdoc-employee-identification{grid-template-columns:2fr 1.15fr 1fr 1.35fr}
.hrdoc-employee-identification.hrdoc-employee-five{grid-template-columns:1.85fr 1.08fr .8fr 1.12fr 1.15fr}
.hrdoc-content{padding-top:7mm;font-size:8pt;line-height:1.62;color:var(--ink2)}
.hrdoc-content p{font-size:8pt;line-height:1.65;margin:5mm 0 0}
.hrdoc-value-highlight{padding:5mm 0 7mm;border-bottom:1px solid var(--line)}
.hrdoc-value-highlight span,.hrdoc-summary-grid span,.hrdoc-reason>span,.hrdoc-note>span{display:block;font-size:6.2pt;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:700}
.hrdoc-value-highlight strong{display:block;font-size:18pt;letter-spacing:-.03em;margin-top:1.5mm;color:var(--ink)}
.hrdoc-note{margin-top:6mm;padding:4mm;background:var(--paper);border-left:3px solid var(--blue)}
.hrdoc-note p{margin:2mm 0 0;font-size:7.4pt}
.hrdoc-place-date{font-size:7.2pt;margin-bottom:8mm;color:var(--ink2)}
.hrdoc-signatures{display:grid;gap:14mm;align-items:start}
.hrdoc-signatures.one{grid-template-columns:minmax(0,78mm) 1fr}
.hrdoc-signatures.two{grid-template-columns:1fr 1fr}
.hrdoc-signatures>div{min-width:0}
.hrdoc-signatures .signature-line{display:block;height:8mm;border-bottom:1px solid var(--ink)}
.hrdoc-signatures strong{display:block;text-align:center;font-size:7pt;line-height:1.25;margin-top:1.7mm}
.hrdoc-signatures em,.hrdoc-signatures small{display:block;text-align:center;font-size:5.9pt;line-height:1.35;color:var(--muted);font-style:normal;margin-top:.6mm}
.hrdoc-payroll-table{margin-top:2mm}
.hrdoc-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);margin-top:7mm;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.hrdoc-summary-grid>div{padding:4mm 3mm;border-right:1px solid #eceae4;min-width:0}.hrdoc-summary-grid>div:last-child{border-right:0}
.hrdoc-summary-grid strong{display:block;font-size:8.5pt;margin-top:1.2mm;white-space:nowrap}.hrdoc-summary-grid .net strong{font-size:11pt;color:var(--ink)}
.hrdoc-declaration{margin-top:7mm!important}
.hrdoc-disciplinary-content{padding-top:8mm}
.hrdoc-disciplinary-content .hrdoc-opening{margin-top:0}
.hrdoc-reason{margin:7mm 0;padding:4.5mm 5mm;background:#f7f6f2;border-left:3px solid var(--blue);min-height:30mm}
.hrdoc-reason p{margin:2mm 0 0;white-space:normal}
.hrdoc-witnesses{display:grid;grid-template-columns:1fr 1fr;gap:14mm;margin-top:8mm}
.hrdoc-witnesses .signature-line{display:block;height:7mm;border-bottom:1px solid var(--ink)}
.hrdoc-witnesses strong,.hrdoc-witnesses small{display:block;text-align:center}.hrdoc-witnesses strong{font-size:6.4pt;margin-top:1.5mm}.hrdoc-witnesses small{font-size:5.6pt;color:var(--muted);margin-top:.5mm}
.hrdoc-disciplinary-sheet .hrdoc-footer{padding-top:6mm}
.hrdoc-sheet .screen-only-document-footer{margin-top:6mm}
.hrdoc-sheet .document-rhme-mark{display:block}

@media(max-width:1100px){.hrdoc-type-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.hrdoc-type-grid{grid-template-columns:1fr 1fr}.hrdoc-employee-identification,.hrdoc-employee-identification.hrdoc-employee-five{grid-template-columns:1fr 1fr}.hrdoc-summary-grid{grid-template-columns:1fr 1fr}.hrdoc-signatures.one,.hrdoc-signatures.two,.hrdoc-witnesses{grid-template-columns:1fr}.hrdoc-signatures.one>div{max-width:none}.hrdoc-preview-header{grid-template-columns:1fr;gap:6mm}.hrdoc-preview-header .document-title-block{text-align:left;align-items:flex-start}}
@media(max-width:520px){.hrdoc-type-grid{grid-template-columns:1fr}.hrdoc-type-card{min-height:auto}.hrdoc-summary-grid{grid-template-columns:1fr}.hrdoc-summary-grid>div{border-right:0;border-bottom:1px solid #eceae4}.hrdoc-summary-grid>div:last-child{border-bottom:0}}

@media print{
  .document-rhme-mark,.screen-only-document-mark,.screen-only-document-footer,.hrdoc-sheet .screen-only-document-footer,.brand-footer{display:none!important;visibility:hidden!important;height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;border:0!important}
  .hrdoc-report-document{padding:0!important;background:#fff!important}
  .hrdoc-sheet{width:210mm!important;height:297mm!important;min-height:297mm!important;max-height:297mm!important;margin:0!important;padding:11mm 14mm 24mm!important;box-shadow:none!important;overflow:hidden!important;page-break-after:auto!important;break-after:auto!important}
}

/* RH.Me v1.5.4 - reparos da validação real em recibos RH */
.hrdoc-company-address-line{display:block;line-height:1.35;max-width:100%}.hrdoc-employee-identification{display:grid!important;grid-template-columns:minmax(0,1fr) 46mm!important;gap:7mm!important;padding-bottom:3mm!important}.hrdoc-employee-identification .employee-name strong{white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;line-height:1.18!important}.hrdoc-employee-identification>div:nth-child(2) strong{white-space:nowrap}.hrdoc-employee-occupation{grid-template-columns:34mm minmax(0,1fr)!important}.hrdoc-receipt-content{text-align:center;align-items:stretch}.hrdoc-receipt-content .hrdoc-value-highlight{text-align:center}.hrdoc-receipt-content>p{max-width:155mm;margin-left:auto;margin-right:auto}.hrdoc-receipt-content .hrdoc-note{text-align:center;max-width:150mm;margin-left:auto;margin-right:auto;border-left:0;border-top:3px solid var(--blue)}.hrdoc-footer .hrdoc-place-date{text-align:center}.hrdoc-signatures.one{grid-template-columns:1fr!important}.hrdoc-signatures.one>div{width:min(100%,92mm);max-width:92mm;margin:0 auto}.hrdoc-signatures strong{white-space:normal;overflow-wrap:break-word}.hrdoc-declaration{text-align:center;max-width:155mm;margin-left:auto!important;margin-right:auto!important}.payment-cash-note{align-self:end}.payment-cash-note .field-hint-block{min-height:46px;display:flex;align-items:center;padding:10px 12px;background:var(--paper);border-left:3px solid var(--blue)}
@media(max-width:760px){.hrdoc-employee-identification{grid-template-columns:1fr!important}.hrdoc-employee-occupation{grid-template-columns:1fr!important}}
