/**
 * Academic Readiness Assessment — public design system & wizard shell.
 * Single white card, cream page background, gold / navy palette.
 */

/* -------------------------------------------------------------------------- */
/* Design tokens                                                              */
/* -------------------------------------------------------------------------- */

:root {
	--ara-page-bg: #f9f6f0;
	--ara-card-bg: #ffffff;
	--ara-card-cream: #fdfbf7;
	--ara-navy: #1e2a38;
	--ara-navy-deep: #121620;
	--ara-gold: #d4af37;
	--ara-gold-hover: #c49a28;
	--ara-gold-text: #8a6a14;
	--ara-gold-on-dark: #e8c878;
	--ara-gold-light: #f3e6c4;
	--ara-gold-soft: #faf4e6;
	--ara-text: #1f2933;
	--ara-text-muted: #4b5563;
	--ara-border: #ddd5c8;
	--ara-border-light: #e8e2d8;
	--ara-success: #1a7a32;
	--ara-success-soft: #e8f5e9;
	--ara-warning: #d4af37;
	--ara-danger: #c62828;
	--ara-danger-soft: #fdecea;
	--ara-band-priority: #e53935;
	--ara-band-average: #f0b429;
	--ara-band-strong: #43a047;
	--ara-whatsapp: #25d366;
	--ara-whatsapp-hover: #1ebe57;
	--ara-tip-bg: #eef5fb;
	--ara-tip-border: #c5d6e8;
	--ara-tip-icon: #3d6f9c;
	--ara-radius: 16px;
	--ara-radius-sm: 10px;
	--ara-radius-xs: 6px;
	--ara-font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
	--ara-font-script: "Pinyon Script", "Segoe Script", cursive;
	--ara-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--ara-stepper-size: 36px;
	--ara-shadow: 0 8px 32px rgba(30, 42, 56, 0.08);
	--ara-shadow-sm: 0 2px 10px rgba(30, 42, 56, 0.05);
}

/* -------------------------------------------------------------------------- */
/* Shell — single container (no nested double card)                           */
/* -------------------------------------------------------------------------- */

.ara-app {
	box-sizing: border-box;
	width: 100%;
	max-width: min(960px, 100%);
	margin: 0 auto;
	padding: 2rem max(1.25rem, env(safe-area-inset-right, 0px)) max(3rem, env(safe-area-inset-bottom, 0px))
		max(1.25rem, env(safe-area-inset-left, 0px));
	font-family: var(--ara-font-body);
	font-size: 1rem;
	line-height: 1.55;
	color: var(--ara-text);
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	overflow-x: hidden;
	accent-color: var(--ara-gold);
}

.ara-app *,
.ara-app *::before,
.ara-app *::after {
	box-sizing: border-box;
}

.ara-app img {
	max-width: 100%;
	height: auto;
}

.ara-app h1,
.ara-app h2,
.ara-app h3 {
	font-family: var(--ara-font-heading);
	color: var(--ara-navy);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 0.75rem;
}

.ara-app p {
	margin: 0 0 1rem;
	color: var(--ara-text);
}

.ara-script {
	font-family: var(--ara-font-script);
	font-size: 2rem;
	color: var(--ara-gold-text);
	line-height: 1;
}

/* -------------------------------------------------------------------------- */
/* Stepper — outside the card                                                 */
/* -------------------------------------------------------------------------- */

.ara-stepper {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0;
	margin: 0 0 1.75rem;
	padding: 0;
	list-style: none;
}

.ara-stepper__item {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	text-align: center;
	min-width: 0;
}

.ara-stepper__item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: calc(var(--ara-stepper-size) / 2);
	left: calc(50% + var(--ara-stepper-size) / 2);
	width: calc(100% - var(--ara-stepper-size));
	height: 2px;
	background: var(--ara-border);
	transform: translateY(-50%);
	z-index: 0;
}

.ara-stepper__item.is-complete:not(:last-child)::after {
	background: var(--ara-gold);
}

.ara-stepper__circle {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--ara-stepper-size);
	height: var(--ara-stepper-size);
	border-radius: 50%;
	border: 2px solid var(--ara-border);
	background: #fff;
	color: var(--ara-text-muted);
	font-family: var(--ara-font-body);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ara-stepper__label {
	margin-top: 0.55rem;
	padding: 0 0.2rem;
	font-size: 0.72rem;
	font-weight: 500;
	color: var(--ara-text-muted);
	line-height: 1.3;
}

.ara-stepper__item.is-current .ara-stepper__circle {
	background: var(--ara-navy);
	border-color: var(--ara-navy);
	color: #fff;
}

.ara-stepper__item.is-current .ara-stepper__label {
	color: var(--ara-navy);
	font-weight: 700;
}

.ara-stepper__item.is-complete .ara-stepper__circle {
	background: var(--ara-gold);
	border-color: var(--ara-gold);
	color: #fff;
}

.ara-stepper__item.is-complete .ara-stepper__label {
	color: var(--ara-gold-text);
	font-weight: 600;
}

.ara-stepper__check {
	display: none;
	width: 16px;
	height: 16px;
}

.ara-stepper__item.is-complete .ara-stepper__number {
	display: none;
}

.ara-stepper__item.is-complete .ara-stepper__check {
	display: block;
}

/* -------------------------------------------------------------------------- */
/* Single content card                                                        */
/* -------------------------------------------------------------------------- */

.ara-step-content {
	position: relative;
	background: var(--ara-card-cream);
	background-image: radial-gradient(ellipse 55% 40% at 100% 0%, rgba(212, 175, 55, 0.16), transparent 70%);
	border: 1px solid var(--ara-border-light);
	border-radius: var(--ara-radius);
	box-shadow: var(--ara-shadow);
	padding: 2.75rem 3rem;
	min-height: 280px;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
}

.ara-step-panel {
	display: none;
	min-width: 0;
	max-width: 100%;
}

.ara-step-panel.is-active {
	display: block;
}

.ara-step-panel__title {
	font-family: var(--ara-font-heading);
	font-size: 1.65rem;
	color: var(--ara-navy);
	margin-bottom: 0.4rem;
}

.ara-step-panel__note {
	color: var(--ara-text-muted);
	font-size: 0.9375rem;
	margin-bottom: 1.75rem;
}

/* -------------------------------------------------------------------------- */
/* Buttons                                                                    */
/* -------------------------------------------------------------------------- */

.ara-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.5rem;
	border: 1.5px solid transparent;
	border-radius: var(--ara-radius-sm);
	font-family: var(--ara-font-body);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
	position: relative;
}

.ara-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.ara-btn:hover:not(:disabled),
.ara-btn:focus:not(:focus-visible) {
	/* Keep default look — block theme/browser hover tints. */
	background: inherit;
	border-color: inherit;
	color: inherit;
}

.ara-btn--primary:hover:not(:disabled),
.ara-btn--primary:focus:not(:focus-visible) {
	background: var(--ara-gold);
	border-color: var(--ara-gold);
	color: var(--ara-navy);
}

.ara-btn--ghost:hover:not(:disabled),
.ara-btn--ghost:focus:not(:focus-visible) {
	background: #fff;
	border-color: var(--ara-border);
	color: var(--ara-navy);
}

.ara-btn--outline:hover:not(:disabled),
.ara-btn--outline:focus:not(:focus-visible) {
	background: #fff;
	border-color: var(--ara-gold);
	color: var(--ara-gold-text);
}

.ara-btn--whatsapp:hover:not(:disabled),
.ara-btn--whatsapp:focus:not(:focus-visible) {
	background: var(--ara-whatsapp);
	border-color: var(--ara-whatsapp);
	color: #fff;
}

.ara-btn--email:hover:not(:disabled),
.ara-btn--email:focus:not(:focus-visible) {
	background: var(--ara-gold);
	border-color: var(--ara-gold);
	color: var(--ara-navy);
}

.ara-btn:focus-visible,
.ara-path-card:focus-visible,
.ara-quiz-option:focus-visible,
.ara-quiz-pill:focus-visible,
.ara-input:focus-visible,
.ara-select:focus-visible,
.ara-subject-item:focus-within {
	outline: 2px solid var(--ara-navy);
	outline-offset: 2px;
}

.ara-btn--primary {
	background: var(--ara-gold);
	border-color: var(--ara-gold);
	color: var(--ara-navy);
}

.ara-btn--ghost {
	background: #fff;
	color: var(--ara-navy);
	border-color: var(--ara-border);
}

.ara-btn--outline {
	background: #fff;
	color: var(--ara-gold-text);
	border-color: var(--ara-gold);
}

.ara-btn--whatsapp {
	background: var(--ara-whatsapp);
	border-color: var(--ara-whatsapp);
	color: #fff;
}

.ara-btn--email {
	background: var(--ara-gold);
	border-color: var(--ara-gold);
	color: var(--ara-navy);
}

.ara-btn--lg {
	padding: 1rem 1.75rem;
	font-size: 1rem;
}

.ara-btn--sm {
	padding: 0.55rem 1.15rem;
	font-size: 0.875rem;
}

.ara-btn__icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.ara-btn.is-loading {
	pointer-events: none;
	color: transparent !important;
}

.ara-btn.is-loading > * {
	opacity: 0;
}

.ara-btn.is-loading::after {
	content: "";
	position: absolute;
	width: 1.1rem;
	height: 1.1rem;
	border: 2px solid rgba(30, 42, 56, 0.2);
	border-top-color: var(--ara-navy);
	border-radius: 50%;
	animation: ara-spin 0.7s linear infinite;
}

.ara-btn--whatsapp.is-loading::after {
	border-color: rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
}

@keyframes ara-spin {
	to {
		transform: rotate(360deg);
	}
}

.ara-wizard-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: space-between;
	align-items: center;
	margin-top: 1.75rem;
}

.ara-wizard-nav--setup {
	margin-top: 1.25rem;
}

/* -------------------------------------------------------------------------- */
/* Icon helpers                                                               */
/* -------------------------------------------------------------------------- */

.ara-icon-circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--ara-gold-light);
	color: var(--ara-gold-text);
	flex-shrink: 0;
}

.ara-icon-circle--sm {
	width: 40px;
	height: 40px;
}

.ara-icon-circle svg {
	width: 20px;
	height: 20px;
}

/* -------------------------------------------------------------------------- */
/* Step 1 — Welcome (left-aligned, single card)                               */
/* -------------------------------------------------------------------------- */

.ara-welcome {
	text-align: left;
}

.ara-welcome__eyebrow {
	display: block;
	font-size: 2.1rem;
	margin-bottom: 0.15rem;
}

.ara-welcome__title {
	font-size: clamp(1.85rem, 4vw, 2.65rem);
	letter-spacing: 0.03em;
	line-height: 1.1;
	margin-bottom: 1rem;
	text-transform: uppercase;
}

.ara-welcome__title span {
	display: block;
}

.ara-welcome__title-accent {
	color: var(--ara-gold-text);
}

.ara-welcome__description {
	max-width: 540px;
	margin: 0 0 1.75rem;
	color: var(--ara-text-muted);
	font-size: 0.975rem;
	line-height: 1.6;
}

.ara-welcome__features {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 1.25rem 2rem;
	margin: 0 0 1.85rem;
	padding: 0;
	list-style: none;
}

.ara-welcome__feature {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.65rem;
	max-width: none;
}

.ara-welcome__feature-label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--ara-navy);
	line-height: 1.3;
}

.ara-welcome__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 0.85rem;
	margin-bottom: 1.1rem;
}

.ara-welcome__duration {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0.45rem;
	font-size: 0.875rem;
	color: var(--ara-text-muted);
	margin-bottom: 1.5rem;
}

.ara-welcome__duration-icon {
	width: 18px;
	height: 18px;
	color: var(--ara-gold);
	flex-shrink: 0;
}

.ara-welcome__divider {
	height: 1px;
	background: var(--ara-border);
	margin: 0 0 1.5rem;
	border: 0;
}

.ara-before-begin {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	text-align: left;
}

.ara-before-begin__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--ara-radius-xs);
	background: var(--ara-gold-light);
	color: var(--ara-gold-text);
	flex-shrink: 0;
}

.ara-before-begin__icon svg {
	width: 22px;
	height: 22px;
}

.ara-before-begin__title {
	font-family: var(--ara-font-heading);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--ara-navy);
	margin: 0 0 0.35rem;
}

.ara-before-begin__body {
	font-size: 0.9rem;
	color: var(--ara-text-muted);
	margin: 0;
	line-height: 1.55;
}

/* Resume bar — below the single card                                        */

.ara-resume-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	flex-wrap: wrap;
	margin-top: 1rem;
	padding: 1.15rem 1.5rem;
	background: #fff;
	border: 1px solid var(--ara-border-light);
	border-radius: var(--ara-radius);
	box-shadow: var(--ara-shadow-sm);
}

.ara-resume-banner[hidden] {
	display: none !important;
}

.ara-resume-banner__body {
	flex: 1 1 240px;
	min-width: 0;
}

.ara-resume-banner__title {
	font-weight: 700;
	color: var(--ara-navy);
	margin: 0 0 0.2rem;
	font-size: 0.975rem;
}

.ara-resume-banner__meta {
	font-size: 0.875rem;
	color: var(--ara-text-muted);
	margin: 0;
}

.ara-resume-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	flex-shrink: 0;
}

/* -------------------------------------------------------------------------- */
/* Step 2 — Details form                                                      */
/* -------------------------------------------------------------------------- */

.ara-details__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem 1.5rem;
}

.ara-field {
	margin-bottom: 0;
	text-align: left;
}

.ara-field__label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--ara-navy);
	margin-bottom: 0.45rem;
}

.ara-field__required {
	color: var(--ara-danger);
}

.ara-field__control {
	position: relative !important;
}

.ara-field__control--phone-number {
	flex: 1;
	min-width: 0;
}

.ara-field__icon {
	position: absolute !important;
	left: 0.85rem !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 18px !important;
	height: 18px !important;
	color: var(--ara-text-muted);
	pointer-events: none !important;
	z-index: 2 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.ara-field__icon svg {
	width: 18px !important;
	height: 18px !important;
	display: block !important;
}

.ara-input {
	width: 100%;
	height: 48px;
	padding: 0.7rem 1rem;
	font-family: var(--ara-font-body);
	font-size: 0.9375rem;
	color: var(--ara-text);
	background: #fff;
	border: 1px solid var(--ara-border);
	border-radius: var(--ara-radius-sm);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ara-input:focus {
	outline: none;
	border-color: var(--ara-gold);
	box-shadow: 0 0 0 3px rgba(197, 157, 74, 0.18);
}

.ara-app .ara-input--icon,
.ara-app input.ara-input--icon,
.ara-app select.ara-input--icon,
.ara-input--icon {
	padding-left: 2.75rem !important;
}

.ara-select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M6 8l4 4 4-4' stroke='%236b7280' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.85rem center;
	background-size: 18px;
	padding-right: 2.5rem;
	cursor: pointer;
}

.ara-field__control--phone {
	display: flex;
	gap: 0.6rem;
}

.ara-select--dial {
	flex: 0 0 128px;
	width: 128px;
	padding-left: 0.75rem;
}

/* UK hardcoded prefix badge */
.ara-phone-prefix {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	flex-shrink: 0;
	padding: 0 0.85rem;
	height: 48px;
	border: 1.5px solid var(--ara-border);
	border-radius: var(--ara-radius-sm);
	background: #f7f4ee;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ara-navy);
	white-space: nowrap;
	user-select: none;
}
.ara-phone-prefix__flag {
	font-size: 1.1rem;
	line-height: 1;
}
.ara-phone-prefix__code {
	letter-spacing: 0.01em;
}

.ara-field__error {
	margin: 0.4rem 0 0;
	font-size: 0.8125rem;
	color: var(--ara-danger);
}

.ara-secure-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	margin: 1.35rem 0 0;
	font-size: 0.8125rem;
	color: var(--ara-text-muted);
}

.ara-secure-note__icon {
	width: 16px;
	height: 16px;
	color: var(--ara-text-muted);
	flex-shrink: 0;
}

/* -------------------------------------------------------------------------- */
/* Step 3 — Setup                                                             */
/* -------------------------------------------------------------------------- */

.ara-setup {
	text-align: left;
}

.ara-setup__intro {
	text-align: center;
	color: var(--ara-text-muted);
	font-size: 0.975rem;
	margin: 0 0 2rem;
}

.ara-setup__section {
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--ara-border-light);
}

.ara-setup__section:last-of-type {
	border-bottom: none;
	padding-bottom: 0;
}

.ara-setup__section-head {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	margin-bottom: 1.25rem;
}

.ara-setup__section-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--ara-gold-light);
	color: var(--ara-gold-text);
	flex-shrink: 0;
}

.ara-setup__section-num svg {
	width: 20px;
	height: 20px;
}

.ara-setup__section-title {
	font-family: var(--ara-font-body);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--ara-navy);
	margin: 0 0 0.2rem;
}

.ara-setup__section-note {
	margin: 0;
	font-size: 0.875rem;
	color: var(--ara-text-muted);
}

.ara-path-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.15rem;
	margin: 0;
}

.ara-path-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	text-align: left;
	padding: 0;
	overflow: hidden;
	background: #f7f4ee;
	border: 1.5px solid #cfc8bc;
	border-radius: 14px;
	cursor: pointer;
	transition: none;
	font-family: inherit;
	color: inherit;
	width: 100%;
}

.ara-path-card:hover {
	border-color: #cfc8bc;
	background: #f7f4ee;
	box-shadow: none;
}

.ara-path-card.is-selected {
	border-color: var(--ara-gold);
	background: #f7f4ee;
	box-shadow: 0 0 0 1px var(--ara-gold);
}

.ara-path-card.is-selected:hover {
	border-color: var(--ara-gold);
	background: #f7f4ee;
	box-shadow: 0 0 0 1px var(--ara-gold);
}

.ara-path-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #e8e2d8;
}

.ara-path-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.ara-path-card__footer {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.95rem 1rem 1.1rem;
}

.ara-path-card__radio {
	position: static;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 0.2rem;
	border-radius: 50%;
	border: 1.5px solid #9aa1ab;
	background: #fff;
}

.ara-path-card.is-selected .ara-path-card__radio {
	border-color: var(--ara-navy);
	background: var(--ara-navy);
	box-shadow: inset 0 0 0 3px #fff;
}

.ara-path-card__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.ara-path-card__name {
	display: block;
	font-family: var(--ara-font-body);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--ara-navy);
	margin: 0;
	line-height: 1.25;
}

.ara-path-card__subtitle {
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	color: #6b7280;
	margin: 0;
	line-height: 1.35;
}

.ara-path-card__desc,
.ara-path-card__icon {
	display: none;
}

.ara-subject-groups {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.ara-subject-group {
	background: #fff;
	border: 1px solid var(--ara-border);
	border-radius: var(--ara-radius-sm);
	padding: 1.1rem 1.15rem;
}

.ara-subject-group__heading {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-family: var(--ara-font-body);
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--ara-navy);
	margin: 0 0 0.85rem;
}

.ara-subject-group__icon {
	width: 28px;
	height: 28px;
}

.ara-subject-group__icon svg {
	width: 14px;
	height: 14px;
}

.ara-subject-group__list {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.ara-subject-item {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.35rem 0;
	background: transparent;
	border: none;
	border-radius: 0;
	cursor: pointer;
	transition: none;
	width: 100%;
}

.ara-subject-item:hover {
	border: none;
}

.ara-subject-item:has(.ara-subject-item__input:checked),
.ara-subject-item.is-checked {
	border: none;
	background: transparent;
}

.ara-subject-item__input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ara-subject-item__box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border: 1.5px solid var(--ara-border);
	border-radius: 4px;
	background: #fff;
	color: transparent;
	flex-shrink: 0;
}

.ara-subject-item__box svg {
	width: 11px;
	height: 11px;
}

.ara-subject-item__input:checked + .ara-subject-item__box {
	background: var(--ara-gold);
	border-color: var(--ara-gold);
	color: #fff;
}

.ara-subject-item__label {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--ara-navy);
}

.ara-subject-item.is-unavailable {
	cursor: not-allowed;
	opacity: 0.55;
	pointer-events: none;
}

.ara-subject-item__hint {
	margin-left: auto;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ara-text-muted);
	white-space: nowrap;
}

.ara-recommend-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.25rem;
	background: var(--ara-gold-soft);
	border: 1px solid var(--ara-border);
	border-radius: var(--ara-radius-sm);
	margin-top: 0.5rem;
}

.ara-recommend-bar[hidden] {
	display: none !important;
}

.ara-recommend-bar__text {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	flex: 1 1 240px;
	min-width: 0;
}

.ara-recommend-bar__text p {
	margin: 0;
	font-size: 0.875rem;
	color: var(--ara-navy);
	line-height: 1.45;
}

.ara-recommend-bar__icon {
	width: 20px;
	height: 20px;
	color: var(--ara-gold);
	flex-shrink: 0;
	margin-top: 1px;
}

.ara-recommend-bar__icon svg {
	width: 20px;
	height: 20px;
}

.ara-empty-state {
	padding: 1.1rem 1.2rem;
	background: var(--ara-gold-soft);
	border: 1px dashed var(--ara-border);
	border-radius: var(--ara-radius-sm);
	color: var(--ara-text-muted);
	font-size: 0.9375rem;
	margin: 0.75rem 0;
}

.ara-loading {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.85rem 0;
	color: var(--ara-text-muted);
	font-size: 0.9rem;
}

.ara-loading[hidden] {
	display: none !important;
}

.ara-loading::before {
	content: "";
	width: 1rem;
	height: 1rem;
	border: 2px solid var(--ara-border);
	border-top-color: var(--ara-gold);
	border-radius: 50%;
	animation: ara-spin 0.7s linear infinite;
}

.ara-toast {
	position: fixed;
	z-index: 100000;
	left: 50%;
	bottom: 1.5rem;
	transform: translateX(-50%);
	max-width: min(420px, calc(100vw - 2rem));
	padding: 0.85rem 1.15rem;
	border-radius: var(--ara-radius-sm);
	box-shadow: 0 10px 30px rgba(30, 42, 56, 0.18);
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.4;
	text-align: center;
}

.ara-toast[hidden] {
	display: none !important;
}

.ara-toast--error {
	background: #fff5f5;
	border: 1px solid #f5c2c0;
	color: #8a1f1b;
}

.ara-toast--success {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #166534;
}

.ara-toast--info {
	background: #fffbeb;
	border: 1px solid #fde68a;
	color: var(--ara-gold-text);
}

/* -------------------------------------------------------------------------- */
/* Step 4 — Assessment quiz                                                   */
/* -------------------------------------------------------------------------- */

.ara-step-content:has([data-ara-panel="4"].is-active) {
	background: transparent;
	background-image: none;
	border: none;
	box-shadow: none;
	padding: 0;
	overflow: visible;
}

.ara-quiz {
	display: grid;
	grid-template-columns: minmax(220px, 260px) 1fr;
	gap: 1.15rem;
	align-items: start;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.ara-quiz[hidden] {
	display: none !important;
}

.ara-quiz__sidebar {
	background: #fff;
	border: 1px solid var(--ara-border-light);
	border-radius: var(--ara-radius);
	box-shadow: var(--ara-shadow-sm);
	padding: 1.25rem 1rem;
	min-width: 0;
	max-width: 100%;
}

.ara-quiz__sidebar-title {
	font-family: var(--ara-font-body);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ara-text-muted);
	margin: 0 0 1rem;
}

.ara-quiz__subjects {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.ara-quiz-subject-row {
	display: grid;
	grid-template-columns: 36px 1fr auto;
	gap: 0.65rem;
	align-items: center;
	padding: 0.7rem 0.65rem;
	border-radius: var(--ara-radius-sm);
	border: 1.5px solid transparent;
	cursor: default;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.ara-quiz-subject-row:focus-visible {
	outline: none;
}

.ara-quiz-subject-row.is-current {
	background: var(--ara-gold-soft);
	border-color: var(--ara-gold);
}

.ara-quiz-subject-row__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: var(--ara-radius-xs);
	background: #eef0f3;
	color: var(--ara-navy);
	font-weight: 700;
	font-size: 0.9rem;
}

.ara-quiz-subject-row.is-current .ara-quiz-subject-row__badge {
	background: var(--ara-gold-light);
	color: var(--ara-gold-text);
}

.ara-quiz-subject-row__name {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--ara-navy);
	overflow-wrap: anywhere;
	word-break: break-word;
	min-width: 0;
}

.ara-quiz-subject-row__meta {
	display: block;
	font-size: 0.72rem;
	color: var(--ara-text-muted);
}

.ara-quiz-subject-row__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	height: 2rem;
	padding: 0 0.35rem;
	border-radius: 50%;
	border: 1.5px solid var(--ara-border);
	font-size: 0.7rem;
	font-weight: 700;
	color: var(--ara-navy);
}

.ara-quiz-subject-row.is-current .ara-quiz-subject-row__count {
	background: var(--ara-gold);
	border-color: var(--ara-gold);
	color: var(--ara-navy);
}

.ara-quiz__encourage {
	display: flex;
	gap: 0.65rem;
	padding: 0.9rem;
	background: var(--ara-gold-soft);
	border-radius: var(--ara-radius-sm);
	font-size: 0.8125rem;
	color: var(--ara-navy);
}

.ara-quiz__encourage p {
	margin: 0;
}

.ara-quiz__encourage-icon {
	width: 20px;
	height: 20px;
	color: var(--ara-gold);
	flex-shrink: 0;
}

.ara-quiz__encourage-icon svg {
	width: 20px;
	height: 20px;
}

.ara-quiz__main {
	background: #fff;
	border: 1px solid var(--ara-border-light);
	border-radius: var(--ara-radius);
	box-shadow: var(--ara-shadow-sm);
	padding: 1.6rem 1.5rem 1.35rem;
	min-width: 0;
	max-width: 100%;
	overflow-x: hidden;
}

.ara-quiz__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1rem;
}

.ara-quiz__header-main {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	min-width: 0;
}

.ara-quiz__subject-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--ara-radius-xs);
	background: var(--ara-gold-light);
	color: var(--ara-gold-text);
	font-weight: 700;
	font-size: 1.1rem;
	flex-shrink: 0;
}

.ara-quiz__subject-meta {
	margin: 0 0 0.2rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--ara-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ara-quiz__subject-name {
	font-size: 1.55rem;
	margin: 0;
}

.ara-quiz__pill {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.4rem 0.8rem;
	border-radius: 999px;
	background: #f3f4f6;
	color: var(--ara-text-muted);
	font-size: 0.75rem;
	font-weight: 600;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	min-width: 4.5rem;
	justify-content: center;
}

#ara-quiz-timer-label {
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}

.ara-quiz__progress-block {
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--ara-border-light);
}

.ara-quiz__progress-labels {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--ara-text-muted);
	margin-bottom: 0.45rem;
	min-width: 0;
}

.ara-quiz__progress-labels > * {
	min-width: 0;
	overflow-wrap: anywhere;
}

#ara-quiz-pct-label {
	color: var(--ara-gold-text);
}

.ara-quiz__progress-bar {
	display: block;
	height: 8px;
	background: var(--ara-border);
	border-radius: 999px;
	overflow: hidden;
}

.ara-quiz__progress-fill {
	display: block;
	height: 100%;
	width: 0;
	background: var(--ara-gold);
	border-radius: 999px;
	transition: width 0.25s ease;
}

.ara-quiz__tip {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	padding: 0.75rem 0.95rem;
	background: var(--ara-tip-bg);
	border: 1px solid var(--ara-tip-border);
	border-radius: var(--ara-radius-sm);
	font-size: 0.875rem;
	color: var(--ara-navy);
	margin-bottom: 1rem;
	min-width: 0;
	max-width: 100%;
}

.ara-quiz__tip svg {
	width: 18px;
	height: 18px;
	color: var(--ara-tip-icon);
	flex-shrink: 0;
	margin-top: 0.1rem;
}

.ara-quiz__tip span {
	min-width: 0;
	flex: 1;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.ara-quiz__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 1rem;
	max-width: 100%;
	min-width: 0;
}

.ara-quiz-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: var(--ara-radius-xs);
	border: 1.5px solid var(--ara-border);
	background: #fff;
	color: var(--ara-text-muted);
	font-weight: 600;
	font-size: 0.8125rem;
	cursor: default;
	pointer-events: none;
	user-select: none;
	font-family: inherit;
}

.ara-quiz-pill.is-current {
	background: var(--ara-navy);
	border-color: var(--ara-navy);
	color: #fff;
}

.ara-quiz-pill.is-answered:not(.is-current) {
	background: var(--ara-gold-light);
	border-color: var(--ara-gold);
	color: var(--ara-navy);
}

.ara-quiz-pill.is-marked {
	box-shadow: inset 0 0 0 2px var(--ara-warning);
}

.ara-quiz__card {
	border: 1px solid var(--ara-border);
	border-radius: var(--ara-radius);
	padding: 1.35rem;
	margin-bottom: 1rem;
}

.ara-quiz__q-head {
	display: flex;
	gap: 0.85rem;
	margin-bottom: 1.1rem;
	min-width: 0;
	max-width: 100%;
}

.ara-quiz__q-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: var(--ara-radius-xs);
	background: var(--ara-navy);
	color: #fff;
	font-weight: 700;
	flex-shrink: 0;
}

.ara-quiz__q-head > div {
	min-width: 0;
	flex: 1;
}

.ara-quiz__q-text {
	font-family: var(--ara-font-heading);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--ara-navy);
	margin: 0 0 0.35rem;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.ara-quiz__q-hint {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--ara-text-muted);
	overflow-wrap: anywhere;
	word-break: break-word;
}

.ara-quiz__options {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	min-width: 0;
	max-width: 100%;
}

.ara-quiz-option {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	text-align: left;
	padding: 0.9rem 1rem;
	border: 1.5px solid var(--ara-border);
	border-radius: var(--ara-radius-sm);
	background: #fff;
	cursor: pointer;
	font-family: inherit;
	color: inherit;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.ara-quiz-option.is-selected {
	border-color: var(--ara-gold);
	background: var(--ara-gold-soft);
	outline: none;
}

.ara-quiz-option__letter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1.5px solid var(--ara-border);
	font-weight: 700;
	font-size: 0.875rem;
	color: var(--ara-navy);
	flex-shrink: 0;
	margin-top: 0.05rem;
}

.ara-quiz-option.is-selected .ara-quiz-option__letter {
	background: var(--ara-gold);
	border-color: var(--ara-gold);
	color: var(--ara-navy);
}

.ara-quiz-option__body {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	flex: 1;
	min-width: 0;
}

.ara-quiz-option__text {
	font-size: 0.95rem;
	color: var(--ara-text);
	overflow-wrap: anywhere;
	word-break: break-word;
	white-space: normal;
}

.ara-quiz-option__img {
	display: block;
}
.ara-quiz-option__img img {
	max-width: 100%;
	max-height: 160px;
	border-radius: 6px;
	object-fit: contain;
	border: 1px solid var(--ara-border);
}

/* Question image */
.ara-quiz__q-image-wrap {
	margin: 0.75rem 0 0.5rem;
}
.ara-quiz__q-image-wrap[hidden] { display: none; }
.ara-quiz__q-image {
	max-width: 100%;
	max-height: 280px;
	border-radius: 8px;
	object-fit: contain;
	border: 1px solid var(--ara-border);
	display: block;
}

/* Answer feedback states */
.ara-quiz-option.is-correct {
	border-color: #22c55e;
	background: #f0fdf4;
	pointer-events: none;
}
.ara-quiz-option.is-correct .ara-quiz-option__letter {
	background: #22c55e;
	border-color: #22c55e;
	color: #fff;
}
.ara-quiz-option.is-wrong {
	border-color: #ef4444;
	background: #fef2f2;
	pointer-events: none;
}
.ara-quiz-option.is-wrong .ara-quiz-option__letter {
	background: #ef4444;
	border-color: #ef4444;
	color: #fff;
}
.ara-quiz-option.is-revealed {
	pointer-events: none;
}
.ara-quiz-option.is-your-pick.is-wrong {
	box-shadow: inset 3px 0 0 #ef4444;
}
.ara-quiz-option.is-your-pick.is-correct {
	box-shadow: inset 3px 0 0 #22c55e;
}
.ara-quiz-option__status {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1;
}
.ara-quiz-option.is-correct .ara-quiz-option__status {
	background: #22c55e;
	color: #fff;
}
.ara-quiz-option.is-wrong .ara-quiz-option__status {
	background: #ef4444;
	color: #fff;
}

/* Feedback banner */
.ara-quiz__feedback {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	padding: 1rem 1.1rem;
	border-radius: var(--ara-radius-sm);
	margin-top: 1rem;
	font-size: 0.95rem;
	line-height: 1.5;
}
.ara-quiz__feedback[hidden] { display: none !important; }
.ara-quiz__feedback.is-correct {
	background: #f0fdf4;
	border: 1.5px solid #86efac;
	color: #15803d;
}
.ara-quiz__feedback.is-wrong {
	background: #fef2f2;
	border: 1.5px solid #fca5a5;
	color: #b91c1c;
}
.ara-quiz__feedback-icon {
	font-size: 1.4rem;
	line-height: 1;
	flex-shrink: 0;
	margin-top: 1px;
}
.ara-quiz__feedback-verdict {
	font-weight: 700;
	margin: 0 0 0.2rem;
}
.ara-quiz__feedback-detail {
	margin: 0;
	font-size: 0.875rem;
	opacity: 0.85;
}

.ara-quiz__tools {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem 1.25rem;
	margin-top: 1.1rem;
}

.ara-quiz__tool {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	border: none;
	background: transparent;
	color: var(--ara-text-muted);
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	padding: 0;
}

.ara-quiz__tool svg {
	width: 16px;
	height: 16px;
}

.ara-quiz__tool.is-active {
	color: var(--ara-gold);
}

.ara-quiz__nav {
	margin-top: 0.5rem;
	justify-content: flex-end;
}

.ara-quiz__nav[hidden] {
	display: none !important;
}

.ara-quiz__exit-box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: 1.25rem;
	padding: 0.95rem 1.15rem;
	background: var(--ara-gold-soft);
	border: 1px solid var(--ara-border);
	border-radius: var(--ara-radius-sm);
}

.ara-quiz__exit-box p {
	margin: 0;
	font-size: 0.875rem;
	color: var(--ara-text-muted);
	flex: 1;
}

/* -------------------------------------------------------------------------- */
/* Step 5 — Academic Readiness Report                                         */
/* -------------------------------------------------------------------------- */

.ara-report {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
}

.ara-report__hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 2rem;
	padding: 1.75rem 1.85rem;
	background: var(--ara-navy-deep);
	color: #fff;
	border-radius: var(--ara-radius);
}

.ara-report__hero-main {
	flex: 1 1 240px;
	min-width: 0;
}

.ara-report__eyebrow {
	margin: 0 0 0.4rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff !important;
}

.ara-report__title {
	margin: 0 0 0.95rem;
	font-family: var(--ara-font-heading);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	line-height: 1.2;
	color: var(--ara-gold-on-dark);
}

.ara-report__hero .ara-report__title {
	color: var(--ara-gold-on-dark);
}

.ara-report__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 1.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.88);
}

.ara-report__meta-label {
	color: rgba(255, 255, 255, 0.68);
	font-weight: 500;
	opacity: 1;
}

.ara-report__meta strong {
	color: #fff;
	font-weight: 700;
}

.ara-report__gauge-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.7rem;
	flex: 0 0 auto;
}

.ara-report__gauge {
	position: relative;
	width: 128px;
	height: 128px;
}

.ara-report__gauge-svg {
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.ara-report__gauge-track {
	fill: none;
	stroke: rgba(255, 255, 255, 0.12);
	stroke-width: 7;
}

.ara-report__gauge-value {
	fill: none;
	stroke: var(--ara-gold-on-dark);
	stroke-width: 7;
	stroke-linecap: round;
	stroke-dasharray: 326.73;
	stroke-dashoffset: 326.73;
	transition: stroke-dashoffset 0.6s ease, stroke 0.3s ease;
}

.ara-report__hero.ara-band-needs_support .ara-report__gauge-value,
.ara-report__hero.ara-band-priority .ara-report__gauge-value {
	stroke: var(--ara-band-priority);
}

.ara-report__hero.ara-band-developing .ara-report__gauge-value,
.ara-report__hero.ara-band-average .ara-report__gauge-value {
	stroke: var(--ara-band-average);
}

.ara-report__hero.ara-band-ready .ara-report__gauge-value,
.ara-report__hero.ara-band-strong .ara-report__gauge-value {
	stroke: var(--ara-band-strong);
}

.ara-report__gauge-center {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	pointer-events: none;
}

.ara-report__gauge-pct {
	font-family: var(--ara-font-heading);
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1;
	color: #fff;
}

.ara-report__gauge-label {
	margin-top: 0.3rem;
	font-size: 0.58rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
	max-width: 72px;
	line-height: 1.25;
}

.ara-report__band-pill,
.ara-report-subject__pill {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.2;
}

.ara-report__band-pill {
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: transparent;
	color: #fff;
}

.ara-pill--needs_support,
.ara-pill--priority {
	background: var(--ara-danger-soft);
	color: var(--ara-danger);
}

.ara-pill--developing,
.ara-pill--average {
	background: rgba(212, 175, 55, 0.2);
	color: #7a5c0a;
}

.ara-pill--ready,
.ara-pill--strong {
	background: var(--ara-success-soft);
	color: var(--ara-success);
}

.ara-report__band-pill.ara-pill--needs_support,
.ara-report__band-pill.ara-pill--developing,
.ara-report__band-pill.ara-pill--ready,
.ara-report__band-pill.ara-pill--priority,
.ara-report__band-pill.ara-pill--average,
.ara-report__band-pill.ara-pill--strong {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.4);
}

.ara-report__section-title {
	margin: 0 0 1rem;
	font-family: var(--ara-font-body);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ara-text-muted);
}

.ara-report__subjects {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.ara-report-subject {
	padding: 1.2rem 1.25rem;
	background: #fff;
	border: 1px solid var(--ara-border);
	border-radius: var(--ara-radius-sm);
}

.ara-report-subject__head {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 0.7rem;
}

.ara-report-subject__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: var(--ara-radius-xs);
	background: #eef0f3;
	color: var(--ara-navy);
	font-size: 0.875rem;
	font-weight: 700;
	flex-shrink: 0;
}

.ara-report-subject__name {
	flex: 1;
	min-width: 0;
	font-weight: 700;
	color: var(--ara-navy);
	overflow-wrap: anywhere;
	word-break: break-word;
}

.ara-report-subject__score {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--ara-text-muted);
}

.ara-report-subject__bar {
	height: 6px;
	margin-bottom: 0.7rem;
	background: var(--ara-border);
	border-radius: 999px;
	overflow: hidden;
}

.ara-report-subject__fill {
	display: block;
	height: 100%;
	width: 0;
	border-radius: inherit;
	background: var(--ara-gold);
	transition: width 0.5s ease;
}

.ara-report-subject.ara-band-needs_support .ara-report-subject__fill,
.ara-report-subject.ara-band-priority .ara-report-subject__fill {
	background: var(--ara-band-priority);
}

.ara-report-subject.ara-band-developing .ara-report-subject__fill,
.ara-report-subject.ara-band-average .ara-report-subject__fill {
	background: var(--ara-band-average);
}

.ara-report-subject.ara-band-ready .ara-report-subject__fill,
.ara-report-subject.ara-band-strong .ara-report-subject__fill {
	background: var(--ara-band-strong);
}

.ara-report-subject__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 0.85rem;
}

.ara-report-subject__pill {
	margin-bottom: 0;
}

.ara-report-subject__time {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--ara-text-muted);
}

.ara-report__graph-note {
	margin: -0.35rem 0 1rem;
	font-size: 0.8125rem;
	color: var(--ara-text-muted);
}

.ara-report__graph-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1.15rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.ara-report__graph-legend li {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--ara-text-muted);
}

.ara-report__graph-swatch {
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 2px;
	flex-shrink: 0;
}

.ara-report__graph-swatch--priority {
	background: var(--ara-band-priority);
}

.ara-report__graph-swatch--average {
	background: var(--ara-band-average);
}

.ara-report__graph-swatch--strong {
	background: var(--ara-band-strong);
}

.ara-report__graph {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1.15rem 1.25rem;
	background: #fff;
	border: 1px solid var(--ara-border);
	border-radius: var(--ara-radius-sm);
}

.ara-report__graph-row {
	display: grid;
	grid-template-columns: minmax(90px, 140px) 1fr auto;
	gap: 0.65rem 0.85rem;
	align-items: center;
}

.ara-report__graph-label {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--ara-navy);
	line-height: 1.3;
}

.ara-report__graph-track {
	height: 12px;
	background: var(--ara-border-light);
	border-radius: 999px;
	overflow: hidden;
}

.ara-report__graph-fill {
	display: block;
	height: 100%;
	width: 0;
	border-radius: inherit;
	transition: width 0.55s ease;
}

.ara-report__graph-fill--priority {
	background: var(--ara-band-priority);
}

.ara-report__graph-fill--average {
	background: var(--ara-band-average);
}

.ara-report__graph-fill--strong {
	background: var(--ara-band-strong);
}

.ara-report__graph-value {
	min-width: 3.25rem;
	text-align: right;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--ara-navy);
}

.ara-report__graph-empty {
	margin: 0;
	font-size: 0.875rem;
	color: var(--ara-text-muted);
}

.ara-report-subject__line {
	margin: 0.4rem 0 0;
	font-size: 0.8125rem;
	color: var(--ara-text-muted);
	line-height: 1.45;
}

.ara-report-subject__line strong {
	display: inline;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.7rem;
	letter-spacing: 0.06em;
	margin-right: 0.25rem;
}

.ara-report-subject__line--strengths strong {
	color: var(--ara-success);
}

.ara-report-subject__line--focus strong {
	color: #b86a1a;
}

.ara-report__recs {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	counter-reset: ara-rec;
}

.ara-report__recs li {
	counter-increment: ara-rec;
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	padding: 1rem 1.15rem;
	background: var(--ara-gold-soft);
	border: 1px solid var(--ara-border);
	border-radius: var(--ara-radius-sm);
	color: var(--ara-text);
	font-size: 0.925rem;
	line-height: 1.55;
}

.ara-report__recs li::before {
	content: counter(ara-rec);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.55rem;
	height: 1.55rem;
	border-radius: 50%;
	background: var(--ara-navy);
	color: var(--ara-gold);
	font-size: 0.75rem;
	font-weight: 700;
	flex-shrink: 0;
	margin-top: 0.1rem;
}

.ara-report__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	padding-top: 0.25rem;
}

.ara-report__actions .ara-btn {
	flex: 1 1 auto;
	min-width: 140px;
}

/* -------------------------------------------------------------------------- */
/* Print                                                                      */
/* -------------------------------------------------------------------------- */

@media print {
	.ara-stepper,
	.ara-wizard-nav,
	.ara-no-print,
	.ara-quiz__exit-box,
	.ara-resume-banner,
	#wpadminbar {
		display: none !important;
	}

	.ara-app {
		background: #fff;
		padding: 0;
		max-width: none;
	}

	.ara-step-content {
		border: none;
		box-shadow: none;
		padding: 0;
		background: #fff;
		background-image: none;
	}

	.ara-report__hero,
	.ara-report-subject,
	.ara-report-subject__fill,
	.ara-report-subject__bar,
	.ara-pill--needs_support,
	.ara-pill--developing,
	.ara-pill--ready {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}

	.ara-report-subject {
		break-inside: avoid;
	}
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                 */
/* -------------------------------------------------------------------------- */

/* Large tablets / small laptops */
@media (max-width: 1024px) {
	.ara-step-content {
		padding: 2.25rem 2rem;
	}

	.ara-path-cards {
		grid-template-columns: repeat(3, 1fr);
		gap: 0.85rem;
	}

	.ara-subject-groups {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Tablets */
@media (max-width: 860px) {
	.ara-step-content {
		padding: 2rem 1.5rem;
	}

	.ara-step-panel__title {
		font-size: 1.45rem;
	}

	.ara-path-cards {
		grid-template-columns: 1fr;
	}

	.ara-subject-groups {
		grid-template-columns: 1fr 1fr;
	}

	.ara-report__hero {
		flex-direction: column;
		align-items: stretch;
		text-align: left;
	}

	.ara-report__gauge-wrap {
		align-self: center;
	}

	.ara-report__subjects {
		grid-template-columns: 1fr;
	}

	.ara-report__graph-row {
		grid-template-columns: 1fr auto;
		min-width: 0;
	}

	.ara-report__graph-label {
		grid-column: 1 / -1;
	}

	.ara-quiz {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.ara-quiz__sidebar {
		padding: 0.9rem;
		overflow: hidden;
	}

	.ara-quiz__subjects {
		display: flex;
		flex-direction: row;
		gap: 0.55rem;
		overflow-x: auto;
		padding-bottom: 0.35rem;
		margin: 0;
		max-width: 100%;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity;
		scrollbar-width: thin;
	}

	.ara-quiz-subject-row {
		flex: 0 0 auto;
		min-width: 168px;
		max-width: 220px;
		width: 180px;
		display: grid;
		scroll-snap-align: start;
	}

	.ara-quiz__encourage {
		display: none;
	}

	.ara-quiz__pills {
		overflow-x: auto;
		flex-wrap: nowrap;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 0.25rem;
		scrollbar-width: thin;
		max-width: 100%;
	}

	.ara-quiz__main {
		padding: 1.35rem 1.25rem 1.15rem;
	}

	.ara-quiz__subject-name {
		font-size: 1.35rem;
	}

	.ara-quiz__card {
		max-width: 100%;
		min-width: 0;
		overflow: hidden;
	}
}

/* Large phones */
@media (max-width: 640px) {
	.ara-app {
		padding: 1.15rem max(1rem, env(safe-area-inset-right, 0px)) max(2rem, env(safe-area-inset-bottom, 0px))
			max(1rem, env(safe-area-inset-left, 0px));
	}

	.ara-stepper {
		margin-bottom: 1.25rem;
		gap: 0.15rem;
	}

	.ara-stepper__label {
		font-size: 0.62rem;
		line-height: 1.25;
		hyphens: auto;
		overflow-wrap: break-word;
		max-width: 100%;
	}

	.ara-step-content {
		padding: 1.5rem 1.15rem;
		min-height: 0;
	}

	.ara-step-panel__title {
		font-size: 1.35rem;
	}

	.ara-step-panel__note {
		font-size: 0.875rem;
		margin-bottom: 1.35rem;
	}

	.ara-welcome__eyebrow {
		font-size: 1.75rem;
	}

	.ara-welcome__title {
		font-size: clamp(1.45rem, 6vw, 1.85rem);
	}

	.ara-welcome__actions,
	.ara-welcome__actions .ara-btn {
		width: 100%;
	}

	.ara-welcome__actions .ara-btn--lg {
		padding: 0.95rem 1.25rem;
	}

	.ara-before-begin {
		flex-direction: column;
		align-items: flex-start;
	}

	.ara-details__grid {
		grid-template-columns: 1fr;
	}

	.ara-subject-groups {
		grid-template-columns: 1fr;
	}

	.ara-welcome__features {
		flex-direction: column;
		gap: 0.85rem;
	}

	.ara-wizard-nav {
		flex-direction: column;
		align-items: stretch;
		gap: 0.65rem;
		margin-top: 1.35rem;
	}

	.ara-wizard-nav .ara-btn {
		width: 100%;
		justify-content: center;
		min-height: 48px;
	}

	.ara-welcome__actions .ara-btn,
	.ara-report__actions .ara-btn {
		width: 100%;
	}

	.ara-resume-banner {
		flex-direction: column;
		align-items: stretch;
		padding: 1rem 1.15rem;
		margin-left: 0;
		margin-right: 0;
		max-width: 100%;
	}

	.ara-resume-banner__actions {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
	}

	.ara-resume-banner__actions .ara-btn {
		flex: 1 1 auto;
		width: 100%;
		min-height: 44px;
		justify-content: center;
	}

	.ara-recommend-bar {
		flex-direction: column;
		align-items: stretch;
	}

	.ara-recommend-bar .ara-btn {
		width: 100%;
	}

	.ara-quiz__header {
		flex-wrap: wrap;
		gap: 0.75rem;
	}

	.ara-quiz__header-main {
		flex-wrap: wrap;
		flex: 1 1 auto;
		min-width: 0;
		max-width: 100%;
	}

	.ara-quiz__pill {
		align-self: flex-start;
		white-space: nowrap;
		max-width: 100%;
	}

	.ara-quiz__tools {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.ara-quiz__card {
		padding: 1.1rem;
	}

	.ara-quiz__q-text {
		font-size: 1rem;
	}

	.ara-quiz-option {
		padding: 0.85rem 0.9rem;
	}

	.ara-report__meta {
		gap: 0.65rem 1rem;
	}

	.ara-report__meta li {
		flex: 1 1 calc(50% - 0.5rem);
		min-width: 0;
	}

	.ara-report__actions .ara-btn {
		min-width: 0;
		flex: 1 1 100%;
	}

	.ara-toast {
		bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
		max-width: calc(100vw - 2rem);
		left: 50%;
		transform: translateX(-50%);
		font-size: 0.85rem;
	}

	:root {
		--ara-stepper-size: 30px;
	}
}

/* Small phones */
@media (max-width: 480px) {
	.ara-app {
		padding-left: max(0.85rem, env(safe-area-inset-left, 0px));
		padding-right: max(0.85rem, env(safe-area-inset-right, 0px));
	}

	.ara-stepper__item {
		padding: 0 0.05rem;
	}

	.ara-stepper__label {
		font-size: 0.58rem;
		padding: 0;
	}

	.ara-step-content {
		padding: 1.25rem 0.95rem;
		border-radius: 12px;
	}

	.ara-path-card {
		padding: 0;
	}

	.ara-path-card__footer {
		padding: 0.85rem 0.9rem 1rem;
	}

	.ara-subject-item {
		padding: 0.75rem 0.85rem;
	}

	.ara-field__control--phone {
		flex-direction: column;
		align-items: stretch;
	}

	.ara-select--dial {
		width: 100%;
		flex: 1 1 auto;
		max-width: none;
	}

	.ara-quiz__main {
		padding: 1.15rem 0.9rem;
	}

	.ara-quiz-subject-row {
		min-width: 150px;
		width: 160px;
	}

	.ara-report__hero {
		padding: 1.35rem 1.05rem;
	}

	.ara-report__title {
		font-size: 1.45rem;
	}

	.ara-report__meta {
		flex-direction: column;
		gap: 0.5rem;
	}

	.ara-report__meta li {
		flex: 1 1 auto;
		width: 100%;
	}

	.ara-report-subject__head {
		flex-wrap: wrap;
	}

	.ara-report-subject__score {
		margin-left: auto;
	}
}

/* Narrow phones */
@media (max-width: 414px) {
	.ara-quiz__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.65rem;
	}

	.ara-quiz__exit-box {
		flex-direction: column;
		align-items: stretch;
	}

	.ara-quiz__exit-box .ara-btn {
		width: 100%;
		justify-content: center;
	}
}

/* Very small devices */
@media (max-width: 360px) {
	.ara-stepper__circle {
		font-size: 0.75rem;
	}

	.ara-stepper__label {
		display: none;
	}

	.ara-stepper__item.is-current .ara-stepper__label {
		display: block;
		font-size: 0.65rem;
		max-width: 4.5rem;
	}

	.ara-btn {
		font-size: 0.875rem;
		padding: 0.75rem 1.1rem;
	}
}

/* Touch-friendly targets on coarse pointers */
@media (hover: none) and (pointer: coarse) {
	.ara-btn,
	.ara-input,
	.ara-select,
	.ara-quiz-option,
	.ara-quiz-pill,
	.ara-path-card,
	.ara-subject-item {
		min-height: 44px;
	}

	.ara-quiz-pill {
		min-width: 44px;
	}
}
