/* ---------- Align Toolbar (inline in header) ---------- */

.align-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.align-group {
  display: flex;
  align-items: center;
  gap: 2px;
}

.align-label {
  font-size: 10px;
  color: var(--text);
  opacity: 0.5;
  margin-right: 2px;
  user-select: none;
}

.align-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 20px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.1s, border-color 0.1s, color 0.1s;
}

.align-btn:hover {
  background: var(--accent-bg);
  border-color: var(--border);
}

.align-btn.active {
  background: var(--accent-bg);
  border-color: var(--accent-border);
  color: var(--accent);
}

@media (max-width: 768px) {
  .align-toolbar {
    display: none;
  }
}
