:root { --kb: #c2410c; --kb-dark: #9a3412; --kb-soft: #fff7ed; }
body { background: #f6f7fb; font-size: .95rem; }
.kb-nav { background: linear-gradient(90deg, var(--kb-dark), var(--kb)); }
.kb-nav .navbar-brand, .kb-nav .nav-link { color: #fff !important; }
.kb-nav .nav-link.active, .kb-nav .nav-link:hover { background: rgba(255,255,255,.15); border-radius: 6px; }
.kb-nav .navbar-toggler { border-color: rgba(255,255,255,.6); }
.kb-nav .navbar-toggler-icon { filter: invert(1); }
.kb-card { border: 0; border-radius: 12px; box-shadow: 0 2px 10px rgba(15,23,42,.06); }
.kb-card .card-header { background: #fff; border-bottom: 1px solid #eef0f4; border-radius: 12px 12px 0 0; font-weight: 600; }
.kb-stat { border-radius: 12px; padding: 16px 18px; color: #fff; height: 100%; }
.kb-stat .label { font-size: .8rem; opacity: .9; text-transform: uppercase; letter-spacing: .5px; }
.kb-stat .value { font-size: 1.6rem; font-weight: 700; }
.kb-stat.pending { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.kb-stat.billed { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.kb-stat.paid { background: linear-gradient(135deg, #16a34a, #15803d); }
.kb-stat.month { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.amount { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.text-pending { color: #b91c1c; font-weight: 600; }
.text-advance { color: #15803d; font-weight: 600; }
.kb-total-row td, .kb-total-row th { background: var(--kb-soft) !important; font-weight: 700; }
.kb-subtotal td { background: #f8fafc !important; font-weight: 600; }
.kb-vendor-head td { background: #fde68a !important; font-weight: 700; }
.btn-primary { background: var(--kb); border-color: var(--kb); }
.btn-primary:hover, .btn-primary:focus { background: var(--kb-dark); border-color: var(--kb-dark); }
table.dataTable td { vertical-align: middle; }
.print-only { display: none; }
@media print {
    .no-print, .dataTables_length, .dataTables_filter, .dataTables_paginate { display: none !important; }
    .print-only { display: block; }
    body { background: #fff; }
    .kb-card { box-shadow: none; }
    main { padding: 0 !important; }
}
