/* V1065 - layout only; no Firebase/business logic */
:root{--mh1065-blue:#165ac2;--mh1065-dark:#163557;--mh1065-border:#deebfa}
#p-more .mh-more-shell{width:100%;max-width:1200px;margin:0 auto;padding:clamp(10px,2.2vw,20px)!important;box-sizing:border-box}
#p-more .mh-more-top{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;border-radius:20px!important;padding:16px!important;margin-bottom:14px!important;background:linear-gradient(125deg,#eef5ff,#fff)!important;border:1px solid #dbe7f7!important}
#p-more .mh-more-brand{display:flex;align-items:center;gap:11px;min-width:0}
#p-more .mh-more-brand img{width:44px!important;height:44px!important;object-fit:contain;flex:none}
#p-more .mh-more-brand b{font-size:16px!important;color:var(--mh1065-dark)}
#p-more .mh-more-brand small{display:block;font-size:11px!important;color:#64748b}
#p-more .mh-more-search{flex:1 1 210px;max-width:420px;min-width:0;display:flex;align-items:center;gap:8px;min-height:46px;padding:0 13px;border:1px solid #dce8f6;border-radius:13px;background:#fff;box-sizing:border-box}
#p-more .mh-more-search input{border:0!important;background:transparent!important;outline:0;min-width:0;width:100%;height:43px;font-size:14px}
#p-more .mh-more-sections{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:stretch}
#p-more .mh-more-group{min-width:0;display:flex;flex-direction:column;gap:7px;padding:13px!important;margin:0!important;border:1px solid var(--mh1065-border)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 3px 16px rgba(23,57,94,.04)!important}
#p-more .mh-more-group h3{font-size:13px!important;margin:1px 1px 5px!important;color:var(--mh1065-dark);line-height:1.45}
#p-more .mh-more-group a,#p-more .mh-more-group button{width:100%!important;min-width:0!important;box-sizing:border-box!important;min-height:48px!important;margin:0!important;padding:9px 11px!important;border:1px solid #e8eff9!important;border-radius:12px!important;background:#f7faff!important;text-decoration:none!important;color:#193c60!important;font-family:inherit!important;font-size:13px!important;font-weight:650!important;display:flex!important;align-items:center!important;gap:9px!important;text-align:left!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:anywhere}
#p-more .mh-more-group a span,#p-more .mh-more-group button span{flex:1;min-width:0}
#p-more .mh-more-group a i,#p-more .mh-more-group button i{font-style:normal;color:#6d8ab4;font-size:18px;margin-left:auto}
#p-more .mh-more-group a:active,#p-more .mh-more-group button:active{background:#e5f0ff!important}
#p-more .mh-more-group a:focus-visible,#p-more .mh-more-group button:focus-visible{outline:3px solid #9ec5fa!important;outline-offset:2px}
#p-more .mh-more-group [style*="display:none"]{display:none!important}
/* Privacy wins over visual layout on protected elements */
body:not(.mh-owner-admin) #p-more [data-admin-private="1"],body:not(.mh-owner-admin) #p-more .mh-more-group[data-admin-private="1"],body:not(.mh-owner-admin) #p-more a[data-admin-private="1"],body:not(.mh-owner-admin) #p-more button[data-admin-private="1"]{display:none!important}
/* Keep existing role-hiding selectors intact */
.bottom.mh1065-bottom{padding:7px max(8px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))!important;background:rgba(255,255,255,.97)!important;border-top:1px solid #dbe6f5!important;box-shadow:0 -5px 22px #09295115!important}
.bottom.mh1065-bottom .inner{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important;max-width:680px!important;margin:auto!important}
.bottom.mh1065-bottom button{min-width:0!important;width:100%!important;height:62px!important;min-height:62px!important;border:1px solid transparent!important;border-radius:14px!important;background:transparent!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:4px!important;padding:7px 2px!important;color:#60738d!important;font:700 10.5px/1.1 Inter,system-ui,sans-serif!important;white-space:nowrap!important;box-shadow:none!important}
.bottom.mh1065-bottom .mh1065-nav-icon{width:25px;height:25px;display:flex;align-items:center;justify-content:center}
.bottom.mh1065-bottom .mh1065-nav-icon svg{width:24px;height:24px;display:block}
.bottom.mh1065-bottom button.active{background:#e8f1ff!important;color:var(--mh1065-blue)!important;border-color:#cfe3ff!important}
.bottom.mh1065-bottom button:focus-visible{outline:2px solid #2468cc;outline-offset:1px}
/* Compact, balanced shortcuts in utility / additional panels */
#p-utilities .serviceGrid,#p-more .serviceGrid,#p-dashboard .serviceGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
#p-utilities .serviceGrid > *,#p-dashboard .serviceGrid > *{min-width:0;box-sizing:border-box;overflow-wrap:anywhere}
@media(min-width:700px){#p-more .mh-more-sections{grid-template-columns:repeat(3,minmax(0,1fr))!important}#p-utilities .serviceGrid,#p-dashboard .serviceGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(min-width:1100px){#p-more .mh-more-sections{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:420px){#p-more .mh-more-shell{padding:9px!important}#p-more .mh-more-sections{gap:9px!important}#p-more .mh-more-group{padding:9px!important;border-radius:14px!important}#p-more .mh-more-group a,#p-more .mh-more-group button{font-size:11.5px!important;padding:8px!important;min-height:48px!important}#p-more .mh-more-group h3{font-size:12px!important}#p-more .mh-more-top{padding:12px!important}#p-more .mh-more-search{flex-basis:100%;max-width:none}.bottom.mh1065-bottom button{font-size:9.5px!important}}
@media(max-width:345px){#p-more .mh-more-sections{grid-template-columns:1fr!important}.bottom.mh1065-bottom button{font-size:9px!important}.bottom.mh1065-bottom .mh1065-nav-icon svg{width:21px;height:21px}}
