/* M4.7.1.1 mobile layout (docs/MILESTONE_4_7_1_1_MOBILE_LAYOUT.md), kept apart from app.css.
   The header wraps instead of widening the page; pages opt in to breaking long URLs (.wrap-anywhere on <main>);
   horizontally scrollable tables (.table-scroll) are focusable regions with a visible focus ring. */
header { flex-wrap: wrap; row-gap: 6px; }
.wrap-anywhere { overflow-wrap: anywhere; }
.table-scroll { max-width: 100%; }
.table-scroll:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* M4.8.2.2: the homepage's sites table scrolls inside .table-scroll; the right-most action's tooltip opens leftwards so its
   (invisible until hover or focus) box never widens that region and adds a needless scrollbar at desktop widths. */
table.portfolio .js-scan-now .icon-action[data-tip]::after { left: auto; right: 0; transform: none; }
