#stats .company-debt-card{background:linear-gradient(135deg,#6e2031 0%,#421b2c 55%,#241e32 100%);border:1px solid #bd4d64;border-top:2px solid #ff6a83;box-shadow:0 8px 25px #7b203529}#stats .company-debt-card strong{color:#fff1f4}#stats .company-debt-card small,#stats .company-debt-card span{color:#f2c9d2}
#stats .company-debt-card{cursor:pointer}#stats .company-debt-card:hover{filter:brightness(1.1)}#company-debt-dialog{width:min(960px,calc(100% - 24px));max-height:92dvh;padding:0}#company-debt-dialog>.panel{margin:0}.debt-header,.debt-pager{display:flex;align-items:center;justify-content:space-between;gap:12px}.debt-header h2{margin:0}#debt-search{width:100%;margin:10px 0}#debt-orders{max-height:55dvh;overflow:auto}#debt-orders[aria-busy=true]{opacity:.65}.debt-order{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid #385368}.debt-order small{display:block;color:#b5cad9;margin-top:5px;overflow-wrap:anywhere}.debt-actions{display:flex;gap:8px;flex-wrap:wrap}.debt-pager{margin-top:16px;flex-wrap:wrap}#debt-error{color:#ffb0bc}@media(max-width:700px){.debt-order{grid-template-columns:minmax(0,1fr) auto}.debt-actions{grid-column:1/-1}.debt-actions button{flex:1}.debt-header{align-items:flex-start}.debt-header h2{font-size:20px}}

#stats .company-debt-card.company-debt-zero{background:linear-gradient(135deg,#176b4b 0%,#14543f 55%,#17372f 100%);border-color:#42c98a;border-top-color:#6ff0b0;box-shadow:0 8px 25px #16794b40}#stats .company-debt-card.company-debt-positive{background:linear-gradient(135deg,#6e2031 0%,#421b2c 55%,#241e32 100%)}.order-details a.phone-link{color:#8fe9ff;font-weight:700;text-decoration:underline;text-underline-offset:3px}.order-details a.phone-link:hover{color:#fff}
#view-dialog .not-ready{background:linear-gradient(135deg,#a51f3d 0%,#6e2031 55%,#3b1b2d 100%);border-color:#ff6a83;color:#fff1f4;box-shadow:0 6px 18px #8c203d55}#view-dialog .not-ready:hover{filter:brightness(1.12)}
