/* MH V1127 | Shared visual polish only. No application logic. */
:root{--mh27-blue:#2487e7;--mh27-ink:#193758;--mh27-border:#dbe8f7;--mh27-soft:#edf5ff}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{overflow-x:hidden}
img,svg{max-width:100%}
img{object-fit:contain}
button,a,input,select,textarea{font-family:inherit}
button,a{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--mh27-blue);outline-offset:2px}
/* Uniform icon drawing: no cropping, no stretching, sensible boxes. */
.mh118-icon,.mh118-moreico,.mh1065-nav-icon,.mh1124-icon,
[class*="menu-icon"],[class*="nav-icon"],[class*="action-icon"],[class*="item-icon"],
[class*="tile-icon"],[class*="utility-icon"],.ico,.icon{flex-shrink:0;align-items:center;justify-content:center;line-height:1;overflow:visible}
.mh118-icon svg,.mh118-moreico svg,.mh1065-nav-icon svg,.mh1124-icon svg,
[class*="menu-icon"] svg,[class*="nav-icon"] svg,[class*="action-icon"] svg,
[class*="item-icon"] svg,[class*="tile-icon"] svg,.ico svg,.icon svg{display:block;flex-shrink:0;max-width:100%;max-height:100%;overflow:visible;fill:none;stroke-linecap:round;stroke-linejoin:round}
/* Existing subpages: normalize card rhythm without changing their DOM or click behavior. */
body:not(.mh-main-dashboard) .card{border-radius:15px}
body:not(.mh-main-dashboard) .btn{border-radius:11px;max-width:100%;min-width:0;line-height:1.25}
body:not(.mh-main-dashboard) .actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
body:not(.mh-main-dashboard) input,body:not(.mh-main-dashboard) select,body:not(.mh-main-dashboard) textarea{max-width:100%;min-width:0}
/* Dashboard menu must remain horizontal across breakpoints. */
body .bottom.mh1065-bottom{position:fixed!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;z-index:9990!important}
body .bottom.mh1065-bottom>.inner{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:2px!important;width:min(760px,100%)!important;margin:0 auto!important;min-width:0!important}
body .bottom.mh1065-bottom>.inner>button{min-width:0!important;max-width:none!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:4px!important;padding:8px 1px!important;white-space:normal!important;text-align:center!important;font-size:clamp(10px,2.6vw,13px)!important;line-height:1.1!important}
body .bottom.mh1065-bottom .mh1065-nav-icon{width:25px!important;height:25px!important;min-height:25px!important;display:grid!important;place-items:center!important}
body .bottom.mh1065-bottom .mh1065-nav-icon svg{width:23px!important;height:23px!important;display:block!important}
/* Add order: prevent huge icon wrappers obscuring names, keep original navigation. */
#p-bill,#p-bill *,#p-more,#p-more *,#p-utilities,#p-utilities *{min-width:0}
#p-bill .actions{display:flex;flex-wrap:wrap;gap:7px}
#p-bill .actions>.btn{flex:1 1 110px;max-width:100%;white-space:normal}
#p-bill .grid{max-width:100%}
#p-more .mh-more-sections{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;align-items:start}
#p-more .mh-more-group{min-width:0!important;padding:10px 7px!important}
#p-more .mh-more-group [data-more-item]{display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important;min-height:43px!important;padding:6px!important;overflow:visible!important}
#p-more .mh-more-group [data-more-item]>.mh118-moreico{width:29px!important;height:29px!important;flex:0 0 29px!important;min-width:29px!important;max-width:29px!important;display:grid!important;place-items:center!important;border-radius:9px!important;background:var(--mh27-soft)!important;color:var(--mh27-blue)!important;padding:4px!important}
#p-more .mh-more-group [data-more-item]>.mh118-moreico svg{width:20px!important;height:20px!important;max-width:20px!important;max-height:20px!important;stroke:currentColor!important;fill:none!important}
#p-more .mh-more-group [data-more-item]>span:not(.mh118-moreico){flex:1 1 auto!important;min-width:0!important;max-width:100%!important;overflow-wrap:break-word!important;word-break:normal!important;white-space:normal!important;line-height:1.2!important;font-size:clamp(10px,2.6vw,13px)!important}
#p-more .mh-more-group [data-more-item]>i{flex:0 0 auto;margin-left:auto}
#p-more .mh-more-top{display:flex!important;align-items:center!important;gap:10px!important;min-height:0!important;padding:8px!important}
#p-more .mh-more-brand{flex:0 0 45px!important;width:45px!important;max-width:45px!important;min-width:45px!important}
#p-more .mh-more-brand img{width:100%!important;height:45px!important;object-fit:contain!important}
#p-more .mh-more-search{flex:1 1 auto!important;min-width:0!important}
#p-more .mh-more-top :is(h1,h2,p,.subtitle,.sub){display:none!important}
#p-utilities #mhUtilList.mh-util-grid{gap:8px!important}
#p-utilities #mhUtilList .mh-util-item{min-width:0!important}
#p-utilities #mhUtilList .mh-util-item>a{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-width:0!important;min-height:88px!important;padding:8px 5px!important;overflow:visible!important}
#p-utilities #mhUtilList .mh-util-item>a .mh118-icon{display:grid!important;place-items:center!important;flex:0 0 32px!important;width:32px!important;height:32px!important;min-width:32px!important;max-width:32px!important;background:var(--mh27-soft)!important;border-radius:10px!important;padding:5px!important;color:var(--mh27-blue)!important}
#p-utilities #mhUtilList .mh-util-item>a .mh118-icon svg{width:22px!important;height:22px!important;max-width:22px!important;max-height:22px!important;stroke:currentColor!important;fill:none!important}
#p-utilities #mhUtilList .mh-util-item>a .mh118-label{text-align:center!important;white-space:normal!important;overflow-wrap:break-word!important;line-height:1.18!important;font-size:clamp(10px,2.6vw,12px)!important}
#mh7Dashboard #mh1125QuickMount{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;max-width:470px!important;margin:auto!important}
#mh7Dashboard #mh1125QuickMount .mh1124-item{min-width:0!important;overflow:visible!important}
#mh7Dashboard #mh1125QuickMount .mh1124-icon{display:grid!important;place-items:center!important;overflow:visible!important;flex-shrink:0!important}
@media(min-width:850px){#p-more .mh-more-sections{max-width:850px;margin:0 auto}#p-utilities #mhUtilList.mh-util-grid{max-width:850px;margin:0 auto}body .bottom.mh1065-bottom>.inner{max-width:760px!important}}
@media(max-width:380px){#p-more .mh-more-group{padding:8px 5px!important}#p-more .mh-more-group [data-more-item]>.mh118-moreico{flex-basis:26px!important;width:26px!important;max-width:26px!important;min-width:26px!important;height:26px!important}#p-more .mh-more-group [data-more-item]>.mh118-moreico svg{width:18px!important;height:18px!important}}
