body.login .wp-hide-pw .dashicons { display: none !important; }
body.login .wp-hide-pw .lstd-eye { display: block !important; width: 20px !important; height: 20px !important; margin: auto !important; color: inherit; }
#toplevel_page_lstd-settings .wp-menu-image::before { content: none !important; }
#toplevel_page_lstd-settings .lstd-menu-icon { display: block; width: 20px; height: 20px; margin: 7px auto; color: currentColor; }
.lstd-shortcode .lstd-google-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; border: 1px solid #d1d5db; border-radius: 6px; background: #fff; color: #1c1c1a; text-decoration: none; font: inherit; }
.lstd-shortcode .lstd-google-btn:hover { background: #f4f4f5; }
.lstd-shortcode .lstd-google-btn:focus-visible { background: #e4e4e7 !important; color: #111827 !important; }
.lstd-shortcode .lstd-google-btn svg { width: 18px; height: 18px; flex: none; }

/* Scope interaction resets to Login Studio surfaces. */
:where(body.login, .lstd-settings, .lstd-shortcode) :is(a, button, input, select, textarea) {
 -webkit-tap-highlight-color: transparent !important;
 outline: none !important;
 transition: background-color .15s ease, color .15s ease, filter .15s ease, opacity .15s ease !important;
}
:where(body.login, .lstd-settings, .lstd-shortcode) :is(a, button, input, select, textarea):focus {
 outline: none !important;
 box-shadow: none !important;
}
body.login :is(#nav a, #backtoblog a, .lstd-topbar a, #login_error a, .message a):focus-visible {
 background-color: rgba(127,127,127,.18) !important;
 color: inherit !important;
}
body.login :is(h1 a, .wp-login-logo a):focus-visible { background-color: rgba(127,127,127,.18) !important; }
body.login :is(.lstd-google-btn, .button-primary, .wp-hide-pw):focus-visible { filter: brightness(.88) !important; }
body.login input[type=checkbox]:focus-visible { background: #dcdcde !important; }
body.login #language-switcher :is(select, .button):focus-visible { background-color: #dcdcde !important; color: #1d2327 !important; }
.lstd-settings :is(a, button, input, select, textarea):focus-visible {
 background-color: #e4e7eb !important;
 color: #135e96 !important;
}
.lstd-settings .button-primary:focus-visible { background-color: #135e96 !important; color: #fff !important; }
.lstd-settings .lstd-theme-card:has(input:focus-visible) .lstd-prev { filter: brightness(.85); }
:where(body.login, .lstd-settings, .lstd-shortcode) :is(a, button, input[type=submit]):active { filter: brightness(.9) !important; }
.lstd-shortcode .lstd-google-btn { transition: background-color .15s ease, color .15s ease, filter .15s ease !important; }
.lstd-settings .lstd-transient-notice { transition: opacity .2s ease !important; }
.lstd-settings .lstd-transient-notice.lstd-notice-leaving { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
 body.login, body.login *, .lstd-settings *, .lstd-shortcode * {
  transition: none !important;
  animation: none !important;
  scroll-behavior: auto !important;
 }
}

.lstd-settings :is(input:not([type=submit]):not([type=button]), select, textarea):focus { border-color: #8c8f94 !important; }

body.login :is(input, select, textarea):focus { border-color: #8c8f94 !important; background-color: #e4e7eb !important; }
body.login .button-primary:active, body.login .lstd-google-btn:active, body.login .button.wp-hide-pw:active,
.lstd-settings .button:active, .lstd-shortcode .lstd-google-btn:active { filter: brightness(.9) !important; }
