/* PeakFour V29 — application-wide Inter and operating-system fallback stack.
   Applies only typography. Source controls layout, states, colors and content.
   Keep specialist IPA and pronunciation-debug numerals readable and independent.
   Inter is requested from Google Fonts in BOTH app HTML entrypoints; no font
   binaries are packaged with this software. */
:root {
  --pf-font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
html,body,body .app-shell,body .peak-layout,
body .peak-main,body .peak-header,body .peak-sidebar,
body #page-dictation,body #page-vocabulary,body #page-grammar,
body #page-chunking,body #page-shadowing,body #page-discover,
body #page-cms,body #page-listening,body .pf-path-panel {
  font-family:var(--pf-font-sans)!important;
}
/* Former editor/showcase typography defined its own local font variables.
   Keep IPA as a separate glyph-safe stack; do not load Feijoa. */
#page-vocabulary.pf-dictionary-v3 {
  --pf-d7-body:var(--pf-font-sans);
  --pf-d7-ui:var(--pf-font-sans);
  --pf-d7-display:var(--pf-font-sans);
  --pf-d7-brand:var(--pf-font-sans);
}
/* Existing UI has specific Arial, Be Vietnam Pro or Open Sans declarations,
   including within article titles, navigation, CMS fields and lesson cards. */
body :is(h1,h2,h3,h4,h5,h6,p,span,small,strong,b,em,label,a,li,dt,dd,th,td,
  summary,legend,blockquote,button,input,textarea,select,option) {
  font-family:var(--pf-font-sans)!important;
}
/* Typographic rendering: do not force a color, size, line height, weight or
   layout. Browser/platform may apply its native smoothing behavior. */
body {
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
/* Specialist notation must not inherit the application prose face. */
body :is(code,pre,kbd,samp),
#page-dictation :is(.dictation-page-counter,.pf23-player-time,.dictation-page-position),
#page-dictation .dictation-writing-feedback :is(.dictation-writing-exact,.write-token strong),
#page-chunking :is(.pf95-score-ipa,.pf95-heard-phone,.pf95-phone.expected,.pf95-phone.heard) {
  font-family:ui-monospace,SFMono-Regular,Consolas,"Cascadia Code",monospace!important;
}
#page-vocabulary :is(.pf-d3-ipa-value,.vocab-ipa,.vocab-ipa-note,.pf-d9-ipa),
#page-listening :is(.ipa-sound strong,.phoneme-sound-item strong,.phoneme-primary > strong),
#page-pronunciation :is(.ipa-sound,.ipa-symbol,.phoneme-symbol) {
  font-family:"Segoe UI","Noto Sans","DejaVu Sans",Arial,sans-serif!important;
}
