/**
 * Copyright (c) 2026 DNA Genics, S.L. All rights reserved.
 * Opt-in screen table readability. Print and unmarked tables retain their styles.
 */
@media screen {
    table.site-readable-table { table-layout: auto; }
    /* Opt-in tables override page-specific forced wrapping without changing other tables. */
    table.site-readable-table thead th {
        white-space: nowrap !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }
    table.site-readable-table tbody :is(th, td),
    table.site-readable-table :is(th, td) :is(a, span, small, strong, p) {
        overflow-wrap: normal !important;
        word-break: normal !important;
    }
    .site-table-scroll {
        position: relative;
        min-width: 0;
        max-width: 100%;
        overflow-x: auto;
    }
    .site-table-scroll:focus-visible {
        outline: 2px solid var(--hd-primary, #203c30);
        outline-offset: 3px;
    }
}
