.server-state {
  display: inline-flex;
  align-items: center;
  padding-inline: 4px 2px;
  color: var(--muted-strong);
}

.state-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neutral);
}

.state-dot[data-state="online"] {
  background: var(--positive);
}

.state-dot[data-state="offline"] {
  background: var(--negative);
}

.state-dot[data-state="loading"] {
  background: var(--warning);
}

.field > span,
.cell-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.icon-button {
  display: inline-flex;
  width: 28px;
  min-width: 28px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
}

.icon-button:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
}

.theme-toggle {
  padding: 0;
}

.theme-toggle__icon {
  color: var(--muted-strong);
  font-size: 14px;
}

.column-freeze-toggle {
  padding: 0;
  color: var(--muted);
}

.column-freeze-toggle > span {
  font-size: 14px;
  line-height: 1;
}

.column-freeze-toggle.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.error-banner {
  padding: 6px 8px;
  border: 1px solid var(--negative);
  border-radius: var(--radius-sm);
  background: var(--negative-bg);
  color: var(--negative);
}
