/* v28A106BG: compact shared shell. Later, deliberately scoped cascade. */
html body.md106z-ui.md103c-responsive-shell .topbar.hud {
 display:grid!important;grid-template-columns:205px minmax(0,1fr) 310px!important;
 align-items:center!important;gap:20px!important;padding:10px clamp(12px,2vw,32px)!important;
 min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important;
 position:relative!important;top:auto!important;z-index:100!important;
 background:#0c1721!important;border-bottom:1px solid #273c4b!important;
}
html body.md106z-ui.md103c-responsive-shell .topbar.hud .hud-left {grid-column:1!important;grid-row:1!important;width:auto!important;min-width:0!important;}
html body.md106z-ui.md103c-responsive-shell .topbar.hud .mdlogo {display:flex!important;align-items:center!important;gap:10px!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;max-width:100%!important;}
html body.md106z-ui.md103c-responsive-shell .topbar.hud .mdlogo-img {display:block!important;object-fit:contain!important;width:40px!important;height:40px!important;max-width:40px!important;flex:0 0 40px!important;filter:none!important;}
html body.md106z-ui.md103c-responsive-shell .topbar.hud .mdlogo-wordmark {display:flex!important;flex-direction:column!important;gap:5px!important;min-width:0!important;}
html body.md106z-ui.md103c-responsive-shell .topbar.hud .mdlogo-name {display:block!important;font-size:21px!important;font-weight:800!important;line-height:1.1!important;letter-spacing:-.045em!important;color:#edf1f5!important;-webkit-text-fill-color:#edf1f5!important;background:none!important;text-shadow:none!important;white-space:nowrap!important;}
html body.md106z-ui.md103c-responsive-shell .topbar.hud .mdlogo-tag {display:block!important;white-space:nowrap!important;font-size:8px!important;font-weight:650!important;line-height:1.4!important;letter-spacing:.13em!important;color:#c2a76e!important;}
html body.md106z-ui.md103c-responsive-shell .topbar.hud .hud-center {grid-column:2!important;grid-row:1!important;width:100%!important;min-width:0!important;order:initial!important;padding:0!important;overflow:visible!important;}
html body.md106z-ui.md103c-responsive-shell .topbar.hud .hud-strip {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(140px,1.65fr)!important;gap:4px!important;min-width:0!important;width:100%!important;max-width:900px!important;margin:0 auto!important;}
html body.md106z-ui.md103c-responsive-shell .topbar.hud .hud-item {width:auto!important;min-width:0!important;max-width:none!important;min-height:32px!important;gap:1px!important;padding:4px 7px!important;border:1px solid #263847!important;border-radius:6px!important;background:#111f2c!important;flex:none!important;}
html body.md106z-ui.md103c-responsive-shell .topbar.hud .hud-label {font-size:9px!important;line-height:1.2!important;letter-spacing:.035em!important;}
html body.md106z-ui.md103c-responsive-shell .topbar.hud .hud-meta {font-size:12px!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:anywhere!important;font-variant-numeric:tabular-nums;}
html body.md106z-ui.md103c-responsive-shell .topbar.hud .hud-sub {font-size:9px!important;}
html body.md106z-ui.md103c-responsive-shell .topbar.hud .hud-right {display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;grid-column:3!important;grid-row:1!important;gap:8px!important;align-items:center!important;width:100%!important;min-width:0!important;order:initial!important;}
html body.md106z-ui.md103c-responsive-shell .topbar.hud .hud-phone {grid-column:1!important;grid-row:1!important;width:40px!important;height:40px!important;min-height:40px!important;margin:0!important;align-self:center!important;}
html body.md106z-ui.md103c-responsive-shell .topbar.hud .hud-userbox {grid-column:2!important;grid-row:1!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto!important;gap:6px!important;min-width:0!important;width:100%!important;align-items:center!important;}
html body.md106z-ui.md103c-responsive-shell .topbar.hud .hud-userbox>.userchip {grid-column:1!important;grid-row:1!important;display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;}
html body.md106z-ui.md103c-responsive-shell .topbar.hud .mdal-username {min-width:0!important;flex:1 1 auto!important;font-size:13px!important;line-height:1.4!important;white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important;}
html body.md106z-ui.md103c-responsive-shell .topbar.hud .userchip-role {position:static!important;flex:0 0 auto!important;font-size:9px!important;padding:3px 5px!important;max-width:none!important;line-height:1.3!important;transform:none!important;}
html body.md106z-ui.md103c-responsive-shell .topbar.hud .hud-logout {grid-column:2!important;grid-row:1!important;min-height:32px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:5px 8px!important;font-size:11px!important;}
html body.md106z-ui.md103c-responsive-shell .topbar.hud .md-bg-status-btn {grid-column:1/-1!important;grid-row:2!important;justify-self:end!important;min-height:32px!important;padding:5px 10px!important;font-family:inherit;font-size:12px;font-weight:650;line-height:1.3;color:#d5e2e8!important;border:1px solid #3b4c59!important;background:#162733!important;border-radius:6px!important;cursor:pointer;white-space:nowrap;}
html body.md106z-ui.md103c-responsive-shell .topbar.hud .md-bg-status-btn[data-gift-ready="1"]::after {content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#f5b74c;margin-left:7px;vertical-align:middle;}
/* Native modal sits in the browser top layer, above every navigation layer. */
html body.md106z-ui.md103c-responsive-shell .md-bg-status-dialog {width:min(440px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);box-sizing:border-box;margin:auto;padding:0;background:#101e2a;color:#e5edf3;border:1px solid #4c5a65;border-radius:14px;box-shadow:0 24px 90px #0009;overflow:auto;overscroll-behavior:contain;}
html body.md106z-ui.md103c-responsive-shell .md-bg-status-dialog::backdrop {background:#03090ec7;}
html body.md106z-ui.md103c-responsive-shell .md-bg-dialog-head {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #30414e;background:#101e2a;position:sticky;top:0;z-index:1;}
html body.md106z-ui.md103c-responsive-shell .md-bg-dialog-head h2 {font-size:18px;line-height:1.3;margin:0;}
html body.md106z-ui.md103c-responsive-shell .md-bg-close {min-height:44px;min-width:64px;padding:8px 12px;font:inherit;font-size:13px;color:#edf2f6;border:1px solid #4a5f70;border-radius:7px;background:#1b3040;cursor:pointer;}
html body.md106z-ui.md103c-responsive-shell .md-bg-dialog-body {padding:16px 18px;}
html body.md106z-ui.md103c-responsive-shell .md-bg-status-dialog .hud-levels {display:grid!important;grid-template-columns:1fr 1fr 1.25fr!important;width:100%!important;gap:8px!important;margin:0!important;}
html body.md106z-ui.md103c-responsive-shell .md-bg-status-dialog .lvl-badge {display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-width:0!important;min-height:64px!important;padding:9px 5px!important;border:1px solid #304756!important;background:#152837!important;border-radius:8px!important;}
html body.md106z-ui.md103c-responsive-shell .md-bg-status-dialog .lvl-val {max-width:100%;font-size:18px!important;line-height:1.2;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}
html body.md106z-ui.md103c-responsive-shell .md-bg-status-dialog .lvl-lbl {display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;white-space:nowrap!important;font-size:10px!important;line-height:1.3!important;margin:0!important;}
html body.md106z-ui.md103c-responsive-shell .md-bg-status-dialog .lvl-lbl>span {width:6px!important;height:6px!important;margin:0!important;flex:0 0 6px!important;}
html body.md106z-ui.md103c-responsive-shell .md-bg-status-dialog .hud-rank-title {text-align:left!important;font-size:12px!important;line-height:1.5!important;margin:12px 0!important;overflow-wrap:anywhere;}
html body.md106z-ui.md103c-responsive-shell .md-bg-progress h3 {font-size:13px;margin:18px 0 12px;color:#ceb888;}
html body.md106z-ui.md103c-responsive-shell .md-bg-status-dialog .hud-prog {display:flex!important;flex-direction:column!important;width:100%!important;gap:6px!important;margin:14px 0!important;}
html body.md106z-ui.md103c-responsive-shell .md-bg-status-dialog .hud-prog-row {display:flex!important;justify-content:space-between!important;gap:8px!important;flex-wrap:wrap!important;font-size:12px!important;line-height:1.4!important;white-space:normal!important;}
html body.md106z-ui.md103c-responsive-shell .md-bg-extra-stats:not([hidden]) {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:20px;}
html body.md106z-ui.md103c-responsive-shell .md-bg-extra-stats[hidden] {display:none;}
html body.md106z-ui.md103c-responsive-shell .md-bg-extra-stats .hud-item {padding:10px!important;width:auto!important;min-width:0!important;max-width:none!important;border:1px solid #304756!important;border-radius:8px!important;background:#152837!important;}
html body.md106z-ui.md103c-responsive-shell .md-bg-extra-stats .hud-label {font-size:10px!important;}
html body.md106z-ui.md103c-responsive-shell .md-bg-extra-stats .hud-meta {font-size:14px!important;white-space:normal!important;overflow-wrap:anywhere!important;}
html body.md106z-ui.md103c-responsive-shell :is(.md-bg-status-btn,.md-bg-close,.md-bg-table,.hud-phone,.hud-logout):focus-visible {outline:3px solid #83d8df!important;outline-offset:3px!important;}
/* Header scrolls away. The navigation occupies its own row at the viewport top. */
html body.md106z-ui.md103c-responsive-shell .topnav-outer {position:sticky!important;top:0!important;z-index:205!important;background:#0c1721!important;}
html body.md106z-ui.md103c-responsive-shell .topnav {min-height:44px!important;padding:4px 12px!important;gap:4px!important;}
html body.md106z-ui.md103c-responsive-shell .topnav-link {font-size:12px!important;min-height:36px!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;padding:7px 11px!important;}
html body.md106z-ui.md103c-responsive-shell main.main>.wrap {width:100%!important;max-width:1440px!important;box-sizing:border-box!important;min-width:0!important;margin:0 auto!important;padding:20px clamp(12px,2vw,28px)!important;}
html body.md106z-ui.md103c-responsive-shell main.main :is(.panel,.card,.md24-card,.md24-action,.md24-mainstack,.md24-sidegrid,.md24-grid,.gv2-card,.md-ct-card,.mdz2-grid) {min-width:0!important;max-width:100%;box-sizing:border-box;}
html body.md106z-ui.md103c-responsive-shell .md-bg-table {width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;border-radius:8px;}
html body.md106z-ui.md103c-responsive-shell .md-bg-table table {max-width:none!important;}
html body.md106z-ui.md103c-responsive-shell .md-bg-table[data-overflow="1"] {border-bottom:2px solid #527a91;padding-bottom:6px;}
@media(max-width:1180px) and (min-width:761px) {
 html body.md106z-ui.md103c-responsive-shell .topbar.hud {grid-template-columns:minmax(0,1fr) 310px!important;gap:8px 20px!important;}
 html body.md106z-ui.md103c-responsive-shell .topbar.hud .hud-right {grid-column:2!important;grid-row:1!important;}
 html body.md106z-ui.md103c-responsive-shell .topbar.hud .hud-center {grid-column:1/-1!important;grid-row:2!important;}
 html body.md106z-ui.md103c-responsive-shell .topbar.hud .hud-strip {max-width:none!important;}
}
@media(max-width:980px),(pointer:coarse) {
 html body.md106z-ui.md103c-responsive-shell .topnav-link {min-height:44px!important;}
 html body.md106z-ui.md103c-responsive-shell main.main :is(button,.btn,.md-btn,.hbtn,.md24-btn,input[type=submit],summary) {min-height:44px!important;box-sizing:border-box;}
 html body.md106z-ui.md103c-responsive-shell main.main :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea) {font-size:16px!important;min-height:44px!important;max-width:100%!important;box-sizing:border-box!important;}
 html body.md106z-ui.md103c-responsive-shell main.main {padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))!important;}
 html body.md106z-ui.md103c-responsive-shell .bnav {padding-bottom:env(safe-area-inset-bottom,0px)!important;}
 html body.md106z-ui.md103c-responsive-shell .bnav .bar :is(a,button) {min-height:44px!important;}
 html body.md106z-ui.md103c-responsive-shell main.main>.wrap {padding:14px 12px!important;}
 html body.md106z-ui.md103c-responsive-shell main.main .md24 .md24-hero {grid-template-columns:minmax(0,1fr)!important;}
 html body.md106z-ui.md103c-responsive-shell main.main .md24 .md24-sidegrid {grid-template-columns:minmax(0,1fr)!important;}
 html body.md106z-ui.md103c-responsive-shell main.main .md24 .md24-hero-main {min-height:0!important;padding:20px!important;}
}
@media(max-width:760px) {
 html body.md106z-ui.md103c-responsive-shell .topbar.hud {grid-template-columns:minmax(0,1fr) auto!important;gap:6px 8px!important;padding:8px 12px!important;}
 html body.md106z-ui.md103c-responsive-shell .topbar.hud .hud-left {grid-column:1!important;grid-row:1!important;}
 html body.md106z-ui.md103c-responsive-shell .topbar.hud.md-bg-enhanced .hud-right {display:contents!important;}
 html body.md106z-ui.md103c-responsive-shell .topbar.hud.md-bg-enhanced .hud-phone {grid-column:2!important;grid-row:1!important;width:44px!important;height:44px!important;min-height:44px!important;}
 html body.md106z-ui.md103c-responsive-shell .topbar.hud.md-bg-enhanced .hud-userbox {grid-column:1/-1!important;grid-row:2!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:8px!important;}
 html body.md106z-ui.md103c-responsive-shell .topbar.hud.md-bg-enhanced .hud-userbox>.userchip {grid-column:1!important;grid-row:1!important;}
 html body.md106z-ui.md103c-responsive-shell .topbar.hud.md-bg-enhanced .hud-logout {grid-column:2!important;grid-row:1!important;min-height:44px!important;padding:6px!important;font-size:12px!important;}
 html body.md106z-ui.md103c-responsive-shell .topbar.hud.md-bg-enhanced .md-bg-status-btn {grid-column:3!important;grid-row:1!important;min-height:44px!important;font-size:12px!important;justify-self:stretch!important;}
 html body.md106z-ui.md103c-responsive-shell .topbar.hud.md-bg-enhanced .hud-center {grid-column:1/-1!important;grid-row:3!important;overflow:visible!important;padding:0!important;}
 html body.md106z-ui.md103c-responsive-shell .topbar.hud.md-bg-enhanced .hud-strip {grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.65fr)!important;width:100%!important;max-width:none!important;min-width:0!important;display:grid!important;gap:5px!important;}
 html body.md106z-ui.md103c-responsive-shell .topbar.hud.md-bg-enhanced .hud-item {min-height:40px!important;padding:5px 7px!important;width:auto!important;min-width:0!important;flex:none!important;}
 html body.md106z-ui.md103c-responsive-shell .topbar.hud .mdlogo-img {width:36px!important;height:36px!important;max-width:36px!important;flex-basis:36px!important;}
 html body.md106z-ui.md103c-responsive-shell .topbar.hud .mdlogo-name {font-size:20px!important;}
 html body.md106z-ui.md103c-responsive-shell .topbar.hud .mdlogo-tag {font-size:8px!important;letter-spacing:.09em!important;}
 /* Graceful fallback: all metrics remain available without JavaScript. */
 html body.md106z-ui.md103c-responsive-shell .topbar.hud:not(.md-bg-enhanced) {grid-template-columns:minmax(0,1fr)!important;}
 html body.md106z-ui.md103c-responsive-shell .topbar.hud:not(.md-bg-enhanced) .hud-right {grid-column:1!important;grid-row:2!important;}
 html body.md106z-ui.md103c-responsive-shell .topbar.hud:not(.md-bg-enhanced) .hud-center {grid-column:1!important;grid-row:3!important;overflow-x:auto!important;}
 html body.md106z-ui.md103c-responsive-shell .topbar.hud:not(.md-bg-enhanced) .hud-strip {display:flex!important;width:max-content!important;}
 html body.md106z-ui.md103c-responsive-shell .topbar.hud:not(.md-bg-enhanced) .hud-item {min-width:110px!important;}
 html body.md106z-ui.md103c-responsive-shell main.main .md24 .md24-title {font-size:28px!important;}
 html body.md106z-ui.md103c-responsive-shell main.main .md24 .md24-hero-main {padding:18px!important;}
 html body.md106z-ui.md103c-responsive-shell main.main .md24 :is(.md24-actiongrid,.md24-lower,.md24-sidegrid) {grid-template-columns:minmax(0,1fr)!important;gap:10px!important;}
 html body.md106z-ui.md103c-responsive-shell main.main .md24 .md24-action {min-height:0!important;padding:16px!important;}
 html body.md106z-ui.md103c-responsive-shell main.main .md24 .md24-zones {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 html body.md106z-ui.md103c-responsive-shell main.main .md24 :is(.md24-sub,.md24-action p) {font-size:14px!important;}
 html body.md106z-ui.md103c-responsive-shell main.main .md24 .md24-row {grid-template-columns:28px minmax(0,1fr) auto!important;}
 html body.md106z-ui.md103c-responsive-shell main.main .md24 :is(.md24-pillrow,.md24-head) {flex-wrap:wrap!important;gap:8px!important;}
 html body.md106z-ui.md103c-responsive-shell main.main :is(.md-page,.page,.content,.container) {width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;}
 html body.md106z-ui.md103c-responsive-shell main.main :is(.md24,.md-dt-x,.hcx-r-shell,.iw-y-wrap,.ucz,.sn-l-shell,.sc-k-shell,.bb-c-shell,.hl-b-shell,.bmx-a-shell,.ibx,.tv22e,.ap23e) {max-width:100%!important;width:100%!important;min-width:0!important;padding-left:0!important;padding-right:0!important;margin-top:0!important;box-sizing:border-box!important;}
 html body.md106z-ui.md103c-responsive-shell main.main :is(p,.sub,.muted,.md24-sub,.hud-meta,.md24-line) {overflow-wrap:anywhere!important;}
 html body.md106z-ui.md103c-responsive-shell main.main :is(.md67-tabs,.h-tabs,.md-tabs,.sn-topnav,.sv43-nav,.iw43-nav,.orgd-nav,.md24-lawtabs,.dtx-nav,.hcx-nav,.iw-y-nav,.ucz-nav,.sn-l-nav,.sc-k-topnav,.bb-c-nav,.hl-b-nav,.bmx-a-nav,.md-cs-tabs) {display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:6px!important;max-width:100%!important;min-width:0!important;}
 html body.md106z-ui.md103c-responsive-shell main.main :is(.md67-tabs,.h-tabs,.md-tabs,.sn-topnav,.sv43-nav,.iw43-nav,.orgd-nav,.md24-lawtabs,.dtx-nav,.hcx-nav,.iw-y-nav,.ucz-nav,.sn-l-nav,.sc-k-topnav,.bb-c-nav,.hl-b-nav,.bmx-a-nav,.md-cs-tabs)>a {flex:0 0 auto!important;white-space:nowrap!important;min-height:44px!important;display:inline-flex!important;align-items:center!important;padding:8px 12px!important;}
}
@media(max-width:380px) {
 html body.md106z-ui.md103c-responsive-shell .topbar.hud {padding-left:8px!important;padding-right:8px!important;}
 html body.md106z-ui.md103c-responsive-shell .topbar.hud .hud-userbox>.userchip {flex-wrap:wrap!important;gap:2px 5px!important;}
 html body.md106z-ui.md103c-responsive-shell .topbar.hud .mdal-username {flex-basis:100%!important;}
 html body.md106z-ui.md103c-responsive-shell main.main .md24 .md24-zones {grid-template-columns:minmax(0,1fr)!important;}
}
@media(prefers-reduced-motion:reduce) {html body.md106z-ui.md103c-responsive-shell :is(.topbar.hud,.md-bg-status-dialog) * {animation:none!important;transition:none!important;}}

/* Named page components only: do not flatten maps, inventory slots or game boards. */
@media(max-width:980px){
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page][data-md-page] :is(.md-sr103s-hero-grid,.port102d-layout,.tv22e-grid,.ap23e-grid,.wm21f-grid,.dtx-grid,.iw-y-main,.sn-l-layout,.sc-k-grid,.bb-c-grid,.hl-b-layout,.bmx-a-grid,.ucz-main,.hcx-grid,.iw-y-op-grid,.ucz-actions,.sn-l-ops-grid,.bb-c-board,.hl-b-grid,.bmx-a-form-grid,.sc-k-method-grid,.md-cs-grid,.md-clean-options,.port102n-action-grid,.port102n-job-row){grid-template-columns:minmax(0,1fr)!important;min-width:0!important;}
}
@media(max-width:760px){
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page][data-md-page] :is(.hcx-statgrid,.sn-l-hero-stats,.sc-k-hero-stats,.iw-y-stats,.bb-c-stats,.bmx-a-stats,.md-shop-metrics,.wh-stats,.race-stats,.tv22e-heroStats,.ap23e-heroStats,.wm21f-hero-stats,.dtx-balance-grid,.dtx-modefx-grid,.dtx-outcome-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important;min-width:0!important;}
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page][data-md-page] :is(.bm-y-filter-grid,.port102n-contract-list,.tv22e-routes,.ap23e-routes,.iw-y-form-row,.sn-l-controls,.bb-c-form-grid,.sc-k-tier-grid,.sc-k-empty){grid-template-columns:minmax(0,1fr)!important;min-width:0!important;}
}
@media(max-width:380px){
html body.md106z-ui.md103c-responsive-shell main.main[data-md-page][data-md-page] :is(.dtx-balance-grid,.dtx-modefx-grid,.dtx-outcome-grid,.bb-c-stats,.bmx-a-stats){grid-template-columns:minmax(0,1fr)!important;}
}

@media(max-width:980px) {
 html body.md106z-ui.md103c-responsive-shell.md-bg-dock-ready .md103a-mobile-menu-btn {display:none!important;}
 html body.md106z-ui.md103c-responsive-shell.md-bg-dock-ready .bnav {padding-right:0!important;padding-left:0!important;}
 html body.md106z-ui.md103c-responsive-shell .md103a-mobile-panel {height:calc(100vh - 24px);height:calc(100dvh - 24px);max-width:100%;}
 html body.md106z-ui.md103c-responsive-shell .md103a-mobile-close {width:44px!important;height:44px!important;}
 html body.md106z-ui.md103c-responsive-shell :is(.md103a-mobile-links a,.md103a-quick-grid a,.md103a-mobile-section summary) {min-height:44px!important;box-sizing:border-box!important;}
 html body.md106z-ui.md103c-responsive-shell .fc {left:12px!important;right:auto!important;top:auto!important;bottom:calc(82px + env(safe-area-inset-bottom,0px))!important;transform:none!important;}
 html body.md106z-ui.md103c-responsive-shell .fc-panel {left:0!important;right:auto!important;width:min(340px,calc(100vw - 24px))!important;max-height:calc(100vh - 160px)!important;max-height:calc(100dvh - 160px)!important;}
 html body.md106z-ui.md103c-responsive-shell .fc-list {max-height:none!important;min-height:0;flex:1;}
 html body.md106z-ui.md103c-responsive-shell :is(.fc-x,.fc-send) {min-width:44px!important;min-height:44px!important;}
 html body.md106z-ui.md103c-responsive-shell .fc-inp {min-height:44px!important;font-size:16px!important;}
}

html body.md106z-ui.md103c-responsive-shell .topbar.hud .hud-bar {height:2px!important;margin:0!important;}
@media(max-width:760px){html body.md106z-ui.md103c-responsive-shell .topbar.hud .hud-meta {flex-wrap:wrap!important;gap:1px 4px!important;}}

/* v28A106BH — phone/landscape corrections from supplied live screenshots.
   Desktop declarations above remain byte-for-byte intact. */
@media(max-width:980px) {
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=city] .md98w-wrap {width:100%!important;min-width:0!important;padding:0 0 16px!important;}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=city] .md98w-board {grid-template-columns:minmax(0,1fr)!important;}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=city] .md98w-board>* {min-width:0!important;max-width:100%!important;}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=city] .md98w-list {
  display:grid!important;grid-template-columns:none!important;grid-auto-flow:column!important;
  grid-auto-columns:260px!important;gap:8px!important;width:100%!important;min-width:0!important;
  max-height:none!important;overflow-x:auto!important;overflow-y:hidden!important;
  padding:0 0 6px!important;align-items:start!important;scroll-snap-type:x proximity;scrollbar-width:thin;
 }
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=city] .md98w-city-card {
  display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;gap:10px!important;
  align-items:center!important;align-self:start!important;min-width:0!important;width:100%!important;
  height:auto!important;min-height:92px!important;padding:9px!important;scroll-snap-align:start;
 }
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=city] .md98w-thumb {
  display:block!important;width:72px!important;height:72px!important;min-height:72px!important;
  max-height:72px!important;overflow:hidden!important;align-self:center!important;aspect-ratio:1!important;
 }
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=city] .md98w-thumb img {
  display:block!important;width:100%!important;height:100%!important;max-height:72px!important;
  min-height:0!important;object-fit:cover!important;object-position:center!important;
 }
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=city] .md98w-city-card>span:last-child {min-width:0!important;overflow-wrap:anywhere!important;}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=city] .md98w-city-card strong {font-size:14px!important;line-height:1.3!important;}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=city] .md98w-city-card small {font-size:11px!important;line-height:1.4!important;}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=city] .md98w-hero-inner {grid-template-columns:minmax(0,1fr)!important;min-height:0!important;padding:18px!important;gap:16px!important;}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=city] .md98w-hero {min-height:0!important;}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=city] .md98w-selected-row {grid-template-columns:76px minmax(0,1fr)!important;align-items:center!important;}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=city] .md98w-selected-row img {width:76px!important;height:64px!important;max-height:64px!important;min-width:0!important;object-fit:cover!important;}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=city] .md98w-statline {grid-template-columns:repeat(3,minmax(0,1fr))!important;}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=city] .md98w-statline>div {min-width:0!important;padding:8px!important;}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=city] .md98w-statline span {font-size:8px!important;letter-spacing:.06em!important;overflow-wrap:anywhere!important;}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=city] .md98w-tabs {max-width:100%!important;min-width:0!important;overflow-x:auto!important;scrollbar-width:thin;}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=city] .md98w-tab {min-height:44px!important;display:inline-flex!important;align-items:center!important;flex:0 0 auto!important;box-sizing:border-box!important;}
 html body.md106z-ui.md103c-responsive-shell main.main .md24 .md24-actiongrid {grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important;gap:10px!important;}
 html body.md106z-ui.md103c-responsive-shell main.main .md24 .md24-action {min-height:0!important;height:auto!important;padding:16px!important;}
 html body.md106z-ui.md103c-responsive-shell main.main .md24 .md24-action p {font-size:14px!important;line-height:1.5!important;}
 html body.md106z-ui.md103c-responsive-shell main.main .md99O-lawdeck {grid-template-columns:minmax(0,1fr)!important;}
 html body.md106z-ui.md103c-responsive-shell main.main .md99O-lawsteps {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=law_highway_patrol] .hp27-table {min-width:680px!important;}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=law_highway_patrol] .hp27-table :is(td,th) {font-size:13px!important;line-height:1.45!important;vertical-align:top!important;}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=law_highway_patrol] .hp27-log-actions {justify-content:flex-start!important;}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=law_highway_patrol] .hp27-more-btn {width:auto!important;max-width:100%!important;}
 html body.md106z-ui.md103c-responsive-shell #el-cmdk-hint {display:none!important;}
}
@media(max-width:760px) {
 html body.md106z-ui.md103c-responsive-shell main.main .md24 .md24-actiongrid {grid-template-columns:minmax(0,1fr)!important;}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=city] .md98w-title {font-size:30px!important;line-height:1.12!important;overflow-wrap:anywhere!important;}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=city] .md98w-selected-row b {font-size:20px!important;line-height:1.2!important;}
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=city] .md98w-list {grid-auto-columns:248px!important;}
}
@media(max-width:380px) {
 html body.md106z-ui.md103c-responsive-shell main.main[data-md-page=city] .md98w-hero-inner {padding:14px!important;}
 html body.md106z-ui.md103c-responsive-shell main.main .md99O-lawsteps {grid-template-columns:minmax(0,1fr)!important;}
}
