.iworks-kpir-row {
  display: grid;
  grid-template-columns: 10em auto;
  gap: 1em;
  margin: 1em 0;
}
.iworks-kpir-row label {
  width: 100px;
}
.iworks-kpir-row .select2 {
  min-width: 200px;
  width: 100%;
}

#income .iworks-kpir-row,
#expense .iworks-kpir-row {
  display: block;
}
#income .iworks-kpir-row label,
#expense .iworks-kpir-row label {
  display: block;
  width: 100%;
}

.wp-list-table tbody .column-symbol,
.wp-list-table tbody .column-expense,
.wp-list-table tbody .column-income {
  text-align: right;
}
.wp-list-table tbody .column-expense,
.wp-list-table tbody .column-income {
  padding-right: 10px;
}
.wp-list-table .column-contractor, .wp-list-table .column-title {
  width: 15em;
}
.wp-list-table .column-expense, .wp-list-table .column-income {
  width: 5em;
}
.wp-list-table .column-date_of_invoice, .wp-list-table .column-date_of_payment {
  width: 10em;
}
.wp-list-table .column-symbol {
  width: 1em;
}
.wp-list-table .duplicate_invoice a {
  cursor: pointer;
}

body:not(.kpir-not-set) .iworks-type .iworks-kpir-row-description {
  display: none;
}
body.kpir-not-set .iworks-type .iworks-kpir-row {
  display: none;
}
body.kpir-not-set .iworks-type .iworks-kpir-row-description {
  display: block;
}
body.income .iworks-type:not(#income) {
  display: none;
}
body.expense .iworks-type:not(#expense) {
  display: none;
}
body.salary .iworks-type:not(#salary) {
  display: none;
}
body.asset .iworks-type:not(#asset) {
  display: none;
}
body.insurance .iworks-type:not(#insurance) {
  display: none;
}
.kpir-report {
  border-collapse: collapse;
}
.kpir-report td,
.kpir-report th {
  padding: 5px;
  border: 1px solid #000;
}
.kpir-report td.money {
  font-family: monospace;
  padding: 0 5px;
  text-align: right;
  width: 3em;
}
.kpir-report td.vat-passed {
  background-color: #00701730;
}
.kpir-report td.vat-failed {
  background-color: #d6363830;
}
.kpir-report tr:nth-child(even) td {
  background-color: #ddd;
}
.kpir-report tr:nth-child(even) td.vat-passed {
  background-color: #00701750;
}
.kpir-report tr:nth-child(even) td.vat-failed {
  background-color: #d6363850;
}
#dashboard-widgets #current_month table,
#dashboard-widgets #past_month table {
  width: 100%;
  background-color: #fff;
}
#dashboard-widgets #current_month table td,
#dashboard-widgets #past_month table td {
  padding: 5px;
}
