/* The site banner (api-platform/site-banner.js): a thin red bar at the very top of every live page (owner 2026-11-19:
   always red, for a deposit pause or any alert; no colour option), white text on --vla-bad-fill, AA. On the front page and the public site it sits in the page's flow above the nav (the sticky nav takes the
   top once it has scrolled away). In the app it is fixed above the top bar, and the frame's top measure (--vla-top-h,
   60px in tokens.css) grows by its height (--vlsb-h, set by the script), so the top bar, the side menu, the phone menu
   and every sticky column sit under it. */
.vlsb { position: relative; z-index: 60; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 7px 10px 7px 16px; border-bottom: 1px solid rgba(0, 0, 0, .2); background: var(--vla-bad-fill, #dc2626); color: #fff; font: 400 13.5px/1.45 var(--vla-font, "Geist", system-ui, sans-serif); letter-spacing: 0; }
.vlsb__text { flex: 1 1 auto; min-width: 0; margin: 0; text-align: center; overflow-wrap: anywhere; }
.vlsb__link { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .75); text-underline-offset: 2px; }
.vlsb__link:hover { text-decoration-color: #fff; }
.vlsb__x { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: #fff; cursor: pointer; }
.vlsb__x:hover { background: rgba(0, 0, 0, .18); }
.vlsb__x:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }

/* The app (body.vla, not the public site): fixed at the top; the page column starts under it. */
body.vla:not([data-site="public"]) > .vlsb { position: fixed; top: 0; left: 0; right: 0; }
html.vlsb-on body.vla:not([data-site="public"]) { --vla-top-h: calc(60px + var(--vlsb-h, 0px)); }
html.vlsb-on body.vla:not([data-site="public"]) #vla-root { padding-top: var(--vlsb-h, 0px); }
html.vlsb-on body.vla:not([data-site="public"]) .vla-top { top: var(--vlsb-h, 0px); height: 60px; }
@media (min-width: 901px) {
  /* The fixed top bar (app-v4.css): the room the shell keeps for it stays the bar's own; #vla-root keeps the banner's. */
  html.vlsb-on body.vla:not([data-site="public"]) .vla-shell.has-side { padding-top: 60px; }
}
@media (max-width: 640px) {
  .vlsb { padding-left: 12px; font-size: 13px; }
  .vlsb__text { text-align: left; }
}
