:root {
  font-family:
    Inter,
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  color: #173d36;
  --ink: #173d36;
  --green: #146b58;
  --cream: #f7f5ee;
  --orange: #f26a3d;
  --blue: #237bd3;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--cream);
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  background: rgba(247, 245, 238, 0.96);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid rgba(23, 61, 54, 0.12);
  backdrop-filter: blur(12px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brandmark {
  width: 40px;
  height: 40px;
  border-radius: 50% 50% 46% 54%;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 700;
  transform: rotate(-5deg);
}
.brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 600;
}
.brand div span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 5px;
  color: #53716a;
}
.icon-button {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #cbd8d3;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 13px 10px 16px;
  font-weight: 700;
}
.icon-button i {
  font-style: normal;
  font-size: 18px;
}
#map {
  position: fixed;
  inset: 76px 0 0;
}
.ol-viewport {
  background: #dbe8e0;
}
.ol-zoom {
  top: 24px;
  right: 18px;
  left: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
}
.ol-zoom button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 23px;
  box-shadow: 0 4px 16px #173d3620;
}
.ol-attribution {
  bottom: 13px;
  right: 12px;
  background: #ffffffd9 !important;
  border-radius: 8px;
}
.welcome {
  position: fixed;
  z-index: 10;
  top: 100px;
  left: 24px;
  width: 360px;
  padding: 27px 28px 25px;
  border-radius: 3px 28px 28px 28px;
  background: rgba(247, 245, 238, 0.96);
  box-shadow: 0 18px 55px #173d3630;
  backdrop-filter: blur(12px);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.17em;
  font-weight: 800;
  color: var(--orange);
}
.welcome h1,
.panel-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  color: var(--ink);
  margin: 8px 0 10px;
}
.welcome h1 {
  font-size: 39px;
  line-height: 1.02;
}
.welcome p {
  font-size: 14px;
  line-height: 1.55;
  color: #496860;
  margin: 0 0 19px;
}
.searchbox {
  height: 50px;
  background: #fff;
  border: 1px solid #d6dfdc;
  border-radius: 25px;
  display: flex;
  align-items: center;
  padding-left: 16px;
  box-shadow: 0 4px 18px #173d360f;
}
.searchbox > span {
  font-size: 24px;
  transform: rotate(-20deg);
}
.searchbox input {
  border: 0;
  outline: 0;
  background: transparent;
  min-width: 0;
  flex: 1;
  padding: 0 10px;
  color: var(--ink);
}
.searchbox button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 21px;
  margin-right: 5px;
}
.welcome:after {
  content: "";
  position: absolute;
  right: -11px;
  top: 54px;
  width: 22px;
  height: 22px;
  background: inherit;
  transform: rotate(45deg);
}
#result-list {
  margin-top: 10px;
  background: #fff;
  border-radius: 14px;
  max-height: 180px;
  overflow: auto;
  padding: 5px;
}
#result-list button {
  width: 100%;
  border: 0;
  background: #fff;
  text-align: left;
  padding: 10px;
  border-radius: 10px;
  color: var(--ink);
}
#result-list button:hover {
  background: #edf5f1;
}
#panel {
  position: fixed;
  z-index: 30;
  right: 18px;
  top: 88px;
  width: 380px;
  background: var(--cream);
  border-radius: 25px;
  padding: 25px;
  box-shadow: 0 18px 60px #173d3640;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.panel-head h2 {
  font-size: 27px;
}
.panel-head button,
#close {
  width: 36px;
  height: 36px;
  border: 1px solid #d2dcd8;
  background: #fff;
  border-radius: 50%;
  color: var(--ink);
  font-size: 22px;
}
#panel label {
  display: grid;
  grid-template-columns: auto 38px 1fr;
  gap: 10px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #dbe2df;
}
#panel label input {
  appearance: none;
  width: 38px;
  height: 22px;
  border-radius: 20px;
  background: #b9c5c1;
  position: relative;
}
#panel label input:after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transition: 0.2s;
}
#panel label input:checked {
  background: var(--green);
}
#panel label input:checked:after {
  left: 19px;
}
.symbol {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.oasis-symbol {
  background: var(--orange);
  color: white;
}
.water-symbol {
  color: var(--blue);
  font-size: 26px;
}
.green-symbol {
  border-radius: 9px;
  background: #80c49c;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #6caf88;
}
#panel b,
#panel small {
  display: block;
}
#panel b {
  font-size: 14px;
}
#panel small {
  font-size: 11px;
  line-height: 1.35;
  color: #68817b;
  margin-top: 3px;
}
.source-note {
  background: #e6efe9;
  border-radius: 13px;
  padding: 11px 13px;
  font-size: 10px;
  line-height: 1.4;
  color: #5c746e;
  margin-top: 8px;
}
nav {
  position: fixed;
  z-index: 12;
  right: 20px;
  bottom: 24px;
  display: flex;
  gap: 10px;
}
nav button {
  height: 48px;
  border: 0;
  border-radius: 24px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 750;
  box-shadow: 0 7px 22px #173d3630;
}
nav button:first-child {
  background: #fff;
  color: var(--ink);
}
nav button:last-child {
  background: var(--ink);
  color: #fff;
}
nav i {
  font-style: normal;
  font-size: 19px;
}
#sheet {
  position: fixed;
  z-index: 25;
  left: 24px;
  bottom: 24px;
  width: 390px;
  max-height: 58vh;
  overflow: auto;
  background: var(--cream);
  border-radius: 5px 28px 28px 28px;
  padding: 29px;
  box-shadow: 0 18px 60px #173d3640;
}
.sheet-handle {
  display: none;
}
#close {
  position: absolute;
  right: 16px;
  top: 16px;
}
#details {
  padding-right: 25px;
}
#details h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  line-height: 1.1;
  font-weight: 500;
  margin: 0 0 16px;
}
#details p {
  margin: 0;
  padding: 8px 0;
  border-top: 1px solid #dbe2df;
  font-size: 13px;
  line-height: 1.45;
}
#details p b {
  display: block;
  color: #6b817c;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 2px;
}
#details .kind {
  display: inline-block;
  background: #dcece4;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 14px;
  margin-bottom: 12px;
}
#status {
  position: fixed;
  z-index: 18;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 8px 13px;
  border-radius: 18px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
}
#status span {
  width: 7px;
  height: 7px;
  background: #7dd8ae;
  border-radius: 50%;
  animation: pulse 1s infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}
.legend {
  position: fixed;
  z-index: 8;
  bottom: 24px;
  left: 430px;
  background: #fffdf7e8;
  border-radius: 18px;
  padding: 8px 12px;
  display: flex;
  gap: 12px;
  font-size: 10px;
  font-weight: 700;
  color: #526e67;
  box-shadow: 0 4px 15px #173d361c;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
}
.oasis-dot {
  background: var(--orange);
}
.water-dot {
  background: var(--blue);
}
@media (max-width: 700px) {
  header {
    height: 64px;
    padding: 0 13px;
  }
  .brandmark {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
  .brand strong {
    font-size: 18px;
  }
  .brand div span {
    font-size: 9px;
  }
  .icon-button {
    padding: 8px 10px;
  }
  .icon-button span {
    display: none;
  }
  #map {
    inset: 64px 0 0;
  }
  .welcome {
    top: 76px;
    left: 12px;
    right: 12px;
    width: auto;
    padding: 16px 18px;
    border-radius: 3px 20px 20px 20px;
  }
  .welcome h1 {
    font-size: 28px;
    margin: 5px 0;
  }
  .welcome h1 br {
    display: none;
  }
  .welcome p {
    display: none;
  }
  .welcome .eyebrow {
    font-size: 8px;
  }
  .searchbox {
    height: 43px;
    margin-top: 10px;
  }
  .searchbox button {
    width: 34px;
    height: 34px;
  }
  .welcome:after {
    display: none;
  }
  .ol-zoom {
    top: 180px;
    right: 12px;
  }
  .ol-zoom button {
    width: 36px;
    height: 36px;
  }
  .ol-attribution {
    bottom: 72px;
  }
  .legend {
    display: none;
  }
  nav {
    left: 10px;
    right: 10px;
    bottom: max(12px, env(safe-area-inset-bottom));
    gap: 7px;
  }
  nav button {
    flex: 1;
    justify-content: center;
    height: 48px;
    padding: 0 10px;
    font-size: 13px;
  }
  #panel {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    border-radius: 25px 25px 0 0;
    padding: 25px 20px max(25px, env(safe-area-inset-bottom));
  }
  #sheet {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-height: 62vh;
    border-radius: 25px 25px 0 0;
    padding: 25px 22px max(25px, env(safe-area-inset-bottom));
  }
  .sheet-handle {
    display: block;
    width: 38px;
    height: 4px;
    background: #c6d2ce;
    border-radius: 3px;
    margin: -14px auto 17px;
  }
  #details h2 {
    font-size: 25px;
  }
  #status {
    top: 72px;
  }
}
