/* BCS Vision Exam — student pages */
.bcsv, .bv-stats {
	--bcsv-ink: var(--bv-ink, #16213a);
	--bcsv-muted: #5b6475;
	--bcsv-line: #e3e7ef;
	--bcsv-surface: #ffffff;
	--bcsv-soft: #f5f7fb;
	--bcsv-brand: var(--bv-blue, #2443a8);
	--bcsv-brand-ink: #ffffff;
	--bcsv-good: #157a46;
	--bcsv-good-soft: #e7f6ee;
	--bcsv-bad: #b42318;
	--bcsv-bad-soft: #fdecea;
	--bcsv-warn: #a15c07;
	--bcsv-warn-soft: #fff4e0;
	color: var(--bcsv-ink);
	font-size: 16px;
	line-height: 1.55;
	max-width: 920px;
	margin: 0 auto;
}
.bcsv *, .bcsv *::before, .bcsv *::after { box-sizing: border-box; }
.bcsv a { color: var(--bcsv-brand); }
.bcsv-box {
	background: var(--bcsv-surface);
	border: 1px solid var(--bcsv-line);
	border-radius: 14px;
	padding: 22px;
	margin: 0 0 18px;
}
.bcsv-center { text-align: center; }
.bcsv-title { margin: 0 0 10px; font-size: 1.5em; line-height: 1.3; }
.bcsv-muted { color: var(--bcsv-muted); font-size: 0.92em; }
.bcsv-back { margin: 0 0 10px; }
.bcsv-btn {
	display: inline-block;
	background: var(--bcsv-brand);
	color: var(--bcsv-brand-ink) !important;
	border: 1px solid var(--bcsv-brand);
	border-radius: 10px;
	padding: 9px 18px;
	font-weight: 600;
	text-decoration: none !important;
	cursor: pointer;
	line-height: 1.3;
	font-size: 15px;
}
.bcsv-btn:hover { filter: brightness(1.08); }
.bcsv-btn-ghost { background: transparent; color: var(--bcsv-brand) !important; }
.bcsv-btn-lg { padding: 12px 28px; font-size: 17px; }
.bcsv-alert { border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; }
.bcsv-alert-error { background: var(--bcsv-bad-soft); color: var(--bcsv-bad); }
.bcsv-alert-info { background: var(--bcsv-soft); color: var(--bcsv-ink); border: 1px solid var(--bcsv-line); }
.bcsv-alert-warn { background: #fff8e6; color: #5a3d00; border: 1px solid #f3d79a; }
.bcsv-tag { display: inline-block; background: var(--bcsv-soft); border: 1px solid var(--bcsv-line); border-radius: 999px; padding: 3px 10px; font-size: 0.85em; color: var(--bcsv-muted); }

/* Exam list */
.bcsv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.bcsv-exam-card { background: var(--bcsv-surface); border: 1px solid var(--bcsv-line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; }
.bcsv-exam-card h3 { margin: 0 0 8px; font-size: 1.12em; line-height: 1.35; }
.bcsv-card-foot { margin-top: auto; padding-top: 12px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bcsv-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--bcsv-muted); font-size: 0.92em; }
.bcsv-facts li { margin: 0; }
.bcsv-facts-lg { font-size: 1em; color: var(--bcsv-ink); margin: 8px 0 14px; }
.bcsv-instructions { background: var(--bcsv-soft); border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; }
.bcsv-start-form { margin-top: 10px; }

/* Paper */
.bcsv-bar {
	position: sticky;
	top: 0;
	z-index: 50;
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--bcsv-surface);
	border: 1px solid var(--bcsv-line);
	border-radius: 12px;
	padding: 10px 14px;
	margin-bottom: 8px;
	box-shadow: 0 4px 14px rgba(22, 33, 58, 0.08);
}
.admin-bar .bcsv-bar { top: 32px; }
@media (max-width: 782px) { .admin-bar .bcsv-bar { top: 46px; } }
.bcsv-bar-title { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bcsv-bar-stats { color: var(--bcsv-muted); font-size: 0.92em; white-space: nowrap; }
.bcsv-timer { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 1.25em; background: var(--bcsv-soft); border-radius: 8px; padding: 4px 10px; min-width: 84px; text-align: center; }
.bcsv-timer.is-low { background: var(--bcsv-warn-soft); color: var(--bcsv-warn); }
.bcsv-timer.is-critical { background: var(--bcsv-bad-soft); color: var(--bcsv-bad); }
.bcsv-save-state { min-height: 1.4em; font-size: 0.85em; color: var(--bcsv-muted); margin: 0 4px 10px; }
.bcsv-save-state.is-ok { color: var(--bcsv-good); }
.bcsv-save-state.is-warn { color: var(--bcsv-warn); }

.bcsv-q {
	background: var(--bcsv-surface);
	border: 1px solid var(--bcsv-line);
	border-radius: 12px;
	padding: 16px;
	margin: 0 0 12px;
	min-width: 0;
}
.bcsv-q.is-answered { border-color: #b9c6ec; }
.bcsv-q-head { font-weight: 600; margin-bottom: 10px; padding: 0; float: left; width: 100%; }
.bcsv-q-head + * { clear: both; }
.bcsv-q-num { color: var(--bcsv-brand); margin-right: 2px; }
.bcsv-q-text p { margin: 0 0 6px; display: inline; }
.bcsv-q-opts { display: grid; gap: 8px; clear: both; }
.bcsv-opt-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	border: 1px solid var(--bcsv-line);
	border-radius: 10px;
	padding: 9px 12px;
	cursor: pointer;
	background: var(--bcsv-surface);
	margin: 0;
	font-weight: 400;
}
label.bcsv-opt-row:hover { background: var(--bcsv-soft); }
.bcsv-opt-row input { margin: 5px 0 0; flex: none; width: 18px; height: 18px; }
.bcsv-letter { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--bcsv-soft); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85em; }
.bcsv-opt-row input:checked ~ .bcsv-letter { background: var(--bcsv-brand); color: #fff; }
label.bcsv-opt-row:has(input:checked) { border-color: var(--bcsv-brand); background: #eef2fd; }
.bcsv-opt-text { flex: 1; min-width: 0; }
.bcsv-q.is-locked .bcsv-opt-row { cursor: default; }
.bcsv-q.is-locked label.bcsv-opt-row:hover { background: transparent; }
.bcsv-q.is-locked label.bcsv-opt-row:has(input:checked):hover { background: #eef2fd; }
.bcsv-q.is-locked .bcsv-opt-row:not(:has(input:checked)) { opacity: 0.55; }
.bcsv-q.is-locked .bcsv-opt-row input { visibility: hidden; } /* the filled letter bubble shows the answer, like a filled OMR circle */
.bcsv-omr-note { font-size: 0.95em; }
.bcsv-submit-row { text-align: center; padding: 14px 0 30px; }

/* Result */
.bcsv-score { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 10px; margin: 12px 0; }
.bcsv-score-sm { grid-template-columns: repeat(4, 1fr); }
.bcsv-score-main { background: var(--bcsv-brand); color: #fff; border-radius: 12px; padding: 14px 16px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.bcsv-score-num { font-size: 2.2em; font-weight: 800; line-height: 1; }
.bcsv-score-of { font-size: 1.1em; opacity: 0.85; }
.bcsv-score-pct { margin-left: auto; background: rgba(255, 255, 255, 0.18); border-radius: 999px; padding: 2px 10px; font-weight: 600; }
.bcsv-stat { background: var(--bcsv-soft); border-radius: 12px; padding: 12px; font-size: 0.85em; color: var(--bcsv-muted); }
.bcsv-stat span { display: block; font-size: 1.6em; font-weight: 700; color: var(--bcsv-ink); line-height: 1.2; }
.bcsv-stat-c span { color: var(--bcsv-good); }
.bcsv-stat-w span { color: var(--bcsv-bad); }
.bcsv-pass { font-weight: 600; margin: 4px 0 10px; }
.bcsv-pass.is-pass { color: var(--bcsv-good); }
.bcsv-pass.is-fail { color: var(--bcsv-bad); }
@media (max-width: 640px) {
	.bcsv-score { grid-template-columns: 1fr 1fr; }
	.bcsv-score-main { grid-column: 1 / -1; }
	.bcsv-score-sm { grid-template-columns: 1fr 1fr; }
	.bcsv-bar-title { display: none; }
	.bcsv-box { padding: 16px; }
}
.bcsv-table { width: 100%; border-collapse: collapse; font-size: 0.92em; margin: 6px 0; }
.bcsv-table th, .bcsv-table td { text-align: left; padding: 8px; border-bottom: 1px solid var(--bcsv-line); }
.bcsv-table th { color: var(--bcsv-muted); font-weight: 600; }
.bcsv-table-wrap { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
.bcsv-neg { color: var(--bcsv-bad); }
.bcsv-review-filter { display: flex; gap: 6px; margin: 4px 0 12px; flex-wrap: wrap; }
.bcsv-review-filter button { border: 1px solid var(--bcsv-line); background: var(--bcsv-surface); border-radius: 999px; padding: 5px 14px; cursor: pointer; font-size: 0.9em; color: var(--bcsv-ink); }
.bcsv-review-filter button.is-on { background: var(--bcsv-ink); color: #fff; border-color: var(--bcsv-ink); }
.bcsv-res { display: inline-block; font-size: 0.78em; font-weight: 700; border-radius: 999px; padding: 2px 9px; margin-left: 6px; vertical-align: middle; }
.bcsv-res-c { background: var(--bcsv-good-soft); color: var(--bcsv-good); }
.bcsv-res-w { background: var(--bcsv-bad-soft); color: var(--bcsv-bad); }
.bcsv-res-s { background: var(--bcsv-soft); color: var(--bcsv-muted); }
.bcsv-q-done .bcsv-opt-row { cursor: default; }
.bcsv-opt-row.is-key { border-color: var(--bcsv-good); background: var(--bcsv-good-soft); }
.bcsv-opt-row.is-key .bcsv-letter { background: var(--bcsv-good); color: #fff; }
.bcsv-opt-row.is-wrong { border-color: var(--bcsv-bad); background: var(--bcsv-bad-soft); }
.bcsv-opt-row.is-wrong .bcsv-letter { background: var(--bcsv-bad); color: #fff; }
.bcsv-opt-note { flex: none; font-size: 0.78em; font-weight: 700; align-self: center; }
.is-key .bcsv-opt-note { color: var(--bcsv-good); }
.is-wrong .bcsv-opt-note { color: var(--bcsv-bad); }
.bcsv-expl { margin-top: 10px; background: #f3f6ff; border-left: 4px solid var(--bcsv-brand); border-radius: 8px; padding: 10px 12px; font-size: 0.95em; }
.bcsv-expl p { margin: 0 0 6px; }
.bcsv-expl p:last-child { margin-bottom: 0; }
.bcsv-q-removed { color: var(--bcsv-muted); font-style: italic; }

/* Dashboard */
.bcsv-dash { max-width: 100%; min-width: 0; }
.bcsv-dash-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.bcsv-dash-head h2 { margin: 0; font-size: 1.4em; }
.bcsv-chart { width: 100%; height: auto; max-height: 220px; display: block; }
.bcsv-chart-grid { stroke: var(--bcsv-line); stroke-width: 1; }
.bcsv-chart-label { fill: var(--bcsv-muted); font-size: 11px; }
.bcsv-chart-line { stroke: var(--bcsv-brand); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.bcsv-chart-dot { fill: var(--bcsv-surface); stroke: var(--bcsv-brand); stroke-width: 2.5; }

/* Submit confirmation (on-page; native confirm() is blocked in some in-app browsers) */
.bcsv.bcsv-confirm { position: fixed; inset: 0; z-index: 100000; max-width: none; margin: 0; background: rgba(10, 18, 34, 0.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.bcsv-confirm-box { background: var(--bcsv-surface); border-radius: 16px; padding: 22px; width: 100%; max-width: 420px; box-shadow: 0 18px 50px rgba(10, 18, 34, 0.3); }
.bcsv-confirm-title { margin: 0 0 8px; font-size: 1.3em; line-height: 1.3; color: var(--bcsv-ink); }
.bcsv-confirm-box p { margin: 0 0 8px; }
.bcsv-confirm-count { font-weight: 700; font-size: 1.08em; }
.bcsv-confirm-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 16px; }
.bcsv-confirm-actions .bcsv-btn { min-height: 44px; }
.bcsv-confirm-go[disabled] { opacity: 0.7; cursor: wait; }
@media (max-width: 420px) { .bcsv-confirm-actions .bcsv-btn { flex: 1 1 100%; } }

/* Exam start: stat tiles + marking chips */
.bcsv .bcsv-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 14px 0 12px; padding: 0; }
.bcsv .bcsv-stat { background: var(--bcsv-soft); border: 1px solid var(--bcsv-line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bcsv .bcsv-stat-num { font-size: 1.45em; font-weight: 700; line-height: 1.2; color: var(--bcsv-ink); white-space: nowrap; }
.bcsv .bcsv-stat-label { font-size: 0.85em; color: var(--bcsv-muted); line-height: 1.3; }
.bcsv .bcsv-marking { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.bcsv .bcsv-marking-label { font-weight: 600; color: var(--bcsv-muted); font-size: 0.92em; margin-right: 2px; }
.bcsv .bcsv-chip { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 12px; font-size: 0.92em; font-weight: 600; line-height: 1.4; background: var(--bcsv-soft); border: 1px solid var(--bcsv-line); color: var(--bcsv-ink); white-space: nowrap; }
.bcsv .bcsv-chip-good { background: var(--bcsv-good-soft); border-color: transparent; color: var(--bcsv-good); }
.bcsv .bcsv-chip-bad { background: var(--bcsv-bad-soft); border-color: transparent; color: var(--bcsv-bad); }
.bcsv .bcsv-omr-note { line-height: 1.7; }
@media (max-width: 480px) { .bcsv .bcsv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bcsv .bcsv-stat-num { font-size: 1.3em; } }
/* Lesson content styles (Tutor/theme) must not add bullets or spacing to exam lists */
.bcsv ul.bcsv-facts li::before, .bcsv ul.bcsv-facts li::marker { content: none; }

/* Bundle course page: full class list of every included course (titles visible, content locked) */
.bcsv-bundle-curriculum { --bc-ink: var(--bv-ink, #16213a); --bc-brand: var(--bv-blue, #0e7f57); --bc-muted: #5b6475; --bc-line: #e3e7ef; --bc-soft: #f3f5f9; }
.bcsv-bundle-curriculum .bcsv-bc-intro { margin: -8px 0 20px; color: var(--bc-muted); font-size: 16px; line-height: 1.7; }
.bcsv-bc-course { border: 1px solid var(--bc-line); border-radius: 12px; background: #fff; margin: 0 0 18px; overflow: hidden; }
.bcsv-bc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: color-mix(in srgb, var(--bc-brand) 7%, #fff); border-bottom: 1px solid var(--bc-line); }
.bcsv-bc-head-text { min-width: 0; }
.bcsv-bundle-curriculum h4.bcsv-bc-name { margin: 0; font-size: 19px; line-height: 1.35; color: var(--bc-ink); font-weight: 700; }
.bcsv-bc-meta { display: block; margin-top: 2px; font-size: 14.5px; color: var(--bc-muted); line-height: 1.5; }
.bcsv-bundle-curriculum a.bcsv-bc-more { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--bc-brand); color: var(--bc-brand); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; background: #fff; }
.bcsv-bundle-curriculum a.bcsv-bc-more:hover, .bcsv-bundle-curriculum a.bcsv-bc-more:focus-visible { background: var(--bc-brand); color: #fff; }
.bcsv-bc-topic { border-top: 1px solid var(--bc-line); }
.bcsv-bc-head + .bcsv-bc-topic { border-top: 0; }
.bcsv-bc-topic > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-size: 17px; font-weight: 600; color: var(--bc-ink); line-height: 1.45; }
.bcsv-bc-topic > summary::-webkit-details-marker { display: none; }
.bcsv-bc-topic > summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-left: 4px; border-right: 2px solid var(--bc-brand); border-bottom: 2px solid var(--bc-brand); transform: rotate(-45deg); transition: transform .15s; }
.bcsv-bc-topic[open] > summary::after { transform: rotate(45deg); }
.bcsv-bc-topic > summary:hover { background: var(--bc-soft); }
.bcsv-bc-topic > summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--bc-brand) 45%, transparent); outline-offset: -3px; }
.bcsv-bc-topic[open] > summary { color: var(--bc-brand); }
.bcsv-bc-topic-title { flex: 1 1 auto; min-width: 0; }
.bcsv-bc-count { flex: none; white-space: nowrap; font-size: 12.5px; font-weight: 600; color: var(--bc-muted); background: var(--bc-soft); border-radius: 999px; padding: 1px 9px; }
.bcsv-bundle-curriculum ul.bcsv-bc-items { list-style: none; margin: 0; padding: 0 0 6px; }
.bcsv-bundle-curriculum li.bcsv-bc-item { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 9px 18px 9px 22px; font-size: 15.5px; line-height: 1.55; color: var(--bc-ink); }
.bcsv-bundle-curriculum li.bcsv-bc-item::before, .bcsv-bundle-curriculum li.bcsv-bc-item::marker { content: none; }
.bcsv-bc-item + .bcsv-bc-item { border-top: 1px dashed #edf0f5; }
.bcsv-bc-ico { flex: none; color: #8a93a3; margin-top: 2px; display: inline-flex; }
.bcsv-bc-item.is-exam .bcsv-bc-ico { color: var(--bc-brand); }
.bcsv-bc-title { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.bcsv-bundle-curriculum a.bcsv-bc-title { color: var(--bc-ink); text-decoration: none; }
.bcsv-bundle-curriculum a.bcsv-bc-title:hover { color: var(--bc-brand); text-decoration: underline; }
.bcsv-bc-lock { flex: none; color: #9aa3b2; margin-top: 2px; display: inline-flex; }
.bcsv-bc-svg { display: block; }
@media (max-width: 560px) {
	.bcsv-bc-head { flex-wrap: wrap; padding: 14px; }
	.bcsv-bundle-curriculum a.bcsv-bc-more { min-height: 36px; font-size: 14px; }
	.bcsv-bc-topic > summary { padding: 13px 14px; font-size: 16px; }
	.bcsv-bundle-curriculum li.bcsv-bc-item { padding: 9px 14px 9px 16px; font-size: 15px; }
}
.bcsv .bcsv-instructions > :first-child { margin-top: 0; } .bcsv .bcsv-instructions > :last-child { margin-bottom: 0; }

/* Exam paper tools: answered/unanswered + subject filters, question map */
.bcsv [hidden] { display: none !important; }
.bcsv .bcsv-tools { background: var(--bcsv-surface); border: 1px solid var(--bcsv-line); border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; display: grid; gap: 10px; }
.bcsv .bcsv-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bcsv .bcsv-filter-label { font-size: 0.85em; font-weight: 600; color: var(--bcsv-muted); min-width: 56px; }
.bcsv .bcsv-filter-row button { appearance: none; border: 1px solid var(--bcsv-line); background: var(--bcsv-soft); color: var(--bcsv-ink); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 0.9em; font-weight: 600; line-height: 1.3; cursor: pointer; min-height: 36px; display: inline-flex; align-items: center; gap: 6px; }
.bcsv .bcsv-filter-row button:hover { border-color: var(--bcsv-brand); }
.bcsv .bcsv-filter-row button.is-on { background: var(--bcsv-brand); border-color: var(--bcsv-brand); color: #fff; }
.bcsv .bcsv-filter-row button:focus-visible, .bcsv .bcsv-map-grid a:focus-visible { outline: 3px solid color-mix(in srgb, var(--bcsv-brand) 45%, transparent); outline-offset: 2px; }
.bcsv .bcsv-n { font-weight: 700; font-size: 0.85em; background: rgba(0, 0, 0, 0.07); border-radius: 999px; padding: 0 7px; }
.bcsv .bcsv-filter-row button.is-on .bcsv-n { background: rgba(255, 255, 255, 0.25); }
.bcsv .bcsv-map > summary { cursor: pointer; font-weight: 600; font-size: 0.92em; padding: 2px 0; }
.bcsv .bcsv-map-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 6px; margin-top: 10px; max-height: 240px; overflow-y: auto; padding: 2px; }
.bcsv .bcsv-map-grid a { display: grid; place-items: center; height: 36px; border-radius: 50%; border: 1.5px solid var(--bcsv-line); color: var(--bcsv-ink); text-decoration: none; font-size: 0.85em; font-weight: 600; }
.bcsv .bcsv-map-grid a.is-done { background: var(--bcsv-brand); border-color: var(--bcsv-brand); color: #fff; }
.bcsv .bcsv-subj-head { font-size: 1.1em; margin: 22px 0 10px; padding: 0 0 6px; border-bottom: 2px solid var(--bcsv-line); color: var(--bcsv-ink); }
.bcsv-paper fieldset.bcsv-q { scroll-margin-top: 150px; }
.bcsv .bcsv-filter-empty { text-align: center; padding: 18px 0; }
@media (max-width: 480px) { .bcsv .bcsv-filter-label { min-width: 100%; } .bcsv .bcsv-tools { padding: 10px 12px; } }

/* Result not published yet */
.bcsv .bcsv-pending { text-align: center; padding: 28px 22px; }
.bcsv .bcsv-pending-ok { font-size: 1.15em; font-weight: 700; color: var(--bcsv-good); margin: 6px 0 4px; }
.bcsv .bcsv-pending-when { display: inline-flex; flex-direction: column; gap: 2px; margin: 16px auto; padding: 14px 22px; border-radius: 12px; background: var(--bcsv-soft); border: 1px solid var(--bcsv-line); }
.bcsv .bcsv-pending-when span { font-size: 0.9em; color: var(--bcsv-muted); }
.bcsv .bcsv-pending-when strong { font-size: 1.2em; }

/* Dashboard: Exam Window */
.bcsv .bcsv-ew { padding: 18px; }
.bcsv .bcsv-ew-tools { display: grid; gap: 10px; margin-bottom: 12px; }
.bcsv .bcsv-ew-tools h3 { margin: 0; }
.bcsv .bcsv-ew-tools .bcsv-review-filter { margin: 0; }
.bcsv .bcsv-ew-search input { width: 100%; max-width: 360px; border: 1px solid var(--bcsv-line); border-radius: 10px; padding: 9px 12px; font: inherit; }
.bcsv ul.bcsv-ew-list { list-style: none; margin: 0; padding: 0; }
.bcsv li.bcsv-ew-item { margin: 0; padding: 0; border-top: 1px solid var(--bcsv-line); }
.bcsv li.bcsv-ew-item::before, .bcsv li.bcsv-ew-item::marker { content: none; }
.bcsv .bcsv-ew-link { display: flex; align-items: center; gap: 14px; padding: 13px 6px; color: var(--bcsv-ink) !important; text-decoration: none !important; border-radius: 8px; }
.bcsv .bcsv-ew-link:hover { background: var(--bcsv-soft); }
.bcsv .bcsv-ew-link:focus-visible { outline: 3px solid color-mix(in srgb, var(--bcsv-brand) 45%, transparent); outline-offset: 0; }
.bcsv .bcsv-ew-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bcsv .bcsv-ew-title { font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.bcsv .bcsv-ew-meta { font-size: 0.85em; color: var(--bcsv-muted); }
.bcsv .bcsv-ew-score { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; min-width: 96px; text-align: right; }
.bcsv .bcsv-ew-score strong { font-size: 1.25em; line-height: 1.2; }
.bcsv .bcsv-ew-score > span { font-size: 0.85em; color: var(--bcsv-muted); }
.bcsv .bcsv-ew-cws { font-size: 0.8em !important; white-space: nowrap; }
.bcsv .bcsv-ew-cws i { font-style: normal; font-weight: 600; }
.bcsv .bcsv-ew-cws .c { color: var(--bcsv-good); } .bcsv .bcsv-ew-cws .w { color: var(--bcsv-bad); } .bcsv .bcsv-ew-cws .s { color: var(--bcsv-muted); }
.bcsv .bcsv-ew-bar { display: block; width: 96px; height: 5px; border-radius: 99px; background: var(--bcsv-line); overflow: hidden; margin-top: 3px; }
.bcsv .bcsv-ew-bar span { display: block; height: 100%; background: var(--bcsv-brand); }
.bcsv .bcsv-ew-wait strong { font-size: 0.95em; color: var(--bcsv-warn); }
.bcsv .bcsv-ew-go { flex: none; font-size: 1.6em; line-height: 1; color: var(--bcsv-muted); }
.bcsv-dash-one .bcsv-back { margin: 0 0 12px; }
@media (max-width: 480px) {
	.bcsv .bcsv-ew { padding: 14px; }
	.bcsv .bcsv-ew-link { gap: 10px; }
	.bcsv .bcsv-ew-score { min-width: 78px; }
	.bcsv .bcsv-ew-bar { width: 78px; }
	.bcsv .bcsv-ew-go { display: none; }
}

/* Alerts used on the verify page */
.bcsv-alert-ok { background: var(--bcsv-good-soft); color: var(--bcsv-good); }

/* Email verification page */
.bcsv.bcsv-ev { max-width: 520px; }
.bcsv .bcsv-ev-box { text-align: center; padding: 30px 26px; }
.bcsv .bcsv-ev-icon { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--bcsv-brand) 12%, #fff); color: var(--bcsv-brand); }
.bcsv .bcsv-ev-box > p { line-height: 1.7; }
.bcsv .bcsv-ev-box .bcsv-alert { text-align: left; }
.bcsv .bcsv-ev-form { display: flex; flex-direction: column; gap: 12px; align-items: stretch; margin: 18px 0 10px; }
.bcsv .bcsv-ev-code { font: inherit; font-size: 30px; font-weight: 700; letter-spacing: 0.45em; text-align: center; padding: 12px 10px 12px calc(10px + 0.45em); border: 2px solid var(--bcsv-line); border-radius: 12px; width: 100%; box-sizing: border-box; font-variant-numeric: tabular-nums; }
.bcsv .bcsv-ev-code:focus { outline: none; border-color: var(--bcsv-brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bcsv-brand) 18%, transparent); }
.bcsv .bcsv-ev-form .bcsv-btn { width: 100%; text-align: center; }
.bcsv .bcsv-ev-hint { font-size: 0.88em; }
.bcsv .bcsv-ev-resend { margin: 6px 0 14px; }
.bcsv .bcsv-ev-resend .bcsv-btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.bcsv .bcsv-ev-change { text-align: left; border-top: 1px solid var(--bcsv-line); padding-top: 12px; }
.bcsv .bcsv-ev-change summary { cursor: pointer; color: var(--bcsv-brand); font-weight: 600; text-align: center; }
.bcsv .bcsv-ev-change form { display: grid; gap: 8px; margin-top: 12px; }
.bcsv .bcsv-ev-change input { font: inherit; padding: 10px 12px; border: 1px solid var(--bcsv-line); border-radius: 10px; }
.bcsv .bcsv-ev-out { margin: 16px 0 0; font-size: 0.9em; }

/* Continue with Google (Tutor forms + wp-login.php) */
.bcsv-gwrap { margin: 0 0 18px; }
.bcsv-gwrap .bcsv-gbtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px 16px; border: 1px solid #dadce0; border-radius: 10px; background: #fff; color: #1f1f1f !important; font-size: 16px; font-weight: 600; text-decoration: none !important; line-height: 1.3; transition: background .15s, box-shadow .15s; }
.bcsv-gwrap .bcsv-gbtn:hover { background: #f8f9fa; box-shadow: 0 1px 3px rgba(60, 64, 67, .2); }
.bcsv-gwrap .bcsv-gbtn:focus-visible { outline: 3px solid #4285f4; outline-offset: 2px; }
.bcsv-gwrap .bcsv-gbtn svg { flex: none; }
.bcsv-gwrap .bcsv-gor { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; color: #6b7280; font-size: 14px; }
.bcsv-gwrap .bcsv-gor::before, .bcsv-gwrap .bcsv-gor::after { content: ""; flex: 1; height: 1px; background: #e5e7eb; }
.bcsv-gwrap .bcsv-gerr { background: #fdecea; color: #b42318; border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; font-size: 14px; line-height: 1.5; }
.login form .bcsv-gwrap { margin: 0 0 16px; }

/* Registration: mobile number */
.bcsv-reg-phone { margin: 4px 0 16px; text-align: left; }
.bcsv-reg-phone .tutor-form-label { display: block; margin-bottom: 6px; font-weight: 500; }
.bcsv-reg-phone input { width: 100%; box-sizing: border-box; }
.bcsv-reg-phone .bcsv-reg-hint { margin: 6px 0 0; font-size: 13px; color: #6b7280; line-height: 1.5; }

/* Checkout: short billing form */
.bcsv-billing { display: grid; gap: 14px; }
.bcsv-billing-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bcsv-billing label { display: block; margin-bottom: 6px; }
.bcsv-billing input[readonly] { background: #f5f7fb; color: #5b6475; }
@media (max-width: 480px) { .bcsv-billing-row { grid-template-columns: 1fr; } }

/* Mobile number with fixed +880 */
.bcsv-phone-group { display: flex; align-items: stretch; width: 100%; border: 1px solid #d0d5dd; border-radius: 8px; overflow: hidden; background: #fff; }
.bcsv-phone-group:focus-within { border-color: var(--bv-blue, #0e7f57); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bv-blue, #0e7f57) 18%, transparent); }
.bcsv-phone-group .bcsv-phone-cc { flex: none; display: flex; align-items: center; padding: 0 10px; background: #f3f5f9; border-right: 1px solid #d0d5dd; font-weight: 600; font-size: 15px; color: #344054; white-space: nowrap; }
.bcsv-phone-group input.bcsv-phone-input { flex: 1 1 auto; min-width: 0; border: 0 !important; box-shadow: none !important; outline: none; border-radius: 0 !important; margin: 0 !important; padding: 10px 12px; font: inherit; font-size: 16px; letter-spacing: 0.04em; background: transparent; width: auto; }
.bcsv .bcsv-ev-form .bcsv-pv-label { text-align: left; font-weight: 600; margin-bottom: -4px; }
.bcsv .bcsv-linkbtn { background: none; border: 0; padding: 6px; color: var(--bcsv-muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 0.92em; }
.bcsv .bcsv-pv-skip { margin-top: 8px; }
.bcsv-pv-notice { max-width: 1200px; margin: 12px auto; padding: 0 16px; }
.login .bcsv-reg-phone .bcsv-phone-group { margin: 4px 0 2px; }

/* Finish sign-up after Google */
.bcsv-gsu{max-width:560px;margin:0 auto;display:grid;gap:14px}
.bcsv-gsu-title{font-size:24px;line-height:1.3;margin:0}
.bcsv-gsu-lead{margin:0;color:#3d4a5c;line-height:1.7}
.bcsv-gsu-who{display:flex;align-items:center;gap:12px;border:1px solid #e3e7ec;border-radius:12px;padding:12px 14px;background:#f8fafc}
.bcsv-gsu-who img{border-radius:50%;flex:none}
.bcsv-gsu-who>div{flex:1;min-width:0;display:grid;line-height:1.45}
.bcsv-gsu-who span{font-size:14px;color:#5b6475;overflow-wrap:anywhere}
.bcsv-gsu-who .bcsv-gsu-ok{color:#0a6646;font-weight:600}
.bcsv-gsu-who a{font-size:14px;white-space:nowrap}
.bcsv-gsu-form{display:grid;gap:14px}
.bcsv-gsu-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.bcsv-gsu-err{color:#b42318;font-size:14px;margin:4px 0 0}
.bcsv-gsu-terms{display:flex;gap:8px;align-items:flex-start;line-height:1.6}
.bcsv-gsu-terms input{margin-top:5px}
.bcsv-gsu-btn{min-height:46px;font-size:17px}
@media (max-width:560px){.bcsv-gsu-row{grid-template-columns:1fr}}
.bcsv-gsu,.bcsv-gsu *{box-sizing:border-box}
.bcsv-gsu{width:100%;min-width:0}
.bcsv-gsu-form>div,.bcsv-gsu-row>div{min-width:0}
.bcsv-gsu .tutor-form-label{display:block;font-weight:600;margin:0 0 6px;font-size:15px}
.bcsv-gsu input.tutor-form-control:not([type=checkbox]){display:block;width:100%;max-width:100%;min-height:46px;padding:10px 14px;border:1px solid #cfd6df;border-radius:8px;background:#fff;font-size:16px;color:#16213a}
.bcsv-gsu input.tutor-form-control:focus{outline:none;border-color:var(--bv-blue,#0e7f57);box-shadow:0 0 0 3px rgba(14,127,87,.15)}
.bcsv-gsu .bcsv-phone-group{display:flex;width:100%;max-width:100%}
.bcsv-gsu .bcsv-phone-group input{flex:1;min-width:0;border-top-left-radius:0;border-bottom-left-radius:0}
.bcsv-gsu .bcsv-reg-hint{margin:6px 0 0;font-size:14px;color:#5b6475}
.bcsv-gsu-terms input{width:18px;height:18px;flex:none}

/* My devices */
.bcsv-dev{max-width:720px;display:grid;gap:14px;font-size:15px;line-height:1.6}
.bcsv-dev-h{margin:0 0 12px}
.bcsv-dev-block{background:#fdecea;border:1px solid #f5c2bc;color:#7a1a12;border-radius:12px;padding:14px 16px}
.bcsv-dev-block h2{font-size:20px;margin:0 0 6px;color:inherit}
.bcsv-dev-block p{margin:0}
.bcsv-dev-lead{margin:0;color:#3d4a5c}
.bcsv-dev-msg{border-radius:10px;padding:10px 14px}
.bcsv-dev-msg.is-ok{background:#e7f6ee;color:#0a6646}
.bcsv-dev-msg.is-err{background:#fdecea;color:#b42318}
.bcsv-dev-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.bcsv-dev-list li{display:flex;align-items:center;gap:12px;border:1px solid #e3e7ec;border-radius:12px;padding:12px 14px;background:#fff}
.bcsv-dev-list li.is-me{border-color:var(--bv-blue,#0e7f57);background:#f3fbf7}
.bcsv-dev-ico{font-size:26px;flex:none}
.bcsv-dev-info{flex:1;min-width:0;display:grid}
.bcsv-dev-info span{font-size:13.5px;color:#5b6475}
.bcsv-dev-me{display:inline-block;font-size:12px!important;font-weight:700;color:#0a6646!important;background:#e7f6ee;border-radius:999px;padding:0 8px;margin-left:4px}
.bcsv-dev-btn{background:#fff;border:1px solid #d92d20;color:#b42318;border-radius:8px;padding:7px 12px;font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap}
.bcsv-dev-btn:hover{background:#d92d20;color:#fff}
.bcsv-dev-btn[disabled]{opacity:.45;cursor:not-allowed;background:#fff;color:#b42318}
.bcsv-dev-note{margin:0;font-size:14px;color:#5b6475}
.bcsv-dev-out{font-weight:600}
@media (max-width:520px){.bcsv-dev-list li{flex-wrap:wrap}.bcsv-dev-list form{width:100%}.bcsv-dev-btn{width:100%}}
.bcsv-billing > *, .bcsv-billing-row > * { min-width: 0; }
.bcsv-billing input, .bcsv-billing select { max-width: 100%; box-sizing: border-box; }
.bcsv-phone-group { box-sizing: border-box; max-width: 100%; }
.bcsv-phone-group * { box-sizing: border-box; }

/* Checkout → Order details: keep the price on one line next to the course name */
.tutor-checkout-course-item .tutor-checkout-course-content { display: flex; align-items: flex-start; gap: 12px; }
.tutor-checkout-course-item .tutor-checkout-course-content > :first-child { flex: 1 1 auto; min-width: 0; }
.tutor-checkout-course-item .tutor-checkout-course-content > .tutor-text-right { flex: none; white-space: nowrap; text-align: right; }
.tutor-checkout-course-thumb-title { min-width: 0; }
.tutor-checkout-course-title { overflow-wrap: anywhere; }
.tutor-checkout-summary-item > :last-child { white-space: nowrap; }
@media (max-width: 400px) {
	.tutor-checkout-course-item .tutor-checkout-course-content { flex-wrap: wrap; }
	.tutor-checkout-course-item .tutor-checkout-course-content > .tutor-text-right { width: 100%; display: flex; gap: 10px; justify-content: flex-end; align-items: baseline; }
}

/* Readable grey text on course pages (Tutor's default grey is below the WCAG 4.5:1 contrast) */
:root{--tutor-color-muted:#5b6475;--tutor-color-hints:#5b6475}
.tutor-color-muted,.tutor-btn-ghost,.tutor-toggle-btn-text{color:#5b6475}
.tutor-avatar-text{color:#fff}

/* Previous-year questions ([bcsv_pyq]) */
.bcsv-pyq-intro p { margin: 0 0 6px; }
.bcsv-pyq-exams { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.bcsv-pyq-exams a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--bcsv-line); border-radius: 14px; background: var(--bcsv-surface); text-decoration: none; color: var(--bcsv-ink); transition: border-color .15s, box-shadow .15s; }
.bcsv-pyq-exams a:hover, .bcsv-pyq-exams a:focus-visible { border-color: var(--bcsv-brand); box-shadow: 0 2px 10px rgba(36, 67, 168, .12); }
.bcsv-pyq-exams strong { font-size: 1.08em; }
.bcsv-pyq-exams span { color: var(--bcsv-muted); font-size: .9em; }
.bcsv-pyq-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.bcsv-pyq-head h2, .bcsv-pyq-head h1 { margin: 0; font-size: 1.45em; line-height: 1.3; }
.bcsv-pyq-head h1 span { color: var(--bcsv-muted, #5b6b80); font-weight: 600; font-size: .78em; }
.bcsv-pyq-switch select { padding: 7px 10px; border: 1px solid var(--bcsv-line); border-radius: 10px; background: var(--bcsv-surface); font: inherit; max-width: 100%; }
.bcsv-pyq-mt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; border: 1px solid var(--bcsv-line); border-left: 4px solid var(--bcsv-brand); border-radius: 10px; background: var(--bcsv-surface); padding: 12px 14px; margin: 10px 0 6px; }
.bcsv-pyq-mt p { margin: 0; flex: 1 1 260px; }
.bcsv-pyq-bar { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; margin: 8px 0 4px; scrollbar-width: thin; }
.bcsv-pyq-bar button, .bcsv-pyq-score button { flex: 0 0 auto; border: 1px solid var(--bcsv-line); background: var(--bcsv-surface); color: var(--bcsv-ink); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .9em; cursor: pointer; }
.bcsv-pyq-bar button i { font-style: normal; color: var(--bcsv-muted); margin-left: 2px; }
.bcsv-pyq-bar button.is-on, .bcsv-pyq-score button.is-on { background: var(--bcsv-brand); border-color: var(--bcsv-brand); color: #fff; }
.bcsv-pyq-bar button.is-on i { color: rgba(255, 255, 255, .85); }
.bcsv-pyq-score { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px 14px; margin: 0 0 14px; background: var(--bcsv-soft); border: 1px solid var(--bcsv-line); border-radius: 12px; font-size: .95em; }
.bcsv-pyq-score .c b { color: var(--bcsv-good); }
.bcsv-pyq-score .w b { color: var(--bcsv-bad); }
.bcsv-pyq-score .bcsv-pyq-wrong { margin-left: auto; }
.bcsv-pyq-q { background: var(--bcsv-surface); border: 1px solid var(--bcsv-line); border-radius: 14px; padding: 16px 18px; margin: 0 0 12px; scroll-margin-top: 70px; }
.bcsv-pyq-q[hidden] { display: none; }
.bcsv-pyq-qtop { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.bcsv-pyq-no { min-width: 30px; height: 30px; padding: 0 6px; border-radius: 999px; background: var(--bcsv-soft); border: 1px solid var(--bcsv-line); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: .9em; }
.bcsv-pyq-text { font-weight: 600; margin: 0 0 10px; }
.bcsv-pyq-text p { margin: 0 0 6px; }
.bcsv-pyq-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 600px) { .bcsv-pyq-opts { grid-template-columns: 1fr; } .bcsv-pyq-q { padding: 14px; } }
.bcsv-pyq-opts button { display: flex; align-items: flex-start; gap: 10px; text-align: left; width: 100%; padding: 10px 12px; border: 1px solid var(--bcsv-line); border-radius: 10px; background: var(--bcsv-surface); color: var(--bcsv-ink); font: inherit; line-height: 1.45; cursor: pointer; }
.bcsv-pyq-opts button:hover:not(:disabled) { border-color: var(--bcsv-brand); background: var(--bcsv-soft); }
.bcsv-pyq-opts button:focus-visible, .bcsv-pyq-show:focus-visible, .bcsv-pyq-bar button:focus-visible { outline: 2px solid var(--bcsv-brand); outline-offset: 2px; }
.bcsv-pyq-opts button b { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 999px; border: 1px solid var(--bcsv-line); display: inline-flex; align-items: center; justify-content: center; font-size: .85em; }
.bcsv-pyq-opts button:disabled { cursor: default; }
.bcsv-pyq-opts button.is-right { border-color: var(--bcsv-good); background: var(--bcsv-good-soft); }
.bcsv-pyq-opts button.is-right b { background: var(--bcsv-good); border-color: var(--bcsv-good); color: #fff; }
.bcsv-pyq-opts button.is-wrong { border-color: var(--bcsv-bad); background: var(--bcsv-bad-soft); }
.bcsv-pyq-opts button.is-wrong b { background: var(--bcsv-bad); border-color: var(--bcsv-bad); color: #fff; }
.bcsv-pyq-ans { margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--bcsv-soft); border-left: 3px solid var(--bcsv-brand); }
.bcsv-pyq-key { margin: 0 0 6px; }
.bcsv-pyq-ex p { margin: 0 0 6px; }
.bcsv-pyq-ex p:last-child { margin: 0; }
.bcsv-pyq-note { margin: 8px 0 0; padding: 6px 10px; border-radius: 8px; background: var(--bcsv-warn-soft); color: var(--bcsv-warn); font-size: .92em; }
.bcsv-pyq-show { margin: 10px 0 0; background: none; border: 0; padding: 4px 0; color: var(--bcsv-brand); font: inherit; font-size: .92em; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.bcsv-pyq-gate { margin-top: 6px; }

/* Question figures (picture-based questions) */
.bcsv-q-figure { margin: 8px 0 12px; }
.bcsv-q-figure img { display: block; max-width: min(100%, 520px); height: auto; background: #fff; border: 1px solid var(--bcsv-line, #e3e7ef); border-radius: 10px; padding: 8px; }
.bcsv-opt-img { display: inline-block; vertical-align: middle; max-height: 90px; max-width: 100%; background: #fff; border-radius: 6px; }
.bcsv table.bcsv-grid, .bcsv-q-text table, .bcsv-pyq-text table { border-collapse: collapse; margin: 8px 0; font-weight: 600; }
.bcsv-q-text table td, .bcsv-pyq-text table td, .bcsv-q-text table th, .bcsv-pyq-text table th { border: 1px solid var(--bcsv-line, #cfd6e4); padding: 6px 14px; text-align: center; min-width: 40px; }

/* Theme variables wherever the hub / course pieces appear (without the .bcsv box rules) */
.bv-hub, body.bcsv-courses { --bcsv-ink: var(--bv-ink, #16213a); --bcsv-muted: #5b6475; --bcsv-line: #e3e7ef; --bcsv-surface: #ffffff; --bcsv-soft: #f5f7fb; --bcsv-brand: var(--bv-blue, #2443a8); }

/* ===== Hub landing pages: previous-year questions & model tests ===== */
.bv-hub { --hub-ink: var(--bv-ink, #06182e); --hub-sun: var(--bv-yellow, #f5b829); --hub-soft: color-mix(in srgb, var(--bcsv-brand) 9%, #fff); --hub-line: var(--bcsv-line); max-width: 1120px; margin: 0 auto; }
.bv-hub h1, .bv-hub h2, .bv-hub h3, .bv-hub p, .bv-hub dl, .bv-hub dd { margin: 0; }
.bv-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; background: var(--hub-ink); color: #fff; border-radius: 22px; padding: 42px 46px; overflow: hidden; isolation: isolate; }
.bv-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--bcsv-brand) 55%, transparent) 0%, transparent 55%); }
.bv-hero-title { font-size: clamp(1.75em, 3.4vw, 2.5em); line-height: 1.2; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.bv-hero-lead { margin-top: 12px !important; max-width: 58ch; font-size: 1.04em; line-height: 1.7; color: rgba(255, 255, 255, .8); }
.bv-hero-stats { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 26px !important; }
.bv-hero-stats div { display: flex; flex-direction: column-reverse; gap: 2px; }
.bv-hero-stats dd { font-size: 1.9em; line-height: 1.1; font-weight: 800; color: var(--hub-sun); }
.bv-hero-stats dt { font-size: .9em; color: rgba(255, 255, 255, .72); }
.bv-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.bv-omr { width: 210px; height: auto; flex: none; }
.bv-omr text { font-size: 15px; text-anchor: middle; fill: rgba(255, 255, 255, .55); font-family: inherit; }
.bv-omr .bv-omr-n { fill: rgba(255, 255, 255, .4); }
.bv-omr circle { stroke-width: 1.6; }
.bv-omr-off { fill: none; stroke: rgba(255, 255, 255, .28); }
.bv-omr-on { fill: var(--hub-sun); stroke: var(--hub-sun); animation: bv-fill .45s ease-out both; animation-delay: var(--d, 0s); transform-box: fill-box; transform-origin: center; }
@keyframes bv-fill { from { fill: transparent; transform: scale(.55); } to { fill: var(--hub-sun); transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .bv-omr-on { animation: none; } }

.bv-btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 18px; border-radius: 11px; border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: .95em; line-height: 1.2; text-decoration: none !important; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.bv-btn:focus-visible, .bv-tabs button:focus-visible, .bv-card h3 a:focus-visible { outline: 2px solid var(--bcsv-brand); outline-offset: 2px; }
.bv-hero .bv-btn:focus-visible { outline-color: var(--hub-sun); }
.bv-btn-go { background: var(--bcsv-brand); color: #fff !important; }
.bv-btn-go:hover { background: var(--bv-blue-dk, color-mix(in srgb, var(--bcsv-brand) 85%, #000)); }
.bv-btn-soft { background: var(--hub-soft); color: color-mix(in srgb, var(--bcsv-brand) 78%, #000) !important; }
.bv-btn-soft:hover { border-color: var(--bcsv-brand); }
.bv-btn-text { background: none; color: var(--bcsv-muted) !important; padding-inline: 8px; }
.bv-btn-text:hover { color: var(--bcsv-brand) !important; }
.bv-btn-sun { background: var(--hub-sun); color: var(--hub-ink) !important; }
.bv-btn-sun:hover { background: var(--bv-yellow-hv, #f7c349); }
.bv-btn-line { border-color: rgba(255, 255, 255, .45); color: #fff !important; }
.bv-btn-line:hover { border-color: #fff; }

.bv-sec { margin-top: 38px; }
.bv-sec-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 16px; }
.bv-sec-head h2 { font-size: 1.32em; line-height: 1.3; font-weight: 800; color: var(--hub-ink); }
.bv-count { color: var(--bcsv-muted); font-weight: 600; }
.bv-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--bcsv-soft); border: 1px solid var(--hub-line); border-radius: 12px; }
.bv-tabs button { white-space: nowrap; border: 0; background: none; color: var(--bcsv-ink); font: inherit; font-weight: 600; font-size: .92em; padding: 7px 14px; border-radius: 9px; cursor: pointer; }
.bv-tabs button span { color: var(--bcsv-muted); margin-left: 3px; font-weight: 500; }
.bv-tabs button[aria-pressed="true"] { background: var(--hub-ink); color: #fff; }
.bv-tabs button[aria-pressed="true"] span { color: rgba(255, 255, 255, .7); }

.bv-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.bv-card { position: relative; display: flex; background: var(--bcsv-surface); border: 1px solid var(--hub-line); border-radius: 16px; transition: border-color .15s, box-shadow .15s; }
.bv-card[hidden] { display: none; }
.bv-card:hover { border-color: color-mix(in srgb, var(--bcsv-brand) 45%, var(--hub-line)); box-shadow: 0 8px 24px -14px rgba(6, 24, 46, .35); }
.bv-stub { position: relative; flex: none; width: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px 6px; background: var(--hub-soft); border-right: 2px dashed color-mix(in srgb, var(--bcsv-brand) 28%, #fff); border-radius: 15px 0 0 15px; color: var(--bcsv-brand); text-align: center; }
.bv-stub::before, .bv-stub::after { content: ""; position: absolute; right: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--bcsv-surface); border: 1px solid var(--hub-line); }
.bv-stub::before { top: -10px; clip-path: inset(50% 0 0 0); }
.bv-stub::after { bottom: -10px; clip-path: inset(0 0 50% 0); }
.bv-stub b { font-size: 2.5em; line-height: 1; font-weight: 800; letter-spacing: -.02em; }
.bv-stub i { font-style: normal; font-weight: 700; font-size: .85em; margin-top: 2px; }
.bv-stub small { font-size: .74em; color: var(--bcsv-muted); margin-top: 4px; }
.bv-stub-icon svg { display: block; }
.bv-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; }
.bv-card h3 { font-size: 1.06em; line-height: 1.4; font-weight: 800; color: var(--hub-ink); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.bv-card h3 a { color: inherit; text-decoration: none; }
.bv-card h3 a:hover { color: var(--bcsv-brand); }
.bv-tag, .bv-badge { display: inline-block; font-size: .72em; font-weight: 700; line-height: 1.5; padding: 1px 9px; border-radius: 999px; }
.bv-tag { background: #fff3d1; color: #85570a; }
.bv-badge { background: var(--hub-ink); color: #fff; }
.bv-meta { display: flex; flex-wrap: wrap; gap: 2px 16px; color: var(--bcsv-muted); font-size: .9em; }
.bv-meta span { position: relative; }
.bv-meta span + span::before { content: ""; position: absolute; left: -9px; top: 50%; width: 3px; height: 3px; margin-top: -1px; border-radius: 50%; background: currentColor; opacity: .55; }
.bv-mark { color: var(--bcsv-muted); font-size: .84em; }
.bv-prog { display: flex; flex-direction: column; gap: 5px; font-size: .86em; font-weight: 600; color: var(--bcsv-ink); }
.bv-prog[hidden] { display: none; }
.bv-prog b { display: block; height: 6px; border-radius: 99px; background: var(--bcsv-soft); overflow: hidden; }
.bv-prog i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--bcsv-brand); }
.bv-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; }
.bv-empty { margin-top: 28px; padding: 28px; text-align: center; border: 1px dashed var(--hub-line); border-radius: 16px; color: var(--bcsv-muted); }

@media (max-width: 760px) {
	.bv-hero { grid-template-columns: 1fr; padding: 28px 22px; border-radius: 18px; }
	.bv-omr { position: absolute; right: -28px; bottom: -34px; width: 140px; opacity: .22; z-index: -1; }
	body.bcsv-hub .content-container.site-container { padding-left: 12px; padding-right: 12px; }
	body.bcsv-hub .content-bg .entry-content-wrap { padding: 12px 10px 24px; }
	body.bcsv-hub .entry-content.single-content { padding-left: 0; padding-right: 0; }
	/* Kadence pulls the page box 16px past the screen edge on phones: keep a real side gutter. */
	body.bcsv-hub .content-container.site-container { padding-left: 14px; padding-right: 14px; }
	body.bcsv-hub article.entry.content-bg { margin-left: 0; margin-right: 0; }
	body.bcsv-hub .content-bg .entry-content-wrap { padding: 0 0 24px; }
	body.bcsv-hub .content-area { margin-top: 14px; }
	.bv-hero-stats { gap: 12px 26px; }
	.bv-hero-stats dd { font-size: 1.55em; }
	.bv-sec { margin-top: 28px; }
	.bv-cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.bv-stub { width: 70px; padding: 12px 4px; }
	.bv-stub b { font-size: 1.95em; }
	.bv-card-body { padding: 14px 14px 14px 16px; }
	.bv-act .bv-btn-go, .bv-act .bv-btn-soft { flex: 1 1 0; padding-inline: 10px; }
	.bv-tabs { width: 100%; }
	.bv-tabs button { flex: 1; }
}
.bv-hub .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ===== Student statistics (Exam Window + admin student file) ===== */
.bv-stats { --st-c: #157a46; --st-w: #c2410c; --st-s: #c3c8d1; display: grid; gap: 14px; }
.bv-stats h4 { margin: 0 0 10px; font-size: 1em; font-weight: 800; color: var(--bv-ink, #06182e); }
.bv-stats p { margin: 0; }
.bv-stats .bv-muted { color: var(--bcsv-muted); font-size: .85em; margin-top: 8px; }
.bv-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.bv-tile { border: 1px solid var(--bcsv-line); border-radius: 12px; padding: 12px 14px; background: var(--bcsv-surface); display: flex; flex-direction: column; gap: 2px; }
.bv-tile b { font-size: 1.75em; line-height: 1.15; font-weight: 800; color: var(--bv-ink, #06182e); }
.bv-tile span { font-size: .84em; color: var(--bcsv-muted); }
.bv-tile.is-main { background: var(--bv-ink, #06182e); border-color: var(--bv-ink, #06182e); }
.bv-tile.is-main b { color: var(--bv-yellow, #f5b829); }
.bv-tile.is-main span { color: rgba(255, 255, 255, .75); }
.bv-tile.is-c b { color: var(--st-c); }
.bv-tile.is-w b { color: var(--st-w); }
.bv-tile.is-s b { color: #6b7280; }
.bv-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.bv-panel { border: 1px solid var(--bcsv-line); border-radius: 12px; padding: 14px 16px; background: var(--bcsv-surface); min-width: 0; }
.bv-mini { width: 100%; border-collapse: collapse; font-size: .92em; }
.bv-mini th, .bv-mini td { padding: 6px 4px; border-bottom: 1px solid var(--bcsv-line); text-align: right; }
.bv-mini th:first-child, .bv-mini td:first-child { text-align: left; }
.bv-mini tr:last-child td { border-bottom: 0; }
.bv-heat { display: flex; gap: 3px; overflow-x: auto; padding-bottom: 2px; }
.bv-heat-col { display: flex; flex-direction: column; gap: 3px; }
.bv-heat i { display: block; width: 13px; height: 13px; border-radius: 3px; background: #eef1f5; }
.bv-heat i.l1 { background: color-mix(in srgb, var(--bcsv-brand) 28%, #fff); }
.bv-heat i.l2 { background: color-mix(in srgb, var(--bcsv-brand) 52%, #fff); }
.bv-heat i.l3 { background: color-mix(in srgb, var(--bcsv-brand) 76%, #fff); }
.bv-heat i.l4 { background: var(--bcsv-brand); }
.bv-heat i.bv-heat-x { background: transparent; }
.bv-subj { display: grid; gap: 9px; }
.bv-subj-row { display: grid; grid-template-columns: minmax(120px, 1.1fr) minmax(80px, 2fr) auto; align-items: center; gap: 12px; font-size: .92em; }
.bv-subj-name em { font-style: normal; font-size: .78em; font-weight: 700; color: var(--st-w); background: #fff1e8; border-radius: 99px; padding: 0 7px; margin-left: 4px; }
.bv-subj-bar { display: flex; height: 9px; border-radius: 99px; background: var(--st-s); overflow: hidden; }
.bv-subj-bar i { display: block; height: 100%; }
.bv-subj-bar i.c { background: var(--st-c); }
.bv-subj-bar i.w { background: var(--st-w); }
.bv-subj-num { font-weight: 800; text-align: right; white-space: nowrap; }
.bv-subj-num small { font-weight: 500; color: var(--bcsv-muted); margin-left: 6px; }
.bv-papers { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 16px; }
.bv-paper { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; text-decoration: none !important; color: inherit !important; font-size: .9em; }
.bv-paper b { grid-column: 1 / -1; grid-row: 2; display: block; height: 6px; border-radius: 99px; background: #eef1f5; overflow: hidden; }
.bv-paper i { display: block; height: 100%; background: var(--bcsv-brand); border-radius: inherit; }
.bv-paper small { color: var(--bcsv-muted); }
.bv-stats-empty { padding: 18px; text-align: center; color: var(--bcsv-muted); border: 1px dashed var(--bcsv-line); border-radius: 12px; }
@media (max-width: 720px) {
	.bv-split { grid-template-columns: 1fr; }
	.bv-subj-row { grid-template-columns: 1fr auto; }
	.bv-subj-bar { grid-column: 1 / -1; grid-row: 2; }
}

/* ===== Course list & course pages (Tutor LMS, BCS Vision look) ===== */
body.bcsv-courses { --cr-ink: var(--bv-ink, #06182e); --cr-brand: var(--bv-blue, #0e7f57); --cr-sun: var(--bv-yellow, #f5b829); --cr-line: var(--bv-line, #e3e7ec); --cr-soft: color-mix(in srgb, var(--cr-brand) 9%, #fff); --cr-muted: #5b6475; }
body.bcsv-courses .bv-hub-courses { max-width: none; margin: 0 0 30px; }

/* List */
body.bcsv-courses .tutor-course-list.tutor-grid { gap: 22px; }
body.bcsv-courses .tutor-course-card { position: relative; border: 1px solid var(--cr-line) !important; border-radius: 18px !important; overflow: hidden; box-shadow: none !important; background: #fff; transition: border-color .15s, box-shadow .2s, transform .2s; }
body.bcsv-courses .tutor-course-card:hover { border-color: color-mix(in srgb, var(--cr-brand) 45%, var(--cr-line)) !important; box-shadow: 0 14px 30px -18px rgba(6, 24, 46, .45) !important; transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { body.bcsv-courses .tutor-course-card:hover { transform: none; } }
body.bcsv-courses .tutor-course-card .tutor-course-thumbnail img { transition: transform .35s; }
body.bcsv-courses .tutor-course-card:hover .tutor-course-thumbnail img { transform: scale(1.03); }
body.bcsv-courses .bv-cbadge { align-self: flex-start; background: #fdecee; color: #b4122b; font-weight: 800; font-size: .78em; line-height: 1; padding: 6px 10px; border-radius: 999px; }
body.bcsv-courses .course-archive-page > .tutor-row > .tutor-col-12 > div:first-child:not(.tutor-pagination-wrapper-replaceable) { display: none; }
body.bcsv-courses .bv-cbadge.is-free { background: #fff3d1; color: #85570a; }
body.bcsv-courses .tutor-course-card .tutor-course-bookmark { z-index: 3; }
body.bcsv-courses .tutor-course-card .tutor-card-body { padding: 18px 20px 6px !important; display: flex; flex-direction: column; gap: 8px; }
body.bcsv-courses .tutor-course-card .tutor-course-ratings:not(:has(.tutor-icon-star-bold, .tutor-icon-star-half-bold)) { display: none; }
body.bcsv-courses .tutor-course-card .tutor-course-name { font-size: 1.12em !important; line-height: 1.45 !important; font-weight: 800 !important; margin: 0 !important; }
body.bcsv-courses .tutor-course-card .tutor-course-name a { color: var(--cr-ink) !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.bcsv-courses .tutor-course-card .tutor-course-name a:hover { color: var(--cr-brand) !important; }
body.bcsv-courses .tutor-course-card .tutor-meta { display: none !important; }
body.bcsv-courses .bv-cmeta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; color: var(--cr-muted); font-size: .9em; }
body.bcsv-courses .bv-cmeta span { position: relative; }
body.bcsv-courses .bv-cmeta span + span::before { content: ""; position: absolute; left: -9px; top: 50%; width: 3px; height: 3px; margin-top: -1px; border-radius: 50%; background: currentColor; opacity: .6; }
body.bcsv-courses .tutor-course-card .tutor-card-footer { border-top: 1px dashed var(--cr-line) !important; padding: 14px 20px 18px !important; margin-top: auto; background: none !important; }
body.bcsv-courses .tutor-course-card .tutor-item-price { display: flex; align-items: baseline; gap: 8px; }
body.bcsv-courses .tutor-course-card .tutor-item-price > span { font-size: 1.35em; font-weight: 800; color: var(--cr-ink); }
body.bcsv-courses .tutor-course-card .tutor-item-price del { color: var(--cr-muted); font-size: .9em; font-weight: 500; }
body.bcsv-courses .tutor-course-card .tutor-btn,
body.bcsv-courses .tutor-sidebar-card .tutor-btn-primary,
body.bcsv-courses .tutor-sidebar-card .tutor-btn { border-radius: 11px !important; font-weight: 800 !important; }
body.bcsv-courses .tutor-course-card .tutor-btn-outline-primary { background: var(--cr-brand) !important; border-color: var(--cr-brand) !important; color: #fff !important; padding: 9px 18px !important; }
body.bcsv-courses .tutor-course-card .tutor-btn-outline-primary:hover { background: var(--bv-blue-dk, color-mix(in srgb, var(--cr-brand) 85%, #000)) !important; }

/* Single course */
body.bcsv-courses .tutor-course-details-header { position: relative; overflow: hidden; isolation: isolate; background: var(--cr-ink); color: #fff; border-radius: 22px; padding: 34px 40px 26px; margin: 8px 0 30px !important; }
body.bcsv-courses .tutor-course-details-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(110% 150% at 100% 0%, color-mix(in srgb, var(--cr-brand) 55%, transparent) 0%, transparent 55%); }
body.bcsv-courses .tutor-course-details-title { color: #fff !important; font-size: clamp(1.6em, 3vw, 2.3em) !important; line-height: 1.25 !important; font-weight: 800 !important; margin-top: 4px !important; }
body.bcsv-courses .tutor-course-details-header .tutor-course-details-ratings:not(:has(.tutor-icon-star-bold, .tutor-icon-star-half-bold)) { display: none; }
body.bcsv-courses .tutor-course-details-header .tutor-ratings-stars span { color: var(--cr-sun) !important; }
body.bcsv-courses .tutor-course-details-header .tutor-meta, body.bcsv-courses .tutor-course-details-header .tutor-meta a, body.bcsv-courses .tutor-course-details-header .tutor-meta span { color: rgba(255, 255, 255, .8) !important; }
body.bcsv-courses .tutor-course-details-header .tutor-meta a { color: #fff !important; font-weight: 700; }
body.bcsv-courses .tutor-course-details-actions .tutor-btn { color: #fff !important; border: 1px solid rgba(255, 255, 255, .35) !important; border-radius: 10px !important; padding: 6px 12px !important; background: transparent !important; }
body.bcsv-courses .tutor-course-details-actions .tutor-btn:hover { border-color: #fff !important; }
body.bcsv-courses .tutor-course-thumbnail img, body.bcsv-courses .tutor-course-details-page .tutor-video-player { border-radius: 18px; }
body.bcsv-courses .bv-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 18px 0 0; padding: 0; }
body.bcsv-courses .bv-facts div { display: flex; flex-direction: column-reverse; gap: 2px; border: 1px solid var(--cr-line); border-radius: 14px; padding: 12px 16px; background: #fff; }
body.bcsv-courses .bv-facts dd { margin: 0; font-size: 1.25em; font-weight: 800; color: var(--cr-ink); line-height: 1.3; }
body.bcsv-courses .bv-facts dt { margin: 0; font-size: .84em; color: var(--cr-muted); }
body.bcsv-courses .bv-facts div:first-child { background: var(--cr-soft); border-color: transparent; }
body.bcsv-courses .bv-facts div:first-child dd { color: var(--cr-brand); }
body.bcsv-courses .tutor-course-details-tab .tutor-nav { gap: 6px; border: 1px solid var(--cr-line); border-radius: 12px; padding: 4px; background: #f5f7fb; width: max-content; max-width: 100%; }
body.bcsv-courses .tutor-course-details-tab .tutor-nav-link { border: 0 !important; border-radius: 9px; padding: 8px 16px !important; font-weight: 700; color: var(--cr-ink) !important; }
body.bcsv-courses .tutor-course-details-tab .tutor-nav-link.is-active { background: var(--cr-ink) !important; color: #fff !important; }
body.bcsv-courses .tutor-course-details-tab .tutor-nav-link::after, body.bcsv-courses .tutor-course-details-tab .tutor-nav-link::before { display: none !important; }
body.bcsv-courses .tutor-course-details-content h2 { color: var(--cr-ink) !important; font-weight: 800 !important; }
body.bcsv-courses .tutor-course-details-content h3 { margin: 22px 0 8px; font-size: 1.12em; font-weight: 800; color: var(--cr-ink); }
body.bcsv-courses .tutor-course-details-content ul { list-style: none; padding: 0; margin: 8px 0 12px; display: grid; gap: 8px; }
body.bcsv-courses .tutor-course-details-content ul li { position: relative; padding-left: 30px; line-height: 1.6; }
body.bcsv-courses .tutor-course-details-content ul li::before { content: ""; position: absolute; left: 0; top: .25em; width: 20px; height: 20px; border-radius: 50%; background: var(--cr-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%230e7f57' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
body.bcsv-courses .tutor-course-details-content ol { padding-left: 1.3em; }
body.bcsv-courses .tutor-course-content-title { font-weight: 800 !important; color: var(--cr-ink) !important; }
body.bcsv-courses .tutor-accordion-item { border: 1px solid var(--cr-line) !important; border-radius: 16px !important; overflow: hidden; margin-bottom: 12px; }
body.bcsv-courses .tutor-accordion-item-header { background: var(--cr-soft) !important; color: var(--cr-ink) !important; font-weight: 800 !important; padding: 16px 20px !important; }
body.bcsv-courses .tutor-course-content-list { counter-reset: bvles; }
body.bcsv-courses .tutor-course-content-list-item { counter-increment: bvles; padding: 12px 18px !important; border-top: 1px solid var(--cr-line); align-items: center !important; transition: background .15s; }
body.bcsv-courses .tutor-course-content-list-item:first-child { border-top: 0; }
body.bcsv-courses .tutor-course-content-list-item:hover { background: #fafbfd; }
body.bcsv-courses .tutor-course-content-list-item > .tutor-d-flex:first-child { align-items: center; }
body.bcsv-courses .tutor-course-content-list-item > .tutor-d-flex:first-child::before { content: counter(bvles); flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-right: 12px; font-size: .8em; font-weight: 800; color: var(--cr-brand); background: var(--cr-soft); }
body.bcsv-courses .tutor-course-content-list-item-icon { color: #e02424 !important; margin-top: 0 !important; }
body.bcsv-courses .tutor-course-content-list-item-title { font-weight: 600 !important; color: var(--cr-ink) !important; line-height: 1.5 !important; }
body.bcsv-courses .tutor-course-content-list-item-duration { background: #f1f3f7; border-radius: 99px; padding: 2px 9px; font-weight: 600; font-variant-numeric: tabular-nums; }
body.bcsv-courses .tutor-single-course-sidebar { position: sticky; top: 96px; }
body.bcsv-courses .tutor-sidebar-card { border: 1px solid var(--cr-line) !important; border-radius: 20px !important; overflow: hidden; box-shadow: 0 18px 40px -26px rgba(6, 24, 46, .5) !important; }
body.bcsv-courses .tutor-sidebar-card .tutor-card-body { padding: 24px !important; }
body.bcsv-courses .tutor-course-single-pricing { margin-bottom: 14px; }
body.bcsv-courses .tutor-course-single-pricing > span, body.bcsv-courses .tutor-course-single-pricing .tutor-item-price > span { font-size: 2em !important; font-weight: 800 !important; color: var(--cr-ink) !important; }
body.bcsv-courses .tutor-course-single-btn-group .tutor-btn { width: 100%; justify-content: center; min-height: 50px; font-size: 1.05em !important; background: var(--cr-brand) !important; border-color: var(--cr-brand) !important; color: #fff !important; }
body.bcsv-courses .tutor-sidebar-card .tutor-card-footer { background: #fafbfd !important; padding: 18px 24px !important; border-top: 1px solid var(--cr-line) !important; }
body.bcsv-courses .tutor-sidebar-card .tutor-card-footer .tutor-ul li { align-items: center; }
body.bcsv-courses .tutor-sidebar-card .tutor-card-footer [class*="tutor-icon-"] { color: var(--cr-brand) !important; margin-top: 0 !important; }
body.bcsv-courses .tutor-single-course-sidebar-more .tutor-card, body.bcsv-courses .tutor-course-details-instructors { border-radius: 16px !important; }
body.bcsv-courses .tutor-course-details-header .tutor-course-details-info { display: none; }
body.bcsv-courses .tutor-course-details-header .tutor-course-details-top { margin-top: 10px !important; }
@media (max-width: 1199px) { body.bcsv-courses .tutor-single-course-sidebar { position: static; } }
@media (max-width: 760px) {
	body.bcsv-courses .tutor-course-details-header { padding: 24px 20px 20px; border-radius: 18px; }
	body.bcsv-courses .tutor-course-details-tab .tutor-nav { width: 100%; }
	body.bcsv-courses .tutor-course-details-tab .tutor-nav-link { flex: 1; text-align: center; }
	body.bcsv-courses .tutor-course-content-list-item { padding: 12px 12px !important; }
	body.bcsv-courses .bv-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	body.bcsv-courses .bv-facts div { padding: 10px; border-radius: 12px; }
	body.bcsv-courses .bv-facts dd { font-size: 1em; }
	body.bcsv-courses .bv-facts dt { font-size: .76em; }
}
.bcsv-bc-demos { border: 1px solid #f5d27a; background: #fff8e6; border-radius: 16px; padding: 14px 16px; margin: 0 0 18px; }
.bcsv-bc-demos h4 { margin: 0 0 10px; font-size: 1.05em; font-weight: 800; color: #06182e; }
.bcsv-bc-demos h4 small { font-weight: 600; color: #85570a; font-size: .82em; }

/* Course outline: locks for everyone not enrolled, a clear "ডেমো দেখুন" on the free demo items */
.bv-watch { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; padding: 2px 10px 2px 8px; border-radius: 999px; background: #0e7f57; color: #fff !important; font-size: 12.5px; font-weight: 800; line-height: 1.6; text-decoration: none !important; white-space: nowrap; vertical-align: 1px; }
a.bv-watch:hover, a.bv-watch:focus-visible { background: #0a6545; }
a.bv-watch:focus-visible { outline: 2px solid #f5b829; outline-offset: 2px; }
.bv-watch svg { flex: none; }
.bv-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 16px; padding: 10px 14px; border-radius: 12px; background: #f4f7fb; border: 1px solid #e1e8f1; color: #37475c; font-size: 14px; line-height: 1.7; }
.bv-legend > span { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bv-legend-lock svg { color: #5b6b80; }
.bv-legend .bv-watch { margin-left: 0; }
.tutor-course-content-list-item:has(.bv-watch) { background: #f1faf6; }
.tutor-course-content-list-item:has(.bv-watch) .tutor-icon-eye-line::before { content: none; }
.tutor-course-content-list-item:has(.bv-watch) .tutor-icon-eye-line { width: 18px; height: 18px; background: #0e7f57; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 7.5-2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 7.5-2'/%3E%3C/svg%3E") center / contain no-repeat; }
.tutor-course-content-list-item .tutor-icon-lock-line { color: #5b6b80 !important; font-size: 18px; }
.bcsv-bc-item.is-demo { background: #f1faf6; border-radius: 10px; }
.bcsv-bc-item.is-locked .bcsv-bc-lock { color: #5b6b80; }

/* Previous-year paper, visitor view: every question readable, answers after sign-in */
ol.bcsv-pyq-opts { list-style: none; margin: 0; padding: 0; }
ol.bcsv-pyq-opts li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--bcsv-line); border-radius: 10px; background: var(--bcsv-surface); color: var(--bcsv-ink); line-height: 1.45; margin: 0; }
ol.bcsv-pyq-opts li b { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 999px; border: 1px solid var(--bcsv-line); display: inline-flex; align-items: center; justify-content: center; font-size: .85em; }
a.bcsv-pyq-login { display: inline-flex; align-items: center; gap: 6px; text-decoration: none !important; }
a.bcsv-pyq-login::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat; }
.bcsv-pyq-list > .bcsv-pyq-gate { margin: 18px 0; }

/* Free demo cards on a bundle course page: one card per class, all the same size */
.bcsv-bc-demos ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); grid-auto-rows: 1fr; gap: 10px; }
.bcsv-bc-demos li.bv-dcard:hover { border-color: #0e7f57; }
.bcsv-bc-demos li.bv-dcard { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 12px 14px; background: #fff; border: 1px solid #f0e2b6; border-radius: 12px; min-width: 0; }
.bv-dcard-course { font-size: 12.5px; font-weight: 700; color: #0e7f57; }
a.bv-dcard-title { flex: 0 0 auto; border: 0; padding: 0; background: none; max-height: calc(2 * 1.4em); color: #06182e !important; font-weight: 700; line-height: 1.4; text-decoration: none !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
a.bv-dcard-title:hover { color: #0e7f57 !important; }
.bv-dcard-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.bv-dcard-acts .bv-watch { margin-left: 0; flex-direction: row; border: 0; }
a.bv-dcard-exam { flex-direction: row; background: #fff; display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px 2px 8px; border-radius: 999px; border: 1px solid #0e7f57; color: #0e7f57 !important; font-size: 12.5px; font-weight: 800; line-height: 1.6; text-decoration: none !important; white-space: nowrap; }
a.bv-dcard-exam:hover { background: #e9f7f0; }
a.bv-dcard-exam .bcsv-bc-svg { width: 13px; height: 13px; }

/* Previous-year paper: the "other paper" switcher looks like a dropdown */
.bcsv-pyq-switch select { appearance: none; -webkit-appearance: none; padding: 8px 36px 8px 12px; border: 1px solid var(--bcsv-line, #d5deea); border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306182e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 10px center / 16px no-repeat; font: inherit; color: var(--bcsv-ink, #06182e); cursor: pointer; max-width: 100%; }
.bcsv-pyq-switch select:focus-visible { outline: 2px solid var(--bcsv-brand); outline-offset: 2px; }

/* Friendly "page not found" */
.bv-404 { max-width: 640px; margin: 24px auto 40px; padding: 32px 24px; text-align: center; background: #fff; border: 1px solid #e1e8f1; border-radius: 18px; }
.bv-404 b { display: block; font-size: 3.2em; line-height: 1; color: #0e7f57; margin-bottom: 8px; }
.bv-404 h1 { font-size: 1.5em; margin: 0 0 8px; }
.bv-404 p { color: #5b6b80; margin: 0 0 20px; }
.bv-404 nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bv-404 nav a { padding: 9px 16px; border-radius: 10px; border: 1px solid #0e7f57; color: #0e7f57 !important; font-weight: 700; text-decoration: none !important; }
.bv-404 nav a:first-child { background: #0e7f57; color: #fff !important; }
