/* mobilefit2 (NDRS.ai Bot (Grok) 2026-11-02): iPhone home-screen app opened the Command Center wider than the screen.
   Root cause: the fixed bottom headline ticker carries a ~7,800px-wide animated track; iOS WebKit counted it toward page width.
   Real fixes first, then the overflow safety net. Pure CSS, no app.js change, so it ships alone or on top of finance1. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
/* 1. Ticker: hard-contain the long track inside the bar */
.nw-ticker{max-width:100vw;contain:layout paint;overflow:clip}
.nw-ticker-window{min-width:0;max-width:100%;contain:paint;overflow:hidden}
@supports(overflow:clip){.nw-ticker-window{overflow-x:clip}}
@media(prefers-reduced-motion:reduce){.nw-ticker-window{overflow-x:auto}}
/* 2. Shell columns may shrink below their content */
.app-shell,.main,.content,.content>*,.topbar,.topbar>*{min-width:0;max-width:100%}
/* 3. Header buttons (Doodle etc.) wrap instead of pushing past the edge */
.topbar{flex-wrap:wrap}
.topbar-actions{flex-wrap:wrap;justify-content:flex-end;min-width:0;max-width:100%}
/* 4. Card headers with Refresh / Show list wrap */
.shp-head,.shp-head>*,.ap-head,.card-head{min-width:0;max-width:100%}
.card-head,.ap-head{flex-wrap:wrap}
/* 5. Shipment stats strip: equal grid columns that always fit */
.shp-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:100%;min-width:0}
.shp-tab{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* 6. Map and media never exceed their box */
.shp-body,.shp-stage,.shp-map,.shp-map svg,.shp-list{min-width:0;max-width:100%}
img,video,canvas{max-width:100%}
/* 7. Safety net, in addition to the above */
html,body{overflow-x:hidden}
@supports(overflow:clip){html,body{overflow-x:clip}}
