/* Markdown table styles — uses CSS variables so light/dark switching is automatic */

.post-content .table-scroll {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.5;
}

.post-content thead tr {
  background: var(--bg3);
}

.post-content th {
  padding: 11px 16px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  border-bottom: 2px solid var(--border);
  border-right: 1px solid var(--border);
  white-space: nowrap;
}

.post-content th:last-child {
  border-right: none;
}

.post-content td {
  padding: 10px 16px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  vertical-align: top;
}

.post-content td:last-child {
  border-right: none;
}

.post-content tbody tr:last-child td {
  border-bottom: none;
}

.post-content tbody tr:hover {
  background: var(--bg3);
}

/* Accent stripe on the left edge of header */
html[data-theme="light"] .post-content thead tr {
  border-left: 3px solid var(--accent);
}

html[data-theme="dark"] .post-content thead tr {
  border-left: 3px solid var(--accent);
}
