body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f3f4f6;
}

.a4-page {
    width: 210mm;
    min-height: 297mm;
    background: white;
    margin: 0 auto;
    padding: 15mm;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    font-family: 'Times New Roman', Times, serif;
    box-sizing: border-box;
}

@media print {
    @page {
        size: A4;
        margin: 5mm;
    }

    body * {
        visibility: hidden;
    }

    .print-area,
    .print-area * {
        visibility: visible;
    }

    .print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 210mm !important;
        margin: 0 !important;
        padding: 15mm !important;
        box-shadow: none !important;
        min-height: 0 !important;
        height: auto !important;
    }

    .no-print {
        display: none !important;
    }

    h1 {
        font-size: 14pt !important;
        margin-bottom: 2px !important;
    }

    h3 {
        font-size: 11pt !important;
        margin-top: 2px !important;
        margin-bottom: 2px !important;
    }

    .meta-info {
        margin-bottom: 8px !important;
        font-size: 10pt !important;
        padding: 4px !important;
    }

    .intro-text {
        margin-bottom: 6px !important;
        font-size: 10pt !important;
    }

    th,
    td {
        padding: 3px !important;
        font-size: 9.5pt !important;
        line-height: 1.2 !important;
    }

    .signature-block {
        margin-top: 15px !important;
        page-break-inside: avoid;
    }

    tr {
        page-break-inside: avoid;
    }
}

.report-header {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
}

.input-group label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #374151;
}

.input-field {
    width: 100%;
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.9rem;
}

.input-field:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 2px #fdba74;
}

.editable-area {
    white-space: pre-wrap;
    min-height: 100px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 5px;
}

th,
td {
    border: 1px solid #000;
    padding: 6px;
    vertical-align: top;
    font-size: 11pt;
}

th {
    background-color: #f0f0f0;
    font-weight: bold;
    text-align: left;
    width: 28%;
}

td div {
    line-height: 1.3;
}
