/* ===== gks-clean: final tidy-up (loads LAST). One icon in menu, tidy dashboard cards, solid header, simple login ===== */

/* ---- side menu: exactly ONE icon tile per item ---- */
#gks-side-drawer .gks-drawer-item>i,
#gks-side-drawer .gks-drawer-item>.gks-emo,
#gks-side-drawer .gks-drawer-item>.new-dot-icon,
#gks-side-drawer .gks-drawer-item>.gks-em,
#gks-side-drawer .gks-drawer-item .gks-txw .gks-em,
#gks-side-drawer .gks-drawer-item>svg{display:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important;border:0!important;flex:0 0 0!important}
#gks-side-drawer .gks-drawer-item>.gks-ic{display:grid!important;flex:0 0 42px!important;width:42px!important;height:42px!important}
#gks-side-drawer .gks-drawer-item>.gks-ic ~ .gks-ic{display:none!important}

/* ---- dashboard stat cards: icon tile + label + value, nothing clipped or overlapping ---- */
html body #page-dashboard .statsGrid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:14px!important}
html body #page-dashboard .statsGrid .statCard{position:relative!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:10px!important;min-height:150px!important;height:auto!important;padding:16px 16px 18px!important;overflow:hidden!important;box-sizing:border-box!important;text-align:left!important}
html body #page-dashboard .statsGrid .statCard .statIcon{position:static!important;display:grid!important;place-items:center!important;flex:0 0 46px!important;width:46px!important;height:46px!important;margin:0!important;padding:0!important;border-radius:15px!important;font-size:22px!important;line-height:1!important;background:linear-gradient(145deg,#a25eef,#6817c4)!important;box-shadow:0 8px 16px -8px rgba(162,94,239,.8),inset 0 1px 0 rgba(255,255,255,.35)!important;transform:none!important;animation:none!important}
html body #page-dashboard .statsGrid .statCard:nth-child(2) .statIcon{background:linear-gradient(145deg,#38bdf8,#2563eb)!important}
html body #page-dashboard .statsGrid .statCard:nth-child(3) .statIcon{background:linear-gradient(145deg,#a78bfa,#6d28d9)!important}
html body #page-dashboard .statsGrid .statCard:nth-child(4) .statIcon{background:linear-gradient(145deg,#34d399,#047857)!important}
html body #page-dashboard .statsGrid .statCard .statIcon .gks-em{width:24px!important;height:24px!important}
html body #page-dashboard .statsGrid .statCard .statLabel{position:static!important;display:block!important;margin:0!important;max-width:100%!important;font-size:10.5px!important;line-height:1.3!important;letter-spacing:.14em!important;white-space:normal!important;overflow:visible!important}
html body #page-dashboard .statsGrid .statCard .statValue{position:static!important;display:block!important;margin:0!important;max-width:100%!important;font-size:25px!important;line-height:1.15!important;font-weight:800!important;overflow:visible!important;white-space:nowrap!important}
html body #page-dashboard .statsGrid .statCard .tapRing{pointer-events:none!important}

/* ---- top header: solid, content never shows through / overlaps ---- */
html body nav#gks-hdr.topHeader,html body #main-app>.topHeader{background:#180e23!important;border-bottom:1px solid rgba(149,95,211,.25)!important;z-index:2147483000!important}
html body nav#gks-hdr.topHeader .brandName{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;min-width:0!important}
html body nav#gks-hdr.topHeader .balance{flex:0 0 auto!important;white-space:nowrap!important}

/* ---- login / register: plain, aligned icons ---- */
#pane-login .gks-em,#pane-register .gks-em,.card .gks-em,.sub .gks-em,.tab .gks-em{vertical-align:-.18em}
.btn .gks-em,button.btn .gks-em{--c1:#120323!important;width:1.1em;height:1.1em}
.gks-em[data-n=lock],.gks-em[data-n=pencil]{--c1:#b68ce7}
