:root {
	--aso-blue: #0b4fbc;
	--aso-teal: #0f6b87;
	--aso-yellow: #ffc72c;
	--aso-green: #008751;
	--aso-text: #0b2a47;
	--aso-text-muted: #475467;
	--aso-font: 'Inter', 'Open Sans', system-ui, -apple-system, sans-serif;
}

body.aso-academy-focus-mode {
	margin: 0;
	font-family: var(--aso-font);
	color: var(--aso-text);
	background: #f4f7fb;
}

.aso-fm-shell {
	display: flex;
	min-height: 100vh;
}

.aso-fm-sidebar {
	width: 280px;
	flex-shrink: 0;
	background: #fff;
	border-right: 1px solid #e4e7ec;
	padding: 16px;
	overflow-y: auto;
}

.aso-fm-sidebar.is-collapsed {
	display: none;
}

.aso-fm-sidebar-toggle {
	display: none;
	width: 100%;
	padding: 10px;
	background: var(--aso-blue);
	color: #fff;
	border: none;
	border-radius: 4px;
	font-weight: 600;
	cursor: pointer;
}

.aso-fm-section-title {
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.05em;
	color: var(--aso-text-muted);
	margin: 16px 0 4px;
}

.aso-fm-outline ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.aso-fm-outline li a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 8px;
	border-radius: 4px;
	color: var(--aso-text);
	text-decoration: none;
}

.aso-fm-outline li.is-current > a {
	background: var(--aso-blue);
	color: #fff;
}

.aso-fm-check {
	color: var(--aso-green);
	width: 14px;
	display: inline-block;
}

.aso-fm-outline li.is-current .aso-fm-check {
	color: var(--aso-yellow);
}

.aso-fm-main {
	flex: 1;
	padding: 24px 32px;
	max-width: 900px;
}

.aso-fm-progress-bar {
	height: 8px;
	background: #e4e7ec;
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 16px;
}

.aso-fm-progress-fill {
	height: 100%;
	background: var(--aso-green);
	width: 0;
	transition: width 0.3s ease;
}

.aso-fm-title {
	font-size: 28px;
	margin: 0 0 16px;
}

.aso-fm-video video,
.aso-fm-video iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: none;
	border-radius: 6px;
	background: #000;
}

.aso-fm-content {
	margin-top: 24px;
	line-height: 1.6;
}

.aso-fm-actions {
	margin-top: 24px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.aso-fm-button {
	display: inline-block;
	padding: 10px 20px;
	border-radius: 4px;
	border: none;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
}

.aso-fm-button-primary {
	background: var(--aso-blue);
	color: #fff;
}

.aso-fm-button-primary:disabled {
	background: #9bb6cc;
	cursor: not-allowed;
}

.aso-fm-status {
	color: var(--aso-text-muted);
	font-style: italic;
}

@media (max-width: 768px) {
	.aso-fm-shell {
		flex-direction: column;
	}

	.aso-fm-sidebar {
		width: 100%;
		border-right: none;
		border-bottom: 1px solid #e4e7ec;
	}

	.aso-fm-sidebar-toggle {
		display: block;
	}
}

/* Low-bandwidth mode (brief section 11): hides decorative images —
   anything explicitly marked as such — while leaving functional
   images (the required/primary content) untouched. */
body.aso-low-bandwidth .aso-decorative {
	display: none;
}

.aso-fm-transcript {
	background: #f2f4f7;
	border-radius: 8px;
	padding: 16px 20px;
	margin-bottom: 16px;
}
