:root {
  --company-system-bar-height: 38px;
}

#company-system-links {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 150;
  display: flex;
  align-items: center;
  min-height: var(--company-system-bar-height);
  padding: 5px 16px;
  gap: 10px;
  color: #e2e8f0;
  background: #172033;
  border-bottom: 1px solid #334155;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  line-height: 1;
}

.company-system-links-title {
  flex: 0 0 auto;
  color: #f8fafc;
  font-weight: 800;
  white-space: nowrap;
}

.company-system-links-list {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.company-system-links-list a {
  flex: 0 0 auto;
  padding: 6px 9px;
  color: #dbeafe;
  border: 1px solid #475569;
  border-radius: 4px;
  background: #1e293b;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.company-system-links-list a:hover,
.company-system-links-list a:focus-visible {
  color: #ffffff;
  border-color: #60a5fa;
  background: #1d4ed8;
  outline: none;
}

body.has-company-system-links {
  padding-top: var(--company-system-bar-height);
}

body.has-company-system-links .app-sidebar {
  top: var(--company-system-bar-height);
}

body.has-company-system-links .mobile-menu-btn {
  top: calc(var(--company-system-bar-height) + 12px);
}

@media (max-width: 768px) {
  #company-system-links {
    gap: 8px;
    padding-inline: 10px;
  }

  .company-system-links-title {
    font-size: 11px;
  }

  .company-system-links-list a {
    padding: 6px 8px;
    font-size: 11px;
  }
}
