/* KenyaDocMaker Premium V5 — isolated from legacy document skins. */
.bdk-document.template-colorful.premium-output{padding:0!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:0 18px 55px rgba(15,35,50,.16)!important;color:#152733;font-family:"Segoe UI",Arial,sans-serif}
.bdk-document.template-colorful.premium-output:before,.bdk-document.template-colorful.premium-output:after{display:none!important}
.bdk-document.template-colorful .v4-sheet{position:relative;min-height:760px;padding:0 38px 34px;background:#fff}
.bdk-document.template-colorful .v4-sheet>header{margin:0 -38px 28px!important;padding:34px 38px 28px!important;border:0!important;border-bottom:6px solid var(--doc-accent,#087f5b)!important;border-radius:0!important;background:#102a43!important;color:#fff!important;box-shadow:none!important}
.bdk-document.template-colorful .v4-sheet>header h1,.bdk-document.template-colorful .v4-sheet>header h2,.bdk-document.template-colorful .v4-sheet>header p,.bdk-document.template-colorful .v4-sheet>header .doc-title>b{color:#fff!important}.bdk-document.template-colorful .v4-sheet>header .brand h2{font-size:21px!important;font-weight:750}.bdk-document.template-colorful .v4-sheet>header .brand p{font-size:9px!important;color:#d8e2e8!important}.bdk-document.template-colorful .v4-sheet>header .doc-title{border:0!important}.bdk-document.template-colorful .v4-sheet>header .doc-title h1{font-size:24px!important;letter-spacing:.2px!important}.bdk-document.template-colorful .v4-sheet>header .doc-chip{display:inline-block!important;margin-bottom:7px;padding:4px 9px!important;border:1px solid rgba(255,255,255,.35)!important;border-radius:20px!important;background:rgba(255,255,255,.09)!important;color:#fff!important;font-size:7px!important}
.bdk-document.template-colorful .v4-section-title{padding:10px 12px!important;border:0!important;background:#102a43!important;color:#fff!important;font-size:8px!important;letter-spacing:1.1px}
.bdk-document.template-colorful .v4-table-block{margin:24px 0 20px}.bdk-document.template-colorful .v4-table-block table{border:0!important;border-radius:0!important;overflow:visible!important}.bdk-document.template-colorful .v4-table-block th{padding:11px 9px!important;border:0!important;background:#e8eef2!important;color:#102a43!important;font-size:8px!important}.bdk-document.template-colorful .v4-table-block td{padding:12px 9px!important;border:0!important;border-bottom:1px solid #dce4e9!important;background:#fff!important;font-size:9px!important}.bdk-document.template-colorful .v4-table-block tbody tr:last-child td{border-bottom:2px solid #102a43!important}
.bdk-document.template-colorful .v4-financial{width:48%;min-width:215px}.bdk-document.template-colorful .v4-financial .totals{width:100%!important}.bdk-document.template-colorful .v4-financial .totals p{padding:8px 10px!important;font-size:9px!important}.bdk-document.template-colorful .v4-financial .totals .grand{margin-top:5px!important;padding:14px 13px!important;border:0!important;border-radius:8px!important;background:#102a43!important;color:#fff!important;font-size:13px!important}.bdk-document.template-colorful .v4-financial .grand span,.bdk-document.template-colorful .v4-financial .grand b{white-space:nowrap!important}
.bdk-document.template-colorful .v4-notes .doc-note{padding:12px 14px!important;border:0!important;border-radius:8px!important;background:#f1f5f7!important;color:#314651!important}.bdk-document.template-colorful .v4-notes .doc-note b{font-size:9px}.bdk-document.template-colorful .v4-notes .doc-note p{font-size:9px}.bdk-document.template-colorful .v4-approvals{margin-top:30px!important;border:0!important;background:#fff!important}.bdk-document.template-colorful .v4-approvals>div{min-height:88px!important;padding:10px 14px!important;border:0!important;border-top:1px solid #8da0aa!important}.bdk-document.template-colorful .v4-approvals span{color:#102a43!important}.bdk-document.template-colorful .v4-approvals i{height:31px!important}.bdk-document.template-colorful .bdk-professional-footer{margin-top:24px;color:#71818a}
/* Proposal */
.bdk-document.template-colorful .v4-offer-strip{border:0!important;border-radius:10px!important;background:#edf5f2!important;overflow:hidden}.bdk-document.template-colorful .v4-offer-strip .layout-title{padding:10px 13px!important;background:var(--doc-accent,#087f5b)!important}.bdk-document.template-colorful .v4-offer-strip .layout-fields>div{padding:13px!important;border-color:#cddbd6!important}.bdk-document.template-colorful .v4-proposal-intro .meta>div{border:0!important;border-radius:8px!important;background:#f2f5f7!important}.bdk-document.template-colorful .v4-proposal-intro .meta>div:first-child{border:0!important;border-left:5px solid var(--doc-accent,#087f5b)!important}
/* Accounts */
.bdk-document.template-colorful .v4-account-head>div{border:0!important;border-radius:8px!important;background:#f1f5f7!important}.bdk-document.template-colorful .v4-account-head .bdk-layout-panel{border:0!important;border-radius:8px!important;overflow:hidden}.bdk-document.template-colorful .v4-account-head .layout-title{background:var(--doc-accent,#087f5b)!important}
/* Receipt */
.bdk-document.template-colorful .v4-receipt{margin:0 -38px -34px;padding:0 38px 34px!important}.bdk-document.template-colorful .v4-receipt:before{display:block!important;width:7px}.bdk-document.template-colorful .v4-receipt>header{margin:0 -38px 26px!important;padding:34px 38px 28px 45px!important}.bdk-document.template-colorful .v4-receipt-certificate{margin:0 0 20px!important;padding:0!important}.bdk-document.template-colorful .v4-receipt-certificate .bdk-layout-panel{border-radius:10px!important;background:#edf5f2!important}.bdk-document.template-colorful .v4-receipt-certificate .grand{border-radius:10px!important;background:var(--doc-accent,#087f5b)!important}.bdk-document.template-colorful .v4-receipt .v4-main{padding:0!important}.bdk-document.template-colorful .v4-receipt .deposit-callout{display:none!important}
/* Procurement, movement and operations */
.bdk-document.template-colorful .v4-order-head .bdk-layout-panel,.bdk-document.template-colorful .v4-order-head .meta>div,.bdk-document.template-colorful .v4-job-control .bdk-layout-panel,.bdk-document.template-colorful .v4-job-control .meta>div{border:0!important;border-radius:8px!important;background:#f1f5f7!important}.bdk-document.template-colorful .v4-delivery-note>.bdk-layout-panel,.bdk-document.template-colorful .v4-goods-received-note>.bdk-layout-panel,.bdk-document.template-colorful .v4-stock-issue-note>.bdk-layout-panel,.bdk-document.template-colorful .v4-expense-voucher>.bdk-layout-panel{border:0!important;border-radius:8px!important;background:#edf2f5!important}
/* Prevent values from hidden document fields leaking into unrelated outputs. */
.bdk-document.type-receipt .deposit-callout,.bdk-document.type-invoice .deposit-callout,.bdk-document.type-tax-invoice .deposit-callout,.bdk-document.type-delivery-note .deposit-callout,.bdk-document.type-expense-voucher .deposit-callout,.bdk-document.type-customer-statement .deposit-callout{display:none!important}
@media(max-width:520px){.bdk-document.template-colorful .v4-sheet{padding:0 18px 24px}.bdk-document.template-colorful .v4-sheet>header{margin-left:-18px!important;margin-right:-18px!important;padding-left:18px!important;padding-right:18px!important}.bdk-document.template-colorful .v4-financial{width:100%;min-width:0}.bdk-document.template-colorful .v4-receipt{margin-left:-18px;margin-right:-18px;padding-left:18px!important;padding-right:18px!important}}
@media print{.bdk-document.template-colorful.premium-output{box-shadow:none!important}.bdk-document.template-colorful .v4-sheet{min-height:0}.bdk-document.template-colorful .v4-sheet>header{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
