/* Eskimo One - the ONE app header every module uses (owner, 2026-11-04: "same format for the header ... when you click logo,
   it should go to its own apps main page, and we can add 'Eskimo One' ... which will bring back to Eskimo One page").
   Served by the core at /assets/one-header.css; every app links it from there, so a change here changes every app.
   Sizes are in px on purpose: apps have different root font sizes, and rem would make the header differ. Works with or
   without Bootstrap. The markup is in docs/HEADER_STANDARD.md. */
.eo-header { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; min-height: 56px; padding: 6px 16px; box-sizing: border-box;
  background: radial-gradient(900px 260px at 88% -30%, rgba(255, 255, 255, .20), transparent 65%), linear-gradient(118deg, #07485a 0%, #0B6478 42%, #0E98B0 100%);
  box-shadow: 0 2px 10px rgba(7, 72, 90, .25); color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 15px; line-height: 1.4; }
.eo-header *, .eo-header *::before, .eo-header *::after { box-sizing: border-box; }
header.eo-header a { color: rgba(255, 255, 255, .88); text-decoration: none; }
header.eo-header a:hover, header.eo-header a:focus { color: #fff; }
/* the logo and the app name: one link to this app's own main page */
.eo-brand { display: inline-flex; align-items: center; gap: 10px; padding: 2px 0; margin: 0; }
header.eo-header .eo-brand { color: #fff; }
.eo-brand img { height: 34px; width: auto; display: block; }
.eo-brand .eo-app { font-size: 15px; font-weight: 500; letter-spacing: .02em; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .28); white-space: nowrap; }
/* a part of an app (owner, 2026-11-05: Chiller Monitor and Probes inside Engineering, and the same in every app): the brand
   names the app and goes to its main page, the part follows after a "›" and goes to the part's own main page:
   <a class="eo-brand" href="/engineering/">...<span class="eo-app">Engineering</span></a><a class="eo-part" href="/engineering/chiller/">Chiller Monitor</a> */
header.eo-header .eo-part { display: inline-flex; align-items: center; margin-left: -8px; padding-right: 14px; border-right: 1px solid rgba(255, 255, 255, .28); color: #fff; font-size: 15px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; }
header.eo-header .eo-part::before { content: "\203A"; margin-right: 8px; color: rgba(255, 255, 255, .6); font-weight: 400; }
header.eo-header .eo-brand:hover .eo-app, header.eo-header .eo-part:hover { text-decoration: underline; text-underline-offset: 3px; }
/* the app's own menu */
.eo-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; flex: 1 1 auto; margin: 0; padding: 0; list-style: none; font-size: 15px; }
header.eo-header .eo-nav a.active { color: #fff; font-weight: 600; }
/* a count of what waits, after a menu label: <a href="...">Handover <span class="eo-count">3</span></a> (light pill: a teal one would vanish on the band) */
header.eo-header .eo-count { display: inline-block; min-width: 18px; margin-left: 3px; padding: 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #07485a; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; vertical-align: 1px; }
/* right side: the way back to Eskimo One, then the person */
.eo-right { display: flex; align-items: center; gap: 14px; margin-left: auto; font-size: 14px; }
header.eo-header .eo-home { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px 3px 6px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; color: #fff; font-size: 13px; white-space: nowrap; }
header.eo-header .eo-home:hover { background: rgba(255, 255, 255, .12); }
.eo-home img { width: 18px; height: 18px; display: block; filter: brightness(0) invert(1); }   /* the teal igloo, drawn white on the band */
.eo-user { display: inline-block; white-space: nowrap; }
@media (max-width: 640px) { .eo-brand img { height: 28px; } .eo-nav { order: 3; flex-basis: 100%; } .eo-right { min-width: 0; } .eo-user { max-width: 38vw; overflow: hidden; text-overflow: ellipsis; } }
/* the bell: what waits for this person across the apps (assets/one-bell.js, docs/WAITING_STANDARD.md); the same look in the core's own bar */
.eo-bell { position: relative; display: inline-flex; align-items: center; }
.eo-bell[hidden] { display: none; }
.eo-bell-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: rgba(255, 255, 255, .9); cursor: pointer; }
.eo-bell-btn:hover, .eo-bell-btn:focus-visible, .eo-bell-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .14); color: #fff; outline: none; }
.eo-bell-n { position: absolute; top: 1px; right: -2px; min-width: 18px; padding: 0 5px; border-radius: 999px; background: #e8590c; color: #fff; font: 700 11px/18px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; text-align: center; box-shadow: 0 0 0 2px #0B6478; }
.eo-bell-n[hidden] { display: none; }
.eo-bell-panel { position: absolute; top: calc(100% + 8px); right: -6px; z-index: 1080; width: 340px; max-width: calc(100vw - 24px); max-height: 70vh; overflow-y: auto; padding: 6px 0; border-radius: 10px; background: #fff; color: #1d2b33; box-shadow: 0 10px 30px rgba(7, 40, 52, .28); font: 400 14px/1.35 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; text-align: left; }
.eo-bell-panel[hidden] { display: none; }
.eo-bell-head { padding: 8px 14px 6px; font-weight: 600; color: #07485a; }
.eo-bell-app { padding: 8px 14px 3px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5f7680; border-top: 1px solid #e6edf0; }
.eo-bell-panel a.eo-bell-item, .eo-bell-panel .eo-bell-item { display: block; padding: 7px 14px; color: #1d2b33; text-decoration: none; }
.eo-bell-panel a.eo-bell-item:hover, .eo-bell-panel a.eo-bell-item:focus { background: #eef6f8; color: #1d2b33; }
.eo-bell-top { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }
.eo-bell-kind { font-weight: 700; color: #0B6478; }
.eo-bell-kind.eo-bell-mention { color: #7048e8; }
.eo-bell-age { color: #7a8d95; white-space: nowrap; }
.eo-bell-title { margin-top: 1px; font-weight: 500; overflow-wrap: anywhere; }
.eo-bell-sub { font-size: 12px; color: #5f7680; overflow-wrap: anywhere; }
.eo-bell-fail { padding: 8px 14px 4px; font-size: 12px; color: #a0521a; border-top: 1px solid #e6edf0; }
@media (max-width: 640px) { .eo-bell-panel { position: fixed; top: 60px; right: 12px; left: 12px; width: auto; max-width: none; } }
@media print { .eo-header { display: none !important; } }   /* printouts carry the document header, not the app band (rule: login pages and printouts are the exceptions) */
