/* Jz Scales portal: Billing pages (admin Client › Billing, client Billing) in the Stage 4 style. Dark layered panels,
   hairline rows, tabular amounts, three weights, nothing under 11px. Money teal is the department colour. */
.b4-band{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0 0 16px;border:1px solid var(--line,#1F2328);border-radius:16px;overflow:hidden;
  background:radial-gradient(120% 140% at 0% 0%,rgba(46,242,184,.07),transparent 55%),var(--panel,#111214)}
.b4-band>div{padding:16px 18px;border-left:1px solid #1C1F24;display:flex;flex-direction:column;gap:4px;min-width:0}.b4-band>div:first-child{border-left:0}
.b4-band span{font-size:12.5px;font-weight:600;color:#9FA3A8}.b4-band b{font-size:24px;font-weight:800;color:#F2F3F4;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.b4-band small{font-size:12px;color:#868B92}.b4-band .warn b{color:#FFD27A}.b4-band .bad b{color:#FF7A6B}
.b4-page .b4-card{border-radius:16px;border:1px solid var(--line,#1F2328);background:var(--panel,#111214);box-shadow:none}
.b4-page .b4-card h2{font-size:15px;font-weight:800}
.b4-page .b4-card table{border-collapse:collapse;width:100%}
.b4-page .b4-card th{font-size:11.5px;font-weight:600;color:#868B92;text-transform:none;letter-spacing:0;border-bottom:1px solid #1F2328;padding:8px 10px}
.b4-page .b4-card td{padding:10px;border-bottom:1px solid #16181C;font-size:13.5px;color:#C9CDD3;vertical-align:middle}
.b4-page .b4-card tbody tr:hover td{background:rgba(255,255,255,.015)}
.b4-page .b4-card td:first-child{color:#F2F3F4;font-weight:600}
.b4-page .b4-amt{font-variant-numeric:tabular-nums;font-weight:600;color:#F2F3F4}
.b4-chip{display:inline-block;margin-top:4px;font-size:11.5px;font-weight:600;padding:1px 8px;border-radius:999px;background:#1B1D21;color:#C9CDD3}
.b4-chip.ret{background:rgba(46,242,184,.1);color:#7FE0BE}.b4-chip.lead{background:rgba(255,70,54,.12);color:#FF9A8E}.b4-chip.web{background:rgba(91,140,255,.12);color:#9DB8FF}.b4-chip.host{background:rgba(160,123,255,.12);color:#C4AEFF}
.b4-x{display:none}
.b4-more{display:block;margin:10px auto 0;background:none;border:1px solid #2A2E35;color:#C9CDD3;border-radius:9px;padding:7px 14px;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.b4-more:hover{border-color:#3A3F47;color:#F2F3F4}
@media (max-width:640px){.b4-band{grid-template-columns:1fr}.b4-band>div{border-left:0;border-top:1px solid #1C1F24}.b4-band>div:first-child{border-top:0}.b4-band b{font-size:21px}}
/* Revenue > Invoices */
.iv-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-bottom:12px}.iv-bar input{max-width:280px}
.iv .chip span{opacity:.7;margin-left:2px}.iv td a{color:#F2F3F4}.iv td.r,.iv th.r{text-align:right}
.iv-st{display:inline-block;font-size:12px;font-weight:600;padding:2px 9px;border-radius:999px;background:#1B1D21;color:#C9CDD3}
.iv-st.paid{background:rgba(46,242,184,.12);color:#7FE0BE}.iv-st.open{background:rgba(255,194,61,.12);color:#FFD27A}.iv-st.late{background:rgba(255,70,54,.16);color:#FF8A7C}.iv-st.void,.iv-st.draft{color:#868B92}
.iv-late td:first-child a{color:#FF8A7C}
@media (max-width:640px){.iv-bar input{max-width:none;width:100%}}
/* update 49: automatic chasing's status line and the panel note (chase49.js) */
.c49{margin:0 0 12px;padding:12px 16px}.c49.warn{box-shadow:inset 3px 0 0 #FFC23D}.c49r{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap}.c49r>div{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1 1 320px}.c49r b{color:#E6E8EB;font-size:13.5px}.c49n{margin-top:4px}.c49d{margin:12px 0 4px}.c49d .btn{margin-top:2px}
