/* Botão "Instalar app" — padrão dos sistemas da Atlas (skill padronizacao).
   Troque #0f7a68 pela cor do sistema. Em arquivo próprio para funcionar com CSP sem 'unsafe-inline'. */
:root { --instalar-cor: #0f7a68; }
.instalar-app {
  position: fixed; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 10px); transform: translateX(-50%);
  z-index: 2147483000; display: flex; align-items: center; gap: 6px; max-width: calc(100vw - 24px);
  padding: 5px 5px 5px 8px; border-radius: 999px; background: var(--instalar-cor); color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28); font-family: inherit; animation: instalar-entra .35s ease-out;
}
@keyframes instalar-entra { from { opacity: 0; transform: translate(-50%, -12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { .instalar-app { animation: none; } }
.instalar-app__btn {
  display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: #fff;
  font: 600 15px/1 inherit; font-family: inherit; padding: 10px 8px; cursor: pointer; white-space: nowrap;
}
.instalar-app__btn svg { width: 18px; height: 18px; flex: none; }
.instalar-app__x {
  border: 0; background: rgba(255, 255, 255, .2); color: #fff; width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; font-size: 20px; line-height: 1; flex: none;
}
.instalar-app button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.instalar-ios {
  position: fixed; inset: 0; z-index: 2147483001; background: rgba(0, 0, 0, .5);
  display: flex; align-items: flex-end; justify-content: center;
}
.instalar-ios__card {
  width: 100%; max-width: 440px; background: #fff; color: #111827; border-radius: 20px 20px 0 0;
  padding: 22px 22px calc(22px + env(safe-area-inset-bottom, 0px)); font-family: inherit;
}
.instalar-ios__card h2 { margin: 0 0 12px; font-size: 19px; }
.instalar-ios__card ol { margin: 0 0 18px; padding-left: 20px; line-height: 1.65; font-size: 15px; }
.instalar-ios__ok {
  width: 100%; border: 0; border-radius: 12px; padding: 14px; background: var(--instalar-cor); color: #fff;
  font: 600 15px/1 inherit; font-family: inherit; cursor: pointer;
}
