.cql-wrap {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	max-width: 860px; margin: 22px auto; color: #1f2937;
}
.cql-wrap * { box-sizing: border-box; }

.cql-row {
	display: flex; align-items: center; gap: 16px;
	padding: 14px 18px; margin-bottom: 10px; border-radius: 10px;
	border: 1px solid #e2e6ee; background: #eceff4;
}
.cql-title { flex: 1; font-size: 15.5px; font-weight: 700; line-height: 1.35; color: #1f2c47; }
.cql-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

/* Lessons — brand navy, stands out as the section header */
.cql-row.cql-lesson {
	background: #1f2c47; border-color: #1f2c47;
	box-shadow: 0 3px 12px rgba(20, 30, 60, .18);
}
.cql-lesson .cql-title { color: #fff; }
.cql-lesson .cql-percent { color: #c9d6ea; }

/* Practice — light gray */
.cql-row.cql-practice { background: #eceff4; }

/* Completed accent */
.cql-row.cql-done { border-left: 4px solid #1F9D6B; }
.cql-row.cql-lesson.cql-done { border-left-color: #38c98d; }

.cql-percent {
	font-size: 14.5px; font-weight: 700; color: #33465F;
	font-variant-numeric: tabular-nums; white-space: nowrap;
}

.cql-btn {
	display: inline-block; text-decoration: none; white-space: nowrap;
	min-width: 92px; text-align: center;
	padding: 9px 18px; border-radius: 8px;
	font-size: 14.5px; font-weight: 700;
	background: #fff; color: #15784F; border: 1px solid #cfd8e5;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.cql-btn:hover { background: #1F9D6B; color: #fff; border-color: #1F9D6B; }
.cql-lesson .cql-btn { border-color: #fff; }
.cql-lesson .cql-btn:hover { background: #1F9D6B; border-color: #1F9D6B; color: #fff; }

.cql-done .cql-btn { color: #14456f; }
.cql-done .cql-btn:hover { background: #1f2c47; border-color: #1f2c47; color: #fff; }

.cql-btn-off { opacity: .5; cursor: not-allowed; }
.cql-btn-off:hover { background: #fff; color: #15784F; border-color: #cfd8e5; }

.cql-msg {
	padding: 18px 22px; background: #f3f6fb; border: 1px solid #e2e8f2;
	border-radius: 10px; text-align: center; color: #374151;
}

@media (max-width: 600px) {
	.cql-row { flex-wrap: wrap; gap: 10px; padding: 13px 15px; }
	.cql-title { flex: 1 1 100%; font-size: 15px; }
	.cql-right { width: 100%; justify-content: flex-start; }
	.cql-btn { min-width: 84px; padding: 8px 15px; }
}

/* ---- Plain heading rows ---- */
.cql-heading {
	margin: 26px 0 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid #1f2c47;
	font-size: 18px;
	font-weight: 800;
	color: #14233d;
	letter-spacing: .2px;
}
.cql-wrap > .cql-heading:first-child { margin-top: 0; }

/* ---- SAT test rows ---- */
.cql-sat {
	background: #1f2c47;
	border-radius: 12px;
	padding: 20px 22px;
	margin-bottom: 14px;
	text-align: center;
	box-shadow: 0 5px 18px rgba(20, 30, 60, .2);
}
.cql-sat-title {
	font-size: 16px; font-weight: 700; color: #fff;
	margin-bottom: 12px; letter-spacing: .2px;
}
.cql-sat-note { color: #c9d6ea; font-size: 13.5px; margin: 0 0 12px; }

.cql-sat-total { margin-bottom: 10px; }
.cql-sat-total-num {
	display: block; font-size: 46px; font-weight: 800; line-height: 1;
	color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -1px;
}
.cql-sat-total-label {
	display: block; margin-top: 4px; font-size: 11px; text-transform: uppercase;
	letter-spacing: 1.2px; color: #93a7c4;
}

.cql-sat-sections {
	display: flex; justify-content: center; gap: 0;
	border-top: 1px solid rgba(255,255,255,.12); padding-top: 12px; margin-bottom: 4px;
}
.cql-sat-sec { flex: 0 1 190px; padding: 0 14px; }
.cql-sat-sec + .cql-sat-sec { border-left: 1px solid rgba(255,255,255,.12); }
.cql-sat-sec-score {
	display: block; font-size: 24px; font-weight: 700; color: #fff;
	font-variant-numeric: tabular-nums; line-height: 1.1;
}
.cql-sat-sec-name {
	display: block; margin-top: 3px; font-size: 11px; font-weight: 600;
	color: #93a7c4; text-transform: uppercase; letter-spacing: .6px;
}

/* progress state (not started / in progress) */
.cql-sat-progress { margin: 4px auto 6px; max-width: 380px; }
.cql-sat-bar {
	height: 8px; border-radius: 5px; background: rgba(255,255,255,.16); overflow: hidden;
}
.cql-sat-bar span { display: block; height: 100%; background: #1F9D6B; border-radius: 5px; }
.cql-sat-progress-text {
	margin-top: 8px; font-size: 12.5px; color: #93a7c4; font-weight: 600;
	text-transform: uppercase; letter-spacing: .6px;
}

.cql-sat-action { margin-top: 16px; }
.cql-sat-btn {
	display: inline-block; text-decoration: none;
	padding: 11px 30px; border-radius: 9px;
	background: #1F9D6B; color: #fff; font-weight: 700; font-size: 15px;
	transition: background .15s ease;
}
.cql-sat-btn:hover { background: #15784F; color: #fff; }
.cql-sat-btn.cql-btn-off { background: #55698a; cursor: not-allowed; }
.cql-sat-btn.cql-btn-off:hover { background: #55698a; }

@media (max-width: 600px) {
	.cql-sat { padding: 18px 15px; }
	.cql-sat-total-num { font-size: 40px; }
	.cql-sat-sec { padding: 0 10px; }
	.cql-sat-btn { display: block; }
}

/* ---- in-progress (started, not submitted) ---- */
.cql-row.cql-progress { border-left: 4px solid #E0A317; }
.cql-row.cql-lesson.cql-progress { border-left-color: #f5c452; }
.cql-status {
	font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
	color: #8a5b00; background: #fdf3dc; border-radius: 20px; padding: 3px 10px; white-space: nowrap;
}
.cql-lesson .cql-status { color: #f5c452; background: rgba(245, 196, 82, .15); }
.cql-progress .cql-btn { color: #8a5b00; }
.cql-progress .cql-btn:hover { background: #E0A317; border-color: #E0A317; color: #fff; }
