.sd-install-button { min-height: 48px; cursor: pointer; }
.sd-install-button[hidden], #install-button[hidden] { display: none !important; }
html[data-sd-install-portal="client"] .sd-install-button {
  padding: .7rem 1rem;
  border: 1px solid #8c7854;
  background: transparent;
  color: #d6bd89;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
}
html[data-sd-install-portal="client"] .login-card > .sd-install-button { width: 100%; margin-top: 1.3rem; }
html[data-sd-install-portal="client"] .sd-install-button:hover { background: #282828; }
.sd-install-dialog {
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 1.5rem;
  border: 1px solid #777777;
  border-radius: 12px;
  background: #111111;
  color: #f4f2ed;
  box-shadow: 0 24px 70px #0008;
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}
.sd-install-dialog::backdrop { background: #000a; }
.sd-install-dialog h2 { margin: 0 0 1rem; color: #d6bd89; font-size: 1.4rem; }
.sd-install-dialog p { margin: 0 0 1rem; }
.sd-install-dialog .sd-install-note { color: #b6b0a5; font-size: .88rem; }
.sd-install-dialog button {
  min-height: 48px;
  min-width: 120px;
  padding: .6rem 1.2rem;
  border: 0;
  background: #c8ad77;
  color: #10100f;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.sd-install-dialog button:focus-visible, .sd-install-button:focus-visible {
  outline: 2px solid #d7bd8a;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  html[data-sd-install-portal="client"] .topbar-actions { flex-wrap: wrap; justify-content: flex-end; gap: .5rem; }
}
