:root {
  color-scheme: light;
  --ink: #112e36;
  --dim: #415c60;
  --paper: #f7f9f4;
  --panel: #fff;
  --accent: #076a79;
  --second: #af5837;
  --pale: #e2f0ed;
  font:
    1rem/1.55 system-ui,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main,
header,
footer {
  max-width: 76rem;
  margin: auto;
  padding: 1.25rem clamp(1rem, 4vw, 3rem);
}
header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #95ada8;
}
a {
  color: var(--accent);
  text-underline-offset: 0.19em;
}
header a:first-child {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
}
h1,
h2 {
  font-family: Georgia, serif;
  line-height: 1.13;
  font-weight: 500;
}
h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  margin: 0.35em 0 0.2em;
}
h2 {
  font-size: clamp(1.7rem, 4vw, 2.65rem);
  margin: 0.35em 0;
}
.intro {
  margin: 2rem 0;
  max-width: 54rem;
}
.intro p {
  font-size: 1.13rem;
}
.meta,
.muted {
  color: var(--dim);
}
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.3rem;
  border-block: 1px solid #95ada8;
  background: var(--pale);
}
label {
  font-size: 0.9rem;
  font-weight: 700;
  display: grid;
  gap: 0.25rem;
  flex: 1;
  min-width: min(100%, 10rem);
}
select,
button {
  font: inherit;
  color: var(--ink);
  padding: 0.55rem;
  background: #fff;
  border: 1px solid #859e99;
  border-radius: 4px;
  cursor: pointer;
}
select {
  width: 100%;
}
button:hover {
  background: var(--pale);
}
:focus-visible {
  outline: 3px solid var(--second);
  outline-offset: 2px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}
.card {
  border: 1px solid #a6b9b4;
  background: var(--panel);
  padding: 1.15rem;
}
.card strong {
  display: block;
  font:
    600 1.95rem/1.25 Georgia,
    serif;
  margin: 0.2rem 0;
}
.card small {
  display: block;
  color: var(--dim);
}
.panel {
  background: var(--panel);
  padding: clamp(0.9rem, 3vw, 1.7rem);
  border: 1px solid #b0c1ba;
  margin: 1rem 0;
}
.scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
th,
td {
  border-bottom: 1px solid #d5e0da;
  padding: 0.6rem 0.5rem;
  vertical-align: top;
}
th {
  font-size: 0.9rem;
}
summary {
  cursor: pointer;
  font-weight: 700;
}
svg {
  max-width: 100%;
  height: auto;
  display: block;
}
footer {
  font-size: 0.92rem;
  color: var(--dim);
  margin-bottom: 2rem;
}
p {
  max-width: 80ch;
}
.hide[hidden],
section[hidden] {
  display: none;
}

#tile-notice{padding:.6rem .85rem;background:#fff3d7;color:#4d3511} #tile-notice button{font:inherit;margin:.2rem .5rem;padding:.25rem .65rem;cursor:pointer}

.record-map{height:clamp(19rem,48vh,31rem);width:100%;isolation:isolate;background:#e9eeeb;border:1px solid #93aaa5}.record-map .leaflet-control-attribution{max-width:85vw;white-space:normal}.map-tools{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem}.map-tools p{margin:.45rem 0}.map-tools button{padding:.45rem .7rem}
.count-key{display:flex;flex-wrap:wrap;gap:.5rem 1.1rem;margin:.55rem 0}.count-key span{display:flex;align-items:center;gap:.35rem}.count-key span::before{content:"";display:inline-block;width:1.15rem;height:.75rem;border:1px solid #154f52;background:#a6cfb5}.count-key span:nth-child(2)::before{background:#378981}.count-key span:nth-child(3)::before{background:#164d51}
