/* Scoped to installation UI; existing attendance layout is unchanged. */
#installAppDialog {
  width: min(560px, calc(100% - 24px));
  max-width: calc(100% - 24px);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  box-sizing: border-box;
  padding: 20px;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  background: #fff;
  color: #1e293b;
  overflow-y: auto;
  overscroll-behavior: contain;
}
#installAppDialog::backdrop { background: rgba(15, 23, 42, .55); }
#installAppDialog header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
#installAppDialog header img { flex: none; width: 56px; height: 56px; object-fit: contain; }
#installAppDialog h2 { margin: 0; font-size: 20px; line-height: 1.3; }
#installAppDialog p { font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
#installAppSteps { white-space: pre-line; }
#installAppStatus { padding: 12px; border-radius: 8px; background: #f1f5f9; color: #334155; }
#installAppDialog a { color: #075985; text-decoration: underline; }
#installAppDialog footer { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; padding-bottom: env(safe-area-inset-bottom, 0px); }
#installAppDialog button, .installAppLogin { min-height: 44px; touch-action: manipulation; }
#installAppDialog button:focus-visible, .installAppLogin:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
@media (display-mode: standalone) { [data-install-app] { display: none; } }
