:root {
	--sans: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
	--mono: "SFMono-Regular", ui-monospace, "Cascadia Mono", Consolas, monospace;
	--theme-deep: #1a4173;
	--theme-blue: #27498c;
	--theme-mid: #2e578c;
	--theme-pale: #b1bbc7;
	--theme-neutral: #d9d9d7;
	--ink: #1a1d23;
	--ink-soft: #4a5059;
	--ink-faint: #626974;
	--ink-invert: #ffffff;
	--surface: #ffffff;
	--canvas: #f2f2f1;
	--canvas-deep: var(--theme-neutral);
	--hairline: var(--theme-neutral);
	--hairline-strong: var(--theme-pale);
	--accent: var(--theme-blue);
	--accent-deep: var(--theme-deep);
	--accent-soft: #e9ebee;
	--status-regulated: var(--ink-invert);
	--status-regulated-bg: var(--theme-deep);
	--status-prohibited: var(--theme-deep);
	--status-prohibited-bg: var(--surface);
	--status-nozoning: var(--ink-soft);
	--status-nozoning-bg: var(--theme-neutral);
	--map-0: #eceff3;
	--map-1: #98a9c0;
	--map-2: #557297;
	--map-3: var(--theme-deep);
	--map-nozoning: var(--theme-neutral);
	--map-stroke: #1a1d23;
	--map-hover-fill: #ffffff;
	--map-hover-stroke: #000000;
	--radius: 4px;
	--shell: 1240px;
	--map-h: min(86.1vh, 840px);
	--map-w: calc(var(--map-h) * 780 / 1236);
	--map-inset: 2.5rem;
}

* {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--canvas);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.011em;
}

a {
	color: var(--accent);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 2px;
	border-radius: 2px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -3rem;
	z-index: 900;
	background: var(--ink);
	color: var(--ink-invert);
	padding: 0.6rem 1rem;
	border-radius: var(--radius);
	text-decoration: none;
	font-weight: 600;
	transition: top 120ms ease;
}
.skip-link:focus {
	top: 1rem;
}

.shell {
	display: block;
}
.frame {
	max-width: var(--shell);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.overview {
	background: var(--surface);
	border-bottom: 1px solid var(--hairline);
	padding: 2.5rem 0 2.75rem;
}
.overview-inner {
	max-width: var(--shell);
	margin: 0 auto;
	padding: 0 1.5rem;
	display: grid;
	grid-template-columns: minmax(0, 25rem) minmax(0, 1fr);
	gap: 3rem;
	align-items: start;
}
.overview-lede {
	min-width: 0;
}
.overview h1 {
	font-size: clamp(1.9rem, 3.4vw, 2.6rem);
	max-width: 24ch;
	margin: 0 0 0.85rem;
}
.overview-sub {
	margin: 0 0 1.75rem;
	color: var(--ink-soft);
	font-size: 1.03rem;
	max-width: 56ch;
}

.statlist {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--hairline);
}
.statlist li {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	padding: 0.72rem 0;
	border-bottom: 1px solid var(--hairline);
}
.statlist .stat-label {
	color: var(--ink-soft);
	font-size: 0.95rem;
}
.statlist .stat-num {
	margin-left: auto;
	font-weight: 700;
	font-size: 1.28rem;
	font-variant-numeric: tabular-nums;
	color: var(--ink);
}
.statlist .stat-of {
	color: var(--ink-faint);
	font-size: 0.82rem;
	font-weight: 500;
	white-space: nowrap;
}

.map-panel {
	min-width: 0;
	position: relative;
}

.map-frame {
	position: relative;
	width: fit-content;
	max-width: 100%;
	margin-left: var(--map-inset);
	padding: 0.5rem 0;
}
.map-frame svg {
	display: block;
	height: var(--map-h);
	width: auto;
	max-width: 100%;
	overflow: visible;
}

.map-prompt {
	position: absolute;
	z-index: 2;
	top: 24px;
	left: calc(var(--map-inset) + var(--map-w) + 1rem);
	right: -3rem;
	max-width: 130px;
	margin-right: auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.45rem;
	padding: 0.1rem 0 0.1rem 0.8rem;
	border-left: 2px solid #e0e0e0;
	font-size: 0.86rem;
	line-height: 1.4;
	color: var(--ink);
	pointer-events: none;
}
.map-prompt-icon {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	color: #777;
}

.county-shape {
	fill: var(--map-0);
	stroke: var(--map-stroke);
	stroke-width: 1.4;
	cursor: pointer;
	transition: fill 120ms ease;
}
.county-shape[data-count="1"] {
	fill: var(--map-1);
}
.county-shape[data-count="2"] {
	fill: var(--map-2);
}
.county-shape[data-count="3"] {
	fill: var(--map-3);
}

.county-shape[data-nozoning="1"] {
	fill: url(#hatch-nozoning);
}
.county-shape:hover,
.county-shape:focus-visible {
	fill: var(--map-hover-fill);
	stroke: var(--map-hover-stroke);
	stroke-width: 2.2;
	outline: none;
}
.county-shape.is-dim {
	opacity: 0.28;
}

.map-legend {
	margin: 2rem 0 0;
	text-align: right;
}
.map-legend h2 {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ink-faint);
	margin: 0 0 0.6rem;
	font-weight: 700;
}
.map-legend ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.35rem;
}

.map-legend li {
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-start;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.86rem;
	color: var(--ink-soft);
}

.legend-swatch {
	width: 20px;
	height: 14px;
	border: 1px solid var(--hairline-strong);
	border-radius: 2px;
	flex: 0 0 auto;
}
.legend-swatch[data-count="0"] {
	background: var(--map-0);
}
.legend-swatch[data-count="1"] {
	background: var(--map-1);
}
.legend-swatch[data-count="2"] {
	background: var(--map-2);
}
.legend-swatch[data-count="3"] {
	background: var(--map-3);
}
.legend-swatch[data-nozoning] {
	background: var(--map-nozoning);
	background-image: repeating-linear-gradient(45deg, transparent 0 3px, var(--map-stroke) 3px 4px);
}

.map-tip {
	position: absolute;
	z-index: 20;
	pointer-events: none;
	background: var(--ink);
	color: var(--ink-invert);
	padding: 0.6rem 0.75rem;
	border-radius: var(--radius);
	font-size: 0.83rem;
	line-height: 1.45;
	max-width: 15rem;
}
.map-tip strong {
	display: block;
	margin-bottom: 0.2rem;
	font-size: 0.9rem;
}
.map-tip span {
	display: block;
	color: #c9cbce;
}

.index-section {
	padding: 2.25rem 0 3.5rem;
}

.index-head {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}

.index-head h2 {
	font-size: 1.6rem;
}
.index-count {
	color: var(--ink-faint);
	font-size: 0.9rem;
	font-variant-numeric: tabular-nums;
}

.index-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-left: auto;
}
.tool-input,
.tool-select {
	font-family: inherit;
	font-size: 0.92rem;
	color: var(--ink);
	background: var(--surface);
	border: 1px solid var(--hairline-strong);
	border-radius: var(--radius);
	padding: 0.5rem 0.7rem;
	min-height: 40px;
}
.tool-input {
	min-width: 15rem;
}
.tool-select {
	cursor: pointer;
	appearance: none;
	padding-right: 2.5rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%234a5059' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.9rem center;
	background-size: 12px 12px;
}

.chips-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	margin-bottom: 1.25rem;
}
.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.index-key {
	display: flex;
	gap: 1rem;
	margin: 0 0 0 auto;
	color: var(--ink-faint);
	font-size: 0.84rem;
}
.index-key span {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}
.index-key b {
	font-size: 0.95rem;
}
.index-key .key-yes {
	color: var(--theme-deep);
}
.index-key .key-no {
	color: var(--theme-deep);
}
.chip {
	font-family: inherit;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--ink-soft);
	background: var(--surface);
	border: 1px solid var(--hairline-strong);
	border-radius: 999px;
	padding: 0.4rem 0.9rem;
	cursor: pointer;
	min-height: 38px;
	transition:
		background 120ms ease,
		color 120ms ease,
		border-color 120ms ease;
}
.chip:hover {
	border-color: var(--ink-faint);
	color: var(--ink);
}
.chip[aria-pressed="true"] {
	background: var(--accent-deep);
	border-color: var(--accent-deep);
	color: var(--ink-invert);
}

.county-list {
	list-style: none;
	margin: 0;
	padding: 0;
	background: var(--surface);
	border: 1px solid var(--hairline);
	border-radius: var(--radius);
	overflow: hidden;
}
.county-list li + li {
	border-top: 1px solid var(--hairline);
}
.county-list a {
	display: grid;
	grid-template-columns: 13rem 9rem minmax(0, 1fr);
	align-items: center;
	gap: 1rem;
	padding: 0.8rem 1.1rem;
	text-decoration: none;
	color: inherit;
	transition: background 110ms ease;
}
.county-list a:hover {
	background: var(--accent-soft);
}
.county-name {
	font-weight: 700;
	font-size: 1.02rem;
}
.county-region {
	color: var(--ink-faint);
	font-size: 0.88rem;
}

.county-status {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	justify-content: flex-end;
}
.county-none {
	color: var(--ink-faint);
	font-size: 0.86rem;
}

.list-empty {
	padding: 2rem 1.1rem;
	color: var(--ink-soft);
}
.list-empty button {
	font: inherit;
	color: var(--accent);
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	text-decoration: underline;
}

.status {
	display: inline-flex;
	align-items: center;
	gap: 0.32rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	padding: 0.2rem 0.55rem;
	border-radius: 3px;
	border: 1px solid currentColor;
	white-space: nowrap;
}
.status-mark {
	font-weight: 700;
}

.status--regulated {
	color: var(--status-regulated);
	background: var(--status-regulated-bg);
	border-color: var(--theme-deep);
}
.status--prohibited {
	color: var(--status-prohibited);
	background: var(--status-prohibited-bg);
	border-color: var(--theme-deep);
}
.status--nozoning {
	color: var(--status-nozoning);
	background: var(--status-nozoning-bg);
	border-color: var(--ink-faint);
}

.status--lg {
	font-size: 0.92rem;
	padding: 0.34rem 0.75rem;
}

.status--compact {
	min-width: 6.6rem;
	gap: 0.4rem;
	justify-content: center;
	font-size: 0.8rem;
	padding: 0.22rem 0.6rem;
}
.status--compact .status-mark {
	font-size: 0.9em;
}

.county-header {
	background: var(--surface);
	border-bottom: 1px solid var(--hairline);
	padding: 2rem 0 1.75rem;
}
.crumb {
	display: inline-block;
	margin-bottom: 1rem;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
}
.crumb:hover {
	text-decoration: underline;
}

.county-title {
	font-size: clamp(2rem, 4vw, 2.8rem);
	margin: 0 0 0.5rem;
}

.county-meta {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.4rem 2rem;
	margin-bottom: 1.5rem;
}
.county-line {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.95rem;
	color: var(--ink-soft);
}
.county-line span + span {
	margin-left: 0.8rem;
	padding-left: 0.8rem;
	border-left: 1px solid var(--hairline-strong);
}
.county-line a {
	font-weight: 600;
}
.county-contact strong {
	font-weight: 600;
	color: var(--ink);
}

.county-facts {
	margin: 0;
	padding: 1.25rem 0 0;
	border-top: 1px solid var(--hairline);
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem 0;
}
.county-facts > div {
	padding: 0 1.5rem;
	min-width: 0;
	text-align: center;
}
.county-facts > div:first-child {
	padding-left: 0;
}
.county-facts > div + div {
	border-left: 1px solid var(--hairline);
}
.county-facts dt {
	font-size: 0.76rem;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--ink-faint);
	margin-bottom: 0.3rem;
}
.county-facts dd {
	margin: 0;
}
.county-facts strong {
	display: block;
	font-size: 1.45rem;
	line-height: 1.15;
	font-variant-numeric: tabular-nums;
	color: var(--ink);
}
.county-facts small {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.82rem;
	color: var(--ink-faint);
}

@media (max-width: 760px) {
	.county-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.county-facts > div:nth-child(odd) {
		padding-left: 0;
		border-left: 0;
	}
}

.county-body {
	display: grid;
	grid-template-columns: 210px minmax(0, 1fr);
	gap: 3rem;
	padding: 2.25rem 0 4rem;
	align-items: start;
}

/* pinned where it first appears; --rail-top is set by the county view */
.rail {
	position: sticky;
	top: var(--rail-top, 1.5rem);
	align-self: start;
}
.rail-label {
	font-size: 0.74rem;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: var(--ink-faint);
	margin: 0 0 0.6rem;
}
.rail nav {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--hairline-strong);
}
.rail-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	font-size: 1rem;
	font-weight: 500;
	color: var(--ink-soft);
	text-decoration: none;
	padding: 0.72rem 0.1rem 0.72rem 0.8rem;
	border-bottom: 1px solid var(--hairline);
	border-left: 3px solid transparent;
	transition:
		color 120ms ease,
		border-color 120ms ease;
}
.rail-link:hover {
	color: var(--ink);
}
.rail-link.is-active {
	color: var(--accent-deep);
	border-left-color: var(--accent-deep);
	font-weight: 700;
}
.rail-mark {
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--ink-faint);
}
.rail-link.is-active .rail-mark {
	color: var(--accent-deep);
}

.sections {
	min-width: 0;
	display: grid;
	gap: 1.75rem;
}

/* ---- technology panels ---- */
.tech-section {
	background: #ffffffad;
	border-radius: 8px;
	scroll-margin-top: var(--rail-top, 1.5rem);
	overflow: hidden;
	border: 1px solid #d3d3d3;
}
.tech-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	padding: 0.95rem 1.6rem;
	background: var(--theme-deep);
	color: #ffffff;
}
.tech-head h2 {
	font-size: 1.45rem;
	color: #ffffff;
}
.tech-head .status {
	margin-left: auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: #ffffff;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	gap: 0.45rem;
}
.tech-head .status-mark {
	font-size: 1.05em;
}
.tech-body {
	padding: 1.5rem 1.6rem 1.75rem;
}

.definition {
	margin: 0 0 1.25rem;
	padding: 1rem 0.25rem;
	max-width: 72ch;
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--ink-soft);
}
.definition--defined {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	max-width: none;
	padding: 0.85rem 1.1rem 0.85rem 0.95rem;
}
.definition--defined > span {
	max-width: 72ch;
}
.definition-icon {
	flex: 0 0 auto;
	margin-top: 0.1rem;
	color: var(--theme-deep);
}

.group {
	padding: 1.85rem;
	border: 2px solid #f1f3f7;
	border-radius: 30px;
	background-color: #fff;
}
.group + .group {
	margin-top: 1rem;
}
.group-h {
	margin: 0 0 1.5rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--ink);
}

.rows {
	margin: 0;
	display: grid;
	gap: 0.3rem;
}
.row {
	display: grid;
	grid-template-columns: 14rem minmax(0, 1fr);
	gap: 0 1.5rem;
	padding: 0.75rem 0.85rem;
	margin: 0 -0.85rem;
	border-radius: 10px;
}
.row:nth-child(odd) {
	background: #f6f8fb;
}
.row dt {
	color: var(--ink-soft);
	font-size: 0.95rem;
	line-height: 1.5;
}
.row dd {
	margin: 0;
	min-width: 0;
	max-width: 60ch;
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--ink);
	overflow-wrap: anywhere;
}
.row dd ul {
	margin: 0;
	padding-left: 1.1rem;
}
.row dd li + li {
	margin-top: 0.3rem;
}
.row--check dt {
	padding-top: 0.05rem;
}
.checklist {
	list-style: none;
	margin: 0;
	padding: 0 !important;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.3rem 0;
}
.checklist li {
	margin: 0 !important;
}
.checklist .mark {
	display: inline-block;
	width: 1.1rem;
	color: var(--theme-deep);
	font-weight: 700;
}

@media (max-width: 1100px) {
	.row {
		grid-template-columns: 11rem minmax(0, 1fr);
	}
}
@media (max-width: 820px) {
	.tech-head {
		padding: 0.85rem 1.1rem;
	}
	.tech-body {
		padding: 1.1rem 0.9rem 1.1rem;
	}
	.group {
		padding: 1.1rem 1.1rem 1.2rem;
		border-radius: 20px;
	}
	.group + .group {
		margin-top: 0.75rem;
	}
	.row {
		grid-template-columns: minmax(7rem, 38%) minmax(0, 1fr);
		gap: 0 1rem;
		padding: 0.5rem 0.6rem;
		margin: 0 -0.6rem;
	}
}

.section-empty {
	color: var(--ink-soft);
	font-size: 0.95rem;
	margin: 0;
}

.not-found {
	padding: 4rem 0;
}
.not-found h1 {
	font-size: 2rem;
	margin-bottom: 0.75rem;
}

/* ---- footer ---- */
.foot {
	background: var(--surface);
	border-top: 1px solid var(--hairline);
	margin-top: auto;
	font-size: 0.88rem;
}
.foot-plate {
	max-width: var(--shell);
	margin: 0 auto;
	padding: 2.25rem 1.5rem;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem 3.5rem;
}
.foot-rstep {
	display: inline-block;
}
.foot-rstep img {
	display: block;
	height: 24px;
	width: auto;
}
.foot-rstep:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
}
.foot-logo {
	display: block;
	width: auto;
}
.foot-logo--doe {
	height: 52px;
}
.foot-logo--enwx {
	height: 38px;
}

.foot-band {
	background: #0d2c53;
	color: #ffffff;
}
.foot-band-inner {
	max-width: var(--shell);
	margin: 0 auto;
	padding: 3.5rem 1.5rem 3rem;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 24rem;
	gap: 2rem 5rem;
	align-items: start;
}
.foot-credit {
	min-width: 0;
}
.foot-h {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	color: #ffffff;
}
.foot-text {
	margin: 0;
	max-width: 66ch;
	color: #c9d3e0;
	line-height: 1.6;
}
.foot-data .foot-text {
	margin-bottom: 1rem;
}

.download {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	column-gap: 0.8rem;
	align-items: center;
	width: fit-content;
	padding: 0.6rem 1rem 0.6rem 0.85rem;
	color: var(--ink);
	background: var(--surface);
	border: 1px solid transparent;
	border-radius: var(--radius);
	text-decoration: none;
	transition:
		border-color 120ms ease,
		box-shadow 120ms ease;
}
.download:hover {
	border-color: #ffffff;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.download:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 3px;
}
.download-icon {
	grid-row: 1 / 3;
	color: var(--theme-deep);
}
.download-label {
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.3;
}
.download-meta {
	font-size: 0.78rem;
	color: var(--ink-faint);
	line-height: 1.3;
}

.foot-legal-wrap {
	max-width: var(--shell);
	margin: 0 auto;
	padding: 0 1.5rem 2.25rem;
}
.foot-legal {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5rem 2rem;
	margin: 0;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	font-size: 0.82rem;
	color: #9fb0c6;
}
.foot-legal p {
	margin: 0;
}
.foot-legal a {
	color: #ffffff;
	text-decoration-color: rgba(255, 255, 255, 0.45);
}
.foot-legal a:hover {
	text-decoration-color: currentColor;
}
.foot-legal a:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

@media (max-width: 1000px) {
	.foot-band-inner {
		grid-template-columns: 1fr;
		gap: 2rem 0;
	}
}

@media (max-width: 1300px) {
	.map-prompt {
		position: static;
		margin: 0 0 0.75rem;
		max-width: none;
		width: fit-content;
	}
	.map-frame {
		margin-left: auto;
		margin-right: auto;
	}
}

@media (max-width: 1000px) {
	.overview-inner {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	.overview-lede {
		display: contents;
	}
	.overview h1 {
		order: 1;
	}
	.overview-sub {
		order: 2;
	}
	.map-panel {
		order: 3;
	}
	.statlist {
		order: 4;
	}
	.map-legend {
		order: 5;
	}
	.map-legend {
		text-align: left;
	}
	.map-legend li {
		flex-direction: row;
	}
	.county-body {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	.rail {
		position: static;
	}
	.rail nav {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0.4rem;
		border-top: 0;
	}
	.rail-link {
		gap: 0.5rem;
		font-size: 0.92rem;
		border: 1px solid var(--hairline-strong);
		border-radius: 999px;
		padding: 0.35rem 0.85rem;
	}
	.rail-link.is-active {
		border-color: var(--accent-deep);
	}
}

@media (max-width: 700px) {
	body {
		font-size: 16px;
	}
	.county-line--planning {
		flex-direction: column;
		gap: 0.2rem;
	}
	.county-line--planning span + span {
		margin-left: 0;
		padding-left: 0;
		border-left: 0;
	}
	.frame,
	.overview-inner,
	.foot-plate,
	.foot-band-inner,
	.foot-legal-wrap {
		padding-left: 1rem;
		padding-right: 1rem;
	}
	.foot-plate {
		gap: 1rem 2rem;
	}
	.foot-logo--doe {
		height: 44px;
	}
	.foot-logo--enwx {
		height: 32px;
	}
	.download {
		width: 100%;
		min-width: 0;
	}
	.index-tools {
		margin-left: 0;
		width: 100%;
	}
	.tool-input {
		min-width: 0;
		flex: 1;
	}
	.county-list a {
		grid-template-columns: 1fr;
		gap: 0.35rem;
	}
	.county-region {
		order: -1;
	}
	.county-status {
		justify-content: flex-start;
	}
	.map-frame {
		width: auto;
	}
	.map-frame svg {
		width: 100%;
		height: auto;
	}
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}
@media (prefers-reduced-motion: reduce) {
	* {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
