.emap-lookup {
  margin-top: 10px;
}

.emap-trigger,
.emap-search-button,
.emap-close,
.emap-result {
  font: inherit;
}

.emap-trigger {
  width: 100%;
  min-height: 44px;
  border: 1px solid #b9c8bc;
  border-radius: 14px;
  background: #f2f8f2;
  color: #155f38;
  font-weight: 800;
  cursor: pointer;
}

.emap-panel {
  margin-top: 10px;
  padding: 14px;
  border: 1px solid #cbd8ce;
  border-radius: 16px;
  background: #fbfdf9;
  box-shadow: 0 14px 36px rgba(20, 56, 34, 0.1);
}

.emap-panel[hidden] {
  display: none;
}

.emap-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.emap-title {
  margin: 0;
  color: #173f2b;
  font-size: 15px;
  font-weight: 900;
}

.emap-help {
  margin: 4px 0 0;
  color: #65726a;
  font-size: 12px;
  line-height: 1.45;
}

.emap-close {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #e7eee8;
  color: #2a4735;
  font-size: 20px;
  cursor: pointer;
}

.emap-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.emap-search-input {
  min-width: 0;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid #aebdb1;
  border-radius: 12px;
  background: #fff;
  color: #17261c;
  font: inherit;
  outline: none;
}

.emap-search-input:focus {
  border-color: #238552;
  box-shadow: 0 0 0 3px rgba(35, 133, 82, 0.12);
}

.emap-search-button {
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: #187a45;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.emap-search-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.emap-status {
  min-height: 20px;
  margin: 10px 2px 4px;
  color: #68746c;
  font-size: 12px;
}

.emap-status.is-error {
  color: #b42318;
}

.emap-results {
  display: grid;
  gap: 8px;
  max-height: 290px;
  overflow: auto;
}

.emap-result {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  padding: 11px;
  border: 1px solid #d5ded7;
  border-radius: 13px;
  background: #fff;
  color: #17261c;
  text-align: left;
  cursor: pointer;
}

.emap-result:hover,
.emap-result:focus-visible {
  border-color: #238552;
  background: #f1f8f2;
}

.emap-code {
  align-self: start;
  padding: 4px 7px;
  border-radius: 8px;
  background: #e5f3e8;
  color: #17673c;
  font-size: 11px;
  font-weight: 900;
}

.emap-name {
  display: block;
  margin-bottom: 3px;
  font-weight: 900;
}

.emap-address {
  display: block;
  color: #59675e;
  font-size: 12px;
  line-height: 1.45;
}

.emap-selection {
  margin-top: 9px;
  padding: 9px 11px;
  border-radius: 12px;
  background: #eaf6ec;
  color: #165e37;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 430px) {
  .emap-search-row {
    grid-template-columns: 1fr;
  }

  .emap-search-button {
    width: 100%;
  }
}
