.hmh-spm {
	--hmh-navy: #2e4066;
	--hmh-yellow: #faeb89;
	--hmh-raspberry: #db365e;
	--hmh-ink: #201e28;
	--hmh-surface: #f4f3f0;
	--hmh-line: rgba(46, 64, 102, .22);
	--hmh-serif: "HMH Clearface", "ClearfaceStd-Regular", "Clearface Std", Georgia, serif;
	--hmh-sans: "HMH GT Walsheim", "GT Walsheim", Arial, sans-serif;
	color: var(--hmh-ink);
	font-family: var(--hmh-sans);
	margin-block: 2rem;
}

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

.hmh-spm button,
.hmh-spm input,
.hmh-spm a {
	font: inherit;
}

.hmh-spm [hidden] {
	display: none !important;
}

.hmh-spm__toolbar {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	margin-bottom: 1rem;
}

.hmh-spm__key {
	align-items: center;
	color: var(--hmh-navy);
	display: flex;
	flex-wrap: wrap;
	font-size: .9rem;
	gap: .55rem 1rem;
}

.hmh-spm__key-title {
	font-weight: 800;
}

.hmh-spm__key-item {
	align-items: center;
	display: inline-flex;
	font-weight: 700;
	gap: .4rem;
}

.hmh-spm__key-icon {
	background: var(--hmh-raspberry);
	border: 3px solid #fff;
	border-radius: 999px;
	box-shadow: 0 1px 5px rgba(0, 0, 0, .28);
	display: inline-block;
	flex: 0 0 auto;
	height: 20px;
	width: 20px;
}

.hmh-spm__key-icon--available {
	background: var(--hmh-navy);
}

.hmh-spm__key-icon--coming-soon {
	background: var(--hmh-yellow);
}

.hmh-spm__key-icon--not-available {
	background: var(--hmh-raspberry);
}

.hmh-spm__marker-toggle {
	align-items: center;
	color: var(--hmh-navy);
	cursor: pointer;
	display: inline-flex;
	font-size: .95rem;
	font-weight: 700;
	gap: .55rem;
	justify-content: center;
	line-height: 1.2;
	min-height: 44px;
	text-align: center;
}

.hmh-spm__marker-toggle input {
	accent-color: var(--hmh-raspberry);
	flex: 0 0 auto;
	height: 20px;
	margin: 0;
	width: 20px;
}

.hmh-spm__map-view {
	position: relative;
}

.hmh-spm__viewport {
	background: var(--hmh-surface);
	border-radius: 8px;
	cursor: grab;
	overflow: auto;
	overscroll-behavior: contain;
	touch-action: pan-x pan-y;
}

.hmh-spm__viewport.is-dragging {
	cursor: grabbing;
	user-select: none;
}

.hmh-spm__canvas {
	line-height: 0;
	min-width: 100%;
	position: relative;
	transform-origin: top left;
}

.hmh-spm__canvas img {
	display: block;
	height: auto;
	max-width: none;
	width: 100%;
}

.hmh-spm__marker {
	align-items: center;
	background: var(--hmh-raspberry);
	border: 3px solid #fff;
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: .62rem;
	font-weight: 800;
	height: 24px;
	justify-content: center;
	line-height: 1;
	min-width: 24px;
	padding: 0 .2rem;
	position: absolute;
	transform: translate(-50%, -50%);
	z-index: 2;
}

.hmh-spm__marker--available {
	background: var(--hmh-navy);
}

.hmh-spm__marker--coming-soon {
	background: var(--hmh-yellow);
	color: var(--hmh-navy);
}

.hmh-spm__marker--reserved,
.hmh-spm__marker--sold {
	background: var(--hmh-raspberry);
}

.hmh-spm__marker:hover,
.hmh-spm__marker:focus-visible,
.hmh-spm__marker.is-active {
	box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--hmh-navy);
	font-size: .72rem;
	height: 30px;
	min-width: 30px;
	outline: 0;
	z-index: 4;
}

.hmh-spm__zoom-controls {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	margin-bottom: .6rem;
}

.hmh-spm__zoom-controls button {
	background: #fff;
	border: 1px solid var(--hmh-line);
	border-radius: 6px;
	color: var(--hmh-navy);
	cursor: pointer;
	font-weight: 700;
	min-height: 44px;
	min-width: 44px;
	padding: .4rem .8rem;
}

.hmh-spm__zoom-controls button:hover,
.hmh-spm__zoom-controls button:focus-visible {
	background: var(--hmh-raspberry);
	border-color: var(--hmh-raspberry);
	color: #fff;
	outline: 0;
}

.hmh-spm__zoom-controls svg {
	fill: none;
	height: 20px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	vertical-align: middle;
	width: 20px;
}

.hmh-spm__detail {
	background: #fff;
	border: 1px solid rgba(46, 64, 102, .16);
	border-radius: 3px;
	box-shadow: 0 14px 40px rgba(32, 30, 40, .28);
	max-height: calc(100vh - 96px);
	max-width: 330px;
	overflow: auto;
	padding: 0;
	position: fixed;
	right: 24px;
	top: clamp(48px, 6vh, 64px);
	width: calc(100% - 2rem);
	z-index: 99920;
}

.hmh-spm__detail-image {
	background: var(--hmh-surface);
	height: 170px;
	line-height: 0;
	overflow: hidden;
}

.hmh-spm__detail-image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.hmh-spm__detail-status {
	background: var(--hmh-raspberry);
	border-left: 6px solid var(--hmh-navy);
	color: #fff;
	font-size: .77rem;
	font-weight: 700;
	letter-spacing: .06em;
	margin: 12px 14px 0;
	padding: .55rem .7rem;
	text-transform: uppercase;
}

.hmh-spm__detail-status--available {
	background: var(--hmh-navy);
	border-left-color: var(--hmh-raspberry);
}

.hmh-spm__detail-status--coming-soon {
	background: var(--hmh-yellow);
	border-left-color: var(--hmh-raspberry);
	color: var(--hmh-navy);
}

.hmh-spm__detail-body {
	padding: 12px 14px 16px;
}

.hmh-spm__detail-eyebrow {
	color: var(--hmh-raspberry);
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .06em;
	margin: 0 0 .3rem;
	text-transform: uppercase;
}

.hmh-spm__detail h3 {
	color: var(--hmh-navy);
	font-family: var(--hmh-serif);
	font-size: 1.7rem;
	font-weight: 400;
	line-height: 1.1;
	margin: 0 0 .85rem;
}

.hmh-spm__detail-facts {
	display: grid;
	gap: .55rem;
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.hmh-spm__detail-facts li {
	align-items: center;
	display: grid;
	font-size: .9rem;
	gap: .55rem;
	grid-template-columns: 18px 1fr;
	line-height: 1.35;
}

.hmh-spm__detail-facts svg {
	fill: none;
	height: 18px;
	stroke: var(--hmh-raspberry);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 18px;
}

.hmh-spm__detail-close {
	align-items: center;
	background: #fff;
	border: 0;
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(32, 30, 40, .16);
	color: var(--hmh-navy);
	cursor: pointer;
	display: flex;
	font-size: 1.5rem;
	height: 34px;
	justify-content: center;
	position: absolute;
	right: .5rem;
	top: .5rem;
	width: 34px;
	z-index: 2;
}

.hmh-spm__detail-close:hover,
.hmh-spm__detail-close:focus-visible {
	background: var(--hmh-navy);
	color: #fff;
}

.hmh-spm__link {
	appearance: none;
	background: var(--hmh-navy);
	border: 0;
	border-radius: 0;
	color: #fff !important;
	cursor: pointer;
	display: inline-block;
	font-weight: 700;
	margin-top: .5rem;
	min-height: 44px;
	padding: .75rem 1rem;
	text-align: center;
	text-decoration: none !important;
}

.hmh-spm__detail .hmh-spm__link {
	width: 100%;
}

.hmh-spm__link:hover,
.hmh-spm__link:focus-visible {
	background: var(--hmh-raspberry);
	color: #fff !important;
}

.hmh-spm__alert-backdrop[hidden] {
	display: none !important;
}

.hmh-spm__alert-backdrop {
	align-items: center;
	backdrop-filter: blur(4px);
	background: rgba(32, 30, 40, .7);
	display: flex;
	inset: 0;
	justify-content: center;
	overflow-y: auto;
	padding: 24px;
	position: fixed;
	z-index: 999990;
}

.hmh-spm__alert-dialog {
	background: #fff;
	border-radius: 14px;
	border-top: 6px solid var(--hmh-raspberry);
	box-shadow: 0 30px 80px rgba(0, 0, 0, .34);
	color: var(--hmh-ink);
	max-width: 620px;
	padding: 38px;
	position: relative;
	width: 100%;
}

.hmh-spm__alert-close {
	align-items: center;
	background: var(--hmh-surface);
	border: 0;
	border-radius: 50%;
	color: var(--hmh-navy);
	cursor: pointer;
	display: flex;
	font-size: 1.5rem;
	height: 38px;
	justify-content: center;
	position: absolute;
	right: 16px;
	top: 16px;
	width: 38px;
}

.hmh-spm__alert-close:hover,
.hmh-spm__alert-close:focus-visible {
	background: var(--hmh-navy);
	color: #fff;
}

.hmh-spm__alert-eyebrow {
	color: var(--hmh-raspberry);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .08em;
	margin: 0 48px 8px 0;
	text-transform: uppercase;
}

.hmh-spm__alert-dialog h2 {
	color: var(--hmh-navy);
	font-family: var(--hmh-serif);
	font-size: clamp(1.9rem, 5vw, 2.6rem);
	font-weight: 400;
	line-height: 1.08;
	margin: 0 48px 14px 0;
}

.hmh-spm__alert-intro {
	line-height: 1.55;
	margin: 0 0 24px;
}

.hmh-spm__alert-form {
	display: grid;
	gap: 17px;
}

.hmh-spm__alert-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: 1fr 1fr;
}

.hmh-spm__alert-form label:not(.hmh-spm__alert-consent):not(.hmh-spm__alert-honeypot) {
	color: var(--hmh-navy);
	display: grid;
	font-size: .94rem;
	font-weight: 700;
	gap: 7px;
}

.hmh-spm__alert-form input[type="text"],
.hmh-spm__alert-form input[type="email"] {
	background: #fff;
	border: 1px solid var(--hmh-line);
	border-radius: 8px;
	color: var(--hmh-ink);
	min-height: 48px;
	padding: 10px 13px;
	width: 100%;
}

.hmh-spm__alert-form input:focus {
	border-color: var(--hmh-raspberry);
	outline: 3px solid rgba(219, 54, 94, .17);
}

.hmh-spm__alert-consent {
	align-items: start;
	display: grid;
	font-size: .88rem;
	gap: 11px;
	grid-template-columns: 22px 1fr;
	line-height: 1.5;
}

.hmh-spm__alert-consent input {
	accent-color: var(--hmh-raspberry);
	height: 19px;
	margin: 2px 0 0;
	width: 19px;
}

.hmh-spm__alert-consent a {
	color: var(--hmh-navy);
	font-weight: 700;
}

.hmh-spm__alert-honeypot {
	height: 1px !important;
	left: -10000px !important;
	overflow: hidden !important;
	position: absolute !important;
	width: 1px !important;
}

.hmh-spm__alert-submit {
	background: var(--hmh-raspberry);
	border: 2px solid var(--hmh-raspberry);
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	font-weight: 700;
	justify-self: start;
	min-height: 46px;
	padding: 10px 22px;
}

.hmh-spm__alert-submit:hover,
.hmh-spm__alert-submit:focus-visible {
	background: var(--hmh-navy);
	border-color: var(--hmh-navy);
}

.hmh-spm__alert-submit:disabled {
	cursor: wait;
	opacity: .65;
}

.hmh-spm__alert-message:empty {
	display: none;
}

.hmh-spm__alert-message {
	border-radius: 8px;
	font-size: .94rem;
	line-height: 1.45;
	padding: 12px 14px;
}

.hmh-spm__alert-message.is-success {
	background: #e5f5ec;
	color: #163f2a;
}

.hmh-spm__alert-message.is-error {
	background: #fde8ed;
	border-left: 4px solid var(--hmh-raspberry);
	color: #7e2036;
}

html.hmh-spm-alert-open,
html.hmh-spm-alert-open body {
	overflow: hidden;
}

@media (max-width: 640px) {
	.hmh-spm__detail {
		bottom: .5rem;
		left: .5rem;
		max-height: 80vh;
		max-height: 80dvh;
		max-width: none;
		position: fixed;
		right: .5rem;
		top: auto;
		width: auto;
	}

	.hmh-spm__alert-backdrop {
		align-items: end;
		padding: 0;
	}

	.hmh-spm__alert-dialog {
		border-radius: 14px 14px 0 0;
		max-height: 94vh;
		max-height: 94dvh;
		overflow-y: auto;
		padding: 30px 22px max(28px, env(safe-area-inset-bottom));
	}

	.hmh-spm__alert-grid {
		grid-template-columns: 1fr;
	}

	.hmh-spm__alert-submit {
		width: 100%;
	}
}

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