/* The top bar (AIASSIST-PORT §A3; markup engine/src/pages/util-bar.ts), on every public and
   portal page, loaded after site.css: Investor login signed out; Deal Room, the account, the
   access end date, Admin console and Sign out signed in. Right-aligned, directly above
   header.site-header, sticky at the top; the site's sticky header sticks below it and its fixed
   mobile menu opens below both. It stays one line: the organization and the date drop first,
   then the name is cut.
   Type is 13px beside the menu's 14.5px (owner, 2026-11-24: 60% was too small), 12px on narrow
   phones so an admin's row fits. Each item is the bar's full height, a 36px target.
   On navy-900: white 16.79, g-300 10.34, teal 6.77, g-400 6.47. Colors are site.css tokens. */
:root{--util-h:36px;--util-fs:13px}
@media (max-width:480px){
  :root{--util-fs:12px}
}
html{scroll-padding-top:var(--util-h)}
/* Portal and /inv pages: jumps (#request) and focused fields land below the sticky header too. */
html:has(.portal-body,.util-inv){scroll-padding-top:calc(var(--util-h) + var(--nav-h) + 16px)}
.util-bar{position:sticky;top:0;z-index:101;flex-shrink:0;height:var(--util-h);background:var(--navy-900);color:var(--g-300);
  font-size:var(--util-fs);font-weight:600;line-height:1.2;letter-spacing:.01em}
.util-bar + .site-header{top:var(--util-h)}
.util-bar ~ .mobile-menu{top:calc(var(--util-h) + var(--nav-h));max-height:calc(100vh - var(--util-h) - var(--nav-h));
  max-height:calc(100dvh - var(--util-h) - var(--nav-h))}
.util-bar ~ main .post-aside{top:calc(var(--util-h) + var(--nav-h) + 24px)}
.util-in{max-width:var(--max-w);height:100%;margin:0 auto;padding:0 24px}
.util-nav{display:flex;align-items:center;justify-content:flex-end;gap:22px;height:100%;min-width:0}
.util-link{display:inline-flex;align-items:center;gap:.45em;height:100%;font:inherit;letter-spacing:inherit;color:var(--white);background:transparent;border:0;padding:0;
  cursor:pointer;text-decoration:none;text-underline-offset:.2em;white-space:nowrap}
.util-link:hover,.util-link:focus-visible{color:var(--white);text-decoration:underline}
.util-link:focus-visible{outline:2px solid var(--teal);outline-offset:-2px}
.util-link svg{flex:none;width:1.15em;height:1.15em}
.util-link[aria-current="page"]{color:var(--teal)}
/* The account link keeps a 24px target when the name is cut away. */
.util-account{min-width:24px}
.util-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.util-org{color:var(--g-300)}
.util-meta{flex:none;font-family:var(--mono);font-weight:500;color:var(--g-400);white-space:nowrap}
.util-link.investor,.util-inv,.util-admin,.util-signout{flex:none}
.util-signout{display:inline-flex;height:100%;margin:0}
@media (max-width:760px){
  .util-org{display:none}
}
@media (max-width:640px){
  .util-meta{display:none}
  .util-nav{gap:16px}
}
@media (max-width:480px){
  .util-nav{gap:12px}
}
@media (max-width:360px){
  .util-nav{gap:8px}
}
/* The investor site's link is a fifth item: tighter, so an admin's row fits a 320px phone. */
@media (max-width:480px){
  .util-in:has(.util-inv){padding:0 16px}
  .util-nav:has(.util-inv){gap:8px}
  .util-nav:has(.util-inv) .investor svg{display:none}
}
@media (max-width:360px){
  .util-nav:has(.util-inv){gap:6px;font-size:11px;letter-spacing:0}
}
