/* V29 – Consistent Facebook-style platform typography across PUBLIC HOSTING.
 * Windows: Segoe UI, Apple: system font, Android: Roboto. No font downloads.
 * Keep the established font sizes, spacing and normal casing in other CSS.
 */
:root {
  --hm-facebook-font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --font-heading: var(--hm-facebook-font);
  --font-body: var(--hm-facebook-font);
  font-family: var(--hm-facebook-font);
}
html, body.hm-body,
body.hm-body :is(h1,h2,h3,h4,h5,h6,p,span,strong,b,small,a,button,input,textarea,select,option,optgroup,summary,dialog,table,th,td,label,legend,li,dt,dd,blockquote) {
  font-family: var(--hm-facebook-font) !important;
}
/* CSS for older headings and nested sidebar links overrides inherited fonts,
 * so target them explicitly without modifying existing sizes or spacing. */
body.hm-body.hm-member .hm-sidebar .hm-side-submenu :is(a,span),
body.hm-body.hm-member .hm-sidebar .hm-side-link,
body.hm-body.hm-member .hm-sidebar .hm-side-expand summary,
body.hm-body.hm-member .hm-shell-main :is(.hm-category-panel-copy,.hm-market-copy,.hm-section-top,.hm-unified-head-copy,.hm-public-info-heading,.hm-news-header,.hm-news-list-item) :is(h1,h2,h3,h4,strong,span,a),
body.hm-body .hm-notification-popover :is(h2,button,a,strong,span,p),
body.hm-body :is(.modal,.dialog,.hm-dialog,.commerce-card,.stat-card,.stats-grid,.hm-notice-reading) :is(h1,h2,h3,h4,p,span,strong,small,label,button,td,th) {
  font-family: var(--hm-facebook-font) !important;
}
/* Explicitly normalize the fonts (not font sizes) of all panel/tab headings. */
body.hm-body .hm-shell-main :is(.hm-market-heading,.hm-category-panel-heading,.hm-unified-head,.hm-section-top,.hm-public-info-heading) :is(h1,h2,h3,h4),
body.hm-body .hm-shell-main :is(.hm-information-card,.hm-product-detail-page,.hm-product-row) :is(h1,h2,h3,h4) {
  font-family: var(--hm-facebook-font) !important;
  font-style: normal;
}
/* Technical values remain monospaced for readability. */
body.hm-body :is(pre,code,kbd,samp,.commerce-reference,.commerce-delivery,.wallet-reference) {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace !important;
}
