.erp-install[hidden], .erp-install [hidden] { display: none; }

.erp-install summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 5px 10px;
  border: 1px solid #b5cddd;
  border-radius: 8px;
  background: #f5fafc;
  color: #124f72;
  cursor: pointer;
  font: 600 14px/1.4 Inter, system-ui, sans-serif;
  list-style: none;
  white-space: nowrap;
}

.erp-install summary::-webkit-details-marker { display: none; }
.erp-install summary:hover { background: #e9f4f9; }
.erp-install summary:focus-visible { outline: 2px solid #3088b2; outline-offset: 2px; }
.erp-install summary img { border-radius: 5px; }

.login-card > .erp-install {
  padding: 12px var(--sign-in-pad) 18px;
  border-top: 1px solid #e1eaef;
}

.erp-install-guide {
  margin-top: 10px;
  padding: 11px 13px;
  border: 1px solid #d6e3ea;
  border-radius: 8px;
  background: #f4f9fb;
  color: #263f50;
  font-size: 14px;
  line-height: 1.55;
}

.erp-install-guide p { margin: 0; }
.erp-install-guide p + p:not([hidden]) { margin-top: 5px; }
.erp-install-guide strong { margin-inline-end: 4px; }
.erp-install-guide .erp-install-tip { color: #496274; }

.topbar:has(.erp-install) { position: relative; z-index: 15; }

.topbar .erp-install-guide {
  position: absolute;
  inset: 100% 12px auto auto;
  z-index: 40;
  width: min(340px, calc(100vw - 24px));
  margin: 0;
  box-shadow: 0 6px 18px #16405a26;
}

@media (display-mode: standalone) {
  .erp-install { display: none; }
}
