:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: #17363a;
  background: #f5f7f4;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #e49b54;
  outline-offset: 2px;
}
a {
  color: #146a70;
}
em {
  font-style: normal;
  color: #18787b;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  background: #fff;
  z-index: 9999;
}
.topbar {
  background: #163c40;
  color: #f1f8f4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px clamp(20px, 4.2vw, 76px);
  border-bottom: 1px solid #326065;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.15em;
  font-weight: 700;
}
.brand strong {
  font-weight: 900;
}
.brand-icon {
  width: 36px;
  height: 36px;
  background: #2d7777;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 31px;
  line-height: 1;
  color: #cbf2dd;
}
.topnote {
  font-size: 12px;
  color: #c6dddc;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e6b979;
  margin: 0 6px 1px;
}
main {
  max-width: 1640px;
  padding: 0 clamp(20px, 4.2vw, 76px) 60px;
  margin: 0 auto;
}
.intro {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  padding: 40px 0 30px;
}
.eyebrow,
.panel-label {
  letter-spacing: 0.145em;
  font-size: 11px;
  font-weight: 800;
  color: #33817f;
}
.intro h1 {
  font-weight: 740;
  font-size: clamp(28px, 3vw, 47px);
  line-height: 1.18;
  letter-spacing: -0.045em;
  margin: 11px 0 15px;
}
.lead {
  max-width: 730px;
  color: #627579;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}
.hero-metric {
  background: #e8f0e9;
  border: 1px solid #d6e5d8;
  border-radius: 15px;
  padding: 18px 25px;
  min-width: 220px;
  max-width: 270px;
}
.hero-metric small,
.hero-metric span {
  display: block;
  font-size: 11px;
  color: #536b6b;
  line-height: 1.4;
}
.hero-metric strong {
  font-size: 38px;
  letter-spacing: -0.05em;
  display: block;
  margin: 4px 0;
}
.notice {
  display: flex;
  gap: 14px;
  background: #fff9ef;
  border: 1px solid #ebdfca;
  border-radius: 10px;
  padding: 12px 17px;
  font-size: 12px;
  line-height: 1.6;
  color: #665a4a;
}
.notice-mark {
  flex: 0 0 auto;
  border: 1px solid #b98345;
  border-radius: 50%;
  width: 21px;
  height: 21px;
  text-align: center;
  font-weight: bold;
  color: #996936;
}
.steps {
  display: flex;
  gap: 6px;
  margin: 28px 0 12px;
  overflow-x: auto;
}
.step {
  border: 0;
  background: transparent;
  border-bottom: 3px solid transparent;
  color: #687c7e;
  padding: 12px 17px;
  white-space: nowrap;
  font-weight: 700;
  font-size: 12px;
}
.step b {
  font-size: 10px;
  margin-right: 7px;
  color: #93a9a8;
}
.step.active {
  color: #155d63;
  border-bottom-color: #18787b;
}
.workspace-grid {
  display: grid;
  grid-template-columns: minmax(235px, 282px) minmax(350px, 1fr) minmax(
      260px,
      340px
    );
  gap: 13px;
  min-height: 615px;
}
.finder,
.map-container,
.detail-panel {
  background: #fff;
  border: 1px solid #dae4df;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 22px #23443a09;
}
.finder {
  padding: 21px 15px 0;
}
.finder .panel-label {
  margin: 0 0 20px 7px;
}
.finder label,
.detail-panel label {
  font-size: 12px;
  font-weight: 700;
  display: block;
  margin: 16px 0 7px;
}
.finder input[type="search"],
select,
.detail-panel textarea,
.detail-panel input {
  width: 100%;
  border: 1px solid #d3e1db;
  border-radius: 8px;
  background: #fff;
  padding: 11px 12px;
  color: #17363a;
}
.hint {
  font-size: 10px;
  line-height: 1.4;
  color: #809292;
  display: block;
  margin-top: 7px;
}
.finder .checkline {
  display: flex;
  gap: 9px;
  align-items: center;
  font-weight: 500;
  margin: 20px 0;
}
.checkline input {
  accent-color: #18787b;
}
.list-head {
  display: flex;
  gap: 6px;
  align-items: baseline;
  border-bottom: 1px solid #e3eae6;
  padding: 10px 4px;
  color: #6c8280;
  font-size: 12px;
}
.list-head b {
  color: #183f42;
  font-size: 18px;
}
.place-list {
  max-height: 410px;
  overflow: auto;
  margin: 0 -15px;
}
.place {
  border: 0;
  border-bottom: 1px solid #edf1ee;
  background: #fff;
  width: 100%;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  color: #17363a;
}
.place:hover,
.place.selected {
  background: #e9f2ee;
}
.place b {
  font-size: 13px;
  display: block;
}
.place small {
  font-size: 10px;
  color: #81908e;
  display: block;
  margin-top: 4px;
}
.place .number {
  font-size: 12px;
  color: #136c6f;
  white-space: nowrap;
  background: #e0efec;
  border-radius: 99px;
  padding: 4px 8px;
}
.no-results {
  color: #657c7a;
  padding: 20px;
  line-height: 1.6;
  font-size: 12px;
}
.map-container {
  display: flex;
  flex-direction: column;
}
.map-topline,
.map-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 15px 19px;
  color: #536e70;
  font-size: 11px;
}
.map-topline {
  font-weight: 700;
}
.map-topline button {
  background: none;
  border: 0;
  color: #126a70;
  font-size: 11px;
}
.legend-dot {
  display: inline-block;
  background: #cc7752;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 7px;
}
.map-footer {
  border-top: 1px solid #e8efea;
}
.swatch {
  display: inline-block;
  width: 11px;
  height: 11px;
  background: #78bbbfbb;
  border: 1px solid #18777b;
  margin-right: 4px;
  vertical-align: -1px;
}
#map {
  min-height: 515px;
  flex: 1;
  background: #e4ebe6;
}
.leaflet-container {
  font-family: inherit;
}
.detail-panel {
  padding: 24px;
  overflow-y: auto;
}
.detail-panel h2 {
  font-size: 24px;
  line-height: 1.23;
  letter-spacing: -0.035em;
  margin: 18px 0 12px;
}
.detail-panel p {
  font-size: 13px;
  line-height: 1.65;
}
.muted {
  color: #748582;
}
.empty-icon {
  background: #eef6f3;
  color: #288280;
  border-radius: 100%;
  width: 108px;
  height: 108px;
  font-size: 77px;
  display: grid;
  place-items: center;
  margin: 36px auto 28px;
}
.panel-view {
  display: none;
}
.panel-view.active {
  display: block;
}
.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 23px 0;
}
.metric-grid div {
  background: #eaf2ef;
  border-radius: 9px;
  padding: 13px;
}
.metric-grid span {
  display: block;
  font-size: 10px;
  color: #64807c;
}
.metric-grid strong {
  font-size: 22px;
  display: block;
  margin-top: 7px;
}
.source-note {
  font-size: 11px !important;
  padding: 13px 15px;
  border-left: 3px solid #e9ad6d;
  background: #fbf7ef;
  color: #647270;
  line-height: 1.6;
}
.primary {
  background: #146f70;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 13px 15px;
  width: 100%;
  font-weight: 750;
  margin-top: 18px;
  text-align: center;
}
.primary:hover {
  background: #0f5c61;
}
.overlap {
  border-bottom: 1px solid #e7eeea;
  padding: 11px 0;
}
.overlap-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}
.overlap-top small {
  color: #7c9290;
}
.bar {
  height: 6px;
  background: #edf3ef;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
}
.bar > span {
  display: block;
  height: 100%;
  background: #41918c;
  border-radius: 4px;
}
.detail-panel textarea {
  resize: vertical;
  font-size: 12px;
  line-height: 1.5;
}
.export-preview {
  border: 1px solid #d7e4dc;
  background: #f4f8f5;
  border-radius: 9px;
  padding: 20px 16px;
  margin: 28px 0 5px;
}
.export-preview span,
.export-preview small {
  display: block;
  color: #66817a;
  font-size: 11px;
}
.export-preview strong {
  display: block;
  margin: 10px 0;
  font-size: 17px;
}
footer {
  max-width: 1640px;
  margin: auto;
  padding: 0 clamp(20px, 4.2vw, 76px) 36px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 11px;
  color: #7d918d;
  flex-wrap: wrap;
}
@media (max-width: 1160px) {
  .workspace-grid {
    grid-template-columns: 240px minmax(300px, 1fr);
  }
  .detail-panel {
    grid-column: 1/-1;
    min-height: 260px;
  }
  #map {
    min-height: 495px;
  }
}
@media (max-width: 710px) {
  .topnote {
    display: none;
  }
  .intro {
    display: block;
    padding-top: 26px;
  }
  .hero-metric {
    margin-top: 20px;
    max-width: none;
  }
  .workspace-grid {
    display: block;
  }
  .finder,
  .map-container,
  .detail-panel {
    margin-bottom: 12px;
  }
  .finder {
    padding-bottom: 12px;
  }
  .place-list {
    max-height: 220px;
  }
  #map {
    height: 390px;
    min-height: 390px;
  }
  .steps {
    margin-top: 16px;
  }
  .step {
    padding: 11px 12px;
  }
  .map-topline,
  .map-footer {
    padding: 12px;
  }
  .detail-panel {
    min-height: 350px;
  }
  .intro h1 {
    font-size: 30px;
  }
  footer {
    padding-bottom: 30px;
  }
}

/* Evidence-first study selector and accessible worklist */
.studies{display:grid;grid-template-columns:260px 1fr;gap:25px;padding:25px 0 17px}.studies h2{font-size:22px;line-height:1.2;margin:5px 0 10px}.studies p{font-size:12px;line-height:1.5}.study-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.study-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;border:1px solid #d6e4de;border-radius:11px;background:#fff;padding:15px;color:#173b3f;min-height:148px}.study-card:hover,.study-card:focus-visible{border-color:#238080;background:#ebf5f1}.study-card small{font-size:10px;color:#347b7a;letter-spacing:.02em}.study-card strong{font-size:18px}.study-card span{font-size:12px;color:#516a6c;line-height:1.35}.study-card em{font-size:11px;color:#147378;margin-top:auto}.study-context{border-left:3px solid #6eaca5;padding:10px 12px;background:#f2f7f5;margin:13px 0;border-radius:0 8px 8px 0;font-size:12px}.study-context p{font-size:12px}.study-context a{overflow-wrap:anywhere}.study-context small{line-height:1.45;color:#657b79}.review-row{padding:11px 12px;border:1px solid #d9e5e0;border-radius:8px;margin:8px 0;background:#f8fbf9;display:flex;flex-direction:column;gap:5px}.review-row label{font-size:12px;margin:0}.review-row strong{font-size:12px}.review-row small{color:#5a7370;font-size:11px}.review-row select{font-size:11px;padding:9px;width:100%;max-width:100%;margin-top:4px}.detail-panel h3{font-size:14px;margin:19px 0 6px}.secondary{display:block;width:100%;border:1px solid #20757b;color:#175d63;background:#fff;border-radius:8px;padding:11px 13px;font-size:12px;font-weight:750;margin:15px 0 4px}.secondary:hover{background:#edf7f4}.import-label{font-size:11px!important;margin-top:12px!important}.detail-panel input[type=file]{font-size:11px;max-width:100%;padding:6px}.map-footer{font-size:10px}.study-card:focus{outline-offset:2px}@media(max-width:1160px){.studies{grid-template-columns:1fr}.study-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.studies{display:block;padding-top:18px}.study-cards{display:flex;overflow-x:auto;padding:4px 0 8px;scroll-snap-type:x mandatory}.study-card{min-width:240px;scroll-snap-align:start}.studies h2{margin:4px 0 6px}.studies p{margin:5px 0}}
