/* V34.2.160 — enterprise customer bottle debt/deposit overview. */
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-enterprise-list-summary{
  margin:0 0 9px;color:#5b7691;font-size:12px;line-height:1.5;overflow-wrap:anywhere
}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-enterprise-card{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"head" "facts" "activity" "actions"!important;
  gap:9px!important;padding:13px!important;border:1px solid #d5e4f3!important;
  border-radius:16px!important;background:#fff!important;box-shadow:0 3px 11px rgba(23,57,86,.035)!important
}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-enterprise-head{
  grid-area:head;display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,auto);gap:12px;align-items:start;min-width:0
}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-name-line{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-name-line strong{font-size:17px!important;line-height:1.35!important;min-width:0;max-width:100%}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-customer-code{display:inline-flex!important;align-items:center;margin:0!important;padding:3px 7px;border-radius:7px;background:#edf5ff;color:#0878ef!important;font-size:11px!important;line-height:1.3!important;font-weight:800;white-space:nowrap}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-verification{display:inline-flex;margin-top:5px;max-width:100%;font-size:11px;line-height:1.4;font-weight:750;overflow-wrap:anywhere}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-verification.unverified{color:#936416}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-verification.verified{color:#087d61}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-enterprise-balances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-width:0}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-enterprise-balances>div{min-width:0;padding:10px 8px;border:1px solid #dbeaf6;border-radius:11px;background:#f1f8ff;text-align:center}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-enterprise-balances .bottle-debt-enterprise-debt{border-color:#f8d9dd;background:#fff5f6}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-enterprise-balances small{display:block;color:#59748b;font-size:11px;line-height:1.3;font-weight:750}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-enterprise-balances strong{display:block;margin-top:4px;color:#0878ef;font-size:18px;line-height:1.2;white-space:nowrap;font-variant-numeric:tabular-nums}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-enterprise-debt strong{color:#d12437}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-enterprise-facts{grid-area:facts;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-enterprise-facts>span{min-width:0;padding:8px;border:1px solid #e1ebf5;border-radius:10px;background:#f7faff}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-enterprise-facts small{display:block;color:#678098;font-size:11px;line-height:1.35}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-enterprise-facts strong{display:block;margin-top:4px;color:#173858;font-size:12px;line-height:1.35;font-weight:800;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-enterprise-card .bottle-debt-row-activity{grid-area:activity!important;margin:0!important;color:#6b8094;font-size:11px!important;line-height:1.45!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-enterprise-card .bottle-debt-row-actions{grid-area:actions!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px!important;align-items:stretch!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-enterprise-card .bottle-debt-row-actions .btn{display:flex;align-items:center;justify-content:center;flex:initial!important;width:100%!important;min-width:0!important;min-height:44px!important;margin:0!important;padding:7px 5px!important;border-radius:10px!important;font-size:13px!important;font-weight:800!important;white-space:nowrap!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-enterprise-card .bottle-debt-history-action{border:1px solid #cadff0!important;background:#f8fbff!important;color:#24547e!important}
@media(max-width:680px){
  body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-enterprise-head{grid-template-columns:minmax(0,1fr)!important;gap:8px}
  body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-enterprise-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:360px){
  body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-enterprise-card{padding:10px!important}
  body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-enterprise-balances strong{font-size:17px}
}

body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-customer-note{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;line-height:1.4!important}
/* The legacy customer grid-area belongs to the old card, not this nested grid. */
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-enterprise-head .bottle-debt-customer{grid-area:auto!important}
body.unified-shell #bottle-debts.af-bottle-debt-compact .bottle-debt-enterprise-card .bottle-debt-row-actions .btn{grid-area:auto!important}
