/* =========================================================
   Qarzdorlar
   ========================================================= */

.debt-kpis { margin-bottom: 14px; }
.debt-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.debt-q { height: 32px; width: 220px; padding: 0 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); font: inherit; font-size: 13px; color: inherit; }
.debt-table .th.debt-row, .debt-table .tr.debt-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr) 120px 80px 110px 84px;
  align-items: center; gap: 12px;
}
.debt-table .tr.debt-row { cursor: default; padding-top: 8px; padding-bottom: 8px; }
.debt-table .pages { border-top: 1px solid var(--border); }
.debt-sort { color: inherit; text-decoration: none; cursor: pointer; }
.debt-sort:hover { color: var(--accent); }
.debt-sort.num, .debt-table .num { text-align: right; }
.debt-name { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.debt-name:hover b { color: var(--accent); }
.debt-name small, .debt-group small { color: var(--muted); font-size: 12px; }
.debt-group { display: block; }
.debt-age { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 6px; background: var(--surface-2); color: var(--muted); }
.debt-age.a2 { background: var(--warning-bg); color: var(--warning); }
.debt-age.a3 { background: var(--danger-bg); color: var(--danger); }
.debt-table .dv-btn { height: 28px; justify-content: center; text-decoration: none; }