/* CompiDesk Beleg-Hardfix 10.13.9 – unabhängig von WP-Adminstruktur */
.cwd-document-hardfix .cwd-doc-dark-title,
.cwd-document-hardfix .cwd-doc-dark-title *{
  color:#172b3d!important;
  -webkit-text-fill-color:#172b3d!important;
  background:transparent!important;
  text-shadow:none!important;
  opacity:1!important;
}
.cwd-document-hardfix .cwd-doc-source-title{
  font-weight:800!important;
  letter-spacing:-.01em!important;
  margin-bottom:5px!important;
}
.cwd-document-hardfix .cwd-doc-section-title{
  font-weight:800!important;
  letter-spacing:-.01em!important;
  border-bottom:1px solid #cfdbe5!important;
  padding-bottom:8px!important;
  margin-bottom:12px!important;
}
.cwd-document-hardfix .cwd-doc-price-stack{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:flex-start!important;
  gap:0!important;
  min-width:142px!important;
  color:#172b3d!important;
  font-family:inherit!important;
  line-height:1.2!important;
}
.cwd-document-hardfix .cwd-doc-unit{
  display:flex!important;
  align-items:baseline!important;
  justify-content:flex-end!important;
  gap:6px!important;
  width:100%!important;
  margin:0 0 7px!important;
  padding:0!important;
  color:#6b7c8d!important;
  white-space:nowrap!important;
}
.cwd-document-hardfix .cwd-doc-unit-label{
  font-size:9px!important;
  font-weight:650!important;
  line-height:1.15!important;
  text-transform:uppercase!important;
  letter-spacing:.045em!important;
  color:#7a8998!important;
}
.cwd-document-hardfix .cwd-doc-unit-amount{
  font-size:11px!important;
  font-weight:500!important;
  line-height:1.2!important;
  color:#617181!important;
  letter-spacing:0!important;
}
.cwd-document-hardfix .cwd-doc-position-total{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  width:100%!important;
  margin:0!important;
  padding:8px 0 0!important;
  border-top:1px solid #dce5ec!important;
  white-space:nowrap!important;
}
.cwd-document-hardfix .cwd-doc-position-total-label{
  font-size:9px!important;
  font-weight:750!important;
  line-height:1.15!important;
  text-transform:uppercase!important;
  letter-spacing:.055em!important;
  color:#5e7182!important;
}
.cwd-document-hardfix .cwd-doc-position-total-amount{
  margin-top:2px!important;
  font-size:18px!important;
  font-weight:850!important;
  line-height:1.08!important;
  color:#122c42!important;
  letter-spacing:-.02em!important;
}
.cwd-document-hardfix .cwd-doc-price-stack--single .cwd-doc-position-total{
  padding-top:0!important;
  border-top:0!important;
}
.cwd-document-hardfix .cwd-doc-grand-total{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin:16px 0 8px!important;
  padding:14px 16px!important;
  border:1px solid #aebfcd!important;
  border-radius:8px!important;
  background:#f6f8fa!important;
  color:#172b3d!important;
  box-shadow:none!important;
}
.cwd-document-hardfix .cwd-doc-grand-total-label{
  font-size:12px!important;
  font-weight:800!important;
  text-transform:uppercase!important;
  letter-spacing:.055em!important;
  color:#435b6f!important;
}
.cwd-document-hardfix .cwd-doc-grand-total-amount{
  font-size:24px!important;
  font-weight:900!important;
  line-height:1!important;
  color:#102b40!important;
  letter-spacing:-.025em!important;
  white-space:nowrap!important;
}
@media print{
  .cwd-document-hardfix .cwd-doc-dark-title,
  .cwd-document-hardfix .cwd-doc-dark-title *{
    color:#111!important;
    -webkit-text-fill-color:#111!important;
  }
  .cwd-document-hardfix .cwd-doc-unit-amount{font-size:10px!important;font-weight:500!important}
  .cwd-document-hardfix .cwd-doc-position-total-amount{font-size:17px!important}
  .cwd-document-hardfix .cwd-doc-grand-total{background:#f6f8fa!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
