/*
 * LoadingOverlay is appended to body but may be sized from stale AJAX content.
 * Restrict the viewport-sized overlay to the authenticated application: the
 * before-login views intentionally retain the target panel dimensions.
 */
body.after-login > .loadingoverlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
}

/* Do not keep the browser focus ring after a template is clicked with the mouse. */
#external-templates .external-templates.mouse-focus:focus {
    outline: none;
}
