/* ATI marketing chrome — header + footer. Original stylesheet; no Divi/Shopify/WP imports. */

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--anchor-offset);
	scroll-padding-bottom: calc(var(--enrol-bar-h) + var(--chat-fab) + 3.5rem);
	overflow-x: clip;
	overflow-y: visible;
	overscroll-behavior-y: none;
	background-color: var(--color-navy);
	min-height: 100%;
}

[id] {
	scroll-margin-top: var(--anchor-offset);
}

body {
	margin: 0;
	min-height: 100vh;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	font-family: var(--font-sans);
	font-size: var(--fs-md);
	line-height: var(--lh-body);
	color: var(--color-text);
	background: var(--color-surface);
	overflow-x: clip;
	overflow-y: visible;
	overscroll-behavior-y: none;
	-webkit-font-smoothing: antialiased;
}

body.is-menu-open,
body.is-search-open,
body.is-cart-open {
	overflow: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input {
	font: inherit;
}

.skip-link {
	position: absolute;
	left: var(--space-4);
	top: -4rem;
	z-index: calc(var(--z-search) + 1);
	padding: var(--space-2) var(--space-4);
	background: var(--color-green);
	color: var(--color-text-on-dark);
	border-radius: var(--radius-sm);
}

.skip-link:focus {
	top: var(--space-4);
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.desktop-only {
	display: none;
}

.wrap {
	width: min(var(--container), calc(100% - (var(--gutter) * 2)));
	margin-inline: auto;
}

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 2.35rem;
	height: 2.35rem;
	padding: 0;
	border: 0;
	border-radius: var(--radius-pill);
	background: transparent;
	color: currentColor;
	cursor: pointer;
}

.overlay-close {
	width: var(--overlay-close);
	height: var(--overlay-close);
	min-width: var(--overlay-close);
	min-height: var(--overlay-close);
	border-radius: 0.375rem;
	color: var(--color-navy);
}

.overlay-close svg,
.icon-btn.overlay-close svg {
	width: 1.375rem;
	height: 1.375rem;
	stroke-width: 2.85;
}

.icon-btn svg {
	width: 1.4rem;
	height: 1.4rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.65;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: var(--btn-height);
	padding: 0 1.15rem;
	-webkit-appearance: none;
	appearance: none;
	border: 0;
	outline: none;
	box-shadow: none;
	border-radius: var(--radius-cta);
	background: var(--color-green-cta);
	background-image: none;
	background-clip: padding-box;
	color: var(--color-text-on-dark);
	font-weight: 700;
	font-size: var(--fs-sm);
	letter-spacing: 0.01em;
	white-space: nowrap;
	cursor: pointer;
}

.btn:hover {
	border: 0;
	box-shadow: none;
	background: var(--color-green-hover);
	background-image: none;
	filter: brightness(0.88);
}

.btn--blue {
	background: #0090bf;
	color: #fff;
}

.btn--blue:hover,
.btn--blue:focus-visible {
	background: #007aa3;
	filter: none;
}

/*
	One shared right-nav chevron (SVG mask) for every nav button.
	tel:/mailto:, filter clears, search submits and in-page tabs stay plain.
	Form submit without .has-nav-chevron is excluded. Selectors keep their own down chevron.
*/
a.btn:not([href^="tel:"]):not([href^="mailto:"]):not(.cat-clear):not(.explore-search-btn):not([data-filter]):not([data-shop-clear]):not([data-cat-clear]):not([role="tab"])::after,
button.btn.has-nav-chevron::after,
.btn-nav-chevron {
	content: "";
	display: inline-block;
	box-sizing: border-box;
	width: var(--nav-chevron-size);
	height: var(--nav-chevron-size);
	margin-left: 0.12em;
	flex: 0 0 auto;
	background-color: currentColor;
	-webkit-mask: var(--nav-chevron-mask) center / contain no-repeat;
	mask: var(--nav-chevron-mask) center / contain no-repeat;
	border: 0;
	transform: none;
}

a.btn.has-nav-chevron-down::after,
.has-nav-chevron-down .btn-nav-chevron {
	transform: rotate(90deg);
}

a.btn:not([href^="tel:"]):not([href^="mailto:"]) .btn-nav-chevron,
button.btn.has-nav-chevron .btn-nav-chevron {
	display: none;
}

.btn-block {
	width: 100%;
	height: 3.05rem;
	border-radius: var(--radius-cta);
	font-size: 1rem;
	font-weight: 650;
}

.btn-outline {
	background: var(--color-surface-bright);
	color: var(--color-text);
	box-shadow: inset 0 0 0 1.5px var(--color-navy);
}

.btn-outline:hover,
.btn-outline:focus-visible {
	background: var(--color-surface-bright);
	color: var(--color-navy);
	filter: none;
}

.btn:focus-visible,
.icon-btn:focus-visible,
.site-header a:focus-visible,
.site-footer a:focus-visible,
.site-menu a:focus-visible {
	outline: 2px solid var(--color-green-logo);
	outline-offset: 3px;
}

.btn:focus-visible {
	background: var(--color-green-hover);
	background-image: none;
	filter: brightness(0.88);
	border: 0;
	box-shadow: none;
}

.field-join {
	display: flex;
	width: 100%;
	height: 3.05rem;
	overflow: hidden;
	border-radius: var(--radius-cta);
	background: var(--color-surface-bright);
}

.field-join input {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0 1rem;
	border: 0;
	background: transparent;
	color: var(--color-text);
}

.field-join input::placeholder {
	color: #9aa3ad;
}

.field-join .btn {
	flex: 0 0 auto;
	height: 100%;
	border-radius: 0;
	padding: 0 1.25rem;
}

.chevron {
	display: inline-block;
	width: 0.46rem;
	height: 0.46rem;
	border-inline-end: 2.4px solid currentColor;
	border-bottom: 2.4px solid currentColor;
	flex: 0 0 auto;
}

.chevron-down {
	transform: rotate(45deg) translateY(-1px);
}

/*
	Mobile drawer chevrons — same hollow 2.4px border glyph as desktop mega.
	Collapsed points right; expanded points down. 46px strip inset to sit on
	the close-X optical centreline (menu-top pad 1rem + close margin 0.25rem +
	half of --overlay-close).
*/
.menu-chevron {
	position: absolute;
	top: 50%;
	right: calc(1rem + 0.25rem);
	width: var(--overlay-close);
	height: var(--overlay-close);
	display: grid;
	place-items: center;
	transform: translateY(-50%);
	pointer-events: none;
	color: var(--color-navy);
}

.menu-chevron .chevron {
	width: 0.68rem;
	height: 0.68rem;
	transform: rotate(-45deg);
	transition: transform 0.15s ease;
}

.menu-row > button[aria-expanded="true"] .menu-chevron .chevron {
	transform: rotate(45deg);
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: var(--z-header);
	background: var(--color-navy);
	color: var(--color-text-on-dark);
	border-bottom: 0;
	overflow: visible;
	transition: box-shadow var(--ease);
}

.header-utility-band,
.header-main-band,
.header-utility-spacer {
	display: none;
}

.site-header .wrap {
	width: 100%;
	padding-inline: 16px 22px;
	box-sizing: border-box;
}

.header-shell {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	min-height: var(--header-h-mobile);
	padding-block: 8px;
}

.logo {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1;
}

.logo img {
	/* Official PNG includes canvas padding; 60px box ≈ stg ~50px visible lockup */
	height: 60px;
	width: auto;
	max-width: min(210px, 52vw);
	object-fit: contain;
}

.header-tools {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	color: var(--color-text-on-dark);
}

.header-tools .icon-btn {
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	border-radius: 4px;
}

.header-tools .icon-btn svg {
	width: 24px;
	height: 24px;
}

[data-chrome-cart-open] {
	position: relative;
}

.cart-badge {
	position: absolute;
	top: -0.2rem;
	right: -0.28rem;
	z-index: 1;
	display: grid;
	place-items: center;
	min-width: 1.05rem;
	height: 1.05rem;
	padding: 0 0.22rem;
	border: 0;
	border-radius: var(--radius-pill);
	background: #e11d2e;
	color: #fff;
	font-family: var(--font-sans);
	font-size: 0.62rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	pointer-events: none;
}

.cart-badge[hidden] {
	display: none;
}

.header-tools [data-chrome-search-open] svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.header-tools a.icon-btn .phone-body,
.header-tools [data-chrome-cart-open] svg,
.header-tools .menu-btn svg {
	fill: currentColor;
	stroke: none;
}

.header-tools a.icon-btn .phone-wave {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
}

.primary-nav,
.header-enrol {
	display: none;
}

.home-icon {
	display: none;
}

/* ---------- Chat stub (SalesIQ-style corner widget) ---------- */

.site-chat {
	position: fixed;
	right: 1.15rem;
	bottom: calc(var(--enrol-bar-h) + 0.85rem);
	z-index: var(--z-chat);
	display: flex;
	align-items: flex-end;
	gap: 0.7rem;
	color: var(--color-navy);
	text-decoration: none;
	overflow: visible;
}

.site-chat-bubble {
	position: relative;
	max-width: 13.5rem;
	margin: 0;
	padding: 0.7rem 0.85rem 0.7rem 2.65rem;
	background: var(--color-surface-bright);
	border-radius: 1.05rem;
	box-shadow: 0 8px 24px rgba(0, 12, 28, 0.18);
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.35;
}

.site-chat-bubble a {
	color: inherit;
}

.site-chat-close {
	position: absolute;
	top: 0;
	left: 0;
	right: auto;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: #7a8794;
	font-size: 1.15rem;
	line-height: 1;
	cursor: pointer;
}

.site-chat-fab {
	display: grid;
	place-items: center;
	width: var(--chat-fab);
	height: var(--chat-fab);
	flex: 0 0 var(--chat-fab);
	padding: 0;
	border: 0;
	background: var(--color-surface-bright);
	border-radius: 50%;
	box-shadow: 0 8px 22px rgba(0, 12, 28, 0.22);
	overflow: hidden;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.site-chat-fab:focus-visible {
	outline: 2px solid var(--color-green);
	outline-offset: 2px;
}

.site-chat-fab img {
	width: 78%;
	height: 78%;
	object-fit: contain;
}

.site-chat.is-collapsed .site-chat-bubble {
	display: none;
}

.site-chat.is-book-hidden,
body.info-enrol .site-chat {
	display: none;
}

body.is-menu-open .site-chat,
body.is-search-open .site-chat,
body.is-cart-open .site-chat,
body.handbook-request-open .site-chat,
body.audit-results-open .site-chat,
body.career-watch-open .site-chat,
body.course-guide-open .site-chat,
body.ati-site-modal-open .site-chat,
body:has(dialog.ati-site-modal[open]) .site-chat,
body:has(dialog.career-watch-modal[open]) .site-chat,
body:has(dialog.handbook-request-modal[open]) .site-chat,
body:has(dialog.audit-results-modal[open]) .site-chat,
body:has(dialog.course-guide-modal[open]) .site-chat {
	display: none;
}

body.is-menu-open .to-top,
body.is-search-open .to-top,
body.is-cart-open .to-top,
body.handbook-request-open .to-top,
body.audit-results-open .to-top,
body.career-watch-open .to-top,
body.course-guide-open .to-top,
body.ati-site-modal-open .to-top,
body:has(dialog.ati-site-modal[open]) .to-top,
body:has(dialog.career-watch-modal[open]) .to-top,
body:has(dialog.handbook-request-modal[open]) .to-top,
body:has(dialog.audit-results-modal[open]) .to-top,
body:has(dialog.course-guide-modal[open]) .to-top {
	display: none;
}

/* ---------- White mobile menu ---------- */

.site-menu {
	position: fixed;
	inset: 0;
	z-index: var(--z-overlay);
	display: flex;
	flex-direction: column;
	height: 100%;
	height: 100dvh;
	background: var(--color-surface-bright);
	color: var(--color-text);
	font-family: var(--font-sans);
	overflow: hidden;
}

.site-menu[hidden] {
	display: none !important;
}

.menu-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex: 0 0 auto;
	min-height: 4.875rem;
	padding: 0 1rem 0 1rem;
	border-bottom: 1px solid #e6e8ec;
}

.menu-top .logo img {
	height: 3.625rem;
}

.menu-top .logo-rto {
	color: var(--color-navy);
}

.menu-close {
	margin-right: 0.25rem;
	color: var(--color-navy);
}

.menu-list {
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	padding-bottom: 0.5rem;
}

.menu-row {
	border-bottom: 1px solid #e6e8ec;
}

.menu-row > button,
.menu-row > .menu-link {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0.82rem calc(var(--overlay-close) + 1.25rem) 0.82rem 1.15rem;
	border: 0;
	background: transparent;
	color: var(--color-navy);
	font-family: var(--font-sans);
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: 0;
	text-align: left;
	cursor: pointer;
}

.menu-row-label {
	display: inline-block;
	padding-bottom: 0.12rem;
}

.menu-row > button[aria-expanded="true"] {
	background: #eceef1;
	box-shadow: inset 0 -2px 0 var(--color-green);
}

.menu-sub {
	margin: 0;
	padding: 0;
	list-style: none;
	background: #f3f4f6;
}

.menu-sub a {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.85rem 1.15rem;
	border-bottom: 1px solid #e6e8ec;
	color: var(--color-navy);
	font-family: var(--font-sans);
	font-size: 1.05rem;
	font-weight: 500;
}

.menu-sub-courses img {
	flex: 0 0 1.75rem;
	width: 1.75rem;
	height: 1.75rem;
	object-fit: contain;
}

.menu-course-group {
	border-bottom: 1px solid #e6e8ec;
}

.menu-course-group > ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu-course-heading {
	font-weight: 700;
}

.menu-course-group > ul a {
	padding-left: 3.15rem;
	font-weight: 500;
}

.menu-course-nested {
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu-course-nested a {
	padding-left: 4.15rem;
	font-size: 1rem;
}

.menu-course-all a {
	font-weight: 700;
}

.menu-cta {
	display: grid;
	flex: 0 0 auto;
	gap: 0;
	padding: 0.65rem 0 calc(0.75rem + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid #e6e8ec;
	background: var(--color-surface-bright);
	box-shadow: 0 -8px 20px rgba(0, 28, 60, 0.06);
}

.menu-cta .btn {
	width: auto;
	min-height: 48px;
	height: 48px;
	margin: 12px 5% 8px;
	padding: 14px 20px;
	border-radius: var(--radius-cta);
	border: 0;
	box-shadow: none;
	background: var(--color-green-cta);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
}

.menu-cta .btn-outline {
	margin: 0 5% 16px;
	background: var(--color-surface-bright);
	color: var(--color-navy);
	border: 0;
	box-shadow: inset 0 0 0 1.5px var(--color-navy);
}

/* ---------- Enrol bar ---------- */

.site-enrol-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	width: auto;
	max-width: 100%;
	z-index: calc(var(--z-overlay) - 1);
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	min-height: var(--enrol-bar-h);
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
	background: var(--color-navy);
	border-top: 2px solid var(--color-green);
	box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.22);
	color: var(--color-text-on-dark);
}

.site-enrol-bar p {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.site-enrol-bar .btn {
	flex: 0 0 auto;
	height: 40px;
	min-height: 40px;
	padding: 0 18px;
	border: 0;
	box-shadow: none;
	border-radius: var(--radius-cta);
	background: var(--color-green-cta);
	color: var(--color-text-on-dark);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

body.is-menu-open .site-enrol-bar,
body.is-search-open .site-enrol-bar,
body.is-cart-open .site-enrol-bar,
body.no-sticky-enrol .site-enrol-bar,
body.handbook-request-open .site-enrol-bar,
body.audit-results-open .site-enrol-bar,
body.career-watch-open .site-enrol-bar,
body:has(dialog.ati-site-modal[open]) .site-enrol-bar,
body:has(dialog.career-watch-modal[open]) .site-enrol-bar,
body:has(dialog.handbook-request-modal[open]) .site-enrol-bar,
body:has(dialog.audit-results-modal[open]) .site-enrol-bar {
	display: none !important;
}

body.no-sticky-enrol .site-footer {
	padding-bottom: 0;
}

body.no-sticky-enrol .site-chat {
	bottom: 0.85rem;
}

body.no-sticky-enrol .to-top {
	bottom: calc(0.85rem + var(--chat-fab) + 0.65rem);
}

/* ---------- Search ---------- */

.search-overlay {
	position: fixed;
	inset: 0;
	z-index: var(--z-search);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem 1rem;
	background: rgba(0, 28, 60, 0.82);
	font-family: var(--font-sans);
}

.search-overlay[hidden] {
	display: none !important;
}

.search-panel {
	position: relative;
	width: min(32.5rem, 100%);
	max-height: min(90vh, 42.5rem);
	overflow: auto;
	padding: 1.35rem 1.25rem 1.25rem;
	background: var(--color-surface-bright);
	color: var(--color-navy);
	border-radius: 1.25rem;
	box-shadow: 0 12px 40px rgba(0, 12, 28, 0.28);
	font-family: var(--font-sans);
}

.search-overlay h2 {
	margin: 0 2.75rem 0.25rem 0;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
}

.search-sub {
	margin: 0 2.75rem 0.85rem 0;
	color: rgba(0, 28, 60, 0.62);
	font-size: 0.9rem;
	font-weight: 400;
}

.search-field-wrap {
	position: relative;
	margin: 0 0 1.1rem;
}

.search-form {
	display: flex;
	align-items: stretch;
	margin: 0;
	border: 1px solid rgba(0, 28, 60, 0.22);
	border-radius: var(--radius-cta);
	overflow: hidden;
	background: var(--color-surface-bright);
}

.search-form input {
	flex: 1;
	min-width: 0;
	padding: 0.75rem 0.9rem;
	border: 0;
	outline: none;
	box-shadow: none;
	background: transparent;
	color: var(--color-navy);
	font-family: var(--font-sans);
	font-size: 1rem;
	appearance: none;
	-webkit-appearance: none;
}

.search-form input:focus,
.search-form input:focus-visible,
.search-form input:focus-within {
	outline: none;
	box-shadow: none;
	border: 0;
}

.search-form input[type="search"]::-webkit-search-decoration,
.search-form input[type="search"]::-webkit-search-cancel-button,
.search-form input[type="search"]::-webkit-search-results-button,
.search-form input[type="search"]::-webkit-search-results-decoration {
	-webkit-appearance: none;
}

.search-form input::placeholder {
	color: rgba(0, 28, 60, 0.45);
}

.search-submit {
	flex: 0 0 auto;
	height: auto;
	min-width: 3rem;
	gap: 0.5rem;
	padding: 0 1rem;
	margin-block: -1px;
	margin-right: -1px;
	border: 0;
	border-radius: 0;
	outline: none;
	box-shadow: none;
	background: var(--color-green-cta);
	color: var(--color-text-on-dark);
	font-family: var(--font-sans);
	font-size: 0.95rem;
	font-weight: 700;
}

.search-submit:hover,
.search-submit:focus-visible {
	border: 0;
	outline: none;
	box-shadow: none;
	background: var(--color-green-cta);
}

.search-submit svg {
	width: 1rem;
	height: 1rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}

.search-popular-label {
	margin: 0 0 0.65rem;
	color: rgba(0, 28, 60, 0.62);
	font-size: 0.8rem;
	font-weight: 600;
}

.search-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.search-chips a {
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 0.65rem;
	border: 1px solid rgba(0, 28, 60, 0.22);
	border-radius: var(--radius-pill);
	background: var(--color-surface-bright);
	color: var(--color-navy);
	font-family: var(--font-sans);
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.search-chips a:hover,
.search-chips a:focus-visible {
	border-color: rgba(0, 28, 60, 0.38);
	background: #f5f7f9;
	color: var(--color-navy);
}

.search-results,
.search-suggest {
	position: relative;
	z-index: 20;
	margin: 0.45rem 0 0;
	padding: 0.25rem;
	list-style: none;
	display: grid;
	gap: 0.2rem;
	max-height: 16.5rem;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	border: 1px solid rgba(0, 28, 60, 0.14);
	border-radius: 0.75rem;
	background: #fff;
	box-shadow: 0 10px 28px rgba(0, 12, 28, 0.14);
}

.search-results[hidden],
.search-suggest[hidden] {
	display: none;
}

.search-results li,
.search-suggest li {
	display: grid;
	gap: 0.1rem;
	padding: 0;
	border-radius: 0.45rem;
	background: transparent;
}

.search-results a,
.search-suggest a {
	display: grid;
	gap: 0.1rem;
	padding: 0.5rem 0.65rem;
	border-radius: 0.45rem;
	color: inherit;
	text-decoration: none;
}

.search-results [role="option"].is-active a,
.search-suggest [role="option"].is-active a,
.search-results a:hover,
.search-suggest a:hover {
	background: #f5f7f9;
}

.search-results span,
.search-suggest .search-kind {
	color: rgba(0, 28, 60, 0.62);
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.search-results strong,
.search-suggest [role="option"] strong {
	font-size: 0.92rem;
	font-weight: 650;
}

.search-snippet {
	color: var(--color-muted);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.35;
}

.search-empty {
	color: var(--color-muted);
	font-size: 0.88rem;
	padding: 0.65rem 0.75rem;
	display: grid;
	gap: 0.4rem;
}

.search-empty p {
	margin: 0;
}

.search-empty-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 1rem;
}

.search-suggest .search-empty a,
.search-results .search-empty a {
	display: inline-flex;
	padding: 0;
	color: var(--color-navy);
	font-weight: 650;
	text-decoration: underline;
}

/* Sitewide secondary text link: underline only. Buttons keep the nav chevron. */
.text-link {
	--text-link-arrow: 0;
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0;
	padding: 0 0 0.14em;
	border: 0;
	background: none;
	color: #001c3c;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	cursor: pointer;
}

.text-link:hover,
.text-link:focus-visible {
	color: #001c3c;
}

.text-link::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.08em;
	height: 0.13em;
	background: currentColor;
	border-radius: 1px;
}

.text-link::after {
	content: none;
	display: none;
	flex: 0;
	width: 0;
}

.search-overlay .search-close {
	position: absolute;
	top: 0.4rem;
	right: 0.4rem;
}

.cart-overlay {
	position: fixed;
	inset: 0;
	z-index: var(--z-cart);
	display: flex;
	justify-content: flex-end;
	font-family: var(--font-sans);
}

.cart-overlay[hidden] {
	display: none !important;
}

.cart-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 28, 60, 0.55);
}

.cart-drawer {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(26.5rem, 100%);
	height: 100%;
	height: 100dvh;
	background: var(--color-surface-bright);
	color: var(--color-navy);
	box-shadow: -12px 0 40px rgba(0, 12, 28, 0.22);
}

.cart-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 4.875rem;
	padding: 0 0.65rem 0 1.15rem;
	border-bottom: 1px solid #e6e8ec;
}

.cart-top h2 {
	margin: 0;
	color: var(--color-navy);
	font-size: 1.25rem;
	font-weight: 500;
	letter-spacing: -0.01em;
}

.cart-empty {
	display: grid;
	justify-items: center;
	align-content: start;
	gap: 1rem;
	padding: 2.5rem 1.5rem 2rem;
	text-align: center;
}

.cart-empty[hidden],
.cart-filled[hidden] {
	display: none;
}

.cart-empty p {
	margin: 0 0 0.5rem;
	color: var(--color-navy);
	font-size: 1rem;
	font-weight: 400;
}

.cart-empty .btn.btn-block {
	width: 100%;
	max-width: 18rem;
	min-height: 3rem;
	height: 3rem;
	border-radius: var(--radius-cta);
}

.cart-continue {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--color-navy);
	font-family: var(--font-sans);
	font-size: 0.875rem;
	font-weight: 400;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.cart-filled {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
}

.cart-lines {
	flex: 1;
	overflow: auto;
	margin: 0;
	padding: 0.35rem 1.15rem 0.5rem;
	list-style: none;
}

.cart-line,
.cart-item {
	display: grid;
	gap: 0.55rem;
	padding: 1rem 0;
	border-bottom: 1px solid #e6e8ec;
}

.cart-item {
	grid-template-columns: 1fr;
}

.cart-item-title {
	margin: 0;
	color: var(--color-navy-mid);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.35;
}

.cart-item-fact-line,
.cart-item-seats,
.cart-item-gst {
	display: block;
	margin: 0.18rem 0 0;
	color: var(--color-muted);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.4;
}

.cart-item-seats {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem;
}

.cart-item-code,
.cart-item-meta {
	display: none;
}

.cart-item-facts,
.cart-item-fact {
	display: none;
}

.cart-item-price-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem 0.85rem;
	margin-top: 0.45rem;
}

.cart-item-unit,
.cart-item-line {
	margin: 0;
	color: var(--color-navy-mid);
	font-size: 0.875rem;
	font-weight: 500;
}

.cart-item-line {
	margin-left: auto;
	font-weight: 600;
}

.cart-item-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
}

.cart-item .cart-qty {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	width: auto;
	height: auto;
	padding: 0;
	border: 0;
}

.cart-item .cart-qty-btn {
	width: 2rem;
	height: 2rem;
	border: 1px solid rgba(0, 28, 60, 0.18);
	border-radius: 6px;
	background: #fff;
	color: var(--color-navy);
	font: inherit;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.cart-item .cart-qty-btn:hover,
.cart-item .cart-qty-btn:focus-visible {
	border-color: var(--color-green);
}

.cart-item .cart-qty-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.cart-drawer .cv2-sched-seats {
	display: inline-flex;
	align-items: center;
	padding: 0.12rem 0.42rem;
	border-radius: 3px;
	background: color-mix(in srgb, var(--color-green) 16%, transparent);
	color: var(--color-navy);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	white-space: nowrap;
}

.cart-drawer .cv2-sched-seats.is-limited {
	background: rgba(214, 144, 24, 0.2);
	color: #8a4b00;
}

.cart-drawer .cv2-sched-seats.is-full {
	background: rgba(180, 35, 24, 0.14);
	color: #8a1c14;
}

.cart-gst-note {
	display: none;
	margin: 0;
	color: var(--color-muted);
	font-size: 0.8125rem;
	font-weight: 500;
}

.cart-gst-note.is-visible {
	display: block;
}

.cart-line-title {
	margin: 0;
	color: var(--color-navy);
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.4;
}

.cart-line-code {
	margin-right: 0.4em;
	letter-spacing: 0.01em;
}

.cart-line-detail {
	margin: 0.2rem 0 0;
	color: #6b7280;
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.4;
}

.cart-line-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 0.85rem;
}

.cart-line-price {
	margin: 0;
	color: var(--color-navy);
	font-size: 0.9375rem;
	font-weight: 400;
}

.cart-qty-label {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: #6b7280;
	font-size: 0.8125rem;
	font-weight: 400;
}

.cart-qty {
	width: 3.15rem;
	height: 2rem;
	padding: 0 0.35rem;
	border: 1px solid #d5dae0;
	border-radius: var(--radius-cta);
	color: var(--color-navy);
	font: inherit;
	font-weight: 400;
}

.cart-remove {
	margin-left: auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: #6b7280;
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 400;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.cart-summary {
	display: grid;
	gap: 0.75rem;
	padding: 1rem 1.15rem 1.25rem;
	border-top: 1px solid #e6e8ec;
}

.cart-subtotal {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 0;
}

.cart-subtotal-label {
	color: #6b7280;
	font-size: 0.8125rem;
	font-weight: 400;
}

.cart-subtotal-amount {
	color: var(--color-navy);
	font-size: 1rem;
	font-weight: 400;
}

.cart-checkout {
	width: 100%;
	min-height: 3rem;
	height: 3rem;
	border: 0;
	outline: none;
	box-shadow: none;
	background: var(--color-green-cta);
	color: var(--color-text-on-dark);
}

.cart-checkout:hover,
.cart-checkout:focus-visible {
	border: 0;
	outline: none;
	box-shadow: none;
	background: var(--color-green-cta);
}

/* ---------- Page frame ---------- */

.page-main {
	flex: 1 0 auto;
	display: block;
	min-height: 0;
	padding: 0;
}

/* ---------- Footer ---------- */

.site-footer {
	background: transparent;
	color: var(--color-text);
	padding-bottom: 0;
}

.footer-enquiry {
	background: var(--color-surface-bright);
	color: var(--color-navy);
	padding-block: 2.25rem;
	text-align: center;
}

/*
	The last content section must not share the white pre-footer band.
	Keep .footer-enquiry on --color-surface-bright so pages that already
	end on cream, navy, cool-grey or the articles listing tint stay distinct
	(Group Bookings contact-body, Working with Us band-cream, home-blogs).
	Unbanded last sections get the cream surface instead.
	Navy closers and mid-page navy bands (.live-cta / .band-navy /
	.articles-join) stay navy so white type stays readable.
	Adjacent light sections are painted white / cream via [data-band] so
	two consecutive full-width bands never match. Navy, heroes, industry
	intros, Explore Courses and the cool-grey contact body count as
	different. chrome.js walks each run of light sections and ends the
	run on cream so the white pre-footer stays distinct. Hero/intro/navy
	and .industry-explore keep their own background even if a stale
	data-band attribute is present. No-JS fallback still creams the last
	unbanded section.
*/
.page-main > section:last-of-type:not(.band-cream):not(.about-history):not(.home-blogs):not(.contact-body):not(.articles-all-band):not(.enrol-all-band):not(.live-cta):not(.band-navy):not(.articles-join):not(.industry-intro):not(.industry-explore) {
	background: var(--color-surface);
}

.page-main > section[data-band="white"]:not(.industry-intro):not(.industry-explore):not(.info-hero):not(.page-hero):not(.home-hero):not(.cv2-hero):not(.course-hero):not(.article-hero):not(.articles-join):not(.band-navy):not(.live-cta) {
	background: var(--color-surface-bright);
}

.page-main > section[data-band="cream"]:not(.industry-intro):not(.industry-explore):not(.info-hero):not(.page-hero):not(.home-hero):not(.cv2-hero):not(.course-hero):not(.article-hero):not(.articles-join):not(.band-navy):not(.live-cta) {
	background: var(--color-surface);
}

.enquiry-inner h2 {
	margin: 0 0 var(--space-6);
	font-size: clamp(1.55rem, 3vw, 2rem);
	font-weight: 700;
	letter-spacing: -0.03em;
}

.enquiry-inner p {
	margin: 0 0 var(--space-6);
	color: var(--color-muted);
	font-size: var(--fs-md);
}

.enquiry-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 1rem;
}

.footer-enquiry .btn {
	height: auto;
	min-height: 44px;
	padding: 0.75em 1.4em;
	border: 0;
	box-shadow: none;
	border-radius: var(--radius-cta);
	background: var(--color-green-cta);
	background-image: none;
	font-size: 0.95rem;
	font-weight: 700;
}

.footer-navy {
	background: var(--color-navy);
	color: var(--color-text-on-dark);
	padding-bottom: calc(var(--enrol-bar-h) + var(--footer-float-clear));
}

body.no-sticky-enrol .footer-navy {
	padding-bottom: var(--footer-float-clear);
}

.footer-subscribe {
	padding-block: 2.15rem 1rem;
	scroll-margin-top: var(--header-h-mobile);
}

.footer-subscribe .wrap {
	width: min(var(--container), calc(100% - (var(--gutter) * 2)));
	max-width: var(--container);
}

.subscribe-copy {
	justify-self: start;
	width: 100%;
	text-align: left;
}

.subscribe-copy p {
	display: none;
}

.subscribe-copy h2 {
	margin: 0 0 var(--space-3);
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-align: left;
}

.subscribe-copy p,
.subscribe-form p {
	margin: 0.4rem 0 0;
	color: var(--color-muted-on-dark);
	font-size: 0.78rem;
}

.subscribe-form a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.subscribe-form.is-subscribed .field-join,
.subscribe-form.is-subscribed [data-chrome-subscribe-fields],
.subscribe-form.is-subscribed [data-chrome-subscribe-consent],
.subscribe-form.is-subscribed > p:not([data-chrome-subscribe-note]) {
	display: none;
}

.subscribe-form.is-subscribed [data-chrome-subscribe-note] {
	margin-top: 0;
	color: var(--color-text-on-dark);
	font-size: 0.95rem;
}

.footer-brand-col,
.footer-brand {
	display: grid;
	justify-items: center;
	gap: 0.75rem;
	text-align: center;
}

.footer-brand .logo {
	align-items: center;
}

.footer-brand .logo img {
	height: 5.5rem;
}

.socials {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.65rem;
}

.socials a {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 0;
	background: transparent;
}

.socials img {
	width: 100%;
	height: 100%;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-areas:
		"brand brand"
		"courses resources"
		"legal shop"
		"badges badges";
	gap: 0.85rem 1.25rem;
	padding: 1.85rem 0 0.35rem;
	border-top: 1px solid var(--color-line);
}

.footer-brand-col {
	display: contents;
}

.footer-brand {
	grid-area: brand;
}

.footer-col-courses {
	grid-area: courses;
}

.footer-col-resources {
	grid-area: resources;
}

.footer-col-legal,
.footer-legal-col {
	grid-area: legal;
}

.footer-col-shop {
	grid-area: shop;
	display: grid;
	align-content: start;
	gap: 1.65rem;
}

.footer-badges {
	grid-area: badges;
	justify-items: start;
	justify-self: stretch;
}

.footer-mobile-hide {
	display: none;
}

.footer-col h2,
.footer-legal-col h2 {
	margin: 0 0 var(--space-4);
	color: #fff;
	font-size: 0.95rem;
	font-weight: 750;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.footer-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.45rem;
}

.footer-col a {
	color: rgba(255, 255, 255, 0.84);
	font-size: 0.94rem;
	font-weight: 450;
}

.memberships {
	display: grid;
	gap: 0.5rem;
	justify-items: start;
	width: 100%;
}

.memberships a {
	display: grid;
	place-items: center;
	border-radius: 0.25rem;
	padding: 0.3rem 0.4rem;
}

.membership-skills {
	background: var(--color-surface-bright);
	justify-self: start;
	padding: 0.35rem 0.45rem 0.3rem;
	overflow: hidden;
}

.membership-skills .skills-reverse {
	display: none;
}

.membership-skills .skills-colour {
	display: block;
	max-height: 2.85rem;
	object-fit: contain;
	object-position: center top;
}

.memberships a.membership-on-light {
	background: var(--color-surface-bright);
}

.memberships img {
	width: auto;
	max-height: 2.6rem;
}

.memberships .pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
	width: min(10.5rem, 100%);
}

.memberships .pair a {
	min-height: 2.6rem;
}

.memberships .pair img {
	max-height: 2.25rem;
}

.footer-legalbar {
	border-top: 1px solid var(--color-line-strong);
	padding: var(--space-5) 0 var(--space-6);
}

.footer-legalbar p {
	margin: 0;
	color: var(--color-muted-on-dark);
	font-size: 0.72rem;
	line-height: 1.55;
	text-align: center;
}

.to-top {
	position: fixed;
	left: auto;
	right: calc(1.15rem + (var(--chat-fab) - 2.75rem) / 2);
	bottom: calc(var(--enrol-bar-h) + 0.85rem + var(--chat-fab) + 0.65rem);
	z-index: 60;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: var(--radius-pill);
	background: #1a73e8;
	color: var(--color-text-on-dark);
	box-shadow: 0 4px 14px rgba(0, 12, 28, 0.28);
	opacity: 0;
	pointer-events: none;
	cursor: pointer;
}

.to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
}

.to-top svg {
	width: 1.2rem;
	height: 1.2rem;
	fill: none;
	stroke: currentColor;
}

/* Hamburger header 700–1199: keep the phone chrome, but size the lockup
   like the desktop logo (not the old 3.15rem / 170px tablet shrink) and
   centre it with the tools on one row. Phone <700 and mega ≥1200 stay put. */
@media (min-width: 700px) and (max-width: 1199.98px) {
	:root {
		--header-h-mobile: 7.25rem;
	}

	.header-mobile .header-shell {
		align-items: center;
		min-height: var(--header-h-mobile);
		padding-block: 0.5rem;
	}

	.header-mobile .logo {
		flex: 0 0 auto;
		align-self: center;
		margin-top: 0;
		padding-bottom: 0;
	}

	.header-mobile .logo img {
		height: 6.25rem;
		width: auto;
		max-width: none;
		aspect-ratio: 220 / 118;
		object-fit: contain;
		object-position: left center;
		flex-shrink: 0;
	}

	.header-mobile .header-tools {
		align-items: center;
		align-self: center;
	}
}

@media (min-width: 1200px) {
	:root {
		--gutter: 2rem;
		--anchor-offset: calc(var(--utility-h) + var(--anchor-gap));
	}

	html {
		scroll-padding-bottom: calc(var(--chat-fab) + 3.5rem);
	}

	li.desktop-only {
		display: list-item;
	}

	p.desktop-only {
		display: block;
	}

	.site-header {
		display: contents;
	}

	.site-header,
	.site-header button,
	.site-header a {
		font-family: var(--font-sans);
	}

	.site-header .wrap {
		width: min(var(--header-shell), calc(100% - 2.5rem));
		max-width: var(--header-shell);
		margin-inline: auto;
		padding-inline: 0;
	}

	.header-mobile {
		display: none;
	}

	.header-utility-band {
		display: block;
		position: sticky;
		top: 0;
		z-index: calc(var(--z-header) - 1);
		color: var(--color-text-on-dark);
		background: linear-gradient(
			135deg,
			var(--color-utility-from) 0%,
			var(--color-navy) 50%
		);
	}

	.header-utility-spacer {
		display: none;
	}

	.header-utility-inner {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 1.15rem;
		min-height: var(--utility-h);
	}

	.utility-nav {
		display: flex;
		align-items: center;
		gap: 1.85rem;
	}

	.utility-nav a {
		display: inline-flex;
		align-items: center;
		gap: 0.32rem;
		color: var(--color-text-on-dark);
		font-family: var(--font-sans);
		font-size: 0.72rem;
		font-weight: 700;
		letter-spacing: 0.01em;
	}

	.utility-nav a[aria-current="page"] {
		color: var(--color-green) !important;
	}

	.utility-contact .phone-icon {
		width: 0.95rem;
		height: 0.95rem;
		overflow: visible;
	}

	.utility-contact .phone-body {
		fill: currentColor;
		stroke: none;
	}

	.utility-contact .phone-wave {
		fill: none;
		stroke: currentColor;
		stroke-width: 1.85;
		stroke-linecap: round;
	}

	.utility-actions {
		display: flex;
		align-items: center;
		gap: 0.35rem;
	}

	.utility-search,
	.utility-cart {
		width: 2rem;
		height: 2rem;
		color: var(--color-text-on-dark);
	}

	.utility-search svg {
		width: 1.15rem;
		height: 1.15rem;
		fill: none;
		stroke: currentColor;
		stroke-width: 2;
		stroke-linecap: round;
		stroke-linejoin: round;
	}

	.utility-cart svg {
		width: 1.2rem;
		height: 1.2rem;
		fill: currentColor;
		stroke: none;
	}

	.utility-cart .cart-badge {
		top: -0.12rem;
		right: 0.22rem;
	}

	.header-main-band {
		display: block;
		position: relative;
		z-index: var(--z-header);
		color: var(--color-text-on-dark);
		background: var(--color-navy);
		overflow: visible;
	}

	.header-main-inner {
		display: flex;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0.75rem;
		min-height: var(--mainbar-h);
		/* Definite height so nav items can stretch to the bar bottom
		   (logo box 8.15rem + pad − overlap). Mega origin stays put. */
		height: max(var(--mainbar-h), calc(8.15rem + 0.45rem - var(--logo-overlap)));
		overflow: visible;
	}

	.header-main-inner .logo {
		position: relative;
		z-index: 2;
		margin-top: calc(var(--logo-overlap) * -1);
		align-self: flex-end;
		flex: 0 0 auto;
		padding-bottom: 0.45rem;
	}

	.header-main-inner .logo img {
		height: 8.15rem;
		max-width: none;
	}

	.header-main-row {
		display: flex;
		align-items: center;
		align-self: stretch;
		justify-content: flex-end;
		gap: 1.35rem;
		flex: 1 1 auto;
		min-width: 0;
		margin-left: auto;
	}

	.header-tools,
	.site-menu,
	.site-enrol-bar {
		display: none !important;
	}

	.primary-nav {
		display: flex;
		align-self: stretch;
		align-items: stretch;
		flex: 0 1 auto;
		min-width: 0;
	}

	.primary-nav > ul {
		display: flex;
		align-items: stretch;
		justify-content: flex-end;
		width: auto;
		height: 100%;
		gap: 0.95rem;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.nav-item {
		position: relative;
		z-index: 5;
		align-self: stretch;
		display: flex;
		align-items: center;
	}

	.sub-menu .nav-desktop-hide {
		display: none;
	}

	.nav-item > button.has-sub,
	.nav-item > a.has-sub {
		position: relative;
		display: inline-flex;
		align-items: center;
		gap: 0.42rem;
		height: 2.35rem;
		padding: 0 0.45rem;
		border: 0;
		background: transparent;
		color: var(--color-text-on-dark);
		font-family: var(--font-sans);
		font-size: 1.0625rem;
		font-weight: 600;
		text-decoration: none;
		cursor: pointer;
	}

	.nav-item:hover > .has-sub::after,
	.nav-item:focus-within > .has-sub::after {
		content: "";
		position: absolute;
		left: 0.45rem;
		right: 1.55rem;
		bottom: 0.15rem;
		height: 2px;
		background: var(--color-green);
	}

	.nav-item-courses {
		position: static;
		z-index: 5;
	}

	.courses-mega {
		position: absolute;
		top: 100%;
		left: 50%;
		z-index: 4;
		width: min(var(--mega-shell), calc(100% - 2.5rem));
		margin: 0;
		padding: 0;
		background: var(--color-surface-bright);
		color: var(--color-navy);
		border: 0;
		border-top: 2px solid var(--color-green);
		border-radius: 0 0 var(--radius-md) var(--radius-md);
		box-shadow: 0 18px 40px rgba(0, 12, 28, 0.18);
		font-family: var(--font-sans);
		opacity: 0;
		visibility: hidden;
		transform: translateX(-50%);
		pointer-events: none;
	}

	.courses-mega::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 100%;
		/* Gap-only bridge: diagonal Courses → panel stays open.
		   Must not cover sibling triggers (Group Bookings / Pathways / Resources). */
		height: 1.15rem;
	}

	.sub-menu::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 100%;
		height: 0.85rem;
	}

	.nav-item:hover > .courses-mega,
	.nav-item.is-mega-open > .courses-mega,
	.nav-item > .has-sub:focus-visible + .courses-mega,
	.courses-mega:focus-within,
	.nav-item:hover > .sub-menu,
	.nav-item.is-mega-open > .sub-menu,
	.nav-item > .has-sub:focus-visible + .sub-menu,
	.sub-menu:focus-within {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.sub-menu {
		position: absolute;
		/* Same origin as .courses-mega: bottom of the main mega/nav bar */
		top: 100%;
		left: 0;
		z-index: 4;
		width: max-content;
		min-width: 14.5rem;
		margin: 0;
		padding: 0.45rem 0.25rem 0.55rem;
		list-style: none;
		background: var(--color-surface-bright);
		color: var(--color-navy);
		border: 0;
		border-top: 2px solid var(--color-green);
		border-radius: 0 0 var(--radius-md) var(--radius-md);
		box-shadow: 0 18px 40px rgba(0, 12, 28, 0.18);
		font-family: var(--font-sans);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}

	.sub-menu a {
		position: relative;
		display: block;
		padding: 0.55rem 1.05rem;
		color: var(--color-navy);
		font-family: var(--font-sans);
		font-size: 1.0625rem;
		font-weight: 400;
		line-height: 1.3;
	}

	.sub-menu li:not(:last-child) a::after {
		content: "";
		position: absolute;
		left: 1.05rem;
		right: 1.05rem;
		bottom: 0;
		height: 1px;
		background: color-mix(in srgb, var(--color-green) 32%, transparent);
		pointer-events: none;
	}

	.sub-menu a:hover,
	.sub-menu a:focus-visible {
		color: #0a3d66;
	}

	.courses-mega-inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 10.25rem;
		align-items: stretch;
		gap: 0.85rem 1rem;
		min-height: 0;
		padding: 1rem 1.15rem 1.05rem;
		font-family: var(--font-sans);
	}

	.courses-mega-main {
		display: flex;
		flex-direction: column;
		min-width: 0;
		min-height: 100%;
	}

	.courses-mega-cols {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 0.7rem 0.65rem;
		min-width: 0;
		flex: 1 1 auto;
		align-items: stretch;
	}

	.courses-mega-group {
		display: flex;
		flex-direction: column;
		min-width: 0;
		height: 100%;
	}

	.courses-mega-group h3,
	.courses-mega-sub {
		display: flex;
		align-items: flex-start;
		gap: 0.28rem;
		min-width: 0;
		color: var(--color-navy);
		font-size: 0.78rem;
		font-weight: 700;
		letter-spacing: 0;
		line-height: 1.15;
		text-transform: uppercase;
	}

	.courses-mega-heading {
		display: flex;
		align-items: flex-start;
		gap: 0.28rem;
		min-width: 0;
		margin: 0;
		padding: 0;
		color: inherit;
		font: inherit;
		letter-spacing: inherit;
		line-height: inherit;
		text-transform: inherit;
		text-decoration: none;
	}

	.courses-mega-heading:hover,
	.courses-mega-heading:focus-visible {
		color: #0a3d66;
		text-decoration: underline;
		text-underline-offset: 0.18em;
	}

	.courses-mega-group h3 {
		margin: 0 0 0.22rem;
		padding-bottom: 0.28rem;
		border-bottom: 2px solid var(--color-green);
	}

	.courses-mega-group h3 img,
	.courses-mega-sub img {
		flex: 0 0 1.2rem;
		width: 1.2rem;
		height: 1.2rem;
		object-fit: contain;
	}

	.courses-mega-group h3 span,
	.courses-mega-sub span {
		min-width: 0;
		flex: 1 1 auto;
		white-space: normal;
		overflow-wrap: break-word;
	}

	.courses-mega-sub {
		margin: 0.85rem 0 0.45rem;
		padding-bottom: 0.4rem;
		border-bottom: 2px solid var(--color-green);
	}

	.courses-mega-group ul {
		margin: 0;
		padding: 0;
		list-style: none;
		display: grid;
		grid-template-rows: repeat(3, minmax(1.35rem, auto)) auto;
		gap: 0;
		flex: 1 1 auto;
		align-content: start;
	}

	.courses-mega-nested {
		margin: 0.1rem 0 0.15rem;
		padding: 0 0 0 0.75rem;
		list-style: none;
		display: grid;
		gap: 0;
	}

	.courses-mega-all {
		margin: 0.65rem 0 0;
		padding-top: 0.5rem;
		border-top: 1px solid color-mix(in srgb, var(--color-green) 28%, transparent);
	}

	.courses-mega-all a {
		color: var(--color-navy);
		font-size: 0.875rem;
		font-weight: 700;
		text-decoration: none;
	}

	.courses-mega-all a:hover,
	.courses-mega-all a:focus-visible {
		color: #0a3d66;
		text-decoration: underline;
		text-underline-offset: 0.18em;
	}

	.courses-mega-group ul a {
		display: block;
		padding: 0.16rem 0;
		color: var(--color-navy);
		font-family: var(--font-sans);
		font-size: 0.8125rem;
		font-weight: 400;
		font-style: normal;
		line-height: 1.25;
	}

	.courses-mega-group ul > li:not(.courses-mega-more) a,
	.courses-mega-group ul > li:not(.courses-mega-more) a * {
		font-family: var(--font-sans);
		font-size: 0.8125rem;
		font-weight: 400;
		font-style: normal;
		line-height: 1.25;
	}

	.courses-mega-more {
		grid-row: 4;
		align-self: stretch;
	}

	.courses-mega-more a {
		font-weight: 700;
		font-size: 0.78rem;
		font-style: italic;
		text-align: right;
	}

	.courses-mega-group ul a:hover,
	.courses-mega-group ul a:focus-visible {
		color: #0a3d66;
	}

	.courses-mega-feature {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-self: stretch;
		gap: 0.5rem;
		min-width: 0;
		min-height: 0;
		height: 100%;
		padding: 0;
	}

	.courses-mega-kicker {
		margin: 0;
		padding: 0;
		line-height: 1.15;
		color: var(--color-muted);
		font-size: 0.68rem;
		font-weight: 700;
		letter-spacing: 0.06em;
		text-transform: uppercase;
	}

	.courses-mega-kicker a {
		color: inherit;
		text-decoration: none;
	}

	.courses-mega-kicker a:hover,
	.courses-mega-kicker a:focus-visible {
		color: #0a3d66;
		text-decoration: underline;
		text-underline-offset: 0.18em;
	}

	.courses-mega-article {
		display: grid;
		grid-template-rows: auto auto auto;
		align-content: start;
		flex: 0 1 auto;
		gap: 0.5rem;
		min-height: 0;
		margin-bottom: 0;
		color: var(--color-navy);
	}

	.courses-mega-article img {
		display: block;
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
		object-fit: cover;
		object-position: center;
		border-radius: var(--radius-sm);
	}

	.courses-mega-article h3 {
		margin: 0;
		font-family: var(--font-sans);
		font-size: 0.8125rem;
		font-weight: 700;
		line-height: 1.25;
		height: auto;
		display: -webkit-box;
		-webkit-line-clamp: 4;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.courses-mega-article p {
		margin: 0;
		color: var(--color-muted);
		font-size: 0.75rem;
		font-weight: 400;
		line-height: 1.35;
		display: -webkit-box;
		-webkit-line-clamp: 7;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
		max-height: calc(1.35em * 7);
	}

	.courses-mega-cta {
		align-self: center;
		flex: 0 0 auto;
		margin-top: 0;
		height: 2.15rem;
		padding: 0 1.05rem;
		border: 0;
		border-radius: var(--radius-cta);
		background: var(--color-green-cta);
		color: var(--color-text-on-dark);
		font-size: 0.8125rem;
		font-weight: 700;
		box-shadow: none;
	}

	.courses-mega-cta:hover,
	.courses-mega-cta:focus-visible {
		border: 0;
		background: var(--color-green-cta);
		box-shadow: none;
	}

	.header-enrol-full {
		display: inline-flex;
		height: 2.25rem;
		min-width: 6.9rem;
		padding: 0 1.2rem;
		border: 0;
		border-radius: var(--radius-cta);
		background: var(--color-green-cta);
		font-size: 0.875rem;
		font-weight: 700;
		line-height: 1;
	}

	.header-enrol-compact {
		display: none;
		height: 1.9rem;
		min-width: 6.8rem;
		padding: 0 1.15rem;
		border: 0;
		border-radius: var(--radius-cta);
		background: var(--color-green-cta);
		font-size: 0.8125rem;
		font-weight: 700;
		line-height: 1;
	}

	.site-header.is-scrolled .header-utility-band {
		box-shadow: var(--shadow-header);
	}

	.site-header.is-scrolled .utility-full {
		display: none;
	}

	.site-header.is-scrolled .header-enrol-compact {
		display: inline-flex;
		margin-left: 0.7rem;
	}

	.site-header.is-scrolled .utility-actions {
		gap: 0.85rem;
	}

	.site-chat {
		bottom: 1.35rem;
		right: 1.35rem;
	}

	.site-chat-close {
		display: none;
	}

	.site-footer {
		padding-bottom: 0;
	}

	.footer-navy {
		padding-bottom: 0;
	}

	/* Beats the base body.no-sticky-enrol float-clear padding so /book/,
	   /courses/ and other no-enrol-bar pages match homepage at desktop. */
	body.no-sticky-enrol .footer-navy {
		padding-bottom: 0;
	}

	.footer-enquiry {
		padding-block: 3.5rem;
	}

	.footer-subscribe {
		padding-block: 2.6rem 1.1rem;
	}

	.footer-subscribe .wrap {
		width: min(var(--container), calc(100% - (var(--gutter) * 2)));
		max-width: var(--container);
	}

	.subscribe-copy p {
		display: block;
	}

	.footer-mobile-hide {
		display: list-item;
	}

	.subscribe-row {
		display: grid;
		grid-template-columns: 1fr 1fr;
		align-items: start;
		gap: var(--space-10);
	}

	.subscribe-copy h2 {
		margin-bottom: 0.45rem;
		font-size: 1.45rem;
		font-weight: 650;
	}

	.subscribe-form {
		justify-self: end;
		width: min(28.5rem, 100%);
	}

	.subscribe-form.is-subscribed {
		align-self: center;
	}

	.subscribe-form .field-join {
		height: 2.55rem;
		border-radius: var(--radius-cta);
	}

	.subscribe-form .btn {
		border-radius: 0;
		padding: 0 1.1rem;
	}

	.subscribe-form p,
	.subscribe-copy p {
		margin-top: 0.4rem;
	}

	.footer-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(13.5rem, 0.9fr);
		grid-template-areas: "courses resources legal shop brand";
		align-items: start;
		gap: 1.15rem;
		padding-block: 1.5rem 3rem;
	}

	.footer-col h2,
	.footer-legal-col h2 {
		color: #fff;
		font-size: 0.92rem;
		letter-spacing: 0;
		text-transform: none;
		font-weight: 650;
	}

	.footer-col a {
		color: rgba(255, 255, 255, 0.84);
		font-size: 0.9rem;
		font-weight: 500;
	}

	.footer-col ul {
		gap: 0.72rem;
	}

	.footer-brand-col {
		display: grid;
		grid-area: brand;
		justify-items: end;
		align-content: start;
		gap: var(--space-4);
		width: 100%;
	}

	.footer-brand,
	.footer-legal-col {
		grid-column: auto;
		grid-area: auto;
	}

	.footer-brand {
		justify-items: center;
		align-content: start;
		justify-self: end;
		padding: 0;
		text-align: center;
		gap: var(--space-4);
		width: 15.75rem;
	}

	.footer-brand .logo {
		align-items: center;
	}

	.footer-brand .logo img {
		height: 6.25rem;
	}

	.footer-brand .socials {
		justify-content: center;
	}

	.footer-badges {
		grid-area: auto;
		justify-items: stretch;
		justify-self: end;
		width: 15.75rem;
	}

	.memberships {
		justify-items: stretch;
		justify-self: end;
		width: 15.75rem;
	}

	.membership-skills {
		background: var(--color-surface-bright);
		justify-self: stretch;
		padding: 0.55rem 0.65rem 0.45rem;
		width: 100%;
		border-radius: 0.25rem;
	}

	.membership-skills .skills-reverse {
		display: none;
	}

	.membership-skills .skills-colour {
		display: block;
		max-height: 4.4rem;
		width: auto;
	}

	.memberships img {
		max-height: 4.6rem;
	}

	.memberships .pair {
		width: 100%;
		gap: 0.65rem;
	}

	.memberships .pair a {
		min-height: 4.5rem;
	}

	.memberships .pair img {
		max-height: 3.2rem;
	}

	.footer-legalbar {
		padding-block: 1.15rem 1.25rem;
	}

	.to-top {
		right: calc(1.35rem + (var(--chat-fab) - 2.75rem) / 2);
		bottom: calc(1.35rem + var(--chat-fab) + 0.65rem);
	}
}

html.enrol-direct .footer-enquiry,
html.enrol-direct .footer-subscribe,
html.enrol-direct .footer-grid,
html.enrol-direct .site-enrol-bar,
html.enrol-direct .to-top {
	display: none !important;
}

/* Slim checkout chrome — only while /book has a cart (body.is-enrol-checkout). */
body.is-enrol-checkout .header-utility-band,
body.is-enrol-checkout .header-utility-spacer,
body.is-enrol-checkout .header-main-row,
body.is-enrol-checkout .header-mobile,
body.is-enrol-checkout .footer-enquiry,
body.is-enrol-checkout .footer-subscribe,
body.is-enrol-checkout .footer-grid,
body.is-enrol-checkout .site-enrol-bar,
body.is-enrol-checkout .to-top {
	display: none !important;
}

body.is-enrol-checkout .site-header {
	display: block;
	position: sticky;
	top: 0;
	z-index: var(--z-header);
	background: var(--color-navy);
}

body.is-enrol-checkout .header-main-band {
	display: block;
}

body.is-enrol-checkout .header-main-inner {
	display: flex;
	position: relative;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--container);
	min-width: 0;
	height: auto;
	min-height: 4.25rem;
	margin-inline: auto;
	padding-inline: var(--gutter);
	padding-block: 0.35rem;
}

body.is-enrol-checkout .header-main-inner .logo {
	margin-top: 0;
	align-self: center;
	padding-bottom: 0;
}

body.is-enrol-checkout .header-main-inner .logo img {
	height: 3.15rem;
	max-width: min(210px, 52vw);
}

body.is-enrol-checkout .checkout-secure {
	display: inline-flex;
	position: absolute;
	left: 50%;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	color: #fff;
	font-size: 1rem;
	font-weight: 650;
	letter-spacing: 0.01em;
	transform: translateX(-50%);
	white-space: nowrap;
	pointer-events: none;
}

@media (max-width: 639.98px) {
	body.is-enrol-checkout .checkout-secure {
		font-size: 0.88rem;
		gap: 0.3rem;
	}
}

body.is-enrol-checkout .checkout-secure-lock {
	display: inline-block;
	width: 1.05rem;
	height: 1.05rem;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M8 1.5A3.5 3.5 0 0 0 4.5 5v1.25H3.75A1.75 1.75 0 0 0 2 8v5.25C2 14.22 2.78 15 3.75 15h8.5c.97 0 1.75-.78 1.75-1.75V8A1.75 1.75 0 0 0 12.25 6.25H11.5V5A3.5 3.5 0 0 0 8 1.5zm1.75 4.75V5a1.75 1.75 0 1 0-3.5 0v1.25z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M8 1.5A3.5 3.5 0 0 0 4.5 5v1.25H3.75A1.75 1.75 0 0 0 2 8v5.25C2 14.22 2.78 15 3.75 15h8.5c.97 0 1.75-.78 1.75-1.75V8A1.75 1.75 0 0 0 12.25 6.25H11.5V5A3.5 3.5 0 0 0 8 1.5zm1.75 4.75V5a1.75 1.75 0 1 0-3.5 0v1.25z'/%3E%3C/svg%3E") center / contain no-repeat;
}

html:has(body.is-enrol-checkout),
html:has(body.info-thanks) {
	scroll-behavior: auto;
	background-color: var(--color-surface);
	overflow-x: hidden;
	scrollbar-gutter: auto;
}

html:has(body.info-application-thanks) {
	background-color: var(--color-surface);
}

html.is-checkout-processing,
html:has(body.is-checkout-processing) {
	background-color: var(--color-surface-bright, #fff);
	overflow-x: hidden;
	scrollbar-gutter: auto;
}

html.is-thanks-processing,
html:has(body.is-thanks-processing) {
	background-color: var(--color-surface);
	overflow-x: hidden;
	scrollbar-gutter: auto;
}

body.info-thanks {
	min-height: 100vh;
	min-height: 100dvh;
	background: var(--color-surface);
}

body.info-thanks .page-main,
body.info-thanks .page-main.inner-main {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding-bottom: 0;
	background: var(--color-surface);
}

body.info-thanks .site-footer {
	flex: 0 0 auto;
	margin-top: auto;
}

body.info-thanks .footer-navy {
	padding-top: 0;
	padding-bottom: 0;
}

body.info-application-thanks .site-footer {
	flex: 0 0 auto;
	margin-top: auto;
}

body.info-application-thanks .footer-navy,
body.info-apply-form .footer-navy {
	padding-top: 0;
	padding-bottom: 0;
}

body.info-application-thanks {
	min-height: 100vh;
	min-height: 100dvh;
	background: var(--color-surface);
}

body.info-application-thanks .page-main,
body.info-application-thanks .page-main.inner-main {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	background: var(--color-surface);
}

body.is-enrol-checkout {
	overflow-anchor: none;
	min-height: 100vh;
	min-height: 100dvh;
}

body.is-enrol-checkout .page-main,
body.is-enrol-checkout .page-main.inner-main {
	flex: 1 1 auto;
}

body.is-enrol-checkout .site-footer {
	flex: 0 0 auto;
	margin-top: auto;
	padding-bottom: 0;
}

body.is-enrol-checkout .footer-navy {
	padding-top: 0;
	padding-bottom: 0;
}

body.is-enrol-checkout .footer-legalbar .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
}

body.is-enrol-checkout .checkout-footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem 1.15rem;
}

body.is-enrol-checkout .checkout-footer-nav a {
	color: var(--color-muted-on-dark);
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

body.is-enrol-checkout .checkout-footer-nav a:hover,
body.is-enrol-checkout .checkout-footer-nav a:focus-visible {
	color: #fff;
}

@media (max-width: 719.98px) {
	body.is-enrol-checkout .footer-legalbar .wrap {
		flex-direction: column;
		justify-content: center;
		align-items: center;
		text-align: center;
		gap: 0.65rem;
	}

	body.is-enrol-checkout .checkout-footer-nav {
		justify-content: center;
		gap: 0 1.5rem;
	}

	body.is-enrol-checkout .checkout-footer-nav a {
		text-decoration: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
	}
}

/* Shared public pop-up (handbook, career-watch, form-help). Native <dialog>
   UA chrome is a square bordered box — these rules must live in chrome.css so
   the homepage (no pages.css) and every inner page inherit the same card. */
body.ati-site-modal-open,
body.career-watch-open,
body.handbook-request-open,
body.audit-results-open,
body.form-help-open,
body:has(dialog.ati-site-modal[open]),
body:has(dialog.career-watch-modal[open]),
body:has(dialog.handbook-request-modal[open]),
body:has(dialog.audit-results-modal[open]),
body:has(dialog.form-help-dialog[open]) {
	overflow: hidden;
}

dialog.ati-site-modal,
dialog.career-watch-modal,
dialog.handbook-request-modal,
dialog.audit-results-modal,
dialog.form-help-dialog {
	border: 0;
	padding: 0;
	max-width: min(36rem, calc(100vw - 1.5rem));
	width: 100%;
	margin: auto;
	background: transparent;
	color: #001c3c;
	box-shadow: none;
	overflow: visible;
}

dialog.ati-site-modal[open],
dialog.career-watch-modal[open],
dialog.handbook-request-modal[open],
dialog.audit-results-modal[open],
dialog.form-help-dialog[open] {
	display: grid;
	place-items: center;
	overflow: visible;
}

dialog.ati-site-modal::backdrop,
dialog.career-watch-modal::backdrop,
dialog.handbook-request-modal::backdrop,
dialog.audit-results-modal::backdrop,
dialog.form-help-dialog::backdrop {
	background: rgba(0, 28, 60, 0.62);
}

.ati-site-modal-panel,
.career-watch-panel,
.form-help-panel {
	position: relative;
	width: 100%;
	max-height: min(90vh, 52rem);
	overflow: visible;
	margin: 0;
	padding: 32px 28px 2.25rem;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 18px 48px rgba(0, 28, 60, 0.28);
	text-align: left;
	color: #001c3c;
}

dialog.enrol-upsell-modal,
dialog.enrol-upsell-modal[open] {
	position: fixed;
	inset: 0;
	z-index: 240;
	width: auto;
	max-width: none;
	height: auto;
	max-height: none;
	margin: 0;
	padding: 1.25rem;
	border: 0;
	display: grid;
	place-items: center;
	background: rgba(0, 28, 60, 0.62);
	color: #001c3c;
	overflow: auto;
	box-shadow: none;
}

dialog.enrol-upsell-modal::backdrop {
	background: transparent;
}

.enrol-upsell-panel {
	position: relative;
	width: min(32rem, 100%);
	max-width: 32rem;
	padding: 2.35rem 1.5rem 1.6rem;
	text-align: center;
}

dialog.enrol-upsell-modal[aria-busy="true"] .enrol-upsell-panel {
	width: auto;
	max-width: none;
	padding: 0;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
}

dialog.enrol-upsell-modal[aria-busy="true"] .ati-site-modal-close {
	display: none;
}

.enrol-upsell-panel .ati-site-modal-close {
	position: absolute;
	top: 8px;
	right: 8px;
}

.enrol-upsell-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 6.5rem;
}

.enrol-upsell-loading .checkout-loading-spinner {
	width: 2.5rem;
	height: 2.5rem;
	border: 0.22rem solid rgba(130, 172, 43, 0.28);
	border-top-color: #82ac2b;
	border-radius: 50%;
	animation: enrol-upsell-spin 0.7s linear infinite;
}

@keyframes enrol-upsell-spin {
	to { transform: rotate(360deg); }
}

.enrol-upsell-loading[hidden],
.enrol-upsell-choice[hidden] {
	display: none !important;
}

.enrol-upsell-choice h2,
#enrol-upsell-title {
	margin: 0 1.75rem 0.65rem;
	color: #001c3c;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.3;
}

.enrol-upsell-when {
	margin: 0 0 1.25rem;
	color: #4d5b70;
	font-size: 0.9375rem;
	font-weight: 500;
}

.enrol-upsell-actions {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.enrol-upsell-actions .btn {
	width: 100%;
	height: auto;
	min-height: var(--btn-height, 2.75rem);
	justify-content: center;
	white-space: normal;
	overflow-wrap: anywhere;
	line-height: 1.3;
	padding-block: 0.7rem;
	text-align: center;
}

@media (max-width: 430px) {
	dialog.enrol-upsell-modal,
	dialog.enrol-upsell-modal[open] {
		padding: 0.85rem;
	}

	.enrol-upsell-panel {
		padding: 2.15rem 0.9rem 1.15rem;
	}

	.enrol-upsell-choice h2,
	#enrol-upsell-title {
		font-size: 1.12rem;
		overflow-wrap: anywhere;
	}
}

.ati-site-modal-body {
	max-height: min(calc(90vh - 2rem), 48rem);
	overflow-x: hidden;
	overflow-y: auto;
	padding-bottom: 2.25rem;
	scroll-padding-bottom: 2.25rem;
}

.ati-site-modal-title,
.ati-site-modal-panel .contact-form-heading,
.career-watch-panel .contact-form-heading,
.form-help-panel h2,
.form-help-panel .ati-site-modal-title {
	margin: 0 2.75rem 0.7rem 0;
	color: #001c3c;
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.ati-site-modal-panel .ati-form-lead,
.career-watch-panel .ati-form-lead,
.form-help-panel .ati-form-lead {
	margin: 0 0 1.75rem;
	max-width: none;
	color: #001c3c;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.5;
}

.ati-site-modal-close,
.career-watch-close,
.form-help-close {
	position: absolute;
	top: 8px;
	right: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #001c3c;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.ati-site-modal-close:hover,
.career-watch-close:hover,
.form-help-close:hover,
.ati-site-modal-close:active,
.career-watch-close:active,
.form-help-close:active {
	background: #f3f6f2;
}

.ati-site-modal-close:focus-visible,
.career-watch-close:focus-visible,
.form-help-close:focus-visible {
	outline: 2px solid #0066b2;
	outline-offset: 2px;
}

.ati-site-modal-panel .ati-form-embed,
.career-watch-panel .ati-form-embed {
	margin: 0;
}

.ati-site-modal-panel .ati-form,
.ati-site-modal-panel .page-form,
.career-watch-panel .ati-form,
.career-watch-panel .page-form {
	display: grid;
	gap: 16px;
	max-width: none;
	margin: 0;
	padding-left: 0;
	overflow: visible;
}

.ati-site-modal-panel .page-form label:not(.ati-form-check),
.career-watch-panel .page-form label:not(.ati-form-check) {
	display: block;
	color: #001c3c;
	font-size: 0.8125rem;
	font-weight: 500;
}

.ati-site-modal-panel .ati-form-label,
.career-watch-panel .ati-form-label {
	color: #001c3c;
}

.ati-site-modal-panel .page-form label > input:not([type="checkbox"]),
.ati-site-modal-panel .page-form label > select,
.ati-site-modal-panel .page-form label > textarea,
.career-watch-panel .page-form label > input:not([type="checkbox"]),
.career-watch-panel .page-form label > select,
.career-watch-panel .page-form label > textarea {
	display: block;
	margin-top: 6px;
}

.ati-site-modal-panel .page-form input:not([type="checkbox"]):not([type="hidden"]):not([type="radio"]),
.ati-site-modal-panel .page-form select,
.ati-site-modal-panel .page-form textarea,
.career-watch-panel .page-form input:not([type="checkbox"]):not([type="hidden"]):not([type="radio"]),
.career-watch-panel .page-form select,
.career-watch-panel .page-form textarea {
	width: 100%;
	min-height: 2.75rem;
	padding: 0.7rem 0.85rem;
	border: 1px solid rgba(0, 28, 60, 0.18);
	border-radius: 6px;
	background: #fff;
	color: #001c3c;
	font: inherit;
	font-size: 1rem;
	font-weight: 400;
}

.ati-site-modal-panel .page-form .form-row,
.career-watch-panel .page-form .form-row {
	display: grid;
	align-items: start;
	gap: 16px;
}

@media (min-width: 640px) {
	.ati-site-modal-panel .page-form .form-row,
	.career-watch-panel .page-form .form-row {
		grid-template-columns: 1fr 1fr;
	}
}

.ati-site-modal-panel .ati-form-check,
.career-watch-panel .ati-form-check {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	min-height: 0;
	margin: 0;
	padding: 0.15rem 0;
	overflow: visible;
	font-weight: 600;
	color: #001c3c;
}

.ati-site-modal-panel .ati-form-check.ati-form-consent,
.career-watch-panel .ati-form-check.ati-form-consent {
	align-items: center;
	font-weight: 400;
}

.ati-site-modal-panel .ati-form-check input,
.career-watch-panel .ati-form-check input {
	appearance: auto;
	width: 1.15rem;
	height: 1.15rem;
	min-width: 1.15rem;
	min-height: 1.15rem;
	margin: 0.12rem 0 0;
	flex: 0 0 1.15rem;
	overflow: visible;
	accent-color: var(--color-green);
	outline: none;
	box-shadow: none;
	-webkit-tap-highlight-color: transparent;
}

.ati-site-modal-panel .ati-form-check input:focus,
.career-watch-panel .ati-form-check input:focus {
	outline: none;
	box-shadow: none;
}

.ati-site-modal-panel .ati-form-check input:focus-visible,
.career-watch-panel .ati-form-check input:focus-visible {
	outline: 2px solid #001c3c;
	outline-offset: 2px;
}

.ati-site-modal-panel .ati-form-consent-line,
.career-watch-panel .ati-form-consent-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.55rem;
	margin: 0;
	padding: 0.1rem 0 0.1rem 6px;
	overflow: visible;
	color: #001c3c;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.45;
}

.ati-site-modal-panel .ati-form-consent-line .ati-form-check,
.career-watch-panel .ati-form-consent-line .ati-form-check {
	display: inline-flex;
	align-items: center;
	min-height: 0;
	margin: 0;
	padding: 0;
	font-size: inherit;
	font-weight: 400;
	line-height: inherit;
}

.ati-site-modal-panel .ati-form-consent-line .ati-form-check input,
.career-watch-panel .ati-form-consent-line .ati-form-check input {
	display: inline-block;
	vertical-align: middle;
	margin: 0 0.45rem 0 0;
}

.ati-site-modal-panel .ati-form-consent-line span,
.career-watch-panel .ati-form-consent-line span,
.ati-site-modal-panel .ati-form-consent-line a,
.career-watch-panel .ati-form-consent-line a {
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

.ati-site-modal-panel .ati-form-consent-line a,
.career-watch-panel .ati-form-consent-line a {
	display: inline;
	color: var(--color-green);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ati-site-modal-panel .ati-form-consent-line a::before,
.ati-site-modal-panel .ati-form-consent-line a::after,
.career-watch-panel .ati-form-consent-line a::before,
.career-watch-panel .ati-form-consent-line a::after {
	content: none;
	display: none;
}

/* Marketing opt-in copy matches body text on every public form and modal. */
label.ati-form-check.ati-form-consent,
label.ati-form-check.ati-form-consent span,
.ati-form-consent-line,
.ati-form-consent-line label,
.ati-form-consent-line span,
.page-form label.ati-form-check.ati-form-consent,
.ati-form label.ati-form-check.ati-form-consent,
.ati-site-modal-panel .page-form label.ati-form-check.ati-form-consent,
.career-watch-panel .page-form label.ati-form-check.ati-form-consent {
	font-weight: 400;
}

.ati-site-modal-panel .page-form .btn,
.career-watch-panel .contact-page-form .btn,
.form-help-panel .btn,
.ati-site-modal-cta .btn,
.ati-site-modal-ctas .btn {
	width: auto;
	max-width: 100%;
	height: var(--btn-height);
	min-height: var(--btn-height);
	padding: 0 1.15rem;
	border-radius: var(--radius-cta);
	justify-content: center;
	justify-self: center;
	margin: 0 auto 0.75rem;
}

.btn.is-sending {
	pointer-events: none;
}

.btn.is-sending::after {
	display: none;
}

.btn .form-submit-spinner {
	width: 1.15rem;
	height: 1.15rem;
	border-width: 0.14rem;
	flex: 0 0 auto;
}

.btn:not(.is-sending) .form-submit-spinner {
	display: none;
}

.ati-site-modal-privacy {
	margin: 0.15rem 0 0;
	text-align: center;
}

.ati-site-modal-privacy a {
	color: var(--color-green);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.form-privacy-note {
	margin: -0.65rem 0 0;
	padding: 0;
	max-width: none;
	width: 100%;
	justify-self: center;
	text-align: center;
	color: #5b6b7c;
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.35;
}

.form-privacy-note a {
	color: var(--color-green);
	font-weight: 400;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ati-site-modal .form-privacy-note,
dialog .form-privacy-note,
.ati-site-modal-panel .form-privacy-note,
.career-watch-panel .form-privacy-note {
	color: #5b6b7c;
}

.ati-site-modal .form-privacy-note a,
dialog .form-privacy-note a,
.ati-site-modal-panel .form-privacy-note a,
.career-watch-panel .form-privacy-note a {
	color: var(--color-green);
	font-weight: 400;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ati-site-modal-privacy a:hover,
.ati-site-modal-privacy a:focus-visible {
	color: var(--color-green);
}

.ati-site-modal-cta {
	margin: 0.85rem 0 0;
}

.ati-site-modal-ctas {
	display: grid;
	gap: 0.65rem;
	margin: 0.15rem 0 0;
}

.ati-site-modal-ctas .ati-site-modal-cta {
	margin: 0;
}

.ati-site-modal-subhead {
	margin: 0.55rem 0 0.1rem;
	color: #001c3c;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.4;
}

.ati-site-modal-panel form.is-sent .ati-form-field,
.ati-site-modal-panel form.is-sent .form-row,
.ati-site-modal-panel form.is-sent .btn,
.ati-site-modal-panel form.is-sent .cf-turnstile,
.career-watch-panel form.is-sent .ati-form-field,
.career-watch-panel form.is-sent .form-row,
.career-watch-panel form.is-sent .btn,
.career-watch-panel form.is-sent .cf-turnstile,
.ati-site-modal-panel:has(form.is-sent) .ati-form-note,
.ati-site-modal-panel:has(form.is-sent) .ati-form-consent-line,
.ati-site-modal-panel:has(form.is-sent) .ati-site-modal-cta,
.ati-site-modal-panel:has(form.is-sent) .ati-site-modal-privacy,
.ati-site-modal-panel:has(form.is-sent) .form-privacy-note,
.handbook-request-panel:has(form.is-sent) .ati-form-note,
.handbook-request-panel:has(form.is-sent) .ati-form-consent-line,
.handbook-request-panel:has(form.is-sent) .form-privacy-note,
.career-watch-panel:has(form.is-sent) .form-privacy-note,
[data-audit-results-panel]:has(form.is-sent) .ati-form-lead,
[data-audit-results-panel]:has(form.is-sent) [data-audit-results-lead],
[data-audit-results-panel]:has(form.is-sent) .form-privacy-note {
	display: none;
}

@media (max-width: 639.98px) {
	dialog.ati-site-modal,
	dialog.career-watch-modal,
	dialog.handbook-request-modal,
	dialog.audit-results-modal,
	dialog.form-help-dialog {
		max-width: calc(100vw - 1rem);
		max-height: calc(100dvh - 1rem);
		margin: 0.5rem auto;
	}

	.ati-site-modal-panel,
	.career-watch-panel,
	.form-help-panel {
		max-height: calc(100dvh - 1rem);
		padding: 28px 18px 2rem;
	}

	.ati-site-modal-body {
		max-height: calc(100dvh - 4.5rem);
		padding-bottom: 2rem;
		scroll-padding-bottom: 2rem;
	}

	.ati-site-modal-cta {
		margin-top: 0.65rem;
	}
}

/* Shared form validation — used by every public form */
input.ati-field-invalid:not([type="checkbox"]):not([type="radio"]),
select.ati-field-invalid,
textarea.ati-field-invalid,
.ati-select.is-invalid .ati-select-trigger,
.checkout-form input.is-invalid:not([type="checkbox"]):not([type="radio"]),
.checkout-form select.is-invalid,
.page-form input.is-invalid:not([type="checkbox"]):not([type="radio"]),
.page-form select.is-invalid,
.page-form textarea.is-invalid {
	border-color: var(--color-req);
	background: color-mix(in srgb, var(--color-req) 9%, var(--color-surface-bright, #fff));
}

input[type="checkbox"].ati-field-invalid,
input[type="radio"].ati-field-invalid {
	outline: 2px solid var(--color-req);
	outline-offset: 2px;
}

.ati-form-caption .ati-field-msg,
.ati-form-caption .field-error,
.ati-field-msg,
.field-error {
	display: block;
	margin: 0;
	color: var(--color-req);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.35;
	text-align: right;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}

.ati-form-caption .ati-field-msg,
.ati-form-caption .field-error {
	flex: 1 1 auto;
	margin-left: auto;
}

.page-form label:not(.ati-form-check):not(.checkout-terms):not(.checkout-other-payer):not(.checkout-choice),
.ati-form label:not(.ati-form-check) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: baseline;
	column-gap: 0.5rem;
}

.page-form label:not(.ati-form-check) > .ati-form-caption,
.ati-form label:not(.ati-form-check) > .ati-form-caption {
	grid-column: 1 / -1;
	grid-row: 1;
}

.page-form label:not(.ati-form-check) > .ati-field-msg,
.page-form label:not(.ati-form-check) > .field-error,
.ati-form label:not(.ati-form-check) > .ati-field-msg,
.ati-form label:not(.ati-form-check) > .field-error {
	grid-column: 2;
	grid-row: 1;
	justify-self: end;
	align-self: baseline;
}

.page-form label:not(.ati-form-check) > input,
.page-form label:not(.ati-form-check) > select,
.page-form label:not(.ati-form-check) > textarea,
.page-form label:not(.ati-form-check) > .ati-select,
.ati-form label:not(.ati-form-check) > input,
.ati-form label:not(.ati-form-check) > select,
.ati-form label:not(.ati-form-check) > textarea,
.ati-form label:not(.ati-form-check) > .ati-select {
	grid-column: 1 / -1;
}

.ati-form-check {
	flex-wrap: nowrap;
}

.ati-form-check > .ati-field-msg,
.ati-form-check > .field-error {
	margin: 0 0 0 auto;
	align-self: center;
	flex: 1 1 auto;
}

.ati-form-banner {
	display: flex;
	align-items: flex-start;
	gap: 0.4rem;
	margin: 0 0 0.75rem;
	color: var(--color-req);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.35;
}

.ati-form-banner[hidden] {
	display: none !important;
}

.ati-form-banner-icon {
	display: inline-flex;
	flex: 0 0 auto;
	margin-top: 0.1rem;
	color: var(--color-req);
}

.ati-form-banner-icon svg {
	display: block;
}

.checkout-nav .ati-form-banner,
.checkout-nav-error.ati-form-banner.is-on {
	margin: 0 0.75rem 0 auto;
	text-align: left;
	flex: 1 1 14rem;
}

@media (max-width: 959.98px) {
	.checkout-nav .ati-form-banner,
	.checkout-nav-error.ati-form-banner.is-on {
		order: -1;
		flex: 1 0 100%;
		margin: 0 0 0.55rem;
	}
}

/* Corner help widget — non-modal panel above the FAB, no page overlay. */
dialog.site-assistant-widget {
	box-sizing: border-box;
	position: absolute;
	inset: auto;
	inset-inline: auto;
	inset-block: auto;
	right: 0;
	inset-inline-end: 0;
	bottom: calc(var(--chat-fab) + 0.7rem);
	inset-block-end: calc(var(--chat-fab) + 0.7rem);
	left: auto;
	inset-inline-start: auto;
	top: auto;
	inset-block-start: auto;
	z-index: 1;
	width: 23.5rem;
	max-width: min(23.5rem, calc(100vw - 1.5rem));
	max-inline-size: min(23.5rem, calc(100vw - 1.5rem));
	max-height: 80vh;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #001c3c;
	overflow: visible;
	box-shadow: none;
}

dialog.site-assistant-widget[open] {
	display: block;
}

dialog.site-assistant-widget::backdrop {
	display: none;
	background: none;
	pointer-events: none;
}

.site-assistant-panel {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	max-height: 80vh;
	overflow-x: clip;
	overflow-y: hidden;
	padding: 0;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 18px 48px rgba(0, 28, 60, 0.28);
	text-align: left;
	color: #001c3c;
}

dialog.site-assistant-widget.is-chat .site-assistant-panel {
	height: min(80vh, 36rem);
}

.site-assistant-toolbar {
	display: flex;
	align-items: center;
	gap: 0.2rem;
	flex: 0 0 auto;
	min-width: 0;
	padding: 0.55rem 0.4rem 0.35rem 0.85rem;
}

.site-assistant-title {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	color: #001c3c;
	font-family: var(--font-sans);
	font-size: 1.12rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.site-assistant-back,
.site-assistant-close {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #001c3c;
	font: inherit;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.site-assistant-back[hidden] {
	display: none;
}

.site-assistant-back .btn-nav-chevron {
	display: block;
	margin: 0;
	transform: rotate(180deg);
}

.site-assistant-back:hover,
.site-assistant-close:hover,
.site-assistant-back:active,
.site-assistant-close:active {
	background: #f3f6f2;
}

.site-assistant-back:focus-visible,
.site-assistant-close:focus-visible {
	outline: 2px solid #0066b2;
	outline-offset: 2px;
}

.site-assistant-menu-view,
.site-assistant-chat-view {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
}

.site-assistant-menu-view {
	padding: 0.35rem 1.1rem 1.15rem;
}

.site-assistant-chat-view {
	flex: 1 1 auto;
	padding: 0.2rem 1.1rem 1.15rem;
}

.site-assistant-menu-view[hidden],
.site-assistant-chat-view[hidden] {
	display: none;
}

.site-assistant-menu {
	display: grid;
	gap: 0.7rem;
}

.site-assistant-option {
	width: 100%;
	justify-content: center;
}

.site-assistant-log {
	display: grid;
	gap: 0.75rem;
	flex: 1 1 auto;
	min-height: 8rem;
	max-width: 100%;
	min-width: 0;
	margin: 0 0 0.85rem;
	overflow-x: hidden;
	overflow-y: auto;
}

.site-assistant-msg {
	max-width: 95%;
	padding: 0.7rem 0.85rem;
	border-radius: 1rem;
	background: #f3f6f8;
	color: #001c3c;
}

.site-assistant-msg.is-user {
	justify-self: end;
	background: #001c3c;
	color: #fff;
}

.site-assistant-msg p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.45;
	white-space: pre-wrap;
}

.site-assistant-actions {
	display: grid;
	gap: 0.45rem;
	margin-top: 0.7rem;
}

.site-assistant-actions .btn {
	width: 100%;
	justify-content: center;
}

.site-assistant-composer {
	display: grid;
	gap: 0.7rem;
	flex: 0 0 auto;
	min-width: 0;
	max-width: 100%;
}

.site-assistant-composer textarea,
.site-assistant-composer .btn {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.site-assistant-composer textarea {
	min-height: 4.5rem;
	padding: 0.7rem 0.8rem;
	border: 1px solid rgba(0, 28, 60, 0.16);
	border-radius: 0.75rem;
	color: #001c3c;
	font: inherit;
	resize: vertical;
}

.site-assistant-composer .btn {
	justify-content: center;
}

.site-assistant-composer textarea:focus-visible {
	outline: 2px solid var(--color-green);
	outline-offset: 2px;
}

.site-assistant-status {
	margin: 0;
	color: #4b5a6a;
	font-size: 0.9rem;
}

/* Site-owned iSmart front end. The embed SVG and 300px greeting live in a
   closed shadow, so we draw the ATI mark and a compact pill ourselves.
   Desktop host position, size, and accent stay with the widget. */
[data-ati-ismart-mark] {
	position: fixed;
	z-index: 2147483001;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #001c3c;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
	pointer-events: none;
	overflow: hidden;
}

[data-ati-ismart-mark] img {
	width: 78%;
	height: 78%;
	object-fit: contain;
}

[data-ismart-launcher]:not([data-open="true"]) {
	overflow: hidden !important;
	border-radius: 50% !important;
}

body.is-menu-open [data-ati-ismart-mark],
body.is-menu-open [data-ati-ismart-prompt],
body.is-search-open [data-ati-ismart-mark],
body.is-search-open [data-ati-ismart-prompt],
body.is-cart-open [data-ati-ismart-mark],
body.is-cart-open [data-ati-ismart-prompt] {
	visibility: hidden;
	pointer-events: none;
}

[data-ati-ismart-prompt] {
	position: fixed;
	right: calc(20px + 56px + 0.4rem);
	bottom: calc(20px + env(safe-area-inset-bottom, 0px));
	z-index: 2147483000;
	display: flex;
	align-items: center;
	gap: 0.15rem;
	max-width: calc(100vw - 20px - 56px - 0.4rem - 0.75rem);
	margin: 0;
	padding: 0.28rem 0.28rem 0.28rem 0.7rem;
	background: #fff;
	color: #001c3c;
	border-radius: 999px;
	box-shadow: 0 3px 10px rgba(0, 12, 28, 0.12);
	font-family: Inter, Helvetica, Arial, Lucida, sans-serif;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

[data-ati-ismart-prompt] p {
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

[data-ati-ismart-prompt] [data-ati-ismart-prompt-open] {
	all: unset;
	cursor: pointer;
	min-width: 0;
}

[data-ati-ismart-prompt-dismiss] {
	flex: 0 0 auto;
	width: 1.25rem;
	height: 1.25rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #7a8794;
	font-size: 0.95rem;
	line-height: 1;
	cursor: pointer;
}

@media (max-width: 699.98px) {
	dialog.site-assistant-widget {
		width: calc(100vw - 1.5rem);
		max-width: calc(100vw - 1.5rem);
		max-inline-size: calc(100vw - 1.5rem);
		right: calc(0.75rem - 1.15rem);
		inset-inline-end: calc(0.75rem - 1.15rem);
	}

	dialog.site-assistant-widget.is-chat .site-assistant-panel,
	.site-assistant-panel {
		max-height: min(80vh, 80dvh);
	}

	dialog.site-assistant-widget.is-chat .site-assistant-panel {
		height: min(80vh, 80dvh, 36rem);
	}

	.site-assistant-title {
		font-size: 1.05rem;
	}
}

/* iPhone / mobile only. The iSmart host is a closed shadow root; these
   custom properties are the hooks it reads on :host. Desktop FAB position
   stays with the widget; the mark overlay and pill are shared above. */
@media (max-width: 799.98px) {
	.footer-navy {
		padding-bottom: calc(var(--enrol-bar-h) + env(safe-area-inset-bottom, 0px) + var(--footer-float-clear));
	}

	body:not(.no-sticky-enrol) .footer-enquiry {
		padding-bottom: calc(2.25rem + var(--enrol-bar-h) + env(safe-area-inset-bottom, 0px));
	}

	body.no-sticky-enrol .footer-navy {
		padding-bottom: var(--footer-float-clear);
	}

	body.info-thanks .footer-navy,
	body.info-application-thanks .footer-navy,
	body.info-apply-form .footer-navy,
	body.is-enrol-checkout .footer-navy,
	html.enrol-direct .footer-navy {
		padding-bottom: 0;
	}

	body.info-thanks .footer-legalbar .wrap,
	body.info-application-thanks .footer-legalbar .wrap,
	body.info-apply-form .footer-legalbar .wrap {
		padding-inline-end: calc(var(--chat-fab) + 1.15rem);
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"brand brand"
			"courses resources"
			"legal shop"
			"badges badges";
	}

	.footer-brand-col {
		display: contents;
	}

	.footer-brand {
		grid-area: brand;
	}

	.footer-badges,
	.footer-badges.memberships {
		grid-area: badges;
		justify-items: start;
		justify-self: start;
		width: min(10.5rem, 100%);
	}

	.memberships {
		justify-items: start;
		justify-self: start;
	}

	.site-enrol-bar {
		justify-content: flex-start;
		gap: 10px;
	}

	.site-enrol-bar .btn {
		order: -1;
	}

	.site-enrol-bar p {
		flex: 1 1 auto;
		text-align: left;
	}

	/* Literals, not token var(), because the host uses :host { all: initial }.
	   Position is set on the host itself so the slot does not depend on the
	   closed shadow reading the custom properties. */
	[data-ismart-launcher] {
		--ismart-right: 1.15rem !important;
		--ismart-bottom: calc(4.125rem + 0.85rem + env(safe-area-inset-bottom, 0px)) !important;
		--ismart-size: 3.6rem !important;
		--ismart-accent: #001c3c !important;
		--ismart-radius: 50% !important;
		--ismart-z: 70 !important;
		position: fixed !important;
		right: 1.15rem !important;
		bottom: calc(4.125rem + 0.85rem + env(safe-area-inset-bottom, 0px)) !important;
		z-index: 70 !important;
	}

	/* The embed greeting is 300px above the FAB and covers footer links.
	   Clip it while closed; we draw a shorter prompt to the left instead. */
	[data-ismart-launcher]:not([data-open="true"]) {
		overflow: hidden !important;
		width: 3.6rem !important;
		height: 3.6rem !important;
		border-radius: 50% !important;
	}

	[data-ati-ismart-mark],
	[data-ati-ismart-prompt] {
		z-index: 71;
	}

	body.no-sticky-enrol [data-ismart-launcher] {
		--ismart-bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px)) !important;
		bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px)) !important;
	}

	.to-top {
		right: calc(1.15rem + (3.6rem - 2.75rem) / 2);
		bottom: calc(var(--enrol-bar-h) + 0.85rem + var(--chat-fab) + 0.65rem);
	}

	body.no-sticky-enrol .to-top {
		bottom: calc(0.85rem + var(--chat-fab) + 0.65rem);
	}

	[data-ati-ismart-prompt] {
		right: calc(1.15rem + 3.6rem + 0.4rem);
		bottom: calc(4.125rem + 0.85rem + env(safe-area-inset-bottom, 0px));
		max-width: calc(100vw - 1.15rem - 3.6rem - 0.4rem - 0.75rem);
	}

	body.no-sticky-enrol [data-ati-ismart-prompt] {
		bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
	}

	body.ismart-open .site-enrol-bar,
	body.ismart-open .to-top,
	body.ismart-open [data-ati-ismart-prompt],
	body.ismart-form-inview [data-ati-ismart-prompt] {
		visibility: hidden;
		pointer-events: none;
	}

	body.ismart-open [data-ismart-launcher] {
		--ismart-top: env(safe-area-inset-top, 0px) !important;
		--ismart-bottom: env(safe-area-inset-bottom, 0px) !important;
		--ismart-left: 0px !important;
		--ismart-right: 0px !important;
		--ismart-panel-left: 0px !important;
		--ismart-panel-right: 0px !important;
		inset: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px) 0 !important;
		width: auto !important;
		height: auto !important;
		overflow: visible !important;
		border-radius: 0 !important;
		z-index: 2147483000 !important;
	}

	[data-ati-ismart-chrome] {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 2147483001;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.75rem;
		min-height: calc(3.25rem + env(safe-area-inset-top, 0px));
		padding: env(safe-area-inset-top, 0px) 0.85rem 0;
		background: #001c3c;
		color: #fff;
		font-family: Inter, Helvetica, Arial, Lucida, sans-serif;
		font-size: 1.05rem;
		font-weight: 700;
	}

	[data-ati-ismart-chrome] p {
		margin: 0;
	}

	[data-ati-ismart-chrome] button {
		display: grid;
		place-items: center;
		width: 2.75rem;
		height: 2.75rem;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: #82ac2b;
		color: #fff;
		font-size: 1.35rem;
		line-height: 1;
		cursor: pointer;
	}

	/* Keep first-screen hero CTAs off the FAB (funded Start Application at 430). */
	.cv2-hero-actions,
	.course-hero-actions,
	.page-hero-actions,
	.industry-intro + .page-section .live-section-cta,
	#career-start .live-section-cta {
		box-sizing: border-box;
		padding-right: calc(var(--chat-fab) + 1.15rem);
		flex-wrap: wrap;
	}
}

