/* Дата должна помещаться в закреплённом столбце даже при горизонтальной прокрутке. */
.payments-general-table .payments-data-table{min-width:1080px}
.payments-general-table .payments-data-table th.first-col,
.payments-matrix-table th.first-col{width:124px!important;min-width:124px!important;max-width:124px!important;box-sizing:border-box;overflow:visible;white-space:nowrap}
.payments-general-table .payments-data-table th.first-col,
.payments-matrix-table th.first-col{border-right:1px solid var(--pr-border)}
@media(max-width:620px){
  .payments-general-table .payments-data-table th.first-col,
  .payments-matrix-table th.first-col{width:124px!important;min-width:124px!important;max-width:124px!important}
}

/* Отчёт использует собственные цвета, поэтому светлая тема задаётся явно. */
html.light-ui .payments-report{--pr-bg:#fff;--pr-panel:#fff;--pr-row:#fff;--pr-row-alt:#f5f8fd;--pr-border:#cbd6e6;--pr-text:#17243a;--pr-muted:#52637b;--pr-action:#5547db;--pr-header:#eaf0f8;--pr-hover:#e9f0fa;--pr-total:#dce8f8;color:var(--pr-text)}
html.light-ui .payments-report :is(.payments-primary-tabs,.payments-toolbar,.payments-secondary-tabs button,.payments-extras>button,.payments-extra-panel,.payments-kpis>div,.payments-empty,.payments-table-scroll,.payments-matrix-path button){background:var(--pr-panel);border-color:var(--pr-border);color:var(--pr-text)}
html.light-ui .payments-report :is(.payments-primary-tabs button,.payments-toolbar button,.payments-secondary-tabs button,.payments-extras>button){color:var(--pr-muted)}
html.light-ui .payments-report :is(.payments-primary-tabs button,.payments-toolbar button,.payments-secondary-tabs button,.payments-extras>button):hover{background:var(--pr-hover);color:var(--pr-text)}
html.light-ui .payments-report :is(.payments-primary-tabs,.payments-toolbar,.payments-secondary-tabs) button.is-active{background:var(--pr-action);color:#fff}
html.light-ui .payments-report :is(.toolbar-select select,.custom-dates>button,.custom-popover,.custom-popover input){background:#fff;color:var(--pr-text);border-color:var(--pr-border);color-scheme:light}
html.light-ui .payments-report .custom-popover{box-shadow:0 14px 30px #17243a25}
html.light-ui .payments-report .toolbar-check{color:var(--pr-text)}
html.light-ui .payments-report .payments-data-table :is(th,td){border-bottom-color:#dce4ef;color:var(--pr-text)}
html.light-ui .payments-report .payments-data-table thead th{background:var(--pr-header)!important;color:var(--pr-muted)!important}
html.light-ui .payments-report .payments-data-table tbody tr:nth-child(even) :is(td,th.first-col){background:var(--pr-row-alt)}
html.light-ui .payments-report .payments-data-table tbody tr:hover :is(td,th.first-col){background:var(--pr-hover)}
html.light-ui .payments-report .payments-data-table .total-row :is(th,td),
html.light-ui .payments-report .payments-data-table .total-row th.first-col{background:var(--pr-total)!important;color:#17243a!important;border-top-color:#b8c9df}
html.light-ui .payments-report .payments-data-table .depth-1 th.first-col{color:#314b72}
html.light-ui .payments-report .payments-data-table .depth-2 th.first-col{color:#52688a}
html.light-ui .payments-report .payments-data-table td.expense{color:#986000}
html.light-ui .payments-report .payments-data-table .metric-divider{border-left-color:#95a9c5}
html.light-ui .payments-report .payments-data-table .expand-button>span{color:#425c82}
html.light-ui .payments-report .payments-matrix-table thead th.amount :is(small,span){color:#435778}
html.light-ui .payments-report .payments-matrix-path{color:var(--pr-text)}
html.light-ui .payments-report .payments-matrix-path button{color:var(--pr-text)}
html.light-ui .payments-report .payments-status{background:#eaf0fb;color:#294b7a}
html.light-ui .payments-report .payments-warning{background:#fff1d5;color:#754b00}
html.light-ui .payments-report .payments-error{background:#ffe4e9;color:#9f203d}
