        body {
            font-family: "Segoe UI", Arial, sans-serif;
            margin: 0;
            padding: 16px;
            background: #f3f2f1;
        }

        h2 {
            margin: 0 0 12px 0;
            font-weight: 600;
        }

        #status {
            margin-bottom: 8px;
            font-size: 13px;
            color: #605e5c;
        }

        .gantt-container {
            border: 1px solid #e1dfdd;
            background: #ffffff;
            border-radius: 4px;
            overflow: hidden;
        }

        .gantt-header {
            display: grid;
                grid-template-columns:
					20%     /* Review pane */
					30%     /* Project info */
					1fr;    /* Timeline */
            border-bottom: 1px solid #e1dfdd;
            background: #f8f8f8;
            font-size: 12px;
            font-weight: 600;
            color: #323130;
        }

        .gantt-left-header,
        .gantt-right-header {
            padding: 6px 0;
            box-sizing: border-box;
        }


        .gantt-header-date {
            flex: 0 0 40px; /* width per day (slightly larger) */
            text-align: center;
           
            padding: 2px 0;

        }


.gantt-right-header {

    display: flex;          /* lay out dates + buttons in one row */
    align-items: center;
    white-space: nowrap;    /* keep dates + buttons on a single line */
}

.gantt-header-dates {
    display: flex;
    position: relative;
    flex: 1;                /* dates occupy all the left space */
}


.gantt-body{
  display:grid;
      grid-template-columns:
        20%     /* Review pane */
        30%     /* Project info */
        1fr;    /* Timeline */
}

/* REVIEW PANE BASE */
.review-pane {
    background: #1f2937;
    color: #f9fafb;
    padding: 20px 18px;   /* ⬅️ more breathing room */
    overflow-y: auto;

    font-family:
        "Segoe UI Variable",
        "Segoe UI",
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* TITLE */
.review-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}


/* INSTRUCTION TEXT */
.review-hint {
    font-size: 13px;
    line-height: 1.4;
    opacity: 0.85;
    margin-bottom: 10px;
}


/* PROJECT BLOCK */
.review-project {
    margin: 0 0 4px 0;
    border-radius: 8px;
}

/* PROJECT HEADER */
.review-project-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    cursor: pointer;
    border-radius: 8px;
	line-height: 1.2;  
    font-size: 14px;
    font-weight: 600;
}


.review-project-header:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* TOGGLE TRIANGLE */
.review-toggle {
    width: 16px;
    text-align: center;
    font-size: 14px;
    line-height: 1;
    opacity: 0.85;
}


/* PROJECT TITLE */
.review-project-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* TASK ROW */
.review-task {
    display: flex;
    align-items: center;
    gap: 6px;              /* space between text and ✎ */
    padding: 2px 22px;
    font-size: 12px;
    line-height: 1.3;
    opacity: 0.85;
}

.review-project:not(:last-child) {
    padding-bottom: 6px;
}

.review-project-header {
    transition: background-color 0.15s ease;
}

.review-project-header:hover {
    background: rgba(255, 255, 255, 0.06);
}

.review-project-header.selected {
    background: rgba(255, 255, 255, 0.12);
}


.gantt-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gantt-left-header {
    display: flex;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}





        .gantt-right-wrapper {
			scrollbar-gutter: stable;
			min-width: 0;
            position: relative;
            overflow: auto;
            background: #ffffff;
        }

        .gantt-right {
            position: relative;
        }



        .gantt-row.project {
            font-weight: 600;
            background: #faf9f8;
        }

        .gantt-row.task {
            padding-left: 20px;
        }

        .gantt-row-title {
            flex: 1;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .gantt-row-meta {
            margin-left: 6px;
            font-size: 11px;
            color: #605e5c;
            white-space: nowrap;
        }
        .gantt-row {
            display: flex;
            align-items: center;
            box-sizing: border-box;
            padding: 4px 8px;
            border-bottom: 1px solid #f3f2f1;
            height: 28px;
        }
        .gantt-grid-row {
            position: absolute;
            left: 0;
            right: 0;
            height: 28px;
            border-bottom: 1px solid #f3f2f1;
            box-sizing: border-box;
        }

.gantt-bar {
    position: absolute;
    border-radius: 3px;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-left: 4px;
    font-size: 11px;
    white-space: nowrap;
}


        .gantt-bar.task {
            background: #c7e0f4;           /* light blue */
            color: #323130;
            border: 1px solid #a0c4e8;
        }

/* Base bar = light blue */
.gantt-bar.project {
    background: #9ec9ff;       /* lighter base */
    color: #111827;
}

.gantt-bar {
    position: absolute;
}

.gantt-bar-progress {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    z-index: 1;
	background: #1f78ff;       /* bold progress fill */
}


/* 100% completed = green and very obvious */
.gantt-bar.project.complete {
    background: #107c10;
    color: white;
}
.gantt-bar-label {
    background: transparent !important;
    color: white;
}

        .gantt-bar-label {
            position: relative;
            padding-right: 6px;
			z-index: 2;
			color: #fff;
        }

        .gantt-today-line {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 2px;
            background: #d13438;
			z-index: 99;          /* <-- higher than bars + overlays */
            pointer-events: none;
        }

        .gantt-today-label {
            position: absolute;
            top: 0;
            font-size: 15px;
            padding: 0 2px;
            font-weight: 700;
			color: #b00000;     /* subtle deep red text */
			background: rgba(245,245,245,0.85);
            transform: translateX(-50%);
			z-index: 100; 
        }

        .project-toggle {
            cursor: pointer;
            margin-right: 6px;
            font-size: 12px;
            color: #0078d4;
            user-select: none;
        }

        .project-toggle:hover {
            text-decoration: underline;
        }

        .empty-message {
            padding: 12px;
            font-size: 13px;
            color: #605e5c;
        }
.gantt-bar.project.highlighted {
    background-color: #f59e0b;   /* amber */
    color: #111827;              /* near-black text */

    box-shadow:
        inset 0 0 0 2px #92400e,
        0 3px 8px rgba(0, 0, 0, 0.35);
}


.review-project-header,
.review-task {
    display: flex;
    align-items: flex-start;   /* NOT center */
    gap: 6px;

    padding: 2px 22px;
    font-size: 12px;
    line-height: 1.3;
    opacity: 0.85;
}


.review-edit {
    margin-left: 4px;
    font-size: 11px;
    opacity: 0.6;
}

.review-edit:hover {
    opacity: 1;
}
.gantt-projects-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

#newItemBtn {
  padding: 4px 10px;
  font-size: 13px;
  border-radius: 4px;
  border: 1px solid #bbb;
  background-color: #2563eb;
  cursor: pointer;
      color: white;
    font-weight: 600;
}

#newItemBtn:hover {
  background-color: #e8e8e8;
}
#ganttDateHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#zoomButtons button {
    padding: 4px 8px;
    border-radius: 4px;
    background: white;
    border: 1px solid #d0d0d0;
    cursor: pointer;
    margin-left: 4px;
}

#zoomButtons button:hover {
    background:#f3f2f1;
}

/* ============================= */
/* COMPLETION STATE STYLING     */
/* ============================= */

/* 1️⃣ Completed text (left panel rows) */
.text-complete {
    color: #107c10;        /* Microsoft green */
    font-weight: 600;
}

/* 2️⃣ Strike-through for completed rows */
.text-strike {
    text-decoration: line-through;
    opacity: 0.7;
}

/* 3️⃣ Completed project arrow */
.arrow-complete {
    color: #107c10;
    font-weight: bold;
}

/* 4️⃣ Completed timeline bars */
.bar-complete {
    background: #107c10 !important;
    color: white;
    border: none;
}

/* Hide progress overlay on completed bars */
.bar-complete .gantt-bar-progress {
    display: none;
}

/* Ensure label text stays readable on green bars */
.bar-complete .gantt-bar-label {
    color: white;
    background: transparent;
}



