/* Kiosks app (public/js/admin/modules/kiosks.js) and Accounting > All kiosks (consolidated) (modules/accounting/consolidated.js).
   Builds on license.css (.co-*, .lic-meter) and accounting.css (.acct-*). Logical properties only, so Arabic (RTL) mirrors by itself. */
.ks-fullname { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-block-start: 6px; font-size: 13.5px; }
.ks-fullname small { color: var(--muted); font-weight: 650; }
.ks-fullname b { overflow-wrap: anywhere; }
.ks-figures .card-head { flex-wrap: wrap; gap: 10px; }
.ks-figures-body { display: grid; gap: 8px; min-width: 0; }
.ks-figures-body.is-loading, .acct-cons.is-loading { opacity: .55; transition: opacity .15s; }
.ks-figures-body .table-wrap { max-width: 100%; }
.ks-merged .row-gap { display: flex; flex-wrap: wrap; gap: 8px; }
.ks-merged p { margin: 0; }

.acct-cons { display: grid; gap: 12px; min-width: 0; }
.acct-cons .acct-tab-panel { padding-block-start: 12px; display: grid; gap: 12px; min-width: 0; }
.acct-cons-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.acct-cons-tools .acct-note { flex: 1 1 280px; }
.acct-cons-note { display: grid; gap: 4px; padding: 12px 16px 0; }
.acct-cons .acct-rpt th { min-width: 110px; white-space: normal; overflow-wrap: anywhere; }
.acct-cons .acct-rpt th:first-child { min-width: 180px; }
.acct-cons .acct-rpt td.num, .acct-cons .acct-rpt th.num { white-space: nowrap; }
/* the Total column stands out; it is the last cell of every row */
.acct-cons .acct-rpt tr > :last-child { border-inline-start: 2px solid var(--line); font-weight: 800; background: color-mix(in srgb, var(--accent) 5%, transparent); }
.acct-cons .acct-rpt-lead { white-space: normal; }

@media (max-width: 600px) {
  .acct-cons .acct-rpt th { min-width: 92px; }
  .acct-cons .acct-rpt th:first-child { min-width: 150px; }
  .acct-cons-tools .acct-check { width: 100%; justify-content: space-between; }
}
@media print { .acct-cons .acct-rpt tr > :last-child { background: none; } }

/* phones: the wide per-kiosk table scrolls inside its card, the page itself never grows sideways */
.acct-cons, .acct-cons > *, .acct-cons .acct-tabs-wrap, .acct-cons .acct-tab-panel, .acct-cons .acct-tab-panel > *, .acct-cons .acct-rptcard { min-width: 0; max-width: 100%; }
.acct-cons .table-wrap { overflow-x: auto; max-width: 100%; }
