/* Shared reading scale. Preserve icon fonts, logos, map transforms and media animation. */
:root{--xan-font-main:"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;--xan-font-family:"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;--xan-fw-body:400;--xan-fw-strong:600;--xan-weight-regular:400;--xan-weight-medium:500;--xan-weight-semibold:600}
html:root body,html:root body :is(input,select,textarea,button){font-family:var(--xan-font-main)!important;font-synthesis:none!important;font-optical-sizing:auto;text-rendering:auto!important;-webkit-font-smoothing:auto!important;-moz-osx-font-smoothing:auto!important}
html body{font-size:15px;line-height:1.5;font-weight:400;letter-spacing:normal}
html:root body :is(.xan-ga-app,.xan-pw-app,.xan-office-app,.xan-account-app,.xan-portal-app,.mx-app,.xan-os-shell,.xai-app,.mx-portal){font-family:var(--xan-font-main)!important;text-rendering:auto!important}
html body :is(.xan-pw-sidebar,.xan-ga-sidebar,.xan-account-sidebar,.xan-portal-sidebar,.xan-os-sidebar,.xan-sidebar,.mx-portal-sidebar,.xan-app-sidebar,.xai-sidebar) :is(a,button,summary){backdrop-filter:none!important;-webkit-backdrop-filter:none!important;filter:none!important}
html body :is(p,label,dt,dd,td,th,summary,h1,h2,h3,h4){text-shadow:none!important;letter-spacing:normal!important;font-variant-ligatures:none}
html body :is(h1,h2,h3,h4){font-weight:600!important;line-height:1.3!important}
html body :is(.xan-section-head,.xan-ga-hero,.xil-hero-v9239,.xan-admin-home-v9251,.xan-admin-directory-v9251) h1{font-size:clamp(24px,2.2vw,30px)!important;letter-spacing:normal!important}
html body :is(.xan-ga-app,.xan-pw-app,.xan-admin-home-v9251,.xan-admin-directory-v9251,.xan-account-main,.xan-portal-main) h2{font-size:clamp(18px,1.5vw,22px)!important}
html body :is(.xan-pw-sidebar,.xan-ga-sidebar,.xan-account-sidebar,.xan-portal-sidebar,.xan-office-sidebar,.mx-sidebar,.xan-os-sidebar,.xan-sidebar,.mx-portal-sidebar,.xan-app-sidebar,.xai-sidebar) :is(a,button,summary){font-family:var(--xan-font-main)!important;font-size:13px!important;font-weight:500!important;line-height:1.4!important;letter-spacing:normal!important;min-height:44px;transform:none!important;text-shadow:none!important;transition-property:background-color,border-color,color,box-shadow!important}
html body :is(.xan-pw-sidebar,.xan-ga-sidebar,.xan-account-sidebar,.xan-portal-sidebar,.xan-office-sidebar,.mx-sidebar,.xan-os-sidebar,.xan-sidebar,.mx-portal-sidebar,.xan-app-sidebar,.xai-sidebar) :is(a,button,summary)>:is(span,strong,b):not(.dashicons):not([class*="icon"]){font-size:inherit!important;font-weight:inherit!important;letter-spacing:normal!important}
html body.xan-admin-premium-v9251 #adminmenu :is(.wp-menu-name,.wp-submenu a){font-family:var(--xan-font-main)!important;font-size:13px!important;font-weight:500!important;line-height:1.4!important;letter-spacing:normal!important;text-shadow:none!important}
html body.xan-admin-premium-v9251 #adminmenu .wp-menu-name{padding-block:10px!important}
html body :is(.xan-pw-nav-heading,.xan-pw-nav-group-title,.xan-admin-menu-group-v9251 button){font-size:11px!important;font-weight:600!important;letter-spacing:.02em!important}
/* Keyboard/hover contrast remains owned by each surface. No blanket text color reset. */
@media(max-width:782px){html body :is(input,select,textarea){font-size:16px!important}html body :is(.xan-pw-sidebar,.xan-ga-sidebar,.xan-account-sidebar,.xan-portal-sidebar,.xan-os-sidebar,.xan-sidebar,.mx-portal-sidebar,.xan-app-sidebar,.xai-sidebar) :is(a,button,summary){font-size:14px!important;min-height:44px}}
@media(prefers-reduced-motion:reduce){html body :is(.xan-pw-sidebar,.xan-ga-sidebar,#adminmenu) :is(a,button,summary){transition:none!important}}
