.mz-pwa-banner {
  position: fixed;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 10020;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: min(390px, calc(100vw - 24px));
  padding: 9px 10px;
  border: 1px solid #8eb9d7;
  border-radius: 5px;
  background: #f5fbff;
  box-shadow: 0 8px 24px rgba(15, 48, 70, .16);
  color: #15384f;
  font: 600 12px/1.35 "Segoe UI", Tahoma, Arial, sans-serif;
}

.mz-pwa-banner > span { flex: 1 1 auto; min-width: 0; }
.mz-pwa-banner__action,
.mz-pwa-banner__dismiss {
  flex: 0 0 auto;
  min-height: 34px;
  border-radius: 4px;
  font: 600 11px/1 "Segoe UI", Tahoma, Arial, sans-serif;
  cursor: pointer;
}
.mz-pwa-banner__action { padding: 0 11px; border: 1px solid #0878c9; background: #0878c9; color: #fff; }
.mz-pwa-banner__dismiss { width: 34px; padding: 0; border: 1px solid transparent; background: transparent; color: #46677d; font-size: 20px; }
.mz-pwa-banner button:focus-visible { outline: 2px solid #064f87; outline-offset: 2px; }

/* Blocking editors own the mobile viewport; never cover their footer. */
body.job-editor-open .mz-pwa-banner,
body:has([data-job-editor]:not([hidden])) .mz-pwa-banner { display: none !important; }

@media (max-width: 600px) {
  .mz-pwa-banner { right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); max-width: calc(100vw - 16px); }
}
