/* BAVORA OS · Formattext-Ausgabe (BavoraRichText) – Tabellen, Seitenumbruch, Links.
 * Gleiche Darstellung wie Unterschriftsseite und PDF; nutzt vorhandene Tokens mit Fallbacks. */
.bv-rich-table { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 0 0 1rem; }
.bv-rich-table td, .bv-rich-table th { border: 1px solid var(--line, #e8e3db); padding: 6px 12px; vertical-align: top; text-align: left; overflow-wrap: anywhere; }
.bv-rich-table th { background: var(--bg-alt, #f3efe9); font-weight: 600; }
.bv-rich-table.bv-table--rows td, .bv-rich-table.bv-table--rows th { border-left: 0; border-right: 0; }
.bv-rich-table.bv-table--none td, .bv-rich-table.bv-table--none th { border: 0; }
hr.bv-pagebreak { border: 0; border-top: 1px dashed var(--line, #e8e3db); margin: 1.5rem 0; }
.bv-rich-table a, p a, li a { text-decoration: underline; }
@media (max-width: 640px) {
  .bv-rich-table, .bv-rich-table tbody, .bv-rich-table tr, .bv-rich-table td, .bv-rich-table th { display: block; width: 100% !important; }
  .bv-rich-table tr { border: 1px solid var(--line, #e8e3db); border-bottom: 0; }
  .bv-rich-table tr:last-child { border-bottom: 1px solid var(--line, #e8e3db); }
  .bv-rich-table td, .bv-rich-table th { border: 0; }
  .bv-rich-table td:empty { display: none; }
  .bv-rich-table.bv-table--rows tr { border-left: 0; border-right: 0; }
  .bv-rich-table.bv-table--none tr { border: 0; }
}
