@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600;700&family=Source+Serif+4:ital,wght@0,400;0,600;1,400;1,600&display=swap');

/* Exemplar Services brand theme (exemplarservices.com.au WordPress palette), scoped
   under .es-brand so it out-specifies the shared style-claude2.css classes that the
   BIRT report appends after this stylesheet, without affecting other reports.
   Pages (JSP - builder - rule prefix):
     user_profile.jsp                     UserProfileHelper                 .es-brand
     rto_home.jsp                         RTOHome4Helper                    .es-columns
     rto_unit.jsp                         RTOUnit3Helper                    .es-unit
     rto_student_test.jsp,
     rto_student_test_summary.jsp         HTMLUKTExamResultBuilder          .es-test
     rto_student_quiz.jsp                 RTOStudentQuizHelper (RTOStudentQuiz2) .es-test
     rto_student_readiness_assessment.jsp HTMLReadinessExamResultBuilder    .es-test .es-ra
     rto_ukt_transactions.jsp             HTMLStudentTransactionsHTMLBuilder .es-tx
     rto_student_cpc_unit.jsp             StudentCPCUnitMappingHelper       .es-cpc
     rto_student_home.jsp                 StudentHomeHelper (RTOStudentHome2) .es-shome
     new_student.jsp                      NewStudentHelper                  .es-newstudent
     rto_class_management.jsp             RTOClassManagementHelper          .es-classmgmt
     rto_upcoming_assessment_details2.jsp RTOUpcomingAssessmentDetails      .es-upcoming
     rto_ra_sessions.jsp                  HTMLReadinessGroupResultsBuilder  .es-rasessions
     admin_home_page.jsp                  AdminHomePageHelper               .es-columns .es-admin
     unit_mapping.jsp                     UnitDocumentsAdminHelper          .es-columns .es-admin
     ui_page_settings.jsp                 UIPageSettingsHelper              .es-uipage
     login.jsp, loginfailed*.jsp, mfa*failed.jsp, mfaloginerror.jsp (static) .es-login
   Older report designs that share these JSPs never emit .es-brand, so are unaffected. */
.es-brand{
	--es-navy: #33495E;
	--es-navy-dark: #14232D;
	--es-gold: #B68D40;
	--es-gold-light: #D6AD61;
	--es-cream: #F4EBD0;
	--es-grey: #F2F2F2;
	--es-text: #333333;
	font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
	color: var(--es-text);
	max-width: 1100px;
	margin: 0 auto;
}

.es-brand .es-topbar{
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
	flex-wrap: wrap;
	padding: 8px 0;
	font-size: 0.9rem;
}
.es-brand .es-topbar a{
	color: var(--es-navy);
	text-decoration: none;
}
.es-brand .es-topbar a:hover{
	color: var(--es-gold);
	text-decoration: underline;
}
.es-brand .es-topbar-signout{
	font-weight: 600;
}
/* Logged-in user's name (links to UserProfile) beside Sign out, split by a thin rule */
.es-brand .es-topbar-actions{
	display: flex;
	align-items: center;
	gap: 12px;
}
.es-brand .es-topbar-user,
.es-brand .es-topbar-rto{
	padding-right: 12px;
	border-right: 1px solid #CCCCCC;
}
/* RTO name (RTOHome4, RTOStudentHome2, RTOStudentCPCUnit3, USTHistory, RTOClassManagement2, UserProfile, NewStudent, RTO_RA_Sessions, RTOStudentReadinessAssessment, RTOUnit3, RTOUKTTransactions, RTOStudentUST, RTOStudentTest, RTOStudentAdminLogs, RTOUpcomingAssessmentDetails2): plain text between the user name and Sign out */
.es-brand .es-topbar-rto{
	color: #666666;
}
.es-brand .es-hero{
	background: linear-gradient(135deg, var(--es-navy-dark) 0%, var(--es-navy) 100%);
	padding: 32px 36px;
	margin-bottom: 28px;
}
.es-brand .es-eyebrow{
	margin: 0 0 6px;
	color: white;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.es-brand .es-hero h1{
	margin: 0;
	color: var(--es-gold-light);
	font-family: 'Source Serif 4', 'Source Serif Pro', serif;
	font-style: italic;
	font-weight: 400;
	font-size: 2.2rem;
	line-height: 1.2;
}
.es-brand .es-hero p.es-hero-sub{
	margin: 8px 0 0;
	color: white;
	font-size: 0.95rem;
}

.es-brand .es-cards{
	display: flex;
	align-items: stretch;
	gap: 24px;
	flex-wrap: wrap;
}
.es-brand .es-cards > div{
	flex: 1;
	min-width: 320px;
}

.es-brand .topic-section{
	height: 100%;
	margin-bottom: 0;
	background: var(--es-cream);
	border: none;
	border-top: 4px solid var(--es-gold);
	border-radius: 0;
	box-shadow: none;
}
.es-brand .topic-header-bar{
	background: transparent;
	border-bottom: 1px solid rgba(51, 73, 94, 0.2);
	padding: 18px 24px 12px;
}
.es-brand .topic-header-bar h2{
	margin: 0;
	color: var(--es-navy);
	font-family: 'Source Serif 4', 'Source Serif Pro', serif;
	font-style: italic;
	font-weight: 600;
	font-size: 1.35rem;
}
.es-brand .topic-section-body{
	padding: 8px 24px 20px;
}

.es-brand .profile-table tr{
	border-bottom: 1px solid rgba(51, 73, 94, 0.12);
}
.es-brand .profile-table tr:last-child{
	border-bottom: none;
}
.es-brand .profile-table tr:hover{
	background: rgba(255, 255, 255, 0.45);
}
.es-brand .profile-table th{
	width: 30%;
	padding: 11px 12px 11px 0;
	color: var(--es-navy);
	font-family: inherit;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}
.es-brand .profile-table td{
	padding: 11px 0;
	color: var(--es-text);
	font-family: inherit;
	font-size: 0.95rem;
	overflow-wrap: anywhere;
}
.es-brand .profile-table td.profile-empty{
	color: #999999;
	font-style: italic;
}
.es-brand .sub-text{
	color: #666666;
	font-style: italic;
}

/* Square, uppercase tags matching the site's gold call-to-action buttons */
.es-brand .metric-green,
.es-brand .metric-red{
	display: inline-block;
	padding: 3px 10px;
	border-radius: 0;
	font-family: inherit;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.es-brand .metric-green{
	color: white;
	background-color: #3d7a55;
}
.es-brand .metric-red{
	color: white;
	background-color: #b0413e;
}

/* Hero call-to-action links, matching the site's small gold uppercase buttons */
.es-brand a.es-hero-link{
	display: inline-block;
	padding: 6px 12px;
	background: var(--es-gold-light);
	color: var(--es-navy-dark);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-decoration: none;
}
.es-brand a.es-hero-link:hover{
	background: var(--es-cream);
}

/* Two-column card layout (RTO Home); the card rules below also cover the unit page (.es-unit) */
.es-brand .es-columns{
	display: flex;
	align-items: flex-start;
	gap: 24px;
}
.es-brand .es-column-side{
	flex: 0 0 33%;
	max-width: 33%;
	min-width: 0;
}
.es-brand .es-column-main{
	flex: 1;
	min-width: 0;
}
.es-brand .es-columns .topic-section,
.es-brand.es-unit .topic-section{
	height: auto;
	margin-bottom: 16px;
	border-top: none;
	border-left: 4px solid var(--es-gold);
}
.es-brand .es-columns .topic-header-bar,
.es-brand.es-unit .topic-header-bar{
	padding: 14px 18px;
	border-bottom: none;
}
.es-brand .es-columns .topic-section-body,
.es-brand.es-unit .topic-section-body{
	padding: 4px 18px 18px;
}

/* Card and row headings */
.es-brand .es-section-title,
.es-brand a.es-section-title{
	color: var(--es-navy);
	font-family: 'Source Serif 4', 'Source Serif Pro', serif;
	font-style: italic;
	font-weight: 600;
	font-size: 1.1rem;
	line-height: 1.3;
	text-decoration: none;
	cursor: pointer;
}
.es-brand a.es-unit-title{
	color: var(--es-navy);
	font-weight: 700;
	font-size: 0.92rem;
	text-decoration: none;
	cursor: pointer;
}
.es-brand a.es-section-title:hover,
.es-brand a.es-unit-title:hover{
	color: var(--es-gold);
}

/* Show/Hide toggles: small uppercase gold labels instead of blue underlined links */
.es-brand .report-link.es-toggle{
	flex-shrink: 0;
	color: var(--es-gold) !important;
	text-decoration: none !important;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	white-space: nowrap;
}
.es-brand .report-link.es-toggle::after{
	content: " \203A";
}
.es-brand .report-link.es-toggle:hover{
	color: var(--es-navy) !important;
}

/* Content links (class names, sessions, downloads) */
.es-brand a.report-link{
	color: var(--es-navy) !important;
	text-decoration: underline !important;
	text-decoration-color: var(--es-gold-light) !important;
	text-underline-offset: 3px;
}
.es-brand a.report-link:hover{
	color: var(--es-gold) !important;
}

.es-brand .es-unit-row{
	padding: 10px 0;
	border-bottom: 1px solid rgba(51, 73, 94, 0.12);
}
.es-brand .es-unit-row:last-child{
	border-bottom: none;
}

.es-brand .es-subcard{
	background: white;
	border: 1px solid rgba(51, 73, 94, 0.15);
	margin-bottom: 12px;
}
.es-brand .es-subcard-header{
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
}
.es-brand .es-subcard-body{
	padding: 4px 14px 14px;
	border-top: 1px solid rgba(51, 73, 94, 0.12);
}

/* Daily password: large navy serif figure */
.es-brand .es-password table,
.es-brand .es-password td{
	border: none;
	background: transparent;
	padding: 0;
}
.es-brand .es-password span{
	color: var(--es-navy-dark);
	font-family: 'Source Serif 4', 'Source Serif Pro', serif;
	font-size: 2rem !important;
	letter-spacing: 0.04em;
}

/* Form controls */
.es-brand .es-search-input,
.es-brand #myInput,
.es-brand .competence-comment-input,
.es-brand .dropdown-group select,
.es-brand .dropdown-group input[type=text],
.es-brand .topic-section-body input[type=text],
.es-brand .topic-section-body select{
	width: 100%;
	padding: 10px 14px;
	font-family: inherit;
	font-size: 0.9rem;
	color: var(--es-text);
	background-color: white;
	border: 1px solid rgba(51, 73, 94, 0.3);
	border-radius: 0;
	outline: none;
}
.es-brand .es-search-input:focus,
.es-brand #myInput:focus,
.es-brand .competence-comment-input:focus,
.es-brand .topic-section-body input[type=text]:focus,
.es-brand .topic-section-body select:focus{
	border-color: var(--es-navy);
	box-shadow: 0 0 0 3px rgba(182, 141, 64, 0.25);
}
.es-brand #studentSearchCard{
	border-left: none;
	background: var(--es-grey);
}
.es-brand #studentSearchCard .topic-section-body{
	padding: 14px 18px;
}
.es-brand .dropdown-group label{
	color: var(--es-navy);
	font-family: inherit;
	letter-spacing: 0.08em;
}

.es-brand .btn-primary{
	margin-top: 8px;
	background-color: var(--es-gold-light);
	color: var(--es-navy-dark);
	border-radius: 0;
	font-family: inherit;
	letter-spacing: 0.06em;
	cursor: pointer;
}
.es-brand .btn-primary:hover{
	background-color: var(--es-gold);
	color: white;
	transform: none;
	box-shadow: none;
}

/* Lists inside cards (class search, upcoming assessments, NVP docs) */
.es-brand #myClassUL li a{
	background: white;
	border: 1px solid rgba(51, 73, 94, 0.12);
	text-decoration: none !important;
	font-size: 0.85rem;
}
.es-brand #myClassUL li a:hover{
	background: var(--es-cream);
}
.es-brand .tableborder{
	width: 100%;
	border-collapse: collapse;
}
.es-brand .tableborder td{
	background: white;
	border: none;
	border-bottom: 1px solid rgba(51, 73, 94, 0.12);
	border-radius: 0;
	padding: 8px 10px;
	margin: 0;
}

@media (max-width: 900px){
	.es-brand .es-columns{
		flex-direction: column;
		align-items: stretch;
	}
	.es-brand .es-column-side{
		flex: none;
		max-width: 100%;
	}
}

@media (max-width: 600px){
	.es-brand .es-hero{
		padding: 24px 16px;
	}
	.es-brand .es-hero h1{
		font-size: 1.7rem;
	}
	.es-brand .es-cards > div{
		min-width: 100%;
	}
}

/* ------------------------------------------------------------------
   Student Test and Test Summary (rto_student_test.jsp and
   rto_student_test_summary.jsp / HTMLUKTExamResultBuilder).
   The builder's markup is shared with other reports, so the test-*
   hook classes it emits only take effect under .es-brand.es-test.
   ------------------------------------------------------------------ */
.es-brand.es-test{
	--es-correct: #3d7a55;
	--es-incorrect: #b0413e;
}
/* BIRT's root style sets its own font; use the brand font throughout */
.es-brand.es-test #__BIRT_ROOT{
	font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
}

/* Action bar: release / transactions / submit overrides */
.es-brand.es-test .test-actions{
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	background: var(--es-grey);
	border: none;
	padding: 14px 20px;
	margin-top: 16px;
}
.es-brand.es-test .test-actions form{
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
}
.es-brand.es-test .test-actions input[type=text]{
	padding: 9px 12px;
	font-family: inherit;
	font-size: 0.9rem;
	border: 1px solid rgba(51, 73, 94, 0.3);
	border-radius: 0;
	min-width: 220px;
}
.es-brand.es-test .btn-primary{
	margin: 0;
	padding: 9px 18px;
}
/* Quiz (RTOStudentQuizHelper): Submit all overrides sits on the right, directly above the topic header */
.es-brand.es-test .quiz-actions{
	justify-content: flex-end;
	margin: 0;
	padding: 0 0 10px;
	background: transparent;
}
.es-brand.es-test .quiz-actions + .test-topic-header{
	margin-top: 0;
}

/* Candidate block as the navy hero band */
.es-brand.es-test .test-candidate{
	background: linear-gradient(135deg, var(--es-navy-dark) 0%, var(--es-navy) 100%);
	padding: 30px 36px;
	text-align: left;
}
.es-brand.es-test .test-candidate br{
	display: none;
}
.es-brand.es-test .test-candidate span{
	display: block;
}
.es-brand.es-test .test-candidate .topic-name{
	color: white;
	font-size: 1rem;
	font-weight: 600;
}
.es-brand.es-test .test-candidate .topic-name:first-child{
	margin-bottom: 2px;
	color: var(--es-gold-light);
	font-family: 'Source Serif 4', 'Source Serif Pro', serif;
	font-style: italic;
	font-weight: 400;
	font-size: 2.2rem;
	line-height: 1.2;
}
.es-brand.es-test .test-candidate .answer-text{
	margin-bottom: 12px;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.es-brand.es-test .test-candidate .topic-name:last-child{
	margin-top: 2px;
	color: rgba(255, 255, 255, 0.85);
	font-weight: 400;
}

/* Overall result strip */
.es-brand.es-test .test-overall{
	background: var(--es-cream);
	border: none;
	border-bottom: 4px solid var(--es-gold);
	padding: 16px 36px;
	margin-bottom: 28px;
}
.es-brand.es-test .test-overall h3{
	margin: 0;
	color: var(--es-navy);
	font-family: 'Source Serif 4', 'Source Serif Pro', serif;
	font-weight: 600;
	font-size: 1.05rem;
}
.es-brand.es-test .test-overall .topic-stats{
	color: var(--es-navy-dark);
	font-size: 1.1rem;
	font-weight: 700;
}

.es-brand.es-test .label-style{
	color: var(--es-navy);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
}

/* Performance by Topic */
.es-brand.es-test .insights-card{
	max-width: none;
	margin: 0 0 28px;
	padding: 24px 28px;
	background: var(--es-cream);
	border-top: 4px solid var(--es-gold);
	border-radius: 0;
	box-shadow: none;
}
.es-brand.es-test .insights-header{
	text-align: left;
	margin-bottom: 14px;
}
.es-brand.es-test .insights-header h2{
	margin: 0;
	color: var(--es-navy);
	font-family: 'Source Serif 4', 'Source Serif Pro', serif;
	font-style: italic;
	font-weight: 600;
	font-size: 1.5rem;
}
.es-brand.es-test .progress-list{
	gap: 0;
}
.es-brand.es-test .progress-list > .row-correct,
.es-brand.es-test .progress-list > .row-incorrect{
	padding: 9px 12px;
	background: white;
	border-left-width: 4px;
	border-bottom: 1px solid rgba(51, 73, 94, 0.08);
}
.es-brand.es-test .progress-list > div{
	text-align: left;
}
.es-brand.es-test .progress-list .topic-name{
	color: var(--es-text);
	font-weight: 600;
}
/* Each topic row links to its topic section below (#topic-N on .test-topic-header) */
.es-brand.es-test .progress-list .topic-name a{
	color: var(--es-navy);
	text-decoration: none;
}
.es-brand.es-test .progress-list .topic-name a:hover{
	color: var(--es-gold);
	text-decoration: underline;
}
.es-brand.es-test .test-topic-header{
	scroll-margin-top: 12px;
}
.es-brand.es-test .progress-track{
	display: none;
}
/* Unit Knowledge Test (HTMLUKTExamResultBuilder): Topic | Result columns */
.es-brand.es-test .progress-list-header,
.es-brand.es-test .progress-list > .row-correct,
.es-brand.es-test .progress-list > .row-incorrect{
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}
.es-brand.es-test .progress-list-header{
	padding: 8px 12px 8px 16px;
	background: var(--es-navy);
	color: white;
	font-weight: 700;
	text-transform: uppercase;
}
.es-brand.es-test .progress-list .topic-result{
	flex: 0 0 80px;
	text-align: right;
	font-weight: 700;
}
.es-brand.es-test .progress-list .topic-result-pass{
	color: var(--es-correct);
}
.es-brand.es-test .progress-list .topic-result-fail{
	color: var(--es-incorrect);
}

/* Correct / incorrect indicators in brand-muted tones */
.es-brand.es-test .row-correct{
	border-left: 4px solid var(--es-correct);
}
.es-brand.es-test .row-incorrect{
	border-left: 4px solid var(--es-incorrect);
	background-color: #fbf3f1;
}

/* Topic sections: navy header band over a white question table.
   Only the first topic is wrapped in .topic-section by the builder, so each
   header/table pair is styled directly rather than relying on the wrapper. */
.es-brand.es-test .report-container,
.es-brand.es-test .report-container .topic-section{
	max-width: none;
	height: auto;
	margin: 0;
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
}
.es-brand.es-test .test-topic-header{
	margin-top: 28px;
	padding: 14px 20px;
	background: var(--es-navy);
	border: none;
	border-top: 4px solid var(--es-gold);
}
.es-brand.es-test .test-topic-header h3{
	margin: 0;
	color: var(--es-gold-light);
	font-family: 'Source Serif 4', 'Source Serif Pro', serif;
	font-style: italic;
	font-weight: 600;
	font-size: 1.2rem;
}
.es-brand.es-test .test-topic-header .topic-stats{
	color: white;
	font-weight: 700;
	white-space: nowrap;
}
.es-brand.es-test .test-topic-header .label-style{
	color: var(--es-gold-light);
}

.es-brand.es-test .question-table{
	background: white;
	border: 1px solid rgba(51, 73, 94, 0.15);
	border-top: none;
}
.es-brand.es-test .question-table th{
	padding: 10px 16px;
	background: var(--es-cream);
	color: var(--es-navy);
	border: none;
	border-bottom: 1px solid rgba(51, 73, 94, 0.15);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
}
/* The builder fixes the Mark column at 120px inline; widen it so tags fit on one line */
.es-brand.es-test .question-table th:last-child{
	width: 190px !important;
}
.es-brand.es-test .question-table > tbody > tr > td{
	padding: 16px;
	border: none;
	border-bottom: 1px solid rgba(51, 73, 94, 0.12);
	vertical-align: top;
	text-align: left;
}
.es-brand.es-test .question-table > tbody > tr > td:first-child{
	color: var(--es-navy);
	font-family: 'Source Serif 4', 'Source Serif Pro', serif;
	font-weight: 600;
	font-size: 1.1rem;
	text-align: center;
}
.es-brand.es-test .question-table tr:hover{
	background-color: transparent;
}
.es-brand.es-test .question-text{
	color: var(--es-navy-dark);
	font-weight: 600;
	font-size: 0.98rem;
}

/* Answer options (Moodle question HTML with bgcolor cells) */
.es-brand.es-test .question-table td table{
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 4px;
}
.es-brand.es-test .question-table td table td{
	padding: 6px 12px;
	background: var(--es-grey);
	border: none;
	border-left: 3px solid rgba(51, 73, 94, 0.2);
	text-align: left;
	font-size: 0.9rem;
}
.es-brand.es-test .question-table td table td p{
	margin: 0;
}
.es-brand.es-test .answer-text{
	color: #555555;
	font-size: 0.88rem;
}
.es-brand.es-test .answer-text strong{
	color: var(--es-navy);
}
.es-brand.es-test .correction-text{
	color: var(--es-incorrect);
	font-style: normal;
}

/* Mark badges: square uppercase tags like the site's buttons */
.es-brand.es-test .badge{
	display: block;
	width: fit-content;
	margin: 0 0 4px;
	padding: 3px 8px;
	border-radius: 0;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
}
.es-brand.es-test .badge-info{
	background: var(--es-grey);
	color: var(--es-navy);
}
.es-brand.es-test .badge-success{
	background: #e3efe7;
	color: var(--es-correct);
}
.es-brand.es-test .badge-warning{
	background: var(--es-cream);
	color: #7a5a1e;
}
.es-brand.es-test .badge-danger{
	background: #f6e3e1;
	color: var(--es-incorrect);
}
.es-brand.es-test .badge a{
	color: inherit;
	text-decoration: none;
}
.es-brand.es-test .test-actions .badge{
	display: inline-block;
	margin: 0;
	padding: 9px 14px;
	font-size: 0.75rem;
}

/* Override form */
.es-brand.es-test .assessment-form .input-group{
	margin-top: 8px;
}
.es-brand.es-test .assessment-form input[type=number],
.es-brand.es-test .assessment-form textarea{
	box-sizing: border-box;
	width: 100%;
	margin-top: 3px;
	padding: 6px 8px;
	font-family: inherit;
	font-size: 0.85rem;
	border: 1px solid rgba(51, 73, 94, 0.3);
	border-radius: 0;
	resize: vertical;
}
.es-brand.es-test .assessment-form input:focus,
.es-brand.es-test .assessment-form textarea:focus,
.es-brand.es-test .test-actions input[type=text]:focus{
	outline: none;
	border-color: var(--es-navy);
	box-shadow: 0 0 0 3px rgba(182, 141, 64, 0.25);
}
.es-brand.es-test .required{
	color: var(--es-incorrect);
}
.es-brand.es-test a.btn-update,
.es-brand.es-test button.btn-update{
	display: inline-block;
	margin-top: 4px;
	border: 1px solid var(--es-gold) !important;
	border-radius: 0 !important;
	color: var(--es-navy-dark) !important;
	font-size: 0.72rem !important;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.es-brand.es-test a.btn-update:hover,
.es-brand.es-test button.btn-update:hover{
	background: var(--es-gold-light);
}

@media (max-width: 700px){
	.es-brand.es-test .test-candidate,
	.es-brand.es-test .test-overall{
		padding-left: 16px;
		padding-right: 16px;
	}
	.es-brand.es-test .test-candidate .topic-name:first-child{
		font-size: 1.7rem;
	}
}

/* ------------------------------------------------------------------
   Transactions (rto_ukt_transactions.jsp / HTMLStudentTransactionsHTMLBuilder)
   ------------------------------------------------------------------ */
/* RTOUKTTransactions.rptdesign fixes its root table at ~14.9in, so don't cap
   the container at the default 1100px or the report overflows it */
.es-brand.es-tx{
	max-width: none;
	--es-correct: #3d7a55;
	--es-incorrect: #b0413e;
}
.es-brand.es-tx #__BIRT_ROOT{
	font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
}
.es-brand.es-tx .report-container{
	max-width: none;
	margin-top: 16px;
}

/* Header as the navy hero band */
.es-brand.es-tx .tx-hero{
	text-align: left;
	background: linear-gradient(135deg, var(--es-navy-dark) 0%, var(--es-navy) 100%);
	padding: 30px 36px;
	margin-bottom: 28px;
}
.es-brand.es-tx .tx-eyebrow{
	color: white;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.es-brand.es-tx .tx-hero h2{
	margin: 4px 0 16px;
	color: var(--es-gold-light);
	font-family: 'Source Serif 4', 'Source Serif Pro', serif;
	font-style: italic;
	font-weight: 400;
	font-size: 2.2rem;
	line-height: 1.2;
}
.es-brand.es-tx .alert-info-box{
	max-width: 560px;
	padding: 8px 14px;
	border-left: 3px solid var(--es-gold-light);
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.85rem;
}
.es-brand.es-tx .alert-info-box strong{
	color: var(--es-gold-light);
}
.es-brand.es-tx .access-meta{
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}
.es-brand.es-tx .access-meta > div{
	padding: 2px 20px;
	border-left: 1px solid rgba(255, 255, 255, 0.2);
}
.es-brand.es-tx .access-meta > div:first-child{
	padding-left: 0;
	border-left: none;
}
.es-brand.es-tx .access-label{
	display: block;
	margin-bottom: 3px;
	color: var(--es-gold-light);
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.es-brand.es-tx .access-meta strong{
	color: white;
	font-size: 0.95rem;
}

/* Log card */
.es-brand.es-tx .tx-card{
	height: auto;
	margin-bottom: 30px;
	background: white;
	border: 1px solid rgba(51, 73, 94, 0.15);
	border-top: 4px solid var(--es-gold);
	overflow: visible;
}
.es-brand.es-tx .tx-card-header{
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
	background: var(--es-cream);
}
.es-brand.es-tx .tx-card-header h3{
	margin: 0;
	color: var(--es-navy);
	font-family: 'Source Serif 4', 'Source Serif Pro', serif;
	font-style: italic;
	font-weight: 600;
	font-size: 1.35rem;
}
.es-brand.es-tx .tx-card-header .badge:empty{
	display: none;
}
.es-brand.es-tx .tx-card-header .badge{
	padding: 6px 10px;
}
/* The override action is wrapped in a status badge; show just the button */
.es-brand.es-tx .tx-card-header .badge:has(> .tx-override-form){
	padding: 0;
	background: transparent;
}

/* Table of contents (User Transactions) linking to each tx-card */
.es-brand.es-tx .tx-toc ul{
	margin: 0;
	padding: 16px 20px 16px 40px;
}
.es-brand.es-tx .tx-toc li{
	margin: 6px 0;
}
/* Reset the site-wide "li a" block/button styling */
.es-brand.es-tx .tx-toc a{
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--es-navy);
	font-size: 1rem;
	font-weight: 600;
}
.es-brand.es-tx .tx-card-header h3[id]{
	scroll-margin-top: 20px;
}

/* Table */
.es-brand.es-tx .tx-table{
	width: 100%;
	margin: 0;
	border-collapse: collapse;
}
.es-brand.es-tx .tx-table thead th{
	padding: 10px 16px;
	background: var(--es-navy);
	color: white;
	border: none;
	text-align: left;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	white-space: nowrap;
}
.es-brand.es-tx .tx-table td{
	padding: 12px 16px;
	border: none;
	border-bottom: 1px solid rgba(51, 73, 94, 0.12);
	color: var(--es-text);
	font-size: 0.88rem;
	text-align: left;
	vertical-align: middle;
}
/* User Transactions: cells align to the top, so short values line up with the first line of wrapped text */
.es-brand.es-user-tx .tx-table thead th,
.es-brand.es-user-tx .tx-table td{
	vertical-align: top;
}
/* Long free text (e.g. User Transactions comments) wraps, breaking unspaced runs, so every column stays on the card */
.es-brand.es-tx .tx-table td.tx-wrap{
	min-width: 240px;
	white-space: normal;
	overflow-wrap: anywhere;
}
.es-brand.es-tx .tx-table tbody tr:nth-child(even) td{
	background: #fbf9f3;
}
.es-brand.es-tx .tx-table td.tx-time{
	color: var(--es-navy-dark);
	font-weight: 700;
	white-space: nowrap;
}
.es-brand.es-tx .tx-table td.tx-ip{
	color: #666666;
	font-variant-numeric: tabular-nums;
}
.es-brand.es-tx .tx-table td.tx-alert{
	color: var(--es-incorrect);
	font-weight: 600;
}
.es-brand.es-tx .row-correct td:first-child{
	border-left: 4px solid var(--es-correct);
}
.es-brand.es-tx .row-incorrect td{
	background: #fbf3f1 !important;
}
.es-brand.es-tx .row-incorrect td:first-child{
	border-left: 4px solid var(--es-incorrect);
}
.es-brand.es-tx .row-correct,
.es-brand.es-tx .row-incorrect{
	border-left: none;
}

/* Square uppercase tags */
.es-brand.es-tx .badge{
	display: inline-block;
	padding: 3px 8px;
	border-radius: 0;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
}
.es-brand.es-tx .badge-success{
	background: #e3efe7;
	color: var(--es-correct);
}
.es-brand.es-tx .badge-warning{
	background: var(--es-gold-light);
	color: var(--es-navy-dark);
}
.es-brand.es-tx .badge-danger{
	background: #f6e3e1;
	color: var(--es-incorrect);
}

/* View / override actions as gold-outline buttons */
.es-brand.es-tx .tx-override-form{
	margin: 0;
}
.es-brand.es-tx button.btn-update{
	font-family: inherit;
	cursor: pointer;
}
.es-brand.es-tx a.btn-update,
.es-brand.es-tx button.btn-update{
	display: inline-block;
	padding: 5px 12px;
	border: 1px solid var(--es-gold);
	background: white;
	color: var(--es-navy-dark);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-decoration: none;
	white-space: nowrap;
}
.es-brand.es-tx a.btn-update:hover,
.es-brand.es-tx button.btn-update:hover{
	background: var(--es-gold-light);
}

@media (max-width: 700px){
	.es-brand.es-tx .tx-hero{
		padding: 24px 16px;
	}
	.es-brand.es-tx .tx-hero h2{
		font-size: 1.7rem;
	}
	.es-brand.es-tx .table-responsive{
		overflow-x: auto;
	}
}

/* ------------------------------------------------------------------
   Unit / Class page (rto_unit.jsp / RTOUnit3Helper). Card rules are shared
   with RTO Home above; these cover the unit page's own layout and the
   sub-helper output (students table, matrices, sessions) it embeds.
   ------------------------------------------------------------------ */
.es-brand.es-unit{
	max-width: none;
}
/* Legacy stylesheets set their own font on table cells; use the brand font */
.es-brand.es-unit td,
.es-brand.es-unit th{
	font-family: inherit;
}
.es-brand.es-unit .es-unit-layout{
	width: 100%;
	border-collapse: separate;
	border-spacing: 16px 0;
}
/* Inset the breadcrumb bar by the layout's border-spacing so it lines up with the columns */
.es-brand.es-unit .es-topbar{
	padding-left: 16px;
	padding-right: 16px;
}
.es-brand.es-unit .es-unit-layout > tbody > tr > td{
	padding: 0;
	border: none;
	text-align: left;
}
.es-brand.es-unit .es-hero{
	margin-bottom: 16px;
}
.es-brand.es-unit .es-hero h1{
	font-size: 1.9rem;
}
.es-brand.es-unit .es-teachers{
	width: auto;
	margin-top: 6px;
	border-collapse: collapse;
}
.es-brand.es-unit .es-teachers td{
	padding: 0;
	border: none;
	background: transparent;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.85rem;
	text-align: left;
}
.es-brand.es-unit a.es-hero-link{
	text-align: center;
}

/* Collapsible cards nested inside a card become white sub-cards */
.es-brand.es-unit .topic-section .topic-section{
	background: white;
	border-left: 3px solid var(--es-gold-light);
	margin-bottom: 10px;
}
.es-brand.es-unit .topic-section .topic-section .es-section-title{
	font-size: 1rem;
}

/* Unit documents row (HTMLGenerator.getUnitDocumentsHTML) as small gold-outline links */
.es-brand.es-unit .es-hero + table td{
	padding: 0 8px 12px 0;
	border: none;
	background: transparent;
}
.es-brand.es-unit .es-hero + table a{
	display: inline-block;
	padding: 5px 12px;
	border: 1px solid var(--es-gold);
	background: white;
	color: var(--es-navy-dark);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-decoration: none;
	white-space: nowrap;
}
.es-brand.es-unit .es-hero + table a:hover{
	background: var(--es-gold-light);
}

/* Table headers (students table, matrices, sessions) */
.es-brand.es-unit .tabtableheader,
.es-brand.es-unit td.tabtableheader{
	padding: 9px 10px;
	background: var(--es-navy);
	color: white;
	border: none;
	border-radius: 0;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.es-brand.es-unit p.tabtableheader{
	margin: 12px 0 6px;
}

/* Status colours keep their meaning (competent / partial / not yet) in muted
   brand tints; these out-specify the generic .tableborder td background above */
.es-brand.es-unit .questioncorrect{
	background: #e3efe7;
	color: #2f6343;
	border-radius: 0;
}
.es-brand.es-unit .questionincorrect{
	background: #f6e3e1;
	color: #a03a37;
	border-radius: 0;
}
.es-brand.es-unit .amberclass,
.es-brand.es-unit .metric-orange{
	background: var(--es-cream);
	color: #7a5a1e;
	border-radius: 0;
}
.es-brand.es-unit .amberbg{
	background: #faf3dc;
	border-radius: 0;
}
.es-brand.es-unit .notyetreleasedclass{
	background: #e6e9ee;
	color: var(--es-navy-dark);
	border-radius: 0;
}
.es-brand.es-unit .releasedAndSuspicous{
	background: var(--es-navy-dark);
	color: white;
	border-radius: 0;
}
.es-brand.es-unit .selectedrow{
	background: #e9eef4;
}
.es-brand.es-unit .amberclass .hyperlinkcontent,
.es-brand.es-unit .notyetreleasedclass .hyperlinkcontent,
.es-brand.es-unit .metric-orange a{
	color: inherit;
}
/* Status pills in the students table */
.es-brand.es-unit span.questioncorrect,
.es-brand.es-unit span.questionincorrect,
.es-brand.es-unit span.amberclass{
	font-size: 0.68rem !important;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
/* Knowledge test result boxes */
.es-brand.es-unit #RTOUnitClassStatusUpdates td table td{
	padding: 6px 8px;
	font-size: 0.82rem;
}

/* RTOUnitAssessmentSessionsHelper gives each session row a decorative hue-wheel
   sliver (inline hsl() colour); show those in brand gold. Its per-result slivers
   (exception / released / pending) use hex colours and keep their meaning. */
.es-brand.es-unit #sectionbody-assessmentsessions td[style*="hsl("]{
	border-left-color: var(--es-gold) !important;
}

/* Matrix cells: legacy rules outline every status cell; use white separators */
.es-brand.es-unit td.questioncorrect,
.es-brand.es-unit td.questionincorrect,
.es-brand.es-unit td.amberclass,
.es-brand.es-unit td.amberbg{
	border: 1px solid white;
}

/* ------------------------------------------------------------------
   Student unit page (rto_student_cpc_unit.jsp / StudentCPCUnitMappingHelper,
   used by RTOStudentCPCUnit3 and RTOStudentCPCUnit2a)
   ------------------------------------------------------------------ */
.es-brand.es-cpc{
	max-width: none;
	text-align: left;
}
.es-brand.es-cpc td,
.es-brand.es-cpc th{
	font-family: inherit;
}
.es-brand.es-cpc .es-hero{
	margin-bottom: 16px;
}
.es-brand.es-cpc .es-hero h1{
	font-size: 2rem;
}

/* Unit status / competence card: its status sliver class keeps its meaning */
.es-brand.es-cpc .topic-section{
	height: auto;
	margin-bottom: 20px;
	border-top: none;
	border-left: 5px solid var(--es-gold);
}
.es-brand.es-cpc .topic-section.topic-section-competent{
	border-left-color: #3d7a55;
}
.es-brand.es-cpc .topic-section.topic-section-academically-complete{
	border-left-color: var(--es-gold);
}
.es-brand.es-cpc .topic-section.topic-section-not-yet-competent{
	border-left-color: #b0413e;
}
.es-brand.es-cpc .topic-header-bar{
	padding: 12px 18px;
}
.es-brand.es-cpc .topic-header-bar td{
	padding: 0 8px 0 0;
	border: none;
	background: transparent;
}
.es-brand.es-cpc .topic-header-bar a{
	display: inline-block;
	padding: 5px 12px;
	border: 1px solid var(--es-gold);
	border-radius: 0;
	background: white;
	color: var(--es-navy-dark);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-decoration: none;
	white-space: nowrap;
}
.es-brand.es-cpc .topic-header-bar a:hover{
	background: var(--es-gold-light);
}
.es-brand.es-cpc .topic-section-body{
	padding: 14px 18px 18px;
}
.es-brand.es-cpc .controls-row label{
	color: var(--es-navy);
	letter-spacing: 0.08em;
}
.es-brand.es-cpc .competence-comment-input,
.es-brand.es-cpc .dropdown-group select{
	border-radius: 0;
}

/* tablemappingheader is used both for the full-width section headings
   (Unit Skills Test / Student Activity / Results) and as the row labels of the
   compact Results tables (Overview, Latest/Cumulative UKT Result) */
.es-brand.es-cpc td.tablemappingheader{
	padding: 7px 10px;
	background: var(--es-navy);
	border: none;
	border-radius: 0;
	color: white;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-align: left;
	white-space: nowrap;
}
.es-brand.es-cpc table[width="100%"] > tbody > tr > td.tablemappingheader{
	padding: 10px 14px;
	background: var(--es-navy);
	border: none;
	border-top: 3px solid var(--es-gold);
	border-radius: 0;
	color: var(--es-gold-light);
	font-family: 'Source Serif 4', 'Source Serif Pro', serif;
	font-style: italic;
	font-weight: 600;
	font-size: 1.05rem;
	text-transform: none;
	letter-spacing: 0;
}
.es-brand.es-cpc table.tableborder{
	border-collapse: collapse;
}
/* Compact Results tables size to their content (the generic .tableborder rule
   above makes every bordered table full width) */
.es-brand.es-cpc table.tableborder:not([width]){
	width: auto;
	margin-top: 10px;
}
.es-brand.es-cpc table.tableborder > tbody > tr > td{
	border-radius: 0;
}

/* jQuery UI accordions (also used by the student dashboard, .es-shome) */
.es-brand.es-cpc .ui-accordion .ui-accordion-header,
.es-brand.es-shome .ui-accordion .ui-accordion-header{
	margin: 0 0 4px;
	padding: 9px 12px 9px 30px;
	background: var(--es-cream);
	border: none;
	border-left: 3px solid var(--es-gold);
	border-radius: 0;
	color: var(--es-navy);
	font-family: 'Source Serif 4', 'Source Serif Pro', serif;
	font-weight: 600;
	font-size: 0.98rem;
}
.es-brand.es-cpc .ui-accordion .ui-accordion-header a,
.es-brand.es-shome .ui-accordion .ui-accordion-header a{
	color: inherit;
}
.es-brand.es-cpc .ui-accordion .ui-accordion-header.ui-state-active,
.es-brand.es-shome .ui-accordion .ui-accordion-header.ui-state-active{
	background: var(--es-navy);
	color: var(--es-gold-light);
	border-left-color: var(--es-gold-light);
}
.es-brand.es-cpc .ui-accordion .ui-accordion-content,
.es-brand.es-shome .ui-accordion .ui-accordion-content{
	margin-bottom: 8px;
	padding: 12px;
	background: white;
	border: 1px solid rgba(51, 73, 94, 0.15);
	border-top: none;
	border-radius: 0;
}

/* Results: progression and UKT result tables */
.es-brand.es-cpc .mappingmatrixheader,
.es-brand.es-cpc .tabtableheader{
	padding: 7px 10px;
	background: var(--es-navy);
	border: none;
	border-radius: 0;
	color: white;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.es-brand.es-cpc .mappingmatrixrowtitle{
	padding: 6px 10px;
	background: white;
	border: none;
	border-bottom: 1px solid rgba(51, 73, 94, 0.12);
	border-radius: 0;
	color: var(--es-navy-dark);
	font-size: 0.85rem;
	text-align: left;
}
.es-brand.es-cpc .mappingmatrixcell,
.es-brand.es-cpc .mappingmatrixempty{
	border-radius: 0;
	font-size: 0.82rem;
}

/* Status cells keep their meaning in muted brand tints */
.es-brand.es-cpc .metric-red,
.es-brand.es-cpc .questionincorrect{
	background: #f6e3e1;
	color: #a03a37;
	border-radius: 0;
}
.es-brand.es-cpc .metric-green,
.es-brand.es-cpc .questioncorrect{
	background: #e3efe7;
	color: #2f6343;
	border-radius: 0;
}
.es-brand.es-cpc .metric-orange,
.es-brand.es-cpc .amberclass{
	background: var(--es-cream);
	color: #7a5a1e;
	border-radius: 0;
}
/* metric-* here are table cells, not the User Profile status tags above */
.es-brand.es-cpc td.metric-red,
.es-brand.es-cpc td.metric-green,
.es-brand.es-cpc td.metric-orange{
	display: table-cell;
	padding: 5px 8px;
	font-size: 0.82rem;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
}

/* Unit Skills Test (RTOStudentUST, HTMLSkillsTestResultBuilder): the first
   column is the question text, not a question number, so undo the es-test
   number-cell styling and keep the attempt tags in a narrow right column */
.es-brand.es-test.es-ust{
	text-align: left;
}
.es-brand.es-test.es-ust .report-container .topic-section:first-child .test-topic-header{
	margin-top: 0;
}
.es-brand.es-test.es-ust .question-table{
	width: 100%;
	border-collapse: collapse;
}
.es-brand.es-test.es-ust .question-table > tbody > tr > td:first-child{
	color: inherit;
	font-family: inherit;
	font-weight: normal;
	font-size: inherit;
	text-align: left;
}
.es-brand.es-test.es-ust .question-text{
	margin: 0 0 4px;
}
.es-brand.es-test.es-ust .answer-text{
	margin: 0;
}
.es-brand.es-test.es-ust td.ust-attempts{
	width: 120px;
}
.es-brand.es-test.es-ust td.ust-attempts .badge{
	margin-left: auto;
}

/* Test Summary (rto_student_test_summary.jsp): rows show only the question
   name, so let the mark tags flow in a line rather than stack */
.es-brand.es-test.es-summary .question-table th:first-child{
	width: 50px !important;
}
.es-brand.es-test.es-summary .question-table th:nth-child(2){
	width: auto !important;
}
.es-brand.es-test.es-summary .question-table th:last-child{
	width: 45% !important;
}
.es-brand.es-test.es-summary .question-table > tbody > tr > td{
	padding: 12px 16px;
	vertical-align: middle;
}
.es-brand.es-test.es-summary .badge{
	display: inline-block;
	margin: 2px 4px 2px 0;
}

/* ------------------------------------------------------------------
   Student dashboard (rto_student_home.jsp / StudentHomeHelper, RTOStudentHome2)
   ------------------------------------------------------------------ */
.es-brand.es-shome{
	max-width: none;
	text-align: left;
}
.es-brand.es-shome td,
.es-brand.es-shome th{
	font-family: inherit;
}
.es-brand.es-shome .es-hero{
	margin-bottom: 20px;
}
.es-brand.es-shome .es-hero h1{
	font-size: 2rem;
}

/* Cards: cream with a gold edge, or the unit's competence colour */
.es-brand.es-shome .topic-section{
	height: auto;
	margin-bottom: 12px;
	border-top: none;
	border-left: 4px solid var(--es-gold);
}
.es-brand.es-shome .topic-section.topic-section-competent{
	border-left-color: #3d7a55;
}
.es-brand.es-shome .topic-section.topic-section-academically-complete{
	border-left-color: var(--es-gold);
}
.es-brand.es-shome .topic-section.topic-section-not-yet-competent{
	border-left-color: #b0413e;
}
.es-brand.es-shome .topic-header-bar{
	padding: 12px 16px;
	border-bottom: none;
}
.es-brand.es-shome .topic-section-body{
	padding: 0 16px 14px;
}
.es-brand.es-shome .topic-section-body:empty{
	display: none;
}

/* Student Profile card */
.es-brand.es-shome .profile-table th{
	width: 40%;
}
.es-brand.es-shome .profile-input{
	width: 100%;
	max-width: none;
	padding: 5px 8px;
	border: 1px solid rgba(51, 73, 94, 0.3);
	border-radius: 0;
	font-family: inherit;
}

/* Enrolled Units */
.es-brand.es-shome h3.es-section-heading{
	margin: 0;
	color: var(--es-navy);
	font-family: 'Source Serif 4', 'Source Serif Pro', serif;
	font-style: italic;
	font-weight: 600;
	font-size: 1.5rem;
}
.es-brand.es-shome .es-unit-name a.report-link{
	color: var(--es-navy-dark) !important;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none !important;
}
.es-brand.es-shome .es-unit-name a.report-link:hover{
	color: var(--es-gold) !important;
}
.es-brand.es-shome .es-unit-date{
	color: #666666;
	font-size: 0.85rem;
	font-variant-numeric: tabular-nums;
}
.es-brand.es-shome .controls-row{
	gap: 20px;
	padding-top: 12px;
	border-top: 1px solid rgba(51, 73, 94, 0.15);
}
.es-brand.es-shome .controls-row label{
	color: var(--es-navy);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.es-brand.es-shome .controls-row textarea{
	padding: 6px 10px;
	font-family: inherit;
	border: 1px solid rgba(51, 73, 94, 0.3);
	border-radius: 0;
}
.es-brand.es-shome .controls-row .dropdown-group + .dropdown-group{
	border-left-color: rgba(51, 73, 94, 0.15) !important;
}
.es-brand.es-shome .btn-primary{
	margin-top: 0;
	margin-left: 0;
}

/* Profiling / competence status tags */
.es-brand.es-shome .metric-orange{
	display: inline-block;
	padding: 3px 10px;
	border-radius: 0;
	background: var(--es-cream);
	color: #7a5a1e;
	font-family: inherit;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* Side-panel tables (readiness assessment, PDF guides) */
.es-brand.es-shome .tablemappingheader,
.es-brand.es-shome .tabtableheader{
	padding: 7px 10px;
	background: var(--es-navy);
	border: none;
	border-radius: 0;
	color: white;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* Readiness Assessment (rto_student_readiness_assessment.jsp /
   HTMLReadinessExamResultBuilder): reuses the .es-test rules above; this page
   has no action bar or overall-result strip, and a separate Status column */
.es-brand.es-test.es-ra .test-candidate{
	margin: 16px 0 28px;
}
.es-brand.es-test.es-ra .test-candidate .answer-text{
	margin: 6px 0 0;
}
.es-brand.es-test.es-ra .question-table th:nth-child(3){
	width: 90px !important;
}
.es-brand.es-test.es-ra .question-table th:last-child{
	width: 130px !important;
}
.es-brand.es-test.es-ra .question-table > tbody > tr > td:nth-child(3){
	color: var(--es-navy-dark);
	font-weight: 700;
}
.es-brand.es-test.es-ra .insights-header .label-style{
	display: block;
	margin-bottom: 4px;
	color: var(--es-gold);
}

/* ------------------------------------------------------------------
   New Student (new_student.jsp / NewStudentHelper)
   ------------------------------------------------------------------ */
.es-brand.es-newstudent{
	max-width: none;
	text-align: left;
}
.es-brand.es-newstudent td,
.es-brand.es-newstudent th{
	font-family: inherit;
}
.es-brand.es-newstudent .topic-section{
	max-width: 720px;
	height: auto;
	border-top: none;
	border-left: 4px solid var(--es-gold);
}
.es-brand.es-newstudent .topic-header-bar{
	padding: 16px 22px 8px;
	border-bottom: none;
}
.es-brand.es-newstudent .topic-section-body{
	padding: 8px 22px 22px;
}
.es-brand.es-newstudent .dropdown-group select{
	max-width: 320px;
}
.es-brand.es-newstudent h2{
	margin: 20px 0 10px;
	color: var(--es-navy);
	font-family: 'Source Serif 4', 'Source Serif Pro', serif;
	font-style: italic;
	font-weight: 600;
	font-size: 1.3rem;
}
.es-brand.es-newstudent table{
	width: 100%;
	margin-bottom: 12px;
	border-collapse: collapse;
}
.es-brand.es-newstudent td{
	padding: 7px 10px 7px 0;
	border: none;
	background: transparent;
	color: var(--es-navy-dark);
	font-size: 0.88rem;
	text-align: left;
	vertical-align: middle;
}
.es-brand.es-newstudent td.tabtableheader{
	padding: 8px 12px;
	background: var(--es-navy);
	border-radius: 0;
	color: white;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.es-brand.es-newstudent .tableborder td:first-child:not(.tabtableheader){
	width: 34%;
	color: var(--es-navy);
	font-weight: 600;
}
.es-brand.es-newstudent .es-input{
	box-sizing: border-box;
	width: 100%;
	padding: 9px 12px;
	font-family: inherit;
	font-size: 0.9rem;
	color: var(--es-text);
	background: white;
	border: 1px solid rgba(51, 73, 94, 0.3);
	border-radius: 0;
	outline: none;
}
.es-brand.es-newstudent .es-input:focus{
	border-color: var(--es-navy);
	box-shadow: 0 0 0 3px rgba(182, 141, 64, 0.25);
}
.es-brand.es-newstudent input[type=file]{
	font-family: inherit;
	font-size: 0.88rem;
}
.es-brand.es-newstudent .btn-primary{
	margin: 4px 0 0;
}

/* Outcome of the last account creation (NewStudentHelper.getMessage), in the
   same muted status tints as .es-unit .questioncorrect / .questionincorrect */
.es-brand.es-newstudent .es-message{
	margin: 0 0 14px;
	padding: 10px 14px;
	border-left: 4px solid;
	font-size: 0.9rem;
	font-weight: 600;
}
.es-brand.es-newstudent .es-message-success{
	background: #e3efe7;
	border-color: #2f6343;
	color: #2f6343;
}
.es-brand.es-newstudent .es-message-error{
	background: #f6e3e1;
	border-color: #a03a37;
	color: #a03a37;
}

/* ------------------------------------------------------------------
   Class Management (rto_class_management.jsp / RTOClassManagementHelper,
   RTOClassManagement2)
   ------------------------------------------------------------------ */
.es-brand.es-classmgmt{
	max-width: none;
	text-align: left;
}
.es-brand.es-classmgmt td,
.es-brand.es-classmgmt th{
	font-family: inherit;
}
.es-brand.es-classmgmt .es-hero{
	margin-bottom: 20px;
}
.es-brand.es-classmgmt .es-cm-layout{
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}
.es-brand.es-classmgmt .es-cm-layout > tbody > tr > td{
	padding: 0 16px 0 0;
	border: none;
	background: transparent;
	vertical-align: top;
}
.es-brand.es-classmgmt .es-cm-layout > tbody > tr > td:last-child{
	padding-right: 0;
}
/* The members/units wrapper table */
.es-brand.es-classmgmt table.tableborder{
	width: 100%;
	border-collapse: separate;
	border-spacing: 16px 0;
	margin: 0 -16px;
}
.es-brand.es-classmgmt table.tableborder > tbody > tr > td{
	padding: 0;
	border: none;
	background: transparent;
	vertical-align: top;
}

/* Cards: cream with a gold edge (hue-wheel slivers removed) */
.es-brand.es-classmgmt .topic-section{
	height: auto;
	margin-bottom: 16px;
	border-top: none;
	border-left: 4px solid var(--es-gold);
}
.es-brand.es-classmgmt .topic-header-bar{
	padding: 14px 18px 8px;
	border-bottom: none;
}
.es-brand.es-classmgmt .topic-section-body{
	padding: 4px 18px 16px;
}
/* Option forms nest a card inside the Class Options card: show those white */
.es-brand.es-classmgmt .topic-section .topic-section{
	margin: 6px 0 4px;
	background: white;
	border-left: 3px solid var(--es-gold-light);
}
.es-brand.es-classmgmt .topic-section .topic-section .es-section-title{
	font-size: 1rem;
}
.es-brand.es-classmgmt .profile-table th{
	color: var(--es-navy);
	font-family: inherit;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
}
.es-brand.es-classmgmt .profile-table td{
	padding: 7px 8px 7px 0;
	font-family: inherit;
	font-size: 0.88rem;
	text-align: left;
}
.es-brand.es-classmgmt .profile-table tr:hover{
	background: rgba(255, 255, 255, 0.5);
}
.es-brand.es-classmgmt .profile-table a.report-link{
	font-weight: 600;
}
.es-brand.es-classmgmt .competence-comment-input,
.es-brand.es-classmgmt select{
	box-sizing: border-box;
	max-width: 100%;
	padding: 7px 10px;
	font-family: inherit;
	border: 1px solid rgba(51, 73, 94, 0.3);
	border-radius: 0;
	background: white;
}
.es-brand.es-classmgmt .btn-primary{
	margin: 0;
}
.es-brand.es-classmgmt .es-cm-layout > tbody > tr > td:first-child{
	width: 28%;
}
/* Members/teachers rows: keep names, emails and Remove links whole (the shared
   profile-table rule would otherwise break them anywhere). Child combinators so
   the option forms nested in Class Options are unaffected. */
.es-brand.es-classmgmt .profile-table > tbody > tr > td{
	overflow-wrap: normal;
}
.es-brand.es-classmgmt .profile-table > tbody > tr > td:last-child:not([colspan]){
	width: 1%;
	white-space: nowrap;
	padding-right: 0;
}
/* Fill the card and let the long monospace option lists widen the column, but
   cap it so the Units column isn't pushed out of the fixed-width report frame */
.es-brand.es-classmgmt .topic-section-body select[multiple]{
	width: auto;
	min-width: 100%;
	max-width: 420px;
}

/* ------------------------------------------------------------------
   Upcoming Assessment Details (rto_upcoming_assessment_details2.jsp /
   RTOUpcomingAssessmentDetails.buildUpcomingAssessmentTable, design 2)
   ------------------------------------------------------------------ */
.es-brand.es-upcoming{
	max-width: none;
	margin-top: 10px;
	text-align: left;
}
.es-brand.es-upcoming .es-hero{
	margin-bottom: 20px;
}
.es-brand.es-upcoming .es-hero h1{
	font-size: 1.7rem;
}
.es-brand.es-upcoming .topic-section{
	height: auto;
	border-top: none;
	border-left: 4px solid var(--es-gold);
	overflow: visible;
}
.es-brand.es-upcoming .es-upcoming-section{
	padding: 16px 22px 10px;
}
.es-brand.es-upcoming .es-upcoming-section + .es-upcoming-section,
.es-brand.es-upcoming .table-responsive{
	border-top: 1px solid rgba(51, 73, 94, 0.12);
}
.es-brand.es-upcoming .es-section-title{
	display: block;
	margin-bottom: 8px;
	text-transform: none;
	letter-spacing: 0;
}
.es-brand.es-upcoming .input-inline-group form{
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
	margin: 0;
}
.es-brand.es-upcoming .input-inline-group select{
	flex: 1;
	min-width: 260px;
	max-width: 480px;
	padding: 9px 12px;
	font-family: inherit;
	font-size: 0.9rem;
	background: white;
	border: 1px solid rgba(51, 73, 94, 0.3);
	border-radius: 0;
}
.es-brand.es-upcoming .btn-primary{
	margin: 0;
}
.es-brand.es-upcoming .table-responsive{
	padding: 0 22px 18px;
}
.es-brand.es-upcoming .assessment-table{
	width: 100%;
	margin: 0;
	border-collapse: collapse;
}
.es-brand.es-upcoming .assessment-table thead th{
	padding: 9px 14px;
	background: var(--es-navy);
	border: none;
	color: white;
	font-family: inherit;
	font-size: 0.72rem;
	font-weight: 700;
	text-align: left;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.es-brand.es-upcoming .assessment-table td{
	padding: 10px 14px;
	border: none;
	border-bottom: 1px solid rgba(51, 73, 94, 0.12);
	background: white;
	color: var(--es-navy-dark);
	font-family: inherit;
	font-size: 0.92rem;
	text-align: left;
}
.es-brand.es-upcoming .assessment-table .es-actions{
	width: 1%;
	text-align: right;
	white-space: nowrap;
}
.es-brand.es-upcoming .assessment-table tr.row-correct td:first-child{
	border-left: 4px solid var(--es-gold);
}
.es-brand.es-upcoming tr.row-correct{
	border-left: none;
}
.es-brand.es-upcoming a.btn-update{
	display: inline-block;
	padding: 5px 12px;
	border: 1px solid var(--es-gold);
	background: white;
	color: var(--es-navy-dark);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-decoration: none;
}
.es-brand.es-upcoming a.btn-update:hover{
	background: var(--es-gold-light);
}

/* ------------------------------------------------------------------
   Readiness Assessment Sessions (rto_ra_sessions.jsp /
   HTMLReadinessGroupResultsBuilder, RTO_RA_Sessions)
   ------------------------------------------------------------------ */
.es-brand.es-rasessions{
	--es-correct: #3d7a55;
	--es-incorrect: #b0413e;
	max-width: none;
	margin-top: 10px;
	text-align: left;
}
.es-brand.es-rasessions .es-hero{
	margin-bottom: 0;
}
.es-brand.es-rasessions .es-hero h1{
	font-size: 1.7rem;
}

/* Previous sessions picker in a cream strip */
.es-brand.es-rasessions .controls-row{
	margin: 0 0 20px;
	padding: 14px 20px;
	background: var(--es-cream);
	border-bottom: 4px solid var(--es-gold);
}
.es-brand.es-rasessions .dropdown-group form{
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
	margin: 0;
}
.es-brand.es-rasessions .dropdown-group label{
	color: var(--es-navy);
	letter-spacing: 0.08em;
}
.es-brand.es-rasessions .dropdown-group select{
	width: auto;
	min-width: 320px;
	max-width: 100%;
	border: 1px solid rgba(51, 73, 94, 0.3);
	border-radius: 0;
	font-family: inherit;
}
.es-brand.es-rasessions .btn-primary{
	margin: 0;
}

/* Results matrix */
.es-brand.es-rasessions .dashboard-container{
	border-radius: 0;
	box-shadow: none;
	border: 1px solid rgba(51, 73, 94, 0.15);
}
.es-brand.es-rasessions .dashboard-container table{
	border-collapse: collapse;
}
.es-brand.es-rasessions thead th{
	background-color: var(--es-navy);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: white;
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}
.es-brand.es-rasessions thead th.super-header{
	background-color: var(--es-navy-dark);
	color: var(--es-gold-light);
	font-family: 'Source Serif 4', 'Source Serif Pro', serif;
	font-style: italic;
	font-size: 1rem;
	letter-spacing: 0;
	text-transform: none;
}
.es-brand.es-rasessions td{
	border: 1px solid rgba(51, 73, 94, 0.12);
	color: var(--es-navy-dark);
	font-family: inherit;
}
.es-brand.es-rasessions td.student-cell span{
	color: #666666;
}
.es-brand.es-rasessions td a{
	color: var(--es-navy);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--es-gold-light);
	text-underline-offset: 3px;
}
/* Ready / not-ready cells keep their meaning in muted brand tints */
.es-brand.es-rasessions td.status-ready{
	background-color: #e3efe7;
	color: var(--es-correct);
}
.es-brand.es-rasessions td.status-not-ready{
	background-color: #f6e3e1;
	color: var(--es-incorrect);
}
/* No result recorded for this topic/quiz (or its value was invalid): neither ready nor not ready */
.es-brand.es-rasessions td.status-missing{
	background-color: var(--es-grey);
	color: #6b6b6b;
}
.es-brand.es-rasessions tfoot td{
	background-color: var(--es-cream);
	color: var(--es-navy);
	font-weight: 700;
}

/* ------------------------------------------------------------------
   Admin Home (admin_home_page.jsp / AdminHomePageHelper). Cards, toggles,
   sub-cards and the daily password reuse the RTO Home .es-columns rules.
   ------------------------------------------------------------------ */
.es-brand.es-admin{
	max-width: none;
	text-align: left;
}
.es-brand.es-admin .es-hero{
	margin-bottom: 20px;
}
/* Breadcrumb links in the navy hero */
.es-brand.es-admin .es-hero-links a.report-link{
	color: white !important;
	text-decoration-color: var(--es-gold-light) !important;
	font-size: 0.85rem;
}
.es-brand.es-admin .es-hero-links a.report-link:hover{
	color: var(--es-gold-light) !important;
}
/* Logged-in user's name beside Log out in the navy hero */
.es-brand.es-admin .es-hero-user{
	color: white;
	font-size: 0.85rem;
	font-weight: 700;
}
/* User manual links beside a card's toggle */
.es-brand.es-admin .es-header-links a.report-link:not(.es-toggle){
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-decoration: none !important;
	color: var(--es-navy) !important;
}
.es-brand.es-admin .es-column-main .topic-section-body table{
	width: 100%;
}
.es-brand.es-admin .btn-primary{
	display: inline-block;
	text-decoration: none;
}

/* ------------------------------------------------------------------
   RTO User Interface Configuration (ui_page_settings.jsp / UIPageSettingsHelper)
   ------------------------------------------------------------------ */
.es-brand.es-uipage{
	max-width: none;
	text-align: left;
}
.es-brand.es-uipage td,
.es-brand.es-uipage th{
	font-family: inherit;
}
.es-brand.es-uipage .es-hero{
	margin-bottom: 20px;
}
.es-brand.es-uipage .topic-section{
	height: auto;
	margin-bottom: 12px;
	border-top: none;
	border-left: 4px solid var(--es-gold);
}
.es-brand.es-uipage .topic-header-bar{
	padding: 12px 18px;
	border-bottom: none;
}
.es-brand.es-uipage .topic-section-body{
	padding: 4px 18px 16px;
}
.es-brand.es-uipage a.es-card-toggle{
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	cursor: pointer;
}
.es-brand.es-uipage .dropdown-group form{
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: flex-start;
	margin: 0;
}
.es-brand.es-uipage .dropdown-group label{
	color: var(--es-navy);
	letter-spacing: 0.08em;
}
.es-brand.es-uipage .dropdown-group select{
	border: 1px solid rgba(51, 73, 94, 0.3);
	border-radius: 0;
	font-family: inherit;
}
.es-brand.es-uipage .btn-primary{
	margin: 0;
}
.es-brand.es-uipage h2.es-section-heading{
	margin: 26px 0 12px;
	color: var(--es-navy);
	font-family: 'Source Serif 4', 'Source Serif Pro', serif;
	font-style: italic;
	font-weight: 600;
	font-size: 1.5rem;
}

/* Configuration / sample page tables inside the cards */
.es-brand.es-uipage .es-card-table{
	width: 100%;
	border-collapse: collapse;
	background: white;
}
.es-brand.es-uipage th.es-card-th{
	padding: 8px 10px;
	background: var(--es-navy);
	border: none;
	color: white;
	font-size: 0.7rem;
	font-weight: 700;
	text-align: left;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.es-brand.es-uipage td.es-card-td{
	padding: 10px;
	border: none;
	border-bottom: 1px solid rgba(51, 73, 94, 0.12);
	color: var(--es-navy-dark);
	font-size: 0.9rem;
	text-align: left;
	vertical-align: top;
}
.es-brand.es-uipage td.es-user-name{
	padding: 2px 12px 2px 0;
	border: none;
	color: var(--es-navy-dark);
	font-size: 0.9rem;
	white-space: nowrap;
}
.es-brand.es-uipage td.es-card-td table td{
	border: none;
	background: transparent;
}


/* Login page (login.jsp): full-height navy band with a centred white card */
body.es-login-page{
	margin: 0;
}
.es-brand.es-login{
	max-width: none;
	min-height: 100vh;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 16px;
	background: linear-gradient(135deg, var(--es-navy-dark) 0%, var(--es-navy) 100%);
}
.es-brand.es-login .es-login-card{
	width: 100%;
	max-width: 400px;
	box-sizing: border-box;
	padding: 36px 40px 28px;
	background: white;
	border-top: 4px solid var(--es-gold);
	font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
	text-align: left;
}
.es-brand.es-login .es-login-logo{
	display: block;
	width: 150px;
	height: auto;
	margin: 0 0 20px;
}
.es-brand.es-login .es-eyebrow{
	margin: 0 0 4px;
	color: var(--es-gold);
	font-weight: 700;
}
.es-brand.es-login h1{
	margin: 0 0 24px;
	color: var(--es-navy);
	font-family: 'Source Serif 4', 'Source Serif Pro', serif;
	font-style: italic;
	font-weight: 400;
	font-size: 2.2rem;
	line-height: 1.2;
}
.es-brand.es-login label{
	display: block;
	margin: 0 0 6px;
	color: var(--es-navy);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.es-brand.es-login input[type=text],
.es-brand.es-login input[type=password]{
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 0 0 18px;
	padding: 10px 12px;
	border: 1px solid rgba(51, 73, 94, 0.3);
	border-radius: 0;
	background: white;
	color: var(--es-text);
	font-family: inherit;
	font-size: 1rem;
}
.es-brand.es-login input[type=text]:focus,
.es-brand.es-login input[type=password]:focus{
	outline: none;
	border-color: var(--es-gold);
	box-shadow: 0 0 0 2px rgba(182, 141, 64, 0.25);
}
.es-brand.es-login .es-login-submit{
	display: block;
	width: 100%;
	margin: 6px 0 0;
	padding: 12px;
	border: none;
	border-radius: 0;
	background: var(--es-gold-light);
	color: var(--es-navy-dark);
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	cursor: pointer;
}
.es-brand.es-login .es-login-submit:hover,
.es-brand.es-login .es-login-submit:focus-visible{
	background: var(--es-gold);
	color: white;
}
.es-brand.es-login .es-login-forgot{
	margin: 18px 0 0;
	font-size: 0.9rem;
	text-align: center;
}
.es-brand.es-login .es-login-forgot a{
	color: var(--es-navy);
	text-decoration: none;
}
.es-brand.es-login .es-login-forgot a:hover{
	color: var(--es-gold);
	text-decoration: underline;
}
.es-brand.es-login .es-login-signup{
	margin-top: 6px;
}
.es-brand.es-login .es-login-footer{
	margin: 20px 0 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.8rem;
}

/* Failed sign-in notice (loginfailed.jsp, loginfailed2.jsp, mfaloginfailed.jsp, mfa_failed.jsp, mfaloginerror.jsp): muted red strip above the form */
.es-brand.es-login .es-login-error{
	margin: 0 0 22px;
	padding: 10px 14px;
	border-left: 4px solid #b0413e;
	background: rgba(176, 65, 62, 0.08);
	color: #8a2f2c;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.4;
}

/* MFA pages (mfa_challenge.jsp, MFASetup report): a report's card arrives inside
   BIRT's fixed-width page table, so let that table shrink to the card and sit
   transparently on the navy band */
.es-brand.es-login #report_content{
	width: 100%;
	max-width: 400px;
}
.es-brand.es-login #__BIRT_ROOT,
.es-brand.es-login #__BIRT_ROOT table,
.es-brand.es-login #__BIRT_ROOT td{
	width: 100% !important;
	padding: 0;
	border: none;
	background: transparent !important;
}
.es-brand.es-login .loadingtext{
	color: white;
}
.es-brand.es-login .es-login-text{
	margin: 0 0 18px;
	color: #555555;
	font-family: inherit;
	font-size: 0.95rem;
	line-height: 1.5;
}
.es-brand.es-login input.es-login-code{
	text-align: center;
	letter-spacing: 0.4em;
	font-size: 1.3rem;
	font-weight: 600;
}

/* Loading state (#loading on every report JSP except the .es-login pages): a cream
   card with the gold rule and serif italic heading used by the report's Insights
   panel, and the spinner dots recoloured to navy/gold. Sizes are px rather than rem
   because some pages (e.g. home_page.jsp) set a 10px root font size */
.es-brand.es-loading{
	padding: 60px 16px;
}
.es-brand.es-loading .es-loading-card{
	max-width: 420px;
	margin: 0 auto;
	padding: 32px 36px 36px;
	background: var(--es-cream);
	border-top: 3px solid var(--es-gold);
	text-align: center;
}
.es-brand.es-loading .es-eyebrow{
	color: var(--es-gold);
	font-size: 13px;
	font-weight: 700;
}
.es-brand.es-loading .loadingtext{
	margin: 0;
	color: var(--es-navy);
	font-family: 'Source Serif 4', 'Source Serif Pro', serif;
	font-size: 26px;
	font-style: italic;
	line-height: 1.3;
}
.es-brand.es-loading .spinner{
	width: 28px;
	height: 28px;
	margin: 22px auto 0;
}
.es-brand.es-loading .spinner-container > div{
	width: 8px;
	height: 8px;
	background-color: var(--es-navy);
}
.es-brand.es-loading .container2 > div{
	background-color: var(--es-gold);
}
.es-brand.es-loading .container3 > div{
	background-color: var(--es-gold-light);
}
/* Inline loading message for a part of a page that loads after the page (RTO Home's units
   panel, student lists and class list): a small navy/gold ring turning before the text.
   px sizes for the same root-font reason as above. With reduced motion the ring pulses
   slowly instead of turning. */
.es-brand .es-inline-loading{
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--es-navy);
}
.es-brand .es-inline-loading::before{
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	box-sizing: border-box;
	border: 2px solid var(--es-gold-light);
	border-top-color: var(--es-navy);
	border-radius: 50%;
	animation: es-inline-spin 0.8s linear infinite;
}
/* On the navy hero (the RTOUnit page's unit details) the text and ring are light */
.es-brand .es-hero .es-inline-loading{
	color: white;
}
.es-brand .es-hero .es-inline-loading::before{
	border-color: rgba(255, 255, 255, 0.35);
	border-top-color: white;
}
@keyframes es-inline-spin{
	to{ transform: rotate(360deg); }
}
@keyframes es-inline-pulse{
	50%{ opacity: 0.4; }
}
@media (prefers-reduced-motion: reduce){
	.es-brand .es-inline-loading::before{
		animation: es-inline-pulse 2s ease-in-out infinite;
	}
}

/* While #loading is showing, the whole page is the footer's grey, so the short loading
   page is one colour instead of each page's own body colour (white, #f7f7f9, #f4f7f6)
   above and below the grey footer band. The pages hide #loading with an inline
   display:none when the report arrives, which switches this off and leaves the
   report's own background unchanged. The #loading id in :has() out-specifies the
   per-theme body and .header rules. A literal colour, as in the footer rule below:
   the --es-* variables are only defined inside .es-brand, not on html or body. */
html:has(#loading.es-loading:not([style*="none"])),
html:has(#loading.es-loading:not([style*="none"])) body,
html:has(#loading.es-loading:not([style*="none"])) .header,
html:has(#loading.es-loading:not([style*="none"])) .content{
	background: #F2F2F2;
}

/* Footer (.footer.es-footer on every JSP except the .es-login pages and login2.jsp):
   matches the exemplarservices.com.au footer bar - light grey band, logo left,
   muted grey copyright right. Not nested under .es-brand because the footer sits
   outside the report container; the two-class selector out-specifies the
   per-theme .footer rules (style-claude2.css etc.) */
.footer.es-footer{
	width: auto;
	height: auto;
	margin: 40px 0 0;
	padding: 0;
	background-color: #F2F2F2;
	color: #999999;
	text-align: left;
	font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
	font-size: 14px;
}
.es-footer .es-footer-inner{
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	max-width: 1100px;
	margin: 0 auto;
	padding: 20px 16px;
}
.es-footer .es-footer-logo{
	display: block;
	width: 150px;
	height: auto;
}
.es-footer .es-footer-copy{
	margin: 0;
	color: #999999;
	font-size: 14px;
}
