/* Демо-версия: тонкая тёмная полоса сверху страницы */
.demo-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px;
  padding: 8px 16px; background: #15161a; color: #e9eaee;
  font: 500 13px/1.35 Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.demo-bar-text { min-width: 0; }
.demo-bar-text b { color: #fff; font-weight: 700; }
.demo-bar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.demo-bar button, .demo-bar a {
  font: inherit; font-weight: 600; color: #fff; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.demo-bar button {
  background: transparent; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; padding: 4px 12px;
}
.demo-bar button:hover { border-color: rgba(255, 255, 255, .6); }
.demo-bar button[data-armed] { background: #e8392e; border-color: #e8392e; }
.demo-bar a:hover { text-decoration: underline; }

/* Телефон: бейдж сотрудника переносится, а не вылезает за край экрана */
@media (max-width: 899px) {
  .staff-mode .staff-badge { flex-wrap: wrap; justify-content: flex-end; row-gap: 4px; min-width: 0; }
}

html.staff-mode .demo-bar { background: #0B2340; }

/* Внутри страницы «телефон + CRM» общая полоса «Демо» уже есть сверху */
html.demo-embed .demo-bar { display: none; }
html.demo-embed .staff-entry { display: none !important; }
