/* MH Glass v2 - calm brand palette, accessible card contrast; additive style only. */
html.mh-glass-live:not(.mh-glass-dark) body{background:radial-gradient(ellipse at 12% 9%,rgba(159,29,58,.065),transparent 48%),radial-gradient(ellipse at 86% 85%,rgba(115,49,81,.05),transparent 48%),linear-gradient(143deg,#fcfafb,#f5f1f3 65%,#fbf9fa) fixed!important;color:#29212a!important}
html.mh-glass-live.mh-glass-dark body{background:radial-gradient(ellipse at 12% 10%,rgba(152,36,71,.13),transparent 49%),radial-gradient(ellipse at 88% 82%,rgba(118,43,73,.1),transparent 50%),linear-gradient(135deg,#151218,#211920 62%,#161219) fixed!important;color:#f5edf3!important}
html.mh-glass-live.mh-glass-customer body #app :is(.shell,.main,.panel.active),html.mh-glass-live.mh-glass-office body #office :is(.shell,.main,.content,.panel.active){background-color:transparent!important;background-image:none!important}
/* Override legacy high-specificity rules that left light cards under white dark-mode text. */
html.mh-glass-live:not(.mh-glass-dark) body #app #home.panel :is(.card,.stat):not(#mh1):not(#mh2):not(#mh3),
html.mh-glass-live:not(.mh-glass-dark) body #app #work.panel :is(.card,.mh14922-task):not(#mh1):not(#mh2):not(#mh3),
html.mh-glass-live:not(.mh-glass-dark) body #app .main .card:not(#mh1):not(#mh2):not(#mh3),
html.mh-glass-live:not(.mh-glass-dark) body #office .main .card:not(#mh1):not(#mh2):not(#mh3){
background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(252,249,251,.86))!important;background-color:#faf7f9!important;color:#2d232c!important;border:1px solid rgba(100,67,89,.15)!important;box-shadow:0 11px 29px rgba(41,24,35,.08),inset 0 1px rgba(255,255,255,.8)!important;backdrop-filter:blur(18px) saturate(120%);-webkit-backdrop-filter:blur(18px) saturate(120%)}
html.mh-glass-live.mh-glass-dark body #app #home.panel :is(.card,.stat):not(#mh1):not(#mh2):not(#mh3),
html.mh-glass-live.mh-glass-dark body #app #work.panel :is(.card,.mh14922-task):not(#mh1):not(#mh2):not(#mh3),
html.mh-glass-live.mh-glass-dark body #app .main .card:not(#mh1):not(#mh2):not(#mh3),
html.mh-glass-live.mh-glass-dark body #office .main .card:not(#mh1):not(#mh2):not(#mh3){
background:linear-gradient(150deg,rgba(42,32,44,.97),rgba(51,36,49,.94))!important;background-color:#2d2330!important;color:#f8f0f5!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:0 17px 41px rgba(0,0,0,.25),inset 0 1px rgba(255,255,255,.1)!important;backdrop-filter:blur(18px) saturate(118%);-webkit-backdrop-filter:blur(18px) saturate(118%)}
/* Card text must match its surface; don't override buttons, badges or inputs. */
html.mh-glass-live:not(.mh-glass-dark) body #app :is(#home,#work) :is(.card,.stat,.mh14922-task) :is(h1,h2,h3,h4,p,strong,small,span,div):not(.badge):not(.status):not(.tag):not(button),
html.mh-glass-live:not(.mh-glass-dark) body #office .main .card :is(h1,h2,h3,h4,p,strong,small,span):not(.badge):not(.status):not(button){color:#2d232c!important}
html.mh-glass-live.mh-glass-dark body #app :is(#home,#work) :is(.card,.stat,.mh14922-task) :is(h1,h2,h3,h4,p,strong,small,span,div):not(.badge):not(.status):not(.tag):not(button),
html.mh-glass-live.mh-glass-dark body #office .main .card :is(h1,h2,h3,h4,p,strong,small,span):not(.badge):not(.status):not(button){color:#f8f0f5!important}
html.mh-glass-live:not(.mh-glass-dark) body #app :is(#home,#work) .muted{color:#655963!important}
html.mh-glass-live.mh-glass-dark body #app :is(#home,#work) .muted{color:#d2c4ce!important}
html.mh-glass-live:not(.mh-glass-dark) body :is(#app,#office) :is(.mh108-fin-title,.section-title){color:#9d102c!important}
html.mh-glass-live.mh-glass-dark body :is(#app,#office) :is(.mh108-fin-title,.section-title){color:#ff91a6!important}
/* Brand hero stays charcoal-ruby with white typography, not dark red headings. */
html.mh-glass-live body #app .hero,html.mh-glass-live body .hero-card{background:linear-gradient(130deg,#201820 0%,#412433 59%,#68243b 100%)!important;color:#fff!important;border-color:rgba(255,255,255,.17)!important}
html.mh-glass-live body #app .hero :is(h1,h2,h3,p,span,strong),html.mh-glass-live body .hero-card :is(h1,h2,h3,p,span,strong){color:#fff!important}
html.mh-glass-live.mh-glass-dark body #app :is(.mh108-fin-empty,.mh108-fin-card,.mh108-unallocated,.mh14922-file,.file-row){background-color:#faf7f9!important;color:#2e232d!important}
html.mh-glass-live.mh-glass-dark body #app :is(.mh108-fin-empty,.mh108-fin-card,.mh108-unallocated,.mh14922-file,.file-row) :is(div,span,p,strong,small){color:#2e232d!important}
html.mh-glass-live body :is(.primary,.btn-primary){background:#b3122f!important;color:#fff!important}
html.mh-glass-live body #mh-glass-switch{background:#241b27;color:#fff;border-color:rgba(255,255,255,.25)}
@media(prefers-reduced-motion:reduce){html.mh-glass-live *{animation-duration:.01ms!important;transition-duration:.01ms!important}}