/**
 * Complx ¯ LearnDash Focus Mode interior (polished).
 */

body.complx-ld-interior {
	--complx-navy: #073B66;
	--complx-navy-dark: #062F52;
	--complx-ivory: #F5F7FA;
	--complx-line: #D9E0E7;
	--complx-ink: #101828;
	--complx-muted: #586474;
	--complx-accent: #F09018;
	--complx-accent-yellow: #F0C048;
	--complx-success: #3FA34D;
	--complx-cyan: #18C0C0;
	--complx-page: #0A152E;
	--complx-elevated: #15264A;
	--ld-header-h: 56px;
	--ld-side-w: 350px;
	--ld-nav-h: 64px;
	font-family: var(--complx-font-body, Satoshi, "Inter", system-ui, sans-serif);
	background: var(--complx-ivory) !important;
	color: var(--complx-ink);
}

body.complx-ld-interior .learndash-wrapper,
body.complx-ld-interior .ld-focus {
	background: transparent !important;
}

/* Geometry ¯ keep in sync to avoid gaps */
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar {
	width: var(--ld-side-w) !important;
	background: #fff !important;
	border-right: 1px solid var(--complx-line) !important;
	padding-top: var(--ld-header-h) !important;
	padding-bottom: 0 !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-main {
	margin-left: var(--ld-side-w) !important;
	width: calc(100% - var(--ld-side-w)) !important;
	background: var(--complx-ivory) !important;
	/* Do NOT set z-index here: header lives inside main; a stacking
	   context would trap it under the fixed sidebar (logo/menu broken). */
	position: relative !important;
	z-index: auto !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus.ld-focus-sidebar-collapsed .ld-focus-main {
	margin-left: 0 !important;
	width: 100% !important;
}

/* ===== Header ===== */
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header {
	background: #fff !important;
	border-bottom: 1px solid var(--complx-line) !important;
	height: var(--ld-header-h) !important;
	min-height: var(--ld-header-h) !important;
	max-height: var(--ld-header-h) !important;
	display: flex !important;
	align-items: center !important;
	overflow: visible !important;
	box-shadow: none !important;
	z-index: 200 !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-brand-logo {
	background: var(--complx-navy) !important;
	flex: 0 0 var(--ld-side-w) !important;
	width: var(--ld-side-w) !important;
	max-width: var(--ld-side-w) !important;
	height: var(--ld-header-h) !important;
	padding: 0 1rem !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	position: relative !important;
	z-index: 2 !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-brand-logo a {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 100% !important;
	width: 100% !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-brand-logo img,
body.complx-ld-interior .complx-ld-focus-logo {
	display: block !important;
	height: 34px !important;
	width: auto !important;
	max-width: 180px !important;
	object-fit: contain !important;
	margin: 0 auto !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-progress {
	flex: 1 1 auto !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 1rem !important;
	border: 0 !important;
	border-left: 0 !important;
	border-right: 0 !important;
	align-self: center !important;
	justify-content: center !important;
	align-items: stretch !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-progress .ld-progress-wrap {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-progress .ld-progress-heading {
	display: flex !important;
	justify-content: space-between !important;
	align-items: baseline !important;
	width: 100% !important;
	margin: 0 0 0.25rem !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-progress .ld-progress-bar {
	width: 100% !important;
}

body.complx-ld-interior .learndash-wrapper .ld-progress .ld-progress-heading,
body.complx-ld-interior .learndash-wrapper .ld-progress .ld-progress-percentage,
body.complx-ld-interior .learndash-wrapper .ld-progress .ld-progress-steps {
	color: var(--complx-muted) !important;
	font-weight: 650 !important;
	font-size: 0.75rem !important;
}

body.complx-ld-interior .learndash-wrapper .ld-progress .ld-progress-bar {
	background: #EAF0F8 !important;
	border-radius: 999px !important;
	height: 5px !important;
	overflow: hidden;
}

body.complx-ld-interior .learndash-wrapper .ld-progress .ld-progress-bar .ld-progress-bar-percentage {
	background: var(--complx-success) !important;
}

/* Header actions ¯ one clean row, no overflow */
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-content-actions {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-end !important;
	gap: 0.55rem !important;
	flex: 0 0 auto !important;
	height: var(--ld-header-h) !important;
	max-height: var(--ld-header-h) !important;
	margin: 0 !important;
	padding: 0 0.75rem 0 0 !important;
	border: 0 !important;
	overflow: visible !important;
	box-sizing: border-box !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-content-action {
	display: flex !important;
	align-items: center !important;
	margin: 0 !important;
	padding: 0 !important;
	height: auto !important;
	min-height: 0 !important;
	position: static !important;
	border: 0 !important;
	border-left: 0 !important;
	border-right: 0 !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-content-action + .ld-content-action,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-content-actions .ld-content-action + a {
	border: 0 !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-content-action .learndash_timer,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-content-action #learndash_timer {
	display: none !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu {
	display: flex !important;
	align-items: center !important;
	gap: 0.55rem;
	flex: 0 0 auto !important;
	position: relative !important;
	height: var(--ld-header-h) !important;
	padding: 0 1rem 0 0.75rem !important;
	margin: 0 !important;
	border: 0 !important;
	border-left: 0 !important;
	background: transparent !important;
	color: var(--complx-muted) !important;
	font-size: 0.84rem;
	font-weight: 550;
	white-space: nowrap;
	z-index: 220 !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-user-welcome-text,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-text {
	background: transparent !important;
	color: inherit !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-profile-avatar {
	display: block !important;
	width: 36px !important;
	height: 36px !important;
	min-width: 36px !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 50% !important;
	overflow: hidden !important;
	background: #EAF0F8 !important;
	border: 2px solid rgba(7, 59, 102, 0.18) !important;
	box-sizing: border-box !important;
	flex-shrink: 0 !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-profile-avatar img,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-profile-avatar .avatar {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	border-radius: 50% !important;
	margin: 0 !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-user-menu-items {
	position: absolute !important;
	top: calc(100% - 2px) !important;
	right: 0.5rem !important;
	z-index: 400 !important;
	min-width: 200px !important;
	margin: 0 !important;
	padding: 0.4rem 0 !important;
	background: #fff !important;
	border: 1px solid var(--complx-line) !important;
	border-radius: 12px !important;
	box-shadow: 0 12px 32px rgba(16, 24, 40, 0.18) !important;
	overflow: hidden !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-user-menu-items::before {
	border-bottom-color: #fff !important;
	right: 1.1rem !important;
	top: -5px !important;
	z-index: 1 !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu:hover .ld-user-menu-items,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu:focus-within .ld-user-menu-items {
	opacity: 1 !important;
	visibility: visible !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-user-menu-items a {
	display: block !important;
	padding: 0.65rem 1rem !important;
	margin: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	color: var(--complx-ink) !important;
	font-size: 0.86rem !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	border: 0 !important;
	border-bottom: 1px solid var(--complx-line) !important;
	opacity: 1 !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-user-menu-items a:last-child {
	border-bottom: 0 !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-user-menu-items a:hover {
	background: #EAF0F8 !important;
	background-color: #EAF0F8 !important;
	color: var(--complx-navy) !important;
	opacity: 1 !important;
}

/* Header buttons ¯ consistent pills */
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-button,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header a.ld-button,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-button-transparent,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .sfwd-mark-complete input[type="submit"],
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .learndash_mark_complete_button,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header #learndash_mark_complete_button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.35rem !important;
	height: 36px !important;
	min-height: 36px !important;
	max-height: 36px !important;
	padding: 0 1rem !important;
	margin: 0 !important;
	border: 1px solid var(--complx-navy) !important;
	border-radius: 999px !important;
	background: var(--complx-navy) !important;
	color: #fff !important;
	font-family: var(--complx-font-body, Satoshi, system-ui, sans-serif) !important;
	font-weight: 650 !important;
	font-size: 0.82rem !important;
	line-height: 1 !important;
	text-transform: none !important;
	box-shadow: none !important;
	vertical-align: middle !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-button-transparent,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header a.ld-button.ld-button-transparent {
	background: transparent !important;
	color: var(--complx-navy) !important;
	border-color: var(--complx-line) !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-button:hover,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .sfwd-mark-complete input[type="submit"]:hover {
	background: var(--complx-navy-dark) !important;
	border-color: var(--complx-navy-dark) !important;
	color: #fff !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-button-transparent:hover {
	background: #EAF0F8 !important;
	color: var(--complx-navy) !important;
	border-color: var(--complx-line) !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .sfwd-mark-complete,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header #sfwd-mark-complete {
	display: inline-flex !important;
	align-items: center !important;
	position: relative !important;
	margin: 0 !important;
	overflow: visible !important;
}

/* LD places a check icon via form::after ¯ give the label room */
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .sfwd-mark-complete input[type="submit"],
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .sfwd-mark-complete .learndash_mark_complete_button,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .sfwd-mark-complete #learndash_mark_complete_button,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header #sfwd-mark-complete input[type="submit"],
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header #sfwd-mark-complete .learndash_mark_complete_button,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header #sfwd-mark-complete #learndash_mark_complete_button {
	padding: 0 2.15rem 0 1rem !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .sfwd-mark-complete::after,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header #sfwd-mark-complete::after {
	color: #fff !important;
	right: 0.85rem !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	z-index: 1 !important;
	pointer-events: none !important;
	font-size: 0.8em !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-content-action .ld-icon {
	color: inherit !important;
}

/* ===== Sidebar heading + chevron (no gap) ===== */
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation-heading {
	background: var(--complx-navy) !important;
	color: #fff !important;
	width: var(--ld-side-w) !important;
	min-height: var(--ld-nav-h) !important;
	height: var(--ld-nav-h) !important;
	max-height: var(--ld-nav-h) !important;
	padding: 0 2.75rem 0 1rem !important;
	margin: 0 !important;
	border: 0 !important;
	box-sizing: border-box !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	overflow: hidden !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation-heading h3,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation-heading h3 a,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation-heading a {
	color: #fff !important;
	font-family: var(--complx-font-display, "General Sans", Satoshi, sans-serif) !important;
	font-weight: 700 !important;
	font-size: 0.9rem !important;
	line-height: 1.25 !important;
	margin: 0 !important;
	display: flex !important;
	align-items: center !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation-heading h3 {
	width: 100% !important;
	max-width: 100% !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-focus-sidebar-trigger {
	background: var(--complx-navy) !important;
	color: #fff !important;
	height: var(--ld-nav-h) !important;
	min-height: var(--ld-nav-h) !important;
	max-height: var(--ld-nav-h) !important;
	width: 44px !important;
	top: 0 !important;
	right: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-focus-sidebar-trigger .ld-icon {
	background: transparent !important;
	box-shadow: none !important;
	padding: 0 !important;
	transform: translateY(-50%) translateX(0) !important;
	right: 14px !important;
	font-size: 0.95em !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation {
	border-top: 0 !important;
	margin-top: 0 !important;
	padding-top: 0.35rem !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item {
	border-color: rgba(7, 59, 102, 0.12) !important;
	margin: 0 !important;
	background: transparent !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item-preview,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-table-list-item-preview {
	background: transparent !important;
	border-left: 3px solid transparent !important;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item-preview a,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-table-list-item-preview a {
	color: var(--complx-navy) !important;
	font-weight: 600 !important;
	transition: color 0.15s ease;
}

/* Hover: filet orange + fond clair (pas de lave orange sale) */
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item-preview:hover,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item:hover > .ld-lesson-item-preview,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-table-list-item-preview:hover {
	background: rgba(240, 144, 24, 0.08) !important;
	border-left-color: var(--complx-accent) !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item-preview a:hover,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item:hover > .ld-lesson-item-preview a,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-table-list-item-preview a:hover {
	color: var(--complx-accent) !important;
}

/* Actif: filet orange + jaune logo */
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item.ld-is-current > .ld-lesson-item-preview,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item.ld-is-current-lesson > .ld-lesson-item-preview {
	background: rgba(7, 59, 102, 0.06) !important;
	border-left-color: var(--complx-accent) !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item.ld-is-current > .ld-lesson-item-preview a,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item.ld-is-current-lesson > .ld-lesson-item-preview a {
	color: var(--complx-accent) !important;
	font-weight: 700 !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item.ld-is-current:hover > .ld-lesson-item-preview,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item.ld-is-current-lesson:hover > .ld-lesson-item-preview {
	background: rgba(240, 144, 24, 0.1) !important;
	border-left-color: var(--complx-accent) !important;
}

/* Puces statut */
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-status-icon {
	width: 18px !important;
	height: 18px !important;
	min-width: 18px !important;
	border-radius: 50% !important;
	box-sizing: border-box !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-status-complete,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-status-icon.ld-status-complete,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-secondary-background.ld-status-complete {
	background: var(--complx-success) !important;
	background-color: var(--complx-success) !important;
	border: 0 !important;
	color: #fff !important;
	box-shadow: none !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-status-complete .ld-icon,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-status-icon.ld-status-complete .ld-icon {
	color: #fff !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-status-incomplete,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-status-icon.ld-status-incomplete {
	background: transparent !important;
	border: 2px solid rgba(7, 59, 102, 0.28) !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-is-current-lesson .ld-status-incomplete,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-is-current .ld-status-incomplete {
	border-color: var(--complx-accent) !important;
	background: rgba(240, 144, 24, 0.15) !important;
}

/* ===== Lesson body ¯ flat, no nested ¯card in card¯ ===== */
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-main .ld-focus-content {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 1.75rem 2rem 2.5rem !important;
	margin: 0 auto !important;
	max-width: 920px;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-main .ld-focus-content > h1,
body.complx-ld-interior .learndash-wrapper .ld-focus-content h1 {
	font-family: var(--complx-font-display, "General Sans", Satoshi, sans-serif) !important;
	font-size: clamp(1.7rem, 3vw, 2.25rem) !important;
	font-weight: 750 !important;
	letter-spacing: -0.03em !important;
	color: var(--complx-navy) !important;
	margin: 0 0 0.85rem !important;
	padding: 0 !important;
}

/* Flatten status / breadcrumbs: one slim meta row */
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-main .ld-lesson-status,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-main .ld-topic-status {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0 0 1.15rem !important;
	margin: 0 0 1.25rem !important;
	box-shadow: none !important;
	border-bottom: 1px solid var(--complx-line) !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-main .ld-lesson-status .ld-breadcrumbs,
body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-main .ld-topic-status .ld-breadcrumbs,
body.complx-ld-interior .learndash-wrapper .ld-breadcrumbs {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: none !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 0.75rem;
	flex-wrap: wrap;
}

body.complx-ld-interior .learndash-wrapper .ld-breadcrumbs a,
body.complx-ld-interior .learndash-wrapper .ld-breadcrumbs span,
body.complx-ld-interior .learndash-wrapper .ld-breadcrumbs-segments {
	color: var(--complx-muted) !important;
	font-weight: 550 !important;
	font-size: 0.86rem !important;
}

body.complx-ld-interior .learndash-wrapper .ld-status,
body.complx-ld-interior .learndash-wrapper .ld-status-progress,
body.complx-ld-interior .learndash-wrapper .ld-status-waiting,
body.complx-ld-interior .learndash-wrapper .ld-status-complete {
	border-radius: 999px !important;
	font-weight: 700 !important;
	font-size: 0.7rem !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	padding: 0.3rem 0.7rem !important;
	border: 0 !important;
}

body.complx-ld-interior .learndash-wrapper .ld-status-progress,
body.complx-ld-interior .learndash-wrapper .ld-status-waiting {
	background: var(--complx-navy) !important;
	color: #fff !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus-content,
body.complx-ld-interior .learndash-wrapper .ld-focus-content p,
body.complx-ld-interior .learndash-wrapper .ld-focus-content li {
	font-size: 1.05rem;
	line-height: 1.7;
	color: #334155;
}

body.complx-ld-interior .elementor-button,
body.complx-ld-interior a.elementor-button {
	border-radius: 999px !important;
	background: var(--complx-navy) !important;
	color: #fff !important;
	font-weight: 650 !important;
	text-transform: none !important;
	box-shadow: none !important;
}

body.complx-ld-interior .learndash-wrapper .ld-content-actions {
	border-top: 1px solid var(--complx-line) !important;
	padding-top: 1.25rem !important;
	margin-top: 1.75rem !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 0.75rem;
	background: transparent !important;
}

/* Footer prev/next ¯ same outline pills as header "Le¯on Pr¯c¯dente" */
body.complx-ld-interior .learndash-wrapper .ld-focus-content .ld-content-actions .ld-content-action > a.ld-button,
body.complx-ld-interior .learndash-wrapper .ld-focus-main .ld-content-actions .ld-content-action > a.ld-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.35rem !important;
	height: 36px !important;
	min-height: 36px !important;
	max-height: 36px !important;
	padding: 0 1rem !important;
	margin: 0 !important;
	border: 1px solid var(--complx-line) !important;
	border-radius: 999px !important;
	background: transparent !important;
	color: var(--complx-navy) !important;
	font-family: var(--complx-font-body, Satoshi, system-ui, sans-serif) !important;
	font-weight: 650 !important;
	font-size: 0.82rem !important;
	line-height: 1 !important;
	text-transform: none !important;
	box-shadow: none !important;
	white-space: nowrap !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus-content .ld-content-actions .ld-content-action > a.ld-button:hover,
body.complx-ld-interior .learndash-wrapper .ld-focus-main .ld-content-actions .ld-content-action > a.ld-button:hover {
	background: #EAF0F8 !important;
	color: var(--complx-navy) !important;
	border-color: var(--complx-line) !important;
}

/* Footer mark-complete ¯ same solid pill as header */
body.complx-ld-interior .learndash-wrapper .ld-focus-content .ld-content-actions .sfwd-mark-complete,
body.complx-ld-interior .learndash-wrapper .ld-focus-main .ld-content-actions .sfwd-mark-complete {
	display: inline-flex !important;
	align-items: center !important;
	position: relative !important;
	margin: 0 !important;
	overflow: visible !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus-content .ld-content-actions .learndash_mark_complete_button,
body.complx-ld-interior .learndash-wrapper .ld-focus-content .ld-content-actions .sfwd-mark-complete input[type="submit"],
body.complx-ld-interior .learndash-wrapper .ld-focus-main .ld-content-actions .learndash_mark_complete_button,
body.complx-ld-interior .learndash-wrapper .ld-focus-main .ld-content-actions .sfwd-mark-complete input[type="submit"] {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 36px !important;
	min-height: 36px !important;
	max-height: 36px !important;
	padding: 0 2.15rem 0 1rem !important;
	margin: 0 !important;
	border: 1px solid var(--complx-navy) !important;
	border-radius: 999px !important;
	background: var(--complx-navy) !important;
	color: #fff !important;
	font-family: var(--complx-font-body, Satoshi, system-ui, sans-serif) !important;
	font-weight: 650 !important;
	font-size: 0.82rem !important;
	line-height: 1 !important;
	text-transform: none !important;
	box-shadow: none !important;
	white-space: nowrap !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus-content .ld-content-actions .sfwd-mark-complete::after,
body.complx-ld-interior .learndash-wrapper .ld-focus-main .ld-content-actions .sfwd-mark-complete::after {
	color: #fff !important;
	right: 0.85rem !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	pointer-events: none !important;
}

body.complx-ld-interior .learndash-wrapper .ld-focus-content .ld-content-actions .learndash_mark_complete_button:hover,
body.complx-ld-interior .learndash-wrapper .ld-focus-content .ld-content-actions .sfwd-mark-complete input[type="submit"]:hover,
body.complx-ld-interior .learndash-wrapper .ld-focus-main .ld-content-actions .learndash_mark_complete_button:hover,
body.complx-ld-interior .learndash-wrapper .ld-focus-main .ld-content-actions .sfwd-mark-complete input[type="submit"]:hover {
	background: var(--complx-navy-dark) !important;
	border-color: var(--complx-navy-dark) !important;
	color: #fff !important;
}

body.complx-ld-interior .learndash-wrapper .ld-content-actions .ld-course-step-back {
	color: var(--complx-navy) !important;
	font-weight: 650 !important;
	display: block !important;
	margin-top: 0.45rem !important;
	text-align: center !important;
	font-size: 0.82rem !important;
}

/* ========== Dark mode ========== */
html.dark body.complx-ld-interior,
html.dark body.complx-ld-interior .learndash-wrapper,
html.dark body.complx-ld-interior .ld-focus,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-main {
	background: var(--complx-page) !important;
	color: rgba(255, 255, 255, 0.92);
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header {
	background: var(--complx-elevated) !important;
	border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-brand-logo,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation-heading,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-focus-sidebar-trigger {
	background: var(--complx-navy) !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar {
	background: var(--complx-elevated) !important;
	border-right-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-progress .ld-progress-heading,
html.dark body.complx-ld-interior .learndash-wrapper .ld-progress .ld-progress-percentage,
html.dark body.complx-ld-interior .learndash-wrapper .ld-user-menu {
	color: rgba(255, 255, 255, 0.88) !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-user-welcome-text,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-text {
	background: transparent !important;
	color: rgba(255, 255, 255, 0.88) !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-profile-avatar {
	background: rgba(255, 255, 255, 0.12) !important;
	border-color: rgba(255, 255, 255, 0.28) !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-progress .ld-progress-bar {
	background: rgba(255, 255, 255, 0.12) !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-button,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header a.ld-button,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .sfwd-mark-complete input[type="submit"],
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .learndash_mark_complete_button {
	background: #ffffff !important;
	border-color: #ffffff !important;
	color: var(--complx-navy) !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .sfwd-mark-complete::after,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header #sfwd-mark-complete::after {
	color: var(--complx-navy) !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-user-menu-items {
	background: var(--complx-navy) !important;
	border-color: rgba(255, 255, 255, 0.14) !important;
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4) !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-user-menu-items::before {
	border-bottom-color: var(--complx-navy) !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-user-menu-items a {
	background: transparent !important;
	background-color: transparent !important;
	color: rgba(255, 255, 255, 0.92) !important;
	border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-user-menu-items a:hover {
	background: rgba(255, 255, 255, 0.1) !important;
	background-color: rgba(255, 255, 255, 0.1) !important;
	color: #fff !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-button-transparent,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header a.ld-button.ld-button-transparent {
	background: transparent !important;
	border-color: rgba(255, 255, 255, 0.28) !important;
	color: #ffffff !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header .ld-button-transparent:hover {
	background: rgba(255, 255, 255, 0.08) !important;
	color: #fff !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item {
	border-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item-preview a,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-table-list-item-preview a {
	color: rgba(255, 255, 255, 0.92) !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item-preview:hover,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item:hover > .ld-lesson-item-preview,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-table-list-item-preview:hover {
	background: rgba(255, 255, 255, 0.06) !important;
	border-left-color: var(--complx-accent) !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item-preview a:hover,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item:hover > .ld-lesson-item-preview a,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-table-list-item-preview a:hover {
	color: var(--complx-accent-yellow) !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item.ld-is-current > .ld-lesson-item-preview,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item.ld-is-current-lesson > .ld-lesson-item-preview {
	background: rgba(255, 255, 255, 0.07) !important;
	border-left-color: var(--complx-accent) !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item.ld-is-current > .ld-lesson-item-preview a,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item.ld-is-current-lesson > .ld-lesson-item-preview a {
	color: var(--complx-accent-yellow) !important;
	font-weight: 700 !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item.ld-is-current:hover > .ld-lesson-item-preview,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item.ld-is-current-lesson:hover > .ld-lesson-item-preview {
	background: rgba(255, 255, 255, 0.1) !important;
	border-left-color: var(--complx-accent) !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item.ld-is-current:hover > .ld-lesson-item-preview a,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item.ld-is-current-lesson:hover > .ld-lesson-item-preview a {
	color: var(--complx-accent-yellow) !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-status-incomplete,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-status-icon.ld-status-incomplete {
	border-color: rgba(255, 255, 255, 0.35) !important;
	background: transparent !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-is-current-lesson .ld-status-incomplete,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-is-current .ld-status-incomplete {
	border-color: var(--complx-accent) !important;
	background: rgba(240, 144, 24, 0.22) !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-status-complete,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-status-icon.ld-status-complete,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-secondary-background.ld-status-complete {
	background: var(--complx-success) !important;
	background-color: var(--complx-success) !important;
	color: #fff !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-main .ld-focus-content {
	background: transparent !important;
	border: 0 !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-main .ld-focus-content > h1,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus-content h1,
html.dark body.complx-ld-interior .elementor :is(h1, h2, h3, h4, h5, h6),
html.dark body.complx-ld-interior .elementor-heading-title {
	color: #ffffff !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-main .ld-lesson-status,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-main .ld-topic-status {
	border-bottom-color: rgba(255, 255, 255, 0.12) !important;
	background: transparent !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-breadcrumbs a,
html.dark body.complx-ld-interior .learndash-wrapper .ld-breadcrumbs span,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus-content p,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus-content li {
	color: rgba(255, 255, 255, 0.82) !important;
}

html.dark body.complx-ld-interior .elementor-button,
html.dark body.complx-ld-interior a.elementor-button {
	background: #ffffff !important;
	color: var(--complx-navy) !important;
}

/* Dark: footer prev/next match header outline; mark-complete stays solid white */
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus-content .ld-content-actions .ld-content-action > a.ld-button,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus-main .ld-content-actions .ld-content-action > a.ld-button {
	background: transparent !important;
	border-color: rgba(255, 255, 255, 0.28) !important;
	color: #ffffff !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus-content .ld-content-actions .ld-content-action > a.ld-button:hover,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus-main .ld-content-actions .ld-content-action > a.ld-button:hover {
	background: rgba(255, 255, 255, 0.08) !important;
	border-color: rgba(255, 255, 255, 0.4) !important;
	color: #fff !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus-content .ld-content-actions .learndash_mark_complete_button,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus-content .ld-content-actions .sfwd-mark-complete input[type="submit"],
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus-main .ld-content-actions .learndash_mark_complete_button,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus-main .ld-content-actions .sfwd-mark-complete input[type="submit"] {
	background: #ffffff !important;
	border-color: #ffffff !important;
	color: var(--complx-navy) !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus-content .ld-content-actions .sfwd-mark-complete::after,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus-main .ld-content-actions .sfwd-mark-complete::after {
	color: var(--complx-navy) !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-focus-content .ld-content-actions .learndash_mark_complete_button:hover,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus-content .ld-content-actions .sfwd-mark-complete input[type="submit"]:hover,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus-main .ld-content-actions .learndash_mark_complete_button:hover,
html.dark body.complx-ld-interior .learndash-wrapper .ld-focus-main .ld-content-actions .sfwd-mark-complete input[type="submit"]:hover {
	background: #f0f4f8 !important;
	border-color: #f0f4f8 !important;
	color: var(--complx-navy) !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-content-actions {
	border-top-color: rgba(255, 255, 255, 0.12) !important;
}

html.dark body.complx-ld-interior .learndash-wrapper .ld-content-actions .ld-course-step-back {
	color: #ffffff !important;
}

body.admin-bar.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header {
	top: 32px;
}
@media (max-width: 782px) {
	body.admin-bar.complx-ld-interior .learndash-wrapper .ld-focus .ld-focus-header {
		top: 46px;
	}
}
