/* PWG tactile actions, shared by landing, app, and public pages. */
:root { --pwg-motion-in: cubic-bezier(.2,.8,.2,1); --pwg-motion-out: cubic-bezier(.18,1.32,.34,1); }
:is(button,a.button,a[class*="-button"],a[class*="-cta"],[role="button"]) {
  min-height:44px;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
  transform-origin:center;
}
button[aria-label]:not(.wide){min-width:44px}
:is(button,a.button,a[class*="-button"],a[class*="-cta"],[role="button"]):focus-visible {
  outline:3px solid #2763df; outline-offset:3px;
}
button:disabled,
:is(button,a.button,a[class*="-button"],a[class*="-cta"],[role="button"])[aria-disabled="true"] {cursor:not-allowed}
button[aria-busy="true"]{cursor:progress}
button[aria-busy="true"]:not(.is-loading)::after{
  content:"";display:inline-block;width:13px;height:13px;margin-inline-start:8px;vertical-align:-2px;
  border:2px solid currentColor;border-right-color:transparent;border-radius:50%;
  animation:pwg-motion-spin 700ms linear infinite;
}
@keyframes pwg-motion-spin{to{rotate:360deg}}
@media (prefers-reduced-motion:no-preference){
  :is(button,a.button,a[class*="-button"],a[class*="-cta"],[role="button"]){
    transition-property:transform,background-color,border-color,box-shadow,color,filter,opacity;
    transition-duration:200ms;
    transition-timing-function:var(--pwg-motion-out);
  }
  :is(button:not(:disabled),a.button,a[class*="-button"],a[class*="-cta"],[role="button"]):not([aria-disabled="true"]):is(:active,[data-pwg-pressed]){
    transform:translateY(1px) scale(.965);
    transition-duration:85ms;
    transition-timing-function:var(--pwg-motion-in);
  }
  :is(button.text-button,button.tab,button.admin-module-button,button.danger,button[class*="danger"],button.menu-toggle,button.password-toggle):not(:disabled):is(:active,[data-pwg-pressed]){
    transform:scale(.985);
  }
  :is(button,a.button,a[class*="-button"],a[class*="-cta"],[role="button"])[data-pwg-tapped]{
    animation:pwg-motion-tap 230ms ease-out;
  }
  @keyframes pwg-motion-tap {from{filter:brightness(1.10)}to{filter:brightness(1)}}
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  :is(button,a.button,a[class*="-button"],a[class*="-cta"],[role="button"]):where(:not(:disabled):not([aria-disabled="true"]):not(.text-button):not(.menu-toggle):not(.password-toggle):not(.admin-module-button):not(.tab)):hover{
    transform:translateY(-1px);
  }
  :is(button.primary,a.button-primary,.button-primary):not(:disabled):hover{
    box-shadow:0 8px 20px rgba(37,87,214,.18);
  }
  /* Press overrides hover, including the landing-page CTA. */
  :is(button:not(:disabled),a.button,a[class*="-button"],a[class*="-cta"],[role="button"]):not([aria-disabled="true"]):is(:active,[data-pwg-pressed]){
    transform:translateY(1px) scale(.965);transition-duration:85ms;
  }
  :is(button.text-button,button.tab,button.admin-module-button,button.danger,button[class*="danger"],button.menu-toggle,button.password-toggle):not(:disabled):is(:active,[data-pwg-pressed]){
    transform:scale(.985);
  }
}
@media (prefers-reduced-motion:reduce){
  :is(button,a.button,a[class*="-button"],a[class*="-cta"],[role="button"]),
  :is(button,a.button,a[class*="-button"],a[class*="-cta"],[role="button"]):is(:hover,:active,[data-pwg-pressed],[data-pwg-tapped]){
    transition:none!important;animation:none!important;transform:none!important;filter:none!important;
  }
  button[aria-busy="true"]:not(.is-loading)::after{animation:none}
}
