/* CervoGo RTE per-table borders (owned file — do NOT put these in styles.css, it is generated and gets overwritten).
   Opt-in only: editors add class "cvo-table-bordered" to a single RTE table; all other tables stay untouched.
   The editor's border-width prompt writes --cvo-table-border-width on the table element; cells inherit it.
   1px is the fallback for content created before that prompt existed. */
main#main table.cvo-table-bordered {
    border-collapse: collapse;
    width: 100%;
    margin: 1rem 0;
}

main#main table.cvo-table-bordered td,
main#main table.cvo-table-bordered th {
    border: 1px solid #dee2e6;
    border-width: var(--cvo-table-border-width, 1px);
    padding: .5rem;
    vertical-align: top;
}

/* header-row emphasis (neutral) — applies to th whether the header sits in thead or a plain tr */
main#main table.cvo-table-bordered th {
    background-color: #f5f5f5;
    font-weight: 700;
}
