body.bm-instructor-participants-view #learn-press-profile > .lp-content-area {
	grid-template-columns: 246px minmax(0, 1fr);
}

body.bm-instructor-participants-view #learn-press-profile #profile-content {
	min-width: 0;
	background: #f5f5f5;
}

/* Keep the endpoint registered for direct links without showing a duplicate menu. */
#learn-press-profile #profile-nav li.instructor-participants,
#learn-press-profile #profile-nav li[class*="instructor-participants"] {
	display: none !important;
}

.bm-participant-courses {
	display: grid;
	gap: 24px;
}

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

.bm-participant-course-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	min-height: 150px;
	padding: 22px;
	border: 1px solid #dde3ed;
	border-radius: 14px;
	background: #fff;
}

.bm-participant-course-card span {
	color: #946812;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.bm-participant-course-card h2 {
	margin: 7px 0 0;
	color: #15213a;
	font-size: 18px;
	line-height: 1.35;
}

.bm-participant-course-card p {
	margin: 10px 0 0;
	color: #667085;
	font-size: 12px;
}

.bm-participant-course-card a {
	align-self: flex-start;
	color: #405a82 !important;
	font-size: 12px;
	font-weight: 700;
}

.bm-participants-page {
	display: grid;
	gap: 24px;
	min-width: 0;
	max-width: 100%;
}

.bm-participants-back {
	justify-self: start;
	color: #595959 !important;
	font-size: 13px;
	font-weight: 600;
}

.bm-participants-heading {
	padding: 28px 30px;
	border: 1px solid #dde3ed;
	border-radius: 16px;
	background: #fff;
}

.bm-participants-heading > span {
	display: block;
	margin-bottom: 8px;
	color: #000;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: none;
}

.bm-participants-heading h1 {
	margin: 0 0 8px;
	color: #15213a;
	font-size: clamp(28px, 3vw, 34px);
	line-height: 1.15;
}

.bm-participants-heading p {
	margin: 0;
	color: #536078;
	font-size: 15px;
}

#learn-press-profile .bm-participants-heading__batch {
	background: #eeeeee;
	color: #595959;
}

.bm-participants-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.bm-participants-toolbar > strong {
	color: #15213a;
	font-size: 14px;
}

.bm-participants-toolbar form {
	display: flex;
	align-items: center;
	gap: 8px;
}

.bm-participants-toolbar input,
.bm-participants-toolbar select,
.bm-participants-toolbar button {
	box-sizing: border-box;
	min-height: 40px;
	margin: 0;
	border: 1px solid #d5dce8;
	border-radius: 8px;
	background: #fff;
	font-size: 12px;
}

.bm-participants-toolbar input {
	width: 220px;
	padding: 8px 12px;
}

.bm-participants-toolbar select {
	padding: 8px 32px 8px 12px;
}

.bm-participants-toolbar button {
	padding: 8px 16px;
	border-color: #405a82;
	background: #405a82;
	color: #fff;
	font-weight: 600;
}

.bm-participants-toolbar input:is(:hover, :focus),
.bm-participants-toolbar select:is(:hover, :focus),
.bm-participants-toolbar button:is(:hover, :focus, :active) {
	border-color: #d5dce8 !important;
	box-shadow: none !important;
	outline: none !important;
}

.bm-participants-toolbar button:is(:hover, :focus, :active) {
	background: #405a82 !important;
}

.bm-participants-table {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	border: 1px solid #dde3ed;
	border-radius: 14px;
	background: #fff;
	overflow-x: auto !important;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-inline: contain;
}

.bm-results-chart {
	position: relative;
	box-sizing: border-box;
	min-width: 0;
	padding: 22px 24px 18px;
	border: 1px solid #dce3ee;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(33, 49, 78, 0.05);
}

.bm-results-chart__heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 12px;
}

.bm-results-chart__heading span {
	display: block;
	margin-bottom: 3px;
	color: #000;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: none;
}

.bm-results-chart__heading h2 {
	margin: 0;
	color: #18243d;
	font-size: 20px;
	line-height: 1.3;
}

.bm-results-chart__heading > strong {
	padding: 5px 9px;
	border-radius: 999px;
	background: #eeeeee;
	color: #595959;
	font-size: 10px;
	white-space: nowrap;
}

.bm-assessment-heatmap__note {
	margin: 0 0 12px;
	color: #536078;
	font-size: 12px;
}

.bm-assessment-heatmap__key {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	font-size: 12px;
}

.bm-assessment-heatmap {
	--bm-heatmap-high-bg: #d1fadf;
	--bm-heatmap-high-text: #14532d;
	--bm-heatmap-mid-bg: #fef9c3;
	--bm-heatmap-mid-text: #713f12;
	--bm-heatmap-low-bg: #fee2e2;
	--bm-heatmap-low-text: #7f1d1d;
	--bm-heatmap-zero-bg: #e5e5e5;
	--bm-heatmap-zero-text: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bm-assessment-heatmap__key .bm-prog-badge--high { background: var(--bm-heatmap-high-bg); color: var(--bm-heatmap-high-text); }
.bm-assessment-heatmap__key .bm-prog-badge--mid { background: var(--bm-heatmap-mid-bg); color: var(--bm-heatmap-mid-text); }
.bm-assessment-heatmap__key .bm-prog-badge--low { background: var(--bm-heatmap-low-bg); color: var(--bm-heatmap-low-text); }
.bm-assessment-heatmap__key .bm-prog-badge--zero { background: var(--bm-heatmap-zero-bg); color: var(--bm-heatmap-zero-text); }

.bm-assessment-heatmap__viewport {
	max-height: 600px;
	overflow: auto;
	isolation: isolate;
	scrollbar-gutter: stable;
	border: 1px solid #dce3ee;
	border-radius: 10px;
}

.bm-assessment-heatmap__viewport.is-showing-all {
	height: auto;
	max-height: none !important;
	overflow-y: hidden;
	scrollbar-gutter: auto;
}

.bm-assessment-heatmap__viewport:focus-visible {
	outline: 2px solid #405a82;
	outline-offset: 3px;
}

/* Match the profile table specificity so theme defaults cannot hide the heatmap. */
#learn-press-profile #profile-content table.bm-assessment-heatmap__table {
	width: 100%;
	margin: 0;
	border-collapse: separate;
	border-spacing: 0;
	table-layout: auto;
	font-family: inherit;
}

#learn-press-profile #profile-content .bm-assessment-heatmap__table :is(th, td) {
	min-width: 124px;
	height: 48px;
	padding: 10px 14px;
	border: 0;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	text-align: center;
	vertical-align: middle;
	font-size: 13px;
	line-height: 1.45;
}

#learn-press-profile #profile-content .bm-assessment-heatmap__table th {
	background: #f1f5f9;
	color: #000;
	font-weight: 600;
}

/* Profile headers use !important globally; override only this score table. */
#learn-press-profile #profile-content table.bm-assessment-heatmap__table thead th {
	position: sticky;
	top: 0;
	z-index: 2;
	background: #e5e5e5 !important;
	color: #000 !important;
	text-align: center !important;
	min-width: 144px;
	max-width: 220px;
	padding-top: 16px;
	padding-bottom: 16px;
	overflow-wrap: normal;
	word-break: normal;
	box-shadow: 0 1px #cbd5e1 !important;
}

#learn-press-profile #profile-content .bm-assessment-heatmap__table .bm-score-number-column,
#learn-press-profile #profile-content .bm-assessment-heatmap__table .bm-score-row-number {
	position: sticky;
	left: 0;
	z-index: 1;
	min-width: 64px;
	max-width: 64px;
	width: 64px;
	padding-right: 8px;
	padding-left: 8px;
	text-align: center !important;
}

#learn-press-profile #profile-content .bm-assessment-heatmap__table .bm-score-participant-column {
	position: sticky;
	left: 64px;
	z-index: 1;
	min-width: clamp(140px, 20vw, 220px);
	max-width: 220px;
	text-align: left !important;
	overflow-wrap: anywhere;
	border-right: 2px solid #cbd5e1;
}

#learn-press-profile #profile-content table.bm-assessment-heatmap__table thead .bm-score-number-column,
#learn-press-profile #profile-content table.bm-assessment-heatmap__table thead .bm-score-participant-column { z-index: 3; }
#learn-press-profile #profile-content .bm-assessment-heatmap__table td {
	font-weight: 700;
	font-size: 14px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	background: #fff;
	color: #000 !important;
}

.bm-assessment-heatmap__score--high { --bm-score-bg: var(--bm-heatmap-high-bg); --bm-score-text: var(--bm-heatmap-high-text); }
.bm-assessment-heatmap__score--mid { --bm-score-bg: var(--bm-heatmap-mid-bg); --bm-score-text: var(--bm-heatmap-mid-text); }
.bm-assessment-heatmap__score--low { --bm-score-bg: var(--bm-heatmap-low-bg); --bm-score-text: var(--bm-heatmap-low-text); }
.bm-assessment-heatmap__score--missing { --bm-score-bg: #f8fafc; --bm-score-text: #64748b; }

#learn-press-profile #profile-content .bm-assessment-heatmap__table tbody tr:hover th {
	background: #e2e8f0;
}

#learn-press-profile #profile-content .bm-assessment-heatmap__table .bm-score-sort {
	display: inline;
	width: 100%;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: #000 !important;
	font: inherit;
	text-align: inherit;
	text-transform: none;
	letter-spacing: normal;
	white-space: normal;
	cursor: pointer;
}

#learn-press-profile #profile-content .bm-assessment-heatmap__table .bm-score-sort:focus-visible {
	outline: 2px solid #405a82;
	outline-offset: 4px;
}

#learn-press-profile #profile-content .bm-assessment-heatmap__table tbody tr:hover td {
	box-shadow: inset 0 2px #475569, inset 0 -2px #475569;
}

.bm-assessment-heatmap [hidden] { display: none !important; }

.bm-score-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 16px 0;
}

.bm-score-controls > label,
.bm-score-participant-field {
	display: grid;
	align-content: start;
	gap: 6px;
	flex: 1 1 200px;
	min-width: 0;
	font-size: 13px;
	font-weight: 600;
}

.bm-score-controls .bm-score-ranking-field[hidden] {
	display: none;
}

#learn-press-profile #profile-content .bm-participants-toolbar button,
#learn-press-profile #profile-content .bm-participants-toolbar button:is(:hover, :focus, :active) {
	color: #fff !important;
}

.bm-score-participant-field label { margin: 0; font-size: 13px; }
.bm-score-participant-field { position: relative; }
.bm-score-participant-popup {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 10;
	padding: 8px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 8px 24px #18243d26;
}
.bm-score-participant-options { max-height: 260px; overflow-y: auto; margin-top: 6px; }
#learn-press-profile #profile-content .bm-score-controls .bm-score-participant-options button {
	display: block;
	width: 100%;
	padding: 10px;
	border: 0;
	background: #fff;
	color: #18243d;
	text-align: left;
	font: 400 13px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	text-transform: none !important;
	letter-spacing: normal;
	border-radius: 6px !important;
	box-shadow: none;
	min-height: 38px;
	cursor: pointer;
	white-space: normal;
	height: auto;
}
#learn-press-profile #profile-content .bm-score-controls .bm-score-participant-options button:is(:hover, :focus-visible, [aria-pressed="true"]) { background: #eff6ff; color: #1d4ed8; }
#learn-press-profile #profile-content .bm-score-controls .bm-score-participant-options button:focus-visible { outline: 2px solid #2563eb; outline-offset: -2px; }
#learn-press-profile #profile-content .bm-score-controls .bm-score-participant-toggle {
	position: relative;
	width: 100%;
	min-height: 44px;
	padding: 10px 36px 10px 12px;
	text-align: left;
	font: 400 13px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	height: auto;
	white-space: normal;
	text-transform: none !important;
	letter-spacing: normal;
	border: 1px solid #cbd5e1;
	border-radius: 8px !important;
	background: #fff;
	color: #18243d;
	box-shadow: none;
	cursor: pointer;
}
#learn-press-profile #profile-content .bm-score-controls .bm-score-participant-toggle:is(:hover, [aria-expanded="true"]) { border-color: #94a3b8; background: #fff; color: #18243d; }
#learn-press-profile #profile-content .bm-score-controls .bm-score-participant-toggle:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.bm-score-participant-toggle::after {
	content: '';
	position: absolute;
	right: 15px;
	top: 50%;
	width: 7px;
	height: 7px;
	border-right: 1.5px solid #64748b;
	border-bottom: 1.5px solid #64748b;
	transform: translateY(-70%) rotate(45deg);
}

.bm-score-controls select,
.bm-score-controls .bm-score-participant-toggle,
.bm-score-controls input[type="search"] {
	width: 100%;
	max-width: 100%;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #fff;
	color: #18243d;
}

.bm-score-help, .bm-score-error { font-size: 13px; color: #475569; }
.bm-score-search-empty { font-size: 12px; color: #64748b; font-weight: 400; }
.bm-score-charts { max-height: 800px; overflow: auto; margin-bottom: 16px; }
.bm-score-card { padding: 16px; border: 1px solid #dce3ee; border-radius: 10px; margin-bottom: 12px; background: #fff; }
.bm-score-card h3 { margin: 0 0 16px; font-size: 16px; }
.bm-score-scroll { overflow: auto; }
.bm-score-plot { position: relative; }
.bm-score-scroll:focus-visible { outline: 2px solid #2563eb; outline-offset: -2px; }

.bm-results-chart__viewport {
	width: 100%;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
}

.bm-results-chart__svg {
	display: block;
	min-width: 720px;
	font-family: inherit;
}

.bm-results-chart__canvas {
	display: block;
	width: auto !important;
	max-width: none !important;
	height: 340px !important;
}

.bm-results-chart__grid {
	stroke: #dfe4ec;
	stroke-width: 1;
}

.bm-results-chart__axis-label,
.bm-results-chart__x-label {
	fill: #5e6b80;
	font-size: 11px;
}

.bm-results-chart__x-label {
	font-weight: 600;
}

.bm-results-chart__line {
	fill: none;
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
	pointer-events: none;
}

.bm-results-chart__point {
	stroke: #fff;
	stroke-width: 2;
	cursor: pointer;
}

.bm-results-chart__point:hover,
.bm-results-chart__point:focus {
	r: 7;
	stroke-width: 3;
	outline: none;
}

.bm-results-chart__tooltip {
	position: absolute;
	z-index: 4;
	max-width: 260px;
	padding: 8px 11px;
	border-radius: 7px;
	background: #17233b;
	box-shadow: 0 7px 18px rgba(23, 35, 59, 0.22);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.4;
	pointer-events: none;
	transform: translate(-50%, -100%);
}

.bm-results-chart__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	padding: 4px 8px 0 54px;
	color: #46546b;
	font-size: 11px;
}

.bm-results-chart__legend span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.bm-results-chart__legend i {
	display: block;
	width: 10px;
	height: 10px;
	flex: 0 0 10px;
	border-radius: 50%;
}

.bm-participants-table table {
	width: 100%;
	min-width: 760px;
	max-width: none;
	margin: 0;
	border-collapse: collapse;
	table-layout: fixed;
}

.bm-participants-table th:nth-child(1) { width: 5%; }
.bm-participants-table th:nth-child(2) { width: 25%; }
.bm-participants-table th:nth-child(3) { width: 11%; }
.bm-participants-table th:nth-child(4) { width: 11%; }
.bm-participants-table th:nth-child(5) { width: 37%; }
.bm-participants-table th:nth-child(6) { width: 11%; }

.bm-participants-table th,
.bm-participants-table td,
#learn-press-profile #profile-content .bm-participants-table table > tbody > tr > td {
	padding: 15px 14px;
	border-right: 1px solid #e8ecf2;
	border-bottom: 1px solid #e8ecf2;
	color: #354158;
	font-size: 15px;
	line-height: 1.5;
	text-align: left;
	vertical-align: top;
}

.bm-participants-table th:last-child,
.bm-participants-table td:last-child {
	border-right: 0;
}

.bm-participants-table tbody tr:last-child td {
	border-bottom: 0;
}

.bm-participants-table th,
#learn-press-profile #profile-content .bm-participants-table table > thead > tr > th {
	color: #222 !important;
	background: #e5e5e5 !important;
	box-shadow: none !important;
	text-align: left !important;
	vertical-align: middle !important;
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}

.bm-participants-table td a {
        color: #405a82 !important;
}

.bm-participants-table td a:hover,
.bm-participants-table td a:focus-visible {
        color: #243b62 !important;
        text-decoration: underline;
}

/* Keep row numbers regular weight; only the table header remains bold. */
.bm-participants-table > table > tbody > tr > td:first-child,
#learn-press-profile .bm-participants-results-table > table > tbody > tr > td:first-child {
	font-weight: 400 !important;
}

.bm-participant-activity-table table {
        min-width: 1040px;
        table-layout: auto;
}

.bm-participant-activity-table .bm-activity-badge {
        display: inline-block;
        padding: 4px 10px;
        border-radius: 6px;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.5;
        white-space: nowrap;
}

.bm-participant-activity-table .bm-activity-badge--high {
        background: #dcfce7;
        color: #166534;
}

.bm-participant-activity-table .bm-activity-badge--mid {
        background: #fef3c7;
        color: #92400e;
}

.bm-participant-activity-table .bm-activity-badge--low {
        background: #fee2e2;
        color: #991b1b;
}

.bm-participant-activity-table th:nth-child(1) { width: 5%; }
.bm-participant-activity-table th:nth-child(2) { width: 24%; }
.bm-participant-activity-table th:nth-child(3) { width: 10%; }
.bm-participant-activity-table th:nth-child(4),
.bm-participant-activity-table th:nth-child(5) { width: 19%; }
.bm-participant-activity-table th:nth-child(6),
.bm-participant-activity-table th:nth-child(7) { width: 12%; }

.bm-participant-activity-table td:nth-child(4),
.bm-participant-activity-table td:nth-child(5),
.bm-participant-activity-table td:nth-child(6),
.bm-participant-activity-table td:nth-child(7) {
        white-space: nowrap;
}

.bm-quiz-review__questions {
        display: grid;
        gap: 14px;
}

.bm-quiz-review__empty,
.bm-quiz-question {
        padding: 20px;
        border: 1px solid #dde3ed;
        border-radius: 14px;
        background: #fff;
}

.bm-quiz-review__empty {
        color: #667085;
        text-align: center;
}

.bm-quiz-question {
        border-left-width: 5px;
}

.bm-quiz-question.is-correct { border-left-color: #22863a; }
.bm-quiz-question.is-wrong { border-left-color: #c62828; }
.bm-quiz-question.is-empty { border-left-color: #9ca3af; }

.bm-quiz-question__heading {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 18px;
}

.bm-quiz-question__heading h2 {
        margin: 0;
        color: #1d2940;
        font-size: 16px;
        line-height: 1.5;
}

.bm-quiz-question__heading span {
        flex: 0 0 auto;
        padding: 5px 10px;
        border-radius: 999px;
        background: #eef1f5;
        color: #526075;
        font-size: 11px;
        font-weight: 700;
}

.bm-quiz-question__media {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 14px 0 18px;
}

.bm-quiz-question__media img,
.bm-quiz-question dd img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 420px;
    border-radius: 8px;
    object-fit: contain;
}

.bm-quiz-question dd img {
    margin: 6px 0;
}

.bm-quiz-question.is-correct .bm-quiz-question__heading span {
        background: #e8f5e9;
        color: #1b6e2e;
}

.bm-quiz-question.is-wrong .bm-quiz-question__heading span {
        background: #fdecec;
        color: #a61b1b;
}

.bm-quiz-question dl {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin: 16px 0 0;
}

.bm-quiz-question dl > div {
        padding: 12px 14px;
        border-radius: 9px;
        background: #f7f9fc;
}

.bm-quiz-question dt {
        margin-bottom: 5px;
        color: #667085;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
}

.bm-quiz-question dd {
        margin: 0;
        color: #25324a;
        font-size: 13px;
        line-height: 1.5;
}

.bm-participant-quizzes {
	display: grid;
	gap: 6px;
	width: 100%;
}

.bm-participant-quizzes span {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.bm-participant-quizzes em {
	font-style: normal;
	line-height: 1.4;
}

.bm-participant-quizzes .bm-prog-badge {
	display: inline-flex;
	justify-content: center;
	gap: 0;
}

#learn-press-profile .bm-participant-quizzes .bm-prog-badge {
	color: #000 !important;
	font-weight: 400;
}

.bm-participant-quizzes strong {
	flex-shrink: 0;
	white-space: nowrap;
	text-align: right;
	font-weight: 700;
}

.bm-participant-quizzes__more summary {
	width: fit-content;
	color: #405a82;
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
}

.bm-participant-quizzes .bm-assessments-more__open {
	display: none;
}

.bm-participant-quizzes .bm-participant-quizzes__more[open] .bm-assessments-more__closed {
	display: none;
}

.bm-participant-quizzes .bm-participant-quizzes__more[open] .bm-assessments-more__open {
	display: inline;
}

.bm-participant-quizzes__more > div {
	display: grid;
	gap: 6px;
	margin-top: 6px;
	padding-top: 6px;
	border-top: 1px dashed #d8deea;
}

.bm-participants-empty {
	padding: 40px !important;
	text-align: center !important;
}

.bm-participants-page .bm-course-pagination {
	box-sizing: border-box;
	flex-wrap: wrap;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.bm-participants-page .bm-course-pagination__controls {
	min-width: 0;
	flex-wrap: wrap;
	justify-content: flex-end;
}

/* Pagination layout: range + page-size stay left, navigation stays right. */
.bm-participants-page .bm-course-pagination {
	display: grid;
	grid-template-columns: auto auto minmax(16px, 1fr) auto;
	align-items: center;
	column-gap: 8px;
	padding: 8px 0;
	border-top: 1px solid #ececec;
	border-bottom: 1px solid #ececec;
}

.bm-participants-page .bm-course-pagination__summary {
	grid-column: 1;
	white-space: nowrap;
}

.bm-participants-page .bm-course-pagination__perpage {
	grid-column: 2;
	justify-self: start;
	gap: 6px;
}

.bm-participants-page .bm-course-pagination__perpage-label {
	display: none;
}

.bm-participants-page .bm-course-pagination__perpage-select {
	min-width: 64px !important;
	min-height: 32px;
	padding: 5px 26px 5px 9px !important;
	border: 1px solid #d9dee8 !important;
	border-radius: 4px !important;
	box-shadow: none !important;
}

.bm-participants-page .bm-course-pagination__controls {
	grid-column: 4;
	justify-self: end;
	padding: 3px;
	border: 1px solid #d9dee8;
	border-radius: 4px;
}

.bm-participants-page .bm-course-pagination__prev,
.bm-participants-page .bm-course-pagination__next {
	min-width: 38px !important;
	min-height: 38px !important;
	font-size: 20px !important;
}

.bm-participants-page .bm-course-pagination__page,
.bm-participants-page .bm-course-pagination__disabled {
	min-width: 38px !important;
	min-height: 38px !important;
	font-size: 15px !important;
}

.bm-participants-page #learn-press-profile .bm-course-pagination a,
.bm-participants-page #learn-press-profile .bm-course-pagination__page,
.bm-participants-page #learn-press-profile .bm-course-pagination__disabled {
	min-width: 30px;
	min-height: 30px;
	border-radius: 3px;
}

@media (max-width: 600px) {
	.bm-participants-page .bm-course-pagination {
		grid-template-columns: 1fr auto;
		row-gap: 8px;
	}

	.bm-participants-page .bm-course-pagination__summary {
		grid-column: 1 / -1;
	}

	.bm-participants-page .bm-course-pagination__perpage {
		grid-column: 1 / -1;
		justify-self: center;
		order: 3;
	}

	.bm-participants-page .bm-course-pagination__controls {
		grid-column: 1 / -1;
		justify-self: center;
		width: fit-content;
		max-width: 100%;
		justify-content: center;
		flex-wrap: nowrap;
		gap: 2px;
		order: 2;
	}

	.bm-participants-page .bm-course-pagination__summary {
		order: 1;
	}

	.bm-participants-page .bm-course-pagination__prev,
	.bm-participants-page .bm-course-pagination__next,
	.bm-participants-page .bm-course-pagination__page,
	.bm-participants-page .bm-course-pagination__disabled {
		min-width: 32px !important;
		min-height: 32px !important;
		padding: 0 4px !important;
		font-size: 14px !important;
	}
}


.bm-course-pagination__ellipsis {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	color: #667085;
}

@media (max-width: 980px) {
	/* Reserve readable score columns; scroll the table instead of squeezing them. */
	#learn-press-profile .bm-participants-results-table table {
		min-width: 960px;
	}

	#learn-press-profile .bm-participants-results-table th,
	#learn-press-profile .bm-participants-results-table td {
		box-sizing: border-box;
		padding: 16px;
	}

	#learn-press-profile .bm-participants-results-table th:nth-child(1) { width: 6%; }
	#learn-press-profile .bm-participants-results-table th:nth-child(2) { width: 23%; }
	#learn-press-profile .bm-participants-results-table th:nth-child(3),
	#learn-press-profile .bm-participants-results-table th:nth-child(4),
	#learn-press-profile .bm-participants-results-table th:nth-child(6) { width: 13%; }
	#learn-press-profile .bm-participants-results-table th:nth-child(5) { width: 32%; }

	#learn-press-profile .bm-participants-results-table :is(th, td):nth-child(3),
	#learn-press-profile .bm-participants-results-table :is(th, td):nth-child(4),
	#learn-press-profile .bm-participants-results-table :is(th, td):nth-child(6) {
		text-align: center;
		white-space: nowrap;
	}

	#learn-press-profile .bm-participants-results-table td:nth-child(2),
	#learn-press-profile .bm-participants-results-table .bm-participant-quizzes em {
		overflow-wrap: anywhere;
	}

	body.bm-instructor-participants-view #learn-press-profile > .lp-content-area {
		grid-template-columns: 1fr;
	}

	.bm-participants-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.bm-participants-toolbar form {
		width: 100%;
		flex-wrap: wrap;
	}

}

@media (max-width: 600px) {
	.bm-results-chart { padding: 18px 12px; }
	.bm-participants-heading { overflow-wrap: anywhere; }
	.bm-participants-toolbar input,
	.bm-participants-toolbar select,
	.bm-participants-toolbar button {
		min-width: 0;
		max-width: 100%;
		min-height: 44px;
		font-size: 16px;
	}
	/* Let scores scroll into view without a frozen name covering the phone viewport. */
	#learn-press-profile #profile-content .bm-assessment-heatmap__table .bm-score-number-column,
	#learn-press-profile #profile-content .bm-assessment-heatmap__table .bm-score-row-number,
	#learn-press-profile #profile-content .bm-assessment-heatmap__table .bm-score-participant-column {
		position: static;
	}

	.bm-participant-course-grid {
		grid-template-columns: 1fr;
	}

	.bm-participants-page {
		gap: 18px;
	}

	.bm-participants-heading {
		padding: 22px 18px;
	}

	.bm-participants-toolbar form {
		display: grid;
		grid-template-columns: 1fr;
	}

	.bm-participants-toolbar input,
	.bm-participants-toolbar select,
        .bm-participants-toolbar button {
                width: 100%;
        }

        .bm-quiz-question__heading,
        .bm-quiz-question dl {
                grid-template-columns: 1fr;
        }

        .bm-quiz-question__heading {
                flex-direction: column;
        }

}

/* The unified participant table uses neutral cells and compact score badges. */
#learn-press-profile #profile-content .bm-assessment-heatmap__table tbody th,
#learn-press-profile #profile-content .bm-assessment-heatmap__table tbody th a {
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400 !important;
    color: #64748b;
}
#learn-press-profile #profile-content .bm-assessment-heatmap__table tbody th a:hover {
    text-decoration: underline;
}
#learn-press-profile #profile-content .bm-assessment-heatmap__table :is(th, td) {
    border-right: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
}
#learn-press-profile #profile-content .bm-assessment-heatmap__table tbody tr:hover :is(th, td) {
    background: #fafafa;
    box-shadow: none;
}
#learn-press-profile #profile-content .bm-assessment-heatmap__table .bm-prog-badge {
    display: inline-block;
    min-width: 52px;
    padding: 5px 12px;
    border-radius: 999px;
    font-weight: 400;
}
