/*
 * The MLS search page (/homes) and the MLS listing pages (/homes/<mls>-<address>/).
 * Shapes shared with the neighbourhood and listing pages come from layout3.css and layout4.css;
 * this file holds the search bar, the map beside the list, the cards and the listing page.
 */

/* Cards, used by the search, the hotsheets and the similar-homes strip. */
.seymour-mls-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
}
.seymour-mls-card {
	background: var(--white);
	border: 1px solid var(--line);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}
/* A soft gold glow and a small lift on hover (Kaz, October 23, 2026). */
.seymour-mls-card.is-highlighted,
.seymour-mls-card:hover,
.seymour-mls-card:focus-within {
	box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.6), 0 12px 28px rgba(201, 168, 76, 0.28);
	transform: translateY(-4px);
}
@media (prefers-reduced-motion: reduce) {
	.seymour-mls-card { transition: box-shadow 0.25s ease; }
	.seymour-mls-card:hover, .seymour-mls-card.is-highlighted, .seymour-mls-card:focus-within { transform: none; }
}
.seymour-mls-card { position: relative; }
.seymour-mls-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}
.seymour-mls-card__photo {
	position: relative;
	aspect-ratio: 3 / 2;
	background: var(--cream);
	overflow: hidden;
}
/* The photos swipe: a row that snaps a photo at a time, swiped on phones and stepped with the
 * arrows on a computer (search redesign, October 23, 2026). Only the first photo loads with the
 * card; mls-cards.js fills the rest in from data-src as someone starts to look. */
.seymour-mls-card__slides {
	display: flex;
	height: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.seymour-mls-card__slides::-webkit-scrollbar { display: none; }
.seymour-mls-card__slides > * {
	flex: 0 0 100%;
	scroll-snap-align: start;
}
.seymour-mls-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	background: var(--cream);
}
.seymour-mls-card__more {
	display: grid;
	place-items: center;
	background: var(--navy);
	color: var(--white);
	font-family: var(--font-sans);
	font-weight: var(--weight-semibold);
	font-size: var(--fs-meta);
}
.seymour-mls-card__nophoto {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: var(--ink);
	font-size: var(--fs-meta);
}
.seymour-mls-card__tags {
	position: absolute;
	top: 10px;
	left: 10px;
	display: flex;
	gap: 6px;
	pointer-events: none;
}
.seymour-mls-card__status,
.seymour-mls-card__featured,
.seymour-mls-card__count {
	font-family: var(--font-sans);
	font-size: var(--fs-eyebrow);
	font-weight: var(--weight-semibold);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 4px 8px;
}
.seymour-mls-card__status { background: var(--footer-bg); color: var(--white); }
.seymour-mls-card__featured { background: var(--gold); color: var(--navy); }
.seymour-mls-card__count {
	position: absolute;
	bottom: 10px;
	right: 10px;
	background: rgba(0, 0, 0, 0.55);
	color: var(--white);
	pointer-events: none;
}
.seymour-mls-card--closed .seymour-mls-card__status { background: var(--footer-bg); } /* The deep navy, not grey (Kaz, October 26, 2026). */
.seymour-mls-card__open {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 7px 12px;
	border: 0;
	border-top: 1px solid var(--gold);
	background: rgba(30, 58, 95, 0.94);
	color: var(--white);
	font-family: var(--font-sans);
	font-size: var(--fs-meta);
	font-weight: var(--weight-semibold);
	text-align: left;
	cursor: pointer;
	overflow: hidden;
}
.seymour-mls-card__open svg { flex: none; fill: var(--gold); }
.seymour-mls-card__open > span:not(.seymour-mls-card__open-add) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seymour-mls-card__open-add { margin-left: auto; color: var(--gold); font-size: 12px; white-space: nowrap; }
/* The animation (Jethro, October 24, 2026): the band rises in, then a gold sheen crosses it every
 * few seconds. Nothing moves for visitors who ask for less motion. */
.seymour-mls-card__open::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -40%;
	width: 30%;
	background: linear-gradient(100deg, transparent, rgba(201, 168, 76, 0.45), transparent);
	transform: skewX(-20deg);
	animation: seymour-oh-sheen 4.5s ease-in-out 1.2s infinite;
	pointer-events: none;
}
@keyframes seymour-oh-sheen { 0% { left: -40%; } 35%, 100% { left: 130%; } }
@keyframes seymour-oh-rise { from { transform: translateY(100%); } to { transform: translateY(0); } }
.seymour-mls-card__open { animation: seymour-oh-rise 0.5s ease-out both; }
.seymour-mls-card__open:hover, .seymour-mls-card__open:focus-visible { background: var(--navy); }
.seymour-mls-card__open:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) {
	.seymour-mls-card__open, .seymour-mls-card__open::after { animation: none; }
	.seymour-mls-card__open::after { display: none; }
}
/* The choice the band opens: Google Calendar, or Apple and Outlook. */
.seymour-oh-menu {
	position: absolute;
	z-index: 5;
	left: 10px;
	right: 10px;
	bottom: 40px;
	display: grid;
	background: var(--white);
	border-top: 3px solid var(--gold);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.seymour-oh-menu a, .seymour-oh-menu button {
	padding: 10px 14px;
	border: 0;
	background: none;
	color: var(--navy);
	font-family: var(--font-sans);
	font-size: var(--fs-meta);
	font-weight: var(--weight-semibold);
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}
.seymour-oh-menu > * + * { border-top: 1px solid var(--line); }
.seymour-oh-menu a:hover, .seymour-oh-menu button:hover { background: var(--cream); }
.seymour-mls-card__open ~ .seymour-mls-card__count,
.seymour-mls-card__count:has(~ .seymour-mls-card__open) { bottom: 40px; }
.seymour-mls-card__heart {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}
.seymour-mls-card__heart svg {
	fill: rgba(0, 0, 0, 0.25);
	stroke: var(--white);
	stroke-width: 1.8;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
	transition: transform 0.15s ease, fill 0.15s ease;
}
.seymour-mls-card__heart:hover svg,
.seymour-mls-card__heart:focus-visible svg { transform: scale(1.12); }
.seymour-mls-card__heart[aria-pressed="true"] svg { fill: var(--gold); stroke: var(--gold); }
.seymour-mls-card__heart:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.seymour-mls-card__nav {
	position: absolute;
	top: 50%;
	width: 34px;
	height: 34px;
	margin-top: -17px;
	padding: 0 0 3px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--navy);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.2s ease;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.seymour-mls-card__nav--prev { left: 8px; }
.seymour-mls-card__nav--next { right: 8px; }
.seymour-mls-card__nav[hidden] { display: none; }
.seymour-mls-card:hover .seymour-mls-card__nav,
.seymour-mls-card__nav:focus-visible { opacity: 1; }
/* Phones swipe; the arrows only get in the way there. */
@media (hover: none) {
	.seymour-mls-card__nav { display: none; }
}
.seymour-mls-card__body { padding: 14px 16px 16px; }
.seymour-mls-card__price {
	font-family: var(--font-serif);
	font-size: var(--fs-price-card);
	font-weight: var(--weight-semibold);
	color: var(--navy);
	margin: 0 0 4px;
}
.seymour-mls-card__price--gated { color: var(--ink); font-size: var(--fs-meta); font-family: var(--font-sans); }
.seymour-mls-card__address {
	font-family: var(--font-sans);
	font-size: var(--fs-body);
	font-weight: var(--weight-semibold);
	margin: 0 0 4px;
}
.seymour-mls-card__place,
.seymour-mls-card__facts,
.seymour-mls-card__meta {
	font-size: var(--fs-meta);
	margin: 0 0 4px;
	color: var(--ink);
}
.seymour-mls-card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; opacity: 0.8; }

/* The search page. */
.seymour-homes__intro { padding: 32px 0 16px; }
.seymour-homes__title { margin: 0 0 8px; }
.seymour-homes__off { padding: 16px 0 48px; }
.seymour-homes__bar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	padding-block: 12px;
}
.seymour-homes__search { position: relative; flex: 1 1 280px; }
.seymour-homes__search input {
	width: 100%;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid var(--line);
	font-size: var(--fs-body);
}
.seymour-homes__suggest {
	position: absolute;
	z-index: 1001;
	left: 0;
	right: 0;
	top: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.seymour-homes__suggest a { display: block; padding: 8px 12px; text-decoration: none; color: var(--ink); }
.seymour-homes__suggest a span { font-size: var(--fs-eyebrow); letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.6; margin-left: 6px; }
.seymour-homes__suggest-head { padding: 8px 12px 2px; font-size: var(--fs-eyebrow); letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); background: var(--cream); }
.seymour-homes__suggest a:hover { background: var(--cream); }
.seymour-homes__bar select {
	width: auto;
	flex: 0 0 auto;
	padding: 9px 10px;
	border: 1px solid var(--line);
	background: var(--white);
	font-size: var(--fs-meta);
}
.seymour-homes__price { position: relative; }
.seymour-homes__price-toggle {
	background: var(--white);
	border: 1px solid var(--line);
	padding: 9px 10px;
	font-size: var(--fs-meta);
	cursor: pointer;
	color: var(--ink);
}
.seymour-homes__price-toggle span { color: var(--navy); font-weight: var(--weight-semibold); }
.seymour-homes__price-panel {
	position: absolute;
	z-index: 1002;
	top: calc(100% + 6px);
	left: 0;
	width: 340px;
	max-width: calc(100vw - 32px);
	padding: 16px 12px 12px;
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.seymour-homes__price-chart { display: block; width: 100%; height: 64px; color: var(--navy); }
.seymour-homes__price-range { position: relative; height: 24px; margin-top: -2px; }
.seymour-homes__price-range input[type="range"] {
	position: absolute; left: 0; right: 0; top: 0; width: 100%; margin: 0;
	-webkit-appearance: none; appearance: none; background: none; pointer-events: none; height: 24px;
}
.seymour-homes__price-range input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--line); }
.seymour-homes__price-range input[type="range"]::-moz-range-track { height: 2px; background: var(--line); }
.seymour-homes__price-range input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; margin-top: -8px;
	border-radius: 50%; background: var(--gold); border: 2px solid var(--navy); cursor: pointer;
}
.seymour-homes__price-range input[type="range"]::-moz-range-thumb {
	pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); border: 2px solid var(--navy); cursor: pointer;
}
.seymour-homes__price-values { display: flex; justify-content: space-between; font-size: var(--fs-meta); margin: 8px 0 0; }
.seymour-homes__price-values span:first-child, .seymour-homes__price-values span:last-child { font-weight: var(--weight-semibold); color: var(--navy); }

.seymour-homes__draw,
.seymour-homes__clear {
	background: none;
	border: 1px solid var(--navy);
	color: var(--navy);
	padding: 9px 12px;
	font-size: var(--fs-meta);
	cursor: pointer;
}
.seymour-homes__draw[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); }
.seymour-homes__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding-block: 4px 12px; }
.seymour-homes__chip {
	background: var(--white);
	color: var(--navy);
	border: 1px solid var(--navy);
	padding: 6px 12px;
	font-size: var(--fs-meta);
	cursor: pointer;
}
.seymour-homes__chip.is-active { background: var(--footer-bg); color: var(--white); border-color: var(--footer-bg); }
.seymour-homes__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 0;
	min-height: 70vh;
}
.seymour-homes__map {
	position: sticky;
	top: var(--seymour-sticky-top, 0px);
	height: 85vh;
	background: var(--cream);
}
.seymour-homes__map.is-drawing { cursor: crosshair; }
.seymour-homes__list { padding: 16px 24px 48px; min-width: 0; }
.seymour-homes__count { font-size: var(--fs-meta); margin: 0 0 12px; }
.seymour-homes__pages {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: center;
	padding-block: 24px;
	font-size: var(--fs-meta);
}
.seymour-homes__pages button {
	background: var(--footer-bg);
	color: var(--white);
	border: 0;
	width: 36px;
	height: 36px;
	font-size: 20px;
	cursor: pointer;
}
.seymour-homes__pages button:disabled { opacity: 0.3; cursor: default; }
@media (max-width: 899px) {
	.seymour-homes__layout { grid-template-columns: 1fr; }
	.seymour-homes__map { position: static; height: 45vh; }
	.seymour-homes__list { padding: 16px 16px 40px; }
}

/* Clusters from the feed: a navy disc with the count, gold ring on hover. */
.seymour-homes__cluster { background: var(--footer-bg); color: var(--white); border-radius: 50%; display: grid; place-items: center; font-family: var(--font-sans); font-weight: var(--weight-semibold); font-size: 13px; box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.25); cursor: pointer; }
.seymour-homes__cluster:hover { box-shadow: 0 0 0 3px var(--gold); }

/* Our pin (Jethro, October 23, 2026): navy, a gold "SRE", the price in a navy label beside it. */
.seymour-pin-icon { background: none; border: 0; }
.seymour-pin { position: relative; display: block; width: 28px; height: 37px; cursor: pointer; }
.seymour-pin__mark { display: block; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35)); transition: transform 0.15s ease; transform-origin: 50% 100%; }
.seymour-pin__mark path { fill: var(--navy); stroke: var(--gold); stroke-width: 1.5; }
.seymour-pin__mark text { fill: var(--gold); font-family: var(--font-sans); font-size: 9.5px; font-weight: 800; letter-spacing: 0.04em; }
.seymour-pin__price {
	position: absolute;
	left: 24px;
	top: 3px;
	padding: 2px 7px;
	background: var(--navy);
	color: var(--white);
	border: 1px solid var(--gold);
	border-radius: 3px;
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: var(--weight-semibold);
	line-height: 1.35;
	white-space: nowrap;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.seymour-pin-icon:hover .seymour-pin__mark,
.seymour-pin-icon.is-active .seymour-pin__mark { transform: scale(1.2); }
.seymour-pin-icon:hover .seymour-pin__price,
.seymour-pin-icon.is-active .seymour-pin__price { background: var(--gold); color: var(--navy); }
.seymour-pin-units { background: none; border: 0; }
.seymour-pin-units span {
	display: inline-block;
	padding: 3px 9px;
	background: var(--navy);
	color: var(--white);
	border: 1px solid var(--gold);
	border-radius: 14px;
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: var(--weight-semibold);
	white-space: nowrap;
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	transform: translateX(-50%);
}
.seymour-pin-units span:hover { background: var(--gold); color: var(--navy); }

/* Notices, on every page that shows feed data. */
.seymour-mls-notices {
	font-size: var(--fs-meta);
	color: var(--ink);
	opacity: 0.85;
	border-top: 1px solid var(--line);
	margin-top: 24px;
	padding-top: 12px;
}
.seymour-mls-notices p { margin: 0 0 6px; }

/* Hotsheets on the neighbourhood pages. */
.seymour-mls-hotsheet__more { margin: 24px 0 0; }

/* The listing page. */
.seymour-mls-photos__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: 220px 220px;
	gap: 4px;
	position: relative;
}
.seymour-mls-photos__grid[data-count="1"] { grid-template-columns: 1fr; grid-template-rows: 60vh; }
.seymour-mls-photos__item:first-child { grid-row: 1 / 3; }
.seymour-mls-photos__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.seymour-mls-photos__all { position: absolute; right: 16px; bottom: 16px; }
.seymour-mls-gallery[hidden] { display: none; }
.seymour-mls-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 4px; padding: 4px 0; }
.seymour-mls-gallery img { width: 100%; height: auto; display: block; }
@media (max-width: 899px) {
	.seymour-mls-photos__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 120px; }
	.seymour-mls-photos__item:first-child { grid-column: 1 / 3; grid-row: 1; }
	.seymour-mls-photos__item:nth-child(n+4) { display: none; }
}
.seymour-mls-bar { background: var(--navy); color: var(--white); padding-block: 24px; }
.seymour-mls-bar__inner { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 24px; align-items: center; }
.seymour-mls-bar__status { font-size: var(--fs-eyebrow); letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 6px; color: var(--gold); }
.seymour-mls-bar__address { font-family: var(--font-serif); font-size: var(--fs-display); line-height: var(--lh-display); margin: 0; color: var(--white); }
.seymour-mls-bar__place { margin: 6px 0 0; opacity: 0.85; }
.seymour-mls-bar__price { font-family: var(--font-serif); font-size: var(--fs-price); margin: 0; }
.seymour-mls-bar__price--gated a { color: var(--gold); }
.seymour-mls-bar__facts { margin: 6px 0 0; }
.seymour-mls-bar__asks { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.seymour-mls-bar__phone { color: var(--white); text-align: center; font-size: var(--fs-meta); }
@media (max-width: 899px) {
	.seymour-mls-bar__inner { grid-template-columns: 1fr; }
	.seymour-mls-bar__address { font-size: 30px; }
}
.seymour-mls-body { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 48px; padding-block: 40px; }
.seymour-mls-body__main h2 { margin-top: 32px; }
.seymour-mls-body__main h2:first-child { margin-top: 0; }
.seymour-mls-source { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: var(--fs-meta); }
.seymour-mls-facts, .seymour-mls-rooms, .seymour-mls-history { width: 100%; border-collapse: collapse; font-size: var(--fs-meta); }
.seymour-mls-facts caption { text-align: left; font-weight: var(--weight-semibold); padding-bottom: 8px; }
.seymour-mls-facts th, .seymour-mls-facts td, .seymour-mls-rooms th, .seymour-mls-rooms td, .seymour-mls-history th, .seymour-mls-history td {
	text-align: left;
	padding: 8px 8px 8px 0;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}
.seymour-mls-facts th { width: 40%; font-weight: var(--weight-medium); }
.seymour-mls-history tr.is-current td { font-weight: var(--weight-semibold); }
.seymour-mls-history { overflow-x: auto; display: block; }
.seymour-mls-map { height: 320px; background: var(--cream); }
.seymour-mls-gated { margin-top: 32px; padding: 20px; border: 1px solid var(--line); background: var(--cream); }
.seymour-mls-gated h2 { margin-top: 0; }
.seymour-mls-gated__explain { margin: 0 0 8px; }
.seymour-mls-gated__lock { margin: 0; font-size: var(--fs-meta); }
.seymour-mls-gated__tease { position: relative; margin-top: 8px; }
.seymour-mls-history--tease { filter: blur(5px); opacity: 0.55; user-select: none; pointer-events: none; }
.seymour-mls-gated__over {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
	text-align: center;
}
.seymour-mls-gated__over p { margin: 0; font-size: var(--fs-meta); background: rgba(255, 255, 255, 0.85); padding: 2px 8px; }
.seymour-mls-blur { filter: blur(6px); opacity: 0.6; user-select: none; margin-right: 8px; }
.seymour-mls-agent { position: sticky; top: 24px; border: 1px solid var(--line); padding: 20px; }
.seymour-mls-agent__name { font-family: var(--font-serif); font-size: var(--fs-card-title); margin: 0 0 8px; color: var(--navy); }
.seymour-mls-agent p { margin: 0 0 12px; }
@media (max-width: 899px) {
	.seymour-mls-body { grid-template-columns: 1fr; gap: 24px; }
	.seymour-mls-agent { position: static; }
}
.seymour-mls-similar, .seymour-mls-showing { padding-block: 40px; }
.seymour-mls-similar__lead { margin: 0 0 20px; }
.seymour-mls-brokerage { margin: 12px 0 40px; font-size: var(--fs-meta); }

/* Market statistics block (shortcode and the search page drawer). */
.seymour-mls-stats { max-width: 720px; }
.seymour-mls-stats__lead { font-size: var(--fs-lead); margin: 0 0 16px; }
.seymour-mls-stats__table { width: 100%; border-collapse: collapse; font-size: var(--fs-meta); margin: 0 0 16px; }
.seymour-mls-stats__table th, .seymour-mls-stats__table td { text-align: left; padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); }
.seymour-mls-stats__table td:nth-child(2) { font-weight: var(--weight-semibold); color: var(--navy); font-variant-numeric: tabular-nums; }
.seymour-mls-stats__chart { margin: 0 0 12px; }
.seymour-mls-stats__chart svg { display: block; width: 100%; height: 96px; fill: var(--navy); }
.seymour-mls-stats__chart figcaption { font-size: var(--fs-eyebrow); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 6px; }
.seymour-mls-stats__source { font-size: var(--fs-meta); opacity: 0.8; margin: 0; }

/* Market dashboard cards. */
.seymour-mls-dash { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.seymour-mls-dash__card { grid-column: span 2; min-width: 0; }
.seymour-mls-dash__card--wide { grid-column: span 3; }
@media (max-width: 1100px) { .seymour-mls-dash__card, .seymour-mls-dash__card--wide { grid-column: span 3; } }
@media (max-width: 640px) { .seymour-mls-dash__card, .seymour-mls-dash__card--wide { grid-column: span 6; } }
.seymour-mls-dash__card { background: var(--white); border: 1px solid var(--line); padding: 16px 18px; }
.seymour-mls-dash__card h3 { font-family: var(--font-sans); font-size: var(--fs-meta); font-weight: var(--weight-semibold); letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 10px; color: var(--navy); }
.seymour-mls-dash__big { font-family: var(--font-serif); font-size: 44px; color: var(--navy); margin: 0; line-height: 1; font-variant-numeric: tabular-nums; }
.seymour-mls-dash__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seymour-mls-dash__cell { display: grid; gap: 2px; }
.seymour-mls-dash__k { font-size: var(--fs-eyebrow); letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.7; }
.seymour-mls-dash__v { font-family: var(--font-serif); font-size: 20px; color: var(--navy); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; line-height: 1.15; }
.seymour-mls-dash__k { white-space: nowrap; }
.seymour-mls-dash__card--list ol { margin: 0; padding-left: 20px; }
.seymour-mls-dash__card--list li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-meta); }
.seymour-mls-dash__source { grid-column: 1 / -1; font-size: var(--fs-meta); opacity: 0.8; margin: 0; }

/* The market statistics drawer on the search page. */
.seymour-homes__stats { padding-block: 0 12px; }
.seymour-homes__stats-toggle { background: var(--cream); border: 1px solid var(--line); padding: 10px 14px; font-size: var(--fs-meta); cursor: pointer; width: 100%; text-align: left; }
.seymour-homes__stats-toggle span { color: var(--navy); font-weight: var(--weight-semibold); }
.seymour-homes__stats-toggle::after { content: '▾'; float: right; }
.seymour-homes__stats-toggle[aria-expanded="true"]::after { content: '▴'; }
.seymour-homes__stats-panel { padding: 16px 0 4px; }

/* The search runs the full width of the screen from 900 px (Kaz, October 22, 2026): the map on the
 * left half, the homes on the right half, two to a row. The title and the search bar stay in the
 * page's column. */
.seymour-homes-page .site.grid-container {
	max-width: none;
}

.seymour-homes-page .site-content {
	padding-left: 0;
	padding-right: 0;
}

.seymour-homes-page .content-area,
.seymour-homes-page .site-main,
.seymour-homes-page .inside-article {
	margin: 0;
	padding: 0;
	width: 100%;
}

@media (min-width: 900px) {
	.seymour-homes__layout {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		margin-top: var(--space-4);
		width: 100%;
	}

	.seymour-homes__map {
		height: calc(100vh - 90px);
		top: 90px;
	}

	.seymour-homes__list {
		padding: 0 var(--space-6) var(--space-7);
	}

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

/* The top of the search spreads across the screen too (Kaz, October 22, 2026): title, intro,
 * search bar and neighbourhood buttons line up with the map's edges, the bar on one row. */
@media (min-width: 900px) {
	.seymour-homes-page .seymour-homes__intro .seymour-container,
	.seymour-homes-page .seymour-homes__bar.seymour-container,
	.seymour-homes-page .seymour-homes__where.seymour-container,
	.seymour-homes-page .seymour-homes__chips.seymour-container,
	.seymour-homes-page .seymour-homes__stats.seymour-container {
		max-width: none;
		padding-left: var(--space-6);
		padding-right: var(--space-6);
	}

	.seymour-homes-page .seymour-homes__lead {
		max-width: none;
	}

	.seymour-homes-page .seymour-homes__lead p {
		max-width: none;
	}
}

@media (min-width: 1200px) {
	.seymour-homes-page .seymour-homes__bar {
		align-items: stretch;
	}

	.seymour-homes-page .seymour-homes__chips {
		justify-content: flex-start;
	}
}

/* Features: a button like the dropdowns, opening a small panel of checkboxes. */
.seymour-homes__features { position: relative; flex: 0 0 auto; }
.seymour-homes__features-toggle {
	background: var(--white);
	border: 1px solid var(--line);
	color: var(--ink);
	cursor: pointer;
	font-size: var(--fs-meta);
	height: 100%;
	min-height: 40px;
	padding: 9px 12px;
	white-space: nowrap;
}
.seymour-homes__features-panel {
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: 0 12px 28px rgba(10, 22, 40, 0.12);
	left: 0;
	min-width: 240px;
	padding: var(--space-4);
	position: absolute;
	top: calc(100% + 4px);
	z-index: 1000;
}
.seymour-homes__features-panel[hidden] { display: none; }
.seymour-homes__features-title {
	border-bottom: 1px solid var(--line);
	color: var(--navy);
	font-size: var(--fs-eyebrow);
	font-weight: var(--weight-semibold);
	letter-spacing: var(--tracking-eyebrow);
	margin: 0 0 var(--space-3);
	padding-bottom: var(--space-2);
	text-transform: uppercase;
}
.seymour-homes__features-panel label {
	align-items: center;
	display: flex;
	font-size: var(--fs-meta);
	gap: var(--space-2);
	margin: 0 0 var(--space-2);
}
.seymour-homes__features-panel input[type="checkbox"] { height: 18px; margin: 0; width: 18px; }

/* The search bar and neighbourhood buttons stay pinned at the top while the listings scroll,
 * from 900 px (Kaz, October 22, 2026); the map sits under them. Phones scroll them away. */
@media (min-width: 900px) {
	.seymour-homes-page .seymour-homes__controls {
		background: var(--white);
		border-bottom: 1px solid var(--line);
		padding-top: var(--space-3);
		position: sticky;
		top: var(--seymour-sticky-top, 0px);
		z-index: 500;
	}

	/* Under the fixed header (and the toolbar), which --seymour-sticky-top counts (Kaz, October 26, 2026). */
	.admin-bar.seymour-homes-page .seymour-homes__controls {
		top: var(--seymour-sticky-top, 32px);
	}

	.seymour-homes-page .seymour-homes__map {
		height: calc(100vh - var(--seymour-controls-h, 140px));
		top: var(--seymour-controls-h, 140px);
	}
}

/* The headline count and the List / Map and list / Map switch (Jethro, October 23, 2026). */
.seymour-homes__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding: var(--space-4, 16px) var(--space-6, 24px) 0;
}
.seymour-homes__count {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem);
	font-weight: var(--weight-semibold);
	color: var(--navy);
	text-wrap: balance;
}
.seymour-homes__views { display: inline-flex; border: 1px solid var(--navy); }
.seymour-homes__views button {
	padding: 8px 14px;
	border: 0;
	background: var(--white);
	color: var(--navy);
	font-family: var(--font-sans);
	font-size: var(--fs-meta);
	font-weight: var(--weight-semibold);
	cursor: pointer;
}
.seymour-homes__views button + button { border-left: 1px solid var(--navy); }
.seymour-homes__views button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.seymour-homes__views button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.seymour-homes__notices { padding: 0 var(--space-6, 24px) var(--space-6, 24px); }

.seymour-homes[data-view="list"] .seymour-homes__layout,
.seymour-homes[data-view="map"] .seymour-homes__layout { grid-template-columns: minmax(0, 1fr); }
.seymour-homes[data-view="list"] .seymour-homes__map { display: none; }
.seymour-homes[data-view="list"] .seymour-homes__list .seymour-mls-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.seymour-homes[data-view="map"] .seymour-homes__list { display: none; }
.seymour-homes[data-view="map"] .seymour-homes__map { position: relative; top: 0; height: calc(100vh - 160px); min-height: 480px; }

.seymour-homes__flip { display: none; }
@media (max-width: 899px) {
	.seymour-homes__head { padding: 12px 16px 0; }
	.seymour-homes__views { display: none; }
	.seymour-homes__notices { padding: 0 16px 24px; }
	.seymour-homes[data-view="map"] .seymour-homes__map { height: calc(100svh - 140px); min-height: 360px; }
	.seymour-homes__flip {
		display: block;
		position: fixed;
		left: 50%;
		bottom: 20px;
		z-index: 900;
		transform: translateX(-50%);
		padding: 12px 26px;
		border: 1px solid var(--gold);
		border-radius: 24px;
		background: var(--navy);
		color: var(--white);
		font-family: var(--font-sans);
		font-weight: var(--weight-semibold);
		box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
	}
}

/* Hover cards on the map (Jethro, October 23, 2026): one or two homes at a pin, stacked. */
.seymour-pin-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: 4px; border-top: 3px solid var(--gold); }
.seymour-pin-popup .leaflet-popup-content { margin: 0; width: 300px !important; }
.seymour-pin-cards__wait { margin: 0; padding: 14px 16px; font-size: var(--fs-meta); color: var(--ink); }
.seymour-pin-card {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 12px;
	padding: 10px;
	color: inherit;
	text-decoration: none;
}
.seymour-pin-card + .seymour-pin-card { border-top: 1px solid var(--line); }
.seymour-pin-card:hover, .seymour-pin-card:focus-visible { background: var(--cream); }
.seymour-pin-card img, .seymour-pin-card__nophoto { width: 96px; height: 72px; object-fit: cover; display: block; background: var(--cream); }
.seymour-pin-card__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-family: var(--font-sans); }
.seymour-pin-card__price { font-family: var(--font-serif); color: var(--navy); font-size: 17px; }
.seymour-pin-card__address { font-weight: var(--weight-semibold); font-size: 14px; color: var(--ink); }
.seymour-pin-card__facts { font-size: 13px; color: var(--ink); opacity: 0.8; }

/* Days on market beside the price on the cards (Jethro, October 23, 2026). */
.seymour-mls-card__price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
.seymour-mls-card__dom { font-family: var(--font-sans); font-size: var(--fs-meta); font-weight: var(--weight-regular, 400); color: var(--ink); opacity: 0.8; }

/* "Open houses this weekend" in the search bar (Jethro, October 23, 2026). */
.seymour-homes__openhouse { border: 1px solid var(--navy); background: var(--white); color: var(--navy); padding: 0 14px; font-family: var(--font-sans); font-size: var(--fs-meta); font-weight: var(--weight-semibold); cursor: pointer; }
.seymour-homes__openhouse[aria-pressed="true"] { background: var(--navy); color: var(--gold); }


/* Where first (Jethro, October 24, 2026): Neighbourhood, MLS district and MLS community as tick-box
 * lists, then the search box across the rest of the row; the other filters sit on the row below. */
.seymour-homes__where {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: stretch;
	padding-block: 12px 0;
}
.seymour-homes__where .seymour-homes__search { flex: 1 1 320px; min-width: 0; }
.seymour-homes__pick { position: relative; flex: 0 0 auto; }
.seymour-homes__pick-toggle {
	height: 100%;
	min-height: 44px;
	padding: 9px 34px 9px 12px;
	border: 1px solid var(--navy);
	background: var(--white);
	color: var(--navy);
	font-size: var(--fs-meta);
	cursor: pointer;
	position: relative;
	white-space: nowrap;
	max-width: 260px;
	overflow: hidden;
	text-overflow: ellipsis;
}
.seymour-homes__pick-toggle::after {
	content: "";
	position: absolute;
	right: 12px;
	top: 50%;
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
}
.seymour-homes__pick.is-set .seymour-homes__pick-toggle { background: var(--footer-bg); border-color: var(--footer-bg); color: var(--white); }
.seymour-homes__pick-panel {
	position: absolute;
	z-index: 1002;
	top: calc(100% + 4px);
	left: 0;
	width: 320px;
	max-width: calc(100vw - 32px);
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	padding: 10px;
}
.seymour-homes__pick-filter {
	width: 100%;
	margin: 0 0 8px;
	padding: 8px 10px;
	border: 1px solid var(--line);
	font-size: var(--fs-meta);
}
.seymour-homes__pick-list { max-height: 50vh; overflow-y: auto; }
.seymour-homes__pick-list label {
	display: flex;
	gap: 8px;
	align-items: center;
	padding: 5px 4px;
	font-size: var(--fs-meta);
	color: var(--ink);
	cursor: pointer;
}
.seymour-homes__pick-list label:hover { background: var(--cream); }
.seymour-homes__pick-list input[type="checkbox"] { width: 18px; height: 18px; margin: 0; flex: 0 0 auto; accent-color: var(--navy); }
.seymour-homes__pick-group {
	margin: 8px 0 2px;
	padding: 0 4px;
	font-size: var(--fs-eyebrow);
	letter-spacing: 0.08em;
	color: var(--navy);
	font-weight: 600;
}
.seymour-homes__pick-list .seymour-homes__pick-sub { padding-left: 20px; }
.seymour-homes__pick-list [hidden],
.seymour-homes__pick-list .is-filtered { display: none; }
.seymour-homes__pick-actions { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.seymour-homes__pick-clear { background: none; border: 0; color: var(--navy); text-decoration: underline; cursor: pointer; font-size: var(--fs-meta); padding: 0 4px; }
@media (max-width: 599px) {
	.seymour-homes__pick { flex: 1 1 100%; }
	.seymour-homes__pick-toggle { width: 100%; max-width: none; text-align: left; }
	.seymour-homes__pick-panel { width: 100%; }
}

/* Home type, price you can type, walking distance (Jethro, October 24, 2026). The home type list
 * sits beside For sale and looks like the other filters on that row. */
.seymour-homes__pick--plain .seymour-homes__pick-toggle { border-color: var(--line); color: var(--ink); min-height: 0; padding: 9px 30px 9px 10px; }
.seymour-homes__pick--plain.is-set .seymour-homes__pick-toggle { background: var(--footer-bg); border-color: var(--footer-bg); color: var(--white); }
.seymour-homes__price-pick { position: relative; display: flex; flex: 0 0 auto; }
.seymour-homes__price-pick select[hidden] { display: none; }
.seymour-homes__price-custom { display: inline-flex; align-items: stretch; border: 1px solid var(--navy); background: var(--white); }
.seymour-homes__price-custom[hidden] { display: none; }
.seymour-homes__price-custom input { width: 8.5em; margin: 0; padding: 9px 10px; border: 0; font-size: var(--fs-meta); }
.seymour-homes__price-custom button { background: none; border: 0; padding: 0 10px; color: var(--navy); font-size: 1.1em; cursor: pointer; }
.seymour-homes__walk { position: relative; flex: 0 0 auto; }
.seymour-homes__walk .seymour-homes__draw.is-set { background: var(--footer-bg); border-color: var(--footer-bg); color: var(--white); }
.seymour-homes__walk-panel { left: 0; right: auto; width: 340px; }
.seymour-homes__walk-row { display: grid; gap: 4px; margin: 0 0 10px; font-size: var(--fs-meta); color: var(--navy); }
.seymour-homes__walk-row select { width: 100%; padding: 8px 10px; border: 1px solid var(--line); background: var(--white); font-size: var(--fs-meta); }
.seymour-homes__walk-panel [data-walk-pick] { display: block; margin: -4px 0 12px; }
.seymour-homes__walk-note { margin: 0; font-size: var(--fs-eyebrow); color: var(--ink); opacity: 0.75; }

/* A drop-down set to a choice turns navy, like the Neighbourhood one (Kaz, October 25, 2026). */
.seymour-homes__bar select.is-set {
	background: var(--footer-bg);
	border-color: var(--footer-bg);
	color: var(--white);
}

.seymour-homes__bar select.is-set option {
	background: var(--white);
	color: var(--ink);
}

.seymour-homes__features.is-set .seymour-homes__features-toggle,
.seymour-homes__openhouse[aria-pressed="true"] {
	background: var(--footer-bg);
	border-color: var(--footer-bg);
	color: var(--white);
}

/* Clear search, where the Search button was. */
.seymour-homes__reset {
	flex: 0 0 auto;
	font-size: var(--fs-meta);
	padding: 9px 16px;
}

/* Walking distance matches the filters beside it: the white box, the light border, the same text
 * and height; navy once set (Kaz, October 25, 2026). */
.seymour-homes__walk .seymour-homes__draw {
	align-self: stretch;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 0;
	color: var(--ink);
	font-size: var(--fs-meta);
	font-weight: var(--weight-regular);
	height: 100%;
	min-height: 47px;
	padding: 9px 12px;
}

.seymour-homes__walk .seymour-homes__draw.is-set {
	background: var(--footer-bg);
	border-color: var(--footer-bg);
	color: var(--white);
}

/* Clear search at the far right of the row, apart from the filters: the gold oval of My account. */
.seymour-homes__bar .seymour-homes__reset {
	background: var(--gold);
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	color: var(--footer-bg);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 1.2px;
	margin-left: auto;
	padding: 12px 20px;
	text-transform: uppercase;
}

.seymour-homes__bar .seymour-homes__reset:hover,
.seymour-homes__bar .seymour-homes__reset:focus-visible {
	background: var(--gold-hover);
	color: var(--footer-bg);
}

/* Open houses this weekend matches the filters too, navy once on. */
.seymour-homes__openhouse {
	background: var(--white);
	border: 1px solid var(--line);
	color: var(--ink);
	font-size: var(--fs-meta);
	min-height: 47px;
	padding: 9px 12px;
}

.seymour-homes__openhouse[aria-pressed="true"] {
	background: var(--footer-bg);
	border-color: var(--footer-bg);
	color: var(--white);
}

/* No Clear area button; Clear search covers it (Kaz, October 25, 2026). The button stays in the
 * page, hidden, because the search script still switches it. */
.seymour-homes__bar [data-homes-clear] {
	display: none !important;
}

/* Clear search in navy and gold, still the oval. */
.seymour-homes__bar .seymour-homes__reset {
	background: var(--footer-bg);
	border: 1px solid var(--gold);
	color: var(--gold);
}

.seymour-homes__bar .seymour-homes__reset:hover,
.seymour-homes__bar .seymour-homes__reset:focus-visible {
	background: var(--gold);
	border-color: var(--gold);
	color: var(--footer-bg);
}

/* Open houses this weekend picked out with a gold outline (Kaz, October 25, 2026). */
.seymour-homes__openhouse {
	border-color: var(--gold);
	box-shadow: inset 0 0 0 1px var(--gold);
}

.seymour-homes__openhouse[aria-pressed="true"] {
	border-color: var(--gold);
	box-shadow: inset 0 0 0 1px var(--gold);
}

/* The search page's heading and intro centred (Kaz, October 25, 2026). */
.seymour-homes__intro .seymour-homes__title,
.seymour-homes__intro .seymour-homes__lead {
	text-align: center;
}

/* Save search: a gold oval beside Clear search, and its pop-up in the navy and gold style. */
.seymour-homes__bar .seymour-homes__save {
	background: var(--gold);
	border: 1px solid var(--gold);
	border-radius: 999px;
	color: var(--footer-bg);
	cursor: pointer;
	flex: 0 0 auto;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 1.2px;
	margin-left: auto;
	padding: 12px 20px;
	text-transform: uppercase;
}

.seymour-homes__bar .seymour-homes__save:hover,
.seymour-homes__bar .seymour-homes__save:focus-visible {
	background: var(--gold-hover);
}

.seymour-homes__bar .seymour-homes__save + .seymour-homes__reset {
	margin-left: 8px;
}

.seymour-homes-save {
	border: 0;
	border-radius: 8px;
	border-top: 3px solid var(--gold);
	max-height: calc(100vh - 48px);
	max-width: min(520px, calc(100vw - 32px));
	overflow: auto;
	padding: 36px 32px 28px;
	width: 100%;
}

.seymour-homes-save::backdrop {
	background: rgba(10, 22, 40, 0.7);
}

.seymour-homes-save h2 {
	color: var(--footer-bg);
	font-size: var(--fs-h3);
	margin: 0 0 var(--space-2);
}

.seymour-homes-save__lead,
.seymour-homes-save__fine,
.seymour-homes-save__verify {
	font-size: var(--fs-meta);
	margin: 0 0 var(--space-3);
}

.seymour-homes-save__fine {
	color: var(--grey-600);
	margin: var(--space-3) 0 0;
}

.seymour-homes-save__field {
	display: grid;
	gap: 4px;
	margin: 0 0 var(--space-3);
}

.seymour-homes-save__field label,
.seymour-homes-save__often legend {
	color: var(--footer-bg);
	font-size: var(--fs-meta);
	font-weight: var(--weight-semibold);
}

.seymour-homes-save__field input {
	border: 1px solid var(--gold);
	font-size: var(--fs-meta);
	padding: 10px 12px;
}

.seymour-homes-save__often {
	border: 0;
	display: grid;
	gap: 6px;
	margin: 0 0 var(--space-3);
	padding: 0;
}

.seymour-homes-save__often label,
.seymour-homes-save__consent {
	align-items: flex-start;
	display: flex;
	font-size: var(--fs-meta);
	gap: 8px;
}

.seymour-homes-save__consent {
	background: color-mix(in srgb, var(--gold-200) 26%, var(--white));
	margin: 0 0 var(--space-3);
	padding: 10px 12px;
}

.seymour-homes-save__message {
	color: var(--footer-bg);
	font-size: var(--fs-meta);
	font-weight: var(--weight-semibold);
	margin: 0 0 var(--space-2);
	min-height: 1.2em;
}

.seymour-homes-save__actions {
	margin: 0;
}

.seymour-homes-save__actions .seymour-button {
	border-radius: 999px;
	width: 100%;
}

.seymour-homes-save__close {
	align-items: center;
	background: var(--footer-bg);
	border: 1px solid var(--gold);
	border-radius: 50%;
	color: var(--white);
	cursor: pointer;
	display: flex;
	height: 34px;
	justify-content: center;
	position: absolute;
	right: 12px;
	top: 12px;
	width: 34px;
}

.seymour-homes-save:focus { outline: none; }

/* Clear search without the gold outline: navy with gold words (Kaz, October 25, 2026). */
.seymour-homes__bar .seymour-homes__reset,
.seymour-homes__bar .seymour-homes__reset:hover,
.seymour-homes__bar .seymour-homes__reset:focus-visible {
	border-color: transparent;
}

.seymour-homes__bar .seymour-homes__reset {
	border-color: var(--footer-bg);
}

/* "More statistics in this area": centred, navy words, the arrow right beside them; no area name
 * (Kaz, October 25, 2026). */
.seymour-homes__stats-toggle {
	align-items: center;
	color: var(--footer-bg);
	display: flex;
	font-weight: var(--weight-semibold);
	gap: 8px;
	justify-content: center;
	text-align: center;
}

.seymour-homes__stats-toggle:hover,
.seymour-homes__stats-toggle:focus-visible {
	background: color-mix(in srgb, var(--gold-200) 35%, var(--white));
	color: var(--footer-bg);
}

.seymour-homes__stats-toggle::after {
	color: var(--gold-800);
	float: none;
}

.seymour-homes__stats-toggle .seymour-homes__stats-name {
	display: none;
}

/* Open houses this weekend like the other filters again: no gold outline (Kaz, October 25, 2026). */
.seymour-homes__openhouse {
	border-color: var(--line);
	box-shadow: none;
}

.seymour-homes__openhouse[aria-pressed="true"] {
	border-color: var(--footer-bg);
	box-shadow: none;
}

/* The hovered card's pin turns gold, the whole pin, not only its price (Kaz, October 25, 2026). */
.seymour-pin-icon.is-active .seymour-pin__mark path {
	fill: var(--gold);
	stroke: var(--footer-bg);
}

.seymour-pin-icon.is-active .seymour-pin__mark text {
	fill: var(--footer-bg);
}

.seymour-pin-icon.is-active .seymour-pin__price {
	border-color: var(--footer-bg);
}

/* Every control in the search bar in our sans at the same size and weight (Kaz, October 26, 2026). */
.seymour-homes__bar select,
.seymour-homes__bar button,
.seymour-homes__pick-toggle,
.seymour-homes__features-toggle,
.seymour-homes__draw,
.seymour-homes__openhouse {
	font-family: var(--font-sans);
	font-size: 15px;
	letter-spacing: normal;
}

.seymour-homes__bar select,
.seymour-homes__pick-toggle,
.seymour-homes__features-toggle,
.seymour-homes__draw,
.seymour-homes__openhouse {
	font-weight: var(--weight-regular, 400);
}

/* Days on market always on its own line under the price, so every card reads the same however
 * long the price is (Kaz, October 27, 2026: the Chaplin Estates cards). */
.seymour-mls-card__price .seymour-mls-card__dom {
	flex-basis: 100%;
}

/* The map of homes for sale in the last two places of a neighbourhood page's grid (Kaz, October 27, 2026). */
.seymour-mls-grid__map {
	display: flex;
	flex-direction: column;
	grid-column: span 2;
	min-height: 320px;
}

.seymour-mls-grid__map .seymour-area-map {
	display: flex;
	flex: 1;
	flex-direction: column;
	margin: 0;
}

.seymour-mls-grid__map .seymour-area-map__label {
	display: none; /* The section's heading already names it. */
}

.seymour-mls-grid__map .seymour-area-map__canvas {
	border: 1px solid var(--line);
	flex: 1;
	min-height: 320px;
	width: 100%;
}

.seymour-mls-grid__map .seymour-area-map__caption {
	font-size: 14px;
	margin-top: var(--space-3, 12px);
	text-align: center;
}

.seymour-mls-grid__map .leaflet-marker-icon,
.seymour-mls-grid__map .leaflet-marker-icon *,
.seymour-mls-grid__map .leaflet-popup,
.seymour-mls-grid__map .leaflet-popup * {
	max-width: none;
}

@media (max-width: 599px) {
	.seymour-mls-grid__map {
		grid-column: auto;
	}
}

/* In the homes-for-sale grid the map has no label over it and no link under it: the section's
 * heading and its button already say both (Kaz, October 27, 2026). */
.seymour-mls-grid .seymour-mls-grid__map .seymour-area-map__label,
.seymour-mls-grid .seymour-mls-grid__map .seymour-area-map__caption {
	display: none !important;
}
