:root {
	--edz-font-academic: Calibri, Carlito, "Segoe UI", Arial, sans-serif;
	--edz-font-ui: Calibri, Carlito, "Segoe UI", Arial, sans-serif;
	--edz-ink: #132238;
	--edz-muted: #64748b;
	--edz-line: #e5eaf0;
	--edz-bg: #f5f7fb;
	--edz-card: #ffffff;
	--edz-navy: #17395f;
	--edz-blue: #2563eb;
	--edz-cyan: #0f8ea5;
	--edz-green: #128a61;
	--edz-amber: #c67810;
	--edz-red: #c2414b;
	--edz-shadow: 0 16px 44px rgba(19, 34, 56, .08);
	--edz-radius: 18px;
}

@media (prefers-reduced-motion: reduce) {
	.edz-app *,
	.edz-app *::before,
	.edz-app *::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

html:has(body.edz-ios-portal-page),
body.edz-ios-portal-page {
	margin: 0 !important;
	min-height: 100%;
	background: var(--edz-bg);
}

body.edz-ios-portal-page .edz-portal-document,
body.edz-ios-portal-page .edz-app {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.edz-admin-wrap {
	margin: 0 0 0 -20px !important;
}

.edz-app,
.edz-app * {
	box-sizing: border-box;
}

.edz-app {
	min-height: 760px;
	color: var(--edz-ink);
	background: var(--edz-bg);
	font: 14px/1.5 var(--edz-font-ui);
}

.edz-app h1,
.edz-app h2,
.edz-app h3,
.edz-brand strong,
.edz-login-brand strong,
.edz-login-mobile-brand strong,
.edz-identity h2,
.edz-payment-amount {
	font-family: var(--edz-font-academic);
	font-weight: 700;
}

.edz-app h1,
.edz-login-copy h1 {
	letter-spacing: -.8px;
}

.edz-card-head h2,
.edz-card-head h3,
.edz-welcome h1 {
	color: #162d49;
}

.edz-loading {
	padding: 80px;
	text-align: center;
	color: var(--edz-muted);
}

.edz-shell {
	display: grid;
	grid-template-columns: 248px minmax(0, 1fr);
	min-height: 100vh;
}

.edz-sidebar {
	position: sticky;
	top: 0;
	height: 100vh;
	display: flex;
	flex-direction: column;
	padding: 28px 18px 20px;
	color: #fff;
	background:
		radial-gradient(circle at 15% 12%, rgba(36, 155, 179, .34), transparent 30%),
		linear-gradient(165deg, #173d64 0%, #102942 62%, #0c2035 100%);
}

.edz-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0 10px 27px;
}

.edz-brand-mark {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border-radius: 13px;
	background: linear-gradient(145deg, #2db4ca, #1b73d1);
	box-shadow: 0 8px 24px rgba(35, 155, 195, .32);
	font-size: 20px;
	font-weight: 800;
}

.edz-brand-logo {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	overflow: hidden;
	flex: 0 0 auto;
	border-radius: 12px;
	background: #fff;
}

.edz-brand-logo img {
	width: 38px;
	height: 38px;
	object-fit: contain;
}

.edz-brand strong {
	display: block;
	font-size: 16px;
	letter-spacing: -.2px;
}

.edz-brand span {
	display: block;
	color: #9fb5c9;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1.4px;
}

.edz-nav {
	display: grid;
	gap: 5px;
}

.edz-nav button {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 12px;
	border: 0;
	border-radius: 11px;
	color: #bfd0df;
	background: transparent;
	cursor: pointer;
	font: inherit;
	text-align: left;
	transition: .18s ease;
}

.edz-nav button:hover,
.edz-nav button.is-active {
	color: #fff;
	background: rgba(255, 255, 255, .1);
}

.edz-nav button.is-active {
	box-shadow: inset 3px 0 #47c1d7;
}

.edz-nav svg,
.edz-action-link svg,
.edz-icon-box svg,
.edz-btn svg {
	width: 19px;
	height: 19px;
	flex: 0 0 auto;
}

.edz-sidebar-foot {
	margin-top: auto;
	padding: 14px 12px 2px;
	border-top: 1px solid rgba(255, 255, 255, .09);
	color: #91a9bd;
	font-size: 12px;
}

.edz-presence {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 5px;
	color: #d8e5ef;
}

.edz-presence-dot {
	width: 8px;
	height: 8px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: #8b9aaa;
	box-shadow: 0 0 0 4px rgba(139, 154, 170, .12);
}

.is-open .edz-presence-dot,
.edz-presence-dot.is-open {
	background: #49d59b;
	box-shadow: 0 0 0 4px rgba(73, 213, 155, .14);
	animation: edz-presence-pulse 2s ease-in-out infinite;
}

.is-holiday .edz-presence-dot,
.edz-presence-dot.is-holiday {
	background: #e56c79;
	box-shadow: 0 0 0 4px rgba(229, 108, 121, .13);
}

@keyframes edz-presence-pulse {
	0%, 100% { box-shadow: 0 0 0 4px rgba(73, 213, 155, .12); }
	50% { box-shadow: 0 0 0 7px rgba(73, 213, 155, .03); }
}

.edz-main {
	min-width: 0;
}

.edz-topbar {
	height: 76px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 0 34px;
	border-bottom: 1px solid var(--edz-line);
	background: rgba(255, 255, 255, .9);
	backdrop-filter: blur(15px);
}

.edz-topbar-title strong {
	display: block;
	font-size: 17px;
}

.edz-topbar-title span {
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-top-actions,
.edz-profile-mini {
	display: flex;
	align-items: center;
	gap: 10px;
}

.edz-admin-preview-switch {
	min-height: 40px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 13px;
	border: 1px solid #a9c8e4;
	border-radius: 12px;
	background: #eef7ff;
	color: var(--edz-navy);
	font: 700 12px/1.25 var(--edz-font-ui);
	cursor: pointer;
}

.edz-admin-preview-switch svg {
	width: 18px;
	height: 18px;
}

.edz-admin-preview-banner {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 18px 34px 0;
	padding: 12px 16px;
	border: 1px solid #e3c369;
	border-radius: 12px;
	background: #fff8df;
	color: #563f00;
}

.edz-admin-preview-banner svg {
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
}

.edz-admin-preview-banner strong,
.edz-admin-preview-banner span {
	display: block;
}

.edz-admin-preview-banner span {
	margin-top: 2px;
	font-size: 12px;
}

.edz-icon-btn {
	position: relative;
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border: 1px solid var(--edz-line);
	border-radius: 12px;
	background: #fff;
	color: var(--edz-navy);
	cursor: pointer;
}

.edz-icon-btn svg {
	width: 18px;
	height: 18px;
}

.edz-notification-dot {
	position: absolute;
	top: 7px;
	right: 7px;
	width: 7px;
	height: 7px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #e24e59;
}

.edz-notification-panel {
	position: fixed;
	z-index: 99990;
	top: 72px;
	right: 24px;
	width: min(390px, calc(100vw - 30px));
	overflow: hidden;
	border: 1px solid var(--edz-line);
	border-radius: 17px;
	background: #fff;
	box-shadow: 0 22px 70px rgba(9, 30, 52, .22);
	transform: translateY(-8px) scale(.98);
	opacity: 0;
	pointer-events: none;
	transition: .18s ease;
}

.edz-notification-panel.is-open {
	transform: translateY(0) scale(1);
	opacity: 1;
	pointer-events: auto;
}

.edz-notification-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	padding: 17px 18px 14px;
	border-bottom: 1px solid var(--edz-line);
}

.edz-notification-head strong,
.edz-notification-head span {
	display: block;
}

.edz-notification-head strong {
	font-size: 15px;
}

.edz-notification-head span {
	margin-top: 2px;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-notifications-close {
	width: 29px;
	height: 29px;
	border: 0;
	border-radius: 8px;
	color: var(--edz-muted);
	background: #f1f4f8;
	cursor: pointer;
	font-size: 18px;
}

.edz-notification-list {
	max-height: 410px;
	overflow-y: auto;
}

.edz-notification-item {
	width: 100%;
	display: grid;
	grid-template-columns: 39px minmax(0, 1fr) auto;
	align-items: start;
	gap: 10px;
	padding: 13px 17px;
	border: 0;
	border-bottom: 1px solid #edf1f5;
	color: var(--edz-ink);
	background: #fff;
	cursor: pointer;
	font: inherit;
	text-align: left;
}

.edz-notification-item:hover {
	background: #f7fafe;
}

.edz-notification-icon {
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	color: var(--edz-blue);
	background: #eaf2ff;
}

.edz-notification-icon.red { color: var(--edz-red); background: #fff0f2; }
.edz-notification-icon.amber { color: var(--edz-amber); background: #fff5df; }
.edz-notification-icon.purple { color: #7959b6; background: #f2edff; }

.edz-notification-icon svg {
	width: 17px;
	height: 17px;
}

.edz-notification-item > span:nth-child(2) strong,
.edz-notification-item > span:nth-child(2) small {
	display: block;
}

.edz-notification-item > span:nth-child(2) strong {
	font-size: 12px;
}

.edz-notification-item > span:nth-child(2) small {
	margin-top: 3px;
	color: var(--edz-muted);
	font-size: 12px;
	line-height: 1.4;
}

.edz-notification-item time {
	color: #8997a8;
	font-size: 12px;
	white-space: nowrap;
}

.edz-notification-all {
	width: 100%;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	border: 0;
	color: var(--edz-blue);
	background: #f8fafc;
	cursor: pointer;
	font: 750 12px/1 inherit;
}

.edz-notification-all svg {
	width: 14px;
	height: 14px;
}

.edz-avatar {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	overflow: hidden;
	border: 3px solid #fff;
	border-radius: 14px;
	color: #fff;
	background: linear-gradient(145deg, #2a8bba, #183e68);
	box-shadow: 0 4px 14px rgba(23, 57, 95, .18);
	font-weight: 750;
}

.edz-avatar img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.edz-profile-mini div:last-child {
	display: grid;
}

.edz-profile-mini strong {
	font-size: 13px;
}

.edz-profile-mini span {
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-logout {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 15px;
	border: 1px solid #d9e1ec;
	border-radius: 10px;
	background: #fff;
	color: #173451;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.edz-logout:hover,
.edz-logout:focus-visible {
	border-color: #0b426f;
	background: #f3f7fb;
	color: #082f52;
}

.edz-content {
	max-width: 1420px;
	padding: 30px 34px 60px;
	margin: 0 auto;
}

.edz-welcome {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px;
	margin-bottom: 24px;
}

.edz-eyebrow {
	margin-bottom: 6px;
	color: var(--edz-cyan);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.edz-welcome h1 {
	margin: 0;
	color: var(--edz-ink);
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.15;
	letter-spacing: -.8px;
}

.edz-welcome p {
	margin: 8px 0 0;
	color: var(--edz-muted);
}

.edz-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 17px;
	border: 0;
	border-radius: 11px;
	background: var(--edz-blue);
	color: #fff;
	cursor: pointer;
	font: 700 13px/1 inherit;
	text-decoration: none;
	box-shadow: 0 7px 18px rgba(37, 99, 235, .2);
	transition: transform .15s ease, box-shadow .15s ease;
}

.edz-btn:hover {
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(37, 99, 235, .26);
}

.edz-btn-secondary {
	border: 1px solid var(--edz-line);
	background: #fff;
	color: var(--edz-navy);
	box-shadow: none;
}

.edz-btn-secondary:hover {
	color: var(--edz-navy);
	box-shadow: 0 8px 20px rgba(19, 34, 56, .08);
}

.edz-hero {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 20px;
	padding: 27px 29px;
	margin-bottom: 20px;
	overflow: hidden;
	border-radius: 22px;
	color: #fff;
	background:
		linear-gradient(108deg, rgba(12, 49, 83, .96), rgba(26, 91, 122, .9)),
		linear-gradient(135deg, #153757, #2090a5);
	box-shadow: var(--edz-shadow);
}

.edz-hero:after {
	content: "";
	position: absolute;
	width: 300px;
	height: 300px;
	right: -100px;
	top: -180px;
	border: 55px solid rgba(255, 255, 255, .07);
	border-radius: 50%;
}

.edz-identity {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 17px;
}

.edz-identity .edz-avatar {
	width: 72px;
	height: 72px;
	border-radius: 20px;
	background: linear-gradient(145deg, #5ac6d7, #1e6eaf);
	font-size: 22px;
}

.edz-identity h2 {
	margin: 0 0 4px;
	color: #fff;
	font-size: 22px;
}

.edz-identity p {
	margin: 0;
	color: #bdd3e2;
	font-size: 13px;
}

.edz-identity-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 15px;
	margin-top: 11px;
	color: #e3edf4;
	font-size: 12px;
}

.edz-hero-status {
	position: relative;
	z-index: 1;
	align-self: center;
	padding: 8px 13px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	font-size: 12px;
	font-weight: 700;
}

.edz-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(300px, .85fr);
	gap: 20px;
}

.edz-dashboard-support-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.edz-dashboard-support-grid .edz-upcoming-class {
	margin-top: 0;
}

.edz-card {
	border: 1px solid var(--edz-line);
	border-radius: var(--edz-radius);
	background: var(--edz-card);
	box-shadow: 0 4px 18px rgba(19, 34, 56, .035);
}

.edz-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 20px 22px 15px;
}

.edz-card-head h2,
.edz-card-head h3 {
	margin: 0;
	color: var(--edz-ink);
	font-size: 16px;
}

.edz-card-head p {
	margin: 3px 0 0;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-action-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	border: 0;
	background: none;
	color: var(--edz-blue);
	cursor: pointer;
	font: 700 12px/1 inherit;
}

.edz-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin-bottom: 20px;
}

.edz-stat {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px;
}

.edz-stat-link {
	position: relative;
	width: 100%;
	border: 1px solid var(--edz-line);
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.edz-stat-link:hover {
	border-color: #9dbbdf;
	box-shadow: 0 10px 25px rgba(23, 62, 105, .11);
	transform: translateY(-2px);
}

.edz-stat-link:focus-visible {
	outline: 3px solid #f0c85a;
	outline-offset: 3px;
}

.edz-stat-arrow {
	width: 20px;
	height: 20px;
	display: grid;
	place-items: center;
	margin-left: auto;
	color: var(--edz-blue);
}

.edz-stat-arrow svg {
	width: 18px;
	height: 18px;
}

.edz-icon-box {
	width: 39px;
	height: 39px;
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	border-radius: 12px;
	color: #2265b5;
	background: #eaf3ff;
}

.edz-icon-box.green {
	color: #0e8a62;
	background: #e7f8f2;
}

.edz-icon-box.amber {
	color: #b36b0c;
	background: #fff4df;
}

.edz-icon-box.purple {
	color: #7354b8;
	background: #f1ecff;
}

.edz-stat strong {
	display: block;
	font-size: 19px;
	letter-spacing: -.3px;
}

.edz-stat span {
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-module-list {
	padding: 0 10px 10px;
}

.edz-module {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 13px 12px;
	border-top: 1px solid #eef1f5;
}

.edz-module:first-child {
	border-top: 0;
}

.edz-module-state {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 11px;
	color: var(--edz-muted);
	background: #f0f3f7;
	font-weight: 800;
}

.edz-module-state.completed {
	color: var(--edz-green);
	background: #e8f8f2;
}

.edz-module-state.progress {
	color: var(--edz-blue);
	background: #eaf1ff;
}

.edz-module-state.review {
	color: var(--edz-amber);
	background: #fff3dd;
}

.edz-module strong {
	display: block;
	font-size: 13px;
}

.edz-module small {
	color: var(--edz-muted);
}

.edz-chip {
	display: inline-flex;
	align-items: center;
	padding: 5px 9px;
	border-radius: 999px;
	background: #f0f3f7;
	color: #657288;
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
}

.edz-chip.completed {
	color: var(--edz-green);
	background: #e7f8f1;
}

.edz-chip.progress {
	color: var(--edz-blue);
	background: #e9f1ff;
}

.edz-chip.review,
.edz-chip.warning {
	color: #a86109;
	background: #fff1d8;
}

.edz-chip.danger {
	color: var(--edz-red);
	background: #fff0f1;
}

.edz-payment {
	padding: 22px;
}

.edz-payment-label {
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-payment-amount {
	margin: 3px 0 2px;
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -.7px;
}

.edz-payment-date {
	color: var(--edz-amber);
	font-size: 12px;
	font-weight: 700;
}

.edz-payment-progress {
	position: relative;
	height: 7px;
	margin: 20px 0 8px;
	overflow: hidden;
	border-radius: 9px;
	background: #e9edf2;
}

.edz-payment-progress span {
	position: relative;
	display: block;
	height: 100%;
	overflow: hidden;
	border-radius: inherit;
	background: linear-gradient(90deg, #1a8ca8, #3ab38b);
	transform-origin: left center;
	animation: edz-progress-fill .85s cubic-bezier(.22, .8, .28, 1) both;
}

.edz-payment-progress span::after {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 48px;
	content: '';
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent);
	animation: edz-progress-shine .75s .9s ease-out both;
}

@keyframes edz-progress-fill {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

@keyframes edz-progress-shine {
	from { left: -55px; }
	to { left: 100%; }
}

.edz-between {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-payment-actions {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 9px;
	margin-top: 18px;
}

.edz-next-actions {
	padding: 4px 20px 15px;
}

.edz-task {
	display: grid;
	grid-template-columns: 9px minmax(0, 1fr) auto;
	gap: 10px;
	align-items: start;
	padding: 13px 2px;
	border-top: 1px solid #eef1f5;
}

.edz-task:first-child {
	border-top: 0;
}

.edz-task-dot {
	width: 8px;
	height: 8px;
	margin-top: 6px;
	border-radius: 50%;
	background: #e4a52f;
}

.edz-task strong {
	display: block;
	font-size: 12px;
}

.edz-task span,
.edz-task time {
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-view {
	display: none;
}

.edz-view.is-active {
	display: block;
	animation: edzFade .18s ease;
}

@keyframes edzFade {
	from { opacity: .25; transform: translateY(3px); }
	to { opacity: 1; transform: translateY(0); }
}

.edz-placeholder {
	padding: 70px 30px;
	text-align: center;
}

.edz-placeholder .edz-icon-box {
	width: 54px;
	height: 54px;
	margin: 0 auto 14px;
}

.edz-placeholder h2 {
	margin: 0 0 7px;
	font-size: 20px;
}

.edz-placeholder p {
	max-width: 520px;
	margin: 0 auto;
	color: var(--edz-muted);
}

/* Staff */
.edz-staff-banner {
	display: grid;
	grid-template-columns: 1.5fr .7fr .7fr;
	gap: 1px;
	margin-bottom: 20px;
	overflow: hidden;
	border-radius: 18px;
	background: #254b71;
	box-shadow: var(--edz-shadow);
}

.edz-staff-banner > div,
.edz-staff-banner > button {
	padding: 23px 25px;
	border: 0;
	color: #fff;
	background: linear-gradient(135deg, #183f66, #245f7c);
	font: inherit;
	text-align: left;
}

.edz-staff-banner > :not(:first-child) {
	background: #fff;
	color: var(--edz-ink);
}

.edz-staff-banner > button {
	position: relative;
	cursor: pointer;
	transition: background .16s ease, transform .16s ease;
}

.edz-staff-banner > button:hover {
	z-index: 1;
	background: #f1f7fc;
}

.edz-staff-banner h2 {
	margin: 0 0 4px;
	color: inherit;
	font-size: 20px;
}

.edz-staff-banner p {
	margin: 0;
	color: #bdd1df;
	font-size: 12px;
}

.edz-staff-banner strong {
	display: block;
	font-size: 25px;
}

.edz-staff-banner span {
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-staff-banner small {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-top: 9px;
	color: var(--edz-blue);
	font-size: 12px;
	font-weight: 750;
}

.edz-staff-banner small svg {
	width: 13px;
	height: 13px;
}

.edz-queue {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	margin-bottom: 20px;
}

.edz-queue-card {
	width: 100%;
	padding: 19px;
	border: 1px solid var(--edz-line);
	color: var(--edz-ink);
	cursor: pointer;
	font: inherit;
	text-align: left;
	transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.edz-queue-card:hover {
	border-color: #cbdbea;
	box-shadow: 0 18px 45px rgba(19, 34, 56, .12);
	transform: translateY(-2px);
}

.edz-queue-card header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 13px;
}

.edz-queue-card header strong {
	font-size: 13px;
}

.edz-count {
	min-width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	color: var(--edz-blue);
	background: #eaf1ff;
	font-size: 12px;
	font-weight: 800;
}

.edz-queue-card p {
	margin: 0;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-tile-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 13px;
	color: var(--edz-blue);
	font-size: 12px;
	font-weight: 800;
}

.edz-tile-link svg {
	width: 13px;
	height: 13px;
}

.edz-table-wrap {
	overflow-x: auto;
}

.edz-table {
	width: 100%;
	border-collapse: collapse;
}

.edz-table th {
	padding: 11px 18px;
	border-top: 1px solid var(--edz-line);
	border-bottom: 1px solid var(--edz-line);
	color: var(--edz-muted);
	background: #f9fafc;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .4px;
	text-align: left;
	text-transform: uppercase;
}

.edz-table td {
	padding: 14px 18px;
	border-bottom: 1px solid #eef1f4;
	font-size: 12px;
}

.edz-table tr:last-child td {
	border-bottom: 0;
}

.edz-person {
	display: flex;
	align-items: center;
	gap: 10px;
}

.edz-person .edz-avatar {
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 10px;
	font-size: 12px;
}

.edz-person strong,
.edz-person span {
	display: block;
}

.edz-person span {
	color: var(--edz-muted);
	font-size: 12px;
}

/* Student payments */
.edz-student-payment-summary {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	margin-bottom: 20px;
}

.edz-student-payment-summary .edz-card {
	padding: 19px 20px;
}

.edz-student-payment-summary span,
.edz-student-payment-summary strong,
.edz-student-payment-summary small {
	display: block;
}

.edz-student-payment-summary span {
	color: var(--edz-muted);
	font-size: 12px;
	font-weight: 700;
}

.edz-student-payment-summary strong {
	margin-top: 6px;
	font-size: 21px;
	letter-spacing: -.3px;
}

.edz-student-payment-summary small {
	margin-top: 4px;
	color: #8a98a8;
	font-size: 12px;
}

.edz-student-payment-summary .is-paid {
	border-color: #c8eadc;
	background: linear-gradient(145deg, #fff, #f2fbf7);
}

.edz-student-payment-summary .is-paid strong {
	color: var(--edz-green);
}

.edz-next-payment-banner {
	display: grid;
	grid-template-columns: minmax(190px, .85fr) minmax(260px, 1.2fr) auto;
	align-items: center;
	gap: 28px;
	margin-bottom: 20px;
	padding: 22px 24px;
	border-color: #d9e6f6;
	background: linear-gradient(120deg, #fff, #f4f8fe);
}

.edz-next-payment-banner h2 {
	margin: 10px 0 3px;
	font-size: 28px;
}

.edz-next-payment-banner p {
	margin: 0;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-next-payment-progress > div:first-child {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 7px;
	font-size: 12px;
}

.edz-next-payment-progress small {
	display: block;
	margin-top: 8px;
	color: var(--edz-muted);
	font-size: 12px;
	line-height: 1.45;
}

.edz-student-payments-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(290px, .75fr);
	gap: 20px;
	align-items: start;
}

.edz-student-installments-card {
	overflow: hidden;
}

.edz-student-installment-list {
	display: grid;
	gap: 8px;
	padding: 0 18px 20px;
}

.edz-student-installment {
	display: grid;
	grid-template-columns: 34px minmax(130px, 1fr) 105px 92px 92px;
	align-items: center;
	gap: 10px;
	padding: 11px 12px;
	border: 1px solid var(--edz-line);
	border-radius: 11px;
	background: #fff;
}

.edz-student-installment.is-next {
	border-color: #bcd5f4;
	background: #f6f9fe;
	box-shadow: inset 3px 0 var(--edz-blue);
}

.edz-student-installment-name strong,
.edz-student-installment-name span {
	display: block;
}

.edz-student-installment-name strong,
.edz-student-installment-amount {
	font-size: 12px;
}

.edz-student-installment-name span {
	margin-top: 3px;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-student-installment > .edz-btn {
	min-height: 34px;
	padding: 7px 12px;
	font-size: 12px;
}

.edz-student-installment > .edz-action-link {
	justify-self: end;
	font-size: 12px;
}

.edz-installment-wait {
	justify-self: center;
	color: #bec7d0;
}

.edz-student-payment-side {
	display: grid;
	gap: 16px;
}

.edz-payment-history-item {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	margin: 0 18px 18px;
	padding: 12px;
	border: 1px solid var(--edz-line);
	border-radius: 11px;
}

.edz-payment-history-item .edz-icon-box {
	width: 36px;
	height: 36px;
}

.edz-payment-history-item strong,
.edz-payment-history-item span,
.edz-payment-history-item small {
	display: block;
}

.edz-payment-history-item strong {
	font-size: 12px;
}

.edz-payment-history-item span,
.edz-payment-history-item small {
	margin-top: 2px;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-payment-history-item .edz-action-link {
	font-size: 12px;
}

.edz-payment-method-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 7px;
	padding: 0 18px 14px;
}

.edz-payment-method-list > div {
	min-height: 64px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid var(--edz-line);
	border-radius: 11px;
	background: #fafbfd;
	text-align: left;
}

.edz-payment-method-list i,
.edz-gateway > i {
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	border-radius: 10px;
	background: #eaf3fc;
	color: var(--edz-navy);
	font-size: 12px;
	font-style: normal;
	font-weight: 800;
}

.edz-payment-method-list i svg,
.edz-gateway > i svg {
	width: 18px;
	height: 18px;
}

.edz-payment-method-list strong,
.edz-payment-method-list small {
	display: block;
}

.edz-payment-method-list strong {
	font-size: 12px;
	font-weight: 800;
}

.edz-payment-method-list small {
	margin-top: 2px;
	color: var(--edz-muted);
	font-size: 12px;
	font-weight: 500;
}

.edz-payment-methods .edz-payment-notice {
	margin: 0 18px 18px;
}

/* Staff payments and installment schedules */
.edz-payment-summary-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
	margin-bottom: 20px;
}

.edz-finance-stat {
	padding: 19px 20px;
}

.edz-finance-stat span,
.edz-finance-stat strong,
.edz-finance-stat small {
	display: block;
}

.edz-finance-stat span {
	margin-bottom: 7px;
	color: var(--edz-muted);
	font-size: 12px;
	font-weight: 700;
}

.edz-finance-stat strong {
	font-size: 21px;
	letter-spacing: -.4px;
}

.edz-finance-stat small {
	margin-top: 4px;
	color: #8896a8;
	font-size: 12px;
}

.edz-finance-stat.is-danger {
	border-color: #f2ced2;
	background: linear-gradient(145deg, #fff, #fff6f7);
}

.edz-finance-stat.is-danger strong {
	color: var(--edz-red);
}

.edz-payments-card {
	overflow: hidden;
}

.edz-payment-toolbar {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 0 18px 16px;
}

.edz-payment-search {
	position: relative;
	flex: 1;
	min-width: 220px;
}

.edz-payment-search svg {
	position: absolute;
	left: 12px;
	top: 50%;
	width: 17px;
	height: 17px;
	color: #8493a5;
	transform: translateY(-50%);
}

.edz-payment-search input,
.edz-payment-toolbar select {
	height: 41px;
	border: 1px solid var(--edz-line);
	border-radius: 10px;
	background: #fbfcfe;
	color: var(--edz-ink);
	font: 12px/1 inherit;
	outline: none;
}

.edz-payment-search input {
	width: 100%;
	padding: 0 12px 0 38px;
}

.edz-payment-toolbar select {
	min-width: 145px;
	padding: 0 31px 0 11px;
}

.edz-payment-table td > strong,
.edz-payment-table td > small {
	display: block;
}

.edz-payment-table td > small {
	margin-top: 4px;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-mini-progress {
	width: 105px;
	height: 4px;
	margin-top: 7px;
	overflow: hidden;
	border-radius: 5px;
	background: #e8edf3;
}

.edz-mini-progress span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--edz-cyan), var(--edz-blue));
}

.edz-installment-modal {
	width: min(760px, 100%);
	max-height: min(760px, calc(100vh - 40px));
	overflow-y: auto;
}

.edz-installment-modal-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
}

.edz-installment-modal-head .edz-chat-close {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	color: var(--edz-muted);
	background: #f1f4f8;
}

.edz-installment-overview {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	margin: 18px 0;
	overflow: hidden;
	border: 1px solid var(--edz-line);
	border-radius: 13px;
	background: var(--edz-line);
}

.edz-installment-overview > div {
	padding: 13px 15px;
	background: #f8fafc;
}

.edz-installment-overview span,
.edz-installment-overview strong {
	display: block;
}

.edz-installment-overview span {
	color: var(--edz-muted);
	font-size: 12px;
	font-weight: 750;
	text-transform: uppercase;
}

.edz-installment-overview strong {
	margin-top: 4px;
	font-size: 13px;
}

.edz-installment-list {
	display: grid;
	gap: 7px;
	margin-bottom: 20px;
}

.edz-installment-row {
	display: grid;
	grid-template-columns: 34px minmax(150px, 1fr) 110px 100px;
	align-items: center;
	gap: 11px;
	padding: 11px 12px;
	border: 1px solid var(--edz-line);
	border-radius: 11px;
}

.edz-installment-number {
	width: 31px;
	height: 31px;
	display: grid;
	place-items: center;
	border-radius: 9px;
	color: var(--edz-navy);
	background: #edf4fb;
	font-size: 12px;
	font-weight: 800;
}

.edz-installment-row div:nth-child(2) strong,
.edz-installment-row div:nth-child(2) span {
	display: block;
}

.edz-installment-row div:nth-child(2) span {
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-payment-notice {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 18px;
	padding: 11px 12px;
	border-radius: 11px;
	color: #295b78;
	background: #eef7fa;
	font-size: 12px;
}

.edz-payment-notice svg {
	width: 17px;
	height: 17px;
	flex: 0 0 auto;
}

.edz-replace-plan {
	display: flex !important;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid #d7deea;
	border-radius: 12px;
	background: #f8fafc;
}

.edz-replace-plan input {
	width: 18px;
	height: 18px;
	margin-top: 2px;
}

.edz-replace-plan strong,
.edz-replace-plan small {
	display: block;
}

.edz-replace-plan small {
	margin-top: 3px;
	color: #64748b;
}

/* Student profile */
.edz-student-profile-layout {
	display: grid;
	grid-template-columns: 255px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.edz-student-profile-card {
	position: sticky;
	top: 100px;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 28px 22px;
	text-align: center;
}

.edz-student-profile-avatar {
	width: 104px;
	height: 104px;
	display: grid;
	place-items: center;
	overflow: hidden;
	border: 4px solid #fff;
	border-radius: 28px;
	box-shadow: 0 8px 26px rgba(35, 74, 121, .16);
	background: linear-gradient(145deg, #d9e8ff, #eef5ff);
	color: var(--edz-blue);
	font-size: 28px;
	font-weight: 800;
}

.edz-student-profile-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.edz-student-profile-card h2 {
	margin: 17px 0 4px;
	font-size: 21px;
}

.edz-student-profile-card > strong {
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-student-profile-card > .edz-chip {
	margin-top: 13px;
}

.edz-student-profile-program {
	width: 100%;
	margin-top: 22px;
	padding-top: 19px;
	border-top: 1px solid var(--edz-line);
}

.edz-student-profile-program small,
.edz-student-profile-program b,
.edz-student-profile-program span {
	display: block;
}

.edz-student-profile-program small {
	color: var(--edz-muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.edz-student-profile-program b {
	margin-top: 5px;
	font-size: 13px;
}

.edz-student-profile-program span {
	margin-top: 3px;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-student-profile-details {
	min-width: 0;
	display: grid;
	gap: 16px;
}

.edz-profile-section {
	padding-bottom: 4px;
}

.edz-profile-verified {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--edz-green);
	font-size: 12px;
	font-weight: 800;
}

.edz-profile-verified svg {
	width: 15px;
	height: 15px;
}

.edz-profile-data-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	padding: 0 20px 16px;
}

.edz-profile-field {
	min-width: 0;
	padding: 14px 12px;
	border-top: 1px solid #edf1f5;
}

.edz-profile-field.is-wide {
	grid-column: 1 / -1;
}

.edz-profile-field dt {
	margin-bottom: 4px;
	color: var(--edz-muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.edz-profile-field dd {
	margin: 0;
	overflow-wrap: anywhere;
	color: var(--edz-ink);
	font-size: 12px;
	font-weight: 700;
}

.edz-profile-notice {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	padding: 14px 16px;
	border: 1px solid #d9e7f6;
	border-radius: 13px;
	background: #f4f8fd;
}

.edz-profile-notice > svg {
	width: 19px;
	height: 19px;
	flex: 0 0 auto;
	color: var(--edz-blue);
}

.edz-profile-notice strong,
.edz-profile-notice span {
	display: block;
}

.edz-profile-notice strong {
	font-size: 12px;
}

.edz-profile-notice span {
	margin-top: 2px;
	color: var(--edz-muted);
	font-size: 12px;
}

/* Student directory and profile creation */
.edz-student-summary {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	margin-bottom: 20px;
}

.edz-student-summary .edz-card {
	padding: 18px 20px;
}

.edz-student-summary span,
.edz-student-summary strong {
	display: block;
}

.edz-student-summary span {
	color: var(--edz-muted);
	font-size: 12px;
	font-weight: 700;
}

.edz-student-summary strong {
	margin-top: 4px;
	font-size: 25px;
}

.edz-student-directory {
	overflow: hidden;
}

.edz-student-table td > strong,
.edz-student-table td > small {
	display: block;
}

.edz-student-table td > small {
	margin-top: 3px;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-modal.edz-student-form {
	width: min(920px, calc(100vw - 40px));
	max-height: min(900px, calc(100vh - 30px));
	overflow-y: auto;
	padding: 0;
	box-sizing: border-box;
}

.edz-student-form-head {
	position: sticky;
	z-index: 2;
	top: 0;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding: 24px 26px 18px;
	border-bottom: 1px solid var(--edz-line);
	background: #fff;
}

.edz-student-form-head .edz-chat-close {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	color: var(--edz-muted);
	background: #f1f4f8;
}

.edz-form-section {
	padding: 19px 26px 0;
}

.edz-form-section h3 {
	margin: 0 0 2px;
	padding-bottom: 9px;
	border-bottom: 1px solid #edf1f5;
	font-size: 13px;
}

.edz-form-section .edz-form-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 0;
}

@media (max-width: 1000px) {
	.edz-form-section .edz-form-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.edz-form-grid textarea {
	width: 100%;
	min-height: 78px;
	padding: 10px 11px;
	resize: vertical;
	border: 1px solid var(--edz-line);
	border-radius: 10px;
	background: #fff;
	color: var(--edz-ink);
	font: 13px/1.45 inherit;
}

.edz-form-grid textarea:focus {
	border-color: #6b9ee1;
	box-shadow: 0 0 0 3px #eaf2ff;
	outline: none;
}

.edz-form-grid label > small {
	color: var(--edz-muted);
	font-size: 12px;
	font-weight: 500;
}

.edz-student-form .edz-file-input {
	height: auto;
	padding: 10px;
	background: #f8fafc;
}

.edz-account-invitation {
	margin: 20px 26px 0;
	padding: 13px 14px;
	border: 1px solid #cfe2f2;
	border-radius: 12px;
	background: #f1f8fc;
}

.edz-account-invitation label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
}

.edz-account-invitation input {
	margin-top: 3px;
	accent-color: var(--edz-blue);
}

.edz-account-invitation strong,
.edz-account-invitation small {
	display: block;
}

.edz-account-invitation small {
	margin-top: 2px;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-student-form-actions {
	position: sticky;
	bottom: 0;
	margin-top: 20px;
	padding: 16px 26px;
	border-top: 1px solid var(--edz-line);
	background: #fff;
}

.edz-dashboard-calendar {
	margin-top: 20px;
}

.edz-dashboard-calendar-compact .edz-week-view-body {
	padding-inline: 14px;
}

.edz-dashboard-calendar-compact {
	margin-top: 22px;
}

.edz-dashboard-calendar-compact .edz-week-calendar {
	grid-template-columns: 66px repeat(7, minmax(0, 1fr));
	width: 100%;
	min-width: 0;
}

.edz-dashboard-calendar-compact .edz-calendar-scroll {
	overflow-x: hidden;
}

.edz-dashboard-calendar-compact .edz-calendar-corner,
.edz-dashboard-calendar-compact .edz-calendar-day-head {
	height: 62px;
}

.edz-dashboard-calendar-compact .edz-calendar-time-axis span {
	right: 9px;
	font-size: 13px;
}

.edz-dashboard-calendar-compact .edz-calendar-event {
	left: 4px;
	right: 4px;
	padding: 8px;
}

.edz-dashboard-calendar-compact .edz-calendar-event time {
	font-size: 13px;
}

.edz-dashboard-calendar-compact .edz-calendar-event strong {
	margin-block: 3px 2px;
	font-size: 13px;
	line-height: 1.3;
}

.edz-dashboard-calendar-compact .edz-calendar-event span,
.edz-dashboard-calendar-compact .edz-calendar-event small,
.edz-dashboard-calendar-compact .edz-calendar-event a {
	font-size: 12px;
	line-height: 1.4;
}

/* Syllabi and important documents */
.edz-document-summary {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	margin-bottom: 20px;
}

.edz-document-summary .edz-card {
	padding: 18px 20px;
}

.edz-document-summary span,
.edz-document-summary strong,
.edz-document-summary small {
	display: block;
}

.edz-document-summary span {
	color: var(--edz-muted);
	font-size: 12px;
	font-weight: 700;
}

.edz-document-summary strong {
	margin: 4px 0 1px;
	font-size: 25px;
}

.edz-document-summary small {
	color: #8996a7;
	font-size: 12px;
}

.edz-documents-card {
	overflow: hidden;
}

.edz-library-list {
	display: grid;
	gap: 11px;
	padding: 0 18px 18px;
}

.edz-library-item {
	display: grid;
	grid-template-columns: minmax(230px, 1.25fr) minmax(300px, 1.55fr) auto;
	grid-template-areas:
		"primary meta side"
		"primary meta actions";
	align-items: center;
	gap: 8px 20px;
	padding: 16px;
	border: 1px solid #dfe6ee;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 5px 16px rgba(19, 34, 56, .035);
	transition: border-color .16s ease, box-shadow .16s ease;
}

.edz-library-item:hover {
	border-color: #bfd2e3;
	box-shadow: 0 10px 26px rgba(19, 34, 56, .075);
}

.edz-library-primary {
	grid-area: primary;
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.edz-library-primary > div:last-child {
	min-width: 0;
}

.edz-library-primary strong,
.edz-library-primary span {
	display: block;
}

.edz-library-primary strong {
	font-family: var(--edz-font-academic);
	font-size: 14px;
	line-height: 1.35;
}

.edz-library-primary span {
	margin-top: 4px;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-library-meta {
	grid-area: meta;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	min-width: 0;
	padding: 10px 13px;
	border-radius: 11px;
	background: #f7f9fc;
}

.edz-library-meta small,
.edz-library-meta strong {
	display: block;
}

.edz-library-meta small {
	margin-bottom: 3px;
	color: #8190a3;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .35px;
	text-transform: uppercase;
}

.edz-library-meta strong {
	overflow-wrap: anywhere;
	font-size: 12px;
	line-height: 1.35;
}

.edz-library-side {
	grid-area: side;
	display: flex;
	align-items: flex-end;
	flex-direction: column;
	gap: 5px;
}

.edz-library-side > small {
	color: var(--edz-muted);
	font-size: 12px;
	white-space: nowrap;
}

.edz-library-actions {
	grid-area: actions;
	display: flex;
	justify-content: flex-end;
	gap: 7px;
}

.edz-library-actions .edz-btn {
	min-width: 76px;
	height: 32px;
	padding: 0 11px;
	font-size: 12px;
}

.edz-document-toolbar {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 0 18px 16px;
}

.edz-document-toolbar .edz-payment-search {
	max-width: 430px;
}

.edz-document-toolbar > span {
	margin-left: auto;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-document-name {
	min-width: 265px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.edz-document-name strong,
.edz-document-name span,
.edz-document-table td > strong,
.edz-document-table td > small {
	display: block;
}

.edz-document-name span,
.edz-document-table td > small {
	margin-top: 3px;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-file-badge {
	width: 41px;
	height: 44px;
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	border-radius: 9px;
	color: #236083;
	background: #eaf4f8;
	font-size: 12px;
	font-weight: 850;
	letter-spacing: .3px;
}

.edz-row-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.edz-row-actions .edz-action-link {
	white-space: nowrap;
}

.edz-library-note {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 12px 18px;
	border-top: 1px solid var(--edz-line);
	color: #65768b;
	background: #f8fafc;
	font-size: 12px;
}

.edz-library-note svg {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	color: #3c7091;
}

.edz-library-note.is-inline {
	margin: 0 0 18px;
	padding: 11px 12px;
	border: 0;
	border-radius: 10px;
}

.edz-document-form {
	width: min(700px, 100%);
	max-height: min(820px, calc(100vh - 40px));
	overflow-y: auto;
}

.edz-document-form .edz-file-input {
	height: auto;
	padding: 10px;
	background: #f8fafc;
}

.edz-notify-check > span:last-child {
	min-height: 42px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 11px;
	border: 1px solid var(--edz-line);
	border-radius: 10px;
	color: var(--edz-ink);
	background: #fff;
	font-weight: 600;
}

.edz-notify-check input {
	width: auto;
	height: auto;
	accent-color: var(--edz-blue);
}

.edz-empty-state {
	padding: 36px 20px;
	color: var(--edz-muted);
	text-align: center;
}

.edz-empty-state > strong,
.edz-empty-state > span {
	display: block;
}

.edz-empty-state > strong + span {
	margin-top: 7px;
}

.edz-empty-state > span + .edz-btn,
.edz-empty-state > strong + .edz-btn {
	margin-top: 16px;
}

.edz-student-document-list {
	padding: 0 18px 18px;
}

.edz-student-document {
	display: grid;
	grid-template-columns: 41px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 13px 0;
	border-top: 1px solid var(--edz-line);
}

.edz-student-document:first-child {
	border-top: 0;
}

.edz-student-document strong,
.edz-student-document span {
	display: block;
}

.edz-student-document span {
	color: var(--edz-muted);
	font-size: 12px;
}

/* Class schedule */
.edz-upcoming-class {
	margin-top: 20px;
}

.edz-class-list {
	padding: 0 14px 14px;
}

.edz-schedule-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.edz-segmented {
	display: flex;
	gap: 3px;
	padding: 3px;
	border: 1px solid var(--edz-line);
	border-radius: 10px;
	background: #f7f9fc;
}

.edz-segmented button {
	min-height: 34px;
	padding: 0 12px;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: var(--edz-muted);
	cursor: pointer;
	font: 700 12px/1 inherit;
}

.edz-segmented button.is-active {
	background: #fff;
	color: var(--edz-navy);
	box-shadow: 0 3px 10px rgba(19, 34, 56, .09);
}

.edz-schedule-panel {
	display: none;
}

.edz-schedule-panel.is-active {
	display: block;
}

.edz-class-item {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	padding: 17px 10px;
	border-top: 1px solid #edf1f5;
}

.edz-class-item:first-child {
	border-top: 0;
}

.edz-class-date {
	width: 50px;
	height: 54px;
	display: grid;
	place-content: center;
	border: 1px solid #dbe5ef;
	border-radius: 13px;
	color: var(--edz-navy);
	background: #f5f9fd;
	text-align: center;
}

.edz-class-date strong {
	display: block;
	font-size: 19px;
	line-height: 1;
}

.edz-class-date span {
	margin-top: 3px;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-class-info h3 {
	margin: 5px 0 2px;
	font-size: 14px;
}

.edz-class-info p,
.edz-class-info small {
	display: block;
	margin: 0;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-class-link {
	min-width: 105px;
}

.edz-class-item.is-compact {
	grid-template-columns: 48px minmax(0, 1fr);
	padding: 0 20px 18px;
	border-top: 0;
}

.edz-class-item.is-compact .edz-class-date {
	width: 43px;
	height: 48px;
}

.edz-class-item.is-compact .edz-class-link {
	grid-column: 1 / -1;
	width: 100%;
}

.edz-week-view-body {
	padding: 0 18px 20px;
}

.edz-calendar-toolbar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 4px 0 18px;
}

.edz-calendar-toolbar .edz-icon-btn {
	width: 34px;
	height: 34px;
	font-size: 23px;
}

.edz-calendar-toolbar strong {
	min-width: 190px;
	text-align: center;
	font-size: 13px;
	text-transform: capitalize;
}

.edz-week-calendar {
	display: grid;
	grid-template-columns: 62px repeat(7, minmax(118px, 1fr));
	min-width: 920px;
	background: #f8fafc;
}

.edz-calendar-scroll {
	overflow-x: auto;
	border: 1px solid var(--edz-line);
	border-radius: 15px;
	background: #f8fafc;
}

.edz-calendar-corner,
.edz-calendar-day-head {
	position: sticky;
	top: 0;
	z-index: 3;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px;
	border-bottom: 1px solid var(--edz-line);
	background: #fff;
}

.edz-calendar-corner {
	left: 0;
	z-index: 5;
	justify-content: center;
	color: var(--edz-muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.edz-calendar-day-head {
	border-left: 1px solid var(--edz-line);
}

.edz-calendar-day-head span {
	color: var(--edz-muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.edz-calendar-day-head strong {
	width: 32px;
	height: 32px;
	display: grid;
	place-items: center;
	border-radius: 9px;
	font-size: 14px;
}

.edz-calendar-day-head.has-events strong {
	color: #fff;
	background: var(--edz-blue);
}

.edz-calendar-time-axis,
.edz-calendar-time-day {
	position: relative;
	background-image: repeating-linear-gradient(
		to bottom,
		transparent 0,
		transparent calc(var(--edz-slot-height) - 1px),
		var(--edz-line) calc(var(--edz-slot-height) - 1px),
		var(--edz-line) var(--edz-slot-height)
	);
}

.edz-calendar-time-axis {
	position: sticky;
	left: 0;
	z-index: 2;
	background-color: #fff;
}

.edz-calendar-time-axis span {
	position: absolute;
	right: 10px;
	transform: translateY(-50%);
	color: var(--edz-muted);
	font-size: 12px;
	font-weight: 700;
}

.edz-calendar-time-day {
	border-left: 1px solid var(--edz-line);
	background-color: #fbfcfe;
}

.edz-calendar-event {
	position: absolute;
	left: 5px;
	right: 5px;
	z-index: 1;
	overflow: hidden;
	padding: 8px;
	border-left: 3px solid var(--edz-blue);
	border-radius: 9px;
	background: #eaf2ff;
	box-shadow: 0 2px 7px rgba(28, 71, 125, .08);
}

.edz-calendar-event.onsite {
	border-left-color: var(--edz-amber);
	background: #fff4df;
}

.edz-calendar-event time,
.edz-calendar-event strong,
.edz-calendar-event span,
.edz-calendar-event small,
.edz-calendar-event a {
	display: block;
}

.edz-calendar-event time {
	color: var(--edz-blue);
	font-size: 12px;
	font-weight: 800;
}

.edz-calendar-event strong {
	margin: 3px 0 2px;
	font-size: 13px;
	line-height: 1.3;
}

.edz-calendar-event span,
.edz-calendar-event small {
	color: var(--edz-muted);
	font-size: 12px;
	line-height: 1.35;
}

.edz-calendar-event a {
	margin-top: 5px;
	color: var(--edz-blue);
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}

.edz-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin: 18px 0;
}

.edz-form-grid label {
	display: grid;
	gap: 5px;
	color: var(--edz-muted);
	font-size: 12px;
	font-weight: 700;
}

.edz-form-grid label.wide {
	grid-column: 1 / -1;
}

.edz-form-grid input,
.edz-form-grid select {
	width: 100%;
	height: 42px;
	padding: 0 11px;
	border: 1px solid var(--edz-line);
	border-radius: 10px;
	background: #fff;
	color: var(--edz-ink);
	font: 13px/1 inherit;
}

.edz-form-grid input:focus,
.edz-form-grid select:focus {
	border-color: #6b9ee1;
	box-shadow: 0 0 0 3px #eaf2ff;
	outline: none;
}

/* Chat */
/* Staff workspaces */
.edz-review-summary,
.edz-report-summary,
.edz-program-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 15px;
	margin-bottom: 20px;
}

.edz-report-summary {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.edz-review-summary .edz-card,
.edz-report-summary .edz-card {
	padding: 18px 20px;
}

.edz-review-summary span,
.edz-review-summary strong,
.edz-review-summary small,
.edz-report-summary span,
.edz-report-summary strong,
.edz-report-summary small {
	display: block;
}

.edz-review-summary span,
.edz-report-summary span {
	color: var(--edz-muted);
	font-size: 12px;
	font-weight: 700;
}

.edz-review-summary strong,
.edz-report-summary strong {
	margin-top: 4px;
	font-size: 24px;
}

.edz-review-summary small,
.edz-report-summary small {
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-review-card {
	overflow: hidden;
}

.edz-review-list {
	display: grid;
	gap: 9px;
	padding: 0 18px 20px;
}

.edz-review-item {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) auto;
	align-items: center;
	gap: 13px;
	padding: 13px;
	border: 1px solid var(--edz-line);
	border-radius: 12px;
}

.edz-review-item.is-resolved {
	opacity: .55;
	background: #f1faf6;
}

.edz-review-icon {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: 11px;
	background: #edf4fb;
	color: var(--edz-blue);
}

.edz-review-icon svg {
	width: 20px;
	height: 20px;
}

.edz-review-item h3 {
	margin: 5px 0 2px;
	font-size: 12px;
}

.edz-review-item p {
	margin: 0;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-review-actions {
	display: flex;
	align-items: center;
	gap: 7px;
}

.edz-review-actions .edz-btn {
	min-height: 35px;
	padding: 7px 11px;
	font-size: 12px;
}

.edz-staff-messages-layout {
	display: grid;
	grid-template-columns: 340px minmax(0, 1fr);
	gap: 20px;
}

.edz-conversation-list {
	overflow: hidden;
}

.edz-conversation-list > .edz-payment-search {
	margin: 14px;
}

.edz-conversation-item {
	position: relative;
	width: 100%;
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) auto;
	gap: 9px;
	padding: 12px 14px;
	border: 0;
	border-top: 1px solid #edf1f5;
	background: #fff;
	color: var(--edz-ink);
	cursor: pointer;
	text-align: left;
}

.edz-conversation-item.is-active {
	background: #edf5ff;
	box-shadow: inset 3px 0 var(--edz-blue);
}

.edz-conversation-item .edz-avatar {
	width: 40px;
	height: 40px;
	border-radius: 11px;
}

.edz-conversation-item strong,
.edz-conversation-item small,
.edz-conversation-item p {
	display: block;
}

.edz-conversation-item strong { font-size: 12px; }
.edz-conversation-item small,
.edz-conversation-item p,
.edz-conversation-item time { color: var(--edz-muted); font-size: 12px; }
.edz-conversation-item p { margin: 4px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.edz-conversation-item b { position: absolute; right: 13px; bottom: 10px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--edz-blue); font-size: 12px; }

.edz-staff-thread {
	overflow: hidden;
}

.edz-staff-thread > header {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	padding: 16px 18px;
	border-bottom: 1px solid var(--edz-line);
}

.edz-staff-thread > header h2 { margin: 0; font-size: 14px; }
.edz-staff-thread > header span { color: var(--edz-muted); font-size: 12px; }
.edz-staff-thread-messages { height: 390px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; padding: 18px; background: #f7f9fc; }
.edz-staff-reply { padding: 14px 18px; border-top: 1px solid var(--edz-line); }
.edz-staff-reply textarea { width: 100%; padding: 10px; border: 1px solid var(--edz-line); border-radius: 10px; font: 12px/1.5 var(--edz-font-ui); }
.edz-staff-reply > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.edz-staff-reply span { color: var(--edz-muted); font-size: 12px; }

.edz-program-card {
	padding: 20px;
}
.edz-program-card > header { display: flex; justify-content: space-between; align-items: center; }
.edz-program-card h2 { margin: 16px 0 5px; font-size: 19px; }
.edz-program-card > p { margin: 0; color: var(--edz-muted); font-size: 14px; line-height: 1.5; }
.edz-program-card > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 17px 0; padding: 13px 0; border-block: 1px solid var(--edz-line); }
.edz-program-card > div span,
.edz-program-card > div strong { display: block; text-align: center; }
.edz-program-card > div span { color: var(--edz-muted); font-size: 12px; line-height: 1.4; }
.edz-program-card > div strong { margin-bottom: 3px; color: var(--edz-ink); font-size: 20px; }
.edz-program-card > .edz-action-link { font-size: 15px; }

.edz-groups-card { overflow: hidden; }
.edz-group-list { display: grid; gap: 8px; padding: 0 18px 20px; }
.edz-group-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) 80px auto; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--edz-line); border-radius: 11px; }
.edz-group-badge { display: grid; place-items: center; min-height: 40px; border-radius: 10px; background: #eaf2ff; color: var(--edz-blue); font-size: 12px; font-weight: 800; }
.edz-group-row strong,
.edz-group-row span,
.edz-group-row small { display: block; }
.edz-group-row strong { font-size: 12px; }
.edz-group-row span,
.edz-group-row small { color: var(--edz-muted); font-size: 12px; }

.edz-report-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .7fr); gap: 20px; }
.edz-report-chart select { height: 36px; border: 1px solid var(--edz-line); border-radius: 9px; padding: 0 9px; background: #fff; }
.edz-report-bars { display: grid; gap: 17px; padding: 5px 22px 24px; }
.edz-report-bars > div { display: grid; grid-template-columns: 170px minmax(0, 1fr) 42px; align-items: center; gap: 10px; }
.edz-report-bars span,
.edz-report-bars strong { font-size: 12px; }
.edz-report-bars i { height: 10px; overflow: hidden; border-radius: 999px; background: #e8edf3; }
.edz-report-bars i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--edz-cyan), var(--edz-blue)); }
.edz-report-actions { overflow: hidden; }
.edz-report-download { width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr) 16px; align-items: center; gap: 10px; padding: 13px 18px; border: 0; border-top: 1px solid #edf1f5; background: #fff; color: var(--edz-ink); cursor: pointer; text-align: left; }
.edz-report-download > svg { width: 24px; height: 24px; color: var(--edz-blue); }
.edz-report-download span strong,
.edz-report-download span small { display: block; }
.edz-report-download span strong { font-size: 12px; }
.edz-report-download span small { color: var(--edz-muted); font-size: 12px; }

.edz-staff-profile-modal { width: min(800px, 100%); max-height: calc(100vh - 36px); overflow-y: auto; padding: 0; }
.edz-staff-profile-hero { display: flex; align-items: center; gap: 16px; padding: 20px 26px; background: #f7f9fc; }
.edz-staff-profile-hero .edz-student-profile-avatar { width: 78px; height: 78px; border-radius: 20px; }
.edz-staff-profile-hero h3 { margin: 0; font-size: 17px; }
.edz-staff-profile-hero p { margin: 3px 0 8px; }
.edz-staff-profile-sections { padding: 0 26px; }
.edz-staff-profile-sections section { padding: 18px 0; border-bottom: 1px solid var(--edz-line); }
.edz-staff-profile-sections section > h3 { margin: 0 0 9px; font-size: 12px; }
.edz-staff-profile-sections dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.edz-profile-group-editor { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.edz-profile-group-editor select { height: 42px; border: 1px solid var(--edz-line); border-radius: 10px; padding: 0 10px; }

/* Contact with the dean's office */
.edz-contact-layout {
	display: grid;
	grid-template-columns: 270px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.edz-contact-sidebar {
	display: grid;
	gap: 16px;
}

.edz-contact-status {
	overflow: hidden;
}

.edz-contact-status-head {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 17px 18px;
	border-bottom: 1px solid var(--edz-line);
	background: #f7f9fc;
}

.edz-contact-status-head.is-open {
	background: #f0fbf6;
}

.edz-contact-status-head.is-holiday {
	background: #fff4f5;
}

.edz-contact-status-head strong,
.edz-contact-status-head span {
	display: block;
}

.edz-contact-status-head strong {
	font-size: 12px;
}

.edz-contact-status-head span {
	margin-top: 2px;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-contact-status-copy {
	padding: 17px 18px;
}

.edz-contact-status-copy strong {
	font-size: 12px;
}

.edz-contact-status-copy p {
	margin: 5px 0 0;
	color: var(--edz-muted);
	font-size: 12px;
	line-height: 1.55;
}

.edz-contact-help {
	overflow: hidden;
	padding: 17px 10px 10px;
}

.edz-contact-help h2 {
	margin: 0 8px 11px;
	font-size: 13px;
}

.edz-contact-topic {
	width: 100%;
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr) 15px;
	align-items: center;
	gap: 9px;
	padding: 10px 8px;
	border: 0;
	border-top: 1px solid #edf1f5;
	background: transparent;
	color: var(--edz-ink);
	cursor: pointer;
	text-align: left;
}

.edz-contact-topic > svg:first-child {
	width: 30px;
	height: 30px;
	padding: 7px;
	border-radius: 9px;
	background: #edf4fb;
	color: var(--edz-blue);
}

.edz-contact-topic > svg:last-child {
	width: 14px;
	height: 14px;
	color: #9ba8b6;
}

.edz-contact-topic strong,
.edz-contact-topic small {
	display: block;
}

.edz-contact-topic strong {
	font-size: 12px;
}

.edz-contact-topic small {
	margin-top: 2px;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-contact-topic:hover {
	background: #f7f9fc;
}

.edz-contact-conversation {
	overflow: hidden;
}

.edz-contact-conversation-head {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) auto;
	align-items: center;
	gap: 11px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--edz-line);
}

.edz-contact-conversation-head .edz-avatar {
	width: 42px;
	height: 42px;
	border-radius: 13px;
}

.edz-contact-conversation-head h2 {
	margin: 0;
	font-size: 14px;
}

.edz-contact-conversation-head div > span {
	display: block;
	margin-top: 2px;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-contact-messages {
	height: 410px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	overflow-y: auto;
	padding: 22px;
	background: #f7f9fc;
}

.edz-contact-message {
	max-width: 78%;
	display: grid;
	grid-template-columns: 31px minmax(0, 1fr);
	align-items: end;
	gap: 8px;
}

.edz-contact-message.student {
	align-self: flex-end;
	grid-template-columns: minmax(0, 1fr) 31px;
}

.edz-contact-message.student .edz-contact-message-avatar {
	grid-column: 2;
	grid-row: 1;
}

.edz-contact-message.student > div:last-child {
	grid-column: 1;
	grid-row: 1;
}

.edz-contact-message-avatar {
	width: 31px;
	height: 31px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: #dfeaf6;
	color: var(--edz-blue);
	font-size: 12px;
	font-weight: 800;
}

.edz-contact-message.student .edz-contact-message-avatar {
	color: #fff;
	background: var(--edz-blue);
}

.edz-contact-message header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 4px;
}

.edz-contact-message header strong,
.edz-contact-message header time {
	font-size: 12px;
}

.edz-contact-message header time {
	color: var(--edz-muted);
}

.edz-contact-message p {
	margin: 0;
	padding: 11px 13px;
	border: 1px solid var(--edz-line);
	border-radius: 5px 13px 13px 13px;
	background: #fff;
	font-size: 12px;
	line-height: 1.5;
}

.edz-contact-message.student p {
	border-color: var(--edz-blue);
	border-radius: 13px 5px 13px 13px;
	color: #fff;
	background: var(--edz-blue);
}

.edz-contact-quick {
	display: flex;
	align-items: center;
	gap: 7px;
	overflow-x: auto;
	padding: 10px 18px;
	border-top: 1px solid var(--edz-line);
	background: #fff;
}

.edz-contact-quick span {
	flex: 0 0 auto;
	color: var(--edz-muted);
	font-size: 12px;
	font-weight: 700;
}

.edz-contact-quick button {
	flex: 0 0 auto;
	padding: 6px 9px;
	border: 1px solid #dce5ef;
	border-radius: 999px;
	background: #f8fafc;
	color: var(--edz-blue);
	cursor: pointer;
	font: 12px var(--edz-font-ui);
}

.edz-contact-compose {
	padding: 15px 18px 17px;
	border-top: 1px solid var(--edz-line);
}

.edz-contact-compose > label {
	display: block;
	margin-bottom: 6px;
	color: var(--edz-muted);
	font-size: 12px;
	font-weight: 700;
}

.edz-contact-compose textarea {
	width: 100%;
	min-height: 78px;
	padding: 11px 12px;
	resize: vertical;
	border: 1px solid var(--edz-line);
	border-radius: 11px;
	background: #fbfcfe;
	color: var(--edz-ink);
	font: 12px/1.45 var(--edz-font-ui);
}

.edz-contact-compose textarea:focus {
	border-color: #7ba7df;
	box-shadow: 0 0 0 3px #eaf2ff;
	outline: none;
}

.edz-contact-compose > div {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 9px;
}

.edz-contact-compose > div > small {
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-contact-compose > div > .edz-btn {
	margin-left: auto;
}

.edz-contact-attachment {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--edz-blue);
	cursor: pointer;
	font-size: 12px;
	font-weight: 800;
}

.edz-contact-attachment svg {
	width: 16px;
	height: 16px;
}

.edz-contact-attachment input {
	display: none;
}

.edz-contact-compose .edz-contact-email-note {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 11px 0 0;
	padding-top: 10px;
	border-top: 1px solid #edf1f5;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-contact-email-note svg {
	width: 15px;
	height: 15px;
	flex: 0 0 auto;
	color: var(--edz-blue);
}

.edz-contact-email-note strong {
	color: var(--edz-ink);
}

/* Office availability settings */
.edz-office-settings {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(320px, .8fr);
	gap: 20px;
	align-items: start;
}

.edz-office-current {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 210px;
	padding: 10px 12px;
	border: 1px solid var(--edz-line);
	border-radius: 12px;
	background: #f8fafc;
}

.edz-office-current strong,
.edz-office-current span {
	display: block;
}

.edz-office-current strong {
	font-size: 12px;
}

.edz-office-current span {
	margin-top: 2px;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-office-current.is-open {
	border-color: #bcead8;
	background: #f0fbf6;
}

.edz-office-current.is-holiday {
	border-color: #f0c7cc;
	background: #fff4f5;
}

.edz-office-days {
	padding: 0 20px 20px;
}

.edz-office-day {
	display: grid;
	grid-template-columns: minmax(160px, 1fr) 112px 112px 135px;
	align-items: center;
	gap: 12px;
	padding: 12px 4px;
	border-top: 1px solid #edf1f5;
}

.edz-office-day label:not(.edz-office-day-toggle) {
	display: flex;
	align-items: center;
	gap: 6px;
}

.edz-office-day label > span {
	color: var(--edz-muted);
	font-size: 12px;
	font-weight: 700;
}

.edz-office-day input[type="time"],
.edz-office-holiday input {
	width: 100%;
	height: 38px;
	padding: 7px 9px;
	border: 1px solid var(--edz-line);
	border-radius: 9px;
	background: #fff;
	color: var(--edz-ink);
	font: 12px var(--edz-font-ui);
}

.edz-office-day > small {
	color: var(--edz-muted);
	font-size: 12px;
	font-weight: 700;
}

.edz-office-day.is-enabled > small {
	color: var(--edz-green);
}

.edz-office-day-toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.edz-office-day-toggle input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.edz-office-day-toggle > span {
	position: relative;
	width: 35px;
	height: 20px;
	flex: 0 0 auto;
	border-radius: 999px;
	background: #ccd4dd;
	transition: .2s ease;
}

.edz-office-day-toggle > span::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(20, 36, 58, .24);
	transition: .2s ease;
}

.edz-office-day-toggle input:checked + span {
	background: var(--edz-green);
}

.edz-office-day-toggle input:checked + span::after {
	transform: translateX(15px);
}

.edz-office-day-toggle strong {
	font-size: 12px;
}

.edz-office-holidays-card {
	overflow: hidden;
}

.edz-office-holiday-list {
	display: grid;
	gap: 9px;
	padding: 0 20px 14px;
}

.edz-office-holiday {
	display: grid;
	grid-template-columns: 130px minmax(0, 1fr) 34px;
	align-items: end;
	gap: 8px;
}

.edz-office-holiday label {
	display: grid;
	gap: 4px;
}

.edz-office-holiday label > span {
	color: var(--edz-muted);
	font-size: 12px;
	font-weight: 700;
}

.edz-office-holiday .edz-icon-btn {
	width: 34px;
	height: 38px;
	color: var(--edz-red);
	font-size: 18px;
}

.edz-add-holiday {
	margin: 0 20px;
	width: calc(100% - 40px);
}

.edz-office-timezone {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 17px 20px 20px;
	padding-top: 15px;
	border-top: 1px solid #edf1f5;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-office-timezone svg {
	width: 17px;
	height: 17px;
	color: var(--edz-blue);
}

.edz-office-settings-actions {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
	padding: 16px 18px;
	border: 1px solid var(--edz-line);
	border-radius: 14px;
	background: #fff;
}

.edz-office-settings-actions span {
	margin-right: auto;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-chat-panel {
	position: fixed;
	z-index: 99999;
	right: 22px;
	bottom: 152px;
	width: min(390px, calc(100vw - 30px));
	overflow: hidden;
	border: 1px solid var(--edz-line);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 24px 80px rgba(9, 30, 52, .24);
	transform: translateY(25px) scale(.98);
	opacity: 0;
	pointer-events: none;
	transition: .2s ease;
}

.edz-live-chat-toggle {
	position: fixed;
	z-index: 99997;
	right: 22px;
	bottom: 22px;
	display: flex;
	align-items: center;
	gap: 11px;
	min-height: 50px;
	padding: 10px 15px;
	border: 1px solid #d6dfeb;
	border-radius: 999px;
	color: #123a5d;
	background: #fff;
	box-shadow: 0 12px 34px rgba(9, 30, 52, .18);
	cursor: pointer;
}

.edz-live-chat-toggle > svg {
	width: 22px;
	height: 22px;
}

.edz-live-chat-toggle span,
.edz-live-chat-toggle strong,
.edz-live-chat-toggle small {
	display: block;
	text-align: left;
}

.edz-live-chat-toggle strong { font-size: 12px; }
.edz-live-chat-toggle small { margin-top: 2px; color: #64748b; font-size: 12px; }
.edz-live-chat-toggle small i,
.edz-live-chat-toggle small b { display: inline-block; vertical-align: middle; }
.edz-live-chat-toggle.is-open { border-color: #8bd5b1; }
.edz-live-chat-toggle.is-open small { color: #137a4b; }
.edz-live-chat-toggle.is-closed .edz-presence-dot,
.edz-live-chat-toggle.is-holiday .edz-presence-dot { background: #94a3b8; box-shadow: none; }

.edz-chat-panel.is-open {
	transform: translateY(0) scale(1);
	opacity: 1;
	pointer-events: auto;
}

.edz-chat-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 18px;
	color: #fff;
	background: linear-gradient(120deg, #153e64, #197f96);
}

.edz-chat-head strong,
.edz-chat-head span {
	display: block;
}

.edz-chat-head span {
	color: #c5e0e8;
	font-size: 12px;
}

.edz-chat-head .edz-chat-availability {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-top: 4px;
}

.edz-chat-availability b,
.edz-chat-availability em,
.edz-login-help b,
.edz-login-help em {
	font: inherit;
}

.edz-chat-availability b,
.edz-login-help b {
	font-weight: 800;
}

.edz-chat-close {
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
	font-size: 22px;
}

.edz-chat-messages {
	height: 320px;
	padding: 17px;
	overflow-y: auto;
	background: #f7f9fc;
}

.edz-message {
	max-width: 84%;
	padding: 10px 12px;
	margin-bottom: 11px;
	border: 1px solid var(--edz-line);
	border-radius: 13px 13px 13px 3px;
	background: #fff;
	font-size: 12px;
}

.edz-message.student {
	margin-left: auto;
	border: 0;
	border-radius: 13px 13px 3px 13px;
	background: #dfeeff;
}

.edz-message time {
	display: block;
	margin-top: 4px;
	color: var(--edz-muted);
	font-size: 12px;
	text-align: right;
}

.edz-chat-compose {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 9px;
	padding: 12px;
	border-top: 1px solid var(--edz-line);
}

.edz-chat-compose input {
	min-width: 0;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--edz-line);
	border-radius: 11px;
	outline: none;
	font: inherit;
}

.edz-chat-compose input:focus {
	border-color: #78a9e7;
	box-shadow: 0 0 0 3px #eaf2ff;
}

.edz-modal-backdrop {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgba(10, 25, 42, .55);
	backdrop-filter: blur(4px);
	font-family: var(--edz-font-ui) !important;
}

.edz-modal-backdrop button,
.edz-modal-backdrop input,
.edz-modal-backdrop select,
.edz-modal-backdrop textarea,
.edz-modal-backdrop label,
.edz-modal-backdrop span,
.edz-modal-backdrop p {
	font-family: var(--edz-font-ui) !important;
}

.edz-modal-backdrop h1,
.edz-modal-backdrop h2,
.edz-modal-backdrop h3 {
	font-family: var(--edz-font-academic) !important;
}

.edz-modal-backdrop :is(p, small, .edz-eyebrow, .edz-form-grid label > small, .edz-account-invitation small, .edz-payment-notice) {
	font-size: 13px !important;
	line-height: 1.5;
}

.edz-modal-backdrop :is(label, input, select, textarea, button) {
	font-size: 14px !important;
}

/* Spójne, czytelne pola wyboru we wszystkich oknach formularzy. */
.edz-modal-backdrop input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	display: inline-grid;
	place-content: center;
	flex: 0 0 22px;
	width: 22px !important;
	height: 22px !important;
	min-height: 22px;
	margin: 0;
	padding: 0 !important;
	border: 2px solid #91a2b8;
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(15, 39, 65, .08);
	cursor: pointer;
	transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.edz-modal-backdrop input[type="checkbox"]::before {
	width: 10px;
	height: 6px;
	border-bottom: 2px solid #fff;
	border-left: 2px solid #fff;
	content: "";
	transform: translateY(-1px) rotate(-45deg) scale(0);
	transition: transform .14s ease;
}

.edz-modal-backdrop input[type="checkbox"]:checked {
	border-color: var(--edz-blue);
	background: var(--edz-blue);
	box-shadow: 0 0 0 3px rgba(20, 78, 135, .12);
}

.edz-modal-backdrop input[type="checkbox"]:checked::before {
	transform: translateY(-1px) rotate(-45deg) scale(1);
}

.edz-modal-backdrop input[type="checkbox"]:focus-visible {
	outline: 3px solid #f0c85a;
	outline-offset: 3px;
}

.edz-modal-backdrop :is(.edz-replace-plan, .edz-account-invitation, .edz-notify-check > span:last-child):has(input[type="checkbox"]:checked) {
	border-color: #91b8df;
	background: #eef6ff;
}

.edz-modal-backdrop :is(.edz-replace-plan, .edz-account-invitation) label,
.edz-modal-backdrop .edz-notify-check > span:last-child {
	cursor: pointer;
}

.edz-modal {
	width: min(480px, 100%);
	padding: 25px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 25px 80px rgba(9, 30, 52, .3);
}

.edz-modal h2 {
	margin: 0 0 7px;
	font-size: 21px;
}

.edz-modal p {
	margin: 0 0 18px;
	color: var(--edz-muted);
}

.edz-reset-form {
	position: relative;
	width: min(520px, 100%);
}

.edz-reset-form > .edz-chat-close {
	position: absolute;
	top: 16px;
	right: 16px;
	color: var(--edz-ink);
}

.edz-reset-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 16px;
	border-radius: 14px;
	background: #eaf2ff;
	color: var(--edz-blue);
}

.edz-reset-icon svg {
	width: 24px;
	height: 24px;
}

.edz-reset-form > label {
	display: grid;
	gap: 7px;
	font-weight: 700;
}

.edz-reset-form > label input {
	width: 100%;
	height: 48px;
	padding: 0 13px;
	border: 1px solid var(--edz-line);
	border-radius: 11px;
	font: inherit;
}

.edz-reset-result {
	margin-top: 14px;
	padding: 0;
}

.edz-reset-result.is-success,
.edz-reset-result.is-error {
	padding: 13px 14px;
	border-radius: 11px;
}

.edz-reset-result.is-success {
	border: 1px solid #9fd8b8;
	background: #edf9f2;
	color: #12663d;
}

.edz-reset-result.is-error {
	border: 1px solid #edb4b4;
	background: #fff1f1;
	color: #9d2626;
}

.edz-gateways {
	display: grid;
	gap: 9px;
	margin-bottom: 18px;
}

.edz-gateway {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr) auto;
	align-items: center;
	gap: 11px;
	padding: 13px;
	border: 1px solid var(--edz-line);
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
}

.edz-gateway:has(input:checked) {
	border-color: #5a94c5;
	background: #f2f8fe;
	box-shadow: 0 0 0 2px rgba(37, 99, 235, .08);
}

.edz-gateway strong,
.edz-gateway small {
	display: block;
}

.edz-gateway strong {
	font-size: 14px;
}

.edz-gateway small {
	margin-top: 3px;
	color: var(--edz-muted);
	font-size: 12px;
	font-weight: 500;
}

.edz-gateway input {
	width: 18px;
	height: 18px;
	accent-color: var(--edz-blue);
}

.edz-bank-transfer-details {
	margin: -4px 0 18px;
	padding: 14px;
	border: 1px solid #cddff3;
	border-radius: 13px;
	background: #f6f9fe;
}

.edz-payment-order-preview {
	display: grid;
	gap: 4px;
	margin: 18px 0;
	padding: 14px 16px;
	border: 1px solid #dce5ef;
	border-radius: 12px;
	background: #f7f9fc;
}

.edz-payment-order-preview > span,
.edz-payment-order-preview > small {
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-payment-order-preview > strong {
	color: var(--edz-ink);
	font-size: 16px;
}

.edz-payment-order-preview > p {
	margin: 6px 0 0;
	color: #294861;
	font-size: 13px;
	font-weight: 700;
}

.edz-bank-settings-card {
	overflow: hidden;
}

.edz-bank-settings-card .edz-card-head {
	padding-bottom: 14px;
}

.edz-bank-settings {
	display: grid;
	grid-template-columns: minmax(220px, .8fr) minmax(300px, 1.4fr) auto;
	align-items: end;
	gap: 14px;
	padding: 0 20px 20px;
}

.edz-bank-settings label {
	display: grid;
	gap: 7px;
	color: var(--edz-ink);
	font-size: 13px;
	font-weight: 700;
}

.edz-bank-settings input {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #cfd9e5;
	border-radius: 10px;
	background: #fff;
	color: var(--edz-ink);
	font: inherit;
}

@media (max-width: 900px) {
	.edz-bank-settings {
		grid-template-columns: 1fr;
		padding: 0 18px 18px;
	}

	.edz-bank-settings .edz-btn {
		width: 100%;
	}
}

.edz-bank-transfer-details[hidden] {
	display: none;
}

.edz-bank-transfer-warning {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 11px;
	color: #385b7e;
	font-size: 12px;
}

.edz-bank-transfer-warning svg {
	width: 17px;
	height: 17px;
	flex: 0 0 auto;
}

.edz-bank-transfer-details dl {
	margin: 0 0 12px;
}

.edz-bank-transfer-details dl > div {
	display: grid;
	grid-template-columns: 125px minmax(0, 1fr);
	gap: 10px;
	padding: 8px 0;
	border-top: 1px solid #dce7f3;
}

.edz-bank-transfer-details dt {
	color: var(--edz-muted);
	font-size: 12px;
	font-weight: 800;
}

.edz-bank-transfer-details dd {
	margin: 0;
	overflow-wrap: anywhere;
	font-size: 12px;
	font-weight: 700;
}

.edz-bank-transfer-details .edz-btn {
	width: 100%;
}

.edz-modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

.edz-toast {
	position: fixed;
	z-index: 110000;
	left: 50%;
	bottom: 28px;
	padding: 11px 16px;
	border-radius: 11px;
	background: #152f4c;
	color: #fff;
	box-shadow: 0 10px 30px rgba(9, 30, 52, .25);
	transform: translateX(-50%);
	font-size: 12px;
	font-family: var(--edz-font-ui) !important;
}

.edz-demo-switch {
	position: fixed;
	z-index: 90000;
	top: 14px;
	left: 50%;
	display: flex;
	gap: 4px;
	padding: 4px;
	border: 1px solid var(--edz-line);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(15, 35, 58, .15);
	transform: translateX(-50%);
}

.edz-demo-switch button {
	padding: 7px 12px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--edz-muted);
	cursor: pointer;
	font: 700 12px/1 inherit;
}

.edz-demo-switch button.is-active {
	background: var(--edz-navy);
	color: #fff;
}

/* Login */
.edz-login-page {
	min-height: 100vh;
	display: grid;
	grid-template-columns: minmax(420px, 1.05fr) minmax(420px, .95fr);
	background: #fff;
}

.edz-login-visual {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	padding: 45px clamp(42px, 6vw, 88px);
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(circle at 84% 17%, rgba(72, 195, 214, .28), transparent 27%),
		radial-gradient(circle at 17% 83%, rgba(37, 99, 235, .22), transparent 31%),
		linear-gradient(145deg, #163e66 0%, #102a46 65%, #0b2036 100%);
}

.edz-login-visual:before,
.edz-login-visual:after {
	content: "";
	position: absolute;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 50%;
}

.edz-login-visual:before {
	width: 430px;
	height: 430px;
	right: -210px;
	top: -130px;
	box-shadow: 0 0 0 70px rgba(255, 255, 255, .025), 0 0 0 140px rgba(255, 255, 255, .02);
}

.edz-login-visual:after {
	width: 260px;
	height: 260px;
	left: -145px;
	bottom: -130px;
}

.edz-login-brand,
.edz-login-mobile-brand {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 13px;
}

.edz-login-brand img {
	width: min(390px, 80%);
	height: auto;
	object-fit: contain;
}

.edz-login-brand .edz-brand-mark {
	width: 48px;
	height: 48px;
}

.edz-login-brand strong,
.edz-login-brand span {
	display: block;
}

.edz-login-brand strong {
	font-size: 18px;
}

.edz-login-brand span {
	color: #9eb8cc;
	font-size: 12px;
	letter-spacing: 1.6px;
	text-transform: uppercase;
}

.edz-login-copy {
	position: relative;
	z-index: 1;
	max-width: 590px;
	margin: auto 0;
	padding: 80px 0;
}

.edz-login-copy .edz-eyebrow {
	color: #54c5d8;
}

.edz-login-copy h1 {
	max-width: 570px;
	margin: 0;
	color: #fff;
	font-size: clamp(38px, 4.4vw, 60px);
	line-height: 1.07;
	letter-spacing: -1.8px;
}

.edz-login-copy > p {
	max-width: 540px;
	margin: 22px 0 31px;
	color: #bad0df;
	font-size: 16px;
	line-height: 1.7;
}

.edz-login-benefits {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.edz-login-benefits > div {
	min-width: 0;
	padding: 14px;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 13px;
	background: rgba(255, 255, 255, .055);
}

.edz-login-benefits span {
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	margin-bottom: 9px;
	border-radius: 9px;
	color: #56c6d9;
	background: rgba(86, 198, 217, .12);
}

.edz-login-benefits svg {
	width: 17px;
	height: 17px;
}

.edz-login-benefits strong {
	display: block;
	color: #e9f1f6;
	font-size: 12px;
	line-height: 1.35;
}

.edz-login-help {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	color: #9eb4c6;
	font-size: 12px;
}

.edz-login-form-side {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 50px clamp(34px, 7vw, 105px) 28px;
	background:
		radial-gradient(circle at 100% 0, #f1f7ff, transparent 32%),
		#fff;
}

.edz-login-box {
	width: min(410px, 100%);
}

.edz-login-mobile-brand {
	display: none;
	margin-bottom: 45px;
	color: var(--edz-navy);
}

.edz-login-mobile-brand img {
	width: 38px;
	height: 38px;
	object-fit: contain;
}

.edz-login-form-side h2 {
	margin: 0;
	font-size: 33px;
	letter-spacing: -.8px;
}

.edz-login-box > p {
	margin: 10px 0 29px;
	color: var(--edz-muted);
}

.edz-login-form {
	display: grid;
	gap: 17px;
}

.edz-login-form > label {
	display: grid;
	gap: 7px;
	color: var(--edz-ink);
	font-size: 12px;
	font-weight: 750;
}

.edz-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.edz-input-wrap > svg {
	position: absolute;
	left: 14px;
	width: 18px;
	height: 18px;
	color: #8797aa;
	pointer-events: none;
}

.edz-input-wrap input {
	width: 100%;
	height: 50px;
	padding: 0 48px 0 43px;
	border: 1px solid #dce3eb;
	border-radius: 12px;
	background: #fbfcfe;
	color: var(--edz-ink);
	outline: none;
	font: 14px/1 inherit;
	transition: .16s ease;
}

.edz-input-wrap input:focus {
	border-color: #5b91d8;
	background: #fff;
	box-shadow: 0 0 0 4px #edf4ff;
}

.edz-password-toggle {
	position: absolute;
	right: 12px;
	border: 0;
	background: transparent;
	color: var(--edz-blue);
	cursor: pointer;
	font: 700 12px/1 inherit;
}

.edz-login-options {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: -2px;
	font-size: 12px;
}

.edz-login-options a {
	color: var(--edz-blue);
	font-weight: 700;
	text-decoration: none;
}

.edz-reset-password-open {
	padding: 3px 0;
	border: 0;
	background: transparent;
	color: var(--edz-blue);
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.edz-check {
	display: flex;
	align-items: center;
	gap: 7px;
	color: var(--edz-muted);
}

.edz-check input {
	accent-color: var(--edz-blue);
}

.edz-login-submit {
	width: 100%;
	height: 50px;
	margin-top: 3px;
	font-size: 13px;
}

.edz-login-submit:disabled {
	opacity: .65;
	cursor: wait;
}

.edz-login-error {
	min-height: 0;
	color: var(--edz-red);
	font-size: 12px;
}

.edz-login-error:empty {
	display: none;
}

.edz-login-security {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 24px;
	padding-top: 19px;
	border-top: 1px solid var(--edz-line);
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-login-security svg {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	color: var(--edz-green);
}

.edz-login-form-side footer {
	margin-top: auto;
	padding-top: 45px;
	color: #9aa7b6;
	font-size: 12px;
}

/* Accessibility controls */
.edz-skip-link {
	position: fixed;
	z-index: 1000000;
	top: 10px;
	left: 10px;
	padding: 12px 16px;
	border-radius: 9px;
	background: #fff;
	color: #082c50;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
	font-weight: 800;
	transform: translateY(-150%);
}

.edz-skip-link:focus {
	transform: translateY(0);
}

/* Domyślny tekst nie może być mniejszy niż czytelne minimum. */
.edz-app :is(p, label, input, select, textarea, button, a, td, th, dt, dd) {
	font-size: max(14px, 1em);
}

.edz-app :is(small, span, time) {
	font-size: max(13px, 1em);
}

.edz-accessibility-toggle {
	position: fixed;
	z-index: 95000;
	right: 22px;
	bottom: 86px;
	display: flex;
	align-items: center;
	gap: 8px;
	width: 52px;
	height: 52px;
	min-height: 52px;
	justify-content: center;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 999px;
	background: #17395f;
	color: #fff;
	box-shadow: 0 10px 28px rgba(12, 39, 69, .3);
	cursor: pointer;
	font: 12px var(--edz-font-ui);
	font-weight: 800;
}

.edz-accessibility-toggle > span {
	display: none;
}

.edz-accessibility-toggle svg {
	width: 22px;
	height: 22px;
}

.edz-accessibility-toggle:focus-visible,
.edz-accessibility-panel button:focus-visible,
.edz-accessibility-panel input:focus-visible,
.edz-app button:focus-visible,
.edz-app a:focus-visible {
	outline: 3px solid #f5c95b;
	outline-offset: 3px;
}

.edz-accessibility-panel {
	position: fixed;
	z-index: 96000;
	right: 22px;
	bottom: 150px;
	width: min(390px, calc(100vw - 30px));
	max-height: min(720px, calc(100vh - 105px));
	overflow-y: auto;
	border: 1px solid var(--edz-line);
	border-radius: 19px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(8, 29, 50, .3);
	transform: translateY(14px) scale(.97);
	opacity: 0;
	pointer-events: none;
	transition: .2s ease;
	font-family: var(--edz-font-ui);
}

.edz-accessibility-panel.is-open {
	transform: translateY(0) scale(1);
	opacity: 1;
	pointer-events: auto;
}

.edz-accessibility-panel > header {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 18px;
	border-bottom: 1px solid var(--edz-line);
	background: #17395f;
	color: #fff;
}

.edz-accessibility-panel > header > div {
	display: flex;
	align-items: center;
	gap: 10px;
}

.edz-accessibility-panel > header svg {
	width: 26px;
	height: 26px;
}

.edz-accessibility-panel > header strong,
.edz-accessibility-panel > header span {
	display: block;
}

.edz-accessibility-panel > header strong {
	font-size: 14px;
}

.edz-accessibility-panel > header span {
	color: #c5d5e3;
	font-size: 12px;
}

.edz-accessibility-close {
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 9px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	cursor: pointer;
	font-size: 22px;
}

.edz-accessibility-body {
	padding: 4px 18px;
}

.edz-accessibility-body section {
	padding: 16px 0;
	border-bottom: 1px solid #edf1f5;
}

.edz-accessibility-body h2 {
	margin: 0 0 10px;
	font-size: 12px;
}

.edz-accessibility-body section > p {
	margin: -4px 0 10px;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-a11y-text-options {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 7px;
}

.edz-a11y-text-options button {
	min-height: 62px;
	padding: 8px;
	border: 1px solid var(--edz-line);
	border-radius: 10px;
	background: #f8fafc;
	color: var(--edz-ink);
	cursor: pointer;
	font: 16px var(--edz-font-ui);
	font-weight: 800;
}

.edz-a11y-text-options button span {
	display: block;
	margin-top: 3px;
	font-size: 12px;
	font-weight: 700;
}

.edz-a11y-text-options button.is-active {
	border-color: var(--edz-blue);
	background: #eaf2ff;
	color: var(--edz-blue);
}

.edz-a11y-switch {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 40px;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	cursor: pointer;
}

.edz-a11y-switch > span strong,
.edz-a11y-switch > span small {
	display: block;
}

.edz-a11y-switch > span strong {
	font-size: 12px;
}

.edz-a11y-switch > span small {
	margin-top: 2px;
	color: var(--edz-muted);
	font-size: 12px;
}

.edz-a11y-switch input {
	position: absolute;
	opacity: 0;
}

.edz-a11y-switch > i {
	position: relative;
	width: 38px;
	height: 22px;
	border-radius: 999px;
	background: #c9d2dc;
}

.edz-a11y-switch > i::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	transition: .2s ease;
}

.edz-a11y-switch input:checked + i {
	background: var(--edz-blue);
}

.edz-a11y-switch input:checked + i::after {
	transform: translateX(16px);
}

.edz-a11y-read-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.edz-accessibility-panel > footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 13px 18px;
	background: #f7f9fc;
}

.edz-accessibility-panel > footer span {
	color: var(--edz-muted);
	font-size: 12px;
}

body.edz-a11y-text-large .edz-app :is(p, small, span, label, a, button, input, textarea, select, td, th, dt, dd) {
	font-size: max(16px, 1em) !important;
}

body.edz-a11y-text-large .edz-calendar-event strong,
body.edz-a11y-text-large .edz-app h3 {
	font-size: 16px !important;
}

body.edz-a11y-text-xlarge .edz-app :is(p, small, span, label, a, button, input, textarea, select, td, th, dt, dd) {
	font-size: max(19px, 1em) !important;
}

body.edz-a11y-text-xlarge .edz-calendar-event strong,
body.edz-a11y-text-xlarge .edz-app h3 {
	font-size: 19px !important;
}

.edz-app [data-office-detail],
.edz-app .edz-live-chat-toggle small {
	font-size: 12px !important;
}

.edz-app :is(
	small,
	.edz-card-head p,
	.edz-welcome p,
	.edz-topbar-title span,
	.edz-profile-mini span,
	.edz-stat span,
	.edz-task span,
	.edz-class-info p,
	.edz-login-box > p,
	.edz-login-security,
	.edz-accessibility-panel p,
	.edz-a11y-switch small,
	.edz-accessibility-panel > footer span
) {
	font-size: 12px !important;
}

.edz-view[data-view-panel="programs"] .edz-welcome p {
	font-size: 14px !important;
	line-height: 1.5;
}

.edz-view[data-view-panel="programs"] .edz-groups-card .edz-empty-state > span {
	font-size: 13px;
	line-height: 1.5;
}

body.edz-a11y-text-large .edz-app :is(small, .edz-card-head p, .edz-welcome p, .edz-topbar-title span, .edz-profile-mini span, .edz-stat span, .edz-task span, .edz-class-info p, .edz-login-box > p, .edz-login-security, [data-office-detail]) {
	font-size: 14px !important;
}

body.edz-a11y-text-xlarge .edz-app :is(small, .edz-card-head p, .edz-welcome p, .edz-topbar-title span, .edz-profile-mini span, .edz-stat span, .edz-task span, .edz-class-info p, .edz-login-box > p, .edz-login-security, [data-office-detail]) {
	font-size: 16px !important;
}

body.edz-a11y-text-large .edz-content,
body.edz-a11y-text-xlarge .edz-content {
	line-height: 1.65;
}

body.edz-a11y-reading .edz-app {
	--edz-shadow: none;
}

body.edz-a11y-reading .edz-card,
body.edz-a11y-reading .edz-hero {
	box-shadow: none !important;
	background-image: none !important;
}

body.edz-a11y-reading .edz-app :is(p, li, td, dd, .edz-message) {
	line-height: 1.9 !important;
	letter-spacing: .02em;
}

body.edz-a11y-underline-links .edz-app a,
body.edz-a11y-underline-links .edz-app .edz-action-link,
body.edz-a11y-underline-links .edz-app [data-go] {
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

body.edz-a11y-high-contrast {
	--edz-ink: #000;
	--edz-muted: #1d2935;
	--edz-line: #101010;
	--edz-bg: #fff;
	--edz-card: #fff;
	--edz-navy: #000;
	--edz-blue: #003fcc;
	--edz-green: #006b3c;
	--edz-amber: #7a4500;
	--edz-red: #a00016;
}

body.edz-a11y-high-contrast .edz-sidebar,
body.edz-a11y-high-contrast .edz-login-visual,
body.edz-a11y-high-contrast .edz-chat-head {
	background: #000 !important;
}

body.edz-a11y-high-contrast .edz-card,
body.edz-a11y-high-contrast .edz-topbar,
body.edz-a11y-high-contrast .edz-calendar-scroll,
body.edz-a11y-high-contrast .edz-modal {
	border-color: #000 !important;
	box-shadow: none !important;
}

body.edz-a11y-high-contrast .edz-chip,
body.edz-a11y-high-contrast .edz-btn {
	border: 2px solid currentColor;
}

body.edz-a11y-high-contrast .edz-accessibility-panel,
body.edz-a11y-high-contrast .edz-accessibility-panel > header,
body.edz-a11y-high-contrast .edz-accessibility-panel > footer,
body.edz-a11y-high-contrast .edz-accessibility-body,
body.edz-a11y-high-contrast .edz-accessibility-body section {
	border-color: #fff !important;
	background: #000 !important;
	color: #fff !important;
}

body.edz-a11y-high-contrast .edz-accessibility-panel :is(h2, p, strong, span, small),
body.edz-a11y-high-contrast .edz-accessibility-panel > footer span {
	color: #fff !important;
}

body.edz-a11y-high-contrast .edz-a11y-text-options button,
body.edz-a11y-high-contrast .edz-a11y-read-actions button,
body.edz-a11y-high-contrast .edz-a11y-reset {
	border: 2px solid #fff !important;
	background: #000 !important;
	color: #fff !important;
}

body.edz-a11y-high-contrast .edz-a11y-text-options button.is-active {
	border-color: #ffe45c !important;
	color: #ffe45c !important;
}

body.edz-a11y-high-contrast .edz-a11y-switch > i {
	border: 2px solid #fff;
	background: #333;
}

body.edz-a11y-high-contrast .edz-a11y-switch input:checked + i {
	background: #ffe45c;
}

body.edz-a11y-reduce-motion *,
body.edz-a11y-reduce-motion *::before,
body.edz-a11y-reduce-motion *::after {
	scroll-behavior: auto !important;
	animation: none !important;
	transition: none !important;
}

@media (max-width: 1050px) {
	.edz-shell { grid-template-columns: 82px minmax(0, 1fr); }
	.edz-sidebar { padding-inline: 12px; }
	.edz-brand { justify-content: center; padding-inline: 0; }
	.edz-brand div:last-child,
	.edz-nav button span,
	.edz-sidebar-foot { display: none; }
	.edz-nav button { justify-content: center; }
	.edz-stats { grid-template-columns: repeat(2, 1fr); }
	.edz-grid { grid-template-columns: 1fr; }
	.edz-dashboard-support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.edz-login-page { grid-template-columns: .9fr 1.1fr; }
	.edz-login-visual { padding-inline: 38px; }
	.edz-login-benefits { grid-template-columns: 1fr; max-width: 280px; }
	.edz-login-benefits > div { display: flex; align-items: center; gap: 10px; }
	.edz-login-benefits span { margin-bottom: 0; }
	.edz-payment-summary-grid { grid-template-columns: repeat(2, 1fr); }
	.edz-document-summary { grid-template-columns: repeat(3, 1fr); }
	.edz-student-summary { grid-template-columns: repeat(3, 1fr); }
	.edz-student-profile-layout { grid-template-columns: 210px minmax(0, 1fr); }
	.edz-office-settings { grid-template-columns: 1fr; }
	.edz-office-settings-actions { grid-column: auto; }
	.edz-student-payments-grid { grid-template-columns: 1fr; }
	.edz-student-payment-side { grid-template-columns: repeat(2, 1fr); }
	.edz-next-payment-banner { grid-template-columns: minmax(190px, .8fr) minmax(260px, 1.2fr); }
	.edz-next-payment-banner > .edz-btn { grid-column: 1 / -1; justify-self: end; }
	.edz-contact-layout { grid-template-columns: 230px minmax(0, 1fr); }
}

@media (max-width: 760px) {
	.edz-shell { display: block; }
	.edz-sidebar {
		position: fixed;
		z-index: 1000;
		top: auto;
		bottom: 0;
		width: 100%;
		height: 68px;
		display: block;
		padding: 8px 10px;
	}
	.edz-brand,
	.edz-sidebar-foot { display: none; }
	.edz-nav { display: flex; gap: 4px; overflow-x: auto; }
	.edz-nav button,
	.edz-nav button:nth-child(n+6) { min-width: 72px; min-height: 50px; display: grid; grid-template-rows: 21px auto; place-items: center; gap: 2px; flex: 0 0 72px; padding: 5px 4px; }
	.edz-nav button span { display: block; width: 100%; overflow: hidden; font-size: 12px; line-height: 15px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
	.edz-topbar { height: 65px; padding: 0 17px; }
	.edz-topbar-title span,
	.edz-profile-mini div:last-child { display: none; }
	.edz-content { padding: 21px 15px 95px; }
	.edz-welcome { align-items: flex-start; }
	.edz-welcome .edz-btn { display: none; }
	.edz-view[data-view-panel="students"] .edz-welcome .edz-btn,
	.edz-view[data-view-panel="materials"] .edz-welcome .edz-btn,
	.edz-view[data-view-panel="profile"] .edz-welcome .edz-btn { display: inline-flex; width: 100%; margin-top: 12px; }
	.edz-hero { grid-template-columns: 1fr; padding: 22px; }
	.edz-hero-status { justify-self: start; }
	.edz-identity { align-items: flex-start; }
	.edz-identity .edz-avatar { width: 58px; height: 58px; border-radius: 16px; }
	.edz-stats { grid-template-columns: 1fr 1fr; }
	.edz-stat { padding: 13px; }
	.edz-module { grid-template-columns: 34px minmax(0, 1fr); }
	.edz-module .edz-chip { grid-column: 2; justify-self: start; }
	.edz-payment-actions { grid-template-columns: 1fr; }
	.edz-card-head { align-items: flex-start; }
	.edz-schedule-actions { align-items: flex-end; flex-direction: column-reverse; }
	.edz-week-view-body { padding-inline: 10px; }
	.edz-week-calendar { grid-template-columns: 56px repeat(7, 132px); min-width: 980px; }
	.edz-dashboard-calendar-compact .edz-week-calendar { grid-template-columns: 52px repeat(7, minmax(0, 1fr)); min-width: 0; }
	.edz-dashboard-calendar-compact .edz-calendar-corner,
	.edz-dashboard-calendar-compact .edz-calendar-day-head { height: 54px; }
	.edz-dashboard-calendar-compact .edz-calendar-event { left: 2px; right: 2px; padding: 5px 3px; }
	.edz-dashboard-calendar-compact .edz-calendar-event span,
	.edz-dashboard-calendar-compact .edz-calendar-event small,
	.edz-dashboard-calendar-compact .edz-calendar-event a { display: none; }
	.edz-dashboard-calendar-compact .edz-calendar-event strong,
	.edz-dashboard-calendar-compact .edz-calendar-event time { font-size: 12px; }
	.edz-admin-preview-switch span { display: none; }
	.edz-admin-preview-switch { width: 40px; padding: 0; justify-content: center; }
	.edz-admin-preview-banner { margin: 12px 15px 0; }
	.edz-dashboard-support-grid { grid-template-columns: 1fr; }
	.edz-class-item { grid-template-columns: 48px minmax(0, 1fr); }
	.edz-class-item .edz-class-link,
	.edz-class-item > .edz-chip:last-child { grid-column: 2; justify-self: start; }
	.edz-form-grid { grid-template-columns: 1fr; }
	.edz-form-grid label.wide { grid-column: auto; }
	.edz-payment-summary-grid { grid-template-columns: 1fr 1fr; }
	.edz-student-payment-summary { grid-template-columns: 1fr; }
	.edz-next-payment-banner { grid-template-columns: 1fr; gap: 18px; }
	.edz-next-payment-banner > .edz-btn { grid-column: auto; width: 100%; }
	.edz-student-payment-side { grid-template-columns: 1fr; }
	.edz-student-installment { grid-template-columns: 34px minmax(0, 1fr); }
	.edz-student-installment-amount,
	.edz-student-installment > .edz-chip,
	.edz-student-installment > .edz-btn,
	.edz-student-installment > .edz-action-link,
	.edz-student-installment > .edz-installment-wait { grid-column: 2; justify-self: start; }
	.edz-student-installment > .edz-btn { width: 100%; }
	.edz-contact-layout { grid-template-columns: 1fr; }
	.edz-contact-sidebar { grid-template-columns: 1fr; }
	.edz-contact-messages { height: 360px; padding: 16px 12px; }
	.edz-contact-message { max-width: 92%; }
	.edz-contact-conversation-head { grid-template-columns: 40px minmax(0, 1fr); }
	.edz-contact-conversation-head > .edz-chip { grid-column: 2; justify-self: start; }
	.edz-contact-compose > div { align-items: stretch; flex-direction: column; }
	.edz-contact-compose > div > .edz-btn { width: 100%; margin-left: 0; }
	.edz-document-summary { grid-template-columns: 1fr; }
	.edz-student-summary { grid-template-columns: 1fr; }
	.edz-student-profile-layout { grid-template-columns: 1fr; }
	.edz-student-profile-card { position: static; }
	.edz-profile-data-grid { grid-template-columns: 1fr; padding-inline: 12px; }
	.edz-profile-field.is-wide { grid-column: auto; }
	.edz-office-day { grid-template-columns: 1fr 1fr; }
	.edz-office-day-toggle { grid-column: 1 / -1; }
	.edz-office-day > small { justify-self: end; }
	.edz-office-holiday { grid-template-columns: 1fr 34px; }
	.edz-office-holiday label:first-child { grid-column: 1 / -1; }
	.edz-office-settings-actions { align-items: stretch; flex-direction: column; }
	.edz-office-settings-actions .edz-btn { width: 100%; }
	.edz-payment-toolbar { align-items: stretch; flex-direction: column; }
	.edz-payment-toolbar select { width: 100%; }
	.edz-installment-overview { grid-template-columns: 1fr; }
	.edz-installment-row { grid-template-columns: 34px minmax(0, 1fr); }
	.edz-installment-row > strong,
	.edz-installment-row > .edz-chip { grid-column: 2; justify-self: start; }
	.edz-document-toolbar { align-items: stretch; flex-direction: column; }
	.edz-document-toolbar .edz-payment-search { max-width: none; }
	.edz-document-toolbar > span { margin-left: 0; }
	.edz-library-item {
		grid-template-columns: 1fr;
		grid-template-areas: "primary" "meta" "side" "actions";
		gap: 13px;
	}
	.edz-library-meta { grid-template-columns: 1fr; }
	.edz-library-side { align-items: flex-start; }
	.edz-library-actions { justify-content: stretch; }
	.edz-library-actions .edz-btn { flex: 1; }
	.edz-student-document { grid-template-columns: 41px minmax(0, 1fr); }
	.edz-student-document .edz-btn { grid-column: 2; width: 100%; }
	.edz-form-section { padding-inline: 18px; }
	.edz-form-section .edz-form-grid { grid-template-columns: 1fr; }
	.edz-account-invitation { margin-inline: 18px; }
	.edz-student-form-head,
	.edz-student-form-actions { padding-inline: 18px; }
	.edz-staff-banner { grid-template-columns: 1fr 1fr; }
	.edz-staff-banner > :first-child { grid-column: 1 / -1; }
	.edz-queue { grid-template-columns: 1fr; }
	.edz-chat-panel { right: 15px; bottom: 198px; }
	.edz-live-chat-toggle { right: 12px; bottom: 80px; width: auto; min-height: 48px; padding: 10px 14px; justify-content: center; }
	.edz-live-chat-toggle > span { display: block; }
	.edz-live-chat-toggle > span small { display: none; }
	.edz-accessibility-toggle { right: 12px; bottom: 138px; width: 48px; height: 48px; padding: 0; justify-content: center; }
	.edz-accessibility-toggle span { display: none; }
	.edz-accessibility-panel { right: 15px; bottom: 196px; max-height: calc(100vh - 218px); }
	.edz-notification-panel { top: 58px; right: 15px; }
	.edz-login-page { display: block; min-height: 100vh; }
	.edz-login-visual { display: none; }
	.edz-login-form-side { min-height: 100vh; padding: 35px 24px 24px; }
	.edz-login-mobile-brand { display: flex; }
	.edz-login-mobile-brand .edz-brand-mark { width: 42px; height: 42px; color: #fff; }
	.edz-login-form-side footer { margin-top: 60px; }
}
