/* Shared action finish only. A named important layer overrides the legacy
   button paints without changing geometry, semantics, or masthead controls. */
@layer rise-glass-actions {
  :where(body.hub-classic-theme,body.rise-classic-theme)
  :is(button,[role=button],[role=tab],a:is(.action,.button,.button-link,.plan-action,.primary-action,.secondary-action,.provider-login),a[class*="button"],a[class*="Button"],a[class*="action"],[class*="actions"]>a,[class*="tabs"]>a,.hero-actions>a,.account-banner-actions>a,.account-section-nav>a,.settings-tabs>a,.account-settings-nav>a,.functional-tabs>a,input:is([type=submit],[type=button],[type=reset])):not(:where(header *,.header-line *,.site-header *,.rise-translate *,.translation-control *,.visual-editor-tools *)) {
    background:linear-gradient(155deg,rgba(255,255,255,.90),rgba(255,255,255,.66) 48%,rgba(219,240,235,.76))!important;
    color:#103b4b!important;
    -webkit-text-fill-color:#103b4b!important;
    border:1px solid rgba(98,144,143,.48)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.96),inset 0 -1px 0 rgba(97,145,142,.15),0 5px 12px rgba(8,45,75,.12)!important;
    -webkit-backdrop-filter:blur(20px) saturate(160%)!important;
    backdrop-filter:blur(20px) saturate(160%)!important;
    text-shadow:none!important;

    &:hover:not(:disabled):not([aria-disabled=true]) {
      background:linear-gradient(155deg,rgba(255,255,255,.98),rgba(246,255,252,.82) 48%,rgba(213,239,230,.86))!important;
      border-color:rgba(59,128,120,.68)!important;
      box-shadow:inset 0 1px 0 #fff,0 6px 16px rgba(8,45,75,.16)!important;
    }
    &:is(.active,.is-active,[aria-current=page],[aria-pressed=true],[aria-selected=true]):not(:disabled) {
      background:linear-gradient(155deg,rgba(232,255,246,.94),rgba(206,239,225,.80))!important;
      border-color:#438d80!important;
      box-shadow:inset 0 1px 0 #fff,inset 0 -2px 0 #007d75,0 3px 9px #082d4b12!important;
    }
    &:focus-visible {outline:3px solid #007d75!important;outline-offset:3px!important}
    &:is(.danger,.danger-button,.delete-button,[data-danger=true],[class*="danger"]) {
      color:#8a2434!important;
      -webkit-text-fill-color:#8a2434!important;
      border-color:#b9828b!important;
      background:linear-gradient(155deg,rgba(255,255,255,.94),rgba(255,231,235,.82))!important;
    }
    &:is(:disabled,[aria-disabled=true]) {opacity:.55!important;cursor:not-allowed!important}
    & :is(span,strong,small,b,em,svg) {color:inherit!important;-webkit-text-fill-color:inherit!important;text-shadow:none!important}
    @media(prefers-reduced-transparency:reduce) {background:#edf6f3!important;-webkit-backdrop-filter:none!important;backdrop-filter: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;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;
      &:is(.active,.is-active,[aria-current=page],[aria-pressed=true],[aria-selected=true]):not(:disabled) {background:Highlight!important;color:HighlightText!important;-webkit-text-fill-color:HighlightText!important;border-color:Highlight!important}
      &:is(.danger,.danger-button,.delete-button,[data-danger=true],[class*="danger"]) {background:ButtonFace!important;color:ButtonText!important;-webkit-text-fill-color:ButtonText!important;border-color:ButtonText!important}
    }
  }
}
