body{
	font-family: -apple-system, BlinkMacSystemFont, sans-serif;
	background: #eef1f5;
	margin: 0;
	padding: 10px;
	font-size: 13px;
	line-height: 1.2;
}

.container{
	max-width: 900px;
	margin: auto;
}
/* ====== ナビリンク ====== */
.nav-links {
	display: flex;
	gap: 14px;
	margin: 10px 0 20px;
	flex-wrap: wrap;
}
.nav-links a {
	font-size: 1rem;
	font-weight: bold;
	color: #2196F3;
	text-decoration: none;
	padding: 6px 8px;
	border-radius: 6px;
}
.nav-links a:hover {
	background: #e3f2fd;
}
/* 新規入力ボタン */
.new-btn,
.ac-btn{
	background: #4a90e2;
	color: #fff;
	padding: 6px 10px;
	border-radius: 6px;
	text-decoration: none;
	font-size: 12px;
	display: inline-block;
	white-space: nowrap;
	transition: 0.2s;
}
.new-btn{
	width: 90px;
}
.ac-btn{
	width: 55px;
}

/* テーブル */
table{
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

th,td{
	padding: 6px 4px;
	border-bottom: 1px solid #ddd;
	font-size: 12px;
	line-height: 1.1;
}

th{
	background: #f5f7fa;
	font-weight: bold;
	white-space: nowrap;
}

/* 編集・削除ボタン */
.action-btn{
	padding: 3px 6px;
	border-radius: 5px;
	font-size: 11px;
	color: #fff;
	text-decoration: none;
}
.edit-btn{
	background: #5cb85c;
}
.del-btn{
	background: #d9534f;
}

/* 内容セル */
.content-cell{
	white-space: pre-wrap;
	word-break: break-word;
	max-width: 220px;
	vertical-align: top;
	line-height: 1.1;
}

/* 行クリック */
.clickable-row{
	cursor: pointer;
}
.clickable-row:hover{
	background: #f0f8ff;
}

/* 編集・削除ボタンは行クリック無効化 */
.no-row-click{
	pointer-events: auto;
	cursor: pointer;
}

/* 検索フォーム */
.search-item{
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
}

.input-wrap{
	position: relative;
}

.input-wrap input{
	padding: 6px 26px 6px 6px;
	width: 130px;
	font-size: 12px;
}

.clear-btn{
	position: absolute;
	right: 3px;
	top: 50%;
	transform: translateY(-50%);
	border: none;
	background: #aaa;
	color: #fff;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	font-size: 10px;
	line-height: 16px;
	text-align: center;
}

#date_from,
#date_to{
	width: 75px;
}
