@page {
    size: legal portrait; /* 8.5in x 14.0in */
    margin: 8mm 12mm 10mm 12mm;
}

body.gcs-form-body {
    background-color: #525659;
    margin: 0;
    padding: 0;
    font-family: 'Times New Roman', Times, Georgia, serif;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.gcs-paper-viewport {
    padding: 24px 0 40px 0;
}

.gcs-sheet-portrait {
    width: 215.9mm;
    min-height: 355.6mm;
    padding: 8mm 14mm 14mm 14mm;
    box-sizing: border-box;
    position: relative;
    background: #ffffff;
    margin: 0 auto 24px auto;
    color: #000000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

/* Document Header */
.appointment-header-container {
    position: relative;
    width: 100%;
    margin-bottom: 6px;
}

.appointment-header-center {
    text-align: center;
    margin: 0 auto;
    max-width: 460px;
}

.appointment-header-dept {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9.5pt;
    font-weight: bold;
    letter-spacing: 0.3px;
    margin-top: 6px;
    margin-bottom: 14pt;
    text-align: center;
    color: #000000;
}

.appointment-header-title {
    font-family: 'Times New Roman', Times, Georgia, serif;
    font-size: 13.5pt;
    font-weight: bold;
    letter-spacing: 0.3px;
    margin-top: 0;
    margin-bottom: 16pt;
    text-align: center;
    color: #000000;
}

/* Top Right Doc Code Table */
.gcs-doc-code-box {
    border-collapse: collapse;
    border: 1.5px solid #000000;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    width: 175px;
}

.gcs-doc-code-box td {
    border: 1px solid #000000;
}

.gcs-doc-code-box .doc-blue-header {
    background-color: #002060 !important;
    color: #ffffff !important;
    font-weight: bold;
    font-size: 7.2pt;
    padding: 2px 3px;
    line-height: 1.1;
}

.gcs-doc-code-box .doc-code-title {
    font-weight: bold;
    font-size: 9pt;
    padding: 2px 3px;
    color: #000000;
    letter-spacing: 0.4px;
    background: #ffffff;
}

.gcs-doc-code-box .doc-sub-val {
    font-size: 7.5pt;
    font-weight: bold;
    padding: 2px;
    color: #000000;
    background: #ffffff;
}

/* Typography & Questions */
.exit-section-title {
    font-family: 'Times New Roman', Times, Georgia, serif;
    font-weight: bold;
    font-size: 9.5pt;
    color: #000000;
}

.exit-q-block {
    font-family: 'Times New Roman', Times, Georgia, serif;
    font-size: 8.5pt;
    line-height: 1.25;
    margin-bottom: 5px;
    color: #000000;
}

.exit-q-title {
    font-weight: bold;
    font-size: 8.5pt;
    margin-bottom: 2px;
}

.exit-chk {
    display: inline-block;
    width: 22px;
    border-bottom: 1px solid #000000;
    margin-right: 4px;
    vertical-align: bottom;
    height: 12px;
    text-align: center;
    font-size: 8pt;
    line-height: 11px;
}

.exit-chk-long {
    display: inline-block;
    width: 44px;
    border-bottom: 1px solid #000000;
    margin-right: 6px;
    vertical-align: bottom;
    height: 12px;
}

.exit-line-fill {
    border-bottom: 1px solid #000000;
    min-height: 15px;
    line-height: 14px;
    padding: 0 4px;
    font-size: 9.5pt;
    font-family: 'Times New Roman', Times, Georgia, serif;
    color: #000000;
    display: inline-block;
    box-sizing: border-box;
}

.exit-ruled-line {
    border-bottom: 1px solid #000000;
    min-height: 24px;
    line-height: 24px;
    padding: 0 4px;
    font-size: 9.5pt;
    font-family: 'Times New Roman', Times, Georgia, serif;
    box-sizing: border-box;
}

@media print {
    body.gcs-form-body {
        background: transparent !important;
        padding: 0 !important;
    }
    .gcs-toolbar, .no-print {
        display: none !important;
    }
    .gcs-paper-viewport {
        padding: 0 !important;
        margin: 0 !important;
    }
    .gcs-sheet-portrait {
        width: 100% !important;
        min-height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        page-break-after: always;
    }
    .gcs-page-break {
        page-break-after: always !important;
        break-after: page !important;
    }
}
