.fs-nav {
  position: fixed;
  right: 14px;
  top: 14px;
  z-index: 10000;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.fs-nav-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.14);
  cursor: pointer;
  display: flex;
  height: 42px;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  width: 42px;
}
.fs-nav-avatar,
.fs-nav-fallback {
  align-items: center;
  background: #111827;
  color: #fff;
  display: flex;
  font-size: 16px;
  font-weight: 800;
  height: 100%;
  justify-content: center;
  width: 100%;
}
.fs-nav-avatar {
  object-fit: cover;
}
.fs-nav-panel {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.2);
  color: #111827;
  margin-top: 10px;
  max-height: min(70vh, 520px);
  overflow: auto;
  padding: 12px;
  position: absolute;
  right: 0;
  width: min(340px, calc(100vw - 28px));
}
.fs-nav-panel[hidden] {
  display: none;
}
.fs-nav-user {
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 10px;
  padding: 4px 4px 10px;
}
.fs-nav-user-name {
  font-size: 14px;
  font-weight: 800;
}
.fs-nav-user-email,
.fs-nav-muted {
  color: #6b7280;
  font-size: 12px;
}
.fs-nav-section-title {
  color: #6b7280;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 12px 4px 6px;
  text-transform: uppercase;
}
.fs-nav-link,
.fs-nav-node {
  align-items: center;
  background: #f9fafb;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  color: #111827;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-top: 6px;
  padding: 9px 10px;
  text-decoration: none;
}
.fs-nav-icon-row,
.fs-nav-node-icons {
  align-items: center;
  display: flex;
  gap: 8px;
}
.fs-nav-icon-row {
  background: #f9fafb;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  justify-content: space-around;
  margin-top: 6px;
  padding: 8px;
}
.fs-nav-icon-link {
  align-items: center;
  background: #111827;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
  width: 34px;
}
.fs-nav-icon-link:hover {
  background: #2563eb;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
  transform: translateY(-1px) scale(1.05);
}
.fs-nav-icon-button {
  font: inherit;
  padding: 0;
}
.fs-nav-svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 18px;
}
.fs-nav-icon-link.is-spinning .fs-nav-svg {
  animation: fs-nav-spin 0.8s linear infinite;
}
@keyframes fs-nav-spin {
  to { transform: rotate(360deg); }
}
.fs-nav-link:hover,
.fs-nav-node:hover {
  background: #f3f4f6;
}
.fs-nav-node-main {
  min-width: 0;
}
.fs-nav-node-title {
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fs-nav-status {
  border-radius: 999px;
  flex: 0 0 auto;
  height: 8px;
  width: 8px;
}
.fs-nav-status.online {
  background: #10b981;
}
.fs-nav-status.offline {
  background: #9ca3af;
}
.fs-nav-actions {
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr 1fr;
  margin-top: 6px;
}
.fs-nav-action {
  background: #111827;
  border-radius: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 8px;
  text-align: center;
  text-decoration: none;
}
