/* Final interface type roles. Do not target article/editor content, code,
 * user-selected reader fonts, icon fonts or the PsyGuild wordmark. */
html body.wp-theme-psyguild-theme:not(.pg-book-reader-active) :is(main,.pg-portal-main,.pg-community-dialog) :is(
 .pg-hub-title,.pg-blog-index-title,.pg-search-title,.pg-newsroom__title,
 .pg-services__title,.pg-side-header__title,.pg-home-media__title,
 .pg-brand-section-head h2,.pg-authors-heading h1,.pg-directory-intro h1,
 .pg-knowledge-intro h1,.pg-blog-grid-heading h2,.pg-app-results-heading h2,
 .pg-service-results-heading h2,.pg-event-intro h1,.pg-event-results-heading h2,
 .pg-policy-page-title,.pg-community h1,.pg-community-entry h2,
 .pg-community-feed-head h2,.pg-community-dialog h2,.pg-channels h1,
 .pg-author-community-heading h2,.pg-author-community-empty h3,
 .pg-portal-page-header h1,.pg-admin-dashboard__header h1,
 .pg-post-manager__header h1,.pg-profile-heading h1,.pg-profile-form-card h2,
 .pg-admin-panel__header h2,.pg-author-benefits>h2,.psyguild-assessment-history-title,.pg-app-navigation h2,.pg-service-navigation h2,.pg-knowledge-topics-heading h2,
 .pg-auth-card h1,.psyguild-assessment-app__hero h1,.pg-hub-empty-title,
 .pg-events-empty-state h3,.pg-community-empty h3,
 .pg-profile-section-heading h2,.pg-profile-story h3,.pg-profile-service-row h3,
 .pg-event-navigation h2,.pg-policy-nav-heading h2,.pg-community-topics h2,
 .pg-community-guide h2,.pg-community-response-box h2,
 .pg-about-page h1,.pg-about-page h2,.pg-about-page h3,
 .pg-404-page h1,.pg-404-page h2,.pg-404-page h3,
 .pg-game-page h1,.pg-app-hero h1,.pg-app-section h2,.pg-app-feedback__summary h2
){font-family:var(--pg-interface-font)!important;font-weight:var(--pg-weight-heading)!important;}

html body.wp-theme-psyguild-theme:not(.pg-book-reader-active) :is(main,.pg-portal-main,.pg-community-dialog) :is(
 .pg-card-post__title,.pg-news-card__title,.pg-service-card__title,
 .pg-hub-card-title,.pg-event-card-title,.pg-event-card__title,
 .pg-search-card__title,.pg-featured-title,.pg-highlight-title,
 .pg-directory-name,.pg-card-author__name,.pg-author-name,.pg-event-item__title,
 .pg-brand-tool>strong,.pg-hub-embed-title
){font-family:var(--pg-interface-font)!important;font-weight:var(--pg-weight-heading)!important;}

html body.wp-theme-psyguild-theme:not(.pg-book-reader-active) :is(main,.pg-portal-main,.pg-site-header,.pg-sidebar-drawer,.pg-popup-content,.pg-personal-nav-sheet) :is(
 .pg-btn,.pg-newsroom-tab,.pg-newsroom-tab.is-active,.pg-hub-tab-btn,.pg-hub-tab-btn.is-active,.pg-filter-btn,.pg-event-tab-btn,
 .pg-author-tab,.pg-main-nav a,.pg-portal-nav-item,
 .pg-card-post__read,.pg-news-card__read-btn,.pg-hub-card-footer,
 .pg-side-header__link,.pg-header-account__label,.pg-header-search-submit,
 .pg-search-submit,.pg-404-search-btn,.pg-community-primary,.pg-community-secondary,
 .pg-community button,.pg-about-button,.pg-about-final-card a,
 .pg-profile-section-heading>button,.pg-profile-summary__head button
 ,.pg-post-action,.pg-admin-table-action,.pg-admin-dashboard__export,.pg-author-refresh,
 .pg-onboarding-trigger
){font-family:var(--pg-interface-font)!important;font-weight:var(--pg-weight-action)!important;}

html body.wp-theme-psyguild-theme:not(.pg-book-reader-active) :is(main,.pg-portal-main,.pg-site-header,.pg-sidebar-drawer,.pg-popup-content,.pg-personal-nav-sheet) :is(
 .pg-newsroom__subtitle,.pg-side-header__subtitle,.pg-services__subtitle,
 .pg-knowledge-eyebrow,.pg-app-eyebrow,.pg-service-eyebrow,.pg-event-eyebrow,
 .pg-policy-eyebrow,.pg-directory-eyebrow,.pg-community-eyebrow,
 .pg-author-community-eyebrow,.pg-channels-eyebrow,
 .pg-card-post__cat,.pg-hub-card-status,.pg-author-role,.pg-author-rank,
 .pg-author-title,.pg-404-label,.pg-app-section__label,.pg-app-feedback__eyebrow
){font-family:var(--pg-interface-font)!important;font-weight:var(--pg-weight-label)!important;}

html body.wp-theme-psyguild-theme .pg-author-directory-page [id="pg-no-results"] h2{font-weight:var(--pg-weight-heading)!important;}

/* These are interface elements even while the article reader is active. */
html body.wp-theme-psyguild-theme :is(.pg-site-footer,.pg-sidebar-drawer,.pg-loader-overlay) :is(
 .pg-footer-heading,.pg-sidebar-drawer__title,.pg-sidebar-cta__title,.pg-loader-title
){font-family:var(--pg-interface-font)!important;font-weight:var(--pg-weight-heading)!important;}
html body.wp-theme-psyguild-theme :is(.pg-comments-area,.pg-book-tools,.pg-book-related,.pg-book-sidebar) :is(
 .comment-reply-title,.pg-comments-title,.pg-book-card-title,.pg-book-tools-title
){font-family:var(--pg-interface-font)!important;font-weight:var(--pg-weight-heading)!important;}
html body.wp-theme-psyguild-theme .pg-logo-title{font-family:var(--pg-interface-font)!important;font-weight:var(--pg-weight-strong)!important;}
html body.wp-theme-psyguild-theme .pg-loader-title{font-weight:var(--pg-weight-label)!important;}
html body.wp-theme-psyguild-theme :is(.pg-comments-area,.pg-sidebar-drawer,.pg-book-tools,.pg-book-sidebar,.pg-site-footer,.pg-onboarding-dialog) :is(button,.pg-btn){font-family:var(--pg-interface-font)!important;font-weight:var(--pg-weight-action)!important;}
html body.wp-theme-psyguild-theme.archive main.pg-container>header h1{font-weight:var(--pg-weight-heading)!important;}

/* Portal headings/labels include older inline styles. Scope excludes document
 * previews and editors, so authored content retains its own typography. */
html body.wp-theme-psyguild-theme .pg-portal-main :is(h1,h2,h3,h4):not(:where(.pg-entry-content *,.pg-review-content *,.wp-editor-wrap *,.pg-post-detail__content *,[contenteditable] *)){
 font-family:var(--pg-interface-font)!important;font-weight:var(--pg-weight-heading)!important;
}
html body.wp-theme-psyguild-theme .pg-portal-main :is(label,th):not(:where(.pg-entry-content *,.pg-review-content *,.wp-editor-wrap *)){
 font-weight:var(--pg-weight-label)!important;
}

/* Form controls otherwise inherit browser defaults on several standalone pages. */
html body.wp-theme-psyguild-theme .pg-portal-main button:not(:where(.wp-editor-wrap *,.pg-entry-content *,.pg-review-content *)){
 font-family:var(--pg-interface-font)!important;font-weight:var(--pg-weight-action)!important;
}
html body.wp-theme-psyguild-theme:not(.pg-book-reader-active) :is(main,.pg-portal-main,.pg-site-header,.pg-sidebar-drawer,.pg-popup-content,.pg-personal-nav-sheet) :is(input,select,textarea,button):not(.wp-editor-area):not(.code):not([class*="mce-"]):not([class*="dashicons"]){font-family:var(--pg-interface-font);}
