/* One shared action-button standard for the public RISE website.
   This layer is declared before the legacy homepage/glass layers in each head. */
@layer rise-standard-actions {
 :root {
  --rise-action-fill:linear-gradient(105deg,#226f5b,#107c8a);
  --rise-action-hover:linear-gradient(105deg,#1b8163,#0b8091);
  --rise-action-pressed:linear-gradient(105deg,#168168,#07818c);
  --rise-action-depth:inset 0 1px 0 #ffffff59,inset 0 -1px 0 #034c5759,0 2px 0 #06475245,0 5px 12px #082d4b24;
 }
 html:root body.site-refresh :is(
  a.action,a.button,a.home-action,a.rise-page-action,a.legal-button,
  .hero-actions>a,.hub-intro-actions>a,.page-actions>a,
  button,input[type=submit],input[type=button],input[type=reset]
 ):not(:where(.rise-translate *,.rise-translate__menu *,.rise-translate__languages *,.translation-control *,.visual-editor-tools *,.rise-translate__trigger,.mobile-menu,.signup-close,[class*="dialog-close"],[class*="modal-close"])) {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  box-sizing:border-box!important;max-width:100%!important;min-width:0!important;min-height:38px!important;
  padding:8px 16px!important;border:1px solid #0c666e!important;border-radius:999px!important;
  background:var(--rise-action-fill)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  font:500 13px/1.4 'DM Sans',Arial,sans-serif!important;letter-spacing:normal!important;text-transform:none!important;
  text-align:center!important;white-space:normal!important;text-decoration:none!important;text-shadow:none!important;
  box-shadow:var(--rise-action-depth)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  cursor:pointer!important;opacity:1!important;transform:none!important;
  transition:background .15s,box-shadow .15s,transform .12s!important;
  & :is(span,strong,small,b,em,svg) {color:inherit!important;-webkit-text-fill-color:inherit!important;text-shadow:none!important}
  &:hover:not(:disabled):not([aria-disabled=true]) {
   background:var(--rise-action-hover)!important;border-color:#075a66!important;
   box-shadow:inset 0 1px 0 #ffffff66,inset 0 -1px 0 #034c5759,0 3px 0 #06475238,0 7px 15px #082d4b2b!important;
   transform:translateY(-1px)!important;text-decoration:none!important;
  }
  &:is(:active,[aria-pressed=true],[aria-selected=true]):not(:disabled):not([aria-disabled=true]) {
   background:var(--rise-action-pressed)!important;border-color:#075a66!important;
   box-shadow:inset 0 2px 4px #033f4840,inset 0 -1px 0 #ffffff33,0 1px 3px #082d4b26!important;
   transform:translateY(1px)!important;
  }
  &:is([aria-pressed=true],[aria-selected=true]):not(:where(:active)):not(:disabled):not([aria-disabled=true]) {transform:none!important;box-shadow:inset 0 2px 4px #033f4840,inset 0 -3px 0 #dff8eeaa,0 2px 5px #082d4b1c!important}
  &:focus-visible:not(:disabled):not([aria-disabled=true]) {outline:2px solid #fff!important;outline-offset:2px!important;box-shadow:var(--rise-action-depth),0 0 0 5px #006a71!important}
  &:is(:disabled,[aria-disabled=true]) {
   background:#6b6770!important;border-color:#6b6770!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
   box-shadow:inset 0 1px 0 #ffffff26!important;transform:none!important;opacity:1!important;cursor:not-allowed!important;
  }
  &:is(.danger,.danger-button,.delete-button,[data-danger=true]):not(:disabled):not([aria-disabled=true]) {background:#8a2434!important;border-color:#6c1b28!important}
  &[aria-busy=true] {cursor:wait!important}
  @media(pointer:coarse) {min-height:44px!important}
  @media(prefers-reduced-motion:reduce) {transition:none!important;transform:none!important;&:is(:hover,:active,[aria-pressed=true],[aria-selected=true]):not(:disabled):not([aria-disabled=true]){transform:none!important}}
  @media(forced-colors:active) {
   background:ButtonFace!important;color:ButtonText!important;-webkit-text-fill-color:ButtonText!important;
   border-color:ButtonText!important;box-shadow:none!important;transform:none!important;
   &:is(:hover,:active,:disabled,[aria-disabled=true],.danger,.danger-button,.delete-button,[data-danger=true]):not(:disabled):not([aria-disabled=true]) {background:ButtonFace!important;color:ButtonText!important;-webkit-text-fill-color:ButtonText!important;border-color:ButtonText!important;box-shadow:none!important;transform:none!important}
   &:is([aria-pressed=true],[aria-selected=true]):not(:disabled):not([aria-disabled=true]) {background:Highlight!important;color:HighlightText!important;-webkit-text-fill-color:HighlightText!important;border-color:Highlight!important;box-shadow:none!important;transform:none!important}
   &:is(:disabled,[aria-disabled=true]) {background:ButtonFace!important;color:GrayText!important;-webkit-text-fill-color:GrayText!important;border-color:GrayText!important;box-shadow:none!important;transform:none!important}
   &:focus-visible:not(:disabled):not([aria-disabled=true]) {outline:3px solid Highlight!important;outline-offset:3px!important;box-shadow:none!important}
  }
 }
 html:root body.site-refresh .header .account a.action {width:max-content!important;min-width:max-content!important;white-space:nowrap!important;flex-shrink:0!important}
}
