/* ============================================================================
   THE PAGE HEADER ON A PHONE SHOWING THE DESKTOP SITE — R-1400 (owner, 27 Nov 2026: "I opened pace in mobile browser and in
   desktop mode … those headers … are cluttered at the top. Can you solve that issue without affecting the desktop view on desktop
   and laptop").
   A phone in "desktop site" mode is ~980px wide, so it gets the desktop header: the title in a column on the left, the search, the
   clock and the light/dark switch beside it. The search keeps its 420px, so the title's summary was squeezed into a column a few
   words wide (one word per line with the menu open, the search box drawn over it).
   The fix: on a TOUCH-ONLY screen (no mouse — a phone or tablet; a laptop's touch screen still has its trackpad, so it is not one)
   between 861px and 1100px wide, the header stacks the way the phone layout already does — search, clock and switch on the first
   row; the title and its summary across the full width under it; the page's main button at the right of the title.
   A desktop or laptop is never touch-only, so nothing changes there. A phone held normally (860px and under) keeps its own layout
   from new-pace-look.css. Undo: delete this file and its one <link> in index.html. Guard: test/header-fit-smoke.mjs.
   ============================================================================ */
@media (min-width:861px) and (max-width:1100px) and (hover:none) and (pointer:coarse){
  html[data-new-pace] #topbar,html[data-new-pace] body.ui-kit #topbar{grid-template-columns:auto minmax(0,1fr) auto;
    grid-template-areas:"chips search right" "head head act";row-gap:var(--np-space-3)}
  html[data-new-pace] body.ui-kit .tb-head{align-self:end;padding-top:0;min-width:0}
}
