/* UX22: account, passport and rewards typography only.
 * Keep the existing layout, colours and values. Do not redefine --wow-serif:
 * city names in the passport retain their original face.
 * Selectors are grounded in the deployed CSS and the section renderers.
 */

/* Passport overview, instructions, introduction to Club and the book window.
 * .pb-city-name / .p9-city-heading / .px8-story are deliberately not included.
 */
#wow-atlas-passport-ah2 .wa-ah2-passport-heading h2,
#wow-atlas-passport-ah2 .p15-hero h1,
#wow-atlas-passport-ah2 .p15-my-cities h2,
#wow-atlas-passport-ah2 .p9-actions strong,
#wow-atlas-passport-ah2 .p9-benefits strong,
#wow-atlas-passport-ah2 .p9-steps strong,
#wow-atlas-passport-ah2 .p9-intro-art em,
#wow-atlas-passport-ah2 .p15-hero-note,
.p15-layer.p9 .p15-panel-head h2,
.p15-layer.p9 .pb-cover-back > span,
.p15-layer.p9 .pb-blank > span,
.p15-layer.p9 .pb-blank em,
.wa-start-city .wa-start-city-heading h3,
.wa-start-dialog .wa-start-city h3,
.wa-start-dialog h2,
.rf2-camera h1,
.rf2-camera .rf2-camera-result h2,
#wow-atlas-favorites-ah14 h1,
#wow-atlas-favorites-ah14 h2,
#wow-atlas-favorites-ah14 .fv-card-open strong {
  font-family: var(--wow-sans, "WOW Manrope", Arial, sans-serif) !important;
}

/* Atlas Club: headings and the word "компасов".
 * Product sheets live inside this same root.
 */
#wow-atlas-club-ah4 h1,
#wow-atlas-club-ah4 h2,
#wow-atlas-club-ah4 h3,
#wow-atlas-club-ah4 .wa-c4-balance > b,
#wow-atlas-club-ah4 .wa-c4-balance-value > b,
#wow-atlas-club-ah4 .wa-c4-hand,
#wow-atlas-club-ah4 .wa-c4-product-copy > strong,
#wow-atlas-club-ah4 .wa-c4-shortcut strong,
.wa-ac2 .wa-ac2__intro > h1,
.wa-ac2 .wa-ac2__state > h2,
.wa-ac2 .wa-ac2__balance-value > span,
.wa-ac2 .wa-ac2__market h2,
.wa-ac2 .wa-ac2__section-heading h2,
.wa-ac2 .wa-ac2__earn-card strong,
.wa-ac2 .wa-ac2__ledger-row strong,
.wa-ac2 .wa-ac2__offer h3,
.wa-ac2 .wa-ac2__redemptions > h3,
.wa-ac2 .wa-ac2__decision > h3,
.wa-ac2-passport-action__copy > strong,
.wa-bj3-club-shortcut b {
  font-family: var(--wow-sans, "WOW Manrope", Arial, sans-serif) !important;
}

/* Referral screens and the small referral card embedded in Profile.
 * Their numeric balances use the same Compass rule below.
 */
.rf1 h1,
.rf1 h2,
.rf1 .rf1-hero-main > h2,
.rf1-profile-entry .rf1-hero-main > h2,
.rf1 .rf1-wallet strong,
.rf1 .rf1-tier strong {
  font-family: var(--wow-sans, "WOW Manrope", Arial, sans-serif) !important;
}

/* PA2: Compass amounts use the same Manrope family as Home. Preserve every
 * amount, size, weight and layout; only the font family changes.
 */
#wow-atlas-club-ah4 .wa-c4-balance > strong,
#wow-atlas-club-ah4 .wa-c4-balance-value > strong,
#wow-atlas-club-ah4 .wa-c4-totals strong,
#wow-atlas-club-ah4 .wa-c4-wallet-totals strong,
#wow-atlas-club-ah4 .wa-c4-price,
#wow-atlas-club-ah4 .wa-c4-ledger article > strong,
#wow-atlas-club-ah4 .wa-c4-reserve-summary .wa-c4-section-head > strong,
.rf1 .rf1-balance,
.wa-ac2 .wa-ac2__balance-value > strong,
.wa-ac2 .wa-ac2__stats dd,
.wa-ac2 .wa-ac2__ledger-row > b,
.wa-ac2 .wa-ac2__wallet dd,
.wa-ac2 .wa-ac2__decision-price > strong {
  font-family: var(--wow-sans, "WOW Manrope", Helvetica, Arial, sans-serif) !important;
}

/* Bookings, My Visit, offers and notification settings. */
#wow-atlas-bookings-bj1 h1,
#wow-atlas-bookings-bj1 h2,
#wow-atlas-bookings-bj1 h3,
.pb1-dialog h1,
.pb1-dialog h2,
.pb1-native-request h2,
.pp2-dialog h1,
.pp2-dialog h2,
.pp2-teaser h3,
.nt1-layer .nt1-hero h3,
.nt1-layer .nt1-empty h3,
.nt1-layer .nt1-settings-card > h3 {
  font-family: var(--wow-sans, "WOW Manrope", Arial, sans-serif) !important;
}

/* Profile menu and account sheet headers. The r3 AI chat and editorial/cultural
 * content are outside these narrowly scoped account/documents/legal roots.
 */
#wow-atlas-profile-ah2 > h1,
#wow-atlas-profile-ah2 .wa-ah2-name-form input,
#wow-atlas-profile-ah2 .wa-ah12-guest-name,
#wow-atlas-profile-ah2 .wa-ah2-initials,
#wow-atlas-profile-ah2 .wa-ah2-profile-card > span,
#wow-atlas-profile-ah2 .wa-ah2-profile-row b,
.pp1-profile-panels .g2-user-avatar > strong,
.pp1-profile-panels .g2-profile-links > button > b,
.r2-ux-overlay .r2-account-sheet__header h2,
.r3-ui-overlay :is(.r3-shell-layer--account, .r3-shell-layer--documents, .r3-shell-layer--legal) .r3-shell-header h2,
.pp1-profile-panels .pp1-shell-layer .r3-shell-header h2,
.r3-ui-overlay .r3-legal-intro strong,
.r3-ui-overlay .r3-legal-list > button small,
.wa-yi1-card h2 {
  font-family: var(--wow-sans, "WOW Manrope", Arial, sans-serif) !important;
}

/* Same-origin native account panels are separate iframe documents. The UX22
 * frame installer loads this file into those documents as well as the shell.
 * The html.pp1-panel-embed selectors match the existing embed contract.
 */
html.pp1-panel-embed body .profile__title,
html.pp1-panel-embed body .security__title,
html.pp1-panel-embed body .consents__title,
html.pp1-panel-embed body .dashboard__greeting,
html.pp1-panel-embed body .delete__title,
html.pp1-panel-embed body .help__title,
html.pp1-panel-embed body .contact__title,
html.pp1-panel-embed body app-account-notifications .lk-placeholder > h1,
html.pp1-panel-embed body .pp1-unavailable-card > strong,
html.pp1-panel-embed body .security .card__title,
html.pp1-panel-embed body .consents .card__title,
html.pp1-panel-embed body .delete .card__title,
html.pp1-panel-embed body .dashboard__overview-title {
  font-family: var(--wow-sans, "WOW Manrope", Arial, sans-serif) !important;
}

/* The live Home balance has its own !important shorthand, independent of the
 * title. The legacy card and rewards use the same numeric treatment. */
html .g2-home[data-wa-ux14] .g2-personal-card--club .wa-ah3-club-balance > .wa-ux14-club-value,
html.p1-passport-profile .g2-balance > strong,
html.p1-passport-profile .g2-balance > em,
html.p1-passport-profile .g2-earn-list > button > b,
html.p1-passport-profile .g2-reward-list > button > strong,
#wow-atlas-club-ah4 .wa-c4-reserve-summary dd,
#wow-atlas-club-ah4 [data-c4-used],
.rf1-profile-entry .rf1-balance,
#wow-atlas-games-ah5 .gm-wallet,
#wow-atlas-games-ah5 .gm-reward,
#wow-atlas-games-ah5 .gm-result-reward > strong,
.pa1-digital-dialog [data-digital-body] > p > strong,
.pa1-digital-dialog [data-digital-body] > label,
.pa1-digital-dialog article > p {
  font-family: var(--wow-sans, "WOW Manrope", Helvetica, Arial, sans-serif) !important;
}
