/* "Install Rhodium" offer (web/js/pwa.js): Fidurhône navy with rhodium silver, bottom-right, above the status
   bar and over everything else, the login screen included (#modal-root is z-index 300). */
.pwa-install {
  position: fixed; right: 14px; bottom: 32px; z-index: 400;
  display: flex; align-items: stretch;
  background: #00101D; color: #DCE3EA;
  border: 1px solid rgba(169, 181, 193, .42); border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(242, 245, 248, .07);
  font: 600 12.5px/1 var(--font, "Segoe UI", system-ui, sans-serif); letter-spacing: .3px;
  animation: pwa-install-in .22s ease-out;
}
.pwa-install:hover { border-color: rgba(209, 217, 225, .75); }
.pwa-install button { margin: 0; background: none; border: 0; color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer; }
.pwa-install .pwa-install-go { display: flex; align-items: center; gap: 9px; padding: 9px 12px 9px 10px; border-radius: 5px 0 0 5px; }
.pwa-install .pwa-install-go img { display: block; width: 18px; height: 18px; }
.pwa-install .pwa-install-go:hover { color: #FFFFFF; }
.pwa-install .pwa-install-close { padding: 0 11px; border-left: 1px solid rgba(169, 181, 193, .22); border-radius: 0 5px 5px 0;
  color: #7F8C99; font-size: 17px; font-weight: 400; }
.pwa-install .pwa-install-close:hover { color: #F2F5F8; }
.pwa-install button:focus-visible { outline: 2px solid #A9B5C1; outline-offset: -3px; }
/* toasts move up while the offer is on screen, so neither covers the other */
body:has(> .pwa-install) #toasts { bottom: 80px; }
/* and the bottom-right scroll boxes get room below their last row, so the offer never covers its buttons */
body:has(> .pwa-install) #blotter-body,
body:has(> .pwa-install) #boards-body,
body:has(> .pwa-install) #account-page { padding-bottom: 48px; }
@keyframes pwa-install-in { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pwa-install { animation: none; } }
@media (display-mode: standalone) { .pwa-install { display: none; } }
