/* install.css — PK-INST1 : bandeau des navigateurs intégrés + proposition d'installation (pk-install.js).
   Tokens partagés par style.css et landing.html (--bg2, --text1, --text2, --v…), aucune couleur propre. */
.pk-inapp {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 400;
  max-width: 560px;
  margin: 0 auto;
  padding: 12px 12px 12px 16px;
  background: var(--bg2);
  color: var(--text1);
  border: 1px solid var(--border1, var(--border));
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  font-size: 14px; line-height: 1.4;
}
body:has(.bottom-nav) .pk-inapp { bottom: calc(76px + 12px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 769px) { body:has(.bottom-nav) .pk-inapp { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); } }
body.train-in-session .pk-inapp { display: none; }
.pk-inapp-text { margin: 0; flex: 1 1 200px; }
.pk-inapp-actions { display: flex; align-items: center; gap: 8px; }
.pk-inapp-open {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px;
  background: var(--v); color: var(--on-v, var(--bg0));
  border: 0; border-radius: 10px;
  font: inherit; font-weight: 700; cursor: pointer;
}
.pk-inapp-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; color: var(--text2);
  border: 0; border-radius: 10px; cursor: pointer;
}
.pk-inapp-help { margin: 0; flex-basis: 100%; color: var(--text2); }
.pk-inapp-help strong { color: var(--text1); }

.pk-install { margin-top: 16px; padding: 16px; text-align: left; }
.pk-install-head { display: flex; gap: 12px; align-items: flex-start; }
.pk-install-icon {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--vg); color: var(--v2, var(--v));
}
.pk-install-title { margin: 0 0 4px; font-size: 16px; }
.pk-install-sub { margin: 0; color: var(--text2); font-size: 14px; }
.pk-install-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.pk-install-steps li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.pk-install-step-icon {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid var(--border1, var(--border)); color: var(--v2, var(--v));
}
.pk-install-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pk-install-actions .train-btn-ghost { min-height: 44px; }
