:root {
    --td-red: #C8102E;
    --td-red-dark: #9b0c23;
    --td-black: #111111;
    --td-charcoal: #222222;
    --td-gray: #555555;
    --td-light: #f7f7f7;
    --td-border: #e0e0e0;
    --td-white: #ffffff;
    --td-radius: 8px;
    --td-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.td-page {
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
}

.td-hero {
    color: var(--td-white);
    background: linear-gradient(135deg, var(--td-black) 0%, #2a0008 60%, var(--td-charcoal) 100%);
    border-bottom: 4px solid var(--td-red);
    border-radius: var(--td-radius);
    box-shadow: var(--td-shadow);
    margin-bottom: 1.5rem;
    padding: 1.5rem;
}

.td-hero-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.td-hero-photo-slot {
    width: 132px;
    height: 120px;
    flex: 0 0 132px;
    position: relative;
}

.td-hero-photo-frame {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--td-black);
    border: 3px solid var(--td-red);
    border-radius: var(--td-radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.td-hero-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.td-photo-trigger {
    position: relative;
    padding: 0;
    cursor: pointer;
    color: var(--td-white);
}

.td-photo-trigger:focus-visible {
    outline: 3px solid var(--td-white);
    outline-offset: 4px;
}

.td-photo-hint {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.3rem;
    background: rgba(17, 17, 17, 0.85);
    font-size: 0.65rem;
    font-weight: 700;
    pointer-events: none;
}

.td-photo-fallback .td-hero-photo {
    width: 100%;
    height: 100%;
    padding: 8px;
    object-fit: contain;
    object-position: center;
}

@media (hover: hover) and (pointer: fine) and (min-width: 992px) {
    .td-photo-trigger {
        overflow: visible;
    }

    .td-photo-trigger .td-hero-photo {
        position: absolute;
        border-radius: var(--td-radius);
        background: var(--td-black);
        transition: width 0.16s ease, box-shadow 0.16s ease;
    }

    .td-photo-trigger:hover .td-hero-photo,
    .td-photo-trigger:focus-visible .td-hero-photo {
        top: -3px;
        left: -3px;
        width: 460px;
        height: auto;
        max-height: 70vh;
        border: 3px solid var(--td-red);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        z-index: 20;
    }
}

.td-photo-dialog {
    width: max-content;
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    padding: 1rem;
    border: 1px solid var(--td-border);
    border-radius: var(--td-radius);
    background: var(--td-black);
    color: var(--td-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.td-photo-dialog::backdrop {
    background: rgba(0, 0, 0, 0.8);
}

.td-photo-close {
    display: flex;
    gap: 0.5rem;
    min-height: 44px;
    margin: 0 0 0.75rem auto;
}

.td-photo-stage .td-hero-photo {
    width: auto;
    height: auto;
    max-width: min(100%, 1000px);
    max-height: calc(100vh - 8rem);
    max-height: calc(100dvh - 8rem);
    margin: auto;
    border-radius: var(--td-radius);
}

.td-hero-copy {
    min-width: 0;
}

.td-hero-eyebrow {
    color: #cccccc;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.td-hero-title {
    color: var(--td-white);
    font-size: 2.15rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.12;
    margin: 0 0 0.85rem;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.td-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.td-hero-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.35rem 0.7rem;
    color: #eeeeee;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.td-section {
    overflow: visible;
    background: var(--td-white);
    border: 1px solid var(--td-border);
    border-radius: var(--td-radius);
    box-shadow: var(--td-shadow);
    margin-bottom: 1.25rem;
}

.td-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 54px;
    padding: 0.7rem 1rem;
    color: var(--td-white);
    background: var(--td-charcoal);
    border-radius: var(--td-radius) var(--td-radius) 0 0;
}

.td-section-title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    margin: 0;
    color: var(--td-white);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.td-section-title .fas,
.td-section-title .far {
    color: var(--td-red);
}

.td-section-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.td-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 0.45rem 0.65rem;
    color: var(--td-white);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
}

.td-action-btn:hover,
.td-action-btn:focus {
    color: var(--td-white);
    background: var(--td-red-dark);
    border-color: var(--td-red-dark);
    text-decoration: none;
}

.td-action-btn:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

.td-action-btn .fas,
.td-action-btn .far {
    font-size: 0.95rem;
}

.td-calendar-menu {
    min-width: 190px;
}

.td-section-body {
    padding: 0.75rem 1rem 1rem;
}

.td-section-body .container,
.td-section-body .container-fluid {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
}

.td-section-body .dataTables_wrapper {
    width: 100%;
}

.td-section-body .dataTables_wrapper .dataTables_length,
.td-section-body .dataTables_wrapper .dataTables_paginate {
    padding-top: 0.65rem;
    font-size: 0.82rem;
}

.td-page .gridFont {
    font-size: 0.82rem;
}

.td-schedule-table,
.td-tournament-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0 !important;
    table-layout: fixed;
}

.td-schedule-table thead th,
.td-tournament-table thead th {
    padding: 0.7rem 0.65rem;
    color: var(--td-charcoal);
    background: var(--td-light);
    border-top: 1px solid var(--td-border);
    border-bottom: 1px solid var(--td-border);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.td-schedule-table tbody td,
.td-tournament-table tbody td {
    padding: 0.75rem 0.65rem;
    border-bottom: 1px solid var(--td-border);
    color: var(--td-charcoal);
    font-size: 0.88rem;
    vertical-align: middle;
    overflow-wrap: anywhere;
}

.td-schedule-table tbody tr:last-child td,
.td-tournament-table tbody tr:last-child td {
    border-bottom: 0;
}

.td-schedule-table a,
.td-tournament-table a {
    color: var(--td-red);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.td-roster-table,
.td-staff-table {
    display: block;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.65rem;
    margin: -0.65rem 0 0 !important;
}

.td-roster-table tbody,
.td-staff-table tbody {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 0.75rem;
}

.td-roster-table thead,
.td-roster-table th,
.td-staff-table thead,
.td-staff-table th {
    display: none;
}

.td-roster-table tbody tr,
.td-staff-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    overflow: hidden;
    background: var(--td-white);
    border: 1px solid var(--td-border);
    border-radius: var(--td-radius);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.td-roster-table tbody td,
.td-staff-table tbody td {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 0.7rem;
    border: 0;
    color: var(--td-charcoal);
    overflow-wrap: anywhere;
    vertical-align: middle;
}

.td-roster-table tbody td:first-child,
.td-staff-table tbody td:first-child {
    flex: 0 0 104px;
    align-items: center;
    justify-content: center;
    padding: 0.65rem;
}

.td-roster-table tbody td:nth-child(2),
.td-staff-table tbody td:nth-child(2) {
    flex: 1 1 calc(100% - 104px);
    font-size: 1rem;
    font-weight: 700;
}

.td-roster-table tbody td:nth-child(n+3) {
    flex: 1 1 50%;
    border-top: 1px solid var(--td-border);
}

.td-roster-table tbody td:nth-child(3) .td-meta-value {
    color: var(--td-red);
    font-size: 1.2rem;
    font-weight: 800;
}

.td-roster-photo {
    display: block;
    width: 82px !important;
    height: 108px !important;
    object-fit: contain;
    object-position: center;
    padding: 3px;
    background: var(--td-light);
    border: 1px solid var(--td-border);
    border-radius: 8px;
}

.td-staff-photo {
    display: block;
    width: 76px !important;
    height: 92px !important;
    object-fit: contain;
    object-position: center;
    padding: 3px;
    background: var(--td-light);
    border: 1px solid var(--td-border);
    border-radius: 12px;
}

.td-roster-photo.td-photo-logo,
.td-staff-photo.td-photo-logo {
    padding: 8px;
}

.td-meta-label {
    color: var(--td-gray);
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    line-height: 1.2;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.td-meta-value {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.td-roster-table tbody td:nth-child(2) a {
    color: var(--td-red);
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
}

.td-roster-table tbody td:nth-child(2) a:hover {
    color: var(--td-red-dark);
    text-decoration: underline;
}

.td-roster-table tbody td:nth-child(2) a,
.td-staff-table a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.td-page a:focus-visible {
    outline: 3px solid var(--td-red);
    outline-offset: 2px;
}

.td-staff-table tbody tr {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-rows: 1fr 1fr;
}

.td-staff-table tbody td:first-child {
    grid-row: 1 / 3;
}

.td-staff-table tbody td:nth-child(2) {
    justify-content: flex-end;
    padding-bottom: 0.2rem;
}

.td-staff-table tbody td:nth-child(3) {
    flex: 1 1 120px;
    color: var(--td-gray);
    font-size: 0.78rem;
    font-weight: 700;
    justify-content: flex-start;
    padding-top: 0.2rem;
}

.td-staff-table .td-meta-label {
    display: none;
}

.td-staff-table tbody td:nth-child(3) .td-meta-value {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

@media (max-width: 991px) {
    .td-hero-title {
        font-size: 1.9rem;
    }

}

@media (max-width: 767px) {
    .td-page {
        padding-top: 1rem;
        padding-bottom: 1.5rem;
    }

    .td-hero {
        padding: 1rem;
    }

    .td-hero-content {
        flex-direction: column;
        gap: 0.85rem;
        text-align: center;
    }

    .td-hero-photo-slot {
        width: 112px;
        height: 100px;
        flex-basis: 100px;
    }

    .td-hero-title {
        font-size: 1.55rem;
        margin-bottom: 0.7rem;
    }

    .td-hero-meta {
        justify-content: center;
    }

    .td-hero-badge {
        font-size: 0.72rem;
    }

    .td-section-header {
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.75rem;
        flex-wrap: wrap;
    }

    .td-section-title {
        padding-top: 0.55rem;
        font-size: 0.82rem;
    }

    .td-section-actions {
        gap: 0.5rem;
    }

    .td-action-btn {
        min-width: 44px;
        min-height: 44px;
        padding: 0.4rem;
    }

    .td-section-body {
        padding: 0.65rem;
    }

    .td-roster-table tbody,
    .td-staff-table tbody {
        grid-template-columns: 1fr;
    }

    .td-calendar-menu .dropdown-item,
    .td-section-body .paginate_button,
    .td-section-body select,
    .td-schedule-table a,
    .td-tournament-table a {
        min-height: 44px;
    }

    .td-schedule-table a,
    .td-tournament-table a {
        display: inline-flex;
        align-items: center;
    }

    .td-section-body .dataTables_wrapper > .row {
        margin: 0;
    }

    .td-section-body .dataTables_wrapper > .row > .col {
        min-width: 0;
        padding: 0;
    }

    .td-section-body .dataTables_wrapper > .row:last-child {
        flex-direction: column;
        gap: 0.5rem;
    }

    .td-schedule-table,
    .td-tournament-table {
        display: block;
        overflow: visible;
    }

    .td-schedule-table thead,
    .td-tournament-table thead {
        display: none;
    }

    .td-schedule-table tbody,
    .td-tournament-table tbody {
        display: grid;
        gap: 0.65rem;
    }

    .td-schedule-table tbody tr,
    .td-tournament-table tbody tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: hidden;
        background: var(--td-white);
        border: 1px solid var(--td-border);
        border-radius: 6px;
    }

    .td-schedule-table tbody tr {
        grid-template-areas: "date day" "time time" "event event" "coach court" "location location";
    }

    .td-schedule-table tbody td:nth-child(1) { grid-area: event; font-weight: 700; }
    .td-schedule-table tbody td:nth-child(2) { grid-area: coach; }
    .td-schedule-table tbody td:nth-child(3) { grid-area: location; }
    .td-schedule-table tbody td:nth-child(4) { grid-area: court; }
    .td-schedule-table tbody td:nth-child(5) { grid-area: date; font-weight: 700; }
    .td-schedule-table tbody td:nth-child(6) { grid-area: day; }
    .td-schedule-table tbody td:nth-child(7) { grid-area: time; font-weight: 700; }

    .td-schedule-table tbody td,
    .td-tournament-table tbody td {
        display: flex;
        flex-direction: column;
        min-width: 0;
        padding: 0.6rem;
        border: 0;
        font-size: 0.82rem;
        overflow-wrap: anywhere;
    }

    .td-tournament-table tbody td:first-child,
    .td-tournament-table tbody td:nth-child(2) {
        grid-column: 1 / -1;
    }

    .td-schedule-table tbody td::before,
    .td-tournament-table tbody td::before {
        color: var(--td-gray);
        content: "";
        font-size: 0.61rem;
        font-weight: 800;
        letter-spacing: 0.06em;
        margin-bottom: 0.2rem;
        text-transform: uppercase;
    }

    .td-schedule-table tbody td:nth-child(1)::before { content: "Event"; }
    .td-schedule-table tbody td:nth-child(2)::before { content: "Coach"; }
    .td-schedule-table tbody td:nth-child(3)::before { content: "Location"; }
    .td-schedule-table tbody td:nth-child(4)::before { content: "Court"; }
    .td-schedule-table tbody td:nth-child(5)::before { content: "Date"; }
    .td-schedule-table tbody td:nth-child(6)::before { content: "Day"; }
    .td-schedule-table tbody td:nth-child(7)::before { content: "Time"; }

    .td-tournament-table tbody td:nth-child(1)::before { content: "Tournament"; }
    .td-tournament-table tbody td:nth-child(2)::before { content: "Location"; }
    .td-tournament-table tbody td:nth-child(3)::before { content: "Start date"; }
    .td-tournament-table tbody td:nth-child(4)::before { content: "End date"; }
    .td-tournament-table tbody td:nth-child(5)::before { content: "Days"; }
    .td-tournament-table tbody td:nth-child(6)::before { content: "Pool schedule"; }

    .td-roster-table tbody td,
    .td-staff-table tbody td {
        padding: 0.55rem;
    }

    .td-roster-table tbody td:first-child,
    .td-staff-table tbody td:first-child {
        flex-basis: 100px;
    }

    .td-roster-table tbody td:nth-child(2),
    .td-staff-table tbody td:nth-child(2) {
        flex: 1 1 calc(100% - 100px);
        min-width: 0;
    }

    .td-roster-table tbody td:nth-child(n+3) {
        flex: 1 1 calc(50% - 1px);
        border-top: 1px solid var(--td-border);
    }

    .td-roster-photo {
        width: 82px !important;
        height: 108px !important;
    }

    .td-staff-photo {
        width: 76px !important;
        height: 92px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .td-photo-trigger .td-hero-photo {
        transition: none;
    }
}

@media print {
    .td-photo-dialog,
    .td-photo-hint {
        display: none !important;
    }

    .td-section-header,
    .td-section-actions,
    .dataTables_length,
    .dataTables_paginate {
        display: none !important;
    }

    .td-section {
        box-shadow: none;
        break-inside: avoid;
    }
}

.td-event-address {
    display: block;
    color: var(--td-gray);
    font-size: 0.8rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.td-event-context {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 0.5rem 1.5rem;
    padding: 0 0 0.8rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid var(--td-border);
}

.td-event-coach,
.td-event-location,
.td-event-details {
    min-width: 0;
    overflow-wrap: anywhere;
}

.td-event-label {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--td-gray);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.td-event-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.td-event-card {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    align-items: start;
    gap: 0.85rem;
    padding: 0.9rem;
    border: 1px solid var(--td-border);
    border-radius: var(--td-radius);
    background: var(--td-white);
    box-shadow: var(--td-shadow);
    min-width: 0;
    list-style: none;
}

.td-event-card-schedule {
    grid-template-columns: 94px minmax(0, 1fr) 78px;
    grid-template-areas: "date details court";
}

.td-event-card-location {
    grid-template-areas: "date details court" "date location location";
}

.td-event-card-schedule > .td-event-date {
    grid-area: date;
}

.td-event-card-schedule > .td-event-details {
    grid-area: details;
}

.td-event-card-schedule > .td-event-court {
    grid-area: court;
    min-width: 0;
    margin-top: 0;
    text-align: right;
    overflow-wrap: anywhere;
}

.td-event-card-schedule > .td-event-location {
    grid-area: location;
}

.td-event-date {
    padding: 0.55rem 0.25rem;
    text-align: center;
    color: var(--td-charcoal);
    background: var(--td-light);
    border-top: 3px solid var(--td-red);
    border-radius: 6px;
    overflow-wrap: anywhere;
}

.td-event-date-month,
.td-event-date-caption {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.td-event-date-month {
    color: var(--td-red-dark);
    text-transform: uppercase;
}

.td-event-date-day {
    display: block;
    margin: 0.15rem 0;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.td-event-date-range {
    font-size: 1rem;
}

.td-event-context .td-event-location > .td-event-link {
    display: block;
    font-size: 1rem;
    font-weight: 800;
}

.td-event-court-value {
    font-weight: 700;
    text-transform: uppercase;
}

.td-event-name {
    margin: 0 0 0.3rem;
    color: var(--td-charcoal);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
}

.td-event-time {
    margin-bottom: 0.35rem;
    color: var(--td-charcoal);
    font-size: 0.85rem;
    font-weight: 600;
}

.td-event-link {
    color: var(--td-red-dark);
    font-size: 0.85rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.td-event-link:hover {
    color: var(--td-red);
}

.td-event-link:focus-visible {
    outline: 3px solid var(--td-red);
    outline-offset: 2px;
}

.td-event-court,
.td-event-meta {
    margin-top: 0.4rem;
    color: var(--td-gray);
    font-size: 0.8rem;
}

.td-event-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.td-event-travel {
    padding: 0.2rem 0.45rem;
    color: var(--td-red-dark);
    background: var(--td-light);
    border: 1px solid var(--td-border);
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.td-event-pool {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 0.45rem;
    padding: 0.45rem 0.65rem;
    border: 1px solid var(--td-border);
    border-radius: 5px;
}

@media (min-width: 768px) {
    .td-event-details > .td-event-pool {
        float: right;
        margin-top: 0;
    }
}

@media screen {
    /* autoTable includes hidden HTML; printThis clones the table, not this wrapper. */
    .td-event-export-source {
        display: none !important;
    }

    .td-event-export-table thead {
        display: table-header-group !important;
    }
}

@media (max-width: 991px) {
    .td-event-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .td-event-card {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 0.65rem;
        padding: 0.65rem;
    }

    .td-event-card-schedule {
        grid-template-columns: 82px minmax(0, 1fr);
        grid-template-areas: "date details" "date court";
    }

    .td-event-card-location {
        grid-template-areas: "date details" "date court" "date location";
    }

    .td-event-card-schedule > .td-event-court {
        text-align: left;
    }

    .td-event-link {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
}

@media (max-width: 374px) {
    .td-event-card {
        grid-template-columns: 1fr;
    }

    .td-event-card-schedule {
        grid-template-columns: 1fr;
        grid-template-areas: "date" "details" "court";
    }

    .td-event-card-location {
        grid-template-areas: "date" "details" "court" "location";
    }

    .td-event-date {
        width: 94px;
    }
}

@media print {
    .td-event-view {
        display: none !important;
    }

    .td-event-export-source {
        display: block !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
        clip: auto !important;
        clip-path: none !important;
    }

    .td-event-export-table {
        display: table !important;
        width: 100% !important;
        table-layout: auto !important;
        border-collapse: collapse !important;
        overflow: visible !important;
    }

    .td-event-export-table thead {
        display: table-header-group !important;
    }

    .td-event-export-table tbody {
        display: table-row-group !important;
    }

    .td-event-export-table tr {
        display: table-row !important;
        break-inside: avoid;
    }

    .td-event-export-table th,
    .td-event-export-table td {
        display: table-cell !important;
        padding: 0.4rem !important;
        border: 1px solid #cccccc !important;
        font-size: 9pt !important;
        vertical-align: top !important;
    }

    .td-event-export-table td::before {
        content: none !important;
    }

    .td-event-export-table a {
        display: inline !important;
        min-height: 0 !important;
        color: #111111 !important;
    }
}
