/* V20: fit tables cleanly within one A4 page width and improve populated-data readability */
.ff-page{
  padding-left:10mm!important;
  padding-right:10mm!important;
}
.ff-table{
  width:100%!important;
  max-width:100%!important;
  table-layout:fixed!important;
}
.ff-table th,
.ff-table td{
  padding:2px 2.2px!important;
}
.ff-table th{
  font-size:10px!important;
  line-height:1.12!important;
}
.ff-table td,
.ff-table td .ff-edit,
.ff-table td.ff-eng,
.ff-eng,
.ff-fill,
.ff-inline-fill{
  font-size:10px!important;
  line-height:1.18!important;
}
.ff-table.family .rhead th{
  height:34px!important;
}
.ff-table.family td{
  height:19px!important;
}
.ff-table.finance th{
  height:28px!important;
}
.ff-table.finance td{
  height:21px!important;
}

/* Slightly rebalance columns to stop the right-most columns from crowding */
.ff-table.family col:nth-child(1){width:18.5%!important}
.ff-table.family col:nth-child(2){width:5.5%!important}
.ff-table.family col:nth-child(3){width:15.5%!important}
.ff-table.family col:nth-child(4){width:17%!important}
.ff-table.family col:nth-child(5){width:5.5%!important}
.ff-table.family col:nth-child(6){width:13%!important}
.ff-table.family col:nth-child(7){width:25%!important}

.ff-table.finance col:nth-child(1){width:21%!important}
.ff-table.finance col:nth-child(2){width:15%!important}
.ff-table.finance col:nth-child(3){width:13%!important}
.ff-table.finance col:nth-child(4){width:14%!important}
.ff-table.finance col:nth-child(5){width:14%!important}
.ff-table.finance col:nth-child(6){width:23%!important}

/* Allow long English values to wrap naturally inside allotted cells */
.ff-table td,
.ff-fill,
.ff-inline-fill{
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  white-space:normal!important;
}
.ff-table td .ff-edit{
  display:inline!important;
  white-space:normal!important;
}
@media print{
  .ff-page{
    padding-left:9mm!important;
    padding-right:9mm!important;
  }
  .ff-table th{font-size:9.6px!important}
  .ff-table td,
  .ff-table td .ff-edit,
  .ff-eng,
  .ff-fill,
  .ff-inline-fill{font-size:9.8px!important}
}
