/* DX New Basic 본문 표 스타일 — 값은 <style id="dxts-vars"> 의 CSS 변수로 들어옵니다.
 * 적용 범위: .dx-post-body(게시글 본문), .dxts-area(직접 지정한 영역) 안의 table 만 */
.dx-post-body table, .dxts-area table {
  width: var(--dxts-w, 100%); max-width: 100%; margin: var(--dxts-my, 20px) 0;
  border-collapse: separate !important; border-spacing: 0 !important;
  border-width: 0 !important;
  border-top: var(--dxts-t, 1px solid #dedfd5) !important; border-right: var(--dxts-r, 0 none) !important;
  border-bottom: var(--dxts-b, 0 none) !important;       border-left: var(--dxts-l, 1px solid #dedfd5) !important;
  border-radius: var(--dxts-radius, 4px); overflow: hidden;
  font-size: var(--dxts-td-size, 14px); line-height: 1.6; text-indent: 0;
}
.dx-post-body table th, .dx-post-body table td, .dxts-area table th, .dxts-area table td {
  padding: var(--dxts-py, 12px) var(--dxts-px, 16px) !important;
  border: 0 none !important;
  border-right: var(--dxts-cr, 1px solid #dedfd5) !important; border-bottom: var(--dxts-cb, 1px solid #dedfd5) !important;
  font-size: var(--dxts-td-size, 14px); vertical-align: middle; box-sizing: border-box;
}
/* 본문 칸 — 칸에 직접 지정한 배경/글자색은 그대로 존중 */
.dx-post-body table td:not([style*="background"]), .dxts-area table td:not([style*="background"]) { background: var(--dxts-td-bg, transparent) !important; }
.dx-post-body table td:not([style*="color"]), .dxts-area table td:not([style*="color"]) { color: var(--dxts-td-color, inherit) !important; }
.dx-post-body table tbody tr:nth-child(even) > td:not([style*="background"]), .dxts-area table tbody tr:nth-child(even) > td:not([style*="background"]) { background: var(--dxts-stripe, transparent) !important; }
/* 헤드 칸 */
.dx-post-body table th, .dx-post-body table thead td, .dxts-area table th, .dxts-area table thead td {
  font-size: var(--dxts-th-size, 14px); font-weight: var(--dxts-th-weight, 800); text-align: var(--dxts-th-align, left);
}
.dx-post-body table th:not([style*="background"]), .dx-post-body table thead td:not([style*="background"]),
.dxts-area table th:not([style*="background"]), .dxts-area table thead td:not([style*="background"]) { background: var(--dxts-th-bg, #20231f) !important; }
.dx-post-body table th:not([style*="color"]), .dx-post-body table thead td:not([style*="color"]),
.dxts-area table th:not([style*="color"]), .dxts-area table thead td:not([style*="color"]) { color: var(--dxts-th-color, #fff) !important; }
/* 칸 안의 문단 여백 */
.dx-post-body table td > p:first-child, .dx-post-body table th > p:first-child { margin-top: 0; }
.dx-post-body table td > p:last-child, .dx-post-body table th > p:last-child { margin-bottom: 0; }
