.ccs-checkin {
	max-width: 1160px;
	margin: 0 auto;
	padding: 40px 20px 80px;
}

.ccs-checkin__article {
	display: grid;
	gap: 28px;
}

.ccs-checkin__hero,
.ccs-checkin__panel,
.ccs-related-checkins {
	background: linear-gradient(180deg, #fff8ef 0%, #ffffff 100%);
	border: 1px solid #ead7be;
	border-radius: 24px;
	box-shadow: 0 18px 40px rgba(83, 52, 19, 0.08);
}

.ccs-checkin__hero {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 24px;
	padding: 32px;
}

.ccs-checkin__hero-copy h1,
.ccs-related-checkins__head h2,
.ccs-checkin__panel-head h2 {
	margin: 0 0 16px;
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.15;
}

.ccs-checkin__summary,
.ccs-related-checkins__head p,
.ccs-checkin__panel-head p,
.ccs-checkin-card p,
.ccs-form-hint {
	color: #65584b;
}

.ccs-checkin__cover img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 320px;
	object-fit: cover;
	border-radius: 18px;
}

.ccs-checkin__eyebrow {
	display: inline-flex;
	padding: 6px 12px;
	border-radius: 999px;
	background: #2f5d50;
	color: #f6f0e7;
	font-size: 13px;
	margin-bottom: 16px;
}

.ccs-checkin__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.ccs-stat-card {
	padding: 20px;
	border-radius: 20px;
	background: #13231f;
	color: #f5efe5;
}

.ccs-stat-card span {
	display: block;
	margin-bottom: 10px;
	opacity: 0.8;
}

.ccs-stat-card strong {
	font-size: 24px;
	font-weight: 700;
}

.ccs-checkin__panel,
.ccs-related-checkins {
	padding: 28px;
}

.ccs-checkin__panel-head {
	margin-bottom: 20px;
}

.ccs-course-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
}

.ccs-course-link {
	display: grid;
	gap: 8px;
	padding: 18px 20px;
	border: 1px solid #eadfcd;
	border-radius: 18px;
	background: #fffdf9;
	color: #2f2419;
	text-decoration: none;
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ccs-course-link:hover {
	transform: translateY(-1px);
	border-color: #d9b78f;
	box-shadow: 0 14px 30px rgba(83, 52, 19, 0.08);
	color: #2f2419;
}

.ccs-course-link__label,
.ccs-course-link__action {
	font-size: 13px;
	color: #7c6a58;
}

.ccs-course-link strong {
	font-size: 18px;
	line-height: 1.45;
}

.ccs-course-link__action {
	color: #1c4b3d;
	font-weight: 600;
}

.ccs-checkin__notice {
	padding: 14px 16px;
	border-radius: 14px;
	margin-bottom: 16px;
}

.ccs-checkin__notice--success {
	background: #e2f3e8;
	color: #215135;
}

.ccs-checkin__notice--error {
	background: #fde5e5;
	color: #7c2323;
}

.ccs-form-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 16px;
}

.ccs-form-row--stack {
	grid-template-columns: 1fr;
}

.ccs-checkin-form label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
}

.ccs-checkin-form input,
.ccs-checkin-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #cfbfa9;
	border-radius: 14px;
	background: #fffdf9;
}

.ccs-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border-radius: 999px;
	background: #c46a28;
	color: #fff;
	text-decoration: none;
	border: 0;
	cursor: pointer;
}

.ccs-button:hover {
	background: #a8551f;
	color: #fff;
}

.ccs-records {
	display: grid;
	gap: 16px;
}

.ccs-record {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 14px;
	padding: 16px;
	border: 1px solid #eadfcd;
	border-radius: 18px;
	background: #fffdf9;
}

.ccs-record__avatar img {
	border-radius: 50%;
}

.ccs-record__meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
	font-size: 14px;
}

.ccs-record__content {
	color: #3b3026;
	line-height: 1.7;
}

.ccs-related-checkins {
	margin-top: 32px;
}

.ccs-related-checkins__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.ccs-checkin-card {
	padding: 16px 18px;
	border-radius: 18px;
	background: #fcf7f0;
	border: 1px solid #eadfcd;
}

.ccs-checkin-card__meta,
.ccs-checkin-card__footer {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
	color: #7c6a58;
}

.ccs-checkin-card h3 {
	margin: 12px 0 8px;
	font-size: 18px;
	line-height: 1.4;
}

.ccs-checkin-card p {
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
}

.ccs-checkin-card__footer {
	margin-top: 14px;
	align-items: center;
}

.ccs-checkin-card__footer a {
	color: #1c4b3d;
	font-weight: 600;
	text-decoration: none;
}

.ccs-empty,
.ccs-checkin__login-tip p {
	color: #6f6152;
}

.ccs-my-checkins {
	display: grid;
	gap: 20px;
}

.ccs-my-checkins__top {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 16px;
}

.ccs-my-checkins__top .ccs-checkin__panel-head {
	margin-bottom: 0;
}

.ccs-my-checkins__count {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	padding: 12px 16px;
	border: 1px solid #eadfcd;
	border-radius: 16px;
	background: #fffdf9;
	min-width: 140px;
}

.ccs-my-checkins__count span,
.ccs-my-checkins__count em {
	font-style: normal;
	font-size: 13px;
	color: #7c6a58;
}

.ccs-my-checkins__count strong {
	font-size: 28px;
	line-height: 1;
	color: #2f2419;
}

.ccs-my-checkins__filters {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	gap: 12px;
	margin-bottom: 20px;
}

.ccs-my-checkins__filters label {
	display: block;
	width: 100%;
	font-weight: 600;
}

.ccs-my-checkins__filters select {
	min-width: 220px;
	padding: 12px 14px;
	border: 1px solid #cfbfa9;
	border-radius: 14px;
	background: #fffdf9;
}

.ccs-my-checkins__list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ccs-my-checkins__item a {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid #eadfcd;
	border-radius: 14px;
	background: linear-gradient(180deg, #fffdf9 0%, #fff8ef 100%);
	color: #2f2419;
	text-decoration: none;
	line-height: 1.5;
}

.ccs-my-checkins__item a:hover {
	border-color: #d9b78f;
	box-shadow: 0 10px 20px rgba(83, 52, 19, 0.08);
}

.ccs-my-checkins__item-index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 10px;
	background: #f2e7d7;
	color: #8a6a47;
	font-size: 13px;
	font-weight: 700;
}

.ccs-my-checkins__item-title {
	min-width: 0;
	font-size: 15px;
	font-weight: 600;
	color: #2f2419;
}

.ccs-my-checkins__item-action {
	font-size: 13px;
	font-weight: 600;
	color: #1c4b3d;
}

@media (max-width: 900px) {
	.ccs-checkin__hero,
	.ccs-checkin__stats,
	.ccs-related-checkins__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.ccs-form-row,
	.ccs-record__meta {
		grid-template-columns: 1fr;
	}

	.ccs-checkin {
		padding: 24px 16px 56px;
	}

	.ccs-checkin__hero,
	.ccs-checkin__panel,
	.ccs-related-checkins {
		padding: 20px;
		border-radius: 18px;
	}

	.ccs-my-checkins__filters {
		flex-direction: column;
		align-items: stretch;
	}

	.ccs-my-checkins__top {
		align-items: stretch;
	}

	.ccs-my-checkins__count {
		width: 100%;
		justify-content: center;
	}

	.ccs-my-checkins__filters select,
	.ccs-my-checkins__filters .ccs-button {
		width: 100%;
	}

	.ccs-my-checkins__item a {
		grid-template-columns: 36px minmax(0, 1fr);
	}

	.ccs-my-checkins__item-action {
		grid-column: 2;
	}
}
