.ExcelTable2007 {
    /* Modern neutral border similar to Excel grid */
    border: 1px solid #D0D0D0;
    border-width: 1px 0px 0px 1px;
    font-size: 11pt;
    font-family: Calibri,sans-serif;
    font-weight: 100;
    border-spacing: 0px;
    border-collapse: collapse;
    width: 100%;
}

.ExcelTable2007 TH {
    /* Modern Excel headers (app dark mode, sheet white): light header with black text */
    background: #f3f3f3;
    color: #000000;
    font-weight: normal;
    font-size: 14px;
    border: 1px solid #E0E0E0;
    border-width: 0px 1px 1px 0px;
    height: 20px;
    line-height: 1;
    text-align: center;
}

.ExcelTable2007 TD {
    border: 0px;
    /* White cells on dark chrome (Excel dark mode default) */
    background-color: #ffffff;
    padding: 0px 4px 0px 2px;
    border: 1px solid #E0E0E0;
    border-width: 0px 1px 1px 0px;
    text-align: right;
    white-space: nowrap;
}

.ExcelTable2007 TD B {
    border: 0px;
    background-color: transparent;
    font-weight: bold;
}

.ExcelTable2007 TH.contentheader {
    background: #f3f3f3; /* same as header row */
    color: #000000;
    text-align: center;
    font-weight: bold;
    padding: 0px 4px 0px 2px;
    cursor: pointer;
}

.ExcelTable2007 TD.heading {
    /* Non-sticky heading cells inside body (if any) */
    background-color: #f3f3f3;
    text-align: center;
    border: 1px solid #E0E0E0;
    border-width: 0px 1px 1px 0px;
}

.ExcelTable2007 TH.heading {
    /* Row header column (like Excel row numbers) */
    background: #f3f3f3;
    color: #000000;
    background-repeat: no-repeat;
    background-position-x: center;
    width: 48px;
    min-width: 48px;
}

/* Zebra striping similar to modern Excel banded rows */
.ExcelTable2007 tbody tr:nth-child(even) td {
    background-color: #f7f7f7;
}

/* Current/hover row highlight (soft blue) */
.ExcelTable2007 tbody tr:hover td,
.ExcelTable2007 tbody tr.current td {
    background-color: #cfe8ff;
}
