.abm-app-install {
  position: fixed;
  z-index: 10020;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid #e0b857;
  border-radius: 4px;
  color: #111;
  background: #e0b857;
  box-shadow: 0 12px 32px rgba(0,0,0,.24);
  font: 700 13px/1.2 Roboto, system-ui, sans-serif;
  cursor: pointer;
}
.abm-app-install[hidden] { display: none !important; }
.abm-app-install:hover, .abm-app-install:focus-visible { background: #efd078; outline: 3px solid rgba(224,184,87,.28); }
.abm-app-install-inline {
  position: static;
  right: auto;
  bottom: auto;
  min-height: 38px;
  padding: 9px 13px;
  box-shadow: none;
  font-size: 12px;
}
.abm-login-panel .abm-app-install-inline { width: 100%; min-height: 44px; margin-top: 18px; }
.application-nav .abm-app-install-inline { flex: 0 0 auto; }
.abm-install-dialog {
  width: min(520px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 34px;
  overflow: auto;
  border: 0;
  border-top: 4px solid #c79632;
  border-radius: 5px;
  color: #25231e;
  background: #f8f7f3;
  box-shadow: 0 28px 80px rgba(0,0,0,.42);
  font: 16px/1.55 Roboto, system-ui, sans-serif;
}
.abm-install-dialog::backdrop { background: rgba(0,0,0,.72); }
.abm-install-dialog h2 { margin: 5px 38px 18px 0; color: #151515; font-size: 34px; line-height: 1.1; letter-spacing: 0; }
.abm-install-dialog p { margin: 0 0 18px; }
.abm-install-eyebrow { color: #8a6419; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.abm-install-security { padding-top: 18px; border-top: 1px solid #d8d3c8; color: #686761; font-size: 13px; }
.abm-install-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #a8a49a;
  border-radius: 50%;
  color: #222;
  background: transparent;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.abm-install-confirm {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #111;
  border-radius: 4px;
  color: #fff;
  background: #222;
  font: 700 13px/1.2 Roboto, system-ui, sans-serif;
  cursor: pointer;
}

@media (max-width: 520px) {
  .abm-app-install:not(.abm-app-install-inline) { right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); }
  .abm-install-dialog { padding: 28px 20px; }
  .abm-install-dialog h2 { font-size: 29px; }
}

@media (max-width: 1180px) {
  .application-nav .abm-app-install-inline { width: 100%; }
}
