/**
 * NuroSparx LMS — learning player.
 *
 * Ported from the NuroSparx Design Lab prototype (3 Oct 2026), keeping its
 * layout, spacing and interaction as authored. Two deliberate differences:
 *
 * 1. The prototype's palette is oklch. Converted to sRGB it lands within
 *    ~10/255 of the tokens already in front.css, so this uses those rather
 *    than introducing a second, almost-identical palette. The one real
 *    divergence was `success` — the prototype's is a pure green (#02721c),
 *    ours is the warmer brand green, and ours wins.
 *
 * 2. The prototype switches lessons in the browser. Here each lesson is its
 *    own URL, so curriculum rows are real links and the shell stays
 *    cacheable. The prototype's CSS already targeted `a` for those rows, so
 *    nothing had to be reworked.
 *
 * The quiz screen still uses the previous structural styles; they live at the
 * end of this file scoped under `.nslms-legacy` and come out when that screen
 * moves onto this shell.
 */

/* ------------------------------------------------------------------ shell */

.nslms-player {
	height: 100vh;
	overflow: hidden;
	background: var(--nsf-surface);
}

/*
 * The admin bar is 32px of fixed chrome above the viewport, so a 100vh shell
 * sits 32px too tall and the page gains a scrollbar it should not have.
 */
.admin-bar .nslms-player {
	height: calc(100vh - 32px);
}

.admin-bar .nslms-player-layout {
	height: calc(100vh - 32px - 68px);
}

@media (max-width: 782px) {
	.admin-bar .nslms-player {
		height: calc(100vh - 46px);
	}
}

@media (max-width: 760px) {
	.admin-bar .nslms-player-layout {
		height: calc(100vh - 46px - 62px);
	}
}

/* ----------------------------------------------------------------- header */

.nslms-player-header {
	height: 68px;
	background: var(--nsf-ink);
	color: #fff;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px auto;
	gap: 25px;
	align-items: center;
	padding: 0 20px;
}

.nslms-player-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.nslms-player-brand > a {
	display: inline-flex;
	align-items: center;
	color: #fff;
}

.nslms-player-brand > a:hover {
	color: #fff;
	opacity: .8;
}

/* The course title is secondary to the brand, and divided from it. */
.nslms-player-course {
	font-size: 12px;
	color: rgba(255, 255, 255, .78);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	border-left: 1px solid rgba(255, 255, 255, .18);
	padding-left: 14px;
}

.nslms-player-progress {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	font-size: 11px;
	color: rgba(255, 255, 255, .86);
}

.nslms-player-progress .nslms-bar {
	background: rgba(255, 255, 255, .18);
}

.nslms-player-nav {
	display: flex;
	gap: 7px;
}

/* These buttons sit on navy, so the outline variant inverts. */
.nslms-player-nav .nslms-pbtn {
	min-height: 40px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: var(--nsf-radius-md);
	padding: 0 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 700;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.nslms-player-nav .nslms-pbtn:hover {
	background: rgba(255, 255, 255, .1);
	color: #fff;
}

.nslms-player-nav .nslms-pbtn-solid {
	background: var(--nsf-surface);
	border-color: var(--nsf-surface);
	color: var(--nsf-ink);
}

.nslms-player-nav .nslms-pbtn-solid:hover {
	background: #e9ecf2;
	color: var(--nsf-ink);
}

.nslms-player-nav .nslms-pbtn.is-disabled {
	opacity: .4;
	pointer-events: none;
}

/* ----------------------------------------------------------------- layout */

.nslms-player-layout {
	height: calc(100vh - 68px);
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
}

.nslms-lesson-content {
	overflow: auto;
	background: var(--nsf-bg);
}

/* ------------------------------------------------------------ video frame */

.nslms-video-frame {
	width: min(980px, 100%);
	aspect-ratio: 16 / 9;
	margin: auto;
	background: var(--nsf-ink);
	position: relative;
	display: grid;
	place-items: center;
}

.nslms-video-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nslms-video-shade {
	position: absolute;
	inset: 0;
	background: rgba(16, 24, 40, .55);
}

.nslms-video-play {
	position: absolute;
	width: 68px;
	height: 68px;
	border: 0;
	border-radius: 50%;
	background: var(--nsf-accent);
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
}

.nslms-video-play:hover {
	background: var(--nsf-accent-hover);
}

.nslms-video-length {
	position: absolute;
	right: 16px;
	bottom: 14px;
	background: var(--nsf-ink);
	color: #fff;
	font-size: 11px;
	padding: 5px 7px;
	border-radius: 4px;
}

/* The embed replaces the poster once play is pressed. */
.nslms-video-frame iframe,
.nslms-video-frame video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ------------------------------------------------------------ lesson copy */

.nslms-lesson-copy {
	width: min(850px, calc(100% - 48px));
	margin: 34px auto 70px;
}

.nslms-lesson-eyebrow {
	margin: 0 0 8px;
	text-transform: uppercase;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	color: var(--nsf-accent);
}

.nslms-lesson-copy h1 {
	font-size: 34px;
	line-height: 1.15;
	margin: 8px 0;
	color: var(--nsf-ink);
}

.nslms-lesson-intro {
	color: var(--nsf-muted);
	line-height: 1.65;
}

.nslms-lesson-actions {
	display: flex;
	gap: 10px;
	margin: 24px 0 35px;
}

.nslms-complete-btn {
	background: var(--nsf-ok);
	border-color: var(--nsf-ok);
	color: #fff;
}

.nslms-complete-btn:hover {
	background: var(--nsf-ok);
	border-color: var(--nsf-ok);
	color: #fff;
}

/* ------------------------------------------------------------ lesson tabs */

.nslms-lesson-tabs {
	display: flex;
	gap: 30px;
	border-bottom: 1px solid var(--nsf-line);
	overflow: auto;
}

.nslms-lesson-tabs button {
	border: 0;
	border-bottom: 2px solid transparent;
	background: none;
	padding: 16px 0;
	font-weight: 700;
	color: var(--nsf-muted);
	white-space: nowrap;
	cursor: pointer;
}

.nslms-lesson-tabs button[aria-selected="true"] {
	color: var(--nsf-ink);
	border-bottom-color: var(--nsf-accent);
}

.nslms-lesson-panel {
	padding-top: 30px;
}

.nslms-lesson-panel[hidden] {
	display: none;
}

.nslms-lesson-panel h2 {
	font-size: 22px;
	margin: 0 0 14px;
	color: var(--nsf-ink);
}

.nslms-lesson-panel h3 {
	font-size: 16px;
	margin: 22px 0 10px;
	color: var(--nsf-ink);
}

.nslms-lesson-panel p,
.nslms-lesson-panel li {
	color: var(--nsf-muted);
	line-height: 1.75;
}

.nslms-resource-row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	padding: 14px 16px;
	border: 1px solid var(--nsf-line);
	border-radius: var(--nsf-radius-md);
	margin-bottom: 10px;
	color: var(--nsf-ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.nslms-resource-row:hover {
	border-color: var(--nsf-accent);
	color: var(--nsf-accent);
}

.nslms-notes-area {
	display: block;
	width: 100%;
	border: 1px solid var(--nsf-line);
	border-radius: 9px;
	background: var(--nsf-surface);
	padding: 13px;
	color: var(--nsf-ink);
	line-height: 1.6;
	resize: vertical;
}

.nslms-panel-note {
	display: block;
	margin-top: 8px;
	color: var(--nsf-faint);
	font-size: 11px;
}

.nslms-qa {
	padding: 18px 0;
	border-top: 1px solid var(--nsf-line);
}

.nslms-qa b {
	display: block;
	color: var(--nsf-ink);
	margin-bottom: 4px;
}

.nslms-qa p {
	margin: 0;
}

/* ---------------------------------------------------- quiz and assignment */

.nslms-activity-panel {
	border: 1px solid var(--nsf-line);
	border-radius: var(--nsf-radius);
	background: var(--nsf-surface);
	padding: 26px;
	margin: 6px 0 10px;
}

.nslms-activity-meta {
	margin: 0 0 6px;
	font-size: 12px;
	color: var(--nsf-muted);
}

.nslms-activity-panel h2 {
	font-size: 22px;
	line-height: 1.3;
	margin: 0 0 18px;
	color: var(--nsf-ink);
}

.nslms-upload-zone {
	display: grid;
	place-items: center;
	gap: 4px;
	text-align: center;
	border: 1px dashed var(--nsf-line);
	border-radius: var(--nsf-radius);
	padding: 30px 20px;
	margin: 18px 0;
	cursor: pointer;
	color: var(--nsf-muted);
}

.nslms-upload-zone:hover {
	border-color: var(--nsf-accent);
}

.nslms-upload-zone b {
	color: var(--nsf-ink);
}

.nslms-upload-zone span {
	font-size: 12px;
}

.nslms-upload-zone input {
	display: none;
}

.nslms-submission-status {
	border-top: 1px solid var(--nsf-line);
	padding-top: 16px;
	margin-bottom: 16px;
	font-size: 14px;
	color: var(--nsf-ink);
}

.nslms-submission-status p {
	margin: 8px 0 0;
	color: var(--nsf-muted);
}

/* ------------------------------------------------------------- curriculum */

.nslms-player-curriculum {
	border-left: 1px solid var(--nsf-line);
	overflow: auto;
	background: var(--nsf-surface);
}

.nslms-curriculum-head {
	height: 78px;
	padding: 0 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--nsf-line);
	position: sticky;
	top: 0;
	background: var(--nsf-surface);
	z-index: 1;
}

.nslms-curriculum-head p,
.nslms-curriculum-head h2 {
	margin: 0;
}

.nslms-curriculum-head p {
	font-size: 11px;
	color: var(--nsf-muted);
}

.nslms-curriculum-head h2 {
	font-size: 18px;
	color: var(--nsf-ink);
}

.nslms-curriculum-close,
.nslms-curriculum-mobile {
	display: none;
}

.nslms-lesson-group > button {
	width: 100%;
	padding: 16px;
	border: 0;
	border-bottom: 1px solid var(--nsf-line);
	background: var(--nsf-bg);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	text-align: left;
	font-weight: 750;
	color: var(--nsf-ink);
	cursor: pointer;
}

.nslms-lesson-group > button .nslms-chev {
	flex: none;
	transition: transform .18s var(--nsf-ease);
}

.nslms-lesson-group > button[aria-expanded="true"] .nslms-chev {
	transform: rotate(180deg);
}

.nslms-lesson-group a,
.nslms-lesson-group .nslms-locked-row {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr) auto;
	gap: 9px;
	align-items: center;
	padding: 14px;
	border-bottom: 1px solid var(--nsf-line);
	font-size: 12px;
	color: var(--nsf-ink);
	text-decoration: none;
}

.nslms-lesson-group a:hover {
	background: var(--nsf-bg);
	color: var(--nsf-ink);
}

/*
 * The current lesson is marked twice — a tint and an edge — so it is findable
 * in a long list without relying on colour alone.
 */
.nslms-lesson-group a.is-current {
	background: var(--nsf-accent-soft);
	box-shadow: inset 3px 0 var(--nsf-accent);
}

.nslms-lesson-group a > div,
.nslms-lesson-group .nslms-locked-row > div {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.nslms-lesson-group b {
	font-weight: 650;
	overflow-wrap: anywhere;
}

.nslms-lesson-group small {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--nsf-muted);
}

.nslms-lesson-num,
.nslms-lesson-tick {
	width: 20px;
	height: 20px;
	border: 1px solid var(--nsf-line);
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 10px;
	color: var(--nsf-muted);
}

.nslms-lesson-tick {
	background: var(--nsf-ok);
	border-color: var(--nsf-ok);
	color: #fff;
}

/* A locked row is not a link, because there is nowhere to go yet. */
.nslms-locked-row {
	opacity: .55;
	cursor: not-allowed;
}

.nslms-unlock {
	font-size: 10px;
}

/* ----------------------------------------------------------------- drawer */

.nslms-player-scrim {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 115;
	border: 0;
	width: 100%;
	height: 100%;
	background: rgba(16, 24, 40, .56);
}

.nslms-player-scrim.is-open {
	display: block;
}

/* ------------------------------------------------------------------- bar */

.nslms-bar {
	height: 7px;
	background: var(--nsf-line);
	border-radius: 99px;
	overflow: hidden;
}

.nslms-bar i {
	display: block;
	height: 100%;
	background: var(--nsf-accent);
	transition: width .25s var(--nsf-ease);
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1000px) {
	.nslms-player-header {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.nslms-player-progress {
		display: none;
	}
}

@media (max-width: 760px) {
	.nslms-player-header {
		height: 62px;
		padding: 0 10px;
	}

	.nslms-player-brand .nslms-logo-text,
	.nslms-player-course {
		display: none;
	}

	.nslms-player-nav .nslms-pbtn span {
		display: none;
	}

	.nslms-player-nav .nslms-pbtn {
		width: 40px;
		padding: 0;
	}

	.nslms-curriculum-mobile {
		display: inline-flex;
	}

	.nslms-player-layout {
		height: calc(100vh - 62px);
		display: block;
	}

	.nslms-video-frame {
		width: 100%;
	}

	.nslms-lesson-copy {
		width: calc(100% - 30px);
		margin-top: 24px;
	}

	.nslms-lesson-copy h1 {
		font-size: 28px;
	}

	.nslms-player-curriculum {
		position: fixed;
		z-index: 120;
		top: 0;
		bottom: 0;
		right: 0;
		width: min(360px, 92%);
		transform: translateX(100%);
		transition: transform .25s var(--nsf-ease);
	}

	.nslms-player-curriculum.is-open {
		transform: none;
	}

	.nslms-curriculum-close {
		display: inline-flex;
	}

	.nslms-lesson-actions {
		display: grid;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nslms-player-curriculum,
	.nslms-bar i,
	.nslms-lesson-group > button .nslms-chev {
		transition: none;
	}
}

/* ==========================================================================
 * Previous structural styles, scoped to `.nslms-legacy`.
 *
 * The quiz screen still renders the older markup. Scoping keeps it working
 * unchanged while the player takes the unprefixed class names; this block
 * comes out when the quiz moves onto the shell above.
 * ========================================================================== */

.nslms-legacy .nslms-player {
	display: grid;
	grid-template-columns: minmax(220px, 300px) 1fr;
	gap: 28px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px 16px;
	align-items: start;
}

@media (max-width: 782px) {
.nslms-legacy .nslms-player {
		grid-template-columns: 1fr;
	}
}

.nslms-legacy .nslms-sidebar {
	position: sticky;
	top: 24px;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 14px;
	background: #fff;
}

@media (max-width: 782px) {
.nslms-legacy .nslms-sidebar {
		position: static;
	}
}

.nslms-legacy .nslms-course-link {
	display: block;
	font-weight: 600;
	margin-bottom: 10px;
	text-decoration: none;
}

.nslms-legacy .nslms-sidebar h3 ,
.nslms-legacy .nslms-curriculum h3 {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #666;
	margin: 16px 0 6px;
}

.nslms-legacy .nslms-sidebar ul ,
.nslms-legacy .nslms-curriculum ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nslms-legacy .nslms-nav-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 6px;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.4;
}

.nslms-legacy .nslms-nav-item.is-current {
	background: #f0f4f8;
	font-weight: 600;
}

.nslms-legacy .nslms-nav-item a {
	text-decoration: none;
	flex: 1;
}

.nslms-legacy .nslms-tick {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	border: 1px solid #c4c4c4;
	border-radius: 50%;
	font-size: 11px;
	color: #fff;
}

.nslms-legacy .nslms-nav-item.is-done .nslms-tick {
	background: #1f7a33;
	border-color: #1f7a33;
}

.nslms-legacy .nslms-free {
	font-size: 11px;
	text-transform: uppercase;
	background: #edf7ed;
	color: #1f7a33;
	padding: 1px 6px;
	border-radius: 3px;
}

.nslms-legacy .nslms-locked-title {
	flex: 1;
	color: #777;
}

.nslms-legacy .nslms-progress {
	margin: 10px 0 4px;
}

.nslms-legacy .nslms-progress-bar {
	height: 7px;
	background: #e8e8e8;
	border-radius: 4px;
	overflow: hidden;
}

.nslms-legacy .nslms-progress-bar span {
	display: block;
	height: 100%;
	background: #1f7a33;
	transition: width 0.25s ease;
}

.nslms-legacy .nslms-progress-text {
	font-size: 12px;
	color: #666;
	margin: 5px 0 0;
}

.nslms-legacy .nslms-content {
	min-width: 0;
}

.nslms-legacy .nslms-lesson-body video ,
.nslms-legacy .nslms-lesson-body iframe ,
.nslms-legacy .nslms-lesson-body img {
	max-width: 100%;
	height: auto;
}

.nslms-legacy .nslms-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 28px;
	padding-top: 18px;
	border-top: 1px solid #e8e8e8;
}

.nslms-legacy .nslms-complete ,
.nslms-legacy .nslms-button {
	display: inline-block;
	background: #111;
	color: #fff;
	border: 0;
	padding: 11px 20px;
	border-radius: 5px;
	font-size: 15px;
	cursor: pointer;
	text-decoration: none;
}

.nslms-legacy .nslms-complete:disabled ,
.nslms-legacy .nslms-complete.is-done {
	background: #1f7a33;
	cursor: default;
}

.nslms-legacy .nslms-action-status {
	font-size: 13px;
	color: #666;
}

/* Dashboard */

.nslms-legacy .nslms-course-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
}

.nslms-legacy .nslms-course-card {
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 14px;
	background: #fff;
}

.nslms-legacy .nslms-course-card img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	display: block;
	margin-bottom: 10px;
}

.nslms-legacy .nslms-course-card h3 {
	font-size: 16px;
	margin: 0 0 10px;
}

.nslms-legacy .nslms-course-card a {
	text-decoration: none;
}

.nslms-legacy .nslms-course-card .nslms-button {
	margin-top: 10px;
	font-size: 14px;
	padding: 8px 14px;
}

.nslms-legacy .nslms-empty-state {
	color: #666;
	padding: 20px 0;
}

.nslms-legacy .nslms-enrolled-box {
	margin: 16px 0;
	padding: 14px;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	max-width: 420px;
}

.nslms-legacy .nslms-course-page {
	max-width: 900px;
	margin: 0 auto;
	padding: 24px 16px;
}

/* ------------------------------------------------------------------ buying
 *
 * The panel ships hidden and is revealed once a quote arrives, so a visitor
 * never sees an empty price or a button that cannot yet do anything.
 */

.nslms-legacy .nslms-purchase {
	margin: 18px 0;
	padding: 18px;
	border: 1px solid #dfe3e8;
	border-radius: 8px;
	background: #fff;
	max-width: 420px;
}

.nslms-legacy .nslms-price-row {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
}

.nslms-legacy .nslms-price {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.1;
	color: #14181f;
}

.nslms-legacy .nslms-price-was {
	font-size: 16px;
	color: #78808c;
	text-decoration: line-through;
}

.nslms-legacy .nslms-save {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: #1f7a33;
	background: #edf7ed;
	padding: 3px 8px;
	border-radius: 999px;
}

.nslms-legacy .nslms-price-note {
	font-size: 13px;
	color: #6a7381;
	margin: 6px 0 0;
}

.nslms-legacy .nslms-buy {
	display: block;
	width: 100%;
	margin-top: 14px;
	padding: 13px 20px;
	font-size: 16px;
	font-weight: 600;
}

.nslms-legacy .nslms-buy:disabled {
	opacity: 0.55;
	cursor: default;
}

.nslms-legacy .nslms-coupon {
	margin-top: 12px;
}

.nslms-legacy .nslms-coupon-toggle {
	background: none;
	border: 0;
	padding: 0;
	font-size: 13px;
	color: #1f5fa8;
	cursor: pointer;
	text-decoration: underline;
}

.nslms-legacy .nslms-coupon-form {
	display: flex;
	gap: 8px;
	margin-top: 8px;
}

.nslms-legacy .nslms-coupon-form input {
	flex: 1;
	min-width: 0;
	padding: 9px 11px;
	border: 1px solid #c8cfd8;
	border-radius: 5px;
	font-size: 14px;
	text-transform: uppercase;
}

.nslms-legacy .nslms-button-secondary {
	background: #f1f3f6;
	color: #14181f;
	border: 1px solid #c8cfd8;
	padding: 9px 15px;
	border-radius: 5px;
	font-size: 14px;
	cursor: pointer;
}

.nslms-legacy .nslms-button-secondary:hover {
	background: #e7eaee;
}

.nslms-legacy .nslms-coupon-msg {
	font-size: 13px;
	color: #1f7a33;
	margin: 8px 0 0;
}

.nslms-legacy .nslms-coupon-msg.is-error {
	color: #a8301f;
}

.nslms-legacy .nslms-checkout-msg {
	font-size: 13px;
	color: #6a7381;
	margin: 10px 0 0;
}

/* ----------------------------------------------------- settling a payment
 *
 * Shown after returning from the gateway while the webhook that actually
 * grants access is still in flight. There is deliberately no retry control
 * here: the buyer has already paid.
 */

.nslms-legacy .nslms-settling {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 18px 0;
	padding: 16px 18px;
	border: 1px solid #cfe0f3;
	border-radius: 8px;
	background: #f4f9ff;
	max-width: 520px;
}

.nslms-legacy .nslms-settling p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #234;
}

.nslms-legacy .nslms-settling.is-slow {
	border-color: #e6d5a8;
	background: #fdf8ec;
}

.nslms-legacy .nslms-settling.is-slow .nslms-spinner {
	display: none;
}

.nslms-legacy .nslms-spinner {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	margin-top: 2px;
	border: 2px solid #b9d3ef;
	border-top-color: #1f5fa8;
	border-radius: 50%;
	animation: nslms-spin 0.7s linear infinite;
}

@keyframes nslms-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
.nslms-legacy .nslms-spinner {
		animation: none;
	}
}

/* ------------------------------------------------------------ course page */

.nslms-legacy .nslms-course-header h1 {
	margin-bottom: 6px;
}

.nslms-legacy .nslms-course-meta {
	color: #6a7381;
	font-size: 14px;
	margin: 0 0 14px;
}

.nslms-legacy .nslms-section {
	margin-bottom: 18px;
}

.nslms-legacy .nslms-curriculum {
	margin-top: 26px;
}

.nslms-legacy .nslms-curriculum > h2 {
	font-size: 20px;
	margin-bottom: 10px;
}

.nslms-legacy .nslms-curriculum .nslms-nav-item {
	border-bottom: 1px solid #f0f2f5;
}

.nslms-legacy .nslms-curriculum .nslms-nav-item:last-child {
	border-bottom: 0;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
