#czatix-app .czx-rooms,
#czatix-app .czx-side {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
  background: var(--paper, #fff);
  color: var(--ink, #0e1525);
}

#czatix-app .czx-search,
#czatix-app #czx-search {
  box-sizing: border-box;
  display: block;
  width: calc(100% - 16px);
  min-height: 40px;
  margin: 10px 8px 4px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--bg, #f3f6fb);
  box-shadow: none;
  color: var(--ink, #0e1525);
  font: inherit;
  font-size: 16px;
  line-height: 1.3;
  appearance: none;
}

#czatix-app .czx-search::placeholder,
#czatix-app #czx-search::placeholder {
  color: var(--muted, #5d6b82);
  opacity: 1;
}

#czatix-app .czx-search:focus,
#czatix-app #czx-search:focus {
  outline: none;
  border-color: var(--line, #e4eaf2);
  background: var(--paper, #fff);
}

#czatix-app .czx-group {
  margin: 0;
  padding: 14px 12px 4px 16px;
  color: var(--muted, #5d6b82);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

#czatix-app .czx-room,
#czatix-app .czx-person {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
}

#czatix-app .czx-room {
  border-left: 3px solid transparent;
}

#czatix-app .czx-room.on,
#czatix-app .czx-room.is-on {
  border-left-color: var(--blue, #1d4ed8);
  background: var(--soft, #eaf1ff);
}

#czatix-app .czx-person:disabled {
  cursor: default;
  color: var(--muted, #5d6b82);
}

#czatix-app .czx-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green, #15803d);
  vertical-align: middle;
}

#czatix-app .czx-admin,
#czatix-app .czx-badge {
  display: inline;
  flex: 0 0 auto;
  width: auto;
  margin: 0;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--blue, #1d4ed8);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}

#czatix-app .czx-room:focus,
#czatix-app .czx-person:focus {
  outline: none;
}

#czatix-app .czx-room:focus-visible,
#czatix-app .czx-person:focus-visible,
#czatix-app .czx-search:focus-visible,
#czatix-app #czx-search:focus-visible {
  outline: 2px solid var(--blue, #1d4ed8);
  outline-offset: -2px;
}

@media (hover: hover) and (pointer: fine) {
  #czatix-app .czx-room:hover,
  #czatix-app .czx-person:hover:not(:disabled) {
    background: var(--soft, #eaf1ff);
  }
}
