/* Selected login concept: centered, square proportions, official Google asset. */
.workspace-dialog.auth-dialog {
  box-sizing: border-box;
  width: min(440px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  min-height: min(440px, calc(100vw - 32px), calc(100dvh - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 3px solid #111;
  border-radius: 12px;
  background: #fff;
  color: #111;
  box-shadow: 4px 4px 0 #111;
  overflow: auto;
  text-align: center;
  font-family: Poppins, Arial, sans-serif;
}
.workspace-dialog.auth-dialog::backdrop { background: rgb(0 0 0 / 70%); backdrop-filter: blur(3px); }
.workspace-dialog.auth-dialog .dialog-body {
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(min(440px, calc(100vw - 32px), calc(100dvh - 32px)) - 6px);
  max-height: none;
  padding: 64px 36px 64px;
  overflow: visible;
}
.workspace-dialog.auth-dialog .dialog-top { display: block; margin: 0 0 40px; }
.workspace-dialog.auth-dialog .dialog-top h2 {
  margin: 0;
  color: #111;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -1px;
  text-align: center;
  text-decoration: underline solid #eef200 8px;
  text-underline-offset: 14px;
  text-decoration-skip-ink: none;
  overflow-wrap: anywhere;
}
.workspace-dialog.auth-dialog .dialog-top .icon-button {
  position: absolute;
  inset-block-start: 20px;
  inset-inline-end: 20px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border: 2px solid #111;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-size: 22px;
  line-height: 1;
  box-shadow: 2px 2px 0 #111;
}
.workspace-dialog.auth-dialog .auth-intro { margin: 0; color: #444; font-size: 18px; line-height: 1.5; text-align: center; }
.workspace-dialog.auth-dialog .dialog-actions {
  position: static;
  display: flex;
  justify-content: center;
  margin: 32px 0 44px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.workspace-dialog.auth-dialog .google-sign-in {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  min-height: 68px;
  padding: 12px;
  border: 1px solid #747775;
  border-radius: 10px;
  background: #fff;
  color: #1f1f1f;
  box-shadow: none;
  font-family: Poppins, Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
  transform: none;
}
.workspace-dialog.auth-dialog .google-sign-in:hover { background: #f8f9fa; }
.workspace-dialog.auth-dialog .google-sign-in.button { box-shadow: none !important; }
/* Override the legacy form-control shadow without changing other buttons. */
html body .workspace-dialog.auth-dialog .dialog-actions button.google-sign-in.button:not(:disabled):not([aria-disabled="true"]) { box-shadow: none !important; }
.workspace-dialog.auth-dialog .google-sign-in:disabled { background: #fff; color: #626262; opacity: .65; cursor: wait; }
.workspace-dialog.auth-dialog .google-brand-icon { display: block; flex: 0 0 20px; width: 20px; height: 20px; object-fit: contain; }
.workspace-dialog.auth-dialog .auth-legal { margin: 0; color: #626262; font-size: 13px; line-height: 1.7; text-align: center; }
.workspace-dialog.auth-dialog .auth-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.workspace-dialog.auth-dialog .auth-status,
.workspace-dialog.auth-dialog .service-error { margin: -20px 0 24px; font-size: 14px; line-height: 1.6; text-align: center; overflow-wrap: anywhere; }
.workspace-dialog.auth-dialog .service-error { color: #a72727; }
.workspace-dialog.auth-dialog :focus-visible { outline: 3px solid #0098e4; outline-offset: 4px; }
.workspace-dialog.auth-dialog .workspace-guest-menu {
  position: absolute;
  inset-block-start: 20px;
  inset-inline-start: 20px;
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid #111;
  border-radius: 8px;
  background: #fff;
  color: #111;
  box-shadow: none;
  font-size: 12px;
}
.lp-page .lp-auth-notice { position: fixed; bottom: 24px; inset-inline: 16px; margin: auto; max-width: 560px; padding: 16px; border: 2px solid #111; border-radius: 8px; background: #fff; box-shadow: 3px 3px 0 #111; z-index: 20; }
@media (max-width: 600px) {
  .workspace-dialog.auth-dialog .dialog-body { padding: 68px 24px 32px; }
  .workspace-dialog.auth-dialog .dialog-top { margin-bottom: 32px; }
  .workspace-dialog.auth-dialog .dialog-top h2 { font-size: 36px; }
  .workspace-dialog.auth-dialog .auth-intro { font-size: 15px; line-height: 1.6; }
  .workspace-dialog.auth-dialog .dialog-actions { margin: 24px 0 32px; }
  .workspace-dialog.auth-dialog .google-sign-in { min-height: 56px; font-size: 15px; }
  .workspace-dialog.auth-dialog .auth-legal { font-size: 12px; }
}
