/* Markdown table rendering -- uses the plugin's own established
   --qa-* theme variables (see frontend-styles.css), so a rendered
   table automatically follows both the light and dark theme the
   rest of the page already uses, rather than carrying its own,
   separate hardcoded colors. */

.qa-md-table {
    border-collapse: collapse;
    width: 100%;
    margin: 12px 0;
    font-size: 14px;
    color: var(--qa-ink);
}

.qa-md-table th,
.qa-md-table td {
    border: 1px solid var(--qa-border);
    padding: 8px 12px;
    text-align: left;
}

.qa-md-table th {
    background: var(--qa-paper);
    color: var(--qa-ink);
    font-weight: 600;
}

.qa-md-table tbody tr:nth-child(even) {
    background: var(--qa-border-soft);
}

.qa-md-table tbody tr:nth-child(odd) {
    background: var(--qa-surface);
}
