/* Shrink Joomla inspection tables to text width */
#system-message-container + div table,
.item-page table,
table {
    width: auto !important;
    max-width: 100% !important;
    display: table !important;
}

/* Ensure table cells don't awkwardly squish text */
table th, table td {
    white-space: nowrap !important;
}

/* Re-allow text wrapping inside the long Observation column specifically */
table td:last-child {
    white-space: normal !important;
}/* Make tables fit only the text content width */
.inspection-form table, 
table {
    width: auto !important;
    display: inline-table !important;
}