/* Shared blog/editor table presentation. Kept separate for CSS-only releases. */
:is(.blog-body, .rich-text-editor .ql-editor) table > tbody > tr > td {
  background: transparent;
  color: var(--color-text-secondary, #475569);
  font-weight: 400;
  border: 1px solid var(--color-border, #e2e8f0);
  font-variant-numeric: tabular-nums;
}
:is(.blog-body, .rich-text-editor .ql-editor) table:has(thead, th) > tbody > tr:nth-child(even) > td,
:is(.blog-body, .rich-text-editor .ql-editor) table:not(:has(thead, th)) > tbody > tr:nth-child(odd):not(:first-child) > td {
  background: var(--color-surface-alt, #ecfdf5);
}
:is(.blog-body, .rich-text-editor .ql-editor) table th,
:is(.blog-body, .rich-text-editor .ql-editor) table:not(:has(thead, th)) > tbody:first-of-type > tr:first-child > td {
  background: #0f7a74;
  color: #fff;
  font-weight: 600;
  border-color: #0f7a74;
}
:is(.blog-body, .rich-text-editor .ql-editor) table th a,
:is(.blog-body, .rich-text-editor .ql-editor) table:not(:has(thead, th)) > tbody:first-of-type > tr:first-child > td a {
  color: inherit;
  text-decoration: underline;
}
