/* Grid fieldtype in table mode: let wide tables scroll sideways like a spreadsheet
   instead of squeezing every column until the inputs are unreadable. */
.grid-fieldtype-container {
    overflow-x: auto;
}
.grid-fieldtype-container .grid-table {
    width: max-content;
    min-width: 100%;
}
.grid-fieldtype-container .grid-table th:not(.grid-row-controls):not(.grid-drag-handle-header) {
    min-width: 13rem;
}
/* Inputs never grow past their own cell. */
.grid-fieldtype-container .grid-table td input,
.grid-fieldtype-container .grid-table td textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
