/* MafiaDistrict shared presentation. No action, permission or economy changes. */
html body.md106z-ui.md103c-responsive-shell{--district-bg:#080e16;--district-panel:#101b28;--district-line:#293a4c;--district-text:#edf3f9;--district-muted:#adbdce;background:var(--district-bg)!important;color:var(--district-text);font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}
html body.md106z-ui.md103c-responsive-shell .topbar.hud{display:grid!important;grid-template-columns:210px minmax(0,1fr) 270px!important;gap:20px!important;min-height:112px!important;padding:14px 24px!important;align-items:center!important;border-radius:0!important;border:0!important;border-bottom:1px solid var(--district-line)!important;background:#0d1722!important;box-shadow:none!important;position:relative!important}
html body.md106z-ui.md103c-responsive-shell .mdlogo{border:0!important;background:none!important;box-shadow:none!important;padding:0!important;gap:10px!important}
html body.md106z-ui.md103c-responsive-shell .mdlogo-img{height:42px!important;max-width:44px!important;filter:none!important}
html body.md106z-ui.md103c-responsive-shell .mdlogo-name{font-size:20px!important;letter-spacing:-.03em!important;color:#eff6fc!important;-webkit-text-fill-color:#eff6fc!important}
html body.md106z-ui.md103c-responsive-shell .mdlogo-tag{font-size:8px!important;letter-spacing:.13em!important;color:#879bad!important}
html body.md106z-ui.md103c-responsive-shell .hud-center{width:100%!important;min-width:0!important;overflow:visible!important}
html body.md106z-ui.md103c-responsive-shell .hud-strip{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important;overflow:visible!important;width:100%!important}
html body.md106z-ui.md103c-responsive-shell .hud-item{min-width:0!important;max-width:none!important;width:auto!important;min-height:43px!important;padding:7px 9px!important;gap:3px!important;background:#142130!important;border:1px solid #243446!important;border-radius:7px!important;box-shadow:none!important}
html body.md106z-ui.md103c-responsive-shell .hud-label{font-size:9px!important;color:#9bacbf!important;opacity:1!important}
html body.md106z-ui.md103c-responsive-shell .hud-meta{font-size:12px!important;min-width:0!important;white-space:normal!important;line-height:1.25!important}
html body.md106z-ui.md103c-responsive-shell .hud-sub{font-size:9px!important;opacity:.75!important}
html body.md106z-ui.md103c-responsive-shell .hud-bar{height:3px!important}
html body.md106z-ui.md103c-responsive-shell .hud-right{align-items:center!important;gap:8px!important;min-width:0!important}
html body.md106z-ui.md103c-responsive-shell .hud-userbox{min-width:0!important;width:100%!important;gap:7px!important;position:relative!important}
html body.md106z-ui.md103c-responsive-shell .hud-levels{width:100%!important;gap:5px!important;grid-template-columns:minmax(0,.85fr) minmax(0,.95fr) minmax(0,1.4fr)!important}
html body.md106z-ui.md103c-responsive-shell .lvl-badge{min-width:0!important;min-height:36px!important;padding:5px 7px!important;border-radius:7px!important;background:#142130!important}
html body.md106z-ui.md103c-responsive-shell .lvl-val{font-size:13px!important;line-height:1.1!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body.md106z-ui.md103c-responsive-shell .lvl-lbl{font-size:8px!important;letter-spacing:.06em!important}
html body.md106z-ui.md103c-responsive-shell .hud-rank-title{width:auto!important;font-size:11px!important;margin:0!important}
html body.md106z-ui.md103c-responsive-shell .district-progression{width:100%;font-size:11px;color:#afc4d8}
html body.md106z-ui.md103c-responsive-shell .district-progression>summary{cursor:pointer;text-align:right;padding:3px 0;list-style-position:inside}
html body.md106z-ui.md103c-responsive-shell .district-progression[open]{position:static;width:100%;box-sizing:border-box;padding:14px;background:#101c2a;border:1px solid #3a5269;border-radius:10px;box-shadow:0 16px 48px #0009}
html body.md106z-ui.md103c-responsive-shell .district-progression .hud-prog{display:flex!important;width:100%!important;margin-top:10px!important}
html body.md106z-ui.md103c-responsive-shell .hud-prog-row{font-size:11px!important;opacity:1!important}
html body.md106z-ui.md103c-responsive-shell .topnav-outer{top:0!important;background:#0c1520!important;border-bottom:1px solid #293a4c!important;box-shadow:none!important;padding:0!important}
html body.md106z-ui.md103c-responsive-shell .topnav{padding:8px 24px!important;gap:6px!important;min-height:58px!important;background:none!important}
html body.md106z-ui.md103c-responsive-shell .topnav-link{min-height:40px!important;padding:9px 13px!important;font-size:13px!important;border-radius:7px!important;background:transparent!important;border:1px solid transparent!important;box-shadow:none!important;color:#b6c6d7!important;transform:none!important}
html body.md106z-ui.md103c-responsive-shell .topnav-link.active,html body.md106z-ui.md103c-responsive-shell .topnav-link[aria-expanded=true]{background:#153647!important;border-color:#2c6679!important;color:#dffaff!important}
html body.md106z-ui.md103c-responsive-shell .topnav-link:hover{background:#182b3a!important;color:#fff!important}
html body.md106z-ui.md103c-responsive-shell .topnav-drop-panel{border-radius:10px!important;border:1px solid #354a5e!important;background:#111e2c!important;box-shadow:0 18px 50px #0008!important}
html body.md106z-ui.md103c-responsive-shell .topnav-drop-item{font-size:13px!important;min-height:38px!important;border-radius:6px!important;color:#d2dfec!important}
html body.md106z-ui.md103c-responsive-shell .main>.wrap{max-width:1320px!important;padding:24px!important;margin:0 auto!important}
html body.md106z-ui.md103c-responsive-shell .main{padding-top:0!important}
html body.md106z-ui.md103c-responsive-shell .main :is(.panel,.card,.md-card,.md24-card,.md24-action,.gv2-card,.md-ct-card,.sh-card,.sn-card,.uo-card,.phq-card,.iw43-card,.wr-card,.hm-card,.md67-card,.md79-card){border:1px solid var(--district-line)!important;border-radius:12px!important;box-shadow:none!important;background:var(--district-panel)!important}
html body.md106z-ui.md103c-responsive-shell .main :is(h1,.md24-title){font-size:clamp(26px,2.7vw,38px)!important;line-height:1.12!important;letter-spacing:-.04em!important;text-shadow:none!important}
html body.md106z-ui.md103c-responsive-shell .main :is(h2,h3){letter-spacing:-.025em;line-height:1.25}
html body.md106z-ui.md103c-responsive-shell .main :is(.sub,.muted,.md-muted,.md24-sub,.md24-action p){font-size:13px!important;line-height:1.6!important;color:var(--district-muted)!important}
html body.md106z-ui.md103c-responsive-shell .main :is(button,.btn,.md-btn,.hbtn,.md24-btn,input[type=submit]){min-height:40px!important;padding:9px 14px!important;border-radius:7px!important;font-size:13px!important;font-weight:750!important;box-shadow:none!important;transform:none!important}
html body.md106z-ui.md103c-responsive-shell .main :is(button:disabled,input:disabled,.btn.disabled,[aria-disabled=true]){background:#1b2734!important;border-color:#344354!important;color:#9caaba!important;opacity:1!important;cursor:not-allowed!important;filter:none!important}
html body.md106z-ui.md103c-responsive-shell :is(a,button,summary,input,select,textarea):focus-visible{outline:2px solid #70d4df!important;outline-offset:3px!important}
html body.md106z-ui.md103c-responsive-shell .main :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),select,textarea){min-height:40px!important;font-size:14px!important;border-radius:7px!important;background:#0a1420!important;border:1px solid #3a4c60!important;color:#e8f0f8!important;padding:9px 11px!important}
html body.md106z-ui.md103c-responsive-shell .main :is(.md67-tabs,.h-tabs,.md-tabs,.sn-topnav,.sv43-nav,.iw43-nav,.orgd-nav,.md24-lawtabs){border-radius:9px!important;background:#0b1520!important;border:1px solid #293a4c!important;gap:6px!important;padding:6px!important;overflow-x:auto;flex-wrap:nowrap!important}
html body.md106z-ui.md103c-responsive-shell .main :is(.md67-tabs,.h-tabs,.md-tabs,.sn-topnav,.sv43-nav,.iw43-nav,.orgd-nav,.md24-lawtabs)>a{white-space:nowrap;flex-shrink:0;min-height:38px!important;padding:9px 12px!important;border-radius:6px!important;font-size:13px!important;box-shadow:none!important}
html body.md106z-ui.md103c-responsive-shell .md24.md92L-command{max-width:none!important;padding:0 0 30px!important}
html body.md106z-ui.md103c-responsive-shell .md24 .md24-hero{grid-template-columns:minmax(0,1fr) 300px!important;align-items:stretch!important;gap:16px!important;margin-bottom:16px!important}
html body.md106z-ui.md103c-responsive-shell .md24 .md24-hero-main{min-height:230px!important;padding:28px!important;border-radius:12px!important;border:1px solid #3a5264!important;background:#112333!important}
html body.md106z-ui.md103c-responsive-shell .md24[data-city=manchester] .md24-hero-main{background:linear-gradient(90deg,#091724ee 0%,#091724c9 48%,#09172425 100%),url('/assets/img/cities/manchester-district.webp') center/cover!important}
html body.md106z-ui.md103c-responsive-shell .md24 .md24-hero-main:after{display:none!important}
html body.md106z-ui.md103c-responsive-shell .md24-kicker{font-size:10px!important;color:#79cbd4!important;letter-spacing:.12em!important}
html body.md106z-ui.md103c-responsive-shell .md24 .md24-pill{font-size:11px!important;padding:5px 8px!important;font-weight:650!important}
html body.md106z-ui.md103c-responsive-shell .md24 .md24-actiongrid{grid-template-columns:minmax(0,.85fr) minmax(0,.95fr) minmax(0,1.4fr)!important;gap:16px!important}
html body.md106z-ui.md103c-responsive-shell .md24 .md24-action{min-height:140px!important;padding:20px!important}
html body.md106z-ui.md103c-responsive-shell .md24 .md24-action h3{font-size:18px!important}
html body.md106z-ui.md103c-responsive-shell .md24 .md24-action p{display:block!important;overflow:visible!important;margin-bottom:14px!important}
html body.md106z-ui.md103c-responsive-shell .md24 .md24-map{min-height:0!important;padding:20px!important}
html body.md106z-ui.md103c-responsive-shell .md24 .md24-zone{border-radius:8px!important;padding:14px!important}
html body.md106z-ui.md103c-responsive-shell .md24 .md24-zone span{font-size:12px!important}
html body.md106z-ui.md103c-responsive-shell .md24 .md24-row b{font-size:13px!important}
html body.md106z-ui.md103c-responsive-shell .md24 .md24-row span{font-size:12px!important}
html body.md106z-ui.md103c-responsive-shell .md24 .md25-note:after{content:none!important}
html body.md106z-ui.md103c-responsive-shell .district-goal{padding:22px!important;display:flex;flex-direction:column;justify-content:center;gap:12px}
html body.md106z-ui.md103c-responsive-shell .district-goal h2{font-size:24px;margin:0}
html body.md106z-ui.md103c-responsive-shell .district-goal p{margin:0;color:#aebed0;font-size:13px;line-height:1.5}
html body.md106z-ui.md103c-responsive-shell .district-goal strong{color:#eaf6ff}
html body.md106z-ui.md103c-responsive-shell .district-goal progress{width:100%;height:8px;accent-color:#4eb8c8;border:0;border-radius:8px;background:#263746}
html body.md106z-ui.md103c-responsive-shell .district-goal details{font-size:12px;color:#b8c8d7}
html body.md106z-ui.md103c-responsive-shell .district-goal summary{cursor:pointer}
html body.md106z-ui.md103c-responsive-shell .district-goal details p{padding-top:8px;font-size:12px}
@media(min-width:981px){html body.md106z-ui.md103c-responsive-shell .md24 .md24-zones{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1100px){html body.md106z-ui.md103c-responsive-shell .topbar.hud{grid-template-columns:175px minmax(0,1fr)!important;gap:12px!important}html body.md106z-ui.md103c-responsive-shell .hud-right{grid-column:1/-1!important;justify-content:flex-end!important}html body.md106z-ui.md103c-responsive-shell .hud-userbox{display:grid!important;grid-template-columns:auto 230px auto;align-items:center!important;gap:12px!important;width:auto!important}html body.md106z-ui.md103c-responsive-shell .hud-levels{width:230px!important}html body.md106z-ui.md103c-responsive-shell .district-progression{width:auto!important}html body.md106z-ui.md103c-responsive-shell .md24 .md24-hero{grid-template-columns:minmax(0,1fr) 260px!important}}
@media(max-width:760px){html body.md106z-ui.md103c-responsive-shell .topbar.hud{display:flex!important;flex-wrap:wrap!important;padding:12px!important;gap:10px!important}html body.md106z-ui.md103c-responsive-shell .hud-left{width:100%!important}html body.md106z-ui.md103c-responsive-shell .hud-center{order:3!important;overflow:auto!important}html body.md106z-ui.md103c-responsive-shell .hud-strip{display:flex!important;flex-wrap:nowrap!important;gap:6px!important;width:max-content!important}html body.md106z-ui.md103c-responsive-shell .hud-item{flex:0 0 112px!important;min-width:112px!important}html body.md106z-ui.md103c-responsive-shell .hud-right{order:2!important;width:100%!important}html body.md106z-ui.md103c-responsive-shell .hud-userbox{width:100%!important;grid-template-columns:1fr auto!important}html body.md106z-ui.md103c-responsive-shell .hud-levels{width:200px!important}html body.md106z-ui.md103c-responsive-shell .district-progression{grid-column:1/-1!important}html body.md106z-ui.md103c-responsive-shell .district-progression[open]{width:100%!important}html body.md106z-ui.md103c-responsive-shell .topnav{padding:6px 12px!important}html body.md106z-ui.md103c-responsive-shell .main>.wrap{padding:16px!important}html body.md106z-ui.md103c-responsive-shell .md24 .md24-hero{grid-template-columns:1fr!important}html body.md106z-ui.md103c-responsive-shell .md24 .md24-hero-main{min-height:210px!important;padding:22px!important}html body.md106z-ui.md103c-responsive-shell .md24 .md24-actiongrid{grid-template-columns:1fr!important}html body.md106z-ui.md103c-responsive-shell .md24 .md24-lower,html body.md106z-ui.md103c-responsive-shell .md24 .md24-sidegrid{grid-template-columns:1fr!important}html body.md106z-ui.md103c-responsive-shell .md24 .md24-zones{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(prefers-reduced-motion:reduce){html body.md106z-ui.md103c-responsive-shell *,html body.md106z-ui.md103c-responsive-shell *:before,html body.md106z-ui.md103c-responsive-shell *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
html body.md106z-ui.md103c-responsive-shell .main :is(button,.btn,.md-btn,.hbtn,.md24-btn,input[type=submit]){background:#147e98!important;border:1px solid #297c90!important;color:#f3fbff!important}
html body.md106z-ui.md103c-responsive-shell .main :is(button,.btn,.md-btn,.hbtn,.md24-btn):is(.ghost,.dark,.secondary){background:#172939!important;border-color:#3a5267!important;color:#d5e4f0!important}
html body.md106z-ui.md103c-responsive-shell .main :is(button,.btn,.md-btn,.hbtn):is(.danger,.btn-danger,.negative){background:#532330!important;border-color:#874252!important;color:#ffdae1!important}
html body.md106z-ui.md103c-responsive-shell .main :is(button:disabled,input:disabled,.btn.disabled,[aria-disabled=true]){background:#1b2734!important;border-color:#344354!important;color:#9caaba!important}
html body.md106z-ui.md103c-responsive-shell .main :is(.gv2-y-command,.gv2-hero,.sh-hero,.md-ct-hero){background:#102132!important;border:1px solid #324a5f!important;border-radius:12px!important;box-shadow:none!important;padding:20px!important}
html body.md106z-ui.md103c-responsive-shell .main :is(.gv2-y-title,.gv2-title){font-size:28px!important;line-height:1.2!important;letter-spacing:-.035em!important}
html body.md106z-ui.md103c-responsive-shell .main :is(.gv2-y-copy,.gv2-y-note){font-size:13px!important;line-height:1.6!important;color:#adbdce!important}
html body.md106z-ui.md103c-responsive-shell .gv2 .gv2-stat-row{display:none!important}

/* Keep inbox, identity and logout in separate grid cells; expanding XP grows the header. */
html body.md106z-ui.md103c-responsive-shell .hud-right{display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;align-items:start!important}
html body.md106z-ui.md103c-responsive-shell .hud-phone{grid-column:1;grid-row:1}
html body.md106z-ui.md103c-responsive-shell .hud-userbox{grid-column:2;grid-row:1}
html body.md106z-ui.md103c-responsive-shell .hud-logout{grid-column:2;grid-row:2;justify-self:end}
html body.md106z-ui.md103c-responsive-shell .district-goal progress{-webkit-appearance:none;appearance:none;overflow:hidden}
html body.md106z-ui.md103c-responsive-shell .district-goal progress::-webkit-progress-bar{background:#263746;border-radius:8px}
html body.md106z-ui.md103c-responsive-shell .district-goal progress::-webkit-progress-value{background:#4eb8c8;border-radius:8px}
html body.md106z-ui.md103c-responsive-shell .district-goal progress::-moz-progress-bar{background:#4eb8c8;border-radius:8px}
@media(max-width:1100px){html body.md106z-ui.md103c-responsive-shell .district-progression[open]{grid-column:1/-1!important;width:100%!important}}
