/*
.gantt-container {
    display: grid;
    grid-template-columns: 20em 1fr;
    column-gap: 0.2em;
    --day-width: 16px;
    --base-day-width: 16px;
    --day-limit: 11px;
    --month-limit: 6px;
    --day-font-size: 0.8em;
    --base-day-font-size: 0.8em;
    --head-height: 75px;
    --day-border: #00000022;
    --day-border-width: 1px;
    --base-day-border-width: 1px;
    --month-border-width: 1px;
    --month-border-colour: #00000044;
    --year-border-width: 2px;
    --year-border-colour: #000000aa;
    --row-height: 30px;
    --stage-height: 2em;
    --inner-sub-border: #00000044;
    --colour-palette-start: #49b6d3;
    --colour-palette-end: #ac9043;
    --nonwork-background: #00000022;
    --base-nonwork-background: #00000022;
    --nonwork-background-hidden: #00000000;
    --vo-highlight-colour: orangered;
    --vo-highlight-width: 1px;
    opacity: 0;
    transition: opacity 0.75s ease-in-out;
}

.gantt-container * {
    border: none;
    box-sizing: border-box !important;
}

.data-col .head {
    height: var(--head-height);
}

.gantt-row-block,
.gantt-row-data {
    height: var(--row-height);
    width: fit-content;
    border-bottom: 1px solid var(--day-border);
}

.gantt-row-data {
    position: relative;
    display: grid;
    grid-template-columns: 9em 7em 3em;
    transition: background-color 1s ease;
    text-align: left;
    transition: scale 0.3s ease;
}

.gantt-row-data:not(.head):hover {
    scale: 1.02;
    outline: 1px solid #00000022;
}

.gantt-row-data .stage-colour {
    width: 100%;
    text-align: right;
}

.gantt-row-data > .stage-title {
    padding: 2px;
    align-items: start;
    align-content: center;
}

.stage-title {
    font-size: 0.6em;
}

.stage-dates {
    font-family: "Courier New", Courier, monospace;
    line-height: 1.2em;
}

.stage-title.stage-name {
    overflow-wrap: break-word;
    line-height: 100%;
    font-weight: bold;
    font-size: 0.8em;
}

.gantt-row-block {
    position: relative;
    display: flex;
}

.gantt-inner-container {
    width: fit-content;
}

.gantt-col {
    position: relative;
    overflow-x: scroll;
}

.calendar-filled {
    height: var(--head-height);
    display: flex;
    flex-direction: row;
    width: fit-content;
    border-bottom: 1px solid var(--inner-sub-border);
}

.year {
    position: relative;
    display: flex;
    flex-direction: row;
}

.calendar-overlay,
.gantt-row-block {
    border-right: 1px solid black;
}

.month {
    position: relative;
}

.calendar-filled .year .month .days .cal-day:first-of-type,
.gantt-row-block .year .month .days .cal-day:first-of-type {
    --day-border: var(--month-border-colour);
    --day-border-width: var(--month-border-width);
}

.calendar-filled .year .month:nth-of-type(2) .days .cal-day:first-of-type,
.gantt-row-block .year .month:first-of-type .days .cal-day:first-of-type {
    --day-border: var(--year-border-colour);
    --day-border-width: var(--year-border-width);
}

.year-title {
    position: absolute;
    font-size: 0.8em;
    font-weight: bold;
    left: 2px;
    top: 0;
}

.month-title {
    color: #aaa;
    font-size: 0.7em;
    position: absolute;
    left: 4px;
    top: 1em;
}

.days {
    display: flex;
    flex-direction: row;
    height: var(--row-height);
}

.days.head {
    height: var(--head-height);
}

.cal-day {
    writing-mode: vertical-lr;
    text-align: center;
    color: #aaa;
    font-size: var(--day-font-size);
    width: var(--day-width);
    opacity: 0.8;
    background-color: var(--nonwork-background);
    border-left: var(--day-border-width) solid var(--day-border);
    margin-top: 2.8em;
}

.gantt-day {
    margin-top: 0;
    height: 100%;
    min-height: var(--row-height);
}

.working {
    opacity: 1;
    background-color: transparent;
}

.stage-title {
    justify-content: center;
    align-items: end;
    width: fit-content;
}

.stage {
    --start-offset: 0;
    --abs-duration: 1;
    display: flex;
    position: absolute;
    margin-top: calc((var(--row-height) - var(--stage-height)) / 2);
    margin-bottom: calc((var(--row-height) - var(--stage-height)) / 2);
    height: var(--stage-height);
    width: calc(var(--day-width) * var(--abs-duration));
    margin-left: calc(var(--day-width) * var(--start-offset));
    justify-content: flex-start;
    align-items: center;
    border-radius: 4px;
    transition: width 0.2s ease, margin-left 0.2s ease;
}

.popupDialog {
    position: fixed;
    left: 0;
    top: 0;
    padding: 1.5em;
    background-color: #eee;
    color: #050505;
    width: fit-content;
    max-width: 25em;
    scale: 0;
    opacity: 0;
    z-index: -2;
    transition: scale 0.4s ease, opacity 0.6s ease-in-out;
    border-radius: 5px;
}

.popupDialog.open {
    scale: 1;
    opacity: 1;
}

.popupDialog form input,
.popupDialog form label {
    display: block;
}

.today-marker {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    min-height: 100%;
    width: 2px;
    border-left: 2px solid red;
}

.dragging {
    scale: 1 1.15;
    filter: drop-shadow(5px 5px #00000022);
    opacity: 0.8;
    transition: background-color 1s ease, scale 0.3s ease;
}

.remove {
    display: none;
}

.button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
}

.zoom-slider {
    --slider-thumb-height: 16px;
    --slider-thumb-width: 5px;
    --slider-track-height: 5px;
    --slider-track-colour: #555;
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

.zoom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
}

.zoom-slider:focus {
    outline: none;
}

.zoom-slider::-ms-track {
    width: 100%;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

.zoom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: 1px solid #00000022;
    height: var(--slider-thumb-height);
    width: var(--slider-thumb-width);
    border-radius: 3px;
    background: #888d;
    cursor: pointer;
    margin-top: -5px;
}

.zoom-slider::-moz-range-thumb {
    border: 1px solid #00000022;
    height: var(--slider-thumb-height);
    width: var(--slider-thumb-width);
    border-radius: 3px;
    background: #888d;
    cursor: pointer;
}

.zoom-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: var(--slider-track-height);
    cursor: pointer;
    background: var(--slider-track-colour);
    border-radius: 1.3px;
    border: 0.2px solid #010101;
}

.zoom-slider:focus::-webkit-slider-runnable-track {
    background: #367ebd;
}

.zoom-slider::-moz-range-track {
    width: 100%;
    height: var(--slider-track-height);
    cursor: pointer;
    background: var(--slider-track-colour);
    border-radius: 1.3px;
    border: 0.2px solid #010101;
}

.zoom-slider::-ms-track {
    width: 100%;
    height: var(--slider-track-height);
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    border-width: 16px 0;
    color: transparent;
}

.zoom-slider::-ms-fill-lower {
    background: #2a6495;
    border: 0.2px solid #010101;
    border-radius: 2.6px;
}

.zoom-slider:focus::-ms-fill-lower {
    background: var(--slider-track-colour);
}

.zoom-slider::-ms-fill-upper {
    background: var(--slider-track-colour);
    border: 0.2px solid #010101;
    border-radius: 2.6px;
}

.zoom-slider:focus::-ms-fill-upper {
    background: #367ebd;
}

.project-info {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.vo-stage {
    outline: var(--vo-highlight-width) solid var(--vo-highlight-colour);
}

.undo-status {
    position: absolute;
    right: 50%;
    bottom: -15%;
    opacity: 0;
    padding: 0.5em;
    border: 1px solid red;
    border-radius: 5px;
    transition: opacity 1s ease-in-out;
}

.show {
    opacity: 1;
}

.hidden:not([data-twc] *) {
    display: none;
}

.date-container,
.zoom-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 0.5em;
    align-items: center;
}

.project-info-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
*/
