/* ============================
スマホ最適化（Kentaro 専用）
============================ */

/* カード */
.summary-card {
	background: #fff;
	padding: 10px;
	border-radius: 8px;
	margin-bottom: 10px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

/* Day ヘッダー */
.day-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 8px;
	font-size: 13px;
	font-weight: bold;
	border-radius: 5px;
	margin-bottom: 4px;
	cursor: pointer;
}

.day-right {
	display: flex;
	gap: 8px;
	font-size: 12px;
	color: #444;
}

.day-total,
.day-workers {
	font-size: 12px;
	font-weight: 500;
}

/* Day 本文 */
.day-body {
	display: none;
	padding: 6px 8px;
}

/* 作業行 */
.task-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 4px 6px;
	margin-bottom: 3px;
	background: #f5f5f5;
	border-radius: 5px;
	border: 1px solid #ddd;
	font-size: 12px;
}

.task-left {
	flex: 1;
	font-size: 12px;
}

.task-right {
	white-space: nowrap;
	text-align: right;
	font-size: 11px;
}

.task-duration {
	font-weight: 600;
	color: #002266;
	margin-left: 4px;
}

/* Day 色 */
.day-blue  {
	background: #e6f0ff;
}
.day-green {
	background: #e8fbe8;
}
.day-yellow{
	background: #fff8d9;
}

/* 上部ボタン */
.page-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 10px;
}

.page-buttons a,
.page-buttons button {
	padding: 4px 8px;
	border-radius: 5px;
	font-size: 11px;
	height: 26px;
	line-height: 18px;
	color: #fff;
	border: none;
	cursor: pointer;
}

/* 色 */
.green  {
	background: #28a745;
}
.gray   {
	background: #6c757d;
}
.red    {
	background: #FF0033;
}
.blue   {
	background: #0000CC;
}
.orange {
	background: #ff5500;
}

/* テーブル */
.summary-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 12px;
}

.summary-table th,
.summary-table td {
	padding: 3px 4px;
}

.summary-table .left {
	text-align: left;
}

.summary-table .right {
	text-align: right;
}

.subtotal-row {
	font-weight: bold;
	border-top: 2px solid #000;
}
