:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #183b34;
  background: #f3f5ef;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  min-height: 44px;
  cursor: pointer;
  border: 0;
  border-radius: 9px;
  background: #163e32;
  color: white;
  padding: 11px 15px;
  font-weight: 650;
}
button:hover {
  filter: brightness(0.94);
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #b48726;
  outline-offset: 3px;
}
input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #c3cec4;
  border-radius: 8px;
  background: white;
  color: #1e3d35;
  padding: 11px;
}
textarea {
  resize: vertical;
  min-height: 112px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
label input,
label select,
label textarea {
  margin-top: 5px;
}
header {
  background: #163e32;
  color: #fff;
  padding: 23px max(24px, calc((100vw - 1376px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.brand {
  display: flex;
  gap: 14px;
  align-items: center;
}
.brandmark {
  font-size: 28px;
  font-weight: 800;
  border: 1px solid #6e9180;
  border-radius: 12px;
  padding: 9px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 0 0 5px;
}
h1 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -1px;
}
.prototype {
  font-size: 12px;
  color: #dce8cf;
  border: 1px solid #64816b;
  border-radius: 20px;
  padding: 8px 12px;
}
main {
  max-width: 1424px;
  margin: auto;
  padding: 28px 24px;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
h2 {
  font-size: 29px;
  letter-spacing: -1px;
  margin: 0 0 6px;
}
p {
  line-height: 1.55;
  margin: 0;
  color: #53675c;
}
h3 {
  font-size: 16px;
  margin: 0;
}
.intro p {
  font-size: 14px;
}
.secondary {
  background: white;
  color: #244436;
  border: 1px solid #cbd4c7;
}
.notice {
  background: #e8edda;
  padding: 14px 17px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.65;
}
.notice span {
  display: block;
}
.filters {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin: 24px 0 16px;
}
.workspace {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: start;
}
.map-panel {
  position: sticky;
  top: 18px;
  border: 1px solid #d4ddcf;
  border-radius: 15px;
  overflow: hidden;
  background: white;
}
.panel-title {
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel-title p {
  font-size: 12px;
  margin-top: 4px;
}
#expandMap {
  display: none;
}
#map {
  height: 555px;
  background: #e6ece4;
}
.map-note {
  padding: 12px 16px 0;
  font-size: 11px;
}
.legend {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  padding: 13px 16px;
  font-size: 11px;
}
.legend span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.dot {
  height: 8px;
  width: 8px;
  display: inline-block;
  border-radius: 50%;
}
.confirmed {
  background: #225e42;
}
.possible {
  background: #b67d20;
}
.unknown {
  background: #6a7f8a;
}
.list-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 12px;
}
.list-title p {
  font-size: 12px;
}
#count,
#queueCount {
  color: #698074;
  margin-left: 5px;
}
.card {
  border: 1px solid #d3dccf;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 12px;
  padding: 18px;
}
.card.selected {
  border: 2px solid #2c7150;
  padding: 17px;
  box-shadow: 0 0 0 3px #dce8dc;
}
.card-top {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: start;
}
.card h4 {
  margin: 10px 0 3px;
  font-size: 19px;
  letter-spacing: -0.3px;
}
.card .meta {
  font-size: 12px;
}
.badge {
  display: inline-block;
  border-radius: 5px;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 800;
  background: #edf1e9;
  color: #3c594a;
  letter-spacing: 0.3px;
}
.badge.confirmed {
  background: #e0eee1;
  color: #205834;
}
.badge.possible {
  background: #fff0d1;
  color: #815712;
}
.badge.unknown {
  background: #e9eef0;
  color: #46606c;
}
.demo {
  font-size: 10px;
  color: #627369;
  white-space: nowrap;
}
.card .evidence {
  font-size: 13px;
  margin: 13px 0;
}
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #edf0e9;
  font-size: 12px;
}
.card-bottom button {
  min-width: 115px;
}
.pin {
  border: 3px solid white !important;
  border-radius: 50%;
  box-shadow: 0 2px 7px #29453188;
}
.pin.selected {
  outline: 3px solid #173f30;
}
.queue {
  margin-top: 26px;
  padding: 22px;
  background: #fff;
  border: 1px solid #d4ddcf;
  border-radius: 14px;
}
.queue p {
  font-size: 13px;
  margin-top: 6px;
}
.queue-item {
  padding: 13px 0;
  border-top: 1px solid #e5e9df;
  margin-top: 12px;
  font-size: 13px;
}
.queue-item strong {
  display: block;
  margin-bottom: 4px;
}
footer {
  font-size: 12px;
  color: #586c60;
  padding: 24px 0;
  line-height: 1.7;
}
footer a {
  color: #275b40;
  display: block;
}
#feedback:not(:empty) {
  padding: 12px;
  margin-bottom: 15px;
  background: #e0ecda;
  border-radius: 8px;
}
#feedback.error,
.error {
  color: #912b20;
  background: #fff0eb;
}
dialog {
  width: min(680px, calc(100% - 24px));
  max-height: 92dvh;
  border: 0;
  border-radius: 16px;
  padding: 25px;
  color: #183b34;
  box-shadow: 0 20px 80px #0004;
}
dialog::backdrop {
  background: #12251cd0;
}
.detail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.detail-head button {
  min-height: 44px;
}
.detail-title {
  font-size: 28px;
  margin: 10px 0;
}
.detail-meta {
  font-size: 14px;
}
.detail-section {
  border-top: 1px solid #dde5d9;
  padding-top: 18px;
  margin-top: 20px;
}
.detail-section h3 {
  margin-bottom: 10px;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0;
}
.fact {
  background: #f0f4eb;
  border-radius: 8px;
  padding: 13px;
}
.fact span {
  display: block;
  font-size: 11px;
  color: #566e5d;
}
.fact strong {
  font-size: 21px;
}
.source {
  display: block;
  font-size: 13px;
  color: #285c40;
  margin-top: 8px;
  overflow-wrap: anywhere;
}
li {
  font-size: 14px;
  line-height: 1.6;
}
ul {
  padding-left: 20px;
}
.detail-section label {
  margin: 13px 0;
}
.save-row {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 16px;
}
.save-row span {
  font-size: 12px;
}
.empty {
  padding: 30px 20px;
  background: white;
  border: 1px dashed #bac9b4;
  border-radius: 12px;
  line-height: 1.6;
}
.leaflet-container {
  font-family: inherit;
}
#detailBody {
  overflow-wrap: anywhere;
}
.map-failed {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  font-size: 16px;
  text-align: center;
}
@media (max-width: 900px) {
  .filters {
    grid-template-columns: repeat(3, 1fr);
  }
  .search {
    grid-column: span 2;
  }
  .workspace {
    grid-template-columns: 1fr 1fr;
  }
  #map {
    height: 500px;
  }
}
@media (max-width: 640px) {
  header {
    padding: 19px 17px;
  }
  .brandmark {
    font-size: 21px;
    padding: 8px;
  }
  .brand {
    gap: 10px;
  }
  h1 {
    font-size: 23px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  .prototype {
    font-size: 9px;
    padding: 6px 8px;
    max-width: 105px;
    text-align: center;
  }
  main {
    padding: 23px 16px;
  }
  .intro {
    display: block;
    margin-bottom: 19px;
  }
  h2 {
    font-size: 25px;
  }
  .intro button {
    margin-top: 16px;
  }
  .notice {
    font-size: 12px;
    padding: 12px;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 19px 0;
  }
  .search {
    grid-column: span 2;
  }
  .filters button {
    grid-column: span 2;
  }
  .workspace {
    display: flex;
    flex-direction: column;
    gap: 23px;
  }
  .map-panel {
    position: static;
    width: 100%;
  }
  .panel-title {
    padding: 14px;
  }
  .panel-title h3 {
    font-size: 14px;
  }
  #expandMap {
    display: block;
    font-size: 12px;
    padding: 8px 10px;
  }
  #map {
    height: 245px;
  }
  .map-panel.expanded #map {
    height: 65dvh;
  }
  .list-panel {
    width: 100%;
  }
  .card {
    padding: 16px;
  }
  .card.selected {
    padding: 15px;
  }
  .legend {
    font-size: 10px;
    gap: 12px;
  }
  .queue {
    padding: 17px;
  }
  .facts {
    gap: 10px;
  }
  dialog {
    padding: 20px 17px;
  }
  .detail-title {
    font-size: 25px;
  }
  input,
  select,
  textarea {
    font-size: 16px;
  }
  .detail-section label {
    font-size: 13px;
  }
}

/* Fast, readable qualification summaries with full evidence on demand. */
.count-summary { display: flex; align-items: center; gap: 16px; margin: 20px 0 15px; padding: 15px 0; border-top: 1px solid #e3e9df; border-bottom: 1px solid #e3e9df; }
.count-value { font-size: 36px; line-height: 1.1; letter-spacing: -1.2px; color: #183b34; }
.count-label { display: block; font-size: 13px; font-weight: 700; color: #284b3b; }
.count-caution { display: block; margin-top: 4px; font-size: 12px; line-height: 1.5; color: #6b624a; }
.count-unknown .count-value { font-size: 20px; letter-spacing: -.4px; max-width: 145px; }
.overview { font-size: 14px; line-height: 1.7; color: #42594d; overflow-wrap: anywhere; }
.primary-source { margin-top: 13px; font-size: 12px; line-height: 1.65; color: #657268; overflow-wrap: anywhere; }
.primary-source a { color: #285b44; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.detail-overview { font-size: 16px; }
.evidence-disclosure { background: #f5f7f2; padding: 17px; border-radius: 10px; }
.evidence-disclosure summary { cursor: pointer; min-height: 32px; font-size: 15px; font-weight: 700; line-height: 1.7; }
.evidence-disclosure summary:focus-visible { outline: 3px solid #b48726; outline-offset: 3px; }
.evidence-paragraphs { margin-top: 18px; }
.evidence-paragraphs p, .report-qualifier, .discovery-note { margin-bottom: 15px; font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.source-item { margin: 14px 0; }
.source-item .source { margin: 0; overflow-wrap: anywhere; }
.source-dates { font-size: 11px; margin-top: 5px; line-height: 1.65; }
@media (max-width: 480px) { .count-summary { gap: 12px; } .count-value { font-size: 32px; } .count-caution { font-size: 11px; } .count-unknown .count-value { font-size: 18px; max-width: 115px; } }
