@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap");

:root {
  color-scheme: light;
  --ink: #26352b;
  --muted: #6c766d;
  --paper: #f5f4ef;
  --white: #fff;
  --green: #315a43;
  --line: #e3e4db;
  --forest: #33745b;
  --blm: #c67b46;
  --state: #5b91ae;
  --other: #8776a8;
  --font-body-size: 12px;
  --font-search-size: 11px;
  --font-caption-size: 10px;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.topbar {
  height: 70px;
  padding: 0 max(32px, calc((100% - 1320px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  border-bottom: 1px solid rgba(48, 63, 50, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #294534;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.8px;
  text-decoration: none;
}

.brand-mark {
  width: 27px;
  height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

.brand-mark svg {
  width: 26px;
  height: 26px;
}

.brand-period {
  color: #b77749;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #566158;
  font-size: 12px;
  font-weight: 600;
}

.topbar nav a {
  text-decoration: none;
}

.topbar nav a:hover,
.footer > a:last-child:hover {
  color: var(--green);
}

.nav-source {
  color: #315a43;
}

main {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
}

.intro {
  min-height: 256px;
  padding: 42px 0 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}

.eyebrow {
  margin: 0 0 13px;
  color: #738273;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.55px;
}

.intro .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.eyebrow-dot,
.live-pill span,
.status-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: #7f9b6b;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  color: #2e4836;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(42px, 5.1vw, 67px);
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 0.99;
}

h1 em {
  color: #778c68;
  font-weight: 400;
}

.intro-description {
  max-width: 550px;
  margin: 0;
  color: #667168;
  font-size: 13px;
  line-height: 1.7;
}

.intro-description strong {
  color: #3e4d40;
  font-weight: 700;
}

.intro-note {
  width: 365px;
  margin-bottom: 4px;
  padding: 18px 19px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  background: #e9eee6;
  border: 1px solid #dfe6dc;
  border-radius: 5px;
}

.note-icon {
  width: 22px;
  height: 22px;
  flex: none;
  display: inline-grid;
  place-items: center;
  border: 1px solid #739071;
  border-radius: 50%;
  color: #496d4f;
  font-size: 13px;
  font-weight: 700;
}

.intro-note strong {
  display: block;
  margin-bottom: 5px;
  color: #3a5140;
  font-size: 11px;
}

.intro-note p {
  margin: 0;
  color: #667568;
  font-size: 10px;
  line-height: 1.55;
}

.explorer {
  min-height: 560px;
  display: grid;
  grid-template-columns: 282px minmax(0, 1fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid #e1e2d9;
  border-radius: 6px;
  box-shadow: 0 5px 22px rgba(38, 53, 43, 0.045);
}

.sidebar {
  padding: 24px 20px 19px;
  border-right: 1px solid var(--line);
}

.sidebar-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.sidebar-heading .eyebrow {
  margin-bottom: 5px;
}

.sidebar h2,
.section-title h2,
.data-heading h2 {
  margin-bottom: 0;
  color: #2f4635;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.5px;
}

.live-pill {
  margin-top: 2px;
  padding: 5px 7px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 3px;
  background: #eff4ed;
  color: #5c7558;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.7px;
  white-space: nowrap;
}

.live-pill span {
  width: 5px;
  height: 5px;
}

.sidebar-intro {
  margin: 7px 0 22px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.map-search > label,
.layer-filters legend {
  display: block;
  margin-bottom: 8px;
  color: #39483c;
  font-size: 10px;
  font-weight: 700;
}

.search-wrap {
  height: 35px;
  display: flex;
  align-items: center;
  border: 1px solid #dfe2da;
  border-radius: 4px;
  background: #fcfcfa;
}

.search-wrap:focus-within {
  border-color: #79977a;
  box-shadow: 0 0 0 2px rgba(121, 151, 122, 0.14);
}

.search-wrap svg {
  width: 15px;
  height: 15px;
  margin: 0 8px;
  fill: none;
  stroke: #8c968b;
  stroke-width: 1.5;
}

.search-wrap input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 9px;
}

.search-wrap input::placeholder {
  color: #9a9f98;
}

.search-wrap button {
  height: 25px;
  margin-right: 4px;
  padding: 0 9px;
  border: 0;
  border-radius: 3px;
  background: #365a43;
  color: #fff;
  cursor: pointer;
  font-size: 9px;
  font-weight: 600;
}

.search-wrap button:hover {
  background: #284832;
}

.search-wrap button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.search-message {
  min-height: 22px;
  margin: 6px 0 16px;
  color: #879087;
  font-size: 8px;
  line-height: 1.45;
}

.search-results {
  max-height: 180px;
  margin: -8px 0 8px;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.search-results[hidden] {
  display: none;
}

.search-results li + li {
  border-top: 1px solid #edf0e9;
}

.search-result {
  width: 100%;
  padding: 7px 5px;
  border: 0;
  background: transparent;
  color: #425747;
  cursor: pointer;
  font-size: 8px;
  line-height: 1.45;
  text-align: left;
}

.search-result:hover,
.search-result:focus-visible {
  background: #f0f4ee;
}

.search-attribution {
  margin: -12px 0 16px;
  color: #929a90;
  font-size: 7px;
  line-height: 1.4;
}

.search-attribution a {
  color: #59755c;
}

.map-notes {
  margin: 2px 0 15px;
  padding: 13px 0 12px;
  border-top: 1px solid #edf0e9;
  border-bottom: 1px solid #edf0e9;
}

.map-notes-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 8px;
}

.map-notes-heading h3 {
  margin: 0 0 4px;
  color: #39483c;
  font-size: 10px;
  font-weight: 700;
}

.map-notes-heading p,
.map-note-privacy {
  margin: 0;
  color: #879087;
  font-size: 8px;
  line-height: 1.5;
}

.map-note-count {
  padding: 3px 6px;
  border-radius: 3px;
  background: #eff4ed;
  color: #5c7558;
  font-size: 7px;
  white-space: nowrap;
}

.map-note-form {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.map-note-form[hidden] {
  display: none;
}

.map-note-location {
  margin: 0 0 2px;
  color: #6e7b70;
  font-size: 8px;
  line-height: 1.45;
}

.note-field-label {
  margin-top: 3px;
  color: #465448;
  font-size: 8px;
  font-weight: 700;
}

.note-field-label span {
  color: #98a096;
  font-weight: 400;
}

.note-text-field {
  width: 100%;
  min-height: 30px;
  padding: 6px 8px;
  border: 1px solid #dfe3da;
  border-radius: 4px;
  outline: 0;
  background: #fdfdfa;
  color: #35453a;
  font: inherit;
  font-size: 8px;
}

.note-text-field:focus {
  border-color: #809a7e;
  box-shadow: 0 0 0 2px rgba(121, 151, 122, 0.14);
}

.note-textarea {
  min-height: 62px;
  resize: vertical;
  line-height: 1.45;
}

.map-note-actions {
  display: flex;
  gap: 6px;
  margin-top: 3px;
}

.map-note-actions button {
  min-height: 28px;
  padding: 0 9px;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  font-size: 8px;
  font-weight: 600;
}

.note-save-button {
  background: #365a43;
  color: #fff;
}

.note-save-button:hover {
  background: #284832;
}

.note-cancel-button {
  background: #eef0eb;
  color: #566458;
}

.map-note-message {
  margin: 0;
  color: #59755c;
  font-size: 8px;
  line-height: 1.4;
}

.map-note-message.is-error {
  color: #9b3f35;
}

.shared-note-notice {
  margin: 7px 0 0;
  padding: 7px 8px;
  border-left: 2px solid #b98547;
  background: #f7f3e9;
  color: #6f5c3d;
  font-size: var(--font-caption-size, 10px);
  line-height: 1.45;
}

.shared-note-notice[hidden] {
  display: none;
}

.map-note-privacy {
  margin-top: 8px;
}

.map-note-icon {
  display: grid;
  place-items: center;
  background: transparent;
}

.map-note-icon span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 3px;
  background: #315a43;
  box-shadow: 0 1px 5px rgba(30, 48, 34, 0.45);
  font-size: 17px;
  transform: rotate(-45deg);
}

.map-note-icon i {
  font-style: normal;
  transform: rotate(45deg);
}

.map-note-popup h3 {
  margin: 4px 0 6px;
  color: #354b3b;
  font-size: 13px;
  line-height: 1.3;
}

.map-note-popup p {
  margin: 5px 0;
  color: #627064;
  font-size: 11px;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.map-note-popup .map-note-popup-type {
  color: #657a63;
  font-size: 9px;
  font-weight: 700;
}

.map-note-popup-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.map-note-popup-actions button {
  padding: 4px 7px;
  border: 1px solid #dfe3da;
  border-radius: 3px;
  background: #f8f9f6;
  color: #405943;
  cursor: pointer;
  font-size: 9px;
}

.layer-filters {
  margin: 0;
  padding: 15px 0 13px;
  border: 0;
  border-top: 1px solid #edf0e9;
  border-bottom: 1px solid #edf0e9;
}

.layer-filters legend {
  padding: 0;
}

.filter-row {
  min-height: 29px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #536055;
  cursor: pointer;
  font-size: 9px;
}

.filter-row input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: #426a4b;
}

.filter-swatch {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 2px;
}

.swatch-forest {
  background: var(--forest);
}

.swatch-blm {
  background: var(--blm);
}

.swatch-state {
  background: var(--state);
}

.swatch-other {
  background: var(--other);
}

.status-card {
  margin: 16px 0 14px;
  padding: 12px 11px;
  display: flex;
  align-items: start;
  gap: 9px;
  background: #f6f1e8;
  border: 1px solid #eee5d8;
  border-radius: 4px;
}

.status-icon {
  width: 18px;
  height: 18px;
  flex: none;
  display: inline-grid;
  place-items: center;
  border: 1px solid #bf9461;
  border-radius: 50%;
  color: #9a6a3d;
  font-size: 11px;
  font-weight: 700;
}

.status-card strong {
  display: block;
  margin-bottom: 4px;
  color: #745638;
  font-size: 9px;
}

.status-card p {
  margin: 0;
  color: #7d715f;
  font-size: 8px;
  line-height: 1.5;
}

.map-actions {
  display: flex;
  gap: 7px;
}

.action-button {
  min-height: 31px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #dce3db;
  border-radius: 3px;
  background: #f8faf7;
  color: #4e6953;
  cursor: pointer;
  font-size: 8px;
  font-weight: 600;
}

.action-button:hover {
  background: #edf4ed;
}

.action-button svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.action-button-muted {
  border-color: transparent;
  background: transparent;
  color: #778177;
}

.location-privacy {
  margin: 8px 0 0;
  color: #9aa098;
  font-size: 7px;
}

.map-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.map-toolbar {
  min-height: 58px;
  padding: 0 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #ebede7;
}

.map-toolbar > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.map-toolbar-label {
  color: #59695b;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
}

.map-status {
  color: #919a90;
  font-size: 8px;
}

.map-status.error {
  color: #9e563e;
}

.map-toolbar-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8b7560;
  font-size: 8px;
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #c78b4e;
}

#map {
  min-height: 440px;
  height: 1px;
  flex: 1;
  background: #e8ece6;
  isolation: isolate;
}

.map-layer-control {
  position: relative;
  width: 34px;
  height: 30px;
  display: flex;
  justify-content: center;
}

.map-layer-toggle {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background-color: #fff;
  background-image: none;
  background-position: center;
  background-repeat: no-repeat;
  color: #34483a;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.38);
  cursor: pointer;
}

.leaflet-touch .map-layer-toggle {
  width: 30px;
  height: 30px;
}

.map-layer-toggle::before {
  width: 20px;
  height: 20px;
  background-color: currentColor;
  content: "";
  -webkit-mask: url("https://unpkg.com/leaflet@1.9.4/dist/images/layers-2x.png") center / contain no-repeat;
  mask: url("https://unpkg.com/leaflet@1.9.4/dist/images/layers-2x.png") center / contain no-repeat;
}

.map-layer-toggle:hover,
.map-layer-toggle:focus-visible {
  background-color: #f3f5f0;
}

.map-layer-toggle:focus-visible,
.map-layer-option input:focus-visible {
  outline: 2px solid #507655;
  outline-offset: 2px;
}

.map-layer-panel {
  position: absolute;
  right: 50px;
  bottom: 0;
  width: 280px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #dfe4dc;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(25, 40, 29, 0.22);
  color: #35483a;
  font-size: 10px;
}

.map-layer-panel[hidden] {
  display: none;
}

.map-layer-heading {
  display: block;
  margin: 0 0 5px;
  font-size: 11px;
}

.map-layer-separator {
  margin: 8px -2px;
  border: 0;
  border-top: 1px solid #e5e9e2;
}

.map-layer-help {
  margin: 2px 0 5px;
  color: #69766b;
  font-size: 9px;
  line-height: 1.4;
}

.map-overlay-legend[hidden] {
  display: none;
}

.map-overlay-legend {
  margin: 0 0 7px 24px;
  padding: 5px 0 6px;
  border-top: 1px solid #e5e9e2;
}

.map-overlay-legend-heading {
  display: block;
  margin-bottom: 2px;
  color: #46594a;
  font-size: 9px;
}

.map-overlay-legend-content {
  max-height: 210px;
  overflow-y: auto;
}

.map-mvum-legend-group + .map-mvum-legend-group {
  margin-top: 7px;
}

.map-mvum-legend-group-title {
  display: block;
  margin-bottom: 2px;
  color: #46594a;
  font-size: 9px;
}

.map-mvum-legend-list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.map-mvum-legend-item {
  display: grid;
  min-height: 22px;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  color: #58665a;
  font-size: 8px;
  line-height: 1.25;
}

.map-mvum-legend-symbol {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.map-blm-legend-line {
  width: 20px;
  height: 0;
  justify-self: center;
  border-top: 3px solid #397b46;
}

.map-blm-legend-line.is-limited {
  border-top: 3px dashed #a45138;
}

.map-layer-option {
  display: flex;
  min-height: 30px;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.map-overlay-option {
  min-height: 40px;
}

.map-overlay-copy {
  min-width: 0;
  line-height: 1.3;
}

.map-overlay-copy strong,
.map-overlay-copy small {
  display: block;
}

.map-overlay-copy strong {
  font-size: 10px;
  font-weight: 600;
}

.map-overlay-copy small {
  margin-top: 1px;
  color: #758076;
  font-size: 8px;
}

.map-layer-option input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #426a4b;
}

.map-layer-status {
  display: block;
  margin-top: 4px;
  color: #9b3f35;
  font-size: 9px;
}

.map-loading {
  position: absolute;
  z-index: 500;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  transform: translate(-50%, -50%);
  border: 1px solid #e2e5dd;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.95);
  color: #59675b;
  font-size: 10px;
  box-shadow: 0 3px 12px rgba(41, 55, 45, 0.07);
}

.map-loading[hidden] {
  display: none;
}

.loading-spinner {
  width: 12px;
  height: 12px;
  border: 2px solid #dce5da;
  border-top-color: #55755b;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.map-caption {
  min-height: 34px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #ebede7;
  color: #848d84;
  font-size: 8px;
}

.map-caption strong {
  color: #556456;
  font-size: 7px;
  letter-spacing: 0.6px;
}

.map-caption a {
  color: #5b765e;
  text-decoration: none;
}

.map-caption a:hover {
  text-decoration: underline;
}

.leaflet-container {
  font-family: "DM Sans", "Segoe UI", sans-serif;
}

.leaflet-control-attribution {
  font-size: 8px !important;
}

.leaflet-popup-content-wrapper {
  border-radius: 5px;
}

.map-popup {
  min-width: 190px;
  color: #304035;
}

.map-popup-label {
  margin-bottom: 5px;
  color: #738273;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.map-popup h3 {
  margin: 0 0 7px;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 18px;
  font-weight: 400;
}

.map-popup p {
  margin: 0 0 7px;
  color: #69756b;
  font-size: 10px;
  line-height: 1.5;
}

.road-location-popup {
  max-width: 310px;
}

.road-location-popup h3 {
  margin-bottom: 6px;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.road-restrictions {
  margin: 0 0 7px;
  color: #69756b;
  font-size: 10px;
  line-height: 1.45;
}

.road-restrictions ul {
  margin: 3px 0 0;
  padding-left: 16px;
}

.road-restrictions li {
  margin: 2px 0;
}

.map-popup .popup-warning {
  margin: 8px 0 0;
  padding-top: 7px;
  border-top: 1px solid #e9ece6;
  color: #805c3c;
  font-weight: 600;
}

.feature-note-action {
  margin-top: 9px;
  padding-top: 8px;
  display: grid;
  gap: 6px;
  border-top: 1px solid #e9ece6;
}

.feature-note-action label {
  color: #465448;
  font-size: 9px;
  font-weight: 700;
}

.feature-note-icon-select {
  width: 100%;
  min-height: 30px;
  padding: 5px 7px;
  border: 1px solid #dfe3da;
  border-radius: 4px;
  background: #fdfdfa;
  color: #35453a;
  font-size: 10px;
}

.feature-note-button {
  min-height: 30px;
  padding: 5px 9px;
  border: 0;
  border-radius: 3px;
  background: #365a43;
  color: #fff;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
}

.feature-note-button:hover {
  background: #284832;
}

.field-notes {
  padding: 53px 0 51px;
}

.section-title,
.data-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-title .eyebrow,
.data-heading .eyebrow {
  margin-bottom: 6px;
}

.section-title h2,
.data-heading h2 {
  font-size: 30px;
}

.section-side-note {
  margin-bottom: 5px;
  color: #91978f;
  font-size: 9px;
}

.notes-grid {
  margin-top: 21px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.note-card {
  min-height: 156px;
  padding: 19px 19px 16px;
  background: #fff;
  border: 1px solid #e6e7df;
  border-radius: 4px;
}

.card-number {
  color: #82947d;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 18px;
}

.note-card h3 {
  margin: 10px 0 6px;
  color: #34493a;
  font-size: 11px;
}

.note-card p {
  min-height: 35px;
  margin-bottom: 10px;
  color: #758076;
  font-size: 9px;
  line-height: 1.55;
}

.note-card a {
  color: #56755b;
  font-size: 8px;
  font-weight: 700;
  text-decoration: none;
}

.note-card a:hover {
  text-decoration: underline;
}

.data-section {
  padding: 29px 29px 25px;
  background: #edf0e9;
  border: 1px solid #e3e8df;
  border-radius: 5px;
}

.data-badge {
  margin-bottom: 4px;
  padding: 7px 9px;
  border: 1px solid #d3ddcf;
  border-radius: 3px;
  color: #587359;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.data-grid {
  margin-top: 19px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 54px;
}

.data-copy p {
  margin-bottom: 11px;
  color: #637064;
  font-size: 9px;
  line-height: 1.75;
}

.data-copy strong {
  color: #425746;
}

.data-copy .data-warning {
  margin-top: 14px;
  padding-left: 12px;
  border-left: 2px solid #c08b58;
  color: #6e624f;
}

.source-list h3 {
  margin: 0 0 7px;
  color: #495d4b;
  font-size: 10px;
}

.source-list > a {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #dce3d9;
  color: #59755c;
  text-decoration: none;
}

.source-list > a:last-of-type {
  border-bottom: 1px solid #dce3d9;
}

.source-list > a > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.source-list > a strong {
  font-size: 8px;
}

.source-list > a small {
  color: #839085;
  font-size: 8px;
}

.source-list > a > span:last-child {
  font-size: 11px;
}

.source-list > a:hover strong {
  text-decoration: underline;
}

.source-timestamp {
  margin: 10px 0 0;
  color: #838c82;
  font-size: 8px;
  line-height: 1.55;
}

.footer {
  min-height: 73px;
  margin-top: 33px;
  padding: 0 max(32px, calc((100% - 1320px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #e2e4db;
}

.footer-brand {
  font-size: 13px;
}

.footer-brand .brand-mark {
  width: 19px;
  height: 19px;
  font-size: 16px;
}

.footer p,
.footer > a:last-child {
  margin: 0;
  color: #899087;
  font-size: 8px;
  text-decoration: none;
}

@media (min-width: 1500px) {
  .explorer {
    min-height: 620px;
  }

  #map {
    min-height: 500px;
  }
}

@media (max-width: 900px) {
  .explorer {
    grid-template-columns: 245px minmax(0, 1fr);
  }

  .sidebar {
    padding-right: 16px;
    padding-left: 16px;
  }

  .intro {
    gap: 25px;
  }

  .intro-note {
    width: 320px;
  }

  .data-grid {
    gap: 26px;
  }
}

@media (max-width: 700px) {
  .topbar {
    height: 60px;
    padding: 0 19px;
  }

  .topbar nav {
    gap: 15px;
    font-size: 10px;
  }

  .topbar nav a:nth-child(2) {
    display: none;
  }

  .topbar nav a:nth-child(3) {
    display: none;
  }

  main {
    width: calc(100% - 36px);
  }

  .intro {
    padding: 35px 0 23px;
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }

  h1 {
    font-size: 50px;
  }

  .intro-note {
    width: 100%;
  }

  .explorer {
    grid-template-columns: 1fr;
  }

  .sidebar {
    order: 2;
    padding: 19px;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .map-column {
    order: 1;
  }

  .sidebar-intro {
    margin-bottom: 15px;
  }

  .layer-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 13px;
  }

  .layer-filters legend {
    grid-column: 1 / -1;
  }

  .filter-row {
    font-size: 8px;
  }

  #map {
    min-height: 380px;
    height: 60vh;
  }

  .map-toolbar {
    min-height: 54px;
    padding: 0 13px;
  }

  .map-toolbar-note {
    font-size: 7px;
  }

  .map-caption {
    padding: 0 11px;
    font-size: 7px;
  }

  .map-caption span:last-child {
    max-width: 52%;
    text-align: right;
  }

  .field-notes {
    padding: 39px 0;
  }

  .notes-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .note-card {
    min-height: 0;
  }

  .note-card p {
    min-height: 0;
  }

  .data-section {
    padding: 22px 18px;
  }

  .data-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section-title,
  .data-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .data-badge {
    margin: 0;
  }

  .footer {
    min-height: 80px;
    margin-top: 24px;
    padding: 0 18px;
    flex-wrap: wrap;
    gap: 6px 18px;
  }

  .footer p {
    order: 3;
    width: 100%;
    margin-bottom: 12px;
  }
}

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

.intro > p,
.sidebar-intro,
.map-search > label,
.filter-row,
.status-card strong,
.status-card p,
.location-privacy,
.map-note-location,
.note-field-label,
.note-text-field,
.map-note-message,
.note-card p,
.data-copy p,
.data-warning,
.map-popup p,
.map-note-popup p,
.feature-note-action label {
  font-size: var(--font-body-size);
}

.search-wrap input,
.search-wrap button,
.search-message,
.search-result,
.map-toolbar-label,
.map-status,
.source-list h3,
.source-list a strong,
.source-list a,
.source-list a small,
.source-timestamp,
.map-popup-label,
.map-note-popup-type,
.map-note-popup-actions button,
.feature-note-icon-select,
.feature-note-button {
  font-size: var(--font-search-size);
}

.search-attribution,
.map-toolbar-note,
.map-caption,
.footer p,
.footer > a:last-child,
.live-pill,
.section-side-note,
.map-note-count,
.map-note-privacy {
  font-size: var(--font-caption-size);
}

.leaflet-control-attribution {
  font-size: var(--font-caption-size) !important;
}
