* {
  box-sizing: border-box;
}


html,
body {
  margin: 0;
  height: 100%;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  color: #173b2b;
  background: #f5f7f5;
}


header {
  height: 70px;

  background: white;
  border-bottom: 1px solid #e2e8e3;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 32px;
}


.brand {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1px;
}


.brand span {
  color: #278153;
}


.header-text {
  font-size: 11px;
  letter-spacing: 1px;
  color: #7d8980;
}


main {
  height: calc(100vh - 70px);

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    330px;
}


#map {
  width: 100%;
  height: 100%;

  background: #e8eee9;
}


.sidebar {
  padding: 28px 24px;

  background: white;
  border-left: 1px solid #e2e8e3;

  overflow-y: auto;
}


.eyebrow {
  font-size: 10px;
  font-weight: bold;

  letter-spacing: 1.4px;

  text-transform: uppercase;

  color: #278153;
}


h1 {
  margin: 12px 0;

  font-size: 28px;
  letter-spacing: -1px;
}


.description {
  margin: 0;

  color: #748078;

  line-height: 1.6;
  font-size: 13px;
}


.search {
  width: 100%;

  margin-top: 22px;
  padding: 13px 14px;

  border: 1px solid #dce5dd;
  border-radius: 9px;

  font-size: 13px;

  color: #173b2b;

  background: white;
}


.search:focus {
  outline: none;

  border-color: #278153;

  box-shadow:
    0 0 0 3px
    rgba(39, 129, 83, 0.10);
}


.selected-card,
.value-card {
  margin-top: 18px;
  padding: 16px;

  border-radius: 11px;
}


.selected-card {
  background: #f1f7f3;

  border:
    1px solid
    #e0ebe3;
}


.value-card {
  background: #fafbf6;

  border:
    1px solid
    #e8eadc;
}


.selected-label {
  font-size: 9px;
  font-weight: bold;

  letter-spacing: 1px;

  color: #849188;
}


.selected-value {
  margin-top: 6px;

  font-size: 18px;

  font-weight: bold;

  color: #176b48;
}


.detail-level {
  margin-top: 7px;

  font-size: 10px;

  color: #728078;
}


.value-band {
  margin-top: 7px;

  font-size: 15px;
  font-weight: bold;

  color: #334b3d;
}


.gradient {
  height: 11px;

  margin-top: 14px;

  border-radius: 20px;

  background:
    linear-gradient(
      90deg,
      #f3e79b,
      #dceba8,
      #a8d795,
      #69b780,
      #278153,
      #0b5135
    );
}


.gradient-labels {
  display: flex;

  justify-content:
    space-between;

  margin-top: 6px;

  color: #849188;

  font-size: 9px;
}


.prototype-warning {
  margin-top: 12px;

  padding: 10px;

  border-radius: 7px;

  background: #fff8e8;

  color: #846f3c;

  font-size: 9px;
  line-height: 1.5;
}


.section-title {
  margin-top: 26px;
  margin-bottom: 10px;

  font-size: 10px;
  font-weight: bold;

  letter-spacing: 1.2px;

  color: #849188;
}


.state-list {
  display: flex;

  flex-direction: column;

  gap: 3px;
}


.state-button {
  width: 100%;

  display: flex;

  justify-content:
    space-between;

  align-items: center;

  padding: 11px 10px;

  border: 0;
  border-radius: 8px;

  background: transparent;

  color: #334b3d;

  font-size: 12px;

  text-align: left;

  cursor: pointer;
}


.state-button:hover {
  background: #edf5ef;

  color: #176b48;
}


.state-button span {
  color: #89968e;
}


.reset-button {
  width: 100%;

  margin-top: 20px;

  padding: 11px;

  border:
    1px solid
    #dce5dd;

  border-radius: 8px;

  background: white;

  color: #536159;

  font-size: 11px;

  cursor: pointer;
}


.reset-button:hover {
  background: #f3f7f4;
}


.map-status {
  margin-top: 18px;

  padding: 12px;

  background: #f7faf8;

  border:
    1px solid
    #e3ebe5;

  border-radius: 9px;

  color: #748078;

  font-size: 10px;

  line-height: 1.5;
}


.map-status strong {
  display: block;

  margin-bottom: 4px;

  color: #476052;
}


@media (max-width: 800px) {

  header {
    padding:
      0 18px;
  }


  .header-text {
    display: none;
  }


  main {
    grid-template-columns:
      1fr;

    height: auto;
  }


  #map {
    height: 65vh;

    min-height:
      400px;
  }


  .sidebar {
    border-left: none;

    border-top:
      1px solid
      #e2e8e3;
  }

}