/* A strip across the top of every page that has the navy bar.

   In a home-screen web app, iPadOS lays a fade under its status bar: a blur
   and a dimming over the first sixty points of the page (Greg, 2026-10-11, on
   iPadOS 27: "the gradient over the top"). It does that to any page whose top
   is ordinary content, and stops when the page shows it has a bar of its own,
   which to iPadOS means an element fixed to the top edge. It then carries that
   element's colour up under the clock instead.

   Our bars are in the normal flow, so they were faded with everything else.
   This strip is the fixed element. It is the bar's own colour and sits over
   the bar's top padding, so it cannot be seen; all it changes is what iPadOS
   decides about the page.

   Measured in a web clip on an iPadOS 27 simulator before any of this was
   written. A strip of 4px is ignored and one of 6px works. A transparent one,
   a pseudo-element and one behind the content are all ignored. `sticky` on
   the bar itself works only where the document is what scrolls, which is not
   the viewer, and three pages already stick a table head to the same edge.
   Padding by the safe-area inset does nothing: the inset is zero here, because
   the page already starts below the status bar. */
#top-edge {
  position: fixed; top: 0; left: 0; right: 0; height: 8px;
  background: #16213e;
  /* Over the bar, under every overlay: a sheet or dialog that covers the top
     is fixed itself, and is then the element iPadOS reads. */
  z-index: 50;
  pointer-events: none;
}
/* The snapshot renderer draws a chart for an image, with no chrome. */
body.snapshot #top-edge { display: none; }
