.pwa-status-message,
.pwa-install-button {
  font-family: Roboto, Arial, sans-serif;
  position: fixed;
  z-index: 99999;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .2);
}

.pwa-status-message {
  left: 16px;
  right: 16px;
  bottom: 18px;
  max-width: 460px;
  margin: 0 auto;
  padding: 12px 16px;
  border-radius: 8px;
  background: #263238;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
}

.pwa-status-message.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pwa-status-message.success {
  background: #0f7c80;
}

.pwa-status-message.warning {
  background: #b7791f;
}

.pwa-install-button {
  right: 18px;
  bottom: 18px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: #0f7c80;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.pwa-install-button:hover,
.pwa-install-button:focus {
  background: #0b6669;
  outline: none;
}

#pwa-update-notice {
  position: fixed; z-index: 99998; top: calc(var(--chef-header-height, 64px) + 8px);
  right: 12px; max-width: min(420px, calc(100vw - 24px)); padding: 12px;
  display: flex; align-items: center; gap: 12px; background: #fff6dc;
  color: #533b09; border: 1px solid #e7c66b; border-radius: 8px;
  box-shadow: 0 4px 16px #0002; font: 14px/1.4 Arial,sans-serif;
}
#pwa-update-notice button { min-height: 44px; padding: 8px 12px; border: 0; border-radius: 6px; background: #0f7c80; color: #fff; font-weight: bold; }
#pwa-install-help { position: fixed; inset: 0; z-index: 100001; display: grid; place-items: center; padding: 16px; background: #17203399; overflow-y: auto; font: 16px/1.5 Arial,sans-serif; }
#pwa-install-help>div { box-sizing: border-box; max-width: 480px; width: 100%; padding: 24px; border-radius: 12px; background: white; color: #263238; }
#pwa-install-help h2 { margin: 0; font-size: 24px; }
#pwa-install-help button { min-height: 44px; padding: 10px 20px; border: 0; border-radius: 8px; background: #0f7c80; color: white; }

@media (max-width: 767px) {
  .pwa-install-button {
    right: 12px;
    bottom: 12px;
  }

  .pwa-status-message {
    bottom: 70px;
  }
}
