.ct-system-pwa-banner {
  min-height: 84px;
  padding: 14px 15px;
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  box-shadow: 0 10px 26px rgba(37, 99, 235, .08);
}

.ct-system-pwa-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 7px 16px rgba(37, 99, 235, .18);
}

.ct-system-pwa-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.ct-system-pwa-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ct-system-pwa-copy > span {
  color: #2563eb;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.ct-system-pwa-copy strong {
  color: #0f172a;
  font-size: .82rem;
}

.ct-system-pwa-copy small {
  color: #64748b;
  font-size: .68rem;
  line-height: 1.35;
}

.ct-system-pwa-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ct-system-pwa-install,
.ct-system-pwa-dismiss {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.ct-system-pwa-install {
  min-height: 39px;
  padding: 0 13px;
  border-radius: 11px;
  background: #2563eb;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: .7rem;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 7px 16px rgba(37, 99, 235, .2);
}

.ct-system-pwa-install:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.ct-system-pwa-install .material-icons-round {
  font-size: 18px;
}

.ct-system-pwa-dismiss {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .84);
  color: #64748b;
  display: grid;
  place-items: center;
}

.ct-system-pwa-dismiss:hover {
  background: #fff;
  color: #0f172a;
}

.ct-system-pwa-dismiss .material-icons-round {
  font-size: 18px;
}

.ct-system-pwa-onboarding {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #172033;
  text-align: center;
}

.ct-system-pwa-onboarding > img {
  width: 84px;
  height: 84px;
  margin-bottom: 14px;
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(37, 99, 235, .2);
}

.ct-system-pwa-onboarding > span {
  color: #2563eb;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.ct-system-pwa-onboarding h2 {
  margin: 7px 0 6px;
  color: #0f172a;
  font-size: 1.55rem;
}

.ct-system-pwa-onboarding p {
  max-width: 500px;
  margin: 0 0 18px;
  color: #64748b;
  font-size: .82rem;
  line-height: 1.55;
}

#ctPwaOnboardingInstall,
#ctPwaOnboardingLater {
  border: 0;
  font: inherit;
  cursor: pointer;
}

#ctPwaOnboardingInstall {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  background: #2563eb;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 850;
}

#ctPwaOnboardingLater {
  margin-top: 8px;
  padding: 8px 11px;
  background: transparent;
  color: #64748b;
  font-size: .7rem;
  font-weight: 750;
}

@media (max-width: 760px) {
  .ct-system-pwa-banner {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .ct-system-pwa-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .ct-system-pwa-actions {
    grid-column: 1 / -1;
    width: 100%;
  }

  .ct-system-pwa-install {
    flex: 1;
  }
}

@media (display-mode: standalone) {
  .ct-system-pwa-banner,
  [data-ct-pwa-system-install] {
    display: none !important;
  }
}
