/* MH Customer Lightweight Renderer — visual optimization, no business-logic changes.
   The same brand colors, layout and navigation are preserved.
   Disable expensive full-screen backdrop rasterization and perpetual decorative motion.
   Voice/media playback and user-triggered focus/validation states remain intact. */

/* Prevent layer recomposition on every scroll, resize or keyboard opening. */
html.mh-glass-customer body #app,
html.mh-glass-customer body #auth{
  scroll-behavior:auto!important;
}
html.mh-glass-customer body #app :is(
 .side,header.top,.top,.shell,.main,.hero,.card,.stat,.panel-card,
 .support-card,.support-layout,.support-messages,.support-ticket-btn,
 .mh14922-task,.request-row,.mh14922-card,.glass-panel,
 .mh-preview-hero,.mh-easy-welcome,.mh-easy-status,.mh-easy-card,
 #mhEasyDashboard,#customerServiceSupport,#csChat
),
html.mh-glass-customer body #auth :is(
 .auth-card,.auth-pane,.auth-scene,.auth-logo,.mh75-scene
){
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  will-change:auto!important;
  perspective:none!important;
}
/* Expensive blurs are never required for user-critical information. */
html.mh-glass-customer body #app :is(.mh-glass-glow,.mh-liquid-glow,.mh-easy-glow,.mh-hero-shadow,.mh-glass-enter){
  filter:none!important;-webkit-filter:none!important;
}
html.mh-glass-customer body #app :is(
 .mh-glass-enter,.mh128-glass-motion,.mh-liquid-pulse,.mh-glass-shimmer
){
  animation:none!important;transition-property:background-color,color,border-color!important;
  transition-duration:.10s!important;
}
/* Opaque yet brand-matched surfaces prevent light text from disappearing when glass is disabled. */
html.mh-glass-customer.mh-glass-dark body #app :is(.support-card,.support-ticket-btn){
  background-color:#392b3d!important;color:#fff3fa!important;
}
html.mh-glass-customer:not(.mh-glass-dark) body #app :is(.support-card,.support-ticket-btn){
  background-color:#fff9fb!important;color:#382535!important;
}
/* Remove full-viewport fixed effects on mobile and tablet; this is a known costly compositing pattern. */
@media(max-width:1200px),(pointer:coarse){
 html.mh-glass-customer body:before{position:absolute!important;background-attachment:scroll!important}
 html.mh-glass-customer body #app header.top{
   -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
   background:#2a2330!important;
 }
 html.mh-glass-customer body #app :is(.side,header.top,.support-messages,.support-card,.mh-easy-welcome,.mh-easy-status){
   box-shadow:none!important;
 }
 html.mh-glass-customer body #app :is(.mh-glass-enter,.mh-liquid-glow,.mh-glass-shimmer,.mh128-glass-motion){
   animation:none!important;
 }
}