.tllp-wrap {
	box-sizing: border-box;
	color: #1f2f2a;
	font-family: inherit;
	margin: 0 auto 28px;
	max-width: 1180px;
	width: 100%;
}

.tllp-portal-page {
	background: #f6faf7;
	margin: -18px auto 0;
	padding: 18px 0 34px;
}

.tllp-portal-page .tllp-wrap {
	padding-left: 14px;
	padding-right: 14px;
}

.tllp-portal-tabs {
	background: #fff;
	border: 1px solid #dbe5df;
	border-radius: 999px;
	display: flex;
	gap: 6px;
	margin: 0 auto 16px;
	max-width: 720px;
	padding: 6px;
	position: sticky;
	top: 8px;
	z-index: 30;
}

.tllp-portal-tabs a {
	border-radius: 999px;
	color: #245841 !important;
	flex: 1;
	font-size: 14px;
	font-weight: 900;
	padding: 12px 14px;
	text-align: center;
	text-decoration: none !important;
}

.tllp-portal-tabs a.is-active,
.tllp-portal-tabs a:hover {
	background: #2f6f52;
	color: #fff !important;
}

.tllp-landing {
	background: #f6faf7;
	color: #1f2f2a;
	margin: -18px auto 0;
	padding: 0 14px 36px;
}

.tllp-landing-hero {
	align-items: center;
	background: linear-gradient(135deg, #184d38 0%, #2f6f52 55%, #c89a3c 100%);
	border-radius: 0 0 18px 18px;
	color: #fff;
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
	margin: 0 auto 18px;
	max-width: 1180px;
	min-height: 430px;
	padding: 46px 34px;
}

.tllp-landing-copy h1 {
	color: #fff;
	font-size: clamp(34px, 5vw, 62px);
	letter-spacing: 0;
	line-height: 1.02;
	margin: 0 0 16px;
	max-width: 760px;
}

.tllp-landing-copy p {
	color: rgba(255, 255, 255, .9);
	font-size: 17px;
	line-height: 1.55;
	margin: 0;
	max-width: 660px;
}

.tllp-landing-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.tllp-landing-preview {
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 12px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
	padding: 14px;
}

.tllp-preview-video {
	align-items: center;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #f3f6ed, #f7ead4);
	border-radius: 8px;
	display: flex;
	justify-content: center;
	margin-bottom: 12px;
}

.tllp-preview-video span {
	border-bottom: 28px solid transparent;
	border-left: 42px solid #ff7f45;
	border-top: 28px solid transparent;
	display: block;
	height: 0;
	margin-left: 10px;
	width: 0;
}

.tllp-preview-card {
	background: #fff;
	border-radius: 8px;
	color: #1f2f2a;
	display: flex;
	justify-content: space-between;
	margin-top: 8px;
	padding: 13px;
}

.tllp-preview-card strong,
.tllp-preview-card small {
	display: block;
}

.tllp-preview-card small {
	color: #66776e;
	font-weight: 700;
}

.tllp-landing-band {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0 auto 20px;
	max-width: 1180px;
}

.tllp-landing-band div {
	background: #fff;
	border: 1px solid #dbe5df;
	border-radius: 8px;
	padding: 18px;
}

.tllp-landing-band strong {
	display: block;
	font-size: 18px;
	margin-bottom: 5px;
}

.tllp-landing-band span {
	color: #63736c;
	line-height: 1.45;
}

.tllp-landing-catalog {
	margin: 0 auto;
	max-width: 1180px;
}

.tllp-wrap *,
.tllp-wrap *::before,
.tllp-wrap *::after {
	box-sizing: border-box;
}

.tllp-hero {
	align-items: center;
	background: linear-gradient(135deg, #22543d 0%, #2f6f52 50%, #c89a3c 100%);
	border-radius: 8px;
	color: #fff;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin-bottom: 18px;
	min-height: 190px;
	padding: 34px;
}

.tllp-hero h2,
.tllp-section-head h2,
.tllp-player-head h2,
.tllp-locked h2 {
	font-size: clamp(26px, 3vw, 38px);
	letter-spacing: 0;
	line-height: 1.1;
	margin: 6px 0 10px;
}

.tllp-hero p {
	font-size: 16px;
	line-height: 1.5;
	margin: 0;
	max-width: 680px;
}

.tllp-eyebrow {
	color: #2f6f52;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.tllp-hero .tllp-eyebrow {
	color: #f7e7bd;
}

.tllp-button {
	align-items: center;
	background: #2f6f52;
	border: 1px solid #2f6f52;
	border-radius: 7px;
	color: #fff !important;
	cursor: pointer;
	display: inline-flex;
	font-size: 14px;
	font-weight: 800;
	justify-content: center;
	line-height: 1.1;
	min-height: 42px;
	padding: 11px 16px;
	text-decoration: none !important;
	transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
	white-space: nowrap;
}

.tllp-button:hover,
.tllp-button:focus {
	background: #245841;
	box-shadow: 0 10px 22px rgba(31, 74, 55, .2);
	color: #fff !important;
	transform: translateY(-1px);
}

.tllp-button-light {
	background: #fff;
	border-color: #fff;
	color: #22543d !important;
}

.tllp-button-light:hover,
.tllp-button-light:focus {
	background: #f7e7bd;
	color: #22543d !important;
}

.tllp-button-ghost {
	background: #fff;
	border-color: #ccd8d1;
	color: #245841 !important;
}

.tllp-button-ghost:hover,
.tllp-button-ghost:focus {
	background: #eef6f1;
	color: #245841 !important;
}

.tllp-button:disabled {
	background: #7f948b;
	border-color: #7f948b;
	box-shadow: none;
	cursor: default;
	transform: none;
}

.tllp-stats {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: 18px;
}

.tllp-stats div,
.tllp-status,
.tllp-empty,
.tllp-locked,
.tllp-course-card,
.tllp-certificate-row,
.tllp-lesson-panel,
.tllp-lesson-list {
	background: #fff;
	border: 1px solid #dbe5df;
	border-radius: 8px;
	box-shadow: 0 12px 30px rgba(24, 49, 41, .06);
}

.tllp-stats div {
	padding: 18px;
}

.tllp-stats strong {
	color: #1f2f2a;
	display: block;
	font-size: 30px;
	line-height: 1;
}

.tllp-stats span {
	color: #63736c;
	display: block;
	font-size: 13px;
	font-weight: 700;
	margin-top: 8px;
}

.tllp-status {
	align-items: center;
	display: flex;
	gap: 22px;
	justify-content: space-between;
	margin-bottom: 20px;
	padding: 22px;
}

.tllp-status h3,
.tllp-lesson-body h3,
.tllp-course-card h3 {
	color: #1b2b25;
	font-size: 22px;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0 0 8px;
}

.tllp-status p {
	color: #63736c;
	margin: 0;
}

.tllp-title-stack {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.tllp-title-stack span,
.tllp-status-badge,
.tllp-progress-pill {
	background: #f4eee2;
	border: 1px solid #e5d3aa;
	border-radius: 999px;
	color: #76571d;
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	padding: 9px 12px;
}

.tllp-section-head {
	align-items: end;
	display: flex;
	justify-content: space-between;
	margin: 0 0 16px;
}

.tllp-section-head h2 {
	color: #1f2f2a;
	margin-bottom: 0;
}

.tllp-filter-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
}

.tllp-filter-row a {
	background: #fff;
	border: 1px solid #dbe5df;
	border-radius: 999px;
	color: #245841 !important;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	padding: 10px 13px;
	text-decoration: none !important;
}

.tllp-filter-row a:hover,
.tllp-filter-row a.is-active {
	background: #2f6f52;
	border-color: #2f6f52;
	color: #fff !important;
}

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

.tllp-course-category-groups {
	display: grid;
	gap: 22px;
}

.tllp-course-category-group {
	display: grid;
	gap: 12px;
}

.tllp-course-category-heading {
	color: #1f2f2a;
	font-size: 20px;
	line-height: 1.25;
	margin: 0;
}

.tllp-course-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
}

.tllp-thumb {
	align-items: center;
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, #eaf5ee, #f6eddc);
	color: #2f6f52;
	display: flex;
	font-size: 18px;
	font-weight: 900;
	justify-content: center;
	text-decoration: none !important;
	width: 100%;
}

.tllp-thumb img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.tllp-course-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 18px;
}

.tllp-card-top,
.tllp-card-actions,
.tllp-actions {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
}

.tllp-course-card p {
	color: #63736c;
	line-height: 1.45;
	margin: 0;
}

.tllp-meta-line {
	color: #607068;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.35;
	text-transform: uppercase;
}

.tllp-price {
	color: #1f2f2a;
	font-weight: 900;
}

.tllp-progress-bar {
	background: #e6eee9;
	border-radius: 999px;
	height: 9px;
	overflow: hidden;
	width: 100%;
}

.tllp-progress-bar span {
	background: linear-gradient(90deg, #2f6f52, #c89a3c);
	display: block;
	height: 100%;
}

.tllp-certificate-link {
	color: #2f6f52;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none !important;
}

.tllp-empty,
.tllp-locked {
	color: #63736c;
	line-height: 1.55;
	padding: 26px;
}

.tllp-product-access {
	background: #eaf6ef;
	border: 1px solid #c8dfd1;
	border-radius: 8px;
	color: #245841;
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0 0 14px;
	padding: 13px 15px;
}

.tllp-product-access strong {
	font-size: 14px;
	font-weight: 900;
}

.tllp-product-access span {
	font-size: 13px;
}

.tllp-product-access a {
	color: #245841;
	font-size: 13px;
	font-weight: 900;
	text-decoration: none !important;
}

.tllp-loop-badge {
	background: #2f6f52;
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
	margin: 6px 0;
	padding: 7px 9px;
	text-transform: uppercase;
}

.tllp-available-courses {
	margin-top: 28px;
}

.tllp-available-courses > .tllp-wrap {
	padding-left: 0;
	padding-right: 0;
}

.tllp-register-button {
	background: #2f6f52 !important;
	border-color: #2f6f52 !important;
	color: #fff !important;
	font-weight: 900 !important;
	text-align: center;
}

.tllp-enrolled-button,
.button.tllp-enrolled-button,
a.tllp-enrolled-button {
	background: #d8dadd !important;
	border-color: #c7c9cc !important;
	color: #626a70 !important;
	cursor: not-allowed !important;
	font-weight: 900 !important;
	opacity: 1 !important;
	pointer-events: none;
	text-align: center;
}

.tllp-locked {
	text-align: center;
}

.tllp-player-head {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 16px;
}

.tllp-back {
	color: #2f6f52;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none !important;
}

.tllp-progress-pill {
	align-items: center;
	background: #eaf5ee;
	border-color: #c8dfd1;
	color: #245841;
	flex-direction: column;
	gap: 3px;
	min-width: 92px;
	padding: 12px;
}

.tllp-progress-pill strong {
	font-size: 22px;
}

.tllp-player-layout {
	display: grid;
	gap: 16px;
	grid-template-columns: 310px minmax(0, 1fr);
}

.tllp-lesson-list {
	align-self: start;
	display: flex;
	flex-direction: column;
	max-height: 760px;
	overflow: auto;
	padding: 8px;
}

.tllp-lesson-group {
	color: #2f6f52;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .04em;
	margin: 8px 5px 2px;
	text-transform: uppercase;
}

.tllp-lesson-link {
	border-radius: 7px;
	color: #1f2f2a !important;
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 13px;
	text-decoration: none !important;
}

.tllp-lesson-link:hover,
.tllp-lesson-link.is-current {
	background: #eef6f1;
}

.tllp-lesson-link.is-done span::before {
	content: "✓ ";
	color: #2f6f52;
}

.tllp-lesson-link.is-locked span::before {
	content: "Lock ";
	color: #9b7930;
}

.tllp-lesson-link span {
	font-weight: 850;
	line-height: 1.3;
}

.tllp-lesson-link small {
	color: #66776e;
	font-size: 12px;
}

.tllp-lesson-panel {
	overflow: hidden;
}

.tllp-video-frame {
	aspect-ratio: 16 / 9;
	background: #17261f;
	display: flex;
	width: 100%;
}

.tllp-video-frame iframe,
.tllp-video-frame video,
.tllp-video-frame .wp-video,
.tllp-video-frame .wp-video-shortcode {
	height: 100% !important;
	width: 100% !important;
}

.tllp-video-empty {
	align-items: center;
	color: #dce9e1;
	display: flex;
	font-weight: 800;
	justify-content: center;
	padding: 20px;
	text-align: center;
	width: 100%;
}

.tllp-lesson-body {
	padding: 22px;
}

.tllp-lesson-lock {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 360px;
	padding: 32px;
	text-align: center;
}

.tllp-lesson-lock h3 {
	font-size: 26px;
	letter-spacing: 0;
	margin: 0 0 10px;
}

.tllp-lesson-lock p {
	color: #63736c;
	line-height: 1.55;
	margin: 0 0 18px;
	max-width: 560px;
}

.tllp-content {
	color: #34463f;
	line-height: 1.65;
	margin: 14px 0 20px;
}

.tllp-certificate-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tllp-certificate-row {
	align-items: center;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	padding: 18px;
}

.tllp-certificate-row strong,
.tllp-certificate-row span {
	display: block;
}

.tllp-certificate-row span {
	color: #63736c;
	margin-top: 4px;
}

@media (max-width: 980px) {
	.tllp-landing-hero,
	.tllp-landing-band {
		grid-template-columns: 1fr;
	}

	.tllp-course-grid,
	.tllp-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tllp-player-layout {
		grid-template-columns: 1fr;
	}

	.tllp-lesson-list {
		max-height: none;
	}
}

@media (max-width: 640px) {
	.tllp-portal-page,
	.tllp-landing {
		margin-top: -10px;
		padding-left: 0;
		padding-right: 0;
	}

	.tllp-portal-tabs {
		border-radius: 0;
		border-left: 0;
		border-right: 0;
		margin-bottom: 10px;
		overflow-x: auto;
		position: sticky;
		top: 0;
	}

	.tllp-portal-tabs a {
		flex: 0 0 auto;
		min-width: 112px;
	}

	.tllp-landing-hero {
		border-radius: 0 0 14px 14px;
		min-height: 0;
		padding: 28px 18px;
	}

	.tllp-landing-copy h1 {
		font-size: 36px;
	}

	.tllp-landing-band,
	.tllp-landing-catalog {
		padding-left: 14px;
		padding-right: 14px;
	}

	.tllp-hero,
	.tllp-status,
	.tllp-player-head,
	.tllp-certificate-row,
	.tllp-card-actions,
	.tllp-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.tllp-hero {
		padding: 24px;
	}

	.tllp-course-grid,
	.tllp-stats {
		grid-template-columns: 1fr;
	}

	.tllp-title-stack {
		justify-content: flex-start;
	}

	.tllp-button {
		width: 100%;
	}
}

html.tlams-in-appmysite-client .tllp-wrap,
body.tl-in-appmysite .tllp-wrap {
	margin-bottom: 0;
	max-width: none;
	padding-bottom: calc(84px + env(safe-area-inset-bottom));
}

html.tlams-in-appmysite-client .tllp-portal-page,
body.tl-in-appmysite .tllp-portal-page,
html.tlams-in-appmysite-client .tllp-landing,
body.tl-in-appmysite .tllp-landing {
	margin-top: 0;
	padding-bottom: calc(92px + env(safe-area-inset-bottom));
}

html.tlams-in-appmysite-client .tllp-portal-tabs,
body.tl-in-appmysite .tllp-portal-tabs {
	top: 0;
}

html.tlams-in-appmysite-client .tllp-hero,
body.tl-in-appmysite .tllp-hero {
	border-radius: 0;
	margin-left: -12px;
	margin-right: -12px;
	margin-top: -6px;
	min-height: 132px;
	padding: 22px 18px;
}

html.tlams-in-appmysite-client .tllp-hero h2,
body.tl-in-appmysite .tllp-hero h2 {
	font-size: 26px;
}

html.tlams-in-appmysite-client .tllp-stats,
body.tl-in-appmysite .tllp-stats {
	gap: 8px;
}

html.tlams-in-appmysite-client .tllp-stats div,
body.tl-in-appmysite .tllp-stats div,
html.tlams-in-appmysite-client .tllp-status,
body.tl-in-appmysite .tllp-status,
html.tlams-in-appmysite-client .tllp-course-card,
body.tl-in-appmysite .tllp-course-card,
html.tlams-in-appmysite-client .tllp-lesson-panel,
body.tl-in-appmysite .tllp-lesson-panel,
html.tlams-in-appmysite-client .tllp-lesson-list,
body.tl-in-appmysite .tllp-lesson-list {
	box-shadow: 0 8px 20px rgba(24, 49, 41, .05);
}

html.tlams-in-appmysite-client .tllp-player-head,
body.tl-in-appmysite .tllp-player-head {
	background: #fff;
	border-bottom: 1px solid #dbe5df;
	margin: -6px -12px 12px;
	padding: 12px;
	position: sticky;
	top: 0;
	z-index: 20;
}

html.tlams-in-appmysite-client .tllp-player-layout,
body.tl-in-appmysite .tllp-player-layout {
	gap: 10px;
}

html.tlams-in-appmysite-client .tllp-lesson-list,
body.tl-in-appmysite .tllp-lesson-list {
	border-radius: 8px;
	max-height: none;
}

html.tlams-in-appmysite-client .tllp-video-frame,
body.tl-in-appmysite .tllp-video-frame {
	border-radius: 8px 8px 0 0;
	overflow: hidden;
}

html.tlams-in-appmysite-client .tllp-actions,
body.tl-in-appmysite .tllp-actions {
	padding-bottom: env(safe-area-inset-bottom);
}
