/* Shared data-cell overflow policy. Typography, colors, spacing, badges, column
   definitions and action containers continue to belong to each module. */
table[data-table-overflow] td[data-cell-constrain] {
    max-width: 0;
}

[data-table-overflow] [data-cell-layout] {
    min-width: 0 !important;
    max-width: 100%;
}

[data-table-overflow] [data-cell-text],
[data-table-overflow][data-cell-text] {
    min-width: 0 !important;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    -webkit-line-clamp: unset;
}

[data-table-overflow] [data-cell-text="inline"] {
    display: inline-block;
}

/* A text-only flex/grid leaf needs a text formatting context for the ellipsis.
   Icon groups, compound controls and menus never receive this marker. */
[data-table-overflow] [data-cell-text="block"] {
    display: block !important;
}
