/* Keep each athlete's two-line mobile record within the same alternating band. */
.standings-table>tbody>tr:nth-child(odd),[data-course-checkpoints]>tbody>tr:nth-child(odd) {
    background: #fff;
}
.standings-table>tbody>tr:nth-child(even),[data-course-checkpoints]>tbody>tr:nth-child(even) {
    background: #DDE7DD;
}
.standings-table,.standings-table th,.standings-table td,.standings-table small {
    font-size: 16px;
}
/* Training plans keep all weekday cells on a single horizontally scrollable row. */
[data-calculator="plan"] .tool-table {
    max-width: 100%;
    overflow: auto;
}
[data-calculator="plan"] .tool-table table {
    width: max-content;
    min-width: 100%;
    table-layout: auto;
}
[data-calculator="plan"] .tool-table th,[data-calculator="plan"] .tool-table td {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    padding: 15px 18px;
}
@media(max-width:767px) {
    .table-scroll[data-mobile-table-scroll] {
        max-width: 100%;
        overflow-x: clip;
    }
    .tool-table[data-mobile-table-scroll] {
        overflow-x: hidden;
        overflow-y: auto;
    }
    table[data-mobile-table] {
        width: 100%!important;
        min-width: 0!important;
        max-width: 100%;
        table-layout: fixed;
    }
    table[data-mobile-table] th,table[data-mobile-table] td {
        min-width: 0;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
        box-sizing: border-box;
    }
    table[data-mobile-table] img,table[data-mobile-table] input,table[data-mobile-table] select,table[data-mobile-table] button {
        max-width: 100%;
        min-width: 0;
    }
    table[data-mobile-table="wrap"] th,table[data-mobile-table="wrap"] td {
        padding: 10px 8px;
        font-size: 12px;
    }
    table[data-mobile-table="split"],table[data-mobile-table="split"]>thead,table[data-mobile-table="split"]>tbody,table[data-mobile-table="split"]>tfoot {
        display: block;
    }
    table[data-mobile-table="split"]>colgroup {
        display: none;
    }
    table[data-mobile-table="split"] tr {
        display: grid;
        grid-template-columns: repeat(var(--mobile-table-columns),minmax(0,1fr));
        grid-template-rows: repeat(2,minmax(32px,auto));
        width: 100%;
        border-bottom: 1px solid var(--line,#e3e6ec);
    }
    table[data-mobile-table="split"][data-mobile-anchor="true"] tr {
        grid-template-columns: var(--mobile-anchor-width) repeat(var(--mobile-table-columns),minmax(0,1fr));
    }
    table[data-mobile-table="split"] tr[data-mobile-header="true"] {
        background: #f5f6f8;
        grid-template-rows: repeat(2,minmax(24px,auto));
    }
    table[data-mobile-table="split"] th,table[data-mobile-table="split"] td {
        display: block;
        position: static;
        grid-column: var(--mobile-cell-column);
        grid-row: var(--mobile-cell-row);
        width: auto!important;
        border: 0;
        padding: 9px 6px;
        font-size: 12px;
        line-height: 1.5;
        text-align: left;
    }
    table[data-mobile-table="split"] th {
        font-size: 11px;
        font-weight: 500;
        background: transparent;
        color: var(--muted,#6b7280);
    }
    table[data-mobile-table="split"] [data-mobile-second-row="true"] {
        border-top: 1px solid #edf0f3;
    }
    table[data-mobile-table="split"] tbody tr:last-child {
        border-bottom: 0;
    }
    table[data-mobile-table="split"][data-mobile-anchor="true"] tr>:first-child {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    table.standings-table[data-mobile-table="split"] tr>:first-child {
        align-items: center;
        text-align: center;
    }
    table.standings-table[data-mobile-table="split"] th:first-child {
        white-space: nowrap;
    }
    table.standings-table[data-mobile-table="split"] tbody tr>:first-child {
        font-size: 14px;
    }
    table[data-mobile-table="split"] .cp-distance,table[data-mobile-table="split"] .cp-note {
        font-size: 10px;
        line-height: 1.45;
        margin-top: 3px;
    }
    table[data-mobile-table="split"] small {
        font-size: 10px;
    }
    table[data-mobile-table="split"][data-mobile-dense="true"] th,table[data-mobile-table="split"][data-mobile-dense="true"] td {
        font-size: 11px;
        padding: 8px 4px;
    }
    .tool-table table[data-mobile-table="split"]>thead {
        position: sticky;
        top: 0;
        z-index: 1;
        background: #f5f6f8;
    }
    table.standings-table[data-mobile-table],table.standings-table[data-mobile-table] th,table.standings-table[data-mobile-table] td,table.standings-table[data-mobile-table] small {
        font-size: 14px;
    }
}
