/* ================================
 * COLO WEEK OVERVIEW GANTT CHART
 * ================================ */

.colo-calendar-wrap {
    overflow-x: auto;
    margin: 1.5em 0 2em 0;
}

.colo-calendar {
    display: grid;
    grid-template-columns: 155px repeat(7, 1fr);
    gap: 3px;
    min-width: 540px;
    font-size: 0.78em;
}

.colo-cal-header {
    background: #555;
    color: #fff;
    text-align: center;
    padding: 6px 2px;
    font-weight: 600;
    line-height: 1.4;
}

.colo-cal-header.er-day {
    background: #cc0044;
}

.colo-cal-label {
    display: flex;
    align-items: center;
    padding: 3px 6px;
    color: #333;
}

.colo-cal-label a {
    color: #333;
}

.colo-cal-label a:hover {
    text-decoration: underline;
}

.colo-cal-event {
    border-radius: 3px;
    padding: 5px 7px;
    font-weight: 500;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

a.colo-cal-event {
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}

a.colo-cal-event:hover {
    filter: brightness(1.15);
}

.colo-er       { background: #cc0044; }
.colo-media    { background: #4a6fa5; }
.colo-pipewire { background: #5a9e4b; }
.colo-bluez    { background: #2a6fbc; }
.colo-yocto    { background: #c07820; }
.colo-display  { background: #7046b8; }
.colo-libcam   { background: #b84065; }
.colo-gstream  { background: #2a9d8f; }
.colo-buildrt  { background: #e07040; }
