.charge-sheet .sheet-title {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: .75rem;
}

/* Ведомостта е по-широка от съдържанието - на екран се скролва хоризонтално. */
.sheet-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.charge-sheet .sheet-table {
    font-size: .75rem;
    min-width: 1100px;
}

.charge-sheet .sheet-table th {
    vertical-align: bottom;
    font-weight: 600;
    white-space: normal;
    word-break: break-word;
    line-height: 1.15;
}

.charge-sheet .sheet-table td {
    white-space: nowrap;
}

.charge-sheet .sheet-footer {
    margin-top: 1rem;
}

@media print {
    @page {
        size: A4 landscape;
        margin: 8mm;
    }

    body {
        background: #fff;
    }

    .app-sidebar,
    .app-topbar,
    .d-print-none {
        display: none !important;
    }

    .app-shell,
    .app-main,
    .app-content {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        min-height: 0 !important;
    }

    /* При печат нищо не се крие зад скрол. */
    .sheet-scroll {
        overflow: visible !important;
    }

    .charge-sheet {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .charge-sheet .sheet-table {
        font-size: 7pt;
        min-width: 0 !important;
        width: 100% !important;
        table-layout: fixed;
    }

    .charge-sheet .sheet-table th,
    .charge-sheet .sheet-table td {
        border: 1px solid #000 !important;
        padding: 1px 3px !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }

    .charge-sheet {
        page-break-inside: avoid;
    }
}
