:root,
.mdk-site {
	--mdk-green: #0b6b3a;
	--mdk-deep: #073b30;
	--mdk-gold: #c98b17;
	--mdk-cream: #fffaf0;
	--mdk-ink: #17211c;
	--mdk-muted: #5c6b63;
	--mdk-border: #d9e2dc;
	--mdk-panel: #ffffff;
	--mdk-maroon: #8b1e1e;
	--mdk-blue: #14285f;
}

.mdk-site,
.mdk-students-block,
.mdk-form-wrap,
.mdk-single-student,
.mdk-donation,
.mdk-app {
	color: var(--mdk-ink);
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.55;
}

.mdk-site *,
.mdk-site *::before,
.mdk-site *::after,
.mdk-students-block *,
.mdk-students-block *::before,
.mdk-students-block *::after,
.mdk-form-wrap *,
.mdk-form-wrap *::before,
.mdk-form-wrap *::after,
.mdk-single-student *,
.mdk-single-student *::before,
.mdk-single-student *::after,
.mdk-donation *,
.mdk-donation *::before,
.mdk-donation *::after,
.mdk-app *,
.mdk-app *::before,
.mdk-app *::after {
	box-sizing: border-box;
}

.mdk-template,
.mdk-site {
	width: 100%;
}

.mdk-hero {
	align-items: stretch;
	background: var(--mdk-deep);
	color: #fff;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
	margin: 0 auto 32px;
	min-height: 560px;
	overflow: hidden;
	width: 100%;
}

.mdk-hero__content,
.mdk-hero__visual {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 56px;
}

.mdk-hero__content {
	max-width: 760px;
}

.mdk-eyebrow {
	color: var(--mdk-gold);
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: 0;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.mdk-hero h1,
.mdk-section__header h1,
.mdk-section__header h2,
.mdk-donation h2,
.mdk-single-student h1 {
	color: inherit;
	font-size: 3rem;
	font-weight: 850;
	letter-spacing: 0;
	line-height: 1.08;
	margin: 0;
}

.mdk-hero__lead {
	color: #eaf4ee;
	font-size: 1.15rem;
	margin: 22px 0 0;
	max-width: 680px;
}

.mdk-hero__actions,
.mdk-form-actions,
.mdk-student-card__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.mdk-button {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 8px;
	cursor: pointer;
	display: inline-flex;
	font-size: .96rem;
	font-weight: 800;
	justify-content: center;
	line-height: 1.2;
	min-height: 44px;
	padding: 12px 18px;
	text-align: center;
	text-decoration: none;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease;
	white-space: normal;
}

.mdk-button--primary {
	background: var(--mdk-gold);
	color: #16130b;
}

.mdk-button--primary:hover,
.mdk-button--primary:focus {
	background: #f0b33f;
	color: #16130b;
}

.mdk-button--secondary {
	background: #fff;
	border-color: var(--mdk-border);
	color: var(--mdk-deep);
}

.mdk-button--secondary:hover,
.mdk-button--secondary:focus {
	background: #edf7f1;
	color: var(--mdk-deep);
}

.mdk-button--muted {
	background: #eef2ef;
	color: #536158;
}

.mdk-button:disabled,
.mdk-button[disabled] {
	cursor: wait;
	opacity: .72;
}

.mdk-hero__visual {
	background: #f8f1df;
	color: var(--mdk-deep);
	gap: 28px;
	text-align: center;
}

.mdk-hero__visual img {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 24px 50px rgba(0, 0, 0, .18);
	display: block;
	height: auto;
	margin: 0 auto;
	max-height: 220px;
	max-width: 100%;
	object-fit: contain;
	padding: 18px;
	width: min(520px, 100%);
}

.mdk-hero__pledge {
	border-top: 4px solid var(--mdk-gold);
	padding-top: 24px;
}

.mdk-hero__pledge span {
	display: block;
	font-size: 3rem;
	font-weight: 950;
	line-height: 1;
}

.mdk-hero__pledge strong {
	color: var(--mdk-maroon);
	display: block;
	font-size: 1.35rem;
	line-height: 1.25;
	margin-top: 12px;
	text-transform: uppercase;
}

.mdk-band {
	margin: 0 auto;
	width: min(1160px, calc(100% - 32px));
}

.mdk-band--stats {
	background: var(--mdk-blue);
	border-radius: 8px;
	color: #fff;
	display: grid;
	gap: 1px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	overflow: hidden;
}

.mdk-stat {
	background: rgba(255, 255, 255, .08);
	padding: 24px;
}

.mdk-stat strong {
	display: block;
	font-size: 1.8rem;
	line-height: 1.1;
}

.mdk-stat span {
	color: #dce5ff;
	display: block;
	font-weight: 700;
	margin-top: 6px;
}

.mdk-section {
	margin: 0 auto;
	padding: 56px 0;
	width: min(1160px, calc(100% - 32px));
}

.mdk-section--tint {
	background: var(--mdk-cream);
	padding-left: 24px;
	padding-right: 24px;
	width: 100%;
}

.mdk-section--tint > .mdk-section__header,
.mdk-section--tint > .mdk-students-block {
	margin-left: auto;
	margin-right: auto;
	max-width: 1160px;
}

.mdk-section__header {
	margin-bottom: 28px;
	max-width: 760px;
}

.mdk-section__header h2,
.mdk-donation h2 {
	font-size: 2.15rem;
}

.mdk-section__header p:not(.mdk-eyebrow),
.mdk-split p,
.mdk-panel p {
	color: var(--mdk-muted);
	margin: 12px 0 0;
}

.mdk-fee-grid,
.mdk-student-grid,
.mdk-dashboard-grid,
.mdk-donation-grid {
	display: grid;
	gap: 18px;
}

.mdk-fee-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mdk-fee-card,
.mdk-student-card,
.mdk-panel,
.mdk-donation-panel,
.mdk-empty,
.mdk-form {
	background: var(--mdk-panel);
	border: 1px solid var(--mdk-border);
	border-radius: 8px;
	box-shadow: 0 16px 32px rgba(25, 47, 36, .08);
}

.mdk-fee-card {
	border-top: 8px solid var(--mdk-green);
	padding: 24px;
}

.mdk-fee-card--magenta {
	border-top-color: #9b3b8f;
}

.mdk-fee-card--teal {
	border-top-color: #26838b;
}

.mdk-fee-card > div {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 20px;
}

.mdk-fee-card span {
	color: var(--mdk-muted);
	font-size: .78rem;
	font-weight: 900;
	text-transform: uppercase;
}

.mdk-fee-card strong {
	color: var(--mdk-green);
	font-size: 2.6rem;
	line-height: 1;
}

.mdk-fee-card h3,
.mdk-panel h3,
.mdk-donation-panel h3,
.mdk-student-card h3 {
	font-size: 1.25rem;
	line-height: 1.2;
	margin: 0 0 10px;
}

.mdk-fee-card p {
	color: var(--mdk-muted);
	margin: 0 0 18px;
}

.mdk-fee-card ul,
.mdk-check-list,
.mdk-summary-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mdk-fee-card li,
.mdk-check-list li {
	border-top: 1px solid var(--mdk-border);
	font-weight: 750;
	padding: 10px 0;
}

.mdk-student-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mdk-student-card {
	border-color: #cfded5;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
}

.mdk-student-card__image {
	aspect-ratio: 1 / 1;
	background: #eef4ef;
	position: relative;
}

.mdk-student-card__image img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.mdk-student-card--private .mdk-student-card__image img,
.mdk-single-student--private .mdk-single-student__media img {
	filter: blur(16px);
	transform: scale(1.05);
}

.mdk-student-card__image img[src*="madarsa-logo"] {
	object-fit: contain;
	padding: 34px;
}

.mdk-badge {
	background: var(--mdk-green);
	border-radius: 8px;
	color: #fff;
	font-size: .78rem;
	font-weight: 850;
	left: 14px;
	line-height: 1.2;
	max-width: calc(100% - 28px);
	padding: 8px 10px;
	position: absolute;
	top: 14px;
}

.mdk-status-adopted .mdk-badge {
	background: var(--mdk-blue);
}

.mdk-status-farigh .mdk-badge {
	background: var(--mdk-maroon);
}

.mdk-student-privacy-badge {
	background: rgba(7, 59, 48, .88);
	border-radius: 8px;
	bottom: 14px;
	color: #fff;
	font-size: .78rem;
	font-weight: 850;
	left: 14px;
	line-height: 1.2;
	max-width: calc(100% - 28px);
	padding: 8px 10px;
	position: absolute;
}

.mdk-student-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px;
}

.mdk-student-card__support {
	align-items: center;
	background: #f8f2df;
	border: 1px solid #ead6a6;
	border-radius: 8px;
	display: grid;
	gap: 2px 10px;
	grid-template-columns: minmax(0, 1fr) auto;
	margin: 0 0 12px;
	padding: 12px;
}

.mdk-student-card__support span,
.mdk-student-card__support small {
	color: var(--mdk-muted);
	font-size: .72rem;
	font-weight: 850;
	text-transform: uppercase;
}

.mdk-student-card__support strong {
	color: var(--mdk-deep);
	font-size: 1.28rem;
	line-height: 1;
}

.mdk-student-card__support small {
	grid-column: 1 / -1;
	text-transform: none;
}

.mdk-student-facts {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 12px 0 0;
}

.mdk-student-facts div,
.mdk-donation-panel dl div {
	min-width: 0;
}

.mdk-student-facts div {
	background: #f8fbf9;
	border: 1px solid #e1ebe5;
	border-radius: 8px;
	padding: 10px;
}

.mdk-student-facts dt,
.mdk-donation-panel dt {
	color: var(--mdk-muted);
	font-size: .7rem;
	font-weight: 850;
	line-height: 1.15;
	text-transform: uppercase;
}

.mdk-student-facts dd,
.mdk-donation-panel dd {
	color: var(--mdk-ink);
	font-weight: 760;
	line-height: 1.25;
	margin: 2px 0 0;
	overflow-wrap: anywhere;
}

.mdk-progress-note {
	background: #f4f7f5;
	border-left: 4px solid var(--mdk-gold);
	color: var(--mdk-muted);
	margin: 16px 0 0;
	padding: 12px;
}

.mdk-student-private-note {
	background: #f4f7f5;
	border: 1px solid var(--mdk-border);
	border-radius: 8px;
	color: var(--mdk-muted);
	font-weight: 750;
	margin: 12px 0 0;
	padding: 12px;
}

.mdk-student-detail-access-form {
	background: #f8fbf9;
	border: 1px solid var(--mdk-border);
	border-radius: 8px;
	margin: 16px 0 20px;
	padding: 16px;
}

.mdk-student-card__actions {
	margin-top: auto;
	padding-top: 18px;
}

.mdk-filter {
	align-items: end;
	background: #f8fbf9;
	border: 1px solid #cfded5;
	border-left: 4px solid var(--mdk-gold);
	border-radius: 8px;
	box-shadow: 0 12px 24px rgba(25, 47, 36, .06);
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(220px, 1.35fr) minmax(130px, .8fr) minmax(160px, 1fr) minmax(160px, 1fr) auto;
	margin: 0 0 20px;
	padding: 12px;
}

.mdk-filter label,
.mdk-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.mdk-filter label {
	min-width: 0;
}

.mdk-filter span,
.mdk-form span {
	color: var(--mdk-muted);
	font-size: .78rem;
	font-weight: 850;
	text-transform: uppercase;
}

.mdk-filter span {
	color: var(--mdk-deep);
	font-size: .68rem;
	line-height: 1.1;
}

.mdk-filter select,
.mdk-filter input[type="search"],
.mdk-form input,
.mdk-form select,
.mdk-form textarea {
	background: #fff;
	border: 1px solid var(--mdk-border);
	border-radius: 8px;
	color: var(--mdk-ink);
	font: inherit;
	min-height: 44px;
	padding: 10px 12px;
	width: 100%;
}

.mdk-filter select,
.mdk-filter input[type="search"] {
	font-size: .95rem;
	font-weight: 750;
	min-height: 42px;
}

.mdk-filter select {
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23073b30' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-position: calc(100% - 12px) 50%;
	background-repeat: no-repeat;
	background-size: 16px 16px;
	padding: 9px 36px 9px 12px;
}

.mdk-filter select:focus,
.mdk-filter input[type="search"]:focus {
	border-color: var(--mdk-green);
	box-shadow: 0 0 0 3px rgba(11, 107, 58, .14);
	outline: 0;
}

.mdk-filter__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mdk-filter .mdk-button {
	min-height: 42px;
	padding: 10px 18px;
	white-space: nowrap;
	width: auto;
}

.mdk-filter .mdk-button.mdk-button--primary,
.mdk-site .mdk-filter .mdk-button.mdk-button--primary {
	background: var(--mdk-gold, #c98b17);
	background-color: var(--mdk-gold, #c98b17);
	border-color: var(--mdk-gold, #c98b17);
	box-shadow: 0 8px 18px rgba(201, 139, 23, .24);
	color: #16130b;
}

.mdk-filter .mdk-button.mdk-button--primary:hover,
.mdk-filter .mdk-button.mdk-button--primary:focus,
.mdk-site .mdk-filter .mdk-button.mdk-button--primary:hover,
.mdk-site .mdk-filter .mdk-button.mdk-button--primary:focus {
	background: #f0b33f;
	background-color: #f0b33f;
	color: #16130b;
}

.mdk-empty {
	padding: 28px;
	text-align: center;
}

.mdk-empty h3 {
	margin: 0 0 8px;
}

.mdk-empty p {
	color: var(--mdk-muted);
	margin: 0;
}

.mdk-split {
	align-items: center;
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr);
}

.mdk-panel {
	padding: 24px;
}

.mdk-panel--compact {
	box-shadow: none;
}

.mdk-dashboard-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 28px;
}

.mdk-summary-list li {
	align-items: center;
	border-top: 1px solid var(--mdk-border);
	display: flex;
	justify-content: space-between;
	padding: 12px 0;
}

.mdk-summary-list span {
	color: var(--mdk-muted);
}

.mdk-summary-list strong {
	font-size: 1.3rem;
}

.mdk-donation {
	background: var(--mdk-deep);
	color: #fff;
	margin: 0;
	padding: 56px max(16px, calc((100% - 1160px) / 2));
}

.mdk-donation-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 24px;
}

.mdk-donation-panel {
	background: #fff;
	color: var(--mdk-ink);
	padding: 24px;
}

.mdk-donation-panel dl {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
}

.mdk-form-wrap {
	margin: 0 auto;
	max-width: 980px;
	padding: 48px 16px;
}

.mdk-form {
	padding: 24px;
}

.mdk-form.mdk-admission-form {
	overflow: hidden;
	padding: 0;
}

.mdk-form--embedded {
	box-shadow: none;
	padding: 0;
}

.mdk-form-status {
	background: #f4f8f5;
	color: var(--mdk-deep);
	font-weight: 800;
	min-height: 0;
	padding: 0 24px;
}

.mdk-form-status:not(:empty) {
	border-bottom: 1px solid var(--mdk-border);
	padding-bottom: 14px;
	padding-top: 14px;
}

.mdk-form-section {
	border-top: 1px solid var(--mdk-border);
	padding: 24px;
}

.mdk-form-status + .mdk-form-section {
	border-top: 0;
}

.mdk-form-section__heading {
	align-items: center;
	display: flex;
	gap: 14px;
	justify-content: space-between;
	margin-bottom: 16px;
}

.mdk-form-section__heading h3 {
	color: var(--mdk-deep);
	font-size: 1.16rem;
	line-height: 1.25;
	margin: 0;
}

.mdk-form-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mdk-form > label {
	margin-top: 16px;
}

.mdk-admission-form .mdk-form-section > label + label {
	margin-top: 16px;
}

.mdk-form-footer {
	background: #fbfcfb;
	border-top: 1px solid var(--mdk-border);
	padding: 20px 24px 24px;
}

.mdk-honeypot {
	left: -9999px;
	position: absolute;
}

.mdk-notice {
	border-radius: 8px;
	font-weight: 750;
	margin: 0 0 18px;
	padding: 14px 16px;
}

.mdk-notice--success {
	background: #e7f6ed;
	color: #0b6b3a;
}

.mdk-notice--error {
	background: #ffe8e8;
	color: #8b1e1e;
}

.mdk-notice--application {
	display: grid;
	gap: 10px;
}

.mdk-notice--application > strong {
	font-size: 1.08rem;
}

.mdk-notice--application > span {
	color: #25543a;
}

.mdk-application-id {
	align-items: center;
	background: #fff;
	border: 1px solid #b7ddc5;
	border-radius: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	justify-content: space-between;
	margin-top: 4px;
	padding: 12px 14px;
}

.mdk-application-id span {
	color: var(--mdk-muted);
	font-size: .78rem;
	font-weight: 850;
	text-transform: uppercase;
}

.mdk-application-id strong {
	color: var(--mdk-deep);
	font-size: 1.35rem;
}

.mdk-notice__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 6px;
}

.mdk-single-student {
	display: grid;
	gap: 32px;
	grid-template-columns: minmax(280px, .8fr) minmax(0, 1fr);
	margin: 0 auto;
	padding: 48px 16px;
	width: min(1160px, 100%);
}

.mdk-single-student__media {
	aspect-ratio: 1 / 1;
	background: #eef4ef;
	border-radius: 8px;
	overflow: hidden;
	position: relative;
}

.mdk-single-student__media img {
	display: block;
	height: 100%;
	min-height: 0;
	object-fit: cover;
	width: 100%;
}

.mdk-single-student__media img[src*="madarsa-logo"] {
	object-fit: contain;
	padding: 44px;
}

.mdk-single-student__content {
	align-self: center;
}

.mdk-student-facts--large {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 24px 0;
}

.mdk-content {
	color: var(--mdk-muted);
}

.mdk-qr-image {
	background: #fff;
	border: 1px solid var(--mdk-border);
	border-radius: 8px;
	display: block;
	margin-top: 16px;
	max-width: 220px;
	padding: 10px;
}

.mdk-razorpay-box {
	background: #fff8e7;
	border: 1px solid #ebd3a0;
	border-radius: 8px;
	margin: 0 0 18px;
	padding: 16px;
}

.mdk-razorpay-status {
	color: var(--mdk-muted);
	font-weight: 750;
	margin: 10px 0 0;
}

.mdk-app {
	background: #eef4ef;
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	min-height: calc(100vh - 80px);
}

.mdk-app-sidebar {
	background: #073b30;
	color: #fff;
	padding: 22px;
}

.mdk-app-brand {
	align-items: center;
	display: flex;
	gap: 12px;
	margin-bottom: 22px;
}

.mdk-app-brand img {
	background: #fff;
	border-radius: 8px;
	height: 52px;
	object-fit: contain;
	padding: 4px;
	width: 52px;
}

.mdk-app-brand strong,
.mdk-app-brand span {
	display: block;
}

.mdk-app-brand span {
	font-size: .85rem;
	opacity: .76;
}

.mdk-app-nav {
	display: grid;
	gap: 8px;
}

.mdk-app-nav a {
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 8px;
	color: #fff;
	font-weight: 800;
	padding: 11px 12px;
	text-decoration: none;
}

.mdk-app-nav a:hover,
.mdk-app-nav a:focus,
.mdk-app-nav a.is-active {
	background: var(--mdk-gold);
	color: #16130b;
}

.mdk-app-main {
	min-width: 0;
	padding: 24px;
}

.mdk-app-topbar {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 20px;
}

.mdk-app-topbar h2 {
	color: var(--mdk-deep);
	font-size: 1.9rem;
	margin: 0;
}

.mdk-app-user {
	text-align: right;
}

.mdk-app-user span {
	color: var(--mdk-muted);
	display: block;
	font-weight: 700;
}

.mdk-app-metrics {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 18px;
}

.mdk-app-metric {
	background: #fff;
	border: 1px solid var(--mdk-border);
	border-radius: 8px;
	box-shadow: 0 12px 24px rgba(25, 47, 36, .08);
	padding: 18px;
}

.mdk-app-metric span {
	color: var(--mdk-muted);
	display: block;
	font-weight: 800;
}

.mdk-app-metric strong {
	display: block;
	font-size: 1.8rem;
	margin-top: 6px;
}

.mdk-app-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 18px;
}

.mdk-app-table-wrap {
	overflow-x: auto;
}

.mdk-app-table {
	border-collapse: collapse;
	min-width: 680px;
	width: 100%;
}

.mdk-app-table th,
.mdk-app-table td {
	border-bottom: 1px solid var(--mdk-border);
	padding: 12px;
	text-align: left;
	vertical-align: top;
}

.mdk-app-table th {
	color: var(--mdk-muted);
	font-size: .78rem;
	text-transform: uppercase;
}

.mdk-app-table td span {
	color: var(--mdk-muted);
	display: block;
	font-size: .86rem;
	margin-top: 3px;
}

@media (max-width: 980px) {
	.mdk-hero,
	.mdk-split,
	.mdk-single-student {
		grid-template-columns: 1fr;
	}

	.mdk-hero {
		min-height: 0;
	}

	.mdk-hero__content,
	.mdk-hero__visual {
		padding: 36px 24px;
	}

	.mdk-fee-grid,
	.mdk-student-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mdk-band--stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mdk-form-wrap {
		padding-top: 32px;
	}
}

@media (max-width: 680px) {
	.mdk-site {
		font-size: .96rem;
		max-width: 100%;
		overflow-x: hidden;
	}

	.mdk-theme-main .mdk-theme-page,
	.mdk-theme-main .mdk-theme-entry,
	.mdk-theme-main .mdk-theme-entry > .mdk-site {
		min-width: 0;
		max-width: 100%;
	}

	.mdk-theme-main .mdk-theme-page {
		overflow: hidden;
	}

	.mdk-hero h1,
	.mdk-section__header h1,
	.mdk-section__header h2,
	.mdk-donation h2,
	.mdk-single-student h1 {
		font-size: clamp(1.65rem, 8vw, 2rem);
		overflow-wrap: anywhere;
	}

	.mdk-hero__pledge span {
		font-size: clamp(1.9rem, 9vw, 2.2rem);
		overflow-wrap: anywhere;
	}

	.mdk-hero,
	.mdk-hero__content,
	.mdk-hero__visual,
	.mdk-section,
	.mdk-section__header,
	.mdk-band,
	.mdk-form-wrap,
	.mdk-form,
	.mdk-form-section,
	.mdk-form-footer,
	.mdk-student-card,
	.mdk-single-student,
	.mdk-single-student__content,
	.mdk-donation-panel {
		min-width: 0;
		max-width: 100%;
	}

	.mdk-hero {
		width: 100%;
	}

	.mdk-hero__content,
	.mdk-hero__visual,
	.mdk-panel,
	.mdk-donation-panel,
	.mdk-form,
	.mdk-student-card__body,
	.mdk-fee-card {
		padding: 18px;
	}

	.mdk-hero__lead,
	.mdk-section__header p,
	.mdk-panel p,
	.mdk-fee-card p,
	.mdk-donation-panel dd,
	.mdk-student-card h3 {
		overflow-wrap: anywhere;
	}

	.mdk-hero__visual img {
		width: 100%;
	}

	.mdk-form-wrap {
		padding-left: 0;
		padding-right: 0;
	}

	.mdk-form-section__heading,
	.mdk-application-id {
		align-items: flex-start;
		flex-direction: column;
	}

	.mdk-button {
		max-width: 100%;
		width: 100%;
	}

	.mdk-form-actions,
	.mdk-hero__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.mdk-form-section,
	.mdk-form-footer {
		padding: 18px;
	}

	.mdk-form-status {
		padding-left: 18px;
		padding-right: 18px;
	}

	.mdk-notice__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.mdk-fee-grid,
	.mdk-student-grid,
	.mdk-dashboard-grid,
	.mdk-donation-grid,
	.mdk-form-grid,
	.mdk-donation-panel dl,
	.mdk-app-nav,
	.mdk-app-metrics {
		grid-template-columns: 1fr;
	}

	.mdk-filter {
		align-items: stretch;
		gap: 10px;
		grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
		margin-bottom: 16px;
		padding: 12px;
	}

	.mdk-filter__search,
	.mdk-filter__actions {
		grid-column: 1 / -1;
	}

	.mdk-filter select,
	.mdk-filter input[type="search"] {
		font-size: .84rem;
		min-height: 42px;
	}

	.mdk-filter__actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mdk-filter .mdk-button {
		width: 100%;
	}

	.mdk-student-grid {
		gap: 14px;
	}

	.mdk-student-card__image,
	.mdk-single-student__media {
		aspect-ratio: 4 / 3;
	}

	.mdk-student-card__image img,
	.mdk-single-student__media img {
		object-position: center 28%;
	}

	.mdk-student-card__body {
		padding: 14px;
	}

	.mdk-student-card h3 {
		font-size: 1.15rem;
		margin-bottom: 10px;
	}

	.mdk-student-card__support {
		margin-bottom: 10px;
		padding: 10px 12px;
	}

	.mdk-student-card__support strong {
		font-size: 1.18rem;
	}

	.mdk-student-facts,
	.mdk-student-facts--large {
		gap: 8px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mdk-student-facts div {
		padding: 9px;
	}

	.mdk-student-facts dt {
		font-size: .63rem;
	}

	.mdk-student-facts dd {
		font-size: .87rem;
	}

	.mdk-student-card__actions {
		align-items: stretch;
		display: grid;
		gap: 8px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-top: 14px;
		padding-top: 0;
	}

	.mdk-student-card__actions .mdk-button {
		font-size: .86rem;
		min-width: 0;
		padding: 10px 8px;
		width: auto;
	}

	.mdk-section {
		padding: 40px 0;
	}

	.mdk-band,
	.mdk-section:not(.mdk-section--tint),
	.mdk-single-student {
		width: min(100%, calc(100vw - 24px));
	}

	.mdk-section--tint {
		padding-left: 16px;
		padding-right: 16px;
	}

	.mdk-band--stats {
		grid-template-columns: 1fr;
	}

	.mdk-single-student__media img {
		min-height: 0;
	}

	.mdk-donation {
		padding-bottom: 40px;
		padding-top: 40px;
	}
}

@media (max-width: 380px) {
	.mdk-filter {
		grid-template-columns: 1fr;
	}

	.mdk-filter__actions {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 900px) {
	.mdk-app {
		grid-template-columns: 1fr;
	}

	.mdk-app-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mdk-app-main {
		padding: 18px;
	}

	.mdk-app-metrics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mdk-app-topbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.mdk-app-user {
		text-align: left;
	}
}

@media (max-width: 560px) {
	.mdk-app-nav,
	.mdk-app-metrics {
		grid-template-columns: 1fr;
	}

	.mdk-app-main {
		padding: 14px;
	}

	.mdk-app-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.mdk-app-table {
		min-width: 560px;
	}
}
