/* Supplier 360 → «الرصيد» (builds on supplier-entries.css: sent-kpi, sent-t, sent-dlg, sent-form) */
.sbal { display: grid; gap: 12px; }
.sbal-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.sbal-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sbal-bar p { margin: 0; font-size: var(--bo-fs-sm); max-width: 70ch; }
.sbal-t td { vertical-align: top; }
.sbal-wait { margin: 0; padding: 10px 14px; padding-inline-start: 28px; background: #fff7e6; border: 1px solid #f5d9a6; border-radius: var(--bo-r-sm); font-size: var(--bo-fs-sm); line-height: 1.7; display: grid; gap: 4px; }
.sbal-amt { color: var(--bo-green); font-weight: 600; }
.sbal-amt.sbal-neg { color: var(--bo-orange-d); }
.sbal-acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.sbal-err { color: var(--bo-red, #b42318); font-size: var(--bo-fs-xs); display: block; }
.sbal-ref { display: block; color: var(--bo-muted, #667085); font-size: var(--bo-fs-xs); }
p.sbal-err { font-size: var(--bo-fs-sm); background: #fdecea; padding: 8px 10px; border-radius: var(--bo-r-sm); }
.sbal-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sbal-form select { min-height: var(--bo-ctrl-h-sm); border: 1px solid var(--bo-line); border-radius: var(--bo-r-sm); padding: 0 8px; font: inherit; color: var(--bo-ink); background: var(--bo-surface); }
.sbal-form [hidden] { display: none !important; }
/* a long option (the new advance account's name) must not stretch the window past a phone screen */
.sbal-form > label, .sbal-2 > label { min-width: 0; }
.sbal-form select { width: 100%; max-width: 100%; }
.sbal-form [data-src-hint] { font-size: var(--bo-fs-xs); line-height: 1.5; }
@media (max-width: 640px) { .sbal-2 { grid-template-columns: 1fr; } }
/* the app's global .num is not a cell: inside the moves table it must stay one so the row lines up */
.sbal-t td.num { display: table-cell; white-space: nowrap; }
