/* 💰 Xodimlar balansi (static/xbalans.js); reuses .bal-sum / .bal-amt / .bal-sh-* from balans.css */
.xb-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 2px 0 12px; }
.xb-tabs button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-width: 0; padding: 8px 10px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); font: inherit; color: var(--ink); cursor: pointer; text-align: left; }
.xb-tabs button span { font-weight: 700; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.xb-tabs button small { color: var(--muted); font-size: 12px; white-space: nowrap; }
.xb-tabs button[aria-selected=true] { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.bal-sum b.xb-pos { color: var(--ok); }
.bal-sum b.xb-neg { color: var(--bad); }
.bal-sum b.xb-zero { color: var(--ink); }
.xb-search { margin: 12px 0 8px; }
.xb-tw { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.xb-t { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.xb-t th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 9px 10px; border-bottom: 1px solid var(--line); }
.xb-t td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.xb-t tbody tr { cursor: pointer; }
.xb-t tbody tr:active { background: var(--brand-soft); }
.xb-t tbody tr:last-child td { border-bottom: 0; }
.xb-t .xb-no { width: 34px; color: var(--muted); font-size: 12.5px; padding-right: 0; }
.xb-t .xb-r { text-align: right; width: 38%; }
.xb-t td.xb-r { font-weight: 700; white-space: nowrap; }
.xb-t td b { display: block; font-size: 14.5px; line-height: 1.3; overflow-wrap: anywhere; }
.xb-t td small { display: block; color: var(--muted); font-size: 12px; line-height: 1.3; overflow-wrap: anywhere; }
.xb-t td.xb-r small { font-weight: 400; white-space: normal; }
.xb-t td.xb-r.xb-sus { white-space: normal; overflow-wrap: anywhere; font-size: 13px; }
.xb-t tfoot td { font-weight: 700; border-top: 1.5px solid var(--line); border-bottom: 0; background: var(--brand-soft); }
.xb-plus, .bal-sh-meta b.xb-plus { color: var(--ok); }
.xb-minus { color: var(--bad); }
.bal-sh-meta b.xb-nil { color: var(--ink); }
.xb-nil { color: var(--muted); }
.xb-hint { font-size: 12.5px; margin: 10px 2px 6px; }
.xb-h2s { color: var(--muted); font-size: 13px; font-weight: 600; }
.xb-box { margin-top: 12px; font-size: 14px; color: var(--muted); }
.xb-box b { color: var(--ink); }
#xb-done { margin: 12px 0 0; white-space: pre-line; font-size: 14px; }
.en.xb-pay .wg { color: var(--bad); }
.en.xb-pay.in .wg { color: var(--ok); }
/* cashbox picker in the pay sheets (💰 Ish haqi berish, 👥 mijoz to'lovi), shef 2026-11-21 */
.xb-boxes, .bal-boxes { margin-top: 10px; }
