@font-face {
  font-family: DM Sans;
  src: url(assets/fonts/dm-sans.woff2) format('woff2');
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: Gloock;
  src: url(assets/fonts/gloock.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: IBM Plex Mono;
  src: url(assets/fonts/plex-mono-400.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
}
:root {
  --ink: #152f31;
  --teal: #176359;
  --soft: #e4efe6;
  --line: #d4dbd1;
  --paper: #f7f8f3;
  --white: #fffffb;
  --muted: #53686a;
  --dark: #102f32;
  --gold: #f0b765;
  --serif: Gloock, Georgia, serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --sans: 'DM Sans', system-ui, sans-serif;
  --side: clamp(308px, 27vw, 396px);
  color-scheme: light;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
}
button,
input,
select {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
}
button {
  border: 0;
  background: transparent;
}
input {
  color: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
[tabindex]:focus-visible,
summary:focus-visible {
  outline: 3px solid #c1853a;
  outline-offset: 3px;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
button[hidden],
[hidden] {
  display: none !important;
}
button .icon,
a .icon,
.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  vertical-align: middle;
}
a {
  color: var(--teal);
}
.skip {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 50;
  background: #fff;
  padding: 12px;
}
.skip:focus {
  top: 8px;
}
.topbar {
  background: var(--dark);
  color: #f5f7ed;
}
.nav-inner,
.page {
  max-width: 1770px;
  margin: auto;
  padding-inline: clamp(20px, 3.15vw, 58px);
}
.nav-inner {
  display: flex;
  align-items: center;
  min-height: 66px;
  gap: clamp(24px, 4.5vw, 86px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0;
  white-space: nowrap;
}
.brand span {
  font-family: var(--serif);
  font-size: 27px;
  letter-spacing: -1.35px;
}
.brand img {
  width: 35px;
  height: 35px;
}
.primary-nav,
.nav-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.primary-nav {
  align-self: stretch;
  gap: 6px;
}
.nav-item,
.nav-save,
.offline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
  font-size: 14px;
  font-weight: 550;
  white-space: nowrap;
}
.nav-item {
  color: #c3d3d0;
  padding: 10px 15px;
  border-radius: 7px;
}
.nav-item:hover,
.nav-save:hover {
  background: #244347;
  color: white;
}
.nav-item.active,
.nav-save.active {
  background: #2b4c4b;
  color: #d9f2dc;
}
.nav-item.active .icon {
  color: #abdebf;
}
.nav-tools {
  margin-left: auto;
  gap: 16px;
}
.nav-save {
  padding: 10px;
  color: #dbe6df;
  border-radius: 6px;
}
.nav-save #saved-count {
  background: #a1d9bc;
  color: var(--dark);
  border-radius: 10px;
  padding: 2px 5px;
  font-size: 11px;
}
.offline-btn {
  background: #d3eed7;
  color: #19443f;
  border: 1px solid #c5dfca;
  border-radius: 7px;
  padding: 10px 14px;
  font-weight: 650;
  min-height: 36px;
}
.offline-btn:hover {
  background: #e7f5e8;
}
.offline-btn .icon {
  width: 16px;
  height: 16px;
}
.hero {
  min-height: 159px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  isolation: isolate;
  gap: 15px;
  padding: 24px 0 21px;
}
.hero:after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -1%;
  top: 0;
  bottom: 0;
  width: min(56%, 720px);
  background-image: url(assets/contours.svg);
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  mask-image: linear-gradient(90deg, transparent, #0004 24%, #000c 69%, transparent 100%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  font: 500 11px/1.25 var(--mono);
  color: #30645d;
  letter-spacing: 1.9px;
}
.kicker-line {
  width: 23px;
  height: 2px;
  background: #54917d;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 4.1vw, 65px);
  letter-spacing: -2.8px;
  font-weight: 400;
  line-height: 1.08;
  margin: 9px 0 7px;
}
.hero p {
  font-size: 16px;
  color: #4d6263;
  margin: 0;
  line-height: 1.45;
}
.specimen {
  width: min(37%, 470px);
  min-width: 210px;
  height: 121px;
  position: relative;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}
.specimen img {
  width: min(73%, 320px);
  height: 120px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: rotate(-5deg);
}
.specimen-label {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: #455f5b;
  padding-left: 3px;
  align-self: flex-end;
  margin-bottom: 17px;
  white-space: nowrap;
}
.specimen-label:before {
  content: '';
  display: block;
  width: 25px;
  border-top: 1px solid #829a91;
  margin-bottom: 5px;
}
.specimen-label em {
  font:
    italic 13px/1.3 Georgia,
    serif;
  display: block;
  color: #61776e;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 1px 0 17px;
}
.searchbox {
  width: var(--side);
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #c9d3c9;
  border-radius: 8px;
  background: var(--white);
  padding: 0 12px;
  color: #576d69;
}
.searchbox:focus-within {
  border-color: #568c7e;
  box-shadow: 0 0 0 2px #47857522;
}
.searchbox input {
  width: 100%;
  min-width: 0;
  font-size: 14px;
  border: 0;
  padding: 7px 0;
  outline: 0;
  background: transparent;
}
.searchbox input:focus-visible {
  outline: none;
}
.searchbox input::placeholder {
  color: #657671;
}
.search-key {
  font: 13px var(--mono);
  line-height: 19px;
  text-align: center;
  width: 19px;
  height: 21px;
  border: 1px solid #d8dfd4;
  border-radius: 4px;
  color: #81918a;
}
.filter-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.chip,
.filter-feature,
.sort-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  background: var(--white);
  border: 1px solid #cbd5c9;
  border-radius: 7px;
  min-height: 38px;
  padding: 0 12px;
  font-weight: 550;
  font-size: 13.5px;
}
.chip .icon,
.filter-feature .icon,
.sort-btn .icon {
  width: 16px;
  height: 16px;
  color: #47685e;
}
.chip .chev {
  width: 12px;
  height: 12px;
  margin-left: 3px;
}
.chip.is-set,
.chip[aria-expanded='true'] {
  background: #e6f0e7;
  border-color: #91b4a4;
}
.filter-feature {
  margin-left: 3px;
  background: #f9f1df;
  border-color: #e1d1ac;
  color: #6e532b;
}
.filter-feature .icon {
  color: #8b6830;
}
.filter-feature.active {
  background: #f6d798;
  border-color: #b48c4e;
}
.chip:hover,
.sort-btn:hover {
  border-color: #8aa79b;
}
.filter-feature:hover {
  border-color: #bd985b;
}
.clear-btn {
  font-size: 13px;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 7px;
}
.facet-menu {
  position: fixed;
  z-index: 35;
  min-width: 205px;
  max-width: min(335px, 94vw);
  max-height: min(350px, 55vh);
  overflow: auto;
  background: #fffffc;
  border: 1px solid #c8d4c9;
  box-shadow: 0 12px 36px #1a38332b;
  border-radius: 9px;
  padding: 5px;
}
.menu-title {
  font: 11px/1.4 var(--mono);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 8px 10px 6px;
  color: var(--muted);
}
.facet-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 36px;
  overflow-wrap: anywhere;
  text-align: left;
  padding: 8px 10px;
  border-radius: 5px;
  font-size: 14px;
  width: 100%;
}
.facet-option:hover,
.facet-option:focus-visible {
  background: #f0f5ed;
}
.facet-option.chosen {
  background: #e6f1e7;
  color: #184f45;
}
.facet-option .icon {
  width: 14px;
}
.workspace {
  display: grid;
  grid-template-columns: var(--side) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  height: clamp(514px, calc(100svh - 335px), 815px);
  min-height: 0;
}
.directory,
.map-panel {
  min-height: 0;
  border: 1px solid #c9d4c8;
  border-radius: 11px;
  background: var(--white);
  overflow: hidden;
}
.directory {
  display: flex;
  flex-direction: column;
}
.directory-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 55px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
}
.directory-head h2,
.collection-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 400 21px/1.2 var(--serif);
  letter-spacing: -0.7px;
  margin: 0;
}
.count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 21px;
  min-width: 25px;
  background: #e7eee5;
  color: #45605a;
  border-radius: 5px;
  padding: 2px 5px;
  font: 500 11px/1.3 var(--mono);
  letter-spacing: 0;
}
.sort-btn {
  min-height: 31px;
  background: transparent;
  border: 0;
  font-size: 12px;
  gap: 5px;
  color: #586b64;
  padding: 4px;
}
.sort-btn .icon {
  width: 14px;
}
.directory-list {
  overflow-y: auto;
  overscroll-behavior: contain;
  min-height: 0;
  flex: 1;
  scrollbar-color: #b7c7ba transparent;
  scrollbar-width: thin;
}
.dir-row {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  text-align: left;
  padding: 14px 14px;
  gap: 12px;
  min-height: 87px;
  border-bottom: 1px solid #e0e6dd;
}
.dir-row:hover {
  background: #f0f5ed;
}
.dir-row.selected {
  background: #e8f2e9;
  box-shadow: inset 3px 0 #388577;
}
.dir-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.dir-hit:focus-visible {
  outline-offset: -4px;
}
.thumb {
  flex: 0 0 73px;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  height: 61px;
  background: #acc9bb;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.thumb > .badge-star {
  position: absolute;
  top: 4px;
  left: 4px;
}
.badge-star {
  width: 17px;
  height: 17px;
  display: inline-grid;
  place-items: center;
  background: #f6c274;
  border: 1px solid #ffe2ab;
  border-radius: 4px;
  color: #574421;
}
.badge-star .icon {
  width: 11px;
  height: 11px;
  fill: currentColor;
  stroke-width: 1.1;
}
.row-copy {
  min-width: 0;
  flex: 1;
}
.row-copy h3 {
  margin: 0 0 3px;
  font: 650 15px/1.24 var(--sans);
  letter-spacing: -0.3px;
}
.row-copy p {
  font-size: 12.5px;
  line-height: 1.35;
  color: #506763;
  margin: 0 0 4px;
}
.row-meta {
  font: 12px/1.3 var(--sans);
  color: #57736a;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.row-meta .icon {
  width: 13px;
  height: 13px;
}
.row-meta b {
  font-weight: 400;
  color: #9baea4;
  padding: 0 1px;
}
.mark-btn {
  position: relative;
  z-index: 2;
  width: 28px;
  height: 32px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #6a7e74;
}
.mark-btn .icon {
  width: 16px;
  height: 16px;
}
.mark-btn:hover,
.mark-btn.on {
  color: #216455;
  background: #d9eadd;
}
.mark-btn.on .icon,
.save-action.on .icon,
.nav-save.active .icon {
  fill: currentColor;
}
.mobile-switch {
  display: none;
}
.map-panel {
  display: flex;
  flex-direction: column;
}
.map-canvas {
  flex: 1;
  position: relative;
  min-height: 0;
  isolation: isolate;
  overflow: hidden;
  background: #84c4c0;
  outline-offset: -4px !important;
}
.map-svg,
.relief-canvas,
.pins-layer,
.map-hit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.map-svg,
.relief-canvas,
.pins-layer {
  pointer-events: none;
}
.pins-layer {
  z-index: 2;
}
.map-hit {
  z-index: 1;
  touch-action: none;
  cursor: grab;
}
.map-hit.dragging {
  cursor: grabbing;
}
.mapbar {
  z-index: 4;
  position: absolute;
  left: 15px;
  top: 15px;
  display: flex;
  align-items: center;
  padding: 3px;
  border-radius: 7px;
  background: #fbfdf7;
  box-shadow: 0 1px 6px #133e4250;
  border: 1px solid #78998b77;
}
.mode-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 12px;
  min-height: 30px;
  padding: 0 9px;
  border-radius: 4px;
  color: #4f665e;
}
.mode-btn .icon {
  width: 14px;
  height: 14px;
}
.mode-btn.active {
  background: var(--dark);
  color: #f5f8ef;
}
.map-right {
  position: absolute;
  right: 14px;
  top: 15px;
  display: grid;
  justify-items: center;
  gap: 13px;
  z-index: 4;
}
.map-icon,
.zoom-stack {
  background: #fcfdf5;
  border-radius: 6px;
  box-shadow: 0 1px 5px #133b3f36;
  border: 1px solid #819d9177;
}
.map-icon {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  color: #274c44;
}
.map-icon:hover,
.zoom-stack button:hover {
  background: #e5f0e3;
}
.map-icon .icon {
  width: 16px;
  height: 16px;
}
.zoom-stack {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.zoom-stack button {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: #294d45;
}
.zoom-stack button + button {
  border-top: 1px solid #c9d7cb;
}
.zoom-stack .icon {
  width: 16px;
  height: 16px;
}
.map-north {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font: 600 10px var(--mono);
  color: #163e43;
  text-shadow: 0 1px 3px #fff8;
}
.map-north svg {
  width: 18px;
  height: 27px;
  filter: drop-shadow(0 1px 1px #ffffff99);
}
.map-scale {
  position: absolute;
  bottom: 13px;
  right: 14px;
  z-index: 3;
  color: #163a40;
  font: 11px var(--mono);
  text-align: center;
  pointer-events: none;
  filter: drop-shadow(0 1px 1px #fff);
}
.map-scale i {
  display: block;
  border: 1px solid currentColor;
  border-top: 0;
  height: 5px;
  margin-top: 2px;
}
.legend {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 35px;
  padding: 6px 13px;
  background: #fcfcf5;
  border-top: 1px solid #bdcbbb;
  font-size: 11.5px;
  color: #425c55;
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #17685f;
}
.legend-star {
  color: #96662b;
}
.legend-star .icon {
  width: 12px;
  height: 12px;
  fill: #efb668;
}
.map-readout {
  margin-left: auto;
  white-space: nowrap;
  font: 10.5px var(--mono);
  color: #587269;
}
.map-info {
  padding: 0;
  display: grid;
  place-items: center;
  color: #556b60;
}
.map-info .icon {
  width: 15px;
  height: 15px;
}
.pin {
  pointer-events: auto;
  position: absolute;
  transform: translate(-50%, -88%);
  border-radius: 50%;
  background: none;
  width: 28px;
  height: 36px;
  padding: 0;
  filter: drop-shadow(0 2px 2px #103c4c60);
  display: grid;
  place-items: center;
  z-index: 1;
}
.pin svg.symbol {
  width: 26px;
  height: 32px;
  overflow: visible;
}
.pin:hover,
.pin:focus-visible {
  z-index: 8;
  filter: drop-shadow(0 0 4px white);
}
.pin.selected {
  z-index: 6;
  filter: drop-shadow(0 1px 1.5px #154a48bb);
}
.pin.selected:before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translate(-50%, 50%);
  z-index: -1;
  width: 38px;
  height: 18px;
  background: #f4c87859;
  border: 1px solid #e8c07caa;
  border-radius: 50%;
}
.pin-label {
  position: absolute;
  left: calc(100% + 1px);
  top: 2px;
  padding: 3px 7px;
  border: 1px solid #65796766;
  border-radius: 4px;
  background: #fffff4ed;
  color: #254c43;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.25;
  box-shadow: 0 1px 2px #153a3d20;
  pointer-events: none;
}
.pin-label.flip {
  right: calc(100% + 2px);
  left: auto;
}
.pin:hover .pin-label {
  display: block;
}
.pin-small-label {
  display: none;
}
.cluster {
  position: absolute;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  color: white;
  border-radius: 50%;
  border: 2px solid #f0f6dc;
  min-width: 24px;
  height: 24px;
  box-shadow: 0 1px 4px #0c3d4d66;
  font: 600 11px/1 var(--sans);
  display: grid;
  place-items: center;
  background: #286960;
  padding: 2px;
}
.cluster:hover,
.cluster:focus-visible {
  box-shadow: 0 0 0 3px #ffffff88;
}
.map-preview {
  position: absolute;
  z-index: 5;
  bottom: 15px;
  left: 15px;
  width: 245px;
  border: 1px solid #71988d;
  border-radius: 9px;
  background: #fffff8;
  box-shadow: 0 4px 15px #153e4336;
  overflow: hidden;
}
.preview-photo {
  position: relative;
  height: 92px;
  overflow: hidden;
  background: #468780;
}
.preview-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  display: block;
}
.preview-photo:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, #17332e3b, transparent 52%);
  pointer-events: none;
}
.pick-label {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  font: 600 10px/1 var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.85px;
  padding: 5px 7px;
  border-radius: 4px;
  background: #ffe1a8;
  color: #604620;
}
.pick-label .icon {
  width: 11px;
  height: 11px;
  fill: currentColor;
}
.preview-photo .pick-label {
  position: absolute;
  left: 9px;
  top: 9px;
  z-index: 1;
}
.preview-close {
  position: absolute;
  right: 7px;
  top: 7px;
  z-index: 2;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f9fcf1ed;
  color: #294a41;
}
.preview-close .icon {
  width: 13px;
  height: 13px;
}
.preview-body {
  padding: 11px 13px 10px;
}
.place-region {
  display: flex;
  gap: 4px;
  align-items: center;
  font: 10px var(--mono);
  color: #5b7469;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.place-region .icon {
  width: 12px;
  height: 12px;
}
.preview-body h3 {
  font: 400 21px/1.14 var(--serif);
  letter-spacing: -0.6px;
  margin: 5px 0 6px;
}
.preview-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  color: #586e66;
  font-size: 12px;
}
.preview-bottom .text-btn {
  font-size: 12px;
  display: flex;
  gap: 4px;
  align-items: center;
  font-weight: 700;
  padding: 0;
  color: #276056;
}
.preview-bottom .text-btn .icon {
  width: 13px;
  height: 13px;
}
.map-panel.expanded {
  position: fixed;
  z-index: 40;
  inset: 12px;
  height: auto;
  box-shadow: 0 0 0 24px #12292799;
}
.chart-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #3a6b60;
  background-color: #c6dcd0;
  background-image: url(assets/contours.svg);
  background-size: 300%;
}
.chart-fallback .icon {
  width: 28px;
  height: 28px;
  opacity: 0.65;
}
.relief-caption {
  position: absolute;
  left: 16px;
  top: 62px;
  font: 500 10px var(--mono);
  color: #234a46;
  background: #ffffeddc;
  padding: 3px 6px;
  border-radius: 3px;
  z-index: 4;
  pointer-events: none;
}
.collection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0 16px;
}
.collection-head h2 {
  font-size: 24px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.field-card {
  position: relative;
  border: 1px solid #d1dacd;
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 3px #183d2605;
  min-width: 0;
}
.field-card:hover {
  border-color: #93ad9c;
  box-shadow: 0 4px 13px #214d3b12;
}
.field-card .card-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
}
.field-card .card-hit:focus-visible {
  outline-offset: -4px;
}
.field-card figure {
  position: relative;
  aspect-ratio: 1.75;
  overflow: hidden;
  margin: 0;
  background: #cddfce;
}
.field-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.field-card .mark-btn {
  position: absolute;
  z-index: 2;
  right: 10px;
  top: 10px;
  background: #fbfff2ed;
  color: #315a4b;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.card-text {
  padding: 14px 15px 15px;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font: 10px/1.3 var(--mono);
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #477365;
}
.card-text h3 {
  font: 400 22px/1.2 var(--serif);
  letter-spacing: -0.7px;
  margin: 8px 0 4px;
}
.latin {
  font:
    italic 15px/1.35 Georgia,
    serif;
  color: #516861;
}
.card-text .description {
  font-size: 14px;
  line-height: 1.45;
  color: #526761;
  margin: 8px 0 0;
}
.empty {
  text-align: center;
  padding: 40px 18px;
  color: #50665c;
}
.empty .empty-icon {
  display: inline-grid;
  place-items: center;
  background: #e6efe3;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: #4a7460;
}
.empty h3 {
  color: var(--ink);
  font: 400 23px var(--serif);
  margin: 12px 0 6px;
}
.empty p {
  line-height: 1.5;
  font-size: 14px;
  max-width: 400px;
  margin: 0 auto 15px;
}
.full-empty {
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fcfdf7;
}
.page-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 15px 1px 21px;
  color: #63756d;
  font-size: 12px;
}
.page-footer > span,
.page-footer button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.page-footer b {
  color: #a8b4a7;
  font-weight: 400;
}
.page-footer .icon {
  width: 14px;
  height: 14px;
}
.page-footer button {
  font-size: 12px;
  padding: 4px;
}
.page-footer button:hover {
  text-decoration: underline;
}
dialog {
  color: var(--ink);
  background: #fffff9;
  border: 1px solid #a6bbae;
  border-radius: 14px;
  width: min(570px, calc(100% - 24px));
  max-width: none;
  max-height: min(86svh, 900px);
  padding: 0;
  box-shadow: 0 24px 90px #0b2b2e45;
  overflow: auto;
}
dialog::backdrop {
  background: #0d2d32a3;
  backdrop-filter: blur(3px);
}
html:has(dialog[open]) {
  overflow: hidden;
}
.detail-cover {
  height: 205px;
  position: relative;
  background: #487c73;
  overflow: hidden;
}
.detail-cover > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.detail-cover.life {
  height: clamp(190px, 34svh, 330px);
  background: #133f44;
}
.detail-cover.life > img {
  object-fit: contain;
}
.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background: #f5f8eff2;
  border: 1px solid #c6d5c7;
  color: #26483f;
}
.dialog-inner {
  padding: 26px 27px;
  position: relative;
}
.dialog-inner.nocover {
  padding-top: 32px;
}
.dialog-inner h2 {
  font: 400 clamp(28px, 3vw, 36px)/1.1 var(--serif);
  letter-spacing: -1.1px;
  margin: 8px 30px 7px 0;
}
.dialog-inner h3 {
  font: 600 17px/1.3 var(--sans);
  margin: 24px 0 6px;
}
.dialog-inner p {
  font-size: 15px;
  line-height: 1.55;
  margin: 8px 0;
  color: #435c55;
}
.dialog-inner .kicker {
  font-size: 10px;
}
.dialog-inner .latin {
  font-size: 17px;
}
.detail-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 15px 0 18px;
}
.solid,
.outline,
.save-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 37px;
  padding: 8px 13px;
  font: 600 13.5px/1.3 var(--sans);
  border-radius: 6px;
}
.solid {
  color: white;
  background: #20594f;
  border: 1px solid #20594f;
}
.outline,
.save-action {
  border: 1px solid #b9cabb;
  background: #f6f9f1;
  color: #28574b;
}
.solid:hover {
  background: #17483f;
}
.outline:hover,
.save-action:hover {
  background: #e5efdf;
}
.solid .icon,
.outline .icon,
.save-action .icon {
  width: 16px;
  height: 16px;
}
.detail-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 1px;
  background: #d6e0d3;
  border: 1px solid #d6e0d3;
  border-radius: 7px;
  overflow: hidden;
  margin: 15px 0;
}
.fact {
  padding: 10px 12px;
  background: #f0f5eb;
  min-width: 0;
}
.fact span {
  display: block;
  color: #5b7165;
  font: 10px/1.5 var(--mono);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.fact strong {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  display: block;
  margin-top: 3px;
}
.why {
  background: #faf2df;
  border-left: 3px solid #dcb065;
  border-radius: 0 6px 6px 0;
  padding: 12px 15px;
  margin: 18px 0;
}
.why h3 {
  margin: 0;
  color: #805d2e;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.why h3 .icon {
  width: 14px;
  fill: #d5a454;
}
.why p {
  margin: 6px 0 0;
  color: #5e5545;
}
.sources {
  margin-top: 17px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.sources summary {
  cursor: pointer;
  display: list-item;
  color: #355d4e;
  font-weight: 600;
}
.sources ul,
.source-list {
  padding-left: 18px;
  margin: 10px 0 0;
  color: #48675a;
  overflow-wrap: anywhere;
}
.sources li,
.source-list li {
  margin: 5px 0;
  font-size: 13px;
  line-height: 1.5;
}
.sources a,
.source-list a,
.credit a {
  color: #2c6558;
  text-underline-offset: 2px;
}
.dialog-inner .credit {
  font-size: 12px;
  line-height: 1.5;
  color: #65756a;
}
.dialog-inner .note {
  font-size: 13px;
  line-height: 1.55;
  color: #607367;
}
.dialog-heading-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  background: #e1ecdf;
  border-radius: 11px;
  color: var(--teal);
  margin-bottom: 14px;
}
.dialog-heading-icon .icon {
  width: 23px;
  height: 23px;
}
.offline-choices {
  display: grid;
  gap: 12px;
  margin-top: 19px;
}
.offline-choice {
  border: 1px solid #ccdacb;
  border-radius: 8px;
  padding: 14px 15px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  align-items: center;
  text-align: left;
}
.offline-choice h3 {
  font-size: 15px;
  margin: 0;
}
.offline-choice p {
  font-size: 13px;
  margin: 3px 0 0;
}
.offline-choice button,
.offline-choice a {
  font: 600 13px/1.25 var(--sans);
  text-decoration: none;
}
.offline-status {
  font: 12px/1.6 var(--mono);
  color: #345e4e;
  margin-top: 12px;
}
.offline-progress {
  width: 100%;
  accent-color: #3d8170;
  display: block;
  height: 7px;
  margin: 10px 0;
}
.toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: #f7f9ef;
  border-radius: 7px;
  padding: 10px 15px;
  font-size: 14px;
  box-shadow: 0 4px 14px #12372d30;
  z-index: 60;
  pointer-events: none;
  max-width: 90vw;
  text-align: center;
}
.cluster-list {
  display: grid;
  gap: 3px;
  margin-top: 13px;
}
.cluster-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 6px;
  border-top: 1px solid var(--line);
  text-align: left;
}
@media (min-width: 1570px) {
  .hero {
    min-height: 175px;
  }
  .thumb {
    flex-basis: 83px;
    height: 68px;
  }
  .dir-row {
    min-height: 96px;
  }
  .row-copy h3 {
    font-size: 16px;
  }
  .map-preview {
    width: 270px;
  }
  .preview-photo {
    height: 110px;
  }
}
@media (max-width: 1180px) {
  .nav-inner {
    gap: 32px;
  }
  .nav-item {
    padding-inline: 12px;
  }
  .toolbar {
    gap: 11px;
  }
  .filter-strip {
    gap: 6px;
  }
  .chip,
  .filter-feature {
    padding-inline: 9px;
    font-size: 13px;
  }
  .chip .icon,
  .filter-feature .icon {
    width: 15px;
  }
  .clear-btn {
    font-size: 12px;
    padding: 3px;
  }
  .dir-row {
    padding: 12px 10px;
    gap: 9px;
  }
  .row-copy h3 {
    font-size: 14px;
  }
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .workspace {
    gap: 12px;
  }
  .specimen-label {
    font-size: 11px;
  }
}
@media (max-width: 1010px) {
  :root {
    --side: 290px;
  }
  .toolbar {
    display: grid;
    grid-template-columns: var(--side) minmax(0, 1fr);
    gap: 12px;
  }
  .filter-strip {
    overflow-x: auto;
    scrollbar-width: none;
    padding-block: 2px;
  }
  .filter-strip::-webkit-scrollbar {
    display: none;
  }
  .filter-strip .chip,
  .filter-strip .filter-feature,
  .clear-btn {
    flex-shrink: 0;
  }
  .nav-tools {
    gap: 4px;
  }
  .nav-inner {
    gap: 18px;
  }
  .nav-item {
    font-size: 13px;
    padding-inline: 9px;
  }
  .specimen {
    width: 36%;
  }
  .specimen-label {
    display: none;
  }
  .specimen img {
    width: 100%;
  }
  .map-preview {
    width: 215px;
  }
  .preview-photo {
    height: 77px;
  }
  .map-readout {
    font-size: 9px;
  }
  .map-north {
    display: none;
  }
}
@media (max-width: 820px) {
  .nav-inner,
  .page {
    padding-inline: 18px;
  }
  .nav-inner {
    gap: 15px;
  }
  .brand span {
    font-size: 23px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .brand {
    gap: 7px;
  }
  .nav-item {
    gap: 5px;
  }
  .nav-save > span:not(#saved-count) {
    display: none;
  }
  .nav-tools {
    gap: 1px;
  }
  .offline-btn {
    font-size: 12px;
    padding-inline: 9px;
    gap: 5px;
  }
  :root {
    --side: 250px;
  }
  .thumb {
    flex-basis: 53px;
    height: 54px;
  }
  .dir-row {
    gap: 8px;
  }
  .mark-btn {
    width: 20px;
  }
  .directory-head {
    padding-inline: 10px;
  }
  .directory-head h2 {
    font-size: 18px;
  }
  .sort-btn {
    font-size: 11px;
  }
  .hero {
    min-height: 138px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero p {
    font-size: 14px;
  }
  .specimen {
    min-width: 160px;
  }
  .map-readout {
    display: none;
  }
  .map-info {
    margin-left: auto;
  }
  .legend {
    gap: 12px;
  }
  .gallery {
    gap: 12px;
  }
}
@media (max-width: 680px) {
  .nav-inner,
  .page {
    padding-inline: 15px;
  }
  .nav-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: 'brand tools' 'nav nav';
    align-content: center;
    gap: 0;
    min-height: 88px;
    padding-top: 8px;
  }
  .brand {
    grid-area: brand;
    justify-self: start;
  }
  .nav-tools {
    grid-area: tools;
    gap: 6px;
  }
  .nav-item {
    min-height: 33px;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 5px;
  }
  .primary-nav {
    grid-area: nav;
    justify-content: flex-start;
    gap: 4px;
    align-items: center;
    padding: 7px 0;
  }
  .topbar .icon {
    width: 15px;
    height: 15px;
  }
  .offline-btn {
    min-height: 29px;
    padding-block: 6px;
  }
  .nav-save {
    padding: 7px;
  }
  .brand span {
    font-size: 23px;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  .hero {
    min-height: 124px;
    padding: 20px 0 17px;
  }
  .hero h1 {
    font-size: 40px;
    margin: 6px 0;
    letter-spacing: -1.9px;
  }
  .hero p {
    font-size: 13.5px;
    max-width: 80%;
    line-height: 1.4;
  }
  .hero-copy {
    width: 100%;
  }
  .specimen {
    position: absolute;
    width: 32%;
    height: 78px;
    right: 0;
    top: 12px;
    min-width: 0;
    opacity: 0.85;
  }
  .specimen img {
    height: 78px;
  }
  .kicker {
    font-size: 9px;
    letter-spacing: 1.5px;
    gap: 7px;
  }
  .kicker-line {
    width: 17px;
  }
  .toolbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    margin: 0 0 10px;
  }
  .searchbox {
    width: auto;
    height: 38px;
  }
  .searchbox input {
    font-size: 16px;
  }
  .search-key {
    display: none;
  }
  .filter-strip {
    margin-right: -15px;
    padding-right: 15px;
  }
  .chip,
  .filter-feature {
    min-height: 33px;
  }
  .mobile-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 3px 0 8px;
  }
  .mobile-mode {
    display: flex;
    align-items: center;
    gap: 2px;
    background: #e4ebe0;
    border-radius: 6px;
    padding: 2px;
  }
  .mobile-mode button {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    min-height: 27px;
    border-radius: 4px;
    padding: 4px 9px;
  }
  .mobile-mode button .icon {
    width: 13px;
    height: 13px;
  }
  .mobile-mode button.on {
    background: #fbfcf5;
    box-shadow: 0 1px 2px #29492f20;
    color: var(--teal);
  }
  .result-total {
    font: 11px var(--mono);
    color: var(--muted);
  }
  .workspace {
    display: block;
    height: auto;
  }
  .directory,
  .map-panel {
    border-radius: 8px;
  }
  .workspace.show-map .directory,
  .workspace.show-list .map-panel {
    display: none;
  }
  .workspace .map-panel {
    height: clamp(390px, 59svh, 675px);
  }
  .workspace .directory {
    height: clamp(410px, 64svh, 750px);
  }
  .thumb {
    flex-basis: 75px;
    height: 58px;
  }
  .dir-row {
    padding: 10px 12px;
    gap: 12px;
    min-height: 79px;
  }
  .row-copy h3 {
    font-size: 15px;
  }
  .mark-btn {
    width: 30px;
    height: 36px;
  }
  .directory-head {
    padding: 0 13px;
    min-height: 45px;
  }
  .directory-head h2 {
    font-size: 20px;
  }
  .mapbar {
    left: 10px;
    top: 10px;
  }
  .map-right {
    top: 10px;
    right: 9px;
    gap: 9px;
  }
  .map-preview {
    left: 8px;
    bottom: 9px;
    width: auto;
    max-width: calc(100% - 70px);
    display: flex;
    align-items: stretch;
    border-radius: 7px;
  }
  .preview-photo {
    width: 69px;
    min-width: 69px;
    height: auto;
    min-height: 68px;
  }
  .preview-photo .pick-label {
    left: 4px;
    top: 4px;
    font-size: 0;
    gap: 0;
    padding: 3px;
  }
  .preview-close {
    right: 2px;
    top: 2px;
    width: 20px;
    height: 20px;
    background: #f9fcf1e8;
  }
  .preview-body {
    padding: 7px 18px 7px 8px;
  }
  .preview-body h3 {
    font-size: 16px;
    letter-spacing: -0.3px;
    margin: 4px 0;
  }
  .place-region {
    font-size: 8px;
  }
  .preview-bottom {
    font-size: 10px;
  }
  .preview-bottom .text-btn {
    font-size: 11px;
  }
  .preview-bottom .text-btn .icon {
    display: none;
  }
  .preview-bottom {
    gap: 8px;
  }
  .map-scale {
    font-size: 9px;
    right: 8px;
    bottom: 10px;
  }
  .legend {
    min-height: 29px;
    font-size: 10px;
    gap: 12px;
  }
  .legend-dot {
    width: 7px;
    height: 7px;
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .card-text {
    padding: 10px;
  }
  .card-text h3 {
    font-size: 18px;
    margin: 6px 0 3px;
  }
  .card-meta {
    font-size: 8px;
    letter-spacing: 0.3px;
  }
  .card-text .latin {
    font-size: 12px;
  }
  .card-text .description {
    font-size: 12px;
  }
  .collection-head {
    margin: 15px 0 12px;
  }
  .collection-head h2 {
    font-size: 21px;
  }
  .field-card figure {
    aspect-ratio: 1.4;
  }
  .field-card .mark-btn {
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
  }
  .page-footer {
    font-size: 11px;
    padding: 10px 0 16px;
  }
  .page-footer button {
    font-size: 11px;
  }
  .dialog-inner {
    padding: 20px;
  }
  .detail-cover {
    height: 170px;
  }
  .offline-choice {
    grid-template-columns: 1fr;
  }
  .offline-choice button,
  .offline-choice a {
    justify-self: start;
  }
  .relief-caption {
    top: 53px;
    left: 10px;
  }
  .map-panel.expanded {
    inset: 5px !important;
    height: auto !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
.extra-filters {
  padding-inline: 10px;
}
.extra-options {
  border: 0;
  padding: 0;
  margin: 19px 0;
}
.extra-options legend {
  font-size: 14px;
  font-weight: 650;
  margin: 0 0 8px;
}
.extra-options .chip {
  margin: 0 5px 5px 0;
}
.extra-options .chip .icon {
  width: 13px;
  height: 13px;
}
.map-credit {
  white-space: nowrap;
  font-size: 10px;
  line-height: 1.2;
}
.map-info {
  display: flex;
  align-items: center;
  gap: 4px;
}
@media (max-width: 820px) {
  .map-credit {
    font-size: 9px;
  }
}
.preview-photo > img {
  position: absolute;
  inset: 0;
}
@media (max-width: 680px) {
  body[data-view='saved'] .specimen {
    display: none;
  }
  .nav-save {
    min-width: 32px;
    min-height: 32px;
  }
}
