.bdk-document header{border-color:var(--doc-accent,#087f5b)}.bdk-document .brand h2{color:var(--doc-accent,#087f5b)}.bdk-document th{background:var(--doc-accent,#087f5b)}.bdk-document .totals .grand{border-left:4px solid var(--doc-accent,#087f5b)}
.bdk-document.template-corporate{font-family:Arial,sans-serif;border-top:10px solid var(--doc-accent,#1d4ed8)}.bdk-document.template-corporate header{border-bottom-width:1px}.bdk-document.template-corporate .doc-title h1{background:var(--doc-accent,#1d4ed8);color:#fff;padding:10px 14px}.bdk-document.template-corporate th{letter-spacing:.5px}
.bdk-document.template-minimal{--doc-accent:#111!important;font-family:Helvetica,Arial,sans-serif}.bdk-document.template-minimal header{border-bottom:1px solid #111}.bdk-document.template-minimal th{background:#fff;color:#111;border-top:1px solid #111;border-bottom:1px solid #111}.bdk-document.template-minimal .totals .grand{background:#f4f4f4;color:#111}
.bdk-document.template-gold{font-family:Georgia,serif;background:#fffdf8;border:1px solid #d6b65d}.bdk-document.template-gold header{border-color:var(--doc-accent,#b58a22)}.bdk-document.template-gold .doc-title h1,.bdk-document.template-gold .brand h2{font-family:Georgia,serif}.bdk-document.template-gold th{background:#2d2a22;color:#f7e6ae}.bdk-document.template-gold .totals .grand{background:#fff5d6;color:#5e4712}
.bdk-document.template-colorful header{border:0;padding:22px;background:linear-gradient(135deg,var(--doc-accent,#7c3aed),#0ea5e9);color:#fff;border-radius:14px}.bdk-document.template-colorful header h1,.bdk-document.template-colorful header h2,.bdk-document.template-colorful header p{color:#fff}.bdk-document.template-colorful th{background:#102a43}.bdk-document.template-colorful .totals .grand{background:#eef2ff;color:#3730a3;border-left-color:#7c3aed}.bdk-document.template-colorful .doc-note{border-left-color:#ec4899;background:#fdf2f8}
.bdk-document.logo-center header img{grid-column:1/-1;justify-self:center}.bdk-document.logo-center header .brand{text-align:left}.bdk-document.logo-right header img{order:3}.bdk-document.logo-right header .doc-title{order:1;text-align:left}.bdk-document.logo-right header .brand{order:2;text-align:center}
.bdk-document.template-thermal{width:80mm;min-height:0;margin:auto;padding:8mm 5mm;font-family:"Courier New",monospace;box-shadow:none;border:1px dashed #aaa}.bdk-document.template-thermal header{display:flex;flex-direction:column;align-items:center;text-align:center;border-bottom:1px dashed #111}.bdk-document.template-thermal header img{width:48px;height:48px}.bdk-document.template-thermal .brand,.bdk-document.template-thermal .doc-title{text-align:center}.bdk-document.template-thermal .meta{grid-template-columns:1fr;margin:14px 0;gap:8px}.bdk-document.template-thermal table{font-size:9px}.bdk-document.template-thermal th{background:#fff;color:#111;border-top:1px dashed #111;border-bottom:1px dashed #111;padding:6px 2px}.bdk-document.template-thermal td{padding:6px 2px}.bdk-document.template-thermal .totals{width:100%;margin:12px 0}.bdk-document.template-thermal .totals .grand{background:#fff;color:#111;border:1px dashed #111}.bdk-document.template-thermal .doc-note{border:0;background:#fff;padding:4px;text-align:center}.bdk-document.template-thermal footer{margin-top:20px}
@media print{.bdk-document.template-thermal{position:absolute;width:80mm;padding:4mm;left:0;top:0}.bdk-document.template-thermal~*{display:none}@page{margin:0}}
.bdk-document:not(.template-thermal){font-family:Inter,"Segoe UI",Arial,sans-serif;letter-spacing:.01em}.bdk-document:not(.template-thermal) header{padding-bottom:22px}.bdk-document:not(.template-thermal) .doc-title h1{font-weight:800;letter-spacing:.045em}.bdk-document:not(.template-thermal) .meta>div{padding:13px 15px;background:#f7faf9;border-radius:8px}.bdk-document:not(.template-thermal) tbody tr:nth-child(even){background:#f8fbfa}.bdk-document:not(.template-thermal) td:nth-child(2){font-weight:600}.bdk-document:not(.template-thermal) .totals{border-top:2px solid #dfe7e3;padding-top:5px}.bdk-document .signature-grid{display:grid;grid-template-columns:1fr 1fr;gap:45px;margin-top:38px;break-inside:avoid;page-break-inside:avoid}.bdk-document .signature-grid>div{display:flex;flex-direction:column;gap:7px}.bdk-document .signature-grid span{font-size:10px;text-transform:uppercase;letter-spacing:1px;font-weight:800;color:#53645f}.bdk-document .signature-grid i{display:block;height:25px;border-bottom:1px solid #8a9995}.bdk-document .signature-grid small{font-size:8px;color:#7a8985}.bdk-document.template-thermal .signature-grid{grid-template-columns:1fr;gap:18px;margin-top:25px;text-align:left}.bdk-document.template-colorful .meta>div{background:#f4f1ff}.bdk-document.template-gold .meta>div{background:#fff8e6}.bdk-document.template-minimal .meta>div{background:#fff;border:1px solid #ddd;border-radius:0}
@media(max-width:520px){.bdk-document .signature-grid{grid-template-columns:1fr;gap:22px}}
.bdk-document .doc-chip{display:inline-block;margin-bottom:7px;padding:4px 8px;border:1px solid currentColor;border-radius:99px;color:var(--doc-accent,#087f5b);font-size:7px;font-weight:900;letter-spacing:1.2px}.bdk-document .doc-title>b{display:block;margin-top:5px;color:#52625f}.bdk-document .quantity-only th:last-child,.bdk-document .quantity-only td:last-child{text-align:left}.bdk-document .quantity-only td:last-child{min-width:120px}.bdk-document .doc-note.scope{border-left-color:var(--doc-accent,#087f5b);background:#f2f8f6}.bdk-document .doc-note.payment{border-left-color:#2563eb;background:#eff6ff}.bdk-document.template-thermal .doc-chip{border-style:dashed}.bdk-document.template-thermal .quantity-only td:last-child{min-width:70px}
.bdk-document .item-meta{display:block;margin-top:3px;color:#71807d;font-size:8px;font-weight:500}.bdk-document .deposit-callout{display:flex;justify-content:space-between;gap:15px;width:52%;margin:0 0 20px auto;padding:10px 12px;border:1px solid var(--doc-accent,#087f5b);border-radius:7px;color:var(--doc-accent,#087f5b);font-size:10px;font-weight:800}.bdk-document.template-thermal .deposit-callout{width:100%}
@media print{.bdk-document thead{display:table-header-group}.bdk-document tr,.bdk-document .totals,.bdk-document .doc-note,.bdk-document .signature-grid{break-inside:avoid;page-break-inside:avoid}.bdk-document:not(.template-thermal){font-size:10pt}.bdk-document .signature-grid{margin-top:12mm}}
