/* 自定義滾動條樣式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* 甘特圖背景與狀態條顏色 */
.gantt-grid-line {
    background-size: 36px 100%;
    background-image: linear-gradient(to right, #f1f5f9 1px, transparent 1px);
}
.gantt-weekend {
    background-color: rgba(241, 245, 249, 0.7);
}
.gantt-today {
    background-color: rgba(254, 240, 138, 0.35);
}
.gantt-bar-parent {
    background-color: #334155;
}
.gantt-bar-normal {
    background-color: #3b82f6;
}
.gantt-bar-red {
    background-color: #ef4444;
}
.gantt-bar-emerald {
    background-color: #10b981;
}
.gantt-bar-purple {
    background-color: #a855f7;
}
.gantt-bar-amber {
    background-color: #f59e0b;
}

/* 列印 / PDF 樣式 */
@media print {
    header,
    .no-print {
        display: none !important;
    }
    #gantt-workspace,
    #left-pane,
    #right-pane {
        overflow: visible !important;
        height: auto !important;
    }
}
