/* ARCHINFOR v1.45: small, search-anchored map-type switch. */
.arch-basemap-toggle {
  position: fixed;
  display: flex;
  box-sizing: border-box;
  align-items: stretch;
  gap: 4px;
  padding: 4px;
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid #d9e3ef;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 5px 20px rgba(13, 38, 76, .16);
  z-index: 1200;
  max-width: calc(100vw - 16px);
  font-family: inherit;
}
.arch-basemap-toggle[hidden] { display: none !important; }
.arch-basemap-btn {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #536b88;
  cursor: pointer;
  display: flex;
  flex: 1 1 50%;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 32px;
  padding: 5px 7px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.arch-basemap-btn svg { width: 15px; height: 15px; flex: none; }
.arch-basemap-btn:hover:not(.is-active) { background: #ecf3fc; color: #1e568e; }
.arch-basemap-btn.is-active { background: #2269b0; color: #fff; }
.arch-basemap-btn:focus-visible { outline: 2px solid #3c86da; outline-offset: 2px; }
@media (max-width: 600px) {
  .arch-basemap-btn { font-size: 11px; gap: 3px; padding: 5px 4px; }
  .arch-basemap-btn svg { width: 13px; height: 13px; }
}
