/* Phase 11.4: native mobile content primitives. Home, desktop, player and
   navigation ownership are untouched. Existing specialist service styles remain active. */
@media (max-width:767px){
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page { --mx114-gap:12px; --mx114-radius:16px; --mx114-surface:#101b28; --mx114-line:#26394b; --mx114-muted:#aebccc; scroll-padding-top:12px; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page > :is(.page-title,.panel,.form,.table-list,.parity-hub,.stats,.grid,.mx-grid,.filters,.section) { box-sizing:border-box!important; min-width:0!important; max-width:100%!important; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page > :is(.page-title,.panel,.form,.table-list,.parity-hub,.stats,.grid,.mx-grid,.filters,.section):not([class*="mxso-"]) { margin-inline:12px!important; width:calc(100% - 24px)!important; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page :is(.page-title,.media-native-head,.settings-appbar) [data-mx114-duplicate-title] { position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;margin:-1px!important;padding:0!important;border:0!important; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page .page-title { padding:8px 0 0!important;margin-block:0 12px!important;min-height:0!important; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page .page-title p { font-size:13px!important;line-height:1.45!important;color:var(--mx114-muted)!important;margin:0!important; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page :is(.panel,.auth-card,.parity-hub-card,.list-row):not(.mx-listing-card,.sports-match-card) { box-sizing:border-box!important;min-width:0!important;max-width:100%!important;border-radius:var(--mx114-radius)!important; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page > .panel { padding:14px!important; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page :is(.parity-hub,.table-list) { display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page .parity-hub-card { grid-template-columns:40px minmax(0,1fr) auto!important;min-height:68px!important;padding:12px!important;gap:10px!important; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page .parity-hub-card > div { min-width:0!important;overflow-wrap:anywhere; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page .parity-hub-card > span { width:40px!important;height:40px!important; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page .list-row { padding:12px!important;gap:10px!important;align-items:center; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page .list-row > div:not(.thumb) { min-width:0!important;flex:1 1 0;overflow-wrap:anywhere; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page .list-row :is(h3,p) { white-space:normal!important;overflow-wrap:anywhere; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page .list-row .status { max-width:38%;white-space:normal!important;overflow-wrap:anywhere;text-align:end; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page :is(.stats,.mx-stats) { grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page :is(.stats,.mx-stats) > .stat { min-width:0!important;overflow-wrap:anywhere;padding:12px!important;border-radius:14px!important; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page :is(.form,.mx-form-grid,.mx-support-grid,.mx-cart-layout,.mxp-order-fields,.mm-submit-grid,.job-detail-layout) { min-width:0!important;max-width:100%!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page :is(.form,.mx-form-grid) label { min-width:0!important;display:grid;gap:6px;line-height:1.4; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page :is(.form,.mx-dist-form,.mx-listing-form,.mx-checkout-form,.mm-submit-form,.flutter-profile-form,.mxv3-form) :is(input:not([type=hidden],[type=checkbox],[type=radio],[type=range],[type=color]),select,textarea) { box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:46px!important;border-radius:12px!important;font-size:16px!important;padding:10px 12px!important; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page :is(.form,.mx-dist-form,.mx-listing-form,.mx-checkout-form,.mm-submit-form) textarea { min-height:100px!important;resize:vertical; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page :is(.form,.mx-support,.mx-wizard,.mx-checkout-page,.flutter-profile-screen) .btn { min-height:46px!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page :is(.filters,.mx-seller-actions,.mx-support-nav,.mx-dist-controls,.mxjobs-actions,.jobs-toolbar) { min-width:0!important;max-width:100%!important;gap:8px!important;flex-wrap:wrap; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page :is(.filters,.xtra-search-wrap) input:not([type=checkbox],[type=radio],[type=hidden]) { font-size:16px!important;min-width:0!important;max-width:100%!important;min-height:44px; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page :is(.section-head,.mm-report-head,.mx-dist-head) > * { min-width:0;overflow-wrap:anywhere; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page :is(.table-responsive,.table-scroll,.mx-table-scroll) { max-width:100%;overflow-x:auto;overscroll-behavior-x:contain; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page :is(.rail,.horizontal-grid,.listen-tabs,.watch-filter-tabs,.mm-tabs,.mxv3-tabs) { overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page :is(.empty,.error,.empty-state) { max-width:100%;overflow-wrap:anywhere; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell > #page.page :is(.mx-news-detail,.mx-support) pre { white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%; }
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell:has(#globalPlayer.mx-floating-video:not(.expanded)) > #page.page {padding-bottom:108px!important;scroll-padding-bottom:108px!important;}
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.mx-auth-mockup,.video-playback-active,.mxso-launching) > #app.app-shell:has(#globalPlayer:not(.expanded) #miniPlayer) > #page.page {padding-bottom:108px!important;scroll-padding-bottom:108px!important;}
  /* Existing modal only: keep actions and scrolling, present at the bottom. */
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.video-playback-active) .flutter-dialog-backdrop {align-items:end!important;justify-items:center!important;padding:12px 8px max(12px,env(safe-area-inset-bottom,0px))!important;}
  html[data-mx11-active] body:not(.mxso-home,.auth-route,.video-playback-active) .flutter-dialog-backdrop .flutter-dialog {width:min(100%,480px)!important;max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important;border-radius:22px 22px 16px 16px!important;overflow-y:auto!important;}
}
