/* Fit to the screen (Steward, fit1, 27 Oct 2026) — loaded first on every page, public, member and Steward.
   On a phone nothing may be wider than the screen, so the page never slides sideways or needs zooming to find your place.
   Pinch-zoom stays available for anyone who wants it (it is an accessibility need); this only removes the sideways drift. */
html,body{overflow-x:clip;max-width:100%}
@supports not (overflow:clip){html,body{overflow-x:hidden}}
img,video,canvas,iframe,embed,object{max-width:100%;height:auto}
svg:not([width]){max-width:100%}
/* long words, codes, addresses and links wrap instead of pushing the page wide */
p,li,dd,dt,td,th,h1,h2,h3,h4,h5,label,legend,summary,blockquote,figcaption,small,a,code,.kv .v{overflow-wrap:anywhere}
pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}
@media (max-width:760px){
  /* typing in a field never zooms the page (phones zoom in when a field's text is smaller than 16px) */
  input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{font-size:max(16px,1em)}
  /* a wide table scrolls inside its own box rather than widening the page */
  table:not(.ax-table):not(.rows){display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  /* flex and grid children may shrink below their natural width (zero-strength rule: any deliberate min-width still wins) */
  :where(main,.sheet,.shell) *{min-width:0}
}
/* Finding a culprit: add ?fitcheck to any address — anything wider than the screen is outlined in red and named at the top. */
