/* Attestyx live demo: banner on top of the unchanged dashboard. */
:root { --demo-bar: 44px; }
.demo-bar {
  position: sticky; top: 0; z-index: 30; min-height: var(--demo-bar); box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 8px 20px; background: #0b0b0b; color: #f3f2ee; font-size: 13px; line-height: 1.35;
}
.demo-bar strong { font-weight: 650; }
.demo-msg { min-width: 0; }
.demo-links { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.demo-links a { color: #f3f2ee; text-decoration: none; padding: 5px 10px; border-radius: 7px; font-weight: 550; }
.demo-links a:hover { background: rgba(255, 255, 255, 0.12); }
.demo-links a:focus-visible { outline: 2px solid #8ab8f0; outline-offset: 2px; }
.demo-links a.demo-cta { background: #f3f2ee; color: #0b0b0b; }
.demo-links a.demo-cta:hover { background: #ffffff; }

/* keep the sidebar inside the window under the banner */
.is-demo .sidebar { top: var(--demo-bar); height: calc(100vh - var(--demo-bar)); }
.is-demo #logout { display: none; }
@media (max-width: 760px) {
  .demo-bar { position: static; padding: 8px 14px; }
  .is-demo .sidebar { height: auto; }
}
