/* List columns are defined by the view, never by the records on one page. */
#atlas-front table.assessment-table,
#atlas-front table.patient-directory,
#atlas-front table.priority-table,
#changelist table#result_list{table-layout:fixed;width:100%}
#atlas-front table.assessment-table th,
#atlas-front table.assessment-table td,
#atlas-front table.patient-directory th,
#atlas-front table.patient-directory td,
#atlas-front table.priority-table th,
#atlas-front table.priority-table td,
#changelist table#result_list th,
#changelist table#result_list td{white-space:normal;overflow-wrap:anywhere}
#atlas-front table.assessment-table th:last-child{width:auto}
#atlas-front table.assessment-table .timeline-actions{min-width:0;width:100%;flex-wrap:wrap;white-space:normal}
#atlas-front table.assessment-table .patient-followup-status{white-space:normal}
#atlas-front table.patient-directory th:nth-child(1){width:19%}
#atlas-front table.patient-directory th:nth-child(2){width:20%}
#atlas-front table.patient-directory th:nth-child(3){width:16%}
#atlas-front table.patient-directory th:nth-child(4){width:14%}
#atlas-front table.patient-directory th:nth-child(5){width:12%}
#atlas-front table.patient-directory th:nth-child(6){width:19%}
#changelist .results{overflow-x:auto}
#changelist table#result_list{min-width:900px}
#changelist table#result_list .action-checkbox-column{width:40px}
#changelist table#result_list .column-reorder_handle{width:44px}
@media(min-width:701px){
  #atlas-front table.assessment-records-table{min-width:1050px}
  #atlas-front table.assessment-records-table th:nth-child(1){width:14%}
  #atlas-front table.assessment-records-table th:nth-child(2){width:19%}
  #atlas-front table.assessment-records-table th:nth-child(3){width:11%}
  #atlas-front table.assessment-records-table th:nth-child(4){width:27%}
  #atlas-front table.assessment-records-table th:nth-child(5){width:9%}
  #atlas-front table.assessment-records-table th:nth-child(6){width:20%}
  #atlas-front table.assessment-records-table.has-discipline th:nth-child(1){width:12%}
  #atlas-front table.assessment-records-table.has-discipline th:nth-child(2){width:16%}
  #atlas-front table.assessment-records-table.has-discipline th:nth-child(3){width:13%}
  #atlas-front table.assessment-records-table.has-discipline th:nth-child(4){width:10%}
  #atlas-front table.assessment-records-table.has-discipline th:nth-child(5){width:22%}
  #atlas-front table.assessment-records-table.has-discipline th:nth-child(6){width:9%}
  #atlas-front table.assessment-records-table.has-discipline th:nth-child(7){width:18%}
}

/* Keep action controls readable and wide clinical tables horizontally scrollable. */
#atlas-front table.priority-table{min-width:800px}
#atlas-front table.priority-table th:nth-child(1){width:50%}
#atlas-front table.priority-table th:nth-child(2){width:20%}
#atlas-front table.priority-table th:nth-child(3){width:30%}
#atlas-front table.priority-table--mine th:nth-child(1){width:40%}
#atlas-front table.priority-table--mine th:nth-child(2),
#atlas-front table.priority-table--mine th:nth-child(3){width:15%}
#atlas-front table.priority-table--mine th.priority-action-column{width:30%}
#atlas-front table.priority-table .priority-action-column{white-space:nowrap;overflow-wrap:normal}
#atlas-front table.clinical-case-table{min-width:calc(var(--case-column-count, 12) * 200px)}
#atlas-front table.clinical-case-table th,
#atlas-front table.clinical-case-table td{overflow-wrap:break-word}
#atlas-front table.clinical-case-table td:first-child,
#atlas-front table.clinical-case-table .case-profile-value,
#atlas-front table.clinical-case-table .case-delete-action{white-space:nowrap;overflow-wrap:normal}
