:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #254354;
  background: #f2f5f6;
  color-scheme: light;
  --line: #cbd7db;
  --blue: #284f68;
  --muted: #5c737d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 12px 19px;
  background: transparent;
  color: inherit;
  font-size: 12px;
}
button:hover {
  background: #dce7e6;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #7984b1;
  outline-offset: 4px;
}
.primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.primary:hover {
  background: #37677f;
}
h1,
h2,
p {
  margin: 0;
}
h1,
h2,
.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 3.5%;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 29px;
  letter-spacing: -1px;
}
.brand span {
  font:
    8px/1.5 Arial,
    sans-serif;
  letter-spacing: 1.3px;
  width: 82px;
  margin-left: 12px;
  color: var(--muted);
}
.top nav {
  display: flex;
  border-radius: 28px;
  background: #e4ebee;
  padding: 4px;
  gap: 4px;
}
.top nav button {
  border: 0;
  padding: 10px 23px;
}
.top nav button[aria-pressed="true"] {
  background: #fff;
  box-shadow: 0 1px 3px #25435416;
}
.top nav span {
  margin-left: 8px;
  font-size: 10px;
  color: var(--muted);
}
main {
  width: min(1370px, 93%);
  margin: auto;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 46px 16px 38px;
  gap: 40px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.8px;
  line-height: 1.7;
  color: var(--muted);
}
h1 {
  font-size: clamp(48px, 5vw, 73px);
  line-height: 1.04;
  letter-spacing: -3px;
  margin-top: 12px;
}
h1 em {
  font-weight: 400;
  color: #6b7b67;
}
.intro > p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 40px;
}
.edition {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #98acb5;
  border-radius: 50% 50% 45% 45%;
  padding: 24px 23px 20px;
  transform: rotate(7deg);
}
.edition span {
  font: 8px monospace;
  letter-spacing: 1px;
}
.edition strong {
  font:
    54px Georgia,
    serif;
  line-height: 1.3;
}
.explorer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 345px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #e4ecdf;
}
.map-pane {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.map-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  font-size: 9px;
  letter-spacing: 1.3px;
  background: #e4ecdf;
}
.map-tag {
  border-bottom: 1px solid #8ca295;
  padding-bottom: 8px;
}
.map {
  position: relative;
  flex: 1;
  min-height: 530px;
  overflow: hidden;
}
.map > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  inset: 0;
}
.pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f9fbf8;
  border: 1px solid #7c9390;
  box-shadow: 0 5px 14px #284f681c;
  font-size: 11px;
  padding: 7px 15px 7px 7px;
  z-index: 1;
  white-space: nowrap;
}
.pin span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e6ece8;
  width: 29px;
  height: 29px;
  font:
    12px Georgia,
    serif;
}
.pin[aria-pressed="true"] {
  background: #284f68;
  color: #fff;
  border-color: #284f68;
}
.pin[aria-pressed="true"] span {
  background: #fff;
  color: #284f68;
}
.pin.lake {
  left: 44%;
  top: 58%;
}
.pin.grove {
  left: 11%;
  top: 45%;
}
.pin.meadow {
  left: 66%;
  top: 20%;
}
.map-bottom {
  position: absolute;
  bottom: 20px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  font: 8px/1.6 monospace;
  letter-spacing: 1px;
  color: #47645c;
}
.place-sheet {
  background: #f8faf9;
  padding: 25px 27px 22px;
  border-left: 1px solid var(--line);
}
.sheet-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.leaf-symbol {
  font: 30px Georgia;
}
.place-sheet h2 {
  font-size: 36px;
  letter-spacing: -1px;
  margin: 18px 0 12px;
}
.place-sheet > p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.heron {
  width: 100%;
  height: 177px;
  object-fit: contain;
}
.prompt {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.prompt span {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: var(--muted);
}
.prompt p {
  font:
    17px/1.45 Georgia,
    serif;
  margin-top: 10px;
}
.full {
  width: 100%;
}
.place-observations {
  margin-top: 24px;
}
.place-observations button {
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  width: 100%;
  text-align: left;
  justify-content: space-between;
  padding: 14px 0;
  font: 14px Georgia;
}
.place-observations small {
  font: 9px Arial;
  color: var(--muted);
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 24px 5px 35px;
  gap: 20px;
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
}
footer a {
  font-size: 11px;
  letter-spacing: 0;
}
.journal-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 20px 0 30px;
}
.journal-heading h2 {
  font-size: 40px;
}
.journal-tools {
  display: flex;
  gap: 10px;
}
.filters {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-bottom: 24px;
}
.search {
  flex: 1;
}
.search span {
  display: block;
  font-size: 10px;
  margin-bottom: 8px;
}
.filters input,
.filters select {
  border: 1px solid var(--line);
  padding: 13px;
  border-radius: 8px;
  background: #fff;
  color: inherit;
}
.filters input {
  width: 100%;
}
.filters button[aria-pressed="true"] {
  background: #d9e3eb;
}
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  min-height: 280px;
}
.journal-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 24px;
  min-width: 0;
}
.journal-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  color: var(--muted);
}
.journal-card h3 {
  font:
    25px/1.2 Georgia,
    serif;
  margin: 24px 0 13px;
}
.journal-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.journal-card footer {
  padding: 22px 0 0;
  align-items: center;
}
.favorite {
  border: 0;
  padding: 5px 8px;
  font-size: 21px;
}
.journal-card footer button {
  font-size: 10px;
}
.empty {
  padding: 40px 10px;
  color: var(--muted);
  grid-column: 1/-1;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  width: min(570px, calc(100% - 30px));
  color: #254354;
  background: #f8faf9;
  max-height: 90vh;
  overflow: auto;
}
dialog::backdrop {
  background: #15394d70;
  backdrop-filter: blur(4px);
}
dialog h2 {
  font-size: 30px;
  margin: 10px 0 25px;
}
dialog label {
  display: block;
  font-size: 11px;
  margin: 16px 0;
}
dialog input,
dialog select,
dialog textarea {
  width: 100%;
  border: 1px solid #afc0c8;
  border-radius: 8px;
  padding: 12px;
  margin-top: 8px;
  color: inherit;
  background: #fff;
}
textarea {
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.dialog-actions {
  display: flex;
  justify-content: end;
  gap: 10px;
  margin-top: 22px;
}
#import-count {
  font-size: 14px;
  line-height: 1.7;
}
#status:not(:empty) {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  background: #254354;
  color: #fff;
  padding: 15px 23px;
  border-radius: 12px;
  font-size: 12px;
  box-shadow: 0 5px 30px #0003;
  z-index: 10;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 10px;
  top: 10px;
  background: white;
  padding: 15px;
  z-index: 20;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1000px) {
  .brand span {
    display: none;
  }
  .explorer {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .place-sheet {
    padding: 22px;
  }
  .map {
    min-height: 560px;
  }
  .pin {
    font-size: 10px;
  }
  .pin.lake {
    left: 43%;
  }
  .pin.meadow {
    left: 55%;
  }
  .intro > p {
    font-size: 12px;
  }
  .edition {
    display: none;
  }
  .journal-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .top {
    flex-wrap: wrap;
    padding: 18px 5%;
    gap: 16px;
  }
  .brand {
    font-size: 26px;
  }
  .top > .primary {
    font-size: 10px;
    padding: 12px;
  }
  .top nav {
    width: 100%;
  }
  .top nav button {
    flex: 1;
  }
  .intro {
    padding: 30px 0;
    display: block;
  }
  .intro > p {
    margin: 18px 0 0;
    font-size: 13px;
  }
  .intro > p br {
    display: none;
  }
  h1 {
    font-size: 54px;
  }
  .explorer {
    grid-template-columns: 1fr;
  }
  .map {
    height: 410px;
    min-height: 410px;
  }
  .map-top {
    font-size: 7px;
    padding: 18px;
  }
  .map-key {
    font-size: 8px;
  }
  .pin {
    font-size: 9px;
    gap: 5px;
    padding-right: 9px;
  }
  .pin span {
    width: 23px;
    height: 23px;
  }
  .pin.grove {
    left: 5%;
    top: 40%;
  }
  .pin.meadow {
    left: 48%;
    top: 16%;
  }
  .pin.lake {
    left: 41%;
    top: 64%;
  }
  .map-bottom {
    font-size: 6px;
    left: 18px;
    right: 18px;
  }
  .place-sheet {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 25px;
  }
  .heron {
    height: 180px;
  }
  .place-sheet h2 {
    margin-top: 8px;
  }
  .journal-heading {
    display: block;
  }
  .journal-heading h2 {
    font-size: 34px;
  }
  .journal-tools {
    margin-top: 18px;
  }
  .filters {
    flex-wrap: wrap;
  }
  .search {
    flex-basis: 100%;
  }
  .journal-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  footer {
    font-size: 7px;
    line-height: 1.6;
  }
  dialog {
    padding: 25px;
  }
  .dialog-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  .top nav {
    order: 3;
  }
  .map {
    height: 300px;
    min-height: 300px;
  }
}
