/* MH light preview: presentation layer only */
html{filter:invert(1) hue-rotate(180deg);background:#0a0b0d!important}
img,video,canvas,svg image,#mh-badge{filter:invert(1) hue-rotate(180deg)}
.app-bg{background:#0b0c0e!important}
.card{background:#020203!important;border:1px solid rgba(255,255,255,.06)!important;border-radius:22px!important;box-shadow:0 8px 30px rgba(255,255,255,.04)!important}
aside{background:#030304!important;border-inline-start:1px solid rgba(255,255,255,.07)!important}
aside nav a{border-radius:14px!important}
/* accents: counter-filter restores true colours */
aside nav a[aria-current=page],.btn-primary,button.bg-primary,.btn-gold,.card.p-4:nth-child(2),a.card:nth-child(2){filter:invert(1) hue-rotate(180deg)}
aside nav a[aria-current=page]{background:#f97316!important;border-radius:14px!important;box-shadow:0 8px 20px rgba(249,115,22,.35)}
aside nav a[aria-current=page],aside nav a[aria-current=page] *{color:#fff!important}
.btn-primary,button.bg-primary,.btn-gold{background:#f97316!important;color:#fff!important;border:0!important;border-radius:999px!important}
.card.p-4:nth-child(2),a.card:nth-child(2){background:#f97316!important;border-color:#f97316!important}
.card.p-4:nth-child(2) *,a.card:nth-child(2) *{color:#fff!important}
input,select,textarea{border-radius:14px!important;background:#08090b!important;border:1px solid rgba(255,255,255,.1)!important}
.btn-ghost{border-radius:999px!important;background:#050506!important;border:1px solid rgba(255,255,255,.1)!important}
table{border-radius:18px}
::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:rgba(255,255,255,.25);border-radius:8px}
#mh-badge{position:fixed;bottom:10px;left:10px;z-index:99;font:11px 'IBM Plex Sans Arabic',sans-serif;background:rgba(0,0,0,.6);color:#e2e8f0;padding:5px 10px;border-radius:10px}
@media(max-width:767px){#mh-badge{bottom:70px}}
aside>div:first-child>div:first-child{background:#0b0b0b url(/icon-192.png) center/cover no-repeat!important;filter:invert(1) hue-rotate(180deg);border-radius:12px!important}
aside>div:first-child>div:first-child *{display:none!important}
/* MH login preview: visual only */
#root>div.h-full{background:
 radial-gradient(1100px 380px at 85% 12%,rgba(212,160,60,.38),transparent 62%),
 radial-gradient(900px 420px at 10% 95%,rgba(180,120,30,.30),transparent 60%),
 conic-gradient(from 210deg at 70% 30%,#050505,#241a08 18%,#050505 34%,#3a2a0c 52%,#050505 70%,#1a1206 85%,#050505)!important;color:#f3efe6!important}
.login-hero{background:transparent!important}
.login-hero .login-grid{opacity:.05!important}
.login-hero .bg-white{background:rgba(255,255,255,.08)!important;border:1px solid rgba(212,160,60,.45);backdrop-filter:blur(10px)}
.login-hero h1{color:#fff}
main>.rounded-3xl{background:rgba(18,18,18,.62)!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:22px!important;-webkit-backdrop-filter:blur(26px);backdrop-filter:blur(26px);box-shadow:0 30px 80px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.12)!important}
main>.rounded-3xl h2{color:#fff!important}
main>.rounded-3xl p,main>.rounded-3xl label,main>.rounded-3xl span{color:rgba(255,255,255,.62)!important}
main>.rounded-3xl span.inline-flex{background:rgba(212,160,60,.14)!important;color:#f5c453!important}
main>.rounded-3xl input{background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.14)!important;color:#fff!important;border-radius:12px!important}
main>.rounded-3xl input::placeholder{color:rgba(255,255,255,.35)}
main>.rounded-3xl button[type=submit],main>.rounded-3xl button.btn-primary{background:#fde047!important;color:#111!important;border-radius:12px!important;font-weight:700;box-shadow:0 0 28px rgba(253,224,71,.35)}
main>.rounded-3xl a,main>.rounded-3xl button:not([type=submit]){color:#f5c453!important}
.login-hero .bg-white{background:#0b0b0b url(/icon-192.png) center/cover no-repeat!important;border:1px solid rgba(212,160,60,.55)!important;width:84px!important;height:84px!important}
.login-hero .bg-white>*{display:none!important}
#root>div.h-full.overflow-y-auto.font-sans{filter:invert(1) hue-rotate(180deg)}
