.sharetel-install-button {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  gap: 0.35rem;
  min-height: 2.75rem;
  padding: 0.35rem 0;
}

.sharetel-install-button::after {
  content: "＋";
  font-size: 1rem;
}

.sharetel-install-button--home {
  border-bottom: 1px solid #153f3b;
  color: #153f3b;
  font-size: 0.625rem;
  min-height: 2.75rem;
  padding: 0 0.25rem;
  white-space: nowrap;
}

.sharetel-install-button--home::after {
  content: "↓";
}

.sharetel-install-button--footer {
  color: #f5f3ed;
  margin-left: 0.75rem;
  white-space: nowrap;
}

.sharetel-install-button--account {
  border-bottom: 0;
  border-top: 1px solid #d7d3ca;
  justify-content: space-between;
  min-height: 3rem;
  padding-inline: 1rem;
  text-align: left;
  width: 100%;
}

.topbar-install-button {
  align-items: center;
  background: transparent;
  border: 1px solid #bfc8c3;
  border-radius: 999px;
  color: #173d3b;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 800;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0 0.8rem;
  white-space: nowrap;
}

.topbar-install-button[hidden] {
  display: none;
}

@media (min-width: 681px) {
  html[data-runtime-mode="live"] body:not([data-role="master"]) .topbar-install-button {
    border-color: rgb(255 255 255 / 35%);
    color: #fff;
  }
}

@media (max-width: 680px) {
  .topbar-install-button {
    min-height: 2.5rem;
    padding-inline: 0.65rem;
    font-size: 0.7rem;
  }
}

.sharetel-install-dialog {
  background: #f5f3ed;
  border: 1px solid #153f3b;
  border-radius: 0;
  color: #17211f;
  max-width: min(26rem, calc(100vw - 2rem));
  padding: 0;
  width: 100%;
}

.sharetel-install-dialog[open] {
  animation: sharetel-install-enter 160ms ease-out;
}

.sharetel-install-dialog::backdrop {
  background: rgb(10 24 22 / 55%);
}

.sharetel-install-dialog__inner {
  display: grid;
  gap: 0.875rem;
  padding: 1.5rem 1.5rem 1.25rem;
}

.sharetel-install-dialog__brand {
  color: #177f73;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.sharetel-install-dialog h2,
.sharetel-install-dialog p {
  margin: 0;
}

.sharetel-install-dialog h2 {
  font-size: 1.5rem;
  letter-spacing: -0.035em;
}

.sharetel-install-dialog p {
  color: #59645f;
  line-height: 1.7;
}

.sharetel-install-dialog ol {
  counter-reset: install-step;
  display: grid;
  gap: 0.625rem;
  list-style: none;
  margin: 0.25rem 0 0.5rem;
  padding: 0;
}

.sharetel-install-dialog li {
  align-items: center;
  counter-increment: install-step;
  display: grid;
  font-size: 0.9375rem;
  gap: 0.75rem;
  grid-template-columns: 1.75rem 1fr;
  line-height: 1.55;
}

.sharetel-install-dialog li::before {
  align-items: center;
  background: #dff46b;
  border-radius: 50%;
  color: #153f3b;
  content: counter(install-step);
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 800;
  height: 1.75rem;
  justify-content: center;
  width: 1.75rem;
}

.sharetel-install-dialog button {
  background: #153f3b;
  border: 0;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  min-height: 3rem;
}

@keyframes sharetel-install-enter {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }
}

@media (max-width: 720px) {
  .sharetel-install-button--home {
    justify-content: flex-start;
    width: auto;
  }

  .sharetel-install-button--footer {
    margin-left: 0;
  }

  .sharetel-install-dialog {
    margin-bottom: max(1rem, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .sharetel-install-dialog[open] {
    animation: none;
  }
}
