/*
 * Smart Auth — progressive stages over native WooCommerce login/register
 * forms. The ordinary My Account page and the instant Account drawer use
 * precisely the same stages, oval fields and restrained dark primary action.
 */
/* The PHP email pill is first paint; Woo forms remain in DOM as fallback. */
.woocommerce > .sf-smart-auth{display:none}
.woocommerce.sf-smart-auth-active > .sf-smart-auth,
html.sf-auth-ssr-enabled .woocommerce > .sf-smart-auth{display:block}
html.sf-auth-ssr-enabled .woocommerce:has(> .sf-smart-auth) > :is(#customer_login,form.woocommerce-form-login,.sf-auth-register-cta,h2){display:none!important}
html.sf-quick-checking .woocommerce > .sf-smart-auth{display:none!important}
:is(.woocommerce.sf-smart-auth-active,html.sf-auth-ssr-enabled .woocommerce:has(> .sf-smart-auth)){
  --sf-smart-ink:#252628;--sf-smart-line:#dedee2;
}
:is(.woocommerce.sf-smart-auth-active,html.sf-auth-ssr-enabled .woocommerce:has(> .sf-smart-auth)) .sf-smart-auth{
  width:100%;max-width:480px;margin:0 auto 7px;position:relative;
}
:is(.woocommerce.sf-smart-auth-active,html.sf-auth-ssr-enabled .woocommerce:has(> .sf-smart-auth)) .sf-smart-label{
  display:block;position:relative;width:100%;margin:0
}
:is(.woocommerce.sf-smart-auth-active,html.sf-auth-ssr-enabled .woocommerce:has(> .sf-smart-auth)) .sf-smart-label .sf-smart-identity{
  appearance:none;box-sizing:border-box;display:block;
  width:100%;height:54px;min-height:54px;border:1px solid var(--sf-smart-line);
  background:#fff;color:var(--sf-smart-ink);border-radius:999px;
  padding:0 48px 0 18px;outline:0;font:inherit;font-size:16px;
  line-height:1.35;box-shadow:none;letter-spacing:-.01em;
  transition:border-color .18s,box-shadow .18s;
}
:is(.woocommerce.sf-smart-auth-active,html.sf-auth-ssr-enabled .woocommerce:has(> .sf-smart-auth)) .sf-smart-label .sf-smart-identity:focus{
  border-color:#74777f;box-shadow:0 0 0 3px rgba(35,36,40,.055);
}
:is(.woocommerce.sf-smart-auth-active,html.sf-auth-ssr-enabled .woocommerce:has(> .sf-smart-auth)) .sf-smart-label .sf-smart-identity::placeholder{color:#999ca2}
:is(.woocommerce.sf-smart-auth-active,html.sf-auth-ssr-enabled .woocommerce:has(> .sf-smart-auth)) .sf-smart-label{
  font-size:0;color:transparent
}
/* The email field alone communicates lookup progress and completion.
   Keep lookup status available to screen readers without an extra visual row. */
:is(.woocommerce.sf-smart-auth-active,html.sf-auth-ssr-enabled .woocommerce:has(> .sf-smart-auth)) .sf-smart-progress{
  position:absolute;top:50%;right:18px;transform:translateY(-50%);
  width:24px;height:24px;box-sizing:border-box;border-radius:50%;
  display:grid;place-items:center;pointer-events:none;
  /* The focused input is z-index:1. Keep status glyph above its white paint
     without allowing it to intercept touch/keyboard input. */
  z-index:2
}
:is(.woocommerce.sf-smart-auth-active,html.sf-auth-ssr-enabled .woocommerce:has(> .sf-smart-auth)) .sf-smart-progress[hidden]{display:none!important}
/* A small, non-interactive envelope identifies the email field at rest.
   Existing warning, lookup spinner and success check take precedence. */
:is(.woocommerce.sf-smart-auth-active,html.sf-auth-ssr-enabled .woocommerce:has(> .sf-smart-auth)) .sf-smart-mail-icon{
  position:absolute;top:50%;right:18px;transform:translateY(-50%);
  display:grid;place-items:center;width:21px;height:21px;
  z-index:2;pointer-events:none;color:#777980;
  opacity:1;transition:opacity .14s ease;
}
:is(.woocommerce.sf-smart-auth-active,html.sf-auth-ssr-enabled .woocommerce:has(> .sf-smart-auth)) .sf-smart-mail-icon svg{display:block;width:21px;height:21px}
:is(.woocommerce.sf-smart-auth-active,html.sf-auth-ssr-enabled .woocommerce:has(> .sf-smart-auth)) .sf-smart-progress:not([hidden]) + .sf-smart-mail-icon{opacity:0}
:is(.woocommerce.sf-smart-auth-active,html.sf-auth-ssr-enabled .woocommerce:has(> .sf-smart-auth)) .sf-smart-progress[data-state="checking"]::before{
  content:"";display:block;width:19px;height:19px;box-sizing:border-box;
  border:2px solid rgba(37,38,40,.16);border-top-color:#252628;
  border-radius:50%;animation:sf-smart-spin .72s linear infinite
}
/* Partial-email feedback uses a subtle icon inside the existing pill. */
:is(.woocommerce.sf-smart-auth-active,html.sf-auth-ssr-enabled .woocommerce:has(> .sf-smart-auth)) .sf-smart-progress[data-state="invalid"]{
  color:#9a7666
}
:is(.woocommerce.sf-smart-auth-active,html.sf-auth-ssr-enabled .woocommerce:has(> .sf-smart-auth)) .sf-smart-progress[data-state="invalid"]::before{
  content:"!";width:19px;height:19px;display:grid;place-items:center;
  box-sizing:border-box;border:1.5px solid #bca99f;border-radius:50%;
  font-size:12px;font-weight:750;line-height:1
}
:is(.woocommerce.sf-smart-auth-active,html.sf-auth-ssr-enabled .woocommerce:has(> .sf-smart-auth)) .sf-smart-progress[data-state="done"]{
  background:#ecedee;animation:sf-smart-finish .24s ease-out both
}
:is(.woocommerce.sf-smart-auth-active,html.sf-auth-ssr-enabled .woocommerce:has(> .sf-smart-auth)) .sf-smart-progress[data-state="done"]::before{
  content:"";position:absolute;width:6px;height:10px;top:5px;left:8px;
  border-right:2px solid #252628;border-bottom:2px solid #252628;
  transform:rotate(45deg)
}
@keyframes sf-smart-spin{to{transform:rotate(360deg)}}
@keyframes sf-smart-finish{from{opacity:.35;scale:.82}to{opacity:1;scale:1}}
.woocommerce.sf-smart-auth-active.sf-smart-checking .sf-smart-message{
  position:absolute!important;width:1px;height:1px;padding:0!important;
  margin:0!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap
}
.woocommerce.sf-smart-auth-active .sf-smart-message{
  font-size:12px;color:#7f8188;line-height:1.55;margin:7px 3px 0;
}
.woocommerce.sf-smart-auth-active .sf-smart-message:empty{display:none}
.woocommerce.sf-smart-auth-active.sf-smart-partial .sf-smart-message{
  margin:5px 4px 0;font-size:11px;line-height:1.35;
  color:#9a7666
}
.woocommerce.sf-smart-auth-active:is(.sf-smart-existing,.sf-smart-new) .sf-smart-message:empty{
  display:none!important
}
.woocommerce.sf-smart-auth-active .sf-smart-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:3px}
.woocommerce.sf-smart-auth-active .sf-smart-actions[hidden]{display:none!important}
.woocommerce.sf-smart-auth-active :is(.sf-smart-change,.sf-smart-manual-register){
  appearance:none;border:0;background:transparent;color:#686b72;
  padding:8px 3px;min-height:34px;font-family:inherit;font-size:12px;
  cursor:pointer;text-decoration:underline;text-decoration-color:#d0d1d5;
  text-underline-offset:3px
}
.woocommerce.sf-smart-auth-active :is(.sf-smart-change,.sf-smart-manual-register)[hidden]{display:none!important}
/* The otherwise empty native Woo wrapper must not reserve vertical space
   below the single email field before lookup resolves. */
.woocommerce.sf-smart-auth-active:is(.sf-smart-start,.sf-smart-checking,.sf-smart-closed) > #customer_login{
  display:none!important;min-height:0!important;padding:0!important;margin:0!important
}
.woocommerce.sf-smart-auth-active #customer_login{width:100%;max-width:480px;margin:0 auto}
.woocommerce.sf-smart-auth-active #customer_login > :is(.u-column1,.u-column2),
.woocommerce.sf-smart-auth-active > form.woocommerce-form-login{
  display:none!important;
}
.woocommerce.sf-smart-existing #customer_login > .u-column1:not([hidden]),
.woocommerce.sf-smart-unavailable #customer_login > .u-column1:not([hidden]),
.woocommerce.sf-smart-existing > form.woocommerce-form-login,
.woocommerce.sf-smart-unavailable > form.woocommerce-form-login{
  display:block!important;
}
.woocommerce.sf-smart-new #customer_login > .u-column2:not([hidden]){display:block!important}
.woocommerce.sf-smart-auth-active .sf-smart-native-identity,
.woocommerce.sf-smart-auth-active .sf-smart-register-email{display:none!important}
.woocommerce.sf-smart-auth-active .sf-auth-register-cta,
.woocommerce.sf-smart-auth-active .sf-auth-back-login,
.woocommerce.sf-smart-auth-active :is(#customer_login h2,.sf-auth-tabs){display:none!important}
.woocommerce.sf-smart-auth-active .woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce.sf-smart-auth-active .woocommerce-form-register :is(button[type=submit],input[type=submit]),
.woocommerce.sf-smart-auth-active .woocommerce-form-login .woocommerce-form-login__rememberme{
  display:none!important
}
/* Registration submit is always discoverable. It is disabled and muted until
   native first/last name and password requirements have been met. */
.woocommerce.sf-smart-auth-active.sf-smart-new .woocommerce-form-register :is(button[type=submit],input[type=submit]){
  display:flex!important;align-items:center;justify-content:center;
  width:100%;min-height:54px;margin-top:7px!important;
  border:1px solid #e2e2e5!important;border-radius:999px!important;
  background:#e9e9ec!important;color:#84858b!important;
  box-shadow:none!important;opacity:1!important;
  font-size:14px;font-weight:600;cursor:not-allowed
}
.woocommerce.sf-smart-new.sf-smart-register-ready .woocommerce-form-register :is(button[type=submit],input[type=submit]){
  cursor:pointer
}
.woocommerce.sf-smart-existing.sf-smart-password-ready .woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce.sf-smart-unavailable.sf-smart-password-ready .woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce.sf-smart-new.sf-smart-register-ready .woocommerce-form-register :is(button[type=submit],input[type=submit]){
  display:flex!important;align-items:center;justify-content:center;
  min-height:54px;width:100%;margin-top:7px!important;
  border-radius:999px!important;background:#252628!important;
  border:1px solid #252628!important;color:#fff!important;
  font-size:14px;font-weight:600;box-shadow:none!important;
}
.woocommerce.sf-smart-existing.sf-smart-password-ready .woocommerce-form-login .woocommerce-form-login__rememberme,
.woocommerce.sf-smart-unavailable.sf-smart-password-ready .woocommerce-form-login .woocommerce-form-login__rememberme{
  display:inline-flex!important
}
.woocommerce.sf-smart-auth-active .woocommerce-form-login .sf-smart-password-row,
.woocommerce.sf-smart-auth-active .woocommerce-form-register .form-row{
  animation:sf-smart-rise .25s cubic-bezier(.2,.7,.25,1) both
}
@keyframes sf-smart-rise{from{opacity:.15;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
.woocommerce.sf-smart-auth-active .sf-smart-name-fields{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;
  margin:0 0 10px
}
.woocommerce.sf-smart-auth-active .sf-smart-name-fields .form-row{margin:0!important;min-width:0}
.woocommerce.sf-smart-auth-active .woocommerce-form-register .sf-smart-name-fields input{
  height:54px;min-height:54px;border-radius:999px!important;
  font-size:16px;padding-inline:17px
}
.woocommerce.sf-smart-auth-active .woocommerce-form-register .sf-smart-name-fields label{display:none!important}
.woocommerce.sf-smart-auth-active .woocommerce-form-register .sf-smart-register-username{margin-top:9px}
.woocommerce.sf-smart-auth-active .sf-smart-password-help{
  font-size:12px;line-height:1.55;color:#85868c;margin:0 0 12px
}
/* Password strength feedback belongs directly below its own input.
   It does not replace WooCommerce's server-side password rules. */
.woocommerce.sf-smart-auth-active .sf-smart-strength{
  display:flex;align-items:center;gap:10px;
  min-height:18px;margin:-3px 3px 12px;
  color:#74777e;font-size:12px;line-height:1.35
}
.woocommerce.sf-smart-auth-active .sf-smart-strength[hidden]{display:none!important}
.woocommerce.sf-smart-auth-active .sf-smart-strength-bars{
  display:inline-flex;align-items:center;gap:3px;flex:none
}
.woocommerce.sf-smart-auth-active .sf-smart-strength-bars > span{
  display:block;width:16px;height:3px;border-radius:4px;
  background:#dedfe3;transition:background .2s ease
}
.woocommerce.sf-smart-auth-active .sf-smart-strength[data-level="1"] .sf-smart-strength-bars > span:first-child{
  background:#ae8a70
}
.woocommerce.sf-smart-auth-active .sf-smart-strength[data-level="2"] .sf-smart-strength-bars > span:nth-child(-n+2){
  background:#64666c
}
.woocommerce.sf-smart-auth-active .sf-smart-strength[data-level="3"] .sf-smart-strength-bars > span{
  background:#252628
}
.woocommerce.sf-smart-auth-active .sf-smart-strength[data-level="3"]{
  color:#303238
}
.woocommerce.sf-smart-auth-active #customer_login .woocommerce-form-login .sf-smart-password-row input,
.woocommerce.sf-smart-auth-active #customer_login .woocommerce-form-register :is(input[type=password],input[type=text],input[type=email]){
  border-radius:999px!important;min-height:54px;box-shadow:none!important
}
.woocommerce.sf-smart-auth-active .woocommerce-form-login .sf-smart-password-row label,
.woocommerce.sf-smart-auth-active .woocommerce-form-register .form-row > label[for]:not(.woocommerce-form__label){
  display:none!important
}
.woocommerce.sf-smart-auth-active .woocommerce-form-login .lost_password{margin-top:3px!important;text-align:right}
.woocommerce.sf-smart-auth-active .woocommerce-form-login .lost_password a{
  font-size:12px;text-decoration:none;color:#85868c
}
.woocommerce.sf-smart-auth-active .sf-quick-return{
  appearance:none;box-sizing:border-box;position:relative;
  display:flex!important;align-items:center;justify-content:center;
  width:100%;max-width:480px;height:54px;min-height:54px;
  margin:10px auto 9px;padding:12px 70px;
  border:1px solid #252628!important;border-radius:999px!important;
  background:#252628!important;background-image:none!important;
  color:#fff!important;box-shadow:none!important;
  font:inherit;font-size:14px;font-weight:630;line-height:1.3;
  text-align:center;cursor:pointer;
}
.woocommerce.sf-smart-auth-active .sf-quick-return[hidden]{display:none!important}
.woocommerce.sf-smart-auth-active .sf-quick-return-icon{
  position:absolute;left:22px;top:50%;transform:translateY(-50%);
  display:grid;place-items:center;width:24px;height:24px;pointer-events:none
}
.woocommerce.sf-smart-auth-active .sf-quick-return-icon svg{
  display:block;width:23px;height:23px
}
.woocommerce.sf-smart-auth-active .sf-quick-return:focus-visible{
  outline:2px solid #252628;outline-offset:3px
}
/* Compact progressive field rhythm without altering native Woo controls. */
.woocommerce.sf-smart-auth-active form.woocommerce-form-login .sf-smart-password-row{
  margin-top:0!important;margin-bottom:7px!important
}
.woocommerce.sf-smart-auth-active form.woocommerce-form-login .form-row:has(> .woocommerce-form-login__rememberme){
  margin-top:0!important;margin-bottom:4px!important
}
.woocommerce.sf-smart-auth-active form.woocommerce-form-login .woocommerce-form-login__submit{
  margin-top:7px!important
}
.woocommerce.sf-smart-auth-active form.woocommerce-form-login .lost_password{
  margin:2px 0 4px!important
}
.woocommerce.sf-smart-auth-active.sf-auth-focus-mode > .sf-smart-auth,
.woocommerce.sf-smart-auth-active.sf-auth-focus-mode > #customer_login{
  position:relative;z-index:10;isolation:isolate
}
.woocommerce.sf-smart-auth-active.sf-auth-focus-mode > .sf-smart-auth .sf-smart-identity{
  position:relative;z-index:1
}
#sf-panel.is-account-panel .woocommerce.sf-smart-auth-active .sf-auth-social{
  margin-top:11px!important
}
@media(max-width:430px){
  .woocommerce.sf-smart-auth-active .sf-smart-name-fields{gap:8px}
  .woocommerce.sf-smart-auth-active .sf-smart-auth{margin-bottom:10px}
}
@media(prefers-reduced-motion:reduce){
  .woocommerce.sf-smart-auth-active *{animation-duration:.01ms!important;transition-duration:.01ms!important}
}

/* Registration is a single focused flow, not another login-provider menu.
   The original provider controls return when the email is edited to a
   recognized address or the field is cleared. */
.woocommerce.sf-smart-auth-active:is(.sf-smart-new,.sf-smart-existing) > :is(.sf-auth-social,.sf-quick-return,.sf-google-error){
  display:none!important
}
/* When WooCommerce asks for a username, the email is submitted natively as
   the login name. Never show an additional username input to customers. */
.woocommerce.sf-smart-auth-active .woocommerce-form-register .sf-smart-register-username{
  display:none!important
}

/* Trusted biometric/PIN identity cards always take priority over the
   one-field native login. In particular, never paint both at once. */
.woocommerce.sf-smart-auth-active:is(.sf-pin-active,.sf-passkey-active) > .sf-smart-auth,
html.sf-quick-checking .woocommerce.sf-smart-auth-active > .sf-smart-auth{
 display:none!important
}

/* Both the standalone Woo template and the instant Account panel define an
   older white native submit with high-specificity !important declarations.
   The progressive ready state MUST take precedence in either host. */
:is(body.woocommerce-account:not(.logged-in),#sf-panel.is-account-panel)
 .woocommerce.sf-smart-existing.sf-smart-password-ready
 .woocommerce-form-login button.woocommerce-form-login__submit,
:is(body.woocommerce-account:not(.logged-in),#sf-panel.is-account-panel)
 .woocommerce.sf-smart-unavailable.sf-smart-password-ready
 .woocommerce-form-login button.woocommerce-form-login__submit,
:is(body.woocommerce-account:not(.logged-in),#sf-panel.is-account-panel)
 .woocommerce.sf-smart-new.sf-smart-register-ready
 .woocommerce-form-register button[type="submit"]{
  background:#252628!important;background-image:none!important;
  color:#fff!important;border-color:#252628!important;
  box-shadow:none!important;min-height:54px!important;
  display:flex!important;align-items:center;justify-content:center;
}

/* Override the formerly permanent email-register action from both native
   Account stylesheets (their rules have ID selectors and !important). */
#sf-panel.is-account-panel .woocommerce.sf-smart-auth-active > .sf-auth-register-cta,
body.woocommerce-account .woocommerce.sf-smart-auth-active > .sf-auth-register-cta,
#sf-panel.is-account-panel .woocommerce.sf-smart-auth-active .sf-auth-back-login,
body.woocommerce-account .woocommerce.sf-smart-auth-active .sf-auth-back-login{
 display:none!important;visibility:hidden!important
}

/* Native and instant Account layouts previously force-shown social
   actions in register view. Override both specifically for smart sign-up. */
#sf-panel.is-account-panel .woocommerce.sf-smart-auth-active:is(.sf-smart-new,.sf-smart-existing) > :is(.sf-auth-social,.sf-quick-return,.sf-google-error),
body.woocommerce-account:not(.logged-in) .woocommerce.sf-smart-auth-active.sf-smart-new > :is(.sf-auth-social,.sf-quick-return,.sf-google-error){
 display:none!important;visibility:hidden!important
}
/* Reliable ready state over Woo/custom form styles on BOTH hosts. */
#sf-panel.is-account-panel .woocommerce.sf-smart-new.sf-smart-register-ready .woocommerce-form-register button[type="submit"],
body.woocommerce-account:not(.logged-in) .woocommerce.sf-smart-new.sf-smart-register-ready .woocommerce-form-register button[type="submit"]{
 display:flex!important;visibility:visible!important;opacity:1!important;
 align-items:center;justify-content:center;
 width:100%!important;min-height:54px!important;margin-top:7px!important;
 border:1px solid #252628!important;border-radius:999px!important;
 background:#252628!important;color:#fff!important
}

/* Direct focus state for browsers where :has() and independently animated
   mobile chrome disagree for a frame. No header/dock while typing. */
#sf-panel.is-account-panel.sf-auth-chrome-hidden > :is(.sf-panel-top,.sf-mobile-dock,.sf-menu-trigger.is-in-panel),
body.sf-auth-chrome-hidden .sf-shell > :is(.sf-header,.sf-mobile-dock){
  opacity:0!important;visibility:hidden!important;pointer-events:none!important
}
/* On mobile, the navigation controller moves the menu control directly into
   the Account dialog. It is not inside .sf-panel-top, so hide it explicitly
   only during credential focus and restore it on blur. */
#sf-panel.is-account-panel:has(.woocommerce.sf-auth-focus-mode) > .sf-menu-trigger.is-in-panel{
  opacity:0!important;visibility:hidden!important;pointer-events:none!important
}

/* 0.1.255 — one visual input system for progressive email, login password
   and registration password. The password inputs are native WooCommerce
   controls; scope overrides to smart auth so other account forms are intact.
   In particular, neutralize the legacy translucent glass input and 2px
   detached outline used by account-overlay.css on focused passwords. */
:is(#sf-panel.is-account-panel,body.woocommerce-account:not(.logged-in))
 .woocommerce.sf-smart-auth-active #customer_login
 :is(.woocommerce-form-login .sf-smart-password-row,.woocommerce-form-register .form-row)
 input[name="password"]{
  appearance:none!important;-webkit-appearance:none!important;
  box-sizing:border-box!important;display:block;
  width:100%!important;max-width:100%!important;height:54px!important;min-height:54px!important;
  padding:0 54px 0 18px!important;
  border:1px solid var(--sf-smart-line,#dedee2)!important;
  border-radius:999px!important;
  background:#fff!important;background-image:none!important;
  color:var(--sf-smart-ink,#252628)!important;
  font:inherit;font-size:16px!important;line-height:1.35!important;
  outline:none!important;outline-offset:0!important;box-shadow:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  transition:border-color .18s,box-shadow .18s
}
:is(#sf-panel.is-account-panel,body.woocommerce-account:not(.logged-in))
 .woocommerce.sf-smart-auth-active #customer_login
 :is(.woocommerce-form-login .sf-smart-password-row,.woocommerce-form-register .form-row)
 input[name="password"]:focus{
  border-color:#74777f!important;
  outline:none!important;outline-offset:0!important;
  box-shadow:0 0 0 3px rgba(35,36,40,.055)!important;
  background:#fff!important
}

/* The initial email login and remembered-device landing share the usable
   Account viewport. The earlier min-height:760px media query matched the
   synthetic 844px browser fixture but NOT iPhone Safari's smaller CSS viewport
   when its bottom browser chrome was present. Use available *panel* space,
   with safe centering for short screens. Credential focus still returns to
   normal scrolling so the iOS keyboard never traps the fields. */
@media (max-width:700px){
  #sf-panel.is-account-panel .sf-account-body:has(
    .woocommerce.sf-smart-auth-active:not(.sf-pin-active):not(.sf-passkey-active):not(.sf-auth-focus-mode)
  ){
    display:flex;
    flex-direction:column;
    justify-content:center;
    justify-content:safe center;
    align-items:stretch
  }
  #sf-panel.is-account-panel .sf-account-body:has(
    .woocommerce.sf-smart-auth-active:not(.sf-pin-active):not(.sf-passkey-active):not(.sf-auth-focus-mode)
  ) > .woocommerce{
    flex:0 0 auto;width:100%
  }
}

/* The official Google iframe controls its own appearance and interaction. */
.sf-site-kit-button{display:flex;justify-content:center;align-items:center;min-height:44px;width:100%;max-width:320px;margin:0 auto;flex-direction:column}
.sf-site-kit-button .sf-site-kit-target{max-width:100%;margin:0 auto}
/* GIS uses a light, transparent embedded canvas even for its filled_black
   button. Match the embedding color scheme so the browser does not paint an
   opaque white rectangle around the cross-origin frame on dark pages.
   Keep the provider's dimensions, capsule, account identity and hit area. */
.sf-site-kit-button,
.sf-site-kit-button .sf-site-kit-target,
.sf-site-kit-button .sf-site-kit-target iframe{
  color-scheme:light!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}
.sf-site-kit-button [data-sf-site-kit-unavailable]{font-size:12px;text-align:center;color:inherit}
.sf-site-kit-button [data-sf-site-kit-unavailable][hidden]{display:none!important}
