.vpnf-student-portal {
	--vpnf-blue: #070a6b;
	--vpnf-blue-2: #10158f;
	--vpnf-lime: #a8f25d;
	--vpnf-green: #2f6f05;
	--vpnf-ink: #172033;
	--vpnf-muted: #647084;
	--vpnf-line: #dfe5ef;
	--vpnf-soft: #f5f7fb;
	--vpnf-card: #ffffff;
	--vpnf-blue-soft: #eef1ff;
	--vpnf-lime-soft: #f1ffe4;
	--vpnf-shadow: 0 16px 40px rgba(23, 32, 51, 0.08);
	--vpnf-warning-bg: #fff4d6;
	--vpnf-warning: #8a5a00;
	--vpnf-error-bg: #fdecec;
	--vpnf-error: #b91c1c;
	--vpnf-success-bg: #eaf8d8;
	--vpnf-success: #2f6f05;
	box-sizing: border-box;
	max-width: 1180px;
	margin: 0 auto;
	padding: 28px;
	border-radius: 8px;
	background: #f5f6fa;
	color: var(--vpnf-ink);
	font-family: inherit;
}

.vpnf-student-portal *,
.vpnf-student-portal *::before,
.vpnf-student-portal *::after {
	box-sizing: inherit;
}

.vpnf-page-shell {
	isolation: isolate;
}

.vpnf-card,
.vpnf-section,
.vpnf-hero-card,
.vpnf-stat-card,
.vpnf-empty-state {
	box-sizing: border-box;
}

.vpnf-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	max-width: 100%;
	border: 1px solid transparent;
	border-radius: 8px;
	padding: 0 18px;
	font-size: 14px;
	font-weight: 900;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.vpnf-button--primary {
	background: var(--vpnf-lime);
	color: var(--vpnf-blue) !important;
	box-shadow: 0 14px 28px rgba(168, 242, 93, 0.22);
}

.vpnf-button--secondary {
	border-color: rgba(7, 10, 107, 0.16);
	background: #fff;
	color: var(--vpnf-blue) !important;
}

.vpnf-button:hover,
.vpnf-button:focus {
	transform: translateY(-1px);
	box-shadow: 0 14px 26px rgba(23, 32, 51, 0.14);
}

.vpnf-dashboard-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}


.vpnf-student-portal a {
	color: var(--vpnf-blue);
	font-weight: 800;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.vpnf-student-portal a:hover,
.vpnf-student-portal a:focus {
	color: var(--vpnf-green);
}

.vpnf-student-portal--notice,
.vpnf-student-portal__empty {
	padding: 16px 18px;
	border: 1px solid var(--vpnf-line);
	border-radius: 8px;
	background: var(--vpnf-card);
	box-shadow: 0 12px 30px rgba(7, 10, 107, 0.06);
	color: var(--vpnf-muted);
}

.vpnf-student-portal__hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
	gap: 24px;
	align-items: end;
	overflow: hidden;
	margin-bottom: 22px;
	padding: 30px;
	border: 1px solid rgba(168, 242, 93, 0.28);
	border-left: 6px solid var(--vpnf-lime);
	border-radius: 8px;
	background: var(--vpnf-blue);
	color: #fff;
	box-shadow: 0 18px 42px rgba(7, 10, 107, 0.2);
}

.vpnf-student-portal__hero::after {
	position: absolute;
	right: -120px;
	bottom: -90px;
	width: 320px;
	height: 180px;
	border: 1px solid rgba(168, 242, 93, 0.18);
	transform: rotate(-18deg);
	content: "";
}

.vpnf-student-portal__hero > * {
	position: relative;
	z-index: 1;
}

.vpnf-student-portal__eyebrow {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	margin-bottom: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(168, 242, 93, 0.16);
	color: var(--vpnf-lime);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
}

.vpnf-student-portal__hero h1 {
	margin: 0;
	color: #fff;
	font-size: 34px;
	font-weight: 900;
	line-height: 1.08;
	letter-spacing: 0;
}

.vpnf-student-portal__hero p {
	max-width: 680px;
	margin: 10px 0 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 15px;
	line-height: 1.55;
}

.vpnf-student-portal__hero-status {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	justify-items: stretch;
}

.vpnf-student-portal__hero-chip {
	min-width: 0;
	padding: 13px 14px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
}

.vpnf-student-portal__hero-chip > span {
	display: block;
	margin-bottom: 7px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
}


.vpnf-student-portal__dashboard-start {
	margin-bottom: 22px;
}

.vpnf-student-portal__hero-content {
	max-width: 720px;
}

.vpnf-student-portal__hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.vpnf-student-portal__hero-panel {
	align-self: stretch;
	min-width: 0;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.09);
	backdrop-filter: blur(8px);
}

.vpnf-student-portal__hero-panel > span,
.vpnf-student-portal__meta-pair span,
.vpnf-stat-card span {
	display: block;
	margin-bottom: 7px;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
}

.vpnf-student-portal__hero-panel > span {
	color: rgba(255, 255, 255, 0.68);
}

.vpnf-student-portal__hero-panel strong {
	display: block;
	color: #fff;
	font-size: 22px;
	font-weight: 900;
	line-height: 1.16;
}

.vpnf-student-portal__hero-panel small {
	display: block;
	margin-top: 8px;
	color: rgba(255, 255, 255, 0.74);
	font-size: 13px;
	line-height: 1.45;
}

.vpnf-student-portal__hero-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.vpnf-student-portal__stats {
	margin-bottom: 18px;
}

.vpnf-stat-card {
	min-width: 0;
	padding: 16px;
	border: 1px solid var(--vpnf-line);
	border-radius: 8px;
	background: #fff;
	box-shadow: var(--vpnf-shadow);
}

.vpnf-stat-card span {
	color: var(--vpnf-muted);
}

.vpnf-stat-card strong {
	display: block;
	min-height: 28px;
	color: var(--vpnf-blue);
	font-size: 20px;
	font-weight: 900;
	line-height: 1.2;
	word-break: break-word;
}

.vpnf-stat-card small {
	display: block;
	margin-top: 8px;
	color: var(--vpnf-muted);
	font-size: 13px;
	line-height: 1.45;
}

.vpnf-student-portal__continue {
	margin: 0 0 22px;
	padding: 20px;
	border: 1px solid var(--vpnf-line);
	border-radius: 8px;
	background: #fff;
	box-shadow: var(--vpnf-shadow);
}

.vpnf-student-portal__continue-card {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(260px, 1fr) auto;
	gap: 18px;
	align-items: center;
	padding: 18px;
	border: 1px solid var(--vpnf-line);
	border-radius: 8px;
	background: linear-gradient(180deg, #fff 0%, var(--vpnf-soft) 100%);
}

.vpnf-student-portal__continue-card h2 {
	margin: 0;
	color: var(--vpnf-blue);
	font-size: 24px;
	font-weight: 900;
	line-height: 1.18;
	letter-spacing: 0;
}

.vpnf-student-portal__continue-card p {
	margin: 8px 0 0;
	color: var(--vpnf-muted);
	font-size: 14px;
	line-height: 1.5;
}

.vpnf-student-portal__continue-meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.vpnf-student-portal__meta-pair {
	min-width: 0;
	padding: 12px;
	border: 1px solid rgba(7, 10, 107, 0.08);
	border-radius: 8px;
	background: #fff;
}

.vpnf-student-portal__meta-pair span {
	color: var(--vpnf-muted);
}

.vpnf-student-portal__meta-pair strong {
	display: block;
	color: var(--vpnf-ink);
	font-size: 14px;
	font-weight: 900;
	line-height: 1.35;
	word-break: break-word;
}

.vpnf-student-portal__eyebrow--light {
	background: var(--vpnf-lime-soft);
	color: var(--vpnf-green);
}

.vpnf-student-portal__selector {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: end;
	margin-bottom: 20px;
	padding: 16px;
	border: 1px solid var(--vpnf-line);
	border-radius: 8px;
	background: var(--vpnf-card);
	box-shadow: 0 10px 24px rgba(23, 32, 51, 0.06);
}

.vpnf-student-portal__selector label {
	width: 100%;
	font-weight: 800;
	color: var(--vpnf-ink);
}

.vpnf-student-portal__selector select,
.vpnf-student-portal__selector button {
	min-height: 42px;
	border-radius: 8px;
	font: inherit;
}

.vpnf-student-portal__selector select {
	min-width: min(100%, 340px);
	border: 1px solid var(--vpnf-line);
	padding: 0 12px;
	background: #fff;
	color: var(--vpnf-ink);
}

.vpnf-student-portal__selector button,
.vpnf-student-portal__button {
	border: 0;
	padding: 0 18px;
	background: var(--vpnf-lime);
	color: var(--vpnf-blue);
	font-weight: 900;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.vpnf-student-portal__selector button:hover,
.vpnf-student-portal__selector button:focus,
.vpnf-student-portal__button:hover,
.vpnf-student-portal__button:focus {
	background: #b9ff72;
	box-shadow: 0 10px 22px rgba(47, 111, 5, 0.18);
	transform: translateY(-1px);
}

.vpnf-student-portal__section {
	margin: 0 0 22px;
	padding: 20px;
	border: 1px solid var(--vpnf-line);
	border-radius: 8px;
	background: var(--vpnf-card);
	box-shadow: var(--vpnf-shadow);
}

.vpnf-student-portal__section-heading {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 16px;
	padding-left: 14px;
}

.vpnf-student-portal__section-heading::before {
	position: absolute;
	top: 2px;
	bottom: 2px;
	left: 0;
	width: 4px;
	border-radius: 999px;
	background: var(--vpnf-lime);
	content: "";
}

.vpnf-student-portal__section-heading h2 {
	margin: 0;
	color: var(--vpnf-blue);
	font-size: 22px;
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: 0;
}

.vpnf-student-portal__section-heading p {
	margin: 0;
	color: var(--vpnf-muted);
	font-size: 14px;
	line-height: 1.5;
}

.vpnf-student-portal__summary {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.vpnf-student-portal__summary-item {
	min-width: 0;
	padding: 16px;
	border: 1px solid var(--vpnf-line);
	border-radius: 8px;
	background: linear-gradient(180deg, #fff 0%, var(--vpnf-soft) 100%);
}

.vpnf-student-portal__summary-item span {
	display: block;
	margin-bottom: 7px;
	color: var(--vpnf-muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.vpnf-student-portal__summary-item:hover {
	border-color: rgba(168, 242, 93, 0.9);
}

.vpnf-student-portal__summary-item strong {
	display: block;
	color: var(--vpnf-ink);
	font-size: 16px;
	font-weight: 900;
	line-height: 1.35;
	word-break: break-word;
}

.vpnf-student-portal__table-wrap {
	overflow-x: auto;
	border: 1px solid var(--vpnf-line);
	border-radius: 8px;
	background: #fff;
}

.vpnf-student-portal__table {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
}

.vpnf-student-portal__table th,
.vpnf-student-portal__table td {
	padding: 13px 14px;
	border-bottom: 1px solid #edf0f6;
	text-align: left;
	vertical-align: middle;
}

.vpnf-student-portal__table th {
	background: var(--vpnf-blue-soft);
	color: var(--vpnf-blue);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	white-space: nowrap;
}

.vpnf-student-portal__table td {
	color: var(--vpnf-ink);
	font-size: 14px;
	line-height: 1.45;
}

.vpnf-student-portal__table tr:last-child td {
	border-bottom: 0;
}

.vpnf-student-portal__table tbody tr:hover {
	background: #fbfcff;
}

.vpnf-student-portal__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 26px;
	max-width: 100%;
	padding: 4px 10px;
	border-radius: 999px;
	border: 1px solid rgba(7, 10, 107, 0.08);
	background: #eef2f8;
	color: #334155;
	font-size: 12px;
	font-weight: 900;
	line-height: 1.2;
	white-space: normal;
}

.vpnf-student-portal__badge--acceso-no-disponible,
.vpnf-student-portal__badge--bloqueado,
.vpnf-student-portal__badge--rechazado,
.vpnf-student-portal__badge--rechazada,
.vpnf-student-portal__badge--vencida,
.vpnf-student-portal__badge--fallido,
.vpnf-student-portal__badge--anulado {
	background: var(--vpnf-error-bg);
	color: var(--vpnf-error);
}

.vpnf-student-portal__badge--aprobado,
.vpnf-student-portal__badge--aprobada,
.vpnf-student-portal__badge--pagado,
.vpnf-student-portal__badge--completo,
.vpnf-student-portal__badge--publicado,
.vpnf-student-portal__badge--disponible,
.vpnf-student-portal__badge--activo {
	background: var(--vpnf-success-bg);
	color: var(--vpnf-success);
}

.vpnf-student-portal__badge--parcial,
.vpnf-student-portal__badge--limitado,
.vpnf-student-portal__badge--pendiente,
.vpnf-student-portal__badge--pendiente-pago,
.vpnf-student-portal__badge--en-revision,
.vpnf-student-portal__badge--no-iniciado {
	background: var(--vpnf-warning-bg);
	color: var(--vpnf-warning);
}

.vpnf-student-portal__form {
	padding: 18px;
	border: 1px solid var(--vpnf-line);
	border-radius: 8px;
	background: #fff;
	box-shadow: inset 4px 0 0 var(--vpnf-lime);
}

.vpnf-student-portal__form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.vpnf-student-portal__form label,
.vpnf-student-portal__form-wide {
	display: block;
	min-width: 0;
}

.vpnf-student-portal__form span,
.vpnf-student-portal__form-wide span {
	display: block;
	margin-bottom: 7px;
	font-size: 13px;
	font-weight: 900;
	color: var(--vpnf-ink);
}

.vpnf-student-portal__form input,
.vpnf-student-portal__form select,
.vpnf-student-portal__form textarea {
	width: 100%;
	min-height: 44px;
	border: 1px solid #cbd4e2;
	border-radius: 8px;
	padding: 10px 12px;
	background: #fff;
	color: var(--vpnf-ink);
	font: inherit;
	box-shadow: none;
}

.vpnf-student-portal__form input:focus,
.vpnf-student-portal__form select:focus,
.vpnf-student-portal__form textarea:focus {
	border-color: var(--vpnf-blue-2);
	box-shadow: 0 0 0 3px rgba(168, 242, 93, 0.35);
	outline: none;
}

.vpnf-student-portal__form textarea {
	min-height: 96px;
	resize: vertical;
}

.vpnf-student-portal__form-wide {
	margin-top: 14px;
}

.vpnf-student-portal__button {
	min-height: 46px;
	margin-top: 16px;
	border-radius: 8px;
}

.vpnf-student-portal__message {
	margin-bottom: 14px;
	padding: 13px 15px;
	border-radius: 8px;
	font-weight: 700;
}

.vpnf-student-portal__message p {
	margin: 0 0 8px;
}

.vpnf-student-portal__message ul {
	margin: 0;
	padding-left: 20px;
}

.vpnf-student-portal__message--success {
	border: 1px solid #b8dfc5;
	background: var(--vpnf-success-bg);
	color: var(--vpnf-success);
}

.vpnf-student-portal__message--error {
	border: 1px solid #efc4bd;
	background: var(--vpnf-error-bg);
	color: var(--vpnf-error);
}

@media (max-width: 900px) {
	.vpnf-student-portal {
		padding: 18px;
	}

	.vpnf-student-portal__hero {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.vpnf-dashboard-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vpnf-student-portal__hero-status,
	.vpnf-student-portal__hero-panel {
		max-width: 420px;
	}

	.vpnf-student-portal__continue-card {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.vpnf-student-portal__summary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.vpnf-student-portal {
		padding: 12px;
	}

	.vpnf-student-portal__hero,
	.vpnf-student-portal__section,
	.vpnf-student-portal__form,
	.vpnf-student-portal__selector {
		padding: 16px;
	}

	.vpnf-student-portal__hero h1 {
		font-size: 28px;
	}

	.vpnf-dashboard-grid,
	.vpnf-student-portal__summary,
	.vpnf-student-portal__form-grid,
	.vpnf-student-portal__continue-meta {
		grid-template-columns: 1fr;
	}

	.vpnf-student-portal__selector select,
	.vpnf-student-portal__selector button,
	.vpnf-student-portal__button,
	.vpnf-button {
		width: 100%;
	}

	.vpnf-student-portal__table {
		min-width: 0;
	}

	.vpnf-student-portal__table thead {
		display: none;
	}

	.vpnf-student-portal__table,
	.vpnf-student-portal__table tbody,
	.vpnf-student-portal__table tr,
	.vpnf-student-portal__table td {
		display: block;
		width: 100%;
	}

	.vpnf-student-portal__table tr {
		padding: 10px 0;
		border-bottom: 1px solid var(--vpnf-line);
	}

	.vpnf-student-portal__table tr:last-child {
		border-bottom: 0;
	}

	.vpnf-student-portal__table td {
		display: grid;
		grid-template-columns: minmax(110px, 40%) 1fr;
		gap: 10px;
		padding: 9px 12px;
		border-bottom: 0;
	}

	.vpnf-student-portal__table td::before {
		color: var(--vpnf-muted);
		font-size: 11px;
		font-weight: 900;
		text-transform: uppercase;
		content: attr(data-label);
	}
}

/* Sprint 17A render hardening: keep base components scoped inside the portal. */
.vpnf-student-portal.vpnf-page-shell {
	display: block;
	width: 100%;
}

.vpnf-student-portal .vpnf-dashboard-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}

.vpnf-student-portal .vpnf-card,
.vpnf-student-portal .vpnf-section,
.vpnf-student-portal .vpnf-hero-card,
.vpnf-student-portal .vpnf-stat-card,
.vpnf-student-portal .vpnf-empty-state {
	box-sizing: border-box;
}

.vpnf-student-portal .vpnf-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	max-width: 100%;
	border: 1px solid transparent;
	border-radius: 8px;
	padding: 0 18px;
	font-size: 14px;
	font-weight: 900;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
}

.vpnf-student-portal .vpnf-button--primary {
	background: var(--vpnf-lime);
	color: var(--vpnf-blue) !important;
	box-shadow: 0 14px 28px rgba(168, 242, 93, 0.22);
}

.vpnf-student-portal .vpnf-button--secondary {
	border-color: rgba(7, 10, 107, 0.16);
	background: #fff;
	color: var(--vpnf-blue) !important;
}

.vpnf-student-portal .vpnf-stat-card {
	min-width: 0;
	padding: 16px;
	border: 1px solid var(--vpnf-line);
	border-radius: 8px;
	background: #fff;
	box-shadow: var(--vpnf-shadow);
}

.vpnf-student-portal .vpnf-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
}

@media (max-width: 900px) {
	.vpnf-student-portal .vpnf-dashboard-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.vpnf-student-portal .vpnf-dashboard-grid {
		grid-template-columns: 1fr;
	}

	.vpnf-student-portal .vpnf-button {
		width: 100%;
	}
}


/* Sprint 17B program enrollment cards. */
.vpnf-student-portal .vpnf-student-portal__programs {
	position: relative;
	overflow: hidden;
}

.vpnf-student-portal .vpnf-program-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 18px;
}

.vpnf-student-portal .vpnf-program-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 100%;
	padding: 20px;
	border: 1px solid rgba(7, 10, 107, 0.1);
	border-left: 5px solid var(--vpnf-lime);
	border-radius: 8px;
	background: linear-gradient(180deg, #fff 0%, #f9fbff 100%);
	box-shadow: 0 18px 36px rgba(7, 10, 107, 0.08);
}

.vpnf-student-portal .vpnf-program-card::after {
	position: absolute;
	right: 16px;
	bottom: 14px;
	width: 74px;
	height: 74px;
	border: 1px solid rgba(168, 242, 93, 0.28);
	border-radius: 999px;
	background: rgba(168, 242, 93, 0.08);
	content: "";
	pointer-events: none;
}

.vpnf-student-portal .vpnf-program-card__header,
.vpnf-student-portal .vpnf-program-card__meta,
.vpnf-student-portal .vpnf-program-card__states,
.vpnf-student-portal .vpnf-next-step,
.vpnf-student-portal .vpnf-program-card__actions {
	position: relative;
	z-index: 1;
}

.vpnf-student-portal .vpnf-program-card__header {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 16px;
}

.vpnf-student-portal .vpnf-program-card__eyebrow {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	margin-bottom: 8px;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--vpnf-blue-soft);
	color: var(--vpnf-blue);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
}

.vpnf-student-portal .vpnf-program-card__title {
	margin: 0;
	color: var(--vpnf-blue);
	font-size: 22px;
	font-weight: 900;
	line-height: 1.16;
	letter-spacing: 0;
	word-break: break-word;
}

.vpnf-student-portal .vpnf-program-card__meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 14px;
}

.vpnf-student-portal .vpnf-program-card__meta-item {
	min-width: 0;
	padding: 12px;
	border: 1px solid rgba(7, 10, 107, 0.08);
	border-radius: 8px;
	background: #fff;
}

.vpnf-student-portal .vpnf-program-card__meta-item span,
.vpnf-student-portal .vpnf-status-row span,
.vpnf-student-portal .vpnf-next-step span {
	display: block;
	margin-bottom: 6px;
	color: var(--vpnf-muted);
	font-size: 11px;
	font-weight: 900;
	line-height: 1.2;
	text-transform: uppercase;
}

.vpnf-student-portal .vpnf-program-card__meta-item strong {
	display: block;
	color: var(--vpnf-ink);
	font-size: 14px;
	font-weight: 900;
	line-height: 1.35;
	word-break: break-word;
}

.vpnf-student-portal .vpnf-program-card__states {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 14px;
}

.vpnf-student-portal .vpnf-status-row {
	min-width: 0;
	padding: 12px;
	border: 1px solid rgba(7, 10, 107, 0.08);
	border-radius: 8px;
	background: var(--vpnf-soft);
}

.vpnf-student-portal .vpnf-next-step {
	margin-top: auto;
	padding: 14px;
	border: 1px solid rgba(168, 242, 93, 0.44);
	border-radius: 8px;
	background: var(--vpnf-lime-soft);
}

.vpnf-student-portal .vpnf-next-step strong {
	display: block;
	color: var(--vpnf-green);
	font-size: 15px;
	font-weight: 900;
	line-height: 1.42;
}

.vpnf-student-portal .vpnf-program-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.vpnf-student-portal .vpnf-program-card__actions .vpnf-button {
	min-width: 150px;
}

.vpnf-student-portal .vpnf-enrollment-detail {
	margin-top: 4px;
	padding-top: 18px;
	border-top: 1px solid var(--vpnf-line);
}

.vpnf-student-portal .vpnf-enrollment-detail__heading {
	margin-bottom: 12px;
}

.vpnf-student-portal .vpnf-enrollment-detail__heading h3 {
	margin: 0;
	color: var(--vpnf-blue);
	font-size: 16px;
	font-weight: 900;
	line-height: 1.25;
}

.vpnf-student-portal .vpnf-enrollment-detail__heading p {
	margin: 4px 0 0;
	color: var(--vpnf-muted);
	font-size: 13px;
	line-height: 1.45;
}

.vpnf-student-portal .vpnf-enrollment-detail .vpnf-student-portal__table-wrap {
	box-shadow: none;
}

@media (max-width: 980px) {
	.vpnf-student-portal .vpnf-program-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.vpnf-student-portal .vpnf-program-card {
		padding: 16px;
	}

	.vpnf-student-portal .vpnf-program-card__header,
	.vpnf-student-portal .vpnf-program-card__meta,
	.vpnf-student-portal .vpnf-program-card__states {
		grid-template-columns: 1fr;
	}

	.vpnf-student-portal .vpnf-program-card__header {
		display: grid;
	}

	.vpnf-student-portal .vpnf-program-card__title {
		font-size: 20px;
	}

	.vpnf-student-portal .vpnf-program-card__actions .vpnf-button {
		width: 100%;
	}
}

/* Sprint 17C main learning experience. */
.vpnf-student-portal .vpnf-learning-panel {
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.vpnf-student-portal .vpnf-learning-panel__surface {
	position: relative;
	overflow: hidden;
	padding: 24px;
	border: 1px solid rgba(168, 242, 93, 0.28);
	border-left: 6px solid var(--vpnf-lime);
	border-radius: 8px;
	background: linear-gradient(135deg, var(--vpnf-blue) 0%, #10158f 46%, #fff 46%, #fff 100%);
	box-shadow: 0 22px 52px rgba(7, 10, 107, 0.18);
}

.vpnf-student-portal .vpnf-learning-panel__surface::after {
	position: absolute;
	right: -80px;
	top: -80px;
	width: 220px;
	height: 220px;
	border: 1px solid rgba(168, 242, 93, 0.22);
	border-radius: 999px;
	background: rgba(168, 242, 93, 0.08);
	content: "";
	pointer-events: none;
}

.vpnf-student-portal .vpnf-learning-header,
.vpnf-student-portal .vpnf-learning-meta,
.vpnf-student-portal .vpnf-progress,
.vpnf-student-portal .vpnf-learning-panel__lower {
	position: relative;
	z-index: 1;
}

.vpnf-student-portal .vpnf-learning-header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
	gap: 22px;
	align-items: start;
	margin-bottom: 18px;
}

.vpnf-student-portal .vpnf-learning-header__content {
	max-width: 680px;
}

.vpnf-student-portal .vpnf-learning-header h2 {
	max-width: 720px;
	margin: 0;
	color: #fff;
	font-size: 30px;
	font-weight: 900;
	line-height: 1.12;
	letter-spacing: 0;
}

.vpnf-student-portal .vpnf-learning-header p {
	margin: 10px 0 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 15px;
	line-height: 1.5;
}

.vpnf-student-portal .vpnf-next-action {
	padding: 16px;
	border: 1px solid rgba(7, 10, 107, 0.1);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 16px 34px rgba(7, 10, 107, 0.12);
}

.vpnf-student-portal .vpnf-next-action span {
	display: block;
	margin-bottom: 10px;
	color: var(--vpnf-muted);
	font-size: 11px;
	font-weight: 900;
	line-height: 1.2;
	text-transform: uppercase;
}

.vpnf-student-portal .vpnf-next-action .vpnf-button {
	width: 100%;
	min-height: 50px;
}

.vpnf-student-portal .vpnf-learning-meta {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 18px;
}

.vpnf-student-portal .vpnf-learning-meta .vpnf-student-portal__meta-pair {
	border-color: rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 10px 24px rgba(7, 10, 107, 0.08);
}

.vpnf-student-portal .vpnf-progress {
	margin-bottom: 18px;
	padding: 18px;
	border: 1px solid rgba(7, 10, 107, 0.08);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.96);
}

.vpnf-student-portal .vpnf-progress-label {
	display: flex;
	gap: 12px;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 12px;
}

.vpnf-student-portal .vpnf-progress-label span {
	color: var(--vpnf-muted);
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
}

.vpnf-student-portal .vpnf-progress-label strong {
	color: var(--vpnf-blue);
	font-size: 18px;
	font-weight: 900;
	line-height: 1.2;
}

.vpnf-student-portal .vpnf-progress-bar {
	overflow: hidden;
	height: 14px;
	border-radius: 999px;
	background: #e8edf6;
}

.vpnf-student-portal .vpnf-progress-bar span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--vpnf-lime) 0%, #7fdc36 100%);
	box-shadow: 0 8px 18px rgba(47, 111, 5, 0.22);
}

.vpnf-student-portal .vpnf-progress small {
	display: block;
	margin-top: 9px;
	color: var(--vpnf-muted);
	font-size: 13px;
	font-weight: 800;
}

.vpnf-student-portal .vpnf-learning-panel__lower {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
	gap: 16px;
}

.vpnf-student-portal .vpnf-module-timeline,
.vpnf-student-portal .vpnf-learning-resources {
	padding: 18px;
	border: 1px solid rgba(7, 10, 107, 0.08);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 28px rgba(7, 10, 107, 0.08);
}

.vpnf-student-portal .vpnf-module-timeline h3,
.vpnf-student-portal .vpnf-learning-resources h3 {
	margin: 0 0 14px;
	color: var(--vpnf-blue);
	font-size: 17px;
	font-weight: 900;
	line-height: 1.25;
}

.vpnf-student-portal .vpnf-module-step {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	position: relative;
	padding: 0 0 16px;
}

.vpnf-student-portal .vpnf-module-step:not(:last-child)::after {
	position: absolute;
	top: 35px;
	bottom: 2px;
	left: 16px;
	width: 2px;
	background: var(--vpnf-line);
	content: "";
}

.vpnf-student-portal .vpnf-module-step > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--vpnf-line);
	border-radius: 999px;
	background: #fff;
	color: var(--vpnf-muted);
	font-size: 13px;
	font-weight: 900;
}

.vpnf-student-portal .vpnf-module-step small {
	display: block;
	margin-bottom: 4px;
	color: var(--vpnf-muted);
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
}

.vpnf-student-portal .vpnf-module-step strong {
	display: block;
	color: var(--vpnf-ink);
	font-size: 14px;
	font-weight: 900;
	line-height: 1.35;
}

.vpnf-student-portal .vpnf-module-step--done > span {
	border-color: rgba(47, 111, 5, 0.18);
	background: var(--vpnf-success-bg);
	color: var(--vpnf-success);
}

.vpnf-student-portal .vpnf-module-step--current > span {
	border-color: rgba(168, 242, 93, 0.8);
	background: var(--vpnf-lime);
	color: var(--vpnf-blue);
	box-shadow: 0 8px 18px rgba(168, 242, 93, 0.28);
}

.vpnf-student-portal .vpnf-module-step--current strong {
	color: var(--vpnf-blue);
}

.vpnf-student-portal .vpnf-module-step--empty {
	padding-bottom: 0;
}

.vpnf-student-portal .vpnf-module-timeline__more {
	margin: 0;
	padding-top: 4px;
	color: var(--vpnf-muted);
	font-size: 13px;
	font-weight: 800;
}

.vpnf-student-portal .vpnf-learning-resources > strong {
	display: block;
	margin-bottom: 12px;
	color: var(--vpnf-blue);
	font-size: 26px;
	font-weight: 900;
	line-height: 1.1;
}

.vpnf-student-portal .vpnf-learning-resources__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.vpnf-student-portal .vpnf-learning-resources__chip {
	padding: 12px;
	border: 1px solid rgba(7, 10, 107, 0.08);
	border-radius: 8px;
	background: var(--vpnf-soft);
}

.vpnf-student-portal .vpnf-learning-resources__chip span {
	display: block;
	margin-bottom: 6px;
	color: var(--vpnf-muted);
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
}

.vpnf-student-portal .vpnf-learning-resources__chip strong {
	display: block;
	color: var(--vpnf-blue);
	font-size: 20px;
	font-weight: 900;
	line-height: 1;
}

@media (max-width: 980px) {
	.vpnf-student-portal .vpnf-learning-panel__surface {
		background: var(--vpnf-blue);
	}

	.vpnf-student-portal .vpnf-learning-header,
	.vpnf-student-portal .vpnf-learning-panel__lower {
		grid-template-columns: 1fr;
	}

	.vpnf-student-portal .vpnf-learning-meta {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.vpnf-student-portal .vpnf-learning-panel__surface {
		padding: 16px;
	}

	.vpnf-student-portal .vpnf-learning-header h2 {
		font-size: 25px;
	}

	.vpnf-student-portal .vpnf-learning-meta,
	.vpnf-student-portal .vpnf-learning-resources__grid {
		grid-template-columns: 1fr;
	}

	.vpnf-student-portal .vpnf-progress-label {
		display: block;
	}

	.vpnf-student-portal .vpnf-progress-label strong {
		display: block;
		margin-top: 6px;
	}
}

/* Sprint 17D premium module roadmap. */
.vpnf-student-portal .vpnf-module-roadmap {
	position: relative;
	overflow: hidden;
}

.vpnf-student-portal .vpnf-module-route {
	position: relative;
	display: grid;
	gap: 18px;
	margin-top: 18px;
}

.vpnf-student-portal .vpnf-module-route + .vpnf-module-route {
	margin-top: 32px;
	padding-top: 28px;
	border-top: 1px solid rgba(7, 10, 107, 0.08);
}

.vpnf-student-portal .vpnf-module-route__heading h3 {
	margin: 0 0 6px;
	color: var(--vpnf-blue);
	font-size: 22px;
	font-weight: 900;
	line-height: 1.2;
}

.vpnf-student-portal .vpnf-module-route__heading p {
	margin: 0;
	color: var(--vpnf-muted);
	font-size: 14px;
	font-weight: 700;
}

.vpnf-student-portal .vpnf-module-roadmap__summary {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 18px;
}

.vpnf-student-portal .vpnf-module-roadmap__summary-item {
	min-width: 0;
	padding: 15px;
	border: 1px solid rgba(7, 10, 107, 0.08);
	border-radius: 8px;
	background: linear-gradient(180deg, #fff 0%, var(--vpnf-soft) 100%);
	box-shadow: 0 12px 26px rgba(7, 10, 107, 0.06);
}

.vpnf-student-portal .vpnf-module-roadmap__summary-item span {
	display: block;
	margin-bottom: 7px;
	color: var(--vpnf-muted);
	font-size: 11px;
	font-weight: 900;
	line-height: 1.2;
	text-transform: uppercase;
}

.vpnf-student-portal .vpnf-module-roadmap__summary-item strong {
	display: block;
	color: var(--vpnf-blue);
	font-size: 18px;
	font-weight: 900;
	line-height: 1.25;
	word-break: break-word;
}

.vpnf-student-portal .vpnf-module-roadmap__grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-bottom: 18px;
}

.vpnf-student-portal .vpnf-module-roadmap__grid::before {
	position: absolute;
	top: 28px;
	left: 24px;
	right: 24px;
	height: 2px;
	background: linear-gradient(90deg, rgba(168, 242, 93, 0.9), rgba(7, 10, 107, 0.12));
	content: "";
}

.vpnf-student-portal .vpnf-module-node {
	position: relative;
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 14px;
	min-width: 0;
	padding: 18px;
	border: 1px solid rgba(7, 10, 107, 0.1);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 16px 34px rgba(7, 10, 107, 0.08);
}

.vpnf-student-portal .vpnf-module-node__line {
	position: absolute;
	top: 28px;
	left: 0;
	right: 0;
	height: 2px;
	background: transparent;
	content: "";
}

.vpnf-student-portal .vpnf-module-node__marker {
	position: relative;
	z-index: 1;
}

.vpnf-student-portal .vpnf-module-node__marker span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 2px solid var(--vpnf-line);
	border-radius: 999px;
	background: #fff;
	color: var(--vpnf-muted);
	font-size: 15px;
	font-weight: 900;
	box-shadow: 0 8px 18px rgba(7, 10, 107, 0.08);
}

.vpnf-student-portal .vpnf-module-node__content {
	min-width: 0;
}

.vpnf-student-portal .vpnf-module-node__state {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	margin-bottom: 8px;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--vpnf-blue-soft);
	color: var(--vpnf-blue);
	font-size: 11px;
	font-weight: 900;
	line-height: 1.2;
	text-transform: uppercase;
}

.vpnf-student-portal .vpnf-module-node__title {
	margin: 0;
	color: var(--vpnf-blue);
	font-size: 18px;
	font-weight: 900;
	line-height: 1.24;
	letter-spacing: 0;
	word-break: break-word;
}

.vpnf-student-portal .vpnf-module-node__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-top: 10px;
}

.vpnf-student-portal .vpnf-module-node__meta > span {
	color: var(--vpnf-muted);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.35;
}

.vpnf-student-portal .vpnf-module-node__action {
	margin-top: 14px;
}

.vpnf-student-portal .vpnf-module-node__action .vpnf-button {
	min-height: 40px;
	padding: 0 14px;
	font-size: 13px;
}

.vpnf-student-portal .vpnf-module-node--completed {
	border-color: rgba(47, 111, 5, 0.18);
	background: linear-gradient(180deg, #fff 0%, var(--vpnf-success-bg) 100%);
}

.vpnf-student-portal .vpnf-module-node--completed .vpnf-module-node__marker span {
	border-color: rgba(47, 111, 5, 0.28);
	background: var(--vpnf-success-bg);
	color: var(--vpnf-success);
}

.vpnf-student-portal .vpnf-module-node--available .vpnf-module-node__marker span {
	border-color: rgba(7, 10, 107, 0.16);
	background: var(--vpnf-blue-soft);
	color: var(--vpnf-blue);
}

.vpnf-student-portal .vpnf-module-node--current {
	border-color: rgba(168, 242, 93, 0.7);
	box-shadow: 0 18px 40px rgba(168, 242, 93, 0.18), 0 14px 34px rgba(7, 10, 107, 0.08);
}

.vpnf-student-portal .vpnf-module-node--current .vpnf-module-node__marker span,
.vpnf-student-portal .vpnf-module-node--current .vpnf-module-node__state {
	border-color: var(--vpnf-lime);
	background: var(--vpnf-lime);
	color: var(--vpnf-blue);
}

.vpnf-student-portal .vpnf-module-node--locked {
	background: #f8fafc;
	box-shadow: none;
}

.vpnf-student-portal .vpnf-module-node--locked .vpnf-module-node__marker span,
.vpnf-student-portal .vpnf-module-node--restricted .vpnf-module-node__marker span {
	background: #eef2f8;
	color: var(--vpnf-muted);
}

.vpnf-student-portal .vpnf-module-node--restricted {
	border-color: rgba(185, 28, 28, 0.14);
	background: #fbfdff;
	box-shadow: none;
}

.vpnf-student-portal .vpnf-module-node--restricted .vpnf-module-node__state {
	background: var(--vpnf-error-bg);
	color: var(--vpnf-error);
}

.vpnf-student-portal .vpnf-module-node__modality {
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--vpnf-blue-soft);
	color: var(--vpnf-blue) !important;
	font-size: 11px !important;
	font-weight: 900 !important;
	text-transform: uppercase;
}

.vpnf-student-portal .vpnf-module-detail {
	margin-top: 4px;
	padding-top: 18px;
	border-top: 1px solid var(--vpnf-line);
}

.vpnf-student-portal .vpnf-module-detail__heading {
	margin-bottom: 12px;
}

.vpnf-student-portal .vpnf-module-detail__heading h3 {
	margin: 0;
	color: var(--vpnf-blue);
	font-size: 16px;
	font-weight: 900;
	line-height: 1.25;
}

.vpnf-student-portal .vpnf-module-detail__heading p {
	margin: 4px 0 0;
	color: var(--vpnf-muted);
	font-size: 13px;
	line-height: 1.45;
}

@media (max-width: 980px) {
	.vpnf-student-portal .vpnf-module-roadmap__summary,
	.vpnf-student-portal .vpnf-module-roadmap__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.vpnf-student-portal .vpnf-module-roadmap__summary,
	.vpnf-student-portal .vpnf-module-roadmap__grid {
		grid-template-columns: 1fr;
	}

	.vpnf-student-portal .vpnf-module-roadmap__grid::before {
		top: 0;
		bottom: 0;
		left: 42px;
		width: 2px;
		height: auto;
	}

	.vpnf-student-portal .vpnf-module-node {
		grid-template-columns: 44px minmax(0, 1fr);
		padding: 16px;
	}

	.vpnf-student-portal .vpnf-module-node__marker span {
		width: 44px;
		height: 44px;
	}

	.vpnf-student-portal .vpnf-module-node__action .vpnf-button {
		width: 100%;
	}
}

/* Sprint 17E global dashboard refinement. */
.vpnf-student-portal.vpnf-page-shell {
	--vpnf-radius: 8px;
	--vpnf-space-xs: 8px;
	--vpnf-space-sm: 12px;
	--vpnf-space-md: 18px;
	--vpnf-space-lg: 26px;
	--vpnf-space-xl: 34px;
	--vpnf-shadow-soft: 0 14px 32px rgba(7, 10, 107, 0.07);
	--vpnf-shadow-strong: 0 24px 58px rgba(7, 10, 107, 0.16);
	width: min(1440px, calc(100vw - 32px));
	max-width: none;
	margin-right: auto;
	margin-left: auto;
	padding: var(--vpnf-space-xl);
	border-radius: var(--vpnf-radius);
	background: #f4f6fb;
}

.vpnf-student-portal .vpnf-student-portal__dashboard-start,
.vpnf-student-portal .vpnf-student-portal__section,
.vpnf-student-portal .vpnf-learning-panel,
.vpnf-student-portal .vpnf-module-roadmap,
.vpnf-student-portal .vpnf-student-portal__programs {
	width: 100%;
}

.vpnf-student-portal .vpnf-student-portal__dashboard-start,
.vpnf-student-portal .vpnf-student-portal__section,
.vpnf-student-portal .vpnf-learning-panel,
.vpnf-student-portal .vpnf-student-portal__continue {
	margin-bottom: var(--vpnf-space-lg);
}

.vpnf-student-portal .vpnf-section,
.vpnf-student-portal .vpnf-card,
.vpnf-student-portal .vpnf-stat-card,
.vpnf-student-portal .vpnf-program-card,
.vpnf-student-portal .vpnf-module-node,
.vpnf-student-portal .vpnf-module-timeline,
.vpnf-student-portal .vpnf-learning-resources,
.vpnf-student-portal .vpnf-student-portal__table-wrap,
.vpnf-student-portal .vpnf-student-portal__form,
.vpnf-student-portal .vpnf-student-portal__empty {
	border-radius: var(--vpnf-radius);
}

.vpnf-student-portal .vpnf-student-portal__section {
	padding: var(--vpnf-space-lg);
	box-shadow: var(--vpnf-shadow-soft);
}

.vpnf-student-portal .vpnf-student-portal__section-heading {
	margin-bottom: var(--vpnf-space-md);
	padding-left: 16px;
}

.vpnf-student-portal .vpnf-student-portal__section-heading h2 {
	font-size: 24px;
	line-height: 1.18;
}

.vpnf-student-portal .vpnf-student-portal__section-heading p {
	max-width: 760px;
	font-size: 14px;
	line-height: 1.55;
}

.vpnf-student-portal .vpnf-student-portal__hero {
	grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
	gap: 32px;
	align-items: stretch;
	margin-bottom: var(--vpnf-space-lg);
	padding: 38px;
	box-shadow: var(--vpnf-shadow-strong);
}

.vpnf-student-portal .vpnf-student-portal__hero-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 820px;
}

.vpnf-student-portal .vpnf-student-portal__hero h1 {
	max-width: 780px;
	font-size: clamp(32px, 3vw, 46px);
	line-height: 1.04;
}

.vpnf-student-portal .vpnf-student-portal__hero p {
	max-width: 720px;
	margin-top: 14px;
	font-size: 16px;
	line-height: 1.6;
}

.vpnf-student-portal .vpnf-student-portal__hero-actions {
	margin-top: 24px;
}

.vpnf-student-portal .vpnf-student-portal__hero-actions .vpnf-button {
	min-height: 52px;
	padding-right: 24px;
	padding-left: 24px;
}

.vpnf-student-portal .vpnf-student-portal__hero-panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 22px;
}

.vpnf-student-portal .vpnf-student-portal__hero-panel strong {
	font-size: 24px;
	line-height: 1.15;
}

.vpnf-student-portal .vpnf-dashboard-grid,
.vpnf-student-portal .vpnf-student-portal__stats {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}

.vpnf-student-portal .vpnf-stat-card {
	display: flex;
	flex-direction: column;
	min-height: 150px;
	padding: 18px;
	box-shadow: var(--vpnf-shadow-soft);
}

.vpnf-student-portal .vpnf-stat-card span,
.vpnf-student-portal .vpnf-student-portal__meta-pair span,
.vpnf-student-portal .vpnf-program-card__meta-item span,
.vpnf-student-portal .vpnf-status-row span,
.vpnf-student-portal .vpnf-next-step span {
	font-size: 11px;
	line-height: 1.25;
}

.vpnf-student-portal .vpnf-stat-card strong {
	margin-top: auto;
	font-size: 22px;
	line-height: 1.15;
}

.vpnf-student-portal .vpnf-stat-card small {
	min-height: 38px;
	font-size: 13px;
	line-height: 1.45;
}

.vpnf-student-portal .vpnf-learning-panel__surface {
	padding: 30px;
	box-shadow: var(--vpnf-shadow-strong);
}

.vpnf-student-portal .vpnf-learning-header {
	gap: 28px;
	margin-bottom: 22px;
}

.vpnf-student-portal .vpnf-learning-header h2 {
	font-size: clamp(28px, 2.4vw, 38px);
	line-height: 1.08;
}

.vpnf-student-portal .vpnf-next-action {
	padding: 20px;
}

.vpnf-student-portal .vpnf-next-action .vpnf-button {
	min-height: 54px;
}

.vpnf-student-portal .vpnf-learning-meta,
.vpnf-student-portal .vpnf-program-card__meta,
.vpnf-student-portal .vpnf-program-card__states,
.vpnf-student-portal .vpnf-module-roadmap__summary {
	gap: 12px;
}

.vpnf-student-portal .vpnf-program-grid {
	gap: 20px;
}

.vpnf-student-portal .vpnf-program-card {
	padding: 24px;
	box-shadow: var(--vpnf-shadow-soft);
}

.vpnf-student-portal .vpnf-program-card__header {
	gap: 18px;
	margin-bottom: 18px;
}

.vpnf-student-portal .vpnf-program-card__title {
	font-size: 24px;
	line-height: 1.14;
}

.vpnf-student-portal .vpnf-program-card__meta-item,
.vpnf-student-portal .vpnf-status-row,
.vpnf-student-portal .vpnf-next-step {
	padding: 14px;
}

.vpnf-student-portal .vpnf-program-card__actions {
	margin-top: 18px;
}

.vpnf-student-portal .vpnf-program-card__actions .vpnf-button {
	min-height: 48px;
	min-width: 170px;
}

.vpnf-student-portal .vpnf-module-roadmap__grid {
	gap: 20px;
}

.vpnf-student-portal .vpnf-module-node {
	padding: 20px;
	box-shadow: var(--vpnf-shadow-soft);
}

.vpnf-student-portal .vpnf-module-node__title {
	font-size: 19px;
	line-height: 1.22;
}

.vpnf-student-portal .vpnf-student-portal__summary,
.vpnf-student-portal .vpnf-student-portal__form-grid {
	gap: 14px;
}

.vpnf-student-portal .vpnf-student-portal__table-wrap {
	box-shadow: none;
}

.vpnf-student-portal .vpnf-student-portal__table th {
	padding: 14px 16px;
}

.vpnf-student-portal .vpnf-student-portal__table td {
	padding: 14px 16px;
}

.vpnf-student-portal .vpnf-button,
.vpnf-student-portal .vpnf-student-portal__button {
	border-radius: var(--vpnf-radius);
	transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

@media (max-width: 1180px) {
	.vpnf-student-portal .vpnf-dashboard-grid,
	.vpnf-student-portal .vpnf-student-portal__stats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.vpnf-student-portal .vpnf-student-portal__hero {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 900px) {
	.vpnf-student-portal.vpnf-page-shell {
		width: min(100%, calc(100vw - 20px));
		padding: 20px;
	}

	.vpnf-student-portal .vpnf-dashboard-grid,
	.vpnf-student-portal .vpnf-student-portal__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vpnf-student-portal .vpnf-student-portal__hero {
		padding: 28px;
	}
}

@media (max-width: 640px) {
	.vpnf-student-portal.vpnf-page-shell {
		width: min(100%, calc(100vw - 14px));
		padding: 12px;
	}

	.vpnf-student-portal .vpnf-student-portal__section,
	.vpnf-student-portal .vpnf-learning-panel__surface,
	.vpnf-student-portal .vpnf-student-portal__hero,
	.vpnf-student-portal .vpnf-program-card,
	.vpnf-student-portal .vpnf-module-node {
		padding: 16px;
	}

	.vpnf-student-portal .vpnf-dashboard-grid,
	.vpnf-student-portal .vpnf-student-portal__stats {
		grid-template-columns: 1fr;
	}

	.vpnf-student-portal .vpnf-student-portal__section-heading h2 {
		font-size: 21px;
	}
}

/* Sprint 17F premium academic library resource cards. */
.vpnf-student-portal .vpnf-library-section {
	position: relative;
	overflow: hidden;
}

.vpnf-student-portal .vpnf-library-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
	padding: 22px;
	border: 1px solid rgba(7, 10, 107, 0.08);
	border-left: 5px solid var(--vpnf-lime);
	border-radius: var(--vpnf-radius, 8px);
	background: linear-gradient(135deg, #fff 0%, var(--vpnf-blue-soft) 100%);
}

.vpnf-student-portal .vpnf-library-header span {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	margin-bottom: 8px;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--vpnf-lime-soft);
	color: var(--vpnf-green);
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
}

.vpnf-student-portal .vpnf-library-header h2 {
	margin: 0;
	color: var(--vpnf-blue);
	font-size: clamp(26px, 2.4vw, 36px);
	font-weight: 900;
	line-height: 1.08;
	letter-spacing: 0;
}

.vpnf-student-portal .vpnf-library-header p {
	max-width: 680px;
	margin: 10px 0 0;
	color: var(--vpnf-muted);
	font-size: 15px;
	line-height: 1.55;
}

.vpnf-student-portal .vpnf-library-summary {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 18px;
}

.vpnf-student-portal .vpnf-library-summary__item {
	min-width: 0;
	padding: 15px;
	border: 1px solid rgba(7, 10, 107, 0.08);
	border-radius: var(--vpnf-radius, 8px);
	background: #fff;
	box-shadow: var(--vpnf-shadow-soft, 0 14px 32px rgba(7, 10, 107, 0.07));
}

.vpnf-student-portal .vpnf-library-summary__item span {
	display: block;
	margin-bottom: 7px;
	color: var(--vpnf-muted);
	font-size: 11px;
	font-weight: 900;
	line-height: 1.2;
	text-transform: uppercase;
}

.vpnf-student-portal .vpnf-library-summary__item strong {
	display: block;
	color: var(--vpnf-blue);
	font-size: 21px;
	font-weight: 900;
	line-height: 1.15;
	word-break: break-word;
}

.vpnf-student-portal .vpnf-resource-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 18px;
}

.vpnf-student-portal .vpnf-resource-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 100%;
	padding: 22px;
	border: 1px solid rgba(7, 10, 107, 0.1);
	border-radius: var(--vpnf-radius, 8px);
	background: linear-gradient(180deg, #fff 0%, #f9fbff 100%);
	box-shadow: var(--vpnf-shadow-soft, 0 14px 32px rgba(7, 10, 107, 0.07));
	transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.vpnf-student-portal .vpnf-resource-card:hover,
.vpnf-student-portal .vpnf-resource-card:focus-within {
	border-color: rgba(168, 242, 93, 0.7);
	box-shadow: 0 20px 42px rgba(7, 10, 107, 0.11);
	transform: translateY(-2px);
}

.vpnf-student-portal .vpnf-resource-card__header {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	margin-bottom: 16px;
}

.vpnf-student-portal .vpnf-resource-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 1px solid rgba(7, 10, 107, 0.1);
	border-radius: 14px;
	background: var(--vpnf-blue-soft);
	color: var(--vpnf-blue);
	font-size: 14px;
	font-weight: 900;
	line-height: 1;
}

.vpnf-student-portal .vpnf-resource-card__status {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	margin-bottom: 8px;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--vpnf-blue-soft);
	color: var(--vpnf-blue);
	font-size: 11px;
	font-weight: 900;
	line-height: 1.2;
	text-transform: uppercase;
}

.vpnf-student-portal .vpnf-resource-card__title {
	margin: 0;
	color: var(--vpnf-blue);
	font-size: 20px;
	font-weight: 900;
	line-height: 1.18;
	letter-spacing: 0;
	word-break: break-word;
}

.vpnf-student-portal .vpnf-resource-card__meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 12px;
}

.vpnf-student-portal .vpnf-resource-card__meta-item,
.vpnf-student-portal .vpnf-resource-card__module {
	min-width: 0;
	padding: 12px;
	border: 1px solid rgba(7, 10, 107, 0.08);
	border-radius: var(--vpnf-radius, 8px);
	background: #fff;
}

.vpnf-student-portal .vpnf-resource-card__meta-item span,
.vpnf-student-portal .vpnf-resource-card__module span {
	display: block;
	margin-bottom: 6px;
	color: var(--vpnf-muted);
	font-size: 11px;
	font-weight: 900;
	line-height: 1.2;
	text-transform: uppercase;
}

.vpnf-student-portal .vpnf-resource-card__meta-item strong,
.vpnf-student-portal .vpnf-resource-card__module strong {
	display: block;
	color: var(--vpnf-ink);
	font-size: 14px;
	font-weight: 900;
	line-height: 1.35;
	word-break: break-word;
}

.vpnf-student-portal .vpnf-resource-card__module {
	margin-bottom: 14px;
	background: var(--vpnf-soft);
}

.vpnf-student-portal .vpnf-resource-card__footer {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--vpnf-line);
}

.vpnf-student-portal .vpnf-resource-actions {
	min-width: 150px;
}

.vpnf-student-portal .vpnf-resource-actions .vpnf-button {
	width: 100%;
	min-height: 44px;
	padding: 0 16px;
	font-size: 13px;
}

.vpnf-student-portal .vpnf-resource-actions__fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 6px 10px;
	border: 1px solid rgba(100, 112, 132, 0.18);
	border-radius: 999px;
	background: #eef2f8;
	color: var(--vpnf-muted);
	font-size: 12px;
	font-weight: 900;
	line-height: 1.2;
	text-align: center;
}

.vpnf-student-portal .vpnf-resource-card--available {
	border-left: 5px solid var(--vpnf-lime);
}

.vpnf-student-portal .vpnf-resource-card--available .vpnf-resource-card__icon,
.vpnf-student-portal .vpnf-resource-card--available .vpnf-resource-card__status {
	background: var(--vpnf-lime-soft);
	color: var(--vpnf-green);
}

.vpnf-student-portal .vpnf-resource-card--blocked,
.vpnf-student-portal .vpnf-resource-card--missing {
	background: #f8fafc;
}

.vpnf-student-portal .vpnf-resource-card--blocked .vpnf-resource-card__icon,
.vpnf-student-portal .vpnf-resource-card--blocked .vpnf-resource-card__status,
.vpnf-student-portal .vpnf-resource-card--missing .vpnf-resource-card__icon,
.vpnf-student-portal .vpnf-resource-card--missing .vpnf-resource-card__status {
	background: var(--vpnf-error-bg);
	color: var(--vpnf-error);
}

.vpnf-student-portal .vpnf-resource-card--pending .vpnf-resource-card__icon,
.vpnf-student-portal .vpnf-resource-card--pending .vpnf-resource-card__status {
	background: var(--vpnf-warning-bg);
	color: var(--vpnf-warning);
}

.vpnf-student-portal .vpnf-resource-detail {
	margin-top: 4px;
	padding-top: 18px;
	border-top: 1px solid var(--vpnf-line);
}

.vpnf-student-portal .vpnf-resource-detail__heading {
	margin-bottom: 12px;
}

.vpnf-student-portal .vpnf-resource-detail__heading h3 {
	margin: 0;
	color: var(--vpnf-blue);
	font-size: 16px;
	font-weight: 900;
	line-height: 1.25;
}

.vpnf-student-portal .vpnf-resource-detail__heading p {
	margin: 4px 0 0;
	color: var(--vpnf-muted);
	font-size: 13px;
	line-height: 1.45;
}

@media (max-width: 1180px) {
	.vpnf-student-portal .vpnf-resource-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.vpnf-student-portal .vpnf-library-summary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.vpnf-student-portal .vpnf-library-header,
	.vpnf-student-portal .vpnf-resource-grid,
	.vpnf-student-portal .vpnf-library-summary,
	.vpnf-student-portal .vpnf-resource-card__meta {
		grid-template-columns: 1fr;
	}

	.vpnf-student-portal .vpnf-library-header,
	.vpnf-student-portal .vpnf-resource-card {
		padding: 16px;
	}

	.vpnf-student-portal .vpnf-resource-card__footer {
		display: grid;
		grid-template-columns: 1fr;
	}

	.vpnf-student-portal .vpnf-resource-actions {
		width: 100%;
	}
}

/* Pre Sprint 17G visual correction: adaptive enrollment grid and resource module cleanup. */
.vpnf-student-portal .vpnf-program-grid--single {
	grid-template-columns: 1fr;
}

.vpnf-student-portal .vpnf-program-grid--double {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vpnf-student-portal .vpnf-program-grid--multiple {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vpnf-student-portal .vpnf-program-grid--single .vpnf-program-card {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
	gap: 18px 22px;
	align-items: start;
	width: 100%;
}

.vpnf-student-portal .vpnf-program-grid--single .vpnf-program-card__header {
	grid-column: 1 / 2;
	margin-bottom: 0;
}

.vpnf-student-portal .vpnf-program-grid--single .vpnf-program-card__meta,
.vpnf-student-portal .vpnf-program-grid--single .vpnf-program-card__states {
	grid-column: 1 / 2;
}

.vpnf-student-portal .vpnf-program-grid--single .vpnf-next-step,
.vpnf-student-portal .vpnf-program-grid--single .vpnf-program-card__actions {
	grid-column: 2 / 3;
}

.vpnf-student-portal .vpnf-program-grid--single .vpnf-next-step {
	align-self: stretch;
	margin-top: 0;
}

.vpnf-student-portal .vpnf-program-grid--single .vpnf-program-card__actions {
	align-self: end;
	margin-top: 0;
}

.vpnf-student-portal .vpnf-program-grid--single .vpnf-program-card__actions .vpnf-button {
	width: 100%;
}


@media (min-width: 1181px) {
	.vpnf-student-portal .vpnf-program-grid--multiple {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 980px) {
	.vpnf-student-portal .vpnf-program-grid--single .vpnf-program-card {
		grid-template-columns: 1fr;
	}

	.vpnf-student-portal .vpnf-program-grid--single .vpnf-program-card__header,
	.vpnf-student-portal .vpnf-program-grid--single .vpnf-program-card__meta,
	.vpnf-student-portal .vpnf-program-grid--single .vpnf-program-card__states,
	.vpnf-student-portal .vpnf-program-grid--single .vpnf-next-step,
	.vpnf-student-portal .vpnf-program-grid--single .vpnf-program-card__actions {
		grid-column: auto;
	}
}

@media (max-width: 640px) {
	.vpnf-student-portal .vpnf-program-grid--double,
	.vpnf-student-portal .vpnf-program-grid--multiple {
		grid-template-columns: 1fr;
	}
}

/* Sprint 17G: unified student finance center. */
.vpnf-student-portal .vpnf-finance-center {
	display: grid;
	gap: var(--vpnf-space-lg, 24px);
	padding: clamp(22px, 3vw, 34px);
	border: 1px solid rgba(7, 10, 107, 0.1);
	background:
		linear-gradient(135deg, rgba(238, 241, 255, 0.94) 0%, rgba(255, 255, 255, 0.98) 44%, rgba(241, 255, 228, 0.66) 100%);
	box-shadow: var(--vpnf-shadow-soft, 0 14px 32px rgba(7, 10, 107, 0.07));
}

.vpnf-student-portal .vpnf-finance-header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
}

.vpnf-student-portal .vpnf-finance-header__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
}

.vpnf-student-portal .vpnf-finance-header span,
.vpnf-student-portal .vpnf-payment-report-card__header span {
	display: inline-flex;
	width: fit-content;
	margin-bottom: 8px;
	padding: 7px 11px;
	border-radius: 999px;
	background: var(--vpnf-lime-soft);
	color: var(--vpnf-green);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.06em;
	line-height: 1;
	text-transform: uppercase;
}

.vpnf-student-portal .vpnf-finance-header h2,
.vpnf-student-portal .vpnf-payment-report-card__header h3,
.vpnf-student-portal .vpnf-finance-subheader h3,
.vpnf-student-portal .vpnf-finance-detail__heading h4 {
	margin: 0;
	color: var(--vpnf-blue);
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.14;
}

.vpnf-student-portal .vpnf-finance-header h2 {
	font-size: clamp(26px, 2.4vw, 38px);
}

.vpnf-student-portal .vpnf-payment-report-card__header h3,
.vpnf-student-portal .vpnf-finance-subheader h3 {
	font-size: clamp(20px, 1.8vw, 26px);
}

.vpnf-student-portal .vpnf-finance-header p,
.vpnf-student-portal .vpnf-payment-report-card__header p,
.vpnf-student-portal .vpnf-finance-subheader p,
.vpnf-student-portal .vpnf-finance-detail__heading p {
	max-width: 720px;
	margin: 8px 0 0;
	color: var(--vpnf-muted);
	font-size: 14px;
	line-height: 1.55;
}

.vpnf-student-portal .vpnf-finance-summary {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
}

.vpnf-student-portal .vpnf-finance-summary__item {
	min-height: 112px;
	padding: 16px;
	border: 1px solid rgba(7, 10, 107, 0.1);
	border-radius: var(--vpnf-radius, 8px);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 12px 28px rgba(7, 10, 107, 0.055);
}

.vpnf-student-portal .vpnf-finance-summary__item span {
	display: block;
	margin-bottom: 12px;
	color: var(--vpnf-muted);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.05em;
	line-height: 1.25;
	text-transform: uppercase;
}

.vpnf-student-portal .vpnf-finance-summary__item strong {
	display: block;
	color: var(--vpnf-blue);
	font-size: clamp(18px, 1.4vw, 24px);
	font-weight: 900;
	line-height: 1.16;
}

.vpnf-student-portal .vpnf-finance-alerts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.vpnf-student-portal .vpnf-finance-alert {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 10px 14px;
	border: 1px solid var(--vpnf-line);
	border-radius: 999px;
	background: #fff;
	color: var(--vpnf-ink);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
}

.vpnf-student-portal .vpnf-finance-alert--review,
.vpnf-student-portal .vpnf-finance-alert--pending {
	border-color: rgba(138, 90, 0, 0.18);
	background: var(--vpnf-warning-bg);
	color: var(--vpnf-warning);
}

.vpnf-student-portal .vpnf-finance-alert--danger {
	border-color: rgba(185, 28, 28, 0.18);
	background: var(--vpnf-error-bg);
	color: var(--vpnf-error);
}

.vpnf-student-portal .vpnf-finance-alert--success {
	border-color: rgba(47, 111, 5, 0.18);
	background: var(--vpnf-success-bg);
	color: var(--vpnf-success);
}

.vpnf-student-portal .vpnf-payment-report-card {
	display: grid;
	gap: 18px;
	padding: clamp(20px, 2.6vw, 30px);
	border-left: 6px solid var(--vpnf-lime);
}

.vpnf-student-portal .vpnf-payment-form {
	display: grid;
	gap: 16px;
}

.vpnf-student-portal .vpnf-payment-form .vpnf-form-grid,
.vpnf-student-portal .vpnf-payment-form .vpnf-student-portal__form-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.vpnf-student-portal .vpnf-payment-form .vpnf-student-portal__field,
.vpnf-student-portal .vpnf-payment-form .vpnf-student-portal__form-wide {
	margin: 0;
}

.vpnf-student-portal .vpnf-payment-form label {
	display: grid;
	gap: 7px;
}

.vpnf-student-portal .vpnf-payment-form label > span {
	color: var(--vpnf-ink);
	font-size: 12px;
	font-weight: 900;
	line-height: 1.25;
}

.vpnf-student-portal .vpnf-payment-form input,
.vpnf-student-portal .vpnf-payment-form select,
.vpnf-student-portal .vpnf-payment-form textarea {
	width: 100%;
	min-height: 46px;
	border: 1px solid var(--vpnf-line);
	border-radius: var(--vpnf-radius, 8px);
	background: #fff;
	color: var(--vpnf-ink);
	font-size: 14px;
}

.vpnf-student-portal .vpnf-payment-form textarea {
	min-height: 104px;
	resize: vertical;
}

.vpnf-student-portal .vpnf-payment-form .vpnf-button {
	justify-self: start;
	min-height: 50px;
	padding-right: 24px;
	padding-left: 24px;
}

.vpnf-student-portal .vpnf-payment-movements,
.vpnf-student-portal .vpnf-installment-plan {
	display: grid;
	gap: 16px;
}

.vpnf-student-portal .vpnf-finance-subheader {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: end;
	padding-top: 4px;
}

.vpnf-student-portal .vpnf-payment-movements__list {
	display: grid;
	gap: 12px;
}

.vpnf-student-portal .vpnf-payment-movement {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr) auto auto;
	gap: 14px;
	align-items: center;
	padding: 16px;
	box-shadow: 0 10px 24px rgba(7, 10, 107, 0.055);
}

.vpnf-student-portal .vpnf-payment-movement__icon {
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	border-radius: 999px;
	background: var(--vpnf-blue);
	color: var(--vpnf-lime);
	font-size: 18px;
	font-weight: 900;
	line-height: 1;
}

.vpnf-student-portal .vpnf-payment-movement__content {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.vpnf-student-portal .vpnf-payment-movement__content strong,
.vpnf-student-portal .vpnf-installment-card h4 {
	color: var(--vpnf-ink);
	font-size: 15px;
	font-weight: 900;
	line-height: 1.25;
}

.vpnf-student-portal .vpnf-payment-movement__content span,
.vpnf-student-portal .vpnf-payment-movement__content small {
	color: var(--vpnf-muted);
	font-size: 12px;
	line-height: 1.35;
}

.vpnf-student-portal .vpnf-payment-movement__amount {
	color: var(--vpnf-blue);
	font-size: 17px;
	font-weight: 900;
	white-space: nowrap;
}

.vpnf-student-portal .vpnf-payment-movement__status {
	display: flex;
	justify-content: flex-end;
}

.vpnf-student-portal .vpnf-installment-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.vpnf-student-portal .vpnf-installment-card {
	position: relative;
	display: grid;
	gap: 12px;
	padding: 18px;
	overflow: hidden;
	border-top: 5px solid var(--vpnf-line);
}

.vpnf-student-portal .vpnf-installment-card--paid {
	border-top-color: var(--vpnf-success);
}

.vpnf-student-portal .vpnf-installment-card--pending {
	border-top-color: var(--vpnf-warning);
}

.vpnf-student-portal .vpnf-installment-card--overdue {
	border-top-color: var(--vpnf-error);
}

.vpnf-student-portal .vpnf-installment-card__number {
	width: fit-content;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--vpnf-blue-soft);
	color: var(--vpnf-blue);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.vpnf-student-portal .vpnf-installment-card strong {
	color: var(--vpnf-blue);
	font-size: 22px;
	font-weight: 900;
	line-height: 1.1;
}

.vpnf-student-portal .vpnf-installment-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: space-between;
	padding-top: 8px;
	border-top: 1px solid var(--vpnf-line);
}

.vpnf-student-portal .vpnf-installment-card__meta span {
	color: var(--vpnf-muted);
	font-size: 12px;
	font-weight: 800;
}

.vpnf-student-portal .vpnf-finance-detail {
	display: grid;
	gap: 12px;
	margin-top: 4px;
	padding-top: 16px;
	border-top: 1px solid rgba(7, 10, 107, 0.1);
}

.vpnf-student-portal .vpnf-finance-detail__heading h4 {
	font-size: 17px;
}

.vpnf-student-portal .vpnf-finance-center .vpnf-student-portal__table-wrap {
	margin-top: 0;
	background: rgba(255, 255, 255, 0.86);
}

@media (max-width: 1180px) {
	.vpnf-student-portal .vpnf-finance-summary {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 980px) {
	.vpnf-student-portal .vpnf-payment-form .vpnf-form-grid,
	.vpnf-student-portal .vpnf-payment-form .vpnf-student-portal__form-grid,
	.vpnf-student-portal .vpnf-installment-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vpnf-student-portal .vpnf-payment-movement {
		grid-template-columns: 46px minmax(0, 1fr) auto;
	}

	.vpnf-student-portal .vpnf-payment-movement__status {
		grid-column: 2 / -1;
		justify-content: flex-start;
	}
}

@media (max-width: 720px) {
	.vpnf-student-portal .vpnf-finance-header,
	.vpnf-student-portal .vpnf-finance-subheader,
	.vpnf-student-portal .vpnf-finance-summary,
	.vpnf-student-portal .vpnf-payment-form .vpnf-form-grid,
	.vpnf-student-portal .vpnf-payment-form .vpnf-student-portal__form-grid,
	.vpnf-student-portal .vpnf-installment-grid {
		grid-template-columns: 1fr;
	}

	.vpnf-student-portal .vpnf-finance-subheader {
		display: grid;
		align-items: start;
	}

	.vpnf-student-portal .vpnf-finance-header .vpnf-button,
	.vpnf-student-portal .vpnf-payment-form .vpnf-button {
		width: 100%;
		justify-content: center;
	}

	.vpnf-student-portal .vpnf-finance-header__actions {
		display: grid;
		grid-template-columns: 1fr;
		width: 100%;
	}

	.vpnf-student-portal .vpnf-payment-movement {
		grid-template-columns: 42px minmax(0, 1fr);
	}

	.vpnf-student-portal .vpnf-payment-movement__icon {
		width: 42px;
		height: 42px;
	}

	.vpnf-student-portal .vpnf-payment-movement__amount,
	.vpnf-student-portal .vpnf-payment-movement__status {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}
}

/* Sprint 17H: premium student certification center. */
.vpnf-student-portal .vpnf-certification-center {
	display: grid;
	gap: var(--vpnf-space-lg, 24px);
	padding: clamp(22px, 3vw, 34px);
	border: 1px solid rgba(7, 10, 107, 0.1);
	background:
		linear-gradient(135deg, rgba(7, 10, 107, 0.045) 0%, rgba(255, 255, 255, 0.98) 42%, rgba(168, 242, 93, 0.18) 100%);
	box-shadow: var(--vpnf-shadow-soft, 0 14px 32px rgba(7, 10, 107, 0.07));
}

.vpnf-student-portal .vpnf-certification-header {
	display: grid;
	gap: 10px;
}

.vpnf-student-portal .vpnf-certification-header span {
	display: inline-flex;
	width: fit-content;
	margin-bottom: 8px;
	padding: 7px 11px;
	border-radius: 999px;
	background: var(--vpnf-blue);
	color: var(--vpnf-lime);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.06em;
	line-height: 1;
	text-transform: uppercase;
}

.vpnf-student-portal .vpnf-certification-header h2 {
	margin: 0;
	color: var(--vpnf-blue);
	font-size: clamp(26px, 2.4vw, 38px);
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.14;
}

.vpnf-student-portal .vpnf-certification-header p {
	max-width: 720px;
	margin: 8px 0 0;
	color: var(--vpnf-muted);
	font-size: 14px;
	line-height: 1.55;
}

.vpnf-student-portal .vpnf-certificate-summary {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.vpnf-student-portal .vpnf-certificate-kpi {
	min-height: 108px;
	padding: 16px;
	border: 1px solid rgba(7, 10, 107, 0.1);
	border-radius: var(--vpnf-radius, 8px);
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 12px 28px rgba(7, 10, 107, 0.055);
}

.vpnf-student-portal .vpnf-certificate-kpi span {
	display: block;
	margin-bottom: 12px;
	color: var(--vpnf-muted);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.05em;
	line-height: 1.25;
	text-transform: uppercase;
}

.vpnf-student-portal .vpnf-certificate-kpi strong {
	display: block;
	color: var(--vpnf-blue);
	font-size: clamp(24px, 2.1vw, 34px);
	font-weight: 900;
	line-height: 1;
}

.vpnf-student-portal .vpnf-certificate-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.vpnf-student-portal .vpnf-certificate-card {
	position: relative;
	display: grid;
	gap: 18px;
	padding: clamp(18px, 2vw, 24px);
	overflow: hidden;
	border: 1px solid rgba(7, 10, 107, 0.11);
	background:
		linear-gradient(180deg, #fff 0%, #f9fbff 100%);
	box-shadow: 0 16px 34px rgba(7, 10, 107, 0.075);
}

.vpnf-student-portal .vpnf-certificate-card::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 6px;
	background: linear-gradient(90deg, var(--vpnf-blue) 0%, var(--vpnf-lime) 100%);
	content: "";
}

.vpnf-student-portal .vpnf-certificate-card__header {
	display: grid;
	gap: 12px;
	padding-top: 4px;
}

.vpnf-student-portal .vpnf-certificate-status {
	display: inline-flex;
	width: fit-content;
	padding: 7px 10px;
	border-radius: 999px;
	background: var(--vpnf-blue-soft);
	color: var(--vpnf-blue);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.04em;
	line-height: 1;
	text-transform: uppercase;
}

.vpnf-student-portal .vpnf-certificate-card__header h3 {
	margin: 0;
	color: var(--vpnf-ink);
	font-size: clamp(18px, 1.5vw, 23px);
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.18;
}

.vpnf-student-portal .vpnf-certificate-card__body {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.vpnf-student-portal .vpnf-certificate-meta {
	padding: 12px;
	border: 1px solid var(--vpnf-line);
	border-radius: var(--vpnf-radius, 8px);
	background: rgba(255, 255, 255, 0.78);
}

.vpnf-student-portal .vpnf-certificate-meta span {
	display: block;
	margin-bottom: 6px;
	color: var(--vpnf-muted);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.05em;
	line-height: 1.25;
	text-transform: uppercase;
}

.vpnf-student-portal .vpnf-certificate-meta strong {
	display: block;
	color: var(--vpnf-ink);
	font-size: 13px;
	font-weight: 900;
	line-height: 1.3;
}

.vpnf-student-portal .vpnf-certificate-card__footer {
	display: grid;
	gap: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--vpnf-line);
}

.vpnf-student-portal .vpnf-certificate-card__footer p {
	margin: 0;
	color: var(--vpnf-muted);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.45;
}

.vpnf-student-portal .vpnf-certificate-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.vpnf-student-portal .vpnf-certificate-actions .vpnf-button {
	min-height: 44px;
	padding-right: 18px;
	padding-left: 18px;
}

.vpnf-student-portal .vpnf-button--disabled {
	border-color: rgba(100, 112, 132, 0.24);
	background: #f4f6fb;
	color: var(--vpnf-muted) !important;
	box-shadow: none;
	cursor: not-allowed;
	pointer-events: none;
}

.vpnf-student-portal .vpnf-certificate-empty {
	display: grid;
	gap: 10px;
	padding: clamp(24px, 3vw, 34px);
	border-left: 6px solid var(--vpnf-lime);
	background: #fff;
}

.vpnf-student-portal .vpnf-certificate-empty h3 {
	margin: 0;
	color: var(--vpnf-blue);
	font-size: clamp(20px, 1.8vw, 28px);
	font-weight: 900;
	line-height: 1.18;
}

.vpnf-student-portal .vpnf-certificate-empty p {
	max-width: 620px;
	margin: 0;
	color: var(--vpnf-muted);
	font-size: 14px;
	line-height: 1.55;
}

@media (max-width: 1180px) {
	.vpnf-student-portal .vpnf-certificate-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.vpnf-student-portal .vpnf-certificate-summary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.vpnf-student-portal .vpnf-certificate-grid,
	.vpnf-student-portal .vpnf-certificate-summary,
	.vpnf-student-portal .vpnf-certificate-card__body {
		grid-template-columns: 1fr;
	}

	.vpnf-student-portal .vpnf-certificate-actions,
	.vpnf-student-portal .vpnf-certificate-actions .vpnf-button {
		width: 100%;
	}

	.vpnf-student-portal .vpnf-certificate-actions .vpnf-button {
		justify-content: center;
	}
}

/* Certificate Center final visual review. */
.vpnf-student-portal .vpnf-certificate-grid {
	align-items: stretch;
}

.vpnf-student-portal .vpnf-certificate-grid--single {
	grid-template-columns: minmax(0, min(100%, 900px));
	justify-content: center;
}

.vpnf-student-portal .vpnf-certificate-grid--double {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vpnf-student-portal .vpnf-certificate-grid--multiple {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vpnf-student-portal .vpnf-certificate-card {
	display: flex;
	min-width: 0;
	min-height: 430px;
	flex-direction: column;
	justify-content: flex-start;
}

.vpnf-student-portal .vpnf-certificate-grid--single .vpnf-certificate-card {
	min-height: 360px;
}

.vpnf-student-portal .vpnf-certificate-grid--single .vpnf-certificate-card__body {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vpnf-student-portal .vpnf-certificate-card__header h3,
.vpnf-student-portal .vpnf-certificate-meta strong,
.vpnf-student-portal .vpnf-certificate-card__footer p {
	overflow-wrap: anywhere;
	word-break: normal;
}

.vpnf-student-portal .vpnf-certificate-card__body {
	align-items: stretch;
}

.vpnf-student-portal .vpnf-certificate-meta {
	min-width: 0;
}

.vpnf-student-portal .vpnf-certificate-card__footer {
	margin-top: auto;
}

.vpnf-student-portal .vpnf-certificate-actions {
	align-items: stretch;
}

.vpnf-student-portal .vpnf-certificate-actions .vpnf-button {
	flex: 1 1 140px;
	justify-content: center;
	text-align: center;
}

.vpnf-student-portal .vpnf-certificate-status--emitido,
.vpnf-student-portal .vpnf-certificate-status--issued {
	background: rgba(60, 213, 0, 0.15);
	color: #226d08;
}

.vpnf-student-portal .vpnf-certificate-status--borrador,
.vpnf-student-portal .vpnf-certificate-status--pendiente,
.vpnf-student-portal .vpnf-certificate-status--draft,
.vpnf-student-portal .vpnf-certificate-status--pending {
	background: rgba(7, 10, 107, 0.08);
	color: var(--vpnf-blue);
}

.vpnf-student-portal .vpnf-certificate-status--anulado,
.vpnf-student-portal .vpnf-certificate-status--revocado,
.vpnf-student-portal .vpnf-certificate-status--cancelled,
.vpnf-student-portal .vpnf-certificate-status--revoked {
	background: rgba(191, 65, 65, 0.12);
	color: #9f2d2d;
}

.vpnf-student-portal .vpnf-certificate-status--vencido,
.vpnf-student-portal .vpnf-certificate-status--expired {
	background: rgba(176, 115, 0, 0.14);
	color: #8a5a00;
}

@media (max-width: 1180px) {
	.vpnf-student-portal .vpnf-certificate-grid--multiple {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vpnf-student-portal .vpnf-certificate-grid--single .vpnf-certificate-card__body {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.vpnf-student-portal .vpnf-certificate-grid--single,
	.vpnf-student-portal .vpnf-certificate-grid--double,
	.vpnf-student-portal .vpnf-certificate-grid--multiple {
		grid-template-columns: 1fr;
	}

	.vpnf-student-portal .vpnf-certificate-card,
	.vpnf-student-portal .vpnf-certificate-grid--single .vpnf-certificate-card {
		min-height: 0;
	}

	.vpnf-student-portal .vpnf-certificate-grid--single .vpnf-certificate-card__body {
		grid-template-columns: 1fr;
	}
}

/* Sprint 17I visual QA: global consistency and accessibility pass. */
.vpnf-student-portal.vpnf-page-shell {
	--vpnf-radius: 8px;
	--vpnf-focus: 0 0 0 3px rgba(168, 242, 93, 0.55), 0 0 0 5px rgba(7, 10, 107, 0.18);
	--vpnf-section-gap: clamp(20px, 2.4vw, 32px);
	--vpnf-card-gap: clamp(14px, 1.6vw, 20px);
	--vpnf-card-pad: clamp(18px, 2.2vw, 28px);
	--vpnf-h2: clamp(23px, 2vw, 32px);
	--vpnf-h3: clamp(18px, 1.35vw, 22px);
	--vpnf-body: 14px;
	--vpnf-small: 12px;
	line-height: 1.55;
}

.vpnf-student-portal .vpnf-student-portal__dashboard-start,
.vpnf-student-portal .vpnf-student-portal__section,
.vpnf-student-portal .vpnf-learning-panel,
.vpnf-student-portal .vpnf-library-section,
.vpnf-student-portal .vpnf-finance-center,
.vpnf-student-portal .vpnf-certification-center {
	margin-bottom: var(--vpnf-section-gap);
}

.vpnf-student-portal .vpnf-section,
.vpnf-student-portal .vpnf-card,
.vpnf-student-portal .vpnf-stat-card,
.vpnf-student-portal .vpnf-empty-state,
.vpnf-student-portal .vpnf-program-card,
.vpnf-student-portal .vpnf-module-node,
.vpnf-student-portal .vpnf-resource-card,
.vpnf-student-portal .vpnf-payment-report-card,
.vpnf-student-portal .vpnf-payment-movement,
.vpnf-student-portal .vpnf-installment-card,
.vpnf-student-portal .vpnf-certificate-card,
.vpnf-student-portal .vpnf-certificate-empty {
	border-radius: var(--vpnf-radius);
}

.vpnf-student-portal .vpnf-section {
	padding: var(--vpnf-card-pad);
}

.vpnf-student-portal .vpnf-student-portal__section-heading,
.vpnf-student-portal .vpnf-library-header,
.vpnf-student-portal .vpnf-finance-header,
.vpnf-student-portal .vpnf-certification-header,
.vpnf-student-portal .vpnf-module-detail__heading,
.vpnf-student-portal .vpnf-resource-detail__heading,
.vpnf-student-portal .vpnf-finance-detail__heading,
.vpnf-student-portal .vpnf-finance-subheader {
	margin-bottom: var(--vpnf-card-gap);
}

.vpnf-student-portal h1,
.vpnf-student-portal h2,
.vpnf-student-portal h3,
.vpnf-student-portal h4 {
	letter-spacing: 0;
	overflow-wrap: anywhere;
}

.vpnf-student-portal .vpnf-student-portal__section-heading h2,
.vpnf-student-portal .vpnf-library-header h2,
.vpnf-student-portal .vpnf-finance-header h2,
.vpnf-student-portal .vpnf-certification-header h2 {
	font-size: var(--vpnf-h2);
	line-height: 1.12;
}

.vpnf-student-portal .vpnf-program-card__title,
.vpnf-student-portal .vpnf-module-node__title,
.vpnf-student-portal .vpnf-resource-card__title,
.vpnf-student-portal .vpnf-payment-report-card__header h3,
.vpnf-student-portal .vpnf-certificate-card__header h3,
.vpnf-student-portal .vpnf-finance-subheader h3,
.vpnf-student-portal .vpnf-module-detail__heading h3,
.vpnf-student-portal .vpnf-resource-detail__heading h3 {
	font-size: var(--vpnf-h3);
	line-height: 1.18;
}

.vpnf-student-portal p,
.vpnf-student-portal td,
.vpnf-student-portal th,
.vpnf-student-portal input,
.vpnf-student-portal select,
.vpnf-student-portal textarea {
	font-size: var(--vpnf-body);
}

.vpnf-student-portal .vpnf-button,
.vpnf-student-portal button.vpnf-button,
.vpnf-student-portal .vpnf-student-portal__button {
	min-height: 46px;
	border-radius: var(--vpnf-radius);
	padding: 0 18px;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.2;
	white-space: normal;
}

.vpnf-student-portal .vpnf-button:focus-visible,
.vpnf-student-portal button:focus-visible,
.vpnf-student-portal input:focus-visible,
.vpnf-student-portal select:focus-visible,
.vpnf-student-portal textarea:focus-visible,
.vpnf-student-portal a:focus-visible {
	outline: none;
	box-shadow: var(--vpnf-focus);
}

.vpnf-student-portal .vpnf-button--primary:hover,
.vpnf-student-portal .vpnf-button--primary:focus-visible {
	background: #b8ff6f;
	color: var(--vpnf-blue) !important;
}

.vpnf-student-portal .vpnf-button--secondary:hover,
.vpnf-student-portal .vpnf-button--secondary:focus-visible {
	border-color: rgba(7, 10, 107, 0.28);
	background: var(--vpnf-blue-soft);
	color: var(--vpnf-blue) !important;
}

.vpnf-student-portal .vpnf-button--disabled,
.vpnf-student-portal [aria-disabled="true"] {
	opacity: 0.72;
	filter: grayscale(0.1);
}

.vpnf-student-portal .vpnf-badge,
.vpnf-student-portal .vpnf-student-portal__badge,
.vpnf-student-portal .vpnf-resource-card__status,
.vpnf-student-portal .vpnf-module-node__state,
.vpnf-student-portal .vpnf-payment-movement__status,
.vpnf-student-portal .vpnf-certificate-status {
	min-height: 28px;
	align-items: center;
	border: 1px solid rgba(7, 10, 107, 0.1);
	border-radius: 999px;
	padding: 7px 10px;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.035em;
	line-height: 1;
	text-transform: uppercase;
}

.vpnf-student-portal .vpnf-card,
.vpnf-student-portal .vpnf-program-card,
.vpnf-student-portal .vpnf-module-node,
.vpnf-student-portal .vpnf-resource-card,
.vpnf-student-portal .vpnf-payment-movement,
.vpnf-student-portal .vpnf-installment-card,
.vpnf-student-portal .vpnf-certificate-card {
	min-width: 0;
	transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.vpnf-student-portal .vpnf-program-card:hover,
.vpnf-student-portal .vpnf-module-node:hover,
.vpnf-student-portal .vpnf-resource-card:hover,
.vpnf-student-portal .vpnf-payment-movement:hover,
.vpnf-student-portal .vpnf-installment-card:hover,
.vpnf-student-portal .vpnf-certificate-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 22px 46px rgba(7, 10, 107, 0.11);
}

.vpnf-student-portal .vpnf-program-card__actions,
.vpnf-student-portal .vpnf-resource-actions,
.vpnf-student-portal .vpnf-certificate-actions,
.vpnf-student-portal .vpnf-student-portal__hero-actions,
.vpnf-student-portal .vpnf-next-action {
	gap: 10px;
}

.vpnf-student-portal .vpnf-student-portal__empty,
.vpnf-student-portal .vpnf-empty-state,
.vpnf-student-portal .vpnf-certificate-empty {
	border: 1px solid rgba(7, 10, 107, 0.1);
	border-left: 5px solid var(--vpnf-lime);
	background: linear-gradient(180deg, #fff 0%, #f9fbff 100%);
	color: var(--vpnf-muted);
	font-size: 14px;
	line-height: 1.55;
}

.vpnf-student-portal .vpnf-student-portal__message {
	border-radius: var(--vpnf-radius);
	padding: 14px 16px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.45;
}

.vpnf-student-portal .vpnf-payment-form input,
.vpnf-student-portal .vpnf-payment-form select,
.vpnf-student-portal .vpnf-payment-form textarea {
	border-color: rgba(7, 10, 107, 0.14);
	padding: 11px 12px;
	line-height: 1.35;
	transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.vpnf-student-portal .vpnf-payment-form input:hover,
.vpnf-student-portal .vpnf-payment-form select:hover,
.vpnf-student-portal .vpnf-payment-form textarea:hover {
	border-color: rgba(7, 10, 107, 0.28);
}

.vpnf-student-portal .vpnf-student-portal__table-wrap {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid rgba(7, 10, 107, 0.09);
	background: #fff;
}

.vpnf-student-portal .vpnf-student-portal__table {
	min-width: 760px;
	border-collapse: separate;
	border-spacing: 0;
}

.vpnf-student-portal .vpnf-student-portal__table th {
	background: #f4f6fb;
	color: var(--vpnf-blue);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.vpnf-student-portal .vpnf-student-portal__table td {
	color: var(--vpnf-ink);
	line-height: 1.45;
	vertical-align: top;
}

.vpnf-student-portal .vpnf-dashboard-grid,
.vpnf-student-portal .vpnf-program-grid,
.vpnf-student-portal .vpnf-module-roadmap__grid,
.vpnf-student-portal .vpnf-resource-grid,
.vpnf-student-portal .vpnf-finance-summary,
.vpnf-student-portal .vpnf-installment-grid,
.vpnf-student-portal .vpnf-certificate-summary,
.vpnf-student-portal .vpnf-certificate-grid {
	gap: var(--vpnf-card-gap);
}

@media (max-width: 900px) {
	.vpnf-student-portal.vpnf-page-shell {
		--vpnf-card-pad: 20px;
		--vpnf-section-gap: 22px;
	}

	.vpnf-student-portal .vpnf-finance-header,
	.vpnf-student-portal .vpnf-certification-header,
	.vpnf-student-portal .vpnf-library-header,
	.vpnf-student-portal .vpnf-finance-subheader {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 640px) {
	.vpnf-student-portal.vpnf-page-shell {
		--vpnf-card-pad: 16px;
		--vpnf-card-gap: 12px;
		--vpnf-section-gap: 18px;
		overflow-x: hidden;
	}

	.vpnf-student-portal .vpnf-student-portal__hero h1 {
		font-size: 30px;
	}

	.vpnf-student-portal .vpnf-button,
	.vpnf-student-portal button.vpnf-button,
	.vpnf-student-portal .vpnf-student-portal__button {
		width: 100%;
		min-height: 48px;
	}

	.vpnf-student-portal .vpnf-student-portal__table-wrap {
		margin-right: -2px;
		margin-left: -2px;
	}

	.vpnf-student-portal .vpnf-student-portal__table {
		min-width: 680px;
	}
}

/* Limited portal state for linked public accounts without enrollments. */
.vpnf-student-portal .vpnf-student-portal__limited-hero {
    margin-bottom: 28px;
}

.vpnf-student-portal .vpnf-student-portal__limited-state {
    margin-bottom: 28px;
}

.vpnf-student-portal .vpnf-student-portal__limited-state .vpnf-empty-state {
    display: grid;
    justify-items: start;
    gap: 14px;
    padding: clamp(28px, 4vw, 44px);
    max-width: 920px;
    margin-inline: auto;
    text-align: left;
}

.vpnf-student-portal .vpnf-student-portal__limited-state h2 {
    margin: 0;
    color: #10233f;
    font-size: clamp(1.55rem, 2.4vw, 2.1rem);
    line-height: 1.12;
    font-weight: 800;
}

.vpnf-student-portal .vpnf-student-portal__limited-state p {
    max-width: 640px;
    margin: 0;
    color: #536174;
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 720px) {
    .vpnf-student-portal .vpnf-student-portal__limited-state .vpnf-empty-state {
        justify-items: stretch;
        text-align: left;
    }
}

/* Private student portal shell. */
.vpnf-student-portal-shell-page {
	margin: 0;
	background: #eef2f7;
}

.vpnf-student-shell {
	min-height: 100vh;
	background: linear-gradient(180deg, #eef2f7 0%, #f7f9fc 42%, #ffffff 100%);
	color: #172033;
	font-family: inherit;
}

.vpnf-student-shell *,
.vpnf-student-shell *::before,
.vpnf-student-shell *::after {
	box-sizing: border-box;
}

.vpnf-student-shell__header {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 18px max(32px, calc((100vw - 1280px) / 2 + 18px));
	border-bottom: 1px solid rgba(7, 10, 107, 0.08);
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(16px);
}

.vpnf-student-shell__brand {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.vpnf-student-shell__logo {
	display: inline-flex;
	align-items: center;
	color: #070a6b !important;
	font-size: 17px;
	font-weight: 950;
	letter-spacing: 0;
	text-decoration: none !important;
	white-space: nowrap;
}

.vpnf-student-shell__logo-image {
	width: auto;
	max-width: 156px;
	max-height: 42px;
	object-fit: contain;
}

.vpnf-student-shell__user {
	display: inline-flex;
	max-width: 220px;
	padding-left: 14px;
	border-left: 1px solid rgba(7, 10, 107, 0.12);
	color: #647084;
	font-size: 13px;
	font-weight: 800;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vpnf-student-shell__nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	flex-wrap: wrap;
}

.vpnf-student-shell__nav a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 14px;
	border-radius: 8px;
	color: #172033 !important;
	font-size: 13px;
	font-weight: 850;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.vpnf-student-shell__nav a:hover,
.vpnf-student-shell__nav a:focus-visible,
.vpnf-student-shell__nav a.is-active {
	background: #eef1ff;
	color: #070a6b !important;
	box-shadow: inset 0 0 0 1px rgba(7, 10, 107, 0.08);
}

.vpnf-student-shell__nav .vpnf-student-shell__logout {
	background: #070a6b;
	color: #ffffff !important;
}

.vpnf-student-shell__nav .vpnf-student-shell__logout:hover,
.vpnf-student-shell__nav .vpnf-student-shell__logout:focus-visible {
	background: #10158f;
	color: #ffffff !important;
}

.vpnf-student-shell__main {
	width: 100%;
	padding: 30px 18px 48px;
}

.vpnf-student-shell__main .vpnf-student-portal {
	max-width: 1280px;
}

.vpnf-student-shell__footer {
	display: flex;
	justify-content: center;
	width: min(100%, 1320px);
	margin: 0 auto;
	padding: 24px 32px 34px;
	color: #647084;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
}

@media (max-width: 860px) {
	.vpnf-student-shell__header {
		position: static;
		align-items: flex-start;
		flex-direction: column;
		padding: 16px 20px;
	}

	.vpnf-student-shell__brand {
		width: 100%;
		justify-content: space-between;
	}

	.vpnf-student-shell__nav {
		justify-content: flex-start;
		width: 100%;
	}

	.vpnf-student-shell__main {
		padding: 18px 10px 34px;
	}
}

@media (max-width: 560px) {
	.vpnf-student-shell__brand {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
	}

	.vpnf-student-shell__user {
		max-width: 100%;
		padding-left: 0;
		border-left: 0;
	}

	.vpnf-student-shell__nav a {
		flex: 1 1 auto;
		min-width: min(100%, 140px);
	}
}



/* Fase 1 - Modulo online minimo */
.vpnf-student-portal .vpnf-module-view {
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 2.4vw, 28px);
    margin-inline: auto;
    max-width: min(100%, 1120px);
}

.vpnf-student-portal .vpnf-module-view__back {
    align-items: center;
    color: #0b3d66;
    display: inline-flex;
    font-weight: 800;
    gap: 8px;
    text-decoration: none;
    width: fit-content;
}

.vpnf-student-portal .vpnf-module-view__back:hover,
.vpnf-student-portal .vpnf-module-view__back:focus {
    color: #6fbe44;
    outline: none;
}

.vpnf-student-portal .vpnf-module-view__hero {
    background: linear-gradient(135deg, #0b3d66 0%, #0f5f82 100%);
    border: 0;
    color: #fff;
    overflow: hidden;
    padding: clamp(32px, 5vw, 58px);
    position: relative;
}

.vpnf-student-portal .vpnf-module-view__hero::after {
    background: rgba(111, 190, 68, 0.22);
    border-radius: 999px;
    content: "";
    height: 220px;
    position: absolute;
    right: -80px;
    top: -90px;
    width: 220px;
}

.vpnf-student-portal .vpnf-module-view__hero .vpnf-student-portal__eyebrow,
.vpnf-student-portal .vpnf-module-view__hero h1,
.vpnf-student-portal .vpnf-module-view__hero p {
    color: #fff;
    max-width: 780px;
    position: relative;
    z-index: 1;
}

.vpnf-student-portal .vpnf-module-view__hero h1 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.05;
    margin: 10px 0 14px;
}

.vpnf-student-portal .vpnf-module-view__hero p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    margin: 0;
}

.vpnf-student-portal .vpnf-module-view__sequence,
.vpnf-student-portal .vpnf-module-view__layout {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 2.4vw, 28px);
    width: 100%;
}

.vpnf-student-portal .vpnf-module-view__content,
.vpnf-student-portal .vpnf-module-view__video,
.vpnf-student-portal .vpnf-module-view__completion,
.vpnf-student-portal .vpnf-module-view__notice {
    padding: clamp(22px, 3vw, 34px);
    width: 100%;
}

.vpnf-student-portal .vpnf-module-view__intro,
.vpnf-student-portal .vpnf-module-view__after-video,
.vpnf-student-portal .vpnf-module-view__completion {
    max-width: 880px;
}

.vpnf-student-portal .vpnf-module-view__video {
    max-width: 980px;
}

.vpnf-student-portal .vpnf-module-view__notice {
    max-width: 880px;
}

.vpnf-student-portal .vpnf-module-view__lead {
    color: #243447;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.7;
    margin: 0 0 18px;
}

.vpnf-student-portal .vpnf-module-view__text {
    color: #405166;
    font-size: 1rem;
    line-height: 1.75;
}

.vpnf-student-portal .vpnf-module-view__text > :first-child {
    margin-top: 0;
}

.vpnf-student-portal .vpnf-module-view__text > :last-child {
    margin-bottom: 0;
}

.vpnf-student-portal .vpnf-module-view__text p,
.vpnf-student-portal .vpnf-module-view__text ul,
.vpnf-student-portal .vpnf-module-view__text ol {
    margin-bottom: 1rem;
}

.vpnf-student-portal .vpnf-module-view__text ul,
.vpnf-student-portal .vpnf-module-view__text ol {
    display: grid;
    gap: 10px;
    padding-left: 1.35rem;
}

.vpnf-student-portal .vpnf-module-view__text li {
    padding-left: 4px;
}

.vpnf-student-portal .vpnf-module-view__video h2,
.vpnf-student-portal .vpnf-module-view__content h2,
.vpnf-student-portal .vpnf-module-view__completion h2 {
    color: #0b3d66;
    font-size: 1.25rem;
    margin: 0 0 16px;
}

.vpnf-student-portal .vpnf-module-view__video-frame {
    aspect-ratio: 16 / 9;
    background: #071827;
    border-radius: 18px;
    box-shadow: 0 22px 48px rgba(11, 61, 102, 0.18);
    overflow: hidden;
    width: 100%;
}

.vpnf-student-portal .vpnf-module-view__video-frame iframe {
    display: block;
    height: 100%;
    width: 100%;
}

.vpnf-student-portal .vpnf-module-view__video-empty,
.vpnf-student-portal .vpnf-module-view__notice,
.vpnf-student-portal .vpnf-learning-route-note {
    background: #f2f8ed;
    border: 1px solid rgba(111, 190, 68, 0.24);
    border-radius: 18px;
    color: #244820;
    font-weight: 800;
    padding: 16px 18px;
}

.vpnf-student-portal .vpnf-module-view__completion {
    align-items: flex-start;
    background: #f7fbff;
    display: grid;
    gap: 12px;
}

.vpnf-student-portal .vpnf-module-view__completion p {
    color: #52657a;
    margin: 0;
}

.vpnf-student-portal .vpnf-module-view__completion .vpnf-button[disabled] {
    cursor: not-allowed;
    opacity: 0.58;
}

.vpnf-student-portal .vpnf-module-node__action-hint {
    display: block;
    margin-bottom: 8px;
    color: #607184;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.3;
}

.vpnf-student-portal .vpnf-module-node__action-disabled {
    align-items: center;
    background: #eef3f7;
    border-radius: 999px;
    color: #607184;
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 800;
    min-height: 40px;
    padding: 0 16px;
}

.vpnf-student-portal .vpnf-module-step--locked {
    opacity: 0.78;
}

.vpnf-student-portal .vpnf-module-step--locked > span {
    background: #e8eef4;
    color: #607184;
}

@media (max-width: 640px) {
    .vpnf-student-portal .vpnf-module-view__hero {
        padding: 28px 20px;
    }

    .vpnf-student-portal .vpnf-module-view__content,
    .vpnf-student-portal .vpnf-module-view__video,
    .vpnf-student-portal .vpnf-module-view__completion,
    .vpnf-student-portal .vpnf-module-view__notice {
        padding: 20px;
    }

    .vpnf-student-portal .vpnf-module-view__completion form,
    .vpnf-student-portal .vpnf-module-view__completion .vpnf-button {
        width: 100%;
    }
}

/* Online progress foundation */
.vpnf-student-portal .vpnf-learning-progress {
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    height: 12px;
    margin: 18px 0 0;
    overflow: hidden;
    width: 100%;
}

.vpnf-student-portal .vpnf-learning-progress span {
    background: linear-gradient(90deg, #6fbe44, #b7e55f);
    border-radius: inherit;
    display: block;
    height: 100%;
    min-width: 0;
}

.vpnf-student-portal .vpnf-alert--success {
    background: #f2f8ed;
    border-color: rgba(111, 190, 68, 0.28);
    color: #244820;
}

.vpnf-student-portal .vpnf-alert--error {
    background: #fff4f2;
    border-color: rgba(190, 68, 68, 0.22);
    color: #7c2727;
}

.vpnf-student-portal .vpnf-module-view__completion form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 6px 0 0;
}

.vpnf-student-portal .vpnf-module-view__completion small {
    color: #607184;
    display: block;
    font-weight: 700;
}

.vpnf-student-portal .vpnf-module-step--completed > span,
.vpnf-student-portal .vpnf-module-step--current > span,
.vpnf-student-portal .vpnf-module-step--available > span {
    background: #6fbe44;
    color: #ffffff;
}

.vpnf-student-portal .vpnf-module-step--completed strong,
.vpnf-student-portal .vpnf-module-step--current strong {
    color: #0b3d66;
}

/* MicroSprint Fase 3.3: presencial sessions and academic library grouping. */
.vpnf-student-portal .vpnf-presential-sessions {
	position: relative;
}

.vpnf-student-portal .vpnf-presential-summary {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}

.vpnf-student-portal .vpnf-presential-summary__item {
	min-width: 0;
	padding: 16px;
	border: 1px solid rgba(7, 10, 107, 0.08);
	border-radius: var(--vpnf-radius, 8px);
	background: #fff;
	box-shadow: var(--vpnf-shadow-soft, 0 14px 32px rgba(7, 10, 107, 0.07));
}

.vpnf-student-portal .vpnf-presential-summary__item span {
	display: block;
	margin-bottom: 7px;
	color: var(--vpnf-muted);
	font-size: 11px;
	font-weight: 900;
	line-height: 1.2;
	text-transform: uppercase;
}

.vpnf-student-portal .vpnf-presential-summary__item strong {
	display: block;
	color: var(--vpnf-blue);
	font-size: 20px;
	font-weight: 900;
	line-height: 1.18;
	overflow-wrap: anywhere;
}

.vpnf-student-portal .vpnf-session-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.vpnf-student-portal .vpnf-session-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
	padding: 22px;
	border-left: 5px solid var(--vpnf-lime);
	background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.vpnf-student-portal .vpnf-session-card--realizada {
	border-left-color: var(--vpnf-green);
}

.vpnf-student-portal .vpnf-session-card--cancelada {
	border-left-color: var(--vpnf-error);
	background: #f8fafc;
}

.vpnf-student-portal .vpnf-session-card--unscheduled {
	border-left-color: var(--vpnf-warning);
}

.vpnf-student-portal .vpnf-session-card__header {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	gap: 14px;
	align-items: start;
}

.vpnf-student-portal .vpnf-session-card__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--vpnf-blue);
	color: #fff;
	font-size: 16px;
	font-weight: 900;
}

.vpnf-student-portal .vpnf-session-card__eyebrow {
	display: inline-flex;
	margin-bottom: 6px;
	color: var(--vpnf-green);
	font-size: 11px;
	font-weight: 900;
	line-height: 1.2;
	text-transform: uppercase;
}

.vpnf-student-portal .vpnf-session-card h3 {
	margin: 0;
	color: var(--vpnf-blue);
	font-size: 20px;
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: 0;
	overflow-wrap: anywhere;
}

.vpnf-student-portal .vpnf-session-meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.vpnf-student-portal .vpnf-session-meta__item {
	min-width: 0;
	padding: 12px;
	border: 1px solid rgba(7, 10, 107, 0.08);
	border-radius: var(--vpnf-radius, 8px);
	background: #fff;
}

.vpnf-student-portal .vpnf-session-meta__item span,
.vpnf-student-portal .vpnf-library-group__heading span {
	display: block;
	margin-bottom: 6px;
	color: var(--vpnf-muted);
	font-size: 11px;
	font-weight: 900;
	line-height: 1.2;
	text-transform: uppercase;
}

.vpnf-student-portal .vpnf-session-meta__item strong {
	display: block;
	color: var(--vpnf-ink);
	font-size: 14px;
	font-weight: 900;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.vpnf-student-portal .vpnf-session-materials {
	padding-top: 14px;
	border-top: 1px solid var(--vpnf-line);
}

.vpnf-student-portal .vpnf-session-materials h4,
.vpnf-student-portal .vpnf-library-group__heading h3 {
	margin: 0 0 12px;
	color: var(--vpnf-blue);
	font-size: 16px;
	font-weight: 900;
	line-height: 1.25;
}

.vpnf-student-portal .vpnf-session-materials__empty {
	margin: 0;
	color: var(--vpnf-muted);
	font-size: 14px;
	line-height: 1.5;
}


.vpnf-student-portal .vpnf-library-group {
	margin-bottom: 22px;
}

.vpnf-student-portal .vpnf-library-group__heading {
	margin-bottom: 12px;
	padding: 14px 16px;
	border: 1px solid rgba(7, 10, 107, 0.08);
	border-radius: var(--vpnf-radius, 8px);
	background: var(--vpnf-soft);
}

.vpnf-student-portal .vpnf-button--disabled {
	cursor: default;
	background: #eef2f8;
	color: var(--vpnf-muted);
	box-shadow: none;
}

@media (max-width: 1000px) {
	.vpnf-student-portal .vpnf-presential-summary,
	.vpnf-student-portal .vpnf-session-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vpnf-student-portal .vpnf-session-meta {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.vpnf-student-portal .vpnf-presential-summary,
	.vpnf-student-portal .vpnf-session-grid,
	.vpnf-student-portal .vpnf-session-card__header {
		grid-template-columns: 1fr;
	}

	.vpnf-student-portal .vpnf-session-card {
		padding: 16px;
	}

	.vpnf-student-portal .vpnf-session-card__header .vpnf-badge {
		justify-self: start;
	}

}

.vpnf-student-portal .vpnf-session-material-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding: 14px 16px;
    border: 1px solid rgba(16, 42, 67, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
}

.vpnf-student-portal .vpnf-session-material-summary strong {
    color: #102a43;
    font-size: 0.95rem;
    font-weight: 800;
}

.vpnf-student-portal .vpnf-session-material-counts {
    color: #52616f;
    font-size: 0.88rem;
    font-weight: 700;
}

.vpnf-student-portal .vpnf-session-material-link {
    margin-left: auto;
    color: #0f766e;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

.vpnf-student-portal .vpnf-session-material-link:hover,
.vpnf-student-portal .vpnf-session-material-link:focus {
    color: #0b4f4a;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .vpnf-student-portal .vpnf-session-material-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .vpnf-student-portal .vpnf-session-material-link {
        margin-left: 0;
    }
}

/* Guided onboarding state for accounts without an active enrollment. */
.vpnf-student-portal .vpnf-portal-onboarding {
    margin: clamp(24px, 4vw, 40px) 0;
}

.vpnf-student-portal .vpnf-portal-onboarding__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(20px, 3vw, 36px);
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid rgba(16, 42, 67, 0.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 246, 0.96));
    box-shadow: 0 24px 60px rgba(12, 31, 54, 0.10);
}

.vpnf-student-portal .vpnf-portal-onboarding__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    color: #6e9f2f;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vpnf-student-portal .vpnf-portal-onboarding h2 {
    margin: 0;
    color: #0f2d46;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.15;
    font-weight: 800;
}

.vpnf-student-portal .vpnf-portal-onboarding p {
    max-width: 760px;
    margin: 12px 0 0;
    color: #496277;
    font-size: 1rem;
    line-height: 1.7;
}

.vpnf-student-portal .vpnf-portal-onboarding__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.vpnf-student-portal .vpnf-portal-onboarding--payment-in-review .vpnf-portal-onboarding__card {
    border-color: rgba(63, 142, 252, 0.18);
    background: linear-gradient(135deg, #ffffff, #f2f7ff);
}

.vpnf-student-portal .vpnf-portal-onboarding--payment-requires-action .vpnf-portal-onboarding__card {
    border-color: rgba(202, 116, 31, 0.22);
    background: linear-gradient(135deg, #ffffff, #fff7ec);
}

.vpnf-student-portal .vpnf-portal-onboarding--payment-requires-action .vpnf-portal-onboarding__eyebrow {
    color: #b56a16;
}

@media (max-width: 760px) {
    .vpnf-student-portal .vpnf-portal-onboarding__card {
        grid-template-columns: 1fr;
    }

    .vpnf-student-portal .vpnf-portal-onboarding__actions {
        justify-content: flex-start;
    }

    .vpnf-student-portal .vpnf-portal-onboarding__actions .vpnf-button {
        width: 100%;
        justify-content: center;
    }
}

/* Commercial enrollment funnel before academic enrollment. */
.vpnf-student-portal .vpnf-portal-onboarding--program-selected .vpnf-portal-onboarding__card,
.vpnf-student-portal .vpnf-portal-onboarding--payment-approved-waiting-enrollment .vpnf-portal-onboarding__card {
    border-color: rgba(156, 214, 46, 0.28);
    background: linear-gradient(135deg, #ffffff, #f7fbec);
}

.vpnf-student-portal .vpnf-portal-onboarding--program-selected .vpnf-portal-onboarding__eyebrow,
.vpnf-student-portal .vpnf-portal-onboarding--payment-approved-waiting-enrollment .vpnf-portal-onboarding__eyebrow {
    color: #648c14;
}

.vpnf-student-portal .vpnf-portal-onboarding__program,
.vpnf-student-portal .vpnf-payment-selected-program {
    display: grid;
    gap: 4px;
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(16, 35, 63, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 14px 34px rgba(15, 45, 70, 0.08);
}

.vpnf-student-portal .vpnf-payment-selected-program {
    margin: 0 0 18px;
}

.vpnf-student-portal .vpnf-portal-onboarding__program strong,
.vpnf-student-portal .vpnf-payment-selected-program strong {
    color: #10233f;
    font-size: 1.02rem;
    line-height: 1.3;
}

.vpnf-student-portal .vpnf-portal-onboarding__program span,
.vpnf-student-portal .vpnf-payment-selected-program span,
.vpnf-student-portal .vpnf-payment-selected-program small {
    color: #536174;
    font-size: 0.88rem;
    line-height: 1.45;
}

.vpnf-student-portal .vpnf-payment-selected-program > span {
    color: #648c14;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Fase 8.3 - Evaluacion segura del modulo */
.vpnf-student-portal .vpnf-module-assessment {
    align-items: stretch;
    background: #ffffff;
    border: 1px solid rgba(11, 61, 102, 0.12);
    border-left: 5px solid #6fbe44;
    box-shadow: 0 22px 54px rgba(11, 61, 102, 0.12);
    display: grid;
    gap: 22px;
    max-width: 880px;
    padding: clamp(22px, 3vw, 34px);
    width: 100%;
}

.vpnf-student-portal .vpnf-module-assessment__header {
    display: grid;
    gap: 8px;
}

.vpnf-student-portal .vpnf-module-assessment__eyebrow {
    color: #6fbe44;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vpnf-student-portal .vpnf-module-assessment__title {
    color: #0b3d66;
    font-size: clamp(1.35rem, 2.1vw, 1.8rem);
    line-height: 1.18;
    margin: 0;
}

.vpnf-student-portal .vpnf-module-assessment__instructions {
    color: #52657a;
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
    max-width: 680px;
}

.vpnf-student-portal .vpnf-module-assessment__result {
    border-radius: 16px;
    display: grid;
    gap: 4px;
    line-height: 1.55;
    padding: 15px 18px;
}

.vpnf-student-portal .vpnf-module-assessment__result strong,
.vpnf-student-portal .vpnf-module-assessment__result span {
    display: block;
}

.vpnf-student-portal .vpnf-module-assessment__result--approved {
    background: #f2f8ed;
    border: 1px solid rgba(111, 190, 68, 0.28);
    color: #245c21;
}

.vpnf-student-portal .vpnf-module-assessment__result--failed {
    background: #fff7ed;
    border: 1px solid rgba(219, 120, 35, 0.26);
    color: #82430d;
}

.vpnf-student-portal .vpnf-module-assessment__result--notice {
    background: #f7fbff;
    border: 1px solid rgba(11, 61, 102, 0.12);
    color: #405166;
}

.vpnf-student-portal .vpnf-module-assessment__form {
    display: grid;
    gap: 18px;
    margin: 0;
}

.vpnf-student-portal .vpnf-module-assessment__question {
    background: #f8fbfd;
    border: 1px solid rgba(11, 61, 102, 0.11);
    border-radius: 18px;
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 18px;
}

.vpnf-student-portal .vpnf-module-assessment__question legend {
    color: #0b3d66;
    display: grid;
    font-size: 1rem;
    font-weight: 800;
    gap: 6px;
    line-height: 1.45;
    padding: 0;
}

.vpnf-student-portal .vpnf-module-assessment__question legend span {
    color: #6fbe44;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vpnf-student-portal .vpnf-module-assessment__options {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vpnf-student-portal .vpnf-module-assessment__option {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(11, 61, 102, 0.12);
    border-radius: 14px;
    color: #243447;
    display: flex;
    font-weight: 800;
    gap: 10px;
    min-height: 52px;
    padding: 12px 14px;
}

.vpnf-student-portal .vpnf-module-assessment__option input {
    accent-color: #6fbe44;
    flex: 0 0 auto;
}

.vpnf-student-portal .vpnf-module-assessment__option:focus-within {
    border-color: #6fbe44;
    box-shadow: 0 0 0 3px rgba(111, 190, 68, 0.2);
}

.vpnf-student-portal .vpnf-module-assessment__question[disabled],
.vpnf-student-portal .vpnf-module-assessment__question[disabled] .vpnf-module-assessment__option,
.vpnf-student-portal .vpnf-module-assessment__actions .vpnf-button[disabled] {
    cursor: not-allowed;
}

.vpnf-student-portal .vpnf-module-assessment__question[disabled] .vpnf-module-assessment__option {
    opacity: 0.72;
}

.vpnf-student-portal .vpnf-module-assessment__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
}

.vpnf-student-portal .vpnf-module-assessment__actions p {
    color: #607184;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.45;
    margin: 0;
}

.vpnf-student-portal .vpnf-module-assessment__actions .vpnf-button[disabled] {
    opacity: 0.62;
}

@media (max-width: 640px) {
    .vpnf-student-portal .vpnf-module-assessment {
        padding: 20px;
    }

    .vpnf-student-portal .vpnf-module-assessment__options {
        grid-template-columns: 1fr;
    }

    .vpnf-student-portal .vpnf-module-assessment__actions,
    .vpnf-student-portal .vpnf-module-assessment__actions .vpnf-button {
        width: 100%;
    }
}



.vpnf-student-portal .vpnf-module-view__completion--assessment_required,
.vpnf-student-portal .vpnf-module-view__completion--assessment_invalid,
.vpnf-student-portal .vpnf-module-view__completion--blocked {
    border-color: rgba(11, 61, 102, 0.12);
}

.vpnf-student-portal .vpnf-module-view__completion-gate {
    background: rgba(11, 61, 102, 0.06);
    border: 1px solid rgba(11, 61, 102, 0.12);
    border-radius: 14px;
    color: #243447;
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.45;
    padding: 14px 16px;
}

.vpnf-student-portal .vpnf-module-view__completion--assessment_approved {
    border-color: rgba(111, 190, 68, 0.26);
}

/* R6: authenticated document submission center. */
.vpnf-student-portal .vpnf-document-center {
    display: grid;
    gap: 22px;
    padding: clamp(22px, 3vw, 34px);
    scroll-margin-top: 96px;
    border: 1px solid rgba(7, 10, 107, 0.1);
    background: #f8fafc;
    box-shadow: var(--vpnf-shadow-soft, 0 14px 32px rgba(7, 10, 107, 0.07));
}

.vpnf-student-portal .vpnf-document-center__header span {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 8px;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--vpnf-lime-soft);
    color: var(--vpnf-green);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
}

.vpnf-student-portal .vpnf-document-center__header h2,
.vpnf-student-portal .vpnf-document-upload-card__header h3,
.vpnf-student-portal .vpnf-document-history__header h3 {
    margin: 0;
    color: var(--vpnf-blue);
    font-weight: 900;
    line-height: 1.16;
}

.vpnf-student-portal .vpnf-document-center__header h2 {
    font-size: clamp(26px, 2.4vw, 38px);
}

.vpnf-student-portal .vpnf-document-upload-card__header h3,
.vpnf-student-portal .vpnf-document-history__header h3 {
    font-size: clamp(20px, 1.8vw, 25px);
}

.vpnf-student-portal .vpnf-document-center__header p,
.vpnf-student-portal .vpnf-document-upload-card__header p,
.vpnf-student-portal .vpnf-document-history__header p {
    max-width: 720px;
    margin: 8px 0 0;
    color: var(--vpnf-muted);
    font-size: 14px;
    line-height: 1.55;
}

.vpnf-student-portal .vpnf-document-center__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 18px;
    align-items: start;
}

.vpnf-student-portal .vpnf-document-upload-card,
.vpnf-student-portal .vpnf-document-history {
    display: grid;
    gap: 18px;
    min-width: 0;
    padding: clamp(20px, 2.5vw, 28px);
}

.vpnf-student-portal .vpnf-document-upload-card {
    border-left: 6px solid var(--vpnf-lime);
}

.vpnf-student-portal .vpnf-document-form,
.vpnf-student-portal .vpnf-document-form__field {
    display: grid;
    gap: 9px;
}

.vpnf-student-portal .vpnf-document-form {
    gap: 17px;
}

.vpnf-student-portal .vpnf-document-form label {
    color: var(--vpnf-ink);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.3;
}

.vpnf-student-portal .vpnf-document-form input[type="file"],
.vpnf-student-portal .vpnf-document-form textarea {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    border: 1px solid var(--vpnf-line);
    border-radius: var(--vpnf-radius, 8px);
    background: #fff;
    color: var(--vpnf-ink);
    font: inherit;
}

.vpnf-student-portal .vpnf-document-form input[type="file"] {
    min-height: 50px;
    padding: 8px;
}

.vpnf-student-portal .vpnf-document-form input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 9px 12px;
    border: 0;
    border-radius: 6px;
    background: var(--vpnf-blue);
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.vpnf-student-portal .vpnf-document-form textarea {
    min-height: 108px;
    padding: 12px;
    resize: vertical;
}

.vpnf-student-portal .vpnf-document-form__help {
    margin: 0;
    color: var(--vpnf-muted);
    font-size: 12px;
    line-height: 1.45;
}

.vpnf-student-portal .vpnf-document-form .vpnf-button {
    justify-self: start;
    min-height: 50px;
    padding-right: 24px;
    padding-left: 24px;
}

.vpnf-student-portal .vpnf-document-notice {
    padding: 13px 15px;
    border: 1px solid var(--vpnf-line);
    border-radius: var(--vpnf-radius, 8px);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

.vpnf-student-portal .vpnf-document-notice--success {
    border-color: rgba(47, 111, 5, 0.2);
    background: var(--vpnf-success-bg);
    color: var(--vpnf-success);
}

.vpnf-student-portal .vpnf-document-notice--warning {
    border-color: rgba(138, 90, 0, 0.2);
    background: var(--vpnf-warning-bg);
    color: var(--vpnf-warning);
}

.vpnf-student-portal .vpnf-document-notice--error {
    border-color: rgba(185, 28, 28, 0.2);
    background: var(--vpnf-error-bg);
    color: var(--vpnf-error);
}

.vpnf-student-portal .vpnf-document-history__list {
    display: grid;
    gap: 11px;
    max-height: 620px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.vpnf-student-portal .vpnf-document-history__item {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--vpnf-line);
    border-radius: var(--vpnf-radius, 8px);
    background: #fff;
}

.vpnf-student-portal .vpnf-document-history__top {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.vpnf-student-portal .vpnf-document-history__top strong {
    color: var(--vpnf-ink);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.3;
}

.vpnf-student-portal .vpnf-document-history__count {
    color: var(--vpnf-muted);
    font-size: 12px;
    font-weight: 800;
}

.vpnf-student-portal .vpnf-document-history__files,
.vpnf-student-portal .vpnf-document-history__note {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--vpnf-muted);
    font-size: 12px;
    line-height: 1.45;
}

.vpnf-student-portal .vpnf-document-history__files {
    color: var(--vpnf-blue);
    font-weight: 800;
}

.vpnf-student-portal .vpnf-document-status--completed {
    background: var(--vpnf-success-bg);
    color: var(--vpnf-success);
}

.vpnf-student-portal .vpnf-document-status--partial,
.vpnf-student-portal .vpnf-document-status--processing {
    background: var(--vpnf-warning-bg);
    color: var(--vpnf-warning);
}

.vpnf-student-portal .vpnf-document-status--failed {
    background: var(--vpnf-error-bg);
    color: var(--vpnf-error);
}

@media (max-width: 900px) {
    .vpnf-student-portal .vpnf-document-center__grid {
        grid-template-columns: 1fr;
    }

    .vpnf-student-portal .vpnf-document-history__list {
        max-height: none;
    }
}

@media (max-width: 640px) {
    .vpnf-student-portal .vpnf-document-center,
    .vpnf-student-portal .vpnf-document-upload-card,
    .vpnf-student-portal .vpnf-document-history {
        padding: 16px;
    }

    .vpnf-student-portal .vpnf-document-form .vpnf-button {
        width: 100%;
        justify-content: center;
    }

    .vpnf-student-portal .vpnf-document-history__top {
        align-items: flex-start;
    }
}
