/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(/dist/416d91365b44e4b4f477.png);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(/dist/8f2c4d11474275fbc161.png);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(/dist/2b3e1faf89f94a483539.png);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #1a1a1a; background: #fafafa; line-height: 1.6; }
a { color: #1a6b3a; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-weight: 700; line-height: 1.25; }

/* ── Layout ────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; padding: 2rem 0 4rem; }

/* ── Header ────────────────────────────────────────────── */
.site-header { background: #1a3d2b; color: #fff; padding: 0.75rem 0; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.brand { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.5px; }
.brand-land { color: #fff; }
.brand-brief { color: #6fcf97; }
.search-form { display: flex; flex: 1; min-width: 180px; max-width: 480px; gap: 0.5rem; }
.search-input { flex: 1; padding: 0.5rem 0.75rem; border: none; border-radius: 4px; font-size: 1rem; }
.search-btn { padding: 0.5rem 1rem; background: #6fcf97; color: #1a3d2b; border: none; border-radius: 4px; font-weight: 700; cursor: pointer; }
.search-btn:hover { background: #27ae60; color: #fff; }

/* ── Footer ────────────────────────────────────────────── */
.site-footer { background: #1a3d2b; color: #a8d5b5; padding: 1.5rem 0; margin-top: auto; font-size: 0.875rem; }
.site-footer a { color: #6fcf97; }
/* Sits under the data attribution and reads as a credit, not a second claim
   of equal weight. */
.footer-credit { margin-top: 0.5rem; font-size: 0.8125rem; opacity: 0.8; }

/* ── Breadcrumb ────────────────────────────────────────── */
.breadcrumb { font-size: 0.85rem; color: #666; margin-bottom: 1.25rem; }
.breadcrumb a { color: #1a6b3a; }
.breadcrumb-sep { color: #bbb; }
.breadcrumb-current { color: #333; font-weight: 600; }

/* ── Hero ──────────────────────────────────────────────── */
.hero { text-align: center; padding: 3rem 0 2rem; }
.hero h1 { font-size: 2.4rem; color: #1a3d2b; margin-bottom: 0.75rem; }
.hero-sub { font-size: 1.1rem; color: #444; max-width: 600px; margin: 0 auto; }

/* ── US Map (homepage) ─────────────────────────────────── */
.us-map-section { margin-bottom: 2.5rem; }
.us-map-stats { display: flex; gap: 2rem; justify-content: center; margin-bottom: 1rem; flex-wrap: wrap; }
.us-stat { display: flex; flex-direction: column; align-items: center; }
.us-stat-val { font-size: 1.6rem; font-weight: 800; color: #1a3d2b; line-height: 1.1; }
.us-stat-lbl { font-size: 0.75rem; text-transform: uppercase; letter-spacing: .06em; color: #888; }
.us-map-wrap { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid #dde8e1; box-shadow: 0 2px 12px rgba(0,0,0,.07); cursor: pointer; }
.us-map-container { height: 420px; width: 100%; background: #e8f4f0; }
.us-map-hint { text-align: center; font-size: 0.82rem; color: #888; margin-top: 0.6rem; }
.us-map-tooltip { position: absolute; top: 14px; right: 14px; background: rgba(26,61,43,0.92); color: #fff; border-radius: 10px; padding: 0.75rem 1rem; min-width: 160px; z-index: 900; pointer-events: none; display: flex; flex-direction: column; gap: 0.2rem; }
.us-map-tooltip strong { font-size: 1rem; }
.us-tooltip-code { font-size: 0.75rem; color: #9dd4b4; letter-spacing: .06em; }
.us-map-tooltip span { font-size: 0.82rem; color: #c8e6d4; }
.us-tooltip-cta { color: #6fcf97 !important; font-weight: 700; margin-top: 0.2rem; }
.us-tooltip-nodata { color: #aaa !important; font-style: italic; }

/* ── State hero ─────────────────────────────────────────── */
.state-hero { margin-bottom: 1.5rem; }
.state-hero h1 { font-size: 2rem; color: #1a3d2b; }
.state-hero-stats { display: flex; gap: 1.5rem; margin-top: 0.4rem; font-size: 0.95rem; color: #555; }
.state-hero-stats strong { color: #1a3d2b; }

/* ── State / County / City grids ───────────────────────── */
.state-grid, .county-grid, .city-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; margin-top: 1rem; }
.state-link, .county-link, .city-link { display: flex; flex-direction: column; padding: 0.875rem 1rem; background: #fff; border: 1px solid #dde8e1; border-radius: 6px; transition: box-shadow .15s, border-color .15s; }
.state-link:hover, .county-link:hover, .city-link:hover { box-shadow: 0 2px 8px rgba(0,0,0,.1); border-color: #1a6b3a; text-decoration: none; }
.state-name, .county-name, .city-name { font-weight: 600; color: #1a3d2b; }
.state-count, .county-count, .city-count { font-size: 0.8rem; color: #888; margin-top: 0.25rem; }

/* ── County stats ──────────────────────────────────────── */
.county-stats { display: flex; gap: 1rem; margin: 1.5rem 0; flex-wrap: wrap; }
.stat-card { flex: 1 1 150px; background: #fff; border: 1px solid #dde8e1; border-radius: 8px; padding: 1rem 1.25rem; text-align: center; }
.stat-value { display: block; font-size: 1.6rem; font-weight: 800; color: #1a3d2b; }
.stat-label { display: block; font-size: 0.8rem; color: #888; margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* ── Parcel cards (city list) ──────────────────────────── */
.parcel-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.parcel-card { background: #fff; border: 1px solid #dde8e1; border-radius: 8px; padding: 1rem 1.25rem; }
.parcel-card-link { display: block; margin-bottom: 0.5rem; }
.parcel-address { font-size: 1rem; font-weight: 600; color: #1a3d2b; }
.parcel-meta { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.parcel-meta dt { font-size: 0.7rem; text-transform: uppercase; color: #888; letter-spacing: .04em; }
.parcel-meta dd { font-size: 0.95rem; font-weight: 600; color: #222; }
.parcel-meta > div { display: flex; flex-direction: column; }

/* ── Parcel detail page ────────────────────────────────── */
.parcel-detail { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; margin-top: 1.5rem; }
@media (max-width: 768px) { .parcel-detail { grid-template-columns: 1fr; } }
.parcel-detail-address { font-size: 1.8rem; color: #1a3d2b; }
.parcel-detail-location { color: #666; margin: 0.25rem 0 1.5rem; }
.detail-section { margin-bottom: 2rem; }
.detail-section h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: #888; border-bottom: 1px solid #eee; padding-bottom: 0.4rem; margin-bottom: 0.75rem; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.75rem; }
.detail-grid > div { display: flex; flex-direction: column; }
.detail-grid dt { font-size: 0.7rem; text-transform: uppercase; color: #888; letter-spacing: .04em; }
.detail-grid dd { font-size: 0.95rem; font-weight: 600; color: #222; }
.detail-grid .full-width { grid-column: 1 / -1; }

/* ── Parcel map ────────────────────────────────────────── */
.parcel-map-wrap { border: 1px solid #dde8e1; border-radius: 8px; overflow: hidden; margin-bottom: 1.25rem; background: #f0f4f0; }
.parcel-map-svg { display: block; width: 100%; height: auto; }

/* ── Neighbors ─────────────────────────────────────────── */
.neighbors { background: #fff; border: 1px solid #dde8e1; border-radius: 8px; padding: 1rem 1.25rem; }
.neighbors h2 { font-size: 0.85rem; text-transform: uppercase; color: #888; letter-spacing: .06em; margin-bottom: 0.75rem; }
.neighbor-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.neighbor-list a { font-size: 0.9rem; color: #1a6b3a; }

/* ── Pagination ────────────────────────────────────────── */
.pagination { display: flex; align-items: center; gap: 1rem; justify-content: center; margin-top: 2rem; }
.page-btn { padding: 0.5rem 1rem; background: #1a3d2b; color: #fff; border-radius: 4px; font-weight: 600; }
.page-btn:hover { background: #1a6b3a; text-decoration: none; }
.page-info { color: #666; }

/* ── Search results ────────────────────────────────────── */
.search-results { margin: 2rem 0; }
.result-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.75rem; }
.result-list a { display: block; padding: 0.6rem 0.875rem; background: #fff; border: 1px solid #dde8e1; border-radius: 6px; }
.result-list a:hover { border-color: #1a6b3a; text-decoration: none; }
.result-meta { color: #666; font-size: 0.9rem; }

/* ── Misc ──────────────────────────────────────────────── */
.not-found { text-align: center; padding: 4rem 0; }
.empty-note { color: #888; font-style: italic; }
.page-intro { color: #555; margin: 0.5rem 0 1.5rem; }
.states-section h2, .detail-section h2 { font-size: 1.3rem; margin-bottom: 0.75rem; color: #1a3d2b; }
.states-section h2 { font-size: 1.3rem; }

/* ── County hero ───────────────────────────────────────── */
.county-hero { padding: 2rem 0 1.25rem; border-bottom: 2px solid #e2ede6; margin-bottom: 1.75rem; }
.county-hero-title { font-size: 2.4rem; color: #1a3d2b; line-height: 1.1; }
.county-hero-sub { font-size: 1.2rem; color: #4a7c5f; font-weight: 600; margin: 0.25rem 0 0.75rem; }
.updated-badge { display: inline-block; background: #d4edda; color: #155724; font-size: 0.8rem; font-weight: 700; padding: 0.3rem 0.75rem; border-radius: 20px; letter-spacing: 0.02em; }

/* ── KPI row ───────────────────────────────────────────── */
.county-kpi-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.kpi-card { flex: 1 1 130px; background: #fff; border: 1px solid #dde8e1; border-radius: 8px; padding: 1rem 1.25rem; text-align: center; }
.kpi-value { display: block; font-size: 1.5rem; font-weight: 800; color: #1a3d2b; line-height: 1.2; }
.kpi-label { display: block; font-size: 0.72rem; color: #888; margin-top: 0.3rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Two-column body (map + about) ────────────────────── */
.county-body-grid { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; margin-bottom: 2.5rem; }
@media (max-width: 820px) { .county-body-grid { grid-template-columns: 1fr; } }
.county-map-col { min-height: 360px; }
.county-map-wrap { border-radius: 10px; overflow: hidden; border: 1px solid #dde8e1; }
.county-map-container { height: 380px; width: 100%; }
.county-map-placeholder { height: 400px; background: #e8f0ea; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #6a9b7c; font-size: 0.9rem; border: 1px solid #dde8e1; }
/* Blur disabled — parcel coverage always shown clearly */

/* Centred lock overlay — full coverage but pointer-events:none so map stays draggable */
.map-lock-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 900; pointer-events: none; }

/* Badge — semi-transparent, pointer-events re-enabled just for the badge */
.map-lock-badge { pointer-events: auto; display: flex; flex-direction: column; align-items: center; gap: 0.45rem; background: rgba(20,40,28,0.52); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); color: #fff; border-radius: 14px; padding: 1.2rem 1.75rem; text-align: center; max-width: 230px; border: 1px solid rgba(111,207,151,0.25); }
.map-lock-icon  { font-size: 1.75rem; line-height: 1; }
.map-lock-title { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.02em; }
.map-lock-sub   { font-size: 0.78rem; color: #9dd4b4; }
.map-lock-btn   { margin-top: 0.4rem; background: #27ae60; color: #fff; font-weight: 700; font-size: 0.82rem; padding: 0.45rem 1.15rem; border-radius: 6px; text-decoration: none; white-space: nowrap; }
.map-lock-btn:hover { background: #1e8449; text-decoration: none; color: #fff; }
.county-about-col { background: #fff; border: 1px solid #dde8e1; border-radius: 10px; padding: 1.5rem; }
.section-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: #6a9b7c; font-weight: 700; margin-bottom: 0.6rem; }
.county-about-text { color: #444; font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.25rem; }
.county-about-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; font-size: 0.875rem; }
.county-about-dl dt { color: #888; }
.county-about-dl dd { font-weight: 600; color: #222; }
.county-about-dl > div { display: contents; }

/* ── Section wrapper ───────────────────────────────────── */
.county-section { margin-bottom: 3rem; }
.county-section-title { font-size: 1.4rem; color: #1a3d2b; margin-bottom: 0.5rem; padding-bottom: 0.5rem; border-bottom: 2px solid #e2ede6; }
.attr-count { font-size: 0.9rem; color: #6a9b7c; font-weight: 400; }
.county-section-intro { color: #555; font-size: 0.95rem; margin-bottom: 1.25rem; }

/* ── Data attribute grid ───────────────────────────────── */
.attr-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.4rem 1rem; }
.attr-item { font-size: 0.875rem; color: #333; display: flex; align-items: baseline; gap: 0.4rem; }
.attr-check { color: #27ae60; font-size: 0.75rem; flex-shrink: 0; }

/* ── Industry cards ────────────────────────────────────── */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 1rem; }
.industry-card { background: #fff; border: 1px solid #dde8e1; border-radius: 10px; padding: 1.25rem; }
.industry-icon { font-size: 1.75rem; margin-bottom: 0.5rem; }
.industry-title { font-size: 1rem; font-weight: 700; color: #1a3d2b; margin-bottom: 0.6rem; }
.industry-list { list-style: none; }
.industry-list li { font-size: 0.82rem; color: #555; padding: 0.2rem 0; border-bottom: 1px solid #f0f0f0; }
.industry-list li:last-child { border-bottom: none; }

/* ── Header CTA buttons ────────────────────────────────── */
.header-cta { display: flex; gap: 0.5rem; flex-shrink: 0; margin-left: auto; }
.btn-quote { padding: 0.45rem 1rem; background: #27ae60; color: #fff; border-radius: 5px; font-weight: 700; font-size: 0.85rem; white-space: nowrap; transition: background .15s; }
.btn-quote:hover { background: #1e8449; text-decoration: none; color: #fff; }
.btn-order { padding: 0.45rem 1rem; background: #2980b9; color: #fff; border-radius: 5px; font-weight: 700; font-size: 0.85rem; white-space: nowrap; transition: background .15s; }
.btn-order:hover { background: #1f6fa0; text-decoration: none; color: #fff; }

/* ── Order / Download section ──────────────────────────── */
.order-section { background: #f0f8f3; border: 1px solid #c0d9c8; border-radius: 10px; padding: 1.75rem 2rem; }
.order-fips { font-size: 0.95rem; color: #555; margin-bottom: 0.5rem; }
.order-question { font-size: 1.1rem; font-weight: 600; color: #1a3d2b; margin-bottom: 1rem; }
.btn-view-more { padding: 0.55rem 1.5rem; background: #1a6b3a; color: #fff; border: none; border-radius: 5px; font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: background .15s; }
.btn-view-more:hover { background: #155730; }
.order-desc { font-size: 0.9rem; color: #444; line-height: 1.7; margin-bottom: 1.25rem; }
.order-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-quote-lg { padding: 0.7rem 1.75rem; background: #27ae60; color: #fff; border-radius: 6px; font-weight: 700; font-size: 1rem; transition: background .15s; }
.btn-quote-lg:hover { background: #1e8449; text-decoration: none; color: #fff; }
.btn-order-lg { padding: 0.7rem 1.75rem; background: #2980b9; color: #fff; border-radius: 6px; font-weight: 700; font-size: 1rem; transition: background .15s; }
.btn-order-lg:hover { background: #1f6fa0; text-decoration: none; color: #fff; }

.county-grid-heading { font-size: 1.25rem; font-weight: 700; color: #1a3d2b; margin: 1.75rem 0 0.75rem; }

/* ── Parcel table (ms-county) ─────────────────────────── */
.parcel-section-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 0.75rem; }
.parcel-search-bar { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.parcel-search-input { flex: 1; min-width: 200px; padding: 0.5rem 0.75rem; border: 1.5px solid #c0d9c8; border-radius: 6px; font-size: 0.9rem; color: #1a3d2b; outline: none; }
.parcel-search-input:focus { border-color: #1a6b3a; box-shadow: 0 0 0 2px rgba(26,107,58,.15); }
.parcel-search-btn { padding: 0.5rem 1.1rem; background: #1a6b3a; color: #fff; border: none; border-radius: 6px; font-weight: 600; font-size: 0.9rem; cursor: pointer; white-space: nowrap; }
.parcel-search-btn:hover { background: #155730; }
.parcel-search-clear { padding: 0.5rem 0.9rem; background: #fff; color: #c0392b; border: 1.5px solid #e0b0ac; border-radius: 6px; font-size: 0.85rem; cursor: pointer; white-space: nowrap; }
.parcel-search-clear:hover { background: #fff5f5; }
.parcel-per-page { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: #555; }
.per-page-select { padding: 0.3rem 0.6rem; border: 1px solid #c0d9c8; border-radius: 5px; font-size: 0.875rem; color: #1a3d2b; background: #fff; cursor: pointer; }
.per-page-select:focus { outline: 2px solid #1a6b3a; outline-offset: 1px; }
.parcel-table-wrap { overflow-x: auto; }
.parcel-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.parcel-table th { background: #1a3d2b; color: #fff; padding: 0.6rem 0.75rem; text-align: left; white-space: nowrap; }
.parcel-table td { padding: 0.5rem 0.75rem; border-bottom: 1px solid #e8f0ea; color: #333; }
.parcel-table tr:nth-child(even) td { background: #f8fdf9; }
.parcel-table tr:hover td { background: #edf7f1; }
.parcel-id-cell { font-family: monospace; font-size: 0.8rem; }
.parcel-id-link { color: #1a6b3a; font-weight: 600; }
.parcel-id-link:hover { text-decoration: underline; }
.parcel-pagination { display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem; }
.btn-page-arrow { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: #1a6b3a; color: #fff; border: none; border-radius: 50%; font-size: 1.1rem; cursor: pointer; transition: background .15s; line-height: 1; }
.btn-page-arrow:hover:not(:disabled) { background: #155730; }
.btn-page-arrow:disabled { background: #c0d9c8; cursor: default; }
.page-info { color: #444; font-size: 0.9rem; font-weight: 500; min-width: 80px; text-align: center; }

/* ── Owner page ────────────────────────────────────────── */
.owner-hero { display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem 0 1rem; }
.owner-hero-icon { font-size: 3rem; line-height: 1; }
.owner-hero-name { font-size: 2rem; font-weight: 800; color: #1a3d2b; margin: 0; }
.owner-hero-sub { color: #666; margin: 0.2rem 0 0; font-size: 1rem; }
.owner-empty { padding: 2rem 0; color: #555; }
.owner-seo-block p { color: #555; line-height: 1.7; margin-bottom: 0.75rem; }
.owner-disclaimer { font-size: 0.85rem; color: #888; font-style: italic; }
.parcel-addr-link { color: #1a6b3a; font-weight: 600; }
.parcel-addr-link:hover { text-decoration: underline; }
.parcel-location-cell a { color: #555; font-size: 0.85rem; }
.owner-search-link { display: block; margin-top: 0.4rem; font-size: 0.85rem; color: #1a6b3a; font-weight: 600; }
.owner-search-link:hover { text-decoration: underline; }
.owner-card { background: #f0f8f3; border: 1px solid #c0d9c8; border-radius: 10px; padding: 1.25rem; }
.owner-card h3 { font-size: 0.9rem; color: #555; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 0.5rem; }
.owner-card-name { font-size: 1.1rem; font-weight: 700; color: #1a3d2b; margin: 0; }

/* ── Neighboring counties ──────────────────────────────── */
.neighbor-county-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.75rem; }
.neighbor-county-link { display: inline-block; padding: 0.5rem 1.1rem; background: #fff; border: 1.5px solid #c0d9c8; border-radius: 6px; color: #1a6b3a; font-weight: 600; font-size: 0.9rem; transition: background .15s, border-color .15s; }
.neighbor-county-link:hover { background: #e8f0ea; border-color: #1a6b3a; text-decoration: none; }

/* ── Inline quote form (county page) ──────────────────────────────────────── */
.quote-form { margin-top: 20px; text-align: left; max-width: 640px; }
.quote-form-intro { margin: 0 0 14px; color: #444; }
.quote-form-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.quote-form label { display: block; }
.quote-form label > span {
  display: block; font-size: 13px; color: #555; margin-bottom: 4px; font-weight: 600;
}
.quote-form label > span em { color: #c0392b; font-style: normal; }
.quote-form input, .quote-form textarea {
  width: 100%; padding: 9px 11px; border: 1px solid #ccc; border-radius: 4px;
  font: inherit; font-size: 15px; background: #fff; box-sizing: border-box;
}
.quote-form input:focus, .quote-form textarea:focus {
  outline: none; border-color: #27ae60; box-shadow: 0 0 0 3px rgba(39,174,96,.15);
}
.quote-form-message { margin-top: 12px; }
.quote-form-message textarea { resize: vertical; }
.quote-form button[type="submit"] { margin-top: 14px; }
.quote-form button[disabled] { opacity: .6; cursor: default; }
.quote-form-error {
  margin: 12px 0 0; padding: 9px 12px; border-radius: 4px;
  background: #fdecea; color: #a3241a; border: 1px solid #f5c6c2; font-size: 14px;
}
.quote-form-note { margin: 10px 0 0; font-size: 12px; color: #888; }
.quote-form-done {
  margin-top: 20px; padding: 16px 18px; border-radius: 6px;
  background: #eafaf1; border: 1px solid #b7e4c9; color: #1e6b42; text-align: left;
}
.quote-form-done p { margin: 6px 0 0; color: #2c7a53; }

/* Off-screen rather than display:none -- some bots skip hidden fields, and a
   honeypot that bots ignore is not a honeypot. aria-hidden and tabIndex={-1}
   keep it out of the accessibility tree and the tab order. */
.quote-form-hp {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}

