/* The website's sign-in screen: the logo and Google's button only. Until she's in, nothing of the app shows. */
body:not(.in) > :not(#gate) { display: none !important; }
#gate { position: fixed; inset: 0; display: grid; place-content: center; justify-items: center; gap: 32px; padding: 16px; background: var(--bg); }
#gate img { display: block; filter: drop-shadow(0 10px 24px rgba(16, 24, 40, .18)); }
#gate p { margin: 0; min-height: 20px; max-width: 32ch; color: var(--err); font-size: 14px; text-align: center; }
/* Google's own button, as its branding guidelines draw it (light and dark). */
#gate .google {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; margin: 0; padding: 0 12px;
  border: 1px solid #747775; border-radius: 20px; background: #fff; color: #1f1f1f; box-shadow: none;
  font: 500 14px/20px Roboto, system-ui, sans-serif; letter-spacing: .25px; cursor: pointer;
}
#gate .google:hover { background: #f8f9fa; }
#gate .google:disabled { opacity: .6; cursor: default; }
#gate .google:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-color-scheme: dark) {
  #gate .google { background: #131314; border-color: #8e918f; color: #e3e3e3; }
  #gate .google:hover { background: #1f1f20; }
}
/* The Google client is set on the server (Cloudflare) here, not in Settings. */
#settingsForm label:has([name=clientId]), #settingsForm label:has([name=clientSecret]), [data-pane=google] details.card { display: none; }
