@page {
  size: A4;
  margin: 16mm;
}
* {
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
}
body {
  background: #fff !important;
  color: #18271d !important;
  font:
    10pt Arial,
    sans-serif;
}
.topbar,
.footer,
.back-link,
.invoice-actions,
.invoice-share-card,
.toast {
  display: none !important;
}
.container {
  max-width: none;
  padding: 0 !important;
}
.invoice-head {
  padding: 0 0 12mm;
}
.invoice-head h1 {
  font-size: 23pt !important;
}
.invoice-card {
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
}
.invoice-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 8mm;
  padding-bottom: 8mm;
}
.invoice-grid > div {
  break-inside: avoid;
}
.admin-table-wrap {
  overflow: visible !important;
  border: 1px solid #dfe5dc;
}
.admin-table {
  width: 100%;
  font-size: 9pt;
}
.admin-table th {
  background: #edf3e8 !important;
  color: #33432f;
  padding: 7px 6px;
}
.admin-table td {
  padding: 7px 6px;
  white-space: normal;
}
.invoice-total {
  border-top: 1px solid #dfe5dc;
  margin-top: 6mm;
  padding-top: 6mm;
  color: #28392b;
}
.invoice-total b {
  font-size: 17pt;
}
.invoice-table tr {
  break-inside: avoid;
}
