/* Home-screen app: retain the existing responsive portal layout. */
@media (display-mode: standalone) {
  .install-app-link { display: none !important; }
  .shell { min-height: 100dvh; }
}
@media (max-width:760px) {
  .sidebar { overflow-y:auto; padding-bottom:max(30px,env(safe-area-inset-bottom)); }
  .form-actions { padding-bottom:max(13px,env(safe-area-inset-bottom)); }
  input:not([type=checkbox]):not([type=radio]), select, textarea { font-size:16px; }
}
