/* ============================================================================
   BIOCARE OCUPACIONAL - PRINT CSS (A4)
   ============================================================================ */

@media print {

    /* ===== CONFIGURAÇÃO A4 ===== */
    @page {
        size: A4 portrait;
        margin: 6mm 8mm;
    }

    * {
        box-sizing: border-box !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    body {
        margin: 0 !important;
        padding: 0 !important;
        font-family: Arial, sans-serif !important;
        font-size: 8pt !important;
        line-height: 1.25 !important;
        color: #000 !important;
        background: white !important;
    }

    /* ===== ESCONDER INTERFACE DO SISTEMA ===== */
    nav, button, .btn, .no-print, .header,
    .navbar, .sidebar, .menu,
    #formContainer > div:first-child,
    .screen:not(#documentViewScreen),
    .container-fluid > .header {
        display: none !important;
    }

    /* ===== CONTAINER ===== */
    #documentsContainer {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* ===== CADA DOCUMENTO = 1 PÁGINA ===== */
    .document, [id^="doc"] {
        page-break-before: always !important;
        page-break-inside: avoid !important;

        width: 100% !important;
        max-width: 194mm !important;

        padding: 4mm !important;
        margin: 0 !important;

        background: white !important;
        border: none !important;
        box-shadow: none !important;
    }

    .document:first-child,
    [id^="doc"]:first-child {
        page-break-before: avoid !important;
    }

    /* ===== LOGO ===== */
    img[alt*="Logo"], img[src*="logo"] {
        max-width: 40px !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto 3mm auto !important;
    }

    /* ===== TÍTULOS ===== */
    h2 {
        font-size: 10pt !important;
        text-align: center !important;
        margin-bottom: 3mm !important;
        padding: 2mm !important;
        border: 1px solid #008B8B !important;
        color: #008B8B !important;
    }

    h3 {
        font-size: 8.5pt !important;
        margin: 2mm 0 1mm 0 !important;
    }

    /* ===== TEXTO ===== */
    p {
        font-size: 8pt !important;
        line-height: 1.3 !important;
        margin: 1mm 0 !important;
    }

    strong {
        font-weight: 600 !important;
    }

    /* ===== TABELAS ===== */
    table {
        width: 100% !important;
        border-collapse: collapse !important;
        margin: 1.5mm 0 !important;
        font-size: 7.5pt !important;
    }

    td, th {
        border: 0.5px solid #999 !important;
        padding: 1mm !important;
        vertical-align: top !important;
    }

    /* ===== CHECKBOX ===== */
    input[type="checkbox"],
    input[type="radio"] {
        transform: scale(0.8) !important;
        margin-right: 2px !important;
    }

    /* ===== BLOCOS ===== */
    .document-body > div,
    .document-body > table {
        margin-bottom: 2mm !important;
    }

    /* ===== ASSINATURA ===== */
    div[style*="border-top"] {
        margin-top: 8mm !important;
        text-align: center !important;
    }

    /* ===== RODAPÉ ===== */
    .biocare-footer {
        font-size: 6.5pt !important;
        margin-top: 4mm !important;
        border-top: 0.5px solid #ccc !important;
        padding-top: 2mm !important;
    }

    /* ===== EVITAR QUEBRA INTERNA ===== */
    .signature-section,
    .info-table,
    .document-header {
        page-break-inside: avoid !important;
    }

    #docAcuidadeVisual div[style*="justify-content: space-between"] {
    margin-top: 5mm !important;
}
#docAcuidadeVisual {
    padding-top: 0mm !important;
}
#docAcuidadeVisual .document-body > div {
    margin-bottom: 3mm !important;
}

#docAcuidadeVisual .document-header,
#docAcuidadeVisual img[alt*="Logo"],
#docAcuidadeVisual img[src*="logo"] {
    margin-top: -4mm !important;   /* sobe a logo */
    margin-bottom: 1mm !important; /* encurta o espaço abaixo */
}

#docAnamneseAudiometria .document-body > div:first-child {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 5mm !important; /* AQUI resolve */
}
/* ============================================================================
   CANHOTO DE ATENDIMENTO - BLOCO COMPLETO MENOR E MAIS BONITO
   ============================================================================ */

#docCanhotoAtendimento {
    font-size: 6.5pt !important;
    line-height: 1.08 !important;
}

/* --------------------------------------------------------------------------
   BLOCO SUPERIOR (logo + dados)
   -------------------------------------------------------------------------- */
#docCanhotoAtendimento .document-body > div:first-child {
    padding: 1.2mm !important;
    margin-bottom: 1.5mm !important;
}

#docCanhotoAtendimento .document-body > div:first-child table,
#docCanhotoAtendimento .document-body > div:first-child td,
#docCanhotoAtendimento .document-body > div:first-child th {
    font-size: 6.6pt !important;
    line-height: 1.1 !important;
}

#docCanhotoAtendimento .document-body > div:first-child td,
#docCanhotoAtendimento .document-body > div:first-child th {
    padding: 0.8mm 1mm !important;
    vertical-align: middle !important;
}

/* logo do canhoto */
#docCanhotoAtendimento img[src*="biocare-logo"] {
    max-width: 34px !important;
    max-height: 34px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto 1.5mm auto !important;
    display: block !important;
    object-fit: contain !important;
}

/* --------------------------------------------------------------------------
   TABELA PRINCIPAL
   -------------------------------------------------------------------------- */
#docCanhotoAtendimento table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 6.4pt !important;
    margin: 0.5mm 0 !important;
}

#docCanhotoAtendimento td,
#docCanhotoAtendimento th {
    padding: 0.45mm 0.7mm !important;
    line-height: 1.08 !important;
    vertical-align: middle !important;
}

/* cabeçalho da tabela */
#docCanhotoAtendimento th {
    font-size: 6.1pt !important;
    font-weight: 700 !important;
    text-align: center !important;
}

/* colunas de checkbox */
#docCanhotoAtendimento td:nth-child(1),
#docCanhotoAtendimento td:nth-child(2),
#docCanhotoAtendimento th:nth-child(1),
#docCanhotoAtendimento th:nth-child(2) {
    width: 11% !important;
    text-align: center !important;
}

/* coluna procedimento */
#docCanhotoAtendimento td:nth-child(3),
#docCanhotoAtendimento th:nth-child(3) {
    width: 50% !important;
}

#docCanhotoAtendimento td:nth-child(3) {
    font-size: 7.1pt !important;
    font-weight: 400 !important;
    line-height: 1.08 !important;
}

/* colunas início e fim */
#docCanhotoAtendimento td:nth-child(4),
#docCanhotoAtendimento td:nth-child(5),
#docCanhotoAtendimento th:nth-child(4),
#docCanhotoAtendimento th:nth-child(5) {
    width: 14% !important;
    text-align: center !important;
}

/* altura das linhas */
#docCanhotoAtendimento tr {
    height: 5.7mm !important;
}

/* --------------------------------------------------------------------------
   CHECKBOXES
   -------------------------------------------------------------------------- */
#docCanhotoAtendimento input[type="checkbox"] {
    width: 11px !important;
    height: 11px !important;
    margin: 0 !important;
    transform: scale(0.72) !important;
    vertical-align: middle !important;
    -webkit-appearance: checkbox !important;
    appearance: checkbox !important;
}

#docCanhotoAtendimento td:first-child div,
#docCanhotoAtendimento td:nth-child(2) div {
    width: 9px !important;
    height: 9px !important;
    border: 1.5px solid #000 !important;
    margin: 0 auto !important;
}

/* --------------------------------------------------------------------------
   ASSINATURA
   -------------------------------------------------------------------------- */
#docCanhotoAtendimento div[style*="border-top"] {
    margin-top: 5mm !important;
    text-align: center !important;
}

#docCanhotoAtendimento div[style*="border-top"] p {
    font-size: 6.8pt !important;
    line-height: 1.1 !important;
    margin-top: 1mm !important;
}

#docCanhotoAtendimento td:nth-child(1),
#docCanhotoAtendimento td:nth-child(2) {
    font-size: 10pt !important;
}

/* --------------------------------------------------------------------------
   RODAPÉ
   -------------------------------------------------------------------------- */
#docCanhotoAtendimento .biocare-footer,
#docCanhotoAtendimento .biocare-footer p {
    font-size: 6pt !important;
    line-height: 1.05 !important;
}

   TERMO DE PERDA AUDITIVA - AJUSTE VISUAL
   ============================================================================ */

#docPerdaAuditiva .checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#docPerdaAuditiva .checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: #f3f4f6;
    border-radius: 5px;
}

#docPerdaAuditiva .checkbox-box {
    width: 20px;
    height: 20px;
    border: 2px solid #008B8B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    flex: 0 0 20px;
}

#docPerdaAuditiva .checkbox-box.checked::after {
    content: '✓';
    color: #7CB342;
    font-weight: bold;
    font-size: 16px;
}

/* ============================================================================
   TERMO DE PERDA AUDITIVA - AJUSTE PARA FICAR IGUAL AO MODELO
   ============================================================================ */

#docPerdaAuditiva {
    font-size: 8pt !important;
}

#docPerdaAuditiva .document-header {
    margin-bottom: 3mm !important;
}

#docPerdaAuditiva .document-body {
    max-width: 165mm !important;
    margin: 0 auto !important;
    padding-top: 1mm !important;
}

/* garante que o primeiro parágrafo não fique vermelho mesmo com cache */
#docPerdaAuditiva .document-section:first-child p {
    color: #000 !important;
    font-size: 12pt !important;
    line-height: 1.45 !important;
    text-align: justify !important;
}

/* parágrafos do termo */
#docPerdaAuditiva .document-section p {
    font-size: 12pt !important;
    line-height: 1.45 !important;
    margin: 3mm 0 !important;
    text-align: justify !important;
}

/* bloco "Declaro ter sido orientado(a) sobre:" */
#docPerdaAuditiva .checkbox-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 3mm !important;
    margin: 3mm 0 4mm 0 !important;
}

#docPerdaAuditiva .checkbox-item {
    display: flex !important;
    align-items: center !important;
    gap: 3mm !important;
    padding: 2.5mm 3mm !important;
    background: #f3f4f6 !important;
    border-radius: 4px !important;
}

#docPerdaAuditiva .checkbox-box {
    width: 18px !important;
    height: 18px !important;
    border: 2px solid #008B8B !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 3px !important;
    flex: 0 0 18px !important;
}

#docPerdaAuditiva .checkbox-box.checked::after {
    content: '✓' !important;
    color: #7CB342 !important;
    font-weight: bold !important;
    font-size: 14px !important;
}

/* local e data */
#docPerdaAuditiva .document-section[style*="margin-top: 60px"] {
    margin-top: 14mm !important;
}

#docPerdaAuditiva .document-section[style*="margin-top: 60px"] p {
    text-align: center !important;
}

/* assinatura do colaborador */
#docPerdaAuditiva .document-section[style*="margin-top: 60px"] + .document-section {
    margin-top: 14mm !important;
}

#docPerdaAuditiva .document-section[style*="margin-top: 60px"] + .document-section p {
    text-align: center !important;
}

/* assinatura do médico */
#docPerdaAuditiva .document-section[style*="margin-top: 50px"] {
    margin-top: 14mm !important;
}

#docPerdaAuditiva .document-section[style*="margin-top: 50px"] p {
    text-align: center !important;
}

/* ============================================================================
   TERMO DE PERDA AUDITIVA - AJUSTE DE TIPOGRAFIA
   ============================================================================ */

#docPerdaAuditiva .document-section p {
    font-size: 10.5pt !important;
    line-height: 1.35 !important;
}

/* primeiro parágrafo */
#docPerdaAuditiva .document-section:first-child p {
    font-size: 10.5pt !important;
}

/* checklist */
#docPerdaAuditiva .checkbox-item {
    font-size: 10pt !important;
    padding: 2mm 2.5mm !important;
}

/* título "Declaro..." */
#docPerdaAuditiva .document-section p strong {
    font-size: 10.5pt !important;
}

/* ============================================================================
   TESTE DE ROMBERG E EQUILÍBRIO - RESTAURAÇÃO DO LAYOUT EM BLOCOS
   ============================================================================ */

#docTesteRomberg {
    font-size: 7pt !important;
}

/* blocos dos 4 testes */
#docTesteRomberg .romberg-test-section {
    border: 1px solid #333 !important;
    border-radius: 6px !important;
    padding: 3mm !important;
    margin-bottom: 3mm !important;
    background: #fafafa !important;
    page-break-inside: avoid !important;
}

#docTesteRomberg .romberg-test-title {
    color: #000 !important;
    font-size: 8.5pt !important;
    font-weight: 700 !important;
    margin: 0 0 1.5mm 0 !important;
    line-height: 1.2 !important;
}

#docTesteRomberg .romberg-label {
    margin: 0 0 1mm 0 !important;
    font-size: 7.5pt !important;
    font-weight: 700 !important;
    color: #000 !important;
}

/* opções dentro de cada bloco */
#docTesteRomberg .romberg-options {
    display: flex !important;
    flex-direction: column !important;
    gap: 1mm !important;
}

#docTesteRomberg .romberg-checkbox-label {
    display: block !important;
    font-size: 7pt !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    color: #000 !important;
}

/* caixas visuais */
#docTesteRomberg .romberg-checkbox,
#docTesteRomberg .romberg-checkbox-large {
    display: inline-block !important;
    width: 3.2mm !important;
    height: 3.2mm !important;
    border: 1px solid #000 !important;
    border-radius: 1mm !important;
    vertical-align: middle !important;
    margin: 0 1.2mm 0 1.2mm !important;
    background: #fff !important;
}

/* observações */
#docTesteRomberg .romberg-observations {
    margin-top: 2mm !important;
}

#docTesteRomberg .romberg-observations-box {
    margin-top: 1mm !important;
}

#docTesteRomberg .romberg-observations-box div {
    min-height: 10mm !important;
    border-bottom: 1px solid #ccc !important;
}

/* conclusão */
#docTesteRomberg .romberg-conclusion-section {
    margin-top: 4mm !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    text-align: center !important;
}

#docTesteRomberg .romberg-conclusion-header {
    font-size: 12pt !important;
    font-weight: 700 !important;
    color: #000 !important;
    margin: 0 0 3mm 0 !important;
    text-align: center !important;
}

#docTesteRomberg .romberg-conclusion-options {
    display: flex !important;
    justify-content: center !important;
    gap: 18mm !important;
    margin-bottom: 5mm !important;
}

#docTesteRomberg .romberg-conclusion-options .romberg-checkbox-label {
    font-size: 8pt !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    gap: 2mm !important;
}

/* assinatura */
#docTesteRomberg .romberg-signature-section {
    margin-top: 11mm !important;
    text-align: center !important;
}

#docTesteRomberg .romberg-signature-line {
    width: 90mm !important;
    margin: 0 auto !important;
    border-top: 1px solid #000 !important;
}

/* tabela de identificação continua sem contorno verde */
#docTesteRomberg table:first-of-type {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}

/* =======================================================================/* ============================================================================
   AVALIAÇÃO PSICOSSOCIAL (PHQ-9) - BLOCO COMPLETO CORRIGIDO
   ============================================================================ */

#docAvaliacaoPsicossocial {
    font-size: 6.8pt !important;
    line-height: 1.15 !important;
}

/* título e subtítulo */
#docAvaliacaoPsicossocial h2 {
    margin-bottom: 1.5mm !important;
}

#docAvaliacaoPsicossocial h3 {
    margin: 1mm 0 1.5mm 0 !important;
    font-size: 6.4pt !important;
    text-align: center !important;
}

/* ============================================================================
   TABELA DE DADOS (igual às outras)
   ============================================================================ */

#docAvaliacaoPsicossocial table:first-of-type {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 1.5mm 0 10mm 0 !important;
    font-size: 6.9pt !important;
}

#docAvaliacaoPsicossocial table:first-of-type td,
#docAvaliacaoPsicossocial table:first-of-type th {
    border: 1px solid #999 !important;
    padding: 0.8mm 1.1mm !important;
    line-height: 1.13 !important;
    font-size: 7pt !important;
}

#docAvaliacaoPsicossocial table:first-of-type td:first-child {
    white-space: nowrap !important;
    width: 30% !important;
}

#docAvaliacaoPsicossocial table:first-of-type tr {
    height: auto !important;
}

#docAvaliacaoPsicossocial table:first-of-type td:first-child,
#docAvaliacaoPsicossocial table:first-of-type td:nth-child(3) {
    font-weight: 700 !important;
    width: 30% !important;
}

#docAvaliacaoPsicossocial table:first-of-type td:nth-child(2),
#docAvaliacaoPsicossocial table:first-of-type td:nth-child(4) {
    font-weight: 400 !important;
}

/* ============================================================================
   TABELA PRINCIPAL DO PHQ-9
   ============================================================================ */

#docAvaliacaoPsicossocial table:nth-of-type(2) {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 1mm 0 !important;
    font-size: 6.5pt !important;
}

#docAvaliacaoPsicossocial table:nth-of-type(2) td,
#docAvaliacaoPsicossocial table:nth-of-type(2) th {
    border: 1px solid #999 !important;
    padding: 0.9mm !important;
    line-height: 1.1 !important;
    vertical-align: middle !important;
}

#docAvaliacaoPsicossocial table:nth-of-type(2) th {
    font-size: 6.2pt !important;
    font-weight: 700 !important;
    text-align: center !important;
}

#docAvaliacaoPsicossocial table:nth-of-type(2) td:first-child,
#docAvaliacaoPsicossocial table:nth-of-type(2) th:first-child {
    width: 43% !important;
    font-size: 6.6pt !important;
    line-height: 1.12 !important;
    vertical-align: top !important;
}

#docAvaliacaoPsicossocial table:nth-of-type(2) td:not(:first-child),
#docAvaliacaoPsicossocial table:nth-of-type(2) th:not(:first-child) {
    width: 14.25% !important;
    text-align: center !important;
}

/* quadrados/checks */
#docAvaliacaoPsicossocial input[type="checkbox"] {
    width: 2.8mm !important;
    height: 2.8mm !important;
    transform: scale(0.9) !important;
    margin: 0 !important;
    vertical-align: middle !important;
}

/* caso os quadrados sejam caracteres */
#docAvaliacaoPsicossocial td[style*="font-size: 30px"],
#docAvaliacaoPsicossocial td[style*="font-size: 30px;"] {
    font-size: 12pt !important;
    line-height: 1 !important;
    text-align: center !important;
}

/* linha TOTAL */
#docAvaliacaoPsicossocial table:nth-of-type(2) tr:last-child td {
    padding: 0.8mm !important;
    font-size: 6.4pt !important;
    font-weight: 700 !important;
}

/* ============================================================================
   BLOCO DE INTERPRETAÇÃO
   ============================================================================ */

#docAvaliacaoPsicossocial .score-interpretation,
#docAvaliacaoPsicossocial div[style*="background: var(--biocare-gray-light)"] {
    font-size: 6.5pt !important;
    padding: 1.8mm !important;
    margin-top: 1.8mm !important;
    line-height: 1.2 !important;
}

/* ============================================================================
   ASSINATURA
   ============================================================================ */

#docAvaliacaoPsicossocial .signature-section,
#docAvaliacaoPsicossocial div[style*="border-top: 1px solid #000"] {
    margin-top: 12mm !important;
    text-align: center !important;
}

#docGuiaEncaminhamentoRX {
    font-size: 7pt !important;
    line-height: 1.15 !important;
}

/* 1) BLOCO DE DADOS - sem borda verde externa */
#docGuiaEncaminhamentoRX .document-body > div:first-of-type {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 4mm !important;
}

#docGuiaEncaminhamentoRX .document-body > div:first-of-type table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

#docGuiaEncaminhamentoRX .document-body > div:first-of-type td {
    border: 1px solid #999 !important;
    padding: 1mm 1.4mm !important;
    font-size: 6.8pt !important;
    line-height: 1.15 !important;
}

/* 2) DADOS DO EXAME */
#docGuiaEncaminhamentoRX .document-body > div:nth-of-type(2) {
    margin-top: 4mm !important;
    margin-bottom: 10mm !important;
    padding: 2.5mm 2mm !important;
}

#docGuiaEncaminhamentoRX .document-body > div:nth-of-type(2) > div {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

#docGuiaEncaminhamentoRX .document-body > div:nth-of-type(2) p {
    margin: 0 0 1mm 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

#docGuiaEncaminhamentoRX .document-body > div:nth-of-type(2) p strong {
    font-size: 7.2pt !important;
    margin-right: 8px !important;
    white-space: nowrap !important;
}

#docGuiaEncaminhamentoRX .document-body > div:nth-of-type(2) div[style*="display: flex"] {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
}

#docGuiaEncaminhamentoRX .document-body > div:nth-of-type(2) label {
    font-size: 7pt !important;
    line-height: 1.2 !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    margin: 0 !important;
}

#docGuiaEncaminhamentoRX .document-body > div:nth-of-type(2) input[type="checkbox"] {
    width: 13px !important;
    height: 13px !important;
    margin-right: 4px !important;
    vertical-align: middle !important;
    transform: none !important;
}

/* 3) TABELA DE EXAMES */
#docGuiaEncaminhamentoRX table:nth-of-type(2) {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 1mm 0 4mm 0 !important;
}

#docGuiaEncaminhamentoRX table:nth-of-type(2) th,
#docGuiaEncaminhamentoRX table:nth-of-type(2) td {
    border: 1px solid #999 !important;
    padding: 1mm !important;
    font-size: 6.9pt !important;
    line-height: 1.15 !important;
    vertical-align: top !important;
}

#docGuiaEncaminhamentoRX table:nth-of-type(2) th {
    text-align: center !important;
    font-weight: 700 !important;
}

/* 4) BLOCO DE RECOMENDAÇÕES */
#docGuiaEncaminhamentoRX .document-body > div:nth-of-type(4) {
    padding: 3mm !important;
    margin-bottom: 4mm !important;
}

/* ESTE é o container real dos dois lados */
#docGuiaEncaminhamentoRX .document-body > div:nth-of-type(4) > div:last-child {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important; /* chave do alinhamento */
    gap: 50px !important;
    flex-wrap: nowrap !important;
}

/* cada coluna */
#docGuiaEncaminhamentoRX .document-body > div:nth-of-type(4) > div:last-child > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    width: 230px !important;
}

/* QR e mapa exatamente iguais */
#docGuiaEncaminhamentoRX img[alt="QR Code Endereço"],
#docGuiaEncaminhamentoRX img[alt="Mapa Localização"] {
    width: 180px !important;
    height: 180px !important;
    max-width: 180px !important;
    max-height: 180px !important;
    display: block !important;
    margin: 0 auto 10px auto !important;
    border: 3px solid #008B8B !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

/* mapa ocupa todo o quadro */
#docGuiaEncaminhamentoRX img[alt="Mapa Localização"] {
    object-fit: fill !important;
}

/* compensa o texto extra do lado do QR */
#docGuiaEncaminhamentoRX .document-body > div:nth-of-type(4) > div:last-child > div:last-child {
    padding-top: 43px !important;
}

/* RESPONSÁVEL */
#docGuiaEncaminhamentoRX .document-body > div:last-of-type {
    margin-top: 8mm !important;
    margin-bottom: 4mm !important;
}

/* LINHA DO RODAPÉ */
#docGuiaEncaminhamentoRX hr {
    margin-top: 6mm !important;
}

/* TEXTO DO RODAPÉ */
#docGuiaEncaminhamentoRX .document-body > p:last-of-type {
    margin-top: 3mm !important;
}
}