tr th {
    border-left: thin solid black;
    border-bottom: thin solid black;
    font-size: clamp(10px, 0.7vw, 20px);
    font-weight: bold;
    padding-left: 3px;
    padding-right: 3px;
}

tr td.day-cell {
    padding: 2px !important;
    text-align: center;
    border-left: thin solid #8d857b;
    border-bottom: thin solid #8d857b;
    border-radius: 0px;
    font-size: clamp(12px, 0.7vw, 20px);
    white-space: nowrap;
    overflow: visible !important;
}

tr td.day-cell:hover {
    cursor: pointer;
}

#planning-table-header {
    position: sticky;
    top: 0;
    z-index: 210;
}

.user-col {
    background-color: rgb(219, 219, 219);
    color: black;
    border-left: none;
    border-right: solid 2px black;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 220;
}

.week-col {
    background-color: rgb(219, 219, 219);
    color: black;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

.month-col {
    background-color: rgb(219, 219, 219);
    color: black;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

tr td.user-name-cell {
    border-left: none;
    border-right: solid 2px black;
    border-bottom: solid thin black;
    padding-left: calc(var(--spacing) * 2);
    padding-right: calc(var(--spacing) * 2);
    position: sticky;
    left: 0;
    font-size: clamp(12px, 0.7vw, 20px);
    z-index: 200;
    font-weight: bold;
    width: fit-content;
    white-space: nowrap;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

.sector-title-cell {
    border: none;
    border-bottom: 2px solid black;
    border-top: thin solid black;
    text-align: center;
    position: sticky;
    left: 0;
    font-size: clamp(12px, 0.7vw, 20px);
    font-weight: bold;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

.note-separator-cell {
    border: none;
    border-bottom: 2px solid black;
    border-top: thin solid black;
    background-color: #FB8500;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.note-separator-title-cell {
    border: none;
    border-bottom: 2px solid black;
    border-top: thin solid black;
    background-color: #FB8500;
    text-align: center;
    position: sticky;
    left: 0;
    font-size: clamp(12px, 0.7vw, 20px);
    font-weight: bold;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.sector-cell {
    border: none;
    border-bottom: 2px solid black;
    border-top: thin solid black;
}


.selected {
    border-top: rgb(0, 153, 255) solid 1px !important;
    border-right: rgb(0, 153, 255) solid 1px !important;
    border-left: rgb(0, 153, 255) solid 1px !important;
    border-bottom: rgb(0, 153, 255) solid 1px !important;
    background: #a1fff7;
    background: radial-gradient(circle, rgba(123, 240, 255, 0.12) 90%, rgba(123, 240, 255, 1) 100%);
    z-index: 100;
}

.note-row {
    border: none;
    border-bottom: 2px solid black;
    border-top: thin solid black;
}

.note-title-cell {
    border: none;
    border-bottom: thin solid black;
    border-right: 2px solid black;
    background-color: #FB8500;
    text-align: center;
    position: sticky;
    left: 0;
    font-size: clamp(12px, 0.7vw, 20px);
    font-weight: bold;
}

.note-week-cell {
    border: none;
    border-bottom: thin solid #8d857b;
    border-right: thin solid #8d857b;
    text-align: center;
    max-width: 17.5vw;
    ;
    font-size: clamp(12px, 0.7vw, 20px);
}