
main h1 {
    margin-bottom: 1.5em !important;
}

table.delivery {
    margin-bottom: 5mm;
}

table.delivery tr:not(.main) {
    break-before: avoid;
}

table.delivery th.main {
    text-align: left;
}

table.delivery tr.main td {
    font-weight: bold;
    padding-top: 2mm;
}

table.delivery tbody tr:not(.main) td {
    font-size: 8pt;
}

table.delivery tr.tight:not(.first) td {
    padding-top: 0;
    padding-bottom: 0;
}

table.delivery tr.tight.first td {
    padding-bottom: 0;
}

table.delivery tr.tight:has(+ tr:not(.tight)) td {
    padding-bottom: 0.5mm !important;
}

table.delivery tr.sum td {
    padding-top: 1mm;
}

table.delivery-note-stats {
    break-after: avoid;
}
