.connection-remote-hidden {
  display: none !important;
}

.sidebar-devices {
  display: grid;
  gap: 0.15rem;
  margin: 0 0.55rem 0.35rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid #e8e8e5;
}

.sidebar-section-label {
  margin: 0.45rem 0.7rem 0.2rem;
  color: #777;
  font-size: 0.72rem;
  font-weight: 600;
}

.sidebar-device {
  display: flex;
  width: 100%;
  min-height: 2.55rem;
  align-items: center;
  gap: 0.55rem;
  border-radius: 0.55rem;
  background: transparent;
  color: #333;
  padding: 0.55rem 0.7rem;
  text-align: left;
}

.sidebar-device:hover,
.sidebar-device:focus-visible {
  background: #eaeae6;
}

.sidebar-device svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sidebar-device span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* The workspace browser is intentionally tree-only: recent folders, current path,
   direct child folders, and the final selection button. */
#workspace-path-form {
  display: none !important;
}

@media (prefers-color-scheme: dark) {
  .sidebar-devices {
    border-color: #333;
  }

  .sidebar-device {
    color: #ddd;
  }

  .sidebar-device:hover,
  .sidebar-device:focus-visible {
    background: #2f2f2f;
  }

  .sidebar-section-label {
    color: #aaa;
  }
}
