/* topbar.css — the one top bar of every page (chat, sessions, all profiler pages).
   Same height, logo, title and button sizes everywhere:

   <header class="topbar">
     <a class="topbar-brand" href="/profiler/index.html">          ← admin pages: back to the Profile Manager
       <span class="topbar-logo"><i class="bi bi-sliders2"></i></span>
       <span class="topbar-text">
         <span class="topbar-title">Page title</span>
         <span class="topbar-sub">optional subtitle</span>
       </span>
     </a>
     <div class="topbar-actions"> …btn btn-sm… </div>
   </header>
*/

.topbar {
  height: 60px;
  flex-shrink: 0;
  background: #fff;
  border-bottom: 1px solid #dee2e6;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: #212529;
}
.topbar-brand:hover { color: #212529; }
a.topbar-brand:hover .topbar-logo { filter: brightness(1.1); }

.topbar-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #0d6efd;
  color: #fff;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.topbar-text  { display: flex; flex-direction: column; min-width: 0; }
.topbar-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-sub {
  font-size: 12px;
  color: #6c757d;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-sub:empty { display: none; }

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.topbar-actions .btn { white-space: nowrap; }
