/* Standalone installation guidance; member data remain network-only. */
.ma-web-install-open { overflow: hidden; }
.ma-web-install-dialog {
  color: #15343d;
  background: #fff;
  border: 1px solid #c5d8dc;
  border-radius: 24px;
  box-shadow: 0 24px 80px #082d3b40;
  padding: 0;
  width: min(92vw, 480px);
  max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow-y: auto;
  z-index: 10020;
  font: 16px/1.55 system-ui, sans-serif;
}
.ma-web-install-dialog:not([open]) { display: none; }
.ma-web-install-dialog::backdrop { background: #04232e99; }
.ma-web-install-card { padding: clamp(20px, 5vw, 32px); }
.ma-web-install-icon { display: block; width: 64px; height: 64px; margin: 0 0 14px; border: 1px solid #d5e3e6; border-radius: 16px; }
.ma-web-install-card h2 { margin: 0 0 12px; color: #083e49; font-size: 1.65rem; line-height: 1.2; }
.ma-web-install-card p { margin: 0 0 16px; }
.ma-web-install-guidance { padding: 16px; background: #edf7f8; border-radius: 12px; }
.ma-web-install-boundary { font-size: .9rem; color: #405e66; }
.ma-web-install-status:empty { display: none; }
.ma-web-install-status { font-weight: 600; }
.ma-web-install-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.ma-web-install-actions button, .ma-web-connection-status button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #a6c2c8;
  border-radius: 10px;
  color: #083e49;
  background: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.ma-web-install-actions .ma-web-install-primary { color: #fff; background: #076d7b; border-color: #076d7b; }
.ma-web-install-actions button[hidden] { display: none; }
.ma-web-install-actions button:focus-visible, .ma-web-connection-status button:focus-visible { outline: 3px solid #1b789a; outline-offset: 3px; }
.ma-web-install-actions button:disabled, .ma-web-connection-status button:disabled { opacity: .65; cursor: default; }
.ma-web-connection-status {
  position: sticky;
  top: 0;
  z-index: 10010;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  padding: 10px max(14px, env(safe-area-inset-right)) 10px max(14px, env(safe-area-inset-left));
  color: #513b00;
  background: #fff4ce;
  border-bottom: 1px solid #dfc464;
  font: 14px/1.45 system-ui, sans-serif;
}
.ma-web-connection-status span { max-width: 72ch; }
.ma-web-connection-status button { flex-shrink: 0; font-size: 14px; }
@media (max-width: 480px) {
  .ma-web-install-actions { flex-direction: column; }
  .ma-web-install-actions button { width: 100%; font-size: 16px; }
  .ma-web-connection-status { align-items: stretch; flex-direction: column; gap: 6px; }
  .ma-web-connection-status button { align-self: flex-start; }
}
