.ncal-root {
	margin: 0 0 2.75rem;
}
.ncal {
	font-size: 1rem;
	line-height: 1.4;
	color: #1c1c28;
	text-align: left;
}
.ncal-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0 0 1rem;
}
.ncal-title {
	margin: 0;
	font-size: 1.45rem;
	color: #272c6b;
}
.ncal-nav-btn {
	background: #272c6b;
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 0.4rem 0.9rem;
	font-weight: 600;
	cursor: pointer;
}
.ncal-nav-btn:hover {
	background: #3b4290;
}
.ncal-grid {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(39, 44, 107, 0.12);
}
.ncal-grid th {
	background: #272c6b;
	color: #fff;
	font-weight: 600;
	padding: 0.45rem 0.25rem;
	font-size: 0.9rem;
}
.ncal-grid td {
	vertical-align: top;
	border: 1px solid #e4e6ee;
	padding: 0.35rem;
	height: 6.2rem;
}
.ncal-empty {
	background: #f4f5f8;
}
.ncal-today {
	background: #f3eefc;
}
.ncal-day-past {
	background: #f3f3f5;
}
.ncal-day-past .ncal-num {
	color: #9a9aa8;
}
.ncal-num {
	display: block;
	font-weight: 700;
	color: #272c6b;
	margin-bottom: 0.2rem;
}
.ncal-list {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}
.ncal-ev {
	display: block;
	width: 100%;
	text-align: left;
	border: 0;
	border-radius: 6px;
	padding: 0.2rem 0.35rem;
	font-size: 0.78rem;
	line-height: 1.25;
	cursor: pointer;
	background: #e8eaf6;
	color: #1c1c28;
}
.ncal-ev:hover {
	filter: brightness(0.96);
}
.ncal-ev-past {
	cursor: default;
	opacity: 0.45;
	filter: grayscale(0.35);
	pointer-events: none;
}
.ncal-ev-puppy { background: #f3e8ff; }
.ncal-ev-basic { background: #dce8ff; }
.ncal-ev-intermediate { background: #d7f3e6; }
.ncal-ev-advanced { background: #ffe4d4; }
.ncal-ev-agility { background: #fff3c4; }
.ncal-ev-nose { background: #fde8d0; }
.ncal-ev-play { background: #d9f5f0; }
.ncal-ev-closed { background: #f0d6d6; }
.ncal-ev-club { background: #e4e4e4; }
.ncal-up-title {
	margin: 1.75rem 0 0.6rem;
	font-size: 1.35rem;
	color: #272c6b;
}
.ncal-upcoming {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ncal-upcoming li {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 1rem;
	align-items: center;
	padding: 0.55rem 0;
	border-bottom: 1px solid #e4e6ee;
}
.ncal-upcoming .ncal-ev {
	width: auto;
	font-size: 0.95rem;
	padding: 0.35rem 0.65rem;
}
.ncal-up-when {
	color: #555;
	font-size: 0.95rem;
}
.ncal-none,
.ncal-loading {
	margin: 0.5rem 0;
}
.ncal-error {
	background: #f8d7da;
	color: #58151c;
	padding: 0.75rem 1rem;
	border-radius: 8px;
}
.ncal-month-list {
	display: none;
}
.ncal-ml-day {
	margin: 0 0 1rem;
	padding: 0.75rem 0.85rem;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(39, 44, 107, 0.1);
}
.ncal-ml-head {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
	color: #272c6b;
}
.ncal-ml-events {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}
.ncal-ml-events .ncal-ev {
	font-size: 0.95rem;
	padding: 0.45rem 0.65rem;
}
@media (max-width: 800px) {
	.ncal-grid { display: none; }
	.ncal-month-list { display: block; }
	.ncal-nav { justify-content: center; flex-wrap: wrap; }
}
