body { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; color: #333; background: #eee; }
.page { background: #fff; width: 210mm; min-height: 297mm; margin: 20px auto; padding: 20mm; position: relative; box-sizing: border-box; page-break-after: always; }
@media print { body { background: #fff; } .page { margin: 0; width: 100%; height: auto; } }
h2 { border-bottom: 2px solid #333; padding-bottom: 10px; margin-top: 0; }
.meta-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.meta-table th { text-align: left; width: 140px; color: #666; padding: 6px 0; border-bottom: 1px solid #eee; }
.meta-table td { padding: 6px 0; border-bottom: 1px solid #eee; font-weight: bold; }
.receipt-img { max-width: 100%; max-height: 110mm; display: block; margin: 20px auto; border: 1px solid #ddd; }
.stamp { position: absolute; top: 20mm; right: 20mm; border: 3px solid #333; padding: 10px 20px; text-transform: uppercase; font-size: 24px; font-weight: 900; transform: rotate(-10deg); opacity: 0.8; text-align: center; border-radius: 6px; }
.stamp-bezahlt { border-color: #008a00; color: #008a00; }
.stamp-freigegeben { border-color: #e6a800; color: #e6a800; }
.stamp-date { display: block; font-size: 12px; font-weight: normal; margin-top: 5px; border-top: 1px solid currentColor; }
/* --- Deckblatt und Belegübersicht (ab 1.3.0) -------------------------- */
.page.cover h1 { font-size: 30px; margin: 0 0 4px; border: 0; }
.cover-org { font-size: 15px; color: #666; margin: 0 0 14px; border-bottom: 2px solid #2271b1; padding-bottom: 14px; }
.list-table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: 12px; }
.list-table th { text-align: left; border-bottom: 1.5px solid #333; padding: 6px 4px; font-size: 10px; text-transform: uppercase; color: #666; }
.list-table td { border-bottom: 1px solid #eee; padding: 5px 4px; }
.list-table td.num, .list-table th.num { text-align: right; white-space: nowrap; }
.list-table .sum-row td { border-top: 1.5px solid #333; border-bottom: 0; font-weight: bold; }
.signature-row { display: flex; gap: 40px; margin-top: 70px; }
.signature-row .signature-line { flex: 1; border-top: 1px solid #333; padding-top: 5px; font-size: 11px; color: #666; }
.pdf-note { padding: 14px; border: 1px dashed #999; text-align: center; margin: 10px 0; color: #555; }
.stamp-offen { border-color: #646970; color: #646970; }
