:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #173d36;
  background: #f7f6f1;
  font-synthesis: none;
  --green: #173d36;
  --line: #dedfd6;
  --accent: #d3ef72;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100dvh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
header {
  height: 64px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 24px;
}
.brand {
  font-weight: 900;
  font-size: 39px;
  letter-spacing: -3px;
  color: var(--green);
  text-decoration: none;
}
.brand span {
  color: #4d7662;
  font-size: 33px;
  letter-spacing: 0;
}
.header-label,
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
}
.internal {
  margin-left: auto;
  font-size: 11px;
  border: 1px solid #b8c8b6;
  padding: 8px 13px;
  border-radius: 20px;
}
main {
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 16px 24px 12px;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.eyebrow {
  color: #5a7465;
}
h1 {
  font-family: Georgia, serif;
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -2px;
  margin: 4px 0 8px;
}
h1 span {
  color: #679444;
}
.subtitle {
  font-size: 12px;
  line-height: 1.5;
  color: #66756e;
  margin: 0 0 12px;
}
.intro-mark {
  font-size: 80px;
  line-height: 1;
  color: #a7bf77;
  margin-right: 12px;
  transform: rotate(-15deg);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  margin-bottom: 14px;
}
.metrics > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.metrics > div:first-child {
  border: 0;
  padding-left: 0;
}
.metrics strong {
  font:
    34px Georgia,
    serif;
}
.metrics span {
  font-size: 12px;
  color: #6c776f;
}
.toolbar {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-bottom: 16px;
}
.toolbar label {
  font-size: 10px;
  letter-spacing: 0.5px;
  display: grid;
  gap: 6px;
}
.toolbar input,
.toolbar select {
  height: 45px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 6px;
  padding: 0 12px;
  color: var(--green);
}
.toolbar select {
  min-width: 160px;
}
.toolbar .search {
  flex: 1;
  position: relative;
  display: block;
}
.search span {
  position: absolute;
  left: 13px;
  top: 5px;
  font-size: 27px;
}
.toolbar input {
  width: 100%;
  padding-left: 42px;
  min-width: 180px;
}
.workspace {
  display: grid;
  flex: 1;
  min-height: 0;
  grid-template-columns: minmax(320px, 0.85fr) minmax(350px, 1.15fr);
  gap: 20px;
}
.directory {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  flex-shrink: 0;
  margin-bottom: 10px;
}
.list-heading h2 {
  font:
    23px Georgia,
    serif;
  margin: 0;
}
.list-heading span {
  font-size: 11px;
  color: #64796e;
}
#list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 7px;
}
.place-card {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 19px;
  margin-bottom: 10px;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.place-card:hover {
  border-color: #668a68;
  background: #fcfff5;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.theme {
  font-size: 10px;
  letter-spacing: 0.4px;
  color: #677d69;
}
.place-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 12px 0 7px;
}
.address {
  font-size: 12px;
  color: #7d837d;
  margin: 0;
  line-height: 1.5;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #eff0eb;
  padding-top: 14px;
  margin-top: 16px;
  font-size: 10px;
  color: #68766b;
}
.status {
  display: inline-block;
  border-radius: 20px;
  font-size: 10px;
  padding: 5px 9px;
  background: #f1f1e9;
  color: #797962;
}
.status.open {
  background: #e4efd5;
  color: #44622d;
}
.status.closed {
  background: #fbe9e4;
  color: #983d2b;
}
.status.uncertain,
.status.stale {
  background: #fff1d6;
  color: #8b661f;
}
.map-panel {
  background: #e9ecdf;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
#map {
  flex: 1;
  min-height: 0;
  width: 100%;
  z-index: 1;
}
.map-note {
  font-size: 11px;
  color: #5c705f;
  padding: 8px 12px;
  margin: 0;
  line-height: 1.5;
}
.empty {
  padding: 45px 20px;
  border: 1px dashed #becbb5;
  border-radius: 10px;
  color: #6c776f;
  font-size: 14px;
  line-height: 1.7;
}
.coverage {
  font-size: 12px;
  margin: 12px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  flex-shrink: 0;
  max-height: 25dvh;
  overflow-y: auto;
  color: #627268;
  line-height: 1.8;
}
.coverage summary {
  cursor: pointer;
  color: var(--green);
  font-weight: 600;
}
footer {
  padding: 12px 24px;
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #718073;
  border-top: 1px solid var(--line);
}
dialog {
  width: min(630px, 94vw);
  border: 0;
  border-radius: 14px;
  padding: 28px;
  max-height: 90vh;
  color: var(--green);
  background: #fafaf5;
}
dialog::backdrop {
  background: #15372bb3;
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.close {
  border: 0;
  background: transparent;
  font-size: 30px;
  color: var(--green);
}
dialog h2 {
  font:
    34px Georgia,
    serif;
  margin: 12px 0;
}
dialog h3 {
  font-size: 14px;
  margin: 25px 0 12px;
}
dialog p,
dialog li {
  font-size: 13px;
  line-height: 1.7;
}
dialog a {
  color: #446e46;
}
.source-link {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.review {
  border-left: 2px solid #aec86c;
  padding: 1px 14px;
  margin: 15px 0;
}
.review p {
  white-space: pre-wrap;
}
.review small {
  color: #7a8578;
}
form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
form label {
  display: grid;
  gap: 6px;
  font-size: 11px;
}
form input,
form select,
form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccd5c4;
  border-radius: 5px;
  background: white;
  color: var(--green);
}
.wide {
  grid-column: 1/-1;
}
form button {
  background: var(--green);
  border: 0;
  border-radius: 5px;
  padding: 13px;
  color: white;
}
.form-message {
  font-size: 12px;
  margin: 0;
}
#error {
  padding: 15px;
  background: #fbe9e4;
  color: #983d2b;
  border-radius: 6px;
}
.verification {
  background: #eef1e5;
  padding: 14px;
  border-radius: 7px;
}
.verification p {
  margin: 6px 0;
}
.leaflet-container {
  font-family: Arial, sans-serif;
}
a.marker-link {
  color: var(--green);
}
@media (max-width: 900px) {
  header {
    height: 54px;
    padding: 0 12px;
  }
  main {
    padding: 10px 12px;
  }
  .subtitle {
    display: none;
  }
  .eyebrow {
    font-size: 8px;
  }
  .metrics {
    padding: 8px 0;
    margin-bottom: 10px;
  }
  .toolbar {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
  }
  .toolbar .search {
    flex-basis: 100%;
  }
  .toolbar label:not(.search) {
    flex: 1;
  }
  .toolbar select {
    min-width: 0;
    width: 100%;
  }
  .workspace {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
  }
  .map-panel {
    position: static;
    grid-row: 1;
  }
  .intro-mark {
    font-size: 54px;
    margin: 0;
  }
  .metrics > div {
    display: block;
    padding-left: 14px;
  }
  .metrics span {
    display: block;
    font-size: 10px;
  }
  .metrics strong {
    font-size: 29px;
  }
  .header-label {
    display: none;
  }
  h1 {
    font-size: 36px;
  }
  footer span {
    display: none;
  }
}
.source-note {
  margin: -4px 0 8px;
  color: #7a8578;
  font-size: 12px;
  white-space: pre-wrap;
}
