.dashboard-pwa-promo {
  position: fixed;
  z-index: 40;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 260px;
  padding: 0.6rem 0.85rem;
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  color: #182821;
  font-size: 0.8rem;
  line-height: 1.35;
}

.dashboard-pwa-promo__close {
  position: absolute;
  top: 0.25rem;
  right: 0.35rem;
  border: 0;
  background: transparent;
  color: #182821;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0.1rem 0.25rem;
  cursor: pointer;
  opacity: 0.6;
}
.dashboard-pwa-promo__close:hover { opacity: 1; }

.dashboard-pwa-promo__copy {
  display: block;
  flex: 1;
  padding-right: 0.75rem;
}
.dashboard-pwa-promo__copy strong { font-weight: 700; }

.dashboard-pwa-promo__actions {
  display: grid;
  gap: 0.4rem;
  flex: 0 0 auto;
}
.dashboard-pwa-promo__install {
  min-height: 2.25rem;
  padding: 0.5rem 0.85rem;
  border-radius: 0.6rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  background: #12653a;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .dashboard-pwa-promo {
    align-items: stretch;
    flex-direction: column;
    max-width: calc(100vw - 2rem);
    right: 1rem;
    left: 1rem;
  }
  .dashboard-pwa-promo__actions { grid-template-columns: 1fr; }
}
