/* Scope every rule to this plugin's patterns. */
.wp-block-table.tomwt-table {
    max-width: 100%;
    overflow-x: auto;
    margin: 1.5em 0;
    -webkit-overflow-scrolling: touch;
}

.wp-block-table.tomwt-table > table {
    width: 100%;
    table-layout: fixed !important;
    border-collapse: collapse;
    font-size: inherit;
    line-height: 1.7;
}

.wp-block-table.tomwt-table--basic > table { min-width: 460px; }
.wp-block-table.tomwt-table--composite > table { min-width: 720px; }

.wp-block-table.tomwt-table > table th,
.wp-block-table.tomwt-table > table td {
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #ddd;
    vertical-align: top;
    overflow-wrap: anywhere;
    word-break: normal;
}

.wp-block-table.tomwt-table > table > thead { border-bottom: 0; }
.wp-block-table.tomwt-table > table > thead th {
    background: #111;
    color: #fff;
    text-align: left;
    font-weight: 700;
}

.wp-block-table.tomwt-table > table tr > :first-child {
    width: 88px !important;
    min-width: 88px;
    padding: 8px 10px !important;
    text-align: center;
}

.wp-block-table.tomwt-table > table tr > :nth-child(2) { width: 140px; }
.wp-block-table.tomwt-table--composite > table tr > :nth-child(3) { width: 88px; }
.wp-block-table.tomwt-table--composite > table tr > :nth-child(4) { width: 120px; }

.wp-block-table.tomwt-table > table tr > :first-child img {
    display: inline-block;
    box-sizing: content-box;
    width: 64px !important;
    min-width: 64px !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0;
    vertical-align: middle;
}
