/*
 * Loaded by the Gin admin theme on every admin page (public://gin-custom.css).
 * Not in git: create it on each environment.
 *
 * Login page (gin_login): its CSS sets min-height: 100vh. On phones 100vh is
 * the height with the browser bars hidden, so with the bars visible the page
 * scrolls. svh is the visible height; browsers without svh keep 100vh.
 */
body.gin-login .user-form-page {
  min-height: 100svh;
}

/* Gin star tooltip must not widen admin pages at phone width (2026-11-16). */
.shortcut-action .shortcut-action__message { white-space: normal; width: max-content; max-width: 12rem; }
@media (max-width: 40rem) { .shortcut-action .shortcut-action__message { inset-inline-start: auto; inset-inline-end: 0; inset-block-start: 100%; } }
