/* topbar.css — plakanais admin topbar (brand, view-switch, Servisi ▾, RAG). */
/* ── Topbar — plakans, bez gradient ─────────────────────────────────────── */
.topbar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0 1rem; height: 2.75rem;
  background: #0f172a;            /* slate-900 — neitrāls, nekonkurē */
  color: #f1f5f9;
}
.topbar a { color: rgba(241,245,249,.85); }
.topbar a:hover { color: #fff; }
.topbar-link {
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  font-size: 0.75rem; font-weight: 500;
  transition: background-color .12s;
}
.topbar-link:hover { background: rgba(255,255,255,.08); }
.topbar-link.is-active { background: rgba(255,255,255,.12); color: #fff; }
.topbar-sep { width: 1px; height: 1rem; background: rgba(255,255,255,.2); margin: 0 0.25rem; }
.topbar-ops-menu {
  position: absolute; right: 0; top: calc(100% + 4px);
  min-width: 14rem;
  background: var(--c-surface); color: var(--c-text);
  border: 1px solid var(--c-border);
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(15,23,42,.12);
  padding: 0.25rem;
  z-index: 40;
  display: none;
}
.topbar-ops-menu.is-open { display: block; }
.topbar-ops-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 0.75rem; border-radius: 0.375rem;
  color: var(--c-text); font-size: 0.8125rem;
}
.topbar-ops-menu a:hover { background: #f1f5f9; }
.topbar-ops-menu .ops-section {
  font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--c-soft); padding: 0.5rem 0.75rem 0.25rem;
}
.topbar-rag {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.125rem 0.5rem;
  border-radius: 0.375rem;
  background: rgba(255,255,255,.1);
  font-size: 0.6875rem; color: rgba(241,245,249,.95);
}
.topbar-rag-dot { width: 6px; height: 6px; border-radius: 9999px; background: #fbbf24; }
