.top .brand {
  color: var(--green);
  white-space: nowrap;
}

.top .brand-mark {
  color: #4e7659;
  border-color: #a4b69e;
  flex: 0 0 auto;
}

.top .brand small {
  color: #426555;
  margin-left: 4px;
}

.mode-symbol svg, .nav-icon {
  display: block;
  flex: none;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  line-height: 1.25;
  padding: 4px;
  white-space: nowrap;
}

.nav-icon {
  width: 20px;
  height: 20px;
}

@media (max-width: 690px) {
  header {
    padding: max(env(safe-area-inset-top), 10px) 14px 0;
  }

  .top {
    height: auto;
    min-height: 46px;
    gap: 8px 10px;
    flex-wrap: wrap;
  }

  .top .brand {
    gap: 5px;
    font-size: 20px;
  }

  .top .brand-mark {
    width: 33px;
    height: 33px;
    gap: 3px;
  }

  .top .brand-mark i {
    width: 15px;
    height: 4px;
  }

  .top .top-actions {
    min-width: 0;
    margin-left: auto;
    gap: 5px;
  }

  .top .top-actions .account-open {
    min-height: 40px;
    padding: 4px 8px;
    white-space: nowrap;
    color: var(--green);
    font-size: 11px;
    line-height: 1.25;
  }

  .hero h1 {
    font-size: clamp(22px, 6vw, 27px);
    line-height: 1.34;
    letter-spacing: -.045em;
    word-break: keep-all;
  }

  .hero p {
    line-height: 1.55;
    word-break: keep-all;
  }

  .search-modes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .search-mode {
    justify-content: center;
    min-height: 100px;
    padding: 10px 2px;
    gap: 6px;
  }

  .mode-title {
    align-self: center;
    max-width: none;
    font-size: 13px;
    line-height: 1.32;
    letter-spacing: -.025em;
  }

  .mode-title span {
    display: block;
    white-space: nowrap;
  }

  .search input {
    font-size: 16px;
  }

  .region-map-pin {
    width: var(--region-pin-size,56px);
    min-width: 0;
    height: var(--region-pin-size,56px);
    align-content: center;
    gap: 2px;
    padding: 5px;
    text-align: center;
    border-radius: 50%;
    white-space: normal;
  }

  .region-map-pin strong {
    font-size: 11px;
    line-height: 1.13;
    overflow-wrap: anywhere;
    word-break: keep-all;
  }

  .region-map-pin span {
    font-size: 10px;
    line-height: 1.15;
  }

  .mapnote {
    bottom: 19px;
    left: 8px;
    max-width: calc(100% - 16px);
    padding: 5px 8px;
    font-size: 11px;
    white-space: normal;
  }

  nav button {
    min-height: 54px;
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  nav button { font-size: 11px; }
}
