body {
    font-family: Arial;
}

table {
    border-collapse: collapse;
}

th,
td {
    border: 1px solid #ccc;
    padding: 4px 8px;
}

th {
    background: #f0f0f0;
}

td {
    cursor: pointer;
}

.highlight {
    background-color: yellow !important;
    font-weight: bold;
}

/* 周分隔线 */
.week-split {
    background: black;
    padding: 1px !important;
}

/* 按钮样式 */
#table-wrapper {
    overflow-x: auto;
    white-space: nowrap;
}

#sort-buttons {
    position: sticky;
    top: 0;
    background: white;
    padding: 5px 0;
    z-index: 10;
}

#sort-buttons button {
    margin-right: 10px;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
}

#sort-buttons button.active {
    background: #007bff;
    color: white;
}

#toggle-label {
    font-size: 14px;
    cursor: pointer;
}

#toggle-label input {
    margin-right: 4px;
}

#tooltip {
    position: fixed;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 4px;
    pointer-events: none;
    z-index: 9999;

    white-space: pre;
    line-height: 1.4;
}