.report-body {
    background: #e9eef7;
    color: #1f2937;
}
.report-actions {
    max-width: 1024px;
    margin: 20px auto 0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}
.report-actions .btn-link,
.report-actions button {
    width: auto;
    padding: 12px 18px;
}
.report-sheet {
    width: 210mm;
    min-height: 297mm;
    background: #fff;
    margin: 14px auto 30px;
    padding: 18mm 16mm;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.report-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid #dbe3f2;
    padding-bottom: 16px;
    margin-bottom: 22px;
}
.report-brand {
    display: flex;
    gap: 14px;
    align-items: center;
}
.report-brand img {
    width: 68px;
    height: 68px;
    object-fit: contain;
}
.report-brand h1 {
    font-size: 28px;
    color: #163bb3;
    margin-bottom: 4px;
}
.report-brand p {
    color: #5b6473;
}
.report-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    text-align: right;
}
.report-section {
    margin-bottom: 22px;
}
.report-section h2 {
    font-size: 18px;
    color: #0f172a;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e7eb;
}
.report-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
    font-size: 14px;
}
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.kpi-card {
    border: 1px solid #dbe3f2;
    background: linear-gradient(180deg, #f8fbff, #eef4ff);
    border-radius: 16px;
    padding: 16px;
}
.kpi-card span {
    display: block;
    color: #64748b;
    margin-bottom: 6px;
    font-size: 13px;
}
.kpi-card strong {
    font-size: 22px;
    color: #163bb3;
}
.report-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.report-table th,
.report-table td {
    border: 1px solid #dfe5ef;
    padding: 10px 12px;
}
.report-table th {
    background: #eef4ff;
}
.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.report-panel {
    border: 1px solid #dfe5ef;
    border-radius: 16px;
    padding: 16px;
    background: #fafcff;
}
.report-panel p {
    margin-bottom: 10px;
    line-height: 1.55;
}
.report-warning {
    margin-top: 12px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #9a3412;
    border-radius: 12px;
    padding: 12px 14px;
}
.report-footer {
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid #dfe5ef;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    font-size: 13px;
    color: #475569;
}
.sign-line {
    min-width: 220px;
    text-align: center;
    padding-top: 22px;
    border-top: 1px solid #64748b;
}

@media print {
    @page {
        size: A4;
        margin: 10mm;
    }
    body {
        background: #fff !important;
    }
    .no-print {
        display: none !important;
    }
    .report-sheet {
        width: auto;
        min-height: auto;
        box-shadow: none;
        margin: 0;
        padding: 0;
    }
}

@media (max-width: 900px) {
    .report-sheet {
        width: auto;
        min-height: auto;
        margin: 10px;
        padding: 18px;
    }
    .report-header,
    .two-cols,
    .kpi-grid,
    .report-grid {
        grid-template-columns: 1fr;
        display: grid;
    }
    .report-header {
        gap: 12px;
    }
    .report-meta {
        text-align: left;
    }
}
