/* Newvision - guest notice in the site header.
   A signed-out visitor sees, in the header itself, that they are browsing as a guest,
   with a short prompt and a sign-in action. Never an error look: a calm, clear invitation.
   Loaded on every page as brand/guestbar.css?v=gb1 + brand/guestbar.js?v=gb1. */

.nvguest {
  --nvg-bg: var(--nv-cloud, #eef4fb);
  --nvg-ink: var(--ink, #16202c);
  --nvg-muted: var(--muted, #5b6b7c);
  --nvg-line: var(--line, #d6e0ea);
  --nvg-accent: var(--nv-blue, #1b63d6);
  display: none;
  flex: 1 1 100%;
  align-items: center;
  gap: 10px 14px;
  flex-wrap: wrap;
  margin: 10px 0 0;
  padding: 9px 14px;
  border: 1px solid var(--nvg-line);
  border-radius: 14px;
  background: var(--nvg-bg);
  color: var(--nvg-ink);
  font: inherit;
  line-height: 1.45;
}
html.nv-guest .nvguest { display: flex; }

.nvguest .nvg-dot {
  inline-size: 9px;
  block-size: 9px;
  border-radius: 50%;
  background: var(--nvg-accent);
  box-shadow: 0 0 0 4px rgba(27, 99, 214, .14);
  flex: 0 0 auto;
}
.nvguest .nvg-txt { flex: 1 1 240px; min-inline-size: 0; font-size: .95rem; }
.nvguest .nvg-txt b { font-weight: 700; }
.nvguest .nvg-txt span { display: block; color: var(--nvg-muted); font-size: .88rem; }
.nvguest .nvg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 9px 18px;
  background: var(--nvg-accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: .93rem;
  cursor: pointer;
  white-space: nowrap;
}
.nvguest .nvg-btn:hover { filter: brightness(1.06); }
.nvguest .nvg-btn:focus-visible { outline: 3px solid rgba(27, 99, 214, .45); outline-offset: 2px; }

/* dark theme */
html[data-theme='dark'] .nvguest {
  --nvg-bg: rgba(255, 255, 255, .05);
  --nvg-ink: #eef3f8;
  --nvg-muted: #a7b4c2;
  --nvg-line: rgba(255, 255, 255, .14);
  --nvg-accent: #5b9bff;
}
html[data-theme='dark'] .nvguest .nvg-dot { box-shadow: 0 0 0 4px rgba(91, 155, 255, .18); }
html[data-theme='dark'] .nvguest .nvg-btn { color: #0b1420; }

/* tablet */
@media (max-width: 1010px) {
  .nvguest { margin-block-start: 8px; padding: 8px 12px; border-radius: 12px; }
  .nvguest .nvg-txt { font-size: .92rem; }
  .nvguest .nvg-txt span { font-size: .85rem; }
}

/* phone: the notice sits under the header row, full width, button on its own line */
@media (max-width: 699px) {
  .nvguest { gap: 8px 10px; padding: 9px 11px; }
  .nvguest .nvg-txt { flex: 1 1 100%; }
  .nvguest .nvg-txt span { font-size: .82rem; }
  .nvguest .nvg-btn { inline-size: 100%; text-align: center; padding: 10px 14px; }
}

/* placement under the header, in flow, on every width */
#nvguest{margin:10px clamp(12px,3vw,28px) 0;max-inline-size:1180px;margin-inline:auto}
@media (max-width:699px){#nvguest{margin:8px 12px 0}}

.nvguest .nvg-g{display:inline-flex;align-items:center;justify-content:center;flex:none}
.nvguest .nvg-g svg{inline-size:19px;block-size:19px;display:block}
.nvguest .nvg-lab{white-space:nowrap}
