.gantt-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  border: 1px solid #cbd5e1;
  overflow-x: auto;
}

.timeline-header {
  display: flex;
  border-bottom: 2px solid #0f172a;
  background: #f1f5f9;
}

.timeline-cell {
  min-width: 140px;
  flex: 1;
  text-align: center;
  padding: 12px 6px;
  border-right: 1px solid #cbd5e1;
  font-size: 0.65rem;
  font-weight: 800;
  color: #334155;
  text-transform: uppercase;
}

.bar-container {
  position: relative;
  height: 26px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
}

.bar-container:hover {
  background-color: #f8fafc;
}

.gantt-bar {
  position: absolute;
  height: 14px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  padding: 0 4px;
  color: white;
  font-size: 0.55rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  transition: all 0.1s;
  overflow: hidden;
}

.gantt-bar:hover {
  height: 20px;
  z-index: 50;
  filter: saturate(1.5);
  cursor: help;
}

.milestone-diamond {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #ef4444;
  transform: rotate(45deg);
  z-index: 10;
  border: 1px solid #fff;
}

.label-col {
  padding: 2px 12px;
  border-right: 1px solid #cbd5e1;
  background: #fff;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  z-index: 20;
  position: sticky;
  left: 0;
  white-space: nowrap;
  color: #1e293b;
}

.section-header {
  background-color: #0f172a;
  font-weight: 900;
  color: #94a3b8;
  text-transform: uppercase;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  height: 32px;
}

.sub-header {
  background-color: #f1f5f9;
  color: #475569;
  font-weight: 800;
  font-size: 0.65rem;
  border-left: 4px solid #94a3b8;
}

.critical-text {
  color: #dc2626;
  font-weight: 800;
}
