body.invoice-pdf, .invoice-pdf-root {
  --invoice-page-margin-top: 14mm;
  --invoice-page-margin-left: 10mm;
  --invoice-window-top: calc(45mm - var(--invoice-page-margin-top));
  --invoice-window-left: calc(20mm - var(--invoice-page-margin-left));
  --sp-1: 1mm;
  --sp-2: 2mm;
  margin: 0;
  color: #1c2421;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 9pt;
  line-height: 1.25;
}

body.invoice-pdf .invoice-doc, .invoice-pdf-root .invoice-doc,
.invoice-doc-screen-scope .invoice-doc {
  position: relative;
  font-size: 9pt;
  line-height: 1.25;
}

.invoice-sample-do-not-pay {
  margin: 0 0 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  background: #fff4e5;
  border: 1px solid #e8c89a;
  color: #7a4a12;
  font-weight: 600;
  font-size: 0.92rem;
}

body.invoice-pdf .invoice-doc h1, .invoice-pdf-root .invoice-doc h1,
.invoice-doc-screen-scope .invoice-doc h1 {
  font-size: 14pt;
  font-weight: 650;
  margin: 0 0 2mm;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.invoice-pdf .invoice-doc-head, .invoice-pdf-root .invoice-doc-head,
.invoice-doc-screen-scope .invoice-doc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6mm;
  margin-bottom: 2mm;
  max-height: 35mm;
  overflow: hidden;
}

body.invoice-pdf .invoice-doc-brand, .invoice-pdf-root .invoice-doc-brand,
.invoice-doc-screen-scope .invoice-doc-brand {
  max-width: 45%;
}

body.invoice-pdf .invoice-doc-seller-name, .invoice-pdf-root .invoice-doc-seller-name,
.invoice-doc-screen-scope .invoice-doc-seller-name {
  margin: 1mm 0 0;
  font-weight: 650;
  font-size: 9pt;
}

body.invoice-pdf .invoice-doc-logo, .invoice-pdf-root .invoice-doc-logo,
.invoice-doc-screen-scope .invoice-doc-logo {
  max-height: 12mm;
  width: auto;
  display: block;
  margin-bottom: 1mm;
}

body.invoice-pdf .invoice-doc-meta, .invoice-pdf-root .invoice-doc-meta,
.invoice-doc-screen-scope .invoice-doc-meta {
  text-align: right;
  min-width: 48mm;
}

body.invoice-pdf .invoice-doc-meta-list, .invoice-pdf-root .invoice-doc-meta-list,
.invoice-doc-screen-scope .invoice-doc-meta-list {
  margin: 0;
  font-size: 8pt;
}

body.invoice-pdf .invoice-doc-meta-list div, .invoice-pdf-root .invoice-doc-meta-list div,
.invoice-doc-screen-scope .invoice-doc-meta-list div {
  display: flex;
  justify-content: flex-end;
  gap: 2mm;
  margin: 0.3mm 0;
}

body.invoice-pdf .invoice-doc-meta-list dt, .invoice-pdf-root .invoice-doc-meta-list dt,
.invoice-doc-screen-scope .invoice-doc-meta-list dt {
  margin: 0;
  font-weight: 650;
}

body.invoice-pdf .invoice-doc-meta-list dd, .invoice-pdf-root .invoice-doc-meta-list dd,
.invoice-doc-screen-scope .invoice-doc-meta-list dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

body.invoice-pdf .invoice-doc-window, .invoice-pdf-root .invoice-doc-window,
.invoice-doc-screen-scope .invoice-doc-window {
  position: absolute;
  top: var(--invoice-window-top);
  left: var(--invoice-window-left);
  width: 85mm;
  font-size: 9pt;
  max-height: 28mm;
  overflow: hidden;
}

body.invoice-pdf .invoice-doc-window-name, .invoice-pdf-root .invoice-doc-window-name,
.invoice-doc-screen-scope .invoice-doc-window-name {
  margin: 0 0 0.5mm;
  font-weight: 650;
}

body.invoice-pdf .invoice-doc-window-address, .invoice-pdf-root .invoice-doc-window-address,
.invoice-doc-screen-scope .invoice-doc-window-address {
  margin: 0;
}

body.invoice-pdf .invoice-doc-main, .invoice-pdf-root .invoice-doc-main,
.invoice-doc-screen-scope .invoice-doc-main {
  margin-top: 32mm;
}

body.invoice-pdf .invoice-doc-pre, .invoice-pdf-root .invoice-doc-pre,
.invoice-doc-screen-scope .invoice-doc-pre {
  white-space: pre-line;
}

body.invoice-pdf .invoice-doc-lines, .invoice-pdf-root .invoice-doc-lines,
.invoice-doc-screen-scope .invoice-doc-lines {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 3mm;
  font-size: 8.5pt;
}

body.invoice-pdf .invoice-doc-lines th, .invoice-pdf-root .invoice-doc-lines th,
body.invoice-pdf .invoice-doc-lines td, .invoice-pdf-root .invoice-doc-lines td,
.invoice-doc-screen-scope .invoice-doc-lines th,
.invoice-doc-screen-scope .invoice-doc-lines td {
  text-align: left;
  padding: 0.8mm 1.5mm 0.8mm 0;
  border-bottom: 0.4pt solid #d4dcd8;
  vertical-align: top;
}

body.invoice-pdf .invoice-doc-lines th, .invoice-pdf-root .invoice-doc-lines th,
.invoice-doc-screen-scope .invoice-doc-lines th {
  font-size: 8pt;
  font-weight: 650;
}

body.invoice-pdf .invoice-doc-lines th:nth-child(n + 2), .invoice-pdf-root .invoice-doc-lines th:nth-child(n + 2),
body.invoice-pdf .invoice-doc-lines td:nth-child(n + 2), .invoice-pdf-root .invoice-doc-lines td:nth-child(n + 2),
.invoice-doc-screen-scope .invoice-doc-lines th:nth-child(n + 2),
.invoice-doc-screen-scope .invoice-doc-lines td:nth-child(n + 2) {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

body.invoice-pdf .invoice-doc-meta-list dd , .invoice-pdf-root .invoice-doc-meta-list dd {
  white-space: nowrap;
}

body.invoice-pdf .invoice-doc-detail-note, .invoice-pdf-root .invoice-doc-detail-note,
.invoice-doc-screen-scope .invoice-doc-detail-note {
  font-size: 8pt;
  margin: 0 0 2mm;
  font-style: italic;
}

body.invoice-pdf .invoice-doc-totals-box, .invoice-pdf-root .invoice-doc-totals-box,
.invoice-doc-screen-scope .invoice-doc-totals-box {
  margin: 0 0 2mm auto;
  width: 68mm;
  border: 0.4pt solid #1c2421;
  padding: 1.5mm 2.5mm;
  font-variant-numeric: tabular-nums;
  font-size: 8.5pt;
}

body.invoice-pdf .invoice-doc-totals-box p, .invoice-pdf-root .invoice-doc-totals-box p,
.invoice-doc-screen-scope .invoice-doc-totals-box p {
  display: flex;
  justify-content: space-between;
  gap: 3mm;
  margin: 0.5mm 0;
}

body.invoice-pdf .invoice-doc-totals-grand, .invoice-pdf-root .invoice-doc-totals-grand,
.invoice-doc-screen-scope .invoice-doc-totals-grand {
  font-weight: var(--fw-semibold, 600);
  margin-top: 1.5mm !important;
  padding-top: 1mm;
  border-top: 0.4pt solid #d4dcd8;
}

body.invoice-pdf .invoice-doc-vat-note, .invoice-pdf-root .invoice-doc-vat-note,
.invoice-doc-screen-scope .invoice-doc-vat-note {
  font-size: 8pt;
  margin: 0 0 2mm;
}

body.invoice-pdf .invoice-doc-tail , .invoice-pdf-root .invoice-doc-tail {
  position: relative;
  padding-bottom: 0;
  margin-top: 2mm;
}

.invoice-doc-screen-scope .invoice-doc-tail {
  position: relative;
  padding-bottom: 90.4mm;
  margin-top: 2mm;
}

body.invoice-pdf .invoice-doc-seller-foot, .invoice-pdf-root .invoice-doc-seller-foot,
.invoice-doc-screen-scope .invoice-doc-seller-foot {
  font-size: 7pt;
  color: #5c675f;
  margin: 0 0 1.5mm;
}

body.invoice-pdf .invoice-slip-virtual-label, .invoice-pdf-root .invoice-slip-virtual-label,
.invoice-doc-screen-scope .invoice-slip-virtual-label {
  font-size: 7pt;
  font-weight: 400;
  margin: 0 0 0.5mm;
  color: #1c2421;
}

body.invoice-pdf .invoice-slip-virtual, .invoice-pdf-root .invoice-slip-virtual,
.invoice-doc-screen-scope .invoice-slip-virtual {
  font-size: 7pt;
  font-weight: 400;
  margin: 0 0 2mm;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}


body.invoice-pdf .invoice-pay-slip-scope, .invoice-pdf-root .invoice-pay-slip-scope,
.invoice-doc-screen-scope .invoice-pay-slip-scope {
  font-weight: 400;
}

body.invoice-pdf .invoice-pay-slip-scope p, .invoice-pdf-root .invoice-pay-slip-scope p,
body.invoice-pdf .invoice-pay-slip-scope h1, .invoice-pdf-root .invoice-pay-slip-scope h1,
body.invoice-pdf .invoice-pay-slip-scope h2, .invoice-pdf-root .invoice-pay-slip-scope h2,
body.invoice-pdf .invoice-pay-slip-scope h3, .invoice-pdf-root .invoice-pay-slip-scope h3,
.invoice-doc-screen-scope .invoice-pay-slip-scope p,
.invoice-doc-screen-scope .invoice-pay-slip-scope h1,
.invoice-doc-screen-scope .invoice-pay-slip-scope h2,
.invoice-doc-screen-scope .invoice-pay-slip-scope h3 {
  margin: 0;
}

body.invoice-pdf .invoice-pay-block, .invoice-pdf-root .invoice-pay-block {
  position: running(slip);
  width: 190mm;
}

.invoice-doc-screen-scope .invoice-pay-block {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 190mm;
}

body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip , .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip {
  width: 190mm;
  height: 90.4mm;
  box-sizing: border-box;
  font-size: 7pt;
  line-height: 1.25;
}

body.invoice-pdf .invoice-pay-block--qr .invoice-pay-slip, .invoice-pdf-root .invoice-pay-block--qr .invoice-pay-slip,
.invoice-doc-screen-scope .invoice-pay-block--qr .invoice-pay-slip {
  height: auto;
}

body.invoice-pdf .invoice-pay-block--qr .invoice-pay-slip-row, .invoice-pdf-root .invoice-pay-block--qr .invoice-pay-slip-row,
.invoice-doc-screen-scope .invoice-pay-block--qr .invoice-pay-slip-row {
  display: flex;
  align-items: flex-start;
  width: 190mm;
  box-sizing: border-box;
}

body.invoice-pdf .invoice-pay-block--qr .invoice-pay-slip-main, .invoice-pdf-root .invoice-pay-block--qr .invoice-pay-slip-main,
.invoice-doc-screen-scope .invoice-pay-block--qr .invoice-pay-slip-main {
  flex: 1 1 auto;
  min-width: 0;
}

body.invoice-pdf .invoice-pay-block--qr .invoice-pay-slip-sheet, .invoice-pdf-root .invoice-pay-block--qr .invoice-pay-slip-sheet,
.invoice-doc-screen-scope .invoice-pay-block--qr .invoice-pay-slip-sheet {
  width: 100%;
}

body.invoice-pdf .invoice-pay-block--qr .invoice-pay-slip-scope .invoice-pay-slip-grid, .invoice-pdf-root .invoice-pay-block--qr .invoice-pay-slip-scope .invoice-pay-slip-grid {
  width: 100%;
  grid-template-columns: 5mm 18mm minmax(0, 1fr) minmax(0, 1fr);
}

.invoice-doc-screen-scope .invoice-pay-block--qr .invoice-pay-slip-scope .invoice-pay-slip-grid {
  width: 100%;
  grid-template-columns: 5mm minmax(0, 18mm) minmax(0, 1fr) minmax(0, 1fr);
}

body.invoice-pdf .invoice-pay-block--qr .invoice-pay-slip-scope .invoice-pay-slip-bottom, .invoice-pdf-root .invoice-pay-block--qr .invoice-pay-slip-scope .invoice-pay-slip-bottom,
.invoice-doc-screen-scope .invoice-pay-block--qr .invoice-pay-slip-scope .invoice-pay-slip-bottom {
  width: 100%;
}

body.invoice-pdf .invoice-pay-qr, .invoice-pdf-root .invoice-pay-qr,
.invoice-doc-screen-scope .invoice-pay-qr {
  flex: 0 0 25mm;
  width: 25mm;
  margin-left: var(--sp-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

body.invoice-pdf .invoice-pay-qr svg, .invoice-pdf-root .invoice-pay-qr svg,
.invoice-doc-screen-scope .invoice-pay-qr svg {
  display: block;
  width: 25mm;
  height: 25mm;
  margin: 0;
}

body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-perforation, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-perforation,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-perforation {
  border-top: 0.4pt dashed #1c2421;
  margin-bottom: 2mm;
}

body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-sheet, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-sheet,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-sheet {
  width: 190mm;
  height: 90.4mm;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  border: 0.4pt solid #1c2421;
}

body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-grid , .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-grid {
  display: grid;
  grid-template-columns: 5mm 18mm 83.5mm 83.5mm;
  grid-template-rows: 12.7mm 21mm 21mm 12.7mm 10mm;
  width: 190mm;
  height: 77.4mm;
  flex: 0 0 77.4mm;
  box-sizing: border-box;
}

.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-grid {
  display: grid;
  grid-template-columns: 5mm minmax(0, 18mm) minmax(0, 83.5mm) minmax(0, 83.5mm);
  grid-template-rows: minmax(0, 12.7mm) minmax(0, 21mm) minmax(0, 21mm) minmax(0, 12.7mm) minmax(0, 10mm);
  width: 190mm;
  height: 77.4mm;
  flex: 0 0 77.4mm;
  box-sizing: border-box;
}

body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-vert-cell, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-vert-cell,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-vert-cell {
  grid-column: 1;
  grid-row: 2 / 5;
  position: relative;
  overflow: hidden;
  padding: 0;
  margin: -0.4pt 0 0 -0.4pt;
  box-sizing: border-box;
  border: 0.4pt solid #1c2421;
}

body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-vert, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-vert,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-vert {
  position: absolute;
  bottom: 0;
  left: 0;
  top: auto;
  width: 54.7mm;
  height: 5mm;
  margin: 0;
  padding: 0;
  transform-origin: bottom left;
  transform: translateX(5mm) rotate(-90deg);
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  line-height: 1;
  font-size: 6pt;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-sizing: border-box;
}

body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-cell, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-cell,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-cell {
  border: 0.4pt solid #1c2421;
  margin: -0.4pt 0 0 -0.4pt;
  padding: 0.8mm 1mm;
  box-sizing: border-box;
  overflow: hidden;
  min-width: 0;
}

body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-cell--label .invoice-pay-slip-label, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-cell--label .invoice-pay-slip-label,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-cell--label .invoice-pay-slip-label {
  text-align: right;
}

body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-cell--r1-label, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-cell--r1-label,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-cell--r1-label { grid-column: 2; grid-row: 1; }
body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-cell--r1-iban, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-cell--r1-iban,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-cell--r1-iban { grid-column: 3; grid-row: 1; }
body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-cell--r1-bic, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-cell--r1-bic,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-cell--r1-bic { grid-column: 4; grid-row: 1; }
body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-cell--r2-label, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-cell--r2-label,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-cell--r2-label { grid-column: 2; grid-row: 2; }
body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-cell--r2-recipient, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-cell--r2-recipient,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-cell--r2-recipient { grid-column: 3 / 5; grid-row: 2; }
body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-cell--r3-label, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-cell--r3-label,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-cell--r3-label { grid-column: 2; grid-row: 3; }
body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-cell--r3-payer, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-cell--r3-payer,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-cell--r3-payer { grid-column: 3 / 5; grid-row: 3; }
body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-cell--r4-sig-label, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-cell--r4-sig-label,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-cell--r4-sig-label { grid-column: 2; grid-row: 4; }
body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-cell--r4-sig-line, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-cell--r4-sig-line,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-cell--r4-sig-line { grid-column: 3; grid-row: 4; }
body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-cell--r4-ref, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-cell--r4-ref,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-cell--r4-ref { grid-column: 4; grid-row: 4; }
body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-cell--r5-from, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-cell--r5-from,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-cell--r5-from { grid-column: 2 / 4; grid-row: 5; }
body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-cell--r5-due-euro, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-cell--r5-due-euro,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-cell--r5-due-euro { grid-column: 4; grid-row: 5; padding: 0.4mm 1mm; }

body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-label, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-label,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-label {
  margin: 0 0 0.4mm;
  font-size: 6.5pt;
  line-height: 1.15;
  color: #1c2421;
  word-break: normal;
  hyphens: none;
  overflow-wrap: normal;
}

body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-label--inline, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-label--inline,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-label--inline {
  margin: 0 0 0.2mm;
}

body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-value, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-value,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-value {
  margin: 0;
  font-size: 9pt;
  font-weight: 400;
}

body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-line, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-line,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-line {
  border-bottom: 0.4pt solid #1c2421;
  min-height: 3mm;
  margin-top: 1mm;
}

body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-r5-split, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-r5-split,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-r5-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2mm;
  height: 100%;
  align-items: start;
}

body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-bottom, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-bottom,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-bottom {
  display: flex;
  width: 190mm;
  height: 13mm;
  flex: 0 0 13mm;
  box-sizing: border-box;
  border: 0.4pt solid #1c2421;
  border-top: 0;
  margin-top: -0.4pt;
}

body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-barcode, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-barcode,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-barcode {
  width: 105mm;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 0 0 1mm;
  box-sizing: border-box;
}

body.invoice-pdf .invoice-pay-slip-scope .invoice-pay-slip-barcode svg, .invoice-pdf-root .invoice-pay-slip-scope .invoice-pay-slip-barcode svg,
.invoice-doc-screen-scope .invoice-pay-slip-scope .invoice-pay-slip-barcode svg {
  display: block;
  width: 105mm;
  min-width: 105mm;
  height: 12mm;
}

body.invoice-pdf .invoice-pdf-foot , .invoice-pdf-root .invoice-pdf-foot {
  position: running(invoice-foot);
  font-size: 8pt;
  color: #5c675f;
}

body.invoice-pdf .invoice-pdf-pages , .invoice-pdf-root .invoice-pdf-pages {
  white-space: nowrap;
}

body.invoice-pdf .invoice-pdf-pages::after , .invoice-pdf-root .invoice-pdf-pages::after {
  content: counter(page) " / " counter(pages);
  font-variant-numeric: tabular-nums;
}

.invoice-slip-draft-notice {
  margin: 0;
  font-size: 7pt;
  font-weight: 400;
  color: #5c675f;
  line-height: 1.2;
}

.invoice-doc-screen-scope {
  --invoice-page-margin-top: 14mm;
  --invoice-page-margin-left: 10mm;
  --invoice-window-top: calc(45mm - var(--invoice-page-margin-top));
  --invoice-window-left: calc(20mm - var(--invoice-page-margin-left));
  --sp-1: 1mm;
  --sp-2: 2mm;
}

.invoice-doc-screen-scope .invoice-doc-window {
  border: 0;
  padding: 0;
  margin: 0;
  max-width: none;
}

.invoice-doc-screen-scope .invoice-slip-draft-notice {
  font-size: 7pt;
}

.sample-invoice-stack {
  width: min(210mm, 100%);
  margin-inline: auto;
  box-sizing: border-box;
}

.sample-invoice-stack .sample-doc-nav {
  width: 100%;
  margin-bottom: var(--sp-3);
}

.invoice-doc-scale-host {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.invoice-doc-scale-host--fitted {
  overflow: hidden;
}

.invoice-doc-scale-inner {
  flex: 0 0 auto;
  align-self: flex-start;
  transform-origin: top center;
}

.invoice-doc-screen-scope.invoice-doc-screen {
  width: 210mm;
  max-width: 210mm;
  margin: 0;
}

body.invoice-pdf .invoice-doc-page, .invoice-pdf-root .invoice-doc-page,
.invoice-doc-screen-scope .invoice-doc-page {
  width: 210mm;
  max-width: 210mm;
  min-height: 297mm;
  margin: 0 auto;
  padding: 14mm 10mm 16mm;
  box-sizing: border-box;
  background: #fff;
  position: relative;
}

@media (max-width: 767px) {
  .invoice-doc-screen-scope .invoice-doc-lines thead {
    display: none;
  }
  .invoice-doc-screen-scope .invoice-doc-lines,
  .invoice-doc-screen-scope .invoice-doc-lines tbody,
  .invoice-doc-screen-scope .invoice-doc-lines tr,
  .invoice-doc-screen-scope .invoice-doc-lines td {
    display: block;
    width: 100%;
  }
  .invoice-doc-screen-scope .invoice-doc-lines tr {
    padding: 0.4rem 0;
    border-bottom: 1px solid #d4dcd8;
  }
  .invoice-doc-screen-scope .invoice-doc-lines td:first-child {
    overflow-wrap: anywhere;
    text-align: left;
  }
  .invoice-doc-screen-scope .invoice-doc-lines td:nth-child(n + 2) {
    display: inline-block;
    width: auto;
    white-space: nowrap;
    border: 0;
    padding-right: 0.6rem;
  }
}

.invoice-mobile-summary {
  margin-top: 0;
}

.invoice-mobile-summary-list {
  margin: 0;
  padding: 0;
}

.invoice-mobile-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--sp-1) var(--sp-2);
  align-items: center;
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}

.invoice-mobile-summary-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.invoice-mobile-summary-row dt {
  margin: 0;
  font-size: var(--fs-tiny);
  color: var(--muted);
  font-weight: var(--fw-normal);
}

.invoice-mobile-summary-row dd {
  margin: 0;
  grid-column: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.invoice-mobile-summary-row--copy {
  grid-template-columns: minmax(0, 1fr) auto;
}

.invoice-mobile-summary-row--copy dt {
  grid-column: 1 / -1;
}

.invoice-mobile-summary-row--copy .invoice-mobile-summary-value {
  grid-column: 1;
}

.invoice-mobile-summary-row--copy .invoice-mobile-copy-btn {
  grid-column: 2;
  grid-row: 2;
}

.invoice-mobile-summary .invoice-mobile-summary-badges {
  display: none;
}

.invoice-mobile-summary-row--amount .invoice-mobile-summary-amount {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
}

.invoice-mobile-summary-muted {
  color: var(--muted);
  font-size: var(--fs-tiny);
}

.invoice-mobile-copy-btn {
  position: relative;
  flex-shrink: 0;
  justify-self: end;
  overflow: visible;
}

.invoice-mobile-copy-btn.parts-hit::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--hit-min);
  height: var(--hit-min);
  transform: translate(-50%, -50%);
}

.invoice-mobile-summary-row--copy .invoice-mobile-summary-value {
  overflow-wrap: anywhere;
}

.invoice-mobile-toolbar {
  margin: var(--sp-3) 0;
}

.invoice-mobile-toolbar-row {
  margin: 0;
}

.invoice-mobile-doc-panel {
  margin: 0;
  border: 0;
}

.invoice-mobile-doc-summary {
  list-style: none;
  cursor: pointer;
  min-height: var(--hit-min);
  display: flex;
  align-items: center;
  padding: var(--sp-2) 0;
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--pine);
}

.invoice-mobile-doc-summary::-webkit-details-marker {
  display: none;
}

.invoice-mobile-doc-body {
  margin-top: var(--sp-2);
}

.invoice-mobile-doc-panel:not([open]) + .invoice-mobile-doc-body {
  display: none;
}

@media (min-width: 640px) {
  .invoice-doc-screen-wrap .invoice-mobile-summary,
  .invoice-doc-screen-wrap .invoice-mobile-toolbar,
  .invoice-doc-screen-wrap .invoice-mobile-doc-summary,
  .invoice-doc-screen-wrap .invoice-mobile-doc-panel {
    display: none;
  }

  .invoice-doc-screen-wrap .invoice-mobile-doc-panel:not([open]) + .invoice-mobile-doc-body,
  .invoice-doc-screen-wrap .invoice-mobile-doc-body {
    display: block;
  }
}
