.cf-install-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--border-default, #cbd5e1);
  border-radius: 8px;
  background: var(--bg-surface, #fff);
  color: var(--text-primary, #172554);
  font: 600 12px/1.4 system-ui, sans-serif;
  cursor: pointer;
  white-space: nowrap;
}
.cf-install-button:hover { background: var(--bg-hover, #edf2ff); }
.cf-install-button:focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }
.cf-install-button:disabled { opacity: .6; cursor: wait; }
.cf-install-button[hidden] { display: none; }
.login-card > .cf-install-button { display: flex; margin: 20px auto 0; }
.cf-install-dialog {
  width: min(440px, calc(100% - 32px));
  padding: 24px;
  margin: auto;
  border: 1px solid var(--border-default, #cbd5e1);
  border-radius: 14px;
  background: var(--bg-surface, #fff);
  color: var(--text-primary, #172554);
  font: 14px/1.6 system-ui, sans-serif;
}
.cf-install-dialog::backdrop { background: rgb(15 23 42 / .5); }
.cf-install-dialog h2 { font-size: 20px; margin: 0 0 12px; }
.cf-install-dialog p { margin: 0 0 14px; }
.cf-install-dialog form { display: flex; justify-content: flex-end; }
@media (max-width: 700px) {
  .topbar .cf-install-button { padding: 8px; }
  .topbar .cf-install-label { display: none; }
}
