.balance-filters{gap:12px;margin-bottom:16px;display:grid}.balance-filters .field{margin:0}.balance-table{min-width:0}.balance-table thead th:first-child{width:36%}.balance-table thead th:nth-child(2){width:15%}.balance-table thead th:nth-child(3){text-align:end;width:28%}.balance-table tbody td{height:60px;padding:6px 12px}.balance-table tbody tr:is(:hover,:focus-within){background:color-mix(in srgb,var(--accent) 3%,white)}.balance-name,.balance-number{max-width:100%;color:var(--accent);text-align:start;font:inherit;background:0 0;border:0;align-items:center;gap:7px;padding:2px 0;display:flex}.balance-name{min-height:26px}.balance-name span{overflow-wrap:anywhere;min-width:0}.balance-number,.balance-suffix{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;min-height:22px;font-size:12px}.balance-suffix{color:var(--muted);display:block}.balance-name svg,.balance-number svg{color:var(--muted);flex:none}.balance-table :is(.balance-name,.balance-number):hover{color:var(--accent-hover);text-decoration:underline}.balance-table button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.balance-rename{align-items:center;gap:4px;display:flex}.balance-table .balance-rename input{border-radius:4px;flex:1;min-width:0;height:36px;min-height:36px;border:1px solid var(--accent-line)!important}.balance-rename .icon-button{width:29px;height:32px;color:var(--accent);flex:none}.balance-bank>div{align-items:center;gap:7px;display:flex}.balance-bank img{object-fit:contain;flex:none}.balance-table .balance-amount{text-align:end;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.balance-amount strong{font-weight:600;display:block}.balance-amount small,.balance-updated small,.balance-totals small{color:var(--muted);font-size:12px;display:block}.balance-updated time{flex-wrap:wrap;align-items:baseline;gap:2px 6px;display:flex}.balance-updated .balance-status[data-state=stale]{color:var(--red)}.balance-table tfoot td{border:0}.balance-totals{background:var(--bg);font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:10px 24px;margin:0;padding:12px;display:flex}.balance-totals>div{flex-wrap:wrap;align-items:baseline;gap:4px 10px;min-width:0;display:flex}.balance-totals dt{color:var(--muted);font-size:12px;font-weight:400}.balance-totals dd{overflow-wrap:anywhere;margin:0;font-weight:600}.balance-totals small{font-weight:400}@container (max-width:740px){.balance-table,.balance-table thead,.balance-table tbody,.balance-table tfoot,.balance-table tfoot tr,.balance-table tfoot td{display:block}.balance-table thead{z-index:4;position:sticky;top:0}.balance-table thead tr{grid-template-columns:minmax(0,1fr) auto;display:grid}.balance-table thead th[aria-sort]{align-items:center;width:auto;display:flex;position:static}.balance-table thead th:nth-child(3){border-inline-end:0}.balance-table thead th:not([aria-sort]){clip-path:inset(50%);width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.balance-table tbody tr{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"identity bank""amount amount""updated updated";gap:6px 8px;padding:9px 12px;display:grid}.balance-table tbody td{border:0;min-width:0;height:auto;padding:0}.balance-table tbody td:first-child{width:auto}.balance-identity{grid-area:identity}.balance-table td.balance-bank{grid-area:bank;align-self:start;padding-top:4px}.balance-bank img{width:16px;height:16px}.balance-table .balance-amount{text-align:start;grid-area:amount}.balance-amount strong{font-size:16px}.balance-updated{color:var(--muted);flex-wrap:wrap;grid-area:updated;align-items:baseline;gap:2px 7px;font-size:12px;display:flex}.balance-updated time:before{content:"Обновлено "}.balance-table tfoot tr>td:first-child{width:auto}.balance-totals{gap:4px;display:grid}.balance-totals>div{justify-content:space-between}}
.receipt-bank{white-space:nowrap;align-items:center;gap:7px;display:inline-flex}.receipt-bank img{object-fit:contain;flex:none}.bank-header .payment-search{max-width:440px}.service-grants input{accent-color:var(--accent)}.payment-filter-popup .date-field{margin-bottom:12px}.bank-payments-table{min-width:0}.bank-payments-table thead th:first-child{width:138px}.bank-payments-table thead th:nth-child(2){width:146px}.bank-payments-table thead th:nth-child(3){text-align:end;width:14%}.bank-payments-table thead th:nth-child(4){width:20%}.bank-payments-table thead th:last-child{width:15%}.bank-payments-table tbody td{overflow-wrap:anywhere;height:56px;padding:8px 12px}.bank-payments-table tbody tr:is(:hover,:focus-within){background:color-mix(in srgb,var(--accent) 3%,white)}.bank-payments-table tbody tr:last-child td{border-bottom:0}.bank-payments-table time{white-space:nowrap}.bank-payments-table .bank-amount{text-align:end;font-variant-numeric:tabular-nums}.bank-amount strong{font-weight:600}.bank-payments-table .bank-mobile-label{display:none}.bank-payments-table .bank-pending{white-space:nowrap;color:#785512;background:#fff3d9;border-radius:4px;align-items:center;gap:4px;padding:3px 6px;font-size:11px;font-weight:500;display:inline-flex}.bank-pending svg,.bank-inn svg{flex:none}.bank-party>div,.bank-purpose{white-space:pre-wrap}.bank-inn{max-width:100%;min-height:24px;color:var(--accent);font:inherit;text-align:start;overflow-wrap:anywhere;background:0 0;border:0;align-items:center;gap:5px;padding:2px 0;font-size:12px;display:inline-flex}.bank-inn:hover{color:var(--accent-hover);text-decoration:underline}.bank-inn:focus-visible,.bank-payments-table .directory-sort:focus-visible{background:var(--accent-soft)}.bank-account small{color:var(--muted);font-size:12px;display:block}@container (max-width:860px){.bank-payments-table,.bank-payments-table thead,.bank-payments-table tbody{display:block}.bank-payments-table thead{z-index:4;position:sticky;top:0}.bank-payments-table thead tr{grid-template-columns:minmax(0,1fr) auto;display:grid}.bank-payments-table thead th[aria-sort]{align-items:center;width:auto;display:flex;position:static}.bank-payments-table thead th:nth-child(3){border-inline-end:0}.bank-payments-table thead th:not([aria-sort]){clip-path:inset(50%);width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.bank-payments-table tbody tr{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"date amount""party party""purpose purpose""posted bank";gap:6px 12px;padding:12px;display:grid}.bank-payments-table tbody tr:last-child{border-bottom:0}.bank-payments-table tbody td{border:0;min-width:0;height:auto;padding:0}.bank-payments-table tbody td:first-child{width:auto}.bank-operation-date{grid-area:date}.bank-amount{grid-area:amount;font-size:15px}.bank-party{grid-area:party;font-weight:500}.bank-purpose{grid-area:purpose}.bank-accounting-date{grid-area:posted}.bank-account{grid-area:bank;text-align:end!important}.bank-accounting-date,.bank-account{margin-top:2px}.bank-payments-table .bank-mobile-label{color:var(--muted);margin-bottom:2px;padding:0;font-size:11px;display:block}}
