/**
 * Charta Learning Center 1.0.4
 * Refined learner dashboard, responsive assignments and negative point states.
 */
:root {
	--clc-blue: #1769d2;
	--clc-blue-dark: #0b3470;
	--clc-navy: #071a32;
	--clc-text: #17283d;
	--clc-muted: #66788d;
	--clc-line: #dfe8f2;
	--clc-soft: #f4f8fc;
	--clc-success: #17814c;
	--clc-danger: #c23a43;
	--clc-warning: #a96c00;
	--clc-radius: 18px;
	--clc-shadow: 0 14px 38px rgba(20, 52, 86, .08);
}

.clc-center,
.clc-login-required {
	box-sizing: border-box;
	font-family: inherit;
	color: var(--clc-text);
}

.clc-center *,
.clc-login-required * {
	box-sizing: border-box;
}

.clc-center {
	width: min(100%, 1180px);
	margin: 0 auto;
	padding: clamp(12px, 2vw, 24px) 0 42px;
}

.clc-center a {
	transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.clc-center-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	overflow: hidden;
	min-height: 210px;
	padding: clamp(26px, 4vw, 42px);
	border: 1px solid rgba(111, 168, 238, .24);
	border-radius: 24px;
	background:
		radial-gradient(circle at 84% 18%, rgba(77, 143, 255, .30), transparent 28%),
		radial-gradient(circle at 18% 100%, rgba(51, 201, 190, .18), transparent 34%),
		linear-gradient(135deg, #07172d 0%, #0a3269 58%, #145ca7 100%);
	box-shadow: 0 22px 55px rgba(7, 31, 62, .20);
	color: #fff;
}

.clc-center-hero::before,
.clc-center-hero::after {
	position: absolute;
	content: "";
	pointer-events: none;
}

.clc-center-hero::before {
	inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
	background-size: 34px 34px;
	mask-image: linear-gradient(90deg, rgba(0,0,0,.78), transparent 88%);
}

.clc-center-hero::after {
	right: -80px;
	bottom: -110px;
	width: 310px;
	height: 310px;
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 50%;
	box-shadow: 0 0 0 38px rgba(255,255,255,.035), 0 0 0 82px rgba(255,255,255,.025);
}

.clc-profile-block,
.clc-hero-side {
	position: relative;
	z-index: 1;
}

.clc-profile-block {
	display: flex;
	align-items: center;
	gap: 20px;
	min-width: 0;
}

.clc-profile-avatar {
	position: relative;
	flex: 0 0 92px;
}

.clc-profile-avatar img {
	display: block;
	width: 92px;
	height: 92px;
	border: 4px solid rgba(255,255,255,.90);
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

.clc-profile-avatar span {
	position: absolute;
	right: 4px;
	bottom: 5px;
	width: 18px;
	height: 18px;
	border: 3px solid #0d3970;
	border-radius: 50%;
	background: #31d18b;
}

.clc-profile-copy {
	min-width: 0;
}

.clc-eyebrow {
	display: block;
	margin-bottom: 6px;
	color: #8dc2ff;
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .16em;
}

.clc-center-hero h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(25px, 3.1vw, 38px);
	line-height: 1.22;
	letter-spacing: -.025em;
}

.clc-profile-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 13px;
}

.clc-profile-meta span {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 5px 10px;
	border: 1px solid rgba(255,255,255,.17);
	border-radius: 999px;
	background: rgba(255,255,255,.09);
	color: rgba(255,255,255,.88);
	font-size: 12px;
	font-weight: 700;
}

.clc-profile-meta span:first-child {
	background: rgba(75, 160, 255, .22);
	color: #e8f4ff;
}

.clc-hero-side {
	display: flex;
	align-items: stretch;
	gap: 12px;
	flex: 0 0 auto;
}

.clc-balance-card {
	min-width: 145px;
	padding: 16px 18px;
	border: 1px solid rgba(255,255,255,.17);
	border-radius: 16px;
	background: rgba(4, 20, 43, .34);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
	backdrop-filter: blur(12px);
}

.clc-balance-card span,
.clc-balance-card small {
	display: block;
	color: rgba(255,255,255,.68);
	font-size: 11px;
}

.clc-balance-card strong {
	display: block;
	margin: 4px 0;
	color: #fff;
	font-size: 32px;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.clc-balance-card.is-negative {
	border-color: rgba(255, 154, 162, .52);
	background: rgba(121, 19, 34, .34);
}

.clc-balance-card.is-negative strong {
	color: #ffb4ba;
}

.clc-hero-actions {
	display: flex;
	align-items: stretch;
	justify-content: center;
	flex-direction: column;
	gap: 8px;
}

.clc-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 17px;
	border: 1px solid transparent;
	border-radius: 10px;
	background: linear-gradient(135deg, #1769d2, #0e56b1);
	box-shadow: 0 8px 20px rgba(23,105,210,.22);
	color: #fff !important;
	font-weight: 780;
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
}

.clc-button:hover {
	transform: translateY(-1px);
	filter: brightness(1.05);
}

.clc-button.is-light {
	border-color: rgba(255,255,255,.33);
	background: rgba(255,255,255,.93);
	box-shadow: none;
	color: #0c3974 !important;
	white-space: nowrap;
}

.clc-button.is-light:hover {
	background: #fff;
	box-shadow: 0 8px 22px rgba(0,0,0,.12);
}

.clc-summary-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 13px;
	margin: 17px 0;
}

.clc-summary-card {
	display: flex;
	align-items: center;
	gap: 13px;
	min-width: 0;
	padding: 16px;
	border: 1px solid var(--clc-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(22, 51, 80, .055);
	color: inherit !important;
	text-decoration: none !important;
}

.clc-summary-card:hover {
	border-color: #aac9ec;
	box-shadow: 0 13px 30px rgba(22, 51, 80, .10);
	transform: translateY(-2px);
}

.clc-summary-card.is-primary {
	border-color: #c7ddf8;
	background: linear-gradient(145deg, #f2f8ff, #fff);
}

.clc-summary-card.is-success {
	border-color: #cfeada;
	background: linear-gradient(145deg, #f3fcf7, #fff);
}

.clc-summary-card.is-danger {
	border-color: #f1c9cd;
	background: linear-gradient(145deg, #fff4f5, #fff);
}

.clc-summary-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	border-radius: 13px;
	background: #edf4fd;
	color: #1b61ae;
	font-size: 17px;
	font-weight: 900;
}

.clc-summary-card.is-primary .clc-summary-icon {
	background: #ddebff;
	color: #0d5ab8;
}

.clc-summary-card.is-success .clc-summary-icon {
	background: #def6e8;
	color: #147447;
}

.clc-summary-card.is-danger .clc-summary-icon {
	background: #ffe2e5;
	color: #b72f3b;
}

.clc-summary-card > div {
	min-width: 0;
}

.clc-summary-card small,
.clc-summary-card em {
	display: block;
	font-style: normal;
}

.clc-summary-card small {
	color: #66798d;
	font-size: 11px;
	font-weight: 750;
}

.clc-summary-card strong {
	display: block;
	margin: 1px 0 2px;
	color: #173b63;
	font-size: 24px;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.clc-summary-card.is-danger strong {
	color: var(--clc-danger);
}

.clc-summary-card em {
	overflow: hidden;
	color: #7e8da0;
	font-size: 10px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.clc-tabs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 7px;
	margin-bottom: 21px;
	padding: 7px;
	border: 1px solid var(--clc-line);
	border-radius: 16px;
	background: #f1f6fb;
}

.clc-tabs a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 10px 14px;
	border-radius: 11px;
	color: #52677e;
	font-size: 14px;
	font-weight: 750;
	text-decoration: none !important;
}

.clc-tabs a:hover {
	background: rgba(255,255,255,.65);
	color: var(--clc-blue);
}

.clc-tabs a.is-active {
	background: #fff;
	box-shadow: 0 5px 17px rgba(22, 51, 80, .09);
	color: var(--clc-blue-dark);
}

.clc-tabs em {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 23px;
	height: 23px;
	padding: 0 6px;
	border-radius: 999px;
	background: #e3edf8;
	color: #42688f;
	font-size: 11px;
	font-style: normal;
	font-variant-numeric: tabular-nums;
}

.clc-tabs a.is-active em {
	background: #e5f0ff;
	color: #0b5abc;
}

.clc-tabs em.is-balance {
	min-width: auto;
	padding: 0 8px;
}

.clc-tabs em.is-negative {
	background: #ffe2e5;
	color: #b62f3a;
}

.clc-tab-content {
	min-height: 280px;
}

.clc-section {
	margin: 0 0 30px;
}

.clc-section-title {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 22px;
	margin: 6px 0 17px;
}

.clc-section-title > div > span {
	display: block;
	color: var(--clc-blue);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .15em;
}

.clc-section-title h2 {
	margin: 4px 0 0;
	color: #172b43;
	font-size: clamp(23px, 2.4vw, 29px);
	line-height: 1.2;
}

.clc-section-title p {
	max-width: 510px;
	margin: 0;
	color: var(--clc-muted);
	font-size: 13px;
	line-height: 1.65;
	text-align: right;
}

.clc-policy-banner,
.clc-deadline-warning {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 15px;
	padding: 13px 16px;
	border: 1px solid #f0d59e;
	border-radius: 13px;
	background: linear-gradient(90deg, #fff9e9, #fffdf8);
	color: #6f531d;
}

.clc-policy-banner > span {
	flex: 0 0 auto;
	padding: 5px 9px;
	border-radius: 999px;
	background: #f4d887;
	color: #684b0b;
	font-size: 11px;
	font-weight: 850;
}

.clc-policy-banner p,
.clc-deadline-warning p {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
}

.clc-deadline-warning {
	align-items: flex-start;
	flex-direction: column;
	gap: 3px;
}

.clc-deadline-warning.is-overdue {
	border-color: #efc2c7;
	background: #fff1f2;
	color: #8e2932;
}

.clc-assignment-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.clc-assignment-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	min-height: 250px;
	padding: 20px;
	border: 1px solid var(--clc-line);
	border-radius: var(--clc-radius);
	background: #fff;
	box-shadow: 0 10px 30px rgba(25, 53, 83, .055);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.clc-assignment-card::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: #dce8f5;
	content: "";
}

.clc-assignment-card.is-pending::before,
.clc-assignment-card.is-revision::before {
	background: linear-gradient(90deg, #1769d2, #52a3ff);
}

.clc-assignment-card.is-submitted::before,
.clc-assignment-card.is-reviewing::before {
	background: #7764d8;
}

.clc-assignment-card.is-passed::before,
.clc-assignment-card.is-excellent::before {
	background: #24a565;
}

.clc-assignment-card.is-missed::before,
.clc-assignment-card.is-penalized::before,
.clc-assignment-card.is-failed::before {
	background: #d14a55;
}

.clc-assignment-card:hover {
	border-color: #adcbed;
	box-shadow: 0 18px 42px rgba(25, 53, 83, .105);
	transform: translateY(-3px);
}

.clc-assignment-card.is-penalized,
.clc-assignment-card.is-missed {
	background: linear-gradient(145deg, #fff7f7, #fff 54%);
}

.clc-assignment-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: #2865a1;
	font-size: 11px;
	font-weight: 800;
}

.clc-assignment-meta > span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.clc-assignment-meta em,
.clc-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-height: 25px;
	padding: 4px 9px;
	border-radius: 999px;
	background: #edf3f8;
	color: #52667b;
	font-size: 11px;
	font-style: normal;
	font-weight: 800;
}

.clc-assignment-meta em.is-pending,
.clc-status.is-pending,
.clc-status.is-submitted {
	background: #e6f0ff;
	color: #105ab9;
}

.clc-assignment-meta em.is-revision,
.clc-status.is-revision {
	background: #fff0cf;
	color: #966000;
}

.clc-assignment-meta em.is-passed,
.clc-assignment-meta em.is-excellent,
.clc-status.is-passed,
.clc-status.is-excellent {
	background: #e1f7e9;
	color: #177244;
}

.clc-assignment-meta em.is-submitted,
.clc-assignment-meta em.is-reviewing,
.clc-status.is-reviewing {
	background: #ece8ff;
	color: #5f4eb6;
}

.clc-assignment-meta em.is-missed,
.clc-assignment-meta em.is-penalized,
.clc-status.is-missed,
.clc-status.is-penalized,
.clc-status.is-failed {
	background: #ffe3e5;
	color: #b42e39;
}

.clc-assignment-card h3 {
	margin: 17px 0 8px;
	color: #172b42;
	font-size: 20px;
	line-height: 1.35;
}

.clc-assignment-card > p {
	margin: 0;
	color: var(--clc-muted);
	font-size: 13px;
	line-height: 1.75;
}

.clc-assignment-rewards {
	display: flex;
	align-items: center;
	gap: 7px;
	flex-wrap: wrap;
	margin-top: 15px;
}

.clc-assignment-rewards span {
	padding: 5px 8px;
	border-radius: 8px;
	background: #eaf7ef;
	color: #1b7548;
	font-size: 11px;
	font-weight: 800;
}

.clc-assignment-rewards span.is-penalty {
	background: #fff0f1;
	color: #b33640;
}

.clc-assignment-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 17px;
	border-top: 1px solid #edf1f5;
	color: #78899c;
	font-size: 12px;
}

.clc-assignment-bottom a,
.clc-table-link,
.clc-back {
	color: var(--clc-blue) !important;
	font-weight: 800;
	text-decoration: none !important;
}

.clc-empty,
.clc-login-required {
	text-align: center;
}

.clc-empty {
	grid-column: 1 / -1;
	padding: 42px 24px;
	border: 1px dashed #bfd0e2;
	border-radius: 17px;
	background: linear-gradient(145deg, #f8fbfe, #fff);
}

.clc-empty-icon,
.clc-login-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin-bottom: 12px;
	border-radius: 16px;
	background: #e5f0fd;
	color: #1763b7;
	font-size: 20px;
	font-weight: 900;
}

.clc-empty h3,
.clc-login-required h2 {
	margin: 0 0 7px;
}

.clc-empty p,
.clc-login-required p {
	margin: 0 0 18px;
	color: var(--clc-muted);
}

.clc-login-required {
	max-width: 720px;
	margin: 45px auto;
	padding: 48px 30px;
	border: 1px solid var(--clc-line);
	border-radius: 22px;
	background: linear-gradient(145deg, #f4f9ff, #fff);
	box-shadow: var(--clc-shadow);
}

.clc-notice {
	margin: 15px 0;
	padding: 12px 15px;
	border-radius: 11px;
	font-size: 13px;
}

.clc-notice.is-success {
	border: 1px solid #bfe7ce;
	background: #eaf8ef;
	color: #176d3d;
}

.clc-notice.is-error {
	border: 1px solid #efc5c8;
	background: #fff0f1;
	color: #a52a35;
}

.clc-assignment-detail {
	padding-top: 8px;
}

.clc-detail-head {
	position: relative;
	overflow: hidden;
	margin-bottom: 16px;
	padding: clamp(22px, 3vw, 32px);
	border: 1px solid #d7e4f2;
	border-radius: 21px;
	background: linear-gradient(135deg, #f1f7ff, #f9fbfe 58%, #eef6ff);
}

.clc-detail-course {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.clc-detail-course > span {
	color: var(--clc-blue);
	font-size: 12px;
	font-weight: 850;
}

.clc-detail-head h1 {
	margin: 8px 0 16px;
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.25;
}

.clc-detail-head > div:last-child {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.clc-detail-head > div:last-child em {
	padding: 6px 10px;
	border: 1px solid #dae6f1;
	border-radius: 999px;
	background: #fff;
	color: #5b6f83;
	font-size: 11px;
	font-style: normal;
}

.clc-detail-head > div:last-child em.is-penalty {
	border-color: #f2c8cc;
	background: #fff1f2;
	color: #b3313b;
}

.clc-detail-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(320px, .8fr);
	gap: 17px;
	align-items: start;
}

.clc-detail-content,
.clc-submit-card,
.clc-result-card {
	padding: 22px;
	border: 1px solid var(--clc-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(26, 48, 86, .05);
}

.clc-detail-content {
	min-height: 300px;
	font-size: 15px;
	line-height: 1.85;
}

.clc-detail-content h2,
.clc-submit-card h2 {
	margin-top: 0;
}

.clc-submit-card {
	margin-top: 13px;
}

.clc-submit-card p {
	margin: 0 0 15px;
}

.clc-submit-card label {
	display: block;
	margin-bottom: 7px;
	color: #273d55;
}

.clc-submit-card textarea,
.clc-submit-card input[type="url"],
.clc-submit-card input[type="file"] {
	width: 100%;
	padding: 11px;
	border: 1px solid #cad7e4;
	border-radius: 10px;
	background: #fff;
	font: inherit;
}

.clc-submit-card textarea:focus,
.clc-submit-card input:focus {
	border-color: #6aa2e4;
	box-shadow: 0 0 0 3px rgba(48, 124, 216, .11);
	outline: none;
}

.clc-submit-card small {
	display: block;
	margin-top: 6px;
	color: #748499;
}

.clc-result-card {
	border-color: rgba(80, 142, 220, .35);
	background:
		radial-gradient(circle at 90% 5%, rgba(91, 164, 255, .34), transparent 28%),
		linear-gradient(145deg, #07142d, #103b7f);
	color: #fff;
}

.clc-result-card > span {
	font-size: 11px;
	opacity: .72;
}

.clc-result-card > strong {
	display: block;
	margin: 6px 0;
	font-size: 34px;
	line-height: 1.1;
}

.clc-result-card p {
	margin: 0;
	color: #d8e8ff;
}

.clc-result-card blockquote {
	margin: 16px 0 0;
	padding-left: 13px;
	border-left: 3px solid #63a0ff;
	color: #eef5ff;
}

.clc-table-wrap {
	overflow: hidden;
	border: 1px solid var(--clc-line);
	border-radius: 17px;
	background: #fff;
	box-shadow: 0 9px 28px rgba(23, 51, 80, .05);
}

.clc-table {
	width: 100%;
	border-collapse: collapse;
}

.clc-table th,
.clc-table td {
	padding: 14px 16px;
	border-bottom: 1px solid #e8eef4;
	text-align: left;
	vertical-align: middle;
}

.clc-table th {
	background: #f5f8fb;
	color: #64768a;
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .02em;
}

.clc-table tr:last-child td {
	border-bottom: 0;
}

.clc-table tbody tr:hover td {
	background: #fbfdff;
}

.clc-late-mark {
	display: inline-block;
	margin-left: 7px;
	padding: 2px 6px;
	border-radius: 6px;
	background: #fff0f1;
	color: #b33540;
	font-size: 10px;
	font-weight: 800;
}

.clc-score-list {
	display: grid;
	gap: 13px;
}

.clc-score-list article {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 22px;
	padding: 19px 20px;
	border: 1px solid var(--clc-line);
	border-radius: 17px;
	background: #fff;
	box-shadow: 0 9px 28px rgba(23, 51, 80, .05);
}

.clc-score-list article:hover {
	border-color: #b9d2ed;
}

.clc-score-list article > div > span {
	color: var(--clc-blue);
	font-size: 11px;
	font-weight: 850;
}

.clc-score-list h3 {
	margin: 5px 0;
	font-size: 18px;
}

.clc-score-list p {
	margin: 7px 0;
	color: var(--clc-muted);
	line-height: 1.65;
}

.clc-score-list small {
	color: #7b8a9c;
}

.clc-score-number {
	min-width: 118px;
	text-align: right;
}

.clc-score-number strong {
	display: block;
	color: #173d67;
	font-size: 36px;
	line-height: 1;
}

.clc-score-number span,
.clc-score-number em {
	display: block;
	color: #738397;
	font-style: normal;
}

.clc-score-number em {
	margin-top: 8px;
	color: var(--clc-success);
	font-weight: 850;
}

.clc-points-overview {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 14px;
}

.clc-points-overview article {
	padding: 17px 19px;
	border: 1px solid var(--clc-line);
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(22, 51, 80, .045);
}

.clc-points-overview span {
	display: block;
	color: #748498;
	font-size: 11px;
	font-weight: 750;
}

.clc-points-overview strong {
	display: block;
	margin-top: 4px;
	color: #153d69;
	font-size: 26px;
	font-variant-numeric: tabular-nums;
}

.clc-points-overview strong.is-positive,
.clc-plus {
	color: var(--clc-success);
}

.clc-points-overview strong.is-negative,
.clc-minus {
	color: var(--clc-danger);
}

.clc-leaderboard-section {
	margin-top: 31px;
}

.clc-my-rank {
	display: grid;
	grid-template-columns: auto auto 1fr;
	align-items: center;
	gap: 18px;
	margin-bottom: 14px;
	padding: 18px 22px;
	border-radius: 17px;
	background: linear-gradient(135deg, #07142d, #123f87);
	box-shadow: 0 14px 34px rgba(7,20,45,.14);
	color: #fff;
}

.clc-my-rank.is-negative {
	background: linear-gradient(135deg, #4c1019, #8e2632);
}

.clc-my-rank > div {
	min-width: 105px;
}

.clc-my-rank span {
	display: block;
	color: rgba(255,255,255,.68);
	font-size: 11px;
	letter-spacing: .08em;
}

.clc-my-rank strong {
	display: block;
	color: #fff;
	font-size: 24px;
	line-height: 1.2;
}

.clc-my-rank p {
	margin: 0;
	color: rgba(255,255,255,.84);
	text-align: right;
}

.clc-my-rank p strong {
	display: inline;
	color: #ffd979;
	font-size: inherit;
}

.clc-leaderboard {
	overflow: hidden;
	border: 1px solid var(--clc-line);
	border-radius: 17px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(26,48,86,.05);
}

.clc-leaderboard-head,
.clc-leaderboard-row {
	display: grid;
	grid-template-columns: 86px minmax(220px,1fr) 150px 130px;
	align-items: center;
	gap: 12px;
}

.clc-leaderboard-head {
	padding: 11px 18px;
	background: #f4f7fb;
	color: #6a7a8c;
	font-size: 11px;
	font-weight: 850;
}

.clc-leaderboard-row {
	min-height: 74px;
	padding: 11px 18px;
	border-top: 1px solid #e8edf3;
}

.clc-leaderboard-row:hover {
	background: #f8fbff;
}

.clc-leaderboard-row.is-me {
	background: #edf5ff;
	box-shadow: inset 4px 0 0 var(--clc-blue);
}

.clc-leaderboard-row.is-negative .clc-rank-points strong {
	color: var(--clc-danger);
}

.clc-rank-number {
	font-size: 24px;
	text-align: center;
}

.clc-rank-number strong {
	color: #53677d;
	font-size: 17px;
}

.clc-rank-learner {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.clc-rank-learner img {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border: 2px solid #e0e9f3;
	border-radius: 50%;
	object-fit: cover;
}

.clc-rank-learner > div {
	display: flex;
	align-items: center;
	gap: 7px;
	min-width: 0;
}

.clc-rank-learner strong {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.clc-rank-learner em {
	padding: 2px 7px;
	border-radius: 999px;
	background: var(--clc-blue);
	color: #fff;
	font-size: 10px;
	font-style: normal;
	font-weight: 850;
}

.clc-rank-level {
	display: inline-flex;
	padding: 5px 9px;
	border-radius: 999px;
	background: #eef3f8;
	color: #52657b;
	font-size: 11px;
	font-weight: 750;
}

.clc-rank-points {
	text-align: right;
}

.clc-rank-points strong {
	color: #0c3470;
	font-size: 20px;
	font-variant-numeric: tabular-nums;
}

.clc-rank-points span {
	margin-left: 4px;
	color: #78889a;
	font-size: 11px;
}

.clc-leaderboard-row.rank-1 {
	background: linear-gradient(90deg,#fffaf0,#fff);
}

.clc-leaderboard-row.rank-2 {
	background: linear-gradient(90deg,#f6f8fb,#fff);
}

.clc-leaderboard-row.rank-3 {
	background: linear-gradient(90deg,#fff7f1,#fff);
}

.clc-leaderboard-row.is-me.rank-1,
.clc-leaderboard-row.is-me.rank-2,
.clc-leaderboard-row.is-me.rank-3 {
	box-shadow: inset 4px 0 0 var(--clc-blue);
}

.clc-rank-pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	flex-wrap: wrap;
	margin-top: 15px;
}

.clc-rank-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid var(--clc-line);
	border-radius: 9px;
	background: #fff;
	color: #52657b;
	text-decoration: none;
}

.clc-rank-pagination .page-numbers.current {
	border-color: var(--clc-blue);
	background: var(--clc-blue);
	color: #fff;
}

@media (max-width: 1020px) {
	.clc-center-hero {
		align-items: flex-start;
	}
	.clc-hero-side {
		flex-direction: column;
	}
	.clc-summary-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.clc-center {
		padding-inline: 4px;
	}
	.clc-center-hero {
		flex-direction: column;
	}
	.clc-hero-side {
		width: 100%;
		flex-direction: row;
	}
	.clc-balance-card {
		flex: 1 1 auto;
	}
	.clc-hero-actions {
		flex: 1 1 auto;
	}
	.clc-assignment-grid,
	.clc-detail-grid {
		grid-template-columns: 1fr;
	}
	.clc-section-title {
		align-items: flex-start;
		flex-direction: column;
	}
	.clc-section-title p {
		text-align: left;
	}
}

@media (max-width: 760px) {
	.clc-tabs {
		display: flex;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.clc-tabs::-webkit-scrollbar {
		display: none;
	}
	.clc-tabs a {
		flex: 0 0 auto;
		min-width: 125px;
	}
	.clc-table-wrap {
		overflow: visible;
		border: 0;
		background: transparent;
		box-shadow: none;
	}
	.clc-table,
	.clc-table tbody,
	.clc-table tr,
	.clc-table td {
		display: block;
		width: 100%;
	}
	.clc-table thead {
		display: none;
	}
	.clc-table tr {
		margin-bottom: 12px;
		padding: 13px 15px;
		border: 1px solid var(--clc-line);
		border-radius: 14px;
		background: #fff;
		box-shadow: 0 7px 22px rgba(23, 51, 80, .045);
	}
	.clc-table td {
		display: grid;
		grid-template-columns: 92px minmax(0, 1fr);
		gap: 10px;
		padding: 7px 0;
		border: 0;
	}
	.clc-table td::before {
		content: attr(data-label);
		color: #78889a;
		font-size: 11px;
		font-weight: 800;
	}
	.clc-table td[colspan] {
		display: block;
	}
	.clc-table td[colspan]::before {
		display: none;
	}
	.clc-my-rank {
		grid-template-columns: 1fr 1fr;
	}
	.clc-my-rank p {
		grid-column: 1 / -1;
		text-align: left;
	}
	.clc-leaderboard-head {
		display: none;
	}
	.clc-leaderboard-row {
		grid-template-columns: 48px minmax(0,1fr) auto;
		padding: 12px 14px;
	}
	.clc-leaderboard-row > div:nth-child(3) {
		display: none;
	}
	.clc-rank-number {
		text-align: left;
	}
	.clc-rank-points {
		grid-column: 3;
		text-align: right;
	}
	.clc-rank-learner img {
		width: 44px;
		height: 44px;
		flex-basis: 44px;
	}
}

@media (max-width: 620px) {
	.clc-center-hero {
		padding: 22px 19px;
		border-radius: 19px;
	}
	.clc-profile-block {
		align-items: flex-start;
		gap: 14px;
	}
	.clc-profile-avatar,
	.clc-profile-avatar img {
		width: 72px;
		height: 72px;
		flex-basis: 72px;
	}
	.clc-profile-avatar span {
		right: 1px;
		bottom: 2px;
	}
	.clc-center-hero h1 {
		font-size: 23px;
	}
	.clc-profile-meta span:last-child {
		display: none;
	}
	.clc-hero-side {
		flex-direction: column;
	}
	.clc-hero-actions {
		flex-direction: row;
	}
	.clc-hero-actions .clc-button {
		flex: 1 1 auto;
		padding-inline: 10px;
		font-size: 12px;
	}
	.clc-summary-grid {
		grid-template-columns: 1fr 1fr;
		gap: 9px;
	}
	.clc-summary-card {
		align-items: flex-start;
		padding: 13px;
	}
	.clc-summary-icon {
		width: 34px;
		height: 34px;
		flex-basis: 34px;
		border-radius: 10px;
		font-size: 14px;
	}
	.clc-summary-card strong {
		font-size: 21px;
	}
	.clc-summary-card em {
		display: none;
	}
	.clc-policy-banner {
		align-items: flex-start;
		flex-direction: column;
	}
	.clc-assignment-card {
		min-height: 225px;
		padding: 18px;
	}
	.clc-detail-head {
		padding: 19px;
	}
	.clc-detail-head h1 {
		font-size: 24px;
	}
	.clc-score-list article {
		grid-template-columns: 1fr;
	}
	.clc-score-number {
		display: flex;
		align-items: baseline;
		gap: 6px;
		min-width: 0;
		text-align: left;
	}
	.clc-score-number strong,
	.clc-score-number span,
	.clc-score-number em {
		display: inline;
	}
	.clc-points-overview {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 430px) {
	.clc-center {
		padding-inline: 0;
	}
	.clc-center-hero {
		border-radius: 16px;
	}
	.clc-profile-avatar,
	.clc-profile-avatar img {
		width: 62px;
		height: 62px;
		flex-basis: 62px;
	}
	.clc-eyebrow {
		font-size: 9px;
	}
	.clc-center-hero h1 {
		font-size: 20px;
	}
	.clc-summary-card {
		gap: 8px;
	}
	.clc-summary-card small {
		font-size: 10px;
	}
	.clc-tabs a {
		min-width: 112px;
		padding-inline: 10px;
	}
	.clc-assignment-meta {
		align-items: flex-start;
		flex-direction: column;
	}
	.clc-assignment-bottom {
		align-items: flex-start;
		flex-direction: column;
	}
	.clc-my-rank {
		gap: 12px;
		padding: 16px;
	}
	.clc-my-rank strong {
		font-size: 21px;
	}
	.clc-leaderboard-row {
		grid-template-columns: 38px minmax(0,1fr) auto;
		gap: 8px;
	}
	.clc-rank-number {
		font-size: 21px;
	}
	.clc-rank-points strong {
		font-size: 17px;
	}
	.clc-rank-points span {
		display: block;
		margin: 0;
	}
	.clc-rank-learner {
		gap: 8px;
	}
	.clc-rank-learner img {
		width: 40px;
		height: 40px;
		flex-basis: 40px;
	}
}

/* Charta Learning Center 1.0.4: messages, teacher feedback and encouragement. */
.clc-message-center{position:relative;margin:18px 0;padding:20px;border:1px solid #dbe7f4;border-radius:18px;background:linear-gradient(135deg,#f8fbff,#fff);box-shadow:0 12px 32px rgba(26,63,101,.07);overflow:hidden}.clc-message-center.has-unread{border-color:#a9c9ef;background:linear-gradient(135deg,#eef7ff,#fff 65%)}.clc-message-center:before{content:"";position:absolute;right:-60px;top:-80px;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,rgba(46,132,255,.15),transparent 68%);pointer-events:none}.clc-message-center__head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}.clc-message-center__head span{display:block;color:#3977bb;font-size:10px;font-weight:900;letter-spacing:.16em}.clc-message-center__head h2{display:flex;align-items:center;gap:8px;margin:4px 0 0;font-size:20px}.clc-message-center__head h2 b{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px}.clc-message-center__head>a{position:relative;color:#1769c2;font-size:12px;font-weight:800;text-decoration:none}.clc-message-center__head em{position:relative;color:#77879a;font-size:12px;font-style:normal}.clc-message-list{position:relative;display:grid;gap:9px}.clc-message-list article{display:grid;grid-template-columns:38px 1fr;gap:12px;padding:12px 14px;border:1px solid #e3ebf4;border-radius:13px;background:rgba(255,255,255,.88)}.clc-message-list article.is-unread{border-color:#b8d6f5;background:#fff;box-shadow:inset 4px 0 0 #2784e8}.clc-message-icon{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:12px;background:#e9f4ff;color:#1769c2;font-weight:900}.clc-message-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.clc-message-title strong{color:#173b61}.clc-message-title span{flex:0 0 auto;padding:4px 8px;border-radius:999px;background:#e7f8ee;color:#148144;font-size:12px;font-weight:900}.clc-message-list p{margin:4px 0;color:#526b83;font-size:13px}.clc-message-list small{color:#8795a5}.clc-message-center.is-empty>p{margin:0;color:#718297}
.clc-my-work-list{display:grid;gap:16px}.clc-my-work-card{position:relative;padding:20px;border:1px solid #dfe8f1;border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(20,52,84,.06);overflow:hidden}.clc-my-work-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#7ca9d5}.clc-my-work-card.is-passed:before{background:#34a864}.clc-my-work-card.is-excellent:before{background:linear-gradient(#f4c542,#f08f36)}.clc-my-work-card.is-revision:before{background:#ed9c2b}.clc-my-work-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.clc-my-work-card header span{display:block;color:#7890a8;font-size:11px;font-weight:800}.clc-my-work-card h3{margin:5px 0 0;font-size:19px;color:#173b61}.clc-my-work-meta{display:flex;gap:16px;flex-wrap:wrap;margin:12px 0;color:#73869a;font-size:12px}.clc-teacher-feedback{display:grid;grid-template-columns:120px 1fr;gap:14px;margin-top:14px;padding:15px;border:1px solid #dce9f5;border-radius:14px;background:#f7fbff}.clc-feedback-score{display:flex;flex-direction:column;align-items:center;justify-content:center;border-right:1px solid #dbe6f0}.clc-feedback-score strong{color:#1769c2;font-size:32px;line-height:1}.clc-feedback-score span{margin-top:5px;color:#77889a;font-size:12px}.clc-feedback-score em{margin-top:8px;color:#168044;font-size:12px;font-style:normal;font-weight:900}.clc-teacher-feedback blockquote{margin:0;padding:0;border:0}.clc-teacher-feedback blockquote b{display:block;margin-bottom:7px;color:#274b6f}.clc-teacher-feedback blockquote p{margin:0;color:#4f657b;line-height:1.75}.clc-awaiting-review{display:flex;align-items:center;gap:12px;margin-top:14px;padding:14px;border-radius:14px;background:#f7f9fc;color:#536a80}.clc-awaiting-review>span{font-size:25px}.clc-awaiting-review strong{display:block;color:#294a6b}.clc-awaiting-review p{margin:3px 0 0;font-size:12px}.clc-my-work-card footer{display:flex;justify-content:flex-end;margin-top:14px;padding-top:12px;border-top:1px solid #edf1f5}
.clc-result-card blockquote b{display:block;margin-bottom:6px;font-size:12px;letter-spacing:.06em}.clc-encouragement{position:relative;margin-top:14px;padding:12px 14px;border:1px solid #ccebd7;border-radius:13px;background:linear-gradient(135deg,#effcf4,#fff);color:#1b7742;text-align:center;overflow:hidden}.clc-encouragement.is-excellent{border-color:#f1d68b;background:linear-gradient(135deg,#fff7d9,#fff);color:#9a6500}.clc-cheer-burst{position:absolute;inset:0;pointer-events:none}.clc-cheer-burst i{position:absolute;left:50%;top:55%;font-size:20px;font-style:normal;opacity:0;transform:translate(-50%,-50%) scale(.3)}.clc-encouragement.is-playing .clc-cheer-burst i{animation:clc-cheer-fly 2.8s ease-out forwards}.clc-cheer-burst i:nth-child(1){--x:-125px;--y:-65px}.clc-cheer-burst i:nth-child(2){--x:-82px;--y:-95px;animation-delay:.08s!important}.clc-cheer-burst i:nth-child(3){--x:-35px;--y:-75px;animation-delay:.16s!important}.clc-cheer-burst i:nth-child(4){--x:20px;--y:-100px;animation-delay:.24s!important}.clc-cheer-burst i:nth-child(5){--x:65px;--y:-72px;animation-delay:.32s!important}.clc-cheer-burst i:nth-child(6){--x:112px;--y:-94px;animation-delay:.4s!important}.clc-cheer-burst i:nth-child(7){--x:-102px;--y:-115px;animation-delay:.48s!important}.clc-cheer-burst i:nth-child(8){--x:96px;--y:-125px;animation-delay:.56s!important}@keyframes clc-cheer-fly{0%{opacity:0;transform:translate(-50%,-30%) scale(.25) rotate(0)}18%{opacity:1}100%{opacity:0;transform:translate(calc(-50% + var(--x)),calc(-50% + var(--y))) scale(1.2) rotate(22deg)}}
.clc-media-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.clc-media-item{margin:0;border:1px solid #dfe7ef;border-radius:14px;background:#fff;overflow:hidden}.clc-media-item button{display:block;width:100%;padding:0;border:0;background:#eff4f9;cursor:zoom-in}.clc-media-item img,.clc-media-item video{display:block;width:100%;height:auto;max-height:460px;object-fit:contain;background:#0d1722}.clc-media-item.is-image img{aspect-ratio:4/3;object-fit:cover}.clc-media-item figcaption{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px}.clc-media-item figcaption strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.clc-media-item figcaption a{flex:0 0 auto;color:#1769c2;font-size:11px;font-weight:800;text-decoration:none}.clc-lightbox{position:fixed;z-index:100000;inset:0;display:none;align-items:center;justify-content:center;padding:34px;background:rgba(4,12,22,.92)}.clc-lightbox.is-open{display:flex}.clc-lightbox__stage{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.clc-lightbox__stage img{max-width:96vw;max-height:92vh;object-fit:contain;border-radius:10px;box-shadow:0 25px 80px rgba(0,0,0,.4)}.clc-lightbox__close{position:absolute;right:22px;top:18px;width:44px;height:44px;border:1px solid rgba(255,255,255,.35);border-radius:50%;background:rgba(0,0,0,.35);color:#fff;font-size:30px;line-height:1;cursor:pointer}.clc-lightbox-open{overflow:hidden}
@media(max-width:720px){.clc-message-center{padding:16px}.clc-message-center__head{align-items:flex-start}.clc-message-title{align-items:flex-start;flex-direction:column;gap:5px}.clc-teacher-feedback{grid-template-columns:1fr}.clc-feedback-score{align-items:flex-start;border-right:0;border-bottom:1px solid #dbe6f0;padding-bottom:12px}.clc-feedback-score{flex-direction:row;justify-content:flex-start;gap:7px}.clc-feedback-score em{margin:0 0 0 auto}.clc-media-gallery{grid-template-columns:1fr}.clc-my-work-card header{flex-direction:column}.clc-lightbox{padding:16px}.clc-lightbox__close{right:10px;top:10px}}
@media(prefers-reduced-motion:reduce){.clc-cheer-burst i{animation:none!important}.clc-encouragement{scroll-behavior:auto}}

/* ========================================================================
 * Charta Learning Center 1.0.5 — tablet and phone refinement
 * ===================================================================== */
@media (max-width: 1024px) {
	.clc-center {
		width: 100%;
		padding-right: 0;
		padding-left: 0;
	}

	.clc-center-hero {
		gap: 20px;
		padding: 28px;
	}

	.clc-summary-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.clc-detail-grid {
		grid-template-columns: 1fr;
	}

	.clc-result-card {
		position: static;
	}
}

@media (max-width: 820px) {
	.clc-center-hero {
		align-items: flex-start;
		flex-direction: column;
		min-height: 0;
	}

	.clc-profile-block,
	.clc-hero-side {
		width: 100%;
	}

	.clc-hero-side {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.clc-balance-card {
		min-width: 0;
	}

	.clc-hero-actions {
		min-width: 145px;
	}

	.clc-assignment-grid,
	.clc-media-gallery {
		grid-template-columns: 1fr;
	}

	.clc-table-wrap {
		margin-right: -4px;
		margin-left: -4px;
		padding-bottom: 6px;
	}

	.clc-table {
		min-width: 720px;
	}

	.clc-leaderboard-head,
	.clc-leaderboard-row {
		grid-template-columns: 58px minmax(190px, 1fr) 110px;
	}
}

@media (max-width: 700px) {
	.clc-center-hero {
		padding: 22px;
		border-radius: 19px;
	}

	.clc-profile-block {
		align-items: center;
		gap: 14px;
	}

	.clc-profile-avatar,
	.clc-profile-avatar img {
		width: 74px;
		height: 74px;
		flex-basis: 74px;
	}

	.clc-center-hero h1 {
		font-size: clamp(22px, 6.4vw, 29px);
	}

	.clc-hero-side {
		grid-template-columns: 1fr;
	}

	.clc-hero-actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		min-width: 0;
	}

	.clc-summary-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.clc-summary-card {
		align-items: flex-start;
		min-height: 126px;
		padding: 14px;
	}

	.clc-summary-icon {
		flex-basis: 36px;
		width: 36px;
		height: 36px;
	}

	.clc-tabs {
		display: flex;
		justify-content: flex-start;
		overflow-x: auto;
		gap: 7px;
		padding: 7px;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
	}

	.clc-tabs a {
		flex: 0 0 auto;
		min-width: max-content;
		padding: 10px 13px;
		scroll-snap-align: start;
	}

	.clc-policy-banner,
	.clc-assignment-bottom,
	.clc-detail-course,
	.clc-message-center__head,
	.clc-my-work-card header,
	.clc-score-list article,
	.clc-points-overview {
		align-items: flex-start;
		flex-direction: column;
	}

	.clc-assignment-bottom a,
	.clc-button,
	.clc-submit-card button,
	.clc-hero-actions .clc-button {
		width: 100%;
		box-sizing: border-box;
	}

	.clc-assignment-card,
	.clc-detail-content,
	.clc-submit-card,
	.clc-result-card,
	.clc-my-work-card,
	.clc-message-center,
	.clc-leaderboard-section {
		padding: 16px;
		border-radius: 15px;
	}

	.clc-teacher-feedback {
		grid-template-columns: 1fr;
	}

	.clc-feedback-score {
		align-items: flex-start;
		flex-direction: row;
		justify-content: flex-start;
		gap: 8px;
		padding-bottom: 12px;
		border-right: 0;
		border-bottom: 1px solid #dbe6f0;
	}

	.clc-feedback-score em {
		margin: 0 0 0 auto;
	}

	.clc-leaderboard {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.clc-leaderboard-head,
	.clc-leaderboard-row {
		min-width: 560px;
	}

	.clc-lightbox {
		padding: 14px;
	}

	.clc-lightbox__close {
		top: 10px;
		right: 10px;
	}
}

@media (max-width: 520px) {
	.clc-center {
		padding-top: 4px;
		padding-bottom: 28px;
	}

	.clc-center-hero {
		padding: 18px;
	}

	.clc-profile-block {
		align-items: flex-start;
	}

	.clc-profile-avatar,
	.clc-profile-avatar img {
		width: 64px;
		height: 64px;
		flex-basis: 64px;
	}

	.clc-profile-meta span:nth-child(n+2) {
		display: none;
	}

	.clc-hero-actions {
		grid-template-columns: 1fr;
	}

	.clc-summary-grid {
		grid-template-columns: 1fr;
	}

	.clc-summary-card {
		min-height: 0;
	}

	.clc-assignment-card h3,
	.clc-my-work-card h3 {
		font-size: 18px;
	}

	.clc-assignment-meta,
	.clc-assignment-bottom,
	.clc-my-work-meta {
		gap: 8px;
	}

	.clc-detail-head {
		padding: 18px;
	}

	.clc-detail-head h1 {
		font-size: 24px;
	}

	.clc-submit-card input[type="file"] {
		font-size: 12px;
	}

	.clc-message-list article {
		grid-template-columns: 32px 1fr;
		gap: 9px;
		padding: 11px;
	}

	.clc-message-icon {
		width: 32px;
		height: 32px;
		border-radius: 9px;
	}

	.clc-message-title {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
	}

	.clc-login-required {
		margin: 20px auto;
		padding: 30px 18px;
	}
}

@media (hover: none) {
	.clc-summary-card:hover,
	.clc-assignment-card:hover,
	.clc-score-list article:hover,
	.clc-leaderboard-row:hover {
		transform: none;
	}
}

/* 1.1.0: class labels, scoring breakdown and version history */
.clc-version-history{margin-top:26px}.clc-version-timeline{position:relative;display:grid;gap:14px;padding-left:8px}.clc-version-timeline:before{content:"";position:absolute;left:23px;top:14px;bottom:14px;width:2px;background:linear-gradient(#3b82f6,#8b5cf6)}.clc-version-timeline article{position:relative;display:grid;grid-template-columns:32px minmax(0,1fr);gap:14px}.clc-version-dot{position:relative;z-index:2;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#1d4ed8;color:#fff;font-weight:800;box-shadow:0 0 0 5px #eff6ff}.clc-version-timeline article>div{padding:15px 17px;border:1px solid #dce7f3;border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.05)}.clc-version-timeline header{display:flex;justify-content:space-between;gap:10px;align-items:center}.clc-version-timeline header em{font-style:normal;color:#64748b;font-size:13px}.clc-version-review{display:grid;gap:7px;margin-top:10px;padding:11px 13px;border-radius:11px;background:#f4f9ff}.clc-version-review span{color:#475569}.clc-version-pending{display:inline-block;margin-top:8px;color:#64748b}.clc-rubric-breakdown{display:grid;gap:7px;margin-top:12px;padding:12px 14px;border-radius:12px;background:rgba(239,246,255,.8);border:1px solid #dbeafe}.clc-rubric-breakdown h4{margin:0 0 2px;font-size:14px}.clc-rubric-breakdown>div{display:flex;justify-content:space-between;gap:12px;padding-top:6px;border-top:1px dashed #bfdbfe}.clc-rubric-breakdown strong{white-space:nowrap}.clc-message-list article:has(.clc-message-icon){transition:transform .2s ease,box-shadow .2s ease}.clc-message-list article:hover{transform:translateY(-2px)}
@media(max-width:640px){.clc-version-timeline{padding-left:0}.clc-version-timeline:before{left:15px}.clc-version-timeline article{grid-template-columns:30px minmax(0,1fr);gap:9px}.clc-version-dot{width:30px;height:30px}.clc-version-timeline header{align-items:flex-start;flex-direction:column}.clc-rubric-breakdown>div{font-size:13px}}

/* 1.1.0 — class membership chips in the learning-center hero */
.clc-profile-classes{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}
.clc-profile-classes strong{font-size:12px;letter-spacing:.04em;color:rgba(255,255,255,.7);font-weight:600}
.clc-profile-classes span{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.09);color:#fff;font-size:12px;line-height:1.2;backdrop-filter:blur(8px)}
@media (max-width:640px){.clc-profile-classes{justify-content:center}.clc-profile-classes strong{width:100%;text-align:center}.clc-profile-classes span{font-size:11px}}
