/* Screen lists only. Do not select arbitrary tables or change source order/exports. */
@media screen {
  :root body :is(
    .gw-list-surface > .gw-list-viewport > table,
    table[data-list-numbered],
    .gw-query-scroll > table,
    .sg-project-results-viewport > table.sg-project-work-table,
    .sg-event-result-list table.training-events,
    [data-education-work-list] table.training-events,
    .ind-table-scroll > table.ind-table:not(.ind-table--contracts),
    .el2-table-scroll > table.el2-table,
    .cb-table-scroll > table.cb-table
  ):not(.contract-detail-table, .cb-print-table, .source-admin-table, .roster-priority-table, .attendance-preview-list > table, .education-result-document table, .sg-promo-progress-panel table)
      > :is(thead,tbody) > tr > :is(th,td) {
    text-align: center !important;
    vertical-align: middle;
  }

  :root body :is(
    .gw-list-surface > .gw-list-viewport > table,
    table[data-list-numbered],
    .gw-query-scroll > table,
    .sg-project-results-viewport > table.sg-project-work-table,
    .sg-event-result-list table.training-events,
    [data-education-work-list] table.training-events,
    .ind-table-scroll > table.ind-table:not(.ind-table--contracts),
    .el2-table-scroll > table.el2-table,
    .cb-table-scroll > table.cb-table
  ):not(.contract-detail-table, .cb-print-table, .source-admin-table, .roster-priority-table, .attendance-preview-list > table, .education-result-document table, .sg-promo-progress-panel table)
      > :is(thead,tbody) > tr > :is(th,td) :is(.list-sort-heading,.sg-successor-sort-button,.training-row-link,.sg-project-name-button,.education-content-trigger) {
    text-align: center !important;
    justify-content: center !important;
  }

  .sg-promo-register-list > .sg-promo-list-results > li > .sg-promo-list-row > :is(.sg-promo-list-title,.sg-promo-list-period,.sg-promo-stage) {
    text-align: center !important;
    justify-content: center !important;
  }
  .sg-promo-register-list > .sg-promo-list-results > li > .sg-promo-list-row > .sg-promo-list-title > span:nth-child(2) {
    flex: 1;
    text-align: center !important;
  }
}




@media screen and (min-width: 1220px) {
 .cb-form .sg-cashbook-payment-fields.cb-fields { grid-template-columns: repeat(5,minmax(0,1fr)); }
 .cb-form .sg-cashbook-payment-fields.cb-fields > label {min-width:0;}
}
@media screen {
 .cb-table-scroll .cb-table .sg-cashbook-sort-heading {min-height:32px; padding-block:4px;}
 .cb-table-scroll .cb-table > tfoot > tr > :is(th,td) {text-align:center!important;}
}

