/* The top row of every page of the site: the library's pages, the service's own
   pages, the sign-in page and the chat. It is defined here and nowhere else, so the
   pages cannot drift apart.

   Every rule starts from the header's own classes and takes nothing from the page
   around it (no variables, no inherited font). The chat is another application
   (LibreChat) with its own styles, and it shows the header inside its banner, which
   lets through little more than links and spans carrying a class. The markup is
   _header.html for our own pages and deploy/librechat/chat-banner.js for the chat.

   The row never wraps and is the same height at every width: on a narrow screen
   the entries scroll sideways. The chat measures its banner once, when the page
   loads, and lays itself out beneath it, so a header that grew a second line when
   the window narrowed would push the chat's message box off the screen. */
.oam-header { display:flex; flex-wrap:nowrap; gap:0 1.5rem; align-items:baseline; box-sizing:border-box; min-height:3.44rem; margin:0; padding:.8rem 1.5rem; overflow:auto hidden; scrollbar-width:none; background:#16324f; color:#fff; font:400 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; letter-spacing:normal; text-align:left; white-space:nowrap; }
.oam-header::-webkit-scrollbar { display:none; }
.oam-header .oam-brand { flex:none; color:#fff; font-weight:700; font-size:1.2rem; text-decoration:none; }
.oam-header a.oam-brand:hover { text-decoration:underline; }
.oam-header .oam-nav { display:flex; flex:none; flex-wrap:nowrap; gap:0 1.1rem; }
.oam-header .oam-nav a { color:#d6e2ee; font-size:.95rem; font-weight:400; text-decoration:none; }
.oam-header .oam-nav a:hover { color:#fff; text-decoration:underline; }
.oam-header .oam-nav a.oam-here { color:#fff; border-bottom:2px solid #fff; }
.oam-header .oam-nav a.oam-here:hover { text-decoration:none; }
/* LibreChat's banner pads whatever it shows; the header brings its own padding. */
div:has(> div > .oam-header) { padding:0 !important; }
