:root {
	color-scheme: light;

	--paper: #E9EDE8;
	--ink: #203532;
	--muted: #78847F;
	--line: rgba(32, 53, 50, 0.17);
	--accent: #A65340;
	--green: #587568;
	--white: #FFFFFF;
}

* {
	box-sizing: border-box;
}

html {
	min-width: 320px;
	background: var(--paper);
}

body {
	margin: 0;
	color: var(--ink);
	background:
		radial-gradient(ellipse at 80% 10%, rgba(185, 199, 185, 0.25), transparent 35rem),
		var(--paper);
	font-family: "DM Sans", sans-serif;
	-webkit-font-smoothing: antialiased;
}

.app-shell {
	width: min(calc(100% - 80px), 1180px);
	min-height: 100svh;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
}

.site-header {
	min-height: 100px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	border-bottom: 1px solid var(--line);
}

.wordmark {
	color: var(--ink);
	font-size: 25px;
	font-weight: 700;
	text-decoration: none;
}

.wordmark span {
	color: var(--accent);
}

.header-note,
.back-link,
.eyebrow,
.section-kicker,
.data-status,
.filter-control > span,
.filter-summary,
table thead,
.data-caveat,
.map-mark,
.site-footer {
	font-family: "DM Mono", monospace;
	font-size: 9px;
	letter-spacing: 0.14em;
}

.header-note,
.eyebrow,
.section-kicker,
.filter-summary,
.data-caveat,
.site-footer {
	color: var(--muted);
}

main {
	flex: 1;
	padding: 38px 0 74px;
}

.back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 36px;
	color: var(--green);
	text-decoration: none;
}

.back-link span {
	font-size: 15px;
}

.back-link:hover,
.site-footer a:hover {
	color: var(--accent);
}

.page-intro {
	max-width: 680px;
	margin-bottom: 52px;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 22px;
}

.eyebrow-line {
	width: 30px;
	height: 1px;
	background: var(--accent);
}

h1 {
	margin: 0;
	font-size: 62px;
	font-weight: 500;
	line-height: 1.02;
}

h1 em {
	color: var(--accent);
	font-family: "Playfair Display", Georgia, serif;
	font-weight: 500;
}

.intro {
	max-width: 500px;
	margin: 20px 0 0;
	color: #68766F;
	font-size: 14px;
	line-height: 1.8;
}

.map-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 16px;
}

.map-section-heading h2 {
	margin: 9px 0 0;
	font-size: 27px;
	font-weight: 600;
}

.map-heading-actions {
	display: flex;
	align-items: center;
	gap: 22px;
}

.map-label-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--muted);
	font-family: "DM Mono", monospace;
	font-size: 9px;
	letter-spacing: 0.1em;
	white-space: nowrap;
	cursor: pointer;
}

.map-label-toggle input {
	width: 34px;
	height: 20px;
	position: relative;
	appearance: none;
	margin: 0;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: rgba(32, 53, 50, 0.12);
	cursor: pointer;
	transition: background 0.16s ease;
}

.map-label-toggle input::before {
	width: 12px;
	height: 12px;
	position: absolute;
	top: 3px;
	left: 3px;
	border-radius: 50%;
	background: var(--white);
	box-shadow: 0 1px 3px rgba(32, 53, 50, 0.2);
	content: "";
	transition: transform 0.16s ease;
}

.map-label-toggle input:checked {
	border-color: var(--green);
	background: var(--green);
}

.map-label-toggle input:checked::before {
	transform: translateX(14px);
}

.map-label-toggle input:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.basemap-selector {
	margin: 0;
	padding: 0;
	border: 0;
}

.basemap-selector legend {
	margin-bottom: 5px;
	color: var(--muted);
	font-family: "DM Mono", monospace;
	font-size: 8px;
	letter-spacing: 0.1em;
}

.basemap-options {
	display: flex;
	gap: 2px;
	padding: 2px;
	border: 1px solid var(--line);
	background: rgba(32, 53, 50, 0.04);
}

.basemap-options label {
	position: relative;
	cursor: pointer;
}

.basemap-options input {
	position: absolute;
	opacity: 0;
}

.basemap-options span {
	min-height: 27px;
	display: grid;
	place-items: center;
	padding: 0 9px;
	color: var(--muted);
	font-family: "DM Mono", monospace;
	font-size: 8px;
	letter-spacing: 0.08em;
	white-space: nowrap;
}

.basemap-options input:checked + span {
	background: var(--ink);
	color: var(--white);
}

.basemap-options input:focus-visible + span {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.official-link,
.rules-link,
.map-credit {
	color: var(--accent);
	font-family: "DM Mono", monospace;
	font-size: 9px;
	letter-spacing: 0.1em;
	text-decoration: none;
}

.official-link span,
.rules-link span {
	margin-left: 5px;
	font-size: 13px;
}

.official-link:hover,
.rules-link:hover,
.map-credit:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.map-tool {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
	gap: 30px;
	align-items: stretch;
	margin-bottom: 72px;
	padding: 20px;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.5);
}

.map-viewport {
	min-height: 640px;
	height: 640px;
	position: relative;
	overflow: hidden;
	background: #CDE4E7;
	border: 1px solid rgba(32, 53, 50, 0.1);
}

.leaflet-map {
	width: 100%;
	height: 100%;
}

.leaflet-container {
	background: #DCEBED;
	font: inherit;
}

.map-status {
	position: absolute;
	z-index: 1000;
	top: 12px;
	left: 12px;
	max-width: calc(100% - 24px);
	margin: 0;
	padding: 9px 12px;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 2px 8px rgba(32, 53, 50, 0.12);
	color: var(--ink);
	font-size: 12px;
}

.area-label {
	padding: 2px 6px;
	border: 1px solid rgba(32, 53, 50, 0.2);
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 1px 4px rgba(32, 53, 50, 0.15);
	color: var(--ink);
	font-family: "DM Mono", monospace;
	font-size: 9px;
	font-weight: 500;
}

.area-label::before {
	display: none;
}

.area-picker button:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.map-details {
	min-width: 0;
	display: flex;
	flex-direction: column;
	padding: 8px 0;
}

.selected-area {
	padding-bottom: 20px;
	border-bottom: 1px solid var(--line);
}

.selected-area-title {
	margin-top: 12px;
	font-family: "DM Mono", monospace;
	font-size: 18px;
	font-variant-numeric: tabular-nums;
}

.selected-area-title span {
	font-family: "DM Sans", sans-serif;
	font-size: 21px;
	font-weight: 600;
}

.past-catch {
	margin: 14px 0;
	padding: 12px 0;
	border-top: 1px solid rgba(32, 53, 50, 0.1);
	border-bottom: 1px solid rgba(32, 53, 50, 0.1);
	color: #68766F;
	font-size: 13px;
	line-height: 1.6;
}

.past-catch-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
}

.past-catch-range {
	color: var(--muted);
	font-family: "DM Mono", monospace;
	font-size: 9px;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

.past-catch-list {
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.past-catch-list li {
	padding: 3px 0;
	font-variant-numeric: tabular-nums;
}

.selected-area > .rules-link {
	display: inline-block;
	margin-bottom: 2px;
	color: #68766F;
	color: #68766F;
}

.area-picker {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 12px;
	padding: 13px 0;
}

.area-picker button {
	min-width: 0;
	min-height: 38px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 5px;
	border: 0;
	border-bottom: 1px solid rgba(32, 53, 50, 0.09);
	background: transparent;
	color: var(--ink);
	font: 12px "DM Sans", sans-serif;
	text-align: left;
	cursor: pointer;
}

.area-picker button span {
	width: 24px;
	flex: 0 0 auto;
	color: var(--muted);
	font-family: "DM Mono", monospace;
	font-size: 9px;
}

.area-picker button:hover,
.area-picker button[aria-pressed="true"] {
	background: rgba(88, 117, 104, 0.1);
}

.area-picker button[aria-pressed="true"] span {
	color: var(--accent);
}

.map-disclaimer {
	margin: auto 0 12px;
	padding-top: 13px;
	border-top: 1px solid var(--line);
	color: #68766F;
	font-size: 11px;
	line-height: 1.55;
}

.map-credit {
	color: var(--muted);
	font-size: 8px;
}

.calendar-control {
	grid-column: 1 / -1;
	padding-top: 21px;
	border-top: 1px solid var(--line);
}

.calendar-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 16px;
}

.calendar-date {
	display: grid;
	grid-template-columns: auto auto;
	align-items: baseline;
	column-gap: 13px;
	row-gap: 7px;
}

.calendar-date .section-kicker {
	grid-column: 1 / -1;
}

.calendar-date label {
	font-size: 15px;
	font-weight: 600;
}

.calendar-date output {
	color: var(--green);
	font-family: "DM Mono", monospace;
	font-size: 14px;
}

.catch-legend {
	display: flex;
	align-items: center;
	gap: 17px;
}

.legend-item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--muted);
	font-family: "DM Mono", monospace;
	font-size: 8px;
	letter-spacing: 0.08em;
	white-space: nowrap;
}

.legend-item small {
	display: block;
	margin-top: 3px;
	font-size: 8px;
	letter-spacing: 0;
}

.legend-swatch {
	width: 12px;
	height: 12px;
	flex: 0 0 auto;
	border-radius: 50%;
}

.legend-swatch.low {
	background: #B85A49;
}

.legend-swatch.mid {
	background: #D0A12E;
}

.legend-swatch.high {
	background: #587568;
}

.species-selector {
	margin: 0 0 19px;
	padding: 0;
	border: 0;
}

.species-selector legend {
	margin-bottom: 8px;
	color: var(--muted);
	font-family: "DM Mono", monospace;
	font-size: 8px;
	letter-spacing: 0.12em;
}

.species-options {
	width: fit-content;
	display: flex;
	gap: 3px;
	padding: 3px;
	border: 1px solid var(--line);
	background: rgba(32, 53, 50, 0.04);
}

.species-options label {
	position: relative;
	cursor: pointer;
}

.species-options input {
	position: absolute;
	opacity: 0;
}

.species-options span {
	min-width: 82px;
	min-height: 34px;
	display: grid;
	place-items: center;
	padding: 0 12px;
	color: var(--muted);
	font-size: 12px;
	transition: background 0.16s ease, color 0.16s ease;
}

.species-options input:checked + span {
	background: var(--ink);
	color: var(--white);
}

.species-options input:focus-visible + span {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.day-slider {
	width: 100%;
	height: 4px;
	display: block;
	appearance: none;
	border-radius: 3px;
	background: linear-gradient(to right, var(--green) var(--range-progress, 0%), rgba(32, 53, 50, 0.15) var(--range-progress, 0%));
	cursor: pointer;
}

.day-slider::-webkit-slider-thumb {
	width: 17px;
	height: 17px;
	appearance: none;
	border: 3px solid var(--white);
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 1px 5px rgba(32, 53, 50, 0.25);
}

.day-slider::-moz-range-thumb {
	width: 11px;
	height: 11px;
	border: 3px solid var(--white);
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 1px 5px rgba(32, 53, 50, 0.25);
}

.day-slider:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 7px;
}

.month-labels {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	margin-top: 13px;
	color: var(--muted);
	font-family: "DM Mono", monospace;
	font-size: 8px;
	letter-spacing: 0.06em;
}

.month-labels span {
	text-align: center;
}

.month-labels span:first-child {
	text-align: left;
}

.month-labels span:last-child {
	text-align: right;
}

.calendar-note {
	margin: 13px 0 0;
	color: var(--muted);
	font-size: 11px;
	line-height: 1.5;
}

.dashboard-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--line);
}

.section-kicker {
	font-size: 9px;
}

.dashboard-heading h2,
.next-tool h2 {
	margin: 9px 0 0;
	font-size: 27px;
	font-weight: 600;
}

.data-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 11px;
	border: 1px solid rgba(166, 83, 64, 0.3);
	color: var(--accent);
	white-space: nowrap;
}

.status-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
}

.filter-row {
	min-height: 88px;
	display: flex;
	align-items: center;
	gap: 18px;
	border-bottom: 1px solid var(--line);
}

.filter-control {
	display: grid;
	gap: 7px;
}

.filter-control > span {
	color: var(--muted);
	font-size: 8px;
}

.filter-control select {
	min-width: 190px;
	min-height: 39px;
	padding: 0 34px 0 11px;
	border: 1px solid var(--line);
	border-radius: 2px;
	background: var(--white);
	color: var(--ink);
	font: inherit;
}

.filter-control select:focus-visible,
.reset-button:focus-visible,
.back-link:focus-visible,
.wordmark:focus-visible,
.site-footer a:focus-visible,
.table-scroll:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.reset-button {
	align-self: end;
	min-height: 39px;
	padding: 0 3px;
	border: 0;
	background: transparent;
	color: var(--accent);
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.filter-summary {
	margin: 0 0 0 auto;
	font-size: 9px;
}

.table-scroll {
	overflow-x: auto;
	overscroll-behavior-x: contain;
}

table {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
	text-align: left;
}

table caption {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	clip-path: inset(50%);
}

table thead th {
	height: 47px;
	padding: 0 13px;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-size: 8px;
	font-weight: 400;
	white-space: nowrap;
}

table thead th:first-child {
	padding-left: 0;
}

table tbody tr {
	border-bottom: 1px solid rgba(32, 53, 50, 0.1);
}

table tbody tr:last-child {
	border-bottom: 0;
}

table tbody th,
table tbody td {
	padding: 12px 13px;
}

.area-name {
	min-width: 220px;
	padding-left: 0;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}

.area-name span {
	width: 30px;
	display: inline-block;
	margin-right: 7px;
	color: var(--accent);
	font-family: "DM Mono", monospace;
	font-size: 10px;
}

table tbody td {
	min-width: 100px;
	color: var(--ink);
	font-family: "DM Mono", monospace;
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}

table tbody td span {
	position: relative;
	z-index: 1;
}

table tbody td i {
	height: 3px;
	display: block;
	margin-top: 7px;
	background: linear-gradient(to right, var(--green) var(--rate), transparent var(--rate));
	opacity: 0.55;
}

[hidden] {
	display: none !important;
}

.data-caveat {
	margin: 12px 0 0;
	font-family: "DM Sans", sans-serif;
	font-size: 12px;
	letter-spacing: 0;
	line-height: 1.65;
}

.site-footer {
	min-height: 76px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border-top: 1px solid var(--line);
	font-size: 9px;
}

.site-footer a {
	color: var(--muted);
	text-decoration: none;
}

.site-footer a span {
	margin-left: 5px;
	color: var(--accent);
}

@media (max-width: 700px) {
	.app-shell {
		width: calc(100% - 40px);
	}

	.site-header {
		min-height: 78px;
	}

	.wordmark {
		font-size: 20px;
	}

	.header-note {
		font-size: 8px;
		text-align: right;
	}

	main {
		padding: 30px 0 55px;
	}

	.back-link {
		margin-bottom: 30px;
	}

	.page-intro {
		margin-bottom: 38px;
	}

	h1 {
		font-size: 52px;
	}

	.map-section-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.map-heading-actions {
		width: 100%;
		justify-content: space-between;
		flex-wrap: wrap;
		gap: 12px;
	}

	.map-section-heading h2 {
		font-size: 24px;
	}

	.map-tool {
		grid-template-columns: 1fr;
		gap: 19px;
		margin-bottom: 54px;
		padding: 11px;
	}

	.map-viewport {
		min-height: 0;
		height: min(125vw, 570px);
	}

	.leaflet-map {
		min-height: 0;
		height: 100%;
	}

	.map-details {
		padding: 4px 5px 6px;
	}

	.calendar-control {
		grid-column: auto;
	}

	.calendar-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 15px;
	}

	.catch-legend {
		width: 100%;
		justify-content: space-between;
		gap: 8px;
	}

	.species-options {
		width: 100%;
	}

	.species-options label {
		flex: 1 1 0;
	}

	.species-options span {
		min-width: 0;
		padding: 0 6px;
		font-size: 11px;
	}

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

	.dashboard-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 14px;
	}

	.dashboard-heading h2,
	.next-tool h2 {
		font-size: 24px;
	}

	.filter-row {
		padding: 16px 0;
		align-items: stretch;
		flex-wrap: wrap;
		gap: 12px;
	}

	.filter-control {
		flex: 1 1 45%;
	}

	.filter-control select {
		width: 100%;
		min-width: 0;
		font-size: 12px;
	}

	.reset-button {
		align-self: center;
	}

	.filter-summary {
		align-self: center;
	}

	.site-footer {
		font-size: 8px;
		letter-spacing: 0.08em;
	}
}

@media (max-width: 420px) {
	.app-shell {
		width: calc(100% - 32px);
	}

	h1 {
		font-size: 46px;
	}

	.data-status {
		font-size: 8px;
	}

}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

.tools-nav {
	min-height: 52px;
	display: flex;
	align-items: center;
	gap: 23px;
	border-bottom: 1px solid var(--line);
}

.tools-nav a {
	min-height: 52px;
	display: inline-flex;
	align-items: center;
	border-bottom: 2px solid transparent;
	color: var(--muted);
	font-family: "DM Mono", monospace;
	font-size: 9px;
	letter-spacing: 0.12em;
	text-decoration: none;
}

.tools-nav a:hover,
.tools-nav a.is-current {
	border-bottom-color: var(--accent);
	color: var(--ink);
}

.tools-nav a:focus-visible,
.tool-card:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

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

.tool-card {
	min-height: 290px;
	padding: 25px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	border: 1px solid rgba(32, 53, 50, 0.1);
	border-radius: 3px;
	background: var(--white);
	color: var(--ink);
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tool-card:hover {
	transform: translateY(-3px);
	border-color: rgba(166, 83, 64, 0.35);
	box-shadow: 0 12px 28px rgba(32, 53, 50, 0.08);
}

.tool-card-number {
	color: var(--accent);
	font-family: "DM Mono", monospace;
	font-size: 10px;
	letter-spacing: 0.12em;
}

.tool-card h2 {
	margin: 22px 0 10px;
	font-size: 24px;
	font-weight: 600;
}

.tool-card p {
	margin: 0;
	color: #68766F;
	font-size: 13px;
	line-height: 1.7;
}

.tool-card-action {
	margin-top: auto;
	padding-top: 24px;
	color: var(--accent);
	font-family: "DM Mono", monospace;
	font-size: 9px;
	letter-spacing: 0.1em;
}

.area-select-control {
	display: grid;
	gap: 7px;
}

.area-select-control > span {
	color: var(--muted);
	font-family: "DM Mono", monospace;
	font-size: 8px;
	letter-spacing: 0.12em;
}

.area-select-control select {
	min-width: 230px;
	min-height: 39px;
	padding: 0 34px 0 11px;
	border: 1px solid var(--line);
	border-radius: 2px;
	background: var(--white);
	color: var(--ink);
	font: inherit;
}

.area-select-control select:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.dashboard-summary {
	margin: 22px 0 13px;
	color: var(--green);
	font-family: "DM Mono", monospace;
	font-size: 10px;
	letter-spacing: 0.04em;
}

.pattern-table-scroll {
	overflow-x: auto;
	overscroll-behavior-x: contain;
}

.pattern-table {
	width: 100%;
	min-width: 880px;
	border-collapse: collapse;
}

.pattern-table thead th {
	height: 42px;
	padding: 0 8px;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-family: "DM Mono", monospace;
	font-size: 8px;
	font-weight: 400;
	text-align: center;
}

.pattern-table thead th:first-child {
	min-width: 145px;
	padding-left: 0;
	text-align: left;
}

.pattern-table tbody th {
	padding: 9px 10px 9px 0;
	border-bottom: 1px solid rgba(32, 53, 50, 0.1);
	font-size: 13px;
	font-weight: 500;
	text-align: left;
}

.pattern-table tbody td {
	min-width: 52px;
	padding: 5px 4px;
	border-bottom: 1px solid rgba(32, 53, 50, 0.1);
	text-align: center;
}

.pattern-rate {
	border-radius: 2px;
	font-family: "DM Mono", monospace;
	font-size: 10px;
	font-variant-numeric: tabular-nums;
}

.pattern-rate.low {
	background: rgba(184, 90, 73, 0.14);
	color: #824033;
}

.pattern-rate.mid {
	background: rgba(208, 161, 46, 0.19);
	color: #75601F;
}

.pattern-rate.high {
	background: rgba(88, 117, 104, 0.2);
	color: #345747;
}

.dashboard-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 19px;
	margin-top: 20px;
	color: var(--muted);
	font-family: "DM Mono", monospace;
	font-size: 8px;
	letter-spacing: 0.08em;
}

.dashboard-legend span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.dashboard-legend small {
	margin-left: -3px;
	letter-spacing: 0;
}

.graph-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--line);
}

.graph-heading h2 {
	margin: 9px 0 0;
	font-size: 27px;
	font-weight: 600;
}

.graph-canvas-wrap {
	height: 440px;
	position: relative;
	margin: 25px 0 18px;
}

.graph-status {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(233, 237, 232, 0.94);
	color: var(--muted);
	font-size: 13px;
}

@media (max-width: 800px) {
	.tool-grid {
		grid-template-columns: 1fr;
	}

	.tool-card {
		min-height: 225px;
	}
}

@media (max-width: 700px) {
	.tools-nav {
		gap: 17px;
		overflow-x: auto;
	}

	.tools-nav a {
		flex: 0 0 auto;
	}

	.dashboard-heading,
	.graph-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 15px;
	}

	.area-select-control,
	.area-select-control select {
		width: 100%;
		min-width: 0;
	}

	.graph-canvas-wrap {
		height: 340px;
	}
}
