.modules.schedule-page {
	--schedule-ink: #172026;
	--schedule-muted: #657079;
	--schedule-line: #e5e9e7;
	--schedule-soft: #f4f8f6;
	--schedule-accent: #15836f;
	--schedule-accent-dark: #0d6455;
	--schedule-navy: #1e3a5f;
	--schedule-holiday: #c84a3b;
	color: var(--schedule-ink);
	font-family: Pretendard, "Noto Sans", Arial, sans-serif;
}

.schedule-form {
	--schedule-accent: #15836f;
}

.schedule-page *,
.schedule-form * {
	box-sizing: border-box;
}

.schedule-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.schedule-year-nav {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin-bottom: 34px;
	border: 1px solid var(--schedule-line);
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 12px 34px rgba(28, 53, 46, .07);
}

.schedule-year-nav__item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 78px;
	padding: 16px 20px;
	border-right: 1px solid var(--schedule-line);
	color: #4e5a61;
	text-decoration: none;
	transition: color .2s ease, background-color .2s ease;
}

.schedule-year-nav__item:last-child {
	border-right: 0;
}

.schedule-year-nav__item span {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -.02em;
}

.schedule-year-nav__item small {
	color: #7b858b;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.schedule-year-nav__item:hover,
.schedule-year-nav__item:focus {
	color: var(--schedule-accent-dark);
	background: var(--schedule-soft);
}

.schedule-year-nav__item.is-active {
	color: #fff;
	background: linear-gradient(135deg, var(--schedule-accent-dark), var(--schedule-accent));
}

.schedule-year-nav__item.is-active small {
	color: rgba(255, 255, 255, .74);
}

.schedule-page__intro {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 36px;
	margin-bottom: 30px;
	padding: 0 4px 24px;
	border-bottom: 1px solid var(--schedule-line);
}

.schedule-page__eyebrow {
	margin: 0 0 7px;
	color: var(--schedule-accent);
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .14em;
}

.schedule-page__intro h3 {
	margin: 0;
	color: var(--schedule-ink);
	font-family: "Arita Bold", Georgia, serif;
	font-size: clamp(30px, 4vw, 42px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.025em;
}

.schedule-page__notice {
	max-width: 460px;
	margin: 0;
	padding-left: 18px;
	border-left: 3px solid var(--schedule-accent);
	color: var(--schedule-muted);
	font-size: 14px;
	line-height: 1.65;
}

.schedule-area {
	display: grid;
	gap: 24px;
}

.schedule-month {
	display: grid;
	grid-template-columns: minmax(275px, 34%) minmax(0, 1fr);
	min-height: 310px;
	border: 1px solid var(--schedule-line);
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 14px 38px rgba(28, 53, 46, .06);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.schedule-month:hover {
	border-color: #ccd9d4;
	box-shadow: 0 18px 46px rgba(28, 53, 46, .1);
	transform: translateY(-2px);
}

.schedule-month__calendar {
	padding: 26px;
	background:
		linear-gradient(145deg, rgba(21, 131, 111, .08), rgba(30, 58, 95, .04)),
		#f8faf9;
}

.schedule-calendar__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 17px;
}

.schedule-calendar__head strong {
	color: var(--schedule-ink);
	font-family: "Arita Bold", Georgia, serif;
	font-size: 25px;
	line-height: 1.2;
}

.schedule-calendar__head span {
	color: var(--schedule-accent);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
}

.scheduleCalendar table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 3px;
	table-layout: fixed;
}

.scheduleCalendar th {
	height: 28px;
	padding: 0 0 6px;
	border: 0;
	color: #7b858b;
	background: transparent;
	font-size: 10px;
	font-weight: 800;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.scheduleCalendar td {
	height: 31px;
	padding: 0;
	border: 0;
	border-radius: 7px;
	color: #3d484e;
	background: rgba(255, 255, 255, .76);
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	vertical-align: middle;
}

.scheduleCalendar td.is-empty {
	background: transparent;
}

.scheduleCalendar td.is-sunday {
	color: var(--schedule-holiday);
}

.scheduleCalendar td.is-saturday {
	color: #3171a4;
}

.schedule-month__events {
	min-width: 0;
	padding: 28px 30px;
}

.schedule-month__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--schedule-line);
}

.schedule-month__heading p {
	margin: 0 0 2px;
	color: var(--schedule-accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
}

.schedule-month__heading h4 {
	margin: 0;
	color: var(--schedule-ink);
	font-size: 24px;
	font-weight: 800;
	line-height: 1.25;
}

.schedule-month__add {
	flex: 0 0 auto;
	min-height: 36px;
	padding: 7px 14px;
	border: 1px solid var(--schedule-accent);
	border-radius: 999px;
	color: #fff;
	background: var(--schedule-accent);
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease;
}

.schedule-month__add:hover,
.schedule-month__add:focus {
	border-color: var(--schedule-accent-dark);
	background: var(--schedule-accent-dark);
}

.schedule-list {
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.schedule-event {
	display: grid;
	grid-template-columns: minmax(112px, 145px) minmax(0, 1fr);
	gap: 20px;
	align-items: start;
	padding: 13px 15px;
	border: 1px solid transparent;
	border-radius: 10px;
	background: #fafbfb;
	transition: border-color .2s ease, background-color .2s ease;
}

.schedule-event:hover {
	border-color: #d6e4df;
	background: var(--schedule-soft);
}

.schedule-event__date {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	color: var(--schedule-navy);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.5;
}

.schedule-event__content {
	min-width: 0;
}

.schedule-event__title {
	color: #263138;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
}

.schedule-event__title a {
	color: inherit;
	text-decoration: none;
}

.schedule-event__title a:hover,
.schedule-event__title a:focus {
	color: var(--schedule-accent-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.schedule-event__content p {
	margin: 4px 0 0;
	color: var(--schedule-muted);
	font-size: 13px;
	line-height: 1.55;
}

.schedule-event.is-holiday .schedule-event__date,
.schedule-event.is-holiday .schedule-event__title {
	color: var(--schedule-holiday);
}

.schedule-event.is-hidden {
	opacity: .68;
}

.schedule-event__badge,
.schedule-event__admin-badge {
	display: inline-block;
	margin-left: 7px;
	padding: 2px 7px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 800;
	line-height: 1.4;
	vertical-align: 2px;
}

.schedule-event__badge {
	color: #a43c30;
	background: #fae7e4;
}

.schedule-event__admin-badge {
	color: #5e676c;
	background: #e8ecea;
}

.schedule-list__empty {
	padding: 36px 16px;
	border: 1px dashed #d7dfdc;
	border-radius: 10px;
	color: #8a9398;
	background: #fafbfb;
	font-size: 14px;
	text-align: center;
}

.schedule-form .form-control {
	width: 100%;
	box-sizing: border-box;
}

.schedule-form .schedule-form__date-range {
	display: flex;
	align-items: center;
	gap: 9px;
}

.schedule-form .schedule-form__date {
	width: 120px;
	text-align: center;
}

.schedule-form .note {
	margin: 7px 0 0;
	color: #666;
	font-size: 13px;
	line-height: 1.45;
}

.schedule-form .write_btn .right_area > button {
	display: inline-block;
	min-width: 82px;
	height: 38px;
	margin: 2px;
	border-radius: 3px;
	color: #fff;
	line-height: 36px;
	text-align: center;
	vertical-align: top;
	cursor: pointer;
}

.schedule-form .write_btn .right_area .btn_del {
	border: 1px solid #c53b2c;
	background: #c53b2c;
}

.schedule-form .write_btn .right_area .btn_wrt {
	border: 1px solid var(--schedule-accent);
	background: var(--schedule-accent);
}

.schedule-form {
	color: #222;
	font-family: Pretendard, sans-serif;
}

.schedule-form .schedule-form__intro {
	margin-bottom: 16px;
	padding: 17px 20px;
	border-left: 4px solid #15836f;
	background: #f3f8f6;
}

.schedule-form .schedule-form__intro strong {
	display: block;
	color: #173b34;
	font-size: 18px;
	line-height: 1.4;
}

.schedule-form .schedule-form__intro p {
	margin: 4px 0 0;
	color: #65716d;
	font-size: 13px;
	line-height: 1.5;
}

.schedule-form table {
	width: 100%;
	border-top: 2px solid #333;
	border-collapse: collapse;
	table-layout: fixed;
}

.schedule-form table caption {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.schedule-form .schedule-form__label-col {
	width: 24%;
}

.schedule-form th,
.schedule-form td {
	padding: 13px 14px;
	border-bottom: 1px solid #e5e5e5;
	vertical-align: middle;
}

.schedule-form th {
	color: #222;
	background: #f7f8f8;
	font-size: 14px;
	font-weight: 700;
	text-align: left;
}

.schedule-form td {
	background: #fff;
}

.schedule-form .form-control {
	display: inline-block;
	width: 100%;
	min-height: 38px;
	padding: 8px 10px;
	border: 1px solid #cfd5d3;
	border-radius: 3px;
	color: #222;
	background: #fff;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.5;
	vertical-align: middle;
}

.schedule-form .form-control:focus {
	border-color: #15836f;
	outline: 0;
	box-shadow: 0 0 0 2px rgba(21, 131, 111, .12);
}

.schedule-form .schedule-form__description {
	height: 124px;
	resize: vertical;
}

.schedule-form .schedule-form__date {
	width: 140px;
	text-align: center;
}

.schedule-form .ui-datepicker-trigger {
	width: 24px;
	height: 24px;
	margin-left: 8px;
	vertical-align: middle;
	cursor: pointer;
}

.schedule-form .schedule-form__radios {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
}

.schedule-form .schedule-form__radios label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	cursor: pointer;
}

.schedule-form .schedule-form__radios input {
	margin: 0;
}

.schedule-form .note {
	margin: 7px 0 0;
	color: #737b78;
	font-size: 12px;
	line-height: 1.5;
}

.schedule-form .write_btn {
	margin-top: 18px;
}

.schedule-form .write_btn .right_area {
	display: flex;
	justify-content: flex-end;
	gap: 6px;
}

.schedule-form .write_btn .right_area > button {
	min-width: 82px;
	height: 38px;
	padding: 0 16px;
	border-radius: 3px;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 36px;
	text-align: center;
	cursor: pointer;
}

.schedule-form .write_btn .right_area .btn_del {
	border: 1px solid #c53b2c;
	background: #c53b2c;
}

.schedule-form .write_btn .right_area .btn_wrt {
	border: 1px solid #15836f;
	background: #15836f;
}

@media (max-width: 900px) {
	.schedule-page__intro {
		align-items: flex-start;
		flex-direction: column;
		gap: 18px;
	}

	.schedule-month {
		grid-template-columns: 1fr;
	}

	.schedule-month__calendar {
		border-bottom: 1px solid var(--schedule-line);
	}
}

@media (max-width: 640px) {
	.schedule-year-nav__item {
		flex-direction: column;
		gap: 2px;
		min-height: 68px;
		padding: 12px 8px;
	}

	.schedule-year-nav__item span {
		font-size: 18px;
	}

	.schedule-year-nav__item small {
		font-size: 9px;
		letter-spacing: .04em;
	}

	.schedule-page__intro h3 {
		font-size: 29px;
	}

	.schedule-month__calendar,
	.schedule-month__events {
		padding: 22px 18px;
	}

	.schedule-event {
		grid-template-columns: 1fr;
		gap: 5px;
	}

	.schedule-event__date {
		font-size: 12px;
	}

	.ui-dialog {
		width: calc(100% - 20px) !important;
		max-width: 650px;
	}

	.schedule-form .schedule-form__date-range {
		align-items: center;
		gap: 0;
	}
	.schedule-form .ui-datepicker-trigger {height: 20px; width: 20px; margin-left: 3px;}
	.schedule-form .schedule-form__date-range  span {margin: 0 5px;}

	.schedule-form .schedule-form__date-range input {width: 100px;}

	.write_box table {
		width: 100% !important;
		min-width: 100% !important;
	}
}

@media (max-width: 520px) {
	.schedule-form .schedule-form__intro {
		padding: 14px 16px;
	}

	.schedule-form colgroup {
		display: none;
	}

	.schedule-form tr,
	.schedule-form th,
	.schedule-form td {
		display: block;
		width: 100%;
	}

	.schedule-form th {
		padding: 11px 12px 6px;
		border-bottom: 0;
		background: #f7f8f8;
	}

	.schedule-form td {
		padding: 6px 12px 13px;
		background: #f7f8f8;
	}
}


@media (max-width: 650px) {
	.ui-dialog {
		width: 100% !important;
	}

	.board_write .write_box table {
		width: 100%;
		min-width: 100% !important;
	}
}

@media (max-width: 340px) {
	.schedule-form .schedule-form__date-range {flex-wrap: wrap;}
	.schedule-form .schedule-form__date-range input {width: 90px;}
	.schedule-form .schedule-form__date-range  span {margin: 0 3px;}
	.schedule-form .ui-datepicker-trigger {height: 18px; width: 18px; margin-left: 2px;}

	.schedule-form .schedule-form__date-range input {width:calc(100% - 20px);}
	.schedule-form .schedule-form__date-range  span {width: 100%; text-align: center;}
}