/*
 * BeaMiiLocal – verified current location / "DU ER HER"
 * Dedicated front-page asset.
 *
 * Intentionally scoped by the component id instead of .app--home so the
 * presence UI remains styled if the app shell is reparented/recomposed by
 * responsive/desktop-shell code. Loaded after frontpage-card-consistency.css.
 */

#BeaMiiLocalCurrentLocationSection[hidden] {
  display: none !important;
}

#BeaMiiLocalCurrentLocationSection {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 10px 0 18px !important;
  padding: 0 !important;
  overflow: visible !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__sectionshell--current-location,
#BeaMiiLocalCurrentLocationWrap {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

#BeaMiiLocalCurrentLocationWrap > .beamii-home__quick-slider--current-location,
#BeaMiiLocalCurrentLocationSection .beamii-home__quick-slider--current-location {
  box-sizing: border-box !important;
  display: flex !important;
  flex-flow: row nowrap !important;
  grid-template-columns: none !important;
  grid-auto-flow: unset !important;
  grid-auto-columns: unset !important;
  align-items: stretch !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 14px 4px !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  scroll-snap-type: x proximity !important;
  scroll-padding-inline: 14px !important;
  scrollbar-width: none !important;
  contain: none !important;
  -webkit-overflow-scrolling: touch !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__quick-slider--current-location::-webkit-scrollbar {
  display: none !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-card {
  --beamii-presence-green: #16865d;
  --beamii-presence-green-dark: #116e4d;
  --beamii-presence-green-soft: #eaf8f1;
  --beamii-presence-ink: #153451;

  box-sizing: border-box !important;
  position: relative !important;
  isolation: isolate !important;
  flex: 0 0 calc(100vw - 28px) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 94px !important;
  grid-template-rows: minmax(116px, auto) !important;
  align-items: stretch !important;
  width: calc(100vw - 28px) !important;
  max-width: 420px !important;
  min-width: 0 !important;
  min-height: 116px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(26, 73, 108, .10) !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, #fff 0%, #fff 64%, #f1faf5 100%) !important;
  box-shadow: 0 10px 26px rgba(18, 52, 80, .10) !important;
  color: var(--beamii-presence-ink) !important;
  text-decoration: none !important;
  scroll-snap-align: start !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-card::before {
  content: "" !important;
  position: absolute !important;
  z-index: 4 !important;
  inset: 0 auto 0 0 !important;
  width: 4px !important;
  background: var(--beamii-presence-green) !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-copy {
  box-sizing: border-box !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  min-height: 116px !important;
  margin: 0 !important;
  padding: 13px 12px 12px 17px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  background: transparent !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-kicker {
  box-sizing: border-box !important;
  display: flex !important;
  flex-flow: row wrap !important;
  align-items: center !important;
  gap: 6px !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-state,
#BeaMiiLocalCurrentLocationSection .beamii-home__presence-type {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: max-content !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-state {
  gap: 5px !important;
  min-height: 25px !important;
  padding: 0 9px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--beamii-presence-green-soft) !important;
  color: var(--beamii-presence-green-dark) !important;
  font-size: .69rem !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: .025em !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-state i {
  display: inline-block !important;
  color: inherit !important;
  font-size: .72rem !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-type {
  min-height: 25px !important;
  padding: 0 7px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #f1f5f8 !important;
  color: #64798d !important;
  font-size: .64rem !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  letter-spacing: .055em !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-title {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: var(--beamii-presence-ink) !important;
  font-size: 1.04rem !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  letter-spacing: -.015em !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-subtitle {
  box-sizing: border-box !important;
  display: -webkit-box !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 4px 0 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: #6d7d8f !important;
  font-size: .76rem !important;
  line-height: 1.28 !important;
  font-weight: 500 !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 1 !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-action {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: auto !important;
  margin: 9px 0 0 !important;
  padding: 0 !important;
  color: #235575 !important;
  font-size: .74rem !important;
  line-height: 1 !important;
  font-weight: 850 !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-action i {
  color: var(--beamii-presence-green) !important;
  font-size: .72rem !important;
  transition: transform .18s ease !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-card:active .beamii-home__presence-action i,
#BeaMiiLocalCurrentLocationSection .beamii-home__presence-card:hover .beamii-home__presence-action i {
  transform: translateX(2px) !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-media,
#BeaMiiLocalCurrentLocationSection .beamii-home__presence-media.beamii-places-quick__thumb {
  box-sizing: border-box !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: stretch !important;
  display: block !important;
  width: 94px !important;
  min-width: 94px !important;
  max-width: 94px !important;
  min-height: 116px !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: #edf4f7 !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  position: relative !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-media::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: linear-gradient(90deg, rgba(255,255,255,.10), rgba(15,45,66,.05)) !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-media.has-logo-only,
#BeaMiiLocalCurrentLocationSection .beamii-home__presence-media.has-fallback {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #eef5f8 !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-media .beamii-places-quick__thumb-fallback-label {
  display: none !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-media .beamii-places-quick__thumb-fallback-mark {
  width: 44px !important;
  height: 44px !important;
  border-radius: 14px !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-media .beamii-places-quick__logo-badge {
  z-index: 2 !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-media .beamii-places-quick__logo-badge img,
#BeaMiiLocalCurrentLocationSection .beamii-home__presence-media img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__nearby-dots {
  margin-top: 7px !important;
}

@media (max-width: 380px) {
  #BeaMiiLocalCurrentLocationSection .beamii-home__presence-card {
    grid-template-columns: minmax(0, 1fr) 82px !important;
  }

  #BeaMiiLocalCurrentLocationSection .beamii-home__presence-media,
  #BeaMiiLocalCurrentLocationSection .beamii-home__presence-media.beamii-places-quick__thumb {
    width: 82px !important;
    min-width: 82px !important;
    max-width: 82px !important;
  }
}

@media (min-width: 600px) {
  #BeaMiiLocalCurrentLocationSection .beamii-home__presence-card {
    flex-basis: 390px !important;
    width: 390px !important;
  }
}
