/* HJ: shared viewport controls; Dashboard density only. */
html body.md106z-ui.md103c-responsive-shell #mdhj-tools{position:fixed!important;right:12px;bottom:12px;z-index:2147482700;display:flex;gap:6px;align-items:end;font:600 13px/1.4 system-ui,sans-serif;max-width:calc(100vw - 24px)}
#mdhj-tools :is(summary,button,a){box-sizing:border-box;min-height:44px;padding:10px 12px;border:1px solid #416174;border-radius:9px;background:#0d2230;color:#e6f7ff;font:inherit;cursor:pointer;text-decoration:none;overflow-wrap:anywhere}
#mdhj-tools summary{list-style:none}#mdhj-tools summary::-webkit-details-marker{display:none}
#mdhj-tools :is(a,button,summary):focus-visible{outline:2px solid #67e8f9;outline-offset:2px}
#mdhj-tools .mdhj-sections>nav{position:absolute;right:0;bottom:52px;width:min(340px,calc(100vw - 24px));max-height:55vh;max-height:55dvh;overflow:auto;overscroll-behavior:contain;padding:6px;background:#0a1724;border:1px solid #416174;border-radius:10px;box-shadow:0 12px 40px #0009}
#mdhj-tools .mdhj-sections:not([open])>nav{display:none}#mdhj-tools .mdhj-sections>nav a{display:block;margin:3px 0}
#mdhj-tools [hidden]{display:none!important}
main.main :is(h2,h3,.md24-head .md24-kicker){scroll-margin-top:120px}
@media(max-width:980px){
 html body.md106z-ui.md103c-responsive-shell>.bnav{position:fixed!important;display:block!important;left:8px!important;right:8px!important;bottom:env(safe-area-inset-bottom,0px)!important;width:auto!important;max-width:none!important;transform:none!important;margin:0!important;padding:0!important;z-index:2147482750!important}
 html body.md106z-ui.md103c-responsive-shell>.bnav .bar{box-sizing:border-box;height:64px!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important;padding:5px!important;background:#0a1724f5!important}
 html body.md106z-ui.md103c-responsive-shell>.bnav .bar :is(a,button){box-sizing:border-box;min-width:0;min-height:44px!important;height:52px!important;padding:4px 2px!important;margin:0!important}
 html body.md106z-ui.md103c-responsive-shell #mdhj-tools{bottom:calc(72px + env(safe-area-inset-bottom,0px))!important}
 html body.md106z-ui.md103c-responsive-shell main.main{padding-bottom:calc(140px + env(safe-area-inset-bottom,0px))!important}
 html body.md106z-ui.md103c-responsive-shell .md103a-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
 html body.md106z-ui.md103c-responsive-shell .md103a-mobile-links{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
 html body.md106z-ui.md103c-responsive-shell .md103a-mobile-section{margin-bottom:6px!important}
 html body.md106z-ui.md103c-responsive-shell .md103a-mobile-section summary{padding:10px!important;min-height:44px!important}
 html body.md106z-ui.md103c-responsive-shell .md103a-mobile-links a{font-size:12px!important;min-height:44px!important}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=dashboard] .md24 :is(.md24-hero-main,.district-goal,.md24-action,.md24-pad,.md99O-lawpanel){padding:14px!important;min-height:0!important}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=dashboard] .md24 :is(.md24-mainstack,.md24-sidegrid){gap:12px!important}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=dashboard] .mdgy-next ol{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;align-items:start!important}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=dashboard] .mdgy-next li{min-height:0!important;margin:0!important;padding:0!important;align-self:start!important}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=dashboard] .mdgy-next :is(a,summary){min-height:44px;box-sizing:border-box}
}
@media(max-width:380px){html body.md106z-ui.md103c-responsive-shell .md103a-mobile-links{grid-template-columns:1fr!important}}

html body.mdhj-navigation-ready main.main .mdah-index{display:none!important}
/* HK: the search trigger follows Shop; its panel escapes horizontal nav clipping. */
html body.md106z-ui.md103c-responsive-shell .topnav .mdhk-search-button{flex:0 0 auto!important;white-space:nowrap!important;cursor:pointer;font-family:inherit}
html body.md106z-ui.md103c-responsive-shell>.mdhk-search-panel{position:fixed!important;z-index:2147483001!important;box-sizing:border-box;margin:0!important;padding:0!important;border:1px solid #416174;border-radius:10px;background:#0d1c29;color:#e6f2fc;box-shadow:0 12px 40px #0009;max-width:calc(100vw - 24px)!important;max-height:55vh;max-height:55dvh;overflow:auto;overscroll-behavior:contain}
html body.md106z-ui.md103c-responsive-shell>.mdhk-search-panel>summary{display:none!important}
html body.md106z-ui.md103c-responsive-shell>.mdhk-search-panel:not([open]){display:none!important}
html body.md106z-ui.md103c-responsive-shell>.mdhk-search-panel>.mdak-tool-body{position:static!important;box-sizing:border-box;width:100%!important;max-width:none!important;padding:12px!important;background:transparent!important;border:0!important;box-shadow:none!important}
.mdhk-search-panel label{display:block;font:600 12px/1.5 system-ui,sans-serif;margin-bottom:6px}
.mdhk-search-panel input{box-sizing:border-box;width:100%;min-height:44px;margin:0;padding:10px;font:16px/1.4 system-ui,sans-serif;border:1px solid #416174;border-radius:7px;background:#07131f;color:#eef7ff}
.mdhk-search-panel [aria-live]{display:block;font:12px/1.5 system-ui,sans-serif;margin:8px 0;color:#bad0df}
.mdhk-search-panel nav{display:grid;gap:6px}.mdhk-search-panel nav a{display:block;box-sizing:border-box;min-height:44px;padding:10px 12px;border:1px solid #315061;border-radius:7px;background:#142939;color:#c0f0ff;text-decoration:none;overflow-wrap:anywhere;font:13px/1.5 system-ui,sans-serif}
.mdhk-search-panel :is(input,a):focus-visible{outline:2px solid #67e8f9;outline-offset:2px}
html body.md106z-ui.md103c-responsive-shell main.main>.mdak-tools[hidden]{display:none!important}
