/* --- 工程表専用ラッパー --- */
.koutei-wrapper .gantt-item {
	margin-bottom: 12px;
}
.koutei-wrapper .gantt-label {
	font-size: 12px;
	margin-bottom: 3px;
}

.koutei-wrapper .gantt-bar {
	position: relative;
	overflow: hidden;
	height: 18px;
	border-radius: 4px;
}

/* --- 色区間 --- */
.koutei-wrapper .gantt-segment {
	position: absolute;
	top: 0;
	height: 100%;
	border-radius: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	white-space: nowrap;
}

.koutei-wrapper .segment-label {
	font-size: 10px;
	color: #fff;
	padding: 0 4px;
	text-overflow: ellipsis;
	overflow: hidden;
}

/* --- カラー --- */
.bar-green  {
	background: #4CAF50;
}
.bar-red    {
	background: #F44336;
}
.bar-blue   {
	background: #2196F3;
}
.bar-orange {
	background: #FF9800;
}
.bar-gray   {
	background: #9E9E9E;
}

/* --- 時間軸 --- */
.koutei-wrapper .timeline {
	position: relative;
	height: 20px;
	margin-bottom: 6px;
}

.koutei-wrapper .timeline .tick {
	position: absolute;
	font-size: 12px;
	transform: translateX(-50%);
}

/* 行クリック用 */
.project-row {
	cursor: pointer;
}

.project-row:hover {
	background: #f5f5f5;
}

/* 操作ボタン */
.action-buttons {
	display: flex;
	gap: 6px;
	justify-content: center;
}

.action-buttons a {
	display: inline-block;
	padding: 6px 10px;
	border-radius: 6px;
	color: #fff;
	font-size: 14px;
	text-decoration: none;
	min-width: 60px;
	text-align: center;
	box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.action-buttons .blue   {
	background: var(--primary);
}
.action-buttons .orange {
	background: var(--accent);
}
.action-buttons .red    {
	background: var(--danger);
}

/* ボタンを押したときに行クリックが発火しないように */
.action-buttons a {
	position: relative;
	z-index: 10;
}
