/* Continue With Google (prompt 530, 2026-11-26). Linked from _pwa_head.html
 * on every page, so the app backstop below holds even on a page that never
 * draws the button.
 *
 * Google's rules for a custom button (developers.google.com/identity/
 * branding-guidelines): dark fill #131314, a 1px inside stroke #8E918F, text
 * #E3E3E3; 12px before the logo, 10px between logo and text, 12px after the
 * text; 14px/20px medium text; the standard G at 18px, never recoloured or
 * stretched. Google Sans is not loaded on this site, so the site's own font
 * stack carries the medium weight. The light colours (#FFFFFF, #747775,
 * #1F1F1F) live in theme-light.css with every other light override.
 *
 * Full width of the sign-in box, like the email box under it, and at least
 * 44px tall, the shared controls' touch size, so it is a comfortable tap. A
 * pill, Google's allowed shape that matches the site's own controls. */

/* Website only (CLAUDE.md "Website only"). The server never draws it in the
   app; this is the second layer, keyed on the site's one app flag. */
html.is-native-app .tog-google-btn,
html.is-native-app .tog-google { display: none !important; }

.tog-google { margin: 10px 0 4px; }
.tog-google-btn {
  display: flex; align-items: center; justify-content: center;
  box-sizing: border-box; width: 100%; min-height: 44px;
  padding: 0 12px; gap: 10px;
  background: #131314; color: #E3E3E3;
  border: 1px solid #8E918F; border-radius: 999px;
  font-family: inherit; font-size: 14px; line-height: 20px; font-weight: 500;
  text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.tog-google-btn:hover { text-decoration: none; filter: brightness(1.15); }
.tog-google-btn:focus-visible { outline: 2px solid #8E918F; outline-offset: 2px; }
.tog-google-g { display: inline-flex; flex: 0 0 18px; width: 18px; height: 18px; }
.tog-google-g svg { width: 18px; height: 18px; display: block; }
.tog-google-txt { white-space: nowrap; }

/* The "or" under the button: a hairline either side, muted, small. */
.tog-google-or {
  display: flex; align-items: center; gap: 10px;
  margin: 10px 0 0; font-size: 12px; line-height: 16px;
  color: var(--muted, #8A8A8A); text-transform: lowercase;
}
.tog-google-or::before, .tog-google-or::after {
  content: ""; flex: 1 1 auto; height: 1px; background: var(--border, #2A2A2A);
}
