/* 納期スケジュール専用（calendar.css には手を入れていません） */

/*---------------------
	月カレンダーの帯・印
----------------------*/
.cal-cell{
	position: relative;
}
.dl-bands{
	position: absolute;
	left: 0.2em;
	right: 0.2em;
	bottom: 0.15em;
	display: flex;
	flex-direction: column;
	gap: 2px;
	pointer-events: none;
}
.dl-bar{
	display: block;
	height: 3px;
	border-radius: 2px;
	background-color: var(--c);
	opacity: 0.35;
}
.dl-bar.is-work{
	height: 5px;
	opacity: 1;
}
.dl-bar.is-done{
	opacity: 0.45;
	background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.7) 0 2px, transparent 2px 4px);
}
.dl-flag{
	position: absolute;
	top: 0.15em;
	right: 0.2em;
	font-size: 0.6em;
	color: var(--ranunred);
	opacity: 0.7;
}
.dl-flag.is-final{
	font-size: 0.75em;
	opacity: 1;
}

/*---------------------
	日ごとの画面のカード
----------------------*/
.dl-day{
	display: flex;
	flex-direction: column;
	gap: 0.4em;
	margin: 0.8em 0;
}
.dl-day-item{
	display: flex;
	align-items: center;
	gap: 0.7em;
	padding: 0.6em 0.8em;
	border-left: solid 4px var(--c);
	border-radius: 0.5em;
	background-color: #fff;
}
.dl-day-item.is-done .dl-day-title{
	text-decoration: line-through;
	opacity: 0.6;
}
.dl-check-form{
	margin: 0;
}
.dl-check{
	width: 1.9em;
	height: 1.9em;
	border-radius: 50%;
	border: solid 2px var(--c);
	background: #fff;
	color: transparent;
	font-size: 0.9em;
	display: flex;
	align-items: center;
	justify-content: center;
}
.dl-check.is-on{
	background-color: var(--c);
	color: #fff;
}
.dl-day-icon{
	width: 1.9em;
	text-align: center;
	color: var(--ranunred);
}
.dl-day-body{
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
	color: var(--ranunbrown);
}
.dl-day-title{
	font-size: 0.95em;
}
.dl-day-sub{
	font-size: 0.75em;
	opacity: 0.7;
}

/*---------------------
	一覧・詳細・フォーム
----------------------*/
.dl-card{
	display: block;
	padding: 0.8em 1em;
	margin-bottom: 0.8em;
	border-left: solid 5px var(--c);
	border-radius: 0.6em;
	background-color: #fff;
	color: var(--ranunbrown);
}
.dl-card-top{
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.6em;
}
.dl-card-title{
	font-weight: bold;
}
.dl-card-due{
	font-size: 0.85em;
	white-space: nowrap;
}
.dl-card-due i{
	color: var(--ranunred);
}
.dl-card-cal{
	display: block;
	font-size: 0.75em;
	opacity: 0.7;
	margin-bottom: 0.4em;
}
.dl-card-stage{
	display: flex;
	justify-content: space-between;
	gap: 0.6em;
	font-size: 0.85em;
	padding: 0.25em 0;
	border-top: dashed 1px rgba(0,0,0,0.12);
}
.dl-card-stage-range{
	font-size: 0.85em;
	opacity: 0.75;
	text-align: right;
}
.dl-past{
	margin-top: 1.2em;
}
.dl-past summary{
	cursor: pointer;
	margin-bottom: 0.6em;
	font-size: 0.9em;
	color: var(--ranunbrown);
}
.dl-head{
	padding: 0.8em 1em;
	margin-bottom: 1em;
	border-left: solid 5px var(--c);
	border-radius: 0.6em;
	background-color: #fff;
	color: var(--ranunbrown);
}
.dl-head-title{
	font-weight: bold;
	margin-bottom: 0.2em;
}
.dl-head-sub{
	font-size: 0.85em;
	opacity: 0.85;
}
.dl-edit-link{
	margin-left: 0.8em;
	color: var(--ranungreen2);
}
.dl-stage{
	margin-bottom: 1.4em;
}
.dl-stage-range{
	font-size: 0.8em;
	color: var(--ranunbrown);
}
.dl-tools{
	display: flex;
	gap: 0.5em;
	flex-wrap: wrap;
	margin-bottom: 0.5em;
}
.dl-day-row{
	display: flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.45em 0.2em;
	border-bottom: solid 1px rgba(0,0,0,0.06);
	font-size: 0.9em;
	color: var(--ranunbrown);
}
.dl-day-row.is-free .dl-state{
	color: var(--ranungreen2);
}
.dl-day-row.is-busy .dl-state,
.dl-day-row.is-other .dl-state{
	opacity: 0.65;
}
.dl-pick{
	display: flex;
	align-items: center;
	gap: 0.5em;
	min-width: 7em;
}
.dl-state{
	flex: 1;
	font-size: 0.85em;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.dl-done-pick{
	font-size: 0.85em;
	white-space: nowrap;
}
.dl-stage-row{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4em;
	padding: 0.6em 0;
	border-bottom: dashed 1px rgba(0,0,0,0.12);
}
.dl-stage-row > .cal-form-input{
	flex: 1 1 100%;
}
.dl-stage-dates{
	display: flex;
	align-items: center;
	gap: 0.4em;
	flex: 1;
}
.dl-stage-remove{
	color: var(--ranunbrown);
	opacity: 0.6;
	padding: 0.4em;
}
