/* Shared button tokens. Important declarations live in one layer so legacy page styles cannot change action contrast or geometry. */
:root{--pfh-button-radius:8px;--pfh-button-height:44px;--pfh-button-small:36px;--pfh-button-large:48px;--pfh-button-primary:#214735;--pfh-button-primary-hover:#173b2a;--pfh-button-primary-active:#102c1e;--pfh-button-text:#294e36;--pfh-button-border:#bdcdb0;--pfh-button-soft:#edf3e5;--pfh-button-focus:#9b8248;--pfh-button-danger:#a8392a;--pfh-button-danger-soft:#fff0eb}
@layer pfh-buttons {
body:not(.wp-admin) :where(button,input[type=submit],input[type=button],input[type=reset],.pfh-button,.pfh-ux-button,.pfh-ed-button,.pfh-ar-button,.pfh-rf-button,.pfh-tree-claim,.pfh-tree-node__profile,.elementor-button,.wp-block-button__link,.wp-element-button,.pfh-header-account>summary,.pfh-feed-options>summary,.pfh-feed-attach):not(:where(#wpadminbar *,.pfh-verification-badge,.pfh-feed-photo-trigger,.pfh-feed-starter,.pfh-rp-results button,.pfh-reg-progress button,.pfh-tree-suggestion,.pfh-tree-suggestion *,.pfh-tree-suggestions button,.elementor-menu-toggle,.sub-arrow,.e-n-menu-toggle,.pfh-ot-result,.pfh-feed-lightbox-image button)),
body.pfh-button-system-admin :where(.button,.button-primary,.button-secondary,.button-link-delete,input[type=submit],button[type=submit]):not(:where(#wpadminbar *,.wp-switch-editor,.ed_button,.media-modal *)){box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:var(--pfh-bt-height,var(--pfh-button-height))!important;border-radius:var(--pfh-button-radius)!important;padding:9px 16px!important;border:1px solid var(--pfh-bt-border,var(--pfh-button-border))!important;background:var(--pfh-bt-bg,#fff)!important;color:var(--pfh-bt-fg,var(--pfh-button-text))!important;font-family:inherit!important;font-size:var(--pfh-bt-font,14px)!important;font-weight:600!important;line-height:1.6!important;text-align:center!important;text-decoration:none!important;box-shadow:none!important;letter-spacing:normal!important;cursor:pointer!important;transition:background-color .15s ease,color .15s ease,border-color .15s ease,box-shadow .15s ease!important}
body:not(.wp-admin) :is(button[type=submit],input[type=submit],.pfh-button,.pfh-ux-button,.pfh-ed-button,.pfh-ar-button,.pfh-rf-button,.pfh-tree-focus-btn,.pfh-reg-next,.elementor-button,.wp-block-button__link,.wp-element-button,.pfh-feed-share-copy,.pfh-feed-copy-confirm,.pfh-feed-sheet-primary),body.pfh-button-system-admin :is(.button-primary,input[type=submit].button-primary){--pfh-bt-bg:var(--pfh-button-primary);--pfh-bt-fg:#fff;--pfh-bt-border:var(--pfh-button-primary);--pfh-bt-hover-bg:var(--pfh-button-primary-hover);--pfh-bt-hover-fg:#fff;--pfh-bt-hover-border:var(--pfh-button-primary-hover);--pfh-bt-active-bg:var(--pfh-button-primary-active)}
body:not(.wp-admin) :is(.pfh-button-secondary,.pfh-button--secondary,.pfh-button-muted,.pfh-ed-button--secondary,.pfh-reg-back,.pfh-tree-claim,.pfh-tree-node__profile,.pfh-form-upload__button,.pfh-header-account>summary,.pfh-feed-attach,input[type=reset],.pfh-ux-actions>.pfh-ux-button:nth-child(2),.pfh-ux-callout .pfh-ux-button,.pfh-ar-button--secondary,.pfh-rf-button--secondary){--pfh-bt-bg:#fff;--pfh-bt-fg:var(--pfh-button-text);--pfh-bt-border:var(--pfh-button-border);--pfh-bt-hover-bg:var(--pfh-button-soft);--pfh-bt-hover-fg:var(--pfh-button-text);--pfh-bt-hover-border:#8ca879;--pfh-bt-active-bg:#e0ebd7}
body:not(.wp-admin) :where(button,input[type=submit],input[type=button],input[type=reset],.pfh-button,.pfh-ux-button,.pfh-ed-button,.pfh-ar-button,.pfh-rf-button,.pfh-tree-claim,.pfh-tree-node__profile,.elementor-button,.wp-block-button__link,.wp-element-button,.pfh-header-account>summary,.pfh-feed-options>summary,.pfh-feed-attach):not(:where(#wpadminbar *,.pfh-verification-badge,.pfh-feed-photo-trigger,.pfh-feed-starter,.pfh-rp-results button,.pfh-reg-progress button,.pfh-tree-suggestion,.pfh-tree-suggestion *,.pfh-tree-suggestions button,.elementor-menu-toggle,.sub-arrow,.e-n-menu-toggle,.pfh-ot-result,.pfh-feed-lightbox-image button)) :is(.dashicons,.elementor-button-text,.elementor-button-icon,.pfh-ui-icon),body.pfh-button-system-admin :where(.button,.button-primary,.button-secondary,.button-link-delete,input[type=submit],button[type=submit]):not(:where(#wpadminbar *,.wp-switch-editor,.ed_button,.media-modal *)) :is(.dashicons,.pfh-ui-icon){color:inherit!important}
body:not(.wp-admin) :where(button,input[type=submit],input[type=button],input[type=reset],.pfh-button,.pfh-ux-button,.pfh-ed-button,.pfh-ar-button,.pfh-rf-button,.pfh-tree-claim,.pfh-tree-node__profile,.elementor-button,.wp-block-button__link,.wp-element-button,.pfh-header-account>summary,.pfh-feed-options>summary,.pfh-feed-attach):not(:where(#wpadminbar *,.pfh-verification-badge,.pfh-feed-photo-trigger,.pfh-feed-starter,.pfh-rp-results button,.pfh-reg-progress button,.pfh-tree-suggestion,.pfh-tree-suggestion *,.pfh-tree-suggestions button,.elementor-menu-toggle,.sub-arrow,.e-n-menu-toggle,.pfh-ot-result,.pfh-feed-lightbox-image button)):hover,body.pfh-button-system-admin :where(.button,.button-primary,.button-secondary,.button-link-delete,input[type=submit],button[type=submit]):not(:where(#wpadminbar *,.wp-switch-editor,.ed_button,.media-modal *)):hover{background:var(--pfh-bt-hover-bg,var(--pfh-button-soft))!important;color:var(--pfh-bt-hover-fg,var(--pfh-button-text))!important;border-color:var(--pfh-bt-hover-border,#8ca879)!important;box-shadow:0 2px 6px #2147350d!important;text-decoration:none!important}
body:not(.wp-admin) :where(button,input[type=submit],input[type=button],input[type=reset],.pfh-button,.pfh-ux-button,.pfh-ed-button,.pfh-ar-button,.pfh-rf-button,.pfh-tree-claim,.pfh-tree-node__profile,.elementor-button,.wp-block-button__link,.wp-element-button,.pfh-header-account>summary,.pfh-feed-options>summary,.pfh-feed-attach):not(:where(#wpadminbar *,.pfh-verification-badge,.pfh-feed-photo-trigger,.pfh-feed-starter,.pfh-rp-results button,.pfh-reg-progress button,.pfh-tree-suggestion,.pfh-tree-suggestion *,.pfh-tree-suggestions button,.elementor-menu-toggle,.sub-arrow,.e-n-menu-toggle,.pfh-ot-result,.pfh-feed-lightbox-image button)):active,body.pfh-button-system-admin :where(.button,.button-primary,.button-secondary,.button-link-delete,input[type=submit],button[type=submit]):not(:where(#wpadminbar *,.wp-switch-editor,.ed_button,.media-modal *)):active{background:var(--pfh-bt-active-bg,#e0ebd7)!important;box-shadow:none!important}
body:not(.wp-admin) :where(button,input[type=submit],input[type=button],input[type=reset],.pfh-button,.pfh-ux-button,.pfh-ed-button,.pfh-ar-button,.pfh-rf-button,.pfh-tree-claim,.pfh-tree-node__profile,.elementor-button,.wp-block-button__link,.wp-element-button,.pfh-header-account>summary,.pfh-feed-options>summary,.pfh-feed-attach):not(:where(#wpadminbar *,.pfh-verification-badge,.pfh-feed-photo-trigger,.pfh-feed-starter,.pfh-rp-results button,.pfh-reg-progress button,.pfh-tree-suggestion,.pfh-tree-suggestion *,.pfh-tree-suggestions button,.elementor-menu-toggle,.sub-arrow,.e-n-menu-toggle,.pfh-ot-result,.pfh-feed-lightbox-image button)):focus-visible,body.pfh-button-system-admin :where(.button,.button-primary,.button-secondary,.button-link-delete,input[type=submit],button[type=submit]):not(:where(#wpadminbar *,.wp-switch-editor,.ed_button,.media-modal *)):focus-visible{outline:3px solid var(--pfh-button-focus)!important;outline-offset:3px!important;box-shadow:0 0 0 3px #f3efdf!important}
body:not(.wp-admin) :is(.pfh-tree-node__actions>*,.pfh-feed-comment-tools button,.pfh-feed-comments-refresh,.pfh-feed-readmore,.pfh-rp-selected button,.pfh-feed-post-actions button,.pfh-tree-segmented__button,.pfh-tree-branch-filter__button,.pfh-family-visibility button){--pfh-bt-height:var(--pfh-button-small);--pfh-bt-font:12px;padding:7px 10px!important;gap:5px!important}
body:not(.wp-admin) :is(.pfh-feed-dialog-close,.pfh-feed-sheet-close,.pfh-feed-refresh,.pfh-tree-search__clear,.pfh-feed-lightbox button,.pfh-chat-toggle,.pfh-feed-image-preview button,.pfh-feed-icon-only,.pfh-feed-options>summary){--pfh-bt-height:var(--pfh-button-height);width:var(--pfh-button-height)!important;min-width:var(--pfh-button-height)!important;padding:10px!important;flex-shrink:0!important}
body:not(.wp-admin) :is(.pfh-ux-hero .pfh-ux-button,.pfh-ed-hero .pfh-ed-button){--pfh-bt-height:var(--pfh-button-large);--pfh-bt-font:15px}
body:not(.wp-admin) :is(.pfh-feed-like[aria-pressed=true],.pfh-tree-segmented__button[aria-pressed=true],.pfh-tree-branch-filter__button[aria-pressed=true]){--pfh-bt-bg:#e6efdc;--pfh-bt-fg:#355d2b;--pfh-bt-border:#b5cda2;--pfh-bt-hover-bg:#d9e8cb;--pfh-bt-hover-fg:#294e22}
body:not(.wp-admin) :is(.pfh-feed-comment-delete,.pfh-feed-delete,.pfh-feed-delete-action,.pfh-feed-sheet-danger,[data-pfh-delete],.pfh-feed-options button[data-action=delete],.pfh-feed-options button[data-feed-action=delete]),body:not(.wp-admin) .pfh-feed-dislike[aria-pressed=true],body.pfh-button-system-admin .button-link-delete{--pfh-bt-bg:var(--pfh-button-danger-soft);--pfh-bt-fg:var(--pfh-button-danger);--pfh-bt-border:#edb5a9;--pfh-bt-hover-bg:#fbe0d7;--pfh-bt-hover-fg:#892b20;--pfh-bt-hover-border:#d89586;--pfh-bt-active-bg:#f5d3c8}
body:not(.wp-admin) :where(button,input[type=submit],input[type=button],input[type=reset],.pfh-button,.pfh-ux-button,.pfh-ed-button,.pfh-ar-button,.pfh-rf-button,.pfh-tree-claim,.pfh-tree-node__profile,.elementor-button,.wp-block-button__link,.wp-element-button,.pfh-header-account>summary,.pfh-feed-options>summary,.pfh-feed-attach):not(:where(#wpadminbar *,.pfh-verification-badge,.pfh-feed-photo-trigger,.pfh-feed-starter,.pfh-rp-results button,.pfh-reg-progress button,.pfh-tree-suggestion,.pfh-tree-suggestion *,.pfh-tree-suggestions button,.elementor-menu-toggle,.sub-arrow,.e-n-menu-toggle,.pfh-ot-result,.pfh-feed-lightbox-image button)):is(:disabled,[aria-disabled=true]),body.pfh-button-system-admin :where(.button,.button-primary,.button-secondary,.button-link-delete,input[type=submit],button[type=submit]):not(:where(#wpadminbar *,.wp-switch-editor,.ed_button,.media-modal *)):is(:disabled,[aria-disabled=true]){background:#eef1ea!important;color:#87917d!important;border-color:#d9dfd2!important;box-shadow:none!important;cursor:not-allowed!important;opacity:1!important}
body:not(.wp-admin) :where(button,input[type=submit],input[type=button],input[type=reset],.pfh-button,.pfh-ux-button,.pfh-ed-button,.pfh-ar-button,.pfh-rf-button,.pfh-tree-claim,.pfh-tree-node__profile,.elementor-button,.wp-block-button__link,.wp-element-button,.pfh-header-account>summary,.pfh-feed-options>summary,.pfh-feed-attach):not(:where(#wpadminbar *,.pfh-verification-badge,.pfh-feed-photo-trigger,.pfh-feed-starter,.pfh-rp-results button,.pfh-reg-progress button,.pfh-tree-suggestion,.pfh-tree-suggestion *,.pfh-tree-suggestions button,.elementor-menu-toggle,.sub-arrow,.e-n-menu-toggle,.pfh-ot-result,.pfh-feed-lightbox-image button))[aria-busy=true],body.pfh-button-system-admin :where(.button,.button-primary,.button-secondary,.button-link-delete,input[type=submit],button[type=submit]):not(:where(#wpadminbar *,.wp-switch-editor,.ed_button,.media-modal *))[aria-busy=true],body:not(.wp-admin) [aria-busy=true]>button:disabled{cursor:wait!important}
body:not(.wp-admin) :where(button,input[type=submit],input[type=button],input[type=reset],.pfh-button,.pfh-ux-button,.pfh-ed-button,.pfh-ar-button,.pfh-rf-button,.pfh-tree-claim,.pfh-tree-node__profile,.elementor-button,.wp-block-button__link,.wp-element-button,.pfh-header-account>summary,.pfh-feed-options>summary,.pfh-feed-attach):not(:where(#wpadminbar *,.pfh-verification-badge,.pfh-feed-photo-trigger,.pfh-feed-starter,.pfh-rp-results button,.pfh-reg-progress button,.pfh-tree-suggestion,.pfh-tree-suggestion *,.pfh-tree-suggestions button,.elementor-menu-toggle,.sub-arrow,.e-n-menu-toggle,.pfh-ot-result,.pfh-feed-lightbox-image button))[hidden],body.pfh-button-system-admin :where(.button,.button-primary,.button-secondary,.button-link-delete,input[type=submit],button[type=submit]):not(:where(#wpadminbar *,.wp-switch-editor,.ed_button,.media-modal *))[hidden]{display:none!important}
body:not(.wp-admin) :where(input[type=file])::file-selector-button{min-height:32px;padding:5px 10px;margin-inline-end:9px;border:1px solid var(--pfh-button-border);border-radius:var(--pfh-button-radius);background:var(--pfh-button-soft);color:var(--pfh-button-text);font:inherit;font-size:12px;cursor:pointer}
body:not(.wp-admin) :where(input[type=file])::file-selector-button:hover{background:#e0ebd7}
@media(pointer:coarse){body:not(.wp-admin) :is(.pfh-tree-node__actions>*,.pfh-feed-comment-tools button,.pfh-feed-comments-refresh,.pfh-feed-readmore,.pfh-rp-selected button,.pfh-feed-post-actions button,.pfh-tree-segmented__button,.pfh-tree-branch-filter__button,.pfh-family-visibility button){--pfh-bt-height:var(--pfh-button-height)}}
@media(prefers-reduced-motion:reduce){body:not(.wp-admin) :where(button,input[type=submit],input[type=button],input[type=reset],.pfh-button,.pfh-ux-button,.pfh-ed-button,.pfh-ar-button,.pfh-rf-button,.pfh-tree-claim,.pfh-tree-node__profile,.elementor-button,.wp-block-button__link,.wp-element-button,.pfh-header-account>summary,.pfh-feed-options>summary,.pfh-feed-attach):not(:where(#wpadminbar *,.pfh-verification-badge,.pfh-feed-photo-trigger,.pfh-feed-starter,.pfh-rp-results button,.pfh-reg-progress button,.pfh-tree-suggestion,.pfh-tree-suggestion *,.pfh-tree-suggestions button,.elementor-menu-toggle,.sub-arrow,.e-n-menu-toggle,.pfh-ot-result,.pfh-feed-lightbox-image button)),
body.pfh-button-system-admin :where(.button,.button-primary,.button-secondary,.button-link-delete,input[type=submit],button[type=submit]):not(:where(#wpadminbar *,.wp-switch-editor,.ed_button,.media-modal *)){transition:none!important}}
}
