.mprm {
	--mprm-ink: #111111;
	--mprm-muted: #666666;
	--mprm-brand: #111111;
	--mprm-brand-dark: #000000;
	--mprm-surface: #f7f7f7;
	--mprm-line: #e2e2e2;
	--mprm-white: #ffffff;
	color: var(--mprm-ink);
	font-family: inherit;
	margin: 0 auto;
	max-width: 1180px;
	padding: 48px 22px 64px;
}

.mprm *,
.mprm *::before,
.mprm *::after {
	box-sizing: border-box;
}

.mprm__intro {
	max-width: 760px;
	margin-bottom: 24px;
}

.mprm__eyebrow {
	color: var(--mprm-muted);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .12em;
	margin: 0 0 8px;
}

.mprm__intro h2 {
	color: var(--mprm-ink);
	font-size: clamp(30px, 4vw, 48px);
	line-height: 1.08;
	margin: 0 0 14px;
}

.mprm__intro > p:last-child {
	color: var(--mprm-muted);
	font-size: 18px;
	line-height: 1.6;
	margin: 0;
}

.mprm__notice {
	align-items: flex-start;
	background: #f5f7fa;
	border: 1px solid #dfe4ea;
	border-radius: 14px;
	display: flex;
	gap: 12px;
	margin: 0 0 24px;
	padding: 15px 18px;
}

.mprm__notice-icon {
	align-items: center;
	background: var(--mprm-brand);
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	flex: 0 0 24px;
	font-size: 14px;
	font-weight: 800;
	height: 24px;
	justify-content: center;
}

.mprm__notice p {
	color: #4f5963;
	font-size: 14px;
	line-height: 1.55;
	margin: 0;
}

.mprm__filters {
	background: var(--mprm-surface);
	border: 1px solid var(--mprm-line);
	border-radius: 20px;
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding: 22px;
}

.mprm__field {
	min-width: 0;
}

.mprm__field--search {
	grid-column: span 2;
}

.mprm__field label {
	color: var(--mprm-ink);
	display: block;
	font-size: 13px;
	font-weight: 750;
	margin: 0 0 7px;
}

.mprm__field input,
.mprm__field select {
	appearance: none;
	background: var(--mprm-white);
	border: 1px solid #cfcfcf;
	border-radius: 10px;
	color: var(--mprm-ink);
	font: inherit;
	height: 46px;
	padding: 0 13px;
	width: 100%;
}

.mprm__field select {
	background-image:
		linear-gradient(45deg, transparent 50%, var(--mprm-brand-dark) 50%),
		linear-gradient(135deg, var(--mprm-brand-dark) 50%, transparent 50%);
	background-position:
		calc(100% - 18px) 19px,
		calc(100% - 13px) 19px;
	background-repeat: no-repeat;
	background-size: 5px 5px, 5px 5px;
	padding-right: 34px;
}

.mprm__field input:focus,
.mprm__field select:focus,
.mprm__clear:focus,
.mprm__more:focus,
.mprm__cta:focus {
	outline: 3px solid rgba(0, 0, 0, .15);
	outline-offset: 2px;
}

.mprm__clear {
	align-self: end;
	background: transparent;
	border: 0;
	color: var(--mprm-brand-dark) !important;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 750;
	justify-self: start;
	padding: 12px 0;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mprm__status {
	color: var(--mprm-muted);
	font-size: 15px;
	font-weight: 650;
	margin: 24px 0 14px;
}

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

.mprm__card {
	background: var(--mprm-white);
	border: 1px solid var(--mprm-line);
	border-radius: 16px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, .07);
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 20px;
}

.mprm__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0 0 13px;
}

.mprm__badge {
	background: #f0f0f0;
	border-radius: 999px;
	color: var(--mprm-brand-dark);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .04em;
	padding: 5px 9px;
	text-transform: uppercase;
}

.mprm__card h3 {
	color: var(--mprm-ink);
	font-size: 19px;
	line-height: 1.3;
	margin: 0 0 7px;
	overflow-wrap: anywhere;
}

.mprm__specialty {
	color: var(--mprm-brand-dark);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
	margin: 0 0 13px;
}

.mprm__details {
	display: grid;
	gap: 10px;
	margin-top: auto;
}

.mprm__detail {
	border-top: 1px solid #edf2f2;
	padding-top: 10px;
}

.mprm__detail dt {
	color: var(--mprm-muted);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .06em;
	margin: 0 0 3px;
	text-transform: uppercase;
}

.mprm__detail dd {
	color: var(--mprm-ink);
	font-size: 13px;
	line-height: 1.45;
	margin: 0;
	overflow-wrap: anywhere;
}

.mprm__detail a {
	color: var(--mprm-brand-dark);
	font-weight: 700;
}

.mprm__record {
	color: #86949d;
	font-size: 11px;
	margin: 14px 0 0;
}

.mprm__more-wrap {
	text-align: center;
}

.mprm__more[hidden] {
	display: none !important;
}

.mprm__more,
.mprm__cta {
	background: var(--mprm-brand);
	border: 0;
	border-radius: 13px;
	color: #fff !important;
	cursor: pointer;
	display: inline-block;
	font: inherit;
	font-size: 15px;
	font-weight: 800;
	margin-top: 24px;
	padding: 13px 22px;
	text-decoration: none !important;
}

.mprm__more:hover,
.mprm__cta:hover {
	background: var(--mprm-brand-dark);
	color: #fff;
}

.mprm__empty {
	background: var(--mprm-surface);
	border-radius: 16px;
	margin-top: 18px;
	padding: 28px;
	text-align: center;
}

.mprm__empty h3 {
	font-size: 20px;
	margin: 0 0 8px;
}

.mprm__empty p {
	color: var(--mprm-muted);
	margin: 0;
}

.mprm__footer {
	align-items: center;
	border-top: 1px solid var(--mprm-line);
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin-top: 34px;
	padding-top: 22px;
}

.mprm__footer p {
	color: var(--mprm-muted);
	font-size: 12px;
	line-height: 1.5;
	margin: 0;
	max-width: 640px;
}

.mprm__cta--secondary {
	flex: 0 0 auto;
	margin: 0;
}

@media (max-width: 900px) {
	.mprm__filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

@media (max-width: 620px) {
	.mprm {
		padding: 34px 14px 48px;
	}

	.mprm__filters,
	.mprm__results {
		grid-template-columns: 1fr;
	}

	.mprm__field--search {
		grid-column: auto;
	}

	.mprm__filters {
		border-radius: 16px;
		padding: 16px;
	}

	.mprm__footer {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mprm * {
		scroll-behavior: auto !important;
	}
}
