:root {
	--color-primary: #e70f10;
	--color-secondary: #0c0f0e;
	--color-neutral: #0c0f0e;
	--color-background: #f3f4f1;
	--color-accent: #e70f10;
	--font-sans: "Manrope", sans-serif;
	--font-display: "Barlow Condensed", sans-serif;
}

@layer base {
	:root {
		--ryler-black: #080b0a;
		--ryler-ink: #111513;
		--ryler-red: #e70f10;
		--ryler-red-bright: #e70f10;
		--ryler-offwhite: #f3f4f1;
		--ryler-grey: #6c746f;
		--ryler-line: rgba(255,255,255,.12);
	}

	* { box-sizing: border-box; }

	body.ryler-site {
		margin: 0;
		background: var(--ryler-black);
		color: white;
		font-family: "Manrope", sans-serif;
		overflow-x: hidden;
	}

	body.ryler-site a { color: inherit; }
}

@layer components {
	.matchday-header {
		position: sticky;
		top: 0;
		z-index: 70;
		background: rgba(8,11,10,.94);
		backdrop-filter: blur(18px);
		border-bottom: 1px solid rgba(255,255,255,.08);
	}
	.matchday-nav {
		width: min(1240px, calc(100% - 36px));
		min-height: 84px;
		margin: 0 auto;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 24px;
	}
	.matchday-brand {
		display: inline-flex;
		align-items: center;
		padding: 0;
		color: white !important;
		text-decoration: none;
		background: transparent;
		border: 0;
		box-shadow: none;
	}
	.matchday-brand-logo {
		display: block;
		width: auto;
		height: 60px;
		max-width: min(430px, 54vw);
		object-fit: contain;
		object-position: left center;
		filter: drop-shadow(0 4px 18px rgba(0,0,0,.35));
	}
	.matchday-brand-mark {
		width: 40px;
		height: 40px;
		display: grid;
		place-items: center;
		border: 1px solid rgba(231,15,16,.5);
		background: rgba(231,15,16,.16);
		color: white;
		font-family: "Barlow Condensed", sans-serif;
		font-size: 1.35rem;
		font-weight: 800;
	}
	.matchday-brand > span:last-child { display: grid; line-height: 1.05; }
	.matchday-brand strong {
		font-family: "Barlow Condensed", sans-serif;
		font-size: 1.18rem;
		font-weight: 800;
		letter-spacing: .04em;
		text-transform: uppercase;
	}
	.matchday-brand small {
		margin-top: 4px;
		color: rgba(255,255,255,.45);
		font-size: .59rem;
		font-weight: 800;
		letter-spacing: .13em;
		text-transform: uppercase;
	}
	.matchday-login-link {
		min-height: 42px;
		display: inline-flex;
		align-items: center;
		gap: 9px;
		padding: 0 15px;
		color: white !important;
		background: var(--ryler-red);
		font-size: .72rem;
		font-weight: 800;
		letter-spacing: .08em;
		text-transform: uppercase;
		text-decoration: none;
	}
	.matchday-login-link:hover { background: var(--ryler-red-bright); }

	.ryler-home {
		position: relative;
		min-height: calc(100vh - 74px);
		overflow: hidden;
		background:
			radial-gradient(circle at 20% 35%, rgba(231,15,16,.13), transparent 34rem),
			linear-gradient(135deg,#090d0b 0%,#121815 57%,#090c0a 100%);
	}
	.ryler-home:before {
		content: "";
		position: absolute;
		inset: 0;
		pointer-events: none;
		background:
			linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
			linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
		background-size: 52px 52px;
		mask-image: linear-gradient(to right,black,transparent 75%);
	}

	.tyler-hero {
		position: relative;
		z-index: 1;
		width: min(1240px, calc(100% - 36px));
		min-height: calc(100vh - 74px);
		margin: 0 auto;
		display: grid;
		grid-template-columns: .88fr 1.12fr;
		gap: clamp(38px,6vw,82px);
		align-items: center;
		padding: 42px 0 58px;
	}
	.tyler-copy { max-width: 580px; }
	.tyler-kicker {
		color: rgba(255,255,255,.52);
		font-size: .68rem;
		font-weight: 800;
		letter-spacing: .18em;
	}
	.tyler-copy h1 {
		margin: 18px 0 20px;
		font-family: "Barlow Condensed", sans-serif;
		font-size: clamp(4.6rem,8vw,8rem);
		line-height: .82;
		font-weight: 800;
		letter-spacing: -.035em;
		text-transform: uppercase;
	}
	.tyler-copy h1 em {
		color: var(--ryler-red-bright);
		font-style: normal;
	}
	.tyler-copy > p {
		max-width: 540px;
		margin: 0;
		color: rgba(255,255,255,.65);
		font-size: clamp(1rem,1.6vw,1.12rem);
		line-height: 1.75;
	}
	.tyler-cta {
		min-height: 54px;
		width: fit-content;
		display: inline-flex;
		align-items: center;
		gap: 12px;
		margin-top: 30px;
		padding: 0 20px;
		color: white !important;
		background: var(--ryler-red);
		font-size: .74rem;
		font-weight: 800;
		letter-spacing: .1em;
		text-decoration: none;
		box-shadow: 0 16px 34px rgba(231,15,16,.2);
		transition: transform .2s ease, background .2s ease;
	}
	.tyler-cta:hover {
		transform: translateY(-2px);
		background: var(--ryler-red-bright);
	}
	.tyler-cta span { font-size: 1.05rem; }

	.tyler-flow {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		gap: 12px;
		margin-top: 36px;
		color: rgba(255,255,255,.34);
		font-size: .58rem;
		font-weight: 800;
		letter-spacing: .12em;
	}
	.tyler-flow i {
		width: 4px;
		height: 4px;
		border-radius: 50%;
		background: var(--ryler-red-bright);
	}

	.tyler-player {
		position: relative;
		min-height: 610px;
		align-self: stretch;
		overflow: hidden;
		border: 1px solid rgba(255,255,255,.12);
		background: #151a17;
		box-shadow: 0 30px 80px rgba(0,0,0,.34);
	}
	.tyler-player:after {
		content: "";
		position: absolute;
		inset: 0;
		background:
			linear-gradient(180deg,transparent 52%,rgba(5,8,7,.68) 100%),
			linear-gradient(90deg,rgba(231,15,16,.08),transparent 36%);
		pointer-events: none;
	}
	.tyler-player img {
		width: 100%;
		height: 100%;
		min-height: 610px;
		display: block;
		object-fit: cover;
		object-position: center 28%;
	}
	.tyler-player-tag {
		position: absolute;
		z-index: 3;
		left: 18px;
		right: 18px;
		bottom: 18px;
		display: grid;
		grid-template-columns: 1.6fr .7fr .9fr;
		gap: 1px;
		background: rgba(255,255,255,.12);
		backdrop-filter: blur(12px);
	}
	.tyler-player-tag div {
		min-height: 66px;
		display: grid;
		align-content: center;
		gap: 2px;
		padding: 10px 14px;
		background: rgba(7,10,8,.76);
	}
	.tyler-player-tag span {
		color: rgba(255,255,255,.38);
		font-size: .54rem;
		font-weight: 800;
		letter-spacing: .13em;
	}
	.tyler-player-tag strong {
		color: white;
		font-family: "Barlow Condensed", sans-serif;
		font-size: 1.4rem;
		font-weight: 700;
		letter-spacing: .04em;
	}

	.matchday-footer {
		display: none;
	}

	/* Learner portal */
	.learner-portal-page {
		min-height: calc(100vh - 74px);
		padding: clamp(24px,4vw,50px) 18px 64px;
		background:
			linear-gradient(rgba(5,10,7,.78),rgba(5,10,7,.9)),
			url("https://ryler.safcongroup.co.za/wp-content/uploads/2026/09/RYLER-stadium-pitch.jpg")
			center top / cover fixed no-repeat;
	}
	.learner-portal-wrap { width: min(1240px,100%); margin: 0 auto; }
	.learner-portal-wrap .ryler-app,
	.learner-portal-wrap .ryler-login-required { font-family: "Manrope", sans-serif; }
	.learner-portal-wrap .ryler-hero h1,
	.learner-portal-wrap .ryler-section h2,
	.learner-portal-wrap .ryler-grid h3,
	.learner-portal-wrap .ryler-activity-head h1,
	.learner-portal-wrap .ryler-question-card h2 {
		font-family: "Barlow Condensed", sans-serif;
		text-transform: uppercase;
		letter-spacing: .015em;
	}
	.learner-portal-wrap .ryler-app {
		overflow: hidden;
		border: 1px solid rgba(16,19,18,.1);
		background: #fbfcf9;
		box-shadow: 0 26px 70px rgba(5,8,7,.15);
	}
	.learner-portal-wrap .ryler-primary {
		border-radius: 3px;
		background: var(--ryler-red);
		box-shadow: none;
	}
	.learner-portal-wrap .ryler-task {
		border-radius: 3px;
		transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
	}
	.learner-portal-wrap .ryler-task:hover {
		transform: translateY(-2px);
		box-shadow: 0 12px 28px rgba(5,8,7,.08);
		border-color: rgba(231,15,16,.28);
	}

	.learner-portal-wrap .ryler-login-required {
		position: relative;
		max-width: 1080px;
		min-height: 600px;
		margin: 20px auto;
		display: grid;
		grid-template-columns: 1.08fr .92fr;
		padding: 0;
		overflow: hidden;
		border: 1px solid rgba(255,255,255,.08);
		background: #0b0e0d;
		box-shadow: 0 30px 80px rgba(5,8,7,.22);
	}
	.learner-portal-wrap .ryler-login-required:before {
		content: "MATCH WEEK LOGIN\A\ATRAIN. LEARN. PROGRESS.";
		white-space: pre-wrap;
		display: flex;
		align-items: flex-end;
		padding: 40px;
		color: white;
		font-family: "Barlow Condensed", sans-serif;
		font-size: clamp(3rem,5vw,5.2rem);
		line-height: .86;
		font-weight: 800;
		letter-spacing: -.025em;
		background:
			linear-gradient(180deg,rgba(5,8,7,.2),rgba(5,8,7,.72)),
			url("https://ryler.safcongroup.co.za/wp-content/uploads/2026/09/RYLER-stadium-pitch.jpg")
			center 42% / cover no-repeat;
	}
	.learner-portal-wrap .ryler-login-required > strong,
	.learner-portal-wrap .ryler-login-required > p,
	.learner-portal-wrap .ryler-login-required > form { grid-column: 2; }
	.learner-portal-wrap .ryler-login-required > strong {
		align-self: end;
		margin: 42px 42px 4px;
		color: white;
		font-family: "Barlow Condensed", sans-serif;
		font-size: 2.25rem;
		font-weight: 700;
		text-transform: uppercase;
	}
	.learner-portal-wrap .ryler-login-required > p {
		margin: 0 42px 20px;
		color: rgba(255,255,255,.48);
		font-size: .87rem;
	}
	.learner-portal-wrap .ryler-login-required > form {
		align-self: start;
		margin: 0 42px 42px;
	}
	.learner-portal-wrap .ryler-login-required label {
		display: block;
		margin-bottom: 7px;
		color: rgba(255,255,255,.64);
		font-size: .62rem;
		font-weight: 800;
		letter-spacing: .12em;
		text-transform: uppercase;
	}
	.learner-portal-wrap .ryler-login-required input[type="text"],
	.learner-portal-wrap .ryler-login-required input[type="password"] {
		width: 100%;
		min-height: 50px;
		padding: 0 14px;
		color: white;
		border: 1px solid rgba(255,255,255,.14);
		border-radius: 2px;
		background: rgba(255,255,255,.055);
		font: inherit;
		outline: none;
	}
	.learner-portal-wrap .ryler-login-required input:focus {
		border-color: var(--ryler-red-bright);
		box-shadow: 0 0 0 3px rgba(231,15,16,.12);
	}
	.learner-portal-wrap .ryler-login-required .login-remember label {
		display: flex;
		align-items: center;
		gap: 7px;
		color: rgba(255,255,255,.48);
		letter-spacing: 0;
		text-transform: none;
	}
	.learner-portal-wrap .ryler-login-required #wp-submit {
		width: 100%;
		min-height: 52px;
		border: 0;
		border-radius: 2px;
		color: white;
		background: var(--ryler-red);
		font: 800 .75rem "Manrope", sans-serif;
		letter-spacing: .1em;
		text-transform: uppercase;
		cursor: pointer;
	}

	@media (max-width: 980px) {
		.tyler-hero { grid-template-columns: 1fr; padding-top: 48px; }
		.tyler-copy { max-width: 720px; }
		.tyler-player { min-height: 520px; }
		.tyler-player img { min-height: 520px; }
		.learner-portal-wrap .ryler-login-required { grid-template-columns: 1fr; }
		.learner-portal-wrap .ryler-login-required:before {
			min-height: 320px;
			grid-column: 1;
			padding: 28px;
		}
		.learner-portal-wrap .ryler-login-required > strong,
		.learner-portal-wrap .ryler-login-required > p,
		.learner-portal-wrap .ryler-login-required > form { grid-column: 1; }
	}
	/* Dashboard preview */
	.ryler-preview-shell {
		min-height: calc(100vh - 74px);
		background: #eef0ec;
		color: var(--ryler-ink);
	}
	.dashboard-preview { padding-bottom: 70px; }
	.dashboard-command {
		width: min(1240px, calc(100% - 36px));
		margin: 0 auto;
		display: grid;
		grid-template-columns: 1.1fr .9fr;
		gap: 28px;
		align-items: stretch;
		padding: 42px 0 24px;
	}
	.dashboard-date {
		margin-top: 16px;
		color: var(--ryler-red);
		font-size: .65rem;
		font-weight: 800;
		letter-spacing: .15em;
	}
	.dashboard-command h1 {
		margin: 12px 0 12px;
		font-family: "Barlow Condensed", sans-serif;
		font-size: clamp(3.8rem,6.3vw,6.5rem);
		line-height: .84;
		letter-spacing: -.035em;
		text-transform: uppercase;
	}
	.dashboard-command h1 em { color: var(--ryler-red); font-style: normal; }
	.dashboard-command p {
		max-width: 600px;
		margin: 0;
		color: var(--ryler-grey);
		font-size: 1rem;
		line-height: 1.7;
	}
	.dashboard-player-shot {
		position: relative;
		min-height: 300px;
		overflow: hidden;
		background: #151815;
	}
	.dashboard-player-shot img {
		width: 100%;
		height: 100%;
		min-height: 300px;
		display: block;
		object-fit: cover;
		object-position: center 28%;
	}
	.dashboard-player-shot:after {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(180deg,transparent 48%,rgba(5,8,7,.76) 100%);
	}
	.dashboard-player-overlay {
		position: absolute;
		z-index: 2;
		left: 18px;
		bottom: 16px;
		display: grid;
	}
	.dashboard-player-overlay span {
		color: rgba(255,255,255,.54);
		font-size: .58rem;
		font-weight: 800;
		letter-spacing: .14em;
	}
	.dashboard-player-overlay strong {
		color: white;
		font-family: "Barlow Condensed", sans-serif;
		font-size: 2.1rem;
		letter-spacing: .05em;
	}
	.dashboard-statusbar {
		width: min(1240px, calc(100% - 36px));
		margin: 0 auto 24px;
		display: grid;
		grid-template-columns: repeat(4,1fr);
		position: relative;
		background: var(--ryler-black);
		color: white;
	}
	.dashboard-statusbar > div:not(.dashboard-progress-track) {
		min-height: 78px;
		display: grid;
		align-content: center;
		gap: 4px;
		padding: 12px 18px;
		border-right: 1px solid rgba(255,255,255,.09);
	}
	.dashboard-statusbar span {
		color: rgba(255,255,255,.38);
		font-size: .55rem;
		font-weight: 800;
		letter-spacing: .12em;
	}
	.dashboard-statusbar strong {
		font-family: "Barlow Condensed", sans-serif;
		font-size: 1.25rem;
		letter-spacing: .03em;
	}
	.dashboard-progress-track {
		position: absolute;
		left: 0; right: 0; bottom: 0;
		height: 4px;
		background: rgba(255,255,255,.08);
	}
	.dashboard-progress-track i {
		display: block;
		height: 100%;
		background: var(--ryler-red);
	}
	.team-sheet {
		width: min(1240px, calc(100% - 36px));
		margin: 0 auto;
		background: white;
		border: 1px solid rgba(17,21,19,.08);
	}
	.team-sheet-head {
		display: flex;
		align-items: flex-end;
		justify-content: space-between;
		gap: 18px;
		padding: 26px 28px 18px;
		border-bottom: 1px solid rgba(17,21,19,.1);
	}
	.team-sheet-head span {
		color: var(--ryler-red);
		font-size: .59rem;
		font-weight: 800;
		letter-spacing: .14em;
	}
	.team-sheet-head h2 {
		margin: 5px 0 0;
		font-family: "Barlow Condensed", sans-serif;
		font-size: 2rem;
		text-transform: uppercase;
	}
	.team-sheet-head small { color: var(--ryler-grey); font-size: .72rem; }
	.session-board { display: grid; }
	.session-item {
		min-height: 104px;
		display: grid;
		grid-template-columns: 74px 1fr auto;
		gap: 18px;
		align-items: center;
		padding: 16px 24px;
		border-bottom: 1px solid rgba(17,21,19,.08);
		background: white;
	}
	.session-item:last-child { border-bottom: 0; }
	.session-item.current {
		background: linear-gradient(90deg,rgba(231,15,16,.06),rgba(231,15,16,.015));
		box-shadow: inset 4px 0 0 var(--ryler-red);
	}
	.session-item.completed { opacity: .62; }
	.session-no {
		width: 48px;
		height: 48px;
		display: grid;
		place-items: center;
		border: 1px solid rgba(17,21,19,.16);
		border-radius: 50%;
		font-family: "Barlow Condensed", sans-serif;
		font-size: 1.15rem;
		font-weight: 700;
	}
	.session-item.current .session-no {
		color: white;
		background: var(--ryler-red);
		border-color: var(--ryler-red);
	}
	.session-item.completed .session-no {
		color: white;
		background: #1f2b25;
		border-color: #1f2b25;
	}
	.session-info span {
		color: var(--ryler-grey);
		font-size: .57rem;
		font-weight: 800;
		letter-spacing: .11em;
	}
	.session-info h3 {
		margin: 4px 0 3px;
		font-family: "Barlow Condensed", sans-serif;
		font-size: 1.45rem;
		text-transform: uppercase;
	}
	.session-info p { margin: 0; color: var(--ryler-grey); font-size: .78rem; }
	.session-time {
		min-width: 95px;
		display: grid;
		justify-items: end;
		gap: 9px;
	}
	.session-time span {
		color: var(--ryler-grey);
		font-size: .58rem;
		font-weight: 800;
		letter-spacing: .11em;
	}
	.session-time strong {
		color: #8c938f;
		font-size: .64rem;
		letter-spacing: .08em;
	}
	.session-time a {
		padding: 10px 12px;
		color: white !important;
		background: var(--ryler-red);
		font-size: .65rem;
		font-weight: 800;
		letter-spacing: .08em;
		text-decoration: none;
	}
	.dashboard-lower {
		width: min(1240px, calc(100% - 36px));
		margin: 20px auto 0;
		display: grid;
		grid-template-columns: .8fr 1.2fr;
		gap: 20px;
	}
	.coach-panel, .season-panel {
		background: white;
		border: 1px solid rgba(17,21,19,.08);
	}
	.coach-panel { padding: 24px; border-left: 4px solid var(--ryler-red); }
	.coach-panel span {
		color: var(--ryler-red);
		font-size: .58rem;
		font-weight: 800;
		letter-spacing: .13em;
	}
	.coach-panel h3 {
		margin: 7px 0 8px;
		font-family: "Barlow Condensed", sans-serif;
		font-size: 1.55rem;
		text-transform: uppercase;
	}
	.coach-panel p { margin: 0; color: var(--ryler-grey); font-size: .82rem; line-height: 1.6; }
	.season-panel {
		display: grid;
		grid-template-columns: repeat(4,1fr);
	}
	.season-panel div {
		display: grid;
		align-content: center;
		gap: 3px;
		padding: 20px;
		border-right: 1px solid rgba(17,21,19,.08);
	}
	.season-panel div:last-child { border-right: 0; }
	.season-panel span {
		color: var(--ryler-grey);
		font-size: .55rem;
		font-weight: 800;
		letter-spacing: .12em;
	}
	.season-panel strong {
		font-family: "Barlow Condensed", sans-serif;
		font-size: 1.65rem;
	}
	.season-panel small { color: var(--ryler-grey); font-size: .67rem; }

	/* Lesson preview */
	.ryler-lesson-preview {
		padding-bottom: 70px;
		background:
			radial-gradient(circle at 78% 12%,rgba(231,15,16,.08),transparent 28rem),
			#eef0ec;
	}
	.lesson-topbar {
		width: min(1240px, calc(100% - 36px));
		min-height: 72px;
		margin: 0 auto;
		display: grid;
		grid-template-columns: .7fr 1.6fr .7fr;
		align-items: center;
		gap: 20px;
		border-bottom: 1px solid rgba(17,21,19,.12);
	}
	.lesson-back {
		font-size: .63rem;
		font-weight: 800;
		letter-spacing: .1em;
		text-decoration: none;
	}
	.lesson-breadcrumb { display: grid; justify-items: center; }
	.lesson-breadcrumb span {
		color: var(--ryler-red);
		font-size: .54rem;
		font-weight: 800;
		letter-spacing: .12em;
	}
	.lesson-breadcrumb strong {
		margin-top: 2px;
		font-family: "Barlow Condensed", sans-serif;
		font-size: 1rem;
		letter-spacing: .04em;
	}
	.lesson-xp { display: grid; justify-items: end; }
	.lesson-xp span {
		color: var(--ryler-grey);
		font-size: .54rem;
		font-weight: 800;
		letter-spacing: .11em;
	}
	.lesson-xp strong { color: var(--ryler-red); font-family: "Barlow Condensed",sans-serif; font-size: 1.2rem; }
	.lesson-stage {
		width: min(1240px, calc(100% - 36px));
		margin: 0 auto;
		display: grid;
		grid-template-columns: 1.45fr .55fr;
		gap: 24px;
		padding-top: 34px;
	}
	.lesson-main {
		padding: 34px;
		background: white;
		border: 1px solid rgba(17,21,19,.08);
	}
	.lesson-label {
		color: var(--ryler-red);
		font-size: .61rem;
		font-weight: 800;
		letter-spacing: .14em;
	}
	.lesson-main > h1 {
		margin: 8px 0 10px;
		font-family: "Barlow Condensed", sans-serif;
		font-size: clamp(3.7rem,6vw,6.2rem);
		line-height: .82;
		letter-spacing: -.03em;
		text-transform: uppercase;
	}
	.lesson-main > h1 em { color: var(--ryler-red); font-style: normal; }
	.lesson-intro {
		max-width: 720px;
		margin: 0;
		color: var(--ryler-grey);
		font-size: .92rem;
		line-height: 1.7;
	}
	.lesson-progress {
		display: grid;
		grid-template-columns: repeat(4,1fr);
		gap: 8px;
		margin: 28px 0;
	}
	.lesson-progress-step {
		height: 38px;
		display: flex;
		align-items: center;
		justify-content: center;
		border-top: 3px solid #d8ddda;
		color: #89908c;
		font-size: .58rem;
		font-weight: 800;
	}
	.lesson-progress-step.done { border-color: #26332c; color: #26332c; }
	.lesson-progress-step.current { border-color: var(--ryler-red); color: var(--ryler-red); }
	.question-panel {
		padding-top: 24px;
		border-top: 1px solid rgba(17,21,19,.1);
	}
	.question-meta {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 18px;
		color: var(--ryler-grey);
		font-size: .57rem;
		font-weight: 800;
		letter-spacing: .11em;
	}
	.question-meta span:last-child { color: var(--ryler-red); }
	.question-panel h2 {
		margin: 12px 0 18px;
		font-family: "Barlow Condensed", sans-serif;
		font-size: clamp(2rem,3.5vw,3.1rem);
		line-height: 1;
	}
	.answer-grid { display: grid; gap: 10px; }
	.answer-grid button {
		min-height: 62px;
		display: grid;
		grid-template-columns: 44px 1fr;
		align-items: center;
		gap: 12px;
		padding: 8px 14px;
		text-align: left;
		border: 1px solid rgba(17,21,19,.13);
		background: #f8f9f6;
		color: var(--ryler-ink);
		font: inherit;
		cursor: pointer;
		transition: border-color .18s ease, background .18s ease, transform .18s ease;
	}
	.answer-grid button:hover { transform: translateX(2px); border-color: rgba(231,15,16,.35); }
	.answer-grid button.selected { border-color: var(--ryler-red); background: rgba(231,15,16,.05); }
	.answer-grid button.answer-correct { border-color: #1e7a4c; background: #edf8f1; }
	.answer-grid button.answer-wrong { border-color: var(--ryler-red); background: rgba(231,15,16,.06); }
	.answer-letter {
		width: 34px;
		height: 34px;
		display: grid;
		place-items: center;
		border: 1px solid rgba(17,21,19,.16);
		border-radius: 50%;
		font-family: "Barlow Condensed", sans-serif;
		font-weight: 700;
	}
	.answer-grid button.selected .answer-letter,
	.answer-grid button.answer-wrong .answer-letter { color: white; background: var(--ryler-red); border-color: var(--ryler-red); }
	.answer-grid button.answer-correct .answer-letter { color: white; background: #1e7a4c; border-color: #1e7a4c; }
	.lesson-feedback {
		margin-top: 14px;
		padding: 14px 16px;
		border-left: 3px solid;
	}
	.lesson-feedback div { display: grid; gap: 3px; }
	.lesson-feedback span {
		font-size: .55rem;
		font-weight: 800;
		letter-spacing: .12em;
	}
	.lesson-feedback strong { font-size: .82rem; }
	.feedback-correct { color: #155d3a; background: #edf8f1; border-color: #1e7a4c; }
	.feedback-wrong { color: #e70f10; background: rgba(231,15,16,.06); border-color: var(--ryler-red); }
	.lesson-actions {
		display: flex;
		justify-content: flex-end;
		gap: 10px;
		margin-top: 18px;
	}
	.lesson-actions button,
	.lesson-actions a {
		min-height: 46px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 0 16px;
		border: 0;
		font: 800 .65rem "Manrope",sans-serif;
		letter-spacing: .08em;
		text-decoration: none;
		cursor: pointer;
	}
	.lesson-check,
	.lesson-next,
	.lesson-finish { color: white !important; background: var(--ryler-red); }
	.lesson-check:disabled { opacity: .35; cursor: not-allowed; }
	.lesson-retry { color: var(--ryler-ink); background: #dfe3df; }
	.lesson-side { display: grid; align-content: start; gap: 16px; }
	.lesson-player-card,
	.lesson-source-card,
	.lesson-score-card {
		background: white;
		border: 1px solid rgba(17,21,19,.08);
	}
	.lesson-player-image {
		height: 280px;
		overflow: hidden;
		background: #151815;
	}
	.lesson-player-image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center 24%;
	}
	.lesson-player-stats {
		display: grid;
		grid-template-columns: 1.3fr .7fr;
	}
	.lesson-player-stats div {
		display: grid;
		gap: 2px;
		padding: 15px;
		border-right: 1px solid rgba(17,21,19,.08);
	}
	.lesson-player-stats div:last-child { border-right: 0; }
	.lesson-player-stats span,
	.lesson-source-card > span,
	.lesson-score-card > span {
		color: var(--ryler-grey);
		font-size: .54rem;
		font-weight: 800;
		letter-spacing: .12em;
	}
	.lesson-player-stats strong {
		font-family: "Barlow Condensed", sans-serif;
		font-size: 1.4rem;
	}
	.lesson-source-card,
	.lesson-score-card { padding: 18px; }
	.lesson-source-card strong {
		display: block;
		margin: 7px 0 6px;
		font-family: "Barlow Condensed", sans-serif;
		font-size: 1.35rem;
		text-transform: uppercase;
	}
	.lesson-source-card p {
		margin: 0;
		color: var(--ryler-grey);
		font-size: .75rem;
		line-height: 1.55;
	}
	.lesson-score-card strong {
		display: block;
		margin-top: 5px;
		color: var(--ryler-red);
		font-family: "Barlow Condensed",sans-serif;
		font-size: 2rem;
	}
	.lesson-score-card small { color: var(--ryler-grey); font-size: .67rem; }
	[x-cloak] { display: none !important; }

	/* Football academy dashboard + lesson */
	.academy-dashboard {
		padding-bottom: 70px;
		background:
			radial-gradient(circle at 88% 5%,rgba(231,15,16,.08),transparent 25rem),
			#edf0ec;
	}
	.academy-dashboard-hero {
		width: min(1240px,calc(100% - 36px));
		margin: 0 auto;
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 28px;
		align-items: center;
		padding: 38px 0 22px;
	}
	.academy-label {
		color: var(--ryler-red);
		font-size: .62rem;
		font-weight: 800;
		letter-spacing: .15em;
	}
	.academy-dashboard-copy h1 {
		margin: 9px 0 10px;
		font-family: "Barlow Condensed",sans-serif;
		font-size: clamp(4rem,6.5vw,6.7rem);
		line-height: .84;
		letter-spacing: -.035em;
		text-transform: uppercase;
	}
	.academy-dashboard-copy h1 em { color: var(--ryler-red); font-style: normal; }
	.academy-dashboard-copy p {
		max-width: 620px;
		margin: 0;
		color: var(--ryler-grey);
		line-height: 1.7;
	}
	.academy-avatar-panel {
		min-width: 280px;
		display: grid;
		grid-template-columns: 86px 1fr;
		gap: 14px;
		align-items: center;
		padding: 13px 16px;
		background: var(--ryler-black);
		color: white;
		border-left: 4px solid var(--ryler-red);
	}
	.avatar-photo {
		width: 78px;
		height: 78px;
		border-radius: 50%;
		overflow: hidden;
		border: 3px solid var(--ryler-red);
	}
	.avatar-photo img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center 22%;
	}
	.avatar-details { display: grid; gap: 2px; }
	.avatar-details span,
	.avatar-details small {
		color: rgba(255,255,255,.45);
		font-size: .54rem;
		font-weight: 800;
		letter-spacing: .12em;
	}
	.avatar-details strong {
		font-family: "Barlow Condensed",sans-serif;
		font-size: 1.8rem;
		line-height: 1;
		letter-spacing: .05em;
	}
	.academy-match-strip {
		width: min(1240px,calc(100% - 36px));
		margin: 0 auto 22px;
		display: grid;
		grid-template-columns: repeat(5,1fr);
		align-items: stretch;
		background: var(--ryler-black);
		color: white;
		border-top: 3px solid var(--ryler-red);
	}
	.academy-match-strip > div {
		min-height: 78px;
		display: grid;
		place-items: center;
		align-content: center;
		gap: 2px;
		border-right: 1px solid rgba(255,255,255,.08);
	}
	.academy-match-strip > div:last-child { border-right: 0; }
	.academy-match-strip span,
	.academy-match-strip small {
		color: rgba(255,255,255,.38);
		font-size: .52rem;
		font-weight: 800;
		letter-spacing: .12em;
	}
	.academy-match-strip strong {
		font-family: "Barlow Condensed",sans-serif;
		font-size: 1.45rem;
		line-height: 1;
	}
	.match-centre-ball {
		position: relative;
		background: var(--ryler-red);
	}
	.match-centre-ball span,
	.match-centre-ball small { color: rgba(255,255,255,.72); }
	.mini-ball {
		width: 28px;
		height: 28px;
		color: white;
	}
	.mini-ball svg { width: 100%; height: 100%; }

	.academy-pitch-dashboard,
	.academy-pitch-panel {
		position: relative;
		overflow: hidden;
		background:
			repeating-linear-gradient(90deg,#2e6f43 0,#2e6f43 12.5%,#28633c 12.5%,#28633c 25%);
	}
	.academy-pitch-dashboard {
		width: min(1240px,calc(100% - 36px));
		margin: 0 auto;
		padding: 26px;
		min-height: 620px;
	}
	.academy-pitch-lines {
		position: absolute;
		inset: 18px;
		border: 2px solid rgba(255,255,255,.42);
		pointer-events: none;
	}
	.pitch-midline {
		position: absolute;
		left: 50%;
		top: 0;
		bottom: 0;
		border-left: 2px solid rgba(255,255,255,.42);
	}
	.pitch-centre-circle {
		position: absolute;
		left: 50%;
		top: 50%;
		width: 130px;
		height: 130px;
		border: 2px solid rgba(255,255,255,.42);
		border-radius: 50%;
		transform: translate(-50%,-50%);
	}
	.pitch-box {
		position: absolute;
		top: 50%;
		width: 100px;
		height: 230px;
		border: 2px solid rgba(255,255,255,.42);
		transform: translateY(-50%);
	}
	.pitch-box-a { left: -2px; border-left: 0; }
	.pitch-box-b { right: -2px; border-right: 0; }
	.dashboard-pitch-lines { opacity: .42; }

	.academy-team-sheet {
		position: relative;
		z-index: 2;
		width: min(900px,100%);
		margin: 0 auto;
		background: rgba(248,250,247,.97);
		box-shadow: 0 22px 60px rgba(6,12,8,.25);
	}
	.academy-team-sheet-head {
		display: flex;
		align-items: flex-end;
		justify-content: space-between;
		gap: 18px;
		padding: 23px 24px 17px;
		border-bottom: 1px solid rgba(17,21,19,.1);
	}
	.academy-team-sheet-head span {
		color: var(--ryler-red);
		font-size: .56rem;
		font-weight: 800;
		letter-spacing: .13em;
	}
	.academy-team-sheet-head h2 {
		margin: 4px 0 0;
		font-family: "Barlow Condensed",sans-serif;
		font-size: 2.1rem;
		text-transform: uppercase;
	}
	.academy-team-sheet-head small { color: var(--ryler-grey); font-size: .7rem; }
	.academy-session-list { display: grid; }
	.academy-session {
		min-height: 95px;
		display: grid;
		grid-template-columns: 54px 130px 1fr 95px;
		gap: 14px;
		align-items: center;
		padding: 14px 20px;
		background: white;
		border-bottom: 1px solid rgba(17,21,19,.08);
	}
	.academy-session:last-child { border-bottom: 0; }
	.academy-session.complete { opacity: .55; }
	.academy-session.current {
		background: linear-gradient(90deg,rgba(231,15,16,.08),white 44%);
		box-shadow: inset 4px 0 0 var(--ryler-red);
	}
	.academy-session-status {
		width: 42px;
		height: 42px;
		display: grid;
		place-items: center;
		border-radius: 50%;
		border: 1px solid rgba(17,21,19,.15);
		font-family: "Barlow Condensed",sans-serif;
		font-weight: 700;
	}
	.academy-session-status svg { width: 24px; height: 24px; }
	.academy-session.current .academy-session-status {
		color: white;
		background: var(--ryler-red);
		border-color: var(--ryler-red);
	}
	.academy-session.complete .academy-session-status {
		color: white;
		background: #1e2d24;
		border-color: #1e2d24;
	}
	.academy-session-type {
		color: var(--ryler-grey);
		font-size: .53rem;
		font-weight: 800;
		letter-spacing: .11em;
	}
	.academy-session-main span {
		color: var(--ryler-red);
		font-size: .53rem;
		font-weight: 800;
		letter-spacing: .1em;
	}
	.academy-session-main h3 {
		margin: 3px 0 2px;
		font-family: "Barlow Condensed",sans-serif;
		font-size: 1.35rem;
		text-transform: uppercase;
	}
	.academy-session-main p { margin: 0; color: var(--ryler-grey); font-size: .72rem; }
	.academy-session-end {
		display: grid;
		justify-items: end;
		gap: 8px;
	}
	.academy-session-end span,
	.academy-session-end strong {
		color: var(--ryler-grey);
		font-size: .56rem;
		font-weight: 800;
		letter-spacing: .09em;
	}
	.academy-session-end a {
		padding: 9px 11px;
		color: white !important;
		background: var(--ryler-red);
		font-size: .61rem;
		font-weight: 800;
		letter-spacing: .08em;
		text-decoration: none;
	}
	.academy-dashboard-bottom {
		width: min(1240px,calc(100% - 36px));
		margin: 20px auto 0;
		display: grid;
		grid-template-columns: .85fr 1.15fr;
		gap: 20px;
	}
	.academy-coach-box,
	.academy-progress-box {
		background: white;
		border: 1px solid rgba(17,21,19,.08);
	}
	.academy-coach-box {
		padding: 22px;
		border-left: 4px solid var(--ryler-red);
	}
	.academy-coach-box span {
		color: var(--ryler-red);
		font-size: .55rem;
		font-weight: 800;
		letter-spacing: .12em;
	}
	.academy-coach-box h3 {
		margin: 6px 0 7px;
		font-family: "Barlow Condensed",sans-serif;
		font-size: 1.45rem;
	}
	.academy-coach-box p { margin: 0; color: var(--ryler-grey); font-size: .78rem; line-height: 1.6; }
	.academy-progress-box { display: grid; grid-template-columns: repeat(4,1fr); }
	.academy-progress-box div {
		display: grid;
		align-content: center;
		gap: 3px;
		padding: 18px;
		border-right: 1px solid rgba(17,21,19,.08);
	}
	.academy-progress-box div:last-child { border-right: 0; }
	.academy-progress-box span {
		color: var(--ryler-grey);
		font-size: .52rem;
		font-weight: 800;
		letter-spacing: .1em;
	}
	.academy-progress-box strong {
		font-family: "Barlow Condensed",sans-serif;
		font-size: 1.5rem;
	}

	/* Football-themed lesson */
	.ryler-lesson-preview {
		padding-bottom: 70px;
		background: #e9ece7;
	}
	.academy-scorebar {
		width: min(1240px,calc(100% - 36px));
		min-height: 74px;
		margin: 0 auto;
		display: grid;
		grid-template-columns: 1fr 1.2fr 1fr;
		align-items: center;
		gap: 20px;
		border-bottom: 1px solid rgba(17,21,19,.12);
	}
	.academy-back {
		font-size: .61rem;
		font-weight: 800;
		letter-spacing: .1em;
		text-decoration: none;
	}
	.academy-score-centre { display: grid; justify-items: center; gap: 2px; }
	.academy-score-centre span,
	.academy-score-centre small {
		color: var(--ryler-grey);
		font-size: .52rem;
		font-weight: 800;
		letter-spacing: .12em;
	}
	.academy-score-centre strong {
		font-family: "Barlow Condensed",sans-serif;
		font-size: 1.18rem;
		letter-spacing: .05em;
	}
	.academy-player-mini {
		display: flex;
		justify-content: flex-end;
		align-items: center;
		gap: 9px;
	}
	.academy-player-mini img {
		width: 42px;
		height: 42px;
		border-radius: 50%;
		object-fit: cover;
		object-position: center 22%;
		border: 2px solid var(--ryler-red);
	}
	.academy-player-mini div { display: grid; }
	.academy-player-mini span {
		color: var(--ryler-grey);
		font-size: .5rem;
		font-weight: 800;
		letter-spacing: .1em;
	}
	.academy-player-mini strong {
		font-family: "Barlow Condensed",sans-serif;
		font-size: 1rem;
	}

	.academy-lesson-layout {
		width: min(1240px,calc(100% - 36px));
		margin: 0 auto;
		display: grid;
		grid-template-columns: 1fr 270px;
		gap: 20px;
		padding-top: 26px;
	}
	.academy-pitch-panel {
		min-height: 720px;
		padding: 28px;
	}
	.lesson-content-layer {
		position: relative;
		z-index: 2;
	}
	.lesson-title-row {
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 20px;
		align-items: start;
		padding: 26px;
		color: white;
		background: rgba(7,14,9,.76);
		backdrop-filter: blur(8px);
		border-left: 4px solid var(--ryler-red);
	}
	.lesson-title-row h1 {
		margin: 8px 0 9px;
		font-family: "Barlow Condensed",sans-serif;
		font-size: clamp(3.7rem,5.8vw,6rem);
		line-height: .82;
		letter-spacing: -.03em;
		text-transform: uppercase;
	}
	.lesson-title-row h1 em { color: #e70f10; font-style: normal; }
	.lesson-title-row p {
		max-width: 670px;
		margin: 0;
		color: rgba(255,255,255,.68);
		font-size: .85rem;
		line-height: 1.6;
	}
	.lesson-badge {
		min-width: 105px;
		display: grid;
		justify-items: center;
		gap: 3px;
		padding: 12px;
		background: var(--ryler-red);
	}
	.lesson-badge span { width: 30px; height: 30px; color: white; }
	.lesson-badge svg { width: 100%; height: 100%; }
	.lesson-badge strong {
		font-family: "Barlow Condensed",sans-serif;
		font-size: 1.35rem;
	}
	.lesson-badge small {
		color: rgba(255,255,255,.72);
		font-size: .48rem;
		font-weight: 800;
		letter-spacing: .1em;
	}
	.pitch-progress {
		width: min(560px,90%);
		margin: 26px auto;
		display: grid;
		grid-template-columns: repeat(4,1fr);
		position: relative;
	}
	.pitch-progress:before {
		content: "";
		position: absolute;
		left: 10%;
		right: 10%;
		top: 50%;
		border-top: 2px solid rgba(255,255,255,.55);
	}
	.pitch-progress-node {
		position: relative;
		z-index: 2;
		display: grid;
		place-items: center;
	}
	.pitch-progress-node span {
		width: 38px;
		height: 38px;
		display: grid;
		place-items: center;
		border-radius: 50%;
		color: white;
		background: #183c25;
		border: 2px solid rgba(255,255,255,.65);
		font-family: "Barlow Condensed",sans-serif;
		font-weight: 700;
	}
	.pitch-progress-node.done span { background: #101713; }
	.pitch-progress-node.current span {
		background: var(--ryler-red);
		border-color: white;
		box-shadow: 0 0 0 6px rgba(231,15,16,.22);
	}

	.academy-question-card {
		width: min(760px,100%);
		margin: 0 auto;
		padding: 28px;
		background: rgba(251,252,249,.97);
		box-shadow: 0 18px 55px rgba(6,12,8,.23);
	}
	.question-card-top {
		display: flex;
		justify-content: space-between;
		gap: 16px;
		color: var(--ryler-grey);
		font-size: .54rem;
		font-weight: 800;
		letter-spacing: .11em;
	}
	.question-card-top strong { color: var(--ryler-red); }
	.academy-question-card h2 {
		margin: 13px 0 18px;
		font-family: "Barlow Condensed",sans-serif;
		font-size: clamp(2rem,3.4vw,3rem);
		line-height: 1;
	}
	.academy-answer-grid { display: grid; gap: 9px; }
	.academy-answer-grid button {
		min-height: 60px;
		display: grid;
		grid-template-columns: 42px 1fr;
		gap: 12px;
		align-items: center;
		padding: 8px 13px;
		text-align: left;
		color: var(--ryler-ink);
		background: white;
		border: 1px solid rgba(17,21,19,.13);
		font: inherit;
		cursor: pointer;
	}
	.academy-answer-grid button:hover { border-color: rgba(231,15,16,.35); }
	.academy-answer-grid button.selected { border-color: var(--ryler-red); background: rgba(231,15,16,.05); }
	.academy-answer-grid button.answer-correct { border-color: #23764a; background: #edf8f1; }
	.academy-answer-grid button.answer-wrong { border-color: var(--ryler-red); background: rgba(231,15,16,.06); }
	.answer-shirt {
		width: 32px;
		height: 32px;
		display: grid;
		place-items: center;
		clip-path: polygon(26% 0,42% 12%,58% 12%,74% 0,100% 18%,85% 39%,78% 33%,78% 100%,22% 100%,22% 33%,15% 39%,0 18%);
		background: #1d2c23;
		color: white;
		font-family: "Barlow Condensed",sans-serif;
		font-weight: 700;
	}
	.academy-answer-grid button.selected .answer-shirt,
	.academy-answer-grid button.answer-wrong .answer-shirt { background: var(--ryler-red); }
	.academy-answer-grid button.answer-correct .answer-shirt { background: #23764a; }
	.academy-feedback {
		margin-top: 14px;
		display: grid;
		grid-template-columns: 38px 1fr;
		gap: 12px;
		align-items: center;
		padding: 12px 14px;
		border-left: 3px solid;
	}
	.feedback-icon { width: 28px; height: 28px; }
	.feedback-icon svg { width: 100%; height: 100%; }
	.academy-feedback span {
		font-size: .53rem;
		font-weight: 800;
		letter-spacing: .12em;
	}
	.academy-feedback strong { display: block; margin-top: 2px; font-size: .77rem; }
	.feedback-correct { color: #155d3a; background: #edf8f1; border-color: #23764a; }
	.feedback-wrong { color: #e70f10; background: rgba(231,15,16,.06); border-color: var(--ryler-red); }
	.academy-actions {
		display: flex;
		justify-content: flex-end;
		gap: 9px;
		margin-top: 17px;
	}
	.academy-actions button,
	.academy-actions a {
		min-height: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 0 15px;
		border: 0;
		font: 800 .61rem "Manrope",sans-serif;
		letter-spacing: .08em;
		text-decoration: none;
		cursor: pointer;
	}
	.academy-check,
	.academy-next,
	.academy-finish { color: white !important; background: var(--ryler-red); }
	.academy-check:disabled { opacity: .35; cursor: not-allowed; }
	.academy-retry { color: var(--ryler-ink); background: #dce1dd; }

	.academy-sideboard { display: grid; align-content: start; gap: 12px; }
	.player-avatar-card,
	.academy-side-stat {
		background: white;
		border: 1px solid rgba(17,21,19,.08);
	}
	.player-avatar-card {
		display: grid;
		justify-items: center;
		gap: 10px;
		padding: 20px;
		background: var(--ryler-black);
		color: white;
		border-top: 3px solid var(--ryler-red);
	}
	.player-avatar-ring {
		width: 104px;
		height: 104px;
		border-radius: 50%;
		overflow: hidden;
		border: 4px solid var(--ryler-red);
		box-shadow: 0 0 0 6px rgba(231,15,16,.15);
	}
	.player-avatar-ring img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center 22%;
	}
	.player-avatar-copy { display: grid; justify-items: center; gap: 2px; }
	.player-avatar-copy span,
	.player-avatar-copy small {
		color: rgba(255,255,255,.44);
		font-size: .52rem;
		font-weight: 800;
		letter-spacing: .11em;
	}
	.player-avatar-copy strong {
		font-family: "Barlow Condensed",sans-serif;
		font-size: 1.75rem;
		line-height: 1;
	}
	.academy-side-stat { padding: 16px; }
	.academy-side-stat > span {
		color: var(--ryler-grey);
		font-size: .52rem;
		font-weight: 800;
		letter-spacing: .11em;
	}
	.academy-side-stat > strong {
		display: block;
		margin: 5px 0 3px;
		font-family: "Barlow Condensed",sans-serif;
		font-size: 1.35rem;
		line-height: 1;
	}
	.academy-side-stat > small { color: var(--ryler-grey); font-size: .65rem; line-height: 1.4; }
	.academy-coach-note { border-left: 3px solid var(--ryler-red); }

	/* Term overview / flexible day selector */
	.term-dashboard {
		padding-bottom: 72px;
		background:
			linear-gradient(180deg,rgba(5,10,7,.72) 0%,rgba(5,10,7,.83) 42%,rgba(5,10,7,.9) 100%),
			url("https://ryler.safcongroup.co.za/wp-content/uploads/2026/09/RYLER-stadium-pitch.jpg")
			center top / cover fixed no-repeat;
	}
	.term-hero {
		width: min(1240px,calc(100% - 36px));
		margin: 0 auto;
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 28px;
		align-items: center;
		padding: 38px 0 22px;
	}
	.term-hero-copy h1 {
		margin: 9px 0 12px;
		font-family: "Barlow Condensed",sans-serif;
		font-size: clamp(4rem,6vw,6.4rem);
		line-height: .84;
		letter-spacing: -.035em;
		text-transform: uppercase;
	}
	.term-hero-copy h1 { color: white; text-shadow: 0 5px 28px rgba(0,0,0,.28); }
	.term-hero-copy h1 em { color: #e70f10; font-style: normal; }
	.term-hero-copy p {
		max-width: 690px;
		margin: 0;
		color: rgba(255,255,255,.74);
		line-height: 1.7;
	}
	.term-hero .academy-label { color: #e70f10; }
	.term-avatar { min-width: 280px; }

							.dashboard-flash {
			width:min(1240px,calc(100% - 36px));
			margin:14px auto 0;
			display:flex;
			align-items:center;
			gap:12px;
			padding:11px 14px;
			background:rgba(250,251,248,.98);
			border-left:4px solid #1f7a4b;
			color:var(--ryler-ink);
			box-shadow:0 10px 26px rgba(0,0,0,.12);
		}
		.dashboard-flash.is-error { border-left-color:#e70f10; }
		.dashboard-flash strong {
			font-size:.56rem;
			letter-spacing:.1em;
			color:#1f7a4b;
		}
		.dashboard-flash.is-error strong { color:#e70f10; }
		.dashboard-flash span { font-size:.68rem; color:var(--ryler-grey); }

.assessment-week-banner {
			width:min(1240px,calc(100% - 36px));
			margin:20px auto 0;
			display:grid;
			grid-template-columns:1fr auto;
			gap:22px;
			align-items:center;
			padding:20px 22px;
			color:white;
			background:linear-gradient(90deg,rgba(9,12,11,.98),rgba(25,28,26,.96));
			border-left:4px solid #e70f10;
			border-top:1px solid rgba(255,255,255,.08);
			box-shadow:0 18px 44px rgba(0,0,0,.24);
		}
		.assessment-week-banner > div { display:grid; gap:4px; }
		.assessment-week-banner span {
			color:#e70f10;
			font-size:.54rem;
			font-weight:800;
			letter-spacing:.12em;
		}
		.assessment-week-banner h2 {
			margin:0;
			font-family:"Barlow Condensed",sans-serif;
			font-size:clamp(2rem,3.5vw,3rem);
			line-height:.95;
			text-transform:uppercase;
		}
		.assessment-week-banner p {
			max-width:760px;
			margin:2px 0 0;
			color:rgba(255,255,255,.66);
			font-size:.72rem;
			line-height:1.55;
		}
		.assessment-week-banner > a {
			display:inline-flex;
			min-height:50px;
			align-items:center;
			justify-content:center;
			padding:0 18px;
			color:white !important;
			background:#e70f10;
			font-size:.64rem;
			font-weight:800;
			letter-spacing:.08em;
			text-decoration:none;
			white-space:nowrap;
		}
		.assessment-week-banner > a:hover { background:#b80d0e; }

.next-session-card {
			width:min(1240px,calc(100% - 36px));
			margin:20px auto 0;
			display:grid;
			grid-template-columns:1fr auto;
			gap:22px;
			align-items:center;
			padding:18px 20px;
			color:white;
			background:rgba(8,11,10,.96);
			border-left:4px solid #e70f10;
			box-shadow:0 16px 42px rgba(0,0,0,.22);
		}
		.next-session-card div { display:grid; gap:3px; }
		.next-session-card span {
			color:#e70f10;
			font-size:.54rem;
			font-weight:800;
			letter-spacing:.12em;
		}
		.next-session-card h2 {
			margin:0;
			font-family:"Barlow Condensed",sans-serif;
			font-size:clamp(1.8rem,3vw,2.7rem);
			line-height:.95;
			text-transform:uppercase;
		}
		.next-session-card p {
			margin:2px 0 0;
			color:rgba(255,255,255,.58);
			font-size:.7rem;
		}
		.next-session-card > a {
			display:inline-flex;
			min-height:48px;
			align-items:center;
			justify-content:center;
			padding:0 18px;
			color:white !important;
			background:#e70f10;
			font-size:.65rem;
			font-weight:800;
			letter-spacing:.08em;
			text-decoration:none;
			white-space:nowrap;
		}
		.next-session-card > a:hover { background:#b80d0e; }

.term-scoreboard {
		width: min(1240px,calc(100% - 36px));
		margin: 0 auto 18px;
		display: grid;
		grid-template-columns: repeat(5,1fr);
		color: white;
		background: var(--ryler-black);
		border-top: 3px solid var(--ryler-red);
	}
	.term-scoreboard > div {
		min-height: 82px;
		display: grid;
		place-items: center;
		align-content: center;
		gap: 2px;
		border-right: 1px solid rgba(255,255,255,.08);
		text-align: center;
	}
	.term-scoreboard > div:last-child { border-right: 0; }
	.term-scoreboard span,
	.term-scoreboard small {
		color: rgba(255,255,255,.4);
		font-size: .52rem;
		font-weight: 800;
		letter-spacing: .11em;
	}
	.term-scoreboard strong {
		font-family: "Barlow Condensed",sans-serif;
		font-size: 1.5rem;
	}
	.term-score-centre { background: var(--ryler-red); }
	.term-score-centre span,
	.term-score-centre small { color: rgba(255,255,255,.7); }

	.catchup-queue,
	.catchup-empty,
	.term-map,
	.day-selector-section,
	.selected-day-wrap,
	.term-footer-note {
		width: min(1240px,calc(100% - 36px));
		margin-left: auto;
		margin-right: auto;
	}
	.catchup-queue {
		display: grid;
		grid-template-columns: 48px 1fr auto;
		gap: 16px;
		align-items: center;
		padding: 18px 20px;
		background: white;
		border: 1px solid rgba(17,21,19,.08);
		border-left: 4px solid var(--ryler-red);
	}
	.catchup-icon { width: 40px; height: 40px; color: var(--ryler-red); }
	.catchup-icon svg { width: 100%; height: 100%; }
	.catchup-queue span,
	.term-map-head span,
	.day-selector-head span,
	.selected-day-head span {
		color: var(--ryler-red);
		font-size: .55rem;
		font-weight: 800;
		letter-spacing: .12em;
	}
	.catchup-queue h2,
	.term-map-head h2,
	.day-selector-head h2,
	.selected-day-head h2 {
		margin: 4px 0;
		font-family: "Barlow Condensed",sans-serif;
		text-transform: uppercase;
	}
	.catchup-queue h2 { font-size: 1.45rem; }
	.catchup-queue p { margin: 0; color: var(--ryler-grey); font-size: .78rem; line-height: 1.55; }
	.catchup-queue button {
		min-height: 38px;
		padding: 0 12px;
		border: 1px solid rgba(17,21,19,.14);
		background: #f3f5f2;
		font: 800 .58rem "Manrope",sans-serif;
		letter-spacing: .08em;
		cursor: pointer;
	}
	.catchup-empty {
		margin-top: 10px;
		padding: 14px 18px;
		background: #f7f8f5;
		border: 1px dashed rgba(17,21,19,.18);
	}
	.catchup-empty div { display: grid; gap: 3px; }
	.catchup-empty strong { font-size: .7rem; letter-spacing: .08em; }
	.catchup-empty span { color: var(--ryler-grey); font-size: .74rem; }

	.term-map {
		margin-top: 24px;
		padding: 20px;
		background: rgba(7,12,9,.76);
		border: 1px solid rgba(255,255,255,.12);
		backdrop-filter: blur(12px);
		box-shadow: 0 18px 48px rgba(0,0,0,.18);
	}
	.term-map-head h2,
	.term-map-head small { color: white; }
	.term-map-head small { opacity: .68; }
	.term-map-head,
	.day-selector-head,
	.selected-day-head {
		display: flex;
		align-items: flex-end;
		justify-content: space-between;
		gap: 18px;
		margin-bottom: 12px;
	}
	.term-map-head h2,
	.day-selector-head h2,
	.selected-day-head h2 { font-size: 1.8rem; }
	.term-map-head small,
	.day-selector-head p {
		margin: 0;
		color: var(--ryler-grey);
		font-size: .72rem;
	}
	.week-selector {
		display: grid;
		grid-template-columns: repeat(9,minmax(0,1fr));
		gap: 6px;
	}
	.week-selector button {
		min-height: 118px;
		display: grid;
		align-content: space-between;
		gap: 4px;
		padding: 12px 10px;
		text-align: left;
		border: 1px solid rgba(17,21,19,.1);
		background: white;
		color: var(--ryler-ink);
		cursor: pointer;
	}
	.week-selector button:hover { border-color: rgba(231,15,16,.35); }
	.week-selector button.active {
		color: white;
		background: var(--ryler-black);
		border-color: var(--ryler-black);
		box-shadow: inset 0 -4px 0 var(--ryler-red);
	}
	.week-selector button.assessment-week { background: rgba(231,15,16,.06); }
	.week-selector button.assessment-week.active { background: #e70f10; }
	.week-selector span {
		color: var(--ryler-red);
		font-size: .5rem;
		font-weight: 800;
		letter-spacing: .1em;
	}
	.week-selector button.active span { color: #e70f10; }
	.week-selector strong {
		font-family: "Barlow Condensed",sans-serif;
		font-size: 1rem;
		line-height: 1;
		text-transform: uppercase;
	}
	.week-selector small { color: var(--ryler-grey); font-size: .58rem; }
	.week-selector button.active small { color: rgba(255,255,255,.5); }
	.week-selector b {
		color: var(--ryler-grey);
		font-size: .52rem;
		font-weight: 800;
	}
	.week-selector button.active b { color: rgba(255,255,255,.6); }

	.day-selector-section {
		margin-top: 18px;
		padding: 20px;
		background: rgba(7,12,9,.76);
		border: 1px solid rgba(255,255,255,.12);
		backdrop-filter: blur(12px);
		box-shadow: 0 18px 48px rgba(0,0,0,.16);
	}
	.day-selector-head h2 { color: white; }
	.day-selector-head p { color: rgba(255,255,255,.68); }
	.day-selector-head p { max-width: 470px; text-align: right; line-height: 1.5; }
	.day-selector {
		display: grid;
		grid-template-columns: repeat(5,1fr);
		gap: 8px;
	}
	.day-selector button {
		min-height: 82px;
		display: grid;
		align-content: center;
		gap: 3px;
		padding: 10px 12px;
		text-align: left;
		border: 1px solid rgba(17,21,19,.1);
		background: white;
		color: var(--ryler-ink);
		cursor: pointer;
	}
	.day-selector button.active {
		color: white;
		background: var(--ryler-red);
		border-color: var(--ryler-red);
	}
	.day-selector span {
		font-family: "Barlow Condensed",sans-serif;
		font-size: 1.05rem;
		font-weight: 700;
		text-transform: uppercase;
	}
	.day-selector strong { font-size: .62rem; color: var(--ryler-grey); }
	.day-selector small {
		font-size: .5rem;
		font-weight: 800;
		letter-spacing: .1em;
		color: var(--ryler-red);
	}
	.day-selector button.active strong,
	.day-selector button.active small { color: rgba(255,255,255,.75); }

	.selected-day-wrap {
		position: relative;
		overflow: hidden;
		margin-top: 22px;
		padding: 24px;
		background: repeating-linear-gradient(90deg,#2e6f43 0,#2e6f43 12.5%,#28633c 12.5%,#28633c 25%);
	}
	.term-pitch-lines { opacity: .38; }
	.selected-day-card {
		position: relative;
		z-index: 2;
		width: min(920px,100%);
		margin: 0 auto;
		background: rgba(250,251,248,.98);
		box-shadow: 0 20px 55px rgba(6,12,8,.24);
	}
	.selected-day-head {
		margin: 0;
		padding: 20px 22px 14px;
		border-bottom: 1px solid rgba(17,21,19,.08);
	}
	.selected-day-count { display: grid; justify-items: end; }
	.selected-day-count strong {
		color: var(--ryler-red);
		font-family: "Barlow Condensed",sans-serif;
		font-size: 1.8rem;
		line-height: 1;
	}
	.selected-day-count small {
		color: var(--ryler-grey);
		font-size: .5rem;
		font-weight: 800;
		letter-spacing: .1em;
	}
	.term-session {
		min-height: 88px;
		display: grid;
		grid-template-columns: 50px 1fr 100px;
		gap: 14px;
		align-items: center;
		padding: 13px 18px;
		border-bottom: 1px solid rgba(17,21,19,.08);
	}
	.term-session:last-child { border-bottom: 0; }
	.term-session.assessment { background: rgba(231,15,16,.06); }
	.term-session-no {
		width: 38px;
		height: 38px;
		display: grid;
		place-items: center;
		border-radius: 50%;
		color: white;
		background: #1f2b25;
		font-family: "Barlow Condensed",sans-serif;
		font-weight: 700;
	}
	.term-session-main > span {
		color: var(--ryler-red);
		font-size: .52rem;
		font-weight: 800;
		letter-spacing: .1em;
	}
	.term-session-main h3 {
		margin: 3px 0 2px;
		font-family: "Barlow Condensed",sans-serif;
		font-size: 1.25rem;
		text-transform: uppercase;
	}
	.term-session-main p { margin: 0; color: var(--ryler-grey); font-size: .68rem; }
	.term-session-main p b { font-weight: 800; }
	.term-session-end {
		display: grid;
		justify-items: end;
		gap: 7px;
	}
	.term-session-end span,
	.term-session-end strong {
		color: var(--ryler-grey);
		font-size: .54rem;
		font-weight: 800;
		letter-spacing: .08em;
	}
	.term-session-end a {
		padding: 8px 10px;
		color: white !important;
		background: var(--ryler-red);
		font-size: .58rem;
		font-weight: 800;
		text-decoration: none;
	}

	.term-footer-note {
		margin-top: 20px;
		display: grid;
		grid-template-columns: .9fr 1.1fr;
		gap: 20px;
	}
	.term-key {
		display: grid;
		grid-template-columns: repeat(3,1fr);
		background: white;
		border: 1px solid rgba(17,21,19,.08);
	}
	.term-key div {
		display: grid;
		align-content: center;
		gap: 3px;
		padding: 16px;
		border-right: 1px solid rgba(17,21,19,.08);
	}
	.term-key div:last-child { border-right: 0; }
	.term-key strong { font-size: .62rem; letter-spacing: .08em; }
	.term-key small { color: var(--ryler-grey); font-size: .62rem; }
	.key-dot { width: 9px; height: 9px; border-radius: 50%; }
	.key-dot.planned { background: #87908a; }
	.key-dot.catchup { background: var(--ryler-red); }
	.key-dot.complete { background: #1f7a4b; }

	@media (max-width: 980px) {
		.tyler-hero { grid-template-columns: 1fr; padding-top: 48px; }
		.tyler-copy { max-width: 720px; }
		.tyler-player { min-height: 520px; }
		.tyler-player img { min-height: 520px; }
		.learner-portal-wrap .ryler-login-required { grid-template-columns: 1fr; }
		.learner-portal-wrap .ryler-login-required:before {
			min-height: 320px;
			grid-column: 1;
			padding: 28px;
		}
		.learner-portal-wrap .ryler-login-required > strong,
		.learner-portal-wrap .ryler-login-required > p,
		.learner-portal-wrap .ryler-login-required > form { grid-column: 1; }
		.dashboard-command,
		.lesson-stage { grid-template-columns: 1fr; }
		.dashboard-player-shot { min-height: 380px; }
		.dashboard-statusbar { grid-template-columns: repeat(2,1fr); }
		.dashboard-lower { grid-template-columns: 1fr; }
		.lesson-side { grid-template-columns: repeat(3,1fr); }
		.lesson-player-image { height: 210px; }
		.academy-dashboard-hero { grid-template-columns: 1fr; }
		.academy-avatar-panel { width: fit-content; }
		.academy-session { grid-template-columns: 50px 1fr auto; }
		.academy-session-type { display: none; }
		.academy-dashboard-bottom { grid-template-columns: 1fr; }
		.academy-lesson-layout { grid-template-columns: 1fr; }
		.academy-sideboard { grid-template-columns: repeat(4,1fr); }
		.player-avatar-card { min-height: 210px; }
		.term-hero { grid-template-columns: 1fr; }
		.term-avatar { width: fit-content; }
		.week-selector { grid-template-columns: repeat(3,1fr); }
		.term-footer-note { grid-template-columns: 1fr; }
	}
	@media (max-width: 700px) {
		.matchday-brand small { display: none; }
		.matchday-brand-logo {
			height: 46px;
			max-width: 58vw;
		}
		.matchday-login-link { font-size: .64rem; padding: 0 12px; }
		.tyler-copy h1 { font-size: clamp(4rem,18vw,5.8rem); }
		.tyler-flow { display: grid; gap: 8px; }
		.tyler-flow i { display: none; }
		.tyler-player { min-height: 450px; }
		.tyler-player img { min-height: 450px; }
		.tyler-player-tag { grid-template-columns: 1fr 1fr 1fr; left: 10px; right: 10px; bottom: 10px; }
		.tyler-player-tag div { padding: 8px 10px; }
		.tyler-player-tag strong { font-size: 1.15rem; }
		.learner-portal-wrap .ryler-login-required { min-height: auto; }
		.learner-portal-wrap .ryler-login-required:before { min-height: 250px; font-size: 3rem; }
		.learner-portal-wrap .ryler-login-required > strong { margin: 28px 24px 4px; }
		.learner-portal-wrap .ryler-login-required > p { margin: 0 24px 16px; }
		.learner-portal-wrap .ryler-login-required > form { margin: 0 24px 28px; }
		.dashboard-command h1 { font-size: 4.2rem; }
		.dashboard-statusbar { grid-template-columns: 1fr 1fr; }
		.team-sheet-head { align-items: flex-start; flex-direction: column; }
		.session-item { grid-template-columns: 54px 1fr; }
		.session-time { grid-column: 2; justify-items: start; }
		.season-panel { grid-template-columns: 1fr 1fr; }
		.season-panel div:nth-child(2) { border-right: 0; }
		.lesson-topbar { grid-template-columns: 1fr auto; }
		.lesson-breadcrumb { display: none; }
		.lesson-main { padding: 24px 18px; }
		.lesson-main > h1 { font-size: 4rem; }
		.lesson-side { grid-template-columns: 1fr; }
		.lesson-player-image { height: 300px; }
		.lesson-actions { justify-content: stretch; }
		.lesson-actions button,
		.lesson-actions a { width: 100%; }
		.academy-match-strip { grid-template-columns: repeat(2,1fr); }
		.match-centre-ball { grid-column: 1 / -1; grid-row: 1; }
		.academy-pitch-dashboard { padding: 14px; min-height: 0; }
		.academy-pitch-lines { display: none; }
		.academy-team-sheet-head { align-items: flex-start; flex-direction: column; }
		.academy-session { grid-template-columns: 42px 1fr; gap: 10px; padding: 13px; }
		.academy-session-end { grid-column: 2; justify-items: start; }
		.academy-progress-box { grid-template-columns: 1fr 1fr; }
		.academy-scorebar { grid-template-columns: 1fr auto; }
		.academy-score-centre { display: none; }
		.academy-pitch-panel { padding: 12px; min-height: 0; }
		.lesson-title-row { grid-template-columns: 1fr; padding: 20px; }
		.lesson-badge { width: fit-content; }
		.academy-question-card { padding: 20px 16px; }
		.academy-sideboard { grid-template-columns: 1fr; }
		.academy-actions { justify-content: stretch; }
		.academy-actions button,
		.academy-actions a { width: 100%; }
		.term-scoreboard { grid-template-columns: 1fr 1fr; }
		.term-score-centre { grid-column: 1 / -1; grid-row: 1; }
		.catchup-queue { grid-template-columns: 38px 1fr; }
		.catchup-queue button { grid-column: 2; justify-self: start; }
		.term-map-head,
		.day-selector-head { align-items: flex-start; flex-direction: column; }
		.day-selector-head p { max-width: none; text-align: left; }
		.week-selector { grid-template-columns: 1fr 1fr; }
		.day-selector { grid-template-columns: 1fr 1fr; }
		.selected-day-wrap { padding: 12px; }
		.term-pitch-lines { display: none; }
		.term-session { grid-template-columns: 42px 1fr; }
		.term-session-end { grid-column: 2; justify-items: start; }
		.term-key { grid-template-columns: 1fr; }
		.term-key div { border-right: 0; border-bottom: 1px solid rgba(17,21,19,.08); }
		.term-key div:last-child { border-bottom: 0; }
	}

	/* RYLER brand red lock — keep every solid red surface on the logo red. */
	.matchday-login-link,
	.matchday-login-link:hover,
	.tyler-cta,
	.tyler-cta:hover,
	.term-score-centre,
	.day-selector button.active,
	.week-selector button.assessment-week.active,
	.academy-session.current .academy-session-status,
	.academy-session-end a,
	.lesson-badge,
	.academy-check,
	.academy-next,
	.academy-finish,
	.lesson-check,
	.lesson-next,
	.lesson-finish,
	.term-session-end a,
	.learner-portal-wrap .ryler-primary,
	.learner-portal-wrap .ryler-login-required #wp-submit {
		background: #e70f10 !important;
		background-color: #e70f10 !important;
		background-image: none !important;
		opacity: 1 !important;
	}

	/* No salmon/pink fills: keep neutral surfaces with the same logo-red accent. */
	.week-selector button.assessment-week,
	.term-session.assessment,
	.answer-grid button.selected,
	.answer-grid button.answer-wrong,
	.academy-answer-grid button.selected,
	.academy-answer-grid button.answer-wrong,
	.feedback-wrong,
	.session-item.current,
	.academy-session.current {
		background-color: #f7f8f5 !important;
		background-image: none !important;
	}
	.term-session.assessment,
	.session-item.current,
	.academy-session.current {
		box-shadow: inset 4px 0 0 #e70f10 !important;
	}
	.answer-grid button.selected,
	.answer-grid button.answer-wrong,
	.academy-answer-grid button.selected,
	.academy-answer-grid button.answer-wrong,
	.feedback-wrong {
		border-color: #e70f10 !important;
	}
	.feedback-wrong,
	.term-hero-copy h1 em,
	.term-hero .academy-label,
	.week-selector span,
	.week-selector button.active span,
	.academy-label,
	.catchup-queue span,
	.term-map-head span,
	.day-selector-head span,
	.selected-day-head span,
	.term-session-main > span {
		color: #e70f10 !important;
	}

		/* Real learner dashboard + tracked lesson */
		.real-week-selector a,
		.real-day-selector a { color: var(--ryler-ink); text-decoration: none; }
		.real-week-selector a {
			min-height:118px; display:grid; align-content:space-between; gap:4px;
			padding:12px 10px; text-align:left; border:1px solid rgba(17,21,19,.1); background:white;
		}
		.real-week-selector a:hover { border-color:rgba(231,15,16,.35); }
		.real-week-selector a.active {
			color:white; background:var(--ryler-black); border-color:var(--ryler-black);
			box-shadow:inset 0 -4px 0 #e70f10;
		}
		.real-week-selector a.assessment-week:not(.active) { background:#f7f8f5; }
		.real-week-selector a span { color:#e70f10; font-size:.5rem; font-weight:800; letter-spacing:.1em; }
		.real-week-selector a.active span { color:#e70f10; }
		.real-week-selector a strong { font-family:"Barlow Condensed",sans-serif; font-size:1rem; line-height:1; text-transform:uppercase; }
		.real-week-selector a small,.real-week-selector a b { color:var(--ryler-grey); font-size:.56rem; }
		.real-week-selector a.active small,.real-week-selector a.active b { color:rgba(255,255,255,.62); }

		.real-day-selector a {
			min-height:82px; display:grid; align-content:center; gap:3px; padding:10px 12px;
			text-align:left; border:1px solid rgba(17,21,19,.1); background:white;
		}
		.real-day-selector a.active { color:white; background:#e70f10; border-color:#e70f10; }
		.real-day-selector a span { font-family:"Barlow Condensed",sans-serif; font-size:1.05rem; font-weight:700; text-transform:uppercase; }
		.real-day-selector a strong { font-size:.62rem; color:var(--ryler-grey); }
		.real-day-selector a small { font-size:.5rem; font-weight:800; letter-spacing:.1em; color:#e70f10; }
		.real-day-selector a.active strong,.real-day-selector a.active small { color:rgba(255,255,255,.78); }

		.term-session.status-complete { opacity:.72; background:#f3f6f3; }
		.term-session.status-complete .term-session-no { background:#1f7a4b; }
		.term-session.status-catchup,.term-session.status-in_progress { box-shadow:inset 4px 0 0 #e70f10; background:#f7f8f5; }
		.term-session.status-source_hold {
			background:#f1f3f0;
			box-shadow:inset 4px 0 0 #87908a;
		}
		.term-session.status-source_hold .term-session-no { background:#87908a; }
		.term-session.status-source_hold .term-session-end a {
			background:#303632 !important;
			color:white !important;
		}
		.term-session.status-assessment_locked {
			background:#f7f8f5;
			box-shadow:inset 4px 0 0 #e70f10;
		}
		.term-session.status-assessment_locked .term-session-end a { background:#111513 !important; }

		.catchup-live-list {
			width:min(1240px,calc(100% - 36px)); margin:10px auto 0; display:grid; gap:6px;
		}
		.catchup-live-list a {
			display:grid; grid-template-columns:74px 1fr auto; gap:14px; align-items:center;
			padding:12px 14px; color:var(--ryler-ink); background:white; border-left:4px solid #e70f10; text-decoration:none;
		}
		.catchup-live-list a span { color:#e70f10; font-family:"Barlow Condensed",sans-serif; font-weight:700; }
		.catchup-live-list a small { color:var(--ryler-grey); }

				.lesson-route-strip {
			width:min(760px,100%);
			margin:18px auto 0;
			display:grid;
			grid-template-columns:1fr auto 1fr;
			align-items:stretch;
			background:rgba(8,11,10,.94);
			color:white;
			border-top:2px solid #e70f10;
			box-shadow:0 14px 34px rgba(0,0,0,.14);
		}
		.lesson-route-strip > div {
			display:grid;
			align-content:center;
			gap:3px;
			padding:13px 15px;
		}
		.lesson-route-strip > div:first-child { border-right:1px solid rgba(255,255,255,.08); }
		.lesson-route-strip span {
			color:#e70f10;
			font-size:.5rem;
			font-weight:800;
			letter-spacing:.1em;
		}
		.lesson-route-strip strong {
			font-family:"Barlow Condensed",sans-serif;
			font-size:1rem;
			text-transform:uppercase;
		}
		.lesson-route-strip small {
			color:rgba(255,255,255,.55);
			font-size:.6rem;
			line-height:1.4;
		}
		.lesson-route-strip > a {
			display:flex;
			align-items:center;
			justify-content:center;
			min-width:105px;
			padding:0 13px;
			color:white !important;
			background:#e70f10;
			font-size:.58rem;
			font-weight:800;
			letter-spacing:.07em;
			text-decoration:none;
		}
		.lesson-route-strip > a:hover { background:#b80d0e; }
		.lesson-route-strip .route-current { background:rgba(255,255,255,.035); }
		.lesson-route-strip.offline-route { grid-template-columns:1fr 1fr; }
		.lesson-route-strip.offline-route > div:first-child { border-right:1px solid rgba(255,255,255,.08); }

.lesson-source-table {
			width:min(760px,100%); margin:24px auto 16px; display:grid; grid-template-columns:1fr 1fr;
			background:rgba(7,14,9,.84); border:1px solid rgba(255,255,255,.16); color:white;
		}
		.lesson-source-table > div {
			display:grid; gap:2px; padding:10px 12px;
			border-right:1px solid rgba(255,255,255,.08); border-bottom:1px solid rgba(255,255,255,.08);
		}
		.lesson-source-table strong { font-family:"Barlow Condensed",sans-serif; font-size:1.05rem; text-transform:uppercase; }
		.lesson-source-table span { color:rgba(255,255,255,.65); font-size:.66rem; line-height:1.4; }

		.real-answer-form { margin-top:16px; }
		.real-answer-option {
			min-height:60px; display:grid; grid-template-columns:42px 1fr; gap:12px; align-items:center;
			padding:8px 13px; color:var(--ryler-ink); background:white; border:1px solid rgba(17,21,19,.13); cursor:pointer;
		}
		.real-answer-option input { position:absolute; opacity:0; pointer-events:none; }
		.real-answer-option:has(input:checked) { border-color:#e70f10; box-shadow:inset 4px 0 0 #e70f10; background:#f7f8f5; }
		.real-answer-option:has(input:checked) .answer-shirt { background:#e70f10; }

				.shot-mastered {
			display:inline-flex;
			min-height:44px;
			align-items:center;
			padding:0 14px;
			color:#1f7a4b;
			background:#edf6f0;
			border:1px solid rgba(31,122,75,.2);
			font-size:.58rem;
			font-weight:800;
			letter-spacing:.08em;
		}

.lesson-result-strip {
			width:min(760px,100%); margin:14px auto 0; display:grid; grid-template-columns:repeat(3,1fr);
			background:var(--ryler-black); color:white;
		}
		.lesson-result-strip div { display:grid; gap:3px; padding:13px 15px; border-right:1px solid rgba(255,255,255,.08); }
		.lesson-result-strip div:last-child { border-right:0; }
		.lesson-result-strip span { color:rgba(255,255,255,.42); font-size:.5rem; font-weight:800; letter-spacing:.1em; }
		.lesson-result-strip strong { font-family:"Barlow Condensed",sans-serif; font-size:1.2rem; }
		.real-question-card > p { color:var(--ryler-grey); line-height:1.7; }

		.practice-source-note {
			width:min(760px,100%); margin:16px auto 0; display:grid; gap:3px; padding:11px 13px;
			color:white; background:rgba(7,14,9,.82); border-left:3px solid #e70f10;
		}
		.practice-source-note strong { font-size:.58rem; letter-spacing:.09em; color:#e70f10; }
		.practice-source-note span { font-size:.7rem; color:rgba(255,255,255,.64); }
		.dictation-zone { display:grid; gap:12px; margin-top:8px; }
		.dictation-listen {
			width:fit-content; min-height:44px; padding:0 16px; border:0; color:white; background:#111513;
			font:800 .64rem "Manrope",sans-serif; letter-spacing:.08em; cursor:pointer;
		}
		.dictation-listen:hover { background:#e70f10; }
		.dictation-entry { display:grid; gap:6px; }
		.dictation-entry span { color:var(--ryler-grey); font-size:.54rem; font-weight:800; letter-spacing:.1em; }
		.dictation-entry input {
			width:100%; min-height:56px; padding:0 14px; border:1px solid rgba(17,21,19,.15);
			background:white; color:var(--ryler-ink); font:700 1.15rem "Manrope",sans-serif; outline:none;
		}
		.dictation-entry input:focus { border-color:#e70f10; box-shadow:0 0 0 3px rgba(231,15,16,.1); }

		.ryler-companion-passage {
			width:min(760px,100%);
			margin:12px auto 18px;
			padding:18px 20px;
			background:rgba(255,255,255,.96);
			border:1px solid rgba(17,21,19,.1);
			border-left:4px solid #e70f10;
			color:var(--ryler-ink);
			box-shadow:0 12px 30px rgba(0,0,0,.08);
		}
		.ryler-companion-passage > span {
			display:block;
			margin-bottom:8px;
			color:#e70f10;
			font-size:.54rem;
			font-weight:800;
			letter-spacing:.12em;
		}
		.ryler-companion-passage p {
			margin:0;
			font-size:.9rem;
			line-height:1.75;
		}

		.admin-preview-tools {
			margin-top:18px;
			display:flex;
			align-items:center;
			flex-wrap:wrap;
			gap:10px 14px;
		}
		.admin-preview-tools span {
			color:rgba(255,255,255,.48);
			font-size:.54rem;
			font-weight:800;
			letter-spacing:.1em;
		}
		.admin-preview-tools a {
			padding:9px 11px;
			color:white !important;
			background:#e70f10;
			font-size:.58rem;
			font-weight:800;
			letter-spacing:.08em;
			text-decoration:none;
		}

		.admin-reset-form { margin:0; }
		.admin-reset-form button {
			min-height:36px;
			padding:0 11px;
			border:1px solid rgba(255,255,255,.18);
			color:rgba(255,255,255,.78);
			background:transparent;
			font-size:.56rem;
			font-weight:800;
			letter-spacing:.08em;
			cursor:pointer;
		}
		.admin-reset-form button:hover {
			color:white;
			border-color:#e70f10;
			background:rgba(231,15,16,.1);
		}

		.parent-dashboard {
			min-height:calc(100vh - 84px);
			padding:36px 0 70px;
			background:
				linear-gradient(180deg,rgba(5,10,7,.74),rgba(5,10,7,.92)),
				url("https://ryler.safcongroup.co.za/wp-content/uploads/2026/09/RYLER-stadium-pitch.jpg") center top / cover fixed no-repeat;
			color:white;
		}
		.parent-command,
		.parent-metrics,
		.parent-grid,
				.parent-readiness {
			width:min(1240px,calc(100% - 36px));
			margin:20px auto 0;
			background:rgba(250,251,248,.98);
			color:var(--ryler-ink);
			border:1px solid rgba(255,255,255,.14);
			box-shadow:0 20px 55px rgba(0,0,0,.18);
		}
		.parent-readiness-grid {
			display:grid;
			grid-template-columns:repeat(5,1fr);
			border-top:1px solid rgba(17,21,19,.07);
			border-bottom:1px solid rgba(17,21,19,.07);
		}
		.parent-readiness-grid > div {
			min-height:88px;
			display:grid;
			align-content:center;
			gap:3px;
			padding:14px 16px;
			border-right:1px solid rgba(17,21,19,.07);
		}
		.parent-readiness-grid > div:last-child { border-right:0; }
		.parent-readiness-grid strong {
			font-family:"Barlow Condensed",sans-serif;
			font-size:1.8rem;
		}
		.parent-readiness-grid span {
			color:var(--ryler-grey);
			font-size:.58rem;
			font-weight:700;
			text-transform:uppercase;
			letter-spacing:.06em;
		}
		.parent-readiness > p {
			margin:0;
			padding:14px 18px 18px;
			color:var(--ryler-grey);
			font-size:.72rem;
			line-height:1.55;
		}

.parent-actions {
			width:min(1240px,calc(100% - 36px));
			margin-left:auto;
			margin-right:auto;
		}
		.parent-command {
			display:grid;
			grid-template-columns:1fr auto;
			gap:28px;
			align-items:center;
		}
		.parent-command h1 {
			margin:8px 0 10px;
			font-family:"Barlow Condensed",sans-serif;
			font-size:clamp(3.7rem,6vw,6rem);
			line-height:.84;
			text-transform:uppercase;
		}
		.parent-command h1 em { color:#e70f10; font-style:normal; }
		.parent-command p { max-width:680px; color:rgba(255,255,255,.68); line-height:1.7; }
		.parent-player-card {
			min-width:280px;
			display:grid;
			grid-template-columns:80px 1fr;
			gap:14px;
			align-items:center;
			padding:14px 18px;
			background:#080b0a;
			border-left:4px solid #e70f10;
		}
		.parent-player-card img {
			width:72px;
			height:72px;
			object-fit:cover;
			border-radius:50%;
			border:2px solid #e70f10;
		}
		.parent-player-card div { display:grid; gap:2px; }
		.parent-player-card span,.parent-player-card small { color:rgba(255,255,255,.46); font-size:.52rem; font-weight:800; letter-spacing:.1em; }
		.parent-player-card strong { font-family:"Barlow Condensed",sans-serif; font-size:1.65rem; }

		.parent-metrics {
			margin-top:24px;
			display:grid;
			grid-template-columns:repeat(6,1fr);
			background:#080b0a;
			border-top:3px solid #e70f10;
		}
		.parent-metrics > div {
			min-height:92px;
			display:grid;
			align-content:center;
			gap:3px;
			padding:14px 16px;
			border-right:1px solid rgba(255,255,255,.08);
		}
		.parent-metrics > div:last-child { border-right:0; }
		.parent-metrics span,.parent-metrics small { color:rgba(255,255,255,.44); font-size:.5rem; font-weight:800; letter-spacing:.09em; }
		.parent-metrics strong { font-family:"Barlow Condensed",sans-serif; font-size:1.7rem; }

		.parent-grid {
			margin-top:20px;
			display:grid;
			grid-template-columns:1.1fr .9fr;
			gap:20px;
		}
		.parent-panel {
			background:rgba(250,251,248,.98);
			color:var(--ryler-ink);
			border:1px solid rgba(255,255,255,.14);
			box-shadow:0 20px 55px rgba(0,0,0,.2);
		}
		.parent-panel-head { padding:20px 22px 14px; border-bottom:1px solid rgba(17,21,19,.08); }
		.parent-panel-head span { color:#e70f10; font-size:.54rem; font-weight:800; letter-spacing:.1em; }
		.parent-panel-head h2 { margin:4px 0 0; font-family:"Barlow Condensed",sans-serif; font-size:1.7rem; text-transform:uppercase; }
		.parent-subject-list,.parent-flag-list { display:grid; }
		.parent-subject-row {
			display:grid;
			grid-template-columns:180px 1fr 52px;
			gap:14px;
			align-items:center;
			padding:14px 18px;
			border-bottom:1px solid rgba(17,21,19,.07);
		}
		.parent-subject-row:last-child { border-bottom:0; }
		.parent-subject-row div:first-child { display:grid; gap:2px; }
		.parent-subject-row small { color:var(--ryler-grey); font-size:.62rem; }
		.parent-subject-row b { text-align:right; font-family:"Barlow Condensed",sans-serif; font-size:1.1rem; }
		.parent-progress-track { height:7px; overflow:hidden; background:#e3e7e2; }
		.parent-progress-track i { display:block; height:100%; background:#e70f10; }

		.parent-flag,.parent-empty {
			display:grid;
			gap:4px;
			padding:14px 18px;
			border-bottom:1px solid rgba(17,21,19,.07);
		}
		.parent-flag span { color:#e70f10; font-size:.54rem; font-weight:800; letter-spacing:.08em; }
		.parent-flag strong { font-size:.76rem; line-height:1.45; }
		.parent-flag small,.parent-empty span { color:var(--ryler-grey); font-size:.62rem; }
		.parent-flag-action { margin-top:6px; }
		.parent-flag-action button {
			min-height:34px;
			padding:0 10px;
			border:1px solid rgba(17,21,19,.14);
			background:#111513;
			color:white;
			font-size:.52rem;
			font-weight:800;
			letter-spacing:.08em;
			cursor:pointer;
		}
		.parent-flag-action button:hover { background:#e70f10; border-color:#e70f10; }
		.parent-feedback {
			width:min(1240px,calc(100% - 36px));
			margin:16px auto 0;
		}
		.parent-empty { min-height:120px; align-content:center; }

				.parent-recent {
			width:min(1240px,calc(100% - 36px));
			margin:20px auto 0;
			background:rgba(250,251,248,.98);
			color:var(--ryler-ink);
			box-shadow:0 20px 55px rgba(0,0,0,.18);
		}
		.parent-recent-list {
			display:grid;
			grid-template-columns:repeat(2,minmax(0,1fr));
		}
		.parent-recent-row {
			min-height:70px;
			display:grid;
			grid-template-columns:1fr auto;
			gap:14px;
			align-items:center;
			padding:13px 18px;
			border-right:1px solid rgba(17,21,19,.07);
			border-bottom:1px solid rgba(17,21,19,.07);
		}
		.parent-recent-row > div { display:grid; gap:3px; }
		.parent-recent-row span {
			color:#e70f10;
			font-size:.5rem;
			font-weight:800;
			letter-spacing:.09em;
		}
		.parent-recent-row strong { font-size:.78rem; }
		.parent-recent-row small { color:var(--ryler-grey); font-size:.6rem; white-space:nowrap; }

.parent-holds {
			width:min(1240px,calc(100% - 36px));
			margin:20px auto 0;
			background:rgba(250,251,248,.98);
			color:var(--ryler-ink);
			box-shadow:0 20px 55px rgba(0,0,0,.18);
		}
		.parent-hold-list {
			display:grid;
			grid-template-columns:repeat(2,minmax(0,1fr));
		}
		.parent-hold-row {
			min-height:74px;
			display:grid;
			grid-template-columns:1fr auto;
			gap:14px;
			align-items:center;
			padding:14px 18px;
			border-right:1px solid rgba(17,21,19,.07);
			border-bottom:1px solid rgba(17,21,19,.07);
		}
		.parent-hold-row > div { display:grid; gap:3px; }
		.parent-hold-row span {
			color:#e70f10;
			font-size:.5rem;
			font-weight:800;
			letter-spacing:.09em;
		}
		.parent-hold-row strong { font-size:.76rem; line-height:1.35; }

		.parent-hold-row em {
			color:var(--ryler-grey);
			font-size:.58rem;
			font-style:normal;
			line-height:1.35;
		}
		.parent-hold-row small { color:var(--ryler-grey); font-size:.6rem; text-align:right; }
.parent-actions { margin-top:20px; display:flex; gap:10px; flex-wrap:wrap; }
		.parent-actions .academy-check { display:inline-flex; text-decoration:none; }
		.parent-print-button { border:0; cursor:pointer; }
		.parent-report-date {
			display:block;
			margin-top:10px;
			color:rgba(255,255,255,.42);
			font-size:.56rem;
			font-weight:700;
			letter-spacing:.06em;
			text-transform:uppercase;
		}

		@media print {
			body { background:white !important; }
			.matchday-header,
			.matchday-footer,
			.parent-actions,
			.admin-preview-tools { display:none !important; }
			.parent-dashboard {
				min-height:auto !important;
				padding:0 !important;
				background:white !important;
				color:#111513 !important;
			}
			.parent-command,
			.parent-metrics,
			.parent-grid,
			.parent-recent,
			.parent-holds,
			.parent-readiness {
				width:100% !important;
				margin-left:0 !important;
				margin-right:0 !important;
				box-shadow:none !important;
			}
			.parent-command h1,
			.parent-player-card,
			.parent-metrics { color:#111513 !important; }
			.parent-player-card,
			.parent-metrics {
				background:white !important;
				border:1px solid #d9ddda !important;
			}
			.parent-player-card span,
			.parent-player-card small,
			.parent-metrics span,
			.parent-metrics small,
			.parent-report-date { color:#5b625e !important; }
			.parent-panel,
			.parent-recent,
			.parent-holds,
			.parent-readiness {
				break-inside:avoid;
				background:white !important;
				border:1px solid #d9ddda !important;
			}
			.parent-grid { grid-template-columns:1fr 1fr !important; }
		}

				.term-session.status-diagnostic {
			background:#f4f5f2;
			box-shadow:inset 4px 0 0 #e70f10;
		}
		.term-session.status-diagnostic .term-session-no { background:#111513; }
		.term-session.status-diagnostic .term-session-end a {
			background:#111513 !important;
			color:white !important;
		}
		.term-session.status-quality_hold {
			background:#f4f5f2;
			box-shadow:inset 4px 0 0 #e70f10;
		}
		.term-session.status-quality_hold .term-session-no { background:#e70f10; }
		.term-session.status-quality_hold .term-session-end a {
			background:#e70f10 !important;
			color:white !important;
		}

.term-session.status-info { background:#f4f5f2; box-shadow:inset 4px 0 0 #87908a; }
		.term-session.status-info .term-session-no { background:#87908a; }
		.term-session.status-info .term-session-end a { background:#303632 !important; }

		@media (max-width:980px) {
			.parent-command { grid-template-columns:1fr; }
			.parent-player-card { width:fit-content; }
			.parent-metrics { grid-template-columns:1fr 1fr; }
			.parent-grid { grid-template-columns:1fr; }
		}

		@media (max-width:700px) {
			.parent-readiness-grid { grid-template-columns:1fr 1fr; }
			.lesson-route-strip,.lesson-route-strip.offline-route { grid-template-columns:1fr; }
			.lesson-route-strip > a { min-height:44px; }
			.parent-recent-list { grid-template-columns:1fr; }
			.parent-recent-row { grid-template-columns:1fr; }
			.assessment-week-banner { grid-template-columns:1fr; }
			.assessment-week-banner > a { width:100%; }
			.parent-hold-list { grid-template-columns:1fr; }
			.parent-hold-row { grid-template-columns:1fr; }
			.parent-hold-row small { text-align:left; }
			.next-session-card { grid-template-columns:1fr; }
			.next-session-card > a { width:100%; }
			.real-week-selector { grid-template-columns:1fr 1fr; }
			.real-day-selector { grid-template-columns:1fr 1fr; }
			.lesson-source-table { grid-template-columns:1fr; }
			.lesson-result-strip { grid-template-columns:1fr; }
			.catchup-live-list a { grid-template-columns:58px 1fr; }
			.catchup-live-list a small { grid-column:2; }
		}
}


	/* Keep the learner workspace focused and uncluttered. */
	body.page-id-5 .matchday-footer { display:none; }

	.real-term-key {
		width:min(1240px,calc(100% - 36px));
		margin:14px auto 0;
		grid-template-columns:repeat(4,1fr);
	}
	.key-dot.hold { background:#87908a; }
	.key-dot.sourcecheck { background:#e70f10; box-shadow:0 0 0 2px rgba(231,15,16,.15); }
		.key-dot.diagnostic { background:#111513; }

	@media (max-width:900px) {
		.real-term-key { grid-template-columns:1fr 1fr; }
	}
	@media (max-width:560px) {
		.real-term-key { grid-template-columns:1fr; }
	}


	/* Formal assessment readiness warning. */
	.assessment-readiness-warning {
		width:min(760px,100%);
		margin:0 auto 14px;
		display:grid;
		gap:4px;
		padding:13px 15px;
		background:#fff6f6;
		border-left:4px solid #e70f10;
		color:var(--ryler-ink);
	}
	.assessment-readiness-warning strong {
		color:#e70f10;
		font-size:.58rem;
		letter-spacing:.1em;
	}
	.assessment-readiness-warning span {
		font-size:.72rem;
		line-height:1.55;
		color:var(--ryler-grey);
	}

	/* Generic WordPress pages — no Tailwind runtime required. */
	.ryler-content-page {
		min-height:calc(100vh - 84px);
		padding:54px 0 72px;
		background:#f3f4f1;
		color:#111513;
	}
	.ryler-content-wrap {
		width:min(920px,calc(100% - 36px));
		margin:0 auto;
	}
	.ryler-content-narrow { width:min(760px,calc(100% - 36px)); }
	.ryler-content-centred { text-align:center; }
	.ryler-content-header {
		padding-bottom:22px;
		margin-bottom:28px;
		border-bottom:1px solid rgba(17,21,19,.1);
	}
	.ryler-content-kicker {
		display:block;
		margin-bottom:8px;
		color:#e70f10;
		font-size:.62rem;
		font-weight:800;
		letter-spacing:.12em;
		text-transform:uppercase;
	}
	.ryler-content-page h1,
	.ryler-content-page h2 {
		margin-top:0;
		font-family:"Barlow Condensed",sans-serif;
		text-transform:uppercase;
		line-height:.96;
	}
	.ryler-content-page h1 { font-size:clamp(2.6rem,6vw,4.8rem); }
	.ryler-content-page h2 { font-size:clamp(1.8rem,4vw,2.8rem); }
	.ryler-content-page a { color:#e70f10; }
	.ryler-content-link {
		display:inline-flex;
		margin-top:22px;
		font-weight:800;
		text-decoration:none;
	}
	.ryler-search-box { margin:28px auto 0; max-width:520px; }
	.ryler-search-box form { display:flex; gap:8px; }
	.ryler-search-box input[type="search"] {
		flex:1;
		min-height:44px;
		padding:0 12px;
		border:1px solid rgba(17,21,19,.18);
		background:white;
	}
	.ryler-search-box input[type="submit"],
	.ryler-search-box button {
		min-height:44px;
		padding:0 14px;
		border:0;
		background:#111513;
		color:white;
		font-weight:800;
		cursor:pointer;
	}
	.ryler-post-list { display:grid; gap:24px; }
	.ryler-post-card {
		padding-bottom:24px;
		border-bottom:1px solid rgba(17,21,19,.1);
	}
	.ryler-post-card time,
	.ryler-post-meta {
		color:#6c746f;
		font-size:.72rem;
		text-transform:uppercase;
		letter-spacing:.06em;
	}
	.ryler-post-card h2 { margin:5px 0 10px; }
	.ryler-post-card h2 a {
		color:#111513;
		text-decoration:none;
	}
	.ryler-post-card h2 a:hover { color:#e70f10; }
	.ryler-prose { color:#3f4642; line-height:1.75; }
	.ryler-prose img,
	.ryler-featured-image img { max-width:100%; height:auto; }
	.ryler-featured-image { margin:0 0 28px; }
	.ryler-post-nav,
	.ryler-pagination {
		margin-top:28px;
		display:flex;
		justify-content:space-between;
		gap:20px;
	}
	.ryler-post-nav a,
	.ryler-pagination a {
		font-weight:800;
		text-decoration:none;
	}
	@media (max-width:640px) {
		.ryler-content-page { padding-top:36px; }
		.ryler-search-box form { display:grid; }
		.ryler-post-nav { display:grid; }
	}


	/* Ryan / aviation learner identity. */
	.theme-aviation {
		--aviation-navy:#071523;
		--aviation-panel:#0d2234;
		--aviation-blue:#e70f10;
		--aviation-sky:#ffd6d6;
		--aviation-silver:#c8d2d9;
		--aviation-white:#f7fbfd;
	}
	.empty-flight-plan.theme-aviation {
		min-height:calc(100vh - 84px);
		padding:54px 0 80px;
		color:var(--aviation-white);
		background:
			linear-gradient(180deg,rgba(4,15,26,.78),rgba(4,15,26,.96)),
			repeating-linear-gradient(90deg,rgba(231,15,16,.07) 0,rgba(231,15,16,.07) 1px,transparent 1px,transparent 72px),
			repeating-linear-gradient(0deg,rgba(231,15,16,.05) 0,rgba(231,15,16,.05) 1px,transparent 1px,transparent 72px),
			radial-gradient(circle at 78% 20%,rgba(231,15,16,.18),transparent 32%),
			var(--aviation-navy);
	}
	.theme-aviation .term-hero {
		width:min(1240px,calc(100% - 36px));
		margin:0 auto;
	}
	.theme-aviation .academy-label { color:var(--aviation-blue); }
	.theme-aviation .term-hero h1 em { color:var(--aviation-blue); }
	.theme-aviation .term-hero-copy p { color:rgba(247,251,253,.68); }
	.theme-aviation .term-avatar {
		background:linear-gradient(145deg,rgba(13,34,52,.98),rgba(7,21,35,.98));
		border-left:4px solid var(--aviation-blue);
	}
	.theme-aviation .term-avatar .avatar-photo {
		background:
			radial-gradient(circle at 50% 50%,rgba(231,15,16,.14),transparent 58%),
			linear-gradient(180deg,#102b40,#071523);
	}
	.theme-aviation .term-avatar .avatar-photo img {
		object-fit:contain;
		padding:22px;
	}
	.theme-aviation .avatar-details span { color:var(--aviation-blue); }
	.empty-plan-status {
		width:min(1240px,calc(100% - 36px));
		margin:22px auto 0;
		display:grid;
		grid-template-columns:repeat(3,1fr);
		border-top:2px solid rgba(231,15,16,.65);
		background:rgba(5,18,30,.9);
		box-shadow:0 20px 55px rgba(0,0,0,.22);
	}
	.empty-plan-status > div {
		min-height:88px;
		display:grid;
		align-content:center;
		gap:4px;
		padding:15px 18px;
		border-right:1px solid rgba(255,230,230,.1);
	}
	.empty-plan-status > div:last-child { border-right:0; }
	.empty-plan-status span {
		color:rgba(255,230,230,.48);
		font-size:.54rem;
		font-weight:800;
		letter-spacing:.12em;
	}
	.empty-plan-status strong {
		color:var(--aviation-white);
		font-family:"Barlow Condensed",sans-serif;
		font-size:1.55rem;
		letter-spacing:.02em;
	}
	@media (max-width:700px) {
		.empty-flight-plan.theme-aviation { padding-top:30px; }
		.empty-plan-status { grid-template-columns:1fr; }
		.empty-plan-status > div { border-right:0; border-bottom:1px solid rgba(255,230,230,.1); }
	}


	/* Aviation theme — full learner workspace. */
	.real-term-dashboard.theme-aviation,
	.academy-lesson-shell.theme-aviation,
	.parent-dashboard.theme-aviation {
		--ryler-red:#e70f10;
		--color-primary:#e70f10;
		--color-accent:#e70f10;
		background:
			linear-gradient(180deg,rgba(4,15,26,.74),rgba(4,15,26,.95)),
			repeating-linear-gradient(90deg,rgba(231,15,16,.05) 0,rgba(231,15,16,.05) 1px,transparent 1px,transparent 84px),
			repeating-linear-gradient(0deg,rgba(231,15,16,.035) 0,rgba(231,15,16,.035) 1px,transparent 1px,transparent 84px),
			radial-gradient(circle at 78% 18%,rgba(231,15,16,.17),transparent 30%),
			#071523;
	}
	.theme-aviation .academy-label,
	.theme-aviation .question-card-top span,
	.theme-aviation .parent-panel-head span,
	.theme-aviation .practice-source-note strong,
	.theme-aviation .parent-flag span,
	.theme-aviation .next-session-card span {
		color:#e70f10 !important;
	}
	.theme-aviation .term-hero h1 em,
	.theme-aviation .lesson-title-row h1 em,
	.theme-aviation .parent-command h1 em {
		color:#e70f10 !important;
	}
	.theme-aviation .term-scoreboard,
	.theme-aviation .parent-metrics {
		border-top-color:#e70f10;
	}
	.theme-aviation .week-selector a.active,
	.theme-aviation .day-selector a.active,
	.theme-aviation .real-week-selector a.active,
	.theme-aviation .real-day-selector a.active,
	.theme-aviation .academy-check,
	.theme-aviation .academy-finish,
	.theme-aviation .next-session-card > a,
	.theme-aviation .admin-preview-tools a {
		background:#e70f10 !important;
		color:#04101a !important;
	}
	.theme-aviation .academy-check:hover,
	.theme-aviation .academy-finish:hover,
	.theme-aviation .next-session-card > a:hover {
		background:#ff3536 !important;
	}
	.theme-aviation .term-session.status-catchup,
	.theme-aviation .term-session.status-in_progress,
	.theme-aviation .term-session.status-assessment_locked,
	.theme-aviation .term-session.status-diagnostic,
	.theme-aviation .term-session.status-quality_hold {
		box-shadow:inset 4px 0 0 #e70f10;
	}
	.theme-aviation .term-session.status-quality_hold .term-session-no {
		background:#e70f10;
		color:#04101a;
	}
	.theme-aviation .parent-progress-track i { background:#e70f10; }
	.theme-aviation .parent-player-card,
	.theme-aviation .player-avatar-card,
	.theme-aviation .term-avatar {
		border-left-color:#e70f10;
	}
	.theme-aviation .player-avatar-ring,
	.theme-aviation .term-avatar .avatar-photo {
		border-color:#e70f10;
	}
	.theme-aviation .next-session-card {
		border-left-color:#e70f10;
		background:rgba(6,20,32,.96);
	}
	.theme-aviation .practice-source-note { border-left-color:#e70f10; }
	.theme-aviation .assessment-readiness-warning {
		background:#eef9fe;
		border-left-color:#e70f10;
	}
	.theme-aviation .assessment-readiness-warning strong { color:#b80c0d; }
	.theme-aviation .key-dot.sourcecheck { background:#e70f10; box-shadow:0 0 0 2px rgba(231,15,16,.15); }
	.theme-aviation .academy-sideboard {
		background:linear-gradient(180deg,rgba(13,34,52,.98),rgba(7,21,35,.99));
	}
	.theme-aviation .academy-side-stat { border-color:rgba(255,230,230,.12); }
	.theme-aviation .academy-side-stat span { color:#ff3536; }
	.theme-aviation .academy-side-stat strong,
	.theme-aviation .academy-side-stat small { color:#edf8fd; }


	/* Multi-learner controls for parent/tutor/admin views. */
	.learner-switcher {
		width:min(1240px,calc(100% - 36px));
		margin:14px auto 0;
		display:flex;
		align-items:center;
		justify-content:space-between;
		gap:14px;
		padding:10px 12px;
		background:rgba(17,21,19,.94);
		border:1px solid rgba(255,255,255,.08);
	}
	.learner-switcher > span {
		color:rgba(255,255,255,.42);
		font-size:.54rem;
		font-weight:800;
		letter-spacing:.12em;
	}
	.learner-switcher > div,
	.preview-learner-switcher {
		display:flex;
		gap:7px;
		flex-wrap:wrap;
	}
	.learner-switcher a,
	.preview-learner-switcher a {
		padding:8px 10px;
		border:1px solid rgba(255,255,255,.14);
		color:white;
		font-size:.56rem;
		font-weight:800;
		letter-spacing:.07em;
		text-decoration:none;
	}
	.learner-switcher a.active,
	.preview-learner-switcher a.active {
		background:#e70f10;
		border-color:#e70f10;
	}
	.theme-aviation .learner-switcher a.active,
	.theme-aviation .preview-learner-switcher a.active {
		background:#e70f10;
		border-color:#e70f10;
		color:#04101a;
	}
	.preview-learner-switcher {
		margin-left:auto;
	}
	@media (max-width:700px) {
		.learner-switcher { align-items:flex-start; flex-direction:column; }
		.preview-learner-switcher { width:100%; margin-left:0; }
	}


	/* Ryan aviation login — separate from Tyler's football login. */
	.learner-portal-page.login-theme-aviation {
		min-height:calc(100vh - 84px);
		background:
			linear-gradient(180deg,rgba(4,15,26,.58),rgba(4,15,26,.92)),
			repeating-linear-gradient(90deg,rgba(231,15,16,.045) 0,rgba(231,15,16,.045) 1px,transparent 1px,transparent 76px),
			repeating-linear-gradient(0deg,rgba(231,15,16,.035) 0,rgba(231,15,16,.035) 1px,transparent 1px,transparent 76px),
			radial-gradient(circle at 78% 22%,rgba(231,15,16,.22),transparent 28%),
			linear-gradient(145deg,#071523,#0a2031 52%,#071523);
	}
	.login-theme-aviation .learner-portal-wrap .ryler-login-required {
		border-color:rgba(231,15,16,.18);
		background:#071523;
		box-shadow:0 30px 80px rgba(0,0,0,.34);
	}
	.login-theme-aviation .learner-portal-wrap .ryler-login-required:before {
		content:"FLIGHT DECK LOGIN\A\AREADY. SET. FLY.";
		background:
			linear-gradient(180deg,rgba(4,15,26,.08),rgba(4,15,26,.72)),
			radial-gradient(circle at 52% 72%,rgba(231,15,16,.35),transparent 6%),
			linear-gradient(155deg,#0f2d43 0%,#0b2031 45%,#06111c 100%);
		color:#f5fbfe;
		border-right:1px solid rgba(231,15,16,.14);
	}
	.login-theme-aviation .learner-portal-wrap .ryler-login-required > strong {
		color:#f4fbfe;
	}
	.login-theme-aviation .learner-portal-wrap .ryler-login-required > p {
		color:rgba(255,230,230,.58);
	}
	.login-theme-aviation .learner-portal-wrap .ryler-login-required label {
		color:rgba(255,230,230,.7);
	}
	.login-theme-aviation .learner-portal-wrap .ryler-login-required input[type="text"],
	.login-theme-aviation .learner-portal-wrap .ryler-login-required input[type="password"] {
		border-color:rgba(231,15,16,.2);
		background:rgba(231,15,16,.055);
	}
	.login-theme-aviation .learner-portal-wrap .ryler-login-required input:focus {
		border-color:#e70f10;
		box-shadow:0 0 0 3px rgba(231,15,16,.13);
	}
	.login-theme-aviation .learner-portal-wrap .ryler-login-required #wp-submit {
		background:#e70f10;
		color:#04101a;
	}
	.login-theme-aviation .learner-portal-wrap .ryler-login-required #wp-submit:hover {
		background:#ff3536;
	}


	.header-aviation-context .matchday-login-link {
		background:#e70f10;
		color:#04101a;
	}
	.header-aviation-context .matchday-login-link:hover {
		background:#ff3536;
	}


	/* AVIATION LOGIN V2 — cinematic aircraft/cockpit identity for Ryan. */
	.learner-portal-page.login-theme-aviation {
		min-height:calc(100vh - 86px);
		padding:28px 24px 44px;
		background:
			radial-gradient(circle at 78% 18%,rgba(55,178,229,.14),transparent 30%),
			linear-gradient(145deg,#03101b,#071d2e 55%,#03101b);
	}
	.login-theme-aviation .learner-portal-wrap {
		width:min(1480px,100%);
		margin:0 auto;
	}
	.aviation-login-shell {
		min-height:700px;
		display:grid;
		grid-template-columns:minmax(0,1.7fr) minmax(360px,.72fr);
		overflow:hidden;
		border:1px solid rgba(231,15,16,.18);
		background:#061522;
		box-shadow:0 34px 90px rgba(0,0,0,.42);
	}
	.aviation-login-visual {
		position:relative;
		min-height:700px;
		background:
			linear-gradient(90deg,rgba(3,13,22,.16),rgba(3,13,22,.18) 48%,rgba(3,13,22,.84) 100%),
			linear-gradient(180deg,rgba(3,13,22,.08),rgba(3,13,22,.52) 72%,rgba(3,13,22,.9)),
			url("https://ryler.safcongroup.co.za/wp-content/uploads/2026/09/Ryan-Aviation-Cockpit.jpg")
			center center / cover no-repeat;
	}
	.aviation-visual-overlay {
		position:absolute;
		inset:0;
		pointer-events:none;
		background:
			linear-gradient(rgba(231,15,16,.08) 1px,transparent 1px),
			linear-gradient(90deg,rgba(231,15,16,.06) 1px,transparent 1px);
		background-size:78px 78px;
		mask-image:linear-gradient(to bottom,black,transparent 72%);
	}
	.aviation-hud {
		position:relative;
		z-index:1;
		min-height:700px;
		display:flex;
		flex-direction:column;
		padding:34px 38px 28px;
	}
	.aviation-hud-top {
		display:flex;
		align-items:center;
		justify-content:space-between;
		gap:16px;
		padding-bottom:16px;
		border-bottom:1px solid rgba(255,230,230,.22);
	}
	.aviation-hud-top span,
	.aviation-hud-top strong {
		font-size:.62rem;
		font-weight:800;
		letter-spacing:.14em;
	}
	.aviation-hud-top span { color:rgba(221,245,255,.64); }
	.aviation-hud-top strong {
		padding:8px 11px;
		color:#061522;
		background:#e70f10;
	}
	.aviation-hero-copy {
		margin:auto 0 44px;
		max-width:720px;
	}
	.aviation-kicker {
		display:block;
		margin-bottom:10px;
		color:#e70f10;
		font-size:.65rem;
		font-weight:800;
		letter-spacing:.18em;
	}
	.aviation-hero-copy h1 {
		margin:0;
		color:white;
		font-family:"Barlow Condensed",sans-serif;
		font-size:clamp(5rem,8vw,8.8rem);
		line-height:.78;
		letter-spacing:-.025em;
		text-transform:uppercase;
		text-shadow:0 12px 36px rgba(0,0,0,.48);
	}
	.aviation-hero-copy h1 em {
		display:block;
		color:#e70f10;
		font-style:normal;
	}
	.aviation-hero-copy p {
		max-width:610px;
		margin:24px 0 0;
		color:rgba(237,249,255,.74);
		font-size:1rem;
		line-height:1.65;
	}
	.aviation-flight-strip {
		display:grid;
		grid-template-columns:repeat(3,minmax(0,1fr));
		border-top:1px solid rgba(255,230,230,.2);
		border-bottom:1px solid rgba(255,230,230,.12);
		background:rgba(2,12,20,.62);
		backdrop-filter:blur(8px);
	}
	.aviation-flight-strip > div {
		min-height:72px;
		display:grid;
		align-content:center;
		gap:2px;
		padding:10px 14px;
		border-right:1px solid rgba(255,230,230,.12);
	}
	.aviation-flight-strip > div:last-child { border-right:0; }
	.aviation-flight-strip span {
		color:rgba(255,230,230,.46);
		font-size:.5rem;
		font-weight:800;
		letter-spacing:.13em;
	}
	.aviation-flight-strip strong {
		color:#f6fcff;
		font-family:"Barlow Condensed",sans-serif;
		font-size:1.35rem;
		letter-spacing:.04em;
	}
	.aviation-photo-credit {
		margin-top:8px;
		color:rgba(220,243,252,.36);
		font-size:.5rem;
	}
	.aviation-login-panel {
		position:relative;
		display:flex;
		flex-direction:column;
		justify-content:center;
		padding:46px 46px 40px;
		background:
			radial-gradient(circle at 70% 16%,rgba(231,15,16,.12),transparent 24%),
			linear-gradient(180deg,#0a2233,#061522);
		border-left:1px solid rgba(231,15,16,.16);
	}
	.aviation-panel-mark {
		width:58px;
		height:58px;
		display:grid;
		place-items:center;
		margin-bottom:26px;
		border:1px solid rgba(231,15,16,.4);
		color:#e70f10;
		font-family:"Barlow Condensed",sans-serif;
		font-size:1.7rem;
		font-weight:800;
		letter-spacing:.06em;
	}
	.aviation-panel-label {
		color:#e70f10;
		font-size:.56rem;
		font-weight:800;
		letter-spacing:.14em;
	}
	.aviation-login-panel h2 {
		margin:8px 0 12px;
		color:white;
		font-family:"Barlow Condensed",sans-serif;
		font-size:clamp(3rem,4vw,4.4rem);
		line-height:.86;
		letter-spacing:-.02em;
		text-transform:uppercase;
	}
	.aviation-login-panel > p {
		margin:0 0 26px;
		color:rgba(221,245,255,.56);
		font-size:.86rem;
		line-height:1.55;
	}
	.aviation-login-panel form { margin:0; }
	.aviation-login-panel form p { margin:0 0 15px; }
	.aviation-login-panel label {
		display:block;
		margin-bottom:7px;
		color:rgba(255,230,230,.7);
		font-size:.58rem;
		font-weight:800;
		letter-spacing:.12em;
		text-transform:uppercase;
	}
	.aviation-login-panel input[type="text"],
	.aviation-login-panel input[type="password"] {
		width:100%;
		height:52px;
		padding:0 14px;
		border:1px solid rgba(231,15,16,.22);
		border-radius:2px;
		outline:0;
		color:white;
		background:rgba(231,15,16,.055);
		font:600 .9rem "Manrope",sans-serif;
		box-sizing:border-box;
	}
	.aviation-login-panel input[type="text"]:focus,
	.aviation-login-panel input[type="password"]:focus {
		border-color:#e70f10;
		box-shadow:0 0 0 3px rgba(231,15,16,.11);
	}
	.aviation-login-panel .login-remember label {
		display:flex;
		align-items:center;
		gap:8px;
		color:rgba(221,245,255,.52);
		letter-spacing:0;
		text-transform:none;
	}
	.aviation-login-panel #wp-submit {
		width:100%;
		min-height:54px;
		border:0;
		border-radius:2px;
		background:#e70f10;
		color:#03101b;
		font:800 .72rem "Manrope",sans-serif;
		letter-spacing:.12em;
		text-transform:uppercase;
		cursor:pointer;
	}
	.aviation-login-panel #wp-submit:hover {
		background:#ff5a5b;
	}
	.aviation-panel-note {
		margin-top:26px;
		padding-top:18px;
		border-top:1px solid rgba(255,230,230,.12);
	}
	.aviation-panel-note span {
		display:block;
		color:rgba(255,230,230,.42);
		font-size:.5rem;
		font-weight:800;
		letter-spacing:.13em;
	}
	.aviation-panel-note strong {
		display:block;
		margin-top:4px;
		color:white;
		font-family:"Barlow Condensed",sans-serif;
		font-size:1.15rem;
		letter-spacing:.04em;
	}
	.header-aviation-context .matchday-login-link {
		background:#e70f10 !important;
		color:#03101b !important;
	}
	.header-aviation-context .matchday-login-link:hover {
		background:#ff5a5b !important;
	}
	@media (max-width:980px) {
		.aviation-login-shell {
			grid-template-columns:1fr;
			min-height:0;
		}
		.aviation-login-visual,
		.aviation-hud { min-height:520px; }
		.aviation-login-panel {
			border-left:0;
			border-top:1px solid rgba(231,15,16,.16);
		}
	}
	@media (max-width:620px) {
		.learner-portal-page.login-theme-aviation { padding:16px 10px 30px; }
		.aviation-hud { padding:22px 20px; min-height:470px; }
		.aviation-hero-copy h1 { font-size:4.25rem; }
		.aviation-flight-strip { grid-template-columns:1fr; }
		.aviation-flight-strip > div { border-right:0; border-bottom:1px solid rgba(255,230,230,.1); }
		.aviation-login-panel { padding:34px 24px; }
	}


	/* AVIATION WORKSPACE V2 — actual cockpit/aircraft treatment after login. */
	.real-term-dashboard.theme-aviation .term-hero {
		position:relative;
		margin-top:28px;
		padding:34px 36px;
		overflow:hidden;
		border:1px solid rgba(231,15,16,.18);
		background:
			linear-gradient(90deg,rgba(3,13,22,.96) 0%,rgba(3,13,22,.88) 46%,rgba(3,13,22,.42) 72%,rgba(3,13,22,.68) 100%),
			url("https://ryler.safcongroup.co.za/wp-content/uploads/2026/09/Ryan-Aviation-Cockpit.jpg")
			center 46% / cover no-repeat;
		box-shadow:0 26px 64px rgba(0,0,0,.3);
	}
	.real-term-dashboard.theme-aviation .term-hero:before {
		content:"FLIGHT DECK";
		position:absolute;
		right:28px;
		top:22px;
		color:rgba(255,230,230,.24);
		font-family:"Barlow Condensed",sans-serif;
		font-size:.62rem;
		font-weight:800;
		letter-spacing:.2em;
	}
	.real-term-dashboard.theme-aviation .term-hero-copy,
	.real-term-dashboard.theme-aviation .term-avatar {
		position:relative;
		z-index:1;
	}
	.real-term-dashboard.theme-aviation .term-avatar {
		background:rgba(4,16,27,.86);
		backdrop-filter:blur(10px);
		border:1px solid rgba(231,15,16,.18);
		border-left:4px solid #e70f10;
		box-shadow:0 14px 32px rgba(0,0,0,.24);
	}
	.theme-aviation .academy-pitch-panel {
		background:
			linear-gradient(180deg,rgba(4,15,26,.84),rgba(4,15,26,.96)),
			url("https://ryler.safcongroup.co.za/wp-content/uploads/2026/09/Ryan-Aviation-Cockpit.jpg")
			center 48% / cover no-repeat;
	}
	.theme-aviation .academy-pitch-panel .academy-pitch-lines {
		display:none;
	}
	.theme-aviation .academy-pitch-panel:before {
		content:"";
		position:absolute;
		inset:0;
		pointer-events:none;
		background:
			linear-gradient(rgba(231,15,16,.045) 1px,transparent 1px),
			linear-gradient(90deg,rgba(231,15,16,.045) 1px,transparent 1px);
		background-size:72px 72px;
	}
	.theme-aviation .lesson-content-layer {
		position:relative;
		z-index:1;
	}
	.theme-aviation .lesson-title-row {
		background:rgba(5,20,32,.92);
		border:1px solid rgba(231,15,16,.14);
	}
	.theme-aviation .lesson-route-strip {
		background:rgba(6,24,37,.95);
		border-color:rgba(231,15,16,.14);
	}
	.theme-aviation .lesson-route-strip > div,
	.theme-aviation .lesson-route-strip > a {
		border-color:rgba(231,15,16,.12);
	}
	.theme-aviation .real-question-card {
		background:rgba(250,253,254,.98);
	}
	.theme-aviation .academy-sideboard {
		border-left:1px solid rgba(231,15,16,.16);
	}
	.theme-aviation .player-avatar-card:before {
		content:"CADET PROFILE";
		display:block;
		margin-bottom:8px;
		color:#e70f10;
		font-size:.5rem;
		font-weight:800;
		letter-spacing:.14em;
	}


	/* RYAN COCKPIT BACKGROUND — realistic illuminated flight deck across the aviation profile. */
.real-term-dashboard.theme-aviation,
.academy-lesson-shell.theme-aviation,
.parent-dashboard.theme-aviation,
.empty-flight-plan.theme-aviation {
  background:
    linear-gradient(180deg,rgba(2,7,12,.30) 0%,rgba(3,10,17,.54) 30%,rgba(3,10,17,.76) 68%,rgba(3,10,17,.92) 100%),
    url("https://ryler.safcongroup.co.za/wp-content/uploads/2026/09/Ryan-RYLER-Realistic-Cockpit-Background.png") center top / cover no-repeat fixed !important;
}

.learner-portal-page.login-theme-aviation {
  background:
    linear-gradient(180deg,rgba(2,7,12,.18),rgba(3,10,17,.62)),
    url("https://ryler.safcongroup.co.za/wp-content/uploads/2026/09/Ryan-RYLER-Realistic-Cockpit-Background.png") center center / cover no-repeat fixed !important;
}

.login-theme-aviation .aviation-login-visual {
  background:
    linear-gradient(90deg,rgba(3,10,17,.08) 0%,rgba(3,10,17,.10) 54%,rgba(3,10,17,.70) 100%),
    linear-gradient(180deg,rgba(3,10,17,.05),rgba(3,10,17,.34) 72%,rgba(3,10,17,.76)),
    url("https://ryler.safcongroup.co.za/wp-content/uploads/2026/09/Ryan-RYLER-Realistic-Cockpit-Background.png") center center / cover no-repeat !important;
}

.real-term-dashboard.theme-aviation .term-hero {
  background:
    linear-gradient(90deg,rgba(3,10,17,.92) 0%,rgba(3,10,17,.70) 44%,rgba(3,10,17,.20) 72%,rgba(3,10,17,.50) 100%),
    url("https://ryler.safcongroup.co.za/wp-content/uploads/2026/09/Ryan-RYLER-Realistic-Cockpit-Background.png") center 46% / cover no-repeat !important;
}

.theme-aviation .academy-pitch-panel {
  background:
    linear-gradient(180deg,rgba(3,10,17,.66),rgba(3,10,17,.88)),
    url("https://ryler.safcongroup.co.za/wp-content/uploads/2026/09/Ryan-RYLER-Realistic-Cockpit-Background.png") center 48% / cover no-repeat !important;
}

.theme-aviation .term-avatar .avatar-photo,
.theme-aviation .player-avatar-ring {
  overflow:hidden;
  border-radius:50%;
  background:#071523 !important;
}

.theme-aviation .term-avatar .avatar-photo img,
.theme-aviation .player-avatar-ring img,
.theme-aviation .academy-player-mini img,
.theme-aviation .parent-player-card img {
  width:100%;
  height:100%;
  object-fit:cover !important;
  object-position:center 42% !important;
  padding:0 !important;
  border-radius:50%;
  transform:scale(1.08);
}

/* Ryan direct preview — draft-only visual route used to review the learner experience without login. */
.ryan-preview-deck{
  min-height:calc(100vh - 84px);
  padding:28px 24px 60px;
  color:#f6fbff;
  background:
    linear-gradient(180deg,rgba(1,6,10,.12),rgba(2,8,14,.55) 38%,rgba(2,8,14,.82) 78%,#06101a),
    url("https://ryler.safcongroup.co.za/wp-content/uploads/2026/09/Ryan-RYLER-Realistic-Cockpit-Background.png") center top / cover no-repeat fixed;
}
.ryan-preview-hero,
.ryan-preview-board,
.ryan-preview-lesson{
  width:min(1320px,100%);
  margin:0 auto;
}
.ryan-preview-hero{
  display:grid;
  grid-template-columns:minmax(0,1.7fr) minmax(280px,.6fr);
  gap:18px;
}
.ryan-preview-glass,
.ryan-preview-profile,
.ryan-preview-board,
.ryan-preview-lesson{
  background:linear-gradient(180deg,rgba(5,18,29,.80),rgba(3,11,18,.92));
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 24px 70px rgba(0,0,0,.42);
  backdrop-filter:blur(12px);
}
.ryan-preview-glass{padding:30px 34px;min-height:430px;display:flex;flex-direction:column}
.ryan-preview-status{display:flex;justify-content:space-between;gap:18px;padding-bottom:13px;border-bottom:1px solid rgba(255,255,255,.14);font-size:.58rem;font-weight:800;letter-spacing:.14em}
.ryan-preview-status span{color:rgba(231,243,250,.60)}.ryan-preview-status strong{color:#fff;background:#e70f10;padding:6px 9px}
.ryan-preview-copy{margin:auto 0 34px;max-width:760px}.ryan-preview-copy>span,.ryan-preview-heading span,.ryan-preview-question>span{color:#ff3536;font-size:.6rem;font-weight:800;letter-spacing:.16em}
.ryan-preview-copy h1{margin:8px 0 14px;font-family:"Barlow Condensed",sans-serif;font-size:clamp(4.8rem,8vw,8rem);line-height:.78;text-transform:uppercase;letter-spacing:-.035em;text-shadow:0 12px 35px rgba(0,0,0,.45)}
.ryan-preview-copy h1 em{display:block;color:#e70f10;font-style:normal}.ryan-preview-copy p{max-width:650px;margin:0;color:rgba(235,247,253,.74);line-height:1.7}
.ryan-preview-instruments{display:grid;grid-template-columns:repeat(4,1fr);background:rgba(2,10,16,.64);border-top:1px solid rgba(255,255,255,.13);border-bottom:1px solid rgba(255,255,255,.08)}
.ryan-preview-instruments>div{padding:13px 14px;border-right:1px solid rgba(255,255,255,.09)}.ryan-preview-instruments>div:last-child{border-right:0}.ryan-preview-instruments span,.ryan-preview-instruments small{display:block;color:rgba(255,255,255,.43);font-size:.5rem;font-weight:800;letter-spacing:.12em}.ryan-preview-instruments strong{display:block;margin-top:2px;font-family:"Barlow Condensed",sans-serif;font-size:1.35rem;letter-spacing:.05em}
.ryan-preview-profile{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px 24px;text-align:center;border-top:3px solid #e70f10}
.ryan-preview-profile-label{margin-bottom:18px;color:#ff3536;font-size:.53rem;font-weight:800;letter-spacing:.16em}.ryan-preview-avatar{width:190px;height:190px;border-radius:50%;overflow:hidden;border:4px solid #e70f10;box-shadow:0 0 0 8px rgba(231,15,16,.15),0 20px 50px rgba(0,0,0,.38);background:#071523}
.ryan-preview-avatar img{width:100%;height:100%;object-fit:cover;object-position:center 45%;transform:scale(1.08)}
.ryan-preview-profile>strong{margin-top:20px;font-family:"Barlow Condensed",sans-serif;font-size:2.4rem;line-height:1;letter-spacing:.08em}.ryan-preview-profile>small{margin-top:5px;color:rgba(255,255,255,.48);font-size:.55rem;font-weight:800;letter-spacing:.12em}
.ryan-preview-xp{width:100%;margin-top:24px;padding-top:18px;border-top:1px solid rgba(255,255,255,.10);text-align:left}.ryan-preview-xp span,.ryan-preview-xp small{font-size:.5rem;font-weight:800;letter-spacing:.1em;color:rgba(255,255,255,.48)}.ryan-preview-xp i{display:block;height:5px;margin:8px 0;background:rgba(255,255,255,.10)}.ryan-preview-xp i b{display:block;width:71%;height:100%;background:#e70f10;box-shadow:0 0 16px rgba(231,15,16,.55)}
.ryan-preview-board,.ryan-preview-lesson{margin-top:18px;padding:28px 30px}.ryan-preview-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.ryan-preview-heading h2{margin:3px 0 0;font-family:"Barlow Condensed",sans-serif;font-size:2.3rem;line-height:1;letter-spacing:.05em}.ryan-preview-heading>strong{font-size:.55rem;letter-spacing:.12em;color:rgba(255,255,255,.48)}
.ryan-preview-lessons{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.ryan-preview-lessons article{position:relative;min-height:190px;padding:17px 17px 40px;background:rgba(3,12,20,.84);border:1px solid rgba(255,255,255,.11);border-left:4px solid rgba(255,255,255,.18)}.ryan-preview-lessons article.active{border-left-color:#e70f10;box-shadow:0 0 30px rgba(231,15,16,.10)}.mission-code{display:flex;justify-content:space-between;gap:12px;font-size:.52rem;font-weight:800;letter-spacing:.08em;color:rgba(255,255,255,.52)}.mission-code b{color:#ff3536}.ryan-preview-lessons article>small{display:block;margin-top:26px;color:#e70f10;font-size:.5rem;font-weight:800;letter-spacing:.1em}.ryan-preview-lessons h3{margin:5px 0 7px;font-family:"Barlow Condensed",sans-serif;font-size:1.45rem;line-height:1}.ryan-preview-lessons p{margin:0;color:rgba(255,255,255,.52);font-size:.74rem;line-height:1.45}.mission-state{position:absolute;right:14px;bottom:12px;font-size:.48rem;font-weight:800;letter-spacing:.1em;color:rgba(255,255,255,.45)}.active .mission-state{color:#8ff0b5}
.ryan-preview-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:18px}.ryan-preview-flow>div{padding:15px;background:rgba(3,12,20,.82);border:1px solid rgba(255,255,255,.10)}.ryan-preview-flow span{color:#e70f10;font-family:"Barlow Condensed",sans-serif;font-size:1.5rem}.ryan-preview-flow strong,.ryan-preview-flow small{display:block}.ryan-preview-flow strong{margin-top:8px;font-size:.72rem;letter-spacing:.06em}.ryan-preview-flow small{margin-top:4px;color:rgba(255,255,255,.46);font-size:.67rem}
.ryan-preview-question{padding:22px;background:rgba(247,250,252,.97);color:#111820}.ryan-preview-question h3{margin:5px 0 7px;font-family:"Barlow Condensed",sans-serif;font-size:2rem}.ryan-preview-question p{max-width:720px;color:#5d6670;line-height:1.6}.ryan-preview-question>div{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px}.ryan-preview-question button{min-height:48px;border:1px solid #cbd2d8;background:white;color:#1a222b;font-weight:800;letter-spacing:.04em}
@media(max-width:960px){.ryan-preview-hero{grid-template-columns:1fr}.ryan-preview-profile{align-items:flex-start;text-align:left}.ryan-preview-avatar{width:150px;height:150px}.ryan-preview-instruments,.ryan-preview-flow{grid-template-columns:repeat(2,1fr)}.ryan-preview-lessons{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.ryan-preview-deck{padding:14px 10px 40px}.ryan-preview-glass,.ryan-preview-board,.ryan-preview-lesson{padding:20px}.ryan-preview-copy h1{font-size:4.2rem}.ryan-preview-instruments,.ryan-preview-flow,.ryan-preview-lessons,.ryan-preview-question>div{grid-template-columns:1fr}.ryan-preview-heading{align-items:flex-start;flex-direction:column}}

/* Ryan lesson preview controls. */
.ryan-preview-checkpoint{
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  background:linear-gradient(180deg,rgba(5,18,29,.92),rgba(2,9,15,.96));
  box-shadow:0 20px 55px rgba(0,0,0,.28)
}
.preview-checkpoint-top{
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:0 18px;
  border-bottom:1px solid rgba(255,255,255,.1);
  background:rgba(0,0,0,.20);
  font-size:.54rem;
  font-weight:800;
  letter-spacing:.12em
}
.preview-checkpoint-top span{color:#ff3536}
.preview-checkpoint-top strong{color:rgba(255,255,255,.56)}
.preview-checkpoint-main{
  display:grid;
  grid-template-columns:1fr 190px;
  gap:24px;
  align-items:start;
  padding:24px 24px 18px
}
.preview-checkpoint-copy>span,
.preview-checkpoint-status span{
  display:block;
  color:#ff3536;
  font-size:.52rem;
  font-weight:800;
  letter-spacing:.12em
}
.preview-checkpoint-copy h3{
  margin:7px 0 8px;
  color:white;
  font-family:"Barlow Condensed",sans-serif;
  font-size:clamp(2rem,4vw,3.25rem);
  line-height:.96
}
.preview-checkpoint-copy p{margin:0;color:rgba(255,255,255,.55);font-size:.76rem}
.preview-checkpoint-status{
  padding:16px;
  border-left:3px solid #e70f10;
  background:rgba(255,255,255,.04)
}
.preview-checkpoint-status strong{
  display:block;
  margin:5px 0 2px;
  font-family:"Barlow Condensed",sans-serif;
  font-size:2rem
}
.preview-checkpoint-status small{color:rgba(255,255,255,.42);font-size:.55rem}
.preview-answer-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:9px;
  padding:0 24px 22px
}
.preview-answer-grid button{
  min-height:66px;
  display:grid;
  grid-template-columns:42px 1fr;
  gap:12px;
  align-items:center;
  padding:9px 13px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.055);
  color:white;
  text-align:left;
  cursor:pointer
}
.preview-answer-grid button:hover,
.preview-answer-grid button.selected{border-color:#e70f10;background:rgba(231,15,16,.12)}
.preview-answer-grid button.correct{border-color:#58c28a;box-shadow:inset 4px 0 0 #58c28a}
.preview-answer-grid button span{
  width:34px;height:34px;display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.18);
  color:#ff3536;
  font-family:"Barlow Condensed",sans-serif;
  font-size:1.1rem
}
.preview-answer-grid button strong{font-size:.77rem;line-height:1.35}
.preview-feedback{
  display:grid;
  gap:3px;
  margin:0 24px 18px;
  padding:12px 14px;
  border-left:3px solid #e70f10;
  background:rgba(231,15,16,.08)
}
.preview-feedback.clear{border-left-color:#58c28a;background:rgba(88,194,138,.08)}
.preview-feedback span{font-size:.5rem;font-weight:800;letter-spacing:.12em;color:#ff7071}
.preview-feedback.clear span{color:#7bd6a7}
.preview-feedback strong{font-size:.74rem}
.preview-checkpoint-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  padding:0 24px 24px
}
.preview-checkpoint-actions button{
  min-height:46px;
  padding:0 16px;
  border:0;
  font-size:.58rem;
  font-weight:800;
  letter-spacing:.1em;
  cursor:pointer
}
.preview-check{background:#e70f10;color:white}
.preview-check:disabled{opacity:.35;cursor:default}
.preview-next{background:#f6fbff;color:#07111b}

/* Logged-in Ryan lesson pages inherit the same cockpit atmosphere. */
body:has(.header-aviation-context) .real-lesson-page{
  min-height:calc(100vh - 84px);
  color:#f6fbff;
  background:
    linear-gradient(180deg,rgba(2,7,12,.32),rgba(3,10,17,.72) 45%,rgba(3,10,17,.92)),
    url("https://ryler.safcongroup.co.za/wp-content/uploads/2026/09/Ryan-RYLER-Realistic-Cockpit-Background.png") center top / cover no-repeat fixed
}
body:has(.header-aviation-context) .real-lesson-page .academy-scorebar,
body:has(.header-aviation-context) .real-lesson-page .lesson-title-row,
body:has(.header-aviation-context) .real-lesson-page .lesson-route-strip,
body:has(.header-aviation-context) .real-lesson-page .academy-sideboard{
  background:rgba(4,16,27,.90);
  backdrop-filter:blur(12px);
  border-color:rgba(231,15,16,.18)
}
body:has(.header-aviation-context) .real-lesson-page .academy-pitch-panel{
  background:
    linear-gradient(180deg,rgba(3,10,17,.62),rgba(3,10,17,.86)),
    url("https://ryler.safcongroup.co.za/wp-content/uploads/2026/09/Ryan-RYLER-Realistic-Cockpit-Background.png") center 48% / cover no-repeat
}
body:has(.header-aviation-context) .real-lesson-page .academy-pitch-lines{display:none}
body:has(.header-aviation-context) .real-lesson-page .real-question-card{
  background:rgba(7,18,28,.93);
  color:white;
  border-color:rgba(255,255,255,.12)
}
body:has(.header-aviation-context) .real-lesson-page .real-question-card>p{color:rgba(255,255,255,.66)}
body:has(.header-aviation-context) .real-lesson-page .practice-source-note{
  background:rgba(5,15,24,.90);
  border-left-color:#e70f10
}
body:has(.header-aviation-context) .real-lesson-page .real-answer-option{
  color:#f7fbfd;
  background:rgba(255,255,255,.055);
  border-color:rgba(255,255,255,.13)
}
body:has(.header-aviation-context) .real-lesson-page .real-answer-option:has(input:checked){
  background:rgba(231,15,16,.12);
  border-color:#e70f10;
  box-shadow:inset 4px 0 0 #e70f10
}
body:has(.header-aviation-context) .real-lesson-page .academy-player-mini img,
body:has(.header-aviation-context) .real-lesson-page .player-avatar-ring img{
  border-radius:50%;
  object-fit:cover;
  object-position:center 42%
}
@media(max-width:700px){
  .preview-checkpoint-main,.preview-answer-grid{grid-template-columns:1fr}
}

/* Ryan live dashboard — rank/XP and cockpit instrument treatment. */
.theme-aviation .aviation-rank-meter{
  width:100%;
  margin-top:9px;
  padding-top:9px;
  border-top:1px solid rgba(255,255,255,.10)
}
.theme-aviation .aviation-rank-meter>span,
.theme-aviation .aviation-rank-meter>small{
  display:block;
  color:rgba(255,255,255,.58);
  font-size:.48rem;
  font-weight:800;
  letter-spacing:.1em
}
.theme-aviation .aviation-rank-meter>span{color:#ff3536}
.theme-aviation .aviation-rank-meter i{
  display:block;
  height:4px;
  margin:6px 0 5px;
  background:rgba(255,255,255,.10);
  overflow:hidden
}
.theme-aviation .aviation-rank-meter i b{
  display:block;
  height:100%;
  background:#e70f10;
  box-shadow:0 0 14px rgba(231,15,16,.5)
}

.real-term-dashboard.theme-aviation .term-scoreboard{
  background:rgba(3,12,20,.84);
  border:1px solid rgba(255,255,255,.12);
  border-top:3px solid #e70f10;
  box-shadow:0 18px 50px rgba(0,0,0,.28);
  backdrop-filter:blur(12px)
}
.real-term-dashboard.theme-aviation .term-scoreboard>div{
  border-color:rgba(255,255,255,.10)
}
.real-term-dashboard.theme-aviation .term-scoreboard span,
.real-term-dashboard.theme-aviation .term-scoreboard small{
  color:rgba(255,255,255,.46)
}
.real-term-dashboard.theme-aviation .term-scoreboard strong{
  color:#f7fbfd
}
.real-term-dashboard.theme-aviation .term-score-centre{
  background:linear-gradient(180deg,rgba(231,15,16,.14),rgba(231,15,16,.04))
}
.real-term-dashboard.theme-aviation .catchup-queue{
  background:rgba(4,16,27,.91);
  color:#f6fbff;
  border:1px solid rgba(255,255,255,.11);
  border-left:4px solid #e70f10;
  box-shadow:0 16px 40px rgba(0,0,0,.24);
  backdrop-filter:blur(10px)
}
.real-term-dashboard.theme-aviation .catchup-queue .catchup-icon{
  border-radius:4px;
  background:#e70f10;
  color:white;
  font-family:"Barlow Condensed",sans-serif;
  font-size:1rem;
  font-weight:800;
  letter-spacing:.06em
}
.real-term-dashboard.theme-aviation .catchup-queue span{color:#ff3536}
.real-term-dashboard.theme-aviation .catchup-queue p{color:rgba(255,255,255,.58)}
.real-term-dashboard.theme-aviation .term-map,
.real-term-dashboard.theme-aviation .day-selector-section,
.real-term-dashboard.theme-aviation .real-term-key{
  background:rgba(4,16,27,.88);
  border-color:rgba(255,255,255,.11);
  backdrop-filter:blur(10px)
}
.real-term-dashboard.theme-aviation .real-week-selector a,
.real-term-dashboard.theme-aviation .real-day-selector a,
.real-term-dashboard.theme-aviation .term-session{
  background:rgba(255,255,255,.045);
  border-color:rgba(255,255,255,.10);
  color:#f7fbfd
}
.real-term-dashboard.theme-aviation .real-week-selector a:hover,
.real-term-dashboard.theme-aviation .real-day-selector a:hover,
.real-term-dashboard.theme-aviation .term-session:hover{
  border-color:rgba(231,15,16,.55);
  background:rgba(231,15,16,.08)
}
.real-term-dashboard.theme-aviation .term-session-main p,
.real-term-dashboard.theme-aviation .term-session-end span,
.real-term-dashboard.theme-aviation .term-map-head small,
.real-term-dashboard.theme-aviation .day-selector-head p{
  color:rgba(255,255,255,.53)
}

/* Ryan live subject hangars. */
.aviation-hangars{
  width:min(1240px,calc(100% - 36px));
  margin:20px auto 0;
  padding:24px;
  background:rgba(4,16,27,.88);
  border:1px solid rgba(255,255,255,.11);
  box-shadow:0 18px 50px rgba(0,0,0,.24);
  backdrop-filter:blur(10px)
}
.aviation-hangars-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px
}
.aviation-hangars-head span{
  color:#ff3536;
  font-size:.55rem;
  font-weight:800;
  letter-spacing:.14em
}
.aviation-hangars-head h2{
  margin:3px 0 0;
  color:#f7fbfd;
  font-family:"Barlow Condensed",sans-serif;
  font-size:2rem;
  letter-spacing:.04em
}
.aviation-hangars-head>strong{
  color:rgba(255,255,255,.48);
  font-size:.54rem;
  letter-spacing:.11em
}
.aviation-hangar-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px
}
.aviation-hangar-grid article{
  min-height:126px;
  padding:14px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.09);
  border-top:2px solid rgba(255,255,255,.14)
}
.aviation-hangar-grid article:hover{
  border-top-color:#e70f10;
  background:rgba(231,15,16,.07)
}
.hangar-code{
  display:flex;
  justify-content:space-between;
  gap:10px;
  color:rgba(255,255,255,.45);
  font-size:.48rem;
  font-weight:800;
  letter-spacing:.09em
}
.hangar-code b{color:#ff3536}
.aviation-hangar-grid h3{
  margin:16px 0 4px;
  color:#f7fbfd;
  font-family:"Barlow Condensed",sans-serif;
  font-size:1.05rem;
  line-height:1
}
.aviation-hangar-grid p,
.aviation-hangar-grid small{
  color:rgba(255,255,255,.45);
  font-size:.55rem
}
.aviation-hangar-grid i{
  display:block;
  height:3px;
  margin:11px 0 6px;
  background:rgba(255,255,255,.09)
}
.aviation-hangar-grid i b{
  display:block;
  height:100%;
  background:#e70f10;
  box-shadow:0 0 12px rgba(231,15,16,.45)
}
@media(max-width:1000px){.aviation-hangar-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){.aviation-hangars{padding:18px}.aviation-hangars-head{align-items:flex-start;flex-direction:column}.aviation-hangar-grid{grid-template-columns:1fr 1fr}}
@media(max-width:430px){.aviation-hangar-grid{grid-template-columns:1fr}}

/* Ryan preview subject hangars. */
.ryan-preview-hangars{
  width:min(1320px,100%);
  margin:18px auto 0;
  padding:28px 30px;
  background:linear-gradient(180deg,rgba(5,18,29,.86),rgba(3,11,18,.94));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 22px 60px rgba(0,0,0,.30);
  backdrop-filter:blur(12px)
}
.ryan-preview-hangar-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px
}
.ryan-preview-hangar-grid article{
  min-height:128px;
  padding:14px;
  border:1px solid rgba(255,255,255,.10);
  border-top:2px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.035)
}
.ryan-preview-hangar-grid article:hover{
  border-top-color:#e70f10;
  background:rgba(231,15,16,.07)
}
.preview-hangar-code{
  display:flex;
  justify-content:space-between;
  gap:10px;
  color:rgba(255,255,255,.42);
  font-size:.48rem;
  font-weight:800;
  letter-spacing:.09em
}
.preview-hangar-code b{color:#ff3536}
.ryan-preview-hangar-grid h3{
  margin:15px 0 5px;
  color:#f7fbfd;
  font-family:"Barlow Condensed",sans-serif;
  font-size:1.05rem;
  line-height:1
}
.ryan-preview-hangar-grid p,
.ryan-preview-hangar-grid small{
  color:rgba(255,255,255,.45);
  font-size:.55rem
}
.ryan-preview-hangar-grid i{
  display:block;
  height:3px;
  margin:11px 0 6px;
  background:rgba(255,255,255,.09)
}
.ryan-preview-hangar-grid i b{
  display:block;
  height:100%;
  background:#e70f10;
  box-shadow:0 0 12px rgba(231,15,16,.45)
}
@media(max-width:1000px){.ryan-preview-hangar-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){.ryan-preview-hangars{padding:20px}.ryan-preview-hangar-grid{grid-template-columns:1fr 1fr}}
@media(max-width:430px){.ryan-preview-hangar-grid{grid-template-columns:1fr}}

/* Ryan live mission instruments. */
body:has(.header-aviation-context) .aviation-mission-instruments{
  width:min(900px,100%);
  margin:16px auto 0;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  border:1px solid rgba(255,255,255,.11);
  border-top:2px solid #e70f10;
  background:rgba(2,10,17,.82);
  box-shadow:0 16px 38px rgba(0,0,0,.20);
  backdrop-filter:blur(10px)
}
body:has(.header-aviation-context) .aviation-mission-instruments>div{
  min-height:66px;
  display:grid;
  align-content:center;
  gap:4px;
  padding:10px 13px;
  border-right:1px solid rgba(255,255,255,.08)
}
body:has(.header-aviation-context) .aviation-mission-instruments>div:last-child{border-right:0}
body:has(.header-aviation-context) .aviation-mission-instruments span{
  color:rgba(255,255,255,.42);
  font-size:.47rem;
  font-weight:800;
  letter-spacing:.11em
}
body:has(.header-aviation-context) .aviation-mission-instruments strong{
  color:#f7fbfd;
  font-family:"Barlow Condensed",sans-serif;
  font-size:1rem;
  letter-spacing:.04em
}
@media(max-width:720px){
  body:has(.header-aviation-context) .aviation-mission-instruments{grid-template-columns:1fr 1fr}
  body:has(.header-aviation-context) .aviation-mission-instruments>div{border-bottom:1px solid rgba(255,255,255,.08)}
}

/* Ryan preview route map. */
.ryan-preview-route{
  width:min(1320px,100%);
  margin:18px auto 0;
  padding:28px 30px;
  background:linear-gradient(180deg,rgba(5,18,29,.86),rgba(3,11,18,.94));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 22px 60px rgba(0,0,0,.30);
  backdrop-filter:blur(12px)
}
.ryan-preview-route-track{
  display:grid;
  grid-template-columns:repeat(10,minmax(90px,1fr));
  gap:8px;
  overflow-x:auto;
  padding:5px 0 2px
}
.route-sector{
  position:relative;
  min-width:92px;
  padding:14px 10px 12px;
  border:1px solid rgba(255,255,255,.10);
  border-top:2px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.035)
}
.route-sector::after{
  content:"";
  position:absolute;
  top:22px;
  right:-9px;
  width:9px;
  height:1px;
  background:rgba(255,255,255,.16)
}
.route-sector:last-child::after{display:none}
.route-sector>span{
  display:grid;
  width:30px;
  height:30px;
  place-items:center;
  margin-bottom:13px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:50%;
  color:rgba(255,255,255,.52);
  font-family:"Barlow Condensed",sans-serif;
  font-size:.9rem;
  font-weight:800
}
.route-sector strong{
  display:block;
  color:#f7fbfd;
  font-family:"Barlow Condensed",sans-serif;
  font-size:.95rem;
  line-height:1;
  text-transform:uppercase
}
.route-sector small{
  display:block;
  margin-top:6px;
  color:rgba(255,255,255,.40);
  font-size:.5rem
}
.route-sector.active{
  border-top-color:#e70f10;
  background:rgba(231,15,16,.08);
  box-shadow:0 0 24px rgba(231,15,16,.08)
}
.route-sector.active>span{border-color:#e70f10;color:white;background:#851016}
.route-sector.done{border-top-color:#58c28a}
.route-sector.done>span{border-color:#58c28a;color:#58c28a}
@media(max-width:900px){.ryan-preview-route-track{grid-template-columns:repeat(10,110px)}}

/* Ryan live flight logbook + selected mission day. */
.aviation-logbook{
  width:min(1240px,calc(100% - 36px));
  margin:20px auto 0;
  padding:24px;
  background:linear-gradient(180deg,rgba(4,16,27,.90),rgba(3,10,17,.95));
  border:1px solid rgba(255,255,255,.11);
  border-top:2px solid #e70f10;
  box-shadow:0 18px 50px rgba(0,0,0,.26);
  backdrop-filter:blur(10px)
}
.aviation-logbook-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px
}
.aviation-logbook-head span{
  color:#ff3536;
  font-size:.55rem;
  font-weight:800;
  letter-spacing:.14em
}
.aviation-logbook-head h2{
  margin:3px 0 0;
  color:#f7fbfd;
  font-family:"Barlow Condensed",sans-serif;
  font-size:2rem;
  letter-spacing:.04em
}
.aviation-logbook-head>strong{
  color:rgba(255,255,255,.45);
  font-size:.54rem;
  letter-spacing:.11em
}
.aviation-logbook-metrics{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.025)
}
.aviation-logbook-metrics>div{
  min-height:92px;
  padding:14px;
  border-right:1px solid rgba(255,255,255,.08)
}
.aviation-logbook-metrics>div:last-child{border-right:0}
.aviation-logbook-metrics span,
.aviation-logbook-metrics small{
  display:block;
  color:rgba(255,255,255,.42);
  font-size:.48rem;
  font-weight:800;
  letter-spacing:.1em
}
.aviation-logbook-metrics strong{
  display:block;
  margin:7px 0 4px;
  color:#f7fbfd;
  font-family:"Barlow Condensed",sans-serif;
  font-size:1.75rem;
  line-height:1
}
.aviation-service-record{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  margin-top:10px
}
.aviation-service-record>div{
  position:relative;
  min-height:112px;
  padding:13px 13px 28px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.025)
}
.aviation-service-record>div>span{
  color:#ff3536;
  font-family:"Barlow Condensed",sans-serif;
  font-size:1.35rem;
  font-weight:800
}
.aviation-service-record strong,
.aviation-service-record small{display:block}
.aviation-service-record strong{
  margin-top:7px;
  color:#f7fbfd;
  font-family:"Barlow Condensed",sans-serif;
  font-size:.95rem;
  letter-spacing:.04em
}
.aviation-service-record small{
  margin-top:4px;
  color:rgba(255,255,255,.42);
  font-size:.53rem;
  line-height:1.45
}
.aviation-service-record b{
  position:absolute;
  left:13px;
  bottom:9px;
  color:rgba(255,255,255,.30);
  font-size:.46rem;
  letter-spacing:.1em
}
.aviation-service-record .unlocked{
  border-color:rgba(88,194,138,.34);
  box-shadow:inset 3px 0 0 #58c28a
}
.aviation-service-record .unlocked b{color:#58c28a}
.aviation-service-record .locked{filter:saturate(.55)}
.real-term-dashboard.theme-aviation .term-pitch-lines{display:none}
.real-term-dashboard.theme-aviation .selected-day-wrap{
  background:
    linear-gradient(180deg,rgba(3,10,17,.70),rgba(3,10,17,.92)),
    url("https://ryler.safcongroup.co.za/wp-content/uploads/2026/09/Ryan-RYLER-Realistic-Cockpit-Background.png") center 50% / cover no-repeat;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 18px 50px rgba(0,0,0,.25)
}
.real-term-dashboard.theme-aviation .selected-day-card{
  background:rgba(4,16,27,.88);
  backdrop-filter:blur(11px)
}
@media(max-width:1000px){
  .aviation-logbook-metrics{grid-template-columns:repeat(3,1fr)}
  .aviation-service-record{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:680px){
  .aviation-logbook{padding:18px}
  .aviation-logbook-head{align-items:flex-start;flex-direction:column}
  .aviation-logbook-metrics,.aviation-service-record{grid-template-columns:1fr 1fr}
}
@media(max-width:430px){
  .aviation-logbook-metrics,.aviation-service-record{grid-template-columns:1fr}
}

/* Ryan preview live logbook. */
.ryan-preview-logbook{
  width:min(1320px,100%);
  margin:18px auto 0;
  padding:28px 30px;
  background:linear-gradient(180deg,rgba(5,18,29,.88),rgba(3,11,18,.95));
  border:1px solid rgba(255,255,255,.12);
  border-top:2px solid #e70f10;
  box-shadow:0 22px 60px rgba(0,0,0,.30);
  backdrop-filter:blur(12px)
}
.preview-logbook-metrics{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.025)
}
.preview-logbook-metrics>div{
  min-height:92px;
  padding:14px;
  border-right:1px solid rgba(255,255,255,.08)
}
.preview-logbook-metrics>div:last-child{border-right:0}
.preview-logbook-metrics span,
.preview-logbook-metrics small{
  display:block;
  color:rgba(255,255,255,.42);
  font-size:.48rem;
  font-weight:800;
  letter-spacing:.1em
}
.preview-logbook-metrics strong{
  display:block;
  margin:7px 0 4px;
  color:#f7fbfd;
  font-family:"Barlow Condensed",sans-serif;
  font-size:1.75rem;
  line-height:1
}
.preview-service-record{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  margin-top:10px
}
.preview-service-record>div{
  position:relative;
  min-height:112px;
  padding:13px 13px 28px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.025)
}
.preview-service-record>div>span{
  color:#ff3536;
  font-family:"Barlow Condensed",sans-serif;
  font-size:1.35rem;
  font-weight:800
}
.preview-service-record strong,
.preview-service-record small{display:block}
.preview-service-record strong{
  margin-top:7px;
  color:#f7fbfd;
  font-family:"Barlow Condensed",sans-serif;
  font-size:.95rem;
  letter-spacing:.04em
}
.preview-service-record small{
  margin-top:4px;
  color:rgba(255,255,255,.42);
  font-size:.53rem;
  line-height:1.45
}
.preview-service-record b{
  position:absolute;
  left:13px;
  bottom:9px;
  color:rgba(255,255,255,.30);
  font-size:.46rem;
  letter-spacing:.1em
}
.preview-service-record .unlocked{
  border-color:rgba(88,194,138,.34);
  box-shadow:inset 3px 0 0 #58c28a
}
.preview-service-record .unlocked b{color:#58c28a}
.preview-service-record .locked{filter:saturate(.55)}
@media(max-width:1000px){
  .preview-logbook-metrics{grid-template-columns:repeat(3,1fr)}
  .preview-service-record{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:680px){
  .ryan-preview-logbook{padding:20px}
  .preview-logbook-metrics,.preview-service-record{grid-template-columns:1fr 1fr}
}
@media(max-width:430px){
  .preview-logbook-metrics,.preview-service-record{grid-template-columns:1fr}
}

/* Ryan quick operations + launchable subject hangars. */
.aviation-quick-ops{
  width:min(1240px,calc(100% - 36px));
  margin:16px auto 0;
  display:grid;
  grid-template-columns:1.25fr repeat(6,1fr);
  gap:8px
}
.aviation-quick-ops a{
  min-height:72px;
  display:grid;
  grid-template-columns:30px 1fr;
  grid-template-rows:auto auto;
  gap:2px 10px;
  align-content:center;
  padding:11px 13px;
  color:#f7fbfd;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(4,16,27,.86);
  box-shadow:0 12px 30px rgba(0,0,0,.18);
  backdrop-filter:blur(10px)
}
.aviation-quick-ops a:hover{
  border-color:rgba(231,15,16,.55);
  background:rgba(231,15,16,.08)
}
.aviation-quick-ops a.primary{
  border-left:4px solid #e70f10;
  background:linear-gradient(90deg,rgba(231,15,16,.11),rgba(4,16,27,.88))
}
.aviation-quick-ops span{
  grid-row:1/3;
  align-self:center;
  color:#ff3536;
  font-family:"Barlow Condensed",sans-serif;
  font-size:1.3rem;
  font-weight:800
}
.aviation-quick-ops strong{
  font-family:"Barlow Condensed",sans-serif;
  font-size:.9rem;
  letter-spacing:.05em
}
.aviation-quick-ops small{
  color:rgba(255,255,255,.43);
  font-size:.47rem;
  font-weight:800;
  letter-spacing:.09em
}
.aviation-hangar-grid article{
  position:relative;
  padding-bottom:42px
}
.aviation-hangar-grid .hangar-launch,
.aviation-hangar-grid .hangar-cleared{
  position:absolute;
  left:14px;
  right:14px;
  bottom:12px;
  display:block;
  padding-top:9px;
  border-top:1px solid rgba(255,255,255,.08);
  font-size:.48rem;
  font-weight:800;
  letter-spacing:.09em
}
.aviation-hangar-grid .hangar-launch{
  color:#ff4546;
  text-decoration:none
}
.aviation-hangar-grid .hangar-launch:hover{color:white}
.aviation-hangar-grid .hangar-cleared{color:#58c28a}
html{scroll-behavior:smooth}
@media(max-width:1050px){
  .aviation-quick-ops{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:680px){
  .aviation-quick-ops{grid-template-columns:1fr 1fr}
}
@media(max-width:430px){
  .aviation-quick-ops{grid-template-columns:1fr}
}

/* Ryan live pilot skill tree + optional simulator route. */
.aviation-skill-tree{
  width:min(1240px,calc(100% - 36px));
  margin:20px auto 0;
  padding:24px;
  background:linear-gradient(180deg,rgba(4,16,27,.90),rgba(3,10,17,.95));
  border:1px solid rgba(255,255,255,.11);
  box-shadow:0 18px 50px rgba(0,0,0,.25);
  backdrop-filter:blur(10px)
}
.aviation-skill-tree-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px
}
.aviation-skill-tree-head span{
  color:#ff3536;
  font-size:.55rem;
  font-weight:800;
  letter-spacing:.14em
}
.aviation-skill-tree-head h2{
  margin:3px 0 0;
  color:#f7fbfd;
  font-family:"Barlow Condensed",sans-serif;
  font-size:2rem;
  letter-spacing:.04em
}
.aviation-skill-tree-head>strong{
  color:rgba(255,255,255,.45);
  font-size:.52rem;
  letter-spacing:.1em
}
.aviation-skill-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px
}
.aviation-skill-grid article{
  position:relative;
  min-height:150px;
  padding:14px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.03)
}
.skill-node{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px
}
.skill-node span{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid #e70f10;
  border-radius:50%;
  color:#ff4546;
  font-family:"Barlow Condensed",sans-serif;
  font-size:.82rem;
  font-weight:800;
  box-shadow:0 0 20px rgba(231,15,16,.10)
}
.skill-node b{
  color:#f7fbfd;
  font-family:"Barlow Condensed",sans-serif;
  font-size:1.4rem
}
.aviation-skill-grid h3{
  margin:17px 0 6px;
  color:#f7fbfd;
  font-family:"Barlow Condensed",sans-serif;
  font-size:1rem;
  letter-spacing:.04em
}
.aviation-skill-grid p{
  min-height:34px;
  margin:0;
  color:rgba(255,255,255,.43);
  font-size:.55rem;
  line-height:1.45
}
.aviation-skill-grid article>i{
  display:block;
  height:4px;
  margin-top:12px;
  background:rgba(255,255,255,.08)
}
.aviation-skill-grid article>i b{
  display:block;
  height:100%;
  background:#e70f10;
  box-shadow:0 0 12px rgba(231,15,16,.42)
}
.aviation-challenge-route{
  margin-top:12px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:24px;
  align-items:center;
  padding:18px;
  border:1px solid rgba(255,255,255,.09);
  border-left:4px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.025)
}
.aviation-challenge-route>div>span{
  color:#ff3536;
  font-size:.5rem;
  font-weight:800;
  letter-spacing:.12em
}
.aviation-challenge-route h3{
  margin:4px 0 5px;
  color:#f7fbfd;
  font-family:"Barlow Condensed",sans-serif;
  font-size:1.25rem
}
.aviation-challenge-route p{
  margin:0;
  color:rgba(255,255,255,.45);
  font-size:.62rem
}
.challenge-clearance{
  min-width:190px;
  padding:13px 15px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(0,0,0,.20);
  text-align:right
}
.challenge-clearance strong,
.challenge-clearance small{display:block}
.challenge-clearance strong{
  color:rgba(255,255,255,.55);
  font-family:"Barlow Condensed",sans-serif;
  letter-spacing:.04em
}
.challenge-clearance small{
  margin-top:4px;
  color:rgba(255,255,255,.35);
  font-size:.48rem;
  font-weight:800;
  letter-spacing:.08em
}
.aviation-challenge-route.unlocked{
  border-left-color:#58c28a;
  background:rgba(88,194,138,.05)
}
.aviation-challenge-route.unlocked .challenge-clearance strong{color:#58c28a}
@media(max-width:1000px){.aviation-skill-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){
  .aviation-skill-tree{padding:18px}
  .aviation-skill-tree-head{align-items:flex-start;flex-direction:column}
  .aviation-skill-grid{grid-template-columns:1fr 1fr}
  .aviation-challenge-route{grid-template-columns:1fr}
  .challenge-clearance{text-align:left}
}
@media(max-width:430px){.aviation-skill-grid{grid-template-columns:1fr}}

/* Ryan Reader Operations + private reader importer. */
.aviation-reader-ops{
  width:min(1240px,calc(100% - 36px));
  margin:20px auto 0;
  padding:24px;
  background:linear-gradient(180deg,rgba(4,16,27,.91),rgba(3,10,17,.96));
  border:1px solid rgba(255,255,255,.11);
  border-top:2px solid #e70f10;
  box-shadow:0 18px 50px rgba(0,0,0,.26);
  backdrop-filter:blur(10px)
}
.aviation-reader-head{
  display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:16px
}
.aviation-reader-head span{
  color:#ff3536;font-size:.55rem;font-weight:800;letter-spacing:.14em
}
.aviation-reader-head h2{
  margin:3px 0 0;color:#f7fbfd;font-family:"Barlow Condensed",sans-serif;font-size:2rem;letter-spacing:.04em
}
.aviation-reader-head>strong{
  color:rgba(255,255,255,.45);font-size:.54rem;letter-spacing:.11em
}
.aviation-reader-metrics{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
  margin-bottom:12px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.025)
}
.aviation-reader-metrics>div{
  min-height:82px;padding:13px;border-right:1px solid rgba(255,255,255,.08)
}
.aviation-reader-metrics>div:last-child{border-right:0}
.aviation-reader-metrics span,.aviation-reader-metrics small{
  display:block;color:rgba(255,255,255,.42);font-size:.48rem;font-weight:800;letter-spacing:.1em
}
.aviation-reader-metrics strong{
  display:block;margin:6px 0 3px;color:#f7fbfd;font-family:"Barlow Condensed",sans-serif;font-size:1.65rem
}
.aviation-reader-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px
}
.aviation-reader-grid article{
  position:relative;min-height:205px;padding:15px 15px 52px;
  border:1px solid rgba(255,255,255,.09);border-left:3px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.032)
}
.aviation-reader-grid article.complete{
  border-left-color:#58c28a;background:rgba(88,194,138,.035)
}
.reader-card-code{
  display:flex;justify-content:space-between;gap:10px;
  color:rgba(255,255,255,.42);font-size:.48rem;font-weight:800;letter-spacing:.09em
}
.reader-card-code b{color:#ff3536}
.aviation-reader-grid article>small{
  display:block;margin-top:22px;color:#e70f10;font-size:.49rem;font-weight:800;letter-spacing:.08em
}
.aviation-reader-grid h3{
  margin:6px 0 7px;color:#f7fbfd;font-family:"Barlow Condensed",sans-serif;font-size:1.2rem;line-height:1.05
}
.aviation-reader-grid p{margin:0;color:rgba(255,255,255,.48);font-size:.65rem;line-height:1.5}
.reader-card-actions{
  position:absolute;left:15px;right:15px;bottom:13px;
  display:flex;justify-content:space-between;align-items:center;gap:10px;
  padding-top:10px;border-top:1px solid rgba(255,255,255,.08)
}
.reader-card-actions span{
  color:rgba(255,255,255,.40);font-size:.45rem;font-weight:800;letter-spacing:.08em
}
.reader-card-actions a{
  color:#ff4546;text-decoration:none;font-size:.48rem;font-weight:800;letter-spacing:.07em
}
.aviation-reader-grid article.complete .reader-card-actions span{color:#58c28a}
.aviation-reader-empty{
  display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;
  padding:20px;border:1px dashed rgba(255,255,255,.14);background:rgba(255,255,255,.025)
}
.aviation-reader-empty>div>span{
  color:#ff3536;font-size:.5rem;font-weight:800;letter-spacing:.12em
}
.aviation-reader-empty h3{
  margin:5px 0 6px;color:#f7fbfd;font-family:"Barlow Condensed",sans-serif;font-size:1.25rem
}
.aviation-reader-empty p{margin:0;color:rgba(255,255,255,.47);font-size:.66rem;line-height:1.5}
.aviation-reader-empty>a{
  min-height:44px;display:grid;place-items:center;padding:0 16px;
  background:#e70f10;color:white;text-decoration:none;font-size:.55rem;font-weight:800;letter-spacing:.08em
}
.reader-pdf-frame{
  width:min(1040px,100%);height:720px;margin:18px auto;
  border:1px solid rgba(255,255,255,.12);background:#111;box-shadow:0 20px 55px rgba(0,0,0,.35)
}
.reader-pdf-frame iframe{width:100%;height:100%;border:0}
.reader-flight-log{margin-top:18px}
.reader-complete-form label>span,.reader-complete-form legend{
  display:block;margin-bottom:7px;color:#e70f10;font-size:.52rem;font-weight:800;letter-spacing:.1em
}
.reader-complete-form textarea{
  width:100%;min-height:92px;padding:12px;border:1px solid #c9d0d5;background:white;color:#111;resize:vertical
}
.reader-complete-form fieldset{
  margin:14px 0;padding:12px;border:1px solid #d7dde1
}
.reader-complete-form fieldset label{margin-right:14px;font-size:.75rem}
.reader-complete-summary{
  margin-top:15px;padding:14px;border-left:4px solid #58c28a;background:rgba(88,194,138,.08)
}
.reader-complete-summary span,.reader-complete-summary strong{display:block}
.reader-complete-summary span{color:#58c28a;font-size:.55rem;font-weight:800;letter-spacing:.1em}
.reader-complete-summary strong{margin-top:4px}
.ryler-reader-import{
  min-height:calc(100vh - 80px);padding:34px 18px 70px;color:#f7fbfd;
  background:
    linear-gradient(180deg,rgba(2,7,12,.58),rgba(3,10,17,.94)),
    url("https://ryler.safcongroup.co.za/wp-content/uploads/2026/09/Ryan-RYLER-Realistic-Cockpit-Background.png") center top / cover fixed
}
.reader-import-card{
  width:min(980px,100%);margin:0 auto;padding:28px;
  background:rgba(4,16,27,.92);border:1px solid rgba(255,255,255,.12);border-top:3px solid #e70f10;
  box-shadow:0 24px 70px rgba(0,0,0,.38);backdrop-filter:blur(12px)
}
.reader-import-card>span{color:#ff3536;font-size:.55rem;font-weight:800;letter-spacing:.14em}
.reader-import-card h1{margin:5px 0 10px;font-family:"Barlow Condensed",sans-serif;font-size:3rem}
.reader-import-card>p{color:rgba(255,255,255,.56);line-height:1.6}
.reader-import-limit{
  display:flex;justify-content:space-between;gap:18px;margin:18px 0;padding:13px;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)
}
.reader-import-limit strong,.reader-import-limit span{font-size:.65rem;letter-spacing:.08em}
.reader-import-card form{
  display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end;margin-top:18px
}
.reader-import-card form label span{
  display:block;margin-bottom:7px;color:#ff3536;font-size:.52rem;font-weight:800;letter-spacing:.1em
}
.reader-import-card input[type=file]{
  width:100%;padding:12px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.04);color:white
}
.reader-import-card button{
  min-height:45px;padding:0 16px;border:0;background:#e70f10;color:white;font-size:.55rem;font-weight:800;letter-spacing:.08em
}
.reader-import-success,.reader-import-error{margin:16px 0;padding:13px 14px;border-left:4px solid}
.reader-import-success{border-color:#58c28a;background:rgba(88,194,138,.08)}
.reader-import-error{border-color:#e70f10;background:rgba(231,15,16,.08)}
.reader-catalog-preview{margin-top:22px}
.reader-catalog-preview>div{display:flex;justify-content:space-between;gap:18px;margin-bottom:10px}
.reader-catalog-preview ol{
  max-height:420px;overflow:auto;margin:0;padding:0;list-style:none;border:1px solid rgba(255,255,255,.08)
}
.reader-catalog-preview li{
  display:flex;justify-content:space-between;gap:18px;padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.07)
}
.reader-catalog-preview li:last-child{border-bottom:0}
.reader-catalog-preview small{color:rgba(255,255,255,.42)}
@media(max-width:1000px){
  .aviation-reader-grid{grid-template-columns:repeat(2,1fr)}
  .aviation-reader-metrics{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:680px){
  .aviation-reader-ops{padding:18px}
  .aviation-reader-head{align-items:flex-start;flex-direction:column}
  .aviation-reader-grid,.aviation-reader-metrics{grid-template-columns:1fr}
  .aviation-reader-empty{grid-template-columns:1fr}
  .reader-pdf-frame{height:520px}
  .reader-import-card form{grid-template-columns:1fr}
}
@media(max-width:430px){
  .reader-card-actions{align-items:flex-start;flex-direction:column}
  .reader-pdf-frame{height:430px}
}

/* Reader mission inside each Ryan flight sector. */
.sector-reader-mission{
  width:min(1240px,calc(100% - 36px));
  margin:16px auto 0;
  padding:0;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.11);
  border-left:4px solid #e70f10;
  background:linear-gradient(90deg,rgba(231,15,16,.08),rgba(4,16,27,.91) 28%,rgba(3,10,17,.94));
  box-shadow:0 16px 42px rgba(0,0,0,.22);
  backdrop-filter:blur(10px)
}
.sector-reader-mission.complete{border-left-color:#58c28a}
.sector-reader-code{
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:0 16px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.14)
}
.sector-reader-code span,
.sector-reader-code b{
  font-size:.5rem;
  font-weight:800;
  letter-spacing:.12em
}
.sector-reader-code span{color:#ff4546}
.sector-reader-code b{color:rgba(255,255,255,.48)}
.sector-reader-main{
  display:grid;
  grid-template-columns:1fr auto;
  gap:24px;
  align-items:center;
  padding:17px 18px
}
.sector-reader-main small{
  color:rgba(255,255,255,.46);
  font-size:.5rem;
  font-weight:800;
  letter-spacing:.1em
}
.sector-reader-main h3{
  margin:5px 0 5px;
  color:#f7fbfd;
  font-family:"Barlow Condensed",sans-serif;
  font-size:1.45rem;
  letter-spacing:.03em
}
.sector-reader-main p{
  max-width:820px;
  margin:0;
  color:rgba(255,255,255,.52);
  font-size:.68rem;
  line-height:1.5
}
.sector-reader-main>a{
  min-width:185px;
  min-height:46px;
  display:grid;
  place-items:center;
  padding:0 16px;
  color:white;
  text-decoration:none;
  background:#e70f10;
  font-size:.54rem;
  font-weight:800;
  letter-spacing:.09em
}
.sector-reader-mission.complete .sector-reader-main>a{background:#2e8f60}
@media(max-width:700px){
  .sector-reader-main{grid-template-columns:1fr}
  .sector-reader-main>a{width:100%;min-width:0}
}

/* Reader mission category labels. */
.aviation-reader-grid .reader-brief,
.ryan-preview-reader-ops .reader-brief{
  display:block;
  width:max-content;
  max-width:100%;
  margin:9px 0 3px;
  padding:4px 7px;
  color:#ff4546;
  border:1px solid rgba(231,15,16,.28);
  background:rgba(231,15,16,.07);
  font-size:.46rem;
  font-weight:800;
  letter-spacing:.11em
}

/* Reader Ops marker shown on Ryan mission sectors that include a reader. */
.week-reader-marker{
  display:inline-block;
  width:max-content;
  margin-top:8px;
  padding:3px 6px;
  color:#ff4546;
  border:1px solid rgba(231,15,16,.28);
  background:rgba(231,15,16,.07);
  font-style:normal;
  font-size:.43rem;
  font-weight:800;
  letter-spacing:.1em
}

/* Ryan six-instrument term status strip. */
.real-term-dashboard.theme-aviation .term-scoreboard{
  grid-template-columns:repeat(6,minmax(0,1fr));
}
@media(max-width:900px){
  .real-term-dashboard.theme-aviation .term-scoreboard{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:560px){
  .real-term-dashboard.theme-aviation .term-scoreboard{grid-template-columns:1fr 1fr}
}

/* Ryan preview six-instrument status strip. */
.ryan-preview-instruments{grid-template-columns:repeat(6,1fr)}
@media(max-width:900px){.ryan-preview-instruments{grid-template-columns:repeat(3,1fr)}}
@media(max-width:560px){.ryan-preview-instruments{grid-template-columns:1fr 1fr}}

/* Reader Ops is part of Ryan's pilot skill tree. */
.aviation-skill-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:1050px){.aviation-skill-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){.aviation-skill-grid{grid-template-columns:1fr 1fr}}
@media(max-width:430px){.aviation-skill-grid{grid-template-columns:1fr}}

/* Parent Reader Ops log. */
.parent-reader-log-row em{
  display:block;
  margin-top:5px;
  color:rgba(255,255,255,.50);
  font-size:.66rem;
  font-style:normal;
  line-height:1.45
}
.parent-reader-logs .parent-panel-head span{color:#ff4546}

/* Reader Ops sector locking and future-mission styling. */
.aviation-reader-grid article.locked{
  opacity:.62;
  border-left-color:rgba(255,255,255,.10);
  background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(0,0,0,.12))
}
.aviation-reader-grid article.locked h3,
.aviation-reader-grid article.locked p{color:rgba(255,255,255,.38)}
.aviation-reader-grid article.locked .reader-card-code b{color:rgba(255,255,255,.28)}
.aviation-reader-grid article.locked .reader-card-actions span{color:rgba(255,255,255,.34)}
.reader-card-actions>b,
.reader-locked-link{
  color:#ffb0b0;
  font-size:.46rem;
  font-weight:800;
  letter-spacing:.08em
}
.reader-locked-link{
  min-height:42px;
  display:grid;
  place-items:center;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.035)
}
.reader-locked-panel{
  margin-top:16px;
  padding:18px;
  border:1px dashed rgba(255,255,255,.14);
  border-left:3px solid rgba(231,15,16,.42);
  background:rgba(0,0,0,.18)
}
.reader-locked-panel span{
  display:block;
  margin-bottom:5px;
  color:#ff4546;
  font-size:.5rem;
  font-weight:800;
  letter-spacing:.12em
}
.reader-locked-panel strong{
  display:block;
  color:#f7fbfd;
  font-family:"Barlow Condensed",sans-serif;
  font-size:1.25rem
}
.reader-locked-panel p{
  margin:6px 0 0;
  color:rgba(255,255,255,.50);
  font-size:.66rem;
  line-height:1.5
}
.sector-reader-mission.locked{
  opacity:.68;
  border-left-color:rgba(255,255,255,.12)
}
.sector-reader-mission.locked .sector-reader-main>a{pointer-events:none}
.sector-reader-lock{
  min-width:185px;
  min-height:46px;
  display:grid;
  place-items:center;
  padding:0 16px;
  color:rgba(255,255,255,.52);
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.035);
  font-size:.52rem;
  font-weight:800;
  letter-spacing:.09em
}

/* Reader Ops actual reading-time field. */
.reader-minutes-field{
  display:block;
  margin-bottom:14px
}
.reader-minutes-field input{
  width:140px;
  max-width:100%;
  min-height:44px;
  padding:8px 10px;
  color:#f7fbfd;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.24);
  font:700 .8rem "Manrope",sans-serif
}
@media(max-width:900px){
  .aviation-reader-metrics{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:520px){
  .aviation-reader-metrics{grid-template-columns:1fr}
}

/* Neutral public RYLER Academy entry page. Learner-specific identities stay behind login. */
.academy-entry{
  min-height:calc(100vh - 148px);
  color:#f7fbfd;
  background:
    radial-gradient(circle at 18% 30%,rgba(231,15,16,.15),transparent 34%),
    radial-gradient(circle at 82% 28%,rgba(65,113,145,.12),transparent 30%),
    linear-gradient(135deg,#07090b 0%,#0b1014 45%,#06080a 100%)
}
.academy-entry-hero{
  width:min(1360px,calc(100% - 40px));
  margin:0 auto;
  padding:72px 0 78px
}
.academy-entry-grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);
  gap:72px;
  align-items:center
}
.academy-entry-kicker{
  color:#ff4a4b;
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.18em
}
.academy-entry-copy h1{
  margin:15px 0 18px;
  font-family:"Barlow Condensed",sans-serif;
  font-size:clamp(4.1rem,7vw,7.2rem);
  line-height:.82;
  letter-spacing:-.03em
}
.academy-entry-copy h1 em{
  color:#ed1718;
  font-style:normal
}
.academy-entry-copy>p{
  max-width:680px;
  margin:0 0 26px;
  color:rgba(255,255,255,.68);
  font-size:1.02rem;
  line-height:1.7
}
.academy-entry-cta{
  width:max-content;
  min-height:54px;
  display:inline-flex;
  align-items:center;
  gap:28px;
  padding:0 22px;
  color:white;
  text-decoration:none;
  background:#e70f10;
  box-shadow:0 18px 38px rgba(231,15,16,.18);
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.1em
}
.academy-entry-cta:hover{background:#ff2425}
.academy-entry-cta span{font-size:1rem}
.academy-entry-trust{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
  color:rgba(255,255,255,.35);
  font-size:.5rem;
  font-weight:800;
  letter-spacing:.11em
}
.academy-entry-trust i{
  width:22px;
  height:1px;
  background:rgba(255,255,255,.14)
}
.academy-entry-console{
  overflow:hidden;
  border:1px solid rgba(255,255,255,.11);
  border-top:3px solid #e70f10;
  background:rgba(4,12,18,.84);
  box-shadow:0 30px 80px rgba(0,0,0,.40);
  backdrop-filter:blur(12px)
}
.academy-entry-console-top,
.academy-entry-console-foot{
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:0 18px;
  background:rgba(0,0,0,.24);
  border-bottom:1px solid rgba(255,255,255,.08)
}
.academy-entry-console-top span,
.academy-entry-console-foot span{
  color:#ff4546;
  font-size:.5rem;
  font-weight:800;
  letter-spacing:.14em
}
.academy-entry-console-top strong,
.academy-entry-console-foot strong{
  color:rgba(255,255,255,.42);
  font-size:.5rem;
  letter-spacing:.1em
}
.academy-entry-world{
  min-height:180px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:24px;
  align-items:center;
  padding:24px;
  border-bottom:1px solid rgba(255,255,255,.08)
}
.academy-entry-world.aviation{
  background:
    linear-gradient(90deg,rgba(231,15,16,.08),rgba(0,0,0,.05)),
    url("https://ryler.safcongroup.co.za/wp-content/uploads/2026/09/Ryan-RYLER-Realistic-Cockpit-Background.png") center/cover no-repeat
}
.academy-entry-world.aviation::before{content:""}
.academy-entry-world.soccer{
  background:
    linear-gradient(90deg,rgba(231,15,16,.08),rgba(0,0,0,.36)),
    radial-gradient(circle at 75% 50%,rgba(255,255,255,.06),transparent 32%),
    linear-gradient(135deg,#101c16,#09110d)
}
.academy-entry-world span{
  color:#ff4546;
  font-size:.5rem;
  font-weight:800;
  letter-spacing:.12em
}
.academy-entry-world h2{
  margin:5px 0 7px;
  font-family:"Barlow Condensed",sans-serif;
  font-size:2.4rem;
  line-height:.9
}
.academy-entry-world p{
  max-width:520px;
  margin:0;
  color:rgba(255,255,255,.58);
  font-size:.66rem;
  line-height:1.55
}
.academy-entry-world>b{
  align-self:start;
  margin-top:3px;
  padding:6px 8px;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(0,0,0,.26);
  color:rgba(255,255,255,.64);
  font-size:.48rem;
  letter-spacing:.1em
}
.academy-entry-console-foot{
  border-bottom:0;
  border-top:1px solid rgba(255,255,255,.05)
}
@media(max-width:980px){
  .academy-entry-grid{grid-template-columns:1fr;gap:38px}
  .academy-entry-hero{padding-top:48px}
}
@media(max-width:600px){
  .academy-entry-hero{width:min(100% - 24px,1360px);padding:36px 0 48px}
  .academy-entry-copy h1{font-size:clamp(3.6rem,18vw,5.4rem)}
  .academy-entry-world{grid-template-columns:1fr}
  .academy-entry-world>b{justify-self:start}
  .academy-entry-console-top,.academy-entry-console-foot{align-items:flex-start;flex-direction:column;padding:12px 14px}
}

/* Neutral learner login — profile identity is resolved only after authentication. */
.login-theme-academy{
  min-height:calc(100vh - 84px);
  padding:48px 20px;
  color:#f7fbfd;
  background:
    radial-gradient(circle at 18% 25%,rgba(231,15,16,.14),transparent 34%),
    radial-gradient(circle at 82% 20%,rgba(90,126,150,.10),transparent 28%),
    linear-gradient(135deg,#07090b 0%,#0b1116 52%,#06080a 100%)
}
.login-theme-academy .learner-portal-wrap{
  width:min(1120px,100%);
  margin:0 auto
}
.login-theme-academy .ryler-login-required{
  position:relative;
  width:min(560px,100%);
  margin:7vh auto 0;
  padding:34px 34px 30px;
  border:1px solid rgba(255,255,255,.12);
  border-top:3px solid #e70f10;
  background:linear-gradient(180deg,rgba(5,17,27,.94),rgba(3,10,17,.98));
  box-shadow:0 30px 80px rgba(0,0,0,.42);
  backdrop-filter:blur(12px)
}
.login-theme-academy .ryler-login-required::before{
  content:"RYLER ACADEMY · SECURE LEARNER ACCESS";
  display:block;
  margin-bottom:18px;
  color:#ff4546;
  font-size:.56rem;
  font-weight:800;
  letter-spacing:.15em
}
.login-theme-academy .ryler-login-required>strong{
  display:block;
  color:white;
  font-family:"Barlow Condensed",sans-serif;
  font-size:2.7rem;
  line-height:.95;
  text-transform:uppercase;
  letter-spacing:.03em
}
.login-theme-academy .ryler-login-required>p{
  margin:9px 0 22px;
  color:rgba(255,255,255,.58);
  font-size:.76rem;
  line-height:1.55
}
.login-theme-academy #loginform{
  display:grid;
  gap:12px
}
.login-theme-academy #loginform p{margin:0}
.login-theme-academy #loginform label{
  display:block;
  margin-bottom:6px;
  color:rgba(255,255,255,.58);
  font-size:.54rem;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase
}
.login-theme-academy #loginform .input{
  width:100%;
  min-height:48px;
  box-sizing:border-box;
  padding:10px 12px;
  color:white;
  border:1px solid rgba(255,255,255,.14);
  border-radius:0;
  outline:none;
  background:rgba(255,255,255,.045)
}
.login-theme-academy #loginform .input:focus{
  border-color:#e70f10;
  box-shadow:0 0 0 2px rgba(231,15,16,.12)
}
.login-theme-academy .login-remember label{
  display:flex!important;
  align-items:center;
  gap:8px;
  margin-top:2px;
  text-transform:none!important;
  letter-spacing:.04em!important
}
.login-theme-academy #wp-submit{
  width:100%;
  min-height:50px;
  border:0;
  border-radius:0;
  background:#e70f10;
  color:white;
  font-size:.64rem;
  font-weight:800;
  letter-spacing:.1em;
  cursor:pointer
}
.login-theme-academy #wp-submit:hover{background:#ff2324}
.login-theme-academy .ryler-login-required::after{
  content:"YOUR ACCOUNT OPENS YOUR PERSONALISED RYLER WORLD";
  display:block;
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.08);
  color:rgba(255,255,255,.32);
  font-size:.48rem;
  font-weight:800;
  letter-spacing:.1em;
  text-align:center
}
@media(max-width:620px){
  .login-theme-academy{padding:24px 12px}
  .login-theme-academy .ryler-login-required{margin-top:3vh;padding:26px 20px}
}

/* Ryan login profile photo + balanced Tyler/Ryan public learner worlds. */
.aviation-profile-avatar{
  width:96px;
  height:96px;
  margin-bottom:22px;
  padding:4px;
  border:1px solid rgba(231,15,16,.48);
  border-radius:50%;
  background:rgba(231,15,16,.08);
  box-shadow:0 0 0 6px rgba(231,15,16,.045),0 16px 34px rgba(0,0,0,.28);
  overflow:hidden
}
.aviation-profile-avatar img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center 42%;
  border-radius:50%
}
.academy-entry-world.soccer{
  background:
    linear-gradient(90deg,rgba(2,8,6,.90) 0%,rgba(2,8,6,.68) 45%,rgba(2,8,6,.22) 74%,rgba(2,8,6,.12) 100%),
    url("https://ryler.safcongroup.co.za/wp-content/uploads/2026/09/Tyler-RYLER-Soccer-Action-Hero-768x960.png") 84% 28%/auto 220% no-repeat,
    linear-gradient(135deg,#101c16,#09110d)
}
.generic-login-worlds{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  margin:0 0 18px
}
.generic-world{
  min-height:116px;
  display:flex;
  align-items:flex-end;
  padding:13px;
  border:1px solid rgba(255,255,255,.09);
  overflow:hidden
}
.generic-world.aviation{
  background:
    linear-gradient(180deg,rgba(4,13,22,.22),rgba(3,10,17,.88)),
    url("https://ryler.safcongroup.co.za/wp-content/uploads/2026/09/Ryan-RYLER-Realistic-Cockpit-Background.png") center/cover no-repeat
}
.generic-world.soccer{
  background:
    linear-gradient(180deg,rgba(4,13,10,.24),rgba(3,10,7,.88)),
    url("https://ryler.safcongroup.co.za/wp-content/uploads/2026/09/Tyler-RYLER-Soccer-Action-Hero-768x960.png") 74% 25%/auto 185% no-repeat,
    #0b1510
}
.generic-world span,
.generic-world strong,
.generic-world small{display:block}
.generic-world span{
  color:#ff4546;
  font-size:.46rem;
  font-weight:800;
  letter-spacing:.11em
}
.generic-world strong{
  margin-top:4px;
  color:#fff;
  font-family:"Barlow Condensed",sans-serif;
  font-size:1rem;
  letter-spacing:.04em
}
.generic-world small{
  margin-top:4px;
  color:rgba(255,255,255,.48);
  font-size:.5rem;
  line-height:1.35
}
@media(max-width:520px){
  .generic-login-worlds{grid-template-columns:1fr}
}

/* Tyler direct Career Mode login identity. */
.login-theme-soccer{
  min-height:calc(100vh - 84px);
  padding:42px 18px;
  background:
    radial-gradient(circle at 18% 30%,rgba(231,15,16,.12),transparent 34%),
    linear-gradient(135deg,#07100b 0%,#0b1510 46%,#07090b 100%);
  color:#f7fbfd
}
.login-theme-soccer .learner-portal-wrap{width:min(1120px,100%);margin:0 auto}
.login-theme-soccer .ryler-login-required{
  width:min(640px,100%);
  margin:2vh auto 0;
  padding:28px;
  border:1px solid rgba(255,255,255,.11);
  border-top:3px solid #e70f10;
  background:rgba(5,15,11,.94);
  box-shadow:0 28px 72px rgba(0,0,0,.40)
}
.soccer-direct-login-hero{
  display:grid;
  grid-template-columns:86px 1fr;
  gap:16px;
  align-items:center;
  margin:0 0 18px;
  padding:14px;
  border:1px solid rgba(255,255,255,.09);
  background:
    linear-gradient(90deg,rgba(231,15,16,.08),rgba(3,13,8,.78)),
    url("https://ryler.safcongroup.co.za/wp-content/uploads/2026/09/Tyler-RYLER-Soccer-Action-Hero-768x960.png") 92% 34%/auto 180% no-repeat
}
.soccer-direct-login-hero img{
  width:82px;
  height:82px;
  display:block;
  object-fit:cover;
  border-radius:50%;
  border:3px solid #e70f10;
  box-shadow:0 0 0 5px rgba(231,15,16,.08)
}
.soccer-direct-login-hero span,
.soccer-direct-login-hero strong,
.soccer-direct-login-hero small{display:block}
.soccer-direct-login-hero span{
  color:#ff4546;
  font-size:.48rem;
  font-weight:800;
  letter-spacing:.12em
}
.soccer-direct-login-hero strong{
  margin-top:4px;
  color:#fff;
  font-family:"Barlow Condensed",sans-serif;
  font-size:1.55rem;
  line-height:1
}
.soccer-direct-login-hero small{
  max-width:360px;
  margin-top:5px;
  color:rgba(255,255,255,.50);
  font-size:.54rem;
  line-height:1.4
}
.login-theme-soccer #wp-submit{
  width:100%;
  min-height:50px;
  border:0;
  border-radius:0;
  background:#e70f10;
  color:white;
  font-size:.64rem;
  font-weight:800;
  letter-spacing:.1em
}
.login-theme-soccer #wp-submit:hover{background:#ff2425}
@media(max-width:540px){
  .soccer-direct-login-hero{grid-template-columns:68px 1fr}
  .soccer-direct-login-hero img{width:64px;height:64px}
}

/* Direct Tyler login stays focused on Career Mode; generic academy login still shows both worlds. */
.login-theme-soccer .generic-login-worlds{display:none}

/* Tyler Career Mode login — hard reset old Match Week login layout. */
.login-theme-soccer{
  min-height:calc(100vh - 84px);
  padding:32px 18px 46px;
  overflow-x:hidden;
  color:#f7fbfd;
  background:
    radial-gradient(circle at 14% 22%,rgba(231,15,16,.12),transparent 32%),
    radial-gradient(circle at 84% 28%,rgba(54,112,73,.12),transparent 30%),
    linear-gradient(135deg,#060a08 0%,#0a120e 52%,#06080a 100%)
}
.login-theme-soccer .learner-portal-wrap{
  width:min(1180px,100%);
  margin:0 auto
}
.login-theme-soccer .learner-portal-wrap .ryler-login-required{
  position:relative;
  width:100%;
  max-width:1180px;
  min-height:610px;
  margin:0 auto;
  padding:0;
  display:grid!important;
  grid-template-columns:minmax(0,1.12fr) minmax(340px,.88fr)!important;
  grid-template-rows:auto auto 1fr;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.11);
  border-top:3px solid #e70f10;
  background:#07100b;
  box-shadow:0 32px 90px rgba(0,0,0,.42)
}
.login-theme-soccer .learner-portal-wrap .ryler-login-required::before{
  content:none!important;
  display:none!important
}
.login-theme-soccer .learner-portal-wrap .ryler-login-required>strong{
  grid-column:2!important;
  grid-row:1;
  align-self:end;
  margin:48px 42px 5px!important;
  color:#fff;
  font-family:"Barlow Condensed",sans-serif;
  font-size:2.2rem;
  line-height:1;
  letter-spacing:.04em;
  text-transform:uppercase
}
.login-theme-soccer .learner-portal-wrap .ryler-login-required>p{
  grid-column:2!important;
  grid-row:2;
  margin:4px 42px 22px!important;
  color:rgba(255,255,255,.58);
  font-size:.83rem;
  line-height:1.55
}
.login-theme-soccer .learner-portal-wrap .ryler-login-required>form{
  grid-column:2!important;
  grid-row:3;
  align-self:start;
  margin:0 42px 42px!important
}
.login-theme-soccer .generic-login-worlds{display:none!important}
.login-theme-soccer .soccer-direct-login-hero{
  grid-column:1!important;
  grid-row:1/4!important;
  min-width:0;
  min-height:610px;
  margin:0!important;
  padding:34px!important;
  display:grid!important;
  grid-template-columns:100px minmax(0,1fr)!important;
  gap:18px!important;
  align-content:end;
  align-items:center;
  border:0;
  border-right:1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg,rgba(4,10,7,.10) 0%,rgba(4,10,7,.20) 38%,rgba(4,10,7,.88) 100%),
    linear-gradient(90deg,rgba(231,15,16,.08),transparent 45%),
    url("https://ryler.safcongroup.co.za/wp-content/uploads/2026/09/Tyler-RYLER-Soccer-Action-Hero-768x960.png") center 24%/cover no-repeat!important
}
.login-theme-soccer .soccer-direct-login-hero img{
  width:96px;
  height:96px;
  object-fit:cover;
  object-position:center 35%;
  border:4px solid #e70f10;
  border-radius:50%;
  box-shadow:0 0 0 7px rgba(231,15,16,.10),0 14px 36px rgba(0,0,0,.38)
}
.login-theme-soccer .soccer-direct-login-hero span{
  color:#ff3b3c;
  font-size:.56rem;
  font-weight:800;
  letter-spacing:.14em
}
.login-theme-soccer .soccer-direct-login-hero strong{
  margin-top:5px;
  color:#fff;
  font-family:"Barlow Condensed",sans-serif;
  font-size:2.45rem;
  line-height:.92;
  letter-spacing:.01em
}
.login-theme-soccer .soccer-direct-login-hero small{
  max-width:430px;
  margin-top:8px;
  color:rgba(255,255,255,.66);
  font-size:.66rem;
  line-height:1.45
}
.login-theme-soccer .learner-portal-wrap .ryler-login-required label{
  color:rgba(255,255,255,.66)
}
.login-theme-soccer .learner-portal-wrap .ryler-login-required input[type="text"],
.login-theme-soccer .learner-portal-wrap .ryler-login-required input[type="password"]{
  box-sizing:border-box;
  width:100%;
  min-width:0;
  border-color:rgba(231,15,16,.24);
  background:rgba(255,255,255,.045)
}
.login-theme-soccer .learner-portal-wrap .ryler-login-required input:focus{
  border-color:#e70f10;
  box-shadow:0 0 0 3px rgba(231,15,16,.12)
}
.login-theme-soccer .learner-portal-wrap .ryler-login-required #wp-submit{
  width:100%;
  min-height:52px;
  background:#e70f10
}
.login-theme-soccer .learner-portal-wrap .ryler-login-required #wp-submit:hover{background:#ff2a2b}
@media(max-width:900px){
  .login-theme-soccer .learner-portal-wrap .ryler-login-required{
    grid-template-columns:1fr!important;
    grid-template-rows:auto!important
  }
  .login-theme-soccer .soccer-direct-login-hero{
    grid-column:1!important;
    grid-row:auto!important;
    min-height:420px
  }
  .login-theme-soccer .learner-portal-wrap .ryler-login-required>strong,
  .login-theme-soccer .learner-portal-wrap .ryler-login-required>p,
  .login-theme-soccer .learner-portal-wrap .ryler-login-required>form{
    grid-column:1!important;
    grid-row:auto!important
  }
  .login-theme-soccer .learner-portal-wrap .ryler-login-required>strong{margin:28px 28px 5px!important}
  .login-theme-soccer .learner-portal-wrap .ryler-login-required>p{margin:4px 28px 18px!important}
  .login-theme-soccer .learner-portal-wrap .ryler-login-required>form{margin:0 28px 30px!important}
}
@media(max-width:560px){
  .login-theme-soccer{padding:18px 10px 32px}
  .login-theme-soccer .soccer-direct-login-hero{
    min-height:360px;
    padding:22px!important;
    grid-template-columns:74px minmax(0,1fr)!important;
    gap:14px!important
  }
  .login-theme-soccer .soccer-direct-login-hero img{width:70px;height:70px}
  .login-theme-soccer .soccer-direct-login-hero strong{font-size:1.8rem}
}

/* Tyler Career Mode dashboard progression. */
.real-term-dashboard.theme-soccer{
  background:
    radial-gradient(circle at 18% 18%,rgba(231,15,16,.10),transparent 30%),
    linear-gradient(180deg,#07100b 0%,#0b1510 42%,#07090b 100%);
  color:#f7fbfd
}
.real-term-dashboard.theme-soccer .term-hero{
  background:
    linear-gradient(90deg,rgba(4,12,8,.92) 0%,rgba(4,12,8,.70) 48%,rgba(4,12,8,.15) 76%),
    url("https://ryler.safcongroup.co.za/wp-content/uploads/2026/09/Tyler-RYLER-Soccer-Action-Hero-768x960.png") 88% 28%/auto 190% no-repeat,
    linear-gradient(135deg,#08120c,#101712)
}
.real-term-dashboard.theme-soccer .term-hero-copy h1 em{color:#ed1718}
.real-term-dashboard.theme-soccer .term-scoreboard,
.real-term-dashboard.theme-soccer .next-session-card,
.real-term-dashboard.theme-soccer .catchup-queue,
.real-term-dashboard.theme-soccer .real-term-key,
.real-term-dashboard.theme-soccer .term-map,
.real-term-dashboard.theme-soccer .day-selector-section{
  background:rgba(5,15,10,.90);
  color:#f7fbfd;
  border-color:rgba(255,255,255,.09);
  backdrop-filter:blur(10px)
}
.real-term-dashboard.theme-soccer .term-scoreboard span,
.real-term-dashboard.theme-soccer .term-scoreboard small,
.real-term-dashboard.theme-soccer .next-session-card p,
.real-term-dashboard.theme-soccer .catchup-queue p{
  color:rgba(255,255,255,.52)
}
.real-term-dashboard.theme-soccer .term-scoreboard strong,
.real-term-dashboard.theme-soccer .next-session-card h2,
.real-term-dashboard.theme-soccer .catchup-queue h2{color:#fff}
.real-term-dashboard.theme-soccer .term-score-centre{
  background:linear-gradient(180deg,rgba(231,15,16,.13),rgba(231,15,16,.03))
}

.career-quick-ops{
  width:min(1240px,calc(100% - 36px));
  margin:16px auto 0;
  display:grid;
  grid-template-columns:1.3fr repeat(4,1fr);
  gap:8px
}
.career-quick-ops a{
  min-height:72px;
  display:grid;
  grid-template-columns:30px 1fr;
  grid-template-rows:auto auto;
  gap:2px 10px;
  align-content:center;
  padding:11px 13px;
  color:#f7fbfd;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(5,15,10,.90);
  box-shadow:0 12px 28px rgba(0,0,0,.18)
}
.career-quick-ops a:hover{
  border-color:rgba(231,15,16,.50);
  background:rgba(231,15,16,.08)
}
.career-quick-ops a.primary{
  border-left:4px solid #e70f10;
  background:linear-gradient(90deg,rgba(231,15,16,.12),rgba(5,15,10,.90))
}
.career-quick-ops span{
  grid-row:1/3;
  align-self:center;
  color:#ff4546;
  font-family:"Barlow Condensed",sans-serif;
  font-size:1.25rem;
  font-weight:800
}
.career-quick-ops strong{
  font-family:"Barlow Condensed",sans-serif;
  font-size:.92rem;
  letter-spacing:.04em
}
.career-quick-ops small{
  color:rgba(255,255,255,.42);
  font-size:.47rem;
  font-weight:800;
  letter-spacing:.08em
}

.career-hub{
  width:min(1240px,calc(100% - 36px));
  margin:18px auto 0;
  padding:24px;
  background:linear-gradient(180deg,rgba(5,15,10,.94),rgba(4,10,7,.97));
  border:1px solid rgba(255,255,255,.10);
  border-top:2px solid #e70f10;
  box-shadow:0 20px 55px rgba(0,0,0,.28)
}
.career-hub-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px
}
.career-hub-head span,
.career-panel-label,
.boss-match-card>div>span{
  color:#ff4546;
  font-size:.53rem;
  font-weight:800;
  letter-spacing:.13em
}
.career-hub-head h2{
  margin:3px 0 0;
  color:#fff;
  font-family:"Barlow Condensed",sans-serif;
  font-size:2.1rem
}
.career-hub-head>strong{
  color:rgba(255,255,255,.40);
  font-size:.5rem;
  letter-spacing:.09em
}
.career-metrics{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.025)
}
.career-metrics>div{
  min-height:86px;
  padding:13px;
  border-right:1px solid rgba(255,255,255,.07)
}
.career-metrics>div:last-child{border-right:0}
.career-metrics span,
.career-metrics small{
  display:block;
  color:rgba(255,255,255,.40);
  font-size:.46rem;
  font-weight:800;
  letter-spacing:.09em
}
.career-metrics strong{
  display:block;
  margin:7px 0 4px;
  color:#fff;
  font-family:"Barlow Condensed",sans-serif;
  font-size:1.65rem;
  line-height:1
}
.career-level-track{
  margin:10px 0 14px;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(231,15,16,.045)
}
.career-level-track>div{
  display:flex;
  justify-content:space-between;
  gap:14px;
  color:rgba(255,255,255,.58);
  font-size:.52rem;
  font-weight:800;
  letter-spacing:.09em
}
.career-level-track>div span{color:#ff4546}
.career-level-track i{
  display:block;
  height:5px;
  margin-top:9px;
  background:rgba(255,255,255,.08);
  overflow:hidden
}
.career-level-track i b{
  display:block;
  height:100%;
  background:#e70f10;
  box-shadow:0 0 14px rgba(231,15,16,.45)
}
.career-grid{
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:12px
}
.stadium-build-card,
.player-ratings-card{
  min-height:300px;
  padding:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.025)
}
.stadium-build-card h3,
.player-ratings-card h3,
.boss-match-card h3{
  margin:6px 0 12px;
  color:#fff;
  font-family:"Barlow Condensed",sans-serif;
  font-size:1.45rem;
  letter-spacing:.03em
}
.stadium-build-card>p,
.player-ratings-card>p,
.boss-match-card p{
  color:rgba(255,255,255,.46);
  font-size:.61rem;
  line-height:1.5
}
.stadium-visual{
  position:relative;
  min-height:170px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(ellipse at center,rgba(61,144,77,.30),transparent 56%),
    linear-gradient(180deg,#0d1711,#07100b)
}
.stadium-visual::before,
.stadium-visual::after{
  content:"";
  position:absolute;
  left:8%;
  right:8%;
  height:26px;
  border:1px solid rgba(255,255,255,.10)
}
.stadium-visual::before{top:10px}
.stadium-visual::after{bottom:10px}
.stadium-pitch{
  width:72%;
  aspect-ratio:1.65;
  position:relative;
  border:2px solid rgba(255,255,255,.52);
  background:repeating-linear-gradient(90deg,rgba(50,143,70,.36) 0 12%,rgba(38,119,59,.34) 12% 24%)
}
.stadium-pitch::before{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:50%;
  width:1px;
  background:rgba(255,255,255,.55)
}
.stadium-pitch::after{
  content:"";
  position:absolute;
  width:22%;
  aspect-ratio:1;
  top:50%;
  left:50%;
  border:1px solid rgba(255,255,255,.55);
  border-radius:50%;
  transform:translate(-50%,-50%)
}
.stadium-tier-badge{
  position:absolute;
  top:12px;
  right:12px;
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  align-content:center;
  border:1px solid rgba(231,15,16,.55);
  background:rgba(6,10,8,.88)
}
.stadium-tier-badge span,
.stadium-tier-badge strong{display:block;text-align:center}
.stadium-tier-badge span{color:#ff4546;font-size:.42rem;font-weight:800}
.stadium-tier-badge strong{color:white;font-family:"Barlow Condensed",sans-serif;font-size:1.3rem}
.build-credit-strip{
  margin-top:10px;
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:10px 12px;
  border-left:3px solid #e70f10;
  background:rgba(231,15,16,.06)
}
.build-credit-strip span{color:rgba(255,255,255,.45);font-size:.48rem;font-weight:800;letter-spacing:.08em}
.build-credit-strip strong{color:#fff;font-family:"Barlow Condensed",sans-serif;font-size:1.05rem}
.player-ratings-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px
}
.player-ratings-grid>div{
  padding:12px 9px;
  text-align:center;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.025)
}
.player-ratings-grid span{
  color:#ff4546;
  font-size:.48rem;
  font-weight:800;
  letter-spacing:.08em
}
.player-ratings-grid strong{
  display:block;
  margin:5px 0 1px;
  color:white;
  font-family:"Barlow Condensed",sans-serif;
  font-size:1.8rem;
  line-height:1
}
.player-ratings-grid small{
  color:rgba(255,255,255,.42);
  font-size:.46rem;
  font-weight:800
}
.player-ratings-grid i{
  display:block;
  height:3px;
  margin-top:9px;
  background:rgba(255,255,255,.08)
}
.player-ratings-grid i b{
  display:block;
  height:100%;
  background:#e70f10
}
.boss-match-card{
  margin-top:12px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:20px;
  align-items:center;
  padding:18px;
  border:1px solid rgba(255,255,255,.09);
  border-left:4px solid #e70f10;
  background:
    linear-gradient(90deg,rgba(231,15,16,.08),rgba(5,15,10,.90)),
    radial-gradient(circle at 80% 50%,rgba(255,255,255,.04),transparent 30%)
}
.boss-match-status{
  min-width:190px;
  padding:13px 15px;
  text-align:right;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.18)
}
.boss-match-status strong,
.boss-match-status small{display:block}
.boss-match-status strong{color:white;font-family:"Barlow Condensed",sans-serif;font-size:1.05rem}
.boss-match-status small{margin-top:4px;color:rgba(255,255,255,.40);font-size:.47rem;font-weight:800;letter-spacing:.08em}
.career-hub-balance{display:none}
@media(max-width:1000px){
  .career-quick-ops{grid-template-columns:repeat(3,1fr)}
  .career-metrics{grid-template-columns:repeat(3,1fr)}
  .career-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
  .career-hub{padding:18px}
  .career-hub-head{align-items:flex-start;flex-direction:column}
  .career-quick-ops{grid-template-columns:1fr 1fr}
  .career-metrics{grid-template-columns:1fr 1fr}
  .player-ratings-grid{grid-template-columns:repeat(3,1fr)}
  .boss-match-card{grid-template-columns:1fr}
  .boss-match-status{text-align:left}
}
@media(max-width:440px){
  .career-quick-ops,.career-metrics,.player-ratings-grid{grid-template-columns:1fr}
}

/* Tyler Career Mode subject training zones. */
.career-training-zones{
  margin-top:16px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.08)
}
.career-zone-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:9px
}
.career-zone-grid article{
  min-height:150px;
  padding:13px;
  position:relative;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.025)
}
.career-zone-grid article:hover{
  border-color:rgba(231,15,16,.38);
  background:rgba(231,15,16,.05)
}
.career-zone-top{
  display:flex;
  justify-content:space-between;
  gap:9px;
  color:rgba(255,255,255,.42);
  font-size:.46rem;
  font-weight:800;
  letter-spacing:.08em
}
.career-zone-top b{color:#ff4546}
.career-zone-grid article>strong{
  display:block;
  margin-top:17px;
  color:#fff;
  font-family:"Barlow Condensed",sans-serif;
  font-size:1.7rem;
  line-height:1
}
.career-zone-grid article>small{
  color:rgba(255,255,255,.38);
  font-size:.44rem;
  font-weight:800;
  letter-spacing:.08em
}
.career-zone-grid article>i{
  display:block;
  height:4px;
  margin:10px 0 12px;
  background:rgba(255,255,255,.08)
}
.career-zone-grid article>i b{
  display:block;
  height:100%;
  background:#e70f10
}
.career-zone-grid article>a,
.career-zone-grid article>em{
  display:block;
  padding-top:9px;
  border-top:1px solid rgba(255,255,255,.07);
  color:#ff4546;
  font-size:.47rem;
  font-weight:800;
  font-style:normal;
  letter-spacing:.08em;
  text-decoration:none
}
.career-zone-grid article>em{color:#5fc88b}
@media(max-width:1050px){.career-zone-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:650px){.career-zone-grid{grid-template-columns:1fr 1fr}}
@media(max-width:430px){.career-zone-grid{grid-template-columns:1fr}}

/* Boss Match launch state. */
.boss-match-status a{
  display:block;
  color:white;
  text-decoration:none;
  background:#e70f10;
  padding:11px 12px;
  font-size:.52rem;
  font-weight:800;
  letter-spacing:.08em
}
.boss-match-status a:hover{background:#ff2627}

/* AVIATION RED ALIGNMENT — keep Ryan's aviation identity within the RYLER red brand. */
	.theme-aviation .academy-label,
	.theme-aviation .question-card-top span,
	.theme-aviation .parent-panel-head span,
	.theme-aviation .practice-source-note strong,
	.theme-aviation .parent-flag span,
	.theme-aviation .next-session-card span,
	.theme-aviation .academy-side-stat span,
	.theme-aviation .player-avatar-card:before,
	.login-theme-aviation .aviation-kicker,
	.login-theme-aviation .aviation-panel-label,
	.login-theme-aviation .aviation-panel-mark {
		color:#e70f10 !important;
	}
	.theme-aviation .term-hero h1 em,
	.theme-aviation .lesson-title-row h1 em,
	.theme-aviation .parent-command h1 em,
	.login-theme-aviation .aviation-hero-copy h1 em {
		color:#e70f10 !important;
	}
	.login-theme-aviation .aviation-hud-top strong,
	.login-theme-aviation .aviation-login-panel #wp-submit,
	.header-aviation-context .matchday-login-link,
	.theme-aviation .academy-check,
	.theme-aviation .academy-finish,
	.theme-aviation .next-session-card > a,
	.theme-aviation .admin-preview-tools a {
		background:#e70f10 !important;
		color:white !important;
	}
	.login-theme-aviation .aviation-login-panel #wp-submit:hover,
	.header-aviation-context .matchday-login-link:hover,
	.theme-aviation .academy-check:hover,
	.theme-aviation .academy-finish:hover,
	.theme-aviation .next-session-card > a:hover {
		background:#ff3536 !important;
	}
