/* Shared table theme in the article and its composer. Existing tables keep their style. */
:is(.ar-body,.article-writing,.article-table-grid) table.mc-article-table{display:table;width:100%;max-width:none;min-width:540px;border-collapse:separate;border-spacing:0;border:1px solid #cbded3;border-radius:16px;overflow:hidden;margin:0;background:#fff;color:#172e24;box-shadow:0 3px 12px #1642320b;font-size:16px;line-height:1.5}
.mc-article-table :is(th,td){padding:18px 20px;border:0;border-right:1px solid #cbded3;border-bottom:1px solid #cbded3;text-align:center;vertical-align:middle;overflow-wrap:anywhere;font-weight:400;background:#fff}
.mc-article-table :is(th,td):last-child{border-right:0}
.mc-article-table tbody tr:last-child>:is(th,td){border-bottom:0}
.mc-article-table thead th{background:#00533b;color:#fff;font-weight:700;border-color:#ffffff45}
.mc-article-table tbody tr:nth-child(even)>:is(th,td){background:#e8f5ed}
.mc-article-table-first-column tbody tr>:first-child{text-align:left;font-weight:700}
.mc-article-table caption{caption-side:top;text-align:left;padding:0 0 12px;font-size:14px;font-weight:500;color:#365645}
.ar-table-scroll{max-width:100%;min-width:0;overflow-x:auto;margin:28px 0;padding-bottom:5px;overscroll-behavior-x:contain}
.ar-table-scroll:focus-visible{outline:2px solid #839f8c;outline-offset:3px;border-radius:16px}
@media(max-width:760px){.mc-article-table :is(th,td){padding:14px 16px}.ar-table-scroll{margin:22px 0}}
/* Keep Ukrainian spelling exactly as entered; the legacy theme capitalizes th. */
.mc-article-table :is(th,td,caption){text-transform:none;letter-spacing:normal}
