.ete-dashboard {
	margin: 0 0 1.5rem;
}

.ete-dashboard__container {
	max-width: 960px;
	margin: 0 auto;
	padding: 1.25rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	box-sizing: border-box;
}

.ete-dashboard__notice {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border-radius: 6px;
	border-left: 4px solid #1e73be;
	background: #f0f6fc;
	color: #1a3a5a;
}

.ete-dashboard__notice p {
	margin: 0;
}

.ete-dashboard__notice--admin {
	border-left-color: #646970;
	background: #f6f7f7;
}

.ete-dashboard__notice--error {
	border-left-color: #b32d2e;
	background: #fcf0f1;
	color: #1a3a5a;
}

.ete-dashboard__header {
	margin: 0 0 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #e2e8f0;
}

.ete-dashboard__header p {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.4;
	font-weight: 600;
	color: #1a3a5a;
}

.ete-dashboard__title {
	margin: 0;
	font-size: 1.5rem;
	line-height: 1.3;
	font-weight: 700;
	color: #1a3a5a;
}

.ete-dashboard__lead {
	margin: 0.35rem 0 0;
	font-size: 1rem;
	line-height: 1.45;
	font-weight: 400;
	color: #575760;
}

.ete-dashboard__modules {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 0 0 1.25rem;
}

.ete-dashboard__module {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	min-height: 0;
	padding: 1.1rem 1.25rem;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
	box-sizing: border-box;
}

.ete-dashboard__module--admin {
	border-color: #94a3b8;
	background: #f8fafc;
}

.ete-dashboard__module-title {
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.35;
	font-weight: 700;
	color: #1a3a5a;
}

.ete-dashboard__module-desc {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: #575760;
}

.ete-dashboard__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.35rem;
}

.ete-dashboard__button--disabled {
	color: #64748b;
	background: #e2e8f0;
	border-color: #cbd5e1;
	cursor: default;
	pointer-events: none;
}

.ete-dashboard__status {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #f8fafc;
}

.ete-dashboard__status p {
	margin: 0;
	font-size: 0.9375rem;
	color: #575760;
}

.ete-dashboard__limits {
	margin: 0 0 1.25rem;
	padding: 1rem 1.25rem;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #f8fafc;
}

.ete-dashboard__limits p {
	margin: 0 0 0.75rem;
	font-weight: 600;
	color: #1a3a5a;
}

.ete-dashboard__limits ul {
	margin: 0;
	padding-left: 1.25rem;
	color: #575760;
}

.ete-dashboard__limits li {
	margin: 0 0 0.35rem;
}

.ete-dashboard__limits li:last-child {
	margin-bottom: 0;
}

.ete-dashboard__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 0 0 1.25rem;
}

.ete-dashboard__card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.35rem;
	min-height: 88px;
	padding: 1rem 1.25rem;
	border: 1px solid #1e73be;
	border-radius: 8px;
	background: #fff;
	color: #1a3a5a;
	text-decoration: none;
	box-sizing: border-box;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.ete-dashboard__card span {
	display: block;
}

.ete-dashboard__card span:first-child {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
}

.ete-dashboard__card span + span {
	font-size: 0.8125rem;
	color: #575760;
}

.ete-dashboard__card:hover,
.ete-dashboard__card:focus {
	background: #f0f6fc;
	border-color: #185a96;
	color: #1a3a5a;
	text-decoration: none;
}

.ete-dashboard__card:focus-visible {
	outline: 2px solid #1a3a5a;
	outline-offset: 2px;
}

.ete-dashboard__card--disabled {
	border-style: dashed;
	border-color: #cbd5e1;
	background: #f8fafc;
	color: #575760;
	opacity: 0.95;
	cursor: default;
}

.ete-dashboard__card--disabled span + span {
	color: #646970;
}

.ete-dashboard__button {
	display: inline-block;
	padding: 0.55rem 1rem;
	min-height: 44px;
	box-sizing: border-box;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background: #1e73be;
	border: 1px solid #1e73be;
	border-radius: 6px;
}

.ete-dashboard__button:hover,
.ete-dashboard__button:focus {
	color: #fff;
	background: #185a96;
	border-color: #185a96;
	text-decoration: none;
}

.ete-dashboard__button:focus-visible {
	outline: 2px solid #1a3a5a;
	outline-offset: 2px;
}

.ete-plan-admin .ete-po-admin__table-wrap {
	margin: 0.75rem 0 1rem;
	overflow-x: auto;
}

.ete-plan-admin .ete-po-admin__filters {
	margin-bottom: 0.75rem;
}

.ete-plan-admin .ete-po-admin__dl {
	margin: 0.5rem 0 1rem;
}

/* Platform Owner Home only: uppercase titles and balanced 3+2 desktop grid. */
.ete-dashboard--owner-home .ete-dashboard__module-title {
	text-transform: uppercase;
}

@media (min-width: 901px) {
	.ete-dashboard--owner-home .ete-dashboard__modules {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 1rem;
	}

	.ete-dashboard--owner-home .ete-dashboard__module {
		flex: 0 0 calc((100% - 2rem) / 3);
		max-width: calc((100% - 2rem) / 3);
	}
}

@media (max-width: 768px) {
	.ete-dashboard__container {
		padding: 1rem;
	}

	.ete-dashboard__grid {
		grid-template-columns: 1fr;
	}

	.ete-dashboard__modules {
		grid-template-columns: 1fr;
	}

	.ete-dashboard__card {
		min-height: 72px;
	}

	.ete-dashboard__header p,
	.ete-dashboard__title {
		font-size: 1.125rem;
	}
}

.ete-teacher-section__back {
	margin: 0.5rem 0 1rem;
}

.ete-teacher-section__back a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #1e73be;
	font-weight: 600;
	text-decoration: none;
}

.ete-teacher-section__back a:hover,
.ete-teacher-section__back a:focus {
	text-decoration: underline;
}

.ete-teacher-section__back a:focus-visible {
	outline: 2px solid #1a3a5a;
	outline-offset: 2px;
}
