/* Staff payment register only. The semantic cell labels survive optional columns. */
@media screen and (min-width:1101px) {
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-table-wrap {
    overflow-x:auto;
    overscroll-behavior-x:contain;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-table-wrap>table {
    display:table;
    width:100%;
    min-width:1120px;
    table-layout:auto;
    font-size:11px;
    line-height:1.1;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-table-wrap>table>thead {
    display:table-header-group;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-table-wrap>table>tbody {
    display:table-row-group;
    padding:0;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-table-wrap>table>thead>tr,
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-table-wrap>table>tbody>tr {
    display:table-row;
    padding:0;
    border:0;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-table-wrap>table>thead>tr>th {
    display:table-cell!important;
    width:auto!important;
    padding:4px 5px;
    font-size:10px;
    line-height:1.15;
    overflow-wrap:normal;
    vertical-align:middle;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-table-wrap>table>tbody>.aw-partner-line>td {
    display:table-cell!important;
    box-sizing:border-box;
    height:35px!important;
    min-height:0!important;
    padding:0 5px!important;
    font-size:11px;
    line-height:1.1!important;
    vertical-align:middle;
    overflow-wrap:normal;
    border-bottom:1px solid var(--border,#e5d9cf);
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-partner-line>td::before {
    display:none!important;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-partner-line small {
    margin:0!important;
    font-size:9px!important;
    line-height:1.1!important;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-partner-line .aw-name {
    margin:0!important;
    padding:0!important;
    min-height:0!important;
    font-size:11px;
    line-height:1.1;
    overflow-wrap:normal;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-partner-line>td[data-label="Партнер"] {
    width:22%;
    min-width:160px;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-partner-line>td[data-label="Период"] {
    width:104px;
    white-space:nowrap;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-partner-line>td[data-label="Продажи"] {
    width:42px;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-partner-line>td:is([data-label="Начислено"],[data-label="Оплачено"],[data-label="Осталось"]) {
    width:76px;
    min-width:76px;
    white-space:nowrap;
    font-variant-numeric:tabular-nums;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-partner-line>td[data-label="Состояние"] {
    width:132px;
    min-width:132px;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-partner-line>td[data-label="Дата оплаты"] {
    width:136px;
    min-width:136px;
    white-space:nowrap;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-partner-line>td[data-label="Документы"] {
    width:29px;
    padding-inline:2px!important;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-partner-line>td:is([data-label="Проверка / партнер"],[data-label="Согласование"]) {
    width:145px;
    min-width:145px;
    white-space:nowrap;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-partner-line>td[data-label="Карта списания"] {
    width:88px;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-partner-line>td[data-label="Действия"] {
    width:86px;
    min-width:86px;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-partner-line :is(.aw-payment-state,[data-aw-action],.aw-staff-check,.aw-document-mark,.af-card-button) {
    box-sizing:border-box;
    width:100%;
    height:24px!important;
    min-height:24px!important;
    margin:0!important;
    padding:1px 4px!important;
    font-size:10px!important;
    line-height:1.1!important;
    border-radius:4px;
    white-space:nowrap;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-partner-line .aw-partner-consent {
    display:block!important;
    margin:0!important;
    white-space:nowrap!important;
    overflow:visible;
    text-overflow:clip;
    line-height:1.1!important;
    font-size:9px!important;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-partner-line .aw-date-editor {
    width:100%;
    gap:0;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-partner-line .aw-date-inputs {
    display:grid;
    grid-template-columns:minmax(0,1fr) 22px 20px;
    align-items:center;
    gap:2px;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-partner-line .aw-date-inputs>:is(input,.aw-calendar-trigger,.aw-date-clear) {
    box-sizing:border-box;
    width:100%;
    height:24px!important;
    min-height:24px!important;
    margin:0;
    padding:1px 2px!important;
    font-size:10px!important;
    line-height:1.1;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-partner-line .aw-calendar-trigger>input {
    height:100%;
    min-height:0!important;
    margin:0;
    padding:0;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-table-wrap>table>tbody>.aw-queue-group>td {
    display:table-cell!important;
    height:16px;
    padding:1px 5px;
    font-size:9px;
    line-height:1.1;
  }
  :is([data-view="accountant-payments"] .aw-workbench,.aw-workbench[data-aw-route="accountant-payments"]) .aw-queue-group>td::before {
    display:none!important;
  }
}
