.balances-wrap{max-width:1500px;margin:0 auto;padding:24px 22px;color:#1e293b}
.balances-top{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}
.balances-top h1{font-size:23px;margin:0 0 8px}.balances-muted{color:#64748b;font-size:13px;line-height:1.7}
.balances-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.balances-controls select,.balances-controls button{font:inherit;font-size:13px;padding:9px 12px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#334155;cursor:pointer}
.balances-controls button.primary{background:#2563eb;border-color:#2563eb;color:white}
.balances-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}
.balances-kpi{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px}
.balances-kpi .label{font-size:13px;color:#64748b}.balances-kpi .value{font-size:28px;font-weight:650;color:#0f172a;margin:9px 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.balances-kpi .sub{font-size:12px;color:#64748b}.balances-notice{padding:12px 16px;background:#eff6ff;border:1px solid #dbeafe;border-radius:8px;font-size:13px;line-height:1.8;margin-bottom:16px}
.balances-notice.warn{background:#fffbeb;border-color:#fde68a;color:#92400e}
.balances-table-wrap{background:white;border:1px solid #e2e8f0;border-radius:12px;overflow:auto}
.balances-table{border-collapse:collapse;width:100%;min-width:1130px;font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}
.balances-table th,.balances-table td{padding:13px 14px;border-bottom:1px solid #edf2f7;text-align:right}
.balances-table th:first-child,.balances-table td:first-child{text-align:left;position:sticky;left:0;background:white;z-index:1}
.balances-table th{background:#f8fafc;font-weight:600;color:#475569}.balances-table thead tr:first-child th{background:#f1f5f9;text-align:center;padding:14px}
.balances-table thead tr:first-child th:first-child{text-align:left}.balances-table th button{border:0;background:transparent;font:inherit;color:inherit;cursor:pointer;padding:0}
.balances-table .money{font-weight:650;color:#1d4ed8}.balances-table .service-money{font-weight:650;color:#0f766e}.balances-table .missing{color:#94a3b8}
.balances-table tfoot td{font-weight:650;background:#f8fafc}.balances-table tbody tr:hover td{background:#f8fbff}.balances-table td.negative{color:#b91c1c}
.balances-foot{font-size:12px;color:#64748b;line-height:1.9;margin:15px 0}.balances-empty{text-align:center;padding:40px;color:#64748b}
@media(max-width:760px){.balances-wrap{padding:18px 12px}.balances-kpis{grid-template-columns:1fr;gap:10px;margin:16px 0}.balances-kpi{padding:15px}.balances-kpi .value{font-size:25px}.balances-controls{width:100%}.balances-controls select{flex:1}.balances-top h1{font-size:21px}}
