/* PKBI ONE HARMONY — ecosystem-wide PWA installation UI */
.pkbi-oh-pwa-install {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 999990;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 17px;
  border: 1px solid rgba(230, 196, 126, .95);
  border-radius: 999px;
  background: linear-gradient(135deg, #102d57 0%, #174d82 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(5, 27, 57, .25);
  font: 800 13px/1.2 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: .1px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.pkbi-oh-pwa-install:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(5, 27, 57, .32);
  color: #fff;
}
.pkbi-oh-pwa-install:focus-visible {
  outline: 3px solid #e9c77f;
  outline-offset: 3px;
}
.pkbi-oh-pwa-install-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #e8c57f;
  color: #102d57;
  font-size: 19px;
  font-weight: 900;
}
.pkbi-oh-pwa-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 18, 38, .66);
  backdrop-filter: blur(5px);
}
.pkbi-oh-pwa-dialog {
  position: relative;
  width: min(100%, 470px);
  max-height: min(85vh, 720px);
  overflow: auto;
  padding: 30px;
  border: 1px solid rgba(218, 190, 133, .65);
  border-radius: 20px;
  background: #fff;
  color: #152b49;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
.pkbi-oh-pwa-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #eef3f8;
  color: #17365d;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.pkbi-oh-pwa-eyebrow {
  margin: 0 42px 9px 0;
  color: #9a742f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.4px;
}
.pkbi-oh-pwa-dialog h2 {
  margin: 0 35px 10px 0;
  color: #102d57;
  font-size: 23px;
  line-height: 1.25;
}
.pkbi-oh-pwa-dialog p {
  color: #53657c;
  font-size: 13px;
  line-height: 1.65;
}
.pkbi-oh-pwa-dialog ol {
  margin: 16px 0;
  padding-left: 22px;
}
.pkbi-oh-pwa-dialog li {
  margin: 0 0 10px;
  padding-left: 4px;
  color: #243b57;
  font-size: 13px;
  line-height: 1.55;
}
.pkbi-oh-pwa-dialog .pkbi-oh-pwa-note {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-left: 3px solid #d7b56e;
  border-radius: 8px;
  background: #f6f8fb;
  color: #53657c;
  font-size: 12px;
}
@media (max-width: 600px) {
  .pkbi-oh-pwa-install {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    min-height: 43px;
    padding: 9px 13px;
    font-size: 12px;
  }
  .pkbi-oh-pwa-dialog { padding: 25px 20px; border-radius: 16px; }
  .pkbi-oh-pwa-dialog h2 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .pkbi-oh-pwa-install { transition: none; }
  .pkbi-oh-pwa-install:hover { transform: none; }
}