/* «Деньги → Владельцы» (web/admin-owner-money.js): the totals, the search with the sorts, the owners' table, one owner's card. */
.omon-totals { margin-bottom: 14px; }
.omon-search { display: grid; gap: 12px; }
.omon-search form { display: grid; gap: 8px; }
.omon-search label { margin: 0; }
.omon-row { display: flex; flex-wrap: wrap; gap: 8px; }
.omon-row input { flex: 1 1 260px; min-width: 0; }
.omon-row button { flex: 0 0 auto; }
.omon-sorts { flex-wrap: wrap; justify-self: start; max-width: 100%; }
.omon-table td { vertical-align: top; }
.omon-table td small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.omon-table td strong { font-variant-numeric: tabular-nums; }
.omon-open { text-align: right; white-space: nowrap; }
.omon-card { display: grid; gap: 12px; }
.omon-card h3 { margin: 12px 0 0; font-size: 16px; }
.omon-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px 16px; margin: 0; }
.omon-facts div { min-width: 0; }
.omon-facts dt { font-size: 12px; color: var(--muted); }
.omon-facts dd { margin: 2px 0 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.omon-facts .omon-main dd { font-size: 24px; font-weight: 600; }
.omon-sites { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.omon-sites li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; overflow-wrap: anywhere; }
.omon-tabs { flex-wrap: wrap; max-width: 100%; }
.omon-count { margin-left: 4px; color: var(--muted); font-variant-numeric: tabular-nums; }
.omon-tabs .active .omon-count { color: inherit; }
.omon-reason { overflow-wrap: anywhere; white-space: normal; }
.omon-plus { color: var(--ok); }
.omon-minus { color: var(--danger); }
.omon-card .pill.danger { background: rgb(242 122 111 / .12); color: var(--danger); }
.omon-sign { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 12px 0 4px; padding: 0; border: 0; }
.omon-sign legend { margin-bottom: 6px; padding: 0; font-weight: 600; }
.omon-change { font-size: 18px; font-variant-numeric: tabular-nums; }
.omon-repeat { margin: 10px 0 0; padding: 10px 12px; border-radius: var(--radius-md); background: rgb(228 174 79 / .12); color: var(--warn); font-size: 14px; }
@media (min-width: 541px) {
  .omon-table .omon-reason { display: block; max-width: 280px; }
  .omon-table td:first-child { min-width: 170px; }
}
@media (max-width: 540px) {
  .omon-row button { flex: 1 1 100%; }
  .omon-table td small { margin-top: 2px; }
  .omon-open { justify-content: flex-end; }
  .omon-open button { width: 100%; }
  .omon-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .omon-facts .omon-main { grid-column: 1 / -1; }
}
