lusa-webapp-install:not(:empty):not([hidden]) {
  display: block;
  border-bottom: 1px solid #d4e2eb;
  background: #eef6fa;
  color: #15384d;
}

.lusa-webapp-install__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: .5rem .75rem;
  width: min(calc(100% - 2rem), 75rem);
  margin-inline: auto;
  padding-block: .375rem;
  font-size: .875rem;
  line-height: 1.35;
}

.lusa-webapp-install__title {
  font-weight: 650;
}

.lusa-webapp-install__action,
.lusa-webapp-install__close {
  min-height: 2.25rem;
  border: 1px solid transparent;
  border-radius: .375rem;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.lusa-webapp-install__action {
  padding-inline: .625rem;
  border-color: #9cbbc9;
  background: #fff;
  font-weight: 650;
}

.lusa-webapp-install__close {
  width: 2.25rem;
  padding: 0;
  background: transparent;
  font-size: 1.35rem;
}

.lusa-webapp-install__action:hover,
.lusa-webapp-install__close:hover {
  background: #e1eef5;
}

.lusa-webapp-install__action:focus-visible,
.lusa-webapp-install__close:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.lusa-webapp-install__help {
  grid-column: 1 / -1;
  margin: 0 0 .375rem;
}

.lusa-webapp-install__help[hidden] {
  display: none;
}

@media (max-width: 32rem) {
  .lusa-webapp-install__inner {
    gap: .375rem;
  }

  .lusa-webapp-install__action,
  .lusa-webapp-install__close {
    min-height: 2.75rem;
  }

  .lusa-webapp-install__close {
    width: 2.75rem;
  }
}

/* The two app marks identify the existing Services and Boutique links. */
:is(.site-context__inner, .lusa-ux-sites__inner) > a:is([href="/"], [href="/shop/"]) {
  gap: .45rem;
}

:is(.site-context__inner, .lusa-ux-sites__inner) > a:is([href="/"], [href="/shop/"])::before,
lusa-webapp-install[data-site="shop"] .lusa-webapp-install__title::before {
  content: "";
  display: block;
  flex: 0 0 1.2rem;
  width: 1.2rem;
  height: 1.2rem;
  background: center / contain no-repeat var(--lusa-context-mark);
}

:is(.site-context__inner, .lusa-ux-sites__inner) > a[href="/"] {
  --lusa-context-mark: url("/_assets/favicon.svg");
}

:is(.site-context__inner, .lusa-ux-sites__inner) > a[href="/shop/"],
lusa-webapp-install[data-site="shop"] {
  --lusa-context-mark: url("/shop/themes/lusa_hummingbird/assets/img/lusa-boutique-webapp-df7bfe035ffa-180.png");
}

lusa-webapp-install[data-site="shop"] .lusa-webapp-install__title {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

lusa-webapp-install[data-site="shop"] .lusa-webapp-install__title::before {
  flex-basis: 1.75rem;
  width: 1.75rem;
  height: 1.75rem;
}

lusa-webapp-install[data-site="shop"] .lusa-webapp-install__title:has(> .lusa-webapp-install__icon)::before {
  display: none;
}
