.schedule-editor {
	max-width: none;
	padding: clamp(14px, 3vw, 42px) 2px;
}
.schedule-editor:focus {
	outline: none;
}
.schedule-editor .sheet {
	width: min(100%, 64rem);
	margin: 0 auto;
	padding: clamp(20px, 3vw, 42px);
	border: 1px solid var(--line);
	border-radius: 18px;
	background: #fdfcf9;
	gap: 20px;
}
.schedule-editor .sheet header {
	border-bottom: 1px solid var(--line);
	padding: 0 0 12px;
	margin: 0;
}
.schedule-editor .sheet header h2 {
	font-size: 15px;
	color: #606c5c;
	font-weight: 550;
}
.schedule-editor .sheet [name="title"] {
	font:
		500 clamp(22px, 2.5vw, 32px) / 1.5 "Songti SC",
		serif;
	color: #374435;
	border: 1px solid transparent;
	background: transparent;
	padding: 3px 5px;
}
.schedule-editor .sheet [name="title"]:is(:hover, :focus) {
	border-color: var(--line);
	background: white;
}
.editor-columns {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: clamp(24px, 4vw, 64px);
}
.editor-columns h3,
.editor-repeat legend {
	font-size: 13px;
	font-weight: 500;
	color: #657060;
	margin: 0 0 9px;
}
.date-anchor {
	align-self: center;
	padding-inline: 3px;
}
.editor-repeat {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}
.editor-rhythm {
	min-width: 0;
}
.editor-repeat legend {
	padding: 0;
}
.repeat-options,
.editor-repeat .weekpick {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2px;
}
.repeat-options {
	padding: 3px;
	background: #eeefe8;
	border-radius: 12px;
}
.editor-repeat .weekpick {
	grid-template-columns: repeat(7, 1fr);
	margin-top: 8px;
}
.editor-repeat label {
	position: relative;
	display: block;
	cursor: pointer;
}
.editor-repeat label input {
	position: absolute;
	opacity: 0;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	cursor: pointer;
}
.editor-repeat label span {
	display: grid;
	place-items: center;
	min-height: 40px;
	font-size: 14px;
	border-radius: 9px;
}
.repeat-options :checked + span {
	background: #fff;
	color: #40523a;
	box-shadow: 0 1px 4px #34452d20;
}
.weekpick :checked + span {
	background: #e2e9da;
	color: #40523a;
}
.editor-repeat input:focus-visible + span {
	outline: 2px solid #76876e;
}
.schedule-editor .sheet footer {
	border-top: 1px solid var(--line);
	padding-top: 16px;
}
.schedule-editor [data-del] {
	margin-right: auto;
	color: #79645b;
}
@media (max-width: 780px) {
	.schedule-editor {
		padding: 14px 1px;
	}
	.schedule-editor .sheet {
		padding: 18px;
		gap: 15px;
	}
	.editor-columns {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}
